1
0
Fork 0
internet-everythings-agricu.../public/admin/assets/auth-b30b85ad.js

131 lines
1.1 MiB
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var q5=Object.defineProperty;var Y5=(e,t,r)=>t in e?q5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var V0=(e,t,r)=>(Y5(e,typeof t!="symbol"?t+"":t,r),r);function dp(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i<n.length;i++)r[n[i]]=!0;return t?i=>!!r[i.toLowerCase()]:i=>!!r[i]}const X5="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",K5=dp(X5);function bf(e){if(Ce(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=St(n)?e$(n):bf(n);if(i)for(const a in i)t[a]=i[a]}return t}else{if(St(e))return e;if(ft(e))return e}}const Z5=/;(?![^(]*\))/g,Q5=/:([^]+)/,J5=/\/\*.*?\*\//gs;function e$(e){const t={};return e.replace(J5,"").split(Z5).forEach(r=>{if(r){const n=r.split(Q5);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Cf(e){let t="";if(St(e))t=e;else if(Ce(e))for(let r=0;r<e.length;r++){const n=Cf(e[r]);n&&(t+=n+" ")}else if(ft(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function t$(e){if(!e)return null;let{class:t,style:r}=e;return t&&!St(t)&&(e.class=Cf(t)),r&&(e.style=bf(r)),e}const r$="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",n$=dp(r$);function YM(e){return!!e||e===""}function i$(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Ra(e[n],t[n]);return r}function Ra(e,t){if(e===t)return!0;let r=CS(e),n=CS(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=Hc(e),n=Hc(t),r||n)return e===t;if(r=Ce(e),n=Ce(t),r||n)return r&&n?i$(e,t):!1;if(r=ft(e),n=ft(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Ra(e[o],t[o]))return!1}}return String(e)===String(t)}function vp(e,t){return e.findIndex(r=>Ra(r,t))}const a$=e=>St(e)?e:e==null?"":Ce(e)||ft(e)&&(e.toString===KM||!ke(e.toString))?JSON.stringify(e,XM,2):String(e),XM=(e,t)=>t&&t.__v_isRef?XM(e,t.value):hl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:ds(t)?{[`Set(${t.size})`]:[...t.values()]}:ft(t)&&!Ce(t)&&!ZM(t)?String(t):t,ut={},fl=[],Ln=()=>{},o$=()=>!1,s$=/^on[^a-z]/,Sf=e=>s$.test(e),a1=e=>e.startsWith("onUpdate:"),Pt=Object.assign,o1=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},l$=Object.prototype.hasOwnProperty,Je=(e,t)=>l$.call(e,t),Ce=Array.isArray,hl=e=>wf(e)==="[object Map]",ds=e=>wf(e)==="[object Set]",CS=e=>wf(e)==="[object Date]",ke=e=>typeof e=="function",St=e=>typeof e=="string",Hc=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",s1=e=>ft(e)&&ke(e.then)&&ke(e.catch),KM=Object.prototype.toString,wf=e=>KM.call(e),u$=e=>wf(e).slice(8,-1),ZM=e=>wf(e)==="[object Object]",l1=e=>St(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,uc=dp(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pp=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},c$=/-(\w)/g,Lr=pp(e=>e.replace(c$,(t,r)=>r?r.toUpperCase():"")),f$=/\B([A-Z])/g,cn=pp(e=>e.replace(f$,"-$1").toLowerCase()),Tf=pp(e=>e.charAt(0).toUpperCase()+e.slice(1)),cc=pp(e=>e?`on${Tf(e)}`:""),El=(e,t)=>!Object.is(e,t),dl=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Ld=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Hi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let SS;const h$=()=>SS||(SS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Hr;class u1{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Hr,!t&&Hr&&(this.index=(Hr.scopes||(Hr.scopes=[])).push(this)-1)}run(t){if(this.active){const r=Hr;try{return Hr=this,t()}finally{Hr=r}}}on(){Hr=this}off(){Hr=this.parent}stop(t){if(this.active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}}}function c1(e){return new u1(e)}function QM(e,t=Hr){t&&t.active&&t.effects.push(e)}function f1(){return Hr}function h1(e){Hr&&Hr.cleanups.push(e)}const d1=e=>{const t=new Set(e);return t.w=0,t.n=0,t},JM=e=>(e.w&Oa)>0,eD=e=>(e.n&Oa)>0,d$=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Oa},v$=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const i=t[n];JM(i)&&!eD(i)?i.delete(e):t[r++]=i,i.w&=~Oa,i.n&=~Oa}t.length=r}},vy=new WeakMap;let Qu=0,Oa=1;const py=30;let Pn;const zo=Symbol(""),gy=Symbol("");class Af{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,QM(this,n)}run(){if(!this.active)return this.fn();let t=Pn,r=Ea;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Pn,Pn=this,Ea=!0,Oa=1<<++Qu,Qu<=py?d$(this):wS(this),this.fn()}finally{Qu<=py&&v$(this),Oa=1<<--Qu,Pn=this.parent,Ea=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pn===this?this.deferStop=!0:this.active&&(wS(this),this.onStop&&this.onStop(),this.active=!1)}}function wS(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}function p$(e,t){e.effect&&(e=e.effect.fn);const r=new Af(e);t&&(Pt(r,t),t.scope&&QM(r,t.scope)),(!t||!t.lazy)&&r.run();const n=r.run.bind(r);return n.effect=r,n}function g$(e){e.effect.stop()}let Ea=!0;const tD=[];function Jl(){tD.push(Ea),Ea=!1}function eu(){const e=tD.pop();Ea=e===void 0?!0:e}function Yr(e,t,r){if(Ea&&Pn){let n=vy.get(e);n||vy.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=d1()),rD(i)}}function rD(e,t){let r=!1;Qu<=py?eD(e)||(e.n|=Oa,r=!JM(e)):r=!e.has(Pn),r&&(e.add(Pn),Pn.deps.push(e))}function zi(e,t,r,n,i,a){const o=vy.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&Ce(e)){const l=Hi(n);o.forEach((u,c)=>{(c==="length"||c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(o.get(r)),t){case"add":Ce(e)?l1(r)&&s.push(o.get("length")):(s.push(o.get(zo)),hl(e)&&s.push(o.get(gy)));break;case"delete":Ce(e)||(s.push(o.get(zo)),hl(e)&&s.push(o.get(gy)));break;case"set":hl(e)&&s.push(o.get(zo));break}if(s.length===1)s[0]&&my(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);my(d1(l))}}function my(e,t){const r=Ce(e)?e:[...e];for(const n of r)n.computed&&TS(n);for(const n of r)n.computed||TS(n)}function TS(e,t){(e!==Pn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const m$=dp("__proto__,__v_isRef,__isVue"),nD=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Hc)),y$=gp(),x$=gp(!1,!0),_$=gp(!0),b$=gp(!0,!0),AS=C$();function C$(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=Ke(this);for(let a=0,o=this.length;a<o;a++)Yr(n,"get",a+"");const i=n[t](...r);return i===-1||i===!1?n[t](...r.map(Ke)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Jl();const n=Ke(this)[t].apply(this,r);return eu(),n}}),e}function gp(e=!1,t=!1){return function(n,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?cD:uD:t?lD:sD).get(n))return n;const o=Ce(n);if(!e&&o&&Je(AS,i))return Reflect.get(AS,i,a);const s=Reflect.get(n,i,a);return(Hc(i)?nD.has(i):m$(i))||(e||Yr(n,"get",i),t)?s:At(s)?o&&l1(i)?s:s.value:ft(s)?e?p1(s):Ga(s):s}}const S$=iD(),w$=iD(!0);function iD(e=!1){return function(r,n,i,a){let o=r[n];if(Zo(o)&&At(o)&&!At(i))return!1;if(!e&&(!zc(i)&&!Zo(i)&&(o=Ke(o),i=Ke(i)),!Ce(r)&&At(o)&&!At(i)))return o.value=i,!0;const s=Ce(r)&&l1(n)?Number(n)<r.length:Je(r,n),l=Reflect.set(r,n,i,a);return r===Ke(a)&&(s?El(i,o)&&zi(r,"set",n,i):zi(r,"add",n,i)),l}}function T$(e,t){const r=Je(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&r&&zi(e,"delete",t,void 0),n}function A$(e,t){const r=Reflect.has(e,t);return(!Hc(t)||!nD.has(t))&&Yr(e,"has",t),r}function E$(e){return Yr(e,"iterate",Ce(e)?"length":zo),Reflect.ownKeys(e)}const aD={get:y$,set:S$,deleteProperty:T$,has:A$,ownKeys:E$},oD={get:_$,set(e,t){return!0},deleteProperty(e,t){return!0}},P$=Pt({},aD,{get:x$,set:w$}),I$=Pt({},oD,{get:b$}),v1=e=>e,mp=e=>Reflect.getPrototypeOf(e);function Gf(e,t,r=!1,n=!1){e=e.__v_raw;const i=Ke(e),a=Ke(t);r||(t!==a&&Yr(i,"get",t),Yr(i,"get",a));const{has:o}=mp(i),s=n?v1:r?m1:Wc;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function jf(e,t=!1){const r=this.__v_raw,n=Ke(r),i=Ke(e);return t||(e!==i&&Yr(n,"has",e),Yr(n,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function qf(e,t=!1){return e=e.__v_raw,!t&&Yr(Ke(e),"iterate",zo),Reflect.get(e,"size",e)}function ES(e){e=Ke(e);const t=Ke(this);return mp(t).has.call(t,e)||(t.add(e),zi(t,"add",e,e)),this}function PS(e,t){t=Ke(t);const r=Ke(this),{has:n,get:i}=mp(r);let a=n.call(r,e);a||(e=Ke(e),a=n.call(r,e));const o=i.call(r,e);return r.set(e,t),a?El(t,o)&&zi(r,"set",e,t):zi(r,"add",e,t),this}function IS(e){const t=Ke(this),{has:r,get:n}=mp(t);let i=r.call(t,e);i||(e=Ke(e),i=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return i&&zi(t,"delete",e,void 0),a}function MS(){const e=Ke(this),t=e.size!==0,r=e.clear();return t&&zi(e,"clear",void 0,void 0),r}function Yf(e,t){return function(n,i){const a=this,o=a.__v_raw,s=Ke(o),l=t?v1:e?m1:Wc;return!e&&Yr(s,"iterate",zo),o.forEach((u,c)=>n.call(i,l(u),l(c),a))}}function Xf(e,t,r){return function(...n){const i=this.__v_raw,a=Ke(i),o=hl(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...n),c=r?v1:t?m1:Wc;return!t&&Yr(a,"iterate",l?gy:zo),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:s?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function Ji(e){return function(...t){return e==="delete"?!1:this}}function M$(){const e={get(a){return Gf(this,a)},get size(){return qf(this)},has:jf,add:ES,set:PS,delete:IS,clear:MS,forEach:Yf(!1,!1)},t={get(a){return Gf(this,a,!1,!0)},get size(){return qf(this)},has:jf,add:ES,set:PS,delete:IS,clear:MS,forEach:Yf(!1,!0)},r={get(a){return Gf(this,a,!0)},get size(){return qf(this,!0)},has(a){return jf.call(this,a,!0)},add:Ji("add"),set:Ji("set"),delete:Ji("delete"),clear:Ji("clear"),forEach:Yf(!0,!1)},n={get(a){return Gf(this,a,!0,!0)},get size(){return qf(this,!0)},has(a){return jf.call(this,a,!0)},add:Ji("add"),set:Ji("set"),delete:Ji("delete"),clear:Ji("clear"),forEach:Yf(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Xf(a,!1,!1),r[a]=Xf(a,!0,!1),t[a]=Xf(a,!1,!0),n[a]=Xf(a,!0,!0)}),[e,r,t,n]}const[D$,L$,R$,O$]=M$();function yp(e,t){const r=t?e?O$:R$:e?L$:D$;return(n,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Je(r,i)&&i in n?r:n,i,a)}const k$={get:yp(!1,!1)},N$={get:yp(!1,!0)},B$={get:yp(!0,!1)},F$={get:yp(!0,!0)},sD=new WeakMap,lD=new WeakMap,uD=new WeakMap,cD=new WeakMap;function $$(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function H$(e){return e.__v_skip||!Object.isExtensible(e)?0:$$(u$(e))}function Ga(e){return Zo(e)?e:xp(e,!1,aD,k$,sD)}function fD(e){return xp(e,!1,P$,N$,lD)}function p1(e){return xp(e,!0,oD,B$,uD)}function z$(e){return xp(e,!0,I$,F$,cD)}function xp(e,t,r,n,i){if(!ft(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=H$(e);if(o===0)return e;const s=new Proxy(e,o===2?n:r);return i.set(e,s),s}function Ni(e){return Zo(e)?Ni(e.__v_raw):!!(e&&e.__v_isReactive)}function Zo(e){return!!(e&&e.__v_isReadonly)}function zc(e){return!!(e&&e.__v_isShallow)}function g1(e){return Ni(e)||Zo(e)}function Ke(e){const t=e&&e.__v_raw;return t?Ke(t):e}function Qo(e){return Ld(e,"__v_skip",!0),e}const Wc=e=>ft(e)?Ga(e):e,m1=e=>ft(e)?p1(e):e;function y1(e){Ea&&Pn&&(e=Ke(e),rD(e.dep||(e.dep=d1())))}function _p(e,t){e=Ke(e),e.dep&&my(e.dep)}function At(e){return!!(e&&e.__v_isRef===!0)}function vt(e){return dD(e,!1)}function hD(e){return dD(e,!0)}function dD(e,t){return At(e)?e:new W$(e,t)}class W${constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:Ke(t),this._value=r?t:Wc(t)}get value(){return y1(this),this._value}set value(t){const r=this.__v_isShallow||zc(t)||Zo(t);t=r?t:Ke(t),El(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Wc(t),_p(this))}}function V$(e){_p(e)}function Ir(e){return At(e)?e.value:e}const U$={get:(e,t,r)=>Ir(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return At(i)&&!At(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function x1(e){return Ni(e)?e:new Proxy(e,U$)}class G${constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=t(()=>y1(this),()=>_p(this));this._get=r,this._set=n}get value(){return this._get()}set value(t){this._set(t)}}function j$(e){return new G$(e)}function vD(e){const t=Ce(e)?new Array(e.length):{};for(const r in e)t[r]=pD(e,r);return t}class q${constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,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}}function pD(e,t,r){const n=e[t];return At(n)?n:new q$(e,t,r)}var gD;class Y${constructor(t,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[gD]=!1,this._dirty=!0,this.effect=new Af(t,()=>{this._dirty||(this._dirty=!0,_p(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=Ke(this);return y1(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}gD="__v_isReadonly";function X$(e,t,r=!1){let n,i;const a=ke(e);return a?(n=e,i=Ln):(n=e.get,i=e.set),new Y$(n,i,a||!i,r)}function K$(e,...t){}function Bi(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){vs(a,t,r)}return i}function Ur(e,t,r,n){if(ke(e)){const a=Bi(e,t,r,n);return a&&s1(a)&&a.catch(o=>{vs(o,t,r)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(Ur(e[a],t,r,n));return i}function vs(e,t,r,n=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,s=r;for(;a;){const u=a.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,o,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){Bi(l,null,10,[e,o,s]);return}}Z$(e,r,i,n)}function Z$(e,t,r,n=!0){console.error(e)}let Vc=!1,yy=!1;const sr=[];let Jn=0;const vl=[];let Ii=null,Mo=0;const mD=Promise.resolve();let _1=null;function ja(e){const t=_1||mD;return e?t.then(this?e.bind(this):e):t}function Q$(e){let t=Jn+1,r=sr.length;for(;t<r;){const n=t+r>>>1;Uc(sr[n])<e?t=n+1:r=n}return t}function bp(e){(!sr.length||!sr.includes(e,Vc&&e.allowRecurse?Jn+1:Jn))&&(e.id==null?sr.push(e):sr.splice(Q$(e.id),0,e),yD())}function yD(){!Vc&&!yy&&(yy=!0,_1=mD.then(xD))}function J$(e){const t=sr.indexOf(e);t>Jn&&sr.splice(t,1)}function b1(e){Ce(e)?vl.push(...e):(!Ii||!Ii.includes(e,e.allowRecurse?Mo+1:Mo))&&vl.push(e),yD()}function DS(e,t=Vc?Jn+1:0){for(;t<sr.length;t++){const r=sr[t];r&&r.pre&&(sr.splice(t,1),t--,r())}}function Rd(e){if(vl.length){const t=[...new Set(vl)];if(vl.length=0,Ii){Ii.push(...t);return}for(Ii=t,Ii.sort((r,n)=>Uc(r)-Uc(n)),Mo=0;Mo<Ii.length;Mo++)Ii[Mo]();Ii=null,Mo=0}}const Uc=e=>e.id==null?1/0:e.id,e3=(e,t)=>{const r=Uc(e)-Uc(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function xD(e){yy=!1,Vc=!0,sr.sort(e3);const t=Ln;try{for(Jn=0;Jn<sr.length;Jn++){const r=sr[Jn];r&&r.active!==!1&&Bi(r,null,14)}}finally{Jn=0,sr.length=0,Rd(),Vc=!1,_1=null,(sr.length||vl.length)&&xD()}}let Qs,Kf=[];function _D(e,t){var r,n;Qs=e,Qs?(Qs.enabled=!0,Kf.forEach(({event:i,args:a})=>Qs.emit(i,...a)),Kf=[]):typeof window<"u"&&window.HTMLElement&&!(!((n=(r=window.navigator)===null||r===void 0?void 0:r.userAgent)===null||n===void 0)&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{_D(a,t)}),setTimeout(()=>{Qs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kf=[])},3e3)):Kf=[]}function t3(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ut;let i=r;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in n){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:h}=n[c]||ut;h&&(i=r.map(d=>St(d)?d.trim():d)),f&&(i=r.map(Hi))}let s,l=n[s=cc(t)]||n[s=cc(Lr(t))];!l&&a&&(l=n[s=cc(cn(t))]),l&&Ur(l,e,6,i);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ur(u,e,6,i)}}function bD(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!ke(e)){const l=u=>{const c=bD(u,t,!0);c&&(s=!0,Pt(o,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(ft(e)&&n.set(e,null),null):(Ce(a)?a.forEach(l=>o[l]=null):Pt(o,a),ft(e)&&n.set(e,o),o)}function Cp(e,t){return!e||!Sf(t)?!1:(t=t.slice(2).replace(/Once$/,""),Je(e,t[0].toLowerCase()+t.slice(1))||Je(e,cn(t))||Je(e,t))}let Kt=null,Sp=null;function Gc(e){const t=Kt;return Kt=e,Sp=e&&e.type.__scopeId||null,t}function r3(e){Sp=e}function n3(){Sp=null}const i3=e=>C1;function C1(e,t=Kt,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&Ty(-1);const a=Gc(t);let o;try{o=e(...i)}finally{Gc(a),n._d&&Ty(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function od(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:f,data:h,setupState:d,ctx:v,inheritAttrs:p}=e;let m,g;const y=Gc(e);try{if(r.shapeFlag&4){const _=i||n;m=zr(c.call(_,_,f,a,d,h,v)),g=l}else{const _=t;m=zr(_.length>1?_(a,{attrs:l,slots:s,emit:u}):_(a,null)),g=t.props?l:o3(l)}}catch(_){vc.length=0,vs(_,e,1),m=mt(ur)}let x=m;if(g&&p!==!1){const _=Object.keys(g),{shapeFlag:b}=x;_.length&&b&7&&(o&&_.some(a1)&&(g=s3(g,o)),x=ci(x,g))}return r.dirs&&(x=ci(x),x.dirs=x.dirs?x.dirs.concat(r.dirs):r.dirs),r.transition&&(x.transition=r.transition),m=x,Gc(y),m}function a3(e){let t;for(let r=0;r<e.length;r++){const n=e[r];if(ka(n)){if(n.type!==ur||n.children==="v-if"){if(t)return;t=n}}else return}return t}const o3=e=>{let t;for(const r in e)(r==="class"||r==="style"||Sf(r))&&((t||(t={}))[r]=e[r]);return t},s3=(e,t)=>{const r={};for(const n in e)(!a1(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function l3(e,t,r){const{props:n,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?LS(n,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(o[h]!==n[h]&&!Cp(u,h))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:n===o?!1:n?o?LS(n,o,u):!0:!!o;return!1}function LS(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const a=n[i];if(t[a]!==e[a]&&!Cp(r,a))return!0}return!1}function S1({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const CD=e=>e.__isSuspense,u3={name:"Suspense",__isSuspense:!0,process(e,t,r,n,i,a,o,s,l,u){e==null?f3(t,r,n,i,a,o,s,l,u):h3(e,t,r,n,i,o,s,l,u)},hydrate:d3,create:w1,normalize:v3},c3=u3;function jc(e,t){const r=e.props&&e.props[t];ke(r)&&r()}function f3(e,t,r,n,i,a,o,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=w1(e,i,n,t,f,r,a,o,s,l);u(null,h.pendingBranch=e.ssContent,f,null,n,h,a,o),h.deps>0?(jc(e,"onPending"),jc(e,"onFallback"),u(null,e.ssFallback,t,r,n,null,a,o),pl(h,e.ssFallback)):h.resolve()}function h3(e,t,r,n,i,a,o,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:v,pendingBranch:p,isInFallback:m,isHydrating:g}=f;if(p)f.pendingBranch=h,ei(h,p)?(l(p,h,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0?f.resolve():m&&(l(v,d,r,n,i,null,a,o,s),pl(f,d))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=p):u(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),m?(l(null,h,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0?f.resolve():(l(v,d,r,n,i,null,a,o,s),pl(f,d))):v&&ei(h,v)?(l(v,h,r,n,i,f,a,o,s),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0&&f.resolve()));else if(v&&ei(h,v))l(v,h,r,n,i,f,a,o,s),pl(f,h);else if(jc(t,"onPending"),f.pendingBranch=h,f.pendingId++,l(null,h,f.hiddenContainer,null,i,f,a,o,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:x}=f;y>0?setTimeout(()=>{f.pendingId===x&&f.fallback(d)},y):y===0&&f.fallback(d)}}function w1(e,t,r,n,i,a,o,s,l,u,c=!1){const{p:f,m:h,um:d,n:v,o:{parentNode:p,remove:m}}=u,g=Hi(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:r,isSVG:o,container:n,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1){const{vnode:_,activeBranch:b,pendingBranch:C,pendingId:S,effects:w,parentComponent:E,container:T}=y;if(y.isHydrating)y.isHydrating=!1;else if(!x){const D=b&&C.transition&&C.transition.mode==="out-in";D&&(b.transition.afterLeave=()=>{S===y.pendingId&&h(C,T,L,0)});let{anchor:L}=y;b&&(L=v(b),d(b,E,y,!0)),D||h(C,T,L,0)}pl(y,C),y.pendingBranch=null,y.isInFallback=!1;let A=y.parent,P=!1;for(;A;){if(A.pendingBranch){A.effects.push(...w),P=!0;break}A=A.parent}P||b1(w),y.effects=[],jc(_,"onResolve")},fallback(x){if(!y.pendingBranch)return;const{vnode:_,activeBranch:b,parentComponent:C,container:S,isSVG:w}=y;jc(_,"onFallback");const E=v(b),T=()=>{y.isInFallback&&(f(null,x,S,E,C,null,w,s,l),pl(y,x))},A=x.transition&&x.transition.mode==="out-in";A&&(b.transition.afterLeave=T),y.isInFallback=!0,d(b,C,null,!0),A||T()},move(x,_,b){y.activeBranch&&h(y.activeBranch,x,_,b),y.container=x},next(){return y.activeBranch&&v(y.activeBranch)},registerDep(x,_){const b=!!y.pendingBranch;b&&y.deps++;const C=x.vnode.el;x.asyncDep.catch(S=>{vs(S,x,0)}).then(S=>{if(x.isUnmounted||y.isUnmounted||y.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:w}=x;Ey(x,S,!1),C&&(w.el=C);const E=!C&&x.subTree.el;_(x,w,p(C||x.subTree.el),C?null:v(x.subTree),y,o,l),E&&m(E),S1(x,w.el),b&&--y.deps===0&&y.resolve()})},unmount(x,_){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,r,x,_),y.pendingBranch&&d(y.pendingBranch,r,x,_)}};return y}function d3(e,t,r,n,i,a,o,s,l){const u=t.suspense=w1(t,n,r,e.parentNode,document.createElement("div"),null,i,a,o,s,!0),c=l(e,u.pendingBranch=t.ssContent,r,u,a,o);return u.deps===0&&u.resolve(),c}function v3(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=RS(n?r.default:r),e.ssFallback=n?RS(r.fallback):mt(ur)}function RS(e){let t;if(ke(e)){const r=ts&&e._c;r&&(e._d=!1,Uo()),e=e(),r&&(e._d=!0,t=Dr,XD())}return Ce(e)&&(e=a3(e)),e=zr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function SD(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):b1(e)}function pl(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e,i=r.el=t.el;n&&n.subTree===r&&(n.vnode.el=i,S1(n,i))}function fc(e,t){if($t){let r=$t.provides;const n=$t.parent&&$t.parent.provides;n===r&&(r=$t.provides=Object.create(n)),r[e]=t}}function lr(e,t,r=!1){const n=$t||Kt;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return r&&ke(t)?t.call(n.proxy):t}}function wD(e,t){return Ef(e,null,t)}function TD(e,t){return Ef(e,null,{flush:"post"})}function p3(e,t){return Ef(e,null,{flush:"sync"})}const Zf={};function Gr(e,t,r){return Ef(e,t,r)}function Ef(e,t,{immediate:r,deep:n,flush:i,onTrack:a,onTrigger:o}=ut){const s=$t;let l,u=!1,c=!1;if(At(e)?(l=()=>e.value,u=zc(e)):Ni(e)?(l=()=>e,n=!0):Ce(e)?(c=!0,u=e.some(x=>Ni(x)||zc(x)),l=()=>e.map(x=>{if(At(x))return x.value;if(Ni(x))return Oo(x);if(ke(x))return Bi(x,s,2)})):ke(e)?t?l=()=>Bi(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return f&&f(),Ur(e,s,3,[h])}:l=Ln,t&&n){const x=l;l=()=>Oo(x())}let f,h=x=>{f=g.onStop=()=>{Bi(x,s,4)}},d;if(Il)if(h=Ln,t?r&&Ur(t,s,3,[l(),c?[]:void 0,h]):l(),i==="sync"){const x=lL();d=x.__watcherHandles||(x.__watcherHandles=[])}else return Ln;let v=c?new Array(e.length).fill(Zf):Zf;const p=()=>{if(g.active)if(t){const x=g.run();(n||u||(c?x.some((_,b)=>El(_,v[b])):El(x,v)))&&(f&&f(),Ur(t,s,3,[x,v===Zf?void 0:c&&v[0]===Zf?[]:v,h]),v=x)}else g.run()};p.allowRecurse=!!t;let m;i==="sync"?m=p:i==="post"?m=()=>Yt(p,s&&s.suspense):(p.pre=!0,s&&(p.id=s.uid),m=()=>bp(p));const g=new Af(l,m);t?r?p():v=g.run():i==="post"?Yt(g.run.bind(g),s&&s.suspense):g.run();const y=()=>{g.stop(),s&&s.scope&&o1(s.scope.effects,g)};return d&&d.push(y),y}function g3(e,t,r){const n=this.proxy,i=St(e)?e.includes(".")?AD(n,e):()=>n[e]:e.bind(n,n);let a;ke(t)?a=t:(a=t.handler,r=t);const o=$t;Na(this);const s=Ef(i,a.bind(n),r);return o?Na(o):Pa(),s}function AD(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i<r.length&&n;i++)n=n[r[i]];return n}}function Oo(e,t){if(!ft(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),At(e))Oo(e.value,t);else if(Ce(e))for(let r=0;r<e.length;r++)Oo(e[r],t);else if(ds(e)||hl(e))e.forEach(r=>{Oo(r,t)});else if(ZM(e))for(const r in e)Oo(e[r],t);return e}function T1(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return tu(()=>{e.isMounted=!0}),Ep(()=>{e.isUnmounting=!0}),e}const Qr=[Function,Array],m3={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Qr,onEnter:Qr,onAfterEnter:Qr,onEnterCancelled:Qr,onBeforeLeave:Qr,onLeave:Qr,onAfterLeave:Qr,onLeaveCancelled:Qr,onBeforeAppear:Qr,onAppear:Qr,onAfterAppear:Qr,onAppearCancelled:Qr},setup(e,{slots:t}){const r=vi(),n=T1();let i;return()=>{const a=t.default&&wp(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){for(const p of a)if(p.type!==ur){o=p;break}}const s=Ke(e),{mode:l}=s;if(n.isLeaving)return U0(o);const u=OS(o);if(!u)return U0(o);const c=Pl(u,s,n,r);Jo(u,c);const f=r.subTree,h=f&&OS(f);let d=!1;const{getTransitionKey:v}=u.type;if(v){const p=v();i===void 0?i=p:p!==i&&(i=p,d=!0)}if(h&&h.type!==ur&&(!ei(u,h)||d)){const p=Pl(h,s,n,r);if(Jo(h,p),l==="out-in")return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},U0(o);l==="in-out"&&u.type!==ur&&(p.delayLeave=(m,g,y)=>{const x=ED(n,h);x[String(h.key)]=h,m._leaveCb=()=>{g(),m._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=y})}return o}}},A1=m3;function ED(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Pl(e,t,r,n){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:v,onBeforeAppear:p,onAppear:m,onAfterAppear:g,onAppearCancelled:y}=t,x=String(e.key),_=ED(r,e),b=(w,E)=>{w&&Ur(w,n,9,E)},C=(w,E)=>{const T=E[1];b(w,E),Ce(w)?w.every(A=>A.length<=1)&&T():w.length<=1&&T()},S={mode:a,persisted:o,beforeEnter(w){let E=s;if(!r.isMounted)if(i)E=p||s;else return;w._leaveCb&&w._leaveCb(!0);const T=_[x];T&&ei(e,T)&&T.el._leaveCb&&T.el._leaveCb(),b(E,[w])},enter(w){let E=l,T=u,A=c;if(!r.isMounted)if(i)E=m||l,T=g||u,A=y||c;else return;let P=!1;const D=w._enterCb=L=>{P||(P=!0,L?b(A,[w]):b(T,[w]),S.delayedLeave&&S.delayedLeave(),w._enterCb=void 0)};E?C(E,[w,D]):D()},leave(w,E){const T=String(e.key);if(w._enterCb&&w._enterCb(!0),r.isUnmounting)return E();b(f,[w]);let A=!1;const P=w._leaveCb=D=>{A||(A=!0,E(),D?b(v,[w]):b(d,[w]),w._leaveCb=void 0,_[T]===e&&delete _[T])};_[T]=e,h?C(h,[w,P]):P()},clone(w){return Pl(w,t,r,n)}};return S}function U0(e){if(Pf(e))return e=ci(e),e.children=null,e}function OS(e){return Pf(e)?e.children?e.children[0]:void 0:e}function Jo(e,t){e.shapeFlag&6&&e.component?Jo(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 wp(e,t=!1,r){let n=[],i=0;for(let a=0;a<e.length;a++){let o=e[a];const s=r==null?o.key:String(r)+String(o.key!=null?o.key:a);o.type===Gt?(o.patchFlag&128&&i++,n=n.concat(wp(o.children,t,s))):(t||o.type!==ur)&&n.push(s!=null?ci(o,{key:s}):o)}if(i>1)for(let a=0;a<n.length;a++)n[a].patchFlag=-2;return n}function qa(e){return ke(e)?{setup:e,name:e.name}:e}const Wo=e=>!!e.type.__asyncLoader;function y3(e){ke(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,timeout:a,suspensible:o=!0,onError:s}=e;let l=null,u,c=0;const f=()=>(c++,l=null,h()),h=()=>{let d;return l||(d=l=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),s)return new Promise((p,m)=>{s(v,()=>p(f()),()=>m(v),c+1)});throw v}).then(v=>d!==l&&l?l:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return qa({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const d=$t;if(u)return()=>G0(u,d);const v=y=>{l=null,vs(y,d,13,!n)};if(o&&d.suspense||Il)return h().then(y=>()=>G0(y,d)).catch(y=>(v(y),()=>n?mt(n,{error:y}):null));const p=vt(!1),m=vt(),g=vt(!!i);return i&&setTimeout(()=>{g.value=!1},i),a!=null&&setTimeout(()=>{if(!p.value&&!m.value){const y=new Error(`Async component timed out after ${a}ms.`);v(y),m.value=y}},a),h().then(()=>{p.value=!0,d.parent&&Pf(d.parent.vnode)&&bp(d.parent.update)}).catch(y=>{v(y),m.value=y}),()=>{if(p.value&&u)return G0(u,d);if(m.value&&n)return mt(n,{error:m.value});if(r&&!g.value)return mt(r)}}})}function G0(e,t){const{ref:r,props:n,children:i,ce:a}=t.vnode,o=mt(e,n,i);return o.ref=r,o.ce=a,delete t.vnode.ce,o}const Pf=e=>e.type.__isKeepAlive,x3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=vi(),n=r.ctx;if(!n.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,a=new Set;let o=null;const s=r.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=n,h=f("div");n.activate=(y,x,_,b,C)=>{const S=y.component;u(y,x,_,0,s),l(S.vnode,y,x,_,S,s,b,y.slotScopeIds,C),Yt(()=>{S.isDeactivated=!1,S.a&&dl(S.a);const w=y.props&&y.props.onVnodeMounted;w&&Tr(w,S.parent,y)},s)},n.deactivate=y=>{const x=y.component;u(y,h,null,1,s),Yt(()=>{x.da&&dl(x.da);const _=y.props&&y.props.onVnodeUnmounted;_&&Tr(_,x.parent,y),x.isDeactivated=!0},s)};function d(y){j0(y),c(y,r,s,!0)}function v(y){i.forEach((x,_)=>{const b=Iy(x.type);b&&(!y||!y(b))&&p(_)})}function p(y){const x=i.get(y);!o||x.type!==o.type?d(x):o&&j0(o),i.delete(y),a.delete(y)}Gr(()=>[e.include,e.exclude],([y,x])=>{y&&v(_=>Ju(y,_)),x&&v(_=>!Ju(x,_))},{flush:"post",deep:!0});let m=null;const g=()=>{m!=null&&i.set(m,q0(r.subTree))};return tu(g),Ap(g),Ep(()=>{i.forEach(y=>{const{subTree:x,suspense:_}=r,b=q0(x);if(y.type===b.type){j0(b);const C=b.component.da;C&&Yt(C,_);return}d(y)})}),()=>{if(m=null,!t.default)return null;const y=t.default(),x=y[0];if(y.length>1)return o=null,y;if(!ka(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return o=null,x;let _=q0(x);const b=_.type,C=Iy(Wo(_)?_.type.__asyncResolved||{}:b),{include:S,exclude:w,max:E}=e;if(S&&(!C||!Ju(S,C))||w&&C&&Ju(w,C))return o=_,x;const T=_.key==null?b:_.key,A=i.get(T);return _.el&&(_=ci(_),x.shapeFlag&128&&(x.ssContent=_)),m=T,A?(_.el=A.el,_.component=A.component,_.transition&&Jo(_,_.transition),_.shapeFlag|=512,a.delete(T),a.add(T)):(a.add(T),E&&a.size>parseInt(E,10)&&p(a.values().next().value)),_.shapeFlag|=256,o=_,CD(x.type)?x:_}}},_3=x3;function Ju(e,t){return Ce(e)?e.some(r=>Ju(r,t)):St(e)?e.split(",").includes(t):e.test?e.test(t):!1}function PD(e,t){MD(e,"a",t)}function ID(e,t){MD(e,"da",t)}function MD(e,t,r=$t){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Tp(t,n,r),r){let i=r.parent;for(;i&&i.parent;)Pf(i.parent.vnode)&&b3(n,t,r,i),i=i.parent}}function b3(e,t,r,n){const i=Tp(t,e,n,!0);Pp(()=>{o1(n[t],i)},r)}function j0(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function q0(e){return e.shapeFlag&128?e.ssContent:e}function Tp(e,t,r=$t,n=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;Jl(),Na(r);const s=Ur(t,r,e,o);return Pa(),eu(),s});return n?i.unshift(a):i.push(a),a}}const Yi=e=>(t,r=$t)=>(!Il||e==="sp")&&Tp(e,(...n)=>t(...n),r),E1=Yi("bm"),tu=Yi("m"),DD=Yi("bu"),Ap=Yi("u"),Ep=Yi("bum"),Pp=Yi("um"),LD=Yi("sp"),RD=Yi("rtg"),OD=Yi("rtc");function kD(e,t=$t){Tp("ec",e,t)}function C3(e,t){const r=Kt;if(r===null)return e;const n=Lp(r)||r.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[o,s,l,u=ut]=t[a];o&&(ke(o)&&(o={mounted:o,updated:o}),o.deep&&Oo(s),i.push({dir:o,instance:n,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Zn(e,t,r,n){const i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){const s=i[o];a&&(s.oldValue=a[o].value);let l=s.dir[n];l&&(Jl(),Ur(l,r,8,[e.el,s,e,t]),eu())}}const P1="components",S3="directives";function w3(e,t){return I1(P1,e,!0,t)||e}const ND=Symbol();function T3(e){return St(e)?I1(P1,e,!1)||e:e||ND}function A3(e){return I1(S3,e)}function I1(e,t,r=!0,n=!1){const i=Kt||$t;if(i){const a=i.type;if(e===P1){const s=Iy(a,!1);if(s&&(s===t||s===Lr(t)||s===Tf(Lr(t))))return a}const o=kS(i[e]||a[e],t)||kS(i.appContext[e],t);return!o&&n?a:o}}function kS(e,t){return e&&(e[t]||e[Lr(t)]||e[Tf(Lr(t))])}function E3(e,t,r,n){let i;const a=r&&r[n];if(Ce(e)||St(e)){i=new Array(e.length);for(let o=0,s=e.length;o<s;o++)i[o]=t(e[o],o,void 0,a&&a[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,a&&a[o])}else if(ft(e))if(e[Symbol.iterator])i=Array.from(e,(o,s)=>t(o,s,void 0,a&&a[s]));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,l=o.length;s<l;s++){const u=o[s];i[s]=t(e[u],u,s,a&&a[s])}}else i=[];return r&&(r[n]=i),i}function P3(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(Ce(n))for(let i=0;i<n.length;i++)e[n[i].name]=n[i].fn;else n&&(e[n.name]=n.key?(...i)=>{const a=n.fn(...i);return a&&(a.key=n.key),a}:n.fn)}return e}function I3(e,t,r={},n,i){if(Kt.isCE||Kt.parent&&Wo(Kt.parent)&&Kt.parent.isCE)return t!=="default"&&(r.name=t),mt("slot",r,n&&n());let a=e[t];a&&a._c&&(a._d=!1),Uo();const o=a&&BD(a(r)),s=Ip(Gt,{key:r.key||o&&o.key||`_${t}`},o||(n?n():[]),o&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function BD(e){return e.some(t=>ka(t)?!(t.type===ur||t.type===Gt&&!BD(t.children)):!0)?e:null}function M3(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:cc(n)]=e[n];return r}const xy=e=>e?tL(e)?Lp(e)||e.proxy:xy(e.parent):null,hc=Pt(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=>xy(e.parent),$root:e=>xy(e.root),$emit:e=>e.emit,$options:e=>M1(e),$forceUpdate:e=>e.f||(e.f=()=>bp(e.update)),$nextTick:e=>e.n||(e.n=ja.bind(e.proxy)),$watch:e=>g3.bind(e)}),Y0=(e,t)=>e!==ut&&!e.__isScriptSetup&&Je(e,t),_y={get({_:e},t){const{ctx:r,setupState:n,data:i,props:a,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return a[t]}else{if(Y0(n,t))return o[t]=1,n[t];if(i!==ut&&Je(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&Je(u,t))return o[t]=3,a[t];if(r!==ut&&Je(r,t))return o[t]=4,r[t];by&&(o[t]=0)}}const c=hc[t];let f,h;if(c)return t==="$attrs"&&Yr(e,"get",t),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(r!==ut&&Je(r,t))return o[t]=4,r[t];if(h=l.config.globalProperties,Je(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return Y0(i,t)?(i[t]=r,!0):n!==ut&&Je(n,t)?(n[t]=r,!0):Je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},o){let s;return!!r[o]||e!==ut&&Je(e,o)||Y0(t,o)||(s=a[0])&&Je(s,o)||Je(n,o)||Je(hc,o)||Je(i.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Je(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},D3=Pt({},_y,{get(e,t){if(t!==Symbol.unscopables)return _y.get(e,t,e)},has(e,t){return t[0]!=="_"&&!K5(t)}});let by=!0;function L3(e){const t=M1(e),r=e.proxy,n=e.ctx;by=!1,t.beforeCreate&&NS(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:v,activated:p,deactivated:m,beforeDestroy:g,beforeUnmount:y,destroyed:x,unmounted:_,render:b,renderTracked:C,renderTriggered:S,errorCaptured:w,serverPrefetch:E,expose:T,inheritAttrs:A,components:P,directives:D,filters:L}=t;if(u&&R3(u,n,null,e.appContext.config.unwrapInjectedRef),o)for(const G in o){const $=o[G];ke($)&&(n[G]=$.bind(r))}if(i){const G=i.call(r,r);ft(G)&&(e.data=Ga(G))}if(by=!0,a)for(const G in a){const $=a[G],Y=ke($)?$.bind(r,r):ke($.get)?$.get.bind(r,r):Ln,J=!ke($)&&ke($.set)?$.set.bind(r):Ln,H=Ht({get:Y,set:J});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>H.value,set:W=>H.value=W})}if(s)for(const G in s)FD(s[G],n,r,G);if(l){const G=ke(l)?l.call(r):l;Reflect.ownKeys(G).forEach($=>{fc($,G[$])})}c&&NS(c,e,"c");function B(G,$){Ce($)?$.forEach(Y=>G(Y.bind(r))):$&&G($.bind(r))}if(B(E1,f),B(tu,h),B(DD,d),B(Ap,v),B(PD,p),B(ID,m),B(kD,w),B(OD,C),B(RD,S),B(Ep,y),B(Pp,_),B(LD,E),Ce(T))if(T.length){const G=e.exposed||(e.exposed={});T.forEach($=>{Object.defineProperty(G,$,{get:()=>r[$],set:Y=>r[$]=Y})})}else e.exposed||(e.exposed={});b&&e.render===Ln&&(e.render=b),A!=null&&(e.inheritAttrs=A),P&&(e.components=P),D&&(e.directives=D)}function R3(e,t,r=Ln,n=!1){Ce(e)&&(e=Cy(e));for(const i in e){const a=e[i];let o;ft(a)?"default"in a?o=lr(a.from||i,a.default,!0):o=lr(a.from||i):o=lr(a),At(o)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[i]=o}}function NS(e,t,r){Ur(Ce(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function FD(e,t,r,n){const i=n.includes(".")?AD(r,n):()=>r[n];if(St(e)){const a=t[e];ke(a)&&Gr(i,a)}else if(ke(e))Gr(i,e.bind(r));else if(ft(e))if(Ce(e))e.forEach(a=>FD(a,t,r,n));else{const a=ke(e.handler)?e.handler.bind(r):t[e.handler];ke(a)&&Gr(i,a,e)}}function M1(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!r&&!n?l=t:(l={},i.length&&i.forEach(u=>Od(l,u,o,!0)),Od(l,t,o)),ft(t)&&a.set(t,l),l}function Od(e,t,r,n=!1){const{mixins:i,extends:a}=t;a&&Od(e,a,r,!0),i&&i.forEach(o=>Od(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const s=O3[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const O3={data:BS,props:wo,emits:wo,methods:wo,computed:wo,beforeCreate:fr,created:fr,beforeMount:fr,mounted:fr,beforeUpdate:fr,updated:fr,beforeDestroy:fr,beforeUnmount:fr,destroyed:fr,unmounted:fr,activated:fr,deactivated:fr,errorCaptured:fr,serverPrefetch:fr,components:wo,directives:wo,watch:N3,provide:BS,inject:k3};function BS(e,t){return t?e?function(){return Pt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function k3(e,t){return wo(Cy(e),Cy(t))}function Cy(e){if(Ce(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function fr(e,t){return e?[...new Set([].concat(e,t))]:t}function wo(e,t){return e?Pt(Pt(Object.create(null),e),t):t}function N3(e,t){if(!e)return t;if(!t)return e;const r=Pt(Object.create(null),e);for(const n in t)r[n]=fr(e[n],t[n]);return r}function B3(e,t,r,n=!1){const i={},a={};Ld(a,Mp,1),e.propsDefaults=Object.create(null),$D(e,t,i,a);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);r?e.props=n?i:fD(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function F3(e,t,r,n){const{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=Ke(i),[l]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Cp(e.emitsOptions,h))continue;const d=t[h];if(l)if(Je(a,h))d!==a[h]&&(a[h]=d,u=!0);else{const v=Lr(h);i[v]=Sy(l,s,v,d,e,!1)}else d!==a[h]&&(a[h]=d,u=!0)}}}else{$D(e,t,i,a)&&(u=!0);let c;for(const f in s)(!t||!Je(t,f)&&((c=cn(f))===f||!Je(t,c)))&&(l?r&&(r[f]!==void 0||r[c]!==void 0)&&(i[f]=Sy(l,s,f,void 0,e,!0)):delete i[f]);if(a!==s)for(const f in a)(!t||!Je(t,f))&&(delete a[f],u=!0)}u&&zi(e,"set","$attrs")}function $D(e,t,r,n){const[i,a]=e.propsOptions;let o=!1,s;if(t)for(let l in t){if(uc(l))continue;const u=t[l];let c;i&&Je(i,c=Lr(l))?!a||!a.includes(c)?r[c]=u:(s||(s={}))[c]=u:Cp(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,o=!0)}if(a){const l=Ke(r),u=s||ut;for(let c=0;c<a.length;c++){const f=a[c];r[f]=Sy(i,l,f,u[f],e,!Je(u,f))}}return o}function Sy(e,t,r,n,i,a){const o=e[r];if(o!=null){const s=Je(o,"default");if(s&&n===void 0){const l=o.default;if(o.type!==Function&&ke(l)){const{propsDefaults:u}=i;r in u?n=u[r]:(Na(i),n=u[r]=l.call(null,t),Pa())}else n=l}o[0]&&(a&&!s?n=!1:o[1]&&(n===""||n===cn(r))&&(n=!0))}return n}function HD(e,t,r=!1){const n=t.propsCache,i=n.get(e);if(i)return i;const a=e.props,o={},s=[];let l=!1;if(!ke(e)){const c=f=>{l=!0;const[h,d]=HD(f,t,!0);Pt(o,h),d&&s.push(...d)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return ft(e)&&n.set(e,fl),fl;if(Ce(a))for(let c=0;c<a.length;c++){const f=Lr(a[c]);FS(f)&&(o[f]=ut)}else if(a)for(const c in a){const f=Lr(c);if(FS(f)){const h=a[c],d=o[f]=Ce(h)||ke(h)?{type:h}:Object.assign({},h);if(d){const v=zS(Boolean,d.type),p=zS(String,d.type);d[0]=v>-1,d[1]=p<0||v<p,(v>-1||Je(d,"default"))&&s.push(f)}}}const u=[o,s];return ft(e)&&n.set(e,u),u}function FS(e){return e[0]!=="$"}function $S(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function HS(e,t){return $S(e)===$S(t)}function zS(e,t){return Ce(t)?t.findIndex(r=>HS(r,e)):ke(t)&&HS(t,e)?0:-1}const zD=e=>e[0]==="_"||e==="$stable",D1=e=>Ce(e)?e.map(zr):[zr(e)],$3=(e,t,r)=>{if(t._n)return t;const n=C1((...i)=>D1(t(...i)),r);return n._c=!1,n},WD=(e,t,r)=>{const n=e._ctx;for(const i in e){if(zD(i))continue;const a=e[i];if(ke(a))t[i]=$3(i,a,n);else if(a!=null){const o=D1(a);t[i]=()=>o}}},VD=(e,t)=>{const r=D1(t);e.slots.default=()=>r},H3=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=Ke(t),Ld(t,"_",r)):WD(t,e.slots={})}else e.slots={},t&&VD(e,t);Ld(e.slots,Mp,1)},z3=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,o=ut;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(Pt(i,t),!r&&s===1&&delete i._):(a=!t.$stable,WD(t,i)),o=t}else t&&(VD(e,t),o={default:1});if(a)for(const s in i)!zD(s)&&!(s in o)&&delete i[s]};function UD(){return{app:null,config:{isNativeTag:o$,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 W3=0;function V3(e,t){return function(n,i=null){ke(n)||(n=Object.assign({},n)),i!=null&&!ft(i)&&(i=null);const a=UD(),o=new Set;let s=!1;const l=a.app={_uid:W3++,_component:n,_props:i,_container:null,_context:a,_instance:null,version:cL,get config(){return a.config},set config(u){},use(u,...c){return o.has(u)||(u&&ke(u.install)?(o.add(u),u.install(l,...c)):ke(u)&&(o.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,f){if(!s){const h=mt(n,i);return h.appContext=a,c&&t?t(h,u):e(h,u,f),s=!0,l._container=u,u.__vue_app__=l,Lp(h.component)||h.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l}};return l}}function kd(e,t,r,n,i=!1){if(Ce(e)){e.forEach((h,d)=>kd(h,t&&(Ce(t)?t[d]:t),r,n,i));return}if(Wo(n)&&!i)return;const a=n.shapeFlag&4?Lp(n.component)||n.component.proxy:n.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===ut?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(St(u)?(c[u]=null,Je(f,u)&&(f[u]=null)):At(u)&&(u.value=null)),ke(l))Bi(l,s,12,[o,c]);else{const h=St(l),d=At(l);if(h||d){const v=()=>{if(e.f){const p=h?Je(f,l)?f[l]:c[l]:l.value;i?Ce(p)&&o1(p,a):Ce(p)?p.includes(a)||p.push(a):h?(c[l]=[a],Je(f,l)&&(f[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else h?(c[l]=o,Je(f,l)&&(f[l]=o)):d&&(l.value=o,e.k&&(c[e.k]=o))};o?(v.id=-1,Yt(v,r)):v()}}}let ea=!1;const Qf=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Jf=e=>e.nodeType===8;function U3(e){const{mt:t,p:r,o:{patchProp:n,createText:i,nextSibling:a,parentNode:o,remove:s,insert:l,createComment:u}}=e,c=(g,y)=>{if(!y.hasChildNodes()){r(null,g,y),Rd(),y._vnode=g;return}ea=!1,f(y.firstChild,g,null,null,null),Rd(),y._vnode=g,ea&&console.error("Hydration completed but contains mismatches.")},f=(g,y,x,_,b,C=!1)=>{const S=Jf(g)&&g.data==="[",w=()=>p(g,y,x,_,b,S),{type:E,ref:T,shapeFlag:A,patchFlag:P}=y;let D=g.nodeType;y.el=g,P===-2&&(C=!1,y.dynamicChildren=null);let L=null;switch(E){case es:D!==3?y.children===""?(l(y.el=i(""),o(g),g),L=g):L=w():(g.data!==y.children&&(ea=!0,g.data=y.children),L=a(g));break;case ur:D!==8||S?L=w():L=a(g);break;case Vo:if(S&&(g=a(g),D=g.nodeType),D===1||D===3){L=g;const N=!y.children.length;for(let B=0;B<y.staticCount;B++)N&&(y.children+=L.nodeType===1?L.outerHTML:L.data),B===y.staticCount-1&&(y.anchor=L),L=a(L);return S?a(L):L}else w();break;case Gt:S?L=v(g,y,x,_,b,C):L=w();break;default:if(A&1)D!==1||y.type.toLowerCase()!==g.tagName.toLowerCase()?L=w():L=h(g,y,x,_,b,C);else if(A&6){y.slotScopeIds=b;const N=o(g);if(t(y,N,null,x,_,Qf(N),C),L=S?m(g):a(g),L&&Jf(L)&&L.data==="teleport end"&&(L=a(L)),Wo(y)){let B;S?(B=mt(Gt),B.anchor=L?L.previousSibling:N.lastChild):B=g.nodeType===3?R1(""):mt("div"),B.el=g,y.component.subTree=B}}else A&64?D!==8?L=w():L=y.type.hydrate(g,y,x,_,b,C,e,d):A&128&&(L=y.type.hydrate(g,y,x,_,Qf(o(g)),b,C,e,f))}return T!=null&&kd(T,null,_,y),L},h=(g,y,x,_,b,C)=>{C=C||!!y.dynamicChildren;const{type:S,props:w,patchFlag:E,shapeFlag:T,dirs:A}=y,P=S==="input"&&A||S==="option";if(P||E!==-1){if(A&&Zn(y,null,x,"created"),w)if(P||!C||E&48)for(const L in w)(P&&L.endsWith("value")||Sf(L)&&!uc(L))&&n(g,L,null,w[L],!1,void 0,x);else w.onClick&&n(g,"onClick",null,w.onClick,!1,void 0,x);let D;if((D=w&&w.onVnodeBeforeMount)&&Tr(D,x,y),A&&Zn(y,null,x,"beforeMount"),((D=w&&w.onVnodeMounted)||A)&&SD(()=>{D&&Tr(D,x,y),A&&Zn(y,null,x,"mounted")},_),T&16&&!(w&&(w.innerHTML||w.textContent))){let L=d(g.firstChild,y,g,x,_,b,C);for(;L;){ea=!0;const N=L;L=L.nextSibling,s(N)}}else T&8&&g.textContent!==y.children&&(ea=!0,g.textContent=y.children)}return g.nextSibling},d=(g,y,x,_,b,C,S)=>{S=S||!!y.dynamicChildren;const w=y.children,E=w.length;for(let T=0;T<E;T++){const A=S?w[T]:w[T]=zr(w[T]);if(g)g=f(g,A,_,b,C,S);else{if(A.type===es&&!A.children)continue;ea=!0,r(null,A,x,null,_,b,Qf(x),C)}}return g},v=(g,y,x,_,b,C)=>{const{slotScopeIds:S}=y;S&&(b=b?b.concat(S):S);const w=o(g),E=d(a(g),y,w,x,_,b,C);return E&&Jf(E)&&E.data==="]"?a(y.anchor=E):(ea=!0,l(y.anchor=u("]"),w,E),E)},p=(g,y,x,_,b,C)=>{if(ea=!0,y.el=null,C){const E=m(g);for(;;){const T=a(g);if(T&&T!==E)s(T);else break}}const S=a(g),w=o(g);return s(g),r(null,y,w,S,x,_,Qf(w),b),S},m=g=>{let y=0;for(;g;)if(g=a(g),g&&Jf(g)&&(g.data==="["&&y++,g.data==="]")){if(y===0)return a(g);y--}return g};return[c,f]}const Yt=SD;function GD(e){return qD(e)}function jD(e){return qD(e,U3)}function qD(e,t){const r=h$();r.__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=Ln,insertStaticContent:v}=e,p=(R,I,M,k=null,z=null,Z=null,ne=!1,ie=null,ae=!!I.dynamicChildren)=>{if(R===I)return;R&&!ei(R,I)&&(k=re(R),W(R,z,Z,!0),R=null),I.patchFlag===-2&&(ae=!1,I.dynamicChildren=null);const{type:te,ref:ue,shapeFlag:F}=I;switch(te){case es:m(R,I,M,k);break;case ur:g(R,I,M,k);break;case Vo:R==null&&y(I,M,k,ne);break;case Gt:P(R,I,M,k,z,Z,ne,ie,ae);break;default:F&1?b(R,I,M,k,z,Z,ne,ie,ae):F&6?D(R,I,M,k,z,Z,ne,ie,ae):(F&64||F&128)&&te.process(R,I,M,k,z,Z,ne,ie,ae,me)}ue!=null&&z&&kd(ue,R&&R.ref,Z,I||R,!I)},m=(R,I,M,k)=>{if(R==null)n(I.el=s(I.children),M,k);else{const z=I.el=R.el;I.children!==R.children&&u(z,I.children)}},g=(R,I,M,k)=>{R==null?n(I.el=l(I.children||""),M,k):I.el=R.el},y=(R,I,M,k)=>{[R.el,R.anchor]=v(R.children,I,M,k,R.el,R.anchor)},x=({el:R,anchor:I},M,k)=>{let z;for(;R&&R!==I;)z=h(R),n(R,M,k),R=z;n(I,M,k)},_=({el:R,anchor:I})=>{let M;for(;R&&R!==I;)M=h(R),i(R),R=M;i(I)},b=(R,I,M,k,z,Z,ne,ie,ae)=>{ne=ne||I.type==="svg",R==null?C(I,M,k,z,Z,ne,ie,ae):E(R,I,z,Z,ne,ie,ae)},C=(R,I,M,k,z,Z,ne,ie)=>{let ae,te;const{type:ue,props:F,shapeFlag:V,transition:le,dirs:he}=R;if(ae=R.el=o(R.type,Z,F&&F.is,F),V&8?c(ae,R.children):V&16&&w(R.children,ae,null,k,z,Z&&ue!=="foreignObject",ne,ie),he&&Zn(R,null,k,"created"),F){for(const $e in F)$e!=="value"&&!uc($e)&&a(ae,$e,null,F[$e],Z,R.children,k,z,Q);"value"in F&&a(ae,"value",null,F.value),(te=F.onVnodeBeforeMount)&&Tr(te,k,R)}S(ae,R,R.scopeId,ne,k),he&&Zn(R,null,k,"beforeMount");const ge=(!z||z&&!z.pendingBranch)&&le&&!le.persisted;ge&&le.beforeEnter(ae),n(ae,I,M),((te=F&&F.onVnodeMounted)||ge||he)&&Yt(()=>{te&&Tr(te,k,R),ge&&le.enter(ae),he&&Zn(R,null,k,"mounted")},z)},S=(R,I,M,k,z)=>{if(M&&d(R,M),k)for(let Z=0;Z<k.length;Z++)d(R,k[Z]);if(z){let Z=z.subTree;if(I===Z){const ne=z.vnode;S(R,ne,ne.scopeId,ne.slotScopeIds,z.parent)}}},w=(R,I,M,k,z,Z,ne,ie,ae=0)=>{for(let te=ae;te<R.length;te++){const ue=R[te]=ie?pa(R[te]):zr(R[te]);p(null,ue,I,M,k,z,Z,ne,ie)}},E=(R,I,M,k,z,Z,ne)=>{const ie=I.el=R.el;let{patchFlag:ae,dynamicChildren:te,dirs:ue}=I;ae|=R.patchFlag&16;const F=R.props||ut,V=I.props||ut;let le;M&&Za(M,!1),(le=V.onVnodeBeforeUpdate)&&Tr(le,M,I,R),ue&&Zn(I,R,M,"beforeUpdate"),M&&Za(M,!0);const he=z&&I.type!=="foreignObject";if(te?T(R.dynamicChildren,te,ie,M,k,he,Z):ne||$(R,I,ie,null,M,k,he,Z,!1),ae>0){if(ae&16)A(ie,I,F,V,M,k,z);else if(ae&2&&F.class!==V.class&&a(ie,"class",null,V.class,z),ae&4&&a(ie,"style",F.style,V.style,z),ae&8){const ge=I.dynamicProps;for(let $e=0;$e<ge.length;$e++){const Se=ge[$e],st=F[Se],ht=V[Se];(ht!==st||Se==="value")&&a(ie,Se,st,ht,z,R.children,M,k,Q)}}ae&1&&R.children!==I.children&&c(ie,I.children)}else!ne&&te==null&&A(ie,I,F,V,M,k,z);((le=V.onVnodeUpdated)||ue)&&Yt(()=>{le&&Tr(le,M,I,R),ue&&Zn(I,R,M,"updated")},k)},T=(R,I,M,k,z,Z,ne)=>{for(let ie=0;ie<I.length;ie++){const ae=R[ie],te=I[ie],ue=ae.el&&(ae.type===Gt||!ei(ae,te)||ae.shapeFlag&70)?f(ae.el):M;p(ae,te,ue,null,k,z,Z,ne,!0)}},A=(R,I,M,k,z,Z,ne)=>{if(M!==k){if(M!==ut)for(const ie in M)!uc(ie)&&!(ie in k)&&a(R,ie,M[ie],null,ne,I.children,z,Z,Q);for(const ie in k){if(uc(ie))continue;const ae=k[ie],te=M[ie];ae!==te&&ie!=="value"&&a(R,ie,te,ae,ne,I.children,z,Z,Q)}"value"in k&&a(R,"value",M.value,k.value)}},P=(R,I,M,k,z,Z,ne,ie,ae)=>{const te=I.el=R?R.el:s(""),ue=I.anchor=R?R.anchor:s("");let{patchFlag:F,dynamicChildren:V,slotScopeIds:le}=I;le&&(ie=ie?ie.concat(le):le),R==null?(n(te,M,k),n(ue,M,k),w(I.children,M,ue,z,Z,ne,ie,ae)):F>0&&F&64&&V&&R.dynamicChildren?(T(R.dynamicChildren,V,M,z,Z,ne,ie),(I.key!=null||z&&I===z.subTree)&&L1(R,I,!0)):$(R,I,M,ue,z,Z,ne,ie,ae)},D=(R,I,M,k,z,Z,ne,ie,ae)=>{I.slotScopeIds=ie,R==null?I.shapeFlag&512?z.ctx.activate(I,M,k,ne,ae):L(I,M,k,z,Z,ne,ae):N(R,I,ae)},L=(R,I,M,k,z,Z,ne)=>{const ie=R.component=eL(R,k,z);if(Pf(R)&&(ie.ctx.renderer=me),rL(ie),ie.asyncDep){if(z&&z.registerDep(ie,B),!R.el){const ae=ie.subTree=mt(ur);g(null,ae,I,M)}return}B(ie,R,I,M,z,Z,ne)},N=(R,I,M)=>{const k=I.component=R.component;if(l3(R,I,M))if(k.asyncDep&&!k.asyncResolved){G(k,I,M);return}else k.next=I,J$(k.update),k.update();else I.el=R.el,k.vnode=I},B=(R,I,M,k,z,Z,ne)=>{const ie=()=>{if(R.isMounted){let{next:ue,bu:F,u:V,parent:le,vnode:he}=R,ge=ue,$e;Za(R,!1),ue?(ue.el=he.el,G(R,ue,ne)):ue=he,F&&dl(F),($e=ue.props&&ue.props.onVnodeBeforeUpdate)&&Tr($e,le,ue,he),Za(R,!0);const Se=od(R),st=R.subTree;R.subTree=Se,p(st,Se,f(st.el),re(st),R,z,Z),ue.el=Se.el,ge===null&&S1(R,Se.el),V&&Yt(V,z),($e=ue.props&&ue.props.onVnodeUpdated)&&Yt(()=>Tr($e,le,ue,he),z)}else{let ue;const{el:F,props:V}=I,{bm:le,m:he,parent:ge}=R,$e=Wo(I);if(Za(R,!1),le&&dl(le),!$e&&(ue=V&&V.onVnodeBeforeMount)&&Tr(ue,ge,I),Za(R,!0),F&&oe){const Se=()=>{R.subTree=od(R),oe(F,R.subTree,R,z,null)};$e?I.type.__asyncLoader().then(()=>!R.isUnmounted&&Se()):Se()}else{const Se=R.subTree=od(R);p(null,Se,M,k,R,z,Z),I.el=Se.el}if(he&&Yt(he,z),!$e&&(ue=V&&V.onVnodeMounted)){const Se=I;Yt(()=>Tr(ue,ge,Se),z)}(I.shapeFlag&256||ge&&Wo(ge.vnode)&&ge.vnode.shapeFlag&256)&&R.a&&Yt(R.a,z),R.isMounted=!0,I=M=k=null}},ae=R.effect=new Af(ie,()=>bp(te),R.scope),te=R.update=()=>ae.run();te.id=R.uid,Za(R,!0),te()},G=(R,I,M)=>{I.component=R;const k=R.vnode.props;R.vnode=I,R.next=null,F3(R,I.props,k,M),z3(R,I.children,M),Jl(),DS(),eu()},$=(R,I,M,k,z,Z,ne,ie,ae=!1)=>{const te=R&&R.children,ue=R?R.shapeFlag:0,F=I.children,{patchFlag:V,shapeFlag:le}=I;if(V>0){if(V&128){J(te,F,M,k,z,Z,ne,ie,ae);return}else if(V&256){Y(te,F,M,k,z,Z,ne,ie,ae);return}}le&8?(ue&16&&Q(te,z,Z),F!==te&&c(M,F)):ue&16?le&16?J(te,F,M,k,z,Z,ne,ie,ae):Q(te,z,Z,!0):(ue&8&&c(M,""),le&16&&w(F,M,k,z,Z,ne,ie,ae))},Y=(R,I,M,k,z,Z,ne,ie,ae)=>{R=R||fl,I=I||fl;const te=R.length,ue=I.length,F=Math.min(te,ue);let V;for(V=0;V<F;V++){const le=I[V]=ae?pa(I[V]):zr(I[V]);p(R[V],le,M,null,z,Z,ne,ie,ae)}te>ue?Q(R,z,Z,!0,!1,F):w(I,M,k,z,Z,ne,ie,ae,F)},J=(R,I,M,k,z,Z,ne,ie,ae)=>{let te=0;const ue=I.length;let F=R.length-1,V=ue-1;for(;te<=F&&te<=V;){const le=R[te],he=I[te]=ae?pa(I[te]):zr(I[te]);if(ei(le,he))p(le,he,M,null,z,Z,ne,ie,ae);else break;te++}for(;te<=F&&te<=V;){const le=R[F],he=I[V]=ae?pa(I[V]):zr(I[V]);if(ei(le,he))p(le,he,M,null,z,Z,ne,ie,ae);else break;F--,V--}if(te>F){if(te<=V){const le=V+1,he=le<ue?I[le].el:k;for(;te<=V;)p(null,I[te]=ae?pa(I[te]):zr(I[te]),M,he,z,Z,ne,ie,ae),te++}}else if(te>V)for(;te<=F;)W(R[te],z,Z,!0),te++;else{const le=te,he=te,ge=new Map;for(te=he;te<=V;te++){const tr=I[te]=ae?pa(I[te]):zr(I[te]);tr.key!=null&&ge.set(tr.key,te)}let $e,Se=0;const st=V-he+1;let ht=!1,_r=0;const Wn=new Array(st);for(te=0;te<st;te++)Wn[te]=0;for(te=le;te<=F;te++){const tr=R[te];if(Se>=st){W(tr,z,Z,!0);continue}let Zr;if(tr.key!=null)Zr=ge.get(tr.key);else for($e=he;$e<=V;$e++)if(Wn[$e-he]===0&&ei(tr,I[$e])){Zr=$e;break}Zr===void 0?W(tr,z,Z,!0):(Wn[Zr-he]=te+1,Zr>=_r?_r=Zr:ht=!0,p(tr,I[Zr],M,null,z,Z,ne,ie,ae),Se++)}const _u=ht?G3(Wn):fl;for($e=_u.length-1,te=st-1;te>=0;te--){const tr=he+te,Zr=I[tr],Uf=tr+1<ue?I[tr+1].el:k;Wn[te]===0?p(null,Zr,M,Uf,z,Z,ne,ie,ae):ht&&($e<0||te!==_u[$e]?H(Zr,M,Uf,2):$e--)}}},H=(R,I,M,k,z=null)=>{const{el:Z,type:ne,transition:ie,children:ae,shapeFlag:te}=R;if(te&6){H(R.component.subTree,I,M,k);return}if(te&128){R.suspense.move(I,M,k);return}if(te&64){ne.move(R,I,M,me);return}if(ne===Gt){n(Z,I,M);for(let F=0;F<ae.length;F++)H(ae[F],I,M,k);n(R.anchor,I,M);return}if(ne===Vo){x(R,I,M);return}if(k!==2&&te&1&&ie)if(k===0)ie.beforeEnter(Z),n(Z,I,M),Yt(()=>ie.enter(Z),z);else{const{leave:F,delayLeave:V,afterLeave:le}=ie,he=()=>n(Z,I,M),ge=()=>{F(Z,()=>{he(),le&&le()})};V?V(Z,he,ge):ge()}else n(Z,I,M)},W=(R,I,M,k=!1,z=!1)=>{const{type:Z,props:ne,ref:ie,children:ae,dynamicChildren:te,shapeFlag:ue,patchFlag:F,dirs:V}=R;if(ie!=null&&kd(ie,null,M,R,!0),ue&256){I.ctx.deactivate(R);return}const le=ue&1&&V,he=!Wo(R);let ge;if(he&&(ge=ne&&ne.onVnodeBeforeUnmount)&&Tr(ge,I,R),ue&6)U(R.component,M,k);else{if(ue&128){R.suspense.unmount(M,k);return}le&&Zn(R,null,I,"beforeUnmount"),ue&64?R.type.remove(R,I,M,z,me,k):te&&(Z!==Gt||F>0&&F&64)?Q(te,I,M,!1,!0):(Z===Gt&&F&384||!z&&ue&16)&&Q(ae,I,M),k&&X(R)}(he&&(ge=ne&&ne.onVnodeUnmounted)||le)&&Yt(()=>{ge&&Tr(ge,I,R),le&&Zn(R,null,I,"unmounted")},M)},X=R=>{const{type:I,el:M,anchor:k,transition:z}=R;if(I===Gt){q(M,k);return}if(I===Vo){_(R);return}const Z=()=>{i(M),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(R.shapeFlag&1&&z&&!z.persisted){const{leave:ne,delayLeave:ie}=z,ae=()=>ne(M,Z);ie?ie(R.el,Z,ae):ae()}else Z()},q=(R,I)=>{let M;for(;R!==I;)M=h(R),i(R),R=M;i(I)},U=(R,I,M)=>{const{bum:k,scope:z,update:Z,subTree:ne,um:ie}=R;k&&dl(k),z.stop(),Z&&(Z.active=!1,W(ne,R,I,M)),ie&&Yt(ie,I),Yt(()=>{R.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&R.asyncDep&&!R.asyncResolved&&R.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},Q=(R,I,M,k=!1,z=!1,Z=0)=>{for(let ne=Z;ne<R.length;ne++)W(R[ne],I,M,k,z)},re=R=>R.shapeFlag&6?re(R.component.subTree):R.shapeFlag&128?R.suspense.next():h(R.anchor||R.el),ee=(R,I,M)=>{R==null?I._vnode&&W(I._vnode,null,null,!0):p(I._vnode||null,R,I,null,null,null,M),DS(),Rd(),I._vnode=R},me={p,um:W,m:H,r:X,mt:L,mc:w,pc:$,pbc:T,n:re,o:e};let xe,oe;return t&&([xe,oe]=t(me)),{render:ee,hydrate:xe,createApp:V3(ee,xe)}}function Za({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function L1(e,t,r=!1){const n=e.children,i=t.children;if(Ce(n)&&Ce(i))for(let a=0;a<n.length;a++){const o=n[a];let s=i[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[a]=pa(i[a]),s.el=o.el),r||L1(o,s)),s.type===es&&(s.el=o.el)}}function G3(e){const t=e.slice(),r=[0];let n,i,a,o,s;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(i=r[r.length-1],e[i]<u){t[n]=i,r.push(n);continue}for(a=0,o=r.length-1;a<o;)s=a+o>>1,e[r[s]]<u?a=s+1:o=s;u<e[r[a]]&&(a>0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=t[o];return r}const j3=e=>e.__isTeleport,dc=e=>e&&(e.disabled||e.disabled===""),WS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wy=(e,t)=>{const r=e&&e.to;return St(r)?t?t(r):null:r},q3={__isTeleport:!0,process(e,t,r,n,i,a,o,s,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:v,createText:p,createComment:m}}=u,g=dc(t.props);let{shapeFlag:y,children:x,dynamicChildren:_}=t;if(e==null){const b=t.el=p(""),C=t.anchor=p("");d(b,r,n),d(C,r,n);const S=t.target=wy(t.props,v),w=t.targetAnchor=p("");S&&(d(w,S),o=o||WS(S));const E=(T,A)=>{y&16&&c(x,T,A,i,a,o,s,l)};g?E(r,C):S&&E(S,w)}else{t.el=e.el;const b=t.anchor=e.anchor,C=t.target=e.target,S=t.targetAnchor=e.targetAnchor,w=dc(e.props),E=w?r:C,T=w?b:S;if(o=o||WS(C),_?(h(e.dynamicChildren,_,E,i,a,o,s),L1(e,t,!0)):l||f(e,t,E,T,i,a,o,s,!1),g)w||eh(t,r,b,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=wy(t.props,v);A&&eh(t,A,null,u,0)}else w&&eh(t,C,S,u,1)}YD(t)},remove(e,t,r,n,{um:i,o:{remove:a}},o){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:f,props:h}=e;if(f&&a(c),(o||!dc(h))&&(a(u),s&16))for(let d=0;d<l.length;d++){const v=l[d];i(v,t,r,!0,!!v.dynamicChildren)}},move:eh,hydrate:Y3};function eh(e,t,r,{o:{insert:n},m:i},a=2){a===0&&n(e.targetAnchor,t,r);const{el:o,anchor:s,shapeFlag:l,children:u,props:c}=e,f=a===2;if(f&&n(o,t,r),(!f||dc(c))&&l&16)for(let h=0;h<u.length;h++)i(u[h],t,r,2);f&&n(s,t,r)}function Y3(e,t,r,n,i,a,{o:{nextSibling:o,parentNode:s,querySelector:l}},u){const c=t.target=wy(t.props,l);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(dc(t.props))t.anchor=u(o(e),t,s(e),r,n,i,a),t.targetAnchor=f;else{t.anchor=o(e);let h=f;for(;h;)if(h=o(h),h&&h.nodeType===8&&h.data==="teleport anchor"){t.targetAnchor=h,c._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(f,t,c,r,n,i,a)}YD(t)}return t.anchor&&o(t.anchor)}const X3=q3;function YD(e){const t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}const Gt=Symbol(void 0),es=Symbol(void 0),ur=Symbol(void 0),Vo=Symbol(void 0),vc=[];let Dr=null;function Uo(e=!1){vc.push(Dr=e?null:[])}function XD(){vc.pop(),Dr=vc[vc.length-1]||null}let ts=1;function Ty(e){ts+=e}function KD(e){return e.dynamicChildren=ts>0?Dr||fl:null,XD(),ts>0&&Dr&&Dr.push(e),e}function Ay(e,t,r,n,i,a){return KD(Dp(e,t,r,n,i,a,!0))}function Ip(e,t,r,n,i){return KD(mt(e,t,r,n,i,!0))}function ka(e){return e?e.__v_isVNode===!0:!1}function ei(e,t){return e.type===t.type&&e.key===t.key}function K3(e){}const Mp="__vInternal",ZD=({key:e})=>e??null,sd=({ref:e,ref_key:t,ref_for:r})=>e!=null?St(e)||At(e)||ke(e)?{i:Kt,r:e,k:t,f:!!r}:e:null;function Dp(e,t=null,r=null,n=0,i=null,a=e===Gt?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ZD(t),ref:t&&sd(t),scopeId:Sp,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Kt};return s?(O1(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=St(r)?8:16),ts>0&&!o&&Dr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Dr.push(l),l}const mt=Z3;function Z3(e,t=null,r=null,n=0,i=null,a=!1){if((!e||e===ND)&&(e=ur),ka(e)){const s=ci(e,t,!0);return r&&O1(s,r),ts>0&&!a&&Dr&&(s.shapeFlag&6?Dr[Dr.indexOf(e)]=s:Dr.push(s)),s.patchFlag|=-2,s}if(aH(e)&&(e=e.__vccOpts),t){t=QD(t);let{class:s,style:l}=t;s&&!St(s)&&(t.class=Cf(s)),ft(l)&&(g1(l)&&!Ce(l)&&(l=Pt({},l)),t.style=bf(l))}const o=St(e)?1:CD(e)?128:j3(e)?64:ft(e)?4:ke(e)?2:0;return Dp(e,t,r,n,i,o,a,!0)}function QD(e){return e?g1(e)||Mp in e?Pt({},e):e:null}function ci(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:o}=e,s=t?Nd(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ZD(s),ref:t&&t.ref?r&&i?Ce(i)?i.concat(sd(t)):[i,sd(t)]:sd(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Gt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ci(e.ssContent),ssFallback:e.ssFallback&&ci(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function R1(e=" ",t=0){return mt(es,null,e,t)}function Q3(e,t){const r=mt(Vo,null,e);return r.staticCount=t,r}function JD(e="",t=!1){return t?(Uo(),Ip(ur,null,e)):mt(ur,null,e)}function zr(e){return e==null||typeof e=="boolean"?mt(ur):Ce(e)?mt(Gt,null,e.slice()):typeof e=="object"?pa(e):mt(es,null,String(e))}function pa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ci(e)}function O1(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Ce(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),O1(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!(Mp in t)?t._ctx=Kt:i===3&&Kt&&(Kt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ke(t)?(t={default:t,_ctx:Kt},r=32):(t=String(t),n&64?(r=16,t=[R1(t)]):r=8);e.children=t,e.shapeFlag|=r}function Nd(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Cf([t.class,n.class]));else if(i==="style")t.style=bf([t.style,n.style]);else if(Sf(i)){const a=t[i],o=n[i];o&&a!==o&&!(Ce(a)&&a.includes(o))&&(t[i]=a?[].concat(a,o):o)}else i!==""&&(t[i]=n[i])}return t}function Tr(e,t,r,n=null){Ur(e,t,7,[r,n])}const J3=UD();let eH=0;function eL(e,t,r){const n=e.type,i=(t?t.appContext:e.appContext)||J3,a={uid:eH++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new u1(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:HD(n,i),emitsOptions:bD(n,i),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:n.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,setupContext:null,suspense:r,suspenseId:r?r.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 a.ctx={_:a},a.root=t?t.root:a,a.emit=t3.bind(null,a),e.ce&&e.ce(a),a}let $t=null;const vi=()=>$t||Kt,Na=e=>{$t=e,e.scope.on()},Pa=()=>{$t&&$t.scope.off(),$t=null};function tL(e){return e.vnode.shapeFlag&4}let Il=!1;function rL(e,t=!1){Il=t;const{props:r,children:n}=e.vnode,i=tL(e);B3(e,r,i,t),H3(e,n);const a=i?tH(e,t):void 0;return Il=!1,a}function tH(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Qo(new Proxy(e.ctx,_y));const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?iL(e):null;Na(e),Jl();const a=Bi(n,e,0,[e.props,i]);if(eu(),Pa(),s1(a)){if(a.then(Pa,Pa),t)return a.then(o=>{Ey(e,o,t)}).catch(o=>{vs(o,e,0)});e.asyncDep=a}else Ey(e,a,t)}else nL(e,t)}function Ey(e,t,r){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=x1(t)),nL(e,r)}let Bd,Py;function rH(e){Bd=e,Py=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,D3))}}const nH=()=>!Bd;function nL(e,t,r){const n=e.type;if(!e.render){if(!t&&Bd&&!n.render){const i=n.template||M1(e).template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Pt(Pt({isCustomElement:a,delimiters:s},o),l);n.render=Bd(i,u)}}e.render=n.render||Ln,Py&&Py(e)}Na(e),Jl(),L3(e),eu(),Pa()}function iH(e){return new Proxy(e.attrs,{get(t,r){return Yr(e,"get","$attrs"),t[r]}})}function iL(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=iH(e))},slots:e.slots,emit:e.emit,expose:t}}function Lp(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(x1(Qo(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in hc)return hc[r](e)},has(t,r){return r in t||r in hc}}))}function Iy(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function aH(e){return ke(e)&&"__vccOpts"in e}const Ht=(e,t)=>X$(e,t,Il);function oH(){return null}function sH(){return null}function lH(e){}function uH(e,t){return null}function cH(){return oL().slots}function aL(){return oL().attrs}function oL(){const e=vi();return e.setupContext||(e.setupContext=iL(e))}function fH(e,t){const r=Ce(e)?e.reduce((n,i)=>(n[i]={},n),{}):e;for(const n in t){const i=r[n];i?Ce(i)||ke(i)?r[n]={type:i,default:t[n]}:i.default=t[n]:i===null&&(r[n]={default:t[n]})}return r}function hH(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function dH(e){const t=vi();let r=e();return Pa(),s1(r)&&(r=r.catch(n=>{throw Na(t),n})),[r,()=>Na(t)]}function rs(e,t,r){const n=arguments.length;return n===2?ft(t)&&!Ce(t)?ka(t)?mt(e,null,[t]):mt(e,t):mt(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&ka(r)&&(r=[r]),mt(e,t,r))}const sL=Symbol(""),lL=()=>lr(sL);function vH(){}function pH(e,t,r,n){const i=r[n];if(i&&uL(i,e))return i;const a=t();return a.memo=e.slice(),r[n]=a}function uL(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(El(r[n],t[n]))return!1;return ts>0&&Dr&&Dr.push(e),!0}const cL="3.2.45",gH={createComponentInstance:eL,setupComponent:rL,renderComponentRoot:od,setCurrentRenderingInstance:Gc,isVNode:ka,normalizeVNode:zr},mH=gH,yH=null,xH=null,_H="http://www.w3.org/2000/svg",Do=typeof document<"u"?document:null,VS=Do&&Do.createElement("template"),bH={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t?Do.createElementNS(_H,e):Do.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Do.createTextNode(e),createComment:e=>Do.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Do.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,a){const o=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{VS.innerHTML=n?`<svg>${e}</svg>`:e;const s=VS.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function CH(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function SH(e,t,r){const n=e.style,i=St(r);if(r&&!i){for(const a in r)My(n,a,r[a]);if(t&&!St(t))for(const a in t)r[a]==null&&My(n,a,"")}else{const a=n.display;i?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const US=/\s*!important$/;function My(e,t,r){if(Ce(r))r.forEach(n=>My(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=wH(e,t);US.test(r)?e.setProperty(cn(n),r.replace(US,""),"important"):e[n]=r}}const GS=["Webkit","Moz","ms"],X0={};function wH(e,t){const r=X0[t];if(r)return r;let n=Lr(t);if(n!=="filter"&&n in e)return X0[t]=n;n=Tf(n);for(let i=0;i<GS.length;i++){const a=GS[i]+n;if(a in e)return X0[t]=a}return t}const jS="http://www.w3.org/1999/xlink";function TH(e,t,r,n,i){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(jS,t.slice(6,t.length)):e.setAttributeNS(jS,t,r);else{const a=n$(t);r==null||a&&!YM(r)?e.removeAttribute(t):e.setAttribute(t,a?"":r)}}function AH(e,t,r,n,i,a,o){if(t==="innerHTML"||t==="textContent"){n&&o(n,i,a),e[t]=r??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;const l=r??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),r==null&&e.removeAttribute(t);return}let s=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=YM(r):r==null&&l==="string"?(r="",s=!0):l==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(t)}function Li(e,t,r,n){e.addEventListener(t,r,n)}function EH(e,t,r,n){e.removeEventListener(t,r,n)}function PH(e,t,r,n,i=null){const a=e._vei||(e._vei={}),o=a[t];if(n&&o)o.value=n;else{const[s,l]=IH(t);if(n){const u=a[t]=LH(n,i);Li(e,s,u,l)}else o&&(EH(e,s,o,l),a[t]=void 0)}}const qS=/(?:Once|Passive|Capture)$/;function IH(e){let t;if(qS.test(e)){t={};let n;for(;n=e.match(qS);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):cn(e.slice(2)),t]}let K0=0;const MH=Promise.resolve(),DH=()=>K0||(MH.then(()=>K0=0),K0=Date.now());function LH(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ur(RH(n,r.value),t,5,[n])};return r.value=e,r.attached=DH(),r}function RH(e,t){if(Ce(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const YS=/^on[a-z]/,OH=(e,t,r,n,i=!1,a,o,s,l)=>{t==="class"?CH(e,n,i):t==="style"?SH(e,r,n):Sf(t)?a1(t)||PH(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kH(e,t,n,i))?AH(e,t,n,a,o,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),TH(e,t,n,i))};function kH(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&YS.test(t)&&ke(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||YS.test(t)&&St(r)?!1:t in e}function fL(e,t){const r=qa(e);class n extends Rp{constructor(a){super(r,a,t)}}return n.def=r,n}const NH=e=>fL(e,AL),BH=typeof HTMLElement<"u"?HTMLElement:class{};class Rp extends BH{constructor(t,r={},n){super(),this._def=t,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,ja(()=>{this._connected||(Ry(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);new MutationObserver(n=>{for(const i of n)this._setAttr(i.attributeName)}).observe(this,{attributes:!0});const t=(n,i=!1)=>{const{props:a,styles:o}=n;let s;if(a&&!Ce(a))for(const l in a){const u=a[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Hi(this._props[l])),(s||(s=Object.create(null)))[Lr(l)]=!0)}this._numberProps=s,i&&this._resolveProps(n),this._applyStyles(o),this._update()},r=this._def.__asyncLoader;r?r().then(n=>t(n,!0)):t(this._def)}_resolveProps(t){const{props:r}=t,n=Ce(r)?r:Object.keys(r||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of n.map(Lr))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let r=this.getAttribute(t);const n=Lr(t);this._numberProps&&this._numberProps[n]&&(r=Hi(r)),this._setProp(n,r,!1)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,i=!0){r!==this._props[t]&&(this._props[t]=r,i&&this._instance&&this._update(),n&&(r===!0?this.setAttribute(cn(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(cn(t),r+""):r||this.removeAttribute(cn(t))))}_update(){Ry(this._createVNode(),this.shadowRoot)}_createVNode(){const t=mt(this._def,Pt({},this._props));return this._instance||(t.ce=r=>{this._instance=r,r.isCE=!0;const n=(a,o)=>{this.dispatchEvent(new CustomEvent(a,{detail:o}))};r.emit=(a,...o)=>{n(a,o),cn(a)!==a&&n(cn(a),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Rp){r.parent=i._instance,r.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(r=>{const n=document.createElement("style");n.textContent=r,this.shadowRoot.appendChild(n)})}}function FH(e="$style"){{const t=vi();if(!t)return ut;const r=t.type.__cssModules;if(!r)return ut;const n=r[e];return n||ut}}function $H(e){const t=vi();if(!t)return;const r=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Ly(a,i))},n=()=>{const i=e(t.proxy);Dy(t.subTree,i),r(i)};TD(n),tu(()=>{const i=new MutationObserver(n);i.observe(t.subTree.el.parentNode,{childList:!0}),Pp(()=>i.disconnect())})}function Dy(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Dy(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ly(e.el,t);else if(e.type===Gt)e.children.forEach(r=>Dy(r,t));else if(e.type===Vo){let{el:r,anchor:n}=e;for(;r&&(Ly(r,t),r!==n);)r=r.nextSibling}}function Ly(e,t){if(e.nodeType===1){const r=e.style;for(const n in t)r.setProperty(`--${n}`,t[n])}}const ta="transition",bu="animation",k1=(e,{slots:t})=>rs(A1,dL(e),t);k1.displayName="Transition";const hL={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},HH=k1.props=Pt({},A1.props,hL),Qa=(e,t=[])=>{Ce(e)?e.forEach(r=>r(...t)):e&&e(...t)},XS=e=>e?Ce(e)?e.some(t=>t.length>1):e.length>1:!1;function dL(e){const t={};for(const P in e)P in hL||(t[P]=e[P]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:c=s,leaveFromClass:f=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=e,v=zH(i),p=v&&v[0],m=v&&v[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:x,onLeave:_,onLeaveCancelled:b,onBeforeAppear:C=g,onAppear:S=y,onAppearCancelled:w=x}=t,E=(P,D,L)=>{ha(P,D?c:s),ha(P,D?u:o),L&&L()},T=(P,D)=>{P._isLeaving=!1,ha(P,f),ha(P,d),ha(P,h),D&&D()},A=P=>(D,L)=>{const N=P?S:y,B=()=>E(D,P,L);Qa(N,[D,B]),KS(()=>{ha(D,P?l:a),Pi(D,P?c:s),XS(N)||ZS(D,n,p,B)})};return Pt(t,{onBeforeEnter(P){Qa(g,[P]),Pi(P,a),Pi(P,o)},onBeforeAppear(P){Qa(C,[P]),Pi(P,l),Pi(P,u)},onEnter:A(!1),onAppear:A(!0),onLeave(P,D){P._isLeaving=!0;const L=()=>T(P,D);Pi(P,f),pL(),Pi(P,h),KS(()=>{P._isLeaving&&(ha(P,f),Pi(P,d),XS(_)||ZS(P,n,m,L))}),Qa(_,[P,L])},onEnterCancelled(P){E(P,!1),Qa(x,[P])},onAppearCancelled(P){E(P,!0),Qa(w,[P])},onLeaveCancelled(P){T(P),Qa(b,[P])}})}function zH(e){if(e==null)return null;if(ft(e))return[Z0(e.enter),Z0(e.leave)];{const t=Z0(e);return[t,t]}}function Z0(e){return Hi(e)}function Pi(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function ha(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function KS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let WH=0;function ZS(e,t,r,n){const i=e._endId=++WH,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=vL(e,t);if(!o)return n();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,h),a()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},s+1),e.addEventListener(u,h)}function vL(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),i=n(`${ta}Delay`),a=n(`${ta}Duration`),o=QS(i,a),s=n(`${bu}Delay`),l=n(`${bu}Duration`),u=QS(s,l);let c=null,f=0,h=0;t===ta?o>0&&(c=ta,f=o,h=a.length):t===bu?u>0&&(c=bu,f=u,h=l.length):(f=Math.max(o,u),c=f>0?o>u?ta:bu:null,h=c?c===ta?a.length:l.length:0);const d=c===ta&&/\b(transform|all)(,|$)/.test(n(`${ta}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function QS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>JS(r)+JS(e[n])))}function JS(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function pL(){return document.body.offsetHeight}const gL=new WeakMap,mL=new WeakMap,VH={name:"TransitionGroup",props:Pt({},HH,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=vi(),n=T1();let i,a;return Ap(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!YH(i[0].el,r.vnode.el,o))return;i.forEach(GH),i.forEach(jH);const s=i.filter(qH);pL(),s.forEach(l=>{const u=l.el,c=u.style;Pi(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,ha(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=Ke(e),s=dL(o);let l=o.tag||Gt;i=a,a=t.default?wp(t.default()):[];for(let u=0;u<a.length;u++){const c=a[u];c.key!=null&&Jo(c,Pl(c,s,n,r))}if(i)for(let u=0;u<i.length;u++){const c=i[u];Jo(c,Pl(c,s,n,r)),gL.set(c,c.el.getBoundingClientRect())}return mt(l,null,a)}}},UH=VH;function GH(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function jH(e){mL.set(e,e.el.getBoundingClientRect())}function qH(e){const t=gL.get(e),r=mL.get(e),n=t.left-r.left,i=t.top-r.top;if(n||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${i}px)`,a.transitionDuration="0s",e}}function YH(e,t,r){const n=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(s=>s&&n.classList.remove(s))}),r.split(/\s+/).forEach(o=>o&&n.classList.add(o)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=vL(n);return i.removeChild(n),a}const Ba=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ce(t)?r=>dl(t,r):t};function XH(e){e.target.composing=!0}function ew(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Fd={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e._assign=Ba(i);const a=n||i.props&&i.props.type==="number";Li(e,t?"change":"input",o=>{if(o.target.composing)return;let s=e.value;r&&(s=s.trim()),a&&(s=Hi(s)),e._assign(s)}),r&&Li(e,"change",()=>{e.value=e.value.trim()}),t||(Li(e,"compositionstart",XH),Li(e,"compositionend",ew),Li(e,"change",ew))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},a){if(e._assign=Ba(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(i||e.type==="number")&&Hi(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},N1={deep:!0,created(e,t,r){e._assign=Ba(r),Li(e,"change",()=>{const n=e._modelValue,i=Ml(e),a=e.checked,o=e._assign;if(Ce(n)){const s=vp(n,i),l=s!==-1;if(a&&!l)o(n.concat(i));else if(!a&&l){const u=[...n];u.splice(s,1),o(u)}}else if(ds(n)){const s=new Set(n);a?s.add(i):s.delete(i),o(s)}else o(xL(e,a))})},mounted:tw,beforeUpdate(e,t,r){e._assign=Ba(r),tw(e,t,r)}};function tw(e,{value:t,oldValue:r},n){e._modelValue=t,Ce(t)?e.checked=vp(t,n.props.value)>-1:ds(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=Ra(t,xL(e,!0)))}const B1={created(e,{value:t},r){e.checked=Ra(t,r.props.value),e._assign=Ba(r),Li(e,"change",()=>{e._assign(Ml(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e._assign=Ba(n),t!==r&&(e.checked=Ra(t,n.props.value))}},yL={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=ds(t);Li(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?Hi(Ml(o)):Ml(o));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=Ba(n)},mounted(e,{value:t}){rw(e,t)},beforeUpdate(e,t,r){e._assign=Ba(r)},updated(e,{value:t}){rw(e,t)}};function rw(e,t){const r=e.multiple;if(!(r&&!Ce(t)&&!ds(t))){for(let n=0,i=e.options.length;n<i;n++){const a=e.options[n],o=Ml(a);if(r)Ce(t)?a.selected=vp(t,o)>-1:a.selected=t.has(o);else if(Ra(Ml(a),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ml(e){return"_value"in e?e._value:e.value}function xL(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const _L={created(e,t,r){th(e,t,r,null,"created")},mounted(e,t,r){th(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){th(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){th(e,t,r,n,"updated")}};function bL(e,t){switch(e){case"SELECT":return yL;case"TEXTAREA":return Fd;default:switch(t){case"checkbox":return N1;case"radio":return B1;default:return Fd}}}function th(e,t,r,n,i){const o=bL(e.tagName,r.props&&r.props.type)[i];o&&o(e,t,r,n)}function KH(){Fd.getSSRProps=({value:e})=>({value:e}),B1.getSSRProps=({value:e},t)=>{if(t.props&&Ra(t.props.value,e))return{checked:!0}},N1.getSSRProps=({value:e},t)=>{if(Ce(e)){if(t.props&&vp(e,t.props.value)>-1)return{checked:!0}}else if(ds(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},_L.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=bL(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const ZH=["ctrl","shift","alt","meta"],QH={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)=>ZH.some(r=>e[`${r}Key`]&&!t.includes(r))},JH=(e,t)=>(r,...n)=>{for(let i=0;i<t.length;i++){const a=QH[t[i]];if(a&&a(r,t))return}return e(r,...n)},e6={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},t6=(e,t)=>r=>{if(!("key"in r))return;const n=cn(r.key);if(t.some(i=>i===n||e6[i]===n))return e(r)},CL={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Cu(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Cu(e,!0),n.enter(e)):n.leave(e,()=>{Cu(e,!1)}):Cu(e,t))},beforeUnmount(e,{value:t}){Cu(e,t)}};function Cu(e,t){e.style.display=t?e._vod:"none"}function r6(){CL.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const SL=Pt({patchProp:OH},bH);let pc,nw=!1;function wL(){return pc||(pc=GD(SL))}function TL(){return pc=nw?pc:jD(SL),nw=!0,pc}const Ry=(...e)=>{wL().render(...e)},AL=(...e)=>{TL().hydrate(...e)},n6=(...e)=>{const t=wL().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=EL(n);if(!i)return;const a=t._component;!ke(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},i6=(...e)=>{const t=TL().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=EL(n);if(i)return r(i,!0,i instanceof SVGElement)},t};function EL(e){return St(e)?document.querySelector(e):e}let iw=!1;const a6=()=>{iw||(iw=!0,KH(),r6())},o6=()=>{},s6=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:A1,Comment:ur,EffectScope:u1,Fragment:Gt,KeepAlive:_3,ReactiveEffect:Af,Static:Vo,Suspense:c3,Teleport:X3,Text:es,Transition:k1,TransitionGroup:UH,VueElement:Rp,callWithAsyncErrorHandling:Ur,callWithErrorHandling:Bi,camelize:Lr,capitalize:Tf,cloneVNode:ci,compatUtils:xH,compile:o6,computed:Ht,createApp:n6,createBlock:Ip,createCommentVNode:JD,createElementBlock:Ay,createElementVNode:Dp,createHydrationRenderer:jD,createPropsRestProxy:hH,createRenderer:GD,createSSRApp:i6,createSlots:P3,createStaticVNode:Q3,createTextVNode:R1,createVNode:mt,customRef:j$,defineAsyncComponent:y3,defineComponent:qa,defineCustomElement:fL,defineEmits:sH,defineExpose:lH,defineProps:oH,defineSSRCustomElement:NH,get devtools(){return Qs},effect:p$,effectScope:c1,getCurrentInstance:vi,getCurrentScope:f1,getTransitionRawChildren:wp,guardReactiveProps:QD,h:rs,handleError:vs,hydrate:AL,initCustomFormatter:vH,initDirectivesForSSR:a6,inject:lr,isMemoSame:uL,isProxy:g1,isReactive:Ni,isReadonly:Zo,isRef:At,isRuntimeOnly:nH,isShallow:zc,isVNode:ka,markRaw:Qo,mergeDefaults:fH,mergeProps:Nd,nextTick:ja,normalizeClass:Cf,normalizeProps:t$,normalizeStyle:bf,onActivated:PD,onBeforeMount:E1,onBeforeUnmount:Ep,onBeforeUpdate:DD,onDeactivated:ID,onErrorCaptured:kD,onMounted:tu,onRenderTracked:OD,onRenderTriggered:RD,onScopeDispose:h1,onServerPrefetch:LD,onUnmounted:Pp,onUpdated:Ap,openBlock:Uo,popScopeId:n3,provide:fc,proxyRefs:x1,pushScopeId:r3,queuePostFlushCb:b1,reactive:Ga,readonly:p1,ref:vt,registerRuntimeCompiler:rH,render:Ry,renderList:E3,renderSlot:I3,resolveComponent:w3,resolveDirective:A3,resolveDynamicComponent:T3,resolveFilter:yH,resolveTransitionHooks:Pl,setBlockTracking:Ty,setDevtoolsHook:_D,setTransitionHooks:Jo,shallowReactive:fD,shallowReadonly:z$,shallowRef:hD,ssrContextKey:sL,ssrUtils:mH,stop:g$,toDisplayString:a$,toHandlerKey:cc,toHandlers:M3,toRaw:Ke,toRef:pD,toRefs:vD,transformVNodeArgs:K3,triggerRef:V$,unref:Ir,useAttrs:aL,useCssModule:FH,useCssVars:$H,useSSRContext:lL,useSlots:cH,useTransitionState:T1,vModelCheckbox:N1,vModelDynamic:_L,vModelRadio:B1,vModelSelect:yL,vModelText:Fd,vShow:CL,version:cL,warn:K$,watch:Gr,watchEffect:wD,watchPostEffect:TD,watchSyncEffect:p3,withAsyncContext:dH,withCtx:C1,withDefaults:uH,withDirectives:C3,withKeys:t6,withMemo:pH,withModifiers:JH,withScopeId:i3},Symbol.toStringTag,{value:"Module"})),aw={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},pi="^\\s*",gi="\\s*$",Fa="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",Vr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",ko="([0-9A-Fa-f])",No="([0-9A-Fa-f]{2})",l6=new RegExp(`${pi}hsl\\s*\\(${Vr},${Fa},${Fa}\\)${gi}`),u6=new RegExp(`${pi}hsv\\s*\\(${Vr},${Fa},${Fa}\\)${gi}`),c6=new RegExp(`${pi}hsla\\s*\\(${Vr},${Fa},${Fa},${Vr}\\)${gi}`),f6=new RegExp(`${pi}hsva\\s*\\(${Vr},${Fa},${Fa},${Vr}\\)${gi}`),h6=new RegExp(`${pi}rgb\\s*\\(${Vr},${Vr},${Vr}\\)${gi}`),d6=new RegExp(`${pi}rgba\\s*\\(${Vr},${Vr},${Vr},${Vr}\\)${gi}`),F1=new RegExp(`${pi}#${ko}${ko}${ko}${gi}`),$1=new RegExp(`${pi}#${No}${No}${No}${gi}`),H1=new RegExp(`${pi}#${ko}${ko}${ko}${ko}${gi}`),z1=new RegExp(`${pi}#${No}${No}${No}${No}${gi}`);function br(e){return parseInt(e,16)}function Txe(e){try{let t;if(t=c6.exec(e))return[hi(t[1]),kt(t[5]),kt(t[9]),Fi(t[13])];if(t=l6.exec(e))return[hi(t[1]),kt(t[5]),kt(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(t){throw t}}function Axe(e){try{let t;if(t=f6.exec(e))return[hi(t[1]),kt(t[5]),kt(t[9]),Fi(t[13])];if(t=u6.exec(e))return[hi(t[1]),kt(t[5]),kt(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(t){throw t}}function fi(e){try{let t;if(t=$1.exec(e))return[br(t[1]),br(t[2]),br(t[3]),1];if(t=h6.exec(e))return[Tt(t[1]),Tt(t[5]),Tt(t[9]),1];if(t=d6.exec(e))return[Tt(t[1]),Tt(t[5]),Tt(t[9]),Fi(t[13])];if(t=F1.exec(e))return[br(t[1]+t[1]),br(t[2]+t[2]),br(t[3]+t[3]),1];if(t=z1.exec(e))return[br(t[1]),br(t[2]),br(t[3]),Fi(br(t[4])/255)];if(t=H1.exec(e))return[br(t[1]+t[1]),br(t[2]+t[2]),br(t[3]+t[3]),Fi(br(t[4]+t[4])/255)];if(e in aw)return fi(aw[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function v6(e){return e>1?1:e<0?0:e}function p6(e,t,r){return`rgb(${Tt(e)}, ${Tt(t)}, ${Tt(r)})`}function Oy(e,t,r,n){return`rgba(${Tt(e)}, ${Tt(t)}, ${Tt(r)}, ${v6(n)})`}function Q0(e,t,r,n,i){return Tt((e*t*(1-n)+r*n)/i)}function Ae(e,t){Array.isArray(e)||(e=fi(e)),Array.isArray(t)||(t=fi(t));const r=e[3],n=t[3],i=Fi(r+n-r*n);return Oy(Q0(e[0],r,t[0],n,i),Q0(e[1],r,t[1],n,i),Q0(e[2],r,t[2],n,i),i)}function pe(e,t){const[r,n,i,a=1]=Array.isArray(e)?e:fi(e);return t.alpha?Oy(r,n,i,t.alpha):Oy(r,n,i,a)}function It(e,t){const[r,n,i,a=1]=Array.isArray(e)?e:fi(e),{lightness:o=1,alpha:s=1}=t;return g6([r*o,n*o,i*o,a*s])}function Fi(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function hi(e){const t=Math.round(Number(e));return t>=360||t<0?0:t}function Tt(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function kt(e){const t=Math.round(Number(e));return t>100?100:t<0?0:t}function Exe(e){const[t,r,n]=Array.isArray(e)?e:fi(e);return p6(t,r,n)}function g6(e){const[t,r,n]=e;return 3 in e?`rgba(${Tt(t)}, ${Tt(r)}, ${Tt(n)}, ${Fi(e[3])})`:`rgba(${Tt(t)}, ${Tt(r)}, ${Tt(n)}, 1)`}function Pxe(e){return`hsv(${hi(e[0])}, ${kt(e[1])}%, ${kt(e[2])}%)`}function Ixe(e){const[t,r,n]=e;return 3 in e?`hsva(${hi(t)}, ${kt(r)}%, ${kt(n)}%, ${Fi(e[3])})`:`hsva(${hi(t)}, ${kt(r)}%, ${kt(n)}%, 1)`}function Mxe(e){return`hsl(${hi(e[0])}, ${kt(e[1])}%, ${kt(e[2])}%)`}function Dxe(e){const[t,r,n]=e;return 3 in e?`hsla(${hi(t)}, ${kt(r)}%, ${kt(n)}%, ${Fi(e[3])})`:`hsla(${hi(t)}, ${kt(r)}%, ${kt(n)}%, 1)`}function Lxe(e){if(typeof e=="string"){let n;if(n=$1.exec(e))return`${n[0]}FF`;if(n=z1.exec(e))return n[0];if(n=F1.exec(e))return`#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}FF`;if(n=H1.exec(e))return`#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}${n[4]}${n[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}const t=`#${e.slice(0,3).map(n=>Tt(n).toString(16).toUpperCase().padStart(2,"0")).join("")}`,r=e.length===3?"FF":Tt(e[3]*255).toString(16).padStart(2,"0").toUpperCase();return t+r}function Rxe(e){if(typeof e=="string"){let t;if(t=$1.exec(e))return t[0];if(t=z1.exec(e))return t[0].slice(0,7);if(t=F1.exec(e)||H1.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(t=>Tt(t).toString(16).toUpperCase().padStart(2,"0")).join("")}`}function Oxe(e){return e}function m6(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}const PL=/\s*,(?![^(]*\))\s*/g,y6=/\s+/g;function x6(e,t){const r=[];return t.split(PL).forEach(n=>{let i=m6(n);if(i){if(i===1){e.forEach(o=>{r.push(n.replace("&",o))});return}}else{e.forEach(o=>{r.push((o&&o+" ")+n)});return}let a=[n];for(;i--;){const o=[];a.forEach(s=>{e.forEach(l=>{o.push(s.replace("&",l))})}),a=o}a.forEach(o=>r.push(o))}),r}function _6(e,t){const r=[];return t.split(PL).forEach(n=>{e.forEach(i=>{r.push((i&&i+" ")+n)})}),r}function b6(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=x6(t,r):t=_6(t,r))}),t.join(", ").replace(y6," ")}function ow(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function W1(e){return document.querySelector(`style[cssr-id="${e}"]`)}function C6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function rh(e){return e?/^\s*@(s|m)/.test(e):!1}const S6=/[A-Z]/g;function IL(e){return e.replace(S6,t=>"-"+t.toLowerCase())}function w6(e,t=" "){return typeof e=="object"&&e!==null?` {
`+Object.entries(e).map(r=>t+` ${IL(r[0])}: ${r[1]};`).join(`
`)+`
`+t+"}":`: ${e};`}function T6(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function sw(e,t,r,n){if(!t)return"";const i=T6(t,r,n);if(!i)return"";if(typeof i=="string")return`${e} {
${i}
}`;const a=Object.keys(i);if(a.length===0)return r.config.keepEmptyBlock?e+` {
}`:"";const o=e?[e+" {"]:[];return a.forEach(s=>{const l=i[s];if(s==="raw"){o.push(`
`+l+`
`);return}s=IL(s),l!=null&&o.push(` ${s}${w6(l)}`)}),e&&o.push("}"),o.join(`
`)}function ky(e,t,r){e&&e.forEach(n=>{if(Array.isArray(n))ky(n,t,r);else if(typeof n=="function"){const i=n(t);Array.isArray(i)?ky(i,t,r):i&&r(i)}else n&&r(n)})}function ML(e,t,r,n,i,a){const o=e.$;let s="";if(!o||typeof o=="string")rh(o)?s=o:t.push(o);else if(typeof o=="function"){const c=o({context:n.context,props:i});rh(c)?s=c:t.push(c)}else if(o.before&&o.before(n.context),!o.$||typeof o.$=="string")rh(o.$)?s=o.$:t.push(o.$);else if(o.$){const c=o.$({context:n.context,props:i});rh(c)?s=c:t.push(c)}const l=b6(t),u=sw(l,e.props,n,i);s?(r.push(`${s} {`),a&&u&&a.insertRule(`${s} {
${u}
}
`)):(a&&u&&a.insertRule(u),!a&&u.length&&r.push(u)),e.children&&ky(e.children,{context:n.context,props:i},c=>{if(typeof c=="string"){const f=sw(l,{raw:c},n,i);a?a.insertRule(f):r.push(f)}else ML(c,t,r,n,i,a)}),t.pop(),s&&r.push("}"),o&&o.after&&o.after(n.context)}function DL(e,t,r,n=!1){const i=[];return ML(e,[],i,t,r,n?e.instance.__styleSheet:void 0),n?"":i.join(`
`)}function A6(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function E6(e,t,r){const{els:n}=t;if(r===void 0)n.forEach(ow),t.els=[];else{const i=W1(r);i&&n.includes(i)&&(ow(i),t.els=n.filter(a=>a!==i))}}function lw(e,t){e.push(t)}function P6(e,t,r,n,i,a,o,s,l){if(a&&!l){if(r===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const h=window.__cssrContext;h[r]||(h[r]=!0,DL(t,e,n,a));return}let u;if(r===void 0&&(u=t.render(n),r=A6(u)),l){l.adapter(r,u??t.render(n));return}const c=W1(r);if(c!==null&&!o)return c;const f=c??C6(r);if(u===void 0&&(u=t.render(n)),f.textContent=u,c!==null)return c;if(s){const h=document.head.querySelector(`meta[name="${s}"]`);if(h)return document.head.insertBefore(f,h),lw(t.els,f),f}return i?document.head.insertBefore(f,document.head.querySelector("style, link")):document.head.appendChild(f),lw(t.els,f),f}function I6(e){return DL(this,this.instance,e)}function M6(e={}){const{id:t,ssr:r,props:n,head:i=!1,silent:a=!1,force:o=!1,anchorMetaName:s}=e;return P6(this.instance,this,t,n,i,a,o,s,r)}function D6(e={}){const{id:t}=e;E6(this.instance,this,t)}const nh=function(e,t,r,n){return{instance:e,$:t,props:r,children:n,els:[],render:I6,mount:M6,unmount:D6}},L6=function(e,t,r,n){return Array.isArray(t)?nh(e,{$:null},null,t):Array.isArray(r)?nh(e,t,null,r):Array.isArray(n)?nh(e,t,r,n):nh(e,t,r,null)};function R6(e={}){let t=null;const r={c:(...n)=>L6(r,...n),use:(n,...i)=>n.install(r,...i),find:W1,context:{},config:e,get __styleSheet(){if(!t){const n=document.createElement("style");return document.head.appendChild(n),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return r}function O6(e){let t=".",r="__",n="--",i;if(e){let v=e.blockPrefix;v&&(t=v),v=e.elementPrefix,v&&(r=v),v=e.modifierPrefix,v&&(n=v)}const a={install(v){i=v.c;const p=v.context;p.bem={},p.bem.b=null,p.bem.els=null}};function o(v){let p,m;return{before(g){p=g.bem.b,m=g.bem.els,g.bem.els=null},after(g){g.bem.b=p,g.bem.els=m},$({context:g,props:y}){return v=typeof v=="string"?v:v({context:g,props:y}),g.bem.b=v,`${(y==null?void 0:y.bPrefix)||t}${g.bem.b}`}}}function s(v){let p;return{before(m){p=m.bem.els},after(m){m.bem.els=p},$({context:m,props:g}){return v=typeof v=="string"?v:v({context:m,props:g}),m.bem.els=v.split(",").map(y=>y.trim()),m.bem.els.map(y=>`${(g==null?void 0:g.bPrefix)||t}${m.bem.b}${r}${y}`).join(", ")}}}function l(v){return{$({context:p,props:m}){v=typeof v=="string"?v:v({context:p,props:m});const g=v.split(",").map(_=>_.trim());function y(_){return g.map(b=>`&${(m==null?void 0:m.bPrefix)||t}${p.bem.b}${_!==void 0?`${r}${_}`:""}${n}${b}`).join(", ")}const x=p.bem.els;return x!==null?y(x[0]):y()}}}function u(v){return{$({context:p,props:m}){v=typeof v=="string"?v:v({context:p,props:m});const g=p.bem.els;return`&:not(${(m==null?void 0:m.bPrefix)||t}${p.bem.b}${g!==null&&g.length>0?`${r}${g[0]}`:""}${n}${v})`}}}return Object.assign(a,{cB:(...v)=>i(o(v[0]),v[1],v[2]),cE:(...v)=>i(s(v[0]),v[1],v[2]),cM:(...v)=>i(l(v[0]),v[1],v[2]),cNotM:(...v)=>i(u(v[0]),v[1],v[2])}),a}const k6="n",qc=`.${k6}-`,N6="__",B6="--",LL=R6(),RL=O6({blockPrefix:qc,elementPrefix:N6,modifierPrefix:B6});LL.use(RL);const{c:Dl,find:kxe}=LL,{cB:F6,cE:Nxe,cM:Bxe,cNotM:Fxe}=RL;function $xe(e){return Dl(({props:{bPrefix:t}})=>`${t||qc}modal, ${t||qc}drawer`,[e])}function Hxe(e){return Dl(({props:{bPrefix:t}})=>`${t||qc}popover`,[e])}function zxe(e){return Dl(({props:{bPrefix:t}})=>`&${t||qc}modal`,e)}const Wxe=(...e)=>Dl(">",[F6(...e)]),OL=Symbol("@css-render/vue3-ssr");function $6(e,t){return`<style cssr-id="${e}">
${t}
</style>`}function H6(e,t){const r=lr(OL,null);if(r===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:n,ids:i}=r;i.has(e)||n!==null&&(i.add(e),n.push($6(e,t)))}const z6=typeof document<"u";function W6(){if(z6)return;const e=lr(OL,null);if(e!==null)return{adapter:H6,context:e}}var V6=typeof global=="object"&&global&&global.Object===Object&&global;const kL=V6;var U6=typeof self=="object"&&self&&self.Object===Object&&self,G6=kL||U6||Function("return this")();const mi=G6;var j6=mi.Symbol;const Ll=j6;var NL=Object.prototype,q6=NL.hasOwnProperty,Y6=NL.toString,Su=Ll?Ll.toStringTag:void 0;function X6(e){var t=q6.call(e,Su),r=e[Su];try{e[Su]=void 0;var n=!0}catch{}var i=Y6.call(e);return n&&(t?e[Su]=r:delete e[Su]),i}var K6=Object.prototype,Z6=K6.toString;function Q6(e){return Z6.call(e)}var J6="[object Null]",ez="[object Undefined]",uw=Ll?Ll.toStringTag:void 0;function ru(e){return e==null?e===void 0?ez:J6:uw&&uw in Object(e)?X6(e):Q6(e)}function ps(e){return e!=null&&typeof e=="object"}var tz=Array.isArray;const Yc=tz;function Ya(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function BL(e){return e}var rz="[object AsyncFunction]",nz="[object Function]",iz="[object GeneratorFunction]",az="[object Proxy]";function V1(e){if(!Ya(e))return!1;var t=ru(e);return t==nz||t==iz||t==rz||t==az}var oz=mi["__core-js_shared__"];const J0=oz;var cw=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sz(e){return!!cw&&cw in e}var lz=Function.prototype,uz=lz.toString;function gs(e){if(e!=null){try{return uz.call(e)}catch{}try{return e+""}catch{}}return""}var cz=/[\\^$.*+?()[\]{}|]/g,fz=/^\[object .+?Constructor\]$/,hz=Function.prototype,dz=Object.prototype,vz=hz.toString,pz=dz.hasOwnProperty,gz=RegExp("^"+vz.call(pz).replace(cz,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mz(e){if(!Ya(e)||sz(e))return!1;var t=V1(e)?gz:fz;return t.test(gs(e))}function yz(e,t){return e==null?void 0:e[t]}function ms(e,t){var r=yz(e,t);return mz(r)?r:void 0}var xz=ms(mi,"WeakMap");const Ny=xz;var fw=Object.create,_z=function(){function e(){}return function(t){if(!Ya(t))return{};if(fw)return fw(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const bz=_z;function Cz(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function FL(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Sz=800,wz=16,Tz=Date.now;function Az(e){var t=0,r=0;return function(){var n=Tz(),i=wz-(n-r);if(r=n,i>0){if(++t>=Sz)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ez(e){return function(){return e}}var Pz=function(){try{var e=ms(Object,"defineProperty");return e({},"",{}),e}catch{}}();const $d=Pz;var Iz=$d?function(e,t){return $d(e,"toString",{configurable:!0,enumerable:!1,value:Ez(t),writable:!0})}:BL;const Mz=Iz;var Dz=Az(Mz);const Lz=Dz;function Rz(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Oz=9007199254740991,kz=/^(?:0|[1-9]\d*)$/;function $L(e,t){var r=typeof e;return t=t??Oz,!!t&&(r=="number"||r!="symbol"&&kz.test(e))&&e>-1&&e%1==0&&e<t}function U1(e,t,r){t=="__proto__"&&$d?$d(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Op(e,t){return e===t||e!==e&&t!==t}var Nz=Object.prototype,Bz=Nz.hasOwnProperty;function HL(e,t,r){var n=e[t];(!(Bz.call(e,t)&&Op(n,r))||r===void 0&&!(t in e))&&U1(e,t,r)}function If(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),i?U1(r,s,l):HL(r,s,l)}return r}var hw=Math.max;function Fz(e,t,r){return t=hw(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=hw(n.length-t,0),o=Array(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),Cz(e,this,s)}}function $z(e,t){return Lz(Fz(e,t,BL),e+"")}var Hz=9007199254740991;function zL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Hz}function kp(e){return e!=null&&zL(e.length)&&!V1(e)}function zz(e,t,r){if(!Ya(r))return!1;var n=typeof t;return(n=="number"?kp(r)&&$L(t,r.length):n=="string"&&t in r)?Op(r[t],e):!1}function Wz(e){return $z(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&zz(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,a)}return t})}var Vz=Object.prototype;function G1(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Vz;return e===r}function Uz(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Gz="[object Arguments]";function dw(e){return ps(e)&&ru(e)==Gz}var WL=Object.prototype,jz=WL.hasOwnProperty,qz=WL.propertyIsEnumerable,Yz=dw(function(){return arguments}())?dw:function(e){return ps(e)&&jz.call(e,"callee")&&!qz.call(e,"callee")};const By=Yz;function Xz(){return!1}var VL=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vw=VL&&typeof module=="object"&&module&&!module.nodeType&&module,Kz=vw&&vw.exports===VL,pw=Kz?mi.Buffer:void 0,Zz=pw?pw.isBuffer:void 0,Qz=Zz||Xz;const j1=Qz;var Jz="[object Arguments]",eW="[object Array]",tW="[object Boolean]",rW="[object Date]",nW="[object Error]",iW="[object Function]",aW="[object Map]",oW="[object Number]",sW="[object Object]",lW="[object RegExp]",uW="[object Set]",cW="[object String]",fW="[object WeakMap]",hW="[object ArrayBuffer]",dW="[object DataView]",vW="[object Float32Array]",pW="[object Float64Array]",gW="[object Int8Array]",mW="[object Int16Array]",yW="[object Int32Array]",xW="[object Uint8Array]",_W="[object Uint8ClampedArray]",bW="[object Uint16Array]",CW="[object Uint32Array]",gt={};gt[vW]=gt[pW]=gt[gW]=gt[mW]=gt[yW]=gt[xW]=gt[_W]=gt[bW]=gt[CW]=!0;gt[Jz]=gt[eW]=gt[hW]=gt[tW]=gt[dW]=gt[rW]=gt[nW]=gt[iW]=gt[aW]=gt[oW]=gt[sW]=gt[lW]=gt[uW]=gt[cW]=gt[fW]=!1;function SW(e){return ps(e)&&zL(e.length)&&!!gt[ru(e)]}function q1(e){return function(t){return e(t)}}var UL=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gc=UL&&typeof module=="object"&&module&&!module.nodeType&&module,wW=gc&&gc.exports===UL,eg=wW&&kL.process,TW=function(){try{var e=gc&&gc.require&&gc.require("util").types;return e||eg&&eg.binding&&eg.binding("util")}catch{}}();const Rl=TW;var gw=Rl&&Rl.isTypedArray,AW=gw?q1(gw):SW;const GL=AW;var EW=Object.prototype,PW=EW.hasOwnProperty;function jL(e,t){var r=Yc(e),n=!r&&By(e),i=!r&&!n&&j1(e),a=!r&&!n&&!i&&GL(e),o=r||n||i||a,s=o?Uz(e.length,String):[],l=s.length;for(var u in e)(t||PW.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||$L(u,l)))&&s.push(u);return s}function qL(e,t){return function(r){return e(t(r))}}var IW=qL(Object.keys,Object);const MW=IW;var DW=Object.prototype,LW=DW.hasOwnProperty;function RW(e){if(!G1(e))return MW(e);var t=[];for(var r in Object(e))LW.call(e,r)&&r!="constructor"&&t.push(r);return t}function Y1(e){return kp(e)?jL(e):RW(e)}function OW(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var kW=Object.prototype,NW=kW.hasOwnProperty;function BW(e){if(!Ya(e))return OW(e);var t=G1(e),r=[];for(var n in e)n=="constructor"&&(t||!NW.call(e,n))||r.push(n);return r}function Mf(e){return kp(e)?jL(e,!0):BW(e)}var FW=ms(Object,"create");const Xc=FW;function $W(){this.__data__=Xc?Xc(null):{},this.size=0}function HW(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var zW="__lodash_hash_undefined__",WW=Object.prototype,VW=WW.hasOwnProperty;function UW(e){var t=this.__data__;if(Xc){var r=t[e];return r===zW?void 0:r}return VW.call(t,e)?t[e]:void 0}var GW=Object.prototype,jW=GW.hasOwnProperty;function qW(e){var t=this.__data__;return Xc?t[e]!==void 0:jW.call(t,e)}var YW="__lodash_hash_undefined__";function XW(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xc&&t===void 0?YW:t,this}function ns(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ns.prototype.clear=$W;ns.prototype.delete=HW;ns.prototype.get=UW;ns.prototype.has=qW;ns.prototype.set=XW;function KW(){this.__data__=[],this.size=0}function Np(e,t){for(var r=e.length;r--;)if(Op(e[r][0],t))return r;return-1}var ZW=Array.prototype,QW=ZW.splice;function JW(e){var t=this.__data__,r=Np(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():QW.call(t,r,1),--this.size,!0}function eV(e){var t=this.__data__,r=Np(t,e);return r<0?void 0:t[r][1]}function tV(e){return Np(this.__data__,e)>-1}function rV(e,t){var r=this.__data__,n=Np(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Xi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xi.prototype.clear=KW;Xi.prototype.delete=JW;Xi.prototype.get=eV;Xi.prototype.has=tV;Xi.prototype.set=rV;var nV=ms(mi,"Map");const Kc=nV;function iV(){this.size=0,this.__data__={hash:new ns,map:new(Kc||Xi),string:new ns}}function aV(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Bp(e,t){var r=e.__data__;return aV(t)?r[typeof t=="string"?"string":"hash"]:r.map}function oV(e){var t=Bp(this,e).delete(e);return this.size-=t?1:0,t}function sV(e){return Bp(this,e).get(e)}function lV(e){return Bp(this,e).has(e)}function uV(e,t){var r=Bp(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function nu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}nu.prototype.clear=iV;nu.prototype.delete=oV;nu.prototype.get=sV;nu.prototype.has=lV;nu.prototype.set=uV;function YL(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var cV=qL(Object.getPrototypeOf,Object);const X1=cV;var fV="[object Object]",hV=Function.prototype,dV=Object.prototype,XL=hV.toString,vV=dV.hasOwnProperty,pV=XL.call(Object);function gV(e){if(!ps(e)||ru(e)!=fV)return!1;var t=X1(e);if(t===null)return!0;var r=vV.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&XL.call(r)==pV}function mV(){this.__data__=new Xi,this.size=0}function yV(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function xV(e){return this.__data__.get(e)}function _V(e){return this.__data__.has(e)}var bV=200;function CV(e,t){var r=this.__data__;if(r instanceof Xi){var n=r.__data__;if(!Kc||n.length<bV-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new nu(n)}return r.set(e,t),this.size=r.size,this}function ys(e){var t=this.__data__=new Xi(e);this.size=t.size}ys.prototype.clear=mV;ys.prototype.delete=yV;ys.prototype.get=xV;ys.prototype.has=_V;ys.prototype.set=CV;function SV(e,t){return e&&If(t,Y1(t),e)}function wV(e,t){return e&&If(t,Mf(t),e)}var KL=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mw=KL&&typeof module=="object"&&module&&!module.nodeType&&module,TV=mw&&mw.exports===KL,yw=TV?mi.Buffer:void 0,xw=yw?yw.allocUnsafe:void 0;function ZL(e,t){if(t)return e.slice();var r=e.length,n=xw?xw(r):new e.constructor(r);return e.copy(n),n}function AV(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function QL(){return[]}var EV=Object.prototype,PV=EV.propertyIsEnumerable,_w=Object.getOwnPropertySymbols,IV=_w?function(e){return e==null?[]:(e=Object(e),AV(_w(e),function(t){return PV.call(e,t)}))}:QL;const K1=IV;function MV(e,t){return If(e,K1(e),t)}var DV=Object.getOwnPropertySymbols,LV=DV?function(e){for(var t=[];e;)YL(t,K1(e)),e=X1(e);return t}:QL;const JL=LV;function RV(e,t){return If(e,JL(e),t)}function eR(e,t,r){var n=t(e);return Yc(e)?n:YL(n,r(e))}function OV(e){return eR(e,Y1,K1)}function kV(e){return eR(e,Mf,JL)}var NV=ms(mi,"DataView");const Fy=NV;var BV=ms(mi,"Promise");const $y=BV;var FV=ms(mi,"Set");const Hy=FV;var bw="[object Map]",$V="[object Object]",Cw="[object Promise]",Sw="[object Set]",ww="[object WeakMap]",Tw="[object DataView]",HV=gs(Fy),zV=gs(Kc),WV=gs($y),VV=gs(Hy),UV=gs(Ny),To=ru;(Fy&&To(new Fy(new ArrayBuffer(1)))!=Tw||Kc&&To(new Kc)!=bw||$y&&To($y.resolve())!=Cw||Hy&&To(new Hy)!=Sw||Ny&&To(new Ny)!=ww)&&(To=function(e){var t=ru(e),r=t==$V?e.constructor:void 0,n=r?gs(r):"";if(n)switch(n){case HV:return Tw;case zV:return bw;case WV:return Cw;case VV:return Sw;case UV:return ww}return t});const Z1=To;var GV=Object.prototype,jV=GV.hasOwnProperty;function qV(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&jV.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var YV=mi.Uint8Array;const Aw=YV;function Q1(e){var t=new e.constructor(e.byteLength);return new Aw(t).set(new Aw(e)),t}function XV(e,t){var r=t?Q1(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var KV=/\w*$/;function ZV(e){var t=new e.constructor(e.source,KV.exec(e));return t.lastIndex=e.lastIndex,t}var Ew=Ll?Ll.prototype:void 0,Pw=Ew?Ew.valueOf:void 0;function QV(e){return Pw?Object(Pw.call(e)):{}}function tR(e,t){var r=t?Q1(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var JV="[object Boolean]",eU="[object Date]",tU="[object Map]",rU="[object Number]",nU="[object RegExp]",iU="[object Set]",aU="[object String]",oU="[object Symbol]",sU="[object ArrayBuffer]",lU="[object DataView]",uU="[object Float32Array]",cU="[object Float64Array]",fU="[object Int8Array]",hU="[object Int16Array]",dU="[object Int32Array]",vU="[object Uint8Array]",pU="[object Uint8ClampedArray]",gU="[object Uint16Array]",mU="[object Uint32Array]";function yU(e,t,r){var n=e.constructor;switch(t){case sU:return Q1(e);case JV:case eU:return new n(+e);case lU:return XV(e,r);case uU:case cU:case fU:case hU:case dU:case vU:case pU:case gU:case mU:return tR(e,r);case tU:return new n;case rU:case aU:return new n(e);case nU:return ZV(e);case iU:return new n;case oU:return QV(e)}}function rR(e){return typeof e.constructor=="function"&&!G1(e)?bz(X1(e)):{}}var xU="[object Map]";function _U(e){return ps(e)&&Z1(e)==xU}var Iw=Rl&&Rl.isMap,bU=Iw?q1(Iw):_U;const CU=bU;var SU="[object Set]";function wU(e){return ps(e)&&Z1(e)==SU}var Mw=Rl&&Rl.isSet,TU=Mw?q1(Mw):wU;const AU=TU;var EU=1,PU=2,IU=4,nR="[object Arguments]",MU="[object Array]",DU="[object Boolean]",LU="[object Date]",RU="[object Error]",iR="[object Function]",OU="[object GeneratorFunction]",kU="[object Map]",NU="[object Number]",aR="[object Object]",BU="[object RegExp]",FU="[object Set]",$U="[object String]",HU="[object Symbol]",zU="[object WeakMap]",WU="[object ArrayBuffer]",VU="[object DataView]",UU="[object Float32Array]",GU="[object Float64Array]",jU="[object Int8Array]",qU="[object Int16Array]",YU="[object Int32Array]",XU="[object Uint8Array]",KU="[object Uint8ClampedArray]",ZU="[object Uint16Array]",QU="[object Uint32Array]",dt={};dt[nR]=dt[MU]=dt[WU]=dt[VU]=dt[DU]=dt[LU]=dt[UU]=dt[GU]=dt[jU]=dt[qU]=dt[YU]=dt[kU]=dt[NU]=dt[aR]=dt[BU]=dt[FU]=dt[$U]=dt[HU]=dt[XU]=dt[KU]=dt[ZU]=dt[QU]=!0;dt[RU]=dt[iR]=dt[zU]=!1;function ld(e,t,r,n,i,a){var o,s=t&EU,l=t&PU,u=t&IU;if(r&&(o=i?r(e,n,i,a):r(e)),o!==void 0)return o;if(!Ya(e))return e;var c=Yc(e);if(c){if(o=qV(e),!s)return FL(e,o)}else{var f=Z1(e),h=f==iR||f==OU;if(j1(e))return ZL(e,s);if(f==aR||f==nR||h&&!i){if(o=l||h?{}:rR(e),!s)return l?RV(e,wV(o,e)):MV(e,SV(o,e))}else{if(!dt[f])return i?e:{};o=yU(e,f,s)}}a||(a=new ys);var d=a.get(e);if(d)return d;a.set(e,o),AU(e)?e.forEach(function(m){o.add(ld(m,t,r,m,e,a))}):CU(e)&&e.forEach(function(m,g){o.set(g,ld(m,t,r,g,e,a))});var v=u?l?kV:OV:l?Mf:Y1,p=c?void 0:v(e);return Rz(p||e,function(m,g){p&&(g=m,m=e[g]),HL(o,g,ld(m,t,r,g,e,a))}),o}var JU=1,eG=4;function tG(e){return ld(e,JU|eG)}function rG(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var l=o[e?s:++i];if(r(a[l],l,a)===!1)break}return t}}var nG=rG();const iG=nG;function zy(e,t,r){(r!==void 0&&!Op(e[t],r)||r===void 0&&!(t in e))&&U1(e,t,r)}function aG(e){return ps(e)&&kp(e)}function Wy(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function oG(e){return If(e,Mf(e))}function sG(e,t,r,n,i,a,o){var s=Wy(e,r),l=Wy(t,r),u=o.get(l);if(u){zy(e,r,u);return}var c=a?a(s,l,r+"",e,t,o):void 0,f=c===void 0;if(f){var h=Yc(l),d=!h&&j1(l),v=!h&&!d&&GL(l);c=l,h||d||v?Yc(s)?c=s:aG(s)?c=FL(s):d?(f=!1,c=ZL(l,!0)):v?(f=!1,c=tR(l,!0)):c=[]:gV(l)||By(l)?(c=s,By(s)?c=oG(s):(!Ya(s)||V1(s))&&(c=rR(l))):f=!1}f&&(o.set(l,c),i(c,l,n,a,o),o.delete(l)),zy(e,r,c)}function oR(e,t,r,n,i){e!==t&&iG(t,function(a,o){if(i||(i=new ys),Ya(a))sG(e,t,o,r,oR,n,i);else{var s=n?n(Wy(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),zy(e,o,s)}},Mf)}var lG=Wz(function(e,t,r){oR(e,t,r)});const ih=lG,J1={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:uG,fontFamily:cG,lineHeight:fG}=J1,hG=Dl("body",`
margin: 0;
font-size: ${uG};
font-family: ${cG};
line-height: ${fG};
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
`,[Dl("input",`
font-family: inherit;
font-size: inherit;
`)]),dG="n-config-provider",Dw="naive-ui-style";function Vxe(e){return e}function vG(e,t,r,n,i,a){const o=W6(),s=lr(dG,null);if(r){const u=()=>{const c=a==null?void 0:a.value;r.mount({id:c===void 0?t:c+t,head:!0,props:{bPrefix:c?`.${c}-`:void 0},anchorMetaName:Dw,ssr:o}),s!=null&&s.preflightStyleDisabled||hG.mount({id:"n-global",head:!0,anchorMetaName:Dw,ssr:o})};o?u():E1(u)}return Ht(()=>{var u;const{theme:{common:c,self:f,peers:h={}}={},themeOverrides:d={},builtinThemeOverrides:v={}}=i,{common:p,peers:m}=d,{common:g=void 0,[e]:{common:y=void 0,self:x=void 0,peers:_={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:b=void 0,[e]:C={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:S,peers:w={}}=C,E=ih({},c||y||g||n.common,b,S,p),T=ih((u=f||x||n.self)===null||u===void 0?void 0:u(E),v,C,d);return{common:E,self:T,peers:ih({},n.peers,_,h),peerOverrides:ih({},v.peers,w,m)}})}vG.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const ye={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},pG=fi(ye.neutralBase),sR=fi(ye.neutralInvertBase),gG="rgba("+sR.slice(0,3).join(", ")+", ";function Qe(e){return gG+String(e)+")"}function mG(e){const t=Array.from(sR);return t[3]=Number(e),Ae(pG,t)}const yG=Object.assign(Object.assign({name:"common"},J1),{baseColor:ye.neutralBase,primaryColor:ye.primaryDefault,primaryColorHover:ye.primaryHover,primaryColorPressed:ye.primaryActive,primaryColorSuppl:ye.primarySuppl,infoColor:ye.infoDefault,infoColorHover:ye.infoHover,infoColorPressed:ye.infoActive,infoColorSuppl:ye.infoSuppl,successColor:ye.successDefault,successColorHover:ye.successHover,successColorPressed:ye.successActive,successColorSuppl:ye.successSuppl,warningColor:ye.warningDefault,warningColorHover:ye.warningHover,warningColorPressed:ye.warningActive,warningColorSuppl:ye.warningSuppl,errorColor:ye.errorDefault,errorColorHover:ye.errorHover,errorColorPressed:ye.errorActive,errorColorSuppl:ye.errorSuppl,textColorBase:ye.neutralTextBase,textColor1:Qe(ye.alpha1),textColor2:Qe(ye.alpha2),textColor3:Qe(ye.alpha3),textColorDisabled:Qe(ye.alpha4),placeholderColor:Qe(ye.alpha4),placeholderColorDisabled:Qe(ye.alpha5),iconColor:Qe(ye.alpha4),iconColorDisabled:Qe(ye.alpha5),iconColorHover:Qe(Number(ye.alpha4)*1.25),iconColorPressed:Qe(Number(ye.alpha4)*.8),opacity1:ye.alpha1,opacity2:ye.alpha2,opacity3:ye.alpha3,opacity4:ye.alpha4,opacity5:ye.alpha5,dividerColor:Qe(ye.alphaDivider),borderColor:Qe(ye.alphaBorder),closeIconColorHover:Qe(Number(ye.alphaClose)),closeIconColor:Qe(Number(ye.alphaClose)),closeIconColorPressed:Qe(Number(ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Qe(ye.alpha4),clearColorHover:It(Qe(ye.alpha4),{alpha:1.25}),clearColorPressed:It(Qe(ye.alpha4),{alpha:.8}),scrollbarColor:Qe(ye.alphaScrollbar),scrollbarColorHover:Qe(ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Qe(ye.alphaProgressRail),railColor:Qe(ye.alphaRail),popoverColor:ye.neutralPopover,tableColor:ye.neutralCard,cardColor:ye.neutralCard,modalColor:ye.neutralModal,bodyColor:ye.neutralBody,tagColor:mG(ye.alphaTag),avatarColor:Qe(ye.alphaAvatar),invertedColor:ye.neutralBase,inputColor:Qe(ye.alphaInput),codeColor:Qe(ye.alphaCode),tabColor:Qe(ye.alphaTab),actionColor:Qe(ye.alphaAction),tableHeaderColor:Qe(ye.alphaAction),hoverColor:Qe(ye.alphaPending),tableColorHover:Qe(ye.alphaTablePending),tableColorStriped:Qe(ye.alphaTableStriped),pressedColor:Qe(ye.alphaPressed),opacityDisabled:ye.alphaDisabled,inputColorDisabled:Qe(ye.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),fe=yG,Te={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},xG=fi(Te.neutralBase),lR=fi(Te.neutralInvertBase),_G="rgba("+lR.slice(0,3).join(", ")+", ";function Lw(e){return _G+String(e)+")"}function rr(e){const t=Array.from(lR);return t[3]=Number(e),Ae(xG,t)}const bG=Object.assign(Object.assign({name:"common"},J1),{baseColor:Te.neutralBase,primaryColor:Te.primaryDefault,primaryColorHover:Te.primaryHover,primaryColorPressed:Te.primaryActive,primaryColorSuppl:Te.primarySuppl,infoColor:Te.infoDefault,infoColorHover:Te.infoHover,infoColorPressed:Te.infoActive,infoColorSuppl:Te.infoSuppl,successColor:Te.successDefault,successColorHover:Te.successHover,successColorPressed:Te.successActive,successColorSuppl:Te.successSuppl,warningColor:Te.warningDefault,warningColorHover:Te.warningHover,warningColorPressed:Te.warningActive,warningColorSuppl:Te.warningSuppl,errorColor:Te.errorDefault,errorColorHover:Te.errorHover,errorColorPressed:Te.errorActive,errorColorSuppl:Te.errorSuppl,textColorBase:Te.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:rr(Te.alpha4),placeholderColor:rr(Te.alpha4),placeholderColorDisabled:rr(Te.alpha5),iconColor:rr(Te.alpha4),iconColorHover:It(rr(Te.alpha4),{lightness:.75}),iconColorPressed:It(rr(Te.alpha4),{lightness:.9}),iconColorDisabled:rr(Te.alpha5),opacity1:Te.alpha1,opacity2:Te.alpha2,opacity3:Te.alpha3,opacity4:Te.alpha4,opacity5:Te.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:rr(Number(Te.alphaClose)),closeIconColorHover:rr(Number(Te.alphaClose)),closeIconColorPressed:rr(Number(Te.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:rr(Te.alpha4),clearColorHover:It(rr(Te.alpha4),{lightness:.75}),clearColorPressed:It(rr(Te.alpha4),{lightness:.9}),scrollbarColor:Lw(Te.alphaScrollbar),scrollbarColorHover:Lw(Te.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:rr(Te.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Te.neutralPopover,tableColor:Te.neutralCard,cardColor:Te.neutralCard,modalColor:Te.neutralModal,bodyColor:Te.neutralBody,tagColor:"#eee",avatarColor:rr(Te.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:rr(Te.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Te.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ct=bG,CG={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},uR=e=>{const{textColorDisabled:t,iconColor:r,textColor2:n,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:o,fontSizeHuge:s}=e;return Object.assign(Object.assign({},CG),{fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:o,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:n})},SG={name:"Empty",common:ct,self:uR},cR=SG,wG={name:"Empty",common:fe,self:uR},xs=wG,fR=e=>{const{scrollbarColor:t,scrollbarColorHover:r}=e;return{color:t,colorHover:r}},TG={name:"Scrollbar",common:ct,self:fR},Fp=TG,AG={name:"Scrollbar",common:fe,self:fR},kr=AG,EG={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},hR=e=>{const{borderRadius:t,popoverColor:r,textColor3:n,dividerColor:i,textColor2:a,primaryColorPressed:o,textColorDisabled:s,primaryColor:l,opacityDisabled:u,hoverColor:c,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:d,fontSizeHuge:v,heightSmall:p,heightMedium:m,heightLarge:g,heightHuge:y}=e;return Object.assign(Object.assign({},EG),{optionFontSizeSmall:f,optionFontSizeMedium:h,optionFontSizeLarge:d,optionFontSizeHuge:v,optionHeightSmall:p,optionHeightMedium:m,optionHeightLarge:g,optionHeightHuge:y,borderRadius:t,color:r,groupHeaderTextColor:n,actionDividerColor:i,optionTextColor:a,optionTextColorPressed:o,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:u,optionCheckColor:l,optionColorPending:c,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:c,actionTextColor:a,loadingColor:l})},PG={name:"InternalSelectMenu",common:ct,peers:{Scrollbar:Fp,Empty:cR},self:hR},IG=PG,MG={name:"InternalSelectMenu",common:fe,peers:{Scrollbar:kr,Empty:xs},self:hR},Df=MG,DG={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},dR=e=>{const{boxShadow2:t,popoverColor:r,textColor2:n,borderRadius:i,fontSize:a,dividerColor:o}=e;return Object.assign(Object.assign({},DG),{fontSize:a,borderRadius:i,color:r,dividerColor:o,textColor:n,boxShadow:t})},LG={name:"Popover",common:ct,self:dR},eb=LG,RG={name:"Popover",common:fe,self:dR},_s=RG,OG={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},kG={name:"Tag",common:fe,self(e){const{textColor2:t,primaryColorHover:r,primaryColorPressed:n,primaryColor:i,infoColor:a,successColor:o,warningColor:s,errorColor:l,baseColor:u,borderColor:c,tagColor:f,opacityDisabled:h,closeIconColor:d,closeIconColorHover:v,closeIconColorPressed:p,closeColorHover:m,closeColorPressed:g,borderRadiusSmall:y,fontSizeMini:x,fontSizeTiny:_,fontSizeSmall:b,fontSizeMedium:C,heightMini:S,heightTiny:w,heightSmall:E,heightMedium:T,buttonColor2Hover:A,buttonColor2Pressed:P,fontWeightStrong:D}=e;return Object.assign(Object.assign({},OG),{closeBorderRadius:y,heightTiny:S,heightSmall:w,heightMedium:E,heightLarge:T,borderRadius:y,opacityDisabled:h,fontSizeTiny:x,fontSizeSmall:_,fontSizeMedium:b,fontSizeLarge:C,fontWeightStrong:D,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:u,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:P,colorChecked:i,colorCheckedHover:r,colorCheckedPressed:n,border:`1px solid ${c}`,textColor:t,color:f,colorBordered:"#0000",closeIconColor:d,closeIconColorHover:v,closeIconColorPressed:p,closeColorHover:m,closeColorPressed:g,borderPrimary:`1px solid ${pe(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:pe(i,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:It(i,{lightness:.7}),closeIconColorHoverPrimary:It(i,{lightness:.7}),closeIconColorPressedPrimary:It(i,{lightness:.7}),closeColorHoverPrimary:pe(i,{alpha:.16}),closeColorPressedPrimary:pe(i,{alpha:.12}),borderInfo:`1px solid ${pe(a,{alpha:.3})}`,textColorInfo:a,colorInfo:pe(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:It(a,{alpha:.7}),closeIconColorHoverInfo:It(a,{alpha:.7}),closeIconColorPressedInfo:It(a,{alpha:.7}),closeColorHoverInfo:pe(a,{alpha:.16}),closeColorPressedInfo:pe(a,{alpha:.12}),borderSuccess:`1px solid ${pe(o,{alpha:.3})}`,textColorSuccess:o,colorSuccess:pe(o,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:It(o,{alpha:.7}),closeIconColorHoverSuccess:It(o,{alpha:.7}),closeIconColorPressedSuccess:It(o,{alpha:.7}),closeColorHoverSuccess:pe(o,{alpha:.16}),closeColorPressedSuccess:pe(o,{alpha:.12}),borderWarning:`1px solid ${pe(s,{alpha:.3})}`,textColorWarning:s,colorWarning:pe(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:It(s,{alpha:.7}),closeIconColorHoverWarning:It(s,{alpha:.7}),closeIconColorPressedWarning:It(s,{alpha:.7}),closeColorHoverWarning:pe(s,{alpha:.16}),closeColorPressedWarning:pe(s,{alpha:.11}),borderError:`1px solid ${pe(l,{alpha:.3})}`,textColorError:l,colorError:pe(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:It(l,{alpha:.7}),closeIconColorHoverError:It(l,{alpha:.7}),closeIconColorPressedError:It(l,{alpha:.7}),closeColorHoverError:pe(l,{alpha:.16}),closeColorPressedError:pe(l,{alpha:.12})})}},vR=kG,pR={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},NG=e=>{const{borderRadius:t,textColor2:r,textColorDisabled:n,inputColor:i,inputColorDisabled:a,primaryColor:o,primaryColorHover:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:f,borderColor:h,iconColor:d,iconColorDisabled:v,clearColor:p,clearColorHover:m,clearColorPressed:g,placeholderColor:y,placeholderColorDisabled:x,fontSizeTiny:_,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:S,heightTiny:w,heightSmall:E,heightMedium:T,heightLarge:A}=e;return Object.assign(Object.assign({},pR),{fontSizeTiny:_,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:S,heightTiny:w,heightSmall:E,heightMedium:T,heightLarge:A,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:y,placeholderColorDisabled:x,color:i,colorDisabled:a,colorActive:i,border:`1px solid ${h}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${o}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${pe(o,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${pe(o,{alpha:.2})}`,caretColor:o,arrowColor:d,arrowColorDisabled:v,loadingColor:o,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${pe(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${pe(l,{alpha:.2})}`,colorActiveWarning:i,caretColorWarning:l,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${pe(c,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${pe(c,{alpha:.2})}`,colorActiveError:i,caretColorError:c,clearColor:p,clearColorHover:m,clearColorPressed:g})},BG={name:"InternalSelection",common:ct,peers:{Popover:eb},self:NG},FG=BG,$G={name:"InternalSelection",common:fe,peers:{Popover:_s},self(e){const{borderRadius:t,textColor2:r,textColorDisabled:n,inputColor:i,inputColorDisabled:a,primaryColor:o,primaryColorHover:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:f,iconColor:h,iconColorDisabled:d,clearColor:v,clearColorHover:p,clearColorPressed:m,placeholderColor:g,placeholderColorDisabled:y,fontSizeTiny:x,fontSizeSmall:_,fontSizeMedium:b,fontSizeLarge:C,heightTiny:S,heightSmall:w,heightMedium:E,heightLarge:T}=e;return Object.assign(Object.assign({},pR),{fontSizeTiny:x,fontSizeSmall:_,fontSizeMedium:b,fontSizeLarge:C,heightTiny:S,heightSmall:w,heightMedium:E,heightLarge:T,borderRadius:t,textColor:r,textColorDisabled:n,placeholderColor:g,placeholderColorDisabled:y,color:i,colorDisabled:a,colorActive:pe(o,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${o}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${pe(o,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${pe(o,{alpha:.4})}`,caretColor:o,arrowColor:h,arrowColorDisabled:d,loadingColor:o,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${pe(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${pe(l,{alpha:.4})}`,colorActiveWarning:pe(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${pe(c,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${pe(c,{alpha:.4})}`,colorActiveError:pe(c,{alpha:.1}),caretColorError:c,clearColor:v,clearColorHover:p,clearColorPressed:m})}},tb=$G,HG={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},zG={name:"Alert",common:fe,self(e){const{lineHeight:t,borderRadius:r,fontWeightStrong:n,dividerColor:i,inputColor:a,textColor1:o,textColor2:s,closeColorHover:l,closeColorPressed:u,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,infoColorSuppl:d,successColorSuppl:v,warningColorSuppl:p,errorColorSuppl:m,fontSize:g}=e;return Object.assign(Object.assign({},HG),{fontSize:g,lineHeight:t,titleFontWeight:n,borderRadius:r,border:`1px solid ${i}`,color:a,titleTextColor:o,iconColor:s,contentTextColor:s,closeBorderRadius:r,closeColorHover:l,closeColorPressed:u,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,borderInfo:`1px solid ${pe(d,{alpha:.35})}`,colorInfo:pe(d,{alpha:.25}),titleTextColorInfo:o,iconColorInfo:d,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:u,closeIconColorInfo:c,closeIconColorHoverInfo:f,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${pe(v,{alpha:.35})}`,colorSuccess:pe(v,{alpha:.25}),titleTextColorSuccess:o,iconColorSuccess:v,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:u,closeIconColorSuccess:c,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${pe(p,{alpha:.35})}`,colorWarning:pe(p,{alpha:.25}),titleTextColorWarning:o,iconColorWarning:p,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:u,closeIconColorWarning:c,closeIconColorHoverWarning:f,closeIconColorPressedWarning:h,borderError:`1px solid ${pe(m,{alpha:.35})}`,colorError:pe(m,{alpha:.25}),titleTextColorError:o,iconColorError:m,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:u,closeIconColorError:c,closeIconColorHoverError:f,closeIconColorPressedError:h})}},WG=zG,VG={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},UG=e=>{const{borderRadius:t,railColor:r,primaryColor:n,primaryColorHover:i,primaryColorPressed:a,textColor2:o}=e;return Object.assign(Object.assign({},VG),{borderRadius:t,railColor:r,railColorActive:n,linkColor:pe(n,{alpha:.15}),linkTextColor:o,linkTextColorHover:i,linkTextColorPressed:a,linkTextColorActive:n})},GG={name:"Anchor",common:fe,self:UG},jG=GG,gR={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},qG={name:"Input",common:fe,self(e){const{textColor2:t,textColor3:r,textColorDisabled:n,primaryColor:i,primaryColorHover:a,inputColor:o,inputColorDisabled:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:f,borderRadius:h,lineHeight:d,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:m,fontSizeLarge:g,heightTiny:y,heightSmall:x,heightMedium:_,heightLarge:b,clearColor:C,clearColorHover:S,clearColorPressed:w,placeholderColor:E,placeholderColorDisabled:T,iconColor:A,iconColorDisabled:P,iconColorHover:D,iconColorPressed:L}=e;return Object.assign(Object.assign({},gR),{countTextColorDisabled:n,countTextColor:r,heightTiny:y,heightSmall:x,heightMedium:_,heightLarge:b,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:m,fontSizeLarge:g,lineHeight:d,lineHeightTextarea:d,borderRadius:h,iconSize:"16px",groupLabelColor:o,textColor:t,textColorDisabled:n,textDecorationColor:t,groupLabelTextColor:t,caretColor:i,placeholderColor:E,placeholderColorDisabled:T,color:o,colorDisabled:s,colorFocus:pe(i,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${a}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 8px 0 ${pe(i,{alpha:.3})}`,loadingColor:i,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:pe(l,{alpha:.1}),borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 8px 0 ${pe(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:c,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${f}`,colorFocusError:pe(c,{alpha:.1}),borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 8px 0 ${pe(c,{alpha:.3})}`,caretColorError:c,clearColor:C,clearColorHover:S,clearColorPressed:w,iconColor:A,iconColorDisabled:P,iconColorHover:D,iconColorPressed:L,suffixTextColor:t})}},mn=qG,YG=e=>{const{textColor2:t,textColor3:r,textColorDisabled:n,primaryColor:i,primaryColorHover:a,inputColor:o,inputColorDisabled:s,borderColor:l,warningColor:u,warningColorHover:c,errorColor:f,errorColorHover:h,borderRadius:d,lineHeight:v,fontSizeTiny:p,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:y,heightTiny:x,heightSmall:_,heightMedium:b,heightLarge:C,actionColor:S,clearColor:w,clearColorHover:E,clearColorPressed:T,placeholderColor:A,placeholderColorDisabled:P,iconColor:D,iconColorDisabled:L,iconColorHover:N,iconColorPressed:B}=e;return Object.assign(Object.assign({},gR),{countTextColorDisabled:n,countTextColor:r,heightTiny:x,heightSmall:_,heightMedium:b,heightLarge:C,fontSizeTiny:p,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:y,lineHeight:v,lineHeightTextarea:v,borderRadius:d,iconSize:"16px",groupLabelColor:S,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:i,placeholderColor:A,placeholderColorDisabled:P,color:o,colorDisabled:s,colorFocus:o,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${a}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 0 2px ${pe(i,{alpha:.2})}`,loadingColor:i,loadingColorWarning:u,borderWarning:`1px solid ${u}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:o,borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 0 2px ${pe(u,{alpha:.2})}`,caretColorWarning:u,loadingColorError:f,borderError:`1px solid ${f}`,borderHoverError:`1px solid ${h}`,colorFocusError:o,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${pe(f,{alpha:.2})}`,caretColorError:f,clearColor:w,clearColorHover:E,clearColorPressed:T,iconColor:D,iconColorDisabled:L,iconColorHover:N,iconColorPressed:B,suffixTextColor:t})},XG={name:"Input",common:ct,self:YG},KG=XG;function ZG(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const QG={name:"AutoComplete",common:fe,peers:{InternalSelectMenu:Df,Input:mn},self:ZG},JG=QG,mR=e=>{const{borderRadius:t,avatarColor:r,cardColor:n,fontSize:i,heightTiny:a,heightSmall:o,heightMedium:s,heightLarge:l,heightHuge:u,modalColor:c,popoverColor:f}=e;return{borderRadius:t,fontSize:i,border:`2px solid ${n}`,heightTiny:a,heightSmall:o,heightMedium:s,heightLarge:l,heightHuge:u,color:Ae(n,r),colorModal:Ae(c,r),colorPopover:Ae(f,r)}},e9={name:"Avatar",common:ct,self:mR},Uxe=e9,t9={name:"Avatar",common:fe,self:mR},yR=t9,r9=()=>({gap:"-12px"}),n9={name:"AvatarGroup",common:fe,peers:{Avatar:yR},self:r9},i9=n9,a9={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},o9={name:"BackTop",common:fe,self(e){const{popoverColor:t,textColor2:r,primaryColorHover:n,primaryColorPressed:i}=e;return Object.assign(Object.assign({},a9),{color:t,textColor:r,iconColor:r,iconColorHover:n,iconColorPressed:i,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},s9=o9,l9={name:"Badge",common:fe,self(e){const{errorColorSuppl:t,infoColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,fontFamily:a}=e;return{color:t,colorInfo:r,colorSuccess:n,colorError:t,colorWarning:i,fontSize:"12px",fontFamily:a}}},u9=l9,c9={fontWeightActive:"400"},xR=e=>{const{fontSize:t,textColor3:r,textColor2:n,borderRadius:i,buttonColor2Hover:a,buttonColor2Pressed:o}=e;return Object.assign(Object.assign({},c9),{fontSize:t,itemLineHeight:"1.25",itemTextColor:r,itemTextColorHover:n,itemTextColorPressed:n,itemTextColorActive:n,itemBorderRadius:i,itemColorHover:a,itemColorPressed:o,separatorColor:r})},f9={name:"Breadcrumb",common:ct,self:xR},Gxe=f9,h9={name:"Breadcrumb",common:fe,self:xR},d9=h9,v9={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},_R=e=>{const{heightTiny:t,heightSmall:r,heightMedium:n,heightLarge:i,borderRadius:a,fontSizeTiny:o,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:u,opacityDisabled:c,textColor2:f,textColor3:h,primaryColorHover:d,primaryColorPressed:v,borderColor:p,primaryColor:m,baseColor:g,infoColor:y,infoColorHover:x,infoColorPressed:_,successColor:b,successColorHover:C,successColorPressed:S,warningColor:w,warningColorHover:E,warningColorPressed:T,errorColor:A,errorColorHover:P,errorColorPressed:D,fontWeight:L,buttonColor2:N,buttonColor2Hover:B,buttonColor2Pressed:G,fontWeightStrong:$}=e;return Object.assign(Object.assign({},v9),{heightTiny:t,heightSmall:r,heightMedium:n,heightLarge:i,borderRadiusTiny:a,borderRadiusSmall:a,borderRadiusMedium:a,borderRadiusLarge:a,fontSizeTiny:o,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:u,opacityDisabled:c,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:N,colorSecondaryHover:B,colorSecondaryPressed:G,colorTertiary:N,colorTertiaryHover:B,colorTertiaryPressed:G,colorQuaternary:"#0000",colorQuaternaryHover:B,colorQuaternaryPressed:G,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:f,textColorTertiary:h,textColorHover:d,textColorPressed:v,textColorFocus:d,textColorDisabled:f,textColorText:f,textColorTextHover:d,textColorTextPressed:v,textColorTextFocus:d,textColorTextDisabled:f,textColorGhost:f,textColorGhostHover:d,textColorGhostPressed:v,textColorGhostFocus:d,textColorGhostDisabled:f,border:`1px solid ${p}`,borderHover:`1px solid ${d}`,borderPressed:`1px solid ${v}`,borderFocus:`1px solid ${d}`,borderDisabled:`1px solid ${p}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:d,colorPressedPrimary:v,colorFocusPrimary:d,colorDisabledPrimary:m,textColorPrimary:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,textColorTextPrimary:m,textColorTextHoverPrimary:d,textColorTextPressedPrimary:v,textColorTextFocusPrimary:d,textColorTextDisabledPrimary:f,textColorGhostPrimary:m,textColorGhostHoverPrimary:d,textColorGhostPressedPrimary:v,textColorGhostFocusPrimary:d,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${d}`,borderPressedPrimary:`1px solid ${v}`,borderFocusPrimary:`1px solid ${d}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:y,colorHoverInfo:x,colorPressedInfo:_,colorFocusInfo:x,colorDisabledInfo:y,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:y,textColorTextHoverInfo:x,textColorTextPressedInfo:_,textColorTextFocusInfo:x,textColorTextDisabledInfo:f,textColorGhostInfo:y,textColorGhostHoverInfo:x,textColorGhostPressedInfo:_,textColorGhostFocusInfo:x,textColorGhostDisabledInfo:y,borderInfo:`1px solid ${y}`,borderHoverInfo:`1px solid ${x}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${x}`,borderDisabledInfo:`1px solid ${y}`,rippleColorInfo:y,colorSuccess:b,colorHoverSuccess:C,colorPressedSuccess:S,colorFocusSuccess:C,colorDisabledSuccess:b,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:b,textColorTextHoverSuccess:C,textColorTextPressedSuccess:S,textColorTextFocusSuccess:C,textColorTextDisabledSuccess:f,textColorGhostSuccess:b,textColorGhostHoverSuccess:C,textColorGhostPressedSuccess:S,textColorGhostFocusSuccess:C,textColorGhostDisabledSuccess:b,borderSuccess:`1px solid ${b}`,borderHoverSuccess:`1px solid ${C}`,borderPressedSuccess:`1px solid ${S}`,borderFocusSuccess:`1px solid ${C}`,borderDisabledSuccess:`1px solid ${b}`,rippleColorSuccess:b,colorWarning:w,colorHoverWarning:E,colorPressedWarning:T,colorFocusWarning:E,colorDisabledWarning:w,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:w,textColorTextHoverWarning:E,textColorTextPressedWarning:T,textColorTextFocusWarning:E,textColorTextDisabledWarning:f,textColorGhostWarning:w,textColorGhostHoverWarning:E,textColorGhostPressedWarning:T,textColorGhostFocusWarning:E,textColorGhostDisabledWarning:w,borderWarning:`1px solid ${w}`,borderHoverWarning:`1px solid ${E}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${E}`,borderDisabledWarning:`1px solid ${w}`,rippleColorWarning:w,colorError:A,colorHoverError:P,colorPressedError:D,colorFocusError:P,colorDisabledError:A,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:A,textColorTextHoverError:P,textColorTextPressedError:D,textColorTextFocusError:P,textColorTextDisabledError:f,textColorGhostError:A,textColorGhostHoverError:P,textColorGhostPressedError:D,textColorGhostFocusError:P,textColorGhostDisabledError:A,borderError:`1px solid ${A}`,borderHoverError:`1px solid ${P}`,borderPressedError:`1px solid ${D}`,borderFocusError:`1px solid ${P}`,borderDisabledError:`1px solid ${A}`,rippleColorError:A,waveOpacity:"0.6",fontWeight:L,fontWeightStrong:$})},p9={name:"Button",common:ct,self:_R},bR=p9,g9={name:"Button",common:fe,self(e){const t=_R(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Nr=g9,m9={titleFontSize:"22px"},y9=e=>{const{borderRadius:t,fontSize:r,lineHeight:n,textColor2:i,textColor1:a,textColorDisabled:o,dividerColor:s,fontWeightStrong:l,primaryColor:u,baseColor:c,hoverColor:f,cardColor:h,modalColor:d,popoverColor:v}=e;return Object.assign(Object.assign({},m9),{borderRadius:t,borderColor:Ae(h,s),borderColorModal:Ae(d,s),borderColorPopover:Ae(v,s),textColor:i,titleFontWeight:l,titleTextColor:a,dayTextColor:o,fontSize:r,lineHeight:n,dateColorCurrent:u,dateTextColorCurrent:c,cellColorHover:Ae(h,f),cellColorHoverModal:Ae(d,f),cellColorHoverPopover:Ae(v,f),cellColor:h,cellColorModal:d,cellColorPopover:v,barColor:u})},x9={name:"Calendar",common:fe,peers:{Button:Nr},self:y9},_9=x9,CR=e=>{const{fontSize:t,boxShadow2:r,popoverColor:n,textColor2:i,borderRadius:a,borderColor:o,heightSmall:s,heightMedium:l,heightLarge:u,fontSizeSmall:c,fontSizeMedium:f,fontSizeLarge:h,dividerColor:d}=e;return{panelFontSize:t,boxShadow:r,color:n,textColor:i,borderRadius:a,border:`1px solid ${o}`,heightSmall:s,heightMedium:l,heightLarge:u,fontSizeSmall:c,fontSizeMedium:f,fontSizeLarge:h,dividerColor:d}},b9={name:"ColorPicker",common:ct,peers:{Input:KG,Button:bR},self:CR},jxe=b9,C9={name:"ColorPicker",common:fe,peers:{Input:mn,Button:Nr},self:CR},S9=C9,w9={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},SR=e=>{const{primaryColor:t,borderRadius:r,lineHeight:n,fontSize:i,cardColor:a,textColor2:o,textColor1:s,dividerColor:l,fontWeightStrong:u,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,closeColorHover:d,closeColorPressed:v,modalColor:p,boxShadow1:m,popoverColor:g,actionColor:y}=e;return Object.assign(Object.assign({},w9),{lineHeight:n,color:a,colorModal:p,colorPopover:g,colorTarget:t,colorEmbedded:y,colorEmbeddedModal:y,colorEmbeddedPopover:y,textColor:o,titleTextColor:s,borderColor:l,actionColor:y,titleFontWeight:u,closeColorHover:d,closeColorPressed:v,closeBorderRadius:r,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,fontSizeSmall:i,fontSizeMedium:i,fontSizeLarge:i,fontSizeHuge:i,boxShadow:m,borderRadius:r})},T9={name:"Card",common:ct,self:SR},A9=T9,E9={name:"Card",common:fe,self(e){const t=SR(e),{cardColor:r,modalColor:n,popoverColor:i}=e;return t.colorEmbedded=r,t.colorEmbeddedModal=n,t.colorEmbeddedPopover=i,t}},wR=E9,P9=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),I9={name:"Carousel",common:fe,self:P9},M9=I9,D9={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},TR=e=>{const{baseColor:t,inputColorDisabled:r,cardColor:n,modalColor:i,popoverColor:a,textColorDisabled:o,borderColor:s,primaryColor:l,textColor2:u,fontSizeSmall:c,fontSizeMedium:f,fontSizeLarge:h,borderRadiusSmall:d,lineHeight:v}=e;return Object.assign(Object.assign({},D9),{labelLineHeight:v,fontSizeSmall:c,fontSizeMedium:f,fontSizeLarge:h,borderRadius:d,color:t,colorChecked:l,colorDisabled:r,colorDisabledChecked:r,colorTableHeader:n,colorTableHeaderModal:i,colorTableHeaderPopover:a,checkMarkColor:t,checkMarkColorDisabled:o,checkMarkColorDisabledChecked:o,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${pe(l,{alpha:.3})}`,textColor:u,textColorDisabled:o})},L9={name:"Checkbox",common:ct,self:TR},qxe=L9,R9={name:"Checkbox",common:fe,self(e){const{cardColor:t}=e,r=TR(e);return r.color="#0000",r.checkMarkColor=t,r}},iu=R9,O9=e=>{const{borderRadius:t,boxShadow2:r,popoverColor:n,textColor2:i,textColor3:a,primaryColor:o,textColorDisabled:s,dividerColor:l,hoverColor:u,fontSizeMedium:c,heightMedium:f}=e;return{menuBorderRadius:t,menuColor:n,menuBoxShadow:r,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:a,optionHeight:f,optionFontSize:c,optionColorHover:u,optionTextColor:i,optionTextColorActive:o,optionTextColorDisabled:s,optionCheckMarkColor:o,loadingColor:o,columnWidth:"180px"}},k9={name:"Cascader",common:fe,peers:{InternalSelectMenu:Df,InternalSelection:tb,Scrollbar:kr,Checkbox:iu,Empty:cR},self:O9},N9=k9,B9={name:"Code",common:fe,self(e){const{textColor2:t,fontSize:r,fontWeightStrong:n,textColor3:i}=e;return{textColor:t,fontSize:r,fontWeightStrong:n,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:i}}},AR=B9,F9=e=>{const{fontWeight:t,textColor1:r,textColor2:n,textColorDisabled:i,dividerColor:a,fontSize:o}=e;return{titleFontSize:o,titleFontWeight:t,dividerColor:a,titleTextColor:r,titleTextColorDisabled:i,fontSize:o,textColor:n,arrowColor:n,arrowColorDisabled:i,itemMargin:"16px 0 0 0"}},$9={name:"Collapse",common:fe,self:F9},H9=$9,z9=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},W9={name:"CollapseTransition",common:fe,self:z9},V9=W9,U9={name:"Popselect",common:fe,peers:{Popover:_s,InternalSelectMenu:Df}},ER=U9;function PR(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const G9={name:"Select",common:ct,peers:{InternalSelection:FG,InternalSelectMenu:IG},self:PR},Yxe=G9,j9={name:"Select",common:fe,peers:{InternalSelection:tb,InternalSelectMenu:Df},self:PR},IR=j9,q9={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Y9=e=>{const{textColor2:t,primaryColor:r,primaryColorHover:n,primaryColorPressed:i,inputColorDisabled:a,textColorDisabled:o,borderColor:s,borderRadius:l,fontSizeTiny:u,fontSizeSmall:c,fontSizeMedium:f,heightTiny:h,heightSmall:d,heightMedium:v}=e;return Object.assign(Object.assign({},q9),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:n,itemTextColorPressed:i,itemTextColorActive:r,itemTextColorDisabled:o,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:a,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${r}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:h,itemSizeMedium:d,itemSizeLarge:v,itemFontSizeSmall:u,itemFontSizeMedium:c,itemFontSizeLarge:f,jumperFontSizeSmall:u,jumperFontSizeMedium:c,jumperFontSizeLarge:f,jumperTextColor:t,jumperTextColorDisabled:o})},X9={name:"Pagination",common:fe,peers:{Select:IR,Input:mn,Popselect:ER},self(e){const{primaryColor:t,opacity3:r}=e,n=pe(t,{alpha:Number(r)}),i=Y9(e);return i.itemBorderActive=`1px solid ${n}`,i.itemBorderDisabled="1px solid #0000",i}},MR=X9,DR={padding:"8px 14px"},K9={name:"Tooltip",common:fe,peers:{Popover:_s},self(e){const{borderRadius:t,boxShadow2:r,popoverColor:n,textColor2:i}=e;return Object.assign(Object.assign({},DR),{borderRadius:t,boxShadow:r,color:n,textColor:i})}},$p=K9,Z9=e=>{const{borderRadius:t,boxShadow2:r,baseColor:n}=e;return Object.assign(Object.assign({},DR),{borderRadius:t,boxShadow:r,color:Ae(n,"rgba(0, 0, 0, .85)"),textColor:n})},Q9={name:"Tooltip",common:ct,peers:{Popover:eb},self:Z9},J9=Q9,e7={name:"Ellipsis",common:fe,peers:{Tooltip:$p}},LR=e7,t7={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},r7={name:"Radio",common:fe,self(e){const{borderColor:t,primaryColor:r,baseColor:n,textColorDisabled:i,inputColorDisabled:a,textColor2:o,opacityDisabled:s,borderRadius:l,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:f,heightSmall:h,heightMedium:d,heightLarge:v,lineHeight:p}=e;return Object.assign(Object.assign({},t7),{labelLineHeight:p,buttonHeightSmall:h,buttonHeightMedium:d,buttonHeightLarge:v,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:f,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${pe(r,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:o,textColorDisabled:i,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:o,buttonTextColorActive:n,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${pe(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},RR=r7,n7={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},OR=e=>{const{primaryColor:t,textColor2:r,dividerColor:n,hoverColor:i,popoverColor:a,invertedColor:o,borderRadius:s,fontSizeSmall:l,fontSizeMedium:u,fontSizeLarge:c,fontSizeHuge:f,heightSmall:h,heightMedium:d,heightLarge:v,heightHuge:p,textColor3:m,opacityDisabled:g}=e;return Object.assign(Object.assign({},n7),{optionHeightSmall:h,optionHeightMedium:d,optionHeightLarge:v,optionHeightHuge:p,borderRadius:s,fontSizeSmall:l,fontSizeMedium:u,fontSizeLarge:c,fontSizeHuge:f,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:t,optionTextColorChildActive:t,color:a,dividerColor:n,suffixColor:r,prefixColor:r,optionColorHover:i,optionColorActive:pe(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:o,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:g})},i7={name:"Dropdown",common:ct,peers:{Popover:eb},self:OR},a7=i7,o7={name:"Dropdown",common:fe,peers:{Popover:_s},self(e){const{primaryColorSuppl:t,primaryColor:r,popoverColor:n}=e,i=OR(e);return i.colorInverted=n,i.optionColorActive=pe(r,{alpha:.15}),i.optionColorActiveInverted=t,i.optionColorHoverInverted=t,i}},rb=o7,s7={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},l7=e=>{const{cardColor:t,modalColor:r,popoverColor:n,textColor2:i,textColor1:a,tableHeaderColor:o,tableColorHover:s,iconColor:l,primaryColor:u,fontWeightStrong:c,borderRadius:f,lineHeight:h,fontSizeSmall:d,fontSizeMedium:v,fontSizeLarge:p,dividerColor:m,heightSmall:g,opacityDisabled:y,tableColorStriped:x}=e;return Object.assign(Object.assign({},s7),{actionDividerColor:m,lineHeight:h,borderRadius:f,fontSizeSmall:d,fontSizeMedium:v,fontSizeLarge:p,borderColor:Ae(t,m),tdColorHover:Ae(t,s),tdColorStriped:Ae(t,x),thColor:Ae(t,o),thColorHover:Ae(Ae(t,o),s),tdColor:t,tdTextColor:i,thTextColor:a,thFontWeight:c,thButtonColorHover:s,thIconColor:l,thIconColorActive:u,borderColorModal:Ae(r,m),tdColorHoverModal:Ae(r,s),tdColorStripedModal:Ae(r,x),thColorModal:Ae(r,o),thColorHoverModal:Ae(Ae(r,o),s),tdColorModal:r,borderColorPopover:Ae(n,m),tdColorHoverPopover:Ae(n,s),tdColorStripedPopover:Ae(n,x),thColorPopover:Ae(n,o),thColorHoverPopover:Ae(Ae(n,o),s),tdColorPopover:n,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:u,loadingSize:g,opacityLoading:y})},u7={name:"DataTable",common:fe,peers:{Button:Nr,Checkbox:iu,Radio:RR,Pagination:MR,Scrollbar:kr,Empty:xs,Popover:_s,Ellipsis:LR,Dropdown:rb},self(e){const t=l7(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},c7=u7,kR=e=>{const{textColorBase:t,opacity1:r,opacity2:n,opacity3:i,opacity4:a,opacity5:o}=e;return{color:t,opacity1Depth:r,opacity2Depth:n,opacity3Depth:i,opacity4Depth:a,opacity5Depth:o}},Xxe={name:"Icon",common:ct,self:kR},f7={name:"Icon",common:fe,self:kR},h7=f7,d7={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},v7=e=>{const{popoverColor:t,textColor2:r,primaryColor:n,hoverColor:i,dividerColor:a,opacityDisabled:o,boxShadow2:s,borderRadius:l,iconColor:u,iconColorDisabled:c}=e;return Object.assign(Object.assign({},d7),{panelColor:t,panelBoxShadow:s,panelDividerColor:a,itemTextColor:r,itemTextColorActive:n,itemColorHover:i,itemOpacityDisabled:o,itemBorderRadius:l,borderRadius:l,iconColor:u,iconColorDisabled:c})},p7={name:"TimePicker",common:fe,peers:{Scrollbar:kr,Button:Nr,Input:mn},self:v7},NR=p7,g7={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0"},m7=e=>{const{hoverColor:t,fontSize:r,textColor2:n,textColorDisabled:i,popoverColor:a,primaryColor:o,borderRadiusSmall:s,iconColor:l,iconColorDisabled:u,textColor1:c,dividerColor:f,boxShadow2:h,borderRadius:d,fontWeightStrong:v}=e;return Object.assign(Object.assign({},g7),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:n,itemTextColorDisabled:i,itemTextColorActive:a,itemTextColorCurrent:o,itemColorIncluded:pe(o,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:o,itemBorderRadius:s,panelColor:a,panelTextColor:n,arrowColor:l,calendarTitleTextColor:c,calendarTitleColorHover:t,calendarDaysTextColor:n,panelHeaderDividerColor:f,calendarDaysDividerColor:f,calendarDividerColor:f,panelActionDividerColor:f,panelBoxShadow:h,panelBorderRadius:d,calendarTitleFontWeight:v,scrollItemBorderRadius:d,iconColor:l,iconColorDisabled:u})},y7={name:"DatePicker",common:fe,peers:{Input:mn,Button:Nr,TimePicker:NR,Scrollbar:kr},self(e){const{popoverColor:t,hoverColor:r,primaryColor:n}=e,i=m7(e);return i.itemColorDisabled=Ae(t,r),i.itemColorIncluded=pe(n,{alpha:.15}),i.itemColorHover=Ae(t,r),i}},x7=y7;var Be=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _7(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function BR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}const b7={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},C7=e=>{const{tableHeaderColor:t,textColor2:r,textColor1:n,cardColor:i,modalColor:a,popoverColor:o,dividerColor:s,borderRadius:l,fontWeightStrong:u,lineHeight:c,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:d}=e;return Object.assign(Object.assign({},b7),{lineHeight:c,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:d,titleTextColor:n,thColor:Ae(i,t),thColorModal:Ae(a,t),thColorPopover:Ae(o,t),thTextColor:n,thFontWeight:u,tdTextColor:r,tdColor:i,tdColorModal:a,tdColorPopover:o,borderColor:Ae(i,s),borderColorModal:Ae(a,s),borderColorPopover:Ae(o,s),borderRadius:l})},S7={name:"Descriptions",common:fe,self:C7},w7=S7,T7={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},FR=e=>{const{textColor1:t,textColor2:r,modalColor:n,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:o,closeColorHover:s,closeColorPressed:l,infoColor:u,successColor:c,warningColor:f,errorColor:h,primaryColor:d,dividerColor:v,borderRadius:p,fontWeightStrong:m,lineHeight:g,fontSize:y}=e;return Object.assign(Object.assign({},T7),{fontSize:y,lineHeight:g,border:`1px solid ${v}`,titleTextColor:t,textColor:r,color:n,closeColorHover:s,closeColorPressed:l,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:o,closeBorderRadius:p,iconColor:d,iconColorInfo:u,iconColorSuccess:c,iconColorWarning:f,iconColorError:h,borderRadius:p,titleFontWeight:m})},A7={name:"Dialog",common:ct,peers:{Button:bR},self:FR},E7=A7,P7={name:"Dialog",common:fe,peers:{Button:Nr},self:FR},$R=P7,HR=e=>{const{modalColor:t,textColor2:r,boxShadow3:n}=e;return{color:t,textColor:r,boxShadow:n}},I7={name:"Modal",common:ct,peers:{Scrollbar:Fp,Dialog:E7,Card:A9},self:HR},Kxe=I7,M7={name:"Modal",common:fe,peers:{Scrollbar:kr,Dialog:$R,Card:wR},self:HR},D7=M7,zR=e=>{const{textColor1:t,dividerColor:r,fontWeightStrong:n}=e;return{textColor:t,color:r,fontWeight:n}},L7={name:"Divider",common:ct,self:zR},Zxe=L7,R7={name:"Divider",common:fe,self:zR},O7=R7,WR=e=>{const{modalColor:t,textColor1:r,textColor2:n,boxShadow3:i,lineHeight:a,fontWeightStrong:o,dividerColor:s,closeColorHover:l,closeColorPressed:u,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,borderRadius:d,primaryColorHover:v}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:n,titleTextColor:r,titleFontSize:"18px",titleFontWeight:o,boxShadow:i,lineHeight:a,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:c,closeIconColorHover:f,closeIconColorPressed:h,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:u,closeBorderRadius:d,resizableTriggerColorHover:v}},k7={name:"Drawer",common:ct,peers:{Scrollbar:Fp},self:WR},Qxe=k7,N7={name:"Drawer",common:fe,peers:{Scrollbar:kr},self:WR},B7=N7,F7={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},$7={name:"DynamicInput",common:fe,peers:{Input:mn,Button:Nr},self(){return F7}},H7=$7,z7={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},W7={name:"Space",self(){return z7}},VR=W7,V7={name:"DynamicTags",common:fe,peers:{Input:mn,Button:Nr,Tag:vR,Space:VR},self(){return{inputWidth:"64px"}}},U7=V7,G7={name:"Element",common:fe},j7=G7,q7={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},UR=e=>{const{heightSmall:t,heightMedium:r,heightLarge:n,textColor1:i,errorColor:a,warningColor:o,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},q7),{blankHeightSmall:t,blankHeightMedium:r,blankHeightLarge:n,lineHeight:s,labelTextColor:i,asteriskColor:a,feedbackTextColorError:a,feedbackTextColorWarning:o,feedbackTextColor:l})},Y7={name:"Form",common:ct,self:UR},Jxe=Y7,X7={name:"Form",common:fe,self:UR},K7=X7,Z7={name:"GradientText",common:fe,self(e){const{primaryColor:t,successColor:r,warningColor:n,errorColor:i,infoColor:a,primaryColorSuppl:o,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:u,infoColorSuppl:c,fontWeightStrong:f}=e;return{fontWeight:f,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:o,colorStartInfo:a,colorEndInfo:c,colorStartWarning:n,colorEndWarning:l,colorStartError:i,colorEndError:u,colorStartSuccess:r,colorEndSuccess:s}}},Q7=Z7,J7=e=>{const{primaryColor:t,baseColor:r}=e;return{color:t,iconColor:r}},ej={name:"IconWrapper",common:fe,self:J7},tj=ej,rj={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},GR=e=>{const{textColor2:t,successColor:r,infoColor:n,warningColor:i,errorColor:a,popoverColor:o,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:u,closeColorHover:c,closeColorPressed:f,textColor1:h,textColor3:d,borderRadius:v,fontWeightStrong:p,boxShadow2:m,lineHeight:g,fontSize:y}=e;return Object.assign(Object.assign({},rj),{borderRadius:v,lineHeight:g,fontSize:y,headerFontWeight:p,iconColor:t,iconColorSuccess:r,iconColorInfo:n,iconColorWarning:i,iconColorError:a,color:o,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:u,closeBorderRadius:v,closeColorHover:c,closeColorPressed:f,headerTextColor:h,descriptionTextColor:d,actionTextColor:t,boxShadow:m})},nj={name:"Notification",common:ct,peers:{Scrollbar:Fp},self:GR},e_e=nj,ij={name:"Notification",common:fe,peers:{Scrollbar:kr},self:GR},aj=ij,oj={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},jR=e=>{const{textColor2:t,closeIconColor:r,closeIconColorHover:n,closeIconColorPressed:i,infoColor:a,successColor:o,errorColor:s,warningColor:l,popoverColor:u,boxShadow2:c,primaryColor:f,lineHeight:h,borderRadius:d,closeColorHover:v,closeColorPressed:p}=e;return Object.assign(Object.assign({},oj),{closeBorderRadius:d,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:u,colorInfo:u,colorSuccess:u,colorError:u,colorWarning:u,colorLoading:u,boxShadow:c,boxShadowInfo:c,boxShadowSuccess:c,boxShadowError:c,boxShadowWarning:c,boxShadowLoading:c,iconColor:t,iconColorInfo:a,iconColorSuccess:o,iconColorWarning:l,iconColorError:s,iconColorLoading:f,closeColorHover:v,closeColorPressed:p,closeIconColor:r,closeIconColorHover:n,closeIconColorPressed:i,closeColorHoverInfo:v,closeColorPressedInfo:p,closeIconColorInfo:r,closeIconColorHoverInfo:n,closeIconColorPressedInfo:i,closeColorHoverSuccess:v,closeColorPressedSuccess:p,closeIconColorSuccess:r,closeIconColorHoverSuccess:n,closeIconColorPressedSuccess:i,closeColorHoverError:v,closeColorPressedError:p,closeIconColorError:r,closeIconColorHoverError:n,closeIconColorPressedError:i,closeColorHoverWarning:v,closeColorPressedWarning:p,closeIconColorWarning:r,closeIconColorHoverWarning:n,closeIconColorPressedWarning:i,closeColorHoverLoading:v,closeColorPressedLoading:p,closeIconColorLoading:r,closeIconColorHoverLoading:n,closeIconColorPressedLoading:i,loadingColor:f,lineHeight:h,borderRadius:d})},sj={name:"Message",common:ct,self:jR},t_e=sj,lj={name:"Message",common:fe,self:jR},uj=lj,cj={name:"ButtonGroup",common:fe},fj=cj,hj={name:"InputNumber",common:fe,peers:{Button:Nr,Input:mn},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},dj=hj,vj={name:"Layout",common:fe,peers:{Scrollbar:kr},self(e){const{textColor2:t,bodyColor:r,popoverColor:n,cardColor:i,dividerColor:a,scrollbarColor:o,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:r,colorEmbedded:r,headerColor:i,headerColorInverted:i,footerColor:i,footerColorInverted:i,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:i,siderColorInverted:i,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:n,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ae(r,o),siderToggleBarColorHover:Ae(r,s),__invertScrollbar:"false"}}},pj=vj,qR=e=>{const{textColor2:t,cardColor:r,modalColor:n,popoverColor:i,dividerColor:a,borderRadius:o,fontSize:s,hoverColor:l}=e;return{textColor:t,color:r,colorHover:l,colorModal:n,colorHoverModal:Ae(n,l),colorPopover:i,colorHoverPopover:Ae(i,l),borderColor:a,borderColorModal:Ae(n,a),borderColorPopover:Ae(i,a),borderRadius:o,fontSize:s}},gj={name:"List",common:ct,self:qR},r_e=gj,mj={name:"List",common:fe,self:qR},yj=mj,xj={name:"LoadingBar",common:fe,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},_j=xj,bj={name:"Log",common:fe,peers:{Scrollbar:kr,Code:AR},self(e){const{textColor2:t,inputColor:r,fontSize:n,primaryColor:i}=e;return{loaderFontSize:n,loaderTextColor:t,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:i}}},Cj=bj,Sj={name:"Mention",common:fe,peers:{InternalSelectMenu:Df,Input:mn},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},wj=Sj;function Tj(e,t,r,n){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorChildActiveHoverInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorChildActiveHoverHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:e,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorChildActiveHoverInverted:r,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,itemIconColorChildActiveHoverHorizontalInverted:r,arrowColorInverted:e,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,arrowColorChildActiveHoverInverted:r,groupTextColorInverted:n}}const YR=e=>{const{borderRadius:t,textColor3:r,primaryColor:n,textColor2:i,textColor1:a,fontSize:o,dividerColor:s,hoverColor:l,primaryColorHover:u}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:r,itemColorHover:l,itemColorActive:pe(n,{alpha:.1}),itemColorActiveHover:pe(n,{alpha:.1}),itemColorActiveCollapsed:pe(n,{alpha:.1}),itemTextColor:i,itemTextColorHover:i,itemTextColorActive:n,itemTextColorActiveHover:n,itemTextColorChildActive:n,itemTextColorChildActiveHover:n,itemTextColorHorizontal:i,itemTextColorHoverHorizontal:u,itemTextColorActiveHorizontal:n,itemTextColorActiveHoverHorizontal:n,itemTextColorChildActiveHorizontal:n,itemTextColorChildActiveHoverHorizontal:n,itemIconColor:a,itemIconColorHover:a,itemIconColorActive:n,itemIconColorActiveHover:n,itemIconColorChildActive:n,itemIconColorChildActiveHover:n,itemIconColorCollapsed:a,itemIconColorHorizontal:a,itemIconColorHoverHorizontal:u,itemIconColorActiveHorizontal:n,itemIconColorActiveHoverHorizontal:n,itemIconColorChildActiveHorizontal:n,itemIconColorChildActiveHoverHorizontal:n,itemHeight:"42px",arrowColor:i,arrowColorHover:i,arrowColorActive:n,arrowColorActiveHover:n,arrowColorChildActive:n,arrowColorChildActiveHover:n,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:o,dividerColor:s},Tj("#BBB",n,"#FFF","#AAA"))},Aj={name:"Menu",common:ct,peers:{Tooltip:J9,Dropdown:a7},self:YR},n_e=Aj,Ej={name:"Menu",common:fe,peers:{Tooltip:$p,Dropdown:rb},self(e){const{primaryColor:t,primaryColorSuppl:r}=e,n=YR(e);return n.itemColorActive=pe(t,{alpha:.15}),n.itemColorActiveHover=pe(t,{alpha:.15}),n.itemColorActiveCollapsed=pe(t,{alpha:.15}),n.itemColorActiveInverted=r,n.itemColorActiveHoverInverted=r,n.itemColorActiveCollapsedInverted=r,n}},Pj=Ej,Ij={titleFontSize:"18px",backSize:"22px"};function Mj(e){const{textColor1:t,textColor2:r,textColor3:n,fontSize:i,fontWeightStrong:a,primaryColorHover:o,primaryColorPressed:s}=e;return Object.assign(Object.assign({},Ij),{titleFontWeight:a,fontSize:i,titleTextColor:t,backColor:r,backColorHover:o,backColorPressed:s,subtitleTextColor:n})}const Dj={name:"PageHeader",common:fe,self:Mj},Lj={iconSize:"22px"},Rj=e=>{const{fontSize:t,warningColor:r}=e;return Object.assign(Object.assign({},Lj),{fontSize:t,iconColor:r})},Oj={name:"Popconfirm",common:fe,peers:{Button:Nr,Popover:_s},self:Rj},kj=Oj,Nj=e=>{const{infoColor:t,successColor:r,warningColor:n,errorColor:i,textColor2:a,progressRailColor:o,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:o,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:r,iconColorWarning:n,iconColorError:i,textColorCircle:a,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:a,fillColor:t,fillColorInfo:t,fillColorSuccess:r,fillColorWarning:n,fillColorError:i,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},Bj={name:"Progress",common:fe,self(e){const t=Nj(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},XR=Bj,Fj={name:"Rate",common:fe,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},$j=Fj,Hj={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},zj=e=>{const{textColor2:t,textColor1:r,errorColor:n,successColor:i,infoColor:a,warningColor:o,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},Hj),{lineHeight:s,titleFontWeight:l,titleTextColor:r,textColor:t,iconColorError:n,iconColorSuccess:i,iconColorInfo:a,iconColorWarning:o})},Wj={name:"Result",common:fe,self:zj},Vj=Wj,Uj={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},Gj={name:"Slider",common:fe,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,modalColor:n,primaryColorSuppl:i,popoverColor:a,textColor2:o,cardColor:s,borderRadius:l,fontSize:u,opacityDisabled:c}=e;return Object.assign(Object.assign({},Uj),{fontSize:u,markFontSize:u,railColor:r,railColorHover:r,fillColor:i,fillColorHover:i,opacityDisabled:c,handleColor:"#FFF",dotColor:s,dotColorModal:n,dotColorPopover:a,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:a,indicatorBoxShadow:t,indicatorTextColor:o,indicatorBorderRadius:l,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})}},jj=Gj,KR=e=>{const{opacityDisabled:t,heightTiny:r,heightSmall:n,heightMedium:i,heightLarge:a,heightHuge:o,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:r,sizeSmall:n,sizeMedium:i,sizeLarge:a,sizeHuge:o,color:s,opacitySpinning:t}},qj={name:"Spin",common:ct,self:KR},i_e=qj,Yj={name:"Spin",common:fe,self:KR},Xj=Yj,Kj=e=>{const{textColor2:t,textColor3:r,fontSize:n,fontWeight:i}=e;return{labelFontSize:n,labelFontWeight:i,valueFontWeight:i,valueFontSize:"24px",labelTextColor:r,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},Zj={name:"Statistic",common:fe,self:Kj},Qj=Zj,Jj={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},eq=e=>{const{fontWeightStrong:t,baseColor:r,textColorDisabled:n,primaryColor:i,errorColor:a,textColor1:o,textColor2:s}=e;return Object.assign(Object.assign({},Jj),{stepHeaderFontWeight:t,indicatorTextColorProcess:r,indicatorTextColorWait:n,indicatorTextColorFinish:i,indicatorTextColorError:a,indicatorBorderColorProcess:i,indicatorBorderColorWait:n,indicatorBorderColorFinish:i,indicatorBorderColorError:a,indicatorColorProcess:i,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:n,splitorColorWait:n,splitorColorFinish:i,splitorColorError:n,headerTextColorProcess:o,headerTextColorWait:n,headerTextColorFinish:n,headerTextColorError:a,descriptionTextColorProcess:s,descriptionTextColorWait:n,descriptionTextColorFinish:n,descriptionTextColorError:a})},tq={name:"Steps",common:fe,self:eq},rq=tq,nq={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},iq={name:"Switch",common:fe,self(e){const{primaryColorSuppl:t,opacityDisabled:r,borderRadius:n,primaryColor:i,textColor2:a,baseColor:o}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},nq),{iconColor:o,textColor:a,loadingColor:t,opacityDisabled:r,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:`0 0 8px 0 ${pe(i,{alpha:.3})}`})}},aq=iq,oq={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},sq=e=>{const{dividerColor:t,cardColor:r,modalColor:n,popoverColor:i,tableHeaderColor:a,tableColorStriped:o,textColor1:s,textColor2:l,borderRadius:u,fontWeightStrong:c,lineHeight:f,fontSizeSmall:h,fontSizeMedium:d,fontSizeLarge:v}=e;return Object.assign(Object.assign({},oq),{fontSizeSmall:h,fontSizeMedium:d,fontSizeLarge:v,lineHeight:f,borderRadius:u,borderColor:Ae(r,t),borderColorModal:Ae(n,t),borderColorPopover:Ae(i,t),tdColor:r,tdColorModal:n,tdColorPopover:i,tdColorStriped:Ae(r,o),tdColorStripedModal:Ae(n,o),tdColorStripedPopover:Ae(i,o),thColor:Ae(r,a),thColorModal:Ae(n,a),thColorPopover:Ae(i,a),thTextColor:s,tdTextColor:l,thFontWeight:c})},lq={name:"Table",common:fe,self:sq},uq=lq,cq={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"0 6px",tabPaddingVerticalMediumLine:"0 10px",tabPaddingVerticalLargeLine:"0 14px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"0 4px",tabPaddingVerticalMediumBar:"0 6px ",tabPaddingVerticalLargeBar:"0 10px ",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabPaddingSmallCard:"6px 10px",tabPaddingMediumCard:"8px 12px",tabPaddingLargeCard:"8px 16px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"10px 6px",tabPaddingVerticalMediumCard:"12px 8px",tabPaddingVerticalLargeCard:"16px 8px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},ZR=e=>{const{textColor2:t,primaryColor:r,textColorDisabled:n,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:o,closeColorHover:s,closeColorPressed:l,tabColor:u,baseColor:c,dividerColor:f,fontWeight:h,textColor1:d,borderRadius:v,fontSize:p,fontWeightStrong:m}=e;return Object.assign(Object.assign({},cq),{colorSegment:u,tabFontSizeCard:p,tabTextColorLine:d,tabTextColorActiveLine:r,tabTextColorHoverLine:r,tabTextColorDisabledLine:n,tabTextColorSegment:d,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:n,tabTextColorBar:d,tabTextColorActiveBar:r,tabTextColorHoverBar:r,tabTextColorDisabledBar:n,tabTextColorCard:d,tabTextColorHoverCard:d,tabTextColorActiveCard:r,tabTextColorDisabledCard:n,barColor:r,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:o,closeColorHover:s,closeColorPressed:l,closeBorderRadius:v,tabColor:u,tabColorSegment:c,tabBorderColor:f,tabFontWeightActive:h,tabFontWeight:h,tabBorderRadius:v,paneTextColor:t,fontWeightStrong:m})},fq={name:"Tabs",common:ct,self:ZR},a_e=fq,hq={name:"Tabs",common:fe,self(e){const t=ZR(e),{inputColor:r}=e;return t.colorSegment=r,t.tabColorSegment=r,t}},dq=hq,QR=e=>{const{textColor1:t,textColor2:r,fontWeightStrong:n,fontSize:i}=e;return{fontSize:i,titleTextColor:t,textColor:r,titleFontWeight:n}},vq={name:"Thing",common:ct,self:QR},o_e=vq,pq={name:"Thing",common:fe,self:QR},gq=pq,mq={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},yq={name:"Timeline",common:fe,self(e){const{textColor3:t,infoColorSuppl:r,errorColorSuppl:n,successColorSuppl:i,warningColorSuppl:a,textColor1:o,textColor2:s,railColor:l,fontWeightStrong:u,fontSize:c}=e;return Object.assign(Object.assign({},mq),{contentFontSize:c,titleFontWeight:u,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${n}`,circleBorderSuccess:`2px solid ${i}`,circleBorderWarning:`2px solid ${a}`,iconColor:t,iconColorInfo:r,iconColorError:n,iconColorSuccess:i,iconColorWarning:a,titleTextColor:o,contentTextColor:s,metaTextColor:t,lineColor:l})}},xq=yq,_q={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},bq={name:"Transfer",common:fe,peers:{Checkbox:iu,Scrollbar:kr,Input:mn,Empty:xs,Button:Nr},self(e){const{fontWeight:t,fontSizeLarge:r,fontSizeMedium:n,fontSizeSmall:i,heightLarge:a,heightMedium:o,borderRadius:s,inputColor:l,tableHeaderColor:u,textColor1:c,textColorDisabled:f,textColor2:h,textColor3:d,hoverColor:v,closeColorHover:p,closeColorPressed:m,closeIconColor:g,closeIconColorHover:y,closeIconColorPressed:x,dividerColor:_}=e;return Object.assign(Object.assign({},_q),{itemHeightSmall:o,itemHeightMedium:o,itemHeightLarge:a,fontSizeSmall:i,fontSizeMedium:n,fontSizeLarge:r,borderRadius:s,dividerColor:_,borderColor:"#0000",listColor:l,headerColor:u,titleTextColor:c,titleTextColorDisabled:f,extraTextColor:d,extraTextColorDisabled:f,itemTextColor:h,itemTextColorDisabled:f,itemColorPending:v,titleFontWeight:t,closeColorHover:p,closeColorPressed:m,closeIconColor:g,closeIconColorHover:y,closeIconColorPressed:x})}},Cq=bq,Sq=e=>{const{borderRadiusSmall:t,hoverColor:r,pressedColor:n,primaryColor:i,textColor3:a,textColor2:o,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:n,nodeColorActive:pe(i,{alpha:.1}),arrowColor:a,nodeTextColor:o,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i}},wq={name:"Tree",common:fe,peers:{Checkbox:iu,Scrollbar:kr,Empty:xs},self(e){const{primaryColor:t}=e,r=Sq(e);return r.nodeColorActive=pe(t,{alpha:.15}),r}},JR=wq,Tq={name:"TreeSelect",common:fe,peers:{Tree:JR,Empty:xs,InternalSelection:tb}},Aq=Tq,Eq={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},Pq=e=>{const{primaryColor:t,textColor2:r,borderColor:n,lineHeight:i,fontSize:a,borderRadiusSmall:o,dividerColor:s,fontWeightStrong:l,textColor1:u,textColor3:c,infoColor:f,warningColor:h,errorColor:d,successColor:v,codeColor:p}=e;return Object.assign(Object.assign({},Eq),{aTextColor:t,blockquoteTextColor:r,blockquotePrefixColor:n,blockquoteLineHeight:i,blockquoteFontSize:a,codeBorderRadius:o,liTextColor:r,liLineHeight:i,liFontSize:a,hrColor:s,headerFontWeight:l,headerTextColor:u,pTextColor:r,pTextColor1Depth:u,pTextColor2Depth:r,pTextColor3Depth:c,pLineHeight:i,pFontSize:a,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:f,headerBarColorError:d,headerBarColorWarning:h,headerBarColorSuccess:v,textColor:r,textColor1Depth:u,textColor2Depth:r,textColor3Depth:c,textColorPrimary:t,textColorInfo:f,textColorSuccess:v,textColorWarning:h,textColorError:d,codeTextColor:r,codeColor:p,codeBorder:"1px solid #0000"})},Iq={name:"Typography",common:fe,self:Pq},Mq=Iq,Dq=e=>{const{iconColor:t,primaryColor:r,errorColor:n,textColor2:i,successColor:a,opacityDisabled:o,actionColor:s,borderColor:l,hoverColor:u,lineHeight:c,borderRadius:f,fontSize:h}=e;return{fontSize:h,lineHeight:c,borderRadius:f,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${r}`,itemColorHover:u,itemColorHoverError:pe(n,{alpha:.06}),itemTextColor:i,itemTextColorError:n,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:o,itemBorderImageCardError:`1px solid ${n}`,itemBorderImageCard:`1px solid ${l}`}},Lq={name:"Upload",common:fe,peers:{Button:Nr,Progress:XR},self(e){const{errorColor:t}=e,r=Dq(e);return r.itemColorHoverError=pe(t,{alpha:.09}),r}},Rq=Lq,Oq={name:"Watermark",common:fe,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},kq=Oq,Nq={name:"Row",common:fe},Bq=Nq,Fq={name:"Image",common:fe,peers:{Tooltip:$p},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},$q={extraFontSize:"12px",width:"440px"},Hq={name:"Transfer",common:fe,peers:{Checkbox:iu,Scrollbar:kr,Input:mn,Empty:xs,Button:Nr},self(e){const{iconColorDisabled:t,iconColor:r,fontWeight:n,fontSizeLarge:i,fontSizeMedium:a,fontSizeSmall:o,heightLarge:s,heightMedium:l,heightSmall:u,borderRadius:c,inputColor:f,tableHeaderColor:h,textColor1:d,textColorDisabled:v,textColor2:p,hoverColor:m}=e;return Object.assign(Object.assign({},$q),{itemHeightSmall:u,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:o,fontSizeMedium:a,fontSizeLarge:i,borderRadius:c,borderColor:"#0000",listColor:f,headerColor:h,titleTextColor:d,titleTextColorDisabled:v,extraTextColor:p,filterDividerColor:"#0000",itemTextColor:p,itemTextColorDisabled:v,itemColorPending:m,titleFontWeight:n,iconColor:r,iconColorDisabled:t})}},zq=Hq,Wq={name:"Skeleton",common:fe,self(e){const{heightSmall:t,heightMedium:r,heightLarge:n,borderRadius:i}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:i,heightSmall:t,heightMedium:r,heightLarge:n}}},Vq=()=>({}),Uq={name:"Equation",common:fe,self:Vq},Gq=Uq,jq={name:"dark",common:fe,Alert:WG,Anchor:jG,AutoComplete:JG,Avatar:yR,AvatarGroup:i9,BackTop:s9,Badge:u9,Breadcrumb:d9,Button:Nr,ButtonGroup:fj,Calendar:_9,Card:wR,Carousel:M9,Cascader:N9,Checkbox:iu,Code:AR,Collapse:H9,CollapseTransition:V9,ColorPicker:S9,DataTable:c7,DatePicker:x7,Descriptions:w7,Dialog:$R,Divider:O7,Drawer:B7,Dropdown:rb,DynamicInput:H7,DynamicTags:U7,Element:j7,Empty:xs,Ellipsis:LR,Equation:Gq,Form:K7,GradientText:Q7,Icon:h7,IconWrapper:tj,Image:Fq,Input:mn,InputNumber:dj,LegacyTransfer:zq,Layout:pj,List:yj,LoadingBar:_j,Log:Cj,Menu:Pj,Mention:wj,Message:uj,Modal:D7,Notification:aj,PageHeader:Dj,Pagination:MR,Popconfirm:kj,Popover:_s,Popselect:ER,Progress:XR,Radio:RR,Rate:$j,Result:Vj,Row:Bq,Scrollbar:kr,Select:IR,Skeleton:Wq,Slider:jj,Space:VR,Spin:Xj,Statistic:Qj,Steps:rq,Switch:aq,Table:uq,Tabs:dq,Tag:vR,Thing:gq,TimePicker:NR,Timeline:xq,Tooltip:$p,Transfer:Cq,Tree:JR,TreeSelect:Aq,Typography:Mq,Upload:Rq,Watermark:kq},qq={dev:{url:"http://agricultural.dev.com/admin-api",urlPattern:"http://agricultural.dev.com/admin-api",secondUrl:"http://localhost:8081",secondUrlPattern:"/second-url-pattern"},test:{url:"http://localhost:8080",urlPattern:"/url-pattern",secondUrl:"http://localhost:8081",secondUrlPattern:"/second-url-pattern"},prod:{url:"",urlPattern:"/admin-api",secondUrl:"",secondUrlPattern:""}};function Yq(e){const{VITE_SERVICE_ENV:t="dev"}=e;return qq[t]}function Xq(e=!1){const t=vt(e);function r(o){t.value=o}function n(){r(!0)}function i(){r(!1)}function a(){r(!t.value)}return{bool:t,setBool:r,setTrue:n,setFalse:i,toggle:a}}var Vy={},Kq={get exports(){return Vy},set exports(e){Vy=e}},Hd={},Zq={get exports(){return Hd},set exports(e){Hd=e}},eO=function(t,r){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(r,i)}},Qq=eO,nb=Object.prototype.toString,ib=function(e){return function(t){var r=nb.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())}}(Object.create(null));function bs(e){return e=e.toLowerCase(),function(r){return ib(r)===e}}function ab(e){return Array.isArray(e)}function zd(e){return typeof e>"u"}function Jq(e){return e!==null&&!zd(e)&&e.constructor!==null&&!zd(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var tO=bs("ArrayBuffer");function eY(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tO(e.buffer),t}function tY(e){return typeof e=="string"}function rY(e){return typeof e=="number"}function rO(e){return e!==null&&typeof e=="object"}function ud(e){if(ib(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var nY=bs("Date"),iY=bs("File"),aY=bs("Blob"),oY=bs("FileList");function ob(e){return nb.call(e)==="[object Function]"}function sY(e){return rO(e)&&ob(e.pipe)}function lY(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||nb.call(e)===t||ob(e.toString)&&e.toString()===t)}var uY=bs("URLSearchParams");function cY(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function fY(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function sb(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),ab(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Uy(){var e={};function t(i,a){ud(e[a])&&ud(i)?e[a]=Uy(e[a],i):ud(i)?e[a]=Uy({},i):ab(i)?e[a]=i.slice():e[a]=i}for(var r=0,n=arguments.length;r<n;r++)sb(arguments[r],t);return e}function hY(e,t,r){return sb(t,function(i,a){r&&typeof i=="function"?e[a]=Qq(i,r):e[a]=i}),e}function dY(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function vY(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)}function pY(e,t,r){var n,i,a,o={};t=t||{};do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)a=n[i],o[a]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t}function gY(e,t,r){e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return n!==-1&&n===r}function mY(e){if(!e)return null;var t=e.length;if(zd(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r}var yY=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Jt={isArray:ab,isArrayBuffer:tO,isBuffer:Jq,isFormData:lY,isArrayBufferView:eY,isString:tY,isNumber:rY,isObject:rO,isPlainObject:ud,isUndefined:zd,isDate:nY,isFile:iY,isBlob:aY,isFunction:ob,isStream:sY,isURLSearchParams:uY,isStandardBrowserEnv:fY,forEach:sb,merge:Uy,extend:hY,trim:cY,stripBOM:dY,inherits:vY,toFlatObject:pY,kindOf:ib,kindOfTest:bs,endsWith:gY,toArray:mY,isTypedArray:yY,isFileList:oY},Is=Jt;function Rw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var nO=function(t,r,n){if(!r)return t;var i;if(n)i=n(r);else if(Is.isURLSearchParams(r))i=r.toString();else{var a=[];Is.forEach(r,function(l,u){l===null||typeof l>"u"||(Is.isArray(l)?u=u+"[]":l=[l],Is.forEach(l,function(f){Is.isDate(f)?f=f.toISOString():Is.isObject(f)&&(f=JSON.stringify(f)),a.push(Rw(u)+"="+Rw(f))}))}),i=a.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},xY=Jt;function Hp(){this.handlers=[]}Hp.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};Hp.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Hp.prototype.forEach=function(t){xY.forEach(this.handlers,function(n){n!==null&&t(n)})};var _Y=Hp,bY=Jt,CY=function(t,r){bY.forEach(t,function(i,a){a!==r&&a.toUpperCase()===r.toUpperCase()&&(t[r]=i,delete t[a])})},iO=Jt;function Ol(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}iO.inherits(Ol,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var aO=Ol.prototype,oO={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){oO[e]={value:e}});Object.defineProperties(Ol,oO);Object.defineProperty(aO,"isAxiosError",{value:!0});Ol.from=function(e,t,r,n,i,a){var o=Object.create(aO);return iO.toFlatObject(e,o,function(l){return l!==Error.prototype}),Ol.call(o,e.message,t,r,n,i),o.name=e.name,a&&Object.assign(o,a),o};var au=Ol,sO={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bn=Jt;function SY(e,t){t=t||new FormData;var r=[];function n(a){return a===null?"":bn.isDate(a)?a.toISOString():bn.isArrayBuffer(a)||bn.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,o){if(bn.isPlainObject(a)||bn.isArray(a)){if(r.indexOf(a)!==-1)throw Error("Circular reference detected in "+o);r.push(a),bn.forEach(a,function(l,u){if(!bn.isUndefined(l)){var c=o?o+"."+u:u,f;if(l&&!o&&typeof l=="object"){if(bn.endsWith(u,"{}"))l=JSON.stringify(l);else if(bn.endsWith(u,"[]")&&(f=bn.toArray(l))){f.forEach(function(h){!bn.isUndefined(h)&&t.append(c,n(h))});return}}i(l,c)}}),r.pop()}else t.append(o,n(a))}return i(e),t}var lO=SY,tg,Ow;function wY(){if(Ow)return tg;Ow=1;var e=au;return tg=function(r,n,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?r(i):n(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},tg}var rg,kw;function TY(){if(kw)return rg;kw=1;var e=Jt;return rg=e.isStandardBrowserEnv()?function(){return{write:function(n,i,a,o,s,l){var u=[];u.push(n+"="+encodeURIComponent(i)),e.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(s)&&u.push("domain="+s),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),rg}var AY=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},EY=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t},PY=AY,IY=EY,uO=function(t,r){return t&&!PY(r)?IY(t,r):r},ng,Nw;function MY(){if(Nw)return ng;Nw=1;var e=Jt,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return ng=function(n){var i={},a,o,s;return n&&e.forEach(n.split(`
`),function(u){if(s=u.indexOf(":"),a=e.trim(u.substr(0,s)).toLowerCase(),o=e.trim(u.substr(s+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},ng}var ig,Bw;function DY(){if(Bw)return ig;Bw=1;var e=Jt;return ig=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function a(o){var s=o;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=a(window.location.href),function(s){var l=e.isString(s)?a(s):s;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),ig}var ag,Fw;function zp(){if(Fw)return ag;Fw=1;var e=au,t=Jt;function r(n){e.call(this,n??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(r,e,{__CANCEL__:!0}),ag=r,ag}var og,$w;function LY(){return $w||($w=1,og=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}),og}var sg,Hw;function zw(){if(Hw)return sg;Hw=1;var e=Jt,t=wY(),r=TY(),n=nO,i=uO,a=MY(),o=DY(),s=sO,l=au,u=zp(),c=LY();return sg=function(h){return new Promise(function(v,p){var m=h.data,g=h.headers,y=h.responseType,x;function _(){h.cancelToken&&h.cancelToken.unsubscribe(x),h.signal&&h.signal.removeEventListener("abort",x)}e.isFormData(m)&&e.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(h.auth){var C=h.auth.username||"",S=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";g.Authorization="Basic "+btoa(C+":"+S)}var w=i(h.baseURL,h.url);b.open(h.method.toUpperCase(),n(w,h.params,h.paramsSerializer),!0),b.timeout=h.timeout;function E(){if(b){var P="getAllResponseHeaders"in b?a(b.getAllResponseHeaders()):null,D=!y||y==="text"||y==="json"?b.responseText:b.response,L={data:D,status:b.status,statusText:b.statusText,headers:P,config:h,request:b};t(function(B){v(B),_()},function(B){p(B),_()},L),b=null}}if("onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(E)},b.onabort=function(){b&&(p(new l("Request aborted",l.ECONNABORTED,h,b)),b=null)},b.onerror=function(){p(new l("Network Error",l.ERR_NETWORK,h,b,b)),b=null},b.ontimeout=function(){var D=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",L=h.transitional||s;h.timeoutErrorMessage&&(D=h.timeoutErrorMessage),p(new l(D,L.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,h,b)),b=null},e.isStandardBrowserEnv()){var T=(h.withCredentials||o(w))&&h.xsrfCookieName?r.read(h.xsrfCookieName):void 0;T&&(g[h.xsrfHeaderName]=T)}"setRequestHeader"in b&&e.forEach(g,function(D,L){typeof m>"u"&&L.toLowerCase()==="content-type"?delete g[L]:b.setRequestHeader(L,D)}),e.isUndefined(h.withCredentials)||(b.withCredentials=!!h.withCredentials),y&&y!=="json"&&(b.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&b.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(x=function(P){b&&(p(!P||P&&P.type?new u:P),b.abort(),b=null)},h.cancelToken&&h.cancelToken.subscribe(x),h.signal&&(h.signal.aborted?x():h.signal.addEventListener("abort",x))),m||(m=null);var A=c(w);if(A&&["http","https","file"].indexOf(A)===-1){p(new l("Unsupported protocol "+A+":",l.ERR_BAD_REQUEST,h));return}b.send(m)})},sg}var lg,Ww;function RY(){return Ww||(Ww=1,lg=null),lg}var Wt=Jt,Vw=CY,Uw=au,OY=sO,kY=lO,NY={"Content-Type":"application/x-www-form-urlencoded"};function Gw(e,t){!Wt.isUndefined(e)&&Wt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function BY(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=zw()),e}function FY(e,t,r){if(Wt.isString(e))try{return(t||JSON.parse)(e),Wt.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var Wp={transitional:OY,adapter:BY(),transformRequest:[function(t,r){if(Vw(r,"Accept"),Vw(r,"Content-Type"),Wt.isFormData(t)||Wt.isArrayBuffer(t)||Wt.isBuffer(t)||Wt.isStream(t)||Wt.isFile(t)||Wt.isBlob(t))return t;if(Wt.isArrayBufferView(t))return t.buffer;if(Wt.isURLSearchParams(t))return Gw(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n=Wt.isObject(t),i=r&&r["Content-Type"],a;if((a=Wt.isFileList(t))||n&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return kY(a?{"files[]":t}:t,o&&new o)}else if(n||i==="application/json")return Gw(r,"application/json"),FY(t);return t}],transformResponse:[function(t){var r=this.transitional||Wp.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,a=!n&&this.responseType==="json";if(a||i&&Wt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Uw.from(o,Uw.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:RY()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Wt.forEach(["delete","get","head"],function(t){Wp.headers[t]={}});Wt.forEach(["post","put","patch"],function(t){Wp.headers[t]=Wt.merge(NY)});var lb=Wp,$Y=Jt,HY=lb,zY=function(t,r,n){var i=this||HY;return $Y.forEach(n,function(o){t=o.call(i,t,r)}),t},ug,jw;function cO(){return jw||(jw=1,ug=function(t){return!!(t&&t.__CANCEL__)}),ug}var qw=Jt,cg=zY,WY=cO(),VY=lb,UY=zp();function fg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new UY}var GY=function(t){fg(t),t.headers=t.headers||{},t.data=cg.call(t,t.data,t.headers,t.transformRequest),t.headers=qw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),qw.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var r=t.adapter||VY.adapter;return r(t).then(function(i){return fg(t),i.data=cg.call(t,i.data,i.headers,t.transformResponse),i},function(i){return WY(i)||(fg(t),i&&i.response&&(i.response.data=cg.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Fr=Jt,fO=function(t,r){r=r||{};var n={};function i(c,f){return Fr.isPlainObject(c)&&Fr.isPlainObject(f)?Fr.merge(c,f):Fr.isPlainObject(f)?Fr.merge({},f):Fr.isArray(f)?f.slice():f}function a(c){if(Fr.isUndefined(r[c])){if(!Fr.isUndefined(t[c]))return i(void 0,t[c])}else return i(t[c],r[c])}function o(c){if(!Fr.isUndefined(r[c]))return i(void 0,r[c])}function s(c){if(Fr.isUndefined(r[c])){if(!Fr.isUndefined(t[c]))return i(void 0,t[c])}else return i(void 0,r[c])}function l(c){if(c in r)return i(t[c],r[c]);if(c in t)return i(void 0,t[c])}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return Fr.forEach(Object.keys(t).concat(Object.keys(r)),function(f){var h=u[f]||a,d=h(f);Fr.isUndefined(d)&&h!==l||(n[f]=d)}),n},hg,Yw;function hO(){return Yw||(Yw=1,hg={version:"0.27.2"}),hg}var jY=hO().version,ga=au,ub={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){ub[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Xw={};ub.transitional=function(t,r,n){function i(a,o){return"[Axios v"+jY+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return function(a,o,s){if(t===!1)throw new ga(i(o," has been removed"+(r?" in "+r:"")),ga.ERR_DEPRECATED);return r&&!Xw[o]&&(Xw[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,o,s):!0}};function qY(e,t,r){if(typeof e!="object")throw new ga("options must be an object",ga.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],o=t[a];if(o){var s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new ga("option "+a+" must be "+l,ga.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ga("Unknown option "+a,ga.ERR_BAD_OPTION)}}var YY={assertOptions:qY,validators:ub},dO=Jt,XY=nO,Kw=_Y,Zw=GY,Vp=fO,KY=uO,vO=YY,Ms=vO.validators;function kl(e){this.defaults=e,this.interceptors={request:new Kw,response:new Kw}}kl.prototype.request=function(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Vp(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&vO.assertOptions(n,{silentJSONParsing:Ms.transitional(Ms.boolean),forcedJSONParsing:Ms.transitional(Ms.boolean),clarifyTimeoutError:Ms.transitional(Ms.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(a=a&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var s;if(!a){var l=[Zw,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),s=Promise.resolve(r);l.length;)s=s.then(l.shift(),l.shift());return s}for(var u=r;i.length;){var c=i.shift(),f=i.shift();try{u=c(u)}catch(h){f(h);break}}try{s=Zw(u)}catch(h){return Promise.reject(h)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};kl.prototype.getUri=function(t){t=Vp(this.defaults,t);var r=KY(t.baseURL,t.url);return XY(r,t.params,t.paramsSerializer)};dO.forEach(["delete","get","head","options"],function(t){kl.prototype[t]=function(r,n){return this.request(Vp(n||{},{method:t,url:r,data:(n||{}).data}))}});dO.forEach(["post","put","patch"],function(t){function r(n){return function(a,o,s){return this.request(Vp(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}kl.prototype[t]=r(),kl.prototype[t+"Form"]=r(!0)});var ZY=kl,dg,Qw;function QY(){if(Qw)return dg;Qw=1;var e=zp();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var i=this;this.promise.then(function(a){if(i._listeners){var o,s=i._listeners.length;for(o=0;o<s;o++)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,s=new Promise(function(l){i.subscribe(l),o=l}).then(a);return s.cancel=function(){i.unsubscribe(o)},s},r(function(o){i.reason||(i.reason=new e(o),n(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var n,i=new t(function(o){n=o});return{token:i,cancel:n}},dg=t,dg}var vg,Jw;function JY(){return Jw||(Jw=1,vg=function(t){return function(n){return t.apply(null,n)}}),vg}var pg,eT;function eX(){if(eT)return pg;eT=1;var e=Jt;return pg=function(r){return e.isObject(r)&&r.isAxiosError===!0},pg}var tT=Jt,tX=eO,cd=ZY,rX=fO,nX=lb;function pO(e){var t=new cd(e),r=tX(cd.prototype.request,t);return tT.extend(r,cd.prototype,t),tT.extend(r,t),r.create=function(i){return pO(rX(e,i))},r}var Or=pO(nX);Or.Axios=cd;Or.CanceledError=zp();Or.CancelToken=QY();Or.isCancel=cO();Or.VERSION=hO().version;Or.toFormData=lO;Or.AxiosError=au;Or.Cancel=Or.CanceledError;Or.all=function(t){return Promise.all(t)};Or.spread=JY();Or.isAxiosError=eX();Zq.exports=Or;Hd.default=Or;(function(e){e.exports=Hd})(Kq);const iX=_7(Vy);var Gy=(e=>(e.json="application/json",e.formUrlencoded="application/x-www-form-urlencoded",e.formData="multipart/form-data",e))(Gy||{}),Lf=(e=>(e.number="[object Number]",e.string="[object String]",e.boolean="[object Boolean]",e.null="[object Null]",e.undefined="[object Undefined]",e.object="[object Object]",e.array="[object Array]",e.function="[object Function]",e.date="[object Date]",e.regexp="[object RegExp]",e.promise="[object Promise]",e.set="[object Set]",e.map="[object Map]",e.file="[object File]",e))(Lf||{}),ec=(e=>(e.vertical="左侧菜单模式",e.horizontal="顶部菜单模式",e["vertical-mix"]="左侧菜单混合模式",e["horizontal-mix"]="顶部菜单混合模式",e))(ec||{}),jy=(e=>(e.chrome="谷歌风格",e.button="按钮风格",e))(jy||{}),fd=(e=>(e["flex-start"]="居左",e.center="居中",e["flex-end"]="居右",e))(fd||{}),Ao=(e=>(e["zoom-fade"]="渐变",e["zoom-out"]="闪现",e["fade-slide"]="滑动",e.fade="消退",e["fade-bottom"]="底部消退",e["fade-scale"]="缩放消退",e))(Ao||{});function s_e(e){return Object.prototype.toString.call(e)===Lf.string}function gO(e){return Object.prototype.toString.call(e)===Lf.array}function aX(e){return Object.prototype.toString.call(e)===Lf.function}function rT(e){return Object.prototype.toString.call(e)===Lf.file}var oX={grad:.9,turn:360,rad:360/(2*Math.PI)},Ci=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Vt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},hn=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},mO=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},nT=function(e){return{r:hn(e.r,0,255),g:hn(e.g,0,255),b:hn(e.b,0,255),a:hn(e.a)}},gg=function(e){return{r:Vt(e.r),g:Vt(e.g),b:Vt(e.b),a:Vt(e.a,3)}},sX=/^#([0-9a-f]{3,8})$/i,ah=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},yO=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,a=Math.max(t,r,n),o=a-Math.min(t,r,n),s=o?a===t?(r-n)/o:a===r?2+(n-t)/o:4+(t-r)/o:0;return{h:60*(s<0?s+6:s),s:a?o/a*100:0,v:a/255*100,a:i}},xO=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),o=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),u=a%6;return{r:255*[n,s,o,o,l,n][u],g:255*[l,n,n,s,o,o][u],b:255*[o,o,l,n,n,s][u],a:i}},iT=function(e){return{h:mO(e.h),s:hn(e.s,0,100),l:hn(e.l,0,100),a:hn(e.a)}},aT=function(e){return{h:Vt(e.h),s:Vt(e.s),l:Vt(e.l),a:Vt(e.a,3)}},oT=function(e){return xO((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},mc=function(e){return{h:(t=yO(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},lX=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,uX=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,cX=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,fX=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qy={string:[[function(e){var t=sX.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Vt(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Vt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=cX.exec(e)||fX.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:nT({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=lX.exec(e)||uX.exec(e);if(!t)return null;var r,n,i=iT({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(oX[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return oT(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,a=i===void 0?1:i;return Ci(t)&&Ci(r)&&Ci(n)?nT({r:Number(t),g:Number(r),b:Number(n),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,a=i===void 0?1:i;if(!Ci(t)||!Ci(r)||!Ci(n))return null;var o=iT({h:Number(t),s:Number(r),l:Number(n),a:Number(a)});return oT(o)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,a=i===void 0?1:i;if(!Ci(t)||!Ci(r)||!Ci(n))return null;var o=function(s){return{h:mO(s.h),s:hn(s.s,0,100),v:hn(s.v,0,100),a:hn(s.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(a)});return xO(o)},"hsv"]]},sT=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},hX=function(e){return typeof e=="string"?sT(e.trim(),qy.string):typeof e=="object"&&e!==null?sT(e,qy.object):[null,void 0]},mg=function(e,t){var r=mc(e);return{h:r.h,s:hn(r.s+100*t,0,100),l:r.l,a:r.a}},yg=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},lT=function(e,t){var r=mc(e);return{h:r.h,s:r.s,l:hn(r.l+100*t,0,100),a:r.a}},Yy=function(){function e(t){this.parsed=hX(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Vt(yg(this.rgba),2)},e.prototype.isDark=function(){return yg(this.rgba)<.5},e.prototype.isLight=function(){return yg(this.rgba)>=.5},e.prototype.toHex=function(){return t=gg(this.rgba),r=t.r,n=t.g,i=t.b,o=(a=t.a)<1?ah(Vt(255*a)):"","#"+ah(r)+ah(n)+ah(i)+o;var t,r,n,i,a,o},e.prototype.toRgb=function(){return gg(this.rgba)},e.prototype.toRgbString=function(){return t=gg(this.rgba),r=t.r,n=t.g,i=t.b,(a=t.a)<1?"rgba("+r+", "+n+", "+i+", "+a+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,a},e.prototype.toHsl=function(){return aT(mc(this.rgba))},e.prototype.toHslString=function(){return t=aT(mc(this.rgba)),r=t.h,n=t.s,i=t.l,(a=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+a+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,a},e.prototype.toHsv=function(){return t=yO(this.rgba),{h:Vt(t.h),s:Vt(t.s),v:Vt(t.v),a:Vt(t.a,3)};var t},e.prototype.invert=function(){return rn({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),rn(mg(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),rn(mg(this.rgba,-t))},e.prototype.grayscale=function(){return rn(mg(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),rn(lT(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),rn(lT(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?rn({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Vt(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=mc(this.rgba);return typeof t=="number"?rn({h:t,s:r.s,l:r.l,a:r.a}):Vt(r.h)},e.prototype.isEqual=function(t){return this.toHex()===rn(t).toHex()},e}(),rn=function(e){return e instanceof Yy?e:new Yy(e)},uT=[],dX=function(e){e.forEach(function(t){uT.indexOf(t)<0&&(t(Yy,qy),uT.push(t))})},ni=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},xg=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},_g=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},cb=96.422,fb=100,hb=82.521,vX=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:_g(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:_g(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:_g(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:ni(r.r,0,255),g:ni(r.g,0,255),b:ni(r.b,0,255),a:ni(r.a)}},pX=function(e){var t=xg(e.r),r=xg(e.g),n=xg(e.b);return function(i){return{x:ni(i.x,0,cb),y:ni(i.y,0,fb),z:ni(i.z,0,hb),a:ni(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},yc=216/24389,gl=24389/27,cT=function(e){var t=pX(e),r=t.x/cb,n=t.y/fb,i=t.z/hb;return r=r>yc?Math.cbrt(r):(gl*r+16)/116,{l:116*(n=n>yc?Math.cbrt(n):(gl*n+16)/116)-16,a:500*(r-n),b:200*(n-(i=i>yc?Math.cbrt(i):(gl*i+16)/116)),alpha:t.a}},gX=function(e,t,r){var n,i=cT(e),a=cT(t);return function(o){var s=(o.l+16)/116,l=o.a/500+s,u=s-o.b/200;return vX({x:(Math.pow(l,3)>yc?Math.pow(l,3):(116*l-16)/gl)*cb,y:(o.l>8?Math.pow((o.l+16)/116,3):o.l/gl)*fb,z:(Math.pow(u,3)>yc?Math.pow(u,3):(116*u-16)/gl)*hb,a:o.alpha})}({l:ni((n={l:i.l*(1-r)+a.l*r,a:i.a*(1-r)+a.a*r,b:i.b*(1-r)+a.b*r,alpha:i.alpha*(1-r)+a.alpha*r}).l,0,400),a:n.a,b:n.b,alpha:ni(n.alpha)})};function mX(e){function t(r,n,i){i===void 0&&(i=5);for(var a=[],o=1/(i-1),s=0;s<=i-1;s++)a.push(r.mix(n,o*s));return a}e.prototype.mix=function(r,n){n===void 0&&(n=.5);var i=r instanceof e?r:new e(r),a=gX(this.toRgb(),i.toRgb(),n);return new e(a)},e.prototype.tints=function(r){return t(this,"#fff",r)},e.prototype.shades=function(r){return t(this,"#000",r)},e.prototype.tones=function(r){return t(this,"#808080",r)}}dX([mX]);const oh=2,fT=16,yX=5,xX=5,_X=15,Xy=5,bX=4;function Wd(e,t){if(t===6)return e;const r=t<6,n=rn(e).toHsv(),i=r?Xy+1-t:t-Xy-1,a={h:CX(n,i,r),s:SX(n,i,r),v:wX(n,i,r)};return rn(a).toHex()}function CX(e,t,r){let n;return e.h>=60&&e.h<=240?n=r?e.h-oh*t:e.h+oh*t:n=r?e.h+oh*t:e.h-oh*t,n<0?n+=360:n>=360&&(n-=360),n}function SX(e,t,r){let n;return r?n=e.s-fT*t:t===bX?n=e.s+fT:n=e.s+yX*t,n>100&&(n=100),r&&t===Xy&&n>10&&(n=10),n<6&&(n=6),n}function wX(e,t,r){let n;return r?n=e.v+xX*t:n=e.v-_X*t,n>100&&(n=100),n}function TX(e,t){return rn(e).alpha(t).toHex()}function AX(e){e.some(t=>{const[r,n]=t;return r&&n(),r})}var Ky={},EX={get exports(){return Ky},set exports(e){Ky=e}};function PX(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vd={},IX={get exports(){return Vd},set exports(e){Vd=e}};const MX={},DX=Object.freeze(Object.defineProperty({__proto__:null,default:MX},Symbol.toStringTag,{value:"Module"})),_O=BR(DX);var hT;function Ze(){return hT||(hT=1,function(e,t){(function(r,n){e.exports=n()})(Be,function(){var r=r||function(n,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof Be<"u"&&Be.crypto&&(a=Be.crypto),!a&&typeof PX=="function")try{a=_O}catch{}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(x){var _;return y.prototype=x,_=new y,y.prototype=null,_}}(),l={},u=l.lib={},c=u.Base=function(){return{extend:function(y){var x=s(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=c.extend({init:function(y,x){y=this.words=y||[],x!=i?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||d).stringify(this)},concat:function(y){var x=this.words,_=y.words,b=this.sigBytes,C=y.sigBytes;if(this.clamp(),b%4)for(var S=0;S<C;S++){var w=_[S>>>2]>>>24-S%4*8&255;x[b+S>>>2]|=w<<24-(b+S)%4*8}else for(var E=0;E<C;E+=4)x[b+E>>>2]=_[E>>>2];return this.sigBytes+=C,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=n.ceil(x/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],_=0;_<y;_+=4)x.push(o());return new f.init(x,y)}}),h=l.enc={},d=h.Hex={stringify:function(y){for(var x=y.words,_=y.sigBytes,b=[],C=0;C<_;C++){var S=x[C>>>2]>>>24-C%4*8&255;b.push((S>>>4).toString(16)),b.push((S&15).toString(16))}return b.join("")},parse:function(y){for(var x=y.length,_=[],b=0;b<x;b+=2)_[b>>>3]|=parseInt(y.substr(b,2),16)<<24-b%8*4;return new f.init(_,x/2)}},v=h.Latin1={stringify:function(y){for(var x=y.words,_=y.sigBytes,b=[],C=0;C<_;C++){var S=x[C>>>2]>>>24-C%4*8&255;b.push(String.fromCharCode(S))}return b.join("")},parse:function(y){for(var x=y.length,_=[],b=0;b<x;b++)_[b>>>2]|=(y.charCodeAt(b)&255)<<24-b%4*8;return new f.init(_,x)}},p=h.Utf8={stringify:function(y){try{return decodeURIComponent(escape(v.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return v.parse(unescape(encodeURIComponent(y)))}},m=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=p.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,_=this._data,b=_.words,C=_.sigBytes,S=this.blockSize,w=S*4,E=C/w;y?E=n.ceil(E):E=n.max((E|0)-this._minBufferSize,0);var T=E*S,A=n.min(T*4,C);if(T){for(var P=0;P<T;P+=S)this._doProcessBlock(b,P);x=b.splice(0,T),_.sigBytes-=A}return new f.init(x,A)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});u.Hasher=m.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var x=this._doFinalize();return x},blockSize:16,_createHelper:function(y){return function(x,_){return new y.init(_).finalize(x)}},_createHmacHelper:function(y){return function(x,_){return new g.HMAC.init(y,_).finalize(x)}}});var g=l.algo={};return l}(Math);return r})}(IX)),Vd}var Ud={},LX={get exports(){return Ud},set exports(e){Ud=e}},dT;function Up(){return dT||(dT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(n){var i=r,a=i.lib,o=a.Base,s=a.WordArray,l=i.x64={};l.Word=o.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=o.extend({init:function(u,c){u=this.words=u||[],c!=n?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,f=[],h=0;h<c;h++){var d=u[h];f.push(d.high),f.push(d.low)}return s.create(f,this.sigBytes)},clone:function(){for(var u=o.clone.call(this),c=u.words=this.words.slice(0),f=c.length,h=0;h<f;h++)c[h]=c[h].clone();return u}})}(),r})}(LX)),Ud}var Gd={},RX={get exports(){return Gd},set exports(e){Gd=e}},vT;function OX(){return vT||(vT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,i=n.lib,a=i.WordArray,o=a.init,s=a.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var u=l.byteLength,c=[],f=0;f<u;f++)c[f>>>2]|=l[f]<<24-f%4*8;o.call(this,c,u)}else o.apply(this,arguments)};s.prototype=a}}(),r.lib.WordArray})}(RX)),Gd}var jd={},kX={get exports(){return jd},set exports(e){jd=e}},pT;function NX(){return pT||(pT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=n.enc;o.Utf16=o.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],h=0;h<c;h+=2){var d=u[h>>>2]>>>16-h%4*8&65535;f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f<u;f++)c[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return a.create(c,u*2)}},o.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],h=0;h<c;h+=2){var d=s(u[h>>>2]>>>16-h%4*8&65535);f.push(String.fromCharCode(d))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f<u;f++)c[f>>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return a.create(c,u*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),r.enc.Utf16})}(kX)),jd}var qd={},BX={get exports(){return qd},set exports(e){qd=e}},gT;function ou(){return gT||(gT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=n.enc;o.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var h=[],d=0;d<c;d+=3)for(var v=u[d>>>2]>>>24-d%4*8&255,p=u[d+1>>>2]>>>24-(d+1)%4*8&255,m=u[d+2>>>2]>>>24-(d+2)%4*8&255,g=v<<16|p<<8|m,y=0;y<4&&d+y*.75<c;y++)h.push(f.charAt(g>>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;h.length%4;)h.push(x);return h.join("")},parse:function(l){var u=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<c.length;h++)f[c.charCodeAt(h)]=h}var d=c.charAt(64);if(d){var v=l.indexOf(d);v!==-1&&(u=v)}return s(l,u,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(l,u,c){for(var f=[],h=0,d=0;d<u;d++)if(d%4){var v=c[l.charCodeAt(d-1)]<<d%4*2,p=c[l.charCodeAt(d)]>>>6-d%4*2,m=v|p;f[h>>>2]|=m<<24-h%4*8,h++}return a.create(f,h)}}(),r.enc.Base64})}(BX)),qd}var Yd={},FX={get exports(){return Yd},set exports(e){Yd=e}},mT;function $X(){return mT||(mT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=n.enc;o.Base64url={stringify:function(l,u=!0){var c=l.words,f=l.sigBytes,h=u?this._safe_map:this._map;l.clamp();for(var d=[],v=0;v<f;v+=3)for(var p=c[v>>>2]>>>24-v%4*8&255,m=c[v+1>>>2]>>>24-(v+1)%4*8&255,g=c[v+2>>>2]>>>24-(v+2)%4*8&255,y=p<<16|m<<8|g,x=0;x<4&&v+x*.75<f;x++)d.push(h.charAt(y>>>6*(3-x)&63));var _=h.charAt(64);if(_)for(;d.length%4;)d.push(_);return d.join("")},parse:function(l,u=!0){var c=l.length,f=u?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var d=0;d<f.length;d++)h[f.charCodeAt(d)]=d}var v=f.charAt(64);if(v){var p=l.indexOf(v);p!==-1&&(c=p)}return s(l,c,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(l,u,c){for(var f=[],h=0,d=0;d<u;d++)if(d%4){var v=c[l.charCodeAt(d-1)]<<d%4*2,p=c[l.charCodeAt(d)]>>>6-d%4*2,m=v|p;f[h>>>2]|=m<<24-h%4*8,h++}return a.create(f,h)}}(),r.enc.Base64url})}(FX)),Yd}var Xd={},HX={get exports(){return Xd},set exports(e){Xd=e}},yT;function su(){return yT||(yT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(n){var i=r,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,u=[];(function(){for(var p=0;p<64;p++)u[p]=n.abs(n.sin(p+1))*4294967296|0})();var c=l.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var g=0;g<16;g++){var y=m+g,x=p[y];p[y]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var _=this._hash.words,b=p[m+0],C=p[m+1],S=p[m+2],w=p[m+3],E=p[m+4],T=p[m+5],A=p[m+6],P=p[m+7],D=p[m+8],L=p[m+9],N=p[m+10],B=p[m+11],G=p[m+12],$=p[m+13],Y=p[m+14],J=p[m+15],H=_[0],W=_[1],X=_[2],q=_[3];H=f(H,W,X,q,b,7,u[0]),q=f(q,H,W,X,C,12,u[1]),X=f(X,q,H,W,S,17,u[2]),W=f(W,X,q,H,w,22,u[3]),H=f(H,W,X,q,E,7,u[4]),q=f(q,H,W,X,T,12,u[5]),X=f(X,q,H,W,A,17,u[6]),W=f(W,X,q,H,P,22,u[7]),H=f(H,W,X,q,D,7,u[8]),q=f(q,H,W,X,L,12,u[9]),X=f(X,q,H,W,N,17,u[10]),W=f(W,X,q,H,B,22,u[11]),H=f(H,W,X,q,G,7,u[12]),q=f(q,H,W,X,$,12,u[13]),X=f(X,q,H,W,Y,17,u[14]),W=f(W,X,q,H,J,22,u[15]),H=h(H,W,X,q,C,5,u[16]),q=h(q,H,W,X,A,9,u[17]),X=h(X,q,H,W,B,14,u[18]),W=h(W,X,q,H,b,20,u[19]),H=h(H,W,X,q,T,5,u[20]),q=h(q,H,W,X,N,9,u[21]),X=h(X,q,H,W,J,14,u[22]),W=h(W,X,q,H,E,20,u[23]),H=h(H,W,X,q,L,5,u[24]),q=h(q,H,W,X,Y,9,u[25]),X=h(X,q,H,W,w,14,u[26]),W=h(W,X,q,H,D,20,u[27]),H=h(H,W,X,q,$,5,u[28]),q=h(q,H,W,X,S,9,u[29]),X=h(X,q,H,W,P,14,u[30]),W=h(W,X,q,H,G,20,u[31]),H=d(H,W,X,q,T,4,u[32]),q=d(q,H,W,X,D,11,u[33]),X=d(X,q,H,W,B,16,u[34]),W=d(W,X,q,H,Y,23,u[35]),H=d(H,W,X,q,C,4,u[36]),q=d(q,H,W,X,E,11,u[37]),X=d(X,q,H,W,P,16,u[38]),W=d(W,X,q,H,N,23,u[39]),H=d(H,W,X,q,$,4,u[40]),q=d(q,H,W,X,b,11,u[41]),X=d(X,q,H,W,w,16,u[42]),W=d(W,X,q,H,A,23,u[43]),H=d(H,W,X,q,L,4,u[44]),q=d(q,H,W,X,G,11,u[45]),X=d(X,q,H,W,J,16,u[46]),W=d(W,X,q,H,S,23,u[47]),H=v(H,W,X,q,b,6,u[48]),q=v(q,H,W,X,P,10,u[49]),X=v(X,q,H,W,Y,15,u[50]),W=v(W,X,q,H,T,21,u[51]),H=v(H,W,X,q,G,6,u[52]),q=v(q,H,W,X,w,10,u[53]),X=v(X,q,H,W,N,15,u[54]),W=v(W,X,q,H,C,21,u[55]),H=v(H,W,X,q,D,6,u[56]),q=v(q,H,W,X,J,10,u[57]),X=v(X,q,H,W,A,15,u[58]),W=v(W,X,q,H,$,21,u[59]),H=v(H,W,X,q,E,6,u[60]),q=v(q,H,W,X,B,10,u[61]),X=v(X,q,H,W,S,15,u[62]),W=v(W,X,q,H,L,21,u[63]),_[0]=_[0]+H|0,_[1]=_[1]+W|0,_[2]=_[2]+X|0,_[3]=_[3]+q|0},_doFinalize:function(){var p=this._data,m=p.words,g=this._nDataBytes*8,y=p.sigBytes*8;m[y>>>5]|=128<<24-y%32;var x=n.floor(g/4294967296),_=g;m[(y+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,m[(y+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var b=this._hash,C=b.words,S=0;S<4;S++){var w=C[S];C[S]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return b},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});function f(p,m,g,y,x,_,b){var C=p+(m&g|~m&y)+x+b;return(C<<_|C>>>32-_)+m}function h(p,m,g,y,x,_,b){var C=p+(m&y|g&~y)+x+b;return(C<<_|C>>>32-_)+m}function d(p,m,g,y,x,_,b){var C=p+(m^g^y)+x+b;return(C<<_|C>>>32-_)+m}function v(p,m,g,y,x,_,b){var C=p+(g^(m|~y))+x+b;return(C<<_|C>>>32-_)+m}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)}(Math),r.MD5})}(HX)),Xd}var Kd={},zX={get exports(){return Kd},set exports(e){Kd=e}},xT;function db(){return xT||(xT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=i.Hasher,s=n.algo,l=[],u=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var h=this._hash.words,d=h[0],v=h[1],p=h[2],m=h[3],g=h[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var x=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=x<<1|x>>>31}var _=(d<<5|d>>>27)+g+l[y];y<20?_+=(v&p|~v&m)+1518500249:y<40?_+=(v^p^m)+1859775393:y<60?_+=(v&p|v&m|p&m)-1894007588:_+=(v^p^m)-899497514,g=m,m=p,p=v<<30|v>>>2,v=d,d=_}h[0]=h[0]+d|0,h[1]=h[1]+v|0,h[2]=h[2]+p|0,h[3]=h[3]+m|0,h[4]=h[4]+g|0},_doFinalize:function(){var c=this._data,f=c.words,h=this._nDataBytes*8,d=c.sigBytes*8;return f[d>>>5]|=128<<24-d%32,f[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),f[(d+64>>>9<<4)+15]=h,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=o.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=o._createHelper(u),n.HmacSHA1=o._createHmacHelper(u)}(),r.SHA1})}(zX)),Kd}var Zd={},WX={get exports(){return Zd},set exports(e){Zd=e}},_T;function bO(){return _T||(_T=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){return function(n){var i=r,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,u=[],c=[];(function(){function d(g){for(var y=n.sqrt(g),x=2;x<=y;x++)if(!(g%x))return!1;return!0}function v(g){return(g-(g|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(u[m]=v(n.pow(p,1/2))),c[m]=v(n.pow(p,1/3)),m++),p++})();var f=[],h=l.SHA256=s.extend({_doReset:function(){this._hash=new o.init(u.slice(0))},_doProcessBlock:function(d,v){for(var p=this._hash.words,m=p[0],g=p[1],y=p[2],x=p[3],_=p[4],b=p[5],C=p[6],S=p[7],w=0;w<64;w++){if(w<16)f[w]=d[v+w]|0;else{var E=f[w-15],T=(E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3,A=f[w-2],P=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;f[w]=T+f[w-7]+P+f[w-16]}var D=_&b^~_&C,L=m&g^m&y^g&y,N=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),B=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),G=S+B+D+c[w]+f[w],$=N+L;S=C,C=b,b=_,_=x+G|0,x=y,y=g,g=m,m=G+$|0}p[0]=p[0]+m|0,p[1]=p[1]+g|0,p[2]=p[2]+y|0,p[3]=p[3]+x|0,p[4]=p[4]+_|0,p[5]=p[5]+b|0,p[6]=p[6]+C|0,p[7]=p[7]+S|0},_doFinalize:function(){var d=this._data,v=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return v[m>>>5]|=128<<24-m%32,v[(m+64>>>9<<4)+14]=n.floor(p/4294967296),v[(m+64>>>9<<4)+15]=p,d.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});i.SHA256=s._createHelper(h),i.HmacSHA256=s._createHmacHelper(h)}(Math),r.SHA256})}(WX)),Zd}var Qd={},VX={get exports(){return Qd},set exports(e){Qd=e}},bT;function UX(){return bT||(bT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),bO())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=n.algo,s=o.SHA256,l=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});n.SHA224=s._createHelper(l),n.HmacSHA224=s._createHmacHelper(l)}(),r.SHA224})}(VX)),Qd}var Jd={},GX={get exports(){return Jd},set exports(e){Jd=e}},CT;function CO(){return CT||(CT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),Up())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.Hasher,o=n.x64,s=o.Word,l=o.WordArray,u=n.algo;function c(){return s.create.apply(s,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],h=[];(function(){for(var v=0;v<80;v++)h[v]=c()})();var d=u.SHA512=a.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(v,p){for(var m=this._hash.words,g=m[0],y=m[1],x=m[2],_=m[3],b=m[4],C=m[5],S=m[6],w=m[7],E=g.high,T=g.low,A=y.high,P=y.low,D=x.high,L=x.low,N=_.high,B=_.low,G=b.high,$=b.low,Y=C.high,J=C.low,H=S.high,W=S.low,X=w.high,q=w.low,U=E,Q=T,re=A,ee=P,me=D,xe=L,oe=N,R=B,I=G,M=$,k=Y,z=J,Z=H,ne=W,ie=X,ae=q,te=0;te<80;te++){var ue,F,V=h[te];if(te<16)F=V.high=v[p+te*2]|0,ue=V.low=v[p+te*2+1]|0;else{var le=h[te-15],he=le.high,ge=le.low,$e=(he>>>1|ge<<31)^(he>>>8|ge<<24)^he>>>7,Se=(ge>>>1|he<<31)^(ge>>>8|he<<24)^(ge>>>7|he<<25),st=h[te-2],ht=st.high,_r=st.low,Wn=(ht>>>19|_r<<13)^(ht<<3|_r>>>29)^ht>>>6,_u=(_r>>>19|ht<<13)^(_r<<3|ht>>>29)^(_r>>>6|ht<<26),tr=h[te-7],Zr=tr.high,Uf=tr.low,pS=h[te-16],F5=pS.high,gS=pS.low;ue=Se+Uf,F=$e+Zr+(ue>>>0<Se>>>0?1:0),ue=ue+_u,F=F+Wn+(ue>>>0<_u>>>0?1:0),ue=ue+gS,F=F+F5+(ue>>>0<gS>>>0?1:0),V.high=F,V.low=ue}var $5=I&k^~I&Z,mS=M&z^~M&ne,H5=U&re^U&me^re&me,z5=Q&ee^Q&xe^ee&xe,W5=(U>>>28|Q<<4)^(U<<30|Q>>>2)^(U<<25|Q>>>7),yS=(Q>>>28|U<<4)^(Q<<30|U>>>2)^(Q<<25|U>>>7),V5=(I>>>14|M<<18)^(I>>>18|M<<14)^(I<<23|M>>>9),U5=(M>>>14|I<<18)^(M>>>18|I<<14)^(M<<23|I>>>9),xS=f[te],G5=xS.high,_S=xS.low,Br=ae+U5,Qi=ie+V5+(Br>>>0<ae>>>0?1:0),Br=Br+mS,Qi=Qi+$5+(Br>>>0<mS>>>0?1:0),Br=Br+_S,Qi=Qi+G5+(Br>>>0<_S>>>0?1:0),Br=Br+ue,Qi=Qi+F+(Br>>>0<ue>>>0?1:0),bS=yS+z5,j5=W5+H5+(bS>>>0<yS>>>0?1:0);ie=Z,ae=ne,Z=k,ne=z,k=I,z=M,M=R+Br|0,I=oe+Qi+(M>>>0<R>>>0?1:0)|0,oe=me,R=xe,me=re,xe=ee,re=U,ee=Q,Q=Br+bS|0,U=Qi+j5+(Q>>>0<Br>>>0?1:0)|0}T=g.low=T+Q,g.high=E+U+(T>>>0<Q>>>0?1:0),P=y.low=P+ee,y.high=A+re+(P>>>0<ee>>>0?1:0),L=x.low=L+xe,x.high=D+me+(L>>>0<xe>>>0?1:0),B=_.low=B+R,_.high=N+oe+(B>>>0<R>>>0?1:0),$=b.low=$+M,b.high=G+I+($>>>0<M>>>0?1:0),J=C.low=J+z,C.high=Y+k+(J>>>0<z>>>0?1:0),W=S.low=W+ne,S.high=H+Z+(W>>>0<ne>>>0?1:0),q=w.low=q+ae,w.high=X+ie+(q>>>0<ae>>>0?1:0)},_doFinalize:function(){var v=this._data,p=v.words,m=this._nDataBytes*8,g=v.sigBytes*8;p[g>>>5]|=128<<24-g%32,p[(g+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(g+128>>>10<<5)+31]=m,v.sigBytes=p.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(GX)),Jd}var ev={},jX={get exports(){return ev},set exports(e){ev=e}},ST;function qX(){return ST||(ST=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),Up(),CO())})(Be,function(r){return function(){var n=r,i=n.x64,a=i.Word,o=i.WordArray,s=n.algo,l=s.SHA512,u=s.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});n.SHA384=l._createHelper(u),n.HmacSHA384=l._createHmacHelper(u)}(),r.SHA384})}(jX)),ev}var tv={},YX={get exports(){return tv},set exports(e){tv=e}},wT;function XX(){return wT||(wT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),Up())})(Be,function(r){return function(n){var i=r,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.x64,u=l.Word,c=i.algo,f=[],h=[],d=[];(function(){for(var m=1,g=0,y=0;y<24;y++){f[m+5*g]=(y+1)*(y+2)/2%64;var x=g%5,_=(2*m+3*g)%5;m=x,g=_}for(var m=0;m<5;m++)for(var g=0;g<5;g++)h[m+5*g]=g+(2*m+3*g)%5*5;for(var b=1,C=0;C<24;C++){for(var S=0,w=0,E=0;E<7;E++){if(b&1){var T=(1<<E)-1;T<32?w^=1<<T:S^=1<<T-32}b&128?b=b<<1^113:b<<=1}d[C]=u.create(S,w)}})();var v=[];(function(){for(var m=0;m<25;m++)v[m]=u.create()})();var p=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var m=this._state=[],g=0;g<25;g++)m[g]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(m,g){for(var y=this._state,x=this.blockSize/2,_=0;_<x;_++){var b=m[g+2*_],C=m[g+2*_+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360;var S=y[_];S.high^=C,S.low^=b}for(var w=0;w<24;w++){for(var E=0;E<5;E++){for(var T=0,A=0,P=0;P<5;P++){var S=y[E+5*P];T^=S.high,A^=S.low}var D=v[E];D.high=T,D.low=A}for(var E=0;E<5;E++)for(var L=v[(E+4)%5],N=v[(E+1)%5],B=N.high,G=N.low,T=L.high^(B<<1|G>>>31),A=L.low^(G<<1|B>>>31),P=0;P<5;P++){var S=y[E+5*P];S.high^=T,S.low^=A}for(var $=1;$<25;$++){var T,A,S=y[$],Y=S.high,J=S.low,H=f[$];H<32?(T=Y<<H|J>>>32-H,A=J<<H|Y>>>32-H):(T=J<<H-32|Y>>>64-H,A=Y<<H-32|J>>>64-H);var W=v[h[$]];W.high=T,W.low=A}var X=v[0],q=y[0];X.high=q.high,X.low=q.low;for(var E=0;E<5;E++)for(var P=0;P<5;P++){var $=E+5*P,S=y[$],U=v[$],Q=v[(E+1)%5+5*P],re=v[(E+2)%5+5*P];S.high=U.high^~Q.high&re.high,S.low=U.low^~Q.low&re.low}var S=y[0],ee=d[w];S.high^=ee.high,S.low^=ee.low}},_doFinalize:function(){var m=this._data,g=m.words;this._nDataBytes*8;var y=m.sigBytes*8,x=this.blockSize*32;g[y>>>5]|=1<<24-y%32,g[(n.ceil((y+1)/x)*x>>>5)-1]|=128,m.sigBytes=g.length*4,this._process();for(var _=this._state,b=this.cfg.outputLength/8,C=b/8,S=[],w=0;w<C;w++){var E=_[w],T=E.high,A=E.low;T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S.push(A),S.push(T)}return new o.init(S,b)},clone:function(){for(var m=s.clone.call(this),g=m._state=this._state.slice(0),y=0;y<25;y++)g[y]=g[y].clone();return m}});i.SHA3=s._createHelper(p),i.HmacSHA3=s._createHmacHelper(p)}(Math),r.SHA3})}(YX)),tv}var rv={},KX={get exports(){return rv},set exports(e){rv=e}},TT;function ZX(){return TT||(TT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/return function(n){var i=r,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,u=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=o.create([0,1518500249,1859775393,2400959708,2840853838]),v=o.create([1352829926,1548603684,1836072691,2053994217,0]),p=l.RIPEMD160=s.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(C,S){for(var w=0;w<16;w++){var E=S+w,T=C[E];C[E]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var A=this._hash.words,P=d.words,D=v.words,L=u.words,N=c.words,B=f.words,G=h.words,$,Y,J,H,W,X,q,U,Q,re;X=$=A[0],q=Y=A[1],U=J=A[2],Q=H=A[3],re=W=A[4];for(var ee,w=0;w<80;w+=1)ee=$+C[S+L[w]]|0,w<16?ee+=m(Y,J,H)+P[0]:w<32?ee+=g(Y,J,H)+P[1]:w<48?ee+=y(Y,J,H)+P[2]:w<64?ee+=x(Y,J,H)+P[3]:ee+=_(Y,J,H)+P[4],ee=ee|0,ee=b(ee,B[w]),ee=ee+W|0,$=W,W=H,H=b(J,10),J=Y,Y=ee,ee=X+C[S+N[w]]|0,w<16?ee+=_(q,U,Q)+D[0]:w<32?ee+=x(q,U,Q)+D[1]:w<48?ee+=y(q,U,Q)+D[2]:w<64?ee+=g(q,U,Q)+D[3]:ee+=m(q,U,Q)+D[4],ee=ee|0,ee=b(ee,G[w]),ee=ee+re|0,X=re,re=Q,Q=b(U,10),U=q,q=ee;ee=A[1]+J+Q|0,A[1]=A[2]+H+re|0,A[2]=A[3]+W+X|0,A[3]=A[4]+$+q|0,A[4]=A[0]+Y+U|0,A[0]=ee},_doFinalize:function(){var C=this._data,S=C.words,w=this._nDataBytes*8,E=C.sigBytes*8;S[E>>>5]|=128<<24-E%32,S[(E+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,C.sigBytes=(S.length+1)*4,this._process();for(var T=this._hash,A=T.words,P=0;P<5;P++){var D=A[P];A[P]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return T},clone:function(){var C=s.clone.call(this);return C._hash=this._hash.clone(),C}});function m(C,S,w){return C^S^w}function g(C,S,w){return C&S|~C&w}function y(C,S,w){return(C|~S)^w}function x(C,S,w){return C&w|S&~w}function _(C,S,w){return C^(S|~w)}function b(C,S){return C<<S|C>>>32-S}i.RIPEMD160=s._createHelper(p),i.HmacRIPEMD160=s._createHmacHelper(p)}(),r.RIPEMD160})}(KX)),rv}var nv={},QX={get exports(){return nv},set exports(e){nv=e}},AT;function vb(){return AT||(AT=1,function(e,t){(function(r,n){e.exports=n(Ze())})(Be,function(r){(function(){var n=r,i=n.lib,a=i.Base,o=n.enc,s=o.Utf8,l=n.algo;l.HMAC=a.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=s.parse(c));var f=u.blockSize,h=f*4;c.sigBytes>h&&(c=u.finalize(c)),c.clamp();for(var d=this._oKey=c.clone(),v=this._iKey=c.clone(),p=d.words,m=v.words,g=0;g<f;g++)p[g]^=1549556828,m[g]^=909522486;d.sigBytes=v.sigBytes=h,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var c=this._hasher,f=c.finalize(u);c.reset();var h=c.finalize(this._oKey.clone().concat(f));return h}})})()})}(QX)),nv}var iv={},JX={get exports(){return iv},set exports(e){iv=e}},ET;function eK(){return ET||(ET=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),db(),vb())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.Base,o=i.WordArray,s=n.algo,l=s.SHA1,u=s.HMAC,c=s.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,h){for(var d=this.cfg,v=u.create(d.hasher,f),p=o.create(),m=o.create([1]),g=p.words,y=m.words,x=d.keySize,_=d.iterations;g.length<x;){var b=v.update(h).finalize(m);v.reset();for(var C=b.words,S=C.length,w=b,E=1;E<_;E++){w=v.finalize(w),v.reset();for(var T=w.words,A=0;A<S;A++)C[A]^=T[A]}p.concat(b),y[0]++}return p.sigBytes=x*4,p}});n.PBKDF2=function(f,h,d){return c.create(d).compute(f,h)}}(),r.PBKDF2})}(JX)),iv}var av={},tK={get exports(){return av},set exports(e){av=e}},PT;function Cs(){return PT||(PT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),db(),vb())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.Base,o=i.WordArray,s=n.algo,l=s.MD5,u=s.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:l,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,f){for(var h,d=this.cfg,v=d.hasher.create(),p=o.create(),m=p.words,g=d.keySize,y=d.iterations;m.length<g;){h&&v.update(h),h=v.update(c).finalize(f),v.reset();for(var x=1;x<y;x++)h=v.finalize(h),v.reset();p.concat(h)}return p.sigBytes=g*4,p}});n.EvpKDF=function(c,f,h){return u.create(h).compute(c,f)}}(),r.EvpKDF})}(tK)),av}var ov={},rK={get exports(){return ov},set exports(e){ov=e}},IT;function er(){return IT||(IT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),Cs())})(Be,function(r){r.lib.Cipher||function(n){var i=r,a=i.lib,o=a.Base,s=a.WordArray,l=a.BufferedBlockAlgorithm,u=i.enc;u.Utf8;var c=u.Base64,f=i.algo,h=f.EvpKDF,d=a.Cipher=l.extend({cfg:o.extend(),createEncryptor:function(T,A){return this.create(this._ENC_XFORM_MODE,T,A)},createDecryptor:function(T,A){return this.create(this._DEC_XFORM_MODE,T,A)},init:function(T,A,P){this.cfg=this.cfg.extend(P),this._xformMode=T,this._key=A,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(T){return this._append(T),this._process()},finalize:function(T){T&&this._append(T);var A=this._doFinalize();return A},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function T(A){return typeof A=="string"?E:C}return function(A){return{encrypt:function(P,D,L){return T(D).encrypt(A,P,D,L)},decrypt:function(P,D,L){return T(D).decrypt(A,P,D,L)}}}}()});a.StreamCipher=d.extend({_doFinalize:function(){var T=this._process(!0);return T},blockSize:1});var v=i.mode={},p=a.BlockCipherMode=o.extend({createEncryptor:function(T,A){return this.Encryptor.create(T,A)},createDecryptor:function(T,A){return this.Decryptor.create(T,A)},init:function(T,A){this._cipher=T,this._iv=A}}),m=v.CBC=function(){var T=p.extend();T.Encryptor=T.extend({processBlock:function(P,D){var L=this._cipher,N=L.blockSize;A.call(this,P,D,N),L.encryptBlock(P,D),this._prevBlock=P.slice(D,D+N)}}),T.Decryptor=T.extend({processBlock:function(P,D){var L=this._cipher,N=L.blockSize,B=P.slice(D,D+N);L.decryptBlock(P,D),A.call(this,P,D,N),this._prevBlock=B}});function A(P,D,L){var N,B=this._iv;B?(N=B,this._iv=n):N=this._prevBlock;for(var G=0;G<L;G++)P[D+G]^=N[G]}return T}(),g=i.pad={},y=g.Pkcs7={pad:function(T,A){for(var P=A*4,D=P-T.sigBytes%P,L=D<<24|D<<16|D<<8|D,N=[],B=0;B<D;B+=4)N.push(L);var G=s.create(N,D);T.concat(G)},unpad:function(T){var A=T.words[T.sigBytes-1>>>2]&255;T.sigBytes-=A}};a.BlockCipher=d.extend({cfg:d.cfg.extend({mode:m,padding:y}),reset:function(){var T;d.reset.call(this);var A=this.cfg,P=A.iv,D=A.mode;this._xformMode==this._ENC_XFORM_MODE?T=D.createEncryptor:(T=D.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==T?this._mode.init(this,P&&P.words):(this._mode=T.call(D,this,P&&P.words),this._mode.__creator=T)},_doProcessBlock:function(T,A){this._mode.processBlock(T,A)},_doFinalize:function(){var T,A=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(A.pad(this._data,this.blockSize),T=this._process(!0)):(T=this._process(!0),A.unpad(T)),T},blockSize:128/32});var x=a.CipherParams=o.extend({init:function(T){this.mixIn(T)},toString:function(T){return(T||this.formatter).stringify(this)}}),_=i.format={},b=_.OpenSSL={stringify:function(T){var A,P=T.ciphertext,D=T.salt;return D?A=s.create([1398893684,1701076831]).concat(D).concat(P):A=P,A.toString(c)},parse:function(T){var A,P=c.parse(T),D=P.words;return D[0]==1398893684&&D[1]==1701076831&&(A=s.create(D.slice(2,4)),D.splice(0,4),P.sigBytes-=16),x.create({ciphertext:P,salt:A})}},C=a.SerializableCipher=o.extend({cfg:o.extend({format:b}),encrypt:function(T,A,P,D){D=this.cfg.extend(D);var L=T.createEncryptor(P,D),N=L.finalize(A),B=L.cfg;return x.create({ciphertext:N,key:P,iv:B.iv,algorithm:T,mode:B.mode,padding:B.padding,blockSize:T.blockSize,formatter:D.format})},decrypt:function(T,A,P,D){D=this.cfg.extend(D),A=this._parse(A,D.format);var L=T.createDecryptor(P,D).finalize(A.ciphertext);return L},_parse:function(T,A){return typeof T=="string"?A.parse(T,this):T}}),S=i.kdf={},w=S.OpenSSL={execute:function(T,A,P,D){D||(D=s.random(64/8));var L=h.create({keySize:A+P}).compute(T,D),N=s.create(L.words.slice(A),P*4);return L.sigBytes=A*4,x.create({key:L,iv:N,salt:D})}},E=a.PasswordBasedCipher=C.extend({cfg:C.cfg.extend({kdf:w}),encrypt:function(T,A,P,D){D=this.cfg.extend(D);var L=D.kdf.execute(P,T.keySize,T.ivSize);D.iv=L.iv;var N=C.encrypt.call(this,T,A,L.key,D);return N.mixIn(L),N},decrypt:function(T,A,P,D){D=this.cfg.extend(D),A=this._parse(A,D.format);var L=D.kdf.execute(P,T.keySize,T.ivSize,A.salt);D.iv=L.iv;var N=C.decrypt.call(this,T,A,L.key,D);return N}})}()})}(rK)),ov}var sv={},nK={get exports(){return sv},set exports(e){sv=e}},MT;function iK(){return MT||(MT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize;i.call(this,a,o,l,s),this._prevBlock=a.slice(o,o+l)}}),n.Decryptor=n.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize,u=a.slice(o,o+l);i.call(this,a,o,l,s),this._prevBlock=u}});function i(a,o,s,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var f=0;f<s;f++)a[o+f]^=u[f]}return n}(),r.mode.CFB})}(nK)),sv}var lv={},aK={get exports(){return lv},set exports(e){lv=e}},DT;function oK(){return DT||(DT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0);var f=c.slice(0);s.encryptBlock(f,0),c[l-1]=c[l-1]+1|0;for(var h=0;h<l;h++)a[o+h]^=f[h]}});return n.Decryptor=i,n}(),r.mode.CTR})}(aK)),lv}var uv={},sK={get exports(){return uv},set exports(e){uv=e}},LT;function lK(){return LT||(LT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function i(s){if((s>>24&255)===255){var l=s>>16&255,u=s>>8&255,c=s&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,s=0,s+=l<<16,s+=u<<8,s+=c}else s+=1<<24;return s}function a(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var o=n.Encryptor=n.extend({processBlock:function(s,l){var u=this._cipher,c=u.blockSize,f=this._iv,h=this._counter;f&&(h=this._counter=f.slice(0),this._iv=void 0),a(h);var d=h.slice(0);u.encryptBlock(d,0);for(var v=0;v<c;v++)s[l+v]^=d[v]}});return n.Decryptor=o,n}(),r.mode.CTRGladman})}(sK)),uv}var cv={},uK={get exports(){return cv},set exports(e){cv=e}},RT;function cK(){return RT||(RT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize,u=this._iv,c=this._keystream;u&&(c=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(c,0);for(var f=0;f<l;f++)a[o+f]^=c[f]}});return n.Decryptor=i,n}(),r.mode.OFB})}(uK)),cv}var fv={},fK={get exports(){return fv},set exports(e){fv=e}},OT;function hK(){return OT||(OT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,a){this._cipher.encryptBlock(i,a)}}),n.Decryptor=n.extend({processBlock:function(i,a){this._cipher.decryptBlock(i,a)}}),n}(),r.mode.ECB})}(fK)),fv}var hv={},dK={get exports(){return hv},set exports(e){hv=e}},kT;function vK(){return kT||(kT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.pad.AnsiX923={pad:function(n,i){var a=n.sigBytes,o=i*4,s=o-a%o,l=a+s-1;n.clamp(),n.words[l>>>2]|=s<<24-l%4*8,n.sigBytes+=s},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})}(dK)),hv}var dv={},pK={get exports(){return dv},set exports(e){dv=e}},NT;function gK(){return NT||(NT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.pad.Iso10126={pad:function(n,i){var a=i*4,o=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(o-1)).concat(r.lib.WordArray.create([o<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})}(pK)),dv}var vv={},mK={get exports(){return vv},set exports(e){vv=e}},BT;function yK(){return BT||(BT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(mK)),vv}var pv={},xK={get exports(){return pv},set exports(e){pv=e}},FT;function _K(){return FT||(FT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.pad.ZeroPadding={pad:function(n,i){var a=i*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var i=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(i[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(xK)),pv}var gv={},bK={get exports(){return gv},set exports(e){gv=e}},$T;function CK(){return $T||($T=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(bK)),gv}var mv={},SK={get exports(){return mv},set exports(e){mv=e}},HT;function wK(){return HT||(HT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),er())})(Be,function(r){return function(n){var i=r,a=i.lib,o=a.CipherParams,s=i.enc,l=s.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var f=l.parse(c);return o.create({ciphertext:f})}}}(),r.format.Hex})}(SK)),mv}var yv={},TK={get exports(){return yv},set exports(e){yv=e}},zT;function AK(){return zT||(zT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),ou(),su(),Cs(),er())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.BlockCipher,o=n.algo,s=[],l=[],u=[],c=[],f=[],h=[],d=[],v=[],p=[],m=[];(function(){for(var x=[],_=0;_<256;_++)_<128?x[_]=_<<1:x[_]=_<<1^283;for(var b=0,C=0,_=0;_<256;_++){var S=C^C<<1^C<<2^C<<3^C<<4;S=S>>>8^S&255^99,s[b]=S,l[S]=b;var w=x[b],E=x[w],T=x[E],A=x[S]*257^S*16843008;u[b]=A<<24|A>>>8,c[b]=A<<16|A>>>16,f[b]=A<<8|A>>>24,h[b]=A;var A=T*16843009^E*65537^w*257^b*16843008;d[S]=A<<24|A>>>8,v[S]=A<<16|A>>>16,p[S]=A<<8|A>>>24,m[S]=A,b?(b=w^x[x[x[T^w]]],C^=x[x[C]]):b=C=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],y=o.AES=a.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,b=_.words,C=_.sigBytes/4,S=this._nRounds=C+6,w=(S+1)*4,E=this._keySchedule=[],T=0;T<w;T++)T<C?E[T]=b[T]:(x=E[T-1],T%C?C>6&&T%C==4&&(x=s[x>>>24]<<24|s[x>>>16&255]<<16|s[x>>>8&255]<<8|s[x&255]):(x=x<<8|x>>>24,x=s[x>>>24]<<24|s[x>>>16&255]<<16|s[x>>>8&255]<<8|s[x&255],x^=g[T/C|0]<<24),E[T]=E[T-C]^x);for(var A=this._invKeySchedule=[],P=0;P<w;P++){var T=w-P;if(P%4)var x=E[T];else var x=E[T-4];P<4||T<=4?A[P]=x:A[P]=d[s[x>>>24]]^v[s[x>>>16&255]]^p[s[x>>>8&255]]^m[s[x&255]]}}},encryptBlock:function(x,_){this._doCryptBlock(x,_,this._keySchedule,u,c,f,h,s)},decryptBlock:function(x,_){var b=x[_+1];x[_+1]=x[_+3],x[_+3]=b,this._doCryptBlock(x,_,this._invKeySchedule,d,v,p,m,l);var b=x[_+1];x[_+1]=x[_+3],x[_+3]=b},_doCryptBlock:function(x,_,b,C,S,w,E,T){for(var A=this._nRounds,P=x[_]^b[0],D=x[_+1]^b[1],L=x[_+2]^b[2],N=x[_+3]^b[3],B=4,G=1;G<A;G++){var $=C[P>>>24]^S[D>>>16&255]^w[L>>>8&255]^E[N&255]^b[B++],Y=C[D>>>24]^S[L>>>16&255]^w[N>>>8&255]^E[P&255]^b[B++],J=C[L>>>24]^S[N>>>16&255]^w[P>>>8&255]^E[D&255]^b[B++],H=C[N>>>24]^S[P>>>16&255]^w[D>>>8&255]^E[L&255]^b[B++];P=$,D=Y,L=J,N=H}var $=(T[P>>>24]<<24|T[D>>>16&255]<<16|T[L>>>8&255]<<8|T[N&255])^b[B++],Y=(T[D>>>24]<<24|T[L>>>16&255]<<16|T[N>>>8&255]<<8|T[P&255])^b[B++],J=(T[L>>>24]<<24|T[N>>>16&255]<<16|T[P>>>8&255]<<8|T[D&255])^b[B++],H=(T[N>>>24]<<24|T[P>>>16&255]<<16|T[D>>>8&255]<<8|T[L&255])^b[B++];x[_]=$,x[_+1]=Y,x[_+2]=J,x[_+3]=H},keySize:256/32});n.AES=a._createHelper(y)}(),r.AES})}(TK)),yv}var xv={},EK={get exports(){return xv},set exports(e){xv=e}},WT;function PK(){return WT||(WT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),ou(),su(),Cs(),er())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.WordArray,o=i.BlockCipher,s=n.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=s.DES=o.extend({_doReset:function(){for(var g=this._key,y=g.words,x=[],_=0;_<56;_++){var b=l[_]-1;x[_]=y[b>>>5]>>>31-b%32&1}for(var C=this._subKeys=[],S=0;S<16;S++){for(var w=C[S]=[],E=c[S],_=0;_<24;_++)w[_/6|0]|=x[(u[_]-1+E)%28]<<31-_%6,w[4+(_/6|0)]|=x[28+(u[_+24]-1+E)%28]<<31-_%6;w[0]=w[0]<<1|w[0]>>>31;for(var _=1;_<7;_++)w[_]=w[_]>>>(_-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var T=this._invSubKeys=[],_=0;_<16;_++)T[_]=C[15-_]},encryptBlock:function(g,y){this._doCryptBlock(g,y,this._subKeys)},decryptBlock:function(g,y){this._doCryptBlock(g,y,this._invSubKeys)},_doCryptBlock:function(g,y,x){this._lBlock=g[y],this._rBlock=g[y+1],v.call(this,4,252645135),v.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),v.call(this,1,1431655765);for(var _=0;_<16;_++){for(var b=x[_],C=this._lBlock,S=this._rBlock,w=0,E=0;E<8;E++)w|=f[E][((S^b[E])&h[E])>>>0];this._lBlock=S,this._rBlock=C^w}var T=this._lBlock;this._lBlock=this._rBlock,this._rBlock=T,v.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),g[y]=this._lBlock,g[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(g,y){var x=(this._lBlock>>>g^this._rBlock)&y;this._rBlock^=x,this._lBlock^=x<<g}function p(g,y){var x=(this._rBlock>>>g^this._lBlock)&y;this._lBlock^=x,this._rBlock^=x<<g}n.DES=o._createHelper(d);var m=s.TripleDES=o.extend({_doReset:function(){var g=this._key,y=g.words;if(y.length!==2&&y.length!==4&&y.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=y.slice(0,2),_=y.length<4?y.slice(0,2):y.slice(2,4),b=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=d.createEncryptor(a.create(x)),this._des2=d.createEncryptor(a.create(_)),this._des3=d.createEncryptor(a.create(b))},encryptBlock:function(g,y){this._des1.encryptBlock(g,y),this._des2.decryptBlock(g,y),this._des3.encryptBlock(g,y)},decryptBlock:function(g,y){this._des3.decryptBlock(g,y),this._des2.encryptBlock(g,y),this._des1.decryptBlock(g,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=o._createHelper(m)}(),r.TripleDES})}(EK)),xv}var _v={},IK={get exports(){return _v},set exports(e){_v=e}},VT;function MK(){return VT||(VT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),ou(),su(),Cs(),er())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,o=n.algo,s=o.RC4=a.extend({_doReset:function(){for(var c=this._key,f=c.words,h=c.sigBytes,d=this._S=[],v=0;v<256;v++)d[v]=v;for(var v=0,p=0;v<256;v++){var m=v%h,g=f[m>>>2]>>>24-m%4*8&255;p=(p+d[v]+g)%256;var y=d[v];d[v]=d[p],d[p]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,f=this._i,h=this._j,d=0,v=0;v<4;v++){f=(f+1)%256,h=(h+c[f])%256;var p=c[f];c[f]=c[h],c[h]=p,d|=c[(c[f]+c[h])%256]<<24-v*8}return this._i=f,this._j=h,d}n.RC4=a._createHelper(s);var u=o.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});n.RC4Drop=a._createHelper(u)}(),r.RC4})}(IK)),_v}var bv={},DK={get exports(){return bv},set exports(e){bv=e}},UT;function LK(){return UT||(UT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),ou(),su(),Cs(),er())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,o=n.algo,s=[],l=[],u=[],c=o.Rabbit=a.extend({_doReset:function(){for(var h=this._key.words,d=this.cfg.iv,v=0;v<4;v++)h[v]=(h[v]<<8|h[v]>>>24)&16711935|(h[v]<<24|h[v]>>>8)&4278255360;var p=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],m=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)m[v]^=p[v+4&7];if(d){var g=d.words,y=g[0],x=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=_>>>16|b&4294901760,S=b<<16|_&65535;m[0]^=_,m[1]^=C,m[2]^=b,m[3]^=S,m[4]^=_,m[5]^=C,m[6]^=b,m[7]^=S;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),s[0]=v[0]^v[5]>>>16^v[3]<<16,s[1]=v[2]^v[7]>>>16^v[5]<<16,s[2]=v[4]^v[1]>>>16^v[7]<<16,s[3]=v[6]^v[3]>>>16^v[1]<<16;for(var p=0;p<4;p++)s[p]=(s[p]<<8|s[p]>>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360,h[d+p]^=s[p]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)l[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<l[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<l[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<l[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<l[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<l[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<l[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<l[6]>>>0?1:0)|0,this._b=d[7]>>>0<l[7]>>>0?1:0;for(var v=0;v<8;v++){var p=h[v]+d[v],m=p&65535,g=p>>>16,y=((m*m>>>17)+m*g>>>15)+g*g,x=((p&4294901760)*p|0)+((p&65535)*p|0);u[v]=y^x}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}n.Rabbit=a._createHelper(c)}(),r.Rabbit})}(DK)),bv}var Cv={},RK={get exports(){return Cv},set exports(e){Cv=e}},GT;function OK(){return GT||(GT=1,function(e,t){(function(r,n,i){e.exports=n(Ze(),ou(),su(),Cs(),er())})(Be,function(r){return function(){var n=r,i=n.lib,a=i.StreamCipher,o=n.algo,s=[],l=[],u=[],c=o.RabbitLegacy=a.extend({_doReset:function(){var h=this._key.words,d=this.cfg.iv,v=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],p=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var m=0;m<4;m++)f.call(this);for(var m=0;m<8;m++)p[m]^=v[m+4&7];if(d){var g=d.words,y=g[0],x=g[1],_=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=_>>>16|b&4294901760,S=b<<16|_&65535;p[0]^=_,p[1]^=C,p[2]^=b,p[3]^=S,p[4]^=_,p[5]^=C,p[6]^=b,p[7]^=S;for(var m=0;m<4;m++)f.call(this)}},_doProcessBlock:function(h,d){var v=this._X;f.call(this),s[0]=v[0]^v[5]>>>16^v[3]<<16,s[1]=v[2]^v[7]>>>16^v[5]<<16,s[2]=v[4]^v[1]>>>16^v[7]<<16,s[3]=v[6]^v[3]>>>16^v[1]<<16;for(var p=0;p<4;p++)s[p]=(s[p]<<8|s[p]>>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360,h[d+p]^=s[p]},blockSize:128/32,ivSize:64/32});function f(){for(var h=this._X,d=this._C,v=0;v<8;v++)l[v]=d[v];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<l[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<l[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<l[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<l[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<l[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<l[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<l[6]>>>0?1:0)|0,this._b=d[7]>>>0<l[7]>>>0?1:0;for(var v=0;v<8;v++){var p=h[v]+d[v],m=p&65535,g=p>>>16,y=((m*m>>>17)+m*g>>>15)+g*g,x=((p&4294901760)*p|0)+((p&65535)*p|0);u[v]=y^x}h[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,h[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,h[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,h[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,h[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,h[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,h[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,h[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}n.RabbitLegacy=a._createHelper(c)}(),r.RabbitLegacy})}(RK)),Cv}(function(e,t){(function(r,n,i){e.exports=n(Ze(),Up(),OX(),NX(),ou(),$X(),su(),db(),bO(),UX(),CO(),qX(),XX(),ZX(),vb(),eK(),Cs(),er(),iK(),oK(),lK(),cK(),hK(),vK(),gK(),yK(),_K(),CK(),wK(),AK(),PK(),MK(),LK(),OK())})(Be,function(r){return r})})(EX);const Zy=Ky,SO="__CryptoJS_Secret__";function jT(e){const t=JSON.stringify(e);return Zy.AES.encrypt(t,SO).toString()}function kK(e){const r=Zy.AES.decrypt(e,SO).toString(Zy.enc.Utf8);return r?JSON.parse(r):null}function NK(){function t(o,s,l=604800){const u={value:s,expire:l!==null?new Date().getTime()+l*1e3:null},c=jT(u);window.localStorage.setItem(o,c)}function r(o,s){const u=jT({value:s,expire:null});window.localStorage.setItem(o,u)}function n(o){const s=window.localStorage.getItem(o);if(s){let l=null;try{l=kK(s)}catch{}if(l){const{value:u,expire:c}=l;if(c===null||c>=Date.now())return u}return i(o),null}return null}function i(o){window.localStorage.removeItem(o)}function a(){window.localStorage.clear()}return{set:t,get:n,remove:i,clear:a,setForever:r}}const Zt=NK();var BK=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},qT=typeof Symbol<"u"&&Symbol,FK=BK,$K=function(){return typeof qT!="function"||typeof Symbol!="function"||typeof qT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:FK()},HK="Function.prototype.bind called on incompatible ",bg=Array.prototype.slice,zK=Object.prototype.toString,WK="[object Function]",VK=function(t){var r=this;if(typeof r!="function"||zK.call(r)!==WK)throw new TypeError(HK+r);for(var n=bg.call(arguments,1),i,a=function(){if(this instanceof i){var c=r.apply(this,n.concat(bg.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(bg.call(arguments)))},o=Math.max(0,r.length-n.length),s=[],l=0;l<o;l++)s.push("$"+l);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},UK=VK,pb=Function.prototype.bind||UK,GK=pb,jK=GK.call(Function.call,Object.prototype.hasOwnProperty),qe,Nl=SyntaxError,wO=Function,ml=TypeError,Cg=function(e){try{return wO('"use strict"; return ('+e+").constructor;")()}catch{}},Go=Object.getOwnPropertyDescriptor;if(Go)try{Go({},"")}catch{Go=null}var Sg=function(){throw new ml},qK=Go?function(){try{return arguments.callee,Sg}catch{try{return Go(arguments,"callee").get}catch{return Sg}}}():Sg,Ds=$K(),ma=Object.getPrototypeOf||function(e){return e.__proto__},Js={},YK=typeof Uint8Array>"u"?qe:ma(Uint8Array),yl={"%AggregateError%":typeof AggregateError>"u"?qe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?qe:ArrayBuffer,"%ArrayIteratorPrototype%":Ds?ma([][Symbol.iterator]()):qe,"%AsyncFromSyncIteratorPrototype%":qe,"%AsyncFunction%":Js,"%AsyncGenerator%":Js,"%AsyncGeneratorFunction%":Js,"%AsyncIteratorPrototype%":Js,"%Atomics%":typeof Atomics>"u"?qe:Atomics,"%BigInt%":typeof BigInt>"u"?qe:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?qe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?qe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?qe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?qe:FinalizationRegistry,"%Function%":wO,"%GeneratorFunction%":Js,"%Int8Array%":typeof Int8Array>"u"?qe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?qe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?qe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ds?ma(ma([][Symbol.iterator]())):qe,"%JSON%":typeof JSON=="object"?JSON:qe,"%Map%":typeof Map>"u"?qe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ds?qe:ma(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?qe:Promise,"%Proxy%":typeof Proxy>"u"?qe:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?qe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?qe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ds?qe:ma(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?qe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ds?ma(""[Symbol.iterator]()):qe,"%Symbol%":Ds?Symbol:qe,"%SyntaxError%":Nl,"%ThrowTypeError%":qK,"%TypedArray%":YK,"%TypeError%":ml,"%Uint8Array%":typeof Uint8Array>"u"?qe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?qe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?qe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?qe:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?qe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?qe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?qe:WeakSet},XK=function e(t){var r;if(t==="%AsyncFunction%")r=Cg("async function () {}");else if(t==="%GeneratorFunction%")r=Cg("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Cg("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=ma(i.prototype))}return yl[t]=r,r},YT={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Rf=pb,Sv=jK,KK=Rf.call(Function.call,Array.prototype.concat),ZK=Rf.call(Function.apply,Array.prototype.splice),XT=Rf.call(Function.call,String.prototype.replace),wv=Rf.call(Function.call,String.prototype.slice),QK=Rf.call(Function.call,RegExp.prototype.exec),JK=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eZ=/\\(\\)?/g,tZ=function(t){var r=wv(t,0,1),n=wv(t,-1);if(r==="%"&&n!=="%")throw new Nl("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Nl("invalid intrinsic syntax, expected opening `%`");var i=[];return XT(t,JK,function(a,o,s,l){i[i.length]=s?XT(l,eZ,"$1"):o||a}),i},rZ=function(t,r){var n=t,i;if(Sv(YT,n)&&(i=YT[n],n="%"+i[0]+"%"),Sv(yl,n)){var a=yl[n];if(a===Js&&(a=XK(n)),typeof a>"u"&&!r)throw new ml("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Nl("intrinsic "+t+" does not exist!")},gb=function(t,r){if(typeof t!="string"||t.length===0)throw new ml("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ml('"allowMissing" argument must be a boolean');if(QK(/^%?[^%]*%?$/,t)===null)throw new Nl("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=tZ(t),i=n.length>0?n[0]:"",a=rZ("%"+i+"%",r),o=a.name,s=a.value,l=!1,u=a.alias;u&&(i=u[0],ZK(n,KK([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var h=n[c],d=wv(h,0,1),v=wv(h,-1);if((d==='"'||d==="'"||d==="`"||v==='"'||v==="'"||v==="`")&&d!==v)throw new Nl("property names with quotes must have matching quotes");if((h==="constructor"||!f)&&(l=!0),i+="."+h,o="%"+i+"%",Sv(yl,o))s=yl[o];else if(s!=null){if(!(h in s)){if(!r)throw new ml("base intrinsic for "+t+" exists, but the property is not available.");return}if(Go&&c+1>=n.length){var p=Go(s,h);f=!!p,f&&"get"in p&&!("originalValue"in p.get)?s=p.get:s=s[h]}else f=Sv(s,h),s=s[h];f&&!l&&(yl[o]=s)}}return s},Qy={},nZ={get exports(){return Qy},set exports(e){Qy=e}};(function(e){var t=pb,r=gb,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(f){var h=a(t,i,arguments);if(o&&s){var d=o(h,"length");d.configurable&&s(h,"length",{value:1+l(0,f.length-(arguments.length-1))})}return h};var u=function(){return a(t,n,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(nZ);var TO=gb,AO=Qy,iZ=AO(TO("String.prototype.indexOf")),aZ=function(t,r){var n=TO(t,!!r);return typeof n=="function"&&iZ(t,".prototype.")>-1?AO(n):n},mb=typeof Map=="function"&&Map.prototype,wg=Object.getOwnPropertyDescriptor&&mb?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Tv=mb&&wg&&typeof wg.get=="function"?wg.get:null,KT=mb&&Map.prototype.forEach,yb=typeof Set=="function"&&Set.prototype,Tg=Object.getOwnPropertyDescriptor&&yb?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Av=yb&&Tg&&typeof Tg.get=="function"?Tg.get:null,ZT=yb&&Set.prototype.forEach,oZ=typeof WeakMap=="function"&&WeakMap.prototype,xc=oZ?WeakMap.prototype.has:null,sZ=typeof WeakSet=="function"&&WeakSet.prototype,_c=sZ?WeakSet.prototype.has:null,lZ=typeof WeakRef=="function"&&WeakRef.prototype,QT=lZ?WeakRef.prototype.deref:null,uZ=Boolean.prototype.valueOf,cZ=Object.prototype.toString,fZ=Function.prototype.toString,hZ=String.prototype.match,xb=String.prototype.slice,Sa=String.prototype.replace,dZ=String.prototype.toUpperCase,JT=String.prototype.toLowerCase,EO=RegExp.prototype.test,e2=Array.prototype.concat,Qn=Array.prototype.join,vZ=Array.prototype.slice,t2=Math.floor,Jy=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ag=Object.getOwnPropertySymbols,ex=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Bl=typeof Symbol=="function"&&typeof Symbol.iterator=="object",cr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Bl||"symbol")?Symbol.toStringTag:null,PO=Object.prototype.propertyIsEnumerable,r2=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function n2(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||EO.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-t2(-e):t2(e);if(n!==e){var i=String(n),a=xb.call(t,i.length+1);return Sa.call(i,r,"$&_")+"."+Sa.call(Sa.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Sa.call(t,r,"$&_")}var tx=_O,i2=tx.custom,a2=MO(i2)?i2:null,pZ=function e(t,r,n,i){var a=r||{};if(ya(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ya(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=ya(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ya(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ya(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return LO(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?n2(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return s?n2(t,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return rx(t)?"[Array]":"[Object]";var f=RZ(a,n);if(typeof i>"u")i=[];else if(DO(i,t)>=0)return"[Circular]";function h(D,L,N){if(L&&(i=vZ.call(i),i.push(L)),N){var B={depth:a.depth};return ya(a,"quoteStyle")&&(B.quoteStyle=a.quoteStyle),e(D,B,n+1,i)}return e(D,a,n+1,i)}if(typeof t=="function"&&!o2(t)){var d=wZ(t),v=sh(t,h);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(v.length>0?" { "+Qn.call(v,", ")+" }":"")}if(MO(t)){var p=Bl?Sa.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ex.call(t);return typeof t=="object"&&!Bl?wu(p):p}if(MZ(t)){for(var m="<"+JT.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)m+=" "+g[y].name+"="+IO(gZ(g[y].value),"double",a);return m+=">",t.childNodes&&t.childNodes.length&&(m+="..."),m+="</"+JT.call(String(t.nodeName))+">",m}if(rx(t)){if(t.length===0)return"[]";var x=sh(t,h);return f&&!LZ(x)?"["+nx(x,f)+"]":"[ "+Qn.call(x,", ")+" ]"}if(yZ(t)){var _=sh(t,h);return!("cause"in Error.prototype)&&"cause"in t&&!PO.call(t,"cause")?"{ ["+String(t)+"] "+Qn.call(e2.call("[cause]: "+h(t.cause),_),", ")+" }":_.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Qn.call(_,", ")+" }"}if(typeof t=="object"&&o){if(a2&&typeof t[a2]=="function"&&tx)return tx(t,{depth:c-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(TZ(t)){var b=[];return KT&&KT.call(t,function(D,L){b.push(h(L,t,!0)+" => "+h(D,t))}),s2("Map",Tv.call(t),b,f)}if(PZ(t)){var C=[];return ZT&&ZT.call(t,function(D){C.push(h(D,t))}),s2("Set",Av.call(t),C,f)}if(AZ(t))return Eg("WeakMap");if(IZ(t))return Eg("WeakSet");if(EZ(t))return Eg("WeakRef");if(_Z(t))return wu(h(Number(t)));if(CZ(t))return wu(h(Jy.call(t)));if(bZ(t))return wu(uZ.call(t));if(xZ(t))return wu(h(String(t)));if(!mZ(t)&&!o2(t)){var S=sh(t,h),w=r2?r2(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",T=!w&&cr&&Object(t)===t&&cr in t?xb.call(Xa(t),8,-1):E?"Object":"",A=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",P=A+(T||E?"["+Qn.call(e2.call([],T||[],E||[]),": ")+"] ":"");return S.length===0?P+"{}":f?P+"{"+nx(S,f)+"}":P+"{ "+Qn.call(S,", ")+" }"}return String(t)};function IO(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function gZ(e){return Sa.call(String(e),/"/g,"&quot;")}function rx(e){return Xa(e)==="[object Array]"&&(!cr||!(typeof e=="object"&&cr in e))}function mZ(e){return Xa(e)==="[object Date]"&&(!cr||!(typeof e=="object"&&cr in e))}function o2(e){return Xa(e)==="[object RegExp]"&&(!cr||!(typeof e=="object"&&cr in e))}function yZ(e){return Xa(e)==="[object Error]"&&(!cr||!(typeof e=="object"&&cr in e))}function xZ(e){return Xa(e)==="[object String]"&&(!cr||!(typeof e=="object"&&cr in e))}function _Z(e){return Xa(e)==="[object Number]"&&(!cr||!(typeof e=="object"&&cr in e))}function bZ(e){return Xa(e)==="[object Boolean]"&&(!cr||!(typeof e=="object"&&cr in e))}function MO(e){if(Bl)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!ex)return!1;try{return ex.call(e),!0}catch{}return!1}function CZ(e){if(!e||typeof e!="object"||!Jy)return!1;try{return Jy.call(e),!0}catch{}return!1}var SZ=Object.prototype.hasOwnProperty||function(e){return e in this};function ya(e,t){return SZ.call(e,t)}function Xa(e){return cZ.call(e)}function wZ(e){if(e.name)return e.name;var t=hZ.call(fZ.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function DO(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function TZ(e){if(!Tv||!e||typeof e!="object")return!1;try{Tv.call(e);try{Av.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function AZ(e){if(!xc||!e||typeof e!="object")return!1;try{xc.call(e,xc);try{_c.call(e,_c)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function EZ(e){if(!QT||!e||typeof e!="object")return!1;try{return QT.call(e),!0}catch{}return!1}function PZ(e){if(!Av||!e||typeof e!="object")return!1;try{Av.call(e);try{Tv.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function IZ(e){if(!_c||!e||typeof e!="object")return!1;try{_c.call(e,_c);try{xc.call(e,xc)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function MZ(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function LO(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return LO(xb.call(e,0,t.maxStringLength),t)+n}var i=Sa.call(Sa.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,DZ);return IO(i,"single",t)}function DZ(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+dZ.call(t.toString(16))}function wu(e){return"Object("+e+")"}function Eg(e){return e+" { ? }"}function s2(e,t,r,n){var i=n?nx(r,n):Qn.call(r,", ");return e+" ("+t+") {"+i+"}"}function LZ(e){for(var t=0;t<e.length;t++)if(DO(e[t],`
`)>=0)return!1;return!0}function RZ(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Qn.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Qn.call(Array(t+1),r)}}function nx(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Qn.call(e,","+r)+`
`+t.prev}function sh(e,t){var r=rx(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=ya(e,i)?t(e[i],e):""}var a=typeof Ag=="function"?Ag(e):[],o;if(Bl){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)ya(e,l)&&(r&&String(Number(l))===l&&l<e.length||Bl&&o["$"+l]instanceof Symbol||(EO.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof Ag=="function")for(var u=0;u<a.length;u++)PO.call(e,a[u])&&n.push("["+t(a[u])+"]: "+t(e[a[u]],e));return n}var _b=gb,lu=aZ,OZ=pZ,kZ=_b("%TypeError%"),lh=_b("%WeakMap%",!0),uh=_b("%Map%",!0),NZ=lu("WeakMap.prototype.get",!0),BZ=lu("WeakMap.prototype.set",!0),FZ=lu("WeakMap.prototype.has",!0),$Z=lu("Map.prototype.get",!0),HZ=lu("Map.prototype.set",!0),zZ=lu("Map.prototype.has",!0),bb=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},WZ=function(e,t){var r=bb(e,t);return r&&r.value},VZ=function(e,t,r){var n=bb(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},UZ=function(e,t){return!!bb(e,t)},GZ=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new kZ("Side channel does not contain "+OZ(a))},get:function(a){if(lh&&a&&(typeof a=="object"||typeof a=="function")){if(t)return NZ(t,a)}else if(uh){if(r)return $Z(r,a)}else if(n)return WZ(n,a)},has:function(a){if(lh&&a&&(typeof a=="object"||typeof a=="function")){if(t)return FZ(t,a)}else if(uh){if(r)return zZ(r,a)}else if(n)return UZ(n,a);return!1},set:function(a,o){lh&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new lh),BZ(t,a,o)):uh?(r||(r=new uh),HZ(r,a,o)):(n||(n={key:{},next:null}),VZ(n,a,o))}};return i},jZ=String.prototype.replace,qZ=/%20/g,Pg={RFC1738:"RFC1738",RFC3986:"RFC3986"},Cb={default:Pg.RFC3986,formatters:{RFC1738:function(e){return jZ.call(e,qZ,"+")},RFC3986:function(e){return String(e)}},RFC1738:Pg.RFC1738,RFC3986:Pg.RFC3986},YZ=Cb,Ig=Object.prototype.hasOwnProperty,Lo=Array.isArray,Vn=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),XZ=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Lo(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},RO=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(n[i]=t[i]);return n},KZ=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(Lo(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ig.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var i=t;return Lo(t)&&!Lo(r)&&(i=RO(t,n)),Lo(t)&&Lo(r)?(r.forEach(function(a,o){if(Ig.call(t,o)){var s=t[o];s&&typeof s=="object"&&a&&typeof a=="object"?t[o]=e(s,a,n):t.push(a)}else t[o]=a}),t):Object.keys(r).reduce(function(a,o){var s=r[o];return Ig.call(a,o)?a[o]=e(a[o],s,n):a[o]=s,a},i)},ZZ=function(t,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},t)},QZ=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},JZ=function(t,r,n,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;++l){var u=o.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===YZ.RFC1738&&(u===40||u===41)){s+=o.charAt(l);continue}if(u<128){s=s+Vn[u];continue}if(u<2048){s=s+(Vn[192|u>>6]+Vn[128|u&63]);continue}if(u<55296||u>=57344){s=s+(Vn[224|u>>12]+Vn[128|u>>6&63]+Vn[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|o.charCodeAt(l)&1023),s+=Vn[240|u>>18]+Vn[128|u>>12&63]+Vn[128|u>>6&63]+Vn[128|u&63]}return s},eQ=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],o=a.obj[a.prop],s=Object.keys(o),l=0;l<s.length;++l){var u=s[l],c=o[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:o,prop:u}),n.push(c))}return XZ(r),t},tQ=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},rQ=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},nQ=function(t,r){return[].concat(t,r)},iQ=function(t,r){if(Lo(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(r(t[i]));return n}return r(t)},OO={arrayToObject:RO,assign:ZZ,combine:nQ,compact:eQ,decode:QZ,encode:JZ,isBuffer:rQ,isRegExp:tQ,maybeMap:iQ,merge:KZ},kO=GZ,ix=OO,bc=Cb,aQ=Object.prototype.hasOwnProperty,l2={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Di=Array.isArray,oQ=String.prototype.split,sQ=Array.prototype.push,NO=function(e,t){sQ.apply(e,Di(t)?t:[t])},lQ=Date.prototype.toISOString,u2=bc.default,qt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ix.encode,encodeValuesOnly:!1,format:u2,formatter:bc.formatters[u2],indices:!1,serializeDate:function(t){return lQ.call(t)},skipNulls:!1,strictNullHandling:!1},uQ=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Mg={},cQ=function e(t,r,n,i,a,o,s,l,u,c,f,h,d,v,p,m){for(var g=t,y=m,x=0,_=!1;(y=y.get(Mg))!==void 0&&!_;){var b=y.get(t);if(x+=1,typeof b<"u"){if(b===x)throw new RangeError("Cyclic object value");_=!0}typeof y.get(Mg)>"u"&&(x=0)}if(typeof l=="function"?g=l(r,g):g instanceof Date?g=f(g):n==="comma"&&Di(g)&&(g=ix.maybeMap(g,function(Y){return Y instanceof Date?f(Y):Y})),g===null){if(a)return s&&!v?s(r,qt.encoder,p,"key",h):r;g=""}if(uQ(g)||ix.isBuffer(g)){if(s){var C=v?r:s(r,qt.encoder,p,"key",h);if(n==="comma"&&v){for(var S=oQ.call(String(g),","),w="",E=0;E<S.length;++E)w+=(E===0?"":",")+d(s(S[E],qt.encoder,p,"value",h));return[d(C)+(i&&Di(g)&&S.length===1?"[]":"")+"="+w]}return[d(C)+"="+d(s(g,qt.encoder,p,"value",h))]}return[d(r)+"="+d(String(g))]}var T=[];if(typeof g>"u")return T;var A;if(n==="comma"&&Di(g))A=[{value:g.length>0?g.join(",")||null:void 0}];else if(Di(l))A=l;else{var P=Object.keys(g);A=u?P.sort(u):P}for(var D=i&&Di(g)&&g.length===1?r+"[]":r,L=0;L<A.length;++L){var N=A[L],B=typeof N=="object"&&typeof N.value<"u"?N.value:g[N];if(!(o&&B===null)){var G=Di(g)?typeof n=="function"?n(D,N):D:D+(c?"."+N:"["+N+"]");m.set(t,x);var $=kO();$.set(Mg,m),NO(T,e(B,G,n,i,a,o,s,l,u,c,f,h,d,v,p,$))}}return T},fQ=function(t){if(!t)return qt;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||qt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=bc.default;if(typeof t.format<"u"){if(!aQ.call(bc.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=bc.formatters[n],a=qt.filter;return(typeof t.filter=="function"||Di(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:qt.addQueryPrefix,allowDots:typeof t.allowDots>"u"?qt.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:qt.charsetSentinel,delimiter:typeof t.delimiter>"u"?qt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:qt.encode,encoder:typeof t.encoder=="function"?t.encoder:qt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:qt.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:qt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:qt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:qt.strictNullHandling}},hQ=function(e,t){var r=e,n=fQ(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Di(n.filter)&&(a=n.filter,i=a);var o=[];if(typeof r!="object"||r===null)return"";var s;t&&t.arrayFormat in l2?s=t.arrayFormat:t&&"indices"in t?s=t.indices?"indices":"repeat":s="indices";var l=l2[s];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=kO(),f=0;f<i.length;++f){var h=i[f];n.skipNulls&&r[h]===null||NO(o,cQ(r[h],h,l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var d=o.join(n.delimiter),v=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),d.length>0?v+d:""},Fl=OO,ax=Object.prototype.hasOwnProperty,dQ=Array.isArray,zt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Fl.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},vQ=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},BO=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pQ="utf8=%26%2310003%3B",gQ="utf8=%E2%9C%93",mQ=function(t,r){var n={},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,a),s=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===gQ?u="utf-8":o[l]===pQ&&(u="iso-8859-1"),s=l,l=o.length);for(l=0;l<o.length;++l)if(l!==s){var c=o[l],f=c.indexOf("]="),h=f===-1?c.indexOf("="):f+1,d,v;h===-1?(d=r.decoder(c,zt.decoder,u,"key"),v=r.strictNullHandling?null:""):(d=r.decoder(c.slice(0,h),zt.decoder,u,"key"),v=Fl.maybeMap(BO(c.slice(h+1),r),function(p){return r.decoder(p,zt.decoder,u,"value")})),v&&r.interpretNumericEntities&&u==="iso-8859-1"&&(v=vQ(v)),c.indexOf("[]=")>-1&&(v=dQ(v)?[v]:v),ax.call(n,d)?n[d]=Fl.combine(n[d],v):n[d]=v}return n},yQ=function(e,t,r,n){for(var i=n?t:BO(t,r),a=e.length-1;a>=0;--a){var o,s=e[a];if(s==="[]"&&r.parseArrays)o=[].concat(i);else{o=r.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,u=parseInt(l,10);!r.parseArrays&&l===""?o={0:i}:!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[],o[u]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},xQ=function(t,r,n,i){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(a),u=l?a.slice(0,l.index):a,c=[];if(u){if(!n.plainObjects&&ax.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var f=0;n.depth>0&&(l=s.exec(a))!==null&&f<n.depth;){if(f+=1,!n.plainObjects&&ax.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+a.slice(l.index)+"]"),yQ(c,r,n,i)}},_Q=function(t){if(!t)return zt;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?zt.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?zt.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:zt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:zt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:zt.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:zt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:zt.comma,decoder:typeof t.decoder=="function"?t.decoder:zt.decoder,delimiter:typeof t.delimiter=="string"||Fl.isRegExp(t.delimiter)?t.delimiter:zt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:zt.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:zt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:zt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:zt.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:zt.strictNullHandling}},bQ=function(e,t){var r=_Q(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?mQ(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),o=0;o<a.length;++o){var s=a[o],l=xQ(s,n[s],r,typeof e=="string");i=Fl.merge(i,l,r)}return r.allowSparse===!0?i:Fl.compact(i)},CQ=hQ,SQ=bQ,wQ=Cb,TQ={formats:wQ,parse:SQ,stringify:CQ},AQ=typeof self=="object"?self.FormData:window.FormData;async function EQ(e,t){let r=e;return t===Gy.formUrlencoded&&(r=TQ.stringify(e)),t===Gy.formData&&(r=await PQ(e)),r}async function PQ(e){const t=new AQ;return Object.entries(e).forEach(async([n,i])=>{rT(i)||gO(i)&&i.length&&rT(i[0])?await IQ(t,n,i):t.append(n,i)}),t}async function IQ(e,t,r){gO(r)?await Promise.all(r.map(n=>(e.append(t,n),!0))):e.append(t,r)}function MQ(e){return e.sort((t,r)=>{var n,i;return Number((n=t.meta)==null?void 0:n.order)-Number((i=r.meta)==null?void 0:i.order)})}function DQ(e){const t=[];return Object.keys(e).forEach(r=>{const n=e[r].default;n?t.push(n):window.console.error(`路由模块解析出错: key = ${r}`)}),MQ(t)}function c2(e){return e.map(t=>FO(t)).flat(1)}function FO(e){var r;const t=[e.name];return(r=e.children)!=null&&r.length&&t.push(...e.children.map(n=>FO(n)).flat(1)),t}function LQ(e){const t=[];return e.forEach(r=>{OQ(r)&&r.children.forEach(n=>{RQ(n)&&t.push(n.name)})}),t}function RQ(e){var t;return Boolean((t=e==null?void 0:e.meta)==null?void 0:t.keepAlive)}function OQ(e){return Boolean(e.children&&e.children.length)}function kQ(e,t){return e.map(r=>$O(r,t)).flat(1)}function $O(e,t){const r={...e},n=!e.meta.permissions||t==="super"||e.meta.permissions.includes(t);if(r.children){const i=r.children.map(a=>$O(a,t)).flat(1);Object.assign(r,{children:i})}return n?[r]:[]}var Ev={},NQ={get exports(){return Ev},set exports(e){Ev=e}};(function(e,t){(function(r,n){var i="1.0.32",a="",o="?",s="function",l="undefined",u="object",c="string",f="major",h="model",d="name",v="type",p="vendor",m="version",g="architecture",y="console",x="mobile",_="tablet",b="smarttv",C="wearable",S="embedded",w=350,E="Amazon",T="Apple",A="ASUS",P="BlackBerry",D="Browser",L="Chrome",N="Edge",B="Firefox",G="Google",$="Huawei",Y="LG",J="Microsoft",H="Motorola",W="Opera",X="Samsung",q="Sharp",U="Sony",Q="Xiaomi",re="Zebra",ee="Facebook",me=function(F,V){var le={};for(var he in F)V[he]&&V[he].length%2===0?le[he]=V[he].concat(F[he]):le[he]=F[he];return le},xe=function(F){for(var V={},le=0;le<F.length;le++)V[F[le].toUpperCase()]=F[le];return V},oe=function(F,V){return typeof F===c?R(V).indexOf(R(F))!==-1:!1},R=function(F){return F.toLowerCase()},I=function(F){return typeof F===c?F.replace(/[^\d\.]/g,a).split(".")[0]:n},M=function(F,V){if(typeof F===c)return F=F.replace(/^\s\s*/,a).replace(/\s\s*$/,a),typeof V===l?F:F.substring(0,w)},k=function(F,V){for(var le=0,he,ge,$e,Se,st,ht;le<V.length&&!st;){var _r=V[le],Wn=V[le+1];for(he=ge=0;he<_r.length&&!st;)if(st=_r[he++].exec(F),st)for($e=0;$e<Wn.length;$e++)ht=st[++ge],Se=Wn[$e],typeof Se===u&&Se.length>0?Se.length===2?typeof Se[1]==s?this[Se[0]]=Se[1].call(this,ht):this[Se[0]]=Se[1]:Se.length===3?typeof Se[1]===s&&!(Se[1].exec&&Se[1].test)?this[Se[0]]=ht?Se[1].call(this,ht,Se[2]):n:this[Se[0]]=ht?ht.replace(Se[1],Se[2]):n:Se.length===4&&(this[Se[0]]=ht?Se[3].call(this,ht.replace(Se[1],Se[2])):n):this[Se]=ht||n;le+=2}},z=function(F,V){for(var le in V)if(typeof V[le]===u&&V[le].length>0){for(var he=0;he<V[le].length;he++)if(oe(V[le][he],F))return le===o?n:le}else if(oe(V[le],F))return le===o?n:le;return F},Z={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},ne={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ie={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,m],[/opios[\/ ]+([\w\.]+)/i],[m,[d,W+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[d,W]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[d,"UC"+D]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[m,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[m,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[m,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+D],m],[/\bfocus\/([\w\.]+)/i],[m,[d,B+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[d,W+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[d,W+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[d,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[m,[d,B]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+D]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+D],m],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,m],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,ee],m],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[d,L+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,L+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[d,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[m,z,Z]],[/(webkit|khtml)\/([\w\.]+)/i],[d,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[d,B+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,m]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,R]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,a,R]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,R]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[p,X],[v,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[h,[p,X],[v,x]],[/\((ip(?:hone|od)[\w ]*);/i],[h,[p,T],[v,x]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[p,T],[v,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[p,$],[v,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[p,$],[v,x]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[h,/_/g," "],[p,Q],[v,x]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[p,Q],[v,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[p,"OPPO"],[v,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[p,"Vivo"],[v,x]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[h,[p,"Realme"],[v,x]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[p,H],[v,x]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[p,H],[v,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[p,Y],[v,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[p,Y],[v,x]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[p,"Lenovo"],[v,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[p,"Nokia"],[v,x]],[/(pixel c)\b/i],[h,[p,G],[v,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[p,G],[v,x]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[p,U],[v,x]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[p,U],[v,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[p,"OnePlus"],[v,x]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[p,E],[v,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[p,E],[v,x]],[/(playbook);[-\w\),; ]+(rim)/i],[h,p,[v,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[p,P],[v,x]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[p,A],[v,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[p,A],[v,x]],[/(nexus 9)/i],[h,[p,"HTC"],[v,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[h,/_/g," "],[v,x]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[p,"Acer"],[v,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[p,"Meizu"],[v,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[p,q],[v,x]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,h,[v,x]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,h,[v,_]],[/(surface duo)/i],[h,[p,J],[v,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[p,"Fairphone"],[v,x]],[/(u304aa)/i],[h,[p,"AT&T"],[v,x]],[/\bsie-(\w*)/i],[h,[p,"Siemens"],[v,x]],[/\b(rct\w+) b/i],[h,[p,"RCA"],[v,_]],[/\b(venue[\d ]{2,7}) b/i],[h,[p,"Dell"],[v,_]],[/\b(q(?:mv|ta)\w+) b/i],[h,[p,"Verizon"],[v,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[p,"Barnes & Noble"],[v,_]],[/\b(tm\d{3}\w+) b/i],[h,[p,"NuVision"],[v,_]],[/\b(k88) b/i],[h,[p,"ZTE"],[v,_]],[/\b(nx\d{3}j) b/i],[h,[p,"ZTE"],[v,x]],[/\b(gen\d{3}) b.+49h/i],[h,[p,"Swiss"],[v,x]],[/\b(zur\d{3}) b/i],[h,[p,"Swiss"],[v,_]],[/\b((zeki)?tb.*\b) b/i],[h,[p,"Zeki"],[v,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],h,[v,_]],[/\b(ns-?\w{0,9}) b/i],[h,[p,"Insignia"],[v,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[p,"NextBook"],[v,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],h,[v,x]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],h,[v,x]],[/\b(ph-1) /i],[h,[p,"Essential"],[v,x]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[p,"Envizen"],[v,_]],[/\b(trio[-\w\. ]+) b/i],[h,[p,"MachSpeed"],[v,_]],[/\btu_(1491) b/i],[h,[p,"Rotor"],[v,_]],[/(shield[\w ]+) b/i],[h,[p,"Nvidia"],[v,_]],[/(sprint) (\w+)/i],[p,h,[v,x]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[p,J],[v,x]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[p,re],[v,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[p,re],[v,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,h,[v,y]],[/droid.+; (shield) bui/i],[h,[p,"Nvidia"],[v,y]],[/(playstation [345portablevi]+)/i],[h,[p,U],[v,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[p,J],[v,y]],[/smart-tv.+(samsung)/i],[p,[v,b]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[p,X],[v,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,Y],[v,b]],[/(apple) ?tv/i],[p,[h,T+" TV"],[v,b]],[/crkey/i],[[h,L+"cast"],[p,G],[v,b]],[/droid.+aft(\w)( bui|\))/i],[h,[p,E],[v,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[p,q],[v,b]],[/(bravia[\w ]+)( bui|\))/i],[h,[p,U],[v,b]],[/(mitv-\w{5}) bui/i],[h,[p,Q],[v,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[p,M],[h,M],[v,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[v,b]],[/((pebble))app/i],[p,h,[v,C]],[/droid.+; (glass) \d/i],[h,[p,G],[v,C]],[/droid.+; (wt63?0{2,3})\)/i],[h,[p,re],[v,C]],[/(quest( 2)?)/i],[h,[p,ee],[v,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[v,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[h,[v,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[v,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[v,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[v,x]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[d,N+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,m],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[m,z,ne]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[m,z,ne]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,m],[/\(bb(10);/i],[m,[d,P]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[d,B+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[m,[d,L+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],m],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,m],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,m]]},ae=function(F,V){if(typeof F===u&&(V=F,F=n),!(this instanceof ae))return new ae(F,V).getResult();var le=F||(typeof r!==l&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:a),he=V?me(ie,V):ie;return this.getBrowser=function(){var ge={};return ge[d]=n,ge[m]=n,k.call(ge,le,he.browser),ge.major=I(ge.version),ge},this.getCPU=function(){var ge={};return ge[g]=n,k.call(ge,le,he.cpu),ge},this.getDevice=function(){var ge={};return ge[p]=n,ge[h]=n,ge[v]=n,k.call(ge,le,he.device),ge},this.getEngine=function(){var ge={};return ge[d]=n,ge[m]=n,k.call(ge,le,he.engine),ge},this.getOS=function(){var ge={};return ge[d]=n,ge[m]=n,k.call(ge,le,he.os),ge},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return le},this.setUA=function(ge){return le=typeof ge===c&&ge.length>w?M(ge,w):ge,this},this.setUA(le),this};ae.VERSION=i,ae.BROWSER=xe([d,m,f]),ae.CPU=xe([g]),ae.DEVICE=xe([h,p,v,y,x,b,_,C,S]),ae.ENGINE=ae.OS=xe([d,m]),e.exports&&(t=e.exports=ae),t.UAParser=ae;var te=typeof r!==l&&(r.jQuery||r.Zepto);if(te&&!te.ua){var ue=new ae;te.ua=ue.getResult(),te.ua.get=function(){return ue.getUA()},te.ua.set=function(F){ue.setUA(F);var V=ue.getResult();for(var le in V)te.ua[le]=V[le]}}})(typeof window=="object"?window:Be)})(NQ,Ev);const l_e=Ev;var BQ=!1;/*!
* pinia v2.0.28
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/let HO;const Gp=e=>HO=e,zO=Symbol();function ox(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Cc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Cc||(Cc={}));function u_e(){const e=c1(!0),t=e.run(()=>vt({}));let r=[],n=[];const i=Qo({install(a){Gp(i),i._a=a,a.provide(zO,i),a.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(a){return!this._a&&!BQ?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const WO=()=>{};function f2(e,t,r,n=WO){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&f1()&&h1(i),i}function Ls(e,...t){e.slice().forEach(r=>{r(...t)})}function sx(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],i=e[r];ox(i)&&ox(n)&&e.hasOwnProperty(r)&&!At(n)&&!Ni(n)?e[r]=sx(i,n):e[r]=n}return e}const FQ=Symbol();function $Q(e){return!ox(e)||!e.hasOwnProperty(FQ)}const{assign:xa}=Object;function HQ(e){return!!(At(e)&&e.effect)}function zQ(e,t,r,n){const{state:i,actions:a,getters:o}=t,s=r.state.value[e];let l;function u(){s||(r.state.value[e]=i?i():{});const c=vD(r.state.value[e]);return xa(c,a,Object.keys(o||{}).reduce((f,h)=>(f[h]=Qo(Ht(()=>{Gp(r);const d=r._s.get(e);return o[h].call(d,d)})),f),{}))}return l=VO(e,u,t,r,n,!0),l.$reset=function(){const f=i?i():{};this.$patch(h=>{xa(h,f)})},l}function VO(e,t,r={},n,i,a){let o;const s=xa({actions:{}},r),l={deep:!0};let u,c,f=Qo([]),h=Qo([]),d;const v=n.state.value[e];!a&&!v&&(n.state.value[e]={}),vt({});let p;function m(S){let w;u=c=!1,typeof S=="function"?(S(n.state.value[e]),w={type:Cc.patchFunction,storeId:e,events:d}):(sx(n.state.value[e],S),w={type:Cc.patchObject,payload:S,storeId:e,events:d});const E=p=Symbol();ja().then(()=>{p===E&&(u=!0)}),c=!0,Ls(f,w,n.state.value[e])}const g=WO;function y(){o.stop(),f=[],h=[],n._s.delete(e)}function x(S,w){return function(){Gp(n);const E=Array.from(arguments),T=[],A=[];function P(N){T.push(N)}function D(N){A.push(N)}Ls(h,{args:E,name:S,store:b,after:P,onError:D});let L;try{L=w.apply(this&&this.$id===e?this:b,E)}catch(N){throw Ls(A,N),N}return L instanceof Promise?L.then(N=>(Ls(T,N),N)).catch(N=>(Ls(A,N),Promise.reject(N))):(Ls(T,L),L)}}const _={_p:n,$id:e,$onAction:f2.bind(null,h),$patch:m,$reset:g,$subscribe(S,w={}){const E=f2(f,S,w.detached,()=>T()),T=o.run(()=>Gr(()=>n.state.value[e],A=>{(w.flush==="sync"?c:u)&&S({storeId:e,type:Cc.direct,events:d},A)},xa({},l,w)));return E},$dispose:y},b=Ga(_);n._s.set(e,b);const C=n._e.run(()=>(o=c1(),o.run(()=>t())));for(const S in C){const w=C[S];if(At(w)&&!HQ(w)||Ni(w))a||(v&&$Q(w)&&(At(w)?w.value=v[S]:sx(w,v[S])),n.state.value[e][S]=w);else if(typeof w=="function"){const E=x(S,w);C[S]=E,s.actions[S]=w}}return xa(b,C),xa(Ke(b),C),Object.defineProperty(b,"$state",{get:()=>n.state.value[e],set:S=>{m(w=>{xa(w,S)})}}),n._p.forEach(S=>{xa(b,o.run(()=>S({store:b,app:n._a,pinia:n,options:s})))}),v&&a&&r.hydrate&&r.hydrate(b.$state,v),u=!0,c=!0,b}function uu(e,t,r){let n,i;const a=typeof t=="function";typeof e=="string"?(n=e,i=a?r:t):(i=e,n=e.id);function o(s,l){const u=vi();return s=s||u&&lr(zO,null),s&&Gp(s),s=HO,s._s.has(n)||(a?VO(n,t,i,s):zQ(n,i,s)),s._s.get(n)}return o.$id=n,o}const c_e=uu("app-store",{state:()=>({reloadFlag:!0,settingDrawerVisible:!1,siderCollapse:!1,mixSiderFixed:!1,setting:{}}),actions:{async reloadPage(e=0){this.reloadFlag=!1,await ja(),e?setTimeout(()=>{this.reloadFlag=!0},e):this.reloadFlag=!0,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0})},100)},openSettingDrawer(){this.settingDrawerVisible=!0},closeSettingDrawer(){this.settingDrawerVisible=!1},toggleSettingDrawerVisible(){this.settingDrawerVisible=!this.settingDrawerVisible},setSiderCollapse(e){this.siderCollapse=e},toggleSiderCollapse(){this.siderCollapse=!this.siderCollapse},setMixSiderIsFixed(e){this.mixSiderFixed=e},toggleMixSiderFixed(){this.mixSiderFixed=!this.mixSiderFixed},setSetting(e){this.setting=e}}}),WQ=!1,VQ=!0,UQ={minWidth:900,mode:"vertical",modeList:[{value:"vertical",label:"左侧菜单模式"},{value:"vertical-mix",label:"左侧菜单混合模式"},{value:"horizontal",label:"顶部菜单模式"},{value:"horizontal-mix",label:"顶部菜单混合模式"}]},GQ="#1890ff",jQ=["#1890ff","#409EFF","#2d8cf0","#007AFF","#5ac8fa","#5856D6","#536dfe","#9c27b0","#AF52DE","#0096c7","#00C1D4","#34C759","#43a047","#7cb342","#c0ca33","#78DEC7","#e53935","#d81b60","#f4511e","#fb8c00","#ffb300","#fdd835","#6d4c41","#546e7a"],qQ={info:"#0099ad",success:"#52c41a",warning:"#faad14",error:"#f5222d"},YQ=!1,XQ=!0,KQ=!0,ZQ={inverted:!1,height:56,crumb:{visible:!0,showIcon:!0}},QQ={visible:!0,height:44,mode:"chrome",modeList:[{value:"chrome",label:"谷歌风格"},{value:"button",label:"按钮风格"}],isCache:!0},JQ={inverted:!1,width:220,collapsedWidth:64,mixWidth:80,mixCollapsedWidth:48,mixChildMenuWidth:200},eJ={horizontalPosition:"flex-start",horizontalPositionList:[{value:"flex-start",label:"居左"},{value:"center",label:"居中"},{value:"flex-end",label:"居右"}]},tJ={fixed:!1,height:48,visible:!1},rJ={animate:!0,animateMode:"fade-slide",animateModeList:[{value:"fade-slide",label:"滑动"},{value:"fade",label:"消退"},{value:"fade-bottom",label:"底部消退"},{value:"fade-scale",label:"缩放消退"},{value:"zoom-fade",label:"渐变"},{value:"zoom-out",label:"闪现"}]},nJ={darkMode:WQ,followSystemTheme:VQ,layout:UQ,themeColor:GQ,themeColorList:jQ,otherColor:qQ,isCustomizeInfoColor:YQ,fixedHeaderAndTab:XQ,showReload:KQ,header:ZQ,tab:QQ,sider:JQ,menu:eJ,footer:tJ,page:rJ},h2=["#1890ff","#409EFF","#2d8cf0","#007AFF","#5ac8fa","#5856D6","#536dfe","#9c27b0","#AF52DE","#0096c7","#00C1D4","#34C759","#43a047","#7cb342","#c0ca33","#78DEC7","#e53935","#d81b60","#f4511e","#fb8c00","#ffb300","#fdd835","#6d4c41","#546e7a"],iJ={darkMode:!1,followSystemTheme:!0,layout:{minWidth:900,mode:"vertical",modeList:[{value:"vertical",label:ec.vertical},{value:"vertical-mix",label:ec["vertical-mix"]},{value:"horizontal",label:ec.horizontal},{value:"horizontal-mix",label:ec["horizontal-mix"]}]},themeColor:h2[0],themeColorList:h2,otherColor:{info:"#2080f0",success:"#52c41a",warning:"#faad14",error:"#f5222d"},isCustomizeInfoColor:!1,fixedHeaderAndTab:!0,showReload:!0,header:{inverted:!1,height:56,crumb:{visible:!0,showIcon:!0}},tab:{visible:!0,height:44,mode:"chrome",modeList:[{value:"chrome",label:jy.chrome},{value:"button",label:jy.button}],isCache:!0},sider:{inverted:!1,width:220,collapsedWidth:64,mixWidth:80,mixCollapsedWidth:48,mixChildMenuWidth:200},menu:{horizontalPosition:"flex-start",horizontalPositionList:[{value:"flex-start",label:fd["flex-start"]},{value:"center",label:fd.center},{value:"flex-end",label:fd["flex-end"]}]},footer:{fixed:!1,height:48,visible:!0},page:{animate:!0,animateMode:"fade-slide",animateModeList:[{value:"fade-slide",label:Ao["fade-slide"]},{value:"fade",label:Ao.fade},{value:"fade-bottom",label:Ao["fade-bottom"]},{value:"fade-scale",label:Ao["fade-scale"]},{value:"zoom-fade",label:Ao["zoom-fade"]},{value:"zoom-out",label:Ao["zoom-out"]}]}},el=nJ||iJ;function aJ(){const e=Zt.get("themeSettings");if(e)return e;const t=Zt.get("themeColor")||el.themeColor,r=el.isCustomizeInfoColor?el.otherColor.info:Wd(t,7),n={...el.otherColor,info:r};return tG({...el,themeColor:t,otherColor:n})}function oJ(e){const t=[{scene:"",handler:n=>n},{scene:"Suppl",handler:n=>n},{scene:"Hover",handler:n=>Wd(n,5)},{scene:"Pressed",handler:n=>Wd(n,7)},{scene:"Active",handler:n=>TX(n,.1)}],r={};return e.forEach(n=>{t.forEach(i=>{const[a,o]=n,s=`${a}Color${i.scene}`;r[s]=i.handler(o)})}),r}function sJ(e){const{primary:t,success:r,warning:n,error:i}=e,a=el.isCustomizeInfoColor?e.info:Wd(t,7),o=oJ([["primary",t],["info",a],["success",r],["warning",n],["error",i]]),s=t;return{common:{...o},LoadingBar:{colorLoading:s}}}const lJ=uu("theme-store",{state:()=>aJ(),getters:{naiveThemeOverrides(e){return sJ({primary:e.themeColor,...e.otherColor})},naiveTheme(e){return e.darkMode?jq:void 0},pageAnimateMode(e){return e.page.animate?e.page.animateMode:void 0}},actions:{resetThemeStore(){Zt.remove("themeSettings"),this.$reset()},cacheThemeSettings(){Zt.set("themeSettings",this.$state)},setDarkMode(e){this.darkMode=e},setFollowSystemTheme(e){this.followSystemTheme=e},setAutoFollowSystemMode(e){this.followSystemTheme&&(this.darkMode=e)},toggleDarkMode(){this.darkMode=!this.darkMode},setLayoutMinWidth(e){this.layout.minWidth=e},setLayoutMode(e){this.layout.mode=e},setSiderInverted(e){this.sider.inverted=e},setHeaderInverted(e){this.header.inverted=e},setThemeColor(e){this.themeColor=e},setIsFixedHeaderAndTab(e){this.fixedHeaderAndTab=e},setReloadVisible(e){this.showReload=e},setHeaderHeight(e){e&&(this.header.height=e)},setHeaderCrumbVisible(e){this.header.crumb.visible=e},setHeaderCrumbIconVisible(e){this.header.crumb.showIcon=e},setTabVisible(e){this.tab.visible=e},setTabHeight(e){e&&(this.tab.height=e)},setTabMode(e){this.tab.mode=e},setTabIsCache(e){this.tab.isCache=e},setSiderWidth(e){e&&(this.sider.width=e)},setSiderCollapsedWidth(e){this.sider.collapsedWidth=e},setMixSiderWidth(e){e&&(this.sider.mixWidth=e)},setMixSiderCollapsedWidth(e){this.sider.mixCollapsedWidth=e},setMixSiderChildMenuWidth(e){this.sider.mixChildMenuWidth=e},setHorizontalMenuPosition(e){this.menu.horizontalPosition=e},setFooterIsFixed(e){this.footer.fixed=e},setFooterHeight(e){this.footer.height=e},setFooterVisible(e){this.footer.visible=e},setPageIsAnimate(e){this.page.animate=e},setPageAnimateMode(e){this.page.animateMode=e},mergeThemeSetting(e){Object.assign(this,e),this.cacheThemeSettings()}}});function Dg(e){const t=uJ(e)?e.fullPath:e.path;return{name:e.name,fullPath:t,meta:e.meta,scrollPosition:{left:0,top:0}}}function tc(e,t){return e.findIndex(r=>r.fullPath===t)}function d2(e,t){return tc(e,t)>-1}function Lg(e,t){return e.findIndex(r=>r.name===t)}function uJ(e){return Boolean(e.fullPath)}function cJ(){const e=[],t=Zt.get("multiTabRoutes");if(t){const r=t.map(n=>({...n,scrollPosition:{left:0,top:0}}));e.push(...r)}return e}function fJ(){Zt.set("multiTabRoutes",[])}const Pv=uu("tab-store",{state:()=>({tabs:[],homeTab:{name:"root",fullPath:"/",meta:{title:"Root"},scrollPosition:{left:0,top:0}},activeTab:""}),getters:{activeTabIndex(e){const{tabs:t,activeTab:r}=e;return t.findIndex(n=>n.fullPath===r)}},actions:{resetTabStore(){fJ(),this.$reset()},cacheTabRoutes(){Zt.set("multiTabRoutes",this.tabs)},setActiveTab(e){this.activeTab=e},setActiveTabTitle(e){const t=this.tabs.find(r=>r.fullPath===this.activeTab);t&&(t.meta.title=e)},initHomeTab(e,t){const n=t.getRoutes().find(i=>i.name===e);n&&!n.children.length&&(this.homeTab=Dg(n))},addTab(e){const t=Dg(e);if(d2(this.tabs,t.fullPath))return;const r=Lg(this.tabs,e.name);if(r===-1){this.tabs.push(t);return}const{multiTab:n=!1}=e.meta;if(!n){this.tabs.splice(r,1,t);return}this.tabs.push(t)},removeTab(e){const{routerPush:t}=Ac(!1),r=this.activeTab===e,n=this.tabs.filter(i=>i.fullPath!==e);if(this.tabs=n,r&&n.length){const i=n[n.length-1].fullPath;this.setActiveTab(i),t(i)}},clearTab(e=[]){const{routerPush:t}=Ac(!1),n=[this.homeTab.fullPath,...e],i=n.includes(this.activeTab),a=this.tabs.filter(o=>n.includes(o.fullPath));if(this.tabs=a,!i&&a.length){const o=a[a.length-1].fullPath;this.setActiveTab(o),t(o)}},clearLeftTab(e){const t=tc(this.tabs,e);if(t>-1){const r=this.tabs.slice(t).map(n=>n.fullPath);this.clearTab(r)}},clearRightTab(e){const t=tc(this.tabs,e);if(t>-1){const r=this.tabs.slice(0,t+1).map(n=>n.fullPath);this.clearTab(r)}},clearAllTab(){this.clearTab()},handleClickTab(e){const{routerPush:t}=Ac(!1);this.activeTab===e||(this.setActiveTab(e),t(e))},recordTabScrollPosition(e,t){const r=tc(this.tabs,e);r>-1&&(this.tabs[r].scrollPosition=t)},getTabScrollPosition(e){const t={left:0,top:0},r=tc(this.tabs,e);return r>-1&&Object.assign(t,this.tabs[r].scrollPosition),t},iniTabStore(e){const r=lJ().tab.isCache?cJ():[];!(Lg(r,this.homeTab.name)>-1)&&this.homeTab.name!=="root"&&r.unshift(this.homeTab);const i=e.fullPath===this.homeTab.fullPath,a=Lg(r,e.name);if(!i){const o=Dg(e);e.meta.multiTab?d2(r,e.fullPath)||r.push(o):a>-1?r.splice(a,1,o):r.push(o)}this.tabs=r,this.setActiveTab(e.fullPath)}}});function hJ(){return Zt.get("token")||""}function dJ(){const e={id:"",name:"",avatar:"user"};return Zt.get("userInfo")||e}function UO(){Zt.remove("token"),Zt.remove("refreshToken"),Zt.remove("userInfo")}var yi={},Zc={},vJ={get exports(){return Zc},set exports(e){Zc=e}},rt={};/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(rt,"__esModule",{value:!0});const pJ=typeof window<"u";let gJ,mJ;const yJ=/\{([0-9a-zA-Z]+)\}/g;function xJ(e,...t){return t.length===1&&Sb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(yJ,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const _J=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",bJ=e=>_J?Symbol(e):e,CJ=(e,t,r)=>GO({l:e,k:t,s:r}),GO=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),SJ=e=>typeof e=="number"&&isFinite(e),wJ=e=>jp(e)==="[object Date]",TJ=e=>jp(e)==="[object RegExp]",AJ=e=>Tb(e)&&Object.keys(e).length===0;function EJ(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const PJ=Object.assign;let v2;const IJ=()=>v2||(v2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Be<"u"?Be:{});function MJ(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const DJ=Object.prototype.hasOwnProperty;function LJ(e,t){return DJ.call(e,t)}const jO=Array.isArray,lx=e=>typeof e=="function",RJ=e=>typeof e=="string",OJ=e=>typeof e=="boolean",kJ=e=>typeof e=="symbol",Sb=e=>e!==null&&typeof e=="object",NJ=e=>Sb(e)&&lx(e.then)&&lx(e.catch),wb=Object.prototype.toString,jp=e=>wb.call(e),Tb=e=>jp(e)==="[object Object]",BJ=e=>e==null?"":jO(e)||Tb(e)&&e.toString===wb?JSON.stringify(e,null,2):String(e),p2=2;function FJ(e,t=0,r=e.length){const n=e.split(/\r?\n/);let i=0;const a=[];for(let o=0;o<n.length;o++)if(i+=n[o].length+1,i>=t){for(let s=o-p2;s<=o+p2||r>i;s++){if(s<0||s>=n.length)continue;const l=s+1;a.push(`${l}${" ".repeat(3-String(l).length)}| ${n[s]}`);const u=n[s].length;if(s===o){const c=t-(i-u)+1,f=Math.max(1,r>i?u-c:r-t);a.push(" | "+" ".repeat(c)+"^".repeat(f))}else if(s>o){if(r>i){const c=Math.max(Math.min(r-i,u),1);a.push(" | "+"^".repeat(c))}i+=u+1}}break}return a.join(`
`)}function $J(){const e=new Map;return{events:e,on(r,n){const i=e.get(r);i&&i.push(n)||e.set(r,[n])},off(r,n){const i=e.get(r);i&&i.splice(i.indexOf(n)>>>0,1)},emit(r,n){(e.get(r)||[]).slice().map(i=>i(n)),(e.get("*")||[]).slice().map(i=>i(r,n))}}}rt.assign=PJ;rt.createEmitter=$J;rt.escapeHtml=MJ;rt.format=xJ;rt.friendlyJSONstringify=GO;rt.generateCodeFrame=FJ;rt.generateFormatCacheKey=CJ;rt.getGlobalThis=IJ;rt.hasOwn=LJ;rt.inBrowser=pJ;rt.isArray=jO;rt.isBoolean=OJ;rt.isDate=wJ;rt.isEmptyObject=AJ;rt.isFunction=lx;rt.isNumber=SJ;rt.isObject=Sb;rt.isPlainObject=Tb;rt.isPromise=NJ;rt.isRegExp=TJ;rt.isString=RJ;rt.isSymbol=kJ;rt.makeSymbol=bJ;rt.mark=gJ;rt.measure=mJ;rt.objectToString=wb;rt.toDisplayString=BJ;rt.toTypeString=jp;rt.warn=EJ;(function(e){e.exports=rt})(vJ);var ux={},HJ={get exports(){return ux},set exports(e){ux=e}},Le={},cx={},zJ={get exports(){return cx},set exports(e){cx=e}},yn={},qp={},Ab={},Yp={},Eb={},g2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Eb.encode=function(e){if(0<=e&&e<g2.length)return g2[e];throw new TypeError("Must be between 0 and 63: "+e)};Eb.decode=function(e){var t=65,r=90,n=97,i=122,a=48,o=57,s=43,l=47,u=26,c=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+u:a<=e&&e<=o?e-a+c:e==s?62:e==l?63:-1};var qO=Eb,Pb=5,YO=1<<Pb,XO=YO-1,KO=YO;function WJ(e){return e<0?(-e<<1)+1:(e<<1)+0}function VJ(e){var t=(e&1)===1,r=e>>1;return t?-r:r}Yp.encode=function(t){var r="",n,i=WJ(t);do n=i&XO,i>>>=Pb,i>0&&(n|=KO),r+=qO.encode(n);while(i>0);return r};Yp.decode=function(t,r,n){var i=t.length,a=0,o=0,s,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=qO.decode(t.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));s=!!(l&KO),l&=XO,a=a+(l<<o),o+=Pb}while(s);n.value=VJ(a),n.rest=r};var cu={};(function(e){function t(_,b,C){if(b in _)return _[b];if(arguments.length===3)return C;throw new Error('"'+b+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(_){var b=_.match(r);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}e.urlParse=i;function a(_){var b="";return _.scheme&&(b+=_.scheme+":"),b+="//",_.auth&&(b+=_.auth+"@"),_.host&&(b+=_.host),_.port&&(b+=":"+_.port),_.path&&(b+=_.path),b}e.urlGenerate=a;function o(_){var b=_,C=i(_);if(C){if(!C.path)return _;b=C.path}for(var S=e.isAbsolute(b),w=b.split(/\/+/),E,T=0,A=w.length-1;A>=0;A--)E=w[A],E==="."?w.splice(A,1):E===".."?T++:T>0&&(E===""?(w.splice(A+1,T),T=0):(w.splice(A,2),T--));return b=w.join("/"),b===""&&(b=S?"/":"."),C?(C.path=b,a(C)):b}e.normalize=o;function s(_,b){_===""&&(_="."),b===""&&(b=".");var C=i(b),S=i(_);if(S&&(_=S.path||"/"),C&&!C.scheme)return S&&(C.scheme=S.scheme),a(C);if(C||b.match(n))return b;if(S&&!S.host&&!S.path)return S.host=b,a(S);var w=b.charAt(0)==="/"?b:o(_.replace(/\/+$/,"")+"/"+b);return S?(S.path=w,a(S)):w}e.join=s,e.isAbsolute=function(_){return _.charAt(0)==="/"||r.test(_)};function l(_,b){_===""&&(_="."),_=_.replace(/\/$/,"");for(var C=0;b.indexOf(_+"/")!==0;){var S=_.lastIndexOf("/");if(S<0||(_=_.slice(0,S),_.match(/^([^\/]+:\/)?\/*$/)))return b;++C}return Array(C+1).join("../")+b.substr(_.length+1)}e.relative=l;var u=function(){var _=Object.create(null);return!("__proto__"in _)}();function c(_){return _}function f(_){return d(_)?"$"+_:_}e.toSetString=u?c:f;function h(_){return d(_)?_.slice(1):_}e.fromSetString=u?c:h;function d(_){if(!_)return!1;var b=_.length;if(b<9||_.charCodeAt(b-1)!==95||_.charCodeAt(b-2)!==95||_.charCodeAt(b-3)!==111||_.charCodeAt(b-4)!==116||_.charCodeAt(b-5)!==111||_.charCodeAt(b-6)!==114||_.charCodeAt(b-7)!==112||_.charCodeAt(b-8)!==95||_.charCodeAt(b-9)!==95)return!1;for(var C=b-10;C>=0;C--)if(_.charCodeAt(C)!==36)return!1;return!0}function v(_,b,C){var S=m(_.source,b.source);return S!==0||(S=_.originalLine-b.originalLine,S!==0)||(S=_.originalColumn-b.originalColumn,S!==0||C)||(S=_.generatedColumn-b.generatedColumn,S!==0)||(S=_.generatedLine-b.generatedLine,S!==0)?S:m(_.name,b.name)}e.compareByOriginalPositions=v;function p(_,b,C){var S=_.generatedLine-b.generatedLine;return S!==0||(S=_.generatedColumn-b.generatedColumn,S!==0||C)||(S=m(_.source,b.source),S!==0)||(S=_.originalLine-b.originalLine,S!==0)||(S=_.originalColumn-b.originalColumn,S!==0)?S:m(_.name,b.name)}e.compareByGeneratedPositionsDeflated=p;function m(_,b){return _===b?0:_===null?1:b===null?-1:_>b?1:-1}function g(_,b){var C=_.generatedLine-b.generatedLine;return C!==0||(C=_.generatedColumn-b.generatedColumn,C!==0)||(C=m(_.source,b.source),C!==0)||(C=_.originalLine-b.originalLine,C!==0)||(C=_.originalColumn-b.originalColumn,C!==0)?C:m(_.name,b.name)}e.compareByGeneratedPositionsInflated=g;function y(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=y;function x(_,b,C){if(b=b||"",_&&(_[_.length-1]!=="/"&&b[0]!=="/"&&(_+="/"),b=_+b),C){var S=i(C);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var w=S.path.lastIndexOf("/");w>=0&&(S.path=S.path.substring(0,w+1))}b=s(a(S),b)}return o(b)}e.computeSourceURL=x})(cu);var Ib={},Mb=cu,Db=Object.prototype.hasOwnProperty,jo=typeof Map<"u";function Wi(){this._array=[],this._set=jo?new Map:Object.create(null)}Wi.fromArray=function(t,r){for(var n=new Wi,i=0,a=t.length;i<a;i++)n.add(t[i],r);return n};Wi.prototype.size=function(){return jo?this._set.size:Object.getOwnPropertyNames(this._set).length};Wi.prototype.add=function(t,r){var n=jo?t:Mb.toSetString(t),i=jo?this.has(t):Db.call(this._set,n),a=this._array.length;(!i||r)&&this._array.push(t),i||(jo?this._set.set(t,a):this._set[n]=a)};Wi.prototype.has=function(t){if(jo)return this._set.has(t);var r=Mb.toSetString(t);return Db.call(this._set,r)};Wi.prototype.indexOf=function(t){if(jo){var r=this._set.get(t);if(r>=0)return r}else{var n=Mb.toSetString(t);if(Db.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};Wi.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};Wi.prototype.toArray=function(){return this._array.slice()};Ib.ArraySet=Wi;var ZO={},QO=cu;function UJ(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return n>r||n==r&&a>=i||QO.compareByGeneratedPositionsInflated(e,t)<=0}function Xp(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Xp.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Xp.prototype.add=function(t){UJ(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Xp.prototype.toArray=function(){return this._sorted||(this._array.sort(QO.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};ZO.MappingList=Xp;var Tu=Yp,Ot=cu,Iv=Ib.ArraySet,GJ=ZO.MappingList;function pn(e){e||(e={}),this._file=Ot.getArg(e,"file",null),this._sourceRoot=Ot.getArg(e,"sourceRoot",null),this._skipValidation=Ot.getArg(e,"skipValidation",!1),this._sources=new Iv,this._names=new Iv,this._mappings=new GJ,this._sourcesContents=null}pn.prototype._version=3;pn.fromSourceMap=function(t){var r=t.sourceRoot,n=new pn({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var a={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(a.source=i.source,r!=null&&(a.source=Ot.relative(r,a.source)),a.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(a.name=i.name)),n.addMapping(a)}),t.sources.forEach(function(i){var a=i;r!==null&&(a=Ot.relative(r,i)),n._sources.has(a)||n._sources.add(a);var o=t.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};pn.prototype.addMapping=function(t){var r=Ot.getArg(t,"generated"),n=Ot.getArg(t,"original",null),i=Ot.getArg(t,"source",null),a=Ot.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:a})};pn.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Ot.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ot.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Ot.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};pn.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var a=this._sourceRoot;a!=null&&(i=Ot.relative(a,i));var o=new Iv,s=new Iv;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var u=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,n!=null&&(l.source=Ot.join(n,l.source)),a!=null&&(l.source=Ot.relative(a,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var c=l.source;c!=null&&!o.has(c)&&o.add(c);var f=l.name;f!=null&&!s.has(f)&&s.add(f)},this),this._sources=o,this._names=s,t.sources.forEach(function(l){var u=t.sourceContentFor(l);u!=null&&(n!=null&&(l=Ot.join(n,l)),a!=null&&(l=Ot.relative(a,l)),this.setSourceContent(l,u))},this)};pn.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};pn.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,a=0,o=0,s="",l,u,c,f,h=this._mappings.toArray(),d=0,v=h.length;d<v;d++){if(u=h[d],l="",u.generatedLine!==r)for(t=0;u.generatedLine!==r;)l+=";",r++;else if(d>0){if(!Ot.compareByGeneratedPositionsInflated(u,h[d-1]))continue;l+=","}l+=Tu.encode(u.generatedColumn-t),t=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=Tu.encode(f-o),o=f,l+=Tu.encode(u.originalLine-1-i),i=u.originalLine-1,l+=Tu.encode(u.originalColumn-n),n=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=Tu.encode(c-a),a=c)),s+=l}return s};pn.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Ot.relative(r,n));var i=Ot.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};pn.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};pn.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ab.SourceMapGenerator=pn;var Kp={},JO={};(function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,i,a,o,s){var l=Math.floor((n-r)/2)+r,u=o(i,a[l],!0);return u===0?l:u>0?n-l>1?t(l,n,i,a,o,s):s==e.LEAST_UPPER_BOUND?n<a.length?n:-1:l:l-r>1?t(r,l,i,a,o,s):s==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(n,i,a,o){if(i.length===0)return-1;var s=t(-1,i.length,n,i,a,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&a(i[s],i[s-1],!0)===0;)--s;return s}})(JO);var ek={};function Rg(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function jJ(e,t){return Math.round(e+Math.random()*(t-e))}function fx(e,t,r,n){if(r<n){var i=jJ(r,n),a=r-1;Rg(e,i,n);for(var o=e[n],s=r;s<n;s++)t(e[s],o)<=0&&(a+=1,Rg(e,a,s));Rg(e,a+1,s);var l=a+1;fx(e,t,r,l-1),fx(e,t,l+1,n)}}ek.quickSort=function(e,t){fx(e,t,0,e.length-1)};var _e=cu,Lb=JO,$l=Ib.ArraySet,qJ=Yp,Qc=ek.quickSort;function yt(e,t){var r=e;return typeof e=="string"&&(r=_e.parseSourceMapInput(e)),r.sections!=null?new Fn(r,t):new Qt(r,t)}yt.fromSourceMap=function(e,t){return Qt.fromSourceMap(e,t)};yt.prototype._version=3;yt.prototype.__generatedMappings=null;Object.defineProperty(yt.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});yt.prototype.__originalMappings=null;Object.defineProperty(yt.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});yt.prototype._charIsMappingSeparator=function(t,r){var n=t.charAt(r);return n===";"||n===","};yt.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};yt.GENERATED_ORDER=1;yt.ORIGINAL_ORDER=2;yt.GREATEST_LOWER_BOUND=1;yt.LEAST_UPPER_BOUND=2;yt.prototype.eachMapping=function(t,r,n){var i=r||null,a=n||yt.GENERATED_ORDER,o;switch(a){case yt.GENERATED_ORDER:o=this._generatedMappings;break;case yt.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;o.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=_e.computeSourceURL(s,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(t,i)};yt.prototype.allGeneratedPositionsFor=function(t){var r=_e.getArg(t,"line"),n={source:_e.getArg(t,"source"),originalLine:r,originalColumn:_e.getArg(t,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",_e.compareByOriginalPositions,Lb.LEAST_UPPER_BOUND);if(a>=0){var o=this._originalMappings[a];if(t.column===void 0)for(var s=o.originalLine;o&&o.originalLine===s;)i.push({line:_e.getArg(o,"generatedLine",null),column:_e.getArg(o,"generatedColumn",null),lastColumn:_e.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++a];else for(var l=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==l;)i.push({line:_e.getArg(o,"generatedLine",null),column:_e.getArg(o,"generatedColumn",null),lastColumn:_e.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++a]}return i};Kp.SourceMapConsumer=yt;function Qt(e,t){var r=e;typeof e=="string"&&(r=_e.parseSourceMapInput(e));var n=_e.getArg(r,"version"),i=_e.getArg(r,"sources"),a=_e.getArg(r,"names",[]),o=_e.getArg(r,"sourceRoot",null),s=_e.getArg(r,"sourcesContent",null),l=_e.getArg(r,"mappings"),u=_e.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=_e.normalize(o)),i=i.map(String).map(_e.normalize).map(function(c){return o&&_e.isAbsolute(o)&&_e.isAbsolute(c)?_e.relative(o,c):c}),this._names=$l.fromArray(a.map(String),!0),this._sources=$l.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return _e.computeSourceURL(o,c,t)}),this.sourceRoot=o,this.sourcesContent=s,this._mappings=l,this._sourceMapURL=t,this.file=u}Qt.prototype=Object.create(yt.prototype);Qt.prototype.consumer=yt;Qt.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=_e.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==e)return r;return-1};Qt.fromSourceMap=function(t,r){var n=Object.create(Qt.prototype),i=n._names=$l.fromArray(t._names.toArray(),!0),a=n._sources=$l.fromArray(t._sources.toArray(),!0);n.sourceRoot=t._sourceRoot,n.sourcesContent=t._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=t._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(d){return _e.computeSourceURL(n.sourceRoot,d,r)});for(var o=t._mappings.toArray().slice(),s=n.__generatedMappings=[],l=n.__originalMappings=[],u=0,c=o.length;u<c;u++){var f=o[u],h=new tk;h.generatedLine=f.generatedLine,h.generatedColumn=f.generatedColumn,f.source&&(h.source=a.indexOf(f.source),h.originalLine=f.originalLine,h.originalColumn=f.originalColumn,f.name&&(h.name=i.indexOf(f.name)),l.push(h)),s.push(h)}return Qc(n.__originalMappings,_e.compareByOriginalPositions),n};Qt.prototype._version=3;Object.defineProperty(Qt.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function tk(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Qt.prototype._parseMappings=function(t,r){for(var n=1,i=0,a=0,o=0,s=0,l=0,u=t.length,c=0,f={},h={},d=[],v=[],p,m,g,y,x;c<u;)if(t.charAt(c)===";")n++,c++,i=0;else if(t.charAt(c)===",")c++;else{for(p=new tk,p.generatedLine=n,y=c;y<u&&!this._charIsMappingSeparator(t,y);y++);if(m=t.slice(c,y),g=f[m],g)c+=m.length;else{for(g=[];c<y;)qJ.decode(t,c,h),x=h.value,c=h.rest,g.push(x);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");f[m]=g}p.generatedColumn=i+g[0],i=p.generatedColumn,g.length>1&&(p.source=s+g[1],s+=g[1],p.originalLine=a+g[2],a=p.originalLine,p.originalLine+=1,p.originalColumn=o+g[3],o=p.originalColumn,g.length>4&&(p.name=l+g[4],l+=g[4])),v.push(p),typeof p.originalLine=="number"&&d.push(p)}Qc(v,_e.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,Qc(d,_e.compareByOriginalPositions),this.__originalMappings=d};Qt.prototype._findMapping=function(t,r,n,i,a,o){if(t[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[n]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return Lb.search(t,r,a,o)};Qt.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var r=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var n=this._generatedMappings[t+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Qt.prototype.originalPositionFor=function(t){var r={generatedLine:_e.getArg(t,"line"),generatedColumn:_e.getArg(t,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",_e.compareByGeneratedPositionsDeflated,_e.getArg(t,"bias",yt.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var a=_e.getArg(i,"source",null);a!==null&&(a=this._sources.at(a),a=_e.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var o=_e.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:a,line:_e.getArg(i,"originalLine",null),column:_e.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Qt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};Qt.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var i=t;this.sourceRoot!=null&&(i=_e.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=_e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Qt.prototype.generatedPositionFor=function(t){var r=_e.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:_e.getArg(t,"line"),originalColumn:_e.getArg(t,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",_e.compareByOriginalPositions,_e.getArg(t,"bias",yt.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===n.source)return{line:_e.getArg(a,"generatedLine",null),column:_e.getArg(a,"generatedColumn",null),lastColumn:_e.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Kp.BasicSourceMapConsumer=Qt;function Fn(e,t){var r=e;typeof e=="string"&&(r=_e.parseSourceMapInput(e));var n=_e.getArg(r,"version"),i=_e.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new $l,this._names=new $l;var a={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var s=_e.getArg(o,"offset"),l=_e.getArg(s,"line"),u=_e.getArg(s,"column");if(l<a.line||l===a.line&&u<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=s,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new yt(_e.getArg(o,"map"),t)}})}Fn.prototype=Object.create(yt.prototype);Fn.prototype.constructor=yt;Fn.prototype._version=3;Object.defineProperty(Fn.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}});Fn.prototype.originalPositionFor=function(t){var r={generatedLine:_e.getArg(t,"line"),generatedColumn:_e.getArg(t,"column")},n=Lb.search(r,this._sections,function(a,o){var s=a.generatedLine-o.generatedOffset.generatedLine;return s||a.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};Fn.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};Fn.prototype.sourceContentFor=function(t,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],a=i.consumer.sourceContentFor(t,!0);if(a)return a}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')};Fn.prototype.generatedPositionFor=function(t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(_e.getArg(t,"source"))!==-1){var i=n.consumer.generatedPositionFor(t);if(i){var a={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return a}}}return{line:null,column:null}};Fn.prototype._parseMappings=function(t,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],a=i.consumer._generatedMappings,o=0;o<a.length;o++){var s=a[o],l=i.consumer._sources.at(s.source);l=_e.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;s.name&&(u=i.consumer._names.at(s.name),this._names.add(u),u=this._names.indexOf(u));var c={source:l,generatedLine:s.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(i.generatedOffset.generatedLine===s.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:u};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}Qc(this.__generatedMappings,_e.compareByGeneratedPositionsDeflated),Qc(this.__originalMappings,_e.compareByOriginalPositions)};Kp.IndexedSourceMapConsumer=Fn;var rk={},YJ=Ab.SourceMapGenerator,Mv=cu,XJ=/(\r?\n)/,KJ=10,fu="$$$isSourceNode$$$";function jr(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=r??null,this.name=i??null,this[fu]=!0,n!=null&&this.add(n)}jr.fromStringWithSourceMap=function(t,r,n){var i=new jr,a=t.split(XJ),o=0,s=function(){var h=v(),d=v()||"";return h+d;function v(){return o<a.length?a[o++]:void 0}},l=1,u=0,c=null;return r.eachMapping(function(h){if(c!==null)if(l<h.generatedLine)f(c,s()),l++,u=0;else{var d=a[o]||"",v=d.substr(0,h.generatedColumn-u);a[o]=d.substr(h.generatedColumn-u),u=h.generatedColumn,f(c,v),c=h;return}for(;l<h.generatedLine;)i.add(s()),l++;if(u<h.generatedColumn){var d=a[o]||"";i.add(d.substr(0,h.generatedColumn)),a[o]=d.substr(h.generatedColumn),u=h.generatedColumn}c=h},this),o<a.length&&(c&&f(c,s()),i.add(a.splice(o).join(""))),r.sources.forEach(function(h){var d=r.sourceContentFor(h);d!=null&&(n!=null&&(h=Mv.join(n,h)),i.setSourceContent(h,d))}),i;function f(h,d){if(h===null||h.source===void 0)i.add(d);else{var v=n?Mv.join(n,h.source):h.source;i.add(new jr(h.originalLine,h.originalColumn,v,d,h.name))}}};jr.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(r){this.add(r)},this);else if(t[fu]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};jr.prototype.prepend=function(t){if(Array.isArray(t))for(var r=t.length-1;r>=0;r--)this.prepend(t[r]);else if(t[fu]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};jr.prototype.walk=function(t){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[fu]?r.walk(t):r!==""&&t(r,{source:this.source,line:this.line,column:this.column,name:this.name})};jr.prototype.join=function(t){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(t);r.push(this.children[n]),this.children=r}return this};jr.prototype.replaceRight=function(t,r){var n=this.children[this.children.length-1];return n[fu]?n.replaceRight(t,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(t,r):this.children.push("".replace(t,r)),this};jr.prototype.setSourceContent=function(t,r){this.sourceContents[Mv.toSetString(t)]=r};jr.prototype.walkSourceContents=function(t){for(var r=0,n=this.children.length;r<n;r++)this.children[r][fu]&&this.children[r].walkSourceContents(t);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)t(Mv.fromSetString(i[r]),this.sourceContents[i[r]])};jr.prototype.toString=function(){var t="";return this.walk(function(r){t+=r}),t};jr.prototype.toStringWithSourceMap=function(t){var r={code:"",line:1,column:0},n=new YJ(t),i=!1,a=null,o=null,s=null,l=null;return this.walk(function(u,c){r.code+=u,c.source!==null&&c.line!==null&&c.column!==null?((a!==c.source||o!==c.line||s!==c.column||l!==c.name)&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),a=c.source,o=c.line,s=c.column,l=c.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),a=null,i=!1);for(var f=0,h=u.length;f<h;f++)u.charCodeAt(f)===KJ?(r.line++,r.column=0,f+1===h?(a=null,i=!1):i&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(u,c){n.setSourceContent(u,c)}),{code:r.code,map:n}};rk.SourceNode=jr;qp.SourceMapGenerator=Ab.SourceMapGenerator;qp.SourceMapConsumer=Kp.SourceMapConsumer;qp.SourceNode=rk.SourceNode;/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(yn,"__esModule",{value:!0});var Dv=Zc,ZJ=qp;const Oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},QJ={[Oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Rb(e,t,r={}){const{domain:n,messages:i,args:a}=r,o=e,s=new SyntaxError(String(o));return s.code=e,t&&(s.location=t),s.domain=n,s}function JJ(e){throw e}const nk={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ik(e,t,r){return{line:e,column:t,offset:r}}function Lv(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const Si=" ",eee="\r",dr=`
`,tee=String.fromCharCode(8232),ree=String.fromCharCode(8233);function nee(e){const t=e;let r=0,n=1,i=1,a=0;const o=S=>t[S]===eee&&t[S+1]===dr,s=S=>t[S]===dr,l=S=>t[S]===ree,u=S=>t[S]===tee,c=S=>o(S)||s(S)||l(S)||u(S),f=()=>r,h=()=>n,d=()=>i,v=()=>a,p=S=>o(S)||l(S)||u(S)?dr:t[S],m=()=>p(r),g=()=>p(r+a);function y(){return a=0,c(r)&&(n++,i=0),o(r)&&r++,r++,i++,t[r]}function x(){return o(r+a)&&a++,a++,t[r+a]}function _(){r=0,n=1,i=1,a=0}function b(S=0){a=S}function C(){const S=r+a;for(;S!==r;)y();a=0}return{index:f,line:h,column:d,peekOffset:v,charAt:p,currentChar:m,currentPeek:g,next:y,peek:x,reset:_,resetPeek:b,skipToPeek:C}}const ra=void 0,m2="'",iee="tokenizer";function aee(e,t={}){const r=t.location!==!1,n=nee(e),i=()=>n.index(),a=()=>ik(n.line(),n.column(),n.index()),o=a(),s=i(),l={currentType:14,offset:s,startLoc:o,endLoc:o,lastType:14,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(I,M,k,...z){const Z=u();if(M.column+=k,M.offset+=k,c){const ne=Lv(Z.startLoc,M),ie=Rb(I,ne,{domain:iee,args:z});c(ie)}}function h(I,M,k){I.endLoc=a(),I.currentType=M;const z={type:M};return r&&(z.loc=Lv(I.startLoc,I.endLoc)),k!=null&&(z.value=k),z}const d=I=>h(I,14);function v(I,M){return I.currentChar()===M?(I.next(),M):(f(Oe.EXPECTED_TOKEN,a(),0,M),"")}function p(I){let M="";for(;I.currentPeek()===Si||I.currentPeek()===dr;)M+=I.currentPeek(),I.peek();return M}function m(I){const M=p(I);return I.skipToPeek(),M}function g(I){if(I===ra)return!1;const M=I.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M===95}function y(I){if(I===ra)return!1;const M=I.charCodeAt(0);return M>=48&&M<=57}function x(I,M){const{currentType:k}=M;if(k!==2)return!1;p(I);const z=g(I.currentPeek());return I.resetPeek(),z}function _(I,M){const{currentType:k}=M;if(k!==2)return!1;p(I);const z=I.currentPeek()==="-"?I.peek():I.currentPeek(),Z=y(z);return I.resetPeek(),Z}function b(I,M){const{currentType:k}=M;if(k!==2)return!1;p(I);const z=I.currentPeek()===m2;return I.resetPeek(),z}function C(I,M){const{currentType:k}=M;if(k!==8)return!1;p(I);const z=I.currentPeek()===".";return I.resetPeek(),z}function S(I,M){const{currentType:k}=M;if(k!==9)return!1;p(I);const z=g(I.currentPeek());return I.resetPeek(),z}function w(I,M){const{currentType:k}=M;if(!(k===8||k===12))return!1;p(I);const z=I.currentPeek()===":";return I.resetPeek(),z}function E(I,M){const{currentType:k}=M;if(k!==10)return!1;const z=()=>{const ne=I.currentPeek();return ne==="{"?g(I.peek()):ne==="@"||ne==="%"||ne==="|"||ne===":"||ne==="."||ne===Si||!ne?!1:ne===dr?(I.peek(),z()):g(ne)},Z=z();return I.resetPeek(),Z}function T(I){p(I);const M=I.currentPeek()==="|";return I.resetPeek(),M}function A(I){const M=p(I),k=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:k,hasSpace:M.length>0}}function P(I,M=!0){const k=(Z=!1,ne="",ie=!1)=>{const ae=I.currentPeek();return ae==="{"?ne==="%"?!1:Z:ae==="@"||!ae?ne==="%"?!0:Z:ae==="%"?(I.peek(),k(Z,"%",!0)):ae==="|"?ne==="%"||ie?!0:!(ne===Si||ne===dr):ae===Si?(I.peek(),k(!0,Si,ie)):ae===dr?(I.peek(),k(!0,dr,ie)):!0},z=k();return M&&I.resetPeek(),z}function D(I,M){const k=I.currentChar();return k===ra?ra:M(k)?(I.next(),k):null}function L(I){return D(I,k=>{const z=k.charCodeAt(0);return z>=97&&z<=122||z>=65&&z<=90||z>=48&&z<=57||z===95||z===36})}function N(I){return D(I,k=>{const z=k.charCodeAt(0);return z>=48&&z<=57})}function B(I){return D(I,k=>{const z=k.charCodeAt(0);return z>=48&&z<=57||z>=65&&z<=70||z>=97&&z<=102})}function G(I){let M="",k="";for(;M=N(I);)k+=M;return k}function $(I){m(I);const M=I.currentChar();return M!=="%"&&f(Oe.EXPECTED_TOKEN,a(),0,M),I.next(),"%"}function Y(I){let M="";for(;;){const k=I.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(P(I))M+=k,I.next();else break;else if(k===Si||k===dr)if(P(I))M+=k,I.next();else{if(T(I))break;M+=k,I.next()}else M+=k,I.next()}return M}function J(I){m(I);let M="",k="";for(;M=L(I);)k+=M;return I.currentChar()===ra&&f(Oe.UNTERMINATED_CLOSING_BRACE,a(),0),k}function H(I){m(I);let M="";return I.currentChar()==="-"?(I.next(),M+=`-${G(I)}`):M+=G(I),I.currentChar()===ra&&f(Oe.UNTERMINATED_CLOSING_BRACE,a(),0),M}function W(I){m(I),v(I,"'");let M="",k="";const z=ne=>ne!==m2&&ne!==dr;for(;M=D(I,z);)M==="\\"?k+=X(I):k+=M;const Z=I.currentChar();return Z===dr||Z===ra?(f(Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),Z===dr&&(I.next(),v(I,"'")),k):(v(I,"'"),k)}function X(I){const M=I.currentChar();switch(M){case"\\":case"'":return I.next(),`\\${M}`;case"u":return q(I,M,4);case"U":return q(I,M,6);default:return f(Oe.UNKNOWN_ESCAPE_SEQUENCE,a(),0,M),""}}function q(I,M,k){v(I,M);let z="";for(let Z=0;Z<k;Z++){const ne=B(I);if(!ne){f(Oe.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${M}${z}${I.currentChar()}`);break}z+=ne}return`\\${M}${z}`}function U(I){m(I);let M="",k="";const z=Z=>Z!=="{"&&Z!=="}"&&Z!==Si&&Z!==dr;for(;M=D(I,z);)k+=M;return k}function Q(I){let M="",k="";for(;M=L(I);)k+=M;return k}function re(I){const M=(k=!1,z)=>{const Z=I.currentChar();return Z==="{"||Z==="%"||Z==="@"||Z==="|"||!Z||Z===Si?z:Z===dr?(z+=Z,I.next(),M(k,z)):(z+=Z,I.next(),M(!0,z))};return M(!1,"")}function ee(I){m(I);const M=v(I,"|");return m(I),M}function me(I,M){let k=null;switch(I.currentChar()){case"{":return M.braceNest>=1&&f(Oe.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),I.next(),k=h(M,2,"{"),m(I),M.braceNest++,k;case"}":return M.braceNest>0&&M.currentType===2&&f(Oe.EMPTY_PLACEHOLDER,a(),0),I.next(),k=h(M,3,"}"),M.braceNest--,M.braceNest>0&&m(I),M.inLinked&&M.braceNest===0&&(M.inLinked=!1),k;case"@":return M.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,a(),0),k=xe(I,M)||d(M),M.braceNest=0,k;default:let Z=!0,ne=!0,ie=!0;if(T(I))return M.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,a(),0),k=h(M,1,ee(I)),M.braceNest=0,M.inLinked=!1,k;if(M.braceNest>0&&(M.currentType===5||M.currentType===6||M.currentType===7))return f(Oe.UNTERMINATED_CLOSING_BRACE,a(),0),M.braceNest=0,oe(I,M);if(Z=x(I,M))return k=h(M,5,J(I)),m(I),k;if(ne=_(I,M))return k=h(M,6,H(I)),m(I),k;if(ie=b(I,M))return k=h(M,7,W(I)),m(I),k;if(!Z&&!ne&&!ie)return k=h(M,13,U(I)),f(Oe.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,k.value),m(I),k;break}return k}function xe(I,M){const{currentType:k}=M;let z=null;const Z=I.currentChar();switch((k===8||k===9||k===12||k===10)&&(Z===dr||Z===Si)&&f(Oe.INVALID_LINKED_FORMAT,a(),0),Z){case"@":return I.next(),z=h(M,8,"@"),M.inLinked=!0,z;case".":return m(I),I.next(),h(M,9,".");case":":return m(I),I.next(),h(M,10,":");default:return T(I)?(z=h(M,1,ee(I)),M.braceNest=0,M.inLinked=!1,z):C(I,M)||w(I,M)?(m(I),xe(I,M)):S(I,M)?(m(I),h(M,12,Q(I))):E(I,M)?(m(I),Z==="{"?me(I,M)||z:h(M,11,re(I))):(k===8&&f(Oe.INVALID_LINKED_FORMAT,a(),0),M.braceNest=0,M.inLinked=!1,oe(I,M))}}function oe(I,M){let k={type:14};if(M.braceNest>0)return me(I,M)||d(M);if(M.inLinked)return xe(I,M)||d(M);switch(I.currentChar()){case"{":return me(I,M)||d(M);case"}":return f(Oe.UNBALANCED_CLOSING_BRACE,a(),0),I.next(),h(M,3,"}");case"@":return xe(I,M)||d(M);default:if(T(I))return k=h(M,1,ee(I)),M.braceNest=0,M.inLinked=!1,k;const{isModulo:Z,hasSpace:ne}=A(I);if(Z)return ne?h(M,0,Y(I)):h(M,4,$(I));if(P(I))return h(M,0,Y(I));break}return k}function R(){const{currentType:I,offset:M,startLoc:k,endLoc:z}=l;return l.lastType=I,l.lastOffset=M,l.lastStartLoc=k,l.lastEndLoc=z,l.offset=i(),l.startLoc=a(),n.currentChar()===ra?h(l,14):oe(n,l)}return{nextToken:R,currentOffset:i,currentPosition:a,context:u}}const ak="parser",oee=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function see(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"<22>"}}}function ok(e={}){const t=e.location!==!1,{onError:r}=e;function n(g,y,x,_,...b){const C=g.currentPosition();if(C.offset+=_,C.column+=_,r){const S=Lv(x,C),w=Rb(y,S,{domain:ak,args:b});r(w)}}function i(g,y,x){const _={type:g,start:y,end:y};return t&&(_.loc={start:x,end:x}),_}function a(g,y,x,_){g.end=y,_&&(g.type=_),t&&g.loc&&(g.loc.end=x)}function o(g,y){const x=g.context(),_=i(3,x.offset,x.startLoc);return _.value=y,a(_,g.currentOffset(),g.currentPosition()),_}function s(g,y){const x=g.context(),{lastOffset:_,lastStartLoc:b}=x,C=i(5,_,b);return C.index=parseInt(y,10),g.nextToken(),a(C,g.currentOffset(),g.currentPosition()),C}function l(g,y){const x=g.context(),{lastOffset:_,lastStartLoc:b}=x,C=i(4,_,b);return C.key=y,g.nextToken(),a(C,g.currentOffset(),g.currentPosition()),C}function u(g,y){const x=g.context(),{lastOffset:_,lastStartLoc:b}=x,C=i(9,_,b);return C.value=y.replace(oee,see),g.nextToken(),a(C,g.currentOffset(),g.currentPosition()),C}function c(g){const y=g.nextToken(),x=g.context(),{lastOffset:_,lastStartLoc:b}=x,C=i(8,_,b);return y.type!==12?(n(g,Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),C.value="",a(C,_,b),{nextConsumeToken:y,node:C}):(y.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Un(y)),C.value=y.value||"",a(C,g.currentOffset(),g.currentPosition()),{node:C})}function f(g,y){const x=g.context(),_=i(7,x.offset,x.startLoc);return _.value=y,a(_,g.currentOffset(),g.currentPosition()),_}function h(g){const y=g.context(),x=i(6,y.offset,y.startLoc);let _=g.nextToken();if(_.type===9){const b=c(g);x.modifier=b.node,_=b.nextConsumeToken||g.nextToken()}switch(_.type!==10&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(_)),_=g.nextToken(),_.type===2&&(_=g.nextToken()),_.type){case 11:_.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(_)),x.key=f(g,_.value||"");break;case 5:_.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(_)),x.key=l(g,_.value||"");break;case 6:_.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(_)),x.key=s(g,_.value||"");break;case 7:_.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(_)),x.key=u(g,_.value||"");break;default:n(g,Oe.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const b=g.context(),C=i(7,b.offset,b.startLoc);return C.value="",a(C,b.offset,b.startLoc),x.key=C,a(x,b.offset,b.startLoc),{nextConsumeToken:_,node:x}}return a(x,g.currentOffset(),g.currentPosition()),{node:x}}function d(g){const y=g.context(),x=y.currentType===1?g.currentOffset():y.offset,_=y.currentType===1?y.endLoc:y.startLoc,b=i(2,x,_);b.items=[];let C=null;do{const E=C||g.nextToken();switch(C=null,E.type){case 0:E.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(E)),b.items.push(o(g,E.value||""));break;case 6:E.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(E)),b.items.push(s(g,E.value||""));break;case 5:E.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(E)),b.items.push(l(g,E.value||""));break;case 7:E.value==null&&n(g,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Un(E)),b.items.push(u(g,E.value||""));break;case 8:const T=h(g);b.items.push(T.node),C=T.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const S=y.currentType===1?y.lastOffset:g.currentOffset(),w=y.currentType===1?y.lastEndLoc:g.currentPosition();return a(b,S,w),b}function v(g,y,x,_){const b=g.context();let C=_.items.length===0;const S=i(1,y,x);S.cases=[],S.cases.push(_);do{const w=d(g);C||(C=w.items.length===0),S.cases.push(w)}while(b.currentType!==14);return C&&n(g,Oe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),a(S,g.currentOffset(),g.currentPosition()),S}function p(g){const y=g.context(),{offset:x,startLoc:_}=y,b=d(g);return y.currentType===14?b:v(g,x,_,b)}function m(g){const y=aee(g,Dv.assign({},e)),x=y.context(),_=i(0,x.offset,x.startLoc);return t&&_.loc&&(_.loc.source=g),_.body=p(y),x.currentType!==14&&n(y,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,g[x.offset]||""),a(_,y.currentOffset(),y.currentPosition()),_}return{parse:m}}function Un(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function lee(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function y2(e,t){for(let r=0;r<e.length;r++)Ob(e[r],t)}function Ob(e,t){switch(e.type){case 1:y2(e.cases,t),t.helper("plural");break;case 2:y2(e.items,t);break;case 6:Ob(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function uee(e,t={}){const r=lee(e);r.helper("normalize"),e.body&&Ob(e.body,r);const n=r.context();e.helpers=Array.from(n.helpers)}function cee(e,t){const{sourceMap:r,filename:n,breakLineCode:i,needIndent:a}=t,o={source:e.loc.source,filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0},s=()=>o;function l(m,g){o.code+=m,o.map&&(g&&g.loc&&g.loc!==nk&&p(g.loc.start,gee(g)),mee(o,m))}function u(m,g=!0){const y=g?i:"";l(a?y+" ".repeat(m):y)}function c(m=!0){const g=++o.indentLevel;m&&u(g)}function f(m=!0){const g=--o.indentLevel;m&&u(g)}function h(){u(o.indentLevel)}const d=m=>`_${m}`,v=()=>o.needIndent;function p(m,g){o.map.addMapping({name:g,source:o.filename,original:{line:m.line,column:m.column-1},generated:{line:o.line,column:o.column-1}})}return r&&(o.map=new ZJ.SourceMapGenerator,o.map.setSourceContent(n,o.source)),{context:s,push:l,indent:c,deindent:f,newline:h,helper:d,needIndent:v}}function fee(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Hl(e,t.key),t.modifier?(e.push(", "),Hl(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function hee(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const i=t.items.length;for(let a=0;a<i&&(Hl(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(n()),e.push("])")}function dee(e,t){const{helper:r,needIndent:n}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(n());const i=t.cases.length;for(let a=0;a<i&&(Hl(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(n()),e.push("])")}}function vee(e,t){t.body?Hl(e,t.body):e.push("null")}function Hl(e,t){const{helper:r}=e;switch(t.type){case 0:vee(e,t);break;case 1:dee(e,t);break;case 2:hee(e,t);break;case 6:fee(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const pee=(e,t={})=>{const r=Dv.isString(t.mode)?t.mode:"normal",n=Dv.isString(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
`,o=t.needIndent?t.needIndent:r!=="arrow",s=e.helpers||[],l=cee(e,{mode:r,filename:n,sourceMap:i,breakLineCode:a,needIndent:o});l.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),s.length>0&&(l.push(`const { ${s.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),l.newline()),l.push("return "),Hl(l,e),l.deindent(o),l.push("}");const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function gee(e){switch(e.type){case 3:case 9:case 8:case 7:return e.value;case 5:return e.index.toString();case 4:return e.key;default:return}}function mee(e,t,r=t.length){let n=0,i=-1;for(let a=0;a<r;a++)t.charCodeAt(a)===10&&(n++,i=a);return e.offset+=r,e.line+=n,e.column=i===-1?e.column+r:r-i,e}function yee(e,t={}){const r=Dv.assign({},t),i=ok(r).parse(e);return uee(i,r),pee(i,r)}yn.CompileErrorCodes=Oe;yn.ERROR_DOMAIN=ak;yn.LocationStub=nk;yn.baseCompile=yee;yn.createCompileError=Rb;yn.createLocation=Lv;yn.createParser=ok;yn.createPosition=ik;yn.defaultOnError=JJ;yn.errorMessages=QJ;(function(e){e.exports=yn})(zJ);var hx={},xee={get exports(){return hx},set exports(e){hx=e}},kb={};/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(kb,"__esModule",{value:!0});const _ee={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};kb.IntlifyDevToolsHooks=_ee;(function(e){e.exports=kb})(xee);/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(Le,"__esModule",{value:!0});var zl=cx,K=Zc,sk=hx;const Ka=[];Ka[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Ka[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Ka[2]={w:[2],i:[3,0],[0]:[3,0]};Ka[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Ka[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Ka[5]={["'"]:[4,0],o:8,l:[5,0]};Ka[6]={['"']:[4,0],o:8,l:[6,0]};const bee=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cee(e){return bee.test(e)}function See(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function wee(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Tee(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Cee(t)?See(t):"*"+t}function lk(e){const t=[];let r=-1,n=0,i=0,a,o,s,l,u,c,f;const h=[];h[0]=()=>{o===void 0?o=s:o+=s},h[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,n=4,h[0]();else{if(i=0,o===void 0||(o=Tee(o),o===!1))return!1;h[1]()}};function d(){const v=e[r+1];if(n===5&&v==="'"||n===6&&v==='"')return r++,s="\\"+v,h[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(l=wee(a),f=Ka[n],u=f[l]||f.l||8,u===8||(n=u[0],u[1]!==void 0&&(c=h[u[1]],c&&(s=a,c()===!1))))return;if(n===7)return t}}const x2=new Map;function uk(e,t){return K.isObject(e)?e[t]:null}function Aee(e,t){if(!K.isObject(e))return null;let r=x2.get(t);if(r||(r=lk(t),r&&x2.set(t,r)),!r)return null;const n=r.length;let i=e,a=0;for(;a<n;){const o=i[r[a]];if(o===void 0)return null;i=o,a++}return i}const Eee=e=>e,Pee=e=>"",ck="text",Iee=e=>e.length===0?"":e.join(""),Mee=K.toDisplayString;function _2(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Dee(e){const t=K.isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K.isNumber(e.named.count)||K.isNumber(e.named.n))?K.isNumber(e.named.count)?e.named.count:K.isNumber(e.named.n)?e.named.n:t:t}function Lee(e,t){t.count||(t.count=e),t.n||(t.n=e)}function fk(e={}){const t=e.locale,r=Dee(e),n=K.isObject(e.pluralRules)&&K.isString(t)&&K.isFunction(e.pluralRules[t])?e.pluralRules[t]:_2,i=K.isObject(e.pluralRules)&&K.isString(t)&&K.isFunction(e.pluralRules[t])?_2:void 0,a=g=>g[n(r,g.length,i)],o=e.list||[],s=g=>o[g],l=e.named||{};K.isNumber(e.pluralIndex)&&Lee(r,l);const u=g=>l[g];function c(g){const y=K.isFunction(e.messages)?e.messages(g):K.isObject(e.messages)?e.messages[g]:!1;return y||(e.parent?e.parent.message(g):Pee)}const f=g=>e.modifiers?e.modifiers[g]:Eee,h=K.isPlainObject(e.processor)&&K.isFunction(e.processor.normalize)?e.processor.normalize:Iee,d=K.isPlainObject(e.processor)&&K.isFunction(e.processor.interpolate)?e.processor.interpolate:Mee,v=K.isPlainObject(e.processor)&&K.isString(e.processor.type)?e.processor.type:ck,m={list:s,named:u,plural:a,linked:(g,...y)=>{const[x,_]=y;let b="text",C="";y.length===1?K.isObject(x)?(C=x.modifier||C,b=x.type||b):K.isString(x)&&(C=x||C):y.length===2&&(K.isString(x)&&(C=x||C),K.isString(_)&&(b=_||b));let S=c(g)(m);return b==="vnode"&&K.isArray(S)&&C&&(S=S[0]),C?f(C)(S,b):S},message:c,type:v,interpolate:d,normalize:h};return m}let Wl=null;function Ree(e){Wl=e}function Oee(){return Wl}function kee(e,t,r){Wl&&Wl.emit(sk.IntlifyDevToolsHooks.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:r})}const Nee=Bee(sk.IntlifyDevToolsHooks.FunctionTranslate);function Bee(e){return t=>Wl&&Wl.emit(e,t)}const Eo={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},Fee={[Eo.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Eo.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Eo.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Eo.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Eo.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Eo.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function $ee(e,...t){return K.format(Fee[e],...t)}function hk(e,t,r){return[...new Set([r,...K.isArray(t)?t:K.isObject(t)?Object.keys(t):K.isString(t)?[t]:[r]])]}function Hee(e,t,r){const n=K.isString(r)?r:Nb,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(n);if(!a){a=[];let o=[r];for(;K.isArray(o);)o=b2(a,o,t);const s=K.isArray(t)||!K.isPlainObject(t)?t:t.default?t.default:null;o=K.isString(s)?[s]:s,K.isArray(o)&&b2(a,o,!1),i.__localeChainCache.set(n,a)}return a}function b2(e,t,r){let n=!0;for(let i=0;i<t.length&&K.isBoolean(n);i++){const a=t[i];K.isString(a)&&(n=zee(e,t[i],r))}return n}function zee(e,t,r){let n;const i=t.split("-");do{const a=i.join("-");n=Wee(e,a,r),i.splice(-1,1)}while(i.length&&n===!0);return n}function Wee(e,t,r){let n=!1;if(!e.includes(t)&&(n=!0,t)){n=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(K.isArray(r)||K.isPlainObject(r))&&r[i]&&(n=r[i])}return n}const dk="9.2.2",Zp=-1,Nb="en-US",Vee="",C2=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Uee(){return{upper:(e,t)=>t==="text"&&K.isString(e)?e.toUpperCase():t==="vnode"&&K.isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&K.isString(e)?e.toLowerCase():t==="vnode"&&K.isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&K.isString(e)?C2(e):t==="vnode"&&K.isObject(e)&&"__v_isVNode"in e?C2(e.children):e}}let vk;function Gee(e){vk=e}let pk;function jee(e){pk=e}let gk;function qee(e){gk=e}let mk=null;const Yee=e=>{mk=e},Xee=()=>mk;let yk=null;const Kee=e=>{yk=e},Zee=()=>yk;let S2=0;function Qee(e={}){const t=K.isString(e.version)?e.version:dk,r=K.isString(e.locale)?e.locale:Nb,n=K.isArray(e.fallbackLocale)||K.isPlainObject(e.fallbackLocale)||K.isString(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=K.isPlainObject(e.messages)?e.messages:{[r]:{}},a=K.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},o=K.isPlainObject(e.numberFormats)?e.numberFormats:{[r]:{}},s=K.assign({},e.modifiers||{},Uee()),l=e.pluralRules||{},u=K.isFunction(e.missing)?e.missing:null,c=K.isBoolean(e.missingWarn)||K.isRegExp(e.missingWarn)?e.missingWarn:!0,f=K.isBoolean(e.fallbackWarn)||K.isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,d=!!e.unresolving,v=K.isFunction(e.postTranslation)?e.postTranslation:null,p=K.isPlainObject(e.processor)?e.processor:null,m=K.isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,y=K.isFunction(e.messageCompiler)?e.messageCompiler:vk,x=K.isFunction(e.messageResolver)?e.messageResolver:pk||uk,_=K.isFunction(e.localeFallbacker)?e.localeFallbacker:gk||hk,b=K.isObject(e.fallbackContext)?e.fallbackContext:void 0,C=K.isFunction(e.onWarn)?e.onWarn:K.warn,S=e,w=K.isObject(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,E=K.isObject(S.__numberFormatters)?S.__numberFormatters:new Map,T=K.isObject(S.__meta)?S.__meta:{};S2++;const A={version:t,cid:S2,locale:r,fallbackLocale:n,messages:i,modifiers:s,pluralRules:l,missing:u,missingWarn:c,fallbackWarn:f,fallbackFormat:h,unresolving:d,postTranslation:v,processor:p,warnHtmlMessage:m,escapeParameter:g,messageCompiler:y,messageResolver:x,localeFallbacker:_,fallbackContext:b,onWarn:C,__meta:T};return A.datetimeFormats=a,A.numberFormats=o,A.__datetimeFormatters=w,A.__numberFormatters=E,A}function Jee(e,t){return e instanceof RegExp?e.test(t):e}function ete(e,t){return e instanceof RegExp?e.test(t):e}function Qp(e,t,r,n,i){const{missing:a,onWarn:o}=e;if(a!==null){const s=a(e,r,t,i);return K.isString(s)?s:t}else return t}function tte(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}const rte=e=>e;let dx=Object.create(null);function nte(){dx=Object.create(null)}function ite(e,t={}){{const n=(t.onCacheKey||rte)(e),i=dx[n];if(i)return i;let a=!1;const o=t.onError||zl.defaultOnError;t.onError=u=>{a=!0,o(u)};const{code:s}=zl.baseCompile(e,t),l=new Function(`return ${s}`)();return a?l:dx[n]=l}}let xk=zl.CompileErrorCodes.__EXTEND_POINT__;const Og=()=>++xk,ii={INVALID_ARGUMENT:xk,INVALID_DATE_ARGUMENT:Og(),INVALID_ISO_DATE_ARGUMENT:Og(),__EXTEND_POINT__:Og()};function Bo(e){return zl.createCompileError(e,null,void 0)}ii.INVALID_ARGUMENT+"",ii.INVALID_DATE_ARGUMENT+"",ii.INVALID_ISO_DATE_ARGUMENT+"";const w2=()=>"",Ia=e=>K.isFunction(e);function ate(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[l,u]=Ck(...t),c=K.isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn,f=K.isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=K.isBoolean(u.escapeParameter)?u.escapeParameter:e.escapeParameter,d=!!u.resolvedMessage,v=K.isString(u.default)||K.isBoolean(u.default)?K.isBoolean(u.default)?a?l:()=>l:u.default:r?a?l:()=>l:"",p=r||v!=="",m=K.isString(u.locale)?u.locale:e.locale;h&&ote(u);let[g,y,x]=d?[l,m,s[m]||{}]:_k(e,l,m,o,f,c),_=g,b=l;if(!d&&!(K.isString(_)||Ia(_))&&p&&(_=v,b=_),!d&&(!(K.isString(_)||Ia(_))||!K.isString(y)))return i?Zp:l;let C=!1;const S=()=>{C=!0},w=Ia(_)?_:bk(e,l,y,_,b,S);if(C)return _;const E=ute(e,y,x,u),T=fk(E),A=ste(e,w,T);return n?n(A,l):A}function ote(e){K.isArray(e.list)?e.list=e.list.map(t=>K.isString(t)?K.escapeHtml(t):t):K.isObject(e.named)&&Object.keys(e.named).forEach(t=>{K.isString(e.named[t])&&(e.named[t]=K.escapeHtml(e.named[t]))})}function _k(e,t,r,n,i,a){const{messages:o,onWarn:s,messageResolver:l,localeFallbacker:u}=e,c=u(e,n,r);let f={},h,d=null;const v="translate";for(let p=0;p<c.length&&(h=c[p],f=o[h]||{},(d=l(f,t))===null&&(d=f[t]),!(K.isString(d)||K.isFunction(d)));p++){const m=Qp(e,t,h,a,v);m!==t&&(d=m)}return[d,h,f]}function bk(e,t,r,n,i,a){const{messageCompiler:o,warnHtmlMessage:s}=e;if(Ia(n)){const u=n;return u.locale=u.locale||r,u.key=u.key||t,u}if(o==null){const u=()=>n;return u.locale=r,u.key=t,u}const l=o(n,lte(e,r,i,n,s,a));return l.locale=r,l.key=t,l.source=n,l}function ste(e,t,r){return t(r)}function Ck(...e){const[t,r,n]=e,i={};if(!K.isString(t)&&!K.isNumber(t)&&!Ia(t))throw Bo(ii.INVALID_ARGUMENT);const a=K.isNumber(t)?String(t):(Ia(t),t);return K.isNumber(r)?i.plural=r:K.isString(r)?i.default=r:K.isPlainObject(r)&&!K.isEmptyObject(r)?i.named=r:K.isArray(r)&&(i.list=r),K.isNumber(n)?i.plural=n:K.isString(n)?i.default=n:K.isPlainObject(n)&&K.assign(i,n),[a,i]}function lte(e,t,r,n,i,a){return{warnHtmlMessage:i,onError:o=>{throw a&&a(o),o},onCacheKey:o=>K.generateFormatCacheKey(t,r,o)}}function ute(e,t,r,n){const{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,h={locale:t,modifiers:i,pluralRules:a,messages:d=>{let v=o(r,d);if(v==null&&c){const[,,p]=_k(c,d,t,s,l,u);v=o(p,d)}if(K.isString(v)){let p=!1;const g=bk(e,d,t,v,d,()=>{p=!0});return p?w2:g}else return Ia(v)?v:w2}};return e.processor&&(h.processor=e.processor),n.list&&(h.list=n.list),n.named&&(h.named=n.named),K.isNumber(n.plural)&&(h.pluralIndex=n.plural),h}function cte(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[l,u,c,f]=wk(...t),h=K.isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn;K.isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,v=K.isString(c.locale)?c.locale:e.locale,p=o(e,i,v);if(!K.isString(l)||l==="")return new Intl.DateTimeFormat(v,f).format(u);let m={},g,y=null;const x="datetime format";for(let C=0;C<p.length&&(g=p[C],m=r[g]||{},y=m[l],!K.isPlainObject(y));C++)Qp(e,l,g,h,x);if(!K.isPlainObject(y)||!K.isString(g))return n?Zp:l;let _=`${g}__${l}`;K.isEmptyObject(f)||(_=`${_}__${JSON.stringify(f)}`);let b=s.get(_);return b||(b=new Intl.DateTimeFormat(g,K.assign({},y,f)),s.set(_,b)),d?b.formatToParts(u):b.format(u)}const Sk=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function wk(...e){const[t,r,n,i]=e,a={};let o={},s;if(K.isString(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Bo(ii.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(u);try{s.toISOString()}catch{throw Bo(ii.INVALID_ISO_DATE_ARGUMENT)}}else if(K.isDate(t)){if(isNaN(t.getTime()))throw Bo(ii.INVALID_DATE_ARGUMENT);s=t}else if(K.isNumber(t))s=t;else throw Bo(ii.INVALID_ARGUMENT);return K.isString(r)?a.key=r:K.isPlainObject(r)&&Object.keys(r).forEach(l=>{Sk.includes(l)?o[l]=r[l]:a[l]=r[l]}),K.isString(n)?a.locale=n:K.isPlainObject(n)&&(o=n),K.isPlainObject(i)&&(o=i),[a.key||"",s,a,o]}function fte(e,t,r){const n=e;for(const i in r){const a=`${t}__${i}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function hte(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e,[l,u,c,f]=Ak(...t),h=K.isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn;K.isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,v=K.isString(c.locale)?c.locale:e.locale,p=o(e,i,v);if(!K.isString(l)||l==="")return new Intl.NumberFormat(v,f).format(u);let m={},g,y=null;const x="number format";for(let C=0;C<p.length&&(g=p[C],m=r[g]||{},y=m[l],!K.isPlainObject(y));C++)Qp(e,l,g,h,x);if(!K.isPlainObject(y)||!K.isString(g))return n?Zp:l;let _=`${g}__${l}`;K.isEmptyObject(f)||(_=`${_}__${JSON.stringify(f)}`);let b=s.get(_);return b||(b=new Intl.NumberFormat(g,K.assign({},y,f)),s.set(_,b)),d?b.formatToParts(u):b.format(u)}const Tk=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ak(...e){const[t,r,n,i]=e,a={};let o={};if(!K.isNumber(t))throw Bo(ii.INVALID_ARGUMENT);const s=t;return K.isString(r)?a.key=r:K.isPlainObject(r)&&Object.keys(r).forEach(l=>{Tk.includes(l)?o[l]=r[l]:a[l]=r[l]}),K.isString(n)?a.locale=n:K.isPlainObject(n)&&(o=n),K.isPlainObject(i)&&(o=i),[a.key||"",s,a,o]}function dte(e,t,r){const n=e;for(const i in r){const a=`${t}__${i}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Le.CompileErrorCodes=zl.CompileErrorCodes;Le.createCompileError=zl.createCompileError;Le.CoreErrorCodes=ii;Le.CoreWarnCodes=Eo;Le.DATETIME_FORMAT_OPTIONS_KEYS=Sk;Le.DEFAULT_LOCALE=Nb;Le.DEFAULT_MESSAGE_DATA_TYPE=ck;Le.MISSING_RESOLVE_VALUE=Vee;Le.NOT_REOSLVED=Zp;Le.NUMBER_FORMAT_OPTIONS_KEYS=Tk;Le.VERSION=dk;Le.clearCompileCache=nte;Le.clearDateTimeFormat=fte;Le.clearNumberFormat=dte;Le.compileToFunction=ite;Le.createCoreContext=Qee;Le.createCoreError=Bo;Le.createMessageContext=fk;Le.datetime=cte;Le.fallbackWithLocaleChain=Hee;Le.fallbackWithSimple=hk;Le.getAdditionalMeta=Xee;Le.getDevToolsHook=Oee;Le.getFallbackContext=Zee;Le.getWarnMessage=$ee;Le.handleMissing=Qp;Le.initI18nDevTools=kee;Le.isMessageFunction=Ia;Le.isTranslateFallbackWarn=Jee;Le.isTranslateMissingWarn=ete;Le.number=hte;Le.parse=lk;Le.parseDateTimeArgs=wk;Le.parseNumberArgs=Ak;Le.parseTranslateArgs=Ck;Le.registerLocaleFallbacker=qee;Le.registerMessageCompiler=Gee;Le.registerMessageResolver=jee;Le.resolveValue=Aee;Le.resolveWithKeyValue=uk;Le.setAdditionalMeta=Yee;Le.setDevToolsHook=Ree;Le.setFallbackContext=Kee;Le.translate=ate;Le.translateDevTools=Nee;Le.updateFallbackLocale=tte;(function(e){e.exports=Le})(HJ);const vte=BR(s6);/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/Object.defineProperty(yi,"__esModule",{value:!0});var j=Zc,Me=ux,He=vte;const Ek="9.2.2";let Pk=Me.CoreWarnCodes.__EXTEND_POINT__;const Rs=()=>++Pk,Ut={FALLBACK_TO_ROOT:Pk,NOT_SUPPORTED_PRESERVE:Rs(),NOT_SUPPORTED_FORMATTER:Rs(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Rs(),NOT_SUPPORTED_GET_CHOICE_INDEX:Rs(),COMPONENT_NAME_LEGACY_COMPATIBLE:Rs(),NOT_FOUND_PARENT_SCOPE:Rs()},pte={[Ut.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ut.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ut.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ut.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ut.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ut.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ut.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function In(e,...t){return j.format(pte[e],...t)}let Ik=Me.CompileErrorCodes.__EXTEND_POINT__;const Cr=()=>++Ik,je={UNEXPECTED_RETURN_TYPE:Ik,INVALID_ARGUMENT:Cr(),MUST_BE_CALL_SETUP_TOP:Cr(),NOT_INSLALLED:Cr(),NOT_AVAILABLE_IN_LEGACY_MODE:Cr(),REQUIRED_VALUE:Cr(),INVALID_VALUE:Cr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Cr(),NOT_INSLALLED_WITH_PROVIDE:Cr(),UNEXPECTED_ERROR:Cr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Cr(),BRIDGE_SUPPORT_VUE_2_ONLY:Cr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Cr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Cr(),__EXTEND_POINT__:Cr()};function Nt(e,...t){return Me.createCompileError(e,null,{messages:gte,args:t})}const gte={[je.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[je.INVALID_ARGUMENT]:"Invalid argument",[je.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[je.NOT_INSLALLED]:"Need to install with `app.use` function",[je.UNEXPECTED_ERROR]:"Unexpected error",[je.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[je.REQUIRED_VALUE]:"Required in value: {0}",[je.INVALID_VALUE]:"Invalid value",[je.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[je.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[je.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[je.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[je.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define i18n option or custom block in Composition API with using local scope in Legacy API mode",[je.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},vx=j.makeSymbol("__transrateVNode"),px=j.makeSymbol("__datetimeParts"),gx=j.makeSymbol("__numberParts"),mx=j.makeSymbol("__enableEmitter"),yx=j.makeSymbol("__disableEmitter"),Mk=j.makeSymbol("__setPluralRules");j.makeSymbol("__intlifyMeta");const Dk=j.makeSymbol("__injectWithOption"),mte="__VUE_I18N_BRIDGE__";function xx(e){if(!j.isObject(e))return e;for(const t in e)if(j.hasOwn(e,t))if(!t.includes("."))j.isObject(e[t])&&xx(e[t]);else{const r=t.split("."),n=r.length-1;let i=e;for(let a=0;a<n;a++)r[a]in i||(i[r[a]]={}),i=i[r[a]];i[r[n]]=e[t],delete e[t],j.isObject(i[r[n]])&&xx(i[r[n]])}return e}function Jp(e,t){const{messages:r,__i18n:n,messageResolver:i,flatJson:a}=t,o=j.isPlainObject(r)?r:j.isArray(n)?{}:{[e]:{}};if(j.isArray(n)&&n.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(o[l]=o[l]||{},Sc(u,o[l])):Sc(u,o)}else j.isString(s)&&Sc(JSON.parse(s),o)}),i==null&&a)for(const s in o)j.hasOwn(o,s)&&xx(o[s]);return o}const ch=e=>!j.isObject(e)||j.isArray(e);function Sc(e,t){if(ch(e)||ch(t))throw Nt(je.INVALID_VALUE);for(const r in e)j.hasOwn(e,r)&&(ch(e[r])||ch(t[r])?t[r]=e[r]:Sc(e[r],t[r]))}function Lk(e){return e.type}function Rk(e,t,r){let n=j.isObject(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Jp(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const i=Object.keys(n);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(j.isObject(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(j.isObject(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function T2(e){return He.createVNode(He.Text,null,e,0)}const A2="__INTLIFY_META__";let E2=0;function P2(e){return(t,r,n,i)=>e(r,n,He.getCurrentInstance()||void 0,i)}const yte=()=>{const e=He.getCurrentInstance();let t=null;return e&&(t=Lk(e)[A2])?{[A2]:t}:null};function Bb(e={},t){const{__root:r}=e,n=r===void 0;let i=j.isBoolean(e.inheritLocale)?e.inheritLocale:!0;const a=He.ref(r&&i?r.locale.value:j.isString(e.locale)?e.locale:Me.DEFAULT_LOCALE),o=He.ref(r&&i?r.fallbackLocale.value:j.isString(e.fallbackLocale)||j.isArray(e.fallbackLocale)||j.isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),s=He.ref(Jp(a.value,e)),l=He.ref(j.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),u=He.ref(j.isPlainObject(e.numberFormats)?e.numberFormats:{[a.value]:{}});let c=r?r.missingWarn:j.isBoolean(e.missingWarn)||j.isRegExp(e.missingWarn)?e.missingWarn:!0,f=r?r.fallbackWarn:j.isBoolean(e.fallbackWarn)||j.isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,h=r?r.fallbackRoot:j.isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.fallbackFormat,v=j.isFunction(e.missing)?e.missing:null,p=j.isFunction(e.missing)?P2(e.missing):null,m=j.isFunction(e.postTranslation)?e.postTranslation:null,g=r?r.warnHtmlMessage:j.isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const x=r?r.modifiers:j.isPlainObject(e.modifiers)?e.modifiers:{};let _=e.pluralRules||r&&r.pluralRules,b;b=(()=>{n&&Me.setFallbackContext(null);const F={version:Ek,locale:a.value,fallbackLocale:o.value,messages:s.value,modifiers:x,pluralRules:_,missing:p===null?void 0:p,missingWarn:c,fallbackWarn:f,fallbackFormat:d,unresolving:!0,postTranslation:m===null?void 0:m,warnHtmlMessage:g,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};F.datetimeFormats=l.value,F.numberFormats=u.value,F.__datetimeFormatters=j.isPlainObject(b)?b.__datetimeFormatters:void 0,F.__numberFormatters=j.isPlainObject(b)?b.__numberFormatters:void 0,F.__v_emitter=j.isPlainObject(b)?b.__v_emitter:void 0;const V=Me.createCoreContext(F);return n&&Me.setFallbackContext(V),V})(),Me.updateFallbackLocale(b,a.value,o.value);function S(){return[a.value,o.value,s.value,l.value,u.value]}const w=He.computed({get:()=>a.value,set:F=>{a.value=F,b.locale=a.value}}),E=He.computed({get:()=>o.value,set:F=>{o.value=F,b.fallbackLocale=o.value,Me.updateFallbackLocale(b,a.value,F)}}),T=He.computed(()=>s.value),A=He.computed(()=>l.value),P=He.computed(()=>u.value);function D(){return j.isFunction(m)?m:null}function L(F){m=F,b.postTranslation=F}function N(){return v}function B(F){F!==null&&(p=P2(F)),v=F,b.missing=p}function G(F,V){return F!=="translate"||!V.resolvedMessage}const $=(F,V,le,he,ge,$e)=>{S();let Se;try{Me.setAdditionalMeta(yte()),n||(b.fallbackContext=r?Me.getFallbackContext():void 0),Se=F(b)}finally{Me.setAdditionalMeta(null),n||(b.fallbackContext=void 0)}if(j.isNumber(Se)&&Se===Me.NOT_REOSLVED){const[st,ht]=V();if(r&&j.isString(st)&&G(le,ht)){h&&(Me.isTranslateFallbackWarn(f,st)||Me.isTranslateMissingWarn(c,st))&&j.warn(In(Ut.FALLBACK_TO_ROOT,{key:st,type:le}));{const{__v_emitter:_r}=b;_r&&h&&_r.emit("fallback",{type:le,key:st,to:"global",groupId:`${le}:${st}`})}}return r&&h?he(r):ge(st)}else{if($e(Se))return Se;throw Nt(je.UNEXPECTED_RETURN_TYPE)}};function Y(...F){return $(V=>Reflect.apply(Me.translate,null,[V,...F]),()=>Me.parseTranslateArgs(...F),"translate",V=>Reflect.apply(V.t,V,[...F]),V=>V,V=>j.isString(V))}function J(...F){const[V,le,he]=F;if(he&&!j.isObject(he))throw Nt(je.INVALID_ARGUMENT);return Y(V,le,j.assign({resolvedMessage:!0},he||{}))}function H(...F){return $(V=>Reflect.apply(Me.datetime,null,[V,...F]),()=>Me.parseDateTimeArgs(...F),"datetime format",V=>Reflect.apply(V.d,V,[...F]),()=>Me.MISSING_RESOLVE_VALUE,V=>j.isString(V))}function W(...F){return $(V=>Reflect.apply(Me.number,null,[V,...F]),()=>Me.parseNumberArgs(...F),"number format",V=>Reflect.apply(V.n,V,[...F]),()=>Me.MISSING_RESOLVE_VALUE,V=>j.isString(V))}function X(F){return F.map(V=>j.isString(V)||j.isNumber(V)||j.isBoolean(V)?T2(String(V)):V)}const U={normalize:X,interpolate:F=>F,type:"vnode"};function Q(...F){return $(V=>{let le;const he=V;try{he.processor=U,le=Reflect.apply(Me.translate,null,[he,...F])}finally{he.processor=null}return le},()=>Me.parseTranslateArgs(...F),"translate",V=>V[vx](...F),V=>[T2(V)],V=>j.isArray(V))}function re(...F){return $(V=>Reflect.apply(Me.number,null,[V,...F]),()=>Me.parseNumberArgs(...F),"number format",V=>V[gx](...F),()=>[],V=>j.isString(V)||j.isArray(V))}function ee(...F){return $(V=>Reflect.apply(Me.datetime,null,[V,...F]),()=>Me.parseDateTimeArgs(...F),"datetime format",V=>V[px](...F),()=>[],V=>j.isString(V)||j.isArray(V))}function me(F){_=F,b.pluralRules=_}function xe(F,V){const le=j.isString(V)?V:a.value,he=I(le);return b.messageResolver(he,F)!==null}function oe(F){let V=null;const le=Me.fallbackWithLocaleChain(b,o.value,a.value);for(let he=0;he<le.length;he++){const ge=s.value[le[he]]||{},$e=b.messageResolver(ge,F);if($e!=null){V=$e;break}}return V}function R(F){const V=oe(F);return V??(r?r.tm(F)||{}:{})}function I(F){return s.value[F]||{}}function M(F,V){s.value[F]=V,b.messages=s.value}function k(F,V){s.value[F]=s.value[F]||{},Sc(V,s.value[F]),b.messages=s.value}function z(F){return l.value[F]||{}}function Z(F,V){l.value[F]=V,b.datetimeFormats=l.value,Me.clearDateTimeFormat(b,F,V)}function ne(F,V){l.value[F]=j.assign(l.value[F]||{},V),b.datetimeFormats=l.value,Me.clearDateTimeFormat(b,F,V)}function ie(F){return u.value[F]||{}}function ae(F,V){u.value[F]=V,b.numberFormats=u.value,Me.clearNumberFormat(b,F,V)}function te(F,V){u.value[F]=j.assign(u.value[F]||{},V),b.numberFormats=u.value,Me.clearNumberFormat(b,F,V)}E2++,r&&j.inBrowser&&(He.watch(r.locale,F=>{i&&(a.value=F,b.locale=F,Me.updateFallbackLocale(b,a.value,o.value))}),He.watch(r.fallbackLocale,F=>{i&&(o.value=F,b.fallbackLocale=F,Me.updateFallbackLocale(b,a.value,o.value))}));const ue={id:E2,locale:w,fallbackLocale:E,get inheritLocale(){return i},set inheritLocale(F){i=F,F&&r&&(a.value=r.locale.value,o.value=r.fallbackLocale.value,Me.updateFallbackLocale(b,a.value,o.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:T,get modifiers(){return x},get pluralRules(){return _||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(F){c=F,b.missingWarn=c},get fallbackWarn(){return f},set fallbackWarn(F){f=F,b.fallbackWarn=f},get fallbackRoot(){return h},set fallbackRoot(F){h=F},get fallbackFormat(){return d},set fallbackFormat(F){d=F,b.fallbackFormat=d},get warnHtmlMessage(){return g},set warnHtmlMessage(F){g=F,b.warnHtmlMessage=F},get escapeParameter(){return y},set escapeParameter(F){y=F,b.escapeParameter=F},t:Y,getLocaleMessage:I,setLocaleMessage:M,mergeLocaleMessage:k,getPostTranslationHandler:D,setPostTranslationHandler:L,getMissingHandler:N,setMissingHandler:B,[Mk]:me};return ue.datetimeFormats=A,ue.numberFormats=P,ue.rt=J,ue.te=xe,ue.tm=R,ue.d=H,ue.n=W,ue.getDateTimeFormat=z,ue.setDateTimeFormat=Z,ue.mergeDateTimeFormat=ne,ue.getNumberFormat=ie,ue.setNumberFormat=ae,ue.mergeNumberFormat=te,ue[Dk]=e.__injectWithOption,ue[vx]=Q,ue[px]=ee,ue[gx]=re,ue[mx]=F=>{b.__v_emitter=F},ue[yx]=()=>{b.__v_emitter=void 0},ue}function xte(e){const t=j.isString(e.locale)?e.locale:Me.DEFAULT_LOCALE,r=j.isString(e.fallbackLocale)||j.isArray(e.fallbackLocale)||j.isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=j.isFunction(e.missing)?e.missing:void 0,i=j.isBoolean(e.silentTranslationWarn)||j.isRegExp(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=j.isBoolean(e.silentFallbackWarn)||j.isRegExp(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=j.isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=j.isPlainObject(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=j.isFunction(e.postTranslation)?e.postTranslation:void 0,f=j.isString(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,d=j.isBoolean(e.sync)?e.sync:!0;e.formatter&&j.warn(In(Ut.NOT_SUPPORTED_FORMATTER)),e.preserveDirectiveContent&&j.warn(In(Ut.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let v=e.messages;if(j.isPlainObject(e.sharedMessages)){const b=e.sharedMessages;v=Object.keys(b).reduce((S,w)=>{const E=S[w]||(S[w]={});return j.assign(E,b[w]),S},v||{})}const{__i18n:p,__root:m,__injectWithOption:g}=e,y=e.datetimeFormats,x=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:r,messages:v,flatJson:_,datetimeFormats:y,numberFormats:x,missing:n,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:d,__i18n:p,__root:m,__injectWithOption:g}}function _x(e={},t){{const r=Bb(xte(e)),n={id:r.id,get locale(){return r.locale.value},set locale(i){r.locale.value=i},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(i){r.fallbackLocale.value=i},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return j.warn(In(Ut.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){j.warn(In(Ut.NOT_SUPPORTED_FORMATTER))},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return j.isBoolean(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=j.isBoolean(i)?!i:i},get silentFallbackWarn(){return j.isBoolean(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=j.isBoolean(i)?!i:i},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(i){r.fallbackFormat=i},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(i){r.setPostTranslationHandler(i)},get sync(){return r.inheritLocale},set sync(i){r.inheritLocale=i},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){r.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(i){r.escapeParameter=i},get preserveDirectiveContent(){return j.warn(In(Ut.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){j.warn(In(Ut.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[a,o,s]=i,l={};let u=null,c=null;if(!j.isString(a))throw Nt(je.INVALID_ARGUMENT);const f=a;return j.isString(o)?l.locale=o:j.isArray(o)?u=o:j.isPlainObject(o)&&(c=o),j.isArray(s)?u=s:j.isPlainObject(s)&&(c=s),Reflect.apply(r.t,r,[f,u||c||{},l])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[a,o,s]=i,l={plural:1};let u=null,c=null;if(!j.isString(a))throw Nt(je.INVALID_ARGUMENT);const f=a;return j.isString(o)?l.locale=o:j.isNumber(o)?l.plural=o:j.isArray(o)?u=o:j.isPlainObject(o)&&(c=o),j.isString(s)?l.locale=s:j.isArray(s)?u=s:j.isPlainObject(s)&&(c=s),Reflect.apply(r.t,r,[f,u||c||{},l])},te(i,a){return r.te(i,a)},tm(i){return r.tm(i)},getLocaleMessage(i){return r.getLocaleMessage(i)},setLocaleMessage(i,a){r.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){r.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(r.d,r,[...i])},getDateTimeFormat(i){return r.getDateTimeFormat(i)},setDateTimeFormat(i,a){r.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){r.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(r.n,r,[...i])},getNumberFormat(i){return r.getNumberFormat(i)},setNumberFormat(i,a){r.setNumberFormat(i,a)},mergeNumberFormat(i,a){r.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return j.warn(In(Ut.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:a}=e;a&&a(i,n)}};return n.__enableEmitter=i=>{const a=r;a[mx]&&a[mx](i)},n.__disableEmitter=()=>{const i=r;i[yx]&&i[yx]()},n}}const Fb={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _te({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,i)=>n=[...n,...j.isArray(i.children)?i.children:[i]],[]):t.reduce((r,n)=>{const i=e[n];return i&&(r[n]=i()),r},{})}function Ok(e){return He.Fragment}const hd={name:"i18n-t",props:j.assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>j.isNumber(e)||!isNaN(e)}},Fb),setup(e,t){const{slots:r,attrs:n}=t,i=e.i18n||e0({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=j.isString(e.plural)?+e.plural:e.plural);const s=_te(t,a),l=i[vx](e.keypath,s,o),u=j.assign({},n),c=j.isString(e.tag)||j.isObject(e.tag)?e.tag:Ok();return He.h(c,u,l)}}};function bte(e){return j.isArray(e)&&!j.isString(e[0])}function kk(e,t,r,n){const{slots:i,attrs:a}=t;return()=>{const o={part:!0};let s={};e.locale&&(o.locale=e.locale),j.isString(e.format)?o.key=e.format:j.isObject(e.format)&&(j.isString(e.format.key)&&(o.key=e.format.key),s=Object.keys(e.format).reduce((h,d)=>r.includes(d)?j.assign({},h,{[d]:e.format[d]}):h,{}));const l=n(e.value,o,s);let u=[o.key];j.isArray(l)?u=l.map((h,d)=>{const v=i[h.type],p=v?v({[h.type]:h.value,index:d,parts:l}):[h.value];return bte(p)&&(p[0].key=`${h.type}-${d}`),p}):j.isString(l)&&(u=[l]);const c=j.assign({},a),f=j.isString(e.tag)||j.isObject(e.tag)?e.tag:Ok();return He.h(f,c,u)}}const bx={name:"i18n-n",props:j.assign({value:{type:Number,required:!0},format:{type:[String,Object]}},Fb),setup(e,t){const r=e.i18n||e0({useScope:"parent",__useComponent:!0});return kk(e,t,Me.NUMBER_FORMAT_OPTIONS_KEYS,(...n)=>r[gx](...n))}},Cx={name:"i18n-d",props:j.assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fb),setup(e,t){const r=e.i18n||e0({useScope:"parent",__useComponent:!0});return kk(e,t,Me.DATETIME_FORMAT_OPTIONS_KEYS,(...n)=>r[px](...n))}};function Cte(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Nk(e){const t=o=>{const{instance:s,modifiers:l,value:u}=o;if(!s||!s.$)throw Nt(je.UNEXPECTED_ERROR);const c=Cte(e,s.$);l.preserve&&j.warn(In(Ut.NOT_SUPPORTED_PRESERVE));const f=I2(u);return[Reflect.apply(c.t,c,[...M2(f)]),c]};return{created:(o,s)=>{const[l,u]=t(s);j.inBrowser&&e.global===u&&(o.__i18nWatcher=He.watch(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{j.inBrowser&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:s})=>{if(o.__composer){const l=o.__composer,u=I2(s);o.textContent=Reflect.apply(l.t,l,[...M2(u)])}},getSSRProps:o=>{const[s]=t(o);return{textContent:s}}}}function I2(e){if(j.isString(e))return{path:e};if(j.isPlainObject(e)){if(!("path"in e))throw Nt(je.REQUIRED_VALUE,"path");return e}else throw Nt(je.INVALID_VALUE)}function M2(e){const{path:t,locale:r,args:n,choice:i,plural:a}=e,o={},s=n||{};return j.isString(r)&&(o.locale=r),j.isNumber(i)&&(o.plural=i),j.isNumber(a)&&(o.plural=a),[t,s,o]}function Ste(e,t,...r){const n=j.isPlainObject(r[0])?r[0]:{},i=!!n.useI18nComponentName,a=j.isBoolean(n.globalInstall)?n.globalInstall:!0;a&&i&&j.warn(In(Ut.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:hd.name})),a&&(e.component(i?"i18n":hd.name,hd),e.component(bx.name,bx),e.component(Cx.name,Cx)),e.directive("t",Nk(t))}function wte(e,t,r){return{beforeCreate(){const n=He.getCurrentInstance();if(!n)throw Nt(je.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const a=i.i18n;i.__i18n&&(a.__i18n=i.__i18n),a.__root=t,this===this.$root?this.$i18n=D2(e,a):(a.__injectWithOption=!0,this.$i18n=_x(a))}else i.__i18n?this===this.$root?this.$i18n=D2(e,i):this.$i18n=_x({__i18n:i.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;i.__i18nGlobal&&Rk(t,i,i),e.__onComponentInstanceCreated(this.$i18n),r.__setInstance(n,this.$i18n),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,o)=>this.$i18n.te(a,o),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a)},mounted(){},unmounted(){const n=He.getCurrentInstance();if(!n)throw Nt(je.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__deleteInstance(n),delete this.$i18n}}}function D2(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Mk](t.pluralizationRules||e.pluralizationRules);const r=Jp(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Bk=j.makeSymbol("global-vue-i18n");function Tte(e={},t){const r=j.isBoolean(e.legacy)?e.legacy:!0,n=j.isBoolean(e.globalInjection)?e.globalInjection:!0,i=r?!!e.allowComposition:!0,a=new Map,[o,s]=Ete(e,r),l=j.makeSymbol("vue-i18n");function u(h){return a.get(h)||null}function c(h,d){a.set(h,d)}function f(h){a.delete(h)}{const h={get mode(){return r?"legacy":"composition"},get allowComposition(){return i},async install(d,...v){d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,h),!r&&n&&Nte(d,h.global),Ste(d,h,...v),r&&d.mixin(wte(s,s.__composer,h));const p=d.unmount;d.unmount=()=>{h.dispose(),p()}},get global(){return s},dispose(){o.stop()},__instances:a,__getInstance:u,__setInstance:c,__deleteInstance:f};return h}}function e0(e={}){const t=He.getCurrentInstance();if(t==null)throw Nt(je.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Nt(je.NOT_INSLALLED);const r=Pte(t),n=Mte(r),i=Lk(t),a=Ite(e,i);if(r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw Nt(je.NOT_AVAILABLE_IN_LEGACY_MODE);return Rte(t,a,n,e)}if(a==="global")return Rk(n,e,i),n;if(a==="parent"){let l=Dte(r,t,e.__useComponent);return l==null&&(j.warn(In(Ut.NOT_FOUND_PARENT_SCOPE)),l=n),l}const o=r;let s=o.__getInstance(t);if(s==null){const l=j.assign({},e);"__i18n"in i&&(l.__i18n=i.__i18n),n&&(l.__root=n),s=Bb(l),Lte(o,t),o.__setInstance(t,s)}return s}const Ate=e=>{if(!(mte in e))throw Nt(je.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e};function Ete(e,t,r){const n=He.effectScope();{const i=t?n.run(()=>_x(e)):n.run(()=>Bb(e));if(i==null)throw Nt(je.UNEXPECTED_ERROR);return[n,i]}}function Pte(e){{const t=He.inject(e.isCE?Bk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?je.NOT_INSLALLED_WITH_PROVIDE:je.UNEXPECTED_ERROR);return t}}function Ite(e,t){return j.isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Mte(e){return e.mode==="composition"?e.global:e.global.__composer}function Dte(e,t,r=!1){let n=null;const i=t.root;let a=t.parent;for(;a!=null;){const o=e;if(e.mode==="composition")n=o.__getInstance(a);else{const s=o.__getInstance(a);s!=null&&(n=s.__composer,r&&n&&!n[Dk]&&(n=null))}if(n!=null||i===a)break;a=a.parent}return n}function Lte(e,t,r){He.onMounted(()=>{},t),He.onUnmounted(()=>{e.__deleteInstance(t)},t)}function Rte(e,t,r,n={}){const i=t==="local",a=He.shallowRef(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Nt(je.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=j.isBoolean(n.inheritLocale)?n.inheritLocale:!0,s=He.ref(i&&o?r.locale.value:j.isString(n.locale)?n.locale:Me.DEFAULT_LOCALE),l=He.ref(i&&o?r.fallbackLocale.value:j.isString(n.fallbackLocale)||j.isArray(n.fallbackLocale)||j.isPlainObject(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:s.value),u=He.ref(Jp(s.value,n)),c=He.ref(j.isPlainObject(n.datetimeFormats)?n.datetimeFormats:{[s.value]:{}}),f=He.ref(j.isPlainObject(n.numberFormats)?n.numberFormats:{[s.value]:{}}),h=i?r.missingWarn:j.isBoolean(n.missingWarn)||j.isRegExp(n.missingWarn)?n.missingWarn:!0,d=i?r.fallbackWarn:j.isBoolean(n.fallbackWarn)||j.isRegExp(n.fallbackWarn)?n.fallbackWarn:!0,v=i?r.fallbackRoot:j.isBoolean(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=j.isFunction(n.missing)?n.missing:null,g=j.isFunction(n.postTranslation)?n.postTranslation:null,y=i?r.warnHtmlMessage:j.isBoolean(n.warnHtmlMessage)?n.warnHtmlMessage:!0,x=!!n.escapeParameter,_=i?r.modifiers:j.isPlainObject(n.modifiers)?n.modifiers:{},b=n.pluralRules||i&&r.pluralRules;function C(){return[s.value,l.value,u.value,c.value,f.value]}const S=He.computed({get:()=>a.value?a.value.locale.value:s.value,set:M=>{a.value&&(a.value.locale.value=M),s.value=M}}),w=He.computed({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:M=>{a.value&&(a.value.fallbackLocale.value=M),l.value=M}}),E=He.computed(()=>a.value?a.value.messages.value:u.value),T=He.computed(()=>c.value),A=He.computed(()=>f.value);function P(){return a.value?a.value.getPostTranslationHandler():g}function D(M){a.value&&a.value.setPostTranslationHandler(M)}function L(){return a.value?a.value.getMissingHandler():m}function N(M){a.value&&a.value.setMissingHandler(M)}function B(M){return C(),M()}function G(...M){return a.value?B(()=>Reflect.apply(a.value.t,null,[...M])):B(()=>"")}function $(...M){return a.value?Reflect.apply(a.value.rt,null,[...M]):""}function Y(...M){return a.value?B(()=>Reflect.apply(a.value.d,null,[...M])):B(()=>"")}function J(...M){return a.value?B(()=>Reflect.apply(a.value.n,null,[...M])):B(()=>"")}function H(M){return a.value?a.value.tm(M):{}}function W(M,k){return a.value?a.value.te(M,k):!1}function X(M){return a.value?a.value.getLocaleMessage(M):{}}function q(M,k){a.value&&(a.value.setLocaleMessage(M,k),u.value[M]=k)}function U(M,k){a.value&&a.value.mergeLocaleMessage(M,k)}function Q(M){return a.value?a.value.getDateTimeFormat(M):{}}function re(M,k){a.value&&(a.value.setDateTimeFormat(M,k),c.value[M]=k)}function ee(M,k){a.value&&a.value.mergeDateTimeFormat(M,k)}function me(M){return a.value?a.value.getNumberFormat(M):{}}function xe(M,k){a.value&&(a.value.setNumberFormat(M,k),f.value[M]=k)}function oe(M,k){a.value&&a.value.mergeNumberFormat(M,k)}const R={get id(){return a.value?a.value.id:-1},locale:S,fallbackLocale:w,messages:E,datetimeFormats:T,numberFormats:A,get inheritLocale(){return a.value?a.value.inheritLocale:o},set inheritLocale(M){a.value&&(a.value.inheritLocale=M)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(u.value)},get modifiers(){return a.value?a.value.modifiers:_},get pluralRules(){return a.value?a.value.pluralRules:b},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(M){a.value&&(a.value.missingWarn=M)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(M){a.value&&(a.value.missingWarn=M)},get fallbackRoot(){return a.value?a.value.fallbackRoot:v},set fallbackRoot(M){a.value&&(a.value.fallbackRoot=M)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(M){a.value&&(a.value.fallbackFormat=M)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(M){a.value&&(a.value.warnHtmlMessage=M)},get escapeParameter(){return a.value?a.value.escapeParameter:x},set escapeParameter(M){a.value&&(a.value.escapeParameter=M)},t:G,getPostTranslationHandler:P,setPostTranslationHandler:D,getMissingHandler:L,setMissingHandler:N,rt:$,d:Y,n:J,tm:H,te:W,getLocaleMessage:X,setLocaleMessage:q,mergeLocaleMessage:U,getDateTimeFormat:Q,setDateTimeFormat:re,mergeDateTimeFormat:ee,getNumberFormat:me,setNumberFormat:xe,mergeNumberFormat:oe};function I(M){M.locale.value=s.value,M.fallbackLocale.value=l.value,Object.keys(u.value).forEach(k=>{M.mergeLocaleMessage(k,u.value[k])}),Object.keys(c.value).forEach(k=>{M.mergeDateTimeFormat(k,c.value[k])}),Object.keys(f.value).forEach(k=>{M.mergeNumberFormat(k,f.value[k])}),M.escapeParameter=x,M.fallbackFormat=p,M.fallbackRoot=v,M.fallbackWarn=d,M.missingWarn=h,M.warnHtmlMessage=y}return He.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Nt(je.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const M=a.value=e.proxy.$i18n.__composer;t==="global"?(s.value=M.locale.value,l.value=M.fallbackLocale.value,u.value=M.messages.value,c.value=M.datetimeFormats.value,f.value=M.numberFormats.value):i&&I(M)}),R}const Ote=["locale","fallbackLocale","availableLocales"],kte=["t","rt","d","n","tm"];function Nte(e,t){const r=Object.create(null);Ote.forEach(n=>{const i=Object.getOwnPropertyDescriptor(t,n);if(!i)throw Nt(je.UNEXPECTED_ERROR);const a=He.isRef(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,n,a)}),e.config.globalProperties.$i18n=r,kte.forEach(n=>{const i=Object.getOwnPropertyDescriptor(t,n);if(!i||!i.value)throw Nt(je.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,i)})}Me.registerMessageCompiler(Me.compileToFunction);Me.registerMessageResolver(Me.resolveValue);Me.registerLocaleFallbacker(Me.fallbackWithLocaleChain);{const e=j.getGlobalThis();e.__INTLIFY__=!0,Me.setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}yi.DatetimeFormat=Cx;yi.I18nInjectionKey=Bk;yi.NumberFormat=bx;yi.Translation=hd;yi.VERSION=Ek;yi.castToVueI18n=Ate;var Bte=yi.createI18n=Tte;yi.useI18n=e0;yi.vTDirective=Nk;const Fte={admin:{login:"登录",remember_me:"记住我",login_successfully:"登录成功!",welcome_back:"欢迎回来,{0}",logout:"退出登录",logout_tips:"确定退出登录吗?",user_settings:"个人设置",tips:"提示",cancel:"取消",confirm:"确认",switch:"切换",close:"关闭",please_input:"请输入{0}",login_form:{username:"用户名",password:"密码",captcha:"验证码"},back_to_home:"返回首页",full_screen:"全屏",topic_setting:"主题设置",topic_mode:"主题模式",search:"搜索",keyword:"关键字",no_search_result:"暂无搜索结果",refresh:"刷新",context_menu:{refresh:"刷新",close:"关闭",close_others:"关闭其他",close_all:"关闭所有",close_left:"关闭左侧",close_right:"关闭右侧"}}},$te={admin:{login:"Login",remember_me:"Remember me",login_successfully:"Login successfully!",welcome_back:"Welcome back {0}!",logout:"Logout",logout_tips:"Are you sure you want to log out?",user_settings:"User Settings",tips:"Tips",cancel:"Cancel",confirm:"Confirm",switch:"Switch",close:"Close",please_input:"Please input {0}",login_form:{username:"Username",password:"Password",captcha:"Captcha"},back_to_home:"Back to home",full_screen:"Full screen",topic_setting:"Topic Setting",topic_mode:"Topic Mode",search:"Search",keyword:"Keyword",no_search_result:"No search result",refresh:"Refresh",context_menu:{refresh:"Refresh",close:"Close",close_others:"Close others",close_all:"Close all",close_left:"Close left",close_right:"Close right"}}},Hte={"zh-CN":Fte,en:$te},$b=Bte({locale:"zh-CN",fallbackLocale:"en",messages:Hte});function f_e(e){e.use($b)}const L2=(e,t=null)=>$b.global.t(e,t);function h_e(e){$b.global.locale=e}const zte=uu("auth-store",{state:()=>({userInfo:dJ(),token:hJ(),loginLoading:!1}),getters:{isLogin(e){return Boolean(e.token)}},actions:{resetAuthStore(){const{toLogin:e}=Ac(!1),{resetTabStore:t}=Pv(),{resetRouteStore:r}=Mx();Sxe().then(n=>{n.status==0&&(UO(),this.$reset(),e(),ja(()=>{t(),r()}))})},async handleActionAfterLogin(e,t){var a;const r=Mx(),{toLoginRedirect:n}=Ac(!1);if(await this.loginByToken(e,t)){await r.initAuthRoute(),n(),r.isInitAuthRoute&&((a=window.$notification)==null||a.success({title:L2("admin.login_successfully"),content:L2("admin.welcome_back",[this.userInfo.name]),duration:3e3}));return}this.resetAuthStore()},async loginByToken(e,t){let r=!1,n=t?Zt.setForever:Zt.set;n("token",e);const{data:i}=await bxe();return i&&(n("userInfo",i),this.userInfo=i,this.token=e,r=!0),r},async login(e,t){var i;this.loginLoading=!0;const{data:r,status:n}=await _xe(e);return n!=0?(this.loginLoading=!1,(i=window.$message)==null||i.error(r==null?void 0:r.msg),!0):(await this.handleActionAfterLogin(r.token,t),this.loginLoading=!1,!1)}}});/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const tl=typeof window<"u";function Wte(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const at=Object.assign;function kg(e,t){const r={};for(const n in t){const i=t[n];r[n]=Rn(i)?i.map(e):e(i)}return r}const wc=()=>{},Rn=Array.isArray,Vte=/\/$/,Ute=e=>e.replace(Vte,"");function Ng(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=Yte(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function Gte(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function R2(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jte(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&Vl(t.matched[n],r.matched[i])&&Fk(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Vl(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fk(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!qte(e[r],t[r]))return!1;return!0}function qte(e,t){return Rn(e)?O2(e,t):Rn(t)?O2(t,e):e===t}function O2(e,t){return Rn(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function Yte(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let i=r.length-1,a,o;for(a=0;a<n.length;a++)if(o=n[a],o!==".")if(o==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var Jc;(function(e){e.pop="pop",e.push="push"})(Jc||(Jc={}));var Tc;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tc||(Tc={}));function Xte(e){if(!e)if(tl){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ute(e)}const Kte=/^[^#]+#/;function Zte(e,t){return e.replace(Kte,"#")+t}function Qte(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const t0=()=>({left:window.pageXOffset,top:window.pageYOffset});function Jte(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=Qte(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function k2(e,t){return(history.state?history.state.position-t:-1)+e}const Sx=new Map;function ere(e,t){Sx.set(e,t)}function tre(e){const t=Sx.get(e);return Sx.delete(e),t}let rre=()=>location.protocol+"//"+location.host;function $k(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),R2(l,"")}return R2(r,e)+n+i}function nre(e,t,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const d=$k(e,location),v=r.value,p=t.value;let m=0;if(h){if(r.value=d,t.value=h,o&&o===v){o=null;return}m=p?h.position-p.position:0}else n(d);i.forEach(g=>{g(r.value,v,{delta:m,type:Jc.pop,direction:m?m>0?Tc.forward:Tc.back:Tc.unknown})})};function l(){o=r.value}function u(h){i.push(h);const d=()=>{const v=i.indexOf(h);v>-1&&i.splice(v,1)};return a.push(d),d}function c(){const{history:h}=window;h.state&&h.replaceState(at({},h.state,{scroll:t0()}),"")}function f(){for(const h of a)h();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function N2(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?t0():null}}function ire(e){const{history:t,location:r}=window,n={value:$k(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const f=e.indexOf("#"),h=f>-1?(r.host&&document.querySelector("base")?e:e.slice(f))+l:rre()+e+l;try{t[c?"replaceState":"pushState"](u,"",h),i.value=u}catch(d){console.error(d),r[c?"replace":"assign"](h)}}function o(l,u){const c=at({},t.state,N2(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),n.value=l}function s(l,u){const c=at({},i.value,t.state,{forward:l,scroll:t0()});a(c.current,c,!0);const f=at({},N2(n.value,l,null),{position:c.position+1},u);a(l,f,!1),n.value=l}return{location:n,state:i,push:s,replace:o}}function Hk(e){e=Xte(e);const t=ire(e),r=nre(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=at({location:"",base:e,go:n,createHref:Zte.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function are(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hk(e)}function ore(e){return typeof e=="string"||e&&typeof e=="object"}function zk(e){return typeof e=="string"||typeof e=="symbol"}const na={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Wk=Symbol("");var B2;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(B2||(B2={}));function Ul(e,t){return at(new Error,{type:e,[Wk]:!0},t)}function wi(e,t){return e instanceof Error&&Wk in e&&(t==null||!!(e.type&t))}const F2="[^/]+?",sre={sensitive:!1,strict:!1,start:!0,end:!0},lre=/[.+*?^${}()[\]/\\]/g;function ure(e,t){const r=at({},sre,t),n=[];let i=r.start?"^":"";const a=[];for(const u of e){const c=u.length?[]:[90];r.strict&&!u.length&&(i+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=40+(r.sensitive?.25:0);if(h.type===0)f||(i+="/"),i+=h.value.replace(lre,"\\$&"),d+=40;else if(h.type===1){const{value:v,repeatable:p,optional:m,regexp:g}=h;a.push({name:v,repeatable:p,optional:m});const y=g||F2;if(y!==F2){d+=10;try{new RegExp(`(${y})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${v}" (${y}): `+_.message)}}let x=p?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=m&&u.length<2?`(?:/${x})`:"/"+x),m&&(x+="?"),i+=x,d+=20,m&&(d+=-8),p&&(d+=-20),y===".*"&&(d+=-50)}c.push(d)}n.push(c)}if(r.strict&&r.end){const u=n.length-1;n[u][n[u].length-1]+=.7000000000000001}r.strict||(i+="/?"),r.end?i+="$":r.strict&&(i+="(?:/|$)");const o=new RegExp(i,r.sensitive?"":"i");function s(u){const c=u.match(o),f={};if(!c)return null;for(let h=1;h<c.length;h++){const d=c[h]||"",v=a[h-1];f[v.name]=d&&v.repeatable?d.split("/"):d}return f}function l(u){let c="",f=!1;for(const h of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const d of h)if(d.type===0)c+=d.value;else if(d.type===1){const{value:v,repeatable:p,optional:m}=d,g=v in u?u[v]:"";if(Rn(g)&&!p)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const y=Rn(g)?g.join("/"):g;if(!y)if(m)h.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);c+=y}}return c||"/"}return{re:o,score:n,keys:a,parse:s,stringify:l}}function cre(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fre(e,t){let r=0;const n=e.score,i=t.score;for(;r<n.length&&r<i.length;){const a=cre(n[r],i[r]);if(a)return a;r++}if(Math.abs(i.length-n.length)===1){if($2(n))return 1;if($2(i))return-1}return i.length-n.length}function $2(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hre={type:0,value:""},dre=/[a-zA-Z0-9_]/;function vre(e){if(!e)return[[]];if(e==="/")return[[hre]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${u}": ${d}`)}let r=0,n=r;const i=[];let a;function o(){a&&i.push(a),a=[]}let s=0,l,u="",c="";function f(){u&&(r===0?a.push({type:0,value:u}):r===1||r===2||r===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&r!==2){n=r,r=4;continue}switch(r){case 0:l==="/"?(u&&f(),o()):l===":"?(f(),r=1):h();break;case 4:h(),r=n;break;case 1:l==="("?r=2:dre.test(l)?h():(f(),r=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:r=3:c+=l;break;case 3:f(),r=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,c="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),i}function pre(e,t,r){const n=ure(vre(e.path),r),i=at(n,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function gre(e,t){const r=[],n=new Map;t=W2({strict:!1,end:!0,sensitive:!1},t);function i(c){return n.get(c)}function a(c,f,h){const d=!h,v=mre(c);v.aliasOf=h&&h.record;const p=W2(t,c),m=[v];if("alias"in c){const x=typeof c.alias=="string"?[c.alias]:c.alias;for(const _ of x)m.push(at({},v,{components:h?h.record.components:v.components,path:_,aliasOf:h?h.record:v}))}let g,y;for(const x of m){const{path:_}=x;if(f&&_[0]!=="/"){const b=f.record.path,C=b[b.length-1]==="/"?"":"/";x.path=f.record.path+(_&&C+_)}if(g=pre(x,f,p),h?h.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),d&&c.name&&!z2(g)&&o(c.name)),v.children){const b=v.children;for(let C=0;C<b.length;C++)a(b[C],g,h&&h.children[C])}h=h||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&l(g)}return y?()=>{o(y)}:wc}function o(c){if(zk(c)){const f=n.get(c);f&&(n.delete(c),r.splice(r.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=r.indexOf(c);f>-1&&(r.splice(f,1),c.record.name&&n.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function s(){return r}function l(c){let f=0;for(;f<r.length&&fre(c,r[f])>=0&&(c.record.path!==r[f].record.path||!Vk(c,r[f]));)f++;r.splice(f,0,c),c.record.name&&!z2(c)&&n.set(c.record.name,c)}function u(c,f){let h,d={},v,p;if("name"in c&&c.name){if(h=n.get(c.name),!h)throw Ul(1,{location:c});p=h.record.name,d=at(H2(f.params,h.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&H2(c.params,h.keys.map(y=>y.name))),v=h.stringify(d)}else if("path"in c)v=c.path,h=r.find(y=>y.re.test(v)),h&&(d=h.parse(v),p=h.record.name);else{if(h=f.name?n.get(f.name):r.find(y=>y.re.test(f.path)),!h)throw Ul(1,{location:c,currentLocation:f});p=h.record.name,d=at({},f.params,c.params),v=h.stringify(d)}const m=[];let g=h;for(;g;)m.unshift(g.record),g=g.parent;return{name:p,path:v,params:d,matched:m,meta:xre(m)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function H2(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function mre(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yre(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 yre(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="boolean"?r:r[n];return t}function z2(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xre(e){return e.reduce((t,r)=>at(t,r.meta),{})}function W2(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function Vk(e,t){return t.children.some(r=>r===e||Vk(e,r))}const Uk=/#/g,_re=/&/g,bre=/\//g,Cre=/=/g,Sre=/\?/g,Gk=/\+/g,wre=/%5B/g,Tre=/%5D/g,jk=/%5E/g,Are=/%60/g,qk=/%7B/g,Ere=/%7C/g,Yk=/%7D/g,Pre=/%20/g;function Hb(e){return encodeURI(""+e).replace(Ere,"|").replace(wre,"[").replace(Tre,"]")}function Ire(e){return Hb(e).replace(qk,"{").replace(Yk,"}").replace(jk,"^")}function Tx(e){return Hb(e).replace(Gk,"%2B").replace(Pre,"+").replace(Uk,"%23").replace(_re,"%26").replace(Are,"`").replace(qk,"{").replace(Yk,"}").replace(jk,"^")}function Mre(e){return Tx(e).replace(Cre,"%3D")}function Dre(e){return Hb(e).replace(Uk,"%23").replace(Sre,"%3F")}function Lre(e){return e==null?"":Dre(e).replace(bre,"%2F")}function Rv(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Rre(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const a=n[i].replace(Gk," "),o=a.indexOf("="),s=Rv(o<0?a:a.slice(0,o)),l=o<0?null:Rv(a.slice(o+1));if(s in t){let u=t[s];Rn(u)||(u=t[s]=[u]),u.push(l)}else t[s]=l}return t}function V2(e){let t="";for(let r in e){const n=e[r];if(r=Mre(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(Rn(n)?n.map(a=>a&&Tx(a)):[n&&Tx(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Ore(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Rn(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const kre=Symbol(""),U2=Symbol(""),r0=Symbol(""),zb=Symbol(""),Ax=Symbol("");function Au(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function _a(e,t,r,n,i){const a=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=f=>{f===!1?s(Ul(4,{from:r,to:t})):f instanceof Error?s(f):ore(f)?s(Ul(2,{from:t,to:f})):(a&&n.enterCallbacks[i]===a&&typeof f=="function"&&a.push(f),o())},u=e.call(n&&n.instances[i],t,r,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(f=>s(f))})}function Bg(e,t,r,n){const i=[];for(const a of e)for(const o in a.components){let s=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(Nre(s)){const u=(s.__vccOpts||s)[t];u&&i.push(_a(u,r,n,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const c=Wte(u)?u.default:u;a.components[o]=c;const h=(c.__vccOpts||c)[t];return h&&_a(h,r,n,a,o)()}))}}return i}function Nre(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function G2(e){const t=lr(r0),r=lr(zb),n=Ht(()=>t.resolve(Ir(e.to))),i=Ht(()=>{const{matched:l}=n.value,{length:u}=l,c=l[u-1],f=r.matched;if(!c||!f.length)return-1;const h=f.findIndex(Vl.bind(null,c));if(h>-1)return h;const d=j2(l[u-2]);return u>1&&j2(c)===d&&f[f.length-1].path!==d?f.findIndex(Vl.bind(null,l[u-2])):h}),a=Ht(()=>i.value>-1&&Hre(r.params,n.value.params)),o=Ht(()=>i.value>-1&&i.value===r.matched.length-1&&Fk(r.params,n.value.params));function s(l={}){return $re(l)?t[Ir(e.replace)?"replace":"push"](Ir(e.to)).catch(wc):Promise.resolve()}return{route:n,href:Ht(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const Bre=qa({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:G2,setup(e,{slots:t}){const r=Ga(G2(e)),{options:n}=lr(r0),i=Ht(()=>({[q2(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[q2(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:rs("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),Fre=Bre;function $re(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 Hre(e,t){for(const r in t){const n=t[r],i=e[r];if(typeof n=="string"){if(n!==i)return!1}else if(!Rn(i)||i.length!==n.length||n.some((a,o)=>a!==i[o]))return!1}return!0}function j2(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const q2=(e,t,r)=>e??t??r,zre=qa({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=lr(Ax),i=Ht(()=>e.route||n.value),a=lr(U2,0),o=Ht(()=>{let u=Ir(a);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=Ht(()=>i.value.matched[o.value]);fc(U2,Ht(()=>o.value+1)),fc(kre,s),fc(Ax,i);const l=vt();return Gr(()=>[l.value,s.value,e.name],([u,c,f],[h,d,v])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!Vl(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=s.value,h=f&&f.components[c];if(!h)return Y2(r.default,{Component:h,route:u});const d=f.props[c],v=d?d===!0?u.params:typeof d=="function"?d(u):d:null,m=rs(h,at({},v,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Y2(r.default,{Component:m,route:u})||m}}});function Y2(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Wre=zre;function Vre(e){const t=gre(e.routes,e),r=e.parseQuery||Rre,n=e.stringifyQuery||V2,i=e.history,a=Au(),o=Au(),s=Au(),l=hD(na);let u=na;tl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=kg.bind(null,U=>""+U),f=kg.bind(null,Lre),h=kg.bind(null,Rv);function d(U,Q){let re,ee;return zk(U)?(re=t.getRecordMatcher(U),ee=Q):ee=U,t.addRoute(ee,re)}function v(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function p(){return t.getRoutes().map(U=>U.record)}function m(U){return!!t.getRecordMatcher(U)}function g(U,Q){if(Q=at({},Q||l.value),typeof U=="string"){const R=Ng(r,U,Q.path),I=t.resolve({path:R.path},Q),M=i.createHref(R.fullPath);return at(R,I,{params:h(I.params),hash:Rv(R.hash),redirectedFrom:void 0,href:M})}let re;if("path"in U)re=at({},U,{path:Ng(r,U.path,Q.path).path});else{const R=at({},U.params);for(const I in R)R[I]==null&&delete R[I];re=at({},U,{params:f(U.params)}),Q.params=f(Q.params)}const ee=t.resolve(re,Q),me=U.hash||"";ee.params=c(h(ee.params));const xe=Gte(n,at({},U,{hash:Ire(me),path:ee.path})),oe=i.createHref(xe);return at({fullPath:xe,hash:me,query:n===V2?Ore(U.query):U.query||{}},ee,{redirectedFrom:void 0,href:oe})}function y(U){return typeof U=="string"?Ng(r,U,l.value.path):at({},U)}function x(U,Q){if(u!==U)return Ul(8,{from:Q,to:U})}function _(U){return S(U)}function b(U){return _(at(y(U),{replace:!0}))}function C(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:re}=Q;let ee=typeof re=="function"?re(U):re;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=y(ee):{path:ee},ee.params={}),at({query:U.query,hash:U.hash,params:"path"in ee?{}:U.params},ee)}}function S(U,Q){const re=u=g(U),ee=l.value,me=U.state,xe=U.force,oe=U.replace===!0,R=C(re);if(R)return S(at(y(R),{state:typeof R=="object"?at({},me,R.state):me,force:xe,replace:oe}),Q||re);const I=re;I.redirectedFrom=Q;let M;return!xe&&jte(n,ee,re)&&(M=Ul(16,{to:I,from:ee}),J(ee,ee,!0,!1)),(M?Promise.resolve(M):E(I,ee)).catch(k=>wi(k)?wi(k,2)?k:Y(k):G(k,I,ee)).then(k=>{if(k){if(wi(k,2))return S(at({replace:oe},y(k.to),{state:typeof k.to=="object"?at({},me,k.to.state):me,force:xe}),Q||I)}else k=A(I,ee,!0,oe,me);return T(I,ee,k),k})}function w(U,Q){const re=x(U,Q);return re?Promise.reject(re):Promise.resolve()}function E(U,Q){let re;const[ee,me,xe]=Ure(U,Q);re=Bg(ee.reverse(),"beforeRouteLeave",U,Q);for(const R of ee)R.leaveGuards.forEach(I=>{re.push(_a(I,U,Q))});const oe=w.bind(null,U,Q);return re.push(oe),Os(re).then(()=>{re=[];for(const R of a.list())re.push(_a(R,U,Q));return re.push(oe),Os(re)}).then(()=>{re=Bg(me,"beforeRouteUpdate",U,Q);for(const R of me)R.updateGuards.forEach(I=>{re.push(_a(I,U,Q))});return re.push(oe),Os(re)}).then(()=>{re=[];for(const R of U.matched)if(R.beforeEnter&&!Q.matched.includes(R))if(Rn(R.beforeEnter))for(const I of R.beforeEnter)re.push(_a(I,U,Q));else re.push(_a(R.beforeEnter,U,Q));return re.push(oe),Os(re)}).then(()=>(U.matched.forEach(R=>R.enterCallbacks={}),re=Bg(xe,"beforeRouteEnter",U,Q),re.push(oe),Os(re))).then(()=>{re=[];for(const R of o.list())re.push(_a(R,U,Q));return re.push(oe),Os(re)}).catch(R=>wi(R,8)?R:Promise.reject(R))}function T(U,Q,re){for(const ee of s.list())ee(U,Q,re)}function A(U,Q,re,ee,me){const xe=x(U,Q);if(xe)return xe;const oe=Q===na,R=tl?history.state:{};re&&(ee||oe?i.replace(U.fullPath,at({scroll:oe&&R&&R.scroll},me)):i.push(U.fullPath,me)),l.value=U,J(U,Q,re,oe),Y()}let P;function D(){P||(P=i.listen((U,Q,re)=>{if(!q.listening)return;const ee=g(U),me=C(ee);if(me){S(at(me,{replace:!0}),ee).catch(wc);return}u=ee;const xe=l.value;tl&&ere(k2(xe.fullPath,re.delta),t0()),E(ee,xe).catch(oe=>wi(oe,12)?oe:wi(oe,2)?(S(oe.to,ee).then(R=>{wi(R,20)&&!re.delta&&re.type===Jc.pop&&i.go(-1,!1)}).catch(wc),Promise.reject()):(re.delta&&i.go(-re.delta,!1),G(oe,ee,xe))).then(oe=>{oe=oe||A(ee,xe,!1),oe&&(re.delta&&!wi(oe,8)?i.go(-re.delta,!1):re.type===Jc.pop&&wi(oe,20)&&i.go(-1,!1)),T(ee,xe,oe)}).catch(wc)}))}let L=Au(),N=Au(),B;function G(U,Q,re){Y(U);const ee=N.list();return ee.length?ee.forEach(me=>me(U,Q,re)):console.error(U),Promise.reject(U)}function $(){return B&&l.value!==na?Promise.resolve():new Promise((U,Q)=>{L.add([U,Q])})}function Y(U){return B||(B=!U,D(),L.list().forEach(([Q,re])=>U?re(U):Q()),L.reset()),U}function J(U,Q,re,ee){const{scrollBehavior:me}=e;if(!tl||!me)return Promise.resolve();const xe=!re&&tre(k2(U.fullPath,0))||(ee||!re)&&history.state&&history.state.scroll||null;return ja().then(()=>me(U,Q,xe)).then(oe=>oe&&Jte(oe)).catch(oe=>G(oe,U,Q))}const H=U=>i.go(U);let W;const X=new Set,q={currentRoute:l,listening:!0,addRoute:d,removeRoute:v,hasRoute:m,getRoutes:p,resolve:g,options:e,push:_,replace:b,go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:N.add,isReady:$,install(U){const Q=this;U.component("RouterLink",Fre),U.component("RouterView",Wre),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Ir(l)}),tl&&!W&&l.value===na&&(W=!0,_(i.location).catch(me=>{}));const re={};for(const me in na)re[me]=Ht(()=>l.value[me]);U.provide(r0,Q),U.provide(zb,Ga(re)),U.provide(Ax,l);const ee=U.unmount;X.add(U),U.unmount=function(){X.delete(U),X.size<1&&(u=na,P&&P(),P=null,l.value=na,W=!1,B=!1),ee()}}};return q}function Os(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function Ure(e,t){const r=[],n=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){const s=t.matched[o];s&&(e.matched.find(u=>Vl(u,s))?n.push(s):r.push(s));const l=e.matched[o];l&&(t.matched.find(u=>Vl(u,l))||i.push(l))}return[r,n,i]}function Gre(){return lr(r0)}function d_e(){return lr(zb)}const jre="modulepreload",qre=function(e){return"/admin/"+e},X2={},ba=function(t,r,n){if(!r||r.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=qre(a),a in X2)return;X2[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!n)for(let c=i.length-1;c>=0;c--){const f=i[c];if(f.href===a&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":jre,o||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},Yre=()=>ba(()=>import("./index-10f8b091.js"),["assets/index-10f8b091.js","assets/settings-df746de8.js","assets/index.vue_vue_type_script_setup_true_lang-02ba82d1.js","assets/Button-60a1e549.js","assets/DarkModeSwitch.vue_vue_type_script_setup_true_lang-20603d95.js","assets/Card-596dddb2.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/system-0feee6ed.js","assets/base-0dcea566.js","assets/index-caa5e3c3.css"]),Xre=()=>ba(()=>import("./index-919f8a0b.js"),["assets/index-919f8a0b.js","assets/index.vue_vue_type_script_setup_true_lang-02ba82d1.js","assets/Button-60a1e549.js","assets/DarkModeSwitch.vue_vue_type_script_setup_true_lang-20603d95.js","assets/Card-596dddb2.js","assets/settings-df746de8.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/system-0feee6ed.js","assets/base-0dcea566.js","assets/index-caa5e3c3.css"]),K2={403:()=>ba(()=>import("./index-16011c5d.js"),["assets/index-16011c5d.js","assets/ExceptionBase.vue_vue_type_script_setup_true_lang-c7e3664b.js","assets/Button-60a1e549.js","assets/_plugin-vue_export-helper-c27b6911.js"]),404:()=>ba(()=>import("./index-9c4c7844.js"),["assets/index-9c4c7844.js","assets/ExceptionBase.vue_vue_type_script_setup_true_lang-c7e3664b.js","assets/Button-60a1e549.js","assets/_plugin-vue_export-helper-c27b6911.js"]),500:()=>ba(()=>import("./index-5c3d16f2.js"),["assets/index-5c3d16f2.js","assets/ExceptionBase.vue_vue_type_script_setup_true_lang-c7e3664b.js","assets/Button-60a1e549.js","assets/_plugin-vue_export-helper-c27b6911.js"]),login:()=>ba(()=>import("./index-cd6247e9.js"),["assets/index-cd6247e9.js","assets/DarkModeSwitch.vue_vue_type_script_setup_true_lang-20603d95.js","assets/Button-60a1e549.js","assets/Card-596dddb2.js","assets/settings-df746de8.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/index-6548484e.css"]),"not-found":()=>ba(()=>import("./index-6e3c58b5.js"),["assets/index-6e3c58b5.js","assets/ExceptionBase.vue_vue_type_script_setup_true_lang-c7e3664b.js","assets/Button-60a1e549.js","assets/_plugin-vue_export-helper-c27b6911.js"]),amis:()=>ba(()=>import("./index-abb0871a.js"),["assets/index-abb0871a.js","assets/base-0dcea566.js","assets/settings-df746de8.js","assets/index-71865493.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/index-9d295b7b.css"])};function fh(e){return{basic:Yre,blank:Xre}[e]}function hh(e,t=""){if(!K2[e])throw new Error(`路由“${e}”没有对应的组件文件!`);return Kre(K2[e],t||e)}function Kre(e,t){return Zre(e)?async()=>{const r=await e();return Object.assign(r.default,{name:t}),r}:(Object.assign(e,{name:t}),e)}function Zre(e){return aX(e)}function Xk(e){return e.map(t=>Wb(t)).flat(1)}function Wb(e){var n;const t=[],r={...e};if(ene(e)&&Object.assign(r,{path:e.meta.dynamicPath}),Jre(e)&&Object.assign(r,{component:hh("404")}),tne(e)){const i={basic(){r.component=fh("basic")},blank(){r.component=fh("blank")},multi(){Fg(e)?(Object.assign(r,{meta:{...r.meta,multi:!0}}),delete r.component):window.console.error("多级路由缺少子路由: ",e)},self(){r.component=hh(e.name)},amis(){r.component=hh("amis")}};try{e.component?i[e.component]():window.console.error("路由组件解析失败: ",e)}catch{window.console.error("路由组件解析失败: ",e)}}if(rne(e))if(Fg(e)&&window.console.error("单独路由不应该有子路由: ",e),e.name==="not-found")r.children=[{path:"",name:e.name,component:hh("not-found")}];else{const i=`${r.path}-parent`,a=e.meta.singleLayout==="basic"?fh("basic"):fh("blank");return[{path:i,component:a,redirect:e.path,children:[r]}]}if(Fg(e)){const i=e.children.map(o=>Wb(o)).flat(),a=((n=i.find(o=>{var s;return!((s=o.meta)!=null&&s.multi)}))==null?void 0:n.path)||"/";a==="/"&&window.console.error("该多级路由没有有效的子路径",e),e.component==="multi"?(t.push(...i),delete r.children):r.children=i,r.redirect=a}return t.push(r),t}function Kk(e,t=[]){return e&&e.length===0?[]:e.reduce((r,n)=>{var i;return(i=n.meta)!=null&&i.hide||r.push(n),n.children&&n.children.length>0&&Kk(n.children,t),r},t)}function Zk(e){const t="/";if(e==="root")return t;const r="_",n="/",i=e.split(r).join(n);return n+i}function Qre(e){if(e==="/")return"root";const t="/",r="_";return e.split(t).slice(1).join(r)}function Jre(e){return Boolean(e.meta.href)}function ene(e){return Boolean(e.meta.dynamicPath)}function tne(e){return Boolean(e.component)}function Fg(e){return Boolean(e.children&&e.children.length)}function rne(e){return Boolean(e.meta.singleLayout)}const Qk={name:"root",path:"/",redirect:"/dashboard",meta:{title:"Root"}},Ex=[Qk,{name:"login",path:"/login",component:"self",props:e=>({module:e.params.module||"pwd-login"}),meta:{title:"登录",dynamicPath:`/login/:module(${vxe()})?`,singleLayout:"blank"}},{name:"403",path:"/403",component:"self",meta:{title:"无权限",singleLayout:"blank"}},{name:"404",path:"/404",component:"self",meta:{title:"未找到",singleLayout:"blank"}},{name:"500",path:"/500",component:"self",meta:{title:"服务器错误",singleLayout:"blank"}},{name:"not-found",path:"/:pathMatch(.*)*",component:"blank",meta:{title:"未找到",singleLayout:"blank"}}],nne=(e,t)=>new Promise(r=>{const n=Pv();if(e.hash){const f=document.querySelector(e.hash);f&&r({el:f,behavior:"smooth"})}const{left:i,top:a}=n.getTabScrollPosition(e.path),o={left:i,top:a},{scrollLeft:s,scrollTop:l}=document.documentElement;Boolean(t.meta.keepAlive)&&n.recordTabScrollPosition(t.path,{left:s,top:l});const c=!o.left&&!o.top?0:350;setTimeout(()=>{r(o)},c)});var Z2;const Of=typeof window<"u",Q2=e=>typeof e=="function",Jk=e=>typeof e=="string",ine=()=>{};Of&&((Z2=window==null?void 0:window.navigator)!=null&&Z2.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ane(e){return typeof e=="function"?e():Ir(e)}function one(e){return e}function sne(e,t){var r;if(typeof e=="number")return e+t;const n=((r=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:r[0])||"",i=e.slice(n.length),a=parseFloat(n)+t;return Number.isNaN(a)?e:a+i}function kf(e){return f1()?(h1(e),!0):!1}function e4(e){return typeof e=="function"?Ht(e):vt(e)}function t4(e,t=!0){vi()?tu(e):t?e():ja(e)}function is(e){var t;const r=ane(e);return(t=r==null?void 0:r.$el)!=null?t:r}const hu=Of?window:void 0,r4=Of?window.document:void 0;Of&&window.navigator;Of&&window.location;function Ov(...e){let t,r,n,i;if(Jk(e[0])||Array.isArray(e[0])?([r,n,i]=e,t=hu):[t,r,n,i]=e,!t)return ine;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],o=()=>{a.forEach(c=>c()),a.length=0},s=(c,f,h)=>(c.addEventListener(f,h,i),()=>c.removeEventListener(f,h,i)),l=Gr(()=>is(t),c=>{o(),c&&a.push(...r.flatMap(f=>n.map(h=>s(c,f,h))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return kf(u),u}function n0(e,t=!1){const r=vt(),n=()=>r.value=Boolean(e());return n(),t4(n,t),r}function Eu(e,t={}){const{window:r=hu}=t,n=n0(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let i;const a=vt(!1),o=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",s):i.removeListener(s))},s=()=>{n.value&&(o(),i=r.matchMedia(e4(e).value),a.value=i.matches,"addEventListener"in i?i.addEventListener("change",s):i.addListener(s))};return wD(s),kf(()=>o()),a}const v_e={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var lne=Object.defineProperty,J2=Object.getOwnPropertySymbols,une=Object.prototype.hasOwnProperty,cne=Object.prototype.propertyIsEnumerable,eA=(e,t,r)=>t in e?lne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fne=(e,t)=>{for(var r in t||(t={}))une.call(t,r)&&eA(e,r,t[r]);if(J2)for(var r of J2(t))cne.call(t,r)&&eA(e,r,t[r]);return e};function p_e(e,t={}){function r(s,l){let u=e[s];return l!=null&&(u=sne(u,l)),typeof u=="number"&&(u=`${u}px`),u}const{window:n=hu}=t;function i(s){return n?n.matchMedia(s).matches:!1}const a=s=>Eu(`(min-width: ${r(s)})`,t),o=Object.keys(e).reduce((s,l)=>(Object.defineProperty(s,l,{get:()=>a(l),enumerable:!0,configurable:!0}),s),{});return fne({greater(s){return Eu(`(min-width: ${r(s,.1)})`,t)},greaterOrEqual:a,smaller(s){return Eu(`(max-width: ${r(s,-.1)})`,t)},smallerOrEqual(s){return Eu(`(max-width: ${r(s)})`,t)},between(s,l){return Eu(`(min-width: ${r(s)}) and (max-width: ${r(l,-.1)})`,t)},isGreater(s){return i(`(min-width: ${r(s,.1)})`)},isGreaterOrEqual(s){return i(`(min-width: ${r(s)})`)},isSmaller(s){return i(`(max-width: ${r(s,-.1)})`)},isSmallerOrEqual(s){return i(`(max-width: ${r(s)})`)},isInBetween(s,l){return i(`(min-width: ${r(s)}) and (max-width: ${r(l,-.1)})`)}},o)}const Px=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ix="__vueuse_ssr_handlers__";Px[Ix]=Px[Ix]||{};Px[Ix];var tA=Object.getOwnPropertySymbols,hne=Object.prototype.hasOwnProperty,dne=Object.prototype.propertyIsEnumerable,vne=(e,t)=>{var r={};for(var n in e)hne.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&tA)for(var n of tA(e))t.indexOf(n)<0&&dne.call(e,n)&&(r[n]=e[n]);return r};function n4(e,t,r={}){const n=r,{window:i=hu}=n,a=vne(n,["window"]);let o;const s=n0(()=>i&&"ResizeObserver"in i),l=()=>{o&&(o.disconnect(),o=void 0)},u=Gr(()=>is(e),f=>{l(),s.value&&i&&f&&(o=new ResizeObserver(t),o.observe(f,a))},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return kf(c),{isSupported:s,stop:c}}function g_e(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:i=!0,immediate:a=!0}=t,o=vt(0),s=vt(0),l=vt(0),u=vt(0),c=vt(0),f=vt(0),h=vt(0),d=vt(0);function v(){const p=is(e);if(!p){r&&(o.value=0,s.value=0,l.value=0,u.value=0,c.value=0,f.value=0,h.value=0,d.value=0);return}const m=p.getBoundingClientRect();o.value=m.height,s.value=m.bottom,l.value=m.left,u.value=m.right,c.value=m.top,f.value=m.width,h.value=m.x,d.value=m.y}return n4(e,v),Gr(()=>is(e),p=>!p&&v()),i&&Ov("scroll",v,{capture:!0,passive:!0}),n&&Ov("resize",v,{passive:!0}),t4(()=>{a&&v()}),{height:o,bottom:s,left:l,right:u,top:c,width:f,x:h,y:d,update:v}}function m_e(e,t={width:0,height:0},r={}){const{box:n="content-box"}=r,i=vt(t.width),a=vt(t.height);return n4(e,([o])=>{const s=n==="border-box"?o.borderBoxSize:n==="content-box"?o.contentBoxSize:o.devicePixelContentBoxSize;s?(i.value=s.reduce((l,{inlineSize:u})=>l+u,0),a.value=s.reduce((l,{blockSize:u})=>l+u,0)):(i.value=o.contentRect.width,a.value=o.contentRect.height)},r),Gr(()=>is(e),o=>{i.value=o?t.width:0,a.value=o?t.height:0}),{width:i,height:a}}const rA=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function y_e(e,t={}){const{document:r=r4,autoExit:n=!1}=t,i=e||(r==null?void 0:r.querySelector("html")),a=vt(!1);let o=rA[0];const s=n0(()=>{if(r){for(const p of rA)if(p[1]in r)return o=p,!0}else return!1;return!1}),[l,u,c,,f]=o;async function h(){s.value&&(r!=null&&r[c]&&await r[u](),a.value=!1)}async function d(){if(!s.value)return;await h();const p=is(i);p&&(await p[l](),a.value=!0)}async function v(){a.value?await h():await d()}return r&&Ov(r,f,()=>{a.value=!!(r!=null&&r[c])},!1),n&&kf(h),{isSupported:s,isFullscreen:a,enter:d,exit:h,toggle:v}}var nA=Object.getOwnPropertySymbols,pne=Object.prototype.hasOwnProperty,gne=Object.prototype.propertyIsEnumerable,mne=(e,t)=>{var r={};for(var n in e)pne.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&nA)for(var n of nA(e))t.indexOf(n)<0&&gne.call(e,n)&&(r[n]=e[n]);return r};function yne(e,t,r={}){const n=r,{window:i=hu}=n,a=mne(n,["window"]);let o;const s=n0(()=>i&&"MutationObserver"in i),l=()=>{o&&(o.disconnect(),o=void 0)},u=Gr(()=>is(e),f=>{l(),s.value&&i&&f&&(o=new MutationObserver(t),o.observe(f,a))},{immediate:!0}),c=()=>{l(),u()};return kf(c),{isSupported:s,stop:c}}var iA;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(iA||(iA={}));function xne(e=null,t={}){var r,n;const{document:i=r4}=t,a=e4((r=e??(i==null?void 0:i.title))!=null?r:null),o=e&&Q2(e);function s(l){if(!("titleTemplate"in t))return l;const u=t.titleTemplate||"%s";return Q2(u)?u(l):Ir(u).replace(/%s/g,l)}return Gr(a,(l,u)=>{l!==u&&i&&(i.title=s(Jk(l)?l:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!o&&yne((n=i.head)==null?void 0:n.querySelector("title"),()=>{i&&i.title!==a.value&&(a.value=s(i.title))},{childList:!0}),a}var _ne=Object.defineProperty,aA=Object.getOwnPropertySymbols,bne=Object.prototype.hasOwnProperty,Cne=Object.prototype.propertyIsEnumerable,oA=(e,t,r)=>t in e?_ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sne=(e,t)=>{for(var r in t||(t={}))bne.call(t,r)&&oA(e,r,t[r]);if(aA)for(var r of aA(t))Cne.call(t,r)&&oA(e,r,t[r]);return e};const wne={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]};Sne({linear:one},wne);function x_e({window:e=hu}={}){if(!e)return{x:vt(0),y:vt(0)};const t=vt(e.pageXOffset),r=vt(e.pageYOffset);return Ov(e,"scroll",()=>{t.value=e.pageXOffset,r.value=e.pageYOffset},{capture:!1,passive:!0}),{x:t,y:r}}async function Tne(e,t,r){var a;const n=Mx(),i=Boolean(Zt.get("token"));if(!n.isInitAuthRoute){if(!i){const o=e.name;if(n.isValidConstantRoute(o)&&!e.meta.requiresAuth)r();else{const s=e.fullPath;r({name:Mn("login"),query:{redirect:s}})}return!1}if(await n.initAuthRoute(),e.name===Mn("not-found")){const o="root",s=((a=e.redirectedFrom)==null?void 0:a.name)===o?"/":e.fullPath;return r({path:s,replace:!0,query:e.query,hash:e.hash}),!1}}return e.name===Mn("not-found")?(r({name:Mn("404"),replace:!0}),!1):!0}async function Ane(e,t,r){var u;if(!await Tne(e,t,r))return;if(e.meta.href){window.open(e.meta.href),r({path:t.fullPath,replace:!0,query:t.query});return}const i=Boolean(Zt.get("token")),a=e.meta.permissions||[],o=Boolean((u=e.meta)==null?void 0:u.requiresAuth)||Boolean(a.length),s=!1,l=[[i&&e.name===Mn("login"),()=>{r({name:Mn("root")})}],[!o,()=>{r()}],[!i&&o,()=>{const c=e.fullPath;r({name:Mn("login"),query:{redirect:c}})}],[i&&o&&s,()=>{r()}],[i&&o&&!s,()=>{r({name:Mn("403")})}]];AX(l)}function Ene(e){e.beforeEach(async(t,r,n)=>{var i;(i=window.$loadingBar)==null||i.start(),await Ane(t,r,n)}),e.afterEach(t=>{var r;xne(t.meta.title),(r=window.$loadingBar)==null||r.finish()})}const Pne={name:"_link",path:"/_link",component:"basic",meta:{hide:!0}},Ine=Object.freeze(Object.defineProperty({__proto__:null,default:Pne},Symbol.toStringTag,{value:"Module"})),Mne=Object.assign({"./base.ts":Ine}),Dne=DQ(Mne),{VITE_HASH_ROUTE:Lne,VITE_BASE_URL:sA}={VITE_BASE_URL:"/admin",VITE_APP_NAME:"",VITE_APP_TITLE:"",VITE_APP_DESC:"OwlAdmin是一个基于Laravel和amis的后台管理系统",VITE_AUTH_ROUTE_MODE:"dynamic",VITE_ROUTE_HOME_PATH:"/dashboard",VITE_ICON_PREFFIX:"icon",VITE_ICON_LOCAL_PREFFIX:"icon-local",VITE_HTTP_PROXY:"Y",VITE_HASH_ROUTE:"Y",VITE_VISUALIZER:"N",VITE_COMPRESS:"N",VITE_COMPRESS_TYPE:"gzip",VITE_PWA:"N",VITE_SERVICE_ENV:"prod",BASE_URL:"/admin",MODE:"production",DEV:!1,PROD:!0},sn=Vre({history:Lne==="Y"?are(sA):Hk(sA),routes:Xk(Ex),scrollBehavior:nne});async function __e(e){e.use(sn),Ene(sn),await sn.isReady()}const Mn=e=>e,b_e=e=>Zk(e),Mx=uu("route-store",{state:()=>({authRouteMode:"dynamic",isInitAuthRoute:!1,routeHomeName:Qre("/dashboard"),menus:[],searchMenus:[],cacheRoutes:[]}),actions:{resetRouteStore(){this.resetRoutes(),this.$reset()},resetRoutes(){sn.getRoutes().forEach(t=>{const r=t.name||"root";this.isConstantRoute(r)||sn.removeRoute(r)})},isConstantRoute(e){return c2(Ex).includes(e)},isValidConstantRoute(e){const t="not-found";return c2(Ex).includes(e)&&e!==t},handleAuthRoute(e){this.menus=N5(e),this.searchMenus=Kk(e);const t=Xk(e);t.forEach(r=>{sn.addRoute(r)}),this.cacheRoutes=LQ(t)},handleUpdateRootRedirect(e){if(e==="root"||e==="not-found")throw new Error("routeKey的值不能为root或者not-found");const t={...Qk,redirect:Zk(e)},r="root";sn.removeRoute(r);const n=Wb(t)[0];sn.addRoute(n)},async initDynamicRoute(){const{initHomeTab:e}=Pv(),{status:t,data:r}=await Cxe();t||(this.handleAuthRoute(r),r==null||r.forEach(n=>{n!=null&&n.is_home&&(this.routeHomeName=n.name,this.handleUpdateRootRedirect(n.path.replace("/","")),e(n.name,sn))}),this.isInitAuthRoute=!0)},async initStaticRoute(){const{initHomeTab:e}=Pv(),t=zte(),r=kQ(Dne,t.userInfo.userRole);this.handleAuthRoute(r),e(this.routeHomeName,sn),this.isInitAuthRoute=!0},async initAuthRoute(){this.authRouteMode==="dynamic"?await this.initDynamicRoute():await this.initStaticRoute()}}});uu("setup-store",()=>{const{bool:e,setTrue:t,setFalse:r}=Xq(),n=Ga({name:"config"});function i(a){Object.assign(n,a)}return{visible:e,show:t,hide:r,config:n,setConfig:i}});function Ac(e=!0){const t=e?Gre():sn,r=sn.currentRoute;function n(u,c=!1){if(c){const f=t.resolve(u);window.open(f.href,"_blank")}else t.push(u)}function i(){t.go(-1)}function a(u=!1){n({name:Mn("root")},u)}function o(u,c){const f={name:Mn("login")},h=c||r.value.fullPath;Object.assign(f,{query:{redirect:h}}),n(f)}function s(u){const{query:c}=r.value;n({name:Mn("login"),params:{module:u},query:c})}function l(){const{query:u}=r.value;u!=null&&u.redirect?n(u.redirect):a()}return{routerPush:n,routerBack:i,toHome:a,toLogin:o,toLoginModule:s,toLoginRedirect:l}}/*! *****************************************************************************
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 Dx=function(e,t){return Dx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Dx(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");Dx(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Rne=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),One=function(){function e(){this.browser=new Rne,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}(),Po=new One;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Po.wxa=!0,Po.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Po.worker=!0:typeof navigator>"u"?(Po.node=!0,Po.svgSupported=!0):kne(navigator.userAgent,Po);function kne(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const ze=Po;var Vb=12,Nne="sans-serif",as=Vb+"px "+Nne,Bne=20,Fne=100,$ne="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function Hne(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-Bne)/Fne;t[n]=i}return t}var zne=Hne($ne),Ss={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Ss.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||as),e.measureText(r);r=r||"",n=n||as;var a=/(\d+)px/.exec(n),o=a&&+a[1]||Vb,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=zne[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},i4=$a(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),a4=$a(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),du=Object.prototype.toString,i0=Array.prototype,Wne=i0.forEach,Vne=i0.filter,Ub=i0.slice,Une=i0.map,lA=function(){}.constructor,dh=lA?lA.prototype:null,Gb="__proto__",Gne=2311;function o4(){return Gne++}function jb(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Ne(e){if(e==null||typeof e!="object")return e;var t=e,r=du.call(e);if(r==="[object Array]"){if(!Pc(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=Ne(e[n])}}else if(a4[r]){if(!Pc(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!i4[r]&&!Pc(e)&&!ef(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Gb&&(t[o]=Ne(e[o]))}return t}function Fe(e,t,r){if(!we(t)||!we(e))return r?Ne(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Gb){var i=e[n],a=t[n];we(a)&&we(i)&&!de(a)&&!de(i)&&!ef(a)&&!ef(i)&&!uA(a)&&!uA(i)&&!Pc(a)&&!Pc(i)?Fe(i,a,r):(r||!(n in e))&&(e[n]=Ne(t[n]))}return e}function ce(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==Gb&&(e[r]=t[r]);return e}function De(e,t,r){for(var n=xt(t),i=0;i<n.length;i++){var a=n[i];(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}return e}Ss.createCanvas;function Ve(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function jne(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function $n(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else De(e,t,r)}function yr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function O(e,t,r){if(e&&t)if(e.forEach&&e.forEach===Wne)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function ve(e,t,r){if(!e)return[];if(!t)return qb(e);if(e.map&&e.map===Une)return e.map(t,r);for(var n=[],i=0,a=e.length;i<a;i++)n.push(t.call(r,e[i],i,e));return n}function $a(e,t,r,n){if(e&&t){for(var i=0,a=e.length;i<a;i++)r=t.call(n,r,e[i],i,e);return r}}function Dt(e,t,r){if(!e)return[];if(!t)return qb(e);if(e.filter&&e.filter===Vne)return e.filter(t,r);for(var n=[],i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)&&n.push(e[i]);return n}function qne(e,t,r){if(e&&t){for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return e[n]}}function xt(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function Yne(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(Ub.call(arguments)))}}var it=dh&&Ie(dh.bind)?dh.call.bind(dh.bind):Yne;function et(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(Ub.call(arguments)))}}function de(e){return Array.isArray?Array.isArray(e):du.call(e)==="[object Array]"}function Ie(e){return typeof e=="function"}function be(e){return typeof e=="string"}function Lx(e){return du.call(e)==="[object String]"}function tt(e){return typeof e=="number"}function we(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function uA(e){return!!i4[du.call(e)]}function Xr(e){return!!a4[du.call(e)]}function ef(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function a0(e){return e.colorStops!=null}function Xne(e){return e.image!=null}function Kne(e){return du.call(e)==="[object RegExp]"}function kv(e){return e!==e}function Gl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(e[r]!=null)return e[r]}function Ue(e,t){return e??t}function Ec(e,t,r){return e??t??r}function qb(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Ub.apply(e,t)}function s4(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 di(e,t){if(!e)throw new Error(t)}function ai(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var l4="__ec_primitive__";function Nv(e){e[l4]=!0}function Pc(e){return e[l4]}var Zne=function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return xt(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&t(r[n],n)},e}(),u4=typeof Map=="function";function Qne(){return u4?new Map:new Zne}var Jne=function(){function e(t){var r=de(t);this.data=Qne();var n=this;t instanceof e?t.each(i):t&&O(t,i);function i(a,o){r?n.set(a,o):n.set(o,a)}}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,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(n,i){t.call(r,n,i)})},e.prototype.keys=function(){var t=this.data.keys();return u4?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function Re(e){return new Jne(e)}function eie(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];for(var i=e.length,n=0;n<t.length;n++)r[n+i]=t[n];return r}function o0(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&ce(r,t),r}function c4(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function Vi(e,t){return e.hasOwnProperty(t)}function mr(){}var tie=180/Math.PI;function vu(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function rie(e){return[e[0],e[1]]}function cA(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function nie(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function iie(e){return Math.sqrt(aie(e))}function aie(e){return e[0]*e[0]+e[1]*e[1]}function $g(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function oie(e,t){var r=iie(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function Rx(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var Ox=Rx;function sie(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var xl=sie;function dd(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function vn(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e}function al(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function ol(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var ks=function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e}(),lie=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 r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new ks(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var n=t.offsetX,i=t.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,r.drift(a,o,t),this.handler.dispatchToElement(new ks(r,t),"drag",t.event);var s=this.handler.findHover(n,i,r).target,l=this._dropTarget;this._dropTarget=s,r!==s&&(l&&s!==l&&this.handler.dispatchToElement(new ks(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new ks(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new ks(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new ks(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}();const uie=lie;var cie=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(i=n,n=r,r=null),!n||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===n)return this;var l={h:n,query:r,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},u=a[t].length-1,c=a[t][u];return c&&c.callAtLast?a[t].splice(u,0,l):a[t].push(l),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(r){if(n[t]){for(var i=[],a=0,o=n[t].length;a<o;a++)n[t][a].h!==r&&i.push(n[t][a]);n[t]=i}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=r.length,s=i.length,l=0;l<s;l++){var u=i[l];if(!(a&&a.filter&&u.query!=null&&!a.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,r[0]);break;case 2:u.h.call(u.ctx,r[0],r[1]);break;default:u.h.apply(u.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=r.length,s=r[o-1],l=i.length,u=0;u<l;u++){var c=i[u];if(!(a&&a.filter&&c.query!=null&&!a.filter(t,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,r[0]);break;case 2:c.h.call(s,r[0],r[1]);break;default:c.h.apply(s,r.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e}();const Hn=cie;var fie=Math.log(2);function kx(e,t,r,n,i,a){var o=n+"-"+i,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~i)/fie);return e[r][l]}for(var u=n|1<<r,c=r+1;n&1<<c;)c++;for(var f=0,h=0,d=0;h<s;h++){var v=1<<h;v&i||(f+=(d%2?-1:1)*e[r][h]*kx(e,t-1,c,u,i|v,a),d++)}return a[o]=f,f}function fA(e,t){var r=[[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]]],n={},i=kx(r,8,0,0,0,n);if(i!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*kx(r,7,o===0?1:0,1<<o,1<<s,n)/i*t[o];return function(l,u,c){var f=u*a[6]+c*a[7]+1;l[0]=(u*a[0]+c*a[1]+a[2])/f,l[1]=(u*a[3]+c*a[4]+a[5])/f}}}var hA="___zrEVENTSAVED",Hg=[];function hie(e,t,r,n,i){return Nx(Hg,t,n,i,!0)&&Nx(e,r,Hg[0],Hg[1])}function Nx(e,t,r,n,i){if(t.getBoundingClientRect&&ze.domSupported&&!f4(t)){var a=t[hA]||(t[hA]={}),o=die(t,a),s=vie(o,a,i);if(s)return s(e,r,n),!0}return!1}function die(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var n=["left","right"],i=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function vie(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,h=c.left,d=c.top;o.push(h,d),l=l&&a&&h===a[f]&&d===a[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[n]=r?fA(s,o):fA(o,s))}function f4(e){return e.nodeName.toUpperCase()==="CANVAS"}var pie=/([&<>"'])/g,gie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ln(e){return e==null?"":(e+"").replace(pie,function(t,r){return gie[r]})}var mie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zg=[],yie=ze.browser.firefox&&+ze.browser.version.split(".")[0]<39;function Bx(e,t,r,n){return r=r||{},n?dA(e,t,r):yie&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):dA(e,t,r),r}function dA(e,t,r){if(ze.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(f4(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(Nx(zg,e,n,i)){r.zrX=zg[0],r.zrY=zg[1];return}}r.zrX=r.zrY=0}function Yb(e){return e||window.event}function nn(e,t,r){if(t=Yb(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Bx(e,o,t,r)}else{Bx(e,t,t,r);var a=xie(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&mie.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function xie(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function Fx(e,t,r,n){e.addEventListener(t,r,n)}function _ie(e,t,r,n){e.removeEventListener(t,r,n)}var h4=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},bie=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o<s;o++){var l=i[o],u=Bx(n,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in Wg)if(Wg.hasOwnProperty(r)){var n=Wg[r](this._track,t);if(n)return n}},e}();function vA(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function Cie(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var Wg={pinch:function(e,t){var r=e.length;if(r){var n=(e[r-1]||{}).points,i=(e[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var a=vA(n)/vA(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Cie(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function tf(){return[1,0,0,1,0,0]}function Xb(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Sie(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 _l(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function $x(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function Kb(e,t,r){var n=t[0],i=t[2],a=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(r),c=Math.cos(r);return e[0]=n*c+o*u,e[1]=-n*u+o*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*a+u*l,e[5]=c*l-u*a,e}function wie(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function s0(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=r*o-a*n;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-n*l,e[3]=r*l,e[4]=(n*s-o*i)*l,e[5]=(a*i-r*s)*l,e):null}var Tie=function(){function e(t,r){this.x=t||0,this.y=r||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,r){return this.x=t,this.y=r,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,r){this.x+=t.x*r,this.y+=t.y*r},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 r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+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,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.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,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e}();const Ee=Tie;var vh=Math.min,ph=Math.max,Ja=new Ee,eo=new Ee,to=new Ee,ro=new Ee,Pu=new Ee,Iu=new Ee,Aie=function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=vh(t.x,this.x),n=vh(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ph(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ph(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=tf();return $x(a,a,[-r.x,-r.y]),wie(a,a,[n,i]),$x(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,h=!(a<l||u<i||s<c||f<o);if(r){var d=1/0,v=0,p=Math.abs(a-l),m=Math.abs(u-i),g=Math.abs(s-c),y=Math.abs(f-o),x=Math.min(p,m),_=Math.min(g,y);a<l||u<i?x>v&&(v=x,p<m?Ee.set(Iu,-p,0):Ee.set(Iu,m,0)):x<d&&(d=x,p<m?Ee.set(Pu,p,0):Ee.set(Pu,-m,0)),s<c||f<o?_>v&&(v=_,g<y?Ee.set(Iu,0,-g):Ee.set(Iu,0,y)):x<d&&(d=x,g<y?Ee.set(Pu,0,g):Ee.set(Pu,0,-y))}return r&&Ee.copy(r,h?Pu:Iu),h},e.prototype.contain=function(t,r){var n=this;return t>=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.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,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Ja.x=to.x=r.x,Ja.y=ro.y=r.y,eo.x=ro.x=r.x+r.width,eo.y=to.y=r.y+r.height,Ja.transform(n),ro.transform(n),eo.transform(n),to.transform(n),t.x=vh(Ja.x,eo.x,to.x,ro.x),t.y=vh(Ja.y,eo.y,to.y,ro.y);var l=ph(Ja.x,eo.x,to.x,ro.x),u=ph(Ja.y,eo.y,to.y,ro.y);t.width=l-t.x,t.height=u-t.y},e}();const Ge=Aie;var d4="silent";function Eie(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Pie}}function Pie(){h4(this.event)}var Iie=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Hn),Mu=function(){function e(t,r){this.x=t,this.y=r}return e}(),Mie=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Vg=new Ge(0,0,0,0),v4=function(e){se(t,e);function t(r,n,i,a,o){var s=e.call(this)||this;return s._hovered=new Mu(0,0),s.storage=r,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new Iie,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new uie(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(O(Mie,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=p4(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Mu(n,i):this.findHover(n,i),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Mu(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=Eie(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},t.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),o=new Mu(r,n);if(pA(a,o,r,n,i),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Ge(r-u,n-u,l,l),f=a.length-1;f>=0;f--){var h=a[f];h!==i&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(Vg.copy(h.getBoundingRect()),h.transform&&Vg.applyTransform(h.transform),Vg.intersect(c)&&s.push(h))}if(s.length)for(var d=4,v=Math.PI/12,p=Math.PI*2,m=0;m<u;m+=d)for(var g=0;g<p;g+=v){var y=r+m*Math.cos(g),x=n+m*Math.sin(g);if(pA(s,o,y,x,i),o.target)return o}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new bie);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Mu;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t}(Hn);O(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){v4.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=p4(this,r,n),a,o;if((e!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.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||Ox(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function Die(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1;n.silent&&(i=!0)}var s=n.__hostTarget;n=s||n.parent}return i?d4:!0}return!1}function pA(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=Die(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==d4)){t.target=o;break}}}function p4(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}const Lie=v4;var g4=32,Du=7;function Rie(e){for(var t=0;e>=g4;)t|=e&1,e>>=1;return e+t}function gA(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i<r&&n(e[i],e[i-1])<0;)i++;Oie(e,t,i)}else for(;i<r&&n(e[i],e[i-1])>=0;)i++;return i-t}function Oie(e,t,r){for(r--;t<r;){var n=e[t];e[t++]=e[r],e[r--]=n}}function mA(e,t,r,n,i){for(n===t&&n++;n<r;n++){for(var a=e[n],o=t,s=n,l;o<s;)l=o+s>>>1,i(a,e[l])<0?s=l:o=l+1;var u=n-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]=a}}function Ug(e,t,r,n,i,a){var o=0,s=0,l=1;if(a(e,t[r+i])>0){for(s=n-i;l<s&&a(e,t[r+i+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;l<s&&a(e,t[r+i-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])>0?o=c+1:l=c}return l}function Gg(e,t,r,n,i,a){var o=0,s=0,l=1;if(a(e,t[r+i])<0){for(s=i+1;l<s&&a(e,t[r+i-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l<s&&a(e,t[r+i+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])<0?l=c:o=c+1}return l}function kie(e,t){var r=Du,n,i,a=0;e.length;var o=[];n=[],i=[];function s(d,v){n[a]=d,i[a]=v,a+=1}function l(){for(;a>1;){var d=a-2;if(d>=1&&i[d-1]<=i[d]+i[d+1]||d>=2&&i[d-2]<=i[d]+i[d-1])i[d-1]<i[d+1]&&d--;else if(i[d]>i[d+1])break;c(d)}}function u(){for(;a>1;){var d=a-2;d>0&&i[d-1]<i[d+1]&&d--,c(d)}}function c(d){var v=n[d],p=i[d],m=n[d+1],g=i[d+1];i[d]=p+g,d===a-3&&(n[d+1]=n[d+2],i[d+1]=i[d+2]),a--;var y=Gg(e[m],e,v,p,0,t);v+=y,p-=y,p!==0&&(g=Ug(e[v+p-1],e,m,g,g-1,t),g!==0&&(p<=g?f(v,p,m,g):h(v,p,m,g)))}function f(d,v,p,m){var g=0;for(g=0;g<v;g++)o[g]=e[d+g];var y=0,x=p,_=d;if(e[_++]=e[x++],--m===0){for(g=0;g<v;g++)e[_+g]=o[y+g];return}if(v===1){for(g=0;g<m;g++)e[_+g]=e[x+g];e[_+m]=o[y];return}for(var b=r,C,S,w;;){C=0,S=0,w=!1;do if(t(e[x],o[y])<0){if(e[_++]=e[x++],S++,C=0,--m===0){w=!0;break}}else if(e[_++]=o[y++],C++,S=0,--v===1){w=!0;break}while((C|S)<b);if(w)break;do{if(C=Gg(e[x],o,y,v,0,t),C!==0){for(g=0;g<C;g++)e[_+g]=o[y+g];if(_+=C,y+=C,v-=C,v<=1){w=!0;break}}if(e[_++]=e[x++],--m===0){w=!0;break}if(S=Ug(o[y],e,x,m,0,t),S!==0){for(g=0;g<S;g++)e[_+g]=e[x+g];if(_+=S,x+=S,m-=S,m===0){w=!0;break}}if(e[_++]=o[y++],--v===1){w=!0;break}b--}while(C>=Du||S>=Du);if(w)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),v===1){for(g=0;g<m;g++)e[_+g]=e[x+g];e[_+m]=o[y]}else{if(v===0)throw new Error;for(g=0;g<v;g++)e[_+g]=o[y+g]}}function h(d,v,p,m){var g=0;for(g=0;g<m;g++)o[g]=e[p+g];var y=d+v-1,x=m-1,_=p+m-1,b=0,C=0;if(e[_--]=e[y--],--v===0){for(b=_-(m-1),g=0;g<m;g++)e[b+g]=o[g];return}if(m===1){for(_-=v,y-=v,C=_+1,b=y+1,g=v-1;g>=0;g--)e[C+g]=e[b+g];e[_]=o[x];return}for(var S=r;;){var w=0,E=0,T=!1;do if(t(o[x],e[y])<0){if(e[_--]=e[y--],w++,E=0,--v===0){T=!0;break}}else if(e[_--]=o[x--],E++,w=0,--m===1){T=!0;break}while((w|E)<S);if(T)break;do{if(w=v-Gg(o[x],e,d,v,v-1,t),w!==0){for(_-=w,y-=w,v-=w,C=_+1,b=y+1,g=w-1;g>=0;g--)e[C+g]=e[b+g];if(v===0){T=!0;break}}if(e[_--]=o[x--],--m===1){T=!0;break}if(E=m-Ug(e[y],o,0,m,m-1,t),E!==0){for(_-=E,x-=E,m-=E,C=_+1,b=x+1,g=0;g<E;g++)e[C+g]=o[b+g];if(m<=1){T=!0;break}}if(e[_--]=e[y--],--v===0){T=!0;break}S--}while(w>=Du||E>=Du);if(T)break;S<0&&(S=0),S+=2}if(r=S,r<1&&(r=1),m===1){for(_-=v,y-=v,C=_+1,b=y+1,g=v-1;g>=0;g--)e[C+g]=e[b+g];e[_]=o[x]}else{if(m===0)throw new Error;for(b=_-(m-1),g=0;g<m;g++)e[b+g]=o[g]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function vd(e,t,r,n){r||(r=0),n||(n=e.length);var i=n-r;if(!(i<2)){var a=0;if(i<g4){a=gA(e,r,n,t),mA(e,r,n,r+a,t);return}var o=kie(e,t),s=Rie(i);do{if(a=gA(e,r,n,t),a<s){var l=i;l>s&&(l=s),mA(e,r,r+l,r+a,t),a=l}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var Wr=1,rc=2,rl=4,yA=!1;function jg(){yA||(yA=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function xA(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Nie=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=xA}return e.prototype.traverse=function(t,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(r),n},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,n=this._displayList,i=0,a=r.length;i<a;i++)this._updateAndAddDisplayable(r[i],null,t);n.length=this._displayListLen,vd(n,xA)},e.prototype._updateAndAddDisplayable=function(t,r,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)r=null;else if(i){r?r=r.slice():r=[];for(var a=i,o=t;a;)a.parent=o,a.updateTransform(),r.push(a),o=a,a=a.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),l=0;l<s.length;l++){var u=s[l];t.__dirty&&(u.__dirty|=Wr),this._updateAndAddDisplayable(u,r,n)}t.__dirty=0}else{var c=t;r&&r.length?c.__clipPaths=r:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(jg(),c.z=0),isNaN(c.z2)&&(jg(),c.z2=0),isNaN(c.zlevel)&&(jg(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,r,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,r,n)}},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 r=0,n=t.length;r<n;r++)this.delRoot(t[r]);return}var i=Ve(this._roots,t);i>=0&&this._roots.splice(i,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}();const Bie=Nie;var m4;m4=ze.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const Hx=m4;var pd={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,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.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-pd.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?pd.bounceIn(e*2)*.5:pd.bounceOut(e*2-1)*.5+.5}};const y4=pd;var gh=Math.pow,Ma=Math.sqrt,Bv=1e-8,x4=1e-4,_A=Ma(3),mh=1/3,ti=vu(),un=vu(),bl=vu();function wa(e){return e>-Bv&&e<Bv}function _4(e){return e>Bv||e<-Bv}function Ft(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function bA(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function Fv(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-i,c=s*s-3*o*l,f=s*l-9*o*u,h=l*l-3*s*u,d=0;if(wa(c)&&wa(f))if(wa(s))a[0]=0;else{var v=-l/s;v>=0&&v<=1&&(a[d++]=v)}else{var p=f*f-4*c*h;if(wa(p)){var m=f/c,v=-s/o+m,g=-m/2;v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g)}else if(p>0){var y=Ma(p),x=c*s+1.5*o*(-f+y),_=c*s+1.5*o*(-f-y);x<0?x=-gh(-x,mh):x=gh(x,mh),_<0?_=-gh(-_,mh):_=gh(_,mh);var v=(-s-(x+_))/(3*o);v>=0&&v<=1&&(a[d++]=v)}else{var b=(2*c*s-3*o*f)/(2*Ma(c*c*c)),C=Math.acos(b)/3,S=Ma(c),w=Math.cos(C),v=(-s-2*S*w)/(3*o),g=(-s+S*(w+_A*Math.sin(C)))/(3*o),E=(-s+S*(w-_A*Math.sin(C)))/(3*o);v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g),E>=0&&E<=1&&(a[d++]=E)}}return d}function b4(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(wa(o)){if(_4(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(wa(c))i[0]=-a/(2*o);else if(c>0){var f=Ma(c),u=(-a+f)/(2*o),h=(-a-f)/(2*o);u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function Ha(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-o)*i+o,c=(l-s)*i+s,f=(c-u)*i+u;a[0]=e,a[1]=o,a[2]=u,a[3]=f,a[4]=f,a[5]=c,a[6]=l,a[7]=n}function C4(e,t,r,n,i,a,o,s,l,u,c){var f,h=.005,d=1/0,v,p,m,g;ti[0]=l,ti[1]=u;for(var y=0;y<1;y+=.05)un[0]=Ft(e,r,i,o,y),un[1]=Ft(t,n,a,s,y),m=xl(ti,un),m<d&&(f=y,d=m);d=1/0;for(var x=0;x<32&&!(h<x4);x++)v=f-h,p=f+h,un[0]=Ft(e,r,i,o,v),un[1]=Ft(t,n,a,s,v),m=xl(un,ti),v>=0&&m<d?(f=v,d=m):(bl[0]=Ft(e,r,i,o,p),bl[1]=Ft(t,n,a,s,p),g=xl(bl,ti),p<=1&&g<d?(f=p,d=g):h*=.5);return c&&(c[0]=Ft(e,r,i,o,f),c[1]=Ft(t,n,a,s,f)),Ma(d)}function Fie(e,t,r,n,i,a,o,s,l){for(var u=e,c=t,f=0,h=1/l,d=1;d<=l;d++){var v=d*h,p=Ft(e,r,i,o,v),m=Ft(t,n,a,s,v),g=p-u,y=m-c;f+=Math.sqrt(g*g+y*y),u=p,c=m}return f}function ar(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function CA(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function $ie(e,t,r,n,i){var a=e-2*t+r,o=2*(t-e),s=e-n,l=0;if(wa(a)){if(_4(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(wa(c)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var f=Ma(c),u=(-o+f)/(2*a),h=(-o-f)/(2*a);u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function S4(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function $v(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function w4(e,t,r,n,i,a,o,s,l){var u,c=.005,f=1/0;ti[0]=o,ti[1]=s;for(var h=0;h<1;h+=.05){un[0]=ar(e,r,i,h),un[1]=ar(t,n,a,h);var d=xl(ti,un);d<f&&(u=h,f=d)}f=1/0;for(var v=0;v<32&&!(c<x4);v++){var p=u-c,m=u+c;un[0]=ar(e,r,i,p),un[1]=ar(t,n,a,p);var d=xl(un,ti);if(p>=0&&d<f)u=p,f=d;else{bl[0]=ar(e,r,i,m),bl[1]=ar(t,n,a,m);var g=xl(bl,ti);m<=1&&g<f?(u=m,f=g):c*=.5}}return l&&(l[0]=ar(e,r,i,u),l[1]=ar(t,n,a,u)),Ma(f)}function Hie(e,t,r,n,i,a,o){for(var s=e,l=t,u=0,c=1/o,f=1;f<=o;f++){var h=f*c,d=ar(e,r,i,h),v=ar(t,n,a,h),p=d-s,m=v-l;u+=Math.sqrt(p*p+m*m),s=d,l=v}return u}var zie=/cubic-bezier\(([0-9,\.e ]+)\)/;function T4(e){var t=e&&zie.exec(e);if(t){var r=t[1].split(","),n=+ai(r[0]),i=+ai(r[1]),a=+ai(r[2]),o=+ai(r[3]);if(isNaN(n+i+a+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:Fv(0,n,a,1,l,s)&&Ft(0,i,o,1,s[0])}}}var Wie=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||mr,this.ondestroy=t.ondestroy||mr,this.onrestart=t.onrestart||mr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%n;this._startTime=t-l,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=Ie(t)?t:y4[t]||T4(t)},e}();const Vie=Wie;var A4=function(){function e(t){this.value=t}return e}(),Uie=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new A4(t);return this.insertEntry(r),r},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 r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,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}(),Gie=function(){function e(t){this._list=new Uie,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new A4(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const Nf=Gie;var SA={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 Da(e){return e=Math.round(e),e<0?0:e>255?255:e}function zx(e){return e<0?0:e>1?1:e}function qg(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Da(parseFloat(t)/100*255):Da(parseInt(t,10))}function Ic(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?zx(parseFloat(t)/100):zx(parseFloat(t))}function Yg(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function yh(e,t,r){return e+(t-e)*r}function tn(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function Wx(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var E4=new Nf(20),xh=null;function Ns(e,t){xh&&Wx(xh,t),xh=E4.put(e,xh||t.slice())}function $i(e,t){if(e){t=t||[];var r=E4.get(e);if(r)return Wx(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in SA)return Wx(t,SA[n]),Ns(e,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){tn(t,0,0,0,1);return}return tn(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Ns(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){tn(t,0,0,0,1);return}return tn(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Ns(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?tn(t,+u[0],+u[1],+u[2],1):tn(t,0,0,0,1);c=Ic(u.pop());case"rgb":if(u.length>=3)return tn(t,qg(u[0]),qg(u[1]),qg(u[2]),u.length===3?c:Ic(u[3])),Ns(e,t),t;tn(t,0,0,0,1);return;case"hsla":if(u.length!==4){tn(t,0,0,0,1);return}return u[3]=Ic(u[3]),wA(u,t),Ns(e,t),t;case"hsl":if(u.length!==3){tn(t,0,0,0,1);return}return wA(u,t),Ns(e,t),t;default:return}}tn(t,0,0,0,1)}}function wA(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Ic(e[1]),i=Ic(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],tn(t,Da(Yg(o,a,r+1/3)*255),Da(Yg(o,a,r)*255),Da(Yg(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function TA(e,t){var r=$i(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return l0(r,r.length===4?"rgba":"rgb")}}function jie(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=$i(t[i]),s=$i(t[a]),l=n-i,u=l0([Da(yh(o[0],s[0],l)),Da(yh(o[1],s[1],l)),Da(yh(o[2],s[2],l)),zx(yh(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function l0(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Hv(e,t){var r=$i(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function qie(e){return e.type==="linear"}function Yie(e){return e.type==="radial"}(function(){return ze.hasGlobalWindow&&Ie(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}})();var Vx=Array.prototype.slice;function Mi(e,t,r){return(t-e)*r+e}function Xg(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=Mi(t[a],r[a],n);return e}function Xie(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=Mi(t[o][s],r[o][s],n)}return e}function _h(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=t[a]+r[a]*n;return e}function AA(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+r[o][s]*n}return e}function Kie(e,t){for(var r=e.length,n=t.length,i=r>n?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(r,n);s++)i.push({offset:o.offset,color:o.color.slice()})}function Zie(e,t,r){var n=e,i=t;if(!(!n.push||!i.push)){var a=n.length,o=i.length;if(a!==o){var s=a>o;if(s)n.length=o;else for(var l=a;l<o;l++)n.push(r===1?i[l]:Vx.call(i[l]))}for(var u=n[0]&&n[0].length,l=0;l<n.length;l++)if(r===1)isNaN(n[l])&&(n[l]=i[l]);else for(var c=0;c<u;c++)isNaN(n[l][c])&&(n[l][c]=i[l][c])}}function gd(e){if(yr(e)){var t=e.length;if(yr(e[0])){for(var r=[],n=0;n<t;n++)r.push(Vx.call(e[n]));return r}return Vx.call(e)}return e}function md(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 Qie(e){return yr(e&&e[0])?2:1}var bh=0,yd=1,P4=2,nc=3,Ux=4,Gx=5,EA=6;function PA(e){return e===Ux||e===Gx}function Ch(e){return e===yd||e===P4}var Lu=[0,0,0,0],Jie=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,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=EA,l=r;if(yr(r)){var u=Qie(r);s=u,(u===1&&!tt(r[0])||u===2&&!tt(r[0][0]))&&(o=!0)}else if(tt(r)&&!kv(r))s=bh;else if(be(r))if(!isNaN(+r))s=bh;else{var c=$i(r);c&&(l=c,s=nc)}else if(a0(r)){var f=ce({},l);f.colorStops=ve(r.colorStops,function(d){return{offset:d.offset,color:$i(d.color)}}),qie(r)?s=Ux:Yie(r)&&(s=Gx),l=f}a===0?this.valType=s:(s!==this.valType||s===EA)&&(o=!0),this.discrete=this.discrete||o;var h={time:t,value:l,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=Ie(n)?n:y4[n]||T4(n)),i.push(h),h},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(p,m){return p.time-m.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=Ch(i),u=PA(i),c=0;c<a;c++){var f=n[c],h=f.value,d=o.value;f.percent=f.time/t,s||(l&&c!==a-1?Zie(h,d,i):u&&Kie(h.colorStops,d.colorStops))}if(!s&&i!==Gx&&r&&this.needsAnimate()&&r.needsAnimate()&&i===r.valType&&!r._finished){this._additiveTrack=r;for(var v=n[0].value,c=0;c<a;c++)i===bh?n[c].additiveValue=n[c].value-v:i===nc?n[c].additiveValue=_h([],n[c].value,v,-1):Ch(i)&&(n[c].additiveValue=i===yd?_h([],n[c].value,v,-1):AA([],n[c].value,v,-1))}},e.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,i=n?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=a===nc,c,f=this._lastFr,h=Math.min,d,v;if(s===1)d=v=o[0];else{if(r<0)c=0;else if(r<this._lastFrP){var p=h(f+1,s-1);for(c=p;c>=0&&!(o[c].percent<=r);c--);c=h(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>r);c++);c=h(c-1,s-2)}v=o[c+1],d=o[c]}if(d&&v){this._lastFr=c,this._lastFrP=r;var m=v.percent-d.percent,g=m===0?1:h((r-d.percent)/m,1);v.easingFunc&&(g=v.easingFunc(g));var y=n?this._additiveValue:u?Lu:t[l];if((Ch(a)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=g<1?d.rawValue:v.rawValue;else if(Ch(a))a===yd?Xg(y,d[i],v[i],g):Xie(y,d[i],v[i],g);else if(PA(a)){var x=d[i],_=v[i],b=a===Ux;t[l]={type:b?"linear":"radial",x:Mi(x.x,_.x,g),y:Mi(x.y,_.y,g),colorStops:ve(x.colorStops,function(S,w){var E=_.colorStops[w];return{offset:Mi(S.offset,E.offset,g),color:md(Xg([],S.color,E.color,g))}}),global:_.global},b?(t[l].x2=Mi(x.x2,_.x2,g),t[l].y2=Mi(x.y2,_.y2,g)):t[l].r=Mi(x.r,_.r,g)}else if(u)Xg(y,d[i],v[i],g),n||(t[l]=md(y));else{var C=Mi(d[i],v[i],g);n?this._additiveValue=C:t[l]=C}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===bh?t[n]=t[n]+i:r===nc?($i(t[n],Lu),_h(Lu,Lu,i,1),t[n]=md(Lu)):r===yd?_h(t[n],t[n],i,1):r===P4&&AA(t[n],t[n],i,1)},e}(),eae=function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){jb("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}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,r,n){return this.whenWithKeys(t,r,xt(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,o=0;o<n.length;o++){var s=n[o],l=a[s];if(!l){l=a[s]=new Jie(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,h=f[f.length-1];u=h&&h.value,c.valType===nc&&u&&(u=md(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,gd(u),i),this._trackKeys.push(s)}l.addKeyframe(t,gd(r[s]),i)}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 r=t.length,n=0;n<r;n++)t[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)t[r[n]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var a=n[i].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(i,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(r._target[s.propName]=f.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var h=new Vie({life:i,loop:this._loop,delay:this._delay||0,onframe:function(d){r._started=2;var v=r._additiveAnimators;if(v){for(var p=!1,m=0;m<v.length;m++)if(v[m]._clip){p=!0;break}p||(r._additiveAnimators=null)}for(var m=0;m<n.length;m++)n[m].step(r._target,d);var g=r._onframeCbs;if(g)for(var m=0;m<g.length;m++)g[m](r._target,d)},ondestroy:function(){r._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.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 ve(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,a=0;a<t.length;a++){var o=n[t[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<i.length;a++)if(!n[i[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,r,n){if(t){r=r||this._trackKeys;for(var i=0;i<r.length;i++){var a=r[i],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[n?0:s.length-1];l&&(t[a]=gd(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||xt(t);for(var n=0;n<r.length;n++){var i=r[n],a=this._tracks[i];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();const Zb=eae;function sl(){return new Date().getTime()}var tae=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=sl()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Hx(n),!r._paused&&r.update())}Hx(n)},t.prototype.start=function(){this._running||(this._time=sl(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=sl(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=sl()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new Zb(r,n.loop);return this.addAnimator(i),i},t}(Hn);const rae=tae;var nae=300,Kg=ze.domSupported,Zg=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=ve(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),IA={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},MA=!1;function jx(e){var t=e.pointerType;return t==="pen"||t==="touch"}function iae(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 Qg(e){e&&(e.zrByTouch=!0)}function aae(e,t){return nn(e.dom,new oae(e,t),!0)}function I4(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var oae=function(){function e(t,r){this.stopPropagation=mr,this.stopImmediatePropagation=mr,this.preventDefault=mr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),Tn={mousedown:function(e){e=nn(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=nn(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=nn(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=nn(this.dom,e);var t=e.toElement||e.relatedTarget;I4(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){MA=!0,e=nn(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){MA||(e=nn(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=nn(this.dom,e),Qg(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Tn.mousemove.call(this,e),Tn.mousedown.call(this,e)},touchmove:function(e){e=nn(this.dom,e),Qg(e),this.handler.processGesture(e,"change"),Tn.mousemove.call(this,e)},touchend:function(e){e=nn(this.dom,e),Qg(e),this.handler.processGesture(e,"end"),Tn.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<nae&&Tn.click.call(this,e)},pointerdown:function(e){Tn.mousedown.call(this,e)},pointermove:function(e){jx(e)||Tn.mousemove.call(this,e)},pointerup:function(e){Tn.mouseup.call(this,e)},pointerout:function(e){jx(e)||Tn.mouseout.call(this,e)}};O(["click","dblclick","contextmenu"],function(e){Tn[e]=function(t){t=nn(this.dom,t),this.trigger(e,t)}});var qx={pointermove:function(e){jx(e)||qx.mousemove.call(this,e)},pointerup:function(e){qx.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 sae(e,t){var r=t.domHandlers;ze.pointerEventsSupported?O(Zg.pointer,function(n){xd(t,n,function(i){r[n].call(e,i)})}):(ze.touchEventsSupported&&O(Zg.touch,function(n){xd(t,n,function(i){r[n].call(e,i),iae(t)})}),O(Zg.mouse,function(n){xd(t,n,function(i){i=Yb(i),t.touching||r[n].call(e,i)})}))}function lae(e,t){ze.pointerEventsSupported?O(IA.pointer,r):ze.touchEventsSupported||O(IA.mouse,r);function r(n){function i(a){a=Yb(a),I4(e,a.target)||(a=aae(e,a),t.domHandlers[n].call(e,a))}xd(t,n,i,{capture:!0})}}function xd(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,Fx(e.domTarget,t,r,n)}function Jg(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&_ie(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var DA=function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e}(),uae=function(e){se(t,e);function t(r,n){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=r,i.painterRoot=n,i._localHandlerScope=new DA(r,Tn),Kg&&(i._globalHandlerScope=new DA(document,qx)),sae(i,i._localHandlerScope),i}return t.prototype.dispose=function(){Jg(this._localHandlerScope),Kg&&Jg(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,Kg&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?lae(this,n):Jg(n)}},t}(Hn);const cae=uae;var M4=1;ze.hasGlobalWindow&&(M4=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var zv=M4,Yx=.4,Xx="#333",Kx="#ccc",fae="#eee",LA=Xb,RA=5e-5;function no(e){return e>RA||e<-RA}var io=[],Bs=[],em=tf(),tm=Math.abs,hae=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 no(this.rotation)||no(this.x)||no(this.y)||no(this.scaleX-1)||no(this.scaleY-1)||no(this.skewX)||no(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&LA(n);return}n=n||tf(),r?this.getLocalTransform(n):LA(n),t&&(r?_l(n,t,n):Sie(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(io);var n=io[0]<0?-1:1,i=io[1]<0?-1:1,a=((io[0]-n)*r+n)/io[0]||0,o=((io[1]-i)*r+i)/io[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||tf(),s0(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(_l(Bs,t.invTransform,r),r=Bs);var n=this.originX,i=this.originY;(n||i)&&(em[4]=n,em[5]=i,_l(Bs,r,em),Bs[4]-=n,Bs[5]-=i,r=Bs),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&vn(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&vn(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&tm(t[0]-1)>1e-10&&tm(t[3]-1)>1e-10?Math.sqrt(tm(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){dae(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var v=n+s,p=i+l;r[4]=-v*a-h*p*o,r[5]=-p*o-d*v*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=d*a,r[2]=h*o,u&&Kb(r,r,u),r[4]+=n+c,r[5]+=i+f,r},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}(),rf=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function dae(e,t){for(var r=0;r<rf.length;r++){var n=rf[r];e[n]=t[n]}}const Bf=hae;var OA={};function qr(e,t){t=t||as;var r=OA[t];r||(r=OA[t]=new Nf(500));var n=r.get(e);return n==null&&(n=Ss.measureText(e,t).width,r.put(e,n)),n}function kA(e,t,r,n){var i=qr(e,t),a=Qb(t),o=ic(0,i,r),s=nl(0,a,n),l=new Ge(o,s,i,a);return l}function u0(e,t,r,n){var i=((e||"")+"").split(`
`),a=i.length;if(a===1)return kA(i[0],t,r,n);for(var o=new Ge(0,0,0,0),s=0;s<i.length;s++){var l=kA(i[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function ic(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function nl(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Qb(e){return qr("国",e)}function za(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Wv(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,c="left",f="top";if(n instanceof Array)l+=za(n[0],r.width),u+=za(n[1],r.height),c=null,f=null;else switch(n){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+o,u+=s,f="middle";break;case"top":l+=o/2,u-=i,c="center",f="bottom";break;case"bottom":l+=o/2,u+=a+i,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=o-i,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=i,c="center";break;case"insideBottom":l+=o/2,u+=a-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=a-i,f="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var rm="__zr_normal__",nm=rf.concat(["ignore"]),vae=$a(rf,function(e,t){return e[t]=!0,e},{ignore:!1}),Fs={},pae=new Ge(0,0,0,0),Jb=function(){function e(t){this.id=o4(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,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 r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var c=pae;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Fs,n,c):Wv(Fs,n,c),a.x=Fs.x,a.y=Fs.y,o=Fs.align,s=Fs.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var h=void 0,d=void 0;f==="center"?(h=c.width*.5,d=c.height*.5):(h=za(f[0],c.width),d=za(f[1],c.height)),u=!0,a.originX=-a.x+h+(i?0:c.x),a.originY=-a.y+d+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var v=n.offset;v&&(a.x+=v[0],a.y+=v[1],u||(a.originX=-v[0],a.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,y=void 0,x=void 0;p&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(g),x=!0)):(g=n.outsideFill,y=n.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(g),x=!0)),g=g||"#000",(g!==m.fill||y!==m.stroke||x!==m.autoStroke||o!==m.align||s!==m.verticalAlign)&&(l=!0,m.fill=g,m.stroke=y,m.autoStroke=x,m.align=o,m.verticalAlign=s,r.setDefaultTextStyle(m)),r.__dirty|=Wr,l&&r.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()?Kx:Xx},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&$i(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,l0(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},ce(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(we(t))for(var n=t,i=xt(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==rm)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,nm)},e.prototype._savePrimaryToNormal=function(t,r,n){for(var i=0;i<n.length;i++){var a=n[i];t[a]!=null&&!(a in r)&&(r[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(rm,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===rm,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(Ve(s,t)>=0&&(r||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!a){jb("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,r,!n&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,h=this._textGuide;return f&&f.useState(t,r,n,c),h&&h.useState(t,r,n,c),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Wr),u}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l<o;l++)if(t[l]!==a[l]){s=!1;break}}if(s)return;for(var l=0;l<o;l++){var u=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&i.push(c)}var f=i[o-1],h=!!(f&&f.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),v=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!r&&!this.__inHover&&v&&v.duration>0,v);var p=this._textContent,m=this._textGuide;p&&p.useStates(t,r,h),m&&m.useStates(t,r,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Wr)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=Ve(this.currentStates,t);if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=Ve(i,t),o=Ve(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i<t.length;i++){var a=t[i];ce(r,a),a.textConfig&&(n=n||{},ce(n,a.textConfig))}return n&&(r.textConfig=n),r},e.prototype._applyStateObj=function(t,r,n,i,a,o){var s=!(r&&i);r&&r.textConfig?(this.textConfig=ce({},i?this.textConfig:n.textConfig),ce(this.textConfig,r.textConfig)):s&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},u=!1,c=0;c<nm.length;c++){var f=nm[c],h=a&&vae[f];r&&r[f]!=null?h?(u=!0,l[f]=r[f]):this[f]=r[f]:s&&n[f]!=null&&(h?(u=!0,l[f]=n[f]):this[f]=n[f])}if(!a)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],v=d.targetName;d.getLoop()||d.__changeFinalValue(v?(r||n)[v]:r||n)}u&&this._transitionState(t,l,o)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,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 r=this._textContent;r!==t&&(r&&r!==t&&this.removeTextContent(),t.innerTransformable=new Bf,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),ce(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|=Wr;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 r=this._textContent,n=this._textGuide;r&&(r.__inHover=t),n&&(n.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.addAnimator(r[n]);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 r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,n){var i=t?this[t]:this,a=new Zb(i,r,n);return t&&(a.targetName=t),this.addAnimator(a,t),a},e.prototype.addAnimator=function(t,r){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(r)}).done(function(){var a=i.animators,o=Ve(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o<i;o++){var s=n[o];!t||t===s.scope?s.stop(r):a.push(s)}return this.animators=a,this},e.prototype.animateTo=function(t,r,n){im(this,t,r,n)},e.prototype.animateFrom=function(t,r,n){im(this,t,r,n,!0)},e.prototype._transitionState=function(t,r,n,i){for(var a=im(this,r,n,i),o=0;o<a.length;o++)a[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=Wr;function r(n,i,a,o){Object.defineProperty(t,n,{get:function(){if(!this[i]){var l=this[i]=[];s(this,l)}return this[i]},set:function(l){this[a]=l[0],this[o]=l[1],this[i]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[a]},set:function(c){l[a]=c}}),Object.defineProperty(u,1,{get:function(){return l[o]},set:function(c){l[o]=c}})}}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),e}();$n(Jb,Hn);$n(Jb,Bf);function im(e,t,r,n,i){r=r||{};var a=[];D4(e,"",e,t,r,n,a,i);var o=a.length,s=!1,l=r.done,u=r.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},f=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&r.during&&a[0].during(function(v,p){r.during(p)});for(var h=0;h<a.length;h++){var d=a[h];c&&d.done(c),f&&d.aborted(f),r.force&&d.duration(r.duration),d.start(r.easing)}return a}function am(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function gae(e){return yr(e[0])}function mae(e,t,r){if(yr(t[r]))if(yr(e[r])||(e[r]=[]),Xr(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),am(e[r],t[r],n))}else{var i=t[r],a=e[r],o=i.length;if(gae(i))for(var s=i[0].length,l=0;l<o;l++)a[l]?am(a[l],i[l],s):a[l]=Array.prototype.slice.call(i[l]);else am(a,i,o);a.length=i.length}else e[r]=t[r]}function yae(e,t){return e===t||yr(e)&&yr(t)&&xae(e,t)}function xae(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function D4(e,t,r,n,i,a,o,s){for(var l=xt(n),u=i.duration,c=i.delay,f=i.additive,h=i.setToFinal,d=!we(a),v=e.animators,p=[],m=0;m<l.length;m++){var g=l[m],y=n[g];if(y!=null&&r[g]!=null&&(d||a[g]))if(we(y)&&!yr(y)&&!a0(y)){if(t){s||(r[g]=y,e.updateDuringAnimation(t));continue}D4(e,g,r[g],y,i,a&&a[g],o,s)}else p.push(g);else s||(r[g]=y,e.updateDuringAnimation(t),p.push(g))}var x=p.length;if(!f&&x)for(var _=0;_<v.length;_++){var b=v[_];if(b.targetName===t){var C=b.stopTracks(p);if(C){var S=Ve(v,b);v.splice(S,1)}}}if(i.force||(p=Dt(p,function(A){return!yae(n[A],r[A])}),x=p.length),x>0||i.force&&!o.length){var w=void 0,E=void 0,T=void 0;if(s){E={},h&&(w={});for(var _=0;_<x;_++){var g=p[_];E[g]=r[g],h?w[g]=n[g]:r[g]=n[g]}}else if(h){T={};for(var _=0;_<x;_++){var g=p[_];T[g]=gd(r[g]),mae(r,n,g)}}var b=new Zb(r,!1,!1,f?Dt(v,function(P){return P.targetName===t}):null);b.targetName=t,i.scope&&(b.scope=i.scope),h&&w&&b.whenWithKeys(0,w,p),T&&b.whenWithKeys(0,T,p),b.whenWithKeys(u??500,s?E:n,p).delay(c||0),e.addAnimator(b,t),o.push(b)}}const L4=Jb;var R4=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===r)return n[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},t.prototype.addBefore=function(r,n){if(r&&r!==this&&r.parent!==this&&n&&n.parent===this){var i=this._children,a=i.indexOf(n);a>=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=Ve(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=Ve(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i<r.length;i++){var a=r[i];n&&a.removeSelfFromZr(n),a.parent=null}return r.length=0,this},t.prototype.eachChild=function(r,n){for(var i=this._children,a=0;a<i.length;a++){var o=i[a];r.call(n,o,a)}return this},t.prototype.traverse=function(r,n){for(var i=0;i<this._children.length;i++){var a=this._children[i],o=r.call(n,a);a.isGroup&&!o&&a.traverse(r,n)}return this},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(r)}},t.prototype.getBoundingRect=function(r){for(var n=new Ge(0,0,0,0),i=r||this._children,a=[],o=null,s=0;s<i.length;s++){var l=i[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(a);c?(Ge.applyTransform(n,u,c),o=o||n.clone(),o.union(n)):(o=o||u.clone(),o.union(u))}}return o||n},t}(L4);R4.prototype.type="group";const pt=R4;/*!
* 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 _d={},O4={};function _ae(e){delete O4[e]}function bae(e){if(!e)return!1;if(typeof e=="string")return Hv(e,1)<Yx;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=Hv(t[i].color,1);return r/=n,r<Yx}return!1}var Cae=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new Bie,o=n.renderer||"canvas";_d[o]||(o=xt(_d)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new _d[o](r,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!ze.node&&!ze.worker&&!l?new cae(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,f=c==null||c==="auto"?ze.touchEventsSupported:!!c,h=44,d;f&&(d=Ue(n.pointerSize,h)),this.handler=new Lie(a,s,u,s.root,d),this.animation=new rae({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=bae(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){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=sl();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=sl();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):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.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof pt&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,_ae(this.id)},e}();function NA(e,t){var r=new Cae(o4(),e,t);return O4[r.id]=r,r}function Sae(e,t){_d[e]=t}var BA=1e-4,k4=20;function wae(e){return e.replace(/^\s+|\s+$/g,"")}function Ar(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function Pe(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 be(e)?wae(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Lt(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),k4),e=(+e).toFixed(t),r?e:+e}function Tae(e){return e.sort(function(t,r){return t-r}),e}function Ri(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return Aae(e)}function Aae(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function N4(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function Eae(e,t){var r=$a(e,function(d,v){return d+(isNaN(v)?0:v)},0);if(r===0)return[];for(var n=Math.pow(10,t),i=ve(e,function(d){return(isNaN(d)?0:d)/r*n*100}),a=n*100,o=ve(i,function(d){return Math.floor(d)}),s=$a(o,function(d,v){return d+v},0),l=ve(i,function(d,v){return d-o[v]});s<a;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,h=l.length;f<h;++f)l[f]>u&&(u=l[f],c=f);++o[c],l[c]=0,++s}return ve(o,function(d){return d/n})}function Pae(e,t){var r=Math.max(Ri(e),Ri(t)),n=e+t;return r>k4?n:Lt(n,r)}function B4(e){var t=Math.PI*2;return(e%t+t)%t}function Vv(e){return e>-BA&&e<BA}var Iae=/^(?:(\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 Ui(e){if(e instanceof Date)return e;if(be(e)){var t=Iae.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(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 Mae(e){return Math.pow(10,eC(e))}function eC(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 F4(e,t){var r=eC(e),n=Math.pow(10,r),i=e/n,a;return t?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,e=a*n,r>=-20?+e.toFixed(r<0?-r:0):e}function Wa(e){var t=parseFloat(e);return t==e&&(t!==0||!be(e)||e.indexOf("x")<=0)?t:NaN}function $4(e){return!isNaN(Wa(e))}function H4(){return Math.round(Math.random()*9)}function z4(e,t){return t===0?e:z4(t,e%t)}function FA(e,t){return e==null?t:t==null?e:e*t/z4(e,t)}function Ye(e){throw new Error(e)}function $A(e,t,r){return(t-e)*r+e}var W4="series\0",V4="\0_ec_\0";function Rt(e){return e instanceof Array?e:e==null?[]:[e]}function Zx(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n<i;n++){var a=r[n];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}var HA=["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 Ff(e){return we(e)&&!de(e)&&!(e instanceof Date)?e.value:e}function Dae(e){return we(e)&&!(e instanceof Array)}function Lae(e,t,r){var n=r==="normalMerge",i=r==="replaceMerge",a=r==="replaceAll";e=e||[],t=(t||[]).slice();var o=Re();O(t,function(l,u){if(!we(l)){t[u]=null;return}});var s=Rae(e,o,r);return(n||i)&&Oae(s,e,o,t),n&&kae(s,t),n||i?Nae(s,t,i):a&&Bae(s,t),Fae(s),s}function Rae(e,t,r){var n=[];if(r==="replaceAll")return n;for(var i=0;i<e.length;i++){var a=e[i];a&&a.id!=null&&t.set(a.id,i),n.push({existing:r==="replaceMerge"||nf(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return n}function Oae(e,t,r,n){O(n,function(i,a){if(!(!i||i.id==null)){var o=Mc(i.id),s=r.get(o);if(s!=null){var l=e[s];di(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=i,l.existing=t[s],n[a]=null}}})}function kae(e,t){O(t,function(r,n){if(!(!r||r.name==null))for(var i=0;i<e.length;i++){var a=e[i].existing;if(!e[i].newOption&&a&&(a.id==null||r.id==null)&&!nf(r)&&!nf(a)&&U4("name",a,r)){e[i].newOption=r,t[n]=null;return}}})}function Nae(e,t,r){O(t,function(n){if(n){for(var i,a=0;(i=e[a])&&(i.newOption||nf(i.existing)||i.existing&&n.id!=null&&!U4("id",n,i.existing));)a++;i?(i.newOption=n,i.brandNew=r):e.push({newOption:n,brandNew:r,existing:null,keyInfo:null}),a++}})}function Bae(e,t){O(t,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function Fae(e){var t=Re();O(e,function(r){var n=r.existing;n&&t.set(n.id,r)}),O(e,function(r){var n=r.newOption;di(!n||n.id==null||!t.get(n.id)||t.get(n.id)===r,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,r),!r.keyInfo&&(r.keyInfo={})}),O(e,function(r,n){var i=r.existing,a=r.newOption,o=r.keyInfo;if(we(a)){if(o.name=a.name!=null?Mc(a.name):i?i.name:W4+n,i)o.id=Mc(i.id);else if(a.id!=null)o.id=Mc(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,r)}})}function U4(e,t,r){var n=li(t[e],null),i=li(r[e],null);return n!=null&&i!=null&&n===i}function Mc(e){return li(e,"")}function li(e,t){return e==null?t:be(e)?e:tt(e)||Lx(e)?e+"":t}function tC(e){var t=e.name;return!!(t&&t.indexOf(W4))}function nf(e){return e&&e.id!=null&&Mc(e.id).indexOf(V4)===0}function $ae(e){return V4+e}function Hae(e,t,r){O(e,function(n){var i=n.newOption;we(i)&&(n.keyInfo.mainType=t,n.keyInfo.subType=zae(t,i,n.existing,r))})}function zae(e,t,r,n){var i=t.type?t.type:r?r.subType:n.determineSubType(e,t);return i}function os(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return de(t.dataIndex)?ve(t.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return de(t.name)?ve(t.name,function(r){return e.indexOfName(r)}):e.indexOfName(t.name)}function _t(){var e="__ec_inner_"+Wae++;return function(t){return t[e]||(t[e]={})}}var Wae=H4();function Dc(e,t,r){var n=rC(t,r),i=n.mainTypeSpecified,a=n.queryOptionMap,o=n.others,s=o,l=r?r.defaultMainType:null;return!i&&l&&a.set(l,{}),a.each(function(u,c){var f=$f(e,c,u,{useDefault:l===c,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function rC(e,t){var r;if(be(e)){var n={};n[e+"Index"]=0,r=n}else r=e;var i=Re(),a={},o=!1;return O(r,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){a[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||t&&t.includeMainTypes&&Ve(t.includeMainTypes,c)<0)){o=o||!!c;var h=i.get(c)||i.set(c,{});h[f]=s}}),{mainTypeSpecified:o,queryOptionMap:i,others:a}}var gr={useDefault:!0,enableAll:!1,enableNone:!1},Vae={useDefault:!1,enableAll:!0,enableNone:!0};function $f(e,t,r,n){n=n||gr;var i=r.index,a=r.id,o=r.name,s={models:null,specified:i!=null||a!=null||o!=null};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=e.getComponent(t))?[l]:[],s}return i==="none"||i===!1?(di(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(di(n.enableAll,'`"all"` is not a valid value on index option.'),i=a=o=null),s.models=e.queryComponents({mainType:t,index:i,id:a,name:o}),s)}function Uae(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function Gae(e){return e==="auto"?ze.domSupported?"html":"richText":e||"html"}function G4(e,t,r,n,i){var a=t==null||t==="auto";if(n==null)return n;if(tt(n)){var o=$A(r||0,n,i);return Lt(o,a?Math.max(Ri(r||0),Ri(n)):t)}else{if(be(n))return i<1?r:n;for(var s=[],l=r,u=n,c=Math.max(l?l.length:0,u.length),f=0;f<c;++f){var h=e.getDimensionInfo(f);if(h&&h.type==="ordinal")s[f]=(i<1&&l?l:u)[f];else{var d=l&&l[f]?l[f]:0,v=u[f],o=$A(d,v,i);s[f]=Lt(o,a?Math.max(Ri(d),Ri(v)):t)}}return s}}var jae=".",ao="___EC__COMPONENT__CONTAINER___",j4="___EC__EXTENDED_CLASS___";function oi(e){var t={main:"",sub:""};if(e){var r=e.split(jae);t.main=r[0]||"",t.sub=r[1]||""}return t}function qae(e){di(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function Yae(e){return!!(e&&e[j4])}function nC(e,t){e.$constructor=e,e.extend=function(r){var n=this,i;return Xae(n)?i=function(a){se(o,a);function o(){return a.apply(this,arguments)||this}return o}(n):(i=function(){(r.$constructor||n).apply(this,arguments)},jne(i,this)),ce(i.prototype,r),i[j4]=!0,i.extend=this.extend,i.superCall=Qae,i.superApply=Jae,i.superClass=n,i}}function Xae(e){return Ie(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function q4(e,t){e.extend=t.extend}var Kae=Math.round(Math.random()*10);function Zae(e){var t=["__\0is_clz",Kae++].join("_");e.prototype[t]=!0,e.isInstance=function(r){return!!(r&&r[t])}}function Qae(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[t].apply(e,r)}function Jae(e,t,r){return this.superClass.prototype[t].apply(e,r)}function c0(e){var t={};e.registerClass=function(n){var i=n.type||n.prototype.type;if(i){qae(i),n.prototype.type=i;var a=oi(i);if(!a.sub)t[a.main]=n;else if(a.sub!==ao){var o=r(a);o[a.sub]=n}}return n},e.getClass=function(n,i,a){var o=t[n];if(o&&o[ao]&&(o=i?o[i]:null),a&&!o)throw new Error(i?"Component "+n+"."+(i||"")+" is used but not imported.":n+".type should be specified.");return o},e.getClassesByMainType=function(n){var i=oi(n),a=[],o=t[i.main];return o&&o[ao]?O(o,function(s,l){l!==ao&&a.push(s)}):a.push(o),a},e.hasClass=function(n){var i=oi(n);return!!t[i.main]},e.getAllClassMainTypes=function(){var n=[];return O(t,function(i,a){n.push(a)}),n},e.hasSubTypes=function(n){var i=oi(n),a=t[i.main];return a&&a[ao]};function r(n){var i=t[n.main];return(!i||!i[ao])&&(i=t[n.main]={},i[ao]=!0),i}}function af(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(n,i,a){for(var o={},s=0;s<e.length;s++){var l=e[s][1];if(!(i&&Ve(i,l)>=0||a&&Ve(a,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var eoe=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],toe=af(eoe),roe=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return toe(this,t,r)},e}(),Qx=new Nf(50);function noe(e){if(typeof e=="string"){var t=Qx.get(e);return t&&t.image}else return e}function Y4(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Qx.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!f0(t)&&a.pending.push(o)):(t=Ss.loadImage(e,zA,zA),t.__zrImageSrc=e,Qx.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function zA(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function f0(e){return e&&e.width&&e.height}var om=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function ioe(e,t,r,n,i){if(!t)return"";var a=(e+"").split(`
`);i=X4(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=K4(a[o],i);return a.join(`
`)}function X4(e,t,r,n){n=n||{};var i=ce({},n);i.font=t,r=Ue(r,"..."),i.maxIterations=Ue(n.maxIterations,2);var a=i.minChar=Ue(n.minChar,0);i.cnCharWidth=qr("国",t);var o=i.ascCharWidth=qr("a",t);i.placeholder=Ue(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=qr(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function K4(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=qr(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?aoe(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=qr(e,n)}return e===""&&(e=t.placeholder),e}function aoe(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function ooe(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=Qb(i),s=Ue(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(r==="break"||r==="breakAll")?f=e?Z4(e,t.font,c,r==="breakAll",0).lines:[]:f=e?e.split(`
`):[];var h=f.length*s,d=Ue(t.height,h);if(h>d&&u){var v=Math.floor(d/s);f=f.slice(0,v)}if(e&&a&&c!=null)for(var p=X4(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m=0;m<f.length;m++)f[m]=K4(f[m],p);for(var g=d,y=0,m=0;m<f.length;m++)y=Math.max(qr(f[m],i),y);c==null&&(c=y);var x=y;return n&&(g+=n[0]+n[2],x+=n[1]+n[3],c+=n[1]+n[3]),l&&(x=c),{lines:f,height:d,outerWidth:x,outerHeight:g,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:h,width:c}}var soe=function(){function e(){}return e}(),WA=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),loe=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 uoe(e,t){var r=new loe;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=om.lastIndex=0,l;(l=om.exec(e))!=null;){var u=l.index;u>s&&sm(r,e.substring(s,u),t,o),sm(r,l[2],t,o,l[1]),s=om.lastIndex}s<e.length&&sm(r,e.substring(s,e.length),t,o);var c=[],f=0,h=0,d=t.padding,v=a==="truncate",p=t.lineOverflow==="truncate";function m($,Y,J){$.width=Y,$.lineHeight=J,f+=J,h=Math.max(h,Y)}e:for(var g=0;g<r.lines.length;g++){for(var y=r.lines[g],x=0,_=0,b=0;b<y.tokens.length;b++){var C=y.tokens[b],S=C.styleName&&t.rich[C.styleName]||{},w=C.textPadding=S.padding,E=w?w[1]+w[3]:0,T=C.font=S.font||t.font;C.contentHeight=Qb(T);var A=Ue(S.height,C.contentHeight);if(C.innerHeight=A,w&&(A+=w[0]+w[2]),C.height=A,C.lineHeight=Ec(S.lineHeight,t.lineHeight,A),C.align=S&&S.align||t.align,C.verticalAlign=S&&S.verticalAlign||"middle",p&&i!=null&&f+C.lineHeight>i){b>0?(y.tokens=y.tokens.slice(0,b),m(y,_,x),r.lines=r.lines.slice(0,g+1)):r.lines=r.lines.slice(0,g);break e}var P=S.width,D=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")C.percentWidth=P,c.push(C),C.contentWidth=qr(C.text,T);else{if(D){var L=S.backgroundColor,N=L&&L.image;N&&(N=noe(N),f0(N)&&(C.width=Math.max(C.width,N.width*A/N.height)))}var B=v&&n!=null?n-_:null;B!=null&&B<C.width?!D||B<E?(C.text="",C.width=C.contentWidth=0):(C.text=ioe(C.text,B-E,T,t.ellipsis,{minChar:t.truncateMinChar}),C.width=C.contentWidth=qr(C.text,T)):C.contentWidth=qr(C.text,T)}C.width+=E,_+=C.width,S&&(x=Math.max(x,C.lineHeight))}m(y,_,x)}r.outerWidth=r.width=Ue(n,h),r.outerHeight=r.height=Ue(i,f),r.contentHeight=f,r.contentWidth=h,d&&(r.outerWidth+=d[1]+d[3],r.outerHeight+=d[0]+d[2]);for(var g=0;g<c.length;g++){var C=c[g],G=C.percentWidth;C.width=parseInt(G,10)/100*r.width}return r}function sm(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,l=o.font||r.font,u=!1,c,f;if(n){var h=o.padding,d=h?h[1]+h[3]:0;if(o.width!=null&&o.width!=="auto"){var v=za(o.width,n.width)+d;s.length>0&&v+n.accumWidth>n.width&&(c=t.split(`
`),u=!0),n.accumWidth=v}else{var p=Z4(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+d,f=p.linesWidths,c=p.lines}}else c=t.split(`
`);for(var m=0;m<c.length;m++){var g=c[m],y=new soe;if(y.styleName=i,y.text=g,y.isLineHolder=!g&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[m]:qr(g,l),!m&&!u){var x=(s[s.length-1]||(s[0]=new WA)).tokens,_=x.length;_===1&&x[0].isLineHolder?x[0]=y:(g||!_||a)&&x.push(y)}else s.push(new WA([y]))}}function coe(e){var t=e.charCodeAt(0);return t>=33&&t<=383}var foe=$a(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function hoe(e){return coe(e)?!!foe[e]:!0}function Z4(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var h=e.charAt(f);if(h===`
`){l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0;continue}var d=qr(h,t),v=n?!1:!hoe(h);if(a.length?c+d>r:i+c+d>r){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=h,u+=d,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=h,c=d)):v?(a.push(l),o.push(u),l=h,u=d):(a.push(h),o.push(d));continue}c+=d,v?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),a.length===1&&(c+=i),{accumWidth:c,lines:a,linesWidths:o}}var Jx="__zr_style_"+Math.round(Math.random()*10),qo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h0={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};qo[Jx]=!0;var VA=["z","z2","invisible"],doe=["invisible"],voe=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=xt(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&poe(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new Ge(0,0,0,0)),n?Ge.applyTransform(r,i,n):r.copy(i),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new Ge(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:ce(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=rc,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&rc)},t.prototype.styleUpdated=function(){this.__dirty&=~rc},t.prototype.createStyle=function(r){return o0(qo,r)},t.prototype.useStyle=function(r){r[Jx]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[Jx]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,VA)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.style?o?a?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=xt(c),h=0;h<f.length;h++){var d=f[h];d in u&&(u[d]=u[d],this.style[d]=c[d])}for(var v=xt(u),h=0;h<v.length;h++){var d=v[h];this.style[d]=this.style[d]}this._transitionState(r,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var p=this.__inHover?doe:VA,h=0;h<p.length;h++){var d=p[h];n&&n[d]!=null?this[d]=n[d]:l&&i[d]!=null&&(this[d]=i[d])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(r,n){return ce(r,n),r},t.prototype.getAnimationStyleProps=function(){return h0},t.initDefaultProps=function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,r.__dirty=Wr|rc}(),t}(L4),lm=new Ge(0,0,0,0),um=new Ge(0,0,0,0);function poe(e,t,r){return lm.copy(e.getBoundingRect()),e.transform&&lm.applyTransform(e.transform),um.width=t,um.height=r,!lm.intersect(um)}const pu=voe;var Er=Math.min,Pr=Math.max,cm=Math.sin,fm=Math.cos,oo=Math.PI*2,Sh=vu(),wh=vu(),Th=vu();function Q4(e,t,r){if(e.length!==0){for(var n=e[0],i=n[0],a=n[0],o=n[1],s=n[1],l=1;l<e.length;l++)n=e[l],i=Er(i,n[0]),a=Pr(a,n[0]),o=Er(o,n[1]),s=Pr(s,n[1]);t[0]=i,t[1]=o,r[0]=a,r[1]=s}}function UA(e,t,r,n,i,a){i[0]=Er(e,r),i[1]=Er(t,n),a[0]=Pr(e,r),a[1]=Pr(t,n)}var GA=[],jA=[];function goe(e,t,r,n,i,a,o,s,l,u){var c=b4,f=Ft,h=c(e,r,i,o,GA);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var d=0;d<h;d++){var v=f(e,r,i,o,GA[d]);l[0]=Er(v,l[0]),u[0]=Pr(v,u[0])}h=c(t,n,a,s,jA);for(var d=0;d<h;d++){var p=f(t,n,a,s,jA[d]);l[1]=Er(p,l[1]),u[1]=Pr(p,u[1])}l[0]=Er(e,l[0]),u[0]=Pr(e,u[0]),l[0]=Er(o,l[0]),u[0]=Pr(o,u[0]),l[1]=Er(t,l[1]),u[1]=Pr(t,u[1]),l[1]=Er(s,l[1]),u[1]=Pr(s,u[1])}function moe(e,t,r,n,i,a,o,s){var l=S4,u=ar,c=Pr(Er(l(e,r,i),1),0),f=Pr(Er(l(t,n,a),1),0),h=u(e,r,i,c),d=u(t,n,a,f);o[0]=Er(e,i,h),o[1]=Er(t,a,d),s[0]=Pr(e,i,h),s[1]=Pr(t,a,d)}function yoe(e,t,r,n,i,a,o,s,l){var u=al,c=ol,f=Math.abs(i-a);if(f%oo<1e-4&&f>1e-4){s[0]=e-r,s[1]=t-n,l[0]=e+r,l[1]=t+n;return}if(Sh[0]=fm(i)*r+e,Sh[1]=cm(i)*n+t,wh[0]=fm(a)*r+e,wh[1]=cm(a)*n+t,u(s,Sh,wh),c(l,Sh,wh),i=i%oo,i<0&&(i=i+oo),a=a%oo,a<0&&(a=a+oo),i>a&&!o?a+=oo:i<a&&o&&(i+=oo),o){var h=a;a=i,i=h}for(var d=0;d<a;d+=Math.PI/2)d>i&&(Th[0]=fm(d)*r+e,Th[1]=cm(d)*n+t,u(s,Th,s),c(l,Th,l))}var nt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},so=[],lo=[],Gn=[],ia=[],jn=[],qn=[],hm=Math.min,dm=Math.max,uo=Math.cos,co=Math.sin,Ti=Math.abs,e_=Math.PI,da=e_*2,vm=typeof Float32Array<"u",Ru=[];function pm(e){var t=Math.round(e/e_*1e8)/1e8;return t%2*e_}function J4(e,t){var r=pm(e[0]);r<0&&(r+=da);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=da?i=r+da:t&&r-i>=da?i=r-da:!t&&r>i?i=r+(da-pm(r-i)):t&&r<i&&(i=r-(da-pm(i-r))),e[0]=r,e[1]=i}var Gi=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,r,n){n=n||0,n>0&&(this._ux=Ti(n/zv/t)||0,this._uy=Ti(n/zv/r)||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,r){return this._drawPendingPt(),this.addData(nt.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=Ti(t-this._xi),i=Ti(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(nt.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData(nt.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(nt.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),Ru[0]=i,Ru[1]=a,J4(Ru,o),i=Ru[0],a=Ru[1];var s=a-i;return this.addData(nt.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=uo(a)*n+t,this._yi=co(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(nt.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(nt.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,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 r=t.length;!(this.data&&this.data.length===r)&&vm&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=t[n];this._len=r},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var r=t.length,n=0,i=this._len,a=0;a<r;a++)n+=t[a].len();vm&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var a=0;a<r;a++)for(var o=t[a].data,s=0;s<o.length;s++)this.data[i++]=o[s];this._len=i},e.prototype.addData=function(t,r,n,i,a,o,s,l,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=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,vm&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){Gn[0]=Gn[1]=jn[0]=jn[1]=Number.MAX_VALUE,ia[0]=ia[1]=qn[0]=qn[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;o<this._len;){var s=t[o++],l=o===1;switch(l&&(r=t[o],n=t[o+1],i=r,a=n),s){case nt.M:r=i=t[o++],n=a=t[o++],jn[0]=i,jn[1]=a,qn[0]=i,qn[1]=a;break;case nt.L:UA(r,n,t[o],t[o+1],jn,qn),r=t[o++],n=t[o++];break;case nt.C:goe(r,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],jn,qn),r=t[o++],n=t[o++];break;case nt.Q:moe(r,n,t[o++],t[o++],t[o],t[o+1],jn,qn),r=t[o++],n=t[o++];break;case nt.A:var u=t[o++],c=t[o++],f=t[o++],h=t[o++],d=t[o++],v=t[o++]+d;o+=1;var p=!t[o++];l&&(i=uo(d)*f+u,a=co(d)*h+c),yoe(u,c,f,h,d,v,p,jn,qn),r=uo(v)*f+u,n=co(v)*h+c;break;case nt.R:i=r=t[o++],a=n=t[o++];var m=t[o++],g=t[o++];UA(i,a,i+m,a+g,jn,qn);break;case nt.Z:r=i,n=a;break}al(Gn,Gn,jn),ol(ia,ia,qn)}return o===0&&(Gn[0]=Gn[1]=ia[0]=ia[1]=0),new Ge(Gn[0],Gn[1],ia[0]-Gn[0],ia[1]-Gn[1])},e.prototype._calculateLength=function(){var t=this.data,r=this._len,n=this._ux,i=this._uy,a=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,f=0,h=0;h<r;){var d=t[h++],v=h===1;v&&(a=t[h],o=t[h+1],s=a,l=o);var p=-1;switch(d){case nt.M:a=s=t[h++],o=l=t[h++];break;case nt.L:{var m=t[h++],g=t[h++],y=m-a,x=g-o;(Ti(y)>n||Ti(x)>i||h===r-1)&&(p=Math.sqrt(y*y+x*x),a=m,o=g);break}case nt.C:{var _=t[h++],b=t[h++],m=t[h++],g=t[h++],C=t[h++],S=t[h++];p=Fie(a,o,_,b,m,g,C,S,10),a=C,o=S;break}case nt.Q:{var _=t[h++],b=t[h++],m=t[h++],g=t[h++];p=Hie(a,o,_,b,m,g,10),a=m,o=g;break}case nt.A:var w=t[h++],E=t[h++],T=t[h++],A=t[h++],P=t[h++],D=t[h++],L=D+P;h+=1,t[h++],v&&(s=uo(P)*T+w,l=co(P)*A+E),p=dm(T,A)*hm(da,Math.abs(D)),a=uo(L)*T+w,o=co(L)*A+E;break;case nt.R:{s=a=t[h++],l=o=t[h++];var N=t[h++],B=t[h++];p=N*2+B*2;break}case nt.Z:{var y=s-a,x=l-o;p=Math.sqrt(y*y+x*x),a=s,o=l;break}}p>=0&&(u[f++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,c,f,h,d=r<1,v,p,m=0,g=0,y,x=0,_,b;if(d&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,p=this._pathLen,y=r*p,!y))return;e:for(var C=0;C<o;){var S=n[C++],w=C===1;switch(w&&(u=n[C],c=n[C+1],s=u,l=c),S!==nt.L&&x>0&&(t.lineTo(_,b),x=0),S){case nt.M:s=u=n[C++],l=c=n[C++],t.moveTo(u,c);break;case nt.L:{f=n[C++],h=n[C++];var E=Ti(f-u),T=Ti(h-c);if(E>i||T>a){if(d){var A=v[g++];if(m+A>y){var P=(y-m)/A;t.lineTo(u*(1-P)+f*P,c*(1-P)+h*P);break e}m+=A}t.lineTo(f,h),u=f,c=h,x=0}else{var D=E*E+T*T;D>x&&(_=f,b=h,x=D)}break}case nt.C:{var L=n[C++],N=n[C++],B=n[C++],G=n[C++],$=n[C++],Y=n[C++];if(d){var A=v[g++];if(m+A>y){var P=(y-m)/A;Ha(u,L,B,$,P,so),Ha(c,N,G,Y,P,lo),t.bezierCurveTo(so[1],lo[1],so[2],lo[2],so[3],lo[3]);break e}m+=A}t.bezierCurveTo(L,N,B,G,$,Y),u=$,c=Y;break}case nt.Q:{var L=n[C++],N=n[C++],B=n[C++],G=n[C++];if(d){var A=v[g++];if(m+A>y){var P=(y-m)/A;$v(u,L,B,P,so),$v(c,N,G,P,lo),t.quadraticCurveTo(so[1],lo[1],so[2],lo[2]);break e}m+=A}t.quadraticCurveTo(L,N,B,G),u=B,c=G;break}case nt.A:var J=n[C++],H=n[C++],W=n[C++],X=n[C++],q=n[C++],U=n[C++],Q=n[C++],re=!n[C++],ee=W>X?W:X,me=Ti(W-X)>.001,xe=q+U,oe=!1;if(d){var A=v[g++];m+A>y&&(xe=q+U*(y-m)/A,oe=!0),m+=A}if(me&&t.ellipse?t.ellipse(J,H,W,X,Q,q,xe,re):t.arc(J,H,ee,q,xe,re),oe)break e;w&&(s=uo(q)*W+J,l=co(q)*X+H),u=uo(xe)*W+J,c=co(xe)*X+H;break;case nt.R:s=u=n[C],l=c=n[C+1],f=n[C++],h=n[C++];var R=n[C++],I=n[C++];if(d){var A=v[g++];if(m+A>y){var M=y-m;t.moveTo(f,h),t.lineTo(f+hm(M,R),h),M-=R,M>0&&t.lineTo(f+R,h+hm(M,I)),M-=I,M>0&&t.lineTo(f+dm(R-M,0),h+I),M-=R,M>0&&t.lineTo(f,h+dm(I-M,0));break e}m+=A}t.rect(f,h,R,I);break;case nt.Z:if(d){var A=v[g++];if(m+A>y){var P=(y-m)/A;t.lineTo(u*(1-P)+s*P,c*(1-P)+l*P);break e}m+=A}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=nt,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function $s(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,l=0,u=e;if(o>t+s&&o>n+s||o<t-s&&o<n-s||a>e+s&&a>r+s||a<e-s&&a<r-s)return!1;if(e!==r)l=(t-n)/(e-r),u=(e*n-r*t)/(e-r);else return Math.abs(a-e)<=s/2;var c=l*a-o+u,f=c*c/(l*l+1);return f<=s/2*s/2}function xoe(e,t,r,n,i,a,o,s,l,u,c){if(l===0)return!1;var f=l;if(c>t+f&&c>n+f&&c>a+f&&c>s+f||c<t-f&&c<n-f&&c<a-f&&c<s-f||u>e+f&&u>r+f&&u>i+f&&u>o+f||u<e-f&&u<r-f&&u<i-f&&u<o-f)return!1;var h=C4(e,t,r,n,i,a,o,s,u,c,null);return h<=f/2}function _oe(e,t,r,n,i,a,o,s,l){if(o===0)return!1;var u=o;if(l>t+u&&l>n+u&&l>a+u||l<t-u&&l<n-u&&l<a-u||s>e+u&&s>r+u&&s>i+u||s<e-u&&s<r-u&&s<i-u)return!1;var c=w4(e,t,r,n,i,a,s,l,null);return c<=u/2}var qA=Math.PI*2;function Ta(e){return e%=qA,e<0&&(e+=qA),e}var Ou=Math.PI*2;function boe(e,t,r,n,i,a,o,s,l){if(o===0)return!1;var u=o;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>r||c+u<r)return!1;if(Math.abs(n-i)%Ou<1e-4)return!0;if(a){var f=n;n=Ta(i),i=Ta(f)}else n=Ta(n),i=Ta(i);n>i&&(i+=Ou);var h=Math.atan2(l,s);return h<0&&(h+=Ou),h>=n&&h<=i||h+Ou>=n&&h+Ou<=i}function fo(e,t,r,n,i,a){if(a>t&&a>n||a<t&&a<n||n===t)return 0;var o=(a-t)/(n-t),s=n<t?1:-1;(o===1||o===0)&&(s=n<t?.5:-.5);var l=o*(r-e)+e;return l===i?1/0:l>i?s:0}var aa=Gi.CMD,ho=Math.PI*2,Coe=1e-4;function Soe(e,t){return Math.abs(e-t)<Coe}var vr=[-1,-1,-1],on=[-1,-1];function woe(){var e=on[0];on[0]=on[1],on[1]=e}function Toe(e,t,r,n,i,a,o,s,l,u){if(u>t&&u>n&&u>a&&u>s||u<t&&u<n&&u<a&&u<s)return 0;var c=Fv(t,n,a,s,u,vr);if(c===0)return 0;for(var f=0,h=-1,d=void 0,v=void 0,p=0;p<c;p++){var m=vr[p],g=m===0||m===1?.5:1,y=Ft(e,r,i,o,m);y<l||(h<0&&(h=b4(t,n,a,s,on),on[1]<on[0]&&h>1&&woe(),d=Ft(t,n,a,s,on[0]),h>1&&(v=Ft(t,n,a,s,on[1]))),h===2?m<on[0]?f+=d<t?g:-g:m<on[1]?f+=v<d?g:-g:f+=s<v?g:-g:m<on[0]?f+=d<t?g:-g:f+=s<d?g:-g)}return f}function Aoe(e,t,r,n,i,a,o,s){if(s>t&&s>n&&s>a||s<t&&s<n&&s<a)return 0;var l=$ie(t,n,a,s,vr);if(l===0)return 0;var u=S4(t,n,a);if(u>=0&&u<=1){for(var c=0,f=ar(t,n,a,u),h=0;h<l;h++){var d=vr[h]===0||vr[h]===1?.5:1,v=ar(e,r,i,vr[h]);v<o||(vr[h]<u?c+=f<t?d:-d:c+=a<f?d:-d)}return c}else{var d=vr[0]===0||vr[0]===1?.5:1,v=ar(e,r,i,vr[0]);return v<o?0:a<t?d:-d}}function Eoe(e,t,r,n,i,a,o,s){if(s-=t,s>r||s<-r)return 0;var l=Math.sqrt(r*r-s*s);vr[0]=-l,vr[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=ho-1e-4){n=0,i=ho;var c=a?1:-1;return o>=vr[0]+e&&o<=vr[1]+e?c:0}if(n>i){var f=n;n=i,i=f}n<0&&(n+=ho,i+=ho);for(var h=0,d=0;d<2;d++){var v=vr[d];if(v+e>o){var p=Math.atan2(s,v),c=a?1:-1;p<0&&(p=ho+p),(p>=n&&p<=i||p+ho>=n&&p+ho<=i)&&(p>Math.PI/2&&p<Math.PI*1.5&&(c=-c),h+=c)}}return h}function eN(e,t,r,n,i){for(var a=e.data,o=e.len(),s=0,l=0,u=0,c=0,f=0,h,d,v=0;v<o;){var p=a[v++],m=v===1;switch(p===aa.M&&v>1&&(r||(s+=fo(l,u,c,f,n,i))),m&&(l=a[v],u=a[v+1],c=l,f=u),p){case aa.M:c=a[v++],f=a[v++],l=c,u=f;break;case aa.L:if(r){if($s(l,u,a[v],a[v+1],t,n,i))return!0}else s+=fo(l,u,a[v],a[v+1],n,i)||0;l=a[v++],u=a[v++];break;case aa.C:if(r){if(xoe(l,u,a[v++],a[v++],a[v++],a[v++],a[v],a[v+1],t,n,i))return!0}else s+=Toe(l,u,a[v++],a[v++],a[v++],a[v++],a[v],a[v+1],n,i)||0;l=a[v++],u=a[v++];break;case aa.Q:if(r){if(_oe(l,u,a[v++],a[v++],a[v],a[v+1],t,n,i))return!0}else s+=Aoe(l,u,a[v++],a[v++],a[v],a[v+1],n,i)||0;l=a[v++],u=a[v++];break;case aa.A:var g=a[v++],y=a[v++],x=a[v++],_=a[v++],b=a[v++],C=a[v++];v+=1;var S=!!(1-a[v++]);h=Math.cos(b)*x+g,d=Math.sin(b)*_+y,m?(c=h,f=d):s+=fo(l,u,h,d,n,i);var w=(n-g)*_/x+g;if(r){if(boe(g,y,_,b,b+C,S,t,w,i))return!0}else s+=Eoe(g,y,_,b,b+C,S,w,i);l=Math.cos(b+C)*x+g,u=Math.sin(b+C)*_+y;break;case aa.R:c=l=a[v++],f=u=a[v++];var E=a[v++],T=a[v++];if(h=c+E,d=f+T,r){if($s(c,f,h,f,t,n,i)||$s(h,f,h,d,t,n,i)||$s(h,d,c,d,t,n,i)||$s(c,d,c,f,t,n,i))return!0}else s+=fo(h,f,h,d,n,i),s+=fo(c,d,c,f,n,i);break;case aa.Z:if(r){if($s(l,u,c,f,t,n,i))return!0}else s+=fo(l,u,c,f,n,i);l=c,u=f;break}}return!r&&!Soe(u,f)&&(s+=fo(l,u,c,f,n,i)||0),s!==0}function Poe(e,t,r){return eN(e,0,!1,t,r)}function Ioe(e,t,r,n){return eN(e,t,!0,r,n)}var tN=De({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},qo),Moe={style:De({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},h0.style)},gm=rf.concat(["invisible","culling","z","z2","zlevel","parent"]),Doe=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){r.buildPath(l,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s<gm.length;++s)i[gm[s]]=this[gm[s]];i.__dirty|=Wr}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(r){var n=xt(r);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<n.length;a++){var o=n[a],s=r[o];o==="style"?this.style?ce(this.style,s):this.useStyle(s):o==="shape"?ce(this.shape,s):e.prototype.attrKV.call(this,o,s)}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 r=this.style.fill;if(r!=="none"){if(be(r)){var n=Hv(r,0);return n>.5?Xx:n>.2?fae:Kx}else if(r)return Kx}return Xx},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(be(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Hv(r,0)<Yx;if(a===o)return n}},t.prototype.buildPath=function(r,n,i){},t.prototype.pathUpdated=function(){this.__dirty&=~rl},t.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},t.prototype.createPathProxy=function(){this.path=new Gi(!1)},t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&rl)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),Ioe(s,l/u,r,n)))return!0}if(this.hasFill())return Poe(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=rl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:ce(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&rl)},t.prototype.createStyle=function(r){return o0(tN,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=ce({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.shape?o?a?u=n.shape:(u=ce({},i.shape),ce(u,n.shape)):(u=ce({},a?this.shape:i.shape),ce(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=ce({},this.shape);for(var c={},f=xt(u),h=0;h<f.length;h++){var d=f[h];typeof u[d]=="object"?this.shape[d]=u[d]:c[d]=u[d]}this._transitionState(r,{shape:c},s)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},t.prototype.getAnimationStyleProps=function(){return Moe},t.prototype.isZeroArea=function(){return!1},t.extend=function(r){var n=function(a){se(o,a);function o(s){var l=a.call(this,s)||this;return r.init&&r.init.call(l,s),l}return o.prototype.getDefaultStyle=function(){return Ne(r.style)},o.prototype.getDefaultShape=function(){return Ne(r.shape)},o}(t);for(var i in r)typeof r[i]=="function"&&(n.prototype[i]=r[i]);return n},t.initDefaultProps=function(){var r=t.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=Wr|rc|rl}(),t}(pu);const We=Doe;var Loe=De({strokeFirst:!0,font:as,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},tN),rN=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return o0(Loe,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=u0(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(pu);rN.prototype.type="tspan";const t_=rN;var Roe=De({x:0,y:0},qo),Ooe={style:De({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},h0.style)};function koe(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var nN=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return o0(Roe,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=koe(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Ooe},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Ge(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(pu);nN.prototype.type="image";const xi=nN;function Noe(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,o=t.r,s,l,u,c;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=l=u=c=o:o instanceof Array?o.length===1?s=l=u=c=o[0]:o.length===2?(s=u=o[0],l=c=o[1]):o.length===3?(s=o[0],l=c=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],c=o[3]):s=l=u=c=0;var f;s+l>i&&(f=s+l,s*=i/f,l*=i/f),u+c>i&&(f=u+c,u*=i/f,c*=i/f),l+u>a&&(f=l+u,l*=a/f,u*=a/f),s+c>a&&(f=s+c,s*=a/f,c*=a/f),e.moveTo(r+s,n),e.lineTo(r+i-l,n),l!==0&&e.arc(r+i-l,n+l,l,-Math.PI/2,0),e.lineTo(r+i,n+a-u),u!==0&&e.arc(r+i-u,n+a-u,u,0,Math.PI/2),e.lineTo(r+c,n+a),c!==0&&e.arc(r+c,n+a-c,c,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var ll=Math.round;function iN(e,t,r){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(ll(n*2)===ll(i*2)&&(e.x1=e.x2=Fo(n,s,!0)),ll(a*2)===ll(o*2)&&(e.y1=e.y2=Fo(a,s,!0))),e}}function aN(e,t,r){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=Fo(n,s,!0),e.y=Fo(i,s,!0),e.width=Math.max(Fo(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(Fo(i+o,s,!1)-e.y,o===0?0:1)),e}}function Fo(e,t,r){if(!t)return e;var n=ll(e*2);return(n+ll(t))%2===0?n/2:(n+(r?1:-1))/2}var Boe=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Foe={},oN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Boe},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=aN(Foe,n,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?Noe(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(We);oN.prototype.type="rect";const bt=oN;var YA={fill:"#000"},XA=2,$oe={style:De({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},h0.style)},sN=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=YA,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):e.prototype.getLocalTransform.call(this,r)},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,Uoe(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new Ge(0,0,0,0),n=this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o],l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(r.copy(l),r.applyTransform(u),a=a||r.clone(),a.union(r)):(a=a||l.clone(),a.union(l))}this._rect=a||r}return this._rect},t.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||YA},t.prototype.setTextContent=function(r){},t.prototype._mergeStyle=function(r,n){if(!n)return r;var i=n.rich,a=r.rich||i&&{};return ce(r,n),i&&a?(this._mergeRich(a,i),r.rich=a):a&&(r.rich=a),r},t.prototype._mergeRich=function(r,n){for(var i=xt(n),a=0;a<i.length;a++){var o=i[a];r[o]=r[o]||{},ce(r[o],n[o])}},t.prototype.getAnimationStyleProps=function(){return $oe},t.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||as,i=r.padding,a=rE(r),o=ooe(a,r),s=mm(r),l=!!r.backgroundColor,u=o.outerHeight,c=o.outerWidth,f=o.contentWidth,h=o.lines,d=o.lineHeight,v=this._defaultStyle,p=r.x||0,m=r.y||0,g=r.align||v.align||"left",y=r.verticalAlign||v.verticalAlign||"top",x=p,_=nl(m,o.contentHeight,y);if(s||i){var b=ic(p,c,g),C=nl(m,u,y);s&&this._renderBackground(r,r,b,C,c,u)}_+=d/2,i&&(x=tE(p,g,i),y==="top"?_+=i[0]:y==="bottom"&&(_-=i[2]));for(var S=0,w=!1,E=eE("fill"in r?r.fill:(w=!0,v.fill)),T=JA("stroke"in r?r.stroke:!l&&(!v.autoStroke||w)?(S=XA,v.stroke):null),A=r.textShadowBlur>0,P=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),D=o.calculatedLineHeight,L=0;L<h.length;L++){var N=this._getOrCreateChild(t_),B=N.createStyle();N.useStyle(B),B.text=h[L],B.x=x,B.y=_,g&&(B.textAlign=g),B.textBaseline="middle",B.opacity=r.opacity,B.strokeFirst=!0,A&&(B.shadowBlur=r.textShadowBlur||0,B.shadowColor=r.textShadowColor||"transparent",B.shadowOffsetX=r.textShadowOffsetX||0,B.shadowOffsetY=r.textShadowOffsetY||0),B.stroke=T,B.fill=E,T&&(B.lineWidth=r.lineWidth||S,B.lineDash=r.lineDash,B.lineDashOffset=r.lineDashOffset||0),B.font=n,ZA(B,r),_+=d,P&&N.setBoundingRect(new Ge(ic(B.x,r.width,B.textAlign),nl(B.y,D,B.textBaseline),f,D))}},t.prototype._updateRichTexts=function(){var r=this.style,n=rE(r),i=uoe(n,r),a=i.width,o=i.outerWidth,s=i.outerHeight,l=r.padding,u=r.x||0,c=r.y||0,f=this._defaultStyle,h=r.align||f.align,d=r.verticalAlign||f.verticalAlign,v=ic(u,o,h),p=nl(c,s,d),m=v,g=p;l&&(m+=l[3],g+=l[0]);var y=m+a;mm(r)&&this._renderBackground(r,r,v,p,o,s);for(var x=!!r.backgroundColor,_=0;_<i.lines.length;_++){for(var b=i.lines[_],C=b.tokens,S=C.length,w=b.lineHeight,E=b.width,T=0,A=m,P=y,D=S-1,L=void 0;T<S&&(L=C[T],!L.align||L.align==="left");)this._placeToken(L,r,w,g,A,"left",x),E-=L.width,A+=L.width,T++;for(;D>=0&&(L=C[D],L.align==="right");)this._placeToken(L,r,w,g,P,"right",x),E-=L.width,P-=L.width,D--;for(A+=(a-(A-m)-(y-P)-E)/2;T<=D;)L=C[T],this._placeToken(L,r,w,g,A+L.width/2,"center",x),A+=L.width,T++;g+=w}},t.prototype._placeToken=function(r,n,i,a,o,s,l){var u=n.rich[r.styleName]||{};u.text=r.text;var c=r.verticalAlign,f=a+i/2;c==="top"?f=a+r.height/2:c==="bottom"&&(f=a+i-r.height/2);var h=!r.isLineHolder&&mm(u);h&&this._renderBackground(u,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,f-r.height/2,r.width,r.height);var d=!!u.backgroundColor,v=r.textPadding;v&&(o=tE(o,s,v),f-=r.height/2-v[0]-r.innerHeight/2);var p=this._getOrCreateChild(t_),m=p.createStyle();p.useStyle(m);var g=this._defaultStyle,y=!1,x=0,_=eE("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,g.fill)),b=JA("stroke"in u?u.stroke:"stroke"in n?n.stroke:!d&&!l&&(!g.autoStroke||y)?(x=XA,g.stroke):null),C=u.textShadowBlur>0||n.textShadowBlur>0;m.text=r.text,m.x=o,m.y=f,C&&(m.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,m.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",m.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,m.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),m.textAlign=s,m.textBaseline="middle",m.font=r.font||as,m.opacity=Ec(u.opacity,n.opacity,1),ZA(m,u),b&&(m.lineWidth=Ec(u.lineWidth,n.lineWidth,x),m.lineDash=Ue(u.lineDash,n.lineDash),m.lineDashOffset=n.lineDashOffset||0,m.stroke=b),_&&(m.fill=_);var S=r.contentWidth,w=r.contentHeight;p.setBoundingRect(new Ge(ic(m.x,S,m.textAlign),nl(m.y,w,m.textBaseline),S,w))},t.prototype._renderBackground=function(r,n,i,a,o,s){var l=r.backgroundColor,u=r.borderWidth,c=r.borderColor,f=l&&l.image,h=l&&!f,d=r.borderRadius,v=this,p,m;if(h||r.lineHeight||u&&c){p=this._getOrCreateChild(bt),p.useStyle(p.createStyle()),p.style.fill=null;var g=p.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=d,p.dirtyShape()}if(h){var y=p.style;y.fill=l||null,y.fillOpacity=Ue(r.fillOpacity,1)}else if(f){m=this._getOrCreateChild(xi),m.onload=function(){v.dirtyStyle()};var x=m.style;x.image=l.image,x.x=i,x.y=a,x.width=o,x.height=s}if(u&&c){var y=p.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=Ue(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var _=(p||m).style;_.shadowBlur=r.shadowBlur||0,_.shadowColor=r.shadowColor||"transparent",_.shadowOffsetX=r.shadowOffsetX||0,_.shadowOffsetY=r.shadowOffsetY||0,_.opacity=Ec(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return Voe(r)&&(n=[r.fontStyle,r.fontWeight,Woe(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&ai(n)||r.textFont||r.font},t}(pu),Hoe={left:!0,right:1,center:1},zoe={top:1,bottom:1,middle:1},KA=["fontStyle","fontWeight","fontSize","fontFamily"];function Woe(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Vb+"px":e+"px"}function ZA(e,t){for(var r=0;r<KA.length;r++){var n=KA[r],i=t[n];i!=null&&(e[n]=i)}}function Voe(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function Uoe(e){return QA(e),O(e.rich,QA),e}function QA(e){if(e){e.font=sN.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||Hoe[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||zoe[r]?r:"top";var n=e.padding;n&&(e.padding=s4(e.padding))}}function JA(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function eE(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function tE(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function rE(e){var t=e.text;return t!=null&&(t+=""),t}function mm(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const Et=sN;var Xe=_t(),r_=function(e,t,r,n){if(n){var i=Xe(n);i.dataIndex=r,i.dataType=t,i.seriesIndex=e,n.type==="group"&&n.traverse(function(a){var o=Xe(a);o.seriesIndex=e,o.dataIndex=r,o.dataType=t})}},nE=1,iE={},lN=_t(),iC=_t(),aC=0,d0=1,v0=2,gn=["emphasis","blur","select"],Uv=["normal","emphasis","blur","select"],Goe=10,joe=9,Yo="highlight",bd="downplay",Lc="select",Cd="unselect",Rc="toggleSelect";function Hs(e){return e!=null&&e!=="none"}var aE=new Nf(100);function oE(e){if(be(e)){var t=aE.get(e);return t||(t=TA(e,-.1),aE.put(e,t)),t}else if(a0(e)){var r=ce({},e);return r.colorStops=ve(e.colorStops,function(n){return{offset:n.offset,color:TA(n.color,-.1)}}),r}return e}function p0(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function uN(e){p0(e,"emphasis",v0)}function cN(e){e.hoverState===v0&&p0(e,"normal",aC)}function oC(e){p0(e,"blur",d0)}function fN(e){e.hoverState===d0&&p0(e,"normal",aC)}function qoe(e){e.selected=!0}function Yoe(e){e.selected=!1}function sE(e,t,r){t(e,r)}function Ki(e,t,r){sE(e,t,r),e.isGroup&&e.traverse(function(n){sE(n,t,r)})}function lE(e,t){switch(t){case"emphasis":e.hoverState=v0;break;case"normal":e.hoverState=aC;break;case"blur":e.hoverState=d0;break;case"select":e.selected=!0}}function Xoe(e,t,r,n){for(var i=e.style,a={},o=0;o<t.length;o++){var s=t[o],l=i[s];a[s]=l??(n&&n[s])}for(var o=0;o<e.animators.length;o++){var u=e.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(r)<0&&u.targetName==="style"&&u.saveTo(a,t)}return a}function Koe(e,t,r,n){var i=r&&Ve(r,"select")>=0,a=!1;if(e instanceof We){var o=lN(e),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(Hs(s)||Hs(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=ce({},n),u=ce({},u),u.fill=s):!Hs(u.fill)&&Hs(s)?(a=!0,n=ce({},n),u=ce({},u),u.fill=oE(s)):!Hs(u.stroke)&&Hs(l)&&(a||(n=ce({},n),u=ce({},u)),u.stroke=oE(l)),n.style=u}}if(n&&n.z2==null){a||(n=ce({},n));var c=e.z2EmphasisLift;n.z2=e.z2+(c??Goe)}return n}function Zoe(e,t,r){if(r&&r.z2==null){r=ce({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??joe)}return r}function Qoe(e,t,r){var n=Ve(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:Xoe(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=ce({},r),o=ce({opacity:n?i:a.opacity*.1},o),r.style=o),r}function ym(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return Koe(this,e,t,r);if(e==="blur")return Qoe(this,e,r);if(e==="select")return Zoe(this,e,r)}return r}function Joe(e){e.stateProxy=ym;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=ym),r&&(r.stateProxy=ym)}function uE(e,t){!pN(e,t)&&!e.__highByOuter&&Ki(e,uN)}function cE(e,t){!pN(e,t)&&!e.__highByOuter&&Ki(e,cN)}function jl(e,t){e.__highByOuter|=1<<(t||0),Ki(e,uN)}function ql(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Ki(e,cN)}function ese(e){Ki(e,oC)}function hN(e){Ki(e,fN)}function dN(e){Ki(e,qoe)}function vN(e){Ki(e,Yoe)}function pN(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function gN(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(i,a){var o=iC(a),s=i==="series",l=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){fN(u)}),s&&r.push(a)),o.isBlured=!1}),O(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,t)})}function n_(e,t,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(u,c){for(var f=0;f<c.length;f++){var h=u.getItemGraphicEl(c[f]);h&&hN(h)}}if(e!=null&&!(!t||t==="none")){var o=i.getSeriesByIndex(e),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries(function(u){var c=o===u,f=u.coordinateSystem;f&&f.master&&(f=f.master);var h=f&&s?f===s:c;if(!(r==="series"&&!c||r==="coordinateSystem"&&!h||t==="series"&&c)){var d=n.getViewOfSeriesModel(u);if(d.group.traverse(function(m){oC(m)}),yr(t))a(u.getData(),t);else if(we(t))for(var v=xt(t),p=0;p<v.length;p++)a(u.getData(v[p]),t[v[p]]);l.push(u),iC(u).isBlured=!0}}),i.eachComponent(function(u,c){if(u!=="series"){var f=n.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(l,!0,i)}})}}function i_(e,t,r){if(!(e==null||t==null)){var n=r.getModel().getComponent(e,t);if(n){iC(n).isBlured=!0;var i=r.getViewOfComponentModel(n);!i||!i.focusBlurEnabled||i.group.traverse(function(a){oC(a)})}}}function tse(e,t,r){var n=e.seriesIndex,i=e.getData(t.dataType);if(i){var a=os(i,t);a=(de(a)?a[0]:a)||0;var o=i.getItemGraphicEl(a);if(!o)for(var s=i.count(),l=0;!o&&l<s;)o=i.getItemGraphicEl(l++);if(o){var u=Xe(o);n_(n,u.focus,u.blurScope,r)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);c!=null&&n_(n,c,f,r)}}}function sC(e,t,r,n){var i={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||r==null)return i;var a=n.getModel().getComponent(e,t);if(!a)return i;var o=n.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return i;for(var s=o.findHighDownDispatchers(r),l,u=0;u<s.length;u++)if(Xe(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function rse(e,t,r){var n=Xe(e),i=sC(n.componentMainType,n.componentIndex,n.componentHighDownName,r),a=i.dispatchers,o=i.focusSelf;a?(o&&i_(n.componentMainType,n.componentIndex,r),O(a,function(s){return uE(s,t)})):(n_(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&i_(n.componentMainType,n.componentIndex,r),uE(e,t))}function nse(e,t,r){gN(r);var n=Xe(e),i=sC(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;i?O(i,function(a){return cE(a,t)}):cE(e,t)}function ise(e,t,r){if(s_(t)){var n=t.dataType,i=e.getData(n),a=os(i,t);de(a)||(a=[a]),e[t.type===Rc?"toggleSelect":t.type===Lc?"select":"unselect"](a,n)}}function fE(e){var t=e.getAllData();O(t,function(r){var n=r.data,i=r.type;n.eachItemGraphicEl(function(a,o){e.isSelected(o,i)?dN(a):vN(a)})})}function ase(e){var t=[];return e.eachSeries(function(r){var n=r.getAllData();O(n,function(i){i.data;var a=i.type,o=r.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function a_(e,t,r){mN(e,!0),Ki(e,Joe),sse(e,t,r)}function ose(e){mN(e,!1)}function ji(e,t,r,n){n?ose(e):a_(e,t,r)}function sse(e,t,r){var n=Xe(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var hE=["emphasis","blur","select"],lse={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Va(e,t,r,n){r=r||"itemStyle";for(var i=0;i<hE.length;i++){var a=hE[i],o=t.getModel([a,r]),s=e.ensureState(a);s.style=n?n(o):o[lse[r]]()}}function mN(e,t){var r=t===!1,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function o_(e){return!!(e&&e.__highDownDispatcher)}function use(e){var t=iE[e];return t==null&&nE<=32&&(t=iE[e]=nE++),t}function s_(e){var t=e.type;return t===Lc||t===Cd||t===Rc}function dE(e){var t=e.type;return t===Yo||t===bd}function cse(e){var t=lN(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}var zs=Gi.CMD,fse=[[],[],[]],vE=Math.sqrt,hse=Math.atan2;function yN(e,t){if(t){var r=e.data,n=e.len(),i,a,o,s,l,u,c=zs.M,f=zs.C,h=zs.L,d=zs.R,v=zs.A,p=zs.Q;for(o=0,s=0;o<n;){switch(i=r[o++],s=o,a=0,i){case c:a=1;break;case h:a=1;break;case f:a=3;break;case p:a=2;break;case v:var m=t[4],g=t[5],y=vE(t[0]*t[0]+t[1]*t[1]),x=vE(t[2]*t[2]+t[3]*t[3]),_=hse(-t[1]/x,t[0]/y);r[o]*=y,r[o++]+=m,r[o]*=x,r[o++]+=g,r[o++]*=y,r[o++]*=x,r[o++]+=_,r[o++]+=_,o+=2,s=o;break;case d:u[0]=r[o++],u[1]=r[o++],vn(u,u,t),r[s++]=u[0],r[s++]=u[1],u[0]+=r[o++],u[1]+=r[o++],vn(u,u,t),r[s++]=u[0],r[s++]=u[1]}for(l=0;l<a;l++){var b=fse[l];b[0]=r[o++],b[1]=r[o++],vn(b,b,t),r[s++]=b[0],r[s++]=b[1]}}e.increaseVersion()}}var xm=Math.sqrt,Ah=Math.sin,Eh=Math.cos,ku=Math.PI;function pE(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function l_(e,t){return(e[0]*t[0]+e[1]*t[1])/(pE(e)*pE(t))}function gE(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(l_(e,t))}function mE(e,t,r,n,i,a,o,s,l,u,c){var f=l*(ku/180),h=Eh(f)*(e-r)/2+Ah(f)*(t-n)/2,d=-1*Ah(f)*(e-r)/2+Eh(f)*(t-n)/2,v=h*h/(o*o)+d*d/(s*s);v>1&&(o*=xm(v),s*=xm(v));var p=(i===a?-1:1)*xm((o*o*(s*s)-o*o*(d*d)-s*s*(h*h))/(o*o*(d*d)+s*s*(h*h)))||0,m=p*o*d/s,g=p*-s*h/o,y=(e+r)/2+Eh(f)*m-Ah(f)*g,x=(t+n)/2+Ah(f)*m+Eh(f)*g,_=gE([1,0],[(h-m)/o,(d-g)/s]),b=[(h-m)/o,(d-g)/s],C=[(-1*h-m)/o,(-1*d-g)/s],S=gE(b,C);if(l_(b,C)<=-1&&(S=ku),l_(b,C)>=1&&(S=0),S<0){var w=Math.round(S/ku*1e6)/1e6;S=ku*2+w%2*ku}c.addData(u,y,x,o,s,_,S,f,a)}var dse=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,vse=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function pse(e){var t=new Gi;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=Gi.CMD,l=e.match(dse);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),h=void 0,d=c.match(vse)||[],v=d.length,p=0;p<v;p++)d[p]=parseFloat(d[p]);for(var m=0;m<v;){var g=void 0,y=void 0,x=void 0,_=void 0,b=void 0,C=void 0,S=void 0,w=r,E=n,T=void 0,A=void 0;switch(f){case"l":r+=d[m++],n+=d[m++],h=s.L,t.addData(h,r,n);break;case"L":r=d[m++],n=d[m++],h=s.L,t.addData(h,r,n);break;case"m":r+=d[m++],n+=d[m++],h=s.M,t.addData(h,r,n),i=r,a=n,f="l";break;case"M":r=d[m++],n=d[m++],h=s.M,t.addData(h,r,n),i=r,a=n,f="L";break;case"h":r+=d[m++],h=s.L,t.addData(h,r,n);break;case"H":r=d[m++],h=s.L,t.addData(h,r,n);break;case"v":n+=d[m++],h=s.L,t.addData(h,r,n);break;case"V":n=d[m++],h=s.L,t.addData(h,r,n);break;case"C":h=s.C,t.addData(h,d[m++],d[m++],d[m++],d[m++],d[m++],d[m++]),r=d[m-2],n=d[m-1];break;case"c":h=s.C,t.addData(h,d[m++]+r,d[m++]+n,d[m++]+r,d[m++]+n,d[m++]+r,d[m++]+n),r+=d[m-2],n+=d[m-1];break;case"S":g=r,y=n,T=t.len(),A=t.data,o===s.C&&(g+=r-A[T-4],y+=n-A[T-3]),h=s.C,w=d[m++],E=d[m++],r=d[m++],n=d[m++],t.addData(h,g,y,w,E,r,n);break;case"s":g=r,y=n,T=t.len(),A=t.data,o===s.C&&(g+=r-A[T-4],y+=n-A[T-3]),h=s.C,w=r+d[m++],E=n+d[m++],r+=d[m++],n+=d[m++],t.addData(h,g,y,w,E,r,n);break;case"Q":w=d[m++],E=d[m++],r=d[m++],n=d[m++],h=s.Q,t.addData(h,w,E,r,n);break;case"q":w=d[m++]+r,E=d[m++]+n,r+=d[m++],n+=d[m++],h=s.Q,t.addData(h,w,E,r,n);break;case"T":g=r,y=n,T=t.len(),A=t.data,o===s.Q&&(g+=r-A[T-4],y+=n-A[T-3]),r=d[m++],n=d[m++],h=s.Q,t.addData(h,g,y,r,n);break;case"t":g=r,y=n,T=t.len(),A=t.data,o===s.Q&&(g+=r-A[T-4],y+=n-A[T-3]),r+=d[m++],n+=d[m++],h=s.Q,t.addData(h,g,y,r,n);break;case"A":x=d[m++],_=d[m++],b=d[m++],C=d[m++],S=d[m++],w=r,E=n,r=d[m++],n=d[m++],h=s.A,mE(w,E,r,n,C,S,x,_,b,h,t);break;case"a":x=d[m++],_=d[m++],b=d[m++],C=d[m++],S=d[m++],w=r,E=n,r+=d[m++],n+=d[m++],h=s.A,mE(w,E,r,n,C,S,x,_,b,h,t);break}}(f==="z"||f==="Z")&&(h=s.Z,t.addData(h),r=i,n=a),o=h}return t.toStatic(),t}var xN=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t}(We);function _N(e){return e.setData!=null}function bN(e,t){var r=pse(e),n=ce({},t);return n.buildPath=function(i){if(_N(i)){i.setData(r.data);var a=i.getContext();a&&i.rebuildPath(a,1)}else{var a=i;r.rebuildPath(a,1)}},n.applyTransform=function(i){yN(r,i),this.dirtyShape()},n}function gse(e,t){return new xN(bN(e,t))}function mse(e,t){var r=bN(e,t),n=function(i){se(a,i);function a(o){var s=i.call(this,o)||this;return s.applyTransform=r.applyTransform,s.buildPath=r.buildPath,s}return a}(xN);return n}function yse(e,t){for(var r=[],n=e.length,i=0;i<n;i++){var a=e[i];r.push(a.getUpdatedPathProxy(!0))}var o=new We(t);return o.createPathProxy(),o.buildPath=function(s){if(_N(s)){s.appendPath(r);var l=s.getContext();l&&s.rebuildPath(l,1)}},o}function lC(e,t){t=t||{};var r=new We;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?yN(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var xse=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),CN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new xse},t.prototype.buildPath=function(r,n){r.moveTo(n.cx+n.r,n.cy),r.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t}(We);CN.prototype.type="circle";const Hf=CN;var _se=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),SN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new _se},t.prototype.buildPath=function(r,n){var i=.5522848,a=n.cx,o=n.cy,s=n.rx,l=n.ry,u=s*i,c=l*i;r.moveTo(a-s,o),r.bezierCurveTo(a-s,o-c,a-u,o-l,a,o-l),r.bezierCurveTo(a+u,o-l,a+s,o-c,a+s,o),r.bezierCurveTo(a+s,o+c,a+u,o+l,a,o+l),r.bezierCurveTo(a-u,o+l,a-s,o+c,a-s,o),r.closePath()},t}(We);SN.prototype.type="ellipse";const wN=SN;var TN=Math.PI,_m=TN*2,vo=Math.sin,Ws=Math.cos,bse=Math.acos,nr=Math.atan2,yE=Math.abs,Oc=Math.sqrt,ac=Math.max,Yn=Math.min,wn=1e-4;function Cse(e,t,r,n,i,a,o,s){var l=r-e,u=n-t,c=o-i,f=s-a,h=f*l-c*u;if(!(h*h<wn))return h=(c*(t-a)-f*(e-i))/h,[e+h*l,t+h*u]}function Ph(e,t,r,n,i,a,o){var s=e-r,l=t-n,u=(o?a:-a)/Oc(s*s+l*l),c=u*l,f=-u*s,h=e+c,d=t+f,v=r+c,p=n+f,m=(h+v)/2,g=(d+p)/2,y=v-h,x=p-d,_=y*y+x*x,b=i-a,C=h*p-v*d,S=(x<0?-1:1)*Oc(ac(0,b*b*_-C*C)),w=(C*x-y*S)/_,E=(-C*y-x*S)/_,T=(C*x+y*S)/_,A=(-C*y+x*S)/_,P=w-m,D=E-g,L=T-m,N=A-g;return P*P+D*D>L*L+N*N&&(w=T,E=A),{cx:w,cy:E,x0:-c,y0:-f,x1:w*(i/b-1),y1:E*(i/b-1)}}function Sse(e){var t;if(de(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function wse(e,t){var r,n=ac(t.r,0),i=ac(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,h=!!t.clockwise,d=yE(u-l),v=d>_m&&d%_m;if(v>wn&&(d=v),!(n>wn))e.moveTo(c,f);else if(d>_m-wn)e.moveTo(c+n*Ws(l),f+n*vo(l)),e.arc(c,f,n,l,u,!h),i>wn&&(e.moveTo(c+i*Ws(u),f+i*vo(u)),e.arc(c,f,i,u,l,h));else{var p=void 0,m=void 0,g=void 0,y=void 0,x=void 0,_=void 0,b=void 0,C=void 0,S=void 0,w=void 0,E=void 0,T=void 0,A=void 0,P=void 0,D=void 0,L=void 0,N=n*Ws(l),B=n*vo(l),G=i*Ws(u),$=i*vo(u),Y=d>wn;if(Y){var J=t.cornerRadius;J&&(r=Sse(J),p=r[0],m=r[1],g=r[2],y=r[3]);var H=yE(n-i)/2;if(x=Yn(H,g),_=Yn(H,y),b=Yn(H,p),C=Yn(H,m),E=S=ac(x,_),T=w=ac(b,C),(S>wn||w>wn)&&(A=n*Ws(u),P=n*vo(u),D=i*Ws(l),L=i*vo(l),d<TN)){var W=Cse(N,B,D,L,A,P,G,$);if(W){var X=N-W[0],q=B-W[1],U=A-W[0],Q=P-W[1],re=1/vo(bse((X*U+q*Q)/(Oc(X*X+q*q)*Oc(U*U+Q*Q)))/2),ee=Oc(W[0]*W[0]+W[1]*W[1]);E=Yn(S,(n-ee)/(re+1)),T=Yn(w,(i-ee)/(re-1))}}}if(!Y)e.moveTo(c+N,f+B);else if(E>wn){var me=Yn(g,E),xe=Yn(y,E),oe=Ph(D,L,N,B,n,me,h),R=Ph(A,P,G,$,n,xe,h);e.moveTo(c+oe.cx+oe.x0,f+oe.cy+oe.y0),E<S&&me===xe?e.arc(c+oe.cx,f+oe.cy,E,nr(oe.y0,oe.x0),nr(R.y0,R.x0),!h):(me>0&&e.arc(c+oe.cx,f+oe.cy,me,nr(oe.y0,oe.x0),nr(oe.y1,oe.x1),!h),e.arc(c,f,n,nr(oe.cy+oe.y1,oe.cx+oe.x1),nr(R.cy+R.y1,R.cx+R.x1),!h),xe>0&&e.arc(c+R.cx,f+R.cy,xe,nr(R.y1,R.x1),nr(R.y0,R.x0),!h))}else e.moveTo(c+N,f+B),e.arc(c,f,n,l,u,!h);if(!(i>wn)||!Y)e.lineTo(c+G,f+$);else if(T>wn){var me=Yn(p,T),xe=Yn(m,T),oe=Ph(G,$,A,P,i,-xe,h),R=Ph(N,B,D,L,i,-me,h);e.lineTo(c+oe.cx+oe.x0,f+oe.cy+oe.y0),T<w&&me===xe?e.arc(c+oe.cx,f+oe.cy,T,nr(oe.y0,oe.x0),nr(R.y0,R.x0),!h):(xe>0&&e.arc(c+oe.cx,f+oe.cy,xe,nr(oe.y0,oe.x0),nr(oe.y1,oe.x1),!h),e.arc(c,f,i,nr(oe.cy+oe.y1,oe.cx+oe.x1),nr(R.cy+R.y1,R.cx+R.x1),h),me>0&&e.arc(c+R.cx,f+R.cy,me,nr(R.y1,R.x1),nr(R.y0,R.x0),!h))}else e.lineTo(c+G,f+$),e.arc(c,f,i,u,l,h)}e.closePath()}}}var Tse=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}(),AN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Tse},t.prototype.buildPath=function(r,n){wse(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(We);AN.prototype.type="sector";const On=AN;var Ase=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),EN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Ase},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},t}(We);EN.prototype.type="ring";const uC=EN;function Ese(e,t,r,n){var i=[],a=[],o=[],s=[],l,u,c,f;if(n){c=[1/0,1/0],f=[-1/0,-1/0];for(var h=0,d=e.length;h<d;h++)al(c,c,e[h]),ol(f,f,e[h]);al(c,c,n[0]),ol(f,f,n[1])}for(var h=0,d=e.length;h<d;h++){var v=e[h];if(r)l=e[h?h-1:d-1],u=e[(h+1)%d];else if(h===0||h===d-1){i.push(rie(e[h]));continue}else l=e[h-1],u=e[h+1];nie(a,u,l),$g(a,a,t);var p=Rx(v,l),m=Rx(v,u),g=p+m;g!==0&&(p/=g,m/=g),$g(o,a,-p),$g(s,a,m);var y=cA([],v,o),x=cA([],v,s);n&&(ol(y,y,c),al(y,y,f),ol(x,x,c),al(x,x,f)),i.push(y),i.push(x)}return r&&i.push(i.shift()),i}function PN(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var a=Ese(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var l=a[s*2],u=a[s*2+1],c=i[(s+1)%o];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}r&&e.closePath()}}var Pse=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),IN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Pse},t.prototype.buildPath=function(r,n){PN(r,n,!0)},t}(We);IN.prototype.type="polygon";const gu=IN;var Ise=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),MN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ise},t.prototype.buildPath=function(r,n){PN(r,n,!1)},t}(We);MN.prototype.type="polyline";const ws=MN;var Mse={},Dse=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),DN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Dse},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=iN(Mse,n,this.style);i=l.x1,a=l.y1,o=l.x2,s=l.y2}else i=n.x1,a=n.y1,o=n.x2,s=n.y2;var u=n.percent;u!==0&&(r.moveTo(i,a),u<1&&(o=i*(1-u)+o*u,s=a*(1-u)+s*u),r.lineTo(o,s))},t.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},t}(We);DN.prototype.type="line";const qi=DN;var Sr=[],Lse=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 xE(e,t,r){var n=e.cpx2,i=e.cpy2;return n!=null||i!=null?[(r?bA:Ft)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?bA:Ft)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?CA:ar)(e.x1,e.cpx1,e.x2,t),(r?CA:ar)(e.y1,e.cpy1,e.y2,t)]}var LN=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lse},t.prototype.buildPath=function(r,n){var i=n.x1,a=n.y1,o=n.x2,s=n.y2,l=n.cpx1,u=n.cpy1,c=n.cpx2,f=n.cpy2,h=n.percent;h!==0&&(r.moveTo(i,a),c==null||f==null?(h<1&&($v(i,l,o,h,Sr),l=Sr[1],o=Sr[2],$v(a,u,s,h,Sr),u=Sr[1],s=Sr[2]),r.quadraticCurveTo(l,u,o,s)):(h<1&&(Ha(i,l,c,o,h,Sr),l=Sr[1],c=Sr[2],o=Sr[3],Ha(a,u,f,s,h,Sr),u=Sr[1],f=Sr[2],s=Sr[3]),r.bezierCurveTo(l,u,c,f,o,s)))},t.prototype.pointAt=function(r){return xE(this.shape,r,!1)},t.prototype.tangentAt=function(r){var n=xE(this.shape,r,!0);return oie(n,n)},t}(We);LN.prototype.type="bezier-curve";const RN=LN;var Rse=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}(),ON=function(e){se(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Rse},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.max(n.r,0),s=n.startAngle,l=n.endAngle,u=n.clockwise,c=Math.cos(s),f=Math.sin(s);r.moveTo(c*o+i,f*o+a),r.arc(i,a,o,s,l,!u)},t}(We);ON.prototype.type="arc";const cC=ON;var Ose=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.prototype._updatePathDirty=function(){for(var r=this.shape.paths,n=this.shapeChanged(),i=0;i<r.length;i++)n=n||r[i].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var r=this.shape.paths||[],n=this.getGlobalScale(),i=0;i<r.length;i++)r[i].path||r[i].createPathProxy(),r[i].path.setScale(n[0],n[1],r[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(r,n){for(var i=n.paths||[],a=0;a<i.length;a++)i[a].buildPath(r,i[a].shape,!0)},t.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),We.prototype.getBoundingRect.call(this)},t}(We);const kse=Ose;var Nse=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e}();const kN=Nse;var Bse=function(e){se(t,e);function t(r,n,i,a,o,s){var l=e.call(this,o)||this;return l.x=r??0,l.y=n??0,l.x2=i??1,l.y2=a??0,l.type="linear",l.global=s||!1,l}return t}(kN);const NN=Bse;var Fse=function(e){se(t,e);function t(r,n,i,a,o){var s=e.call(this,a)||this;return s.x=r??.5,s.y=n??.5,s.r=i??.5,s.type="radial",s.global=o||!1,s}return t}(kN);const $se=Fse;var po=[0,0],go=[0,0],Ih=new Ee,Mh=new Ee,Hse=function(){function e(t,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Ee;for(var n=0;n<2;n++)this._axes[n]=new Ee;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){var n=this._corners,i=this._axes,a=t.x,o=t.y,s=a+t.width,l=o+t.height;if(n[0].set(a,o),n[1].set(s,o),n[2].set(s,l),n[3].set(a,l),r)for(var u=0;u<4;u++)n[u].transform(r);Ee.sub(i[0],n[1],n[0]),Ee.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(n[0])},e.prototype.intersect=function(t,r){var n=!0,i=!r;return Ih.set(1/0,1/0),Mh.set(0,0),!this._intersectCheckOneSide(this,t,Ih,Mh,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Ih,Mh,i,-1)&&(n=!1,i)||i||Ee.copy(r,n?Ih:Mh),n},e.prototype._intersectCheckOneSide=function(t,r,n,i,a,o){for(var s=!0,l=0;l<2;l++){var u=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,po),this._getProjMinMaxOnAxis(l,r._corners,go),po[1]<go[0]||po[0]>go[1]){if(s=!1,a)return s;var c=Math.abs(go[0]-po[1]),f=Math.abs(po[0]-go[1]);Math.min(c,f)>i.len()&&(c<f?Ee.scale(i,u,-c*o):Ee.scale(i,u,f*o))}else if(n){var c=Math.abs(go[0]-po[1]),f=Math.abs(po[0]-go[1]);Math.min(c,f)<n.len()&&(c<f?Ee.scale(n,u,c*o):Ee.scale(n,u,-f*o))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var i=this._axes[t],a=this._origin,o=r[0].dot(i)+a[t],s=o,l=o,u=1;u<r.length;u++){var c=r[u].dot(i)+a[t];s=Math.min(c,s),l=Math.max(c,l)}n[0]=s,n[1]=l},e}();const Gv=Hse;var zse=[],Wse=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,n){r.call(n,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(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,n){n=n||!1;for(var i=0;i<r.length;i++)this.addDisplayable(r[i],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(r){for(var n=this._cursor;n<this._displayables.length;n++)r&&r(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)r&&r(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var r=this._cursor;r<this._displayables.length;r++){var n=this._displayables[r];n.parent=this,n.update(),n.parent=null}for(var r=0;r<this._temporaryDisplayables.length;r++){var n=this._temporaryDisplayables[r];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var r=new Ge(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;n++){var i=this._displayables[n],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(zse)),r.union(a)}this._rect=r}return this._rect},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var o=0;o<this._displayables.length;o++){var s=this._displayables[o];if(s.contain(r,n))return!0}return!1},t}(pu);const Vse=Wse;var BN=_t();function g0(e,t,r,n,i){var a;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();a=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=e==="update";if(s){var u=void 0,c=void 0,f=void 0;n?(u=Ue(n.duration,200),c=Ue(n.easing,"cubicOut"),f=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),f=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(a.duration!=null&&(u=a.duration),a.easing!=null&&(c=a.easing),a.delay!=null&&(f=a.delay)),Ie(f)&&(f=f(r,i)),Ie(u)&&(u=u(r));var h={duration:u||0,delay:f,easing:c};return h}else return null}function fC(e,t,r,n,i,a,o){var s=!1,l;Ie(i)?(o=a,a=i,i=null):we(i)&&(a=i.cb,o=i.during,s=i.isFrom,l=i.removeOpt,i=i.dataIndex);var u=e==="leave";u||t.stopAnimation("leave");var c=g0(e,n,i,u?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,i):null);if(c&&c.duration>0){var f=c.duration,h=c.delay,d=c.easing,v={duration:f,delay:h||0,easing:d,done:a,force:!!a||!!o,setToFinal:!u,scope:e,during:o};s?t.animateFrom(r,v):t.animateTo(r,v)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function Ct(e,t,r,n,i,a){fC("update",e,t,r,n,i,a)}function Bt(e,t,r,n,i,a){fC("enter",e,t,r,n,i,a)}function Cl(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var r=e.animators[t];if(r.scope==="leave")return!0}return!1}function of(e,t,r,n,i,a){Cl(e)||fC("leave",e,t,r,n,i,a)}function _E(e,t,r,n){e.removeTextContent(),e.removeTextGuideLine(),of(e,{style:{opacity:0}},t,r,n)}function jv(e,t,r){function n(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(i){i.isGroup||_E(i,t,r,n)}):_E(e,t,r,n)}function sf(e){BN(e).oldStyle=e.style}function Use(e){return BN(e).oldStyle}var qv=Math.max,Yv=Math.min,u_={};function Gse(e){return We.extend(e)}var jse=mse;function qse(e,t){return jse(e,t)}function zn(e,t){u_[e]=t}function Yse(e){if(u_.hasOwnProperty(e))return u_[e]}function hC(e,t,r,n){var i=gse(e,t);return r&&(n==="center"&&(r=$N(r,i.getBoundingRect())),HN(i,r)),i}function FN(e,t,r){var n=new xi({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(r==="center"){var a={width:i.width,height:i.height};n.setStyle($N(t,a))}}});return n}function $N(e,t){var r=t.width/t.height,n=e.height*r,i;n<=e.width?i=e.height:(n=e.width,i=n/r);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-n/2,y:o-i/2,width:n,height:i}}var c_=yse;function HN(e,t){if(e.applyTransform){var r=e.getBoundingRect(),n=r.calculateTransform(t);e.applyTransform(n)}}function lf(e,t){return iN(e,e,{lineWidth:t}),e}function Xse(e){return aN(e.shape,e.shape,e.style),e}var Kse=Fo;function dC(e,t){for(var r=Xb([]);e&&e!==t;)_l(r,e.getLocalTransform(),r),e=e.parent;return r}function vC(e,t,r){return t&&!yr(t)&&(t=Bf.getLocalTransform(t)),r&&(t=s0([],t)),vn([],e,t)}function zN(e,t,r){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),a=[e==="left"?-n:e==="right"?n:0,e==="top"?-i:e==="bottom"?i:0];return a=vC(a,t,r),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function bE(e){return!e.isGroup}function Zse(e){return e.shape!=null}function WN(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(l){bE(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Zse(o)&&(s.shape=ce({},o.shape)),s}var a=n(e);t.traverse(function(o){if(bE(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),Ct(o,l,r,Xe(o).dataIndex)}}})}function VN(e,t){return ve(e,function(r){var n=r[0];n=qv(n,t.x),n=Yv(n,t.x+t.width);var i=r[1];return i=qv(i,t.y),i=Yv(i,t.y+t.height),[n,i]})}function Qse(e,t){var r=qv(e.x,t.x),n=Yv(e.x+e.width,t.x+t.width),i=qv(e.y,t.y),a=Yv(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function m0(e,t,r){var n=ce({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),De(i,r),new xi(n)):hC(e.replace("path://",""),n,r,"center")}function Jse(e,t,r,n,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(UN(e,t,r,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function UN(e,t,r,n,i,a,o,s){var l=r-e,u=n-t,c=o-i,f=s-a,h=bm(c,f,l,u);if(ele(h))return!1;var d=e-i,v=t-a,p=bm(d,v,l,u)/h;if(p<0||p>1)return!1;var m=bm(d,v,c,f)/h;return!(m<0||m>1)}function bm(e,t,r,n){return e*n-r*t}function ele(e){return e<=1e-6&&e>=-1e-6}function y0(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=be(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&O(xt(l),function(c){Vi(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=Xe(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:De({content:n,formatterParams:s},i)}}function CE(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function x0(e,t){if(e)if(de(e))for(var r=0;r<e.length;r++)CE(e[r],t);else CE(e,t)}zn("circle",Hf);zn("ellipse",wN);zn("sector",On);zn("ring",uC);zn("polygon",gu);zn("polyline",ws);zn("rect",bt);zn("line",qi);zn("bezierCurve",RN);zn("arc",cC);const _0=Object.freeze(Object.defineProperty({__proto__:null,Arc:cC,BezierCurve:RN,BoundingRect:Ge,Circle:Hf,CompoundPath:kse,Ellipse:wN,Group:pt,Image:xi,IncrementalDisplayable:Vse,Line:qi,LinearGradient:NN,OrientedBoundingRect:Gv,Path:We,Point:Ee,Polygon:gu,Polyline:ws,RadialGradient:$se,Rect:bt,Ring:uC,Sector:On,Text:Et,applyTransform:vC,clipPointsByRect:VN,clipRectByRect:Qse,createIcon:m0,extendPath:qse,extendShape:Gse,getShapeClass:Yse,getTransform:dC,groupTransition:WN,initProps:Bt,isElementRemoved:Cl,lineLineIntersect:UN,linePolygonIntersect:Jse,makeImage:FN,makePath:hC,mergePath:c_,registerShape:zn,removeElement:of,removeElementWithFadeOut:jv,resizePath:HN,setTooltipConfig:y0,subPixelOptimize:Kse,subPixelOptimizeLine:lf,subPixelOptimizeRect:Xse,transformDirection:zN,traverseElements:x0,updateProps:Ct},Symbol.toStringTag,{value:"Module"}));var b0={};function GN(e,t){for(var r=0;r<gn.length;r++){var n=gn[r],i=t[n],a=e.ensureState(n);a.style=a.style||{},a.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function f_(e,t,r){var n=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=Ie(e.defaultText)?e.defaultText(i,e,r):e.defaultText);for(var l={normal:s},u=0;u<gn.length;u++){var c=gn[u],f=t[c];l[c]=Ue(n?n.getFormattedLabel(i,c,null,a,f&&f.get("formatter")):null,s)}return l}function Ts(e,t,r,n){r=r||b0;for(var i=e instanceof Et,a=!1,o=0;o<Uv.length;o++){var s=t[Uv[o]];if(s&&s.getShallow("show")){a=!0;break}}var l=i?e:e.getTextContent();if(a){i||(l||(l=new Et,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var u=f_(r,t),c=t.normal,f=!!c.getShallow("show"),h=dn(c,n&&n.normal,r,!1,!i);h.text=u.normal,i||e.setTextConfig(SE(c,r,!1));for(var o=0;o<gn.length;o++){var d=gn[o],s=t[d];if(s){var v=l.ensureState(d),p=!!Ue(s.getShallow("show"),f);if(p!==f&&(v.ignore=!p),v.style=dn(s,n&&n[d],r,!0,!i),v.style.text=u[d],!i){var m=e.ensureState(d);m.textConfig=SE(s,r,!0)}}}l.silent=!!c.getShallow("silent"),l.style.x!=null&&(h.x=l.style.x),l.style.y!=null&&(h.y=l.style.y),l.ignore=!f,l.useStyle(h),l.dirty(),r.enableTextSetter&&(mu(l).setLabelText=function(g){var y=f_(r,t,g);GN(l,y)})}else l&&(l.ignore=!0);e.dirty()}function As(e,t){t=t||"label";for(var r={normal:e.getModel(t)},n=0;n<gn.length;n++){var i=gn[n];r[i]=e.getModel([i,t])}return r}function dn(e,t,r,n,i){var a={};return tle(a,e,r,n,i),t&&ce(a,t),a}function SE(e,t,r){t=t||{};var n={},i,a=e.getShallow("rotate"),o=Ue(e.getShallow("distance"),r?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(r?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(n.position=i),s!=null&&(n.offset=s),a!=null&&(a*=Math.PI/180,n.rotation=a),o!=null&&(n.distance=o),n.outsideFill=e.get("color")==="inherit"?t.inheritColor||null:"auto",n}function tle(e,t,r,n,i){r=r||b0;var a=t.ecModel,o=a&&a.option.textStyle,s=rle(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var c=t.getModel(["rich",u]);EE(l[u]={},c,o,r,n,i,!1,!0)}}l&&(e.rich=l);var f=t.get("overflow");f&&(e.overflow=f);var h=t.get("minMargin");h!=null&&(e.margin=h),EE(e,t,o,r,n,i,!0,!1)}function rle(e){for(var t;e&&e!==e.ecModel;){var r=(e.option||b0).rich;if(r){t=t||{};for(var n=xt(r),i=0;i<n.length;i++){var a=n[i];t[a]=1}}e=e.parentModel}return t}var wE=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],TE=["align","lineHeight","width","height","tag","verticalAlign"],AE=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function EE(e,t,r,n,i,a,o,s){r=!i&&r||b0;var l=n&&n.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=Ue(t.getShallow("opacity"),r.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(c==="inherit"||c==="auto")&&(l?c=l:c=null),a||(u=u||r.color,c=c||r.textBorderColor),u!=null&&(e.fill=u),c!=null&&(e.stroke=c);var h=Ue(t.getShallow("textBorderWidth"),r.textBorderWidth);h!=null&&(e.lineWidth=h);var d=Ue(t.getShallow("textBorderType"),r.textBorderType);d!=null&&(e.lineDash=d);var v=Ue(t.getShallow("textBorderDashOffset"),r.textBorderDashOffset);v!=null&&(e.lineDashOffset=v),!i&&f==null&&!s&&(f=n&&n.defaultOpacity),f!=null&&(e.opacity=f),!i&&!a&&e.fill==null&&n.inheritColor&&(e.fill=n.inheritColor);for(var p=0;p<wE.length;p++){var m=wE[p],g=Ue(t.getShallow(m),r[m]);g!=null&&(e[m]=g)}for(var p=0;p<TE.length;p++){var m=TE[p],g=t.getShallow(m);g!=null&&(e[m]=g)}if(e.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(e.verticalAlign=y)}if(!o||!n.disableBox){for(var p=0;p<AE.length;p++){var m=AE[p],g=t.getShallow(m);g!=null&&(e[m]=g)}var x=t.getShallow("borderType");x!=null&&(e.borderDash=x),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&l&&(e.backgroundColor=l),(e.borderColor==="auto"||e.borderColor==="inherit")&&l&&(e.borderColor=l)}}function nle(e,t){var r=t&&t.getModel("textStyle");return ai([e.fontStyle||r&&r.getShallow("fontStyle")||"",e.fontWeight||r&&r.getShallow("fontWeight")||"",(e.fontSize||r&&r.getShallow("fontSize")||12)+"px",e.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var mu=_t();function jN(e,t,r,n){if(e){var i=mu(e);i.prevValue=i.value,i.value=r;var a=t.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=n,i.statesModels=t)}}function qN(e,t,r,n,i){var a=mu(e);if(!a.valueAnimation||a.prevValue===a.value)return;var o=a.defaultInterpolatedText,s=Ue(a.interpolatedValue,a.prevValue),l=a.value;function u(c){var f=G4(r,a.precision,s,l,c);a.interpolatedValue=c===1?null:f;var h=f_({labelDataIndex:t,labelFetcher:i,defaultText:o?o(f):f+""},a.statesModels,f);GN(e,h)}e.percent=0,(a.prevValue==null?Bt:Ct)(e,{percent:1},n,t,null,u)}var ile=["textStyle","color"],Cm=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Sm=new Et,ale=function(){function e(){}return e.prototype.getTextColor=function(t){var r=this.ecModel;return this.getShallow("color")||(!t&&r?r.get(ile):null)},e.prototype.getFont=function(){return nle({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 r={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Cm.length;n++)r[Cm[n]]=this.getShallow(Cm[n]);return Sm.useStyle(r),Sm.update(),Sm.getBoundingRect()},e}();const ole=ale;var YN=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],sle=af(YN),lle=function(){function e(){}return e.prototype.getLineStyle=function(t){return sle(this,t)},e}(),XN=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],ule=af(XN),cle=function(){function e(){}return e.prototype.getItemStyle=function(t,r){return ule(this,t,r)},e}(),Es=function(){function e(t,r,n){this.parentModel=r,this.ecModel=n,this.option=t}return e.prototype.init=function(t,r,n){},e.prototype.mergeOption=function(t,r){Fe(this.option,t,!0)},e.prototype.get=function(t,r){return t==null?this.option:this._doGet(this.parsePath(t),!r&&this.parentModel)},e.prototype.getShallow=function(t,r){var n=this.option,i=n==null?n:n[t];if(i==null&&!r){var a=this.parentModel;a&&(i=a.getShallow(t))}return i},e.prototype.getModel=function(t,r){var n=t!=null,i=n?this.parsePath(t):null,a=n?this._doGet(i):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(a,r,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(Ne(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(!ze.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,r){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&!(t[i]&&(n=n&&typeof n=="object"?n[t[i]]:null,n==null));i++);return n==null&&r&&(n=r._doGet(this.resolveParentPath(t),r.parentModel)),n},e}();nC(Es);Zae(Es);$n(Es,lle);$n(Es,cle);$n(Es,roe);$n(Es,ole);const jt=Es;var fle=Math.round(Math.random()*10);function zf(e){return[e||"",fle++].join("_")}function hle(e){var t={};e.registerSubTypeDefaulter=function(r,n){var i=oi(r);t[i.main]=n},e.determineSubType=function(r,n){var i=n.type;if(!i){var a=oi(r).main;e.hasSubTypes(r)&&t[a]&&(i=t[a](n))}return i}}function dle(e,t){e.topologicalTravel=function(a,o,s,l){if(!a.length)return;var u=r(o),c=u.graph,f=u.noEntryList,h={};for(O(a,function(y){h[y]=!0});f.length;){var d=f.pop(),v=c[d],p=!!h[d];p&&(s.call(l,d,v.originalDeps.slice()),delete h[d]),O(v.successor,p?g:m)}O(h,function(){var y="";throw new Error(y)});function m(y){c[y].entryCount--,c[y].entryCount===0&&f.push(y)}function g(y){h[y]=!0,m(y)}};function r(a){var o={},s=[];return O(a,function(l){var u=n(o,l),c=u.originalDeps=t(l),f=i(c,a);u.entryCount=f.length,u.entryCount===0&&s.push(l),O(f,function(h){Ve(u.predecessor,h)<0&&u.predecessor.push(h);var d=n(o,h);Ve(d.successor,h)<0&&d.successor.push(l)})}),{graph:o,noEntryList:s}}function n(a,o){return a[o]||(a[o]={predecessor:[],successor:[]}),a[o]}function i(a,o){var s=[];return O(a,function(l){Ve(o,l)>=0&&s.push(l)}),s}}function pC(e,t){return Fe(Fe({},e,!0),t,!0)}const vle={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"}},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:". "}}}},ple={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:"旭日图"}},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 Xv="ZH",gC="EN",uf=gC,Sd={},mC={},KN=ze.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(Xv)>-1?Xv:uf}():uf;function ZN(e,t){e=e.toUpperCase(),mC[e]=new jt(t),Sd[e]=t}function gle(e){if(be(e)){var t=Sd[e.toUpperCase()]||{};return e===Xv||e===gC?Ne(t):Fe(Ne(t),Ne(Sd[uf]),!1)}else return Fe(Ne(e),Ne(Sd[uf]),!1)}function mle(e){return mC[e]}function yle(){return mC[uf]}ZN(gC,vle);ZN(Xv,ple);var yC=1e3,xC=yC*60,kc=xC*60,fn=kc*24,PE=fn*365,oc={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}"},Dh="{yyyy}-{MM}-{dd}",IE={year:"{yyyy}",month:"{yyyy}-{MM}",day:Dh,hour:Dh+" "+oc.hour,minute:Dh+" "+oc.minute,second:Dh+" "+oc.second,millisecond:oc.none},wm=["year","month","day","hour","minute","second","millisecond"],QN=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function mo(e,t){return e+="","0000".substr(0,t-e.length)+e}function Sl(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 xle(e){return e===Sl(e)}function _le(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function C0(e,t,r,n){var i=Ui(e),a=i[_C(r)](),o=i[wl(r)]()+1,s=Math.floor((o-1)/3)+1,l=i[S0(r)](),u=i["get"+(r?"UTC":"")+"Day"](),c=i[cf(r)](),f=(c-1)%12+1,h=i[w0(r)](),d=i[T0(r)](),v=i[A0(r)](),p=n instanceof jt?n:mle(n||KN)||yle(),m=p.getModel("time"),g=m.get("month"),y=m.get("monthAbbr"),x=m.get("dayOfWeek"),_=m.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,mo(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,mo(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,mo(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,mo(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,mo(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,mo(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,mo(v,3)).replace(/{S}/g,v+"")}function ble(e,t,r,n,i){var a=null;if(be(r))a=r;else if(Ie(r))a=r(e.value,t,{level:e.level});else{var o=ce({},oc);if(e.level>0)for(var s=0;s<wm.length;++s)o[wm[s]]="{primary|"+o[wm[s]]+"}";var l=r?r.inherit===!1?r:De(r,o):o,u=JN(e.value,i);if(l[u])a=l[u];else if(l.inherit){for(var c=QN.indexOf(u),s=c-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(de(a)){var f=e.level==null?0:e.level>=0?e.level:a.length+e.level;f=Math.min(f,a.length-1),a=a[f]}}return C0(new Date(e.value),a,i,n)}function JN(e,t){var r=Ui(e),n=r[wl(t)]()+1,i=r[S0(t)](),a=r[cf(t)](),o=r[w0(t)](),s=r[T0(t)](),l=r[A0(t)](),u=l===0,c=u&&s===0,f=c&&o===0,h=f&&a===0,d=h&&i===1,v=d&&n===1;return v?"year":d?"month":h?"day":f?"hour":c?"minute":u?"second":"millisecond"}function ME(e,t,r){var n=tt(e)?Ui(e):e;switch(t=t||JN(e,r),t){case"year":return n[_C(r)]();case"half-year":return n[wl(r)]()>=6?1:0;case"quarter":return Math.floor((n[wl(r)]()+1)/4);case"month":return n[wl(r)]();case"day":return n[S0(r)]();case"half-day":return n[cf(r)]()/24;case"hour":return n[cf(r)]();case"minute":return n[w0(r)]();case"second":return n[T0(r)]();case"millisecond":return n[A0(r)]()}}function _C(e){return e?"getUTCFullYear":"getFullYear"}function wl(e){return e?"getUTCMonth":"getMonth"}function S0(e){return e?"getUTCDate":"getDate"}function cf(e){return e?"getUTCHours":"getHours"}function w0(e){return e?"getUTCMinutes":"getMinutes"}function T0(e){return e?"getUTCSeconds":"getSeconds"}function A0(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Cle(e){return e?"setUTCFullYear":"setFullYear"}function eB(e){return e?"setUTCMonth":"setMonth"}function tB(e){return e?"setUTCDate":"setDate"}function rB(e){return e?"setUTCHours":"setHours"}function nB(e){return e?"setUTCMinutes":"setMinutes"}function iB(e){return e?"setUTCSeconds":"setSeconds"}function aB(e){return e?"setUTCMilliseconds":"setMilliseconds"}function oB(e){if(!$4(e))return be(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function sB(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var E0=s4;function h_(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&ai(c)?c:"-"}function a(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=e instanceof Date;if(o||s){var l=o?Ui(e):e;if(isNaN(+l)){if(s)return"-"}else return C0(l,n,r)}if(t==="ordinal")return Lx(e)?i(e):tt(e)&&a(e)?e+"":"-";var u=Wa(e);return a(u)?oB(u):Lx(e)?i(e):typeof e=="boolean"?e+"":"-"}var DE=["a","b","c","d","e","f","g"],Tm=function(e,t){return"{"+e+(t??"")+"}"};function lB(e,t,r){de(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a<i.length;a++){var o=DE[a];e=e.replace(Tm(o),Tm(o,0))}for(var s=0;s<n;s++)for(var l=0;l<i.length;l++){var u=t[s][i[l]];e=e.replace(Tm(DE[l],s),r?ln(u):u)}return e}function Sle(e,t){var r=be(e)?{color:e,extraCssText:t}:e||{},n=r.color,i=r.type;t=r.extraCssText;var a=r.renderMode||"html";if(!n)return"";if(a==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ln(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ln(n)+";"+(t||"")+'"></span>';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function ss(e,t){return t=t||"transparent",be(e)?e:we(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function LE(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var wd=O,wle=["left","right","top","bottom","width","height"],Lh=[["width","left","right"],["height","top","bottom"]];function bC(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),h=f&&f.getBoundingRect(),d,v;if(e==="horizontal"){var p=c.width+(h?-h.x+c.x:0);d=a+p,d>n||l.newline?(a=0,d=p,o+=s+r,s=c.height):s=Math.max(s,c.height)}else{var m=c.height+(h?-h.y+c.y:0);v=o+m,v>i||l.newline?(a+=s+r,o=0,v=m,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),e==="horizontal"?a=d+r:o=v+r)})}var Tl=bC;et(bC,"vertical");et(bC,"horizontal");function Ua(e,t,r){r=E0(r||0);var n=t.width,i=t.height,a=Pe(e.left,n),o=Pe(e.top,i),s=Pe(e.right,n),l=Pe(e.bottom,i),u=Pe(e.width,n),c=Pe(e.height,i),f=r[2]+r[0],h=r[1]+r[3],d=e.aspect;switch(isNaN(u)&&(u=n-s-h-a),isNaN(c)&&(c=i-l-f-o),d!=null&&(isNaN(u)&&isNaN(c)&&(d>n/i?u=n*.8:c=i*.8),isNaN(u)&&(u=d*c),isNaN(c)&&(c=u/d)),isNaN(a)&&(a=n-s-u-h),isNaN(o)&&(o=i-l-c-f),e.left||e.right){case"center":a=n/2-u/2-r[3];break;case"right":a=n-u-h;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-c/2-r[0];break;case"bottom":o=i-c-f;break}a=a||0,o=o||0,isNaN(u)&&(u=n-h-a-(s||0)),isNaN(c)&&(c=i-f-o-(l||0));var v=new Ge(a+r[3],o+r[0],u,c);return v.margin=r,v}function Tle(e,t,r,n,i,a){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var u;if(l==="raw")u=e.type==="group"?new Ge(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=Ua(De({width:u.width,height:u.height},t),r,n),h=o?f.x-u.x:0,d=s?f.y-u.y:0;return l==="raw"?(a.x=h,a.y=d):(a.x+=h,a.y+=d),a===e&&e.markRedraw(),!0}function ff(e){var t=e.layoutMode||e.constructor.layoutMode;return we(t)?t:t?{type:t}:null}function Yl(e,t,r){var n=r&&r.ignoreSize;!de(n)&&(n=[n,n]);var i=o(Lh[0],0),a=o(Lh[1],1);u(Lh[0],e,i),u(Lh[1],e,a);function o(c,f){var h={},d=0,v={},p=0,m=2;if(wd(c,function(x){v[x]=e[x]}),wd(c,function(x){s(t,x)&&(h[x]=v[x]=t[x]),l(h,x)&&d++,l(v,x)&&p++}),n[f])return l(t,c[1])?v[c[2]]=null:l(t,c[2])&&(v[c[1]]=null),v;if(p===m||!d)return v;if(d>=m)return h;for(var g=0;g<c.length;g++){var y=c[g];if(!s(h,y)&&s(e,y)){h[y]=e[y];break}}return h}function s(c,f){return c.hasOwnProperty(f)}function l(c,f){return c[f]!=null&&c[f]!=="auto"}function u(c,f,h){wd(c,function(d){f[d]=h[d]})}}function P0(e){return Ale({},e)}function Ale(e,t){return t&&e&&wd(wle,function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var Ele=_t(),yu=function(e){se(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.uid=zf("ec_cpt_model"),a}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ff(this),a=i?P0(r):{},o=n.getTheme();Fe(r,o.get(this.mainType)),Fe(r,this.getDefaultOption()),i&&Yl(r,a,i)},t.prototype.mergeOption=function(r,n){Fe(this.option,r,!0);var i=ff(this);i&&Yl(this.option,r,i)},t.prototype.optionUpdated=function(r,n){},t.prototype.getDefaultOption=function(){var r=this.constructor;if(!Yae(r))return r.defaultOption;var n=Ele(this);if(!n.defaultOption){for(var i=[],a=r;a;){var o=a.prototype.defaultOption;o&&i.push(o),a=a.superClass}for(var s={},l=i.length-1;l>=0;l--)s=Fe(s,i[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return $f(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(jt);q4(yu,jt);c0(yu);hle(yu);dle(yu,Ple);function Ple(e){var t=[];return O(yu.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=ve(t,function(r){return oi(r).main}),e!=="dataset"&&Ve(t,"dataset")<=0&&t.unshift("dataset"),t}const lt=yu;var uB="";typeof navigator<"u"&&(uB=navigator.platform||"");var Vs="rgba(0, 0, 0, 0.2)";const Ile={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Vs,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Vs,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Vs,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Vs,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Vs,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Vs,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:uB.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 cB=Re(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),xn="original",xr="arrayRows",_n="objectRows",_i="keyedColumns",La="typedArray",fB="unknown",ui="column",xu="row",Xt={Must:1,Might:2,Not:3},hB=_t();function Mle(e){hB(e).datasetMap=Re()}function Dle(e,t,r){var n={},i=CC(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,l=hB(s).datasetMap,u=i.uid+"_"+r.seriesLayoutBy,c,f;e=e.slice(),O(e,function(p,m){var g=we(p)?p:e[m]={name:p};g.type==="ordinal"&&c==null&&(c=m,f=v(g)),n[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});O(e,function(p,m){var g=p.name,y=v(p);if(c==null){var x=h.valueWayDim;d(n[g],x,y),d(o,x,y),h.valueWayDim+=y}else if(c===m)d(n[g],0,y),d(a,0,y);else{var x=h.categoryWayDim;d(n[g],x,y),d(o,x,y),h.categoryWayDim+=y}});function d(p,m,g){for(var y=0;y<g;y++)p.push(m+y)}function v(p){var m=p.dimsDef;return m?m.length:1}return a.length&&(n.itemName=a),o.length&&(n.seriesName=o),n}function Lle(e,t,r){var n={},i=CC(e);if(!i)return n;var a=t.sourceFormat,o=t.dimensionsDefine,s;(a===_n||a===_i)&&O(o,function(c,f){(we(c)?c.name:c)==="name"&&(s=f)});var l=function(){for(var c={},f={},h=[],d=0,v=Math.min(5,r);d<v;d++){var p=vB(t.data,a,t.seriesLayoutBy,o,t.startIndex,d);h.push(p);var m=p===Xt.Not;if(m&&c.v==null&&d!==s&&(c.v=d),(c.n==null||c.n===c.v||!m&&h[c.n]===Xt.Not)&&(c.n=d),g(c)&&h[c.n]!==Xt.Not)return c;m||(p===Xt.Might&&f.v==null&&d!==s&&(f.v=d),(f.n==null||f.n===f.v)&&(f.n=d))}function g(y){return y.v!=null&&y.n!=null}return g(c)?c:g(f)?f:null}();if(l){n.value=[l.v];var u=s??l.n;n.itemName=[u],n.seriesName=[u]}return n}function CC(e){var t=e.get("data",!0);if(!t)return $f(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},gr).models[0]}function Rle(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:$f(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},gr).models}function dB(e,t){return vB(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function vB(e,t,r,n,i,a){var o,s=5;if(Xr(e))return Xt.Not;var l,u;if(n){var c=n[a];we(c)?(l=c.name,u=c.type):be(c)&&(l=c)}if(u!=null)return u==="ordinal"?Xt.Must:Xt.Not;if(t===xr){var f=e;if(r===xu){for(var h=f[a],d=0;d<(h||[]).length&&d<s;d++)if((o=_(h[i+d]))!=null)return o}else for(var d=0;d<f.length&&d<s;d++){var v=f[i+d];if(v&&(o=_(v[a]))!=null)return o}}else if(t===_n){var p=e;if(!l)return Xt.Not;for(var d=0;d<p.length&&d<s;d++){var m=p[d];if(m&&(o=_(m[l]))!=null)return o}}else if(t===_i){var g=e;if(!l)return Xt.Not;var h=g[l];if(!h||Xr(h))return Xt.Not;for(var d=0;d<h.length&&d<s;d++)if((o=_(h[d]))!=null)return o}else if(t===xn)for(var y=e,d=0;d<y.length&&d<s;d++){var m=y[d],x=Ff(m);if(!de(x))return Xt.Not;if((o=_(x[a]))!=null)return o}function _(b){var C=be(b);if(b!=null&&isFinite(b)&&b!=="")return C?Xt.Might:Xt.Not;if(C&&b!=="-")return Xt.Must}return Xt.Not}var d_=Re();function Ole(e,t){di(d_.get(e)==null&&t),d_.set(e,t)}function kle(e,t,r){var n=d_.get(t);if(!n)return r;var i=n(e);return i?r.concat(i):r}var RE=_t();_t();var SC=function(){function e(){}return e.prototype.getColorFromPalette=function(t,r,n){var i=Rt(this.get("color",!0)),a=this.get("colorLayer",!0);return Ble(this,RE,i,a,t,r,n)},e.prototype.clearColorPalette=function(){Fle(this,RE)},e}();function Nle(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n].length>t)return e[n];return e[r-1]}function Ble(e,t,r,n,i,a,o){a=a||e;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=o==null||!n?r:Nle(n,o);if(c=c||r,!(!c||!c.length)){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function Fle(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Rh,Nu,OE,kE="\0_ec_inner",$le=1,pB=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new jt(a),this._locale=new jt(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){var a=FE(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,FE(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?OE(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var l=a.getMediaOption(this);l.length&&O(l,function(u){i=!0,this._mergeOption(u,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=Re(),u=n&&n.replaceMergeMainTypeMap;Mle(this),O(r,function(f,h){f!=null&&(lt.hasClass(h)?h&&(s.push(h),l.set(h,!0)):i[h]=i[h]==null?Ne(f):Fe(i[h],f,!0))}),u&&u.each(function(f,h){lt.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),lt.topologicalTravel(s,lt.getAllClassMainTypes(),c,this);function c(f){var h=kle(this,f,Rt(r[f])),d=a.get(f),v=d?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",p=Lae(d,h,v);Hae(p,f,lt),i[f]=null,a.set(f,null),o.set(f,0);var m=[],g=[],y=0,x;O(p,function(_,b){var C=_.existing,S=_.newOption;if(!S)C&&(C.mergeOption({},this),C.optionUpdated({},!1));else{var w=f==="series",E=lt.getClass(f,_.keyInfo.subType,!w);if(!E)return;if(f==="tooltip"){if(x)return;x=!0}if(C&&C.constructor===E)C.name=_.keyInfo.name,C.mergeOption(S,this),C.optionUpdated(S,!1);else{var T=ce({componentIndex:b},_.keyInfo);C=new E(S,this,this,T),ce(C,T),_.brandNew&&(C.__requireNewView=!0),C.init(S,this,this),C.optionUpdated(null,!0)}}C?(m.push(C.option),g.push(C),y++):(m.push(void 0),g.push(void 0))},this),i[f]=m,a.set(f,g),o.set(f,y),f==="series"&&Rh(this)}this._seriesIndices||Rh(this)},t.prototype.getOption=function(){var r=Ne(this.option);return O(r,function(n,i){if(lt.hasClass(i)){for(var a=Rt(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!nf(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[kE],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o<i.length;o++)if(i[o])return i[o]}}},t.prototype.queryComponents=function(r){var n=r.mainType;if(!n)return[];var i=r.index,a=r.id,o=r.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var l;return i!=null?(l=[],O(Rt(i),function(u){s[u]&&l.push(s[u])})):a!=null?l=NE("id",a,s):o!=null?l=NE("name",o,s):l=Dt(s,function(u){return!!u}),BE(l,r)},t.prototype.findComponents=function(r){var n=r.query,i=r.mainType,a=s(n),o=a?this.queryComponents(a):Dt(this._componentsMap.get(i),function(u){return!!u});return l(BE(o,r));function s(u){var c=i+"Index",f=i+"Id",h=i+"Name";return u&&(u[c]!=null||u[f]!=null||u[h]!=null)?{mainType:i,index:u[c],id:u[f],name:u[h]}:null}function l(u){return r.filter?Dt(u,r.filter):u}},t.prototype.eachComponent=function(r,n,i){var a=this._componentsMap;if(Ie(r)){var o=n,s=r;a.each(function(f,h){for(var d=0;f&&d<f.length;d++){var v=f[d];v&&s.call(o,h,v,v.componentIndex)}})}else for(var l=be(r)?a.get(r):we(r)?this.findComponents(r):null,u=0;l&&u<l.length;u++){var c=l[u];c&&n.call(i,c,c.componentIndex)}},t.prototype.getSeriesByName=function(r){var n=li(r,null);return Dt(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},t.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},t.prototype.getSeriesByType=function(r){return Dt(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},t.prototype.getSeries=function(){return Dt(this._componentsMap.get("series"),function(r){return!!r})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(r,n){Nu(this),O(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];r.call(n,a,i)},this)},t.prototype.eachRawSeries=function(r,n){O(this._componentsMap.get("series"),function(i){i&&r.call(n,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(r,n,i){Nu(this),O(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===r&&n.call(i,o,a)},this)},t.prototype.eachRawSeriesByType=function(r,n,i){return O(this.getSeriesByType(r),n,i)},t.prototype.isSeriesFiltered=function(r){return Nu(this),this._seriesIndicesMap.get(r.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(r,n){Nu(this);var i=[];O(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];r.call(n,o,a)&&i.push(a)},this),this._seriesIndices=i,this._seriesIndicesMap=Re(i)},t.prototype.restoreData=function(r){Rh(this);var n=this._componentsMap,i=[];n.each(function(a,o){lt.hasClass(o)&&i.push(o)}),lt.topologicalTravel(i,lt.getAllClassMainTypes(),function(a){O(n.get(a),function(o){o&&(a!=="series"||!Hle(o,r))&&o.restoreData()})})},t.internalField=function(){Rh=function(r){var n=r._seriesIndices=[];O(r._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),r._seriesIndicesMap=Re(n)},Nu=function(r){},OE=function(r,n){r.option={},r.option[kE]=$le,r._componentsMap=Re({series:[]}),r._componentsCount=Re();var i=n.aria;we(i)&&i.enabled==null&&(i.enabled=!0),zle(n,r._theme.option),Fe(n,Ile,!1),r._mergeOption(n,null)}}(),t}(jt);function Hle(e,t){if(t){var r=t.seriesIndex,n=t.seriesId,i=t.seriesName;return r!=null&&e.componentIndex!==r||n!=null&&e.id!==n||i!=null&&e.name!==i}}function zle(e,t){var r=e.color&&!e.colorLayer;O(t,function(n,i){i==="colorLayer"&&r||lt.hasClass(i)||(typeof n=="object"?e[i]=e[i]?Fe(e[i],n,!1):Ne(n):e[i]==null&&(e[i]=n))})}function NE(e,t,r){if(de(t)){var n=Re();return O(t,function(a){if(a!=null){var o=li(a,null);o!=null&&n.set(a,!0)}}),Dt(r,function(a){return a&&n.get(a[e])})}else{var i=li(t,null);return Dt(r,function(a){return a&&i!=null&&a[e]===i})}}function BE(e,t){return t.hasOwnProperty("subType")?Dt(e,function(r){return r&&r.subType===t.subType}):e}function FE(e){var t=Re();return e&&O(Rt(e.replaceMerge),function(r){t.set(r,!0)}),{replaceMergeMainTypeMap:t}}$n(pB,SC);const gB=pB;var Wle=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Vle=function(){function e(t){O(Wle,function(r){this[r]=it(t[r],t)},this)}return e}();const mB=Vle;var Am={},Ule=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,r){var n=[];O(Am,function(i,a){var o=i.create(t,r);n=n.concat(o||[])}),this._coordinateSystems=n},e.prototype.update=function(t,r){O(this._coordinateSystems,function(n){n.update&&n.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,r){Am[t]=r},e.get=function(t){return Am[t]},e}();const wC=Ule;var Gle=/^(min|max)?(.+)$/,jle=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,r,n){t&&(O(Rt(t.series),function(o){o&&o.data&&Xr(o.data)&&Nv(o.data)}),O(Rt(t.dataset),function(o){o&&o.source&&Xr(o.source)&&Nv(o.source)})),t=Ne(t);var i=this._optionBackup,a=qle(t,r,!i);this._newBaseOption=a.baseOption,i?(a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},e.prototype.mountOption=function(t){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],Ne(t?r.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var r,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(r=Ne(n[i.getCurrentIndex()]))}return r},e.prototype.getMediaOption=function(t){var r=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!i.length&&!a)return s;for(var l=0,u=i.length;l<u;l++)Yle(i[l].query,r,n)&&o.push(l);return!o.length&&a&&(o=[-1]),o.length&&!Kle(o,this._currentMediaIndices)&&(s=ve(o,function(c){return Ne(c===-1?a.option:i[c].option)})),this._currentMediaIndices=o,s},e}();function qle(e,t,r){var n=[],i,a,o=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,f=!!(l||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((f||c)&&(e.options=e.media=null),a=e),c&&de(u)&&O(u,function(d){d&&d.option&&(d.query?n.push(d):i||(i=d))}),h(a),O(l,function(d){return h(d)}),O(n,function(d){return h(d.option)});function h(d){O(t,function(v){v(d,r)})}return{baseOption:a,timelineOptions:l||[],mediaDefault:i,mediaList:n}}function Yle(e,t,r){var n={width:t,height:r,aspectratio:t/r},i=!0;return O(e,function(a,o){var s=o.match(Gle);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();Xle(n[u],a,l)||(i=!1)}}),i}function Xle(e,t,r){return r==="min"?e>=t:r==="max"?e<=t:e===t}function Kle(e,t){return e.join(",")===t.join(",")}const Zle=jle;var Cn=O,hf=we,$E=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Em(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=$E.length;r<n;r++){var i=$E[r],a=t.normal,o=t.emphasis;a&&a[i]&&(e[i]=e[i]||{},e[i].normal?Fe(e[i].normal,a[i]):e[i].normal=a[i],a[i]=null),o&&o[i]&&(e[i]=e[i]||{},e[i].emphasis?Fe(e[i].emphasis,o[i]):e[i].emphasis=o[i],o[i]=null)}}function or(e,t,r){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,i=e[t].emphasis;n&&(r?(e[t].normal=e[t].emphasis=null,De(e[t],n)):e[t]=n),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function sc(e){or(e,"itemStyle"),or(e,"lineStyle"),or(e,"areaStyle"),or(e,"label"),or(e,"labelLine"),or(e,"upperLabel"),or(e,"edgeLabel")}function Mt(e,t){var r=hf(e)&&e[t],n=hf(r)&&r.textStyle;if(n)for(var i=0,a=HA.length;i<a;i++){var o=HA[i];n.hasOwnProperty(o)&&(r[o]=n[o])}}function an(e){e&&(sc(e),Mt(e,"label"),e.emphasis&&Mt(e.emphasis,"label"))}function Qle(e){if(hf(e)){Em(e),sc(e),Mt(e,"label"),Mt(e,"upperLabel"),Mt(e,"edgeLabel"),e.emphasis&&(Mt(e.emphasis,"label"),Mt(e.emphasis,"upperLabel"),Mt(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(Em(t),an(t));var r=e.markLine;r&&(Em(r),an(r));var n=e.markArea;n&&an(n);var i=e.data;if(e.type==="graph"){i=i||e.nodes;var a=e.links||e.edges;if(a&&!Xr(a))for(var o=0;o<a.length;o++)an(a[o]);O(e.categories,function(u){sc(u)})}if(i&&!Xr(i))for(var o=0;o<i.length;o++)an(i[o]);if(t=e.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)an(s[o]);if(r=e.markLine,r&&r.data)for(var l=r.data,o=0;o<l.length;o++)de(l[o])?(an(l[o][0]),an(l[o][1])):an(l[o]);e.type==="gauge"?(Mt(e,"axisLabel"),Mt(e,"title"),Mt(e,"detail")):e.type==="treemap"?(or(e.breadcrumb,"itemStyle"),O(e.levels,function(u){sc(u)})):e.type==="tree"&&sc(e.leaves)}}function Ai(e){return de(e)?e:e?[e]:[]}function HE(e){return(de(e)?e[0]:e)||{}}function Jle(e,t){Cn(Ai(e.series),function(n){hf(n)&&Qle(n)});var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),Cn(r,function(n){Cn(Ai(e[n]),function(i){i&&(Mt(i,"axisLabel"),Mt(i.axisPointer,"label"))})}),Cn(Ai(e.parallel),function(n){var i=n&&n.parallelAxisDefault;Mt(i,"axisLabel"),Mt(i&&i.axisPointer,"label")}),Cn(Ai(e.calendar),function(n){or(n,"itemStyle"),Mt(n,"dayLabel"),Mt(n,"monthLabel"),Mt(n,"yearLabel")}),Cn(Ai(e.radar),function(n){Mt(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap)}),Cn(Ai(e.geo),function(n){hf(n)&&(an(n),Cn(Ai(n.regions),function(i){an(i)}))}),Cn(Ai(e.timeline),function(n){an(n),or(n,"label"),or(n,"itemStyle"),or(n,"controlStyle",!0);var i=n.data;de(i)&&O(i,function(a){we(a)&&(or(a,"label"),or(a,"itemStyle"))})}),Cn(Ai(e.toolbox),function(n){or(n,"iconStyle"),Cn(n.feature,function(i){or(i,"iconStyle")})}),Mt(HE(e.axisPointer),"label"),Mt(HE(e.tooltip).axisPointer,"label")}function eue(e,t){for(var r=t.split(","),n=e,i=0;i<r.length&&(n=n&&n[r[i]],n!=null);i++);return n}function tue(e,t,r,n){for(var i=t.split(","),a=e,o,s=0;s<i.length-1;s++)o=i[s],a[o]==null&&(a[o]={}),a=a[o];(n||a[i[s]]==null)&&(a[i[s]]=r)}function zE(e){e&&O(rue,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var rue=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],nue=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Pm=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Bu(e){var t=e&&e.itemStyle;if(t)for(var r=0;r<Pm.length;r++){var n=Pm[r][1],i=Pm[r][0];t[n]!=null&&(t[i]=t[n])}}function WE(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function VE(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function iue(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function yB(e,t){if(e)for(var r=0;r<e.length;r++)t(e[r]),e[r]&&yB(e[r].children,t)}function xB(e,t){Jle(e,t),e.series=Rt(e.series),O(e.series,function(r){if(we(r)){var n=r.type;if(n==="line")r.clipOverflow!=null&&(r.clip=r.clipOverflow);else if(n==="pie"||n==="gauge"){r.clockWise!=null&&(r.clockwise=r.clockWise),WE(r.label);var i=r.data;if(i&&!Xr(i))for(var a=0;a<i.length;a++)WE(i[a]);r.hoverOffset!=null&&(r.emphasis=r.emphasis||{},(r.emphasis.scaleSize=null)&&(r.emphasis.scaleSize=r.hoverOffset))}else if(n==="gauge"){var o=eue(r,"pointer.color");o!=null&&tue(r,"itemStyle.color",o)}else if(n==="bar"){Bu(r),Bu(r.backgroundStyle),Bu(r.emphasis);var i=r.data;if(i&&!Xr(i))for(var a=0;a<i.length;a++)typeof i[a]=="object"&&(Bu(i[a]),Bu(i[a]&&i[a].emphasis))}else if(n==="sunburst"){var s=r.highlightPolicy;s&&(r.emphasis=r.emphasis||{},r.emphasis.focus||(r.emphasis.focus=s)),VE(r),yB(r.data,VE)}else n==="graph"||n==="sankey"?iue(r):n==="map"&&(r.mapType&&!r.map&&(r.map=r.mapType),r.mapLocation&&De(r,r.mapLocation));r.hoverAnimation!=null&&(r.emphasis=r.emphasis||{},r.emphasis&&r.emphasis.scale==null&&(r.emphasis.scale=r.hoverAnimation)),zE(r)}}),e.dataRange&&(e.visualMap=e.dataRange),O(nue,function(r){var n=e[r];n&&(de(n)||(n=[n]),O(n,function(i){zE(i)}))})}function aue(e){var t=Re();e.eachSeries(function(r){var n=r.get("stack");if(n){var i=t.get(n)||t.set(n,[]),a=r.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:r};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),t.each(oue)}function oue(e){O(e,function(t,r){var n=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(u,c,f){var h=o.get(t.stackedDimension,f);if(isNaN(h))return i;var d,v;s?v=o.getRawIndex(f):d=o.get(t.stackedByDimension,f);for(var p=NaN,m=r-1;m>=0;m--){var g=e[m];if(s||(v=g.data.rawIndexOf(g.stackedByDimension,d)),v>=0){var y=g.data.getByRawIndex(g.stackResultDimension,v);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&h>=0&&y>0||l==="samesign"&&h<=0&&y<0){h=Pae(h,y),p=y;break}}}return n[0]=h,n[1]=p,n})})}var I0=function(){function e(t){this.data=t.data||(t.sourceFormat===_i?{}:[]),this.sourceFormat=t.sourceFormat||fB,this.seriesLayoutBy=t.seriesLayoutBy||ui,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;n<r.length;n++){var i=r[n];i.type==null&&dB(this,n)===Xt.Must&&(i.type="ordinal")}}return e}();function TC(e){return e instanceof I0}function v_(e,t,r){r=r||_B(e);var n=t.seriesLayoutBy,i=lue(e,r,n,t.sourceHeader,t.dimensions),a=new I0({data:e,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Ne(t)});return a}function AC(e){return new I0({data:e,sourceFormat:Xr(e)?La:xn})}function sue(e){return new I0({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:Ne(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function _B(e){var t=fB;if(Xr(e))t=La;else if(de(e)){e.length===0&&(t=xr);for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i!=null){if(de(i)){t=xr;break}else if(we(i)){t=_n;break}}}}else if(we(e)){for(var a in e)if(Vi(e,a)&&yr(e[a])){t=_i;break}}return t}function lue(e,t,r,n,i){var a,o;if(!e)return{dimensionsDefine:UE(i),startIndex:o,dimensionsDetectedCount:a};if(t===xr){var s=e;n==="auto"||n==null?GE(function(u){u!=null&&u!=="-"&&(be(u)?o==null&&(o=1):o=0)},r,s,10):o=tt(n)?n:n?1:0,!i&&o===1&&(i=[],GE(function(u,c){i[c]=u!=null?u+"":""},r,s,1/0)),a=i?i.length:r===xu?s.length:s[0]?s[0].length:null}else if(t===_n)i||(i=uue(e));else if(t===_i)i||(i=[],O(e,function(u,c){i.push(c)}));else if(t===xn){var l=Ff(e[0]);a=de(l)&&l.length||1}return{startIndex:o,dimensionsDefine:UE(i),dimensionsDetectedCount:a}}function uue(e){for(var t=0,r;t<e.length&&!(r=e[t++]););if(r){var n=[];return O(r,function(i,a){n.push(a)}),n}}function UE(e){if(e){var t=Re();return ve(e,function(r,n){r=we(r)?r:{name:r};var i={name:r.name,displayName:r.displayName,type:r.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var a=t.get(i.name);return a?i.name+="-"+a.count++:t.set(i.name,{count:1}),i})}}function GE(e,t,r,n){if(t===xu)for(var i=0;i<r.length&&i<n;i++)e(r[i]?r[i][0]:null,i);else for(var a=r[0]||[],i=0;i<a.length&&i<n;i++)e(a[i],i)}function bB(e){var t=e.sourceFormat;return t===_n||t===_i}var yo,xo,_o,jE,qE,CB=function(){function e(t,r){var n=TC(t)?t:AC(t);this._source=n;var i=this._data=n.data;n.sourceFormat===La&&(this._offset=0,this._dimSize=r,this._data=i),qE(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,r){},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;qE=function(o,s,l){var u=l.sourceFormat,c=l.seriesLayoutBy,f=l.startIndex,h=l.dimensionsDefine,d=jE[EC(u,c)];if(ce(o,d),u===La)o.getItem=r,o.count=i,o.fillStorage=n;else{var v=SB(u,c);o.getItem=it(v,null,s,f,h);var p=wB(u,c);o.count=it(p,null,s,f,h)}};var r=function(o,s){o=o-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,c=u*o,f=0;f<u;f++)s[f]=l[c+f];return s},n=function(o,s,l,u){for(var c=this._data,f=this._dimSize,h=0;h<f;h++){for(var d=u[h],v=d[0]==null?1/0:d[0],p=d[1]==null?-1/0:d[1],m=s-o,g=l[h],y=0;y<m;y++){var x=c[y*f+h];g[o+y]=x,x<v&&(v=x),x>p&&(p=x)}d[0]=v,d[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};jE=(t={},t[xr+"_"+ui]={pure:!0,appendData:a},t[xr+"_"+xu]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[_n]={pure:!0,appendData:a},t[_i]={pure:!0,appendData:function(o){var s=this._data;O(o,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[xn]={appendData:a},t[La]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),e}(),YE=function(e,t,r,n){return e[n]},cue=(yo={},yo[xr+"_"+ui]=function(e,t,r,n){return e[n+t]},yo[xr+"_"+xu]=function(e,t,r,n,i){n+=t;for(var a=i||[],o=e,s=0;s<o.length;s++){var l=o[s];a[s]=l?l[n]:null}return a},yo[_n]=YE,yo[_i]=function(e,t,r,n,i){for(var a=i||[],o=0;o<r.length;o++){var s=r[o].name,l=e[s];a[o]=l?l[n]:null}return a},yo[xn]=YE,yo);function SB(e,t){var r=cue[EC(e,t)];return r}var XE=function(e,t,r){return e.length},fue=(xo={},xo[xr+"_"+ui]=function(e,t,r){return Math.max(0,e.length-t)},xo[xr+"_"+xu]=function(e,t,r){var n=e[0];return n?Math.max(0,n.length-t):0},xo[_n]=XE,xo[_i]=function(e,t,r){var n=r[0].name,i=e[n];return i?i.length:0},xo[xn]=XE,xo);function wB(e,t){var r=fue[EC(e,t)];return r}var Im=function(e,t,r){return e[t]},hue=(_o={},_o[xr]=Im,_o[_n]=function(e,t,r){return e[r]},_o[_i]=Im,_o[xn]=function(e,t,r){var n=Ff(e);return n instanceof Array?n[t]:n},_o[La]=Im,_o);function TB(e){var t=hue[e];return t}function EC(e,t){return e===xr?e+"_"+t:e}function Xl(e,t,r){if(e){var n=e.getRawDataItem(t);if(n!=null){var i=e.getStore(),a=i.getSource().sourceFormat;if(r!=null){var o=e.getDimensionIndex(r),s=i.getDimensionProperty(o);return TB(a)(n,o,s)}else{var l=n;return a===xn&&(l=Ff(n)),l}}}}var due=/\{@(.+?)\}/g,vue=function(){function e(){}return e.prototype.getDataParams=function(t,r){var n=this.getData(r),i=this.getRawValue(t,r),a=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),u=l&&l[n.getItemVisual(t,"drawType")||"fill"],c=l&&l.stroke,f=this.mainType,h=f==="series",d=n.userOutput&&n.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:a,data:s,dataType:r,value:i,color:u,borderColor:c,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,r,n,i,a,o){r=r||"normal";var s=this.getData(n),l=this.getDataParams(t,n);if(o&&(l.value=o.interpolatedValue),i!=null&&de(l.value)&&(l.value=l.value[i]),!a){var u=s.getItemModel(t);a=u.get(r==="normal"?["label","formatter"]:[r,"label","formatter"])}if(Ie(a))return l.status=r,l.dimensionIndex=i,a(l);if(be(a)){var c=lB(a,l);return c.replace(due,function(f,h){var d=h.length,v=h;v.charAt(0)==="["&&v.charAt(d-1)==="]"&&(v=+v.slice(1,d-1));var p=Xl(s,t,v);if(o&&de(o.interpolatedValue)){var m=s.getDimensionIndex(v);m>=0&&(p=o.interpolatedValue[m])}return p!=null?p+"":""})}},e.prototype.getRawValue=function(t,r){return Xl(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function KE(e){var t,r;return we(e)?e.type&&(r=e):t=e,{text:t,frag:r}}function Nc(e){return new pue(e)}var pue=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 r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||a==="reset")&&(this._dirty=!1,f=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,v=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(f||d<v)){var p=this._progress;if(de(p))for(var m=0;m<p.length;m++)this._doProgress(p[m],d,v,l,u);else this._doProgress(p,d,v,l,u)}this._dueIndex=v;var g=this._settedOutputEnd!=null?this._settedOutputEnd:v;this._outputDueEnd=g}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,r,n,i,a){ZE.reset(r,n,i,a),this._callingProgress=t,this._callingProgress({start:r,end:n,count:n-r,next:ZE.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var r,n;!t&&this._reset&&(r=this._reset(this.context),r&&r.progress&&(n=r.forceFirstProgress,r=r.progress),de(r)&&!r.length&&(r=null)),this._progress=r,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},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}(),ZE=function(){var e,t,r,n,i,a={reset:function(l,u,c,f){t=l,e=u,r=c,n=f,i=Math.ceil(n/r),a.next=r>1&&n>0?s:o}};return a;function o(){return t<e?t++:null}function s(){var l=t%i*r+Math.ceil(t/i),u=t>=e?null:l<n?l:t;return t++,u}}();function Td(e,t){var r=t&&t.type;return r==="ordinal"?e:(r==="time"&&!tt(e)&&e!=null&&e!=="-"&&(e=+Ui(e)),e==null||e===""?NaN:+e)}var gue=Re({number:function(e){return parseFloat(e)},time:function(e){return+Ui(e)},trim:function(e){return be(e)?ai(e):e}});function AB(e){return gue.get(e)}var EB={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}},mue=function(){function e(t,r){if(!tt(r)){var n="";Ye(n)}this._opFn=EB[t],this._rvalFloat=Wa(r)}return e.prototype.evaluate=function(t){return tt(t)?this._opFn(t,this._rvalFloat):this._opFn(Wa(t),this._rvalFloat)},e}(),PB=function(){function e(t,r){var n=t==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,r){var n=tt(t)?t:Wa(t),i=tt(r)?r:Wa(r),a=isNaN(n),o=isNaN(i);if(a&&(n=this._incomparable),o&&(i=this._incomparable),a&&o){var s=be(t),l=be(r);s&&(n=l?t:0),l&&(i=s?r:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},e}(),yue=function(){function e(t,r){this._rval=r,this._isEQ=t,this._rvalTypeof=typeof r,this._rvalFloat=Wa(r)}return e.prototype.evaluate=function(t){var r=t===this._rval;if(!r){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=Wa(t)===this._rvalFloat)}return this._isEQ?r:!r},e}();function xue(e,t){return e==="eq"||e==="ne"?new yue(e==="eq",t):Vi(EB,e)?new mue(e,t):null}var _ue=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,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return Td(t,r)},e}();function bue(e,t){var r=new _ue,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==ui&&Ye(o);var s=[],l={},u=e.dimensionsDefine;if(u)O(u,function(p,m){var g=p.name,y={index:m,name:g,displayName:p.displayName};if(s.push(y),g!=null){var x="";Vi(l,g)&&Ye(x),l[g]=y}});else for(var c=0;c<e.dimensionsDetectedCount;c++)s.push({index:c});var f=SB(i,ui);t.__isBuiltIn&&(r.getRawDataItem=function(p){return f(n,a,s,p)},r.getRawData=it(Cue,null,e)),r.cloneRawData=it(Sue,null,e);var h=wB(i,ui);r.count=it(h,null,n,a,s);var d=TB(i);r.retrieveValue=function(p,m){var g=f(n,a,s,p);return v(g,m)};var v=r.retrieveValueFromItem=function(p,m){if(p!=null){var g=s[m];if(g)return d(p,m,g.name)}};return r.getDimensionInfo=it(wue,null,s,l),r.cloneAllDimensionInfo=it(Tue,null,s),r}function Cue(e){var t=e.sourceFormat;if(!PC(t)){var r="";Ye(r)}return e.data}function Sue(e){var t=e.sourceFormat,r=e.data;if(!PC(t)){var n="";Ye(n)}if(t===xr){for(var i=[],a=0,o=r.length;a<o;a++)i.push(r[a].slice());return i}else if(t===_n){for(var i=[],a=0,o=r.length;a<o;a++)i.push(ce({},r[a]));return i}}function wue(e,t,r){if(r!=null){if(tt(r)||!isNaN(r)&&!Vi(t,r))return e[r];if(Vi(t,r))return t[r]}}function Tue(e){return Ne(e)}var IB=Re();function Aue(e){e=Ne(e);var t=e.type,r="";t||Ye(r);var n=t.split(":");n.length!==2&&Ye(r);var i=!1;n[0]==="echarts"&&(t=n[1],i=!0),e.__isBuiltIn=i,IB.set(t,e)}function Eue(e,t,r){var n=Rt(e),i=n.length,a="";i||Ye(a);for(var o=0,s=i;o<s;o++){var l=n[o];t=Pue(l,t),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function Pue(e,t,r,n){var i="";t.length||Ye(i),we(e)||Ye(i);var a=e.type,o=IB.get(a);o||Ye(i);var s=ve(t,function(u){return bue(u,o)}),l=Rt(o.transform({upstream:s[0],upstreamList:s,config:Ne(e.config)}));return ve(l,function(u,c){var f="";we(u)||Ye(f),u.data||Ye(f);var h=_B(u.data);PC(h)||Ye(f);var d,v=t[0];if(v&&c===0&&!u.dimensions){var p=v.startIndex;p&&(u.data=v.data.slice(0,p).concat(u.data)),d={seriesLayoutBy:ui,sourceHeader:p,dimensions:v.metaRawOption.dimensions}}else d={seriesLayoutBy:ui,sourceHeader:0,dimensions:u.dimensions};return v_(u.data,d,null)})}function PC(e){return e===xr||e===_n}var M0="undefined",Iue=typeof Uint32Array===M0?Array:Uint32Array,Mue=typeof Uint16Array===M0?Array:Uint16Array,MB=typeof Int32Array===M0?Array:Int32Array,QE=typeof Float64Array===M0?Array:Float64Array,DB={float:QE,int:MB,ordinal:Array,number:Array,time:QE},Mm;function Fu(e){return e>65535?Iue:Mue}function Us(){return[1/0,-1/0]}function Due(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function JE(e,t,r,n,i){var a=DB[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;u<s;u++)l[u]=o[u];e[t]=l}}else e[t]=new a(n)}var p_=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Re()}return e.prototype.initData=function(t,r,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),a=this.defaultDimValueGetter=Mm[i.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[],bB(i),this._dimensions=ve(r,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,r){var n=this._calcDimNameToIdx,i=this._dimensions,a=n.get(t);if(a!=null){if(i[a].type===r)return a}else a=i.length;return i[a]={type:r},n.set(t,a),this._chunks[a]=new DB[r||"float"](this._rawCount),this._rawExtent[a]=Us(),a},e.prototype.collectOrdinalMeta=function(t,r){var n=this._chunks[t],i=this._dimensions[t],a=this._rawExtent,o=i.ordinalOffset||0,s=n.length;o===0&&(a[t]=Us());for(var l=a[t],u=o;u<s;u++){var c=n[u]=r.parseAndCollect(n[u]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}i.ordinalMeta=r,i.ordinalOffset=s,i.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var r=this._dimensions[t],n=r.ordinalMeta;return n},e.prototype.getDimensionProperty=function(t){var r=this._dimensions[t];return r&&r.property},e.prototype.appendData=function(t){var r=this._provider,n=this.count();r.appendData(t);var i=r.count();return r.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},e.prototype.appendValues=function(t,r){for(var n=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,r||0),u=0;u<a;u++){var c=i[u];JE(n,u,c.type,l,!0)}for(var f=[],h=s;h<l;h++)for(var d=h-s,v=0;v<a;v++){var c=i[v],p=Mm.arrayRows.call(this,t[d]||f,c.property,d,v);n[v][h]=p;var m=o[v];p<m[0]&&(m[0]=p),p>m[1]&&(m[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=ve(o,function(y){return y.property}),c=0;c<s;c++){var f=o[c];l[c]||(l[c]=Us()),JE(a,c,f.type,r,n)}if(i.fillStorage)i.fillStorage(t,r,a,l);else for(var h=[],d=t;d<r;d++){h=i.getItem(d,h);for(var v=0;v<s;v++){var p=a[v],m=this._dimValueGetter(h,u[v],d,v);p[d]=m;var g=l[v];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(r)]:NaN},e.prototype.getValues=function(t,r){var n=[],i=[];if(r==null){r=t,t=[];for(var a=0;a<this._dimensions.length;a++)i.push(a)}else i=t;for(var a=0,o=i.length;a<o;a++)n.push(this.get(i[a],r));return n},e.prototype.getByRawIndex=function(t,r){if(!(r>=0&&r<this._rawCount))return NaN;var n=this._chunks[t];return n?n[r]:NaN},e.prototype.getSum=function(t){var r=this._chunks[t],n=0;if(r)for(var i=0,a=this.count();i<a;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(t){var r=[];this.each([t],function(a){isNaN(a)||r.push(a)});var n=r.sort(function(a,o){return a-o}),i=this.count();return i===0?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&n<this._count&&n===t)return t;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(r[o]<t)i=o+1;else if(r[o]>t)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,n){var i=this._chunks,a=i[t],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c<f;c++){var h=this.getRawIndex(c),d=r-a[h],v=Math.abs(d);v<=n&&((v<s||v===s&&d>=0&&l<0)&&(s=v,l=d,u=0),d===l&&(o[u++]=c))}return o.length=u,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a<i;a++)t[a]=r[a]}else t=new n(r.buffer,0,i)}else{var n=Fu(this._rawCount);t=new n(this.count());for(var a=0;a<t.length;a++)t[a]=a}return t},e.prototype.filter=function(t,r){if(!this._count)return this;for(var n=this.clone(),i=n.count(),a=Fu(n._rawCount),o=new a(i),s=[],l=t.length,u=0,c=t[0],f=n._chunks,h=0;h<i;h++){var d=void 0,v=n.getRawIndex(h);if(l===0)d=r(h);else if(l===1){var p=f[c][v];d=r(p,h)}else{for(var m=0;m<l;m++)s[m]=f[t[m]][v];s[m]=h,d=r.apply(null,s)}d&&(o[u++]=v)}return u<i&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(t){var r=this.clone(),n=r._count;if(!n)return this;var i=xt(t),a=i.length;if(!a)return this;var o=r.count(),s=Fu(r._rawCount),l=new s(o),u=0,c=i[0],f=t[c][0],h=t[c][1],d=r._chunks,v=!1;if(!r._indices){var p=0;if(a===1){for(var m=d[i[0]],g=0;g<n;g++){var y=m[g];(y>=f&&y<=h||isNaN(y))&&(l[u++]=p),p++}v=!0}else if(a===2){for(var m=d[i[0]],x=d[i[1]],_=t[i[1]][0],b=t[i[1]][1],g=0;g<n;g++){var y=m[g],C=x[g];(y>=f&&y<=h||isNaN(y))&&(C>=_&&C<=b||isNaN(C))&&(l[u++]=p),p++}v=!0}}if(!v)if(a===1)for(var g=0;g<o;g++){var S=r.getRawIndex(g),y=d[i[0]][S];(y>=f&&y<=h||isNaN(y))&&(l[u++]=S)}else for(var g=0;g<o;g++){for(var w=!0,S=r.getRawIndex(g),E=0;E<a;E++){var T=i[E],y=d[T][S];(y<t[T][0]||y>t[T][1])&&(w=!1)}w&&(l[u++]=r.getRawIndex(g))}return u<o&&(r._indices=l),r._count=u,r._extent=[],r._updateGetRawIdx(),r},e.prototype.map=function(t,r){var n=this.clone(t);return this._updateDims(n,t,r),n},e.prototype.modify=function(t,r){this._updateDims(this,t,r)},e.prototype._updateDims=function(t,r,n){for(var i=t._chunks,a=[],o=r.length,s=t.count(),l=[],u=t._rawExtent,c=0;c<r.length;c++)u[r[c]]=Us();for(var f=0;f<s;f++){for(var h=t.getRawIndex(f),d=0;d<o;d++)l[d]=i[r[d]][h];l[o]=f;var v=n&&n.apply(null,l);if(v!=null){typeof v!="object"&&(a[0]=v,v=a);for(var c=0;c<v.length;c++){var p=r[c],m=v[c],g=u[p],y=i[p];y&&(y[h]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,l=Math.floor(1/r),u=this.getRawIndex(0),c,f,h,d=new(Fu(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));d[s++]=u;for(var v=1;v<o-1;v+=l){for(var p=Math.min(v+l,o-1),m=Math.min(v+l*2,o),g=(m+p)/2,y=0,x=p;x<m;x++){var _=this.getRawIndex(x),b=a[_];isNaN(b)||(y+=b)}y/=m-p;var C=v,S=Math.min(v+l,o),w=v-1,E=a[u];c=-1,h=C;for(var T=-1,A=0,x=C;x<S;x++){var _=this.getRawIndex(x),b=a[_];if(isNaN(b)){A++,T<0&&(T=_);continue}f=Math.abs((w-g)*(b-E)-(w-x)*(y-E)),f>c&&(c=f,h=_)}A>0&&A<S-C&&(d[s++]=Math.min(T,h),h=Math.max(T,h)),d[s++]=h,u=h}return d[s++]=this.getRawIndex(o-1),n._count=s,n._indices=d,n.getRawIndex=this._getRawIdx,n},e.prototype.downSample=function(t,r,n,i){for(var a=this.clone([t],!0),o=a._chunks,s=[],l=Math.floor(1/r),u=o[t],c=this.count(),f=a._rawExtent[t]=Us(),h=new(Fu(this._rawCount))(Math.ceil(c/l)),d=0,v=0;v<c;v+=l){l>c-v&&(l=c-v,s.length=l);for(var p=0;p<l;p++){var m=this.getRawIndex(v+p);s[p]=u[m]}var g=n(s),y=this.getRawIndex(Math.min(v+i(s,g)||0,c-1));u[y]=g,g<f[0]&&(f[0]=g),g>f[1]&&(f[1]=g),h[d++]=y}return a._count=d,a._indices=h,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();a<o;a++){var s=this.getRawIndex(a);switch(n){case 0:r(a);break;case 1:r(i[t[0]][s],a);break;case 2:r(i[t[0]][s],i[t[1]][s],a);break;default:for(var l=0,u=[];l<n;l++)u[l]=i[t[l]][s];u[l]=a,r.apply(null,u)}}},e.prototype.getDataExtent=function(t){var r=this._chunks[t],n=Us();if(!r)return n;var i=this.count(),a=!this._indices,o;if(a)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=n;for(var s=o[0],l=o[1],u=0;u<i;u++){var c=this.getRawIndex(u),f=r[c];f<s&&(s=f),f>l&&(l=f)}return o=[s,l],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a<i.length;a++)n.push(i[a][r]);return n},e.prototype.clone=function(t,r){var n=new e,i=this._chunks,a=t&&$a(t,function(s,l){return s[l]=!0,s},{});if(a)for(var o=0;o<i.length;o++)n._chunks[o]=a[o]?Due(i[o]):i[o];else n._chunks=i;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Ne(this._extent),t._rawExtent=Ne(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,r=void 0;if(t===Array){var n=this._indices.length;r=new t(n);for(var i=0;i<n;i++)r[i]=this._indices[i]}else r=new t(this._indices);return r}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(r,n,i,a){return Td(r[a],this._dimensions[a])}Mm={arrayRows:t,objectRows:function(r,n,i,a){return Td(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return Td(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),e}(),LB=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,r){this._sourceList=t,this._upstreamSignList=r,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,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Oh(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var c=r[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,a=[c._getVersionSign()]}else s=o.get("data",!0),l=Xr(s)?La:xn,a=[];var f=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},d=Ue(f.seriesLayoutBy,h.seriesLayoutBy)||null,v=Ue(f.sourceHeader,h.sourceHeader),p=Ue(f.dimensions,h.dimensions),m=d!==h.seriesLayoutBy||!!v!=!!h.sourceHeader||p;i=m?[v_(s,{seriesLayoutBy:d,sourceHeader:v,dimensions:p},l)]:[]}else{var g=t;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var x=g.get("source",!0);i=[v_(x,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&tP(a)}var o,s=[],l=[];return O(t,function(u){u.prepareSource();var c=u.getSource(i||0),f="";i!=null&&!c&&tP(f),s.push(c),l.push(u._getVersionSign())}),n?o=Eue(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[sue(s[0])]),{sourceList:o,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r<t.length;r++){var n=t[r];if(n._isDirty()||this._upstreamSignList[r]!==n._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var r=this._sourceList[t];if(!r){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return r},e.prototype.getSharedDataStore=function(t){var r=t.makeStoreSchema();return this._innerGetDataStore(r.dimensions,t.source,r.hash)},e.prototype._innerGetDataStore=function(t,r,n){var i=0,a=this._storeList,o=a[i];o||(o=a[i]={});var s=o[n];if(!s){var l=this._getUpstreamSourceManagers()[0];Oh(this._sourceHost)&&l?s=l._innerGetDataStore(t,r,n):(s=new p_,s.initData(new CB(r,t.length),t)),o[n]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Oh(t)){var r=CC(t);return r?[r.getSourceManager()]:[]}else return ve(Rle(t),function(n){return n.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,r,n,i;if(Oh(t))r=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var a=t;r=a.get("seriesLayoutBy",!0),n=a.get("sourceHeader",!0),i=a.get("dimensions",!0)}return{seriesLayoutBy:r,sourceHeader:n,dimensions:i}},e}();function eP(e){var t=e.option.transform;t&&Nv(e.option.transform)}function Oh(e){return e.mainType==="series"}function tP(e){throw new Error(e)}var RB="line-height:1";function OB(e,t){var r=e.color||"#6e7079",n=e.fontSize||12,i=e.fontWeight||"400",a=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+ln(n+"")+"px;color:"+ln(r)+";font-weight:"+ln(i+""),valueStyle:"font-size:"+ln(o+"")+"px;color:"+ln(a)+";font-weight:"+ln(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var Lue=[0,10,20,30],Rue=["",`
`,`
`,`
`];function ls(e,t){return t.type=e,t}function g_(e){return e.type==="section"}function kB(e){return g_(e)?Oue:kue}function NB(e){if(g_(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return O(e.blocks,function(i){var a=NB(i);a>=t&&(t=a+ +(n&&(!a||g_(i)&&!i.noHeader)))}),t}return 0}function Oue(e,t,r,n){var i=t.noHeader,a=Nue(NB(t)),o=[],s=t.blocks||[];di(!s||de(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Vi(u,l)){var c=new PB(u[l],null);s.sort(function(v,p){return c.evaluate(v.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}O(s,function(v,p){var m=t.valueFormatter,g=kB(v)(m?ce(ce({},e),{valueFormatter:m}):e,v,p>0?a.html:0,n);g!=null&&o.push(g)});var f=e.renderMode==="richText"?o.join(a.richText):m_(o.join(""),i?r:a.html);if(i)return f;var h=h_(t.header,"ordinal",e.useUTC),d=OB(n,e.renderMode).nameStyle;return e.renderMode==="richText"?BB(e,h,d)+a.richText+f:m_('<div style="'+d+";"+RB+';">'+ln(h)+"</div>"+f,r)}function kue(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(_){return _=de(_)?_:[_],ve(_,function(b,C){return h_(b,de(d)?d[C]:d,u)})};if(!(a&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=a?"":h_(l,"ordinal",u),d=t.valueType,v=o?[]:c(t.value),p=!s||!a,m=!s&&a,g=OB(n,i),y=g.nameStyle,x=g.valueStyle;return i==="richText"?(s?"":f)+(a?"":BB(e,h,y))+(o?"":$ue(e,v,p,m,x)):m_((s?"":f)+(a?"":Bue(h,!s,y))+(o?"":Fue(v,p,m,x)),r)}}function rP(e,t,r,n,i,a){if(e){var o=kB(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function Nue(e){return{html:Lue[e],richText:Rue[e]}}function m_(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+RB+';">'+e+r+"</div>"}function Bue(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+ln(e)+"</span>"}function Fue(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=de(e)?e:[e],'<span style="'+a+";"+n+'">'+ve(e,function(o){return ln(o)}).join("&nbsp;&nbsp;")+"</span>"}function BB(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function $ue(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(de(t)?t.join(" "):t,a)}function FB(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return ss(n)}function $B(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var Dm=function(){function e(){this.richTextStyles={},this._nextStyleNameId=H4()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=Sle({color:r,type:t,renderMode:n,markerId:i});return be(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};de(r)?O(r,function(a){return ce(n,a)}):ce(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function Hue(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=de(s),u=FB(t,r),c,f,h,d;if(o>1||l&&!o){var v=zue(s,t,r,a,u);c=v.inlineValues,f=v.inlineValueTypes,h=v.blocks,d=v.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);d=c=Xl(i,r,a[0]),f=p.type}else d=c=l?s[0]:s;var m=tC(t),g=m&&t.name||"",y=i.getName(r),x=n?g:y;return ls("section",{header:g,noHeader:n||!m,sortParam:d,blocks:[ls("nameValue",{markerType:"item",markerColor:u,name:x,noName:!ai(x),value:c,valueType:f})].concat(h||[])})}function zue(e,t,r,n,i){var a=t.getData(),o=$a(e,function(f,h,d){var v=a.getDimensionInfo(d);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?O(n,function(f){c(Xl(a,r,f),f)}):O(e,c);function c(f,h){var d=a.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(o?u.push(ls("nameValue",{markerType:"subItem",markerColor:i,name:d.displayName,value:f,valueType:d.type})):(s.push(f),l.push(d.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var oa=_t();function kh(e,t){return e.getName(t)||e.getId(t)}var Ad="__universalTransitionEnabled",D0=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Nc({count:Vue,reset:Uue}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=oa(this).sourceManager=new LB(this);a.prepareSource();var o=this.getInitialData(r,i);iP(o,this),this.dataTask.context.data=o,oa(this).dataBeforeProcessed=o,nP(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ff(this),a=i?P0(r):{},o=this.subType;lt.hasClass(o)&&(o+="Series"),Fe(r,n.getTheme().get(this.subType)),Fe(r,this.getDefaultOption()),Zx(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&Yl(r,a,i)},t.prototype.mergeOption=function(r,n){r=Fe(this.option,r,!0),this.fillDataTextStyle(r.data);var i=ff(this);i&&Yl(this.option,r,i);var a=oa(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);iP(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,oa(this).dataBeforeProcessed=o,nP(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Xr(r))for(var n=["show"],i=0;i<r.length;i++)r[i]&&r[i].label&&Zx(r[i],"label",n)},t.prototype.getInitialData=function(r,n){},t.prototype.appendData=function(r){var n=this.getRawData();n.appendData(r.data)},t.prototype.getData=function(r){var n=y_(this);if(n){var i=n.context.data;return r==null?i:i.getLinkedData(r)}else return oa(this).data},t.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},t.prototype.setData=function(r){var n=y_(this);if(n){var i=n.context;i.outputData=r,n!==this.dataTask&&(i.data=r)}oa(this).data=r},t.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return Re(r)},t.prototype.getSourceManager=function(){return oa(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return oa(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var r=this.get("colorBy");return r||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},t.prototype.formatTooltip=function(r,n,i){return Hue({series:this,dataIndex:r,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(ze.node&&!(r&&r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=SC.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<r.length;s++){var l=r[s],u=kh(o,l);i[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(r,n){for(var i=[],a=0;a<r.length;a++)i[0]=r[a],this.isSelected(r[a],n)?this.unselect(i,n):this.select(i,n)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var r=this._selectedDataIndicesMap,n=xt(r),i=[],a=0;a<n.length;a++){var o=r[n[a]];o>=0&&i.push(o)}return i},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[kh(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Ad])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){we(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c<l;c++){var f=n[c],h=kh(r,f);u[h]=!0,this._selectedDataIndicesMap[h]=r.getRawIndex(f)}}else if(s==="single"||s===!0){var d=n[l-1],h=kh(r,d);o.selectedMap=(i={},i[h]=!0,i),this._selectedDataIndicesMap=(a={},a[h]=r.getRawIndex(d),a)}}},t.prototype._initSelectedMapFromData=function(r){if(!this.option.selectedMap){var n=[];r.hasItemOption&&r.each(function(i){var a=r.getRawDataItem(i);a&&a.selected&&n.push(i)}),n.length>0&&this._innerSelect(r,n)}},t.registerClass=function(r){return lt.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(lt);$n(D0,vue);$n(D0,SC);q4(D0,lt);function nP(e){var t=e.name;tC(e)||(e.name=Wue(e)||t)}function Wue(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return O(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function Vue(e){return e.model.getRawData().count()}function Uue(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Gue}function Gue(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function iP(e,t){O(eie(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,et(jue,t))})}function jue(e,t){var r=y_(e);return r&&r.setOutputEnd((t||this).count()),t}function y_(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}const kn=D0;var IC=function(){function e(){this.group=new pt,this.uid=zf("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e}();nC(IC);c0(IC);const Kr=IC;function MC(){var e=_t();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var HB=_t(),que=MC(),DC=function(){function e(){this.group=new pt,this.uid=zf("viewChart"),this.renderTask=Nc({plan:Yue,reset:Xue}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&oP(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&oP(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateLayout=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){x0(this.group,t)},e.markUpdateMethod=function(t,r){HB(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function aP(e,t,r){e&&o_(e)&&(t==="emphasis"?jl:ql)(e,r)}function oP(e,t,r){var n=os(e,t),i=t&&t.highlightKey!=null?use(t.highlightKey):null;n!=null?O(Rt(n),function(a){aP(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){aP(a,r,i)})}nC(DC);c0(DC);function Yue(e){return que(e.model)}function Xue(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&HB(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,r,n,i),Kue[l]}var Kue={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)}}};const Rr=DC;var Kv="\0__throttleOriginMethod",sP="\0__throttleRate",lP="\0__throttleType";function LC(e,t,r){var n,i=0,a=0,o=null,s,l,u,c;t=t||0;function f(){a=new Date().getTime(),o=null,e.apply(l,u||[])}var h=function(){for(var d=[],v=0;v<arguments.length;v++)d[v]=arguments[v];n=new Date().getTime(),l=this,u=d;var p=c||t,m=c||r;c=null,s=n-(m?i:a)-p,clearTimeout(o),m?o=setTimeout(f,p):s>=0?f():o=setTimeout(f,-s),i=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(d){c=d},h}function zB(e,t,r,n){var i=e[t];if(i){var a=i[Kv]||i,o=i[lP],s=i[sP];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=LC(a,r,n==="debounce"),i[Kv]=a,i[lP]=n,i[sP]=r}return i}}function x_(e,t){var r=e[t];r&&r[Kv]&&(r.clear&&r.clear(),e[t]=r[Kv])}var uP=_t(),cP={itemStyle:af(XN,!0),lineStyle:af(YN,!0)},Zue={lineStyle:"stroke",itemStyle:"fill"};function WB(e,t){var r=e.visualStyleMapper||cP[t];return r||(console.warn("Unknown style type '"+t+"'."),cP.itemStyle)}function VB(e,t){var r=e.visualDrawType||Zue[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var Que={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=WB(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=VB(e,n),u=o[l],c=Ie(u)?u:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[l]||c||f){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=h,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||Ie(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||Ie(o.stroke)?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return r.setVisual("colorFromPalette",!1),{dataEach:function(d,v){var p=e.getDataParams(v),m=ce({},o);m[l]=c(p),d.setItemVisual(v,"style",m)}}}},$u=new jt,Jue={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=WB(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){$u.option=l[n];var u=i($u),c=o.ensureUniqueItemVisual(s,"style");ce(c,u),$u.option.decal&&(o.setItemVisual(s,"decal",$u.option.decal),$u.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},ece={performRawSeries:!0,overallReset:function(e){var t=Re();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),uP(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=uP(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=VB(r,s);a.each(function(u){var c=a.getRawIndex(u);i[c]=u}),n.each(function(u){var c=i[u],f=a.getItemVisual(c,"colorFromPalette");if(f){var h=a.ensureUniqueItemVisual(c,"style"),d=n.getName(u)||u+"",v=n.count();h[l]=r.getColorFromPalette(d,o,v)}})}})}},Nh=Math.PI;function tce(e,t){t=t||{},De(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 r=new pt,n=new bt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new Et({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new bt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new cC({shape:{startAngle:-Nh/2,endAngle:-Nh/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:Nh*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Nh*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),a.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var rce=function(){function e(t,r,n,i){this._stageTaskMap=Re(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=Re();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;O(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";di(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;O(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var c=o._stageTaskMap.get(l.uid),f=c.seriesTaskMap,h=c.overallTask;if(h){var d,v=h.agentStubMap;v.each(function(m){s(i,m)&&(m.dirty(),d=!0)}),d&&h.dirty(),o.updatePayload(h,n);var p=o.getPerformArgs(h,i.block);v.each(function(m){m.perform(p)}),h.perform(p)&&(a=!0)}else f&&f.each(function(m,g){s(i,m)&&m.dirty();var y=o.getPerformArgs(m,i.block);y.skip=!l.performRawSeries&&r.isSeriesFiltered(m.context.model),o.updatePayload(m,n),m.perform(y)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=Re(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,i).each(c);function c(f){var h=f.uid,d=s.set(h,o&&o.get(h)||Nc({plan:sce,reset:lce,count:cce}));d.context={model:f,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(f,d)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||Nc({reset:nce});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=Re(),u=t.seriesType,c=t.getTargetSeries,f=!0,h=!1,d="";di(!t.createOnAllSeries,d),u?n.eachRawSeriesByType(u,v):c?c(n,i).each(v):(f=!1,O(n.getSeries(),v));function v(p){var m=p.uid,g=l.set(m,s&&s.get(m)||(h=!0,Nc({reset:ice,onDirty:oce})));g.context={model:p,overallProgress:f},g.agent=o,g.__block=f,a._pipe(p,g)}h&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},e.wrapStageHandler=function(t,r){return Ie(t)&&(t={overallReset:t,seriesType:fce(t)}),t.uid=zf("stageHandler"),r&&(t.visualType=r),t},e}();function nce(e){e.overallReset(e.ecModel,e.api,e.payload)}function ice(e){return e.overallProgress&&ace}function ace(){this.agent.dirty(),this.getDownstream().dirty()}function oce(){this.agent&&this.agent.dirty()}function sce(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function lce(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Rt(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?ve(t,function(r,n){return UB(n)}):uce}var uce=UB(0);function UB(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(n,a);else i&&i.progress&&i.progress(t,n)}}function cce(e){return e.data.count()}function fce(e){Zv=null;try{e(df,GB)}catch{}return Zv}var df={},GB={},Zv;jB(df,gB);jB(GB,mB);df.eachSeriesByType=df.eachRawSeriesByType=function(e){Zv=e};df.eachComponent=function(e){e.mainType==="series"&&e.subType&&(Zv=e.subType)};function jB(e,t){for(var r in t.prototype)e[r]=mr}const qB=rce;var fP=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const hce={color:fP,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],fP]};var hr="#B9B8CE",hP="#100C2A",Bh=function(){return{axisLine:{lineStyle:{color:hr}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},dP=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],YB={darkMode:!0,color:dP,backgroundColor:hP,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:hr}},textStyle:{color:hr},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:hr}},dataZoom:{borderColor:"#71708A",textStyle:{color:hr},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:hr}},timeline:{lineStyle:{color:hr},label:{color:hr},controlStyle:{color:hr,borderColor:hr}},calendar:{itemStyle:{color:hP},dayLabel:{color:hr},monthLabel:{color:hr},yearLabel:{color:hr}},timeAxis:Bh(),logAxis:Bh(),valueAxis:Bh(),categoryAxis:Bh(),line:{symbol:"circle"},graph:{color:dP},gauge:{title:{color:hr},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:hr},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};YB.categoryAxis.splitLine.show=!1;const dce=YB;var vce=function(){function e(){}return e.prototype.normalizeQuery=function(t){var r={},n={},i={};if(be(t)){var a=oi(t);r.mainType=a.main||null,r.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};O(t,function(l,u){for(var c=!1,f=0;f<o.length;f++){var h=o[f],d=u.lastIndexOf(h);if(d>0&&d===u.length-h.length){var v=u.slice(0,d);v!=="data"&&(r.mainType=v,r[h.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(n[u]=l,c=!0),c||(i[u]=l)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},e.prototype.filter=function(t,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=r.cptQuery,u=r.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,a,"name")&&c(u,a,"dataIndex")&&c(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,i,a));function c(f,h,d,v){return f[d]==null||h[v||d]===f[d]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),__=["symbol","symbolSize","symbolRotate","symbolOffset"],vP=__.concat(["symbolKeepAspect"]),pce={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o<__.length;o++){var s=__[o],l=e.get(s);Ie(l)?(a=!0,i[s]=l):n[s]=l}if(n.symbol=n.symbol||e.defaultSymbol,r.setVisual(ce({legendIcon:e.legendIcon||n.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},n)),t.isSeriesFiltered(e))return;var u=xt(i);function c(f,h){for(var d=e.getRawValue(h),v=e.getDataParams(h),p=0;p<u.length;p++){var m=u[p];f.setItemVisual(h,m,i[m](d,v))}}return{dataEach:a?c:null}}},gce={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var r=e.getData();function n(i,a){for(var o=i.getItemModel(a),s=0;s<vP.length;s++){var l=vP[s],u=o.getShallow(l,!0);u!=null&&i.setItemVisual(a,l,u)}}return{dataEach:r.hasItemOption?n:null}}};function mce(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r)}}function yce(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function xce(e,t){function r(n,i){var a=[];return n.eachComponent({mainType:"series",subType:e,query:i},function(o){a.push(o.seriesIndex)}),a}O([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(n){t(n[0],function(i,a,o){i=ce({},i),o.dispatchAction(ce(i,{type:n[1],seriesIndex:r(a,i)}))})})}function Gs(e,t,r,n,i){var a=e+t;r.isSilent(a)||n.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,l=o.option.selectedMap,u=i.selected,c=0;c<u.length;c++)if(u[c].seriesIndex===s){var f=o.getData(),h=os(f,i.fromActionPayload);r.trigger(a,{type:a,seriesId:o.id,name:de(h)?f.getName(h[0]):f.getName(h),selected:be(l)?l:ce({},l)})}})}function _ce(e,t,r){e.on("selectchanged",function(n){var i=r.getModel();n.isFromClick?(Gs("map","selectchanged",t,i,n),Gs("pie","selectchanged",t,i,n)):n.fromAction==="select"?(Gs("map","selected",t,i,n),Gs("pie","selected",t,i,n)):n.fromAction==="unselect"&&(Gs("map","unselected",t,i,n),Gs("pie","unselected",t,i,n))})}function lc(e,t,r){for(var n;e&&!(t(e)&&(n=e,r));)e=e.__hostTarget||e.parent;return n}var bce=Math.round(Math.random()*9),Cce=typeof Object.defineProperty=="function",Sce=function(){function e(){this._id="__ec_inner_"+bce++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return Cce?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,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}();const wce=Sce;var Tce=We.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n+a),e.lineTo(r-i,n+a),e.closePath()}}),Ace=We.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n),e.lineTo(r,n+a),e.lineTo(r-i,n),e.closePath()}}),Ece=We.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.x,n=t.y,i=t.width/5*3,a=Math.max(i,t.height),o=i/2,s=o*o/(a-o),l=n-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,f=Math.sin(u),h=Math.cos(u),d=o*.6,v=o*.7;e.moveTo(r-c,l+s),e.arc(r,l,o,Math.PI-u,Math.PI*2+u),e.bezierCurveTo(r+c-f*d,l+s+h*d,r,n-v,r,n),e.bezierCurveTo(r,n-v,r-c+f*d,l+s+h*d,r-c,l+s),e.closePath()}}),Pce=We.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,n=t.width,i=t.x,a=t.y,o=n/3*2;e.moveTo(i,a),e.lineTo(i+o,a+r),e.lineTo(i,a+r/4*3),e.lineTo(i-o,a+r),e.lineTo(i,a),e.closePath()}}),Ice={line:qi,rect:bt,roundRect:bt,square:bt,circle:Hf,diamond:Ace,pin:Ece,arrow:Pce,triangle:Tce},Mce={line:function(e,t,r,n,i){i.x1=e,i.y1=t+n/2,i.x2=e+r,i.y2=t+n/2},rect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n},roundRect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(e,t,r,n,i){var a=Math.min(r,n);i.x=e,i.y=t,i.width=a,i.height=a},circle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.r=Math.min(r,n)/2},diamond:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n},pin:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},arrow:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},triangle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n}},b_={};O(Ice,function(e,t){b_[t]=new e});var Dce=We.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var n=Wv(e,t,r),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(n.y=r.y+r.height*.4),n},buildPath:function(e,t,r){var n=t.symbolType;if(n!=="none"){var i=b_[n];i||(n="rect",i=b_[n]),Mce[n](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,r)}}});function Lce(e,t){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=e:r.fill=e,this.markRedraw()}}function Nn(e,t,r,n,i,a,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var l;return e.indexOf("image://")===0?l=FN(e.slice(8),new Ge(t,r,n,i),o?"center":"cover"):e.indexOf("path://")===0?l=hC(e.slice(7),{},new Ge(t,r,n,i),o?"center":"cover"):l=new Dce({shape:{symbolType:e,x:t,y:r,width:n,height:i}}),l.__isEmptyBrush=s,l.setColor=Lce,a&&l.setColor(a),l}function XB(e){return de(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function RC(e,t){if(e!=null)return de(e)||(e=[e,e]),[Pe(e[0],t[0])||0,Pe(Ue(e[1],e[0]),t[1])||0]}function $o(e){return isFinite(e)}function Rce(e,t,r){var n=t.x==null?0:t.x,i=t.x2==null?1:t.x2,a=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(n=n*r.width+r.x,i=i*r.width+r.x,a=a*r.height+r.y,o=o*r.height+r.y),n=$o(n)?n:0,i=$o(i)?i:1,a=$o(a)?a:0,o=$o(o)?o:0;var s=e.createLinearGradient(n,a,i,o);return s}function Oce(e,t,r){var n=r.width,i=r.height,a=Math.min(n,i),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,l=t.r==null?.5:t.r;t.global||(o=o*n+r.x,s=s*i+r.y,l=l*a),o=$o(o)?o:.5,s=$o(s)?s:.5,l=l>=0&&$o(l)?l:.5;var u=e.createRadialGradient(o,s,0,o,s,l);return u}function C_(e,t,r){for(var n=t.type==="radial"?Oce(e,t,r):Rce(e,t,r),i=t.colorStops,a=0;a<i.length;a++)n.addColorStop(i[a].offset,i[a].color);return n}function kce(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function Fh(e){return parseInt(e,10)}function $h(e,t,r){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(e);return(e[i]||Fh(s[n])||Fh(e.style[n]))-(Fh(s[a])||0)-(Fh(s[o])||0)|0}function Nce(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:tt(e)?[e]:de(e)?e:null}function KB(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&Nce(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=ve(r,function(a){return a/i}),n/=i)}return[r,n]}var Bce=new Gi(!0);function Qv(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function pP(e){return typeof e=="string"&&e!=="none"}function Jv(e){var t=e.fill;return t!=null&&t!=="none"}function gP(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function mP(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function S_(e,t,r){var n=Y4(t.image,t.__image,r);if(f0(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*tie),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function Fce(e,t,r,n){var i,a=Qv(r),o=Jv(r),s=r.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||Bce,f=t.__dirty;if(!n){var h=r.fill,d=r.stroke,v=o&&!!h.colorStops,p=a&&!!d.colorStops,m=o&&!!h.image,g=a&&!!d.image,y=void 0,x=void 0,_=void 0,b=void 0,C=void 0;(v||p)&&(C=t.getBoundingRect()),v&&(y=f?C_(e,h,C):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(x=f?C_(e,d,C):t.__canvasStrokeGradient,t.__canvasStrokeGradient=x),m&&(_=f||!t.__canvasFillPattern?S_(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=_),g&&(b=f||!t.__canvasStrokePattern?S_(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=_),v?e.fillStyle=y:m&&(_?e.fillStyle=_:o=!1),p?e.strokeStyle=x:g&&(b?e.strokeStyle=b:a=!1)}var S=t.getGlobalScale();c.setScale(S[0],S[1],t.segmentIgnoreThreshold);var w,E;e.setLineDash&&r.lineDash&&(i=KB(t),w=i[0],E=i[1]);var T=!0;(u||f&rl)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),T=!1),c.reset(),t.buildPath(c,t.shape,n),c.toStatic(),t.pathUpdated()),T&&c.rebuildPath(e,l?s:1),w&&(e.setLineDash(w),e.lineDashOffset=E),n||(r.strokeFirst?(a&&mP(e,r),o&&gP(e,r)):(o&&gP(e,r),a&&mP(e,r))),w&&e.setLineDash([])}function $ce(e,t,r){var n=t.__image=Y4(r.image,t.__image,t,t.onload);if(!(!n||!f0(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var u=r.sx||0,c=r.sy||0;e.drawImage(n,u,c,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var u=r.sx,c=r.sy,f=o-u,h=s-c;e.drawImage(n,u,c,f,h,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function Hce(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||as,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=KB(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(Qv(r)&&e.strokeText(i,r.x,r.y),Jv(r)&&e.fillText(i,r.x,r.y)):(Jv(r)&&e.fillText(i,r.x,r.y),Qv(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var yP=["shadowBlur","shadowOffsetX","shadowOffsetY"],xP=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function ZB(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){Mr(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?qo.opacity:o}(n||t.blend!==r.blend)&&(a||(Mr(e,i),a=!0),e.globalCompositeOperation=t.blend||qo.blend);for(var s=0;s<yP.length;s++){var l=yP[s];(n||t[l]!==r[l])&&(a||(Mr(e,i),a=!0),e[l]=e.dpr*(t[l]||0))}return(n||t.shadowColor!==r.shadowColor)&&(a||(Mr(e,i),a=!0),e.shadowColor=t.shadowColor||qo.shadowColor),a}function _P(e,t,r,n,i){var a=vf(t,i.inHover),o=n?null:r&&vf(r,i.inHover)||{};if(a===o)return!1;var s=ZB(e,a,o,n,i);if((n||a.fill!==o.fill)&&(s||(Mr(e,i),s=!0),pP(a.fill)&&(e.fillStyle=a.fill)),(n||a.stroke!==o.stroke)&&(s||(Mr(e,i),s=!0),pP(a.stroke)&&(e.strokeStyle=a.stroke)),(n||a.opacity!==o.opacity)&&(s||(Mr(e,i),s=!0),e.globalAlpha=a.opacity==null?1:a.opacity),t.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(Mr(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<xP.length;c++){var f=xP[c],h=f[0];(n||a[h]!==o[h])&&(s||(Mr(e,i),s=!0),e[h]=a[h]||f[1])}return s}function zce(e,t,r,n,i){return ZB(e,vf(t,i.inHover),r&&vf(r,i.inHover),n,i)}function QB(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function Wce(e,t,r){for(var n=!1,i=0;i<e.length;i++){var a=e[i];n=n||a.isZeroArea(),QB(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}r.allClipped=n}function Vce(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 bP=1,CP=2,SP=3,wP=4;function Uce(e){var t=Jv(e),r=Qv(e);return!(e.lineDash||!(+t^+r)||t&&typeof e.fill!="string"||r&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Mr(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function vf(e,t){return t&&e.__hoverStyle||e.style}function JB(e,t){Ho(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Ho(e,t,r,n){var i=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){t.__dirty&=~Wr,t.__isRendered=!1;return}var a=t.__clipPaths,o=r.prevElClipPaths,s=!1,l=!1;if((!o||kce(a,o))&&(o&&o.length&&(Mr(e,r),e.restore(),l=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),a&&a.length&&(Mr(e,r),e.save(),Wce(a,e,r),s=!0),r.prevElClipPaths=a),r.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=r.prevEl;u||(l=s=!0);var c=t instanceof We&&t.autoBatch&&Uce(t.style);s||Vce(i,u.transform)?(Mr(e,r),QB(e,t)):c||Mr(e,r);var f=vf(t,r.inHover);t instanceof We?(r.lastDrawType!==bP&&(l=!0,r.lastDrawType=bP),_P(e,t,u,l,r),(!c||!r.batchFill&&!r.batchStroke)&&e.beginPath(),Fce(e,t,f,c),c&&(r.batchFill=f.fill||"",r.batchStroke=f.stroke||"")):t instanceof t_?(r.lastDrawType!==SP&&(l=!0,r.lastDrawType=SP),_P(e,t,u,l,r),Hce(e,t,f)):t instanceof xi?(r.lastDrawType!==CP&&(l=!0,r.lastDrawType=CP),zce(e,t,u,l,r),$ce(e,t,f)):t.getTemporalDisplayables&&(r.lastDrawType!==wP&&(l=!0,r.lastDrawType=wP),Gce(e,t,r)),c&&n&&Mr(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}function Gce(e,t,r){var n=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},o,s;for(o=t.getCursor(),s=n.length;o<s;o++){var l=n[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Ho(e,l,a,o===s-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),a.prevEl=l}for(var u=0,c=i.length;u<c;u++){var l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Ho(e,l,a,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),a.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var Lm=new wce,TP=new Nf(100),AP=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function w_(e,t){if(e==="none")return null;var r=t.getDevicePixelRatio(),n=t.getZr(),i=n.painter.type==="svg";e.dirty&&Lm.delete(e);var a=Lm.get(e);if(a)return a;var o=De(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 s={repeat:"repeat"};return l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=i?1:1/r,Lm.set(e,s),e.dirty=!1,s;function l(u){for(var c=[r],f=!0,h=0;h<AP.length;++h){var d=o[AP[h]];if(d!=null&&!de(d)&&!be(d)&&!tt(d)&&typeof d!="boolean"){f=!1;break}c.push(d)}var v;if(f){v=c.join(",")+(i?"-svg":"");var p=TP.get(v);p&&(i?u.svgElement=p:u.image=p)}var m=t8(o.dashArrayX),g=jce(o.dashArrayY),y=e8(o.symbol),x=qce(m),_=r8(g),b=!i&&Ss.createCanvas(),C=i&&{tag:"g",attrs:{},key:"dcl",children:[]},S=E(),w;b&&(b.width=S.width*r,b.height=S.height*r,w=b.getContext("2d")),T(),f&&TP.put(v,b||C),u.image=b,u.svgElement=C,u.svgWidth=S.width,u.svgHeight=S.height;function E(){for(var A=1,P=0,D=x.length;P<D;++P)A=FA(A,x[P]);for(var L=1,P=0,D=y.length;P<D;++P)L=FA(L,y[P].length);A*=L;var N=_*x.length*y.length;return{width:Math.max(1,Math.min(A,o.maxTileWidth)),height:Math.max(1,Math.min(N,o.maxTileHeight))}}function T(){w&&(w.clearRect(0,0,b.width,b.height),o.backgroundColor&&(w.fillStyle=o.backgroundColor,w.fillRect(0,0,b.width,b.height)));for(var A=0,P=0;P<g.length;++P)A+=g[P];if(A<=0)return;for(var D=-_,L=0,N=0,B=0;D<S.height;){if(L%2===0){for(var G=N/2%y.length,$=0,Y=0,J=0;$<S.width*2;){for(var H=0,P=0;P<m[B].length;++P)H+=m[B][P];if(H<=0)break;if(Y%2===0){var W=(1-o.symbolSize)*.5,X=$+m[B][Y]*W,q=D+g[L]*W,U=m[B][Y]*o.symbolSize,Q=g[L]*o.symbolSize,re=J/2%y[G].length;ee(X,q,U,Q,y[G][re])}$+=m[B][Y],++J,++Y,Y===m[B].length&&(Y=0)}++B,B===m.length&&(B=0)}D+=g[L],++N,++L,L===g.length&&(L=0)}function ee(me,xe,oe,R,I){var M=i?1:r,k=Nn(I,me*M,xe*M,oe*M,R*M,o.color,o.symbolKeepAspect);if(i){var z=n.painter.renderOneToVNode(k);z&&C.children.push(z)}else JB(w,k)}}}}function e8(e){if(!e||e.length===0)return[["rect"]];if(be(e))return[[e]];for(var t=!0,r=0;r<e.length;++r)if(!be(e[r])){t=!1;break}if(t)return e8([e]);for(var n=[],r=0;r<e.length;++r)be(e[r])?n.push([e[r]]):n.push(e[r]);return n}function t8(e){if(!e||e.length===0)return[[0,0]];if(tt(e)){var t=Math.ceil(e);return[[t,t]]}for(var r=!0,n=0;n<e.length;++n)if(!tt(e[n])){r=!1;break}if(r)return t8([e]);for(var i=[],n=0;n<e.length;++n)if(tt(e[n])){var t=Math.ceil(e[n]);i.push([t,t])}else{var t=ve(e[n],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function jce(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(tt(e)){var t=Math.ceil(e);return[t,t]}var r=ve(e,function(n){return Math.ceil(n)});return e.length%2?r.concat(r):r}function qce(e){return ve(e,function(t){return r8(t)})}function r8(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return e.length%2===1?t*2:t}function Yce(e,t){e.eachRawSeries(function(r){if(!e.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(o){var s=n.getItemVisual(o,"decal");if(s){var l=n.ensureUniqueItemVisual(o,"style");l.decal=w_(s,t)}});var i=n.getVisual("decal");if(i){var a=n.getVisual("style");a.decal=w_(i,t)}}})}var Xce=new Hn;const Kn=Xce;var n8={};function Kce(e,t){n8[e]=t}function Zce(e){return n8[e]}var Qce=1,Jce=800,efe=900,tfe=1e3,rfe=2e3,nfe=5e3,i8=1e3,ife=1100,OC=2e3,a8=3e3,afe=4e3,L0=4500,ofe=4600,sfe=5e3,lfe=6e3,o8=7e3,ufe={PROCESSOR:{FILTER:tfe,SERIES_FILTER:Jce,STATISTIC:nfe},VISUAL:{LAYOUT:i8,PROGRESSIVE_LAYOUT:ife,GLOBAL:OC,CHART:a8,POST_CHART_LAYOUT:ofe,COMPONENT:afe,BRUSH:sfe,CHART_ITEM:L0,ARIA:lfe,DECAL:o8}},ir="__flagInMainProcess",wr="__pendingUpdate",Rm="__needsUpdateStatus",EP=/^[a-zA-Z0-9_]+$/;function s8(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.isDisposed()){this.id;return}return u8(this,e,t)}}function l8(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return u8(this,e,t)}}function u8(e,t,r){return r[0]=r[0]&&r[0].toLowerCase(),Hn.prototype[t].apply(e,r)}var c8=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Hn),f8=c8.prototype;f8.on=l8("on");f8.off=l8("off");var js,Om,Hh,sa,km,Nm,Bm,Hu,zu,PP,IP,Fm,MP,zh,DP,Jr,LP,cfe=function(e){se(t,e);function t(r,n,i){var a=e.call(this,new vce)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},be(n)&&(n=h8[n]),a._dom=r;var o="canvas",s="auto",l=!1,u=a._zr=NA(r,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Ue(i.useDirtyRect,l),useCoarsePointer:Ue(i.useCoarsePointer,s),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=LC(it(u.flush,u),17),n=Ne(n),n&&xB(n,!0),a._theme=n,a._locale=gle(i.locale||KN),a._coordSysMgr=new wC;var c=a._api=DP(a);function f(h,d){return h.__prio-d.__prio}return vd(rp,f),vd(T_,f),a._scheduler=new qB(a,c,T_,rp),a._messageCenter=new c8,a._initEvents(),a.resize=it(a.resize,a),u.animation.on("frame",a._onframe,a),PP(u,a),IP(u,a),Nv(a),a}return t.prototype._onframe=function(){if(!this._disposed){LP(this);var r=this._scheduler;if(this[wr]){var n=this[wr].silent;this[ir]=!0;try{js(this),sa.update.call(this,null,this[wr].updateParams)}catch(l){throw this[ir]=!1,this[wr]=null,l}this._zr.flush(),this[ir]=!1,this[wr]=null,Hu.call(this,n),zu.call(this,n)}else if(r.unfinished){var i=Qce,a=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(a),r.performDataProcessorTasks(a),Nm(this,a),r.performVisualTasks(a),zh(this,this._model,o,"remain",{}),i-=+new Date-s}while(i>0&&r.unfinished);r.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(r,n,i){if(!this[ir]){if(this._disposed){this.id;return}var a,o,s;if(we(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[ir]=!0,!this._model||n){var l=new Zle(this._api),u=this._theme,c=this._model=new gB;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},A_);var f={seriesTransition:s,optionChanged:!0};if(i)this[wr]={silent:a,updateParams:f},this[ir]=!1,this.getZr().wakeUp();else{try{js(this),sa.update.call(this,null,f)}catch(h){throw this[wr]=null,this[ir]=!1,h}this._ssr||this._zr.flush(),this[wr]=null,this[ir]=!1,Hu.call(this,a),zu.call(this,a)}}},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||ze.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(ze.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return O(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;O(n,function(l){i.eachComponent({mainType:l},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(a.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return O(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(hfe[i]){var l=s,u=s,c=-s,f=-s,h=[],d=r&&r.pixelRatio||this.getDevicePixelRatio();O(RP,function(x,_){if(x.group===i){var b=n?x.getZr().painter.getSvgDom().innerHTML:x.renderToCanvas(Ne(r)),C=x.getDom().getBoundingClientRect();l=a(C.left,l),u=a(C.top,u),c=o(C.right,c),f=o(C.bottom,f),h.push({dom:b,left:C.left,top:C.top})}}),l*=d,u*=d,c*=d,f*=d;var v=c-l,p=f-u,m=Ss.createCanvas(),g=NA(m,{renderer:n?"svg":"canvas"});if(g.resize({width:v,height:p}),n){var y="";return O(h,function(x){var _=x.left-l,b=x.top-u;y+='<g transform="translate('+_+","+b+')">'+x.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&g.painter.setBackgroundColor(r.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return r.connectedBackgroundColor&&g.add(new bt({shape:{x:0,y:0,width:v,height:p},style:{fill:r.connectedBackgroundColor}})),O(h,function(x){var _=new xi({style:{x:x.left*d-l,y:x.top*d-u,image:x.dom}});g.add(_)}),g.refreshImmediately(),m.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n){return km(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return km(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=Dc(i,r);return O(o,function(s,l){l.indexOf("Models")>=0&&O(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)a=a||!!c.containPoint(n);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(a=a||f.containPoint(n,u))}},this)},this),!!a},t.prototype.getVisual=function(r,n){var i=this._model,a=Dc(i,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?mce(s,l,n):yce(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;O(ffe,function(n){var i=function(a){var o=r.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&lc(s,function(v){var p=Xe(v);if(p&&p.dataIndex!=null){var m=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return l=m&&m.getDataParams(p.dataIndex,p.dataType)||{},!0}else if(p.eventData)return l=ce({},p.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var h=c&&f!=null&&o.getComponent(c,f),d=h&&r[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];l.event=a,l.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:d},r.trigger(n,l)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),O(tp,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),O(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),_ce(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 r=this.getDom();r&&Uae(this.getDom(),dfe,"");var n=this,i=n._api,a=n._model;O(n._componentsViews,function(o){o.dispose(a,i)}),O(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete RP[n.id]},t.prototype.resize=function(r){if(!this[ir]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[wr]&&(a==null&&(a=this[wr].silent),i=!0,this[wr]=null),this[ir]=!0;try{i&&js(this),sa.update.call(this,{type:"resize",animation:ce({duration:0},r&&r.animation)})}catch(o){throw this[ir]=!1,o}this[ir]=!1,Hu.call(this,a),zu.call(this,a)}}},t.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(we(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!E_[r]){var i=E_[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=ce({},r);return n.type=tp[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(we(n)||(n={silent:!!n}),!!ep[r.type]&&this._model){if(this[ir]){this._pendingActions.push(r);return}var i=n.silent;Bm.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&ze.browser.weChat&&this._throttledZrFlush(),Hu.call(this,i),zu.call(this,i)}},t.prototype.updateLabelLayout=function(){Kn.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){js=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),Om(f,!0),Om(f,!1),h.plan()},Om=function(f,h){for(var d=f._model,v=f._scheduler,p=h?f._componentsViews:f._chartsViews,m=h?f._componentsMap:f._chartsMap,g=f._zr,y=f._api,x=0;x<p.length;x++)p[x].__alive=!1;h?d.eachComponent(function(C,S){C!=="series"&&_(S)}):d.eachSeries(_);function _(C){var S=C.__requireNewView;C.__requireNewView=!1;var w="_ec_"+C.id+"_"+C.type,E=!S&&m[w];if(!E){var T=oi(C.type),A=h?Kr.getClass(T.main,T.sub):Rr.getClass(T.sub);E=new A,E.init(d,y),m[w]=E,p.push(E),g.add(E.group)}C.__viewId=E.__id=w,E.__alive=!0,E.__model=C,E.group.__ecComponentInfo={mainType:C.mainType,index:C.componentIndex},!h&&v.prepareView(E,C,d,y)}for(var x=0;x<p.length;){var b=p[x];b.__alive?x++:(!h&&b.renderTask.dispose(),g.remove(b.group),b.dispose(d,y),p.splice(x,1),m[b.__id]===b&&delete m[b.__id],b.__id=b.group.__ecComponentInfo=null)}},Hh=function(f,h,d,v,p){var m=f._model;if(m.setUpdatePayload(d),!v){O([].concat(f._componentsViews).concat(f._chartsViews),b);return}var g={};g[v+"Id"]=d[v+"Id"],g[v+"Index"]=d[v+"Index"],g[v+"Name"]=d[v+"Name"];var y={mainType:v,query:g};p&&(y.subType=p);var x=d.excludeSeriesId,_;x!=null&&(_=Re(),O(Rt(x),function(C){var S=li(C,null);S!=null&&_.set(S,!0)})),m&&m.eachComponent(y,function(C){var S=_&&_.get(C.id)!=null;if(!S)if(dE(d))if(C instanceof kn)d.type===Yo&&!d.notBlur&&!C.get(["emphasis","disabled"])&&tse(C,d,f._api);else{var w=sC(C.mainType,C.componentIndex,d.name,f._api),E=w.focusSelf,T=w.dispatchers;d.type===Yo&&E&&!d.notBlur&&i_(C.mainType,C.componentIndex,f._api),T&&O(T,function(A){d.type===Yo?jl(A):ql(A)})}else s_(d)&&C instanceof kn&&(ise(C,d,f._api),fE(C),Jr(f))},f),m&&m.eachComponent(y,function(C){var S=_&&_.get(C.id)!=null;S||b(f[v==="series"?"_chartsMap":"_componentsMap"][C.__viewId])},f);function b(C){C&&C.__alive&&C[h]&&C[h](C.__model,m,f._api,d)}},sa={prepareAndUpdate:function(f){js(this),sa.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,h){var d=this._model,v=this._api,p=this._zr,m=this._coordSysMgr,g=this._scheduler;if(d){d.setUpdatePayload(f),g.restoreData(d,f),g.performSeriesTasks(d),m.create(d,v),g.performDataProcessorTasks(d,f),Nm(this,d),m.update(d,v),r(d),g.performVisualTasks(d,f),Fm(this,d,v,f,h);var y=d.get("backgroundColor")||"transparent",x=d.get("darkMode");p.setBackgroundColor(y),x!=null&&x!=="auto"&&p.setDarkMode(x),Kn.trigger("afterupdate",d,v)}},updateTransform:function(f){var h=this,d=this._model,v=this._api;if(d){d.setUpdatePayload(f);var p=[];d.eachComponent(function(g,y){if(g!=="series"){var x=h.getViewOfComponentModel(y);if(x&&x.__alive)if(x.updateTransform){var _=x.updateTransform(y,d,v,f);_&&_.update&&p.push(x)}else p.push(x)}});var m=Re();d.eachSeries(function(g){var y=h._chartsMap[g.__viewId];if(y.updateTransform){var x=y.updateTransform(g,d,v,f);x&&x.update&&m.set(g.uid,1)}else m.set(g.uid,1)}),r(d),this._scheduler.performVisualTasks(d,f,{setDirty:!0,dirtyMap:m}),zh(this,d,v,f,{},m),Kn.trigger("afterupdate",d,v)}},updateView:function(f){var h=this._model;h&&(h.setUpdatePayload(f),Rr.markUpdateMethod(f,"updateView"),r(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0}),Fm(this,h,this._api,f,{}),Kn.trigger("afterupdate",h,this._api))},updateVisual:function(f){var h=this,d=this._model;d&&(d.setUpdatePayload(f),d.eachSeries(function(v){v.getData().clearAllVisual()}),Rr.markUpdateMethod(f,"updateVisual"),r(d),this._scheduler.performVisualTasks(d,f,{visualType:"visual",setDirty:!0}),d.eachComponent(function(v,p){if(v!=="series"){var m=h.getViewOfComponentModel(p);m&&m.__alive&&m.updateVisual(p,d,h._api,f)}}),d.eachSeries(function(v){var p=h._chartsMap[v.__viewId];p.updateVisual(v,d,h._api,f)}),Kn.trigger("afterupdate",d,this._api))},updateLayout:function(f){sa.update.call(this,f)}},km=function(f,h,d,v){if(f._disposed){f.id;return}for(var p=f._model,m=f._coordSysMgr.getCoordinateSystems(),g,y=Dc(p,d),x=0;x<m.length;x++){var _=m[x];if(_[h]&&(g=_[h](p,y,v))!=null)return g}},Nm=function(f,h){var d=f._chartsMap,v=f._scheduler;h.eachSeries(function(p){v.updateStreamModes(p,d[p.__viewId])})},Bm=function(f,h){var d=this,v=this.getModel(),p=f.type,m=f.escapeConnect,g=ep[p],y=g.actionInfo,x=(y.update||"update").split(":"),_=x.pop(),b=x[0]!=null&&oi(x[0]);this[ir]=!0;var C=[f],S=!1;f.batch&&(S=!0,C=ve(f.batch,function(L){return L=De(ce({},L),f),L.batch=null,L}));var w=[],E,T=s_(f),A=dE(f);if(A&&gN(this._api),O(C,function(L){if(E=g.action(L,d._model,d._api),E=E||ce({},L),E.type=y.event||E.type,w.push(E),A){var N=rC(f),B=N.queryOptionMap,G=N.mainTypeSpecified,$=G?B.keys()[0]:"series";Hh(d,_,L,$),Jr(d)}else T?(Hh(d,_,L,"series"),Jr(d)):b&&Hh(d,_,L,b.main,b.sub)}),_!=="none"&&!A&&!T&&!b)try{this[wr]?(js(this),sa.update.call(this,f),this[wr]=null):sa[_].call(this,f)}catch(L){throw this[ir]=!1,L}if(S?E={type:y.event||p,escapeConnect:m,batch:w}:E=w[0],this[ir]=!1,!h){var P=this._messageCenter;if(P.trigger(E.type,E),T){var D={type:"selectchanged",escapeConnect:m,selected:ase(v),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};P.trigger(D.type,D)}}},Hu=function(f){for(var h=this._pendingActions;h.length;){var d=h.shift();Bm.call(this,d,f)}},zu=function(f){!f&&this.trigger("updated")},PP=function(f,h){f.on("rendered",function(d){h.trigger("rendered",d),f.animation.isFinished()&&!h[wr]&&!h._scheduler.unfinished&&!h._pendingActions.length&&h.trigger("finished")})},IP=function(f,h){f.on("mouseover",function(d){var v=d.target,p=lc(v,o_);p&&(rse(p,d,h._api),Jr(h))}).on("mouseout",function(d){var v=d.target,p=lc(v,o_);p&&(nse(p,d,h._api),Jr(h))}).on("click",function(d){var v=d.target,p=lc(v,function(y){return Xe(y).dataIndex!=null},!0);if(p){var m=p.selected?"unselect":"select",g=Xe(p);h._api.dispatchAction({type:m,dataType:g.dataType,dataIndexInside:g.dataIndex,seriesIndex:g.seriesIndex,isFromClick:!0})}})};function r(f){f.clearColorPalette(),f.eachSeries(function(h){h.clearColorPalette()})}function n(f){var h=[],d=[],v=!1;if(f.eachComponent(function(y,x){var _=x.get("zlevel")||0,b=x.get("z")||0,C=x.getZLevelKey();v=v||!!C,(y==="series"?d:h).push({zlevel:_,z:b,idx:x.componentIndex,type:y,key:C})}),v){var p=h.concat(d),m,g;vd(p,function(y,x){return y.zlevel===x.zlevel?y.z-x.z:y.zlevel-x.zlevel}),O(p,function(y){var x=f.getComponent(y.type,y.idx),_=y.zlevel,b=y.key;m!=null&&(_=Math.max(m,_)),b?(_===m&&b!==g&&_++,g=b):g&&(_===m&&_++,g=""),m=_,x.setZLevel(_)})}}Fm=function(f,h,d,v,p){n(h),MP(f,h,d,v,p),O(f._chartsViews,function(m){m.__alive=!1}),zh(f,h,d,v,p),O(f._chartsViews,function(m){m.__alive||m.remove(h,d)})},MP=function(f,h,d,v,p,m){O(m||f._componentsViews,function(g){var y=g.__model;u(y,g),g.render(y,h,d,v),s(y,g),c(y,g)})},zh=function(f,h,d,v,p,m){var g=f._scheduler;p=ce(p||{},{updatedSeries:h.getSeries()}),Kn.trigger("series:beforeupdate",h,d,p);var y=!1;h.eachSeries(function(x){var _=f._chartsMap[x.__viewId];_.__alive=!0;var b=_.renderTask;g.updatePayload(b,v),u(x,_),m&&m.get(x.uid)&&b.dirty(),b.perform(g.getPerformArgs(b))&&(y=!0),_.group.silent=!!x.get("silent"),o(x,_),fE(x)}),g.unfinished=y||g.unfinished,Kn.trigger("series:layoutlabels",h,d,p),Kn.trigger("series:transition",h,d,p),h.eachSeries(function(x){var _=f._chartsMap[x.__viewId];s(x,_),c(x,_)}),a(f,h),Kn.trigger("series:afterupdate",h,d,p)},Jr=function(f){f[Rm]=!0,f.getZr().wakeUp()},LP=function(f){f[Rm]&&(f.getZr().storage.traverse(function(h){Cl(h)||i(h)}),f[Rm]=!1)};function i(f){for(var h=[],d=f.currentStates,v=0;v<d.length;v++){var p=d[v];p==="emphasis"||p==="blur"||p==="select"||h.push(p)}f.selected&&f.states.select&&h.push("select"),f.hoverState===v0&&f.states.emphasis?h.push("emphasis"):f.hoverState===d0&&f.states.blur&&h.push("blur"),f.useStates(h)}function a(f,h){var d=f._zr,v=d.storage,p=0;v.traverse(function(m){m.isGroup||p++}),p>h.get("hoverLayerThreshold")&&!ze.node&&!ze.worker&&h.eachSeries(function(m){if(!m.preventUsingHoverLayer){var g=f._chartsMap[m.__viewId];g.__alive&&g.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(f,h){var d=f.get("blendMode")||null;h.eachRendered(function(v){v.isGroup||(v.style.blend=d)})}function s(f,h){if(!f.preventAutoZ){var d=f.get("z")||0,v=f.get("zlevel")||0;h.eachRendered(function(p){return l(p,d,v,-1/0),!0})}}function l(f,h,d,v){var p=f.getTextContent(),m=f.getTextGuideLine(),g=f.isGroup;if(g)for(var y=f.childrenRef(),x=0;x<y.length;x++)v=Math.max(l(y[x],h,d,v),v);else f.z=h,f.zlevel=d,v=Math.max(f.z2,v);if(p&&(p.z=h,p.zlevel=d,isFinite(v)&&(p.z2=v+2)),m){var _=f.textGuideLineConfig;m.z=h,m.zlevel=d,isFinite(v)&&(m.z2=v+(_&&_.showAbove?1:-1))}return v}function u(f,h){h.eachRendered(function(d){if(!Cl(d)){var v=d.getTextContent(),p=d.getTextGuideLine();d.stateTransition&&(d.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),d.hasState()?(d.prevStates=d.currentStates,d.clearStates()):d.prevStates&&(d.prevStates=null)}})}function c(f,h){var d=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),p=d.get("duration"),m=p>0?{duration:p,delay:d.get("delay"),easing:d.get("easing")}:null;h.eachRendered(function(g){if(g.states&&g.states.emphasis){if(Cl(g))return;if(g instanceof We&&cse(g),g.__dirty){var y=g.prevStates;y&&g.useStates(y)}if(v){g.stateTransition=m;var x=g.getTextContent(),_=g.getTextGuideLine();x&&(x.stateTransition=m),_&&(_.stateTransition=m)}g.__dirty&&i(g)}})}DP=function(f){return new(function(h){se(d,h);function d(){return h!==null&&h.apply(this,arguments)||this}return d.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},d.prototype.getComponentByElement=function(v){for(;v;){var p=v.__ecComponentInfo;if(p!=null)return f._model.getComponent(p.mainType,p.index);v=v.parent}},d.prototype.enterEmphasis=function(v,p){jl(v,p),Jr(f)},d.prototype.leaveEmphasis=function(v,p){ql(v,p),Jr(f)},d.prototype.enterBlur=function(v){ese(v),Jr(f)},d.prototype.leaveBlur=function(v){hN(v),Jr(f)},d.prototype.enterSelect=function(v){dN(v),Jr(f)},d.prototype.leaveSelect=function(v){vN(v),Jr(f)},d.prototype.getModel=function(){return f.getModel()},d.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},d.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},d}(mB))(f)}}(),t}(Hn),kC=cfe.prototype;kC.on=s8("on");kC.off=s8("off");kC.one=function(e,t,r){var n=this;function i(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];t&&t.apply&&t.apply(this,a),n.off(e,i)}this.on.call(this,e,i,r)};var ffe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var ep={},tp={},T_=[],A_=[],rp=[],h8={},E_={},RP={},hfe={},dfe="_echarts_instance_";function d8(e,t){h8[e]=t}function v8(e){Ve(A_,e)<0&&A_.push(e)}function p8(e,t){BC(T_,e,t,rfe)}function vfe(e){NC("afterinit",e)}function pfe(e){NC("afterupdate",e)}function NC(e,t){Kn.on(e,t)}function bi(e,t,r){Ie(t)&&(r=t,t="");var n=we(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,!tp[t]&&(di(EP.test(n)&&EP.test(t)),ep[n]||(ep[n]={action:r,actionInfo:e}),tp[t]=n)}function gfe(e,t){wC.register(e,t)}function mfe(e,t){BC(rp,e,t,i8,"layout")}function Ps(e,t){BC(rp,e,t,a8,"visual")}var OP=[];function BC(e,t,r,n,i){if((Ie(t)||we(t))&&(r=t,t=n),!(Ve(OP,r)>=0)){OP.push(r);var a=qB.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function g8(e,t){E_[e]=t}function yfe(e,t,r){var n=Zce("registerMap");n&&n(e,t,r)}var xfe=Aue;Ps(OC,Que);Ps(L0,Jue);Ps(L0,ece);Ps(OC,pce);Ps(L0,gce);Ps(o8,Yce);v8(xB);p8(efe,aue);g8("default",tce);bi({type:Yo,event:Yo,update:Yo},mr);bi({type:bd,event:bd,update:bd},mr);bi({type:Lc,event:Lc,update:Lc},mr);bi({type:Cd,event:Cd,update:Cd},mr);bi({type:Rc,event:Rc,update:Rc},mr);d8("light",hce);d8("dark",dce);function Wu(e){return e==null?0:e.length||1}function kP(e){return e}var _fe=function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||kP,this._newKeyGetter=i||kP,this.context=a,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,r=this._new,n={},i=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=i[o],l=n[s],u=Wu(l);if(u>1){var c=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(c,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s<a.length;s++){var l=a[s],u=n[l],c=i[l],f=Wu(u),h=Wu(c);if(f>1&&h===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(f===1&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(f===1&&h===1)this._update&&this._update(c,u),i[l]=null;else if(f>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var d=0;d<f;d++)this._remove&&this._remove(u[d]);else this._remove&&this._remove(u)}this._performRestAdd(o,i)},e.prototype._performRestAdd=function(t,r){for(var n=0;n<t.length;n++){var i=t[n],a=r[i],o=Wu(a);if(o>1)for(var s=0;s<o;s++)this._add&&this._add(a[s]);else o===1&&this._add&&this._add(a);r[i]=null}},e.prototype._initIndexMap=function(t,r,n,i){for(var a=this._diffModeMultiple,o=0;o<t.length;o++){var s="_ec_"+this[i](t[o],o);if(a||(n[o]=s),!!r){var l=r[s],u=Wu(l);u===0?(r[s]=o,a&&n.push(s)):u===1?r[s]=[l,o]:l.push(o)}}},e}();const pf=_fe;var bfe=function(){function e(t,r){this._encode=t,this._schema=r}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 Cfe(e,t){var r={},n=r.encode={},i=Re(),a=[],o=[],s={};O(e.dimensions,function(h){var d=e.getDimensionInfo(h),v=d.coordDim;if(v){var p=d.coordDimIndex;$m(n,v)[p]=h,d.isExtraCoord||(i.set(v,1),wfe(d.type)&&(a[0]=h),$m(s,v)[p]=e.getDimensionIndex(d.name)),d.defaultTooltip&&o.push(h)}cB.each(function(m,g){var y=$m(n,g),x=d.otherDims[g];x!=null&&x!==!1&&(y[x]=d.name)})});var l=[],u={};i.each(function(h,d){var v=n[d];u[d]=v[0],l=l.concat(v)}),r.dataDimsOnCoord=l,r.dataDimIndicesOnCoord=ve(l,function(h){return e.getDimensionInfo(h).storeDimIndex}),r.encodeFirstDimNotExtra=u;var c=n.label;c&&c.length&&(a=c.slice());var f=n.tooltip;return f&&f.length?o=f.slice():o.length||(o=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=o,r.userOutput=new bfe(s,t),r}function $m(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function Sfe(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function wfe(e){return!(e==="ordinal"||e==="time")}var Tfe=function(){function e(t){this.otherDims={},t!=null&&ce(this,t)}return e}();const Ed=Tfe;var Afe=_t(),Efe={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},m8=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=_8(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return Ue(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var r=this.source.dimensionsDefine;if(r)return r[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,r=bB(this.source),n=!b8(t),i="",a=[],o=0,s=0;o<t;o++){var l=void 0,u=void 0,c=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===o)l=r?f.name:null,u=f.type,c=f.ordinalMeta,s++;else{var h=this.getSourceDimension(o);h&&(l=r?h.name:null,u=h.type)}a.push({property:l,type:u,ordinalMeta:c}),r&&l!=null&&(!f||!f.isCalculationCoord)&&(i+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=Efe[u]||"f",c&&(i+=c.uid),i+="$"}var d=this.source,v=[d.seriesLayoutBy,d.startIndex,i].join("$$");return{dimensions:a,hash:v}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],r=0,n=0;r<this._fullDimCount;r++){var i=void 0,a=this.dimensions[n];if(a&&a.storeDimIndex===r)a.isCalculationCoord||(i=a.name),n++;else{var o=this.getSourceDimension(r);o&&(i=o.name)}t.push(i)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function y8(e){return e instanceof m8}function x8(e){for(var t=Re(),r=0;r<(e||[]).length;r++){var n=e[r],i=we(n)?n.name:n;i!=null&&t.get(i)==null&&t.set(i,r)}return t}function _8(e){var t=Afe(e);return t.dimNameMap||(t.dimNameMap=x8(e.dimensionsDefine))}function b8(e){return e>30}var Vu=we,la=ve,Pfe=typeof Int32Array>"u"?Array:Int32Array,Ife="e\0\0",NP=-1,Mfe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Dfe=["_approximateExtent"],BP,Wh,Uu,Gu,Hm,Vh,zm,Lfe=function(){function e(t,r){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 n,i=!1;y8(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},c=0;c<n.length;c++){var f=n[c],h=be(f)?new Ed({name:f}):f instanceof Ed?f:new Ed(f),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var v=h.otherDims=h.otherDims||{};o.push(d),a[d]=h,u[d]!=null&&(l=!0),h.createInvertedIndices&&(s[d]=[]),v.itemName===0&&(this._nameDimIdx=c),v.itemId===0&&(this._idDimIdx=c),i&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=a,this._initGetDimensionInfo(l),this.hostModel=r,this._invertedIndicesMap=s,this._dimOmitted){var p=this._dimIdxToName=Re();O(o,function(m){p.set(a[m].storeDimIndex,m)})}}return e.prototype.getDimension=function(t){var r=this._recognizeDimIndex(t);if(r==null)return t;if(r=t,!this._dimOmitted)return this.dimensions[r];var n=this._dimIdxToName.get(r);if(n!=null)return n;var i=this._schema.getSourceDimension(r);if(i)return i.name},e.prototype.getDimensionIndex=function(t){var r=this._recognizeDimIndex(t);if(r!=null)return r;if(t==null)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(tt(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var r=this.getDimensionIndex(t);return r},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var r=this._dimInfos;this._getDimInfo=t?function(n){return r.hasOwnProperty(n)?r[n]:void 0}:function(n){return r[n]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,r){var n=this._dimSummary;if(r==null)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[r]:null},e.prototype.mapDimensionsAll=function(t){var r=this._dimSummary,n=r.encode[t];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,r,n){var i=this,a;if(t instanceof p_&&(a=t),!a){var o=this.dimensions,s=TC(t)||yr(t)?new CB(t,o.length):t;a=new p_;var l=la(o,function(u){return{type:i._dimInfos[u].type,property:u}});a.initData(s,l,n)}this._store=a,this._nameList=(r||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=Cfe(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var r=this._store.appendData(t);this._doInit(r[0],r[1])},e.prototype.appendValues=function(t,r){var n=this._store.appendValues(t,r.length),i=n.start,a=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),r)for(var s=i;s<a;s++){var l=s-i;this._nameList[s]=r[l],o&&zm(this,s)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,r=this.dimensions,n=0;n<r.length;n++){var i=this._dimInfos[r[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==La&&!t.fillStorage},e.prototype._doInit=function(t,r){if(!(t>=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===xn;if(l&&!i.pure)for(var u=[],c=t;c<r;c++){var f=i.getItem(c,u);if(!this.hasItemOption&&Dae(f)&&(this.hasItemOption=!0),f){var h=f.name;a[c]==null&&h!=null&&(a[c]=li(h,null));var d=f.id;o[c]==null&&d!=null&&(o[c]=li(d,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<r;c++)zm(this,c);BP(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,r){r=this.getDimension(r),this._approximateExtent[r]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,r){Vu(t)?ce(this._calculationInfo,t):this._calculationInfo[t]=r},e.prototype.getName=function(t){var r=this.getRawIndex(t),n=this._nameList[r];return n==null&&this._nameDimIdx!=null&&(n=Uu(this,this._nameDimIdx,r)),n==null&&(n=""),n},e.prototype._getCategory=function(t,r){var n=this._store.get(t,r),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},e.prototype.getId=function(t){return Wh(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,r){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,r)},e.prototype.getByRawIndex=function(t,r){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,r)},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,r){var n=this,i=this._store;return de(t)?i.getValues(la(t,function(a){return n._getStoreDimIndex(a)}),r):i.getValues(t)},e.prototype.hasValue=function(t){for(var r=this._dimSummary.dataDimIndicesOnCoord,n=0,i=r.length;n<i;n++)if(isNaN(this._store.get(r[n],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var r=0,n=this._store.count();r<n;r++)if(this.getName(r)===t)return r;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,r){var n=t&&this._invertedIndicesMap[t],i=n[r];return i==null||isNaN(i)?NP:i},e.prototype.indicesOfNearest=function(t,r,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),r,n)},e.prototype.each=function(t,r,n){Ie(t)&&(n=r,r=t,t=[]);var i=n||this,a=la(Gu(t),this._getStoreDimIndex,this);this._store.each(a,i?it(r,i):r)},e.prototype.filterSelf=function(t,r,n){Ie(t)&&(n=r,r=t,t=[]);var i=n||this,a=la(Gu(t),this._getStoreDimIndex,this);return this._store=this._store.filter(a,i?it(r,i):r),this},e.prototype.selectRange=function(t){var r=this,n={},i=xt(t);return O(i,function(a){var o=r._getStoreDimIndex(a);n[o]=t[a]}),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(t,r,n){Ie(t)&&(n=r,r=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(r&&r.apply(this,arguments))},n),i},e.prototype.map=function(t,r,n,i){var a=n||i||this,o=la(Gu(t),this._getStoreDimIndex,this),s=Vh(this);return s._store=this._store.map(o,a?it(r,a):r),s},e.prototype.modify=function(t,r,n,i){var a=n||i||this,o=la(Gu(t),this._getStoreDimIndex,this);this._store.modify(o,a?it(r,a):r)},e.prototype.downSample=function(t,r,n,i){var a=Vh(this);return a._store=this._store.downSample(this._getStoreDimIndex(t),r,n,i),a},e.prototype.lttbDownSample=function(t,r){var n=Vh(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),r),n},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var r=this.hostModel,n=this.getRawDataItem(t);return new jt(n,r,r&&r.ecModel)},e.prototype.diff=function(t){var r=this;return new pf(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(n){return Wh(t,n)},function(n){return Wh(r,n)})},e.prototype.getVisual=function(t){var r=this._visual;return r&&r[t]},e.prototype.setVisual=function(t,r){this._visual=this._visual||{},Vu(t)?ce(this._visual,t):this._visual[t]=r},e.prototype.getItemVisual=function(t,r){var n=this._itemVisuals[t],i=n&&n[r];return i??this.getVisual(r)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[r];return a==null&&(a=this.getVisual(r),de(a)?a=a.slice():Vu(a)&&(a=ce({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Vu(r)?ce(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){Vu(t)?ce(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?ce(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;r_(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){O(this._graphicEls,function(n,i){n&&t&&t.call(r,n,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:la(this.dimensions,this._getDimInfo,this),this.hostModel)),Hm(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];Ie(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(qb(arguments)))})},e.internalField=function(){BP=function(t){var r=t._invertedIndicesMap;O(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new Pfe(o.categories.length);for(var l=0;l<n.length;l++)n[l]=NP;for(var l=0;l<s.count();l++)n[s.get(a.storeDimIndex,l)]=l}})},Uu=function(t,r,n){return li(t._getCategory(r,n),null)},Wh=function(t,r){var n=t._idList[r];return n==null&&t._idDimIdx!=null&&(n=Uu(t,t._idDimIdx,r)),n==null&&(n=Ife+r),n},Gu=function(t){return de(t)||(t=t!=null?[t]:[]),t},Vh=function(t){var r=new e(t._schema?t._schema:la(t.dimensions,t._getDimInfo,t),t.hostModel);return Hm(r,t),r},Hm=function(t,r){O(Mfe.concat(r.__wrappedMethods||[]),function(n){r.hasOwnProperty(n)&&(t[n]=r[n])}),t.__wrappedMethods=r.__wrappedMethods,O(Dfe,function(n){t[n]=Ne(r[n])}),t._calculationInfo=ce({},r._calculationInfo)},zm=function(t,r){var n=t._nameList,i=t._idList,a=t._nameDimIdx,o=t._idDimIdx,s=n[r],l=i[r];if(s==null&&a!=null&&(n[r]=s=Uu(t,a,r)),l==null&&o!=null&&(i[r]=l=Uu(t,o,r)),l==null&&s!=null){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),i[r]=l}}}(),e}();const C8=Lfe;function S8(e,t){TC(e)||(e=AC(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=Re(),a=[],o=Ofe(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&b8(o),l=n===e.dimensionsDefine,u=l?_8(e):x8(n),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var f=Re(c),h=new MB(o),d=0;d<h.length;d++)h[d]=-1;function v(E){var T=h[E];if(T<0){var A=n[E],P=we(A)?A:{name:A},D=new Ed,L=P.name;L!=null&&u.get(L)!=null&&(D.name=D.displayName=L),P.type!=null&&(D.type=P.type),P.displayName!=null&&(D.displayName=P.displayName);var N=a.length;return h[E]=N,D.storeDimIndex=E,a.push(D),D}return a[T]}if(!s)for(var d=0;d<o;d++)v(d);f.each(function(E,T){var A=Rt(E).slice();if(A.length===1&&!be(A[0])&&A[0]<0){f.set(T,!1);return}var P=f.set(T,[]);O(A,function(D,L){var N=be(D)?u.get(D):D;N!=null&&N<o&&(P[L]=N,m(v(N),T,L))})});var p=0;O(r,function(E){var T,A,P,D;if(be(E))T=E,D={};else{D=E,T=D.name;var L=D.ordinalMeta;D.ordinalMeta=null,D=ce({},D),D.ordinalMeta=L,A=D.dimsDef,P=D.otherDims,D.name=D.coordDim=D.coordDimIndex=D.dimsDef=D.otherDims=null}var N=f.get(T);if(N!==!1){if(N=Rt(N),!N.length)for(var B=0;B<(A&&A.length||1);B++){for(;p<o&&v(p).coordDim!=null;)p++;p<o&&N.push(p++)}O(N,function(G,$){var Y=v(G);if(l&&D.type!=null&&(Y.type=D.type),m(De(Y,D),T,$),Y.name==null&&A){var J=A[$];!we(J)&&(J={name:J}),Y.name=Y.displayName=J.name,Y.defaultTooltip=J.defaultTooltip}P&&De(Y.otherDims,P)})}});function m(E,T,A){cB.get(T)!=null?E.otherDims[T]=A:(E.coordDim=T,E.coordDimIndex=A,i.set(T,!0))}var g=t.generateCoord,y=t.generateCoordCount,x=y!=null;y=g?y||1:0;var _=g||"value";function b(E){E.name==null&&(E.name=E.coordDim)}if(s)O(a,function(E){b(E)}),a.sort(function(E,T){return E.storeDimIndex-T.storeDimIndex});else for(var C=0;C<o;C++){var S=v(C),w=S.coordDim;w==null&&(S.coordDim=kfe(_,i,x),S.coordDimIndex=0,(!g||y<=0)&&(S.isExtraCoord=!0),y--),b(S),S.type==null&&(dB(e,C)===Xt.Must||S.isExtraCoord&&(S.otherDims.itemName!=null||S.otherDims.seriesName!=null))&&(S.type="ordinal")}return Rfe(a),new m8({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function Rfe(e){for(var t=Re(),r=0;r<e.length;r++){var n=e[r],i=n.name,a=t.get(i)||0;a>0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function Ofe(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return O(t,function(a){var o;we(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function kfe(e,t,r){if(r||t.hasKey(e)){for(var n=0;t.hasKey(e+n);)n++;e+=n}return t.set(e,!0),e}var Nfe=function(){function e(t){this.coordSysDims=[],this.axisMap=Re(),this.categoryAxisMap=Re(),this.coordSysName=t}return e}();function Bfe(e){var t=e.get("coordinateSystem"),r=new Nfe(t),n=Ffe[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var Ffe={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",gr).models[0],a=e.getReferringComponents("yAxis",gr).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),qs(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),qs(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",gr).models[0];t.coordSysDims=["single"],r.set("single",i),qs(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",gr).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),qs(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),qs(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();O(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),c=o[l];r.set(c,u),qs(u)&&(n.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function qs(e){return e.get("type")==="category"}function $fe(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;Hfe(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,h;if(O(a,function(y,x){be(y)&&(a[x]=y={name:y}),l&&!y.isExtraCoord&&(!n&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!n&&!u&&(n=!0),c){f="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var d=c.coordDim,v=c.type,p=0;O(a,function(y){y.coordDim===d&&p++});var m={name:f,coordDim:d,coordDimIndex:p,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:h,coordDim:h,coordDimIndex:p+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(h,v),g.storeDimIndex=s.ensureCalculationDimension(f,v)),o.appendCalculationDimension(m),o.appendCalculationDimension(g)):(a.push(m),a.push(g))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:f}}function Hfe(e){return!y8(e.schema)}function Kl(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function zfe(e,t){return Kl(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Wfe(e,t){var r=e.get("coordinateSystem"),n=wC.get(r),i;return t&&t.coordSysDims&&(i=ve(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=Sfe(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function Vfe(e,t,r){var n,i;return r&&O(e,function(a,o){var s=a.coordDim,l=r.categoryAxisMap.get(s);l&&(n==null&&(n=o),a.ordinalMeta=l.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(e[n].otherDims.itemName=0),n}function R0(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;e?(a=!0,i=AC(e)):(i=n.getSource(),a=i.sourceFormat===xn);var o=Bfe(t),s=Wfe(t,o),l=r.useEncodeDefaulter,u=Ie(l)?l:l?et(Dle,s,t):null,c={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},f=S8(i,c),h=Vfe(f.dimensions,r.createInvertedIndices,o),d=a?null:n.getSharedDataStore(f),v=$fe(t,{schema:f,store:d}),p=new C8(f,t);p.setCalculationInfo(v);var m=h!=null&&Ufe(i)?function(g,y,x,_){return _===h?x:this.defaultDimValueGetter(g,y,x,_)}:null;return p.hasItemOption=!1,p.initData(a?i:d,null,m),p}function Ufe(e){if(e.sourceFormat===xn){var t=Gfe(e.data||[]);return!de(Ff(t))}}function Gfe(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var w8=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 r=this._extent;t[0]<r[0]&&(r[0]=t[0]),t[1]>r[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(r)||(n[1]=r)},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}();c0(w8);const Zi=w8;var jfe=0,qfe=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++jfe}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&ve(n,Yfe);return new e({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,n=this._needCollect;if(!be(t)&&!n)return t;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var i=this._getOrCreateMap();return r=i.get(t),r==null&&(n?(r=this.categories.length,this.categories[r]=t,i.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Re(this.categories))},e}();function Yfe(e){return we(e)&&e.value!=null?e.value:e+""}const P_=qfe;function I_(e){return e.type==="interval"||e.type==="log"}function Xfe(e,t,r,n){var i={},a=e[1]-e[0],o=i.interval=F4(a/t,!0);r!=null&&o<r&&(o=i.interval=r),n!=null&&o>n&&(o=i.interval=n);var s=i.intervalPrecision=T8(o),l=i.niceTickExtent=[Lt(Math.ceil(e[0]/o)*o,s),Lt(Math.floor(e[1]/o)*o,s)];return Kfe(l,e),i}function Wm(e){var t=Math.pow(10,eC(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Lt(r*t)}function T8(e){return Ri(e)+2}function FP(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function Kfe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),FP(e,0,t),FP(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function O0(e,t){return e>=t[0]&&e<=t[1]}function k0(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function N0(e,t){return e*(t[1]-t[0])+t[0]}var A8=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new P_({})),de(i)&&(i=new P_({categories:ve(i,function(a){return we(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(r){return r==null?NaN:be(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),O0(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),k0(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(N0(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o<l;++o){var u=n[o];i[o]=u,a[u]=o}for(var c=0;o<s;++o){for(;a[c]!=null;)c++;i.push(c),a[c]=o}},t.prototype._getTickNumber=function(r){var n=this._ticksByOrdinalNumber;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getRawOrdinalNumber=function(r){var n=this._ordinalNumbersByTick;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getLabel=function(r){if(!this.isBlank()){var n=this.getRawOrdinalNumber(r.value),i=this._ordinalMeta.categories[n];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.isInExtentRange=function(r){return r=this._getTickNumber(r),this._extent[0]<=r&&this._extent[1]>=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Zi);Zi.registerClass(A8);const E8=A8;var bo=Lt,P8=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return O0(r,this._extent)},t.prototype.normalize=function(r){return k0(r,this._extent)},t.prototype.scale=function(r){return N0(r,this._extent)},t.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},t.prototype.unionExtent=function(r){var n=this._extent;r[0]<n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=T8(r)},t.prototype.getTicks=function(r){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;i[0]<a[0]&&(r?s.push({value:bo(a[0]-n,o)}):s.push({value:i[0]}));for(var u=a[0];u<=a[1]&&(s.push({value:u}),u=bo(u+n,o),u!==s[s.length-1].value);)if(s.length>l)return[];var c=s.length?s[s.length-1].value:a[1];return i[1]>c&&(r?s.push({value:bo(c+n,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(r){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;o<n.length;o++){for(var s=n[o],l=n[o-1],u=0,c=[],f=s.value-l.value,h=f/r;u<r-1;){var d=bo(l.value+(u+1)*h);d>a[0]&&d<a[1]&&c.push(d),u++}i.push(c)}return i},t.prototype.getLabel=function(r,n){if(r==null)return"";var i=n&&n.precision;i==null?i=Ri(r.value)||0:i==="auto"&&(i=this._intervalPrecision);var a=bo(r.value,i,!0);return oB(a)},t.prototype.calcNiceTicks=function(r,n,i){r=r||5;var a=this._extent,o=a[1]-a[0];if(isFinite(o)){o<0&&(o=-o,a.reverse());var s=Xfe(a,r,n,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var i=Math.abs(n[0]);r.fixMax||(n[1]+=i/2),n[0]-=i/2}else n[1]=1;var a=n[1]-n[0];isFinite(a)||(n[0]=0,n[1]=1),this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval);var o=this._interval;r.fixMin||(n[0]=bo(Math.floor(n[0]/o)*o)),r.fixMax||(n[1]=bo(Math.ceil(n[1]/o)*o))},t.prototype.setNiceExtent=function(r,n){this._niceExtent=[r,n]},t.type="interval",t}(Zi);Zi.registerClass(P8);const us=P8;var I8=typeof Float32Array<"u",Zfe=I8?Float32Array:Array;function Oi(e){return de(e)?I8?new Float32Array(e):e:new Zfe(e)}var Qfe="__ec_stack_";function FC(e){return e.get("stack")||Qfe+e.seriesIndex}function $C(e){return e.dim+e.index}function M8(e,t){var r=[];return t.eachSeriesByType(e,function(n){O8(n)&&r.push(n)}),r}function Jfe(e){var t={};O(e,function(l){var u=l.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=l.getData(),h=c.dim+"_"+c.index,d=f.getDimensionIndex(f.mapDimension(c.dim)),v=f.getStore(),p=0,m=v.count();p<m;++p){var g=v.get(d,p);t[h]?t[h].push(g):t[h]=[g]}});var r={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];if(i){i.sort(function(l,u){return l-u});for(var a=null,o=1;o<i.length;++o){var s=i[o]-i[o-1];s>0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function D8(e){var t=Jfe(e),r=[];return O(e,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=t[l],c=Math.abs(o[1]-o[0]),f=a.scale.getExtent(),h=Math.abs(f[1]-f[0]);s=u?c/h*u:c}else{var d=n.getData();s=Math.abs(o[1]-o[0])/d.count()}var v=Pe(n.get("barWidth"),s),p=Pe(n.get("barMaxWidth"),s),m=Pe(n.get("barMinWidth")||(k8(n)?.5:1),s),g=n.get("barGap"),y=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:v,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:y,axisKey:$C(a),stackId:FC(n)})}),ehe(r)}function ehe(e){var t={};O(e,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[a]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=n.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=n.barMaxWidth;f&&(l[u].maxWidth=f);var h=n.barMinWidth;h&&(l[u].minWidth=h);var d=n.barGap;d!=null&&(s.gap=d);var v=n.barCategoryGap;v!=null&&(s.categoryGap=v)});var r={};return O(t,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=xt(a).length;s=Math.max(35-l*4,15)+"%"}var u=Pe(s,o),c=Pe(n.gap,1),f=n.remainedWidth,h=n.autoWidthCount,d=(f-u)/(h+(h-1)*c);d=Math.max(d,0),O(a,function(g){var y=g.maxWidth,x=g.minWidth;if(g.width){var _=g.width;y&&(_=Math.min(_,y)),x&&(_=Math.max(_,x)),g.width=_,f-=_+c*_,h--}else{var _=d;y&&y<_&&(_=Math.min(y,f)),x&&x>_&&(_=x),_!==d&&(g.width=_,f-=_+c*_,h--)}}),d=(f-u)/(h+(h-1)*c),d=Math.max(d,0);var v=0,p;O(a,function(g,y){g.width||(g.width=d),p=g,v+=g.width*(1+c)}),p&&(v-=p.width*c);var m=-v/2;O(a,function(g,y){r[i][y]=r[i][y]||{bandWidth:o,offset:m,width:g.width},m+=g.width*(1+c)})}),r}function the(e,t,r){if(e&&t){var n=e[$C(t)];return n!=null&&r!=null?n[FC(r)]:n}}function L8(e,t){var r=M8(e,t),n=D8(r);O(r,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=FC(i),u=n[$C(s)][l],c=u.offset,f=u.width;a.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function R8(e){return{seriesType:e,plan:MC(),reset:function(t){if(O8(t)){var r=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),o=r.getDimensionIndex(r.mapDimension(a.dim)),s=r.getDimensionIndex(r.mapDimension(i.dim)),l=t.get("showBackground",!0),u=r.mapDimension(a.dim),c=r.getCalculationInfo("stackResultDimension"),f=Kl(r,u)&&!!r.getCalculationInfo("stackedOnSeries"),h=a.isHorizontal(),d=rhe(i,a),v=k8(t),p=t.get("barMinHeight")||0,m=c&&r.getDimensionIndex(c),g=r.getLayout("size"),y=r.getLayout("offset");return{progress:function(x,_){for(var b=x.count,C=v&&Oi(b*3),S=v&&l&&Oi(b*3),w=v&&Oi(b),E=n.master.getRect(),T=h?E.width:E.height,A,P=_.getStore(),D=0;(A=x.next())!=null;){var L=P.get(f?m:o,A),N=P.get(s,A),B=d,G=void 0;f&&(G=+L-P.get(o,A));var $=void 0,Y=void 0,J=void 0,H=void 0;if(h){var W=n.dataToPoint([L,N]);if(f){var X=n.dataToPoint([G,N]);B=X[0]}$=B,Y=W[1]+y,J=W[0]-B,H=g,Math.abs(J)<p&&(J=(J<0?-1:1)*p)}else{var W=n.dataToPoint([N,L]);if(f){var X=n.dataToPoint([N,G]);B=X[1]}$=W[0]+y,Y=B,J=g,H=W[1]-B,Math.abs(H)<p&&(H=(H<=0?-1:1)*p)}v?(C[D]=$,C[D+1]=Y,C[D+2]=h?J:H,S&&(S[D]=h?E.x:$,S[D+1]=h?Y:E.y,S[D+2]=T),w[A]=A):_.setItemLayout(A,{x:$,y:Y,width:J,height:H}),D+=3}v&&_.setLayout({largePoints:C,largeDataIndices:w,largeBackgroundPoints:S,valueAxisHorizontal:h})}}}}}}function O8(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function k8(e){return e.pipelineContext&&e.pipelineContext.large}function rhe(e,t){return t.toGlobalCoord(t.dataToCoord(t.type==="log"?1:0))}var nhe=function(e,t,r,n){for(;r<n;){var i=r+n>>>1;e[i][1]<t?r=i+1:n=i}return r},N8=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="time",n}return t.prototype.getLabel=function(r){var n=this.getSetting("useUTC");return C0(r.value,IE[_le(Sl(this._minLevelUnit))]||IE.second,n,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(r,n,i){var a=this.getSetting("useUTC"),o=this.getSetting("locale");return ble(r,n,i,o,a)},t.prototype.getTicks=function(){var r=this._interval,n=this._extent,i=[];if(!r)return i;i.push({value:n[0],level:0});var a=this.getSetting("useUTC"),o=che(this._minLevelUnit,this._approxInterval,a,n);return i=i.concat(o),i.push({value:n[1],level:0}),i},t.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1]&&(n[0]-=fn,n[1]+=fn),n[1]===-1/0&&n[0]===1/0){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-fn}this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval)},t.prototype.calcNiceTicks=function(r,n,i){r=r||10;var a=this._extent,o=a[1]-a[0];this._approxInterval=o/r,n!=null&&this._approxInterval<n&&(this._approxInterval=n),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var s=Uh.length,l=Math.min(nhe(Uh,this._approxInterval,0,s),s-1);this._interval=Uh[l][1],this._minLevelUnit=Uh[Math.max(l-1,0)][0]},t.prototype.parse=function(r){return tt(r)?r:+Ui(r)},t.prototype.contain=function(r){return O0(this.parse(r),this._extent)},t.prototype.normalize=function(r){return k0(this.parse(r),this._extent)},t.prototype.scale=function(r){return N0(r,this._extent)},t.type="time",t}(us),Uh=[["second",yC],["minute",xC],["hour",kc],["quarter-day",kc*6],["half-day",kc*12],["day",fn*1.2],["half-week",fn*3.5],["week",fn*7],["month",fn*31],["quarter",fn*95],["half-year",PE/2],["year",PE]];function ihe(e,t,r,n){var i=Ui(t),a=Ui(r),o=function(v){return ME(i,v,n)===ME(a,v,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},f=function(){return c()&&o("minute")},h=function(){return f()&&o("second")},d=function(){return h()&&o("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return d()}}function ahe(e,t){return e/=fn,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function ohe(e){var t=30*fn;return e/=t,e>6?6:e>3?3:e>2?2:1}function she(e){return e/=kc,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function $P(e,t){return e/=t?xC:yC,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function lhe(e){return F4(e,!0)}function uhe(e,t,r){var n=new Date(e);switch(Sl(t)){case"year":case"month":n[eB(r)](0);case"day":n[tB(r)](1);case"hour":n[rB(r)](0);case"minute":n[nB(r)](0);case"second":n[iB(r)](0),n[aB(r)](0)}return n.getTime()}function che(e,t,r,n){var i=1e4,a=QN,o=0;function s(T,A,P,D,L,N,B){for(var G=new Date(A),$=A,Y=G[D]();$<P&&$<=n[1];)B.push({value:$}),Y+=T,G[L](Y),$=G.getTime();B.push({value:$,notAdd:!0})}function l(T,A,P){var D=[],L=!A.length;if(!ihe(Sl(T),n[0],n[1],r)){L&&(A=[{value:uhe(new Date(n[0]),T,r)},{value:n[1]}]);for(var N=0;N<A.length-1;N++){var B=A[N].value,G=A[N+1].value;if(B!==G){var $=void 0,Y=void 0,J=void 0,H=!1;switch(T){case"year":$=Math.max(1,Math.round(t/fn/365)),Y=_C(r),J=Cle(r);break;case"half-year":case"quarter":case"month":$=ohe(t),Y=wl(r),J=eB(r);break;case"week":case"half-week":case"day":$=ahe(t),Y=S0(r),J=tB(r),H=!0;break;case"half-day":case"quarter-day":case"hour":$=she(t),Y=cf(r),J=rB(r);break;case"minute":$=$P(t,!0),Y=w0(r),J=nB(r);break;case"second":$=$P(t,!1),Y=T0(r),J=iB(r);break;case"millisecond":$=lhe(t),Y=A0(r),J=aB(r);break}s($,B,G,Y,J,H,D),T==="year"&&P.length>1&&N===0&&P.unshift({value:P[0].value-$})}}for(var N=0;N<D.length;N++)P.push(D[N]);return D}}for(var u=[],c=[],f=0,h=0,d=0;d<a.length&&o++<i;++d){var v=Sl(a[d]);if(xle(a[d])){l(a[d],u[u.length-1]||[],c);var p=a[d+1]?Sl(a[d+1]):null;if(v!==p){if(c.length){h=f,c.sort(function(T,A){return T.value-A.value});for(var m=[],g=0;g<c.length;++g){var y=c[g].value;(g===0||c[g-1].value!==y)&&(m.push(c[g]),y>=n[0]&&y<=n[1]&&f++)}var x=(n[1]-n[0])/t;if(f>x*1.5&&h>x/1.5||(u.push(m),f>x||e===a[d]))break}c=[]}}}for(var _=Dt(ve(u,function(T){return Dt(T,function(A){return A.value>=n[0]&&A.value<=n[1]&&!A.notAdd})}),function(T){return T.length>0}),b=[],C=_.length-1,d=0;d<_.length;++d)for(var S=_[d],w=0;w<S.length;++w)b.push({value:S[w].value,level:C-d});b.sort(function(T,A){return T.value-A.value});for(var E=[],d=0;d<b.length;++d)(d===0||b[d].value!==b[d-1].value)&&E.push(b[d]);return E}Zi.registerClass(N8);const fhe=N8;var HP=Zi.prototype,Bc=us.prototype,hhe=Lt,dhe=Math.floor,vhe=Math.ceil,Gh=Math.pow,Sn=Math.log,HC=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new us,r._interval=0,r}return t.prototype.getTicks=function(r){var n=this._originalScale,i=this._extent,a=n.getExtent(),o=Bc.getTicks.call(this,r);return ve(o,function(s){var l=s.value,u=Lt(Gh(this.base,l));return u=l===i[0]&&this._fixMin?jh(u,a[0]):u,u=l===i[1]&&this._fixMax?jh(u,a[1]):u,{value:u}},this)},t.prototype.setExtent=function(r,n){var i=Sn(this.base);r=Sn(Math.max(0,r))/i,n=Sn(Math.max(0,n))/i,Bc.setExtent.call(this,r,n)},t.prototype.getExtent=function(){var r=this.base,n=HP.getExtent.call(this);n[0]=Gh(r,n[0]),n[1]=Gh(r,n[1]);var i=this._originalScale,a=i.getExtent();return this._fixMin&&(n[0]=jh(n[0],a[0])),this._fixMax&&(n[1]=jh(n[1],a[1])),n},t.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var n=this.base;r[0]=Sn(r[0])/Sn(n),r[1]=Sn(r[1])/Sn(n),HP.unionExtent.call(this,r)},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.calcNiceTicks=function(r){r=r||10;var n=this._extent,i=n[1]-n[0];if(!(i===1/0||i<=0)){var a=Mae(i),o=r/i*a;for(o<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var s=[Lt(vhe(n[0]/a)*a),Lt(dhe(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){Bc.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=Sn(r)/Sn(this.base),O0(r,this._extent)},t.prototype.normalize=function(r){return r=Sn(r)/Sn(this.base),k0(r,this._extent)},t.prototype.scale=function(r){return r=N0(r,this._extent),Gh(this.base,r)},t.type="log",t}(Zi),B8=HC.prototype;B8.getMinorTicks=Bc.getMinorTicks;B8.getLabel=Bc.getLabel;function jh(e,t){return hhe(e,Ri(t))}Zi.registerClass(HC);const phe=HC;var ghe=function(){function e(t,r,n){this._prepareParams(t,r,n)}return e.prototype._prepareParams=function(t,r,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&r.getNeedCrossZero&&r.getNeedCrossZero();var a=this._modelMinRaw=r.get("min",!0);Ie(a)?this._modelMinNum=qh(t,a({min:n[0],max:n[1]})):a!=="dataMin"&&(this._modelMinNum=qh(t,a));var o=this._modelMaxRaw=r.get("max",!0);if(Ie(o)?this._modelMaxNum=qh(t,o({min:n[0],max:n[1]})):o!=="dataMax"&&(this._modelMaxNum=qh(t,o)),i)this._axisDataLen=r.getCategories().length;else{var s=r.get("boundaryGap"),l=de(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[za(l[0],1),za(l[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,r=this._dataMin,n=this._dataMax,i=this._axisDataLen,a=this._boundaryGapInner,o=t?null:n-r||Math.abs(r),s=this._modelMinRaw==="dataMin"?r:this._modelMinNum,l=this._modelMaxRaw==="dataMax"?n:this._modelMaxNum,u=s!=null,c=l!=null;s==null&&(s=t?i?0:NaN:r-a[0]*o),l==null&&(l=t?i?i-1:NaN:n+a[1]*o),(s==null||!isFinite(s))&&(s=NaN),(l==null||!isFinite(l))&&(l=NaN);var f=kv(s)||kv(l)||t&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var h=this._determinedMin,d=this._determinedMax;return h!=null&&(s=h,u=!0),d!=null&&(l=d,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,r){this[yhe[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=mhe[t];this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),mhe={min:"_determinedMin",max:"_determinedMax"},yhe={min:"_dataMin",max:"_dataMax"};function F8(e,t,r){var n=e.rawExtentInfo;return n||(n=new ghe(e,t,r),e.rawExtentInfo=n,n)}function qh(e,t){return t==null?null:kv(t)?NaN:e.parse(t)}function $8(e,t){var r=e.type,n=F8(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&r==="time"){var s=M8("bar",o),l=!1;if(O(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=D8(s),c=xhe(i,a,t,u);i=c.min,a=c.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function xhe(e,t,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=the(n,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;O(o,function(d){s=Math.min(d.offset,s)});var l=-1/0;O(o,function(d){l=Math.max(d.offset+d.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/a,h=c/f-c;return t+=h*(l/u),e-=h*(s/u),{min:e,max:t}}function zP(e,t){var r=t,n=$8(e,r),i=n.extent,a=r.get("splitNumber");e instanceof phe&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),l=o==="interval"||o==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?r.get("minInterval"):null,maxInterval:l?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function _he(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new E8({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new fhe({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Zi.getClass(t)||us)}}function bhe(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function Wf(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(n){return function(i,a){return e.scale.getFormattedLabel(i,a,n)}}(t):be(t)?function(n){return function(i){var a=e.scale.getLabel(i),o=n.replace("{value}",a??"");return o}}(t):Ie(t)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(zC(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function zC(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function Che(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof E8?i=r.count():(n=r.getTicks(),i=n.length);var o=e.getLabelModel(),s=Wf(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var f=n?n[c]:{value:a[0]+c},h=s(f,c),d=o.getTextRect(h),v=She(d,o.get("rotate")||0);l?l.union(v):l=v}return l}}function She(e,t){var r=t*Math.PI/180,n=e.width,i=e.height,a=n*Math.abs(Math.cos(r))+Math.abs(i*Math.sin(r)),o=n*Math.abs(Math.sin(r))+Math.abs(i*Math.cos(r)),s=new Ge(e.x,e.y,a,o);return s}function WC(e){var t=e.get("interval");return t??"auto"}function H8(e){return e.type==="category"&&WC(e.getLabelModel())===0}function z8(e,t){var r={};return O(e.mapDimensionsAll(t),function(n){r[zfe(e,n)]=!0}),xt(r)}function whe(e,t,r){t&&O(z8(t,r),function(n){var i=t.getApproximateExtent(n);i[0]<e[0]&&(e[0]=i[0]),i[1]>e[1]&&(e[1]=i[1])})}var W8=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),WP=[],The={registerPreprocessor:v8,registerProcessor:p8,registerPostInit:vfe,registerPostUpdate:pfe,registerUpdateLifecycle:NC,registerAction:bi,registerCoordinateSystem:gfe,registerLayout:mfe,registerVisual:Ps,registerTransform:xfe,registerLoading:g8,registerMap:yfe,registerImpl:Kce,PRIORITY:ufe,ComponentModel:lt,ComponentView:Kr,SeriesModel:kn,ChartView:Rr,registerComponentModel:function(e){lt.registerClass(e)},registerComponentView:function(e){Kr.registerClass(e)},registerSeriesModel:function(e){kn.registerClass(e)},registerChartView:function(e){Rr.registerClass(e)},registerSubTypeDefaulter:function(e,t){lt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Sae(e,t)}};function Bn(e){if(de(e)){O(e,function(t){Bn(t)});return}Ve(WP,e)>=0||(WP.push(e),Ie(e)&&(e={install:e}),e.install(The))}var gf=_t();function Ahe(e){return e.type==="category"?Phe(e):Mhe(e)}function Ehe(e,t){return e.type==="category"?Ihe(e,t):{ticks:ve(e.scale.getTicks(),function(r){return r.value})}}function Phe(e){var t=e.getLabelModel(),r=V8(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function V8(e,t){var r=U8(e,"labels"),n=WC(t),i=G8(r,n);if(i)return i;var a,o;return Ie(n)?a=Y8(e,n):(o=n==="auto"?Dhe(e):n,a=q8(e,o)),j8(r,n,{labels:a,labelCategoryInterval:o})}function Ihe(e,t){var r=U8(e,"ticks"),n=WC(t),i=G8(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),Ie(n))a=Y8(e,n,!0);else if(n==="auto"){var s=V8(e,e.getLabelModel());o=s.labelCategoryInterval,a=ve(s.labels,function(l){return l.tickValue})}else o=n,a=q8(e,o,!0);return j8(r,n,{ticks:a,tickCategoryInterval:o})}function Mhe(e){var t=e.scale.getTicks(),r=Wf(e);return{labels:ve(t,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function U8(e,t){return gf(e)[t]||(gf(e)[t]=[])}function G8(e,t){for(var r=0;r<e.length;r++)if(e[r].key===t)return e[r].value}function j8(e,t,r){return e.push({key:t,value:r}),r}function Dhe(e){var t=gf(e).autoInterval;return t??(gf(e).autoInterval=e.calculateCategoryInterval())}function Lhe(e){var t=Rhe(e),r=Wf(e),n=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,a=i.getExtent(),o=i.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(n)),f=Math.abs(u*Math.sin(n)),h=0,d=0;l<=a[1];l+=s){var v=0,p=0,m=u0(r({value:l}),t.font,"center","top");v=m.width*1.3,p=m.height*1.3,h=Math.max(h,v,7),d=Math.max(d,p,7)}var g=h/c,y=d/f;isNaN(g)&&(g=1/0),isNaN(y)&&(y=1/0);var x=Math.max(0,Math.floor(Math.min(g,y))),_=gf(e.model),b=e.getExtent(),C=_.lastAutoInterval,S=_.lastTickCount;return C!=null&&S!=null&&Math.abs(C-x)<=1&&Math.abs(S-o)<=1&&C>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=C:(_.lastTickCount=o,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}function Rhe(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 q8(e,t,r){var n=Wf(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],c=i.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=H8(e),h=o.get("showMinLabel")||f,d=o.get("showMaxLabel")||f;h&&u!==a[0]&&p(a[0]);for(var v=u;v<=a[1];v+=l)p(v);d&&v-l!==a[1]&&p(a[1]);function p(m){var g={value:m};s.push(r?m:{formattedLabel:n(g),rawLabel:i.getLabel(g),tickValue:m})}return s}function Y8(e,t,r){var n=e.scale,i=Wf(e),a=[];return O(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&a.push(r?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),a}var VP=[0,1],Ohe=function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=n&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return N4(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),UP(n,i.count())),Ar(t,VP,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),UP(n,i.count()));var a=Ar(t,n,VP,r);return this.scale.scale(a)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=Ehe(this,r),i=n.ticks,a=ve(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return khe(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=ve(n,function(a){return ve(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(){return Ahe(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,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},e.prototype.calculateCategoryInterval=function(){return Lhe(this)},e}();function UP(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function khe(e,t,r,n){var i=t.length;if(!e.onBand||r||!i)return;var a=e.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[0]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;O(t,function(d){d.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s},t.push(o)}var f=a[0]>a[1];h(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&h(a[0],t[0].coord)&&t.unshift({coord:a[0]}),h(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&h(o.coord,a[1])&&t.push({coord:a[1]});function h(d,v){return d=Lt(d),v=Lt(v),f?d>v:d<v}}const X8=Ohe;var ju=Math.PI*2,Co=Gi.CMD,Nhe=["top","right","bottom","left"];function Bhe(e,t,r,n,i){var a=r.width,o=r.height;switch(e){case"top":n.set(r.x+a/2,r.y-t),i.set(0,-1);break;case"bottom":n.set(r.x+a/2,r.y+o+t),i.set(0,1);break;case"left":n.set(r.x-t,r.y+o/2),i.set(-1,0);break;case"right":n.set(r.x+a+t,r.y+o/2),i.set(1,0);break}}function Fhe(e,t,r,n,i,a,o,s,l){o-=e,s-=t;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var c=o*r+e,f=s*r+t;if(Math.abs(n-i)%ju<1e-4)return l[0]=c,l[1]=f,u-r;if(a){var h=n;n=Ta(i),i=Ta(h)}else n=Ta(n),i=Ta(i);n>i&&(i+=ju);var d=Math.atan2(s,o);if(d<0&&(d+=ju),d>=n&&d<=i||d+ju>=n&&d+ju<=i)return l[0]=c,l[1]=f,u-r;var v=r*Math.cos(n)+e,p=r*Math.sin(n)+t,m=r*Math.cos(i)+e,g=r*Math.sin(i)+t,y=(v-o)*(v-o)+(p-s)*(p-s),x=(m-o)*(m-o)+(g-s)*(g-s);return y<x?(l[0]=v,l[1]=p,Math.sqrt(y)):(l[0]=m,l[1]=g,Math.sqrt(x))}function np(e,t,r,n,i,a,o,s){var l=i-e,u=a-t,c=r-e,f=n-t,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var d=l*c+u*f,v=d/h;s&&(v=Math.min(Math.max(v,0),1)),v*=h;var p=o[0]=e+v*c,m=o[1]=t+v*f;return Math.sqrt((p-i)*(p-i)+(m-a)*(m-a))}function K8(e,t,r,n,i,a,o){r<0&&(e=e+r,r=-r),n<0&&(t=t+n,n=-n);var s=e+r,l=t+n,u=o[0]=Math.min(Math.max(i,e),s),c=o[1]=Math.min(Math.max(a,t),l);return Math.sqrt((u-i)*(u-i)+(c-a)*(c-a))}var An=[];function $he(e,t,r){var n=K8(t.x,t.y,t.width,t.height,e.x,e.y,An);return r.set(An[0],An[1]),n}function Hhe(e,t,r){for(var n=0,i=0,a=0,o=0,s,l,u=1/0,c=t.data,f=e.x,h=e.y,d=0;d<c.length;){var v=c[d++];d===1&&(n=c[d],i=c[d+1],a=n,o=i);var p=u;switch(v){case Co.M:a=c[d++],o=c[d++],n=a,i=o;break;case Co.L:p=np(n,i,c[d],c[d+1],f,h,An,!0),n=c[d++],i=c[d++];break;case Co.C:p=C4(n,i,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],f,h,An),n=c[d++],i=c[d++];break;case Co.Q:p=w4(n,i,c[d++],c[d++],c[d],c[d+1],f,h,An),n=c[d++],i=c[d++];break;case Co.A:var m=c[d++],g=c[d++],y=c[d++],x=c[d++],_=c[d++],b=c[d++];d+=1;var C=!!(1-c[d++]);s=Math.cos(_)*y+m,l=Math.sin(_)*x+g,d<=1&&(a=s,o=l);var S=(f-m)*x/y+m;p=Fhe(m,g,x,_,_+b,C,S,h,An),n=Math.cos(_+b)*y+m,i=Math.sin(_+b)*x+g;break;case Co.R:a=n=c[d++],o=i=c[d++];var w=c[d++],E=c[d++];p=K8(a,o,w,E,f,h,An);break;case Co.Z:p=np(n,i,a,o,f,h,An,!0),n=a,i=o;break}p<u&&(u=p,r.set(An[0],An[1]))}return u}var Dn=new Ee,ot=new Ee,wt=new Ee,si=new Ee,ri=new Ee;function GP(e,t){if(e){var r=e.getTextGuideLine(),n=e.getTextContent();if(n&&r){var i=e.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=i.candidates||Nhe,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=i.anchor,c=e.getComputedTransform(),f=c&&s0([],c),h=t.get("length2")||0;u&&wt.copy(u);for(var d=0;d<o.length;d++){var v=o[d];Bhe(v,0,s,Dn,si),Ee.scaleAndAdd(ot,Dn,si,h),ot.transform(f);var p=e.getBoundingRect(),m=u?u.distance(ot):e instanceof We?Hhe(ot,e.path,wt):$he(ot,p,wt);m<l&&(l=m,ot.transform(c),wt.transform(c),wt.toArray(a[0]),ot.toArray(a[1]),Dn.toArray(a[2]))}Z8(a,t.get("minTurnAngle")),r.setShape({points:a})}}}var ip=[],pr=new Ee;function Z8(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Dn.fromArray(e[0]),ot.fromArray(e[1]),wt.fromArray(e[2]),Ee.sub(si,Dn,ot),Ee.sub(ri,wt,ot);var r=si.len(),n=ri.len();if(!(r<.001||n<.001)){si.scale(1/r),ri.scale(1/n);var i=si.dot(ri),a=Math.cos(t);if(a<i){var o=np(ot.x,ot.y,wt.x,wt.y,Dn.x,Dn.y,ip,!1);pr.fromArray(ip),pr.scaleAndAdd(ri,o/Math.tan(Math.PI-t));var s=wt.x!==ot.x?(pr.x-ot.x)/(wt.x-ot.x):(pr.y-ot.y)/(wt.y-ot.y);if(isNaN(s))return;s<0?Ee.copy(pr,ot):s>1&&Ee.copy(pr,wt),pr.toArray(e[1])}}}}function zhe(e,t,r){if(r<=180&&r>0){r=r/180*Math.PI,Dn.fromArray(e[0]),ot.fromArray(e[1]),wt.fromArray(e[2]),Ee.sub(si,ot,Dn),Ee.sub(ri,wt,ot);var n=si.len(),i=ri.len();if(!(n<.001||i<.001)){si.scale(1/n),ri.scale(1/i);var a=si.dot(t),o=Math.cos(r);if(a<o){var s=np(ot.x,ot.y,wt.x,wt.y,Dn.x,Dn.y,ip,!1);pr.fromArray(ip);var l=Math.PI/2,u=Math.acos(ri.dot(t)),c=l+u-r;if(c>=l)Ee.copy(pr,wt);else{pr.scaleAndAdd(ri,s/Math.tan(Math.PI/2-c));var f=wt.x!==ot.x?(pr.x-ot.x)/(wt.x-ot.x):(pr.y-ot.y)/(wt.y-ot.y);if(isNaN(f))return;f<0?Ee.copy(pr,ot):f>1&&Ee.copy(pr,wt)}pr.toArray(e[1])}}}}function jP(e,t,r,n){var i=r==="normal",a=i?e:e.ensureState(r);a.ignore=t;var o=n.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();i?e.useStyle(s):a.style=s}function Whe(e,t){var r=t.smooth,n=t.points;if(n)if(e.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var i=Ox(n[0],n[1]),a=Ox(n[1],n[2]);if(!i||!a){e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]);return}var o=Math.min(i,a)*r,s=dd([],n[1],n[0],o/i),l=dd([],n[1],n[2],o/a),u=dd([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)e.lineTo(n[c][0],n[c][1])}function Q8(e,t,r){var n=e.getTextGuideLine(),i=e.getTextContent();if(!i){n&&e.removeTextGuideLine();return}for(var a=t.normal,o=a.get("show"),s=i.ignore,l=0;l<Uv.length;l++){var u=Uv[l],c=t[u],f=u==="normal";if(c){var h=c.get("show"),d=f?s:Ue(i.states[u]&&i.states[u].ignore,s);if(d||!Ue(h,o)){var v=f?n:n&&n.states[u];v&&(v.ignore=!0);continue}n||(n=new ws,e.setTextGuideLine(n),!f&&(s||!o)&&jP(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),jP(n,!1,u,c)}}if(n){De(n.style,r),n.style.fill=null;var p=a.get("showAbove"),m=e.textGuideLineConfig=e.textGuideLineConfig||{};m.showAbove=p||!1,n.buildPath=Whe}}function J8(e,t){t=t||"labelLine";for(var r={normal:e.getModel(t)},n=0;n<gn.length;n++){var i=gn[n];r[i]=e.getModel([i,t])}return r}function eF(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(!n.defaultAttr.ignore){var i=n.label,a=i.getComputedTransform(),o=i.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,l=i.style.margin||0,u=o.clone();u.applyTransform(a),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Gv(o,a):null;t.push({label:i,labelLine:n.labelLine,rect:u,localRect:o,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:a})}}return t}function tF(e,t,r,n,i,a){var o=e.length;if(o<2)return;e.sort(function(w,E){return w.rect[t]-E.rect[t]});for(var s=0,l,u=!1,c=0,f=0;f<o;f++){var h=e[f],d=h.rect;l=d[t]-s,l<0&&(d[t]-=l,h.label[t]-=l,u=!0);var v=Math.max(-l,0);c+=v,s=d[t]+d[r]}c>0&&a&&b(-c/o,0,o);var p=e[0],m=e[o-1],g,y;x(),g<0&&C(-g,.8),y<0&&C(y,.8),x(),_(g,y,1),_(y,g,-1),x(),g<0&&S(-g),y<0&&S(y);function x(){g=p.rect[t]-n,y=i-m.rect[t]-m.rect[r]}function _(w,E,T){if(w<0){var A=Math.min(E,-w);if(A>0){b(A*T,0,o);var P=A+w;P<0&&C(-P*T,1)}else C(-w*T,1)}}function b(w,E,T){w!==0&&(u=!0);for(var A=E;A<T;A++){var P=e[A],D=P.rect;D[t]+=w,P.label[t]+=w}}function C(w,E){for(var T=[],A=0,P=1;P<o;P++){var D=e[P-1].rect,L=Math.max(e[P].rect[t]-D[t]-D[r],0);T.push(L),A+=L}if(A){var N=Math.min(Math.abs(w)/A,E);if(w>0)for(var P=0;P<o-1;P++){var B=T[P]*N;b(B,0,P+1)}else for(var P=o-1;P>0;P--){var B=T[P-1]*N;b(-B,P,o)}}}function S(w){var E=w<0?-1:1;w=Math.abs(w);for(var T=Math.ceil(w/(o-1)),A=0;A<o-1;A++)if(E>0?b(T,0,A+1):b(-T,o-A-1,o),w-=T,w<=0)return}return u}function Vhe(e,t,r,n){return tF(e,"x","width",t,r,n)}function rF(e,t,r,n){return tF(e,"y","height",t,r,n)}function nF(e){var t=[];e.sort(function(p,m){return m.priority-p.priority});var r=new Ge(0,0,0,0);function n(p){if(!p.ignore){var m=p.ensureState("emphasis");m.ignore==null&&(m.ignore=!1)}p.ignore=!0}for(var i=0;i<e.length;i++){var a=e[i],o=a.axisAligned,s=a.localRect,l=a.transform,u=a.label,c=a.labelLine;r.copy(a.rect),r.width-=.1,r.height-=.1,r.x+=.05,r.y+=.05;for(var f=a.obb,h=!1,d=0;d<t.length;d++){var v=t[d];if(r.intersect(v.rect)){if(o&&v.axisAligned){h=!0;break}if(v.obb||(v.obb=new Gv(v.localRect,v.transform)),f||(f=new Gv(s,l)),f.intersect(v.obb)){h=!0;break}}}h?(n(u),c&&n(c)):(u.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),t.push(a))}}function Uhe(e){if(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].slice());return t}}function Ghe(e,t){var r=e.label,n=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:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:Uhe(n&&n.shape.points)}}var qP=["align","verticalAlign","width","height","fontSize"],$r=new Bf,Vm=_t(),jhe=_t();function Yh(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];t[i]!=null&&(e[i]=t[i])}}var Xh=["x","y","rotation"],qhe=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,r,n,i,a){var o=i.style,s=i.__hostTarget,l=s.textConfig||{},u=i.getComputedTransform(),c=i.getBoundingRect().plain();Ge.applyTransform(c,c,u),u?$r.setLocalTransform(u):($r.x=$r.y=$r.rotation=$r.originX=$r.originY=0,$r.scaleX=$r.scaleY=1);var f=i.__hostTarget,h;if(f){h=f.getBoundingRect().plain();var d=f.getComputedTransform();Ge.applyTransform(h,h,d)}var v=h&&f.getTextGuideLine();this._labelList.push({label:i,labelLine:v,seriesModel:n,dataIndex:t,dataType:r,layoutOption:a,computedLayoutOption:null,rect:c,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:v&&v.ignore,x:$r.x,y:$r.y,scaleX:$r.scaleX,scaleY:$r.scaleY,rotation:$r.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:l.position,attachedRot:l.rotation}})},e.prototype.addLabelsOfSeries=function(t){var r=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(Ie(i)||xt(i).length)&&t.group.traverse(function(a){if(a.ignore)return!0;var o=a.getTextContent(),s=Xe(a);o&&!o.disableLabelLayout&&r._addLabel(s.dataIndex,s.dataType,n,o,i)})},e.prototype.updateLayoutConfig=function(t){var r=t.getWidth(),n=t.getHeight();function i(x,_){return function(){GP(x,_)}}for(var a=0;a<this._labelList.length;a++){var o=this._labelList[a],s=o.label,l=s.__hostTarget,u=o.defaultAttr,c=void 0;Ie(o.layoutOption)?c=o.layoutOption(Ghe(o,l)):c=o.layoutOption,c=c||{},o.computedLayoutOption=c;var f=Math.PI/180;l&&l.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 h=!1;if(c.x!=null?(s.x=Pe(c.x,r),s.setStyle("x",0),h=!0):(s.x=u.x,s.setStyle("x",u.style.x)),c.y!=null?(s.y=Pe(c.y,n),s.setStyle("y",0),h=!0):(s.y=u.y,s.setStyle("y",u.style.y)),c.labelLinePoints){var d=l.getTextGuideLine();d&&(d.setShape({points:c.labelLinePoints}),h=!1)}var v=Vm(s);v.needsUpdateLabelLine=h,s.rotation=c.rotate!=null?c.rotate*f:u.rotation,s.scaleX=u.scaleX,s.scaleY=u.scaleY;for(var p=0;p<qP.length;p++){var m=qP[p];s.setStyle(m,c[m]!=null?c[m]:u.style[m])}if(c.draggable){if(s.draggable=!0,s.cursor="move",l){var g=o.seriesModel;if(o.dataIndex!=null){var y=o.seriesModel.getData(o.dataType);g=y.getItemModel(o.dataIndex)}s.on("drag",i(l,g.getModel("labelLine")))}}else s.off("drag"),s.cursor=u.cursor}},e.prototype.layout=function(t){var r=t.getWidth(),n=t.getHeight(),i=eF(this._labelList),a=Dt(i,function(l){return l.layoutOption.moveOverlap==="shiftX"}),o=Dt(i,function(l){return l.layoutOption.moveOverlap==="shiftY"});Vhe(a,0,r),rF(o,0,n);var s=Dt(i,function(l){return l.layoutOption.hideOverlap});nF(s)},e.prototype.processLabelsOverall=function(){var t=this;O(this._chartViewList,function(r){var n=r.__model,i=r.ignoreLabelLineUpdate,a=n.isAnimationEnabled();r.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var s=!i,l=o.getTextContent();!s&&l&&(s=Vm(l).needsUpdateLabelLine),s&&t._updateLabelLine(o,n),a&&t._animateLabels(o,n)})})},e.prototype._updateLabelLine=function(t,r){var n=t.getTextContent(),i=Xe(t),a=i.dataIndex;if(n&&a!=null){var o=r.getData(i.dataType),s=o.getItemModel(a),l={},u=o.getItemVisual(a,"style"),c=o.getVisual("drawType");l.stroke=u[c];var f=s.getModel("labelLine");Q8(t,J8(s),l),GP(t,f)}},e.prototype._animateLabels=function(t,r){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Cl(t))){var a=Vm(n),o=a.oldLayout,s=Xe(t),l=s.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=r.getData(s.dataType);if(o){n.attr(o);var h=t.prevStates;h&&(Ve(h,"select")>=0&&n.attr(a.oldLayoutSelect),Ve(h,"emphasis")>=0&&n.attr(a.oldLayoutEmphasis)),Ct(n,u,r,l)}else if(n.attr(u),!mu(n).valueAnimation){var f=Ue(n.style.opacity,1);n.style.opacity=0,Bt(n,{style:{opacity:f}},r,l)}if(a.oldLayout=u,n.states.select){var d=a.oldLayoutSelect={};Yh(d,u,Xh),Yh(d,n.states.select,Xh)}if(n.states.emphasis){var v=a.oldLayoutEmphasis={};Yh(v,u,Xh),Yh(v,n.states.emphasis,Xh)}qN(n,l,c,r,r)}if(i&&!i.ignore&&!i.invisible){var a=jhe(i),o=a.oldLayout,p={points:i.shape.points};o?(i.attr({shape:o}),Ct(i,{shape:p},r)):(i.setShape(p),i.style.strokePercent=0,Bt(i,{style:{strokePercent:1}},r)),a.oldLayout=p}},e}();const Yhe=qhe;var Um=_t();function Xhe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){var i=Um(r).labelManager;i||(i=Um(r).labelManager=new Yhe),i.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,r,n){var i=Um(r).labelManager;n.updatedSeries.forEach(function(a){i.addLabelsOfSeries(r.getViewOfSeriesModel(a))}),i.updateLayoutConfig(r),i.layout(r),i.processLabelsOverall()})}var Khe=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r){return R0(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(r){var n=new pt,i=Nn("line",0,r.itemHeight/2,r.itemWidth,0,r.lineStyle.stroke,!1);n.add(i),i.setStyle(r.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,l=r.itemHeight*.8,u=Nn(s,(r.itemWidth-l)/2,(r.itemHeight-l)/2,l,l,r.itemStyle.fill);n.add(u),u.setStyle(r.itemStyle);var c=r.iconRotate==="inherit"?o:r.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([r.itemWidth/2,r.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),n},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}(kn);const Zhe=Khe;function B0(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=Xl(e,t,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o<r.length;o++)a.push(Xl(e,t,r[o]));return a.join(" ")}}function iF(e,t){var r=e.mapDimensionsAll("defaultedLabel");if(!de(t))return t+"";for(var n=[],i=0;i<r.length;i++){var a=e.getDimensionIndex(r[i]);a>=0&&n.push(t[a])}return n.join(" ")}var Qhe=function(e){se(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o.updateData(r,n,i,a),o}return t.prototype._createSymbol=function(r,n,i,a,o){this.removeAll();var s=Nn(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=Jhe,this._symbolType=r,this.add(s)},t.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){jl(this.childAt(0))},t.prototype.downplay=function(){ql(this.childAt(0))},t.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},t.prototype.setDraggable=function(r,n){var i=this.childAt(0);i.draggable=r,i.cursor=!n&&r?"move":i.cursor},t.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,l=t.getSymbolSize(r,n),u=o!==this._symbolType,c=a&&a.disableAnimation;if(u){var f=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,l,f)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(d):Ct(h,d,s,n),sf(h)}if(this._updateCommon(r,n,l,i,a),u){var h=this.childAt(0);if(!c){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Bt(h,d,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),l=r.hostModel,u,c,f,h,d,v,p,m,g;if(a&&(u=a.emphasisItemStyle,c=a.blurItemStyle,f=a.selectItemStyle,h=a.focus,d=a.blurScope,p=a.labelStatesModels,m=a.hoverScale,g=a.cursorStyle,v=a.emphasisDisabled),!a||r.hasItemOption){var y=a&&a.itemModel?a.itemModel:r.getItemModel(n),x=y.getModel("emphasis");u=x.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),h=x.get("focus"),d=x.get("blurScope"),v=x.get("disabled"),p=As(y),m=x.getShallow("scale"),g=y.getShallow("cursor")}var _=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(_||0)*Math.PI/180||0);var b=RC(r.getItemVisual(n,"symbolOffset"),i);b&&(s.x=b[0],s.y=b[1]),g&&s.attr("cursor",g);var C=r.getItemVisual(n,"style"),S=C.fill;if(s instanceof xi){var w=s.style;s.useStyle(ce({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},C))}else s.__isEmptyBrush?s.useStyle(ce({},C)):s.useStyle(C),s.style.decal=null,s.setColor(S,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var E=r.getItemVisual(n,"liftZ"),T=this._z2;E!=null?T==null&&(this._z2=s.z2,s.z2+=E):T!=null&&(s.z2=T,this._z2=null);var A=o&&o.useNameLabel;Ts(s,p,{labelFetcher:l,labelDataIndex:n,defaultText:P,inheritColor:S,defaultOpacity:C.opacity});function P(N){return A?r.getName(N):B0(r,N)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var D=s.ensureState("emphasis");D.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var L=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;D.scaleX=this._sizeX*L,D.scaleY=this._sizeY*L,this.setSymbolScale(1),ji(this,h,d,v)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.prototype.fadeOut=function(r,n,i){var a=this.childAt(0),o=Xe(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&of(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();of(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return XB(r.getItemVisual(n,"symbolSize"))},t}(pt);function Jhe(e,t){this.parent.drift(e,t)}const VC=Qhe;function Gm(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&e.getItemVisual(r,"symbol")!=="none"}function YP(e){return e!=null&&!we(e)&&(e={isIgnore:e}),e||{}}function XP(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:As(t),cursorStyle:t.get("cursor")}}var ede=function(){function e(t){this.group=new pt,this._SymbolCtor=t||VC}return e.prototype.updateData=function(t,r){this._progressiveEls=null,r=YP(r);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=XP(t),u={disableAnimation:s},c=r.getSymbolPoint||function(f){return t.getItemLayout(f)};a||n.removeAll(),t.diff(a).add(function(f){var h=c(f);if(Gm(t,h,f,r)){var d=new o(t,f,l,u);d.setPosition(h),t.setItemGraphicEl(f,d),n.add(d)}}).update(function(f,h){var d=a.getItemGraphicEl(h),v=c(f);if(!Gm(t,v,f,r)){n.remove(d);return}var p=t.getItemVisual(f,"symbol")||"circle",m=d&&d.getSymbolType&&d.getSymbolType();if(!d||m&&m!==p)n.remove(d),d=new o(t,f,l,u),d.setPosition(v);else{d.updateData(t,f,l,u);var g={x:v[0],y:v[1]};s?d.attr(g):Ct(d,g,i)}n.add(d),t.setItemGraphicEl(f,d)}).remove(function(f){var h=a.getItemGraphicEl(f);h&&h.fadeOut(function(){n.remove(h)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=XP(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){this._progressiveEls=[],n=YP(n);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var o=r.getItemLayout(a);if(Gm(r,o,a,n)){var s=new this._SymbolCtor(r,a,this._seriesScope);s.traverse(i),s.setPosition(o),this.group.add(s),r.setItemGraphicEl(a,s),this._progressiveEls.push(s)}}},e.prototype.eachRendered=function(t){x0(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var r=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(i){i.fadeOut(function(){r.remove(i)},n.hostModel)}):r.removeAll()},e}();const aF=ede;function oF(e,t,r){var n=e.getBaseAxis(),i=e.getOtherAxis(n),a=tde(i,r),o=n.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=ve(e.dimensions,function(v){return t.mapDimension(v)}),h=!1,d=t.getCalculationInfo("stackResultDimension");return Kl(t,f[0])&&(h=!0,f[0]=d),Kl(t,f[1])&&(h=!0,f[1]=d),{dataDimsForPoint:f,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function tde(e,t){var r=0,n=e.scale.getExtent();return t==="start"?r=n[0]:t==="end"?r=n[1]:tt(t)&&!isNaN(t)?r=t:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function sF(e,t,r,n){var i=NaN;e.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=r.get(e.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function rde(e,t){var r=[];return t.diff(e).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,i){r.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function nde(e,t,r,n,i,a,o,s){for(var l=rde(e,t),u=[],c=[],f=[],h=[],d=[],v=[],p=[],m=oF(i,t,o),g=e.getLayout("points")||[],y=t.getLayout("points")||[],x=0;x<l.length;x++){var _=l[x],b=!0,C=void 0,S=void 0;switch(_.cmd){case"=":C=_.idx*2,S=_.idx1*2;var w=g[C],E=g[C+1],T=y[S],A=y[S+1];(isNaN(w)||isNaN(E))&&(w=T,E=A),u.push(w,E),c.push(T,A),f.push(r[C],r[C+1]),h.push(n[S],n[S+1]),p.push(t.getRawIndex(_.idx1));break;case"+":var P=_.idx,D=m.dataDimsForPoint,L=i.dataToPoint([t.get(D[0],P),t.get(D[1],P)]);S=P*2,u.push(L[0],L[1]),c.push(y[S],y[S+1]);var N=sF(m,i,t,P);f.push(N[0],N[1]),h.push(n[S],n[S+1]),p.push(t.getRawIndex(P));break;case"-":b=!1}b&&(d.push(_),v.push(v.length))}v.sort(function(U,Q){return p[U]-p[Q]});for(var B=u.length,G=Oi(B),$=Oi(B),Y=Oi(B),J=Oi(B),H=[],x=0;x<v.length;x++){var W=v[x],X=x*2,q=W*2;G[X]=u[q],G[X+1]=u[q+1],$[X]=c[q],$[X+1]=c[q+1],Y[X]=f[q],Y[X+1]=f[q+1],J[X]=h[q],J[X+1]=h[q+1],H[x]=d[W]}return{current:G,next:$,stackedOnCurrent:Y,stackedOnNext:J,status:H}}var ua=Math.min,ca=Math.max;function Xo(e,t){return isNaN(e)||isNaN(t)}function M_(e,t,r,n,i,a,o,s,l){for(var u,c,f,h,d,v,p=r,m=0;m<n;m++){var g=t[p*2],y=t[p*2+1];if(p>=i||p<0)break;if(Xo(g,y)){if(l){p+=a;continue}break}if(p===r)e[a>0?"moveTo":"lineTo"](g,y),f=g,h=y;else{var x=g-u,_=y-c;if(x*x+_*_<.5){p+=a;continue}if(o>0){for(var b=p+a,C=t[b*2],S=t[b*2+1];C===g&&S===y&&m<n;)m++,b+=a,p+=a,C=t[b*2],S=t[b*2+1],g=t[p*2],y=t[p*2+1],x=g-u,_=y-c;var w=m+1;if(l)for(;Xo(C,S)&&w<n;)w++,b+=a,C=t[b*2],S=t[b*2+1];var E=.5,T=0,A=0,P=void 0,D=void 0;if(w>=n||Xo(C,S))d=g,v=y;else{T=C-u,A=S-c;var L=g-u,N=C-g,B=y-c,G=S-y,$=void 0,Y=void 0;if(s==="x"){$=Math.abs(L),Y=Math.abs(N);var J=T>0?1:-1;d=g-J*$*o,v=y,P=g+J*Y*o,D=y}else if(s==="y"){$=Math.abs(B),Y=Math.abs(G);var H=A>0?1:-1;d=g,v=y-H*$*o,P=g,D=y+H*Y*o}else $=Math.sqrt(L*L+B*B),Y=Math.sqrt(N*N+G*G),E=Y/(Y+$),d=g-T*o*(1-E),v=y-A*o*(1-E),P=g+T*o*E,D=y+A*o*E,P=ua(P,ca(C,g)),D=ua(D,ca(S,y)),P=ca(P,ua(C,g)),D=ca(D,ua(S,y)),T=P-g,A=D-y,d=g-T*$/Y,v=y-A*$/Y,d=ua(d,ca(u,g)),v=ua(v,ca(c,y)),d=ca(d,ua(u,g)),v=ca(v,ua(c,y)),T=g-d,A=y-v,P=g+T*Y/$,D=y+A*Y/$}e.bezierCurveTo(f,h,d,v,g,y),f=P,h=D}else e.lineTo(g,y)}u=g,c=y,p+=a}return m}var lF=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),ide=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new lF},t.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&Xo(i[o*2-2],i[o*2-1]);o--);for(;a<o&&Xo(i[a*2],i[a*2+1]);a++);}for(;a<o;)a+=M_(r,i,a,o,o,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},t.prototype.getPointOn=function(r,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,a=i.data,o=Gi.CMD,s,l,u=n==="x",c=[],f=0;f<a.length;){var h=a[f++],d=void 0,v=void 0,p=void 0,m=void 0,g=void 0,y=void 0,x=void 0;switch(h){case o.M:s=a[f++],l=a[f++];break;case o.L:if(d=a[f++],v=a[f++],x=u?(r-s)/(d-s):(r-l)/(v-l),x<=1&&x>=0){var _=u?(v-l)*x+l:(d-s)*x+s;return u?[r,_]:[_,r]}s=d,l=v;break;case o.C:d=a[f++],v=a[f++],p=a[f++],m=a[f++],g=a[f++],y=a[f++];var b=u?Fv(s,d,p,g,r,c):Fv(l,v,m,y,r,c);if(b>0)for(var C=0;C<b;C++){var S=c[C];if(S<=1&&S>=0){var _=u?Ft(l,v,m,y,S):Ft(s,d,p,g,S);return u?[r,_]:[_,r]}}s=g,l=y;break}}},t}(We),ade=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(lF),ode=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new ade},t.prototype.buildPath=function(r,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Xo(i[s*2-2],i[s*2-1]);s--);for(;o<s&&Xo(i[o*2],i[o*2+1]);o++);}for(;o<s;){var u=M_(r,i,o,s,s,1,n.smooth,l,n.connectNulls);M_(r,a,o+u-1,u,s,-1,n.stackedOnSmooth,l,n.connectNulls),o+=u+1,r.closePath()}},t}(We);function uF(e,t,r,n,i){var a=e.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,c=r.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var f=new bt({shape:{x:o,y:s,width:l,height:u}});if(t){var h=e.getBaseAxis(),d=h.isHorizontal(),v=h.inverse;d?(v&&(f.shape.x+=l),f.shape.width=0):(v||(f.shape.y+=u),f.shape.height=0);var p=Ie(i)?function(m){i(m,f)}:null;Bt(f,{shape:{width:l,height:u,x:o,y:s}},r,null,n,p)}return f}function cF(e,t,r){var n=e.getArea(),i=Lt(n.r0,1),a=Lt(n.r,1),o=new On({shape:{cx:Lt(e.cx,1),cy:Lt(e.cy,1),r0:i,r:a,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var s=e.getBaseAxis().dim==="angle";s?o.shape.endAngle=n.startAngle:o.shape.r=i,Bt(o,{shape:{endAngle:n.endAngle,r:a}},r)}return o}function sde(e,t,r,n,i){if(e){if(e.type==="polar")return cF(e,t,r);if(e.type==="cartesian2d")return uF(e,t,r,n,i)}else return null;return null}function UC(e,t){return e.type===t}function KP(e,t){if(e.length===t.length){for(var r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function ZP(e){for(var t=1/0,r=1/0,n=-1/0,i=-1/0,a=0;a<e.length;){var o=e[a++],s=e[a++];isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n)),isNaN(s)||(r=Math.min(s,r),i=Math.max(s,i))}return[[t,r],[n,i]]}function QP(e,t){var r=ZP(e),n=r[0],i=r[1],a=ZP(t),o=a[0],s=a[1];return Math.max(Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function JP(e){return tt(e)?e:e?.5:0}function lde(e,t,r){if(!r.valueDim)return[];for(var n=t.count(),i=Oi(n*2),a=0;a<n;a++){var o=sF(r,e,t,a);i[a*2]=o[0],i[a*2+1]=o[1]}return i}function fa(e,t,r,n){var i=t.getBaseAxis(),a=i.dim==="x"||i.dim==="radius"?0:1,o=[],s=0,l=[],u=[],c=[],f=[];if(n){for(s=0;s<e.length;s+=2)!isNaN(e[s])&&!isNaN(e[s+1])&&f.push(e[s],e[s+1]);e=f}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],o.push(u[0],u[1]),r){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var h=(u[a]+c[a])/2,d=[];l[a]=d[a]=h,l[1-a]=u[1-a],d[1-a]=c[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(e[s++],e[s++]),o}function ude(e,t){var r=[],n=e.length,i,a;function o(c,f,h){var d=c.coord,v=(h-d)/(f.coord-d),p=jie(v,[c.color,f.color]);return{coord:h,color:p}}for(var s=0;s<n;s++){var l=e[s],u=l.coord;if(u<0)i=l;else if(u>t){a?r.push(o(a,l,t)):i&&r.push(o(i,l,0),o(i,l,t));break}else i&&(r.push(o(i,l,0)),i=null),r.push(l),a=l}return r}function cde(e,t,r){var n=e.getVisual("visualMeta");if(!(!n||!n.length||!e.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=e.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(a){var l=t.getAxis(i),u=ve(a.stops,function(x){return{coord:l.toGlobalCoord(l.dataToCoord(x.value)),color:x.color}}),c=u.length,f=a.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var h=ude(u,i==="x"?r.getWidth():r.getHeight()),d=h.length;if(!d&&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=h[0].coord-v,m=h[d-1].coord+v,g=m-p;if(g<.001)return"transparent";O(h,function(x){x.offset=(x.coord-p)/g}),h.push({offset:d?h[d-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:d?h[0].offset:.5,color:f[0]||"transparent"});var y=new NN(0,0,0,0,h,!0);return y[i]=p,y[i+"2"]=m,y}}}function fde(e,t,r){var n=e.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(a&&!(i&&hde(a,t))){var o=t.mapDimension(a.dim),s={};return O(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function hde(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;o<i;o+=a)if(VC.getSymbolSize(t,o)[e.isHorizontal()?1:0]*1.5>n)return!1;return!0}function dde(e,t){return isNaN(e)||isNaN(t)}function vde(e){for(var t=e.length/2;t>0&&dde(e[t*2-2],e[t*2-1]);t--);return t-1}function eI(e,t){return[e[t*2],e[t*2+1]]}function pde(e,t,r){for(var n=e.length/2,i=r==="x"?0:1,a,o,s=0,l=-1,u=0;u<n;u++)if(o=e[u*2+i],!(isNaN(o)||isNaN(e[u*2+1-i]))){if(u===0){a=o;continue}if(a<=t&&o>=t||a>=t&&o<=t){l=u;break}s=u,a=o}return{range:[s,l],t:(t-a)/(o-a)}}function fF(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<gn.length;t++)if(e.get([gn[t],"endLabel","show"]))return!0;return!1}function jm(e,t,r,n){if(UC(t,"cartesian2d")){var i=n.getModel("endLabel"),a=i.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},l=fF(n)?function(d,v){e._endLabelOnDuring(d,v,o,s,a,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=uF(t,r,n,function(){var d=e._endLabel;d&&r&&s.originalX!=null&&d.attr({x:s.originalX,y:s.originalY})},l);if(!n.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);u?(f.y-=h,f.height+=h*2):(f.x-=h,f.width+=h*2)}return l&&l(1,c),c}else return cF(t,r,n)}function gde(e,t){var r=t.getBaseAxis(),n=r.isHorizontal(),i=r.inverse,a=n?i?"right":"left":"center",o=n?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||a,verticalAlign:e.get("verticalAlign")||o}}}var mde=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var r=new pt,n=new aF;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=r},t.prototype.render=function(r,n,i){var a=this,o=r.coordinateSystem,s=this.group,l=r.getData(),u=r.getModel("lineStyle"),c=r.getModel("areaStyle"),f=l.getLayout("points")||[],h=o.type==="polar",d=this._coordSys,v=this._symbolDraw,p=this._polyline,m=this._polygon,g=this._lineGroup,y=r.get("animation"),x=!c.isEmpty(),_=c.get("origin"),b=oF(o,l,_),C=x&&lde(o,l,b),S=r.get("showSymbol"),w=r.get("connectNulls"),E=S&&!h&&fde(r,l,o),T=this._data;T&&T.eachItemGraphicEl(function(Q,re){Q.__temp&&(s.remove(Q),T.setItemGraphicEl(re,null))}),S||v.remove(),s.add(g);var A=h?!1:r.get("step"),P;o&&o.getArea&&r.get("clip",!0)&&(P=o.getArea(),P.width!=null?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r+=.5)),this._clipShapeForSymbol=P;var D=cde(l,o,i)||l.getVisual("style")[l.getVisual("drawType")];if(!(p&&d.type===o.type&&A===this._step))S&&v.updateData(l,{isIgnore:E,clipShape:P,disableAnimation:!0,getSymbolPoint:function(Q){return[f[Q*2],f[Q*2+1]]}}),y&&this._initSymbolLabelAnimation(l,o,P),A&&(f=fa(f,o,A,w),C&&(C=fa(C,o,A,w))),p=this._newPolyline(f),x?m=this._newPolygon(f,C):m&&(g.remove(m),m=this._polygon=null),h||this._initOrUpdateEndLabel(r,o,ss(D)),g.setClipPath(jm(this,o,!0,r));else{x&&!m?m=this._newPolygon(f,C):m&&!x&&(g.remove(m),m=this._polygon=null),h||this._initOrUpdateEndLabel(r,o,ss(D));var L=g.getClipPath();if(L){var N=jm(this,o,!1,r);Bt(L,{shape:N.shape},r)}else g.setClipPath(jm(this,o,!0,r));S&&v.updateData(l,{isIgnore:E,clipShape:P,disableAnimation:!0,getSymbolPoint:function(Q){return[f[Q*2],f[Q*2+1]]}}),(!KP(this._stackedOnPoints,C)||!KP(this._points,f))&&(y?this._doUpdateAnimation(l,C,o,i,A,_,w):(A&&(f=fa(f,o,A,w),C&&(C=fa(C,o,A,w))),p.setShape({points:f}),m&&m.setShape({points:f,stackedOnPoints:C})))}var B=r.getModel("emphasis"),G=B.get("focus"),$=B.get("blurScope"),Y=B.get("disabled");if(p.useStyle(De(u.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),Va(p,r,"lineStyle"),p.style.lineWidth>0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var J=p.getState("emphasis").style;J.lineWidth=+p.style.lineWidth+1}Xe(p).seriesIndex=r.seriesIndex,ji(p,G,$,Y);var H=JP(r.get("smooth")),W=r.get("smoothMonotone");if(p.setShape({smooth:H,smoothMonotone:W,connectNulls:w}),m){var X=l.getCalculationInfo("stackedOnSeries"),q=0;m.useStyle(De(c.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),X&&(q=JP(X.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:q,smoothMonotone:W,connectNulls:w}),Va(m,r,"areaStyle"),Xe(m).seriesIndex=r.seriesIndex,ji(m,G,$,Y)}var U=function(Q){a._changePolyState(Q)};l.eachItemGraphicEl(function(Q){Q&&(Q.onHoverStateChange=U)}),this._polyline.onHoverStateChange=U,this._data=l,this._coordSys=o,this._stackedOnPoints=C,this._points=f,this._step=A,this._valueOrigin=_,r.get("triggerLineEvent")&&(this.packEventData(r,p),m&&this.packEventData(r,m))},t.prototype.packEventData=function(r,n){Xe(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},t.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=os(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var h=r.get("zlevel")||0,d=r.get("z")||0;u=new VC(o,s),u.x=c,u.y=f,u.setZ(h,d);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=h,v.z=d,v.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Rr.prototype.highlight.call(this,r,n,i,a)},t.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=os(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Rr.prototype.downplay.call(this,r,n,i,a)},t.prototype._changePolyState=function(r){var n=this._polygon;lE(this._polyline,r),n&&lE(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new ide({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new ode({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(r,n,i){var a,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var u=r.hostModel,c=u.get("animationDuration");Ie(c)&&(c=c(null));var f=u.get("animationDelay")||0,h=Ie(f)?f(null):f;r.eachItemGraphicEl(function(d,v){var p=d;if(p){var m=[d.x,d.y],g=void 0,y=void 0,x=void 0;if(i)if(o){var _=i,b=n.pointToCoord(m);a?(g=_.startAngle,y=_.endAngle,x=-b[1]/180*Math.PI):(g=_.r0,y=_.r,x=b[0])}else{var C=i;a?(g=C.x,y=C.x+C.width,x=d.x):(g=C.y+C.height,y=C.y,x=d.y)}var S=y===g?0:(x-g)/(y-g);l&&(S=1-S);var w=Ie(f)?f(v):c*S+h,E=p.getSymbolPath(),T=E.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:w}),T&&T.animateFrom({style:{opacity:0}},{duration:300,delay:w}),E.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(fF(r)){var o=r.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Et({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=vde(l);c>=0&&(Ts(s,As(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:c,defaultText:function(f,h,d){return d!=null?iF(o,d):B0(o,f)},enableTextSetter:!0},gde(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(r,n,i,a,o,s,l){var u=this._endLabel,c=this._polyline;if(u){r<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var f=i.getLayout("points"),h=i.hostModel,d=h.get("connectNulls"),v=s.get("precision"),p=s.get("distance")||0,m=l.getBaseAxis(),g=m.isHorizontal(),y=m.inverse,x=n.shape,_=y?g?x.x:x.y+x.height:g?x.x+x.width:x.y,b=(g?p:0)*(y?-1:1),C=(g?0:-p)*(y?-1:1),S=g?"x":"y",w=pde(f,_,S),E=w.range,T=E[1]-E[0],A=void 0;if(T>=1){if(T>1&&!d){var P=eI(f,E[0]);u.attr({x:P[0]+b,y:P[1]+C}),o&&(A=h.getRawValue(E[0]))}else{var P=c.getPointOn(_,S);P&&u.attr({x:P[0]+b,y:P[1]+C});var D=h.getRawValue(E[0]),L=h.getRawValue(E[1]);o&&(A=G4(i,v,D,L,w.t))}a.lastFrameIndex=E[0]}else{var N=r===1||a.lastFrameIndex>0?E[0]:0,P=eI(f,N);o&&(A=h.getRawValue(N)),u.attr({x:P[0]+b,y:P[1]+C})}o&&mu(u).setLabelText(A)}},t.prototype._doUpdateAnimation=function(r,n,i,a,o,s,l){var u=this._polyline,c=this._polygon,f=r.hostModel,h=nde(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),d=h.current,v=h.stackedOnCurrent,p=h.next,m=h.stackedOnNext;if(o&&(d=fa(h.current,i,o,l),v=fa(h.stackedOnCurrent,i,o,l),p=fa(h.next,i,o,l),m=fa(h.stackedOnNext,i,o,l)),QP(d,p)>3e3||c&&QP(v,m)>3e3){u.stopAnimation(),u.setShape({points:p}),c&&(c.stopAnimation(),c.setShape({points:p,stackedOnPoints:m}));return}u.shape.__points=h.current,u.shape.points=d;var g={shape:{points:p}};h.current!==d&&(g.shape.__points=h.next),u.stopAnimation(),Ct(u,g,f),c&&(c.setShape({points:d,stackedOnPoints:v}),c.stopAnimation(),Ct(c,{shape:{stackedOnPoints:m}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],x=h.status,_=0;_<x.length;_++){var b=x[_].cmd;if(b==="="){var C=r.getItemGraphicEl(x[_].idx1);C&&y.push({el:C,ptIdx:_})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var S=u.shape.__points,w=0;w<y.length;w++){var E=y[w].el,T=y[w].ptIdx*2;E.x=S[T],E.y=S[T+1],E.markRedraw()}})},t.prototype.remove=function(r){var n=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(a,o){a.__temp&&(n.remove(a),i.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(Rr);const yde=mde;function GC(e,t){return{seriesType:e,plan:MC(),reset:function(r){var n=r.getData(),i=r.coordinateSystem,a=r.pipelineContext,o=t||a.large;if(i){var s=ve(i.dimensions,function(d){return n.mapDimension(d)}).slice(0,2),l=s.length,u=n.getCalculationInfo("stackResultDimension");Kl(n,s[0])&&(s[0]=u),Kl(n,s[1])&&(s[1]=u);var c=n.getStore(),f=n.getDimensionIndex(s[0]),h=n.getDimensionIndex(s[1]);return l&&{progress:function(d,v){for(var p=d.end-d.start,m=o&&Oi(p*l),g=[],y=[],x=d.start,_=0;x<d.end;x++){var b=void 0;if(l===1){var C=c.get(f,x);b=i.dataToPoint(C,null,y)}else g[0]=c.get(f,x),g[1]=c.get(h,x),b=i.dataToPoint(g,null,y);o?(m[_++]=b[0],m[_++]=b[1]):v.setItemLayout(x,b.slice())}o&&v.setLayout("points",m)}}}}}}var xde={average:function(e){for(var t=0,r=0,n=0;n<e.length;n++)isNaN(e[n])||(t+=e[n],r++);return r===0?NaN:t/r},sum:function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r]||0;return t},max:function(e){for(var t=-1/0,r=0;r<e.length;r++)e[r]>t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r<e.length;r++)e[r]<t&&(t=e[r]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},_de=function(e){return Math.round(e.length/2)};function hF(e){return{seriesType:e,reset:function(t,r,n){var i=t.getData(),a=t.get("sampling"),o=t.coordinateSystem,s=i.count();if(s>10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),f=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),d=Math.round(s/h);if(isFinite(d)&&d>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/d));var v=void 0;be(a)?v=xde[a]:Ie(a)&&(v=a),v&&t.setData(i.downSample(i.mapDimension(u.dim),1/d,v,_de))}}}}}function bde(e){e.registerChartView(yde),e.registerSeriesModel(Zhe),e.registerLayout(GC("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var r=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,hF("line"))}var dF=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){return R0(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(r,n,i){var a=this.coordinateSystem;if(a&&a.clampData){var o=a.dataToPoint(a.clampData(r));if(i)O(a.getAxes(),function(f,h){if(f.type==="category"){var d=f.getTicksCoords(),v=a.clampData(r)[h];n&&(n[h]==="x1"||n[h]==="y1")&&(v+=1),v>d.length-1&&(v=d.length-1),v<0&&(v=0),d[v]&&(o[h]=f.toGlobalCoord(d[v].coord))}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=a.getBaseAxis().isHorizontal()?0:1;o[c]+=l+u/2}return o}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}(kn);kn.registerClass(dF);const ap=dF;var Cde=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(){return R0(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 r=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>r&&(r=n),r},t.prototype.brushSelector=function(r,n,i){return i.rect(n.getItemLayout(r))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=pC(ap.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}(ap);const Sde=Cde;var wde=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}(),Tde=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new wde},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),l=(s-o)*.5,u=o+l,c=n.startAngle,f=n.endAngle,h=n.clockwise,d=Math.PI*2,v=h?f-c<d:c-f<d;v||(c=f-(h?d:-d));var p=Math.cos(c),m=Math.sin(c),g=Math.cos(f),y=Math.sin(f);v?(r.moveTo(p*o+i,m*o+a),r.arc(p*u+i,m*u+a,l,-Math.PI+c,c,!h)):r.moveTo(p*s+i,m*s+a),r.arc(i,a,s,c,f,!h),r.arc(g*u+i,y*u+a,l,f-Math.PI*2,f-Math.PI,!h),o!==0&&r.arc(i,a,o,f,c,h)},t}(We);const op=Tde;function Ade(e,t){t=t||{};var r=t.isRoundCap;return function(n,i,a){var o=i.position;if(!o||o instanceof Array)return Wv(n,i,a);var s=e(o),l=i.distance!=null?i.distance:5,u=this.shape,c=u.cx,f=u.cy,h=u.r,d=u.r0,v=(h+d)/2,p=u.startAngle,m=u.endAngle,g=(p+m)/2,y=r?Math.abs(h-d)/2:0,x=Math.cos,_=Math.sin,b=c+h*x(p),C=f+h*_(p),S="left",w="top";switch(s){case"startArc":b=c+(d-l)*x(g),C=f+(d-l)*_(g),S="center",w="top";break;case"insideStartArc":b=c+(d+l)*x(g),C=f+(d+l)*_(g),S="center",w="bottom";break;case"startAngle":b=c+v*x(p)+Kh(p,l+y,!1),C=f+v*_(p)+Zh(p,l+y,!1),S="right",w="middle";break;case"insideStartAngle":b=c+v*x(p)+Kh(p,-l+y,!1),C=f+v*_(p)+Zh(p,-l+y,!1),S="left",w="middle";break;case"middle":b=c+v*x(g),C=f+v*_(g),S="center",w="middle";break;case"endArc":b=c+(h+l)*x(g),C=f+(h+l)*_(g),S="center",w="bottom";break;case"insideEndArc":b=c+(h-l)*x(g),C=f+(h-l)*_(g),S="center",w="top";break;case"endAngle":b=c+v*x(m)+Kh(m,l+y,!0),C=f+v*_(m)+Zh(m,l+y,!0),S="left",w="middle";break;case"insideEndAngle":b=c+v*x(m)+Kh(m,-l+y,!0),C=f+v*_(m)+Zh(m,-l+y,!0),S="right",w="middle";break;default:return Wv(n,i,a)}return n=n||{},n.x=b,n.y=C,n.align=S,n.verticalAlign=w,n}}function Ede(e,t,r,n){if(tt(n)){e.setTextConfig({rotation:n});return}else if(de(t)){e.setTextConfig({rotation:0});return}var i=e.shape,a=i.clockwise?i.startAngle:i.endAngle,o=i.clockwise?i.endAngle:i.startAngle,s=(a+o)/2,l,u=r(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=s;break;case"startAngle":case"insideStartAngle":l=a;break;case"endAngle":case"insideEndAngle":l=o;break;default:e.setTextConfig({rotation:0});return}var c=Math.PI*1.5-l;u==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),e.setTextConfig({rotation:c})}function Kh(e,t,r){return t*Math.sin(e)*(r?-1:1)}function Zh(e,t,r){return t*Math.cos(e)*(r?1:-1)}var qm=Math.max,Ym=Math.min;function Pde(e,t){var r=e.getArea&&e.getArea();if(UC(e,"cartesian2d")){var n=e.getBaseAxis();if(n.type!=="category"||!n.onBand){var i=t.getLayout("bandWidth");n.isHorizontal()?(r.x-=i,r.width+=i*2):(r.y-=i,r.height+=i*2)}}return r}var Ide=function(e){se(t,e);function t(){var r=e.call(this)||this;return r.type=t.type,r._isFirstFrame=!0,r}return t.prototype.render=function(r,n,i,a){this._model=r,this._removeOnRenderedListener(i),this._updateDrawMode(r);var o=r.get("coordinateSystem");(o==="cartesian2d"||o==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(r,n,i):this._renderNormal(r,n,i,a))},t.prototype.incrementalPrepareRender=function(r){this._clear(),this._updateDrawMode(r),this._updateLargeClip(r)},t.prototype.incrementalRender=function(r,n){this._progressiveEls=[],this._incrementalRenderLarge(r,n)},t.prototype.eachRendered=function(r){x0(this._progressiveEls||this.group,r)},t.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(r,n,i,a){var o=this.group,s=r.getData(),l=this._data,u=r.coordinateSystem,c=u.getBaseAxis(),f;u.type==="cartesian2d"?f=c.isHorizontal():u.type==="polar"&&(f=c.dim==="angle");var h=r.isAnimationEnabled()?r:null,d=Mde(r,u);d&&this._enableRealtimeSort(d,s,i);var v=r.get("clip",!0)||d,p=Pde(u,s);o.removeClipPath();var m=r.get("roundCap",!0),g=r.get("showBackground",!0),y=r.getModel("backgroundStyle"),x=y.get("borderRadius")||0,_=[],b=this._backgroundEls,C=a&&a.isInitSort,S=a&&a.type==="changeAxisOrder";function w(A){var P=Qh[u.type](s,A),D=Bde(u,f,P);return D.useStyle(y.getItemStyle()),u.type==="cartesian2d"&&D.setShape("r",x),_[A]=D,D}s.diff(l).add(function(A){var P=s.getItemModel(A),D=Qh[u.type](s,A,P);if(g&&w(A),!(!s.hasValue(A)||!aI[u.type](D))){var L=!1;v&&(L=tI[u.type](p,D));var N=rI[u.type](r,s,A,D,f,h,c.model,!1,m);d&&(N.forceLabelAnimation=!0),oI(N,s,A,P,D,r,f,u.type==="polar"),C?N.attr({shape:D}):d?nI(d,h,N,D,A,f,!1,!1):Bt(N,{shape:D},r,A),s.setItemGraphicEl(A,N),o.add(N),N.ignore=L}}).update(function(A,P){var D=s.getItemModel(A),L=Qh[u.type](s,A,D);if(g){var N=void 0;b.length===0?N=w(P):(N=b[P],N.useStyle(y.getItemStyle()),u.type==="cartesian2d"&&N.setShape("r",x),_[A]=N);var B=Qh[u.type](s,A),G=pF(f,B,u);Ct(N,{shape:G},h,A)}var $=l.getItemGraphicEl(P);if(!s.hasValue(A)||!aI[u.type](L)){o.remove($);return}var Y=!1;if(v&&(Y=tI[u.type](p,L),Y&&o.remove($)),$?sf($):$=rI[u.type](r,s,A,L,f,h,c.model,!!$,m),d&&($.forceLabelAnimation=!0),S){var J=$.getTextContent();if(J){var H=mu(J);H.prevValue!=null&&(H.prevValue=H.value)}}else oI($,s,A,D,L,r,f,u.type==="polar");C?$.attr({shape:L}):d?nI(d,h,$,L,A,f,!0,S):Ct($,{shape:L},r,A,null),s.setItemGraphicEl(A,$),$.ignore=Y,o.add($)}).remove(function(A){var P=l.getItemGraphicEl(A);P&&jv(P,r,A)}).execute();var E=this._backgroundGroup||(this._backgroundGroup=new pt);E.removeAll();for(var T=0;T<_.length;++T)E.add(_[T]);o.add(E),this._backgroundEls=_,this._data=s},t.prototype._renderLarge=function(r,n,i){this._clear(),lI(r,this.group),this._updateLargeClip(r)},t.prototype._incrementalRenderLarge=function(r,n){this._removeBackground(),lI(n,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(r){var n=r.get("clip",!0)&&sde(r.coordinateSystem,!1,r),i=this.group;n?i.setClipPath(n):i.removeClipPath()},t.prototype._enableRealtimeSort=function(r,n,i){var a=this;if(n.count()){var o=r.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(n,r,i),this._isFirstFrame=!1;else{var s=function(l){var u=n.getItemGraphicEl(l),c=u&&u.shape;return c&&Math.abs(o.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){a._updateSortWithinSameData(n,s,o,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(r,n,i){var a=[];return r.each(r.mapDimension(n.dim),function(o,s){var l=i(s);l=l??NaN,a.push({dataIndex:s,mappedValue:l,ordinalNumber:o})}),a.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:ve(a,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(r,n,i){for(var a=i.scale,o=r.mapDimension(i.dim),s=Number.MAX_VALUE,l=0,u=a.getOrdinalMeta().categories.length;l<u;++l){var c=r.rawIndexOf(o,a.getRawOrdinalNumber(l)),f=c<0?Number.MIN_VALUE:n(r.indexOfRawIndex(c));if(f>s)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(r,n){for(var i=n.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(r.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(r,n,i,a){if(this._isOrderChangedWithinSameData(r,n,i)){var o=this._dataSort(r,i,n);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(r,n,i){var a=n.baseAxis,o=this._dataSort(r,a,function(s){return r.get(r.mapDimension(n.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},t.prototype.remove=function(r,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(r,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(r){this._onRendered&&(r.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(r){var n=this.group,i=this._data;r&&r.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){jv(a,r,Xe(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(Rr),tI={cartesian2d:function(e,t){var r=t.width<0?-1:1,n=t.height<0?-1:1;r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,a=e.y+e.height,o=qm(t.x,e.x),s=Ym(t.x+t.width,i),l=qm(t.y,e.y),u=Ym(t.y+t.height,a),c=s<o,f=u<l;return t.x=c&&o>i?s:o,t.y=f&&l>a?u:l,t.width=c?0:s-o,t.height=f?0:u-l,r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var r=t.r0<=t.r?1:-1;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}var i=Ym(t.r,e.r),a=qm(t.r0,e.r0);t.r=i,t.r0=a;var o=i-a<0;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},rI={cartesian2d:function(e,t,r,n,i,a,o,s,l){var u=new bt({shape:ce({},n),z2:1});if(u.__dataIndex=r,u.name="item",a){var c=u.shape,f=i?"height":"width";c[f]=0}return u},polar:function(e,t,r,n,i,a,o,s,l){var u=!i&&l?op:On,c=new u({shape:n,z2:1});c.name="item";var f=vF(i);if(c.calculateTextPosition=Ade(f,{isRoundCap:u===op}),a){var h=c.shape,d=i?"r":"endAngle",v={};h[d]=i?0:n.startAngle,v[d]=n[d],(s?Ct:Bt)(c,{shape:v},a)}return c}};function Mde(e,t){var r=e.get("realtimeSort",!0),n=t.getBaseAxis();if(r&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function nI(e,t,r,n,i,a,o,s){var l,u;a?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(o?Ct:Bt)(r,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(o?Ct:Bt)(r,{shape:u},c,i)}function iI(e,t){for(var r=0;r<t.length;r++)if(!isFinite(e[t[r]]))return!0;return!1}var Dde=["x","y","width","height"],Lde=["cx","cy","r","startAngle","endAngle"],aI={cartesian2d:function(e){return!iI(e,Dde)},polar:function(e){return!iI(e,Lde)}},Qh={cartesian2d:function(e,t,r){var n=e.getItemLayout(t),i=r?Ode(r,n):0,a=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*i/2,y:n.y+o*i/2,width:n.width-a*i,height:n.height-o*i}},polar:function(e,t,r){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function Rde(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function vF(e){return function(t){var r=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+r;default:return n}}}(e)}function oI(e,t,r,n,i,a,o,s){var l=t.getItemVisual(r,"style");s||e.setShape("r",n.get(["itemStyle","borderRadius"])||0),e.useStyle(l);var u=n.getShallow("cursor");u&&e.attr("cursor",u);var c=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",f=As(n);Ts(e,f,{labelFetcher:a,labelDataIndex:r,defaultText:B0(a.getData(),r),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var h=e.getTextContent();if(s&&h){var d=n.get(["label","position"]);e.textConfig.inside=d==="middle"?!0:null,Ede(e,d==="outside"?c:d,vF(o),n.get(["label","rotate"]))}jN(h,f,a.getRawValue(r),function(p){return iF(t,p)});var v=n.getModel(["emphasis"]);ji(e,v.get("focus"),v.get("blurScope"),v.get("disabled")),Va(e,n),Rde(i)&&(e.style.fill="none",e.style.stroke="none",O(e.states,function(p){p.style&&(p.style.fill=p.style.stroke="none")}))}function Ode(e,t){var r=e.get(["itemStyle","borderColor"]);if(!r||r==="none")return 0;var n=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,a)}var kde=function(){function e(){}return e}(),sI=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new kde},t.prototype.buildPath=function(r,n){for(var i=n.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c<i.length;c+=3)l[a]=u,l[o]=i[c+2],s[a]=i[c+a],s[o]=i[c+o],r.rect(s[0],s[1],l[0],l[1])},t}(We);function lI(e,t,r,n){var i=e.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),u=i.getLayout("largeBackgroundPoints");if(u){var c=new sI({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),r&&r.push(c)}var f=new sI({shape:{points:i.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=a,f.largeDataIndices=o,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),Xe(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",uI),f.on("mousemove",uI)),r&&r.push(f)}var uI=LC(function(e){var t=this,r=Nde(t,e.offsetX,e.offsetY);Xe(t).dataIndex=r>=0?r:null},30,!1);function Nde(e,t,r){for(var n=e.baseDimIdx,i=1-n,a=e.shape.points,o=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=a.length/3;c<f;c++){var h=c*3;if(l[n]=u,l[i]=a[h+2],s[n]=a[h+n],s[i]=a[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&r>=s[1]&&r<=s[1]+l[1])return o[c]}return-1}function pF(e,t,r){if(UC(r,"cartesian2d")){var n=t,i=r.getArea();return{x:e?n.x:i.x,y:e?i.y:n.y,width:e?n.width:i.width,height:e?i.height:n.height}}else{var i=r.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:a.r0,r:e?i.r:a.r,startAngle:e?a.startAngle:0,endAngle:e?a.endAngle:Math.PI*2}}}function Bde(e,t,r){var n=e.type==="polar"?On:bt;return new n({shape:pF(t,r,e),silent:!0,z2:0})}const Fde=Ide;function $de(e){e.registerChartView(Fde),e.registerSeriesModel(Sde),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,et(L8,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,R8("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,hF("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,r){var n=t.componentType||"series";r.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var Jh=Math.PI*2,cI=Math.PI/180;function gF(e,t){return Ua(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function mF(e,t){var r=gF(e,t),n=e.get("center"),i=e.get("radius");de(i)||(i=[0,i]);var a=Pe(r.width,t.getWidth()),o=Pe(r.height,t.getHeight()),s=Math.min(a,o),l=Pe(i[0],s/2),u=Pe(i[1],s/2),c,f,h=e.coordinateSystem;if(h){var d=h.dataToPoint(n);c=d[0]||0,f=d[1]||0}else de(n)||(n=[n,n]),c=Pe(n[0],a)+r.x,f=Pe(n[1],o)+r.y;return{cx:c,cy:f,r0:l,r:u}}function Hde(e,t,r){t.eachSeriesByType(e,function(n){var i=n.getData(),a=i.mapDimension("value"),o=gF(n,r),s=mF(n,r),l=s.cx,u=s.cy,c=s.r,f=s.r0,h=-n.get("startAngle")*cI,d=n.get("minAngle")*cI,v=0;i.each(a,function(T){!isNaN(T)&&v++});var p=i.getSum(a),m=Math.PI/(p||v)*2,g=n.get("clockwise"),y=n.get("roseType"),x=n.get("stillShowZeroSum"),_=i.getDataExtent(a);_[0]=0;var b=Jh,C=0,S=h,w=g?1:-1;if(i.setLayout({viewRect:o,r:c}),i.each(a,function(T,A){var P;if(isNaN(T)){i.setItemLayout(A,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:l,cy:u,r0:f,r:y?NaN:c});return}y!=="area"?P=p===0&&x?m:T*m:P=Jh/v,P<d?(P=d,b-=d):C+=T;var D=S+w*P;i.setItemLayout(A,{angle:P,startAngle:S,endAngle:D,clockwise:g,cx:l,cy:u,r0:f,r:y?Ar(T,_,[f,c]):c}),S=D}),b<Jh&&v)if(b<=.001){var E=Jh/v;i.each(a,function(T,A){if(!isNaN(T)){var P=i.getItemLayout(A);P.angle=E,P.startAngle=h+w*A*E,P.endAngle=h+w*(A+1)*E}})}else m=b/C,S=h,i.each(a,function(T,A){if(!isNaN(T)){var P=i.getItemLayout(A),D=P.angle===d?d:T*m;P.startAngle=S,P.endAngle=S+w*D,S+=w*D}})})}function yF(e){return{seriesType:e,reset:function(t,r){var n=r.findComponents({mainType:"legend"});if(!(!n||!n.length)){var i=t.getData();i.filterSelf(function(a){for(var o=i.getName(a),s=0;s<n.length;s++)if(!n[s].isSelected(o))return!1;return!0})}}}}var zde=Math.PI/180;function fI(e,t,r,n,i,a,o,s,l,u){if(e.length<2)return;function c(p){for(var m=p.rB,g=m*m,y=0;y<p.list.length;y++){var x=p.list[y],_=Math.abs(x.label.y-r),b=n+x.len,C=b*b,S=Math.sqrt((1-Math.abs(_*_/g))*C),w=t+(S+x.len2)*i,E=w-x.label.x,T=x.targetTextWidth-E*i;xF(x,T,!0),x.label.x=w}}function f(p){for(var m={list:[],maxY:0},g={list:[],maxY:0},y=0;y<p.length;y++)if(p[y].labelAlignTo==="none"){var x=p[y],_=x.label.y>r?g:m,b=Math.abs(x.label.y-r);if(b>=_.maxY){var C=x.label.x-t-x.len2*i,S=n+x.len,w=Math.abs(C)<S?Math.sqrt(b*b/(1-C*C/S/S)):S;_.rB=w,_.maxY=b}_.list.push(x)}c(m),c(g)}for(var h=e.length,d=0;d<h;d++)if(e[d].position==="outer"&&e[d].labelAlignTo==="labelLine"){var v=e[d].label.x-u;e[d].linePoints[1][0]+=v,e[d].label.x=u}rF(e,l,l+o)&&f(e)}function Wde(e,t,r,n,i,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<e.length;h++){var d=e[h].label;Xm(e[h])||(d.x<t?(c=Math.min(c,d.x),l.push(e[h])):(f=Math.max(f,d.x),u.push(e[h])))}for(var h=0;h<e.length;h++){var v=e[h];if(!Xm(v)&&v.linePoints){if(v.labelStyleWidth!=null)continue;var d=v.label,p=v.linePoints,m=void 0;v.labelAlignTo==="edge"?d.x<t?m=p[2][0]-v.labelDistance-o-v.edgeDistance:m=o+i-v.edgeDistance-p[2][0]-v.labelDistance:v.labelAlignTo==="labelLine"?d.x<t?m=c-o-v.bleedMargin:m=o+i-f-v.bleedMargin:d.x<t?m=d.x-o-v.bleedMargin:m=o+i-d.x-v.bleedMargin,v.targetTextWidth=m,xF(v,m)}}fI(u,t,r,n,1,i,a,o,s,f),fI(l,t,r,n,-1,i,a,o,s,c);for(var h=0;h<e.length;h++){var v=e[h];if(!Xm(v)&&v.linePoints){var d=v.label,p=v.linePoints,g=v.labelAlignTo==="edge",y=d.style.padding,x=y?y[1]+y[3]:0,_=d.style.backgroundColor?0:x,b=v.rect.width+_,C=p[1][0]-p[2][0];g?d.x<t?p[2][0]=o+v.edgeDistance+b+v.labelDistance:p[2][0]=o+i-v.edgeDistance-b-v.labelDistance:(d.x<t?p[2][0]=d.x+v.labelDistance:p[2][0]=d.x-v.labelDistance,p[1][0]=p[2][0]+C),p[1][1]=p[2][1]=d.y}}}function xF(e,t,r){if(r===void 0&&(r=!1),e.labelStyleWidth==null){var n=e.label,i=n.style,a=e.rect,o=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=a.width+(o?0:l);if(t<c||r){var f=a.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-l);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",o)}else{var d=t-l,v=t<c?d:r?d>e.unconstrainedWidth?null:d:null;n.setStyle("width",v)}var p=n.getBoundingRect();a.width=p.width;var m=(n.style.margin||0)+2.1;a.height=p.height+m,a.y-=(a.height-f)/2}}}function Xm(e){return e.position==="center"}function Vde(e){var t=e.getData(),r=[],n,i,a=!1,o=(e.get("minShowLabelAngle")||0)*zde,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,h=s.height;function d(C){C.ignore=!0}function v(C){if(!C.ignore)return!0;for(var S in C.states)if(C.states[S].ignore===!1)return!0;return!1}t.each(function(C){var S=t.getItemGraphicEl(C),w=S.shape,E=S.getTextContent(),T=S.getTextGuideLine(),A=t.getItemModel(C),P=A.getModel("label"),D=P.get("position")||A.get(["emphasis","label","position"]),L=P.get("distanceToLabelLine"),N=P.get("alignTo"),B=Pe(P.get("edgeDistance"),u),G=P.get("bleedMargin"),$=A.getModel("labelLine"),Y=$.get("length");Y=Pe(Y,u);var J=$.get("length2");if(J=Pe(J,u),Math.abs(w.endAngle-w.startAngle)<o){O(E.states,d),E.ignore=!0,T&&(O(T.states,d),T.ignore=!0);return}if(v(E)){var H=(w.startAngle+w.endAngle)/2,W=Math.cos(H),X=Math.sin(H),q,U,Q,re;n=w.cx,i=w.cy;var ee=D==="inside"||D==="inner";if(D==="center")q=w.cx,U=w.cy,re="center";else{var me=(ee?(w.r+w.r0)/2*W:w.r*W)+n,xe=(ee?(w.r+w.r0)/2*X:w.r*X)+i;if(q=me+W*3,U=xe+X*3,!ee){var oe=me+W*(Y+l-w.r),R=xe+X*(Y+l-w.r),I=oe+(W<0?-1:1)*J,M=R;N==="edge"?q=W<0?c+B:c+u-B:q=I+(W<0?-L:L),U=M,Q=[[me,xe],[oe,R],[I,M]]}re=ee?"center":N==="edge"?W>0?"right":"left":W>0?"left":"right"}var k=Math.PI,z=0,Z=P.get("rotate");if(tt(Z))z=Z*(k/180);else if(D==="center")z=0;else if(Z==="radial"||Z===!0){var ne=W<0?-H+k:-H;z=ne}else if(Z==="tangential"&&D!=="outside"&&D!=="outer"){var ie=Math.atan2(W,X);ie<0&&(ie=k*2+ie);var ae=X>0;ae&&(ie=k+ie),z=ie-k}if(a=!!z,E.x=q,E.y=U,E.rotation=z,E.setStyle({verticalAlign:"middle"}),ee){E.setStyle({align:re});var F=E.states.select;F&&(F.x+=E.x,F.y+=E.y)}else{var te=E.getBoundingRect().clone();te.applyTransform(E.getComputedTransform());var ue=(E.style.margin||0)+2.1;te.y-=ue/2,te.height+=ue,r.push({label:E,labelLine:T,position:D,len:Y,len2:J,minTurnAngle:$.get("minTurnAngle"),maxSurfaceAngle:$.get("maxSurfaceAngle"),surfaceNormal:new Ee(W,X),linePoints:Q,textAlign:re,labelDistance:L,labelAlignTo:N,edgeDistance:B,bleedMargin:G,rect:te,unconstrainedWidth:te.width,labelStyleWidth:E.style.width})}S.setTextConfig({inside:ee})}}),!a&&e.get("avoidLabelOverlap")&&Wde(r,n,i,l,u,h,c,f);for(var p=0;p<r.length;p++){var m=r[p],g=m.label,y=m.labelLine,x=isNaN(g.x)||isNaN(g.y);if(g){g.setStyle({align:m.textAlign}),x&&(O(g.states,d),g.ignore=!0);var _=g.states.select;_&&(_.x+=g.x,_.y+=g.y)}if(y){var b=m.linePoints;x||!b?(O(y.states,d),y.ignore=!0):(Z8(b,m.minTurnAngle),zhe(b,m.surfaceNormal,m.maxSurfaceAngle),y.setShape({points:b}),g.__hostTarget.textGuideLineConfig={anchor:new Ee(b[0][0],b[0][1])})}}}function ed(e,t,r){var n=e.get("borderRadius");if(n==null)return r?{cornerRadius:0}:null;de(n)||(n=[n,n,n,n]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:ve(n,function(a){return za(a,i)})}}var Ude=function(e){se(t,e);function t(r,n,i){var a=e.call(this)||this;a.z2=2;var o=new Et;return a.setTextContent(o),a.updateData(r,n,i,!0),a}return t.prototype.updateData=function(r,n,i,a){var o=this,s=r.hostModel,l=r.getItemModel(n),u=l.getModel("emphasis"),c=r.getItemLayout(n),f=ce(ed(l.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){o.setShape(f);return}if(a){o.setShape(f);var h=s.getShallow("animationType");s.ecModel.ssr?(Bt(o,{scaleX:0,scaleY:0},s,{dataIndex:n,isFrom:!0}),o.originX=f.cx,o.originY=f.cy):h==="scale"?(o.shape.r=c.r0,Bt(o,{shape:{r:c.r}},s,n)):i!=null?(o.setShape({startAngle:i,endAngle:i}),Bt(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,n)):(o.shape.endAngle=c.startAngle,Ct(o,{shape:{endAngle:c.endAngle}},s,n))}else sf(o),Ct(o,{shape:f},s,n);o.useStyle(r.getItemVisual(n,"style")),Va(o,l);var d=(c.startAngle+c.endAngle)/2,v=s.get("selectedOffset"),p=Math.cos(d)*v,m=Math.sin(d)*v,g=l.getShallow("cursor");g&&o.attr("cursor",g),this._updateLabel(s,r,n),o.ensureState("emphasis").shape=ce({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},ed(u.getModel("itemStyle"),c)),ce(o.ensureState("select"),{x:p,y:m,shape:ed(l.getModel(["select","itemStyle"]),c)}),ce(o.ensureState("blur"),{shape:ed(l.getModel(["blur","itemStyle"]),c)});var y=o.getTextGuideLine(),x=o.getTextContent();y&&ce(y.ensureState("select"),{x:p,y:m}),ce(x.ensureState("select"),{x:p,y:m}),ji(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(r,n,i){var a=this,o=n.getItemModel(i),s=o.getModel("labelLine"),l=n.getItemVisual(i,"style"),u=l&&l.fill,c=l&&l.opacity;Ts(a,As(o),{labelFetcher:n.hostModel,labelDataIndex:i,inheritColor:u,defaultOpacity:c,defaultText:r.getFormattedLabel(i,"normal")||n.getName(i)});var f=a.getTextContent();a.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var h=r.get(["label","position"]);if(h!=="outside"&&h!=="outer")a.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new ws,this.setTextGuideLine(d)),Q8(this,J8(o),{stroke:u,opacity:Ec(s.get(["lineStyle","opacity"]),c,1)})}},t}(On),Gde=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.ignoreLabelLineUpdate=!0,r}return t.prototype.render=function(r,n,i,a){var o=r.getData(),s=this._data,l=this.group,u;if(!s&&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&&l.remove(this._emptyCircleSector),o.count()===0&&r.get("showEmptyCircle")){var h=new On({shape:mF(r,i)});h.useStyle(r.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,l.add(h)}o.diff(s).add(function(d){var v=new Ude(o,d,u);o.setItemGraphicEl(d,v),l.add(v)}).update(function(d,v){var p=s.getItemGraphicEl(v);p.updateData(o,d,u),p.off("click"),l.add(p),o.setItemGraphicEl(d,p)}).remove(function(d){var v=s.getItemGraphicEl(d);jv(v,r,d)}).execute(),Vde(r),r.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(r,n){var i=n.getData(),a=i.getItemLayout(0);if(a){var o=r[0]-a.cx,s=r[1]-a.cy,l=Math.sqrt(o*o+s*s);return l<=a.r&&l>=a.r0}},t.type="pie",t}(Rr);const jde=Gde;function jC(e,t,r){t=de(t)&&{coordDimensions:t}||ce({encodeDefine:e.getEncode()},t);var n=e.getSource(),i=S8(n,t).dimensions,a=new C8(i,e);return a.initData(n,r),a}var qde=function(){function e(t,r){this._getDataWithEncodedVisual=t,this._getRawData=r}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var r=this._getRawData();return r.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var r=this._getDataWithEncodedVisual();return r.indexOfName(t)},e.prototype.getItemVisual=function(t,r){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,r)},e}();const _F=qde;var Yde=_t(),Xde=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new _F(it(this.getData,this),it(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return jC(this,{coordDimensions:["value"],encodeDefaulter:et(Lle,this)})},t.prototype.getDataParams=function(r){var n=this.getData(),i=Yde(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),a=i.seats=Eae(o,n.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,r);return s.percent=a[r]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(r){Zx(r,"labelLine",["show"]);var n=r.labelLine,i=r.emphasis.labelLine;n.show=n.show&&r.label.show,i.show=i.show&&r.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,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}(kn);const Kde=Xde;function Zde(e){return{seriesType:e,reset:function(t,r){var n=t.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(tt(o)&&!isNaN(o)&&o<0)})}}}function Qde(e){e.registerChartView(jde),e.registerSeriesModel(Kde),xce("pie",e.registerAction),e.registerLayout(et(Hde,"pie")),e.registerProcessor(yF("pie")),e.registerProcessor(Zde("pie"))}var Jde=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return R0(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},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}(kn);const eve=Jde;var bF=4,tve=function(){function e(){}return e}(),rve=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new tve},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(r,n){var i=n.points,a=n.size,o=this.symbolProxy,s=o.shape,l=r.getContext?r.getContext():r,u=l&&a[0]<bF,c=this.softClipShape,f;if(u){this._ctx=l;return}for(this._ctx=null,f=this._off;f<i.length;){var h=i[f++],d=i[f++];isNaN(h)||isNaN(d)||c&&!c.contain(h,d)||(s.x=h-a[0]/2,s.y=d-a[1]/2,s.width=a[0],s.height=a[1],o.buildPath(r,s,!0))}this.incremental&&(this._off=f,this.notClear=!0)},t.prototype.afterBrush=function(){var r=this.shape,n=r.points,i=r.size,a=this._ctx,o=this.softClipShape,s;if(a){for(s=this._off;s<n.length;){var l=n[s++],u=n[s++];isNaN(l)||isNaN(u)||o&&!o.contain(l,u)||a.fillRect(l-i[0]/2,u-i[1]/2,i[0],i[1])}this.incremental&&(this._off=s,this.notClear=!0)}},t.prototype.findDataIndex=function(r,n){for(var i=this.shape,a=i.points,o=i.size,s=Math.max(o[0],4),l=Math.max(o[1],4),u=a.length/2-1;u>=0;u--){var c=u*2,f=a[c]-s/2,h=a[c+1]-l/2;if(r>=f&&n>=h&&r<=f+s&&n<=h+l)return u}return-1},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(r=i[0],n=i[1],a.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,i=n.points,a=n.size,o=a[0],s=a[1],l=1/0,u=1/0,c=-1/0,f=-1/0,h=0;h<i.length;){var d=i[h++],v=i[h++];l=Math.min(d,l),c=Math.max(d,c),u=Math.min(v,u),f=Math.max(v,f)}r=this._rect=new Ge(l-o/2,u-s/2,c-l+o,f-u+s)}return r},t}(We),nve=function(){function e(){this.group=new pt}return e.prototype.updateData=function(t,r){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,r)},e.prototype.updateLayout=function(t){var r=t.getLayout("points");this.group.eachChild(function(n){if(n.startIndex!=null){var i=(n.endIndex-n.startIndex)*2,a=n.startIndex*4*2;r=new Float32Array(r.buffer,a,i)}n.setShape("points",r),n.reset()})},e.prototype.incrementalPrepareUpdate=function(t){this._clear()},e.prototype.incrementalUpdate=function(t,r,n){var i=this._newAdded[0],a=r.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var s=o.length,l=new Float32Array(s+a.length);l.set(o),l.set(a,s),i.endIndex=t.end,i.setShape({points:l})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=!0,u.setShape({points:a}),this._setCommon(u,r,n)}},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new rve({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},e.prototype._setCommon=function(t,r,n){var i=r.hostModel;n=n||{};var a=r.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=n.clipShape||null,t.symbolProxy=Nn(r.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<bF;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=r.getVisual("style"),l=s&&s.fill;l&&t.setColor(l);var u=Xe(t);u.seriesIndex=i.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}();const ive=nve;var ave=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.updateData(a,{clipShape:this._getClipShape(r)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.incrementalPrepareUpdate(a),this._finished=!1},t.prototype.incrementalRender=function(r,n,i){this._symbolDraw.incrementalUpdate(r,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=r.end===n.getData().count()},t.prototype.updateTransform=function(r,n,i){var a=r.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=GC("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},t.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},t.prototype._getClipShape=function(r){var n=r.coordinateSystem,i=n&&n.getArea&&n.getArea();return r.get("clip",!0)?i:null},t.prototype._updateSymbolDraw=function(r,n){var i=this._symbolDraw,a=n.pipelineContext,o=a.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new ive:new aF,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Rr);const ove=ave;var sve=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}(lt);const lve=sve;var D_=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",gr).models[0]},t.type="cartesian2dAxis",t}(lt);$n(D_,W8);var CF={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)"]}}},uve=Fe({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},CF),qC=Fe({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}}},CF),cve=Fe({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},qC),fve=De({logBase:10},qC);const SF={category:uve,value:qC,time:cve,log:fve};var hve={value:1,category:1,time:1,log:1};function hI(e,t,r,n){O(hve,function(i,a){var o=Fe(Fe({},SF[a],!0),n,!0),s=function(l){se(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+a,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var h=ff(this),d=h?P0(c):{},v=f.getTheme();Fe(c,v.get(a+"Axis")),Fe(c,this.getDefaultOption()),c.type=dI(c),h&&Yl(c,d,h)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=P_.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."+a,u.defaultOption=o,u}(r);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",dI)}function dI(e){return e.type||(e.data?"category":"value")}var dve=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 ve(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Dt(this.getAxes(),function(r){return r.scale.type===t})},e.prototype.addAxis=function(t){var r=t.dim;this._axes[r]=t,this._dimList.push(r)},e}();const vve=dve;var L_=["x","y"];function vI(e){return e.type==="interval"||e.type==="time"}var pve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=L_,r}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!vI(r)||!vI(n))){var i=r.getExtent(),a=n.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),l=i[1]-i[0],u=a[1]-a[0];if(!(!l||!u)){var c=(s[0]-o[0])/l,f=(s[1]-o[1])/u,h=o[0]-i[0]*c,d=o[1]-a[0]*f,v=this._transform=[c,0,0,f,h,d];this._invTransform=s0([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(r){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(r[0]))&&i.contain(i.toLocalCoord(r[1]))},t.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},t.prototype.containZone=function(r,n){var i=this.dataToPoint(r),a=this.dataToPoint(n),o=this.getArea(),s=new Ge(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(r,n,i){i=i||[];var a=r[0],o=r[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return vn(i,r,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,n)),i[1]=l.toGlobalCoord(l.dataToCoord(o,n)),i},t.prototype.clampData=function(r,n){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),l=i.parse(r[0]),u=a.parse(r[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),n},t.prototype.pointToData=function(r,n){var i=[];if(this._invTransform)return vn(i,r,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(r[0]),n),i[1]=o.coordToData(o.toLocalCoord(r[1]),n),i},t.prototype.getOtherAxis=function(r){return this.getAxis(r.dim==="x"?"y":"x")},t.prototype.getArea=function(){var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1]),a=Math.min(n[0],n[1]),o=Math.max(r[0],r[1])-i,s=Math.max(n[0],n[1])-a;return new Ge(i,a,o,s)},t}(vve),gve=function(e){se(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.getGlobalExtent=function(r){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),r&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t}(X8);const mve=gve;function R_(e,t,r){r=r||{};var n=e.coordinateSystem,i=t.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,c=n.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},d=t.get("offset")||0,v=u==="x"?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));v[h.onZero]=Math.max(Math.min(p,v[1]),v[0])}a.position=[u==="y"?v[h[l]]:f[0],u==="x"?v[h[l]]:f[3]],a.rotation=Math.PI/2*(u==="x"?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[s],a.labelOffset=o?v[h[s]]-v[h.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Gl(r.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=t.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-g:g,a.z2=1,a}function pI(e){return e.get("coordinateSystem")==="cartesian2d"}function gI(e){var t={xAxisModel:null,yAxisModel:null};return O(t,function(r,n){var i=n.replace(/Model$/,""),a=e.getReferringComponents(i,gr).models[0];t[n]=a}),t}var Km=Math.log;function wF(e,t,r){var n=us.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),l=$8(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var h=Km(e.base);u=[Km(u[0])/h,Km(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var d=n.getExtent.call(e);c&&(u[0]=d[0]),f&&(u[1]=d[1]);var v=n.getInterval.call(e),p=u[0],m=u[1];if(c&&f)v=(m-p)/o;else if(c)for(m=u[0]+v*o;m<u[1]&&isFinite(m)&&isFinite(u[1]);)v=Wm(v),m=u[0]+v*o;else if(f)for(p=u[1]-v*o;p>u[0]&&isFinite(p)&&isFinite(u[0]);)v=Wm(v),p=u[1]-v*o;else{var g=e.getTicks().length-1;g>o&&(v=Wm(v));var y=v*o;m=Math.ceil(u[1]/v)*v,p=Lt(m-y),p<0&&u[0]>=0?(p=0,m=Lt(y)):m>0&&u[1]<=0&&(m=0,p=-Lt(y))}var x=(i[0].value-a[0].value)/s,_=(i[o].value-a[o].value)/s;n.setExtent.call(e,p+v*x,m+v*_),n.setInterval.call(e,v),(x||_)&&n.setNiceExtent.call(e,p+v,m-v)}var yve=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=L_,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=xt(o),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var h=+l[f],d=o[h],v=d.model,p=d.scale;I_(p)&&v.get("alignTicks")&&v.get("interval")==null?c.push(d):(zP(p,v),I_(p)&&(s=d))}c.length&&(s||(s=c.pop(),zP(s.scale,s.model)),O(c,function(m){wF(m.scale,m.model,s.scale)}))}}i(n.x),i(n.y);var a={};O(n.x,function(o){mI(n,"y",o,a)}),O(n.y,function(o){mI(n,"x",o,a)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=t.getBoxLayoutParams(),a=!n&&t.get("containLabel"),o=Ua(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(O(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=Che(u);if(c){var f=u.isHorizontal()?"height":"width",h=u.model.get(["axisLabel","margin"]);o[f]-=c[f]+h,u.position==="top"?o.y+=c.height+h:u.position==="left"&&(o.x+=c.width+h)}}}),l()),O(this._coordsList,function(u){u.calcAffineTransform()});function l(){O(s,function(u){var c=u.isHorizontal(),f=c?[0,o.width]:[0,o.height],h=u.inverse?1:0;u.setExtent(f[h],f[1-h]),xve(u,c?o.x:o.y)})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}we(t)&&(r=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===t||a[i].getAxis("y").index===r)return a[i]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(t,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(t){var r=t.seriesModel,n=t.xAxisModel||r&&r.getReferringComponents("xAxis",gr).models[0],i=t.yAxisModel||r&&r.getReferringComponents("yAxis",gr).models[0],a=t.gridModel,o=this._coordsList,s,l;if(r)s=r.coordinateSystem,Ve(o,s)<0&&(s=null);else if(n&&i)s=this.getCartesian(n.componentIndex,i.componentIndex);else if(n)l=this.getAxis("x",n.componentIndex);else if(i)l=this.getAxis("y",i.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(s=this._coordsList[0])}return{cartesian:s,axis:l}},e.prototype.containPoint=function(t){var r=this._coordsList[0];if(r)return r.containPoint(t)},e.prototype._initCartesian=function(t,r,n){var i=this,a=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(r.eachComponent("xAxis",u("x"),this),r.eachComponent("yAxis",u("y"),this),!l.x||!l.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,O(s.x,function(c,f){O(s.y,function(h,d){var v="x"+f+"y"+d,p=new pve(v);p.master=i,p.model=t,i._coordsMap[v]=p,i._coordsList.push(p),p.addAxis(c),p.addAxis(h)})});function u(c){return function(f,h){if(Zm(f,t)){var d=f.get("position");c==="x"?d!=="top"&&d!=="bottom"&&(d=o.bottom?"top":"bottom"):d!=="left"&&d!=="right"&&(d=o.left?"right":"left"),o[d]=!0;var v=new mve(c,_he(f),[0,0],f.get("type"),d),p=v.type==="category";v.onBand=p&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=a,v.index=h,a._axesList.push(v),s[c][h]=v,l[c]++}}}},e.prototype._updateScale=function(t,r){O(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var a=i.model.get("categorySortInfo");i.scale.setSortInfo(a)}}),t.eachSeries(function(i){if(pI(i)){var a=gI(i),o=a.xAxisModel,s=a.yAxisModel;if(!Zm(o,r)||!Zm(s,r))return;var l=this.getCartesian(o.componentIndex,s.componentIndex),u=i.getData(),c=l.getAxis("x"),f=l.getAxis("y");n(u,c),n(u,f)}},this);function n(i,a){O(z8(i,a.dim),function(o){a.scale.unionExtentFromData(i,o)})}},e.prototype.getTooltipAxes=function(t){var r=[],n=[];return O(this.getCartesians(),function(i){var a=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(a);Ve(r,a)<0&&r.push(a),Ve(n,o)<0&&n.push(o)}),{baseAxes:r,otherAxes:n}},e.create=function(t,r){var n=[];return t.eachComponent("grid",function(i,a){var o=new e(i,t,r);o.name="grid_"+a,o.resize(i,r,!0),i.coordinateSystem=o,n.push(o)}),t.eachSeries(function(i){if(pI(i)){var a=gI(i),o=a.xAxisModel,s=a.yAxisModel,l=o.getCoordSysModel(),u=l.coordinateSystem;i.coordinateSystem=u.getCartesian(o.componentIndex,s.componentIndex)}}),n},e.dimensions=L_,e}();function Zm(e,t){return e.getCoordSysModel()===t}function mI(e,t,r,n){r.getAxesOnZeroOf=function(){return a?[a]:[]};var i=e[t],a,o=r.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(l!=null)yI(i[l])&&(a=i[l]);else for(var u in i)if(i.hasOwnProperty(u)&&yI(i[u])&&!n[c(i[u])]){a=i[u];break}a&&(n[c(a)]=!0);function c(f){return f.dim+"_"+f.index}}function yI(e){return e&&e.type!=="category"&&e.type!=="time"&&bhe(e)}function xve(e,t){var r=e.getExtent(),n=r[0]+r[1];e.toGlobalCoord=e.dim==="x"?function(i){return i+t}:function(i){return n-i+t},e.toLocalCoord=e.dim==="x"?function(i){return i-t}:function(i){return n-i+t}}const _ve=yve;var Aa=Math.PI,Ko=function(){function e(t,r){this.group=new pt,this.opt=r,this.axisModel=t,De(r,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new pt({x:r.position[0],y:r.position[1],rotation:r.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(t){return!!xI[t]},e.prototype.add=function(t){xI[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,r,n){var i=B4(r-t),a,o;return Vv(i)?(o=n>0?"top":"bottom",a="center"):Vv(i-Aa)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i<Aa?a=n>0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e}(),xI={axisLine:function(e,t,r,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=n.transform,s=[a[0],0],l=[a[1],0],u=s[0]>l[0];o&&(vn(s,s,o),vn(l,l,o));var c=ce({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new qi({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});lf(f.shape,f.style.lineWidth),f.anid="line",r.add(f);var h=t.get(["axisLine","symbol"]);if(h!=null){var d=t.get(["axisLine","symbolSize"]);be(h)&&(h=[h,h]),(be(d)||tt(d))&&(d=[d,d]);var v=RC(t.get(["axisLine","symbolOffset"])||0,d),p=d[0],m=d[1];O([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(g,y){if(h[y]!=="none"&&h[y]!=null){var x=Nn(h[y],-p/2,-m/2,p,m,c.stroke,!0),_=g.r+g.offset,b=u?l:s;x.attr({rotation:g.rotate,x:b[0]+_*Math.cos(e.rotation),y:b[1]-_*Math.sin(e.rotation),silent:!0,z2:11}),r.add(x)}})}}},axisTickLabel:function(e,t,r,n){var i=Sve(r,n,t,e),a=Tve(r,n,t,e);if(Cve(t,a,i),wve(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=eF(ve(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));nF(o)}},axisName:function(e,t,r,n){var i=Gl(e.axisName,t.get("name"));if(i){var a=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[a==="start"?u[0]-c*l:a==="end"?u[1]+c*l:(u[0]+u[1])/2,bI(a)?e.labelOffset+o*l:0],h,d=t.get("nameRotate");d!=null&&(d=d*Aa/180);var v;bI(a)?h=Ko.innerTextLayout(e.rotation,d??e.rotation,o):(h=bve(e.rotation,a,d||0,u),v=e.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(h.rotation)),!isFinite(v)&&(v=null)));var p=s.getFont(),m=t.get("nameTruncate",!0)||{},g=m.ellipsis,y=Gl(e.nameTruncateMaxWidth,m.maxWidth,v),x=new Et({x:f[0],y:f[1],rotation:h.rotation,silent:Ko.isLabelSilent(t),style:dn(s,{text:i,font:p,overflow:"truncate",width:y,ellipsis:g,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(y0({el:x,componentModel:t,itemName:i}),x.__fullText=i,x.anid="name",t.get("triggerEvent")){var _=Ko.makeAxisEventDataBase(t);_.targetType="axisName",_.name=i,Xe(x).eventData=_}n.add(x),x.updateTransform(),r.add(x),x.decomposeTransform()}}};function bve(e,t,r,n){var i=B4(r-e),a,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return Vv(i-Aa/2)?(o=l?"bottom":"top",a="center"):Vv(i-Aa*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",i<Aa*1.5&&i>Aa/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function Cve(e,t,r){if(!H8(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var a=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=r[0],c=r[1],f=r[r.length-1],h=r[r.length-2];n===!1?(en(a),en(u)):_I(a,o)&&(n?(en(o),en(c)):(en(a),en(u))),i===!1?(en(s),en(f)):_I(l,s)&&(i?(en(l),en(h)):(en(s),en(f)))}}function en(e){e&&(e.ignore=!0)}function _I(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var i=Xb([]);return Kb(i,i,-e.rotation),r.applyTransform(_l([],i,e.getLocalTransform())),n.applyTransform(_l([],i,t.getLocalTransform())),r.intersect(n)}}function bI(e){return e==="middle"||e==="center"}function TF(e,t,r,n,i){for(var a=[],o=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=r,t&&(vn(o,o,t),vn(s,s,t));var c=new qi({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});lf(c.shape,c.style.lineWidth),c.anid=i+"_"+e[l].tickValue,a.push(c)}return a}function Sve(e,t,r,n){var i=r.axis,a=r.getModel("axisTick"),o=a.get("show");if(o==="auto"&&n.handleAutoShown&&(o=n.handleAutoShown("axisTick")),!(!o||i.scale.isBlank())){for(var s=a.getModel("lineStyle"),l=n.tickDirection*a.get("length"),u=i.getTicksCoords(),c=TF(u,t.transform,l,De(s.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)e.add(c[f]);return c}}function wve(e,t,r,n){var i=r.axis,a=r.getModel("minorTick");if(!(!a.get("show")||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=n*a.get("length"),u=De(s.getLineStyle(),De(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var f=TF(o[c],t.transform,l,u,"minorticks_"+c),h=0;h<f.length;h++)e.add(f[h])}}function Tve(e,t,r,n){var i=r.axis,a=Gl(n.axisLabelShow,r.get(["axisLabel","show"]));if(!(!a||i.scale.isBlank())){var o=r.getModel("axisLabel"),s=o.get("margin"),l=i.getViewLabels(),u=(Gl(n.labelRotate,o.get("rotate"))||0)*Aa/180,c=Ko.innerTextLayout(n.rotation,u,n.labelDirection),f=r.getCategories&&r.getCategories(!0),h=[],d=Ko.isLabelSilent(r),v=r.get("triggerEvent");return O(l,function(p,m){var g=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(p.tickValue):p.tickValue,y=p.formattedLabel,x=p.rawLabel,_=o;if(f&&f[g]){var b=f[g];we(b)&&b.textStyle&&(_=new jt(b.textStyle,o,r.ecModel))}var C=_.getTextColor()||r.get(["axisLine","lineStyle","color"]),S=i.dataToCoord(g),w=new Et({x:S,y:n.labelOffset+n.labelDirection*s,rotation:c.rotation,silent:d,z2:10+(p.level||0),style:dn(_,{text:y,align:_.getShallow("align",!0)||c.textAlign,verticalAlign:_.getShallow("verticalAlign",!0)||_.getShallow("baseline",!0)||c.textVerticalAlign,fill:Ie(C)?C(i.type==="category"?x:i.type==="value"?g+"":g,m):C})});if(w.anid="label_"+g,v){var E=Ko.makeAxisEventDataBase(r);E.targetType="axisLabel",E.value=x,E.tickIndex=m,i.type==="category"&&(E.dataIndex=g),Xe(w).eventData=E}t.add(w),w.updateTransform(),h.push(w),e.add(w),w.decomposeTransform()}),h}}const YC=Ko;function Ave(e,t){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return Eve(r,e,t),r.seriesInvolved&&Ive(r,e),r}function Eve(e,t,r){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];O(r.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var l=mf(s.model),u=e.coordSysAxesInfo[l]={};e.coordSysMap[l]=s;var c=s.model,f=c.getModel("tooltip",n);if(O(s.getAxes(),et(p,!1,null)),s.getTooltipAxes&&n&&f.get("show")){var h=f.get("trigger")==="axis",d=f.get(["axisPointer","type"])==="cross",v=s.getTooltipAxes(f.get(["axisPointer","axis"]));(h||d)&&O(v.baseAxes,et(p,d?"cross":!0,h)),d&&O(v.otherAxes,et(p,"cross",!1))}function p(m,g,y){var x=y.model.getModel("axisPointer",i),_=x.get("show");if(!(!_||_==="auto"&&!m&&!O_(x))){g==null&&(g=x.get("triggerTooltip")),x=m?Pve(y,f,i,t,m,g):x;var b=x.get("snap"),C=mf(y.model),S=g||b||y.type==="category",w=e.axesInfo[C]={key:C,axis:y,coordSys:s,axisPointerModel:x,triggerTooltip:g,involveSeries:S,snap:b,useHandle:O_(x),seriesModels:[],linkGroup:null};u[C]=w,e.seriesInvolved=e.seriesInvolved||S;var E=Mve(a,y);if(E!=null){var T=o[E]||(o[E]={axesInfo:{}});T.axesInfo[C]=w,T.mapper=a[E].mapper,w.linkGroup=T}}}})}function Pve(e,t,r,n,i,a){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};O(s,function(h){l[h]=Ne(o.get(h))}),l.snap=e.type!=="category"&&!!a,o.get("type")==="cross"&&(l.type="line");var u=l.label||(l.label={});if(u.show==null&&(u.show=!1),i==="cross"){var c=o.get(["label","show"]);if(u.show=c??!0,!a){var f=l.lineStyle=o.get("crossStyle");f&&De(u,f.textStyle)}}return e.model.getModel("axisPointer",new jt(l,r,n))}function Ive(e,t){t.eachSeries(function(r){var n=r.coordinateSystem,i=r.get(["tooltip","trigger"],!0),a=r.get(["tooltip","show"],!0);!n||i==="none"||i===!1||i==="item"||a===!1||r.get(["axisPointer","show"],!0)===!1||O(e.coordSysAxesInfo[mf(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(r),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=r.getData().count())})})}function Mve(e,t){for(var r=t.model,n=t.dim,i=0;i<e.length;i++){var a=e[i]||{};if(Qm(a[n+"AxisId"],r.id)||Qm(a[n+"AxisIndex"],r.componentIndex)||Qm(a[n+"AxisName"],r.name))return i}}function Qm(e,t){return e==="all"||de(e)&&Ve(e,t)>=0||e===t}function Dve(e){var t=XC(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=O_(r);a==null&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),i.value=o,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function XC(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[mf(e)]}function Lve(e){var t=XC(e);return t&&t.axisPointerModel}function O_(e){return!!e.get(["handle","show"])}function mf(e){return e.type+"||"+e.id}var CI={},Rve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i,a){this.axisPointerClass&&Dve(r),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(r,i,!0)},t.prototype.updateAxisPointer=function(r,n,i,a){this._doUpdateAxisPointerClass(r,i,!1)},t.prototype.remove=function(r,n){var i=this._axisPointer;i&&i.remove(n)},t.prototype.dispose=function(r,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(r,n,i){var a=t.getAxisPointerClass(this.axisPointerClass);if(a){var o=Lve(r);o?(this._axisPointer||(this._axisPointer=new a)).render(r,o,n,i):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(r){this._axisPointer&&this._axisPointer.dispose(r),this._axisPointer=null},t.registerAxisPointerClass=function(r,n){CI[r]=n},t.getAxisPointerClass=function(r){return r&&CI[r]},t.type="axis",t}(Kr);const AF=Rve;var k_=_t();function Ove(e,t,r,n){var i=r.axis;if(!i.scale.isBlank()){var a=r.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=n.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var c=s.length,f=k_(e).splitAreaColors,h=Re(),d=0;if(f)for(var v=0;v<u.length;v++){var p=f.get(u[v].tickValue);if(p!=null){d=(p+(c-1)*v)%c;break}}var m=i.toGlobalCoord(u[0].coord),g=o.getAreaStyle();s=de(s)?s:[s];for(var v=1;v<u.length;v++){var y=i.toGlobalCoord(u[v].coord),x=void 0,_=void 0,b=void 0,C=void 0;i.isHorizontal()?(x=m,_=l.y,b=y-x,C=l.height,m=x+b):(x=l.x,_=m,b=l.width,C=y-_,m=_+C);var S=u[v-1].tickValue;S!=null&&h.set(S,d),t.add(new bt({anid:S!=null?"area_"+S:null,shape:{x,y:_,width:b,height:C},style:De({fill:s[d]},g),autoBatch:!0,silent:!0})),d=(d+1)%c}k_(e).splitAreaColors=h}}}function kve(e){k_(e).splitAreaColors=null}var Nve=["axisLine","axisTickLabel","axisName"],Bve=["splitArea","splitLine","minorSplitLine"],EF=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="CartesianAxisPointer",r}return t.prototype.render=function(r,n,i,a){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new pt,this.group.add(this._axisGroup),!!r.get("show")){var s=r.getCoordSysModel(),l=R_(s,r),u=new YC(r,ce({handleAutoShown:function(f){for(var h=s.coordinateSystem.getCartesians(),d=0;d<h.length;d++)if(I_(h[d].getOtherAxis(r.axis).scale))return!0;return!1}},l));O(Nve,u.add,u),this._axisGroup.add(u.getGroup()),O(Bve,function(f){r.get([f,"show"])&&Fve[f](this,this._axisGroup,r,s)},this);var c=a&&a.type==="changeAxisOrder"&&a.isInitSort;c||WN(o,this._axisGroup,r),e.prototype.render.call(this,r,n,i,a)}},t.prototype.remove=function(){kve(this)},t.type="cartesianAxis",t}(AF),Fve={splitLine:function(e,t,r,n){var i=r.axis;if(!i.scale.isBlank()){var a=r.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=de(s)?s:[s];for(var l=n.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,f=i.getTicksCoords({tickModel:a}),h=[],d=[],v=o.getLineStyle(),p=0;p<f.length;p++){var m=i.toGlobalCoord(f[p].coord);u?(h[0]=m,h[1]=l.y,d[0]=m,d[1]=l.y+l.height):(h[0]=l.x,h[1]=m,d[0]=l.x+l.width,d[1]=m);var g=c++%s.length,y=f[p].tickValue,x=new qi({anid:y!=null?"line_"+f[p].tickValue:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:De({stroke:s[g]},v),silent:!0});lf(x.shape,v.lineWidth),t.add(x)}}},minorSplitLine:function(e,t,r,n){var i=r.axis,a=r.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],f=[],h=o.getLineStyle(),d=0;d<u.length;d++)for(var v=0;v<u[d].length;v++){var p=i.toGlobalCoord(u[d][v].coord);l?(c[0]=p,c[1]=s.y,f[0]=p,f[1]=s.y+s.height):(c[0]=s.x,c[1]=p,f[0]=s.x+s.width,f[1]=p);var m=new qi({anid:"minor_line_"+u[d][v].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:h,silent:!0});lf(m.shape,h.lineWidth),t.add(m)}},splitArea:function(e,t,r,n){Ove(e,t,r,n)}},PF=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="xAxis",t}(EF),$ve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=PF.type,r}return t.type="yAxis",t}(EF),Hve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="grid",r}return t.prototype.render=function(r,n){this.group.removeAll(),r.get("show")&&this.group.add(new bt({shape:r.coordinateSystem.getRect(),style:De({fill:r.get("backgroundColor")},r.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Kr),SI={offset:0};function IF(e){e.registerComponentView(Hve),e.registerComponentModel(lve),e.registerCoordinateSystem("cartesian2d",_ve),hI(e,"x",D_,SI),hI(e,"y",D_,SI),e.registerComponentView(PF),e.registerComponentView($ve),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function zve(e){Bn(IF),e.registerSeriesModel(eve),e.registerChartView(ove),e.registerLayout(GC("scatter"))}function Wve(e){e.eachSeriesByType("radar",function(t){var r=t.getData(),n=[],i=t.coordinateSystem;if(i){var a=i.getIndicatorAxes();O(a,function(o,s){r.each(r.mapDimension(a[s].dim),function(l,u){n[u]=n[u]||[];var c=i.dataToPoint(l,s);n[u][s]=wI(c)?c:TI(i)})}),r.each(function(o){var s=qne(n[o],function(l){return wI(l)})||TI(i);n[o].push(s.slice()),r.setItemLayout(o,n[o])})}})}function wI(e){return!isNaN(e[0])&&!isNaN(e[1])}function TI(e){return[e.cx,e.cy]}function Vve(e){var t=e.polar;if(t){de(t)||(t=[t]);var r=[];O(t,function(n,i){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),e.radar=e.radar||[],de(e.radar)||(e.radar=[e.radar]),e.radar.push(n)):r.push(n)}),e.polar=r}O(e.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var Uve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=r.coordinateSystem,o=this.group,s=r.getData(),l=this._data;function u(h,d){var v=h.getItemVisual(d,"symbol")||"circle";if(v!=="none"){var p=XB(h.getItemVisual(d,"symbolSize")),m=Nn(v,-1,-1,2,2),g=h.getItemVisual(d,"symbolRotate")||0;return m.attr({style:{strokeNoScale:!0},z2:100,scaleX:p[0]/2,scaleY:p[1]/2,rotation:g*Math.PI/180||0}),m}}function c(h,d,v,p,m,g){v.removeAll();for(var y=0;y<d.length-1;y++){var x=u(p,m);x&&(x.__dimIdx=y,h[y]?(x.setPosition(h[y]),_0[g?"initProps":"updateProps"](x,{x:d[y][0],y:d[y][1]},r,m)):x.setPosition(d[y]),v.add(x))}}function f(h){return ve(h,function(d){return[a.cx,a.cy]})}s.diff(l).add(function(h){var d=s.getItemLayout(h);if(d){var v=new gu,p=new ws,m={shape:{points:d}};v.shape.points=f(d),p.shape.points=f(d),Bt(v,m,r,h),Bt(p,m,r,h);var g=new pt,y=new pt;g.add(p),g.add(v),g.add(y),c(p.shape.points,d,y,s,h,!0),s.setItemGraphicEl(h,g)}}).update(function(h,d){var v=l.getItemGraphicEl(d),p=v.childAt(0),m=v.childAt(1),g=v.childAt(2),y={shape:{points:s.getItemLayout(h)}};y.shape.points&&(c(p.shape.points,y.shape.points,g,s,h,!1),sf(m),sf(p),Ct(p,y,r),Ct(m,y,r),s.setItemGraphicEl(h,v))}).remove(function(h){o.remove(l.getItemGraphicEl(h))}).execute(),s.eachItemGraphicEl(function(h,d){var v=s.getItemModel(d),p=h.childAt(0),m=h.childAt(1),g=h.childAt(2),y=s.getItemVisual(d,"style"),x=y.fill;o.add(h),p.useStyle(De(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:x})),Va(p,v,"lineStyle"),Va(m,v,"areaStyle");var _=v.getModel("areaStyle"),b=_.isEmpty()&&_.parentModel.isEmpty();m.ignore=b,O(["emphasis","select","blur"],function(w){var E=v.getModel([w,"areaStyle"]),T=E.isEmpty()&&E.parentModel.isEmpty();m.ensureState(w).ignore=T&&b}),m.useStyle(De(_.getAreaStyle(),{fill:x,opacity:.7,decal:y.decal}));var C=v.getModel("emphasis"),S=C.getModel("itemStyle").getItemStyle();g.eachChild(function(w){if(w instanceof xi){var E=w.style;w.useStyle(ce({image:E.image,x:E.x,y:E.y,width:E.width,height:E.height},y))}else w.useStyle(y),w.setColor(x),w.style.strokeNoScale=!0;var T=w.ensureState("emphasis");T.style=Ne(S);var A=s.getStore().get(s.getDimensionIndex(w.__dimIdx),d);(A==null||isNaN(A))&&(A=""),Ts(w,As(v),{labelFetcher:s.hostModel,labelDataIndex:d,labelDimIndex:w.__dimIdx,defaultText:A,inheritColor:x,defaultOpacity:y.opacity})}),ji(h,C.get("focus"),C.get("blurScope"),C.get("disabled"))}),this._data=s},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(Rr);const Gve=Uve;var jve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new _F(it(this.getData,this),it(this.getRawData,this))},t.prototype.getInitialData=function(r,n){return jC(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=this.coordinateSystem,s=o.getIndicatorAxes(),l=this.getData().getName(r),u=l===""?this.name:l,c=FB(this,r);return ls("section",{header:u,sortBlocks:!0,blocks:ve(s,function(f){var h=a.get(a.mapDimension(f.dim),r);return ls("nameValue",{markerType:"subItem",markerColor:c,name:f.name,value:h,sortParam:h})})})},t.prototype.getTooltipPosition=function(r){if(r!=null){for(var n=this.getData(),i=this.coordinateSystem,a=n.getValues(ve(i.dimensions,function(u){return n.mapDimension(u)}),r),o=0,s=a.length;o<s;o++)if(!isNaN(a[o])){var l=i.getIndicatorAxes();return i.coordToPoint(l[o].dataToCoord(a[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}(kn);const qve=jve;var qu=SF.value;function td(e,t){return De({show:t},e)}var Yve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){var r=this.get("boundaryGap"),n=this.get("splitNumber"),i=this.get("scale"),a=this.get("axisLine"),o=this.get("axisTick"),s=this.get("axisLabel"),l=this.get("axisName"),u=this.get(["axisName","show"]),c=this.get(["axisName","formatter"]),f=this.get("axisNameGap"),h=this.get("triggerEvent"),d=ve(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=l;v.color!=null&&(p=De({color:v.color},l));var m=Fe(Ne(v),{boundaryGap:r,splitNumber:n,scale:i,axisLine:a,axisTick:o,axisLabel:s,name:v.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:p,triggerEvent:h},!1);if(be(c)){var g=m.name;m.name=c.replace("{value}",g??"")}else Ie(c)&&(m.name=c(m.name,m));var y=new jt(m,null,this.ecModel);return $n(y,W8.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=d},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:Fe({lineStyle:{color:"#bbb"}},qu.axisLine),axisLabel:td(qu.axisLabel,!1),axisTick:td(qu.axisTick,!1),splitLine:td(qu.splitLine,!0),splitArea:td(qu.splitArea,!0),indicator:[]},t}(lt);const Xve=Yve;var Kve=["axisLine","axisTickLabel","axisName"],Zve=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=this.group;a.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},t.prototype._buildAxes=function(r){var n=r.coordinateSystem,i=n.getIndicatorAxes(),a=ve(i,function(o){var s=o.model.get("showName")?o.name:"",l=new YC(o.model,{axisName:s,position:[n.cx,n.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});O(a,function(o){O(Kve,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(r){var n=r.coordinateSystem,i=n.getIndicatorAxes();if(!i.length)return;var a=r.get("shape"),o=r.getModel("splitLine"),s=r.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),c=o.get("show"),f=s.get("show"),h=l.get("color"),d=u.get("color"),v=de(h)?h:[h],p=de(d)?d:[d],m=[],g=[];function y(N,B,G){var $=G%B.length;return N[$]=N[$]||[],$}if(a==="circle")for(var x=i[0].getTicksCoords(),_=n.cx,b=n.cy,C=0;C<x.length;C++){if(c){var S=y(m,v,C);m[S].push(new Hf({shape:{cx:_,cy:b,r:x[C].coord}}))}if(f&&C<x.length-1){var S=y(g,p,C);g[S].push(new uC({shape:{cx:_,cy:b,r0:x[C].coord,r:x[C+1].coord}}))}}else for(var w,E=ve(i,function(N,B){var G=N.getTicksCoords();return w=w==null?G.length-1:Math.min(G.length-1,w),ve(G,function($){return n.coordToPoint($.coord,B)})}),T=[],C=0;C<=w;C++){for(var A=[],P=0;P<i.length;P++)A.push(E[P][C]);if(A[0]&&A.push(A[0].slice()),c){var S=y(m,v,C);m[S].push(new ws({shape:{points:A}}))}if(f&&T){var S=y(g,p,C-1);g[S].push(new gu({shape:{points:A.concat(T)}}))}T=A.slice().reverse()}var D=l.getLineStyle(),L=u.getAreaStyle();O(g,function(N,B){this.group.add(c_(N,{style:De({stroke:"none",fill:p[B%p.length]},L),silent:!0}))},this),O(m,function(N,B){this.group.add(c_(N,{style:De({fill:"none",stroke:v[B%v.length]},D),silent:!0}))},this)},t.type="radar",t}(Kr);const Qve=Zve;var Jve=function(e){se(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.type="value",a.angle=0,a.name="",a}return t}(X8);const epe=Jve;var tpe=function(){function e(t,r,n){this.dimensions=[],this._model=t,this._indicatorAxes=ve(t.getIndicatorModels(),function(i,a){var o="indicator_"+a,s=new epe(o,new us);return s.name=i.get("name"),s.model=i,i.axis=s,this.dimensions.push(o),s},this),this.resize(t,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(t,r){var n=this._indicatorAxes[r];return this.coordToPoint(n.dataToCoord(t),r)},e.prototype.coordToPoint=function(t,r){var n=this._indicatorAxes[r],i=n.angle,a=this.cx+t*Math.cos(i),o=this.cy-t*Math.sin(i);return[a,o]},e.prototype.pointToData=function(t){var r=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(r*r+n*n);r/=i,n/=i;for(var a=Math.atan2(-n,r),o=1/0,s,l=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],f=Math.abs(a-c.angle);f<o&&(s=c,l=u,o=f)}return[l,+(s&&s.coordToData(i))]},e.prototype.resize=function(t,r){var n=t.get("center"),i=r.getWidth(),a=r.getHeight(),o=Math.min(i,a)/2;this.cx=Pe(n[0],i),this.cy=Pe(n[1],a),this.startAngle=t.get("startAngle")*Math.PI/180;var s=t.get("radius");(be(s)||tt(s))&&(s=[0,s]),this.r0=Pe(s[0],o),this.r=Pe(s[1],o),O(this._indicatorAxes,function(l,u){l.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)),l.angle=c},this)},e.prototype.update=function(t,r){var n=this._indicatorAxes,i=this._model;O(n,function(s){s.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(s,l){if(!(s.get("coordinateSystem")!=="radar"||t.getComponent("radar",s.get("radarIndex"))!==i)){var u=s.getData();O(n,function(c){c.scale.unionExtentFromData(u,u.mapDimension(c.dim))})}},this);var a=i.get("splitNumber"),o=new us;o.setExtent(0,a),o.setInterval(1),O(n,function(s,l){wF(s.scale,s.model,o)})},e.prototype.convertToPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.create=function(t,r){var n=[];return t.eachComponent("radar",function(i){var a=new e(i,t,r);n.push(a),i.coordinateSystem=a}),t.eachSeriesByType("radar",function(i){i.get("coordinateSystem")==="radar"&&(i.coordinateSystem=n[i.get("radarIndex")||0])}),n},e.dimensions=[],e}();const rpe=tpe;function npe(e){e.registerCoordinateSystem("radar",rpe),e.registerComponentModel(Xve),e.registerComponentView(Qve),e.registerVisual({seriesType:"radar",reset:function(t){var r=t.getData();r.each(function(n){r.setItemVisual(n,"legendIcon","roundRect")}),r.setVisual("legendIcon","roundRect")}})}function ipe(e){Bn(npe),e.registerChartView(Gve),e.registerSeriesModel(qve),e.registerLayout(Wve),e.registerProcessor(yF("radar")),e.registerPreprocessor(Vve)}var AI="\0_ec_interaction_mutex";function ape(e,t,r){var n=MF(e);n[t]=r}function ope(e,t,r){var n=MF(e),i=n[t];i===r&&(n[t]=null)}function MF(e){return e[AI]||(e[AI]={})}bi({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},mr);var spe={axisPointer:1,tooltip:1,brush:1};function lpe(e,t,r){var n=t.getComponentByElement(e.topTarget),i=n&&n.coordinateSystem;return n&&n!==r&&!spe.hasOwnProperty(n.mainType)&&i&&i.model!==r}var upe=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),cpe=function(e){se(t,e);function t(r){var n=e.call(this,r)||this;return n.type="pointer",n}return t.prototype.getDefaultShape=function(){return new upe},t.prototype.buildPath=function(r,n){var i=Math.cos,a=Math.sin,o=n.r,s=n.width,l=n.angle,u=n.x-i(l)*s*(s>=o/3?1:2),c=n.y-a(l)*s*(s>=o/3?1:2);l=n.angle-Math.PI/2,r.moveTo(u,c),r.lineTo(n.x+i(l)*s,n.y+a(l)*s),r.lineTo(n.x+i(n.angle)*o,n.y+a(n.angle)*o),r.lineTo(n.x-i(l)*s,n.y-a(l)*s),r.lineTo(u,c)},t}(We);const fpe=cpe;function hpe(e,t){var r=e.get("center"),n=t.getWidth(),i=t.getHeight(),a=Math.min(n,i),o=Pe(r[0],t.getWidth()),s=Pe(r[1],t.getHeight()),l=Pe(e.get("radius"),a/2);return{cx:o,cy:s,r:l}}function rd(e,t){var r=e==null?"":e+"";return t&&(be(t)?r=t.replace("{value}",r):Ie(t)&&(r=t(e))),r}var dpe=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){this.group.removeAll();var a=r.get(["axisLine","lineStyle","color"]),o=hpe(r,i);this._renderMain(r,n,i,a,o),this._data=r.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(r,n,i,a,o){var s=this.group,l=r.get("clockwise"),u=-r.get("startAngle")/180*Math.PI,c=-r.get("endAngle")/180*Math.PI,f=r.getModel("axisLine"),h=f.get("roundCap"),d=h?op:On,v=f.get("show"),p=f.getModel("lineStyle"),m=p.get("width"),g=[u,c];J4(g,!l),u=g[0],c=g[1];for(var y=c-u,x=u,_=[],b=0;v&&b<a.length;b++){var C=Math.min(Math.max(a[b][0],0),1);c=u+y*C;var S=new d({shape:{startAngle:x,endAngle:c,cx:o.cx,cy:o.cy,clockwise:l,r0:o.r-m,r:o.r},silent:!0});S.setStyle({fill:a[b][1]}),S.setStyle(p.getLineStyle(["color","width"])),_.push(S),x=c}_.reverse(),O(_,function(E){return s.add(E)});var w=function(E){if(E<=0)return a[0][1];var T;for(T=0;T<a.length;T++)if(a[T][0]>=E&&(T===0?0:a[T-1][0])<E)return a[T][1];return a[T-1][1]};this._renderTicks(r,n,i,w,o,u,c,l,m),this._renderTitleAndDetail(r,n,i,w,o),this._renderAnchor(r,o),this._renderPointer(r,n,i,w,o,u,c,l,m)},t.prototype._renderTicks=function(r,n,i,a,o,s,l,u,c){for(var f=this.group,h=o.cx,d=o.cy,v=o.r,p=+r.get("min"),m=+r.get("max"),g=r.getModel("splitLine"),y=r.getModel("axisTick"),x=r.getModel("axisLabel"),_=r.get("splitNumber"),b=y.get("splitNumber"),C=Pe(g.get("length"),v),S=Pe(y.get("length"),v),w=s,E=(l-s)/_,T=E/b,A=g.getModel("lineStyle").getLineStyle(),P=y.getModel("lineStyle").getLineStyle(),D=g.get("distance"),L,N,B=0;B<=_;B++){if(L=Math.cos(w),N=Math.sin(w),g.get("show")){var G=D?D+c:c,$=new qi({shape:{x1:L*(v-G)+h,y1:N*(v-G)+d,x2:L*(v-C-G)+h,y2:N*(v-C-G)+d},style:A,silent:!0});A.stroke==="auto"&&$.setStyle({stroke:a(B/_)}),f.add($)}if(x.get("show")){var G=x.get("distance")+D,Y=rd(Lt(B/_*(m-p)+p),x.get("formatter")),J=a(B/_),H=L*(v-C-G)+h,W=N*(v-C-G)+d,X=x.get("rotate"),q=0;X==="radial"?(q=-w+2*Math.PI,q>Math.PI/2&&(q+=Math.PI)):X==="tangential"?q=-w-Math.PI/2:tt(X)&&(q=X*Math.PI/180),q===0?f.add(new Et({style:dn(x,{text:Y,x:H,y:W,verticalAlign:N<-.8?"top":N>.8?"bottom":"middle",align:L<-.4?"left":L>.4?"right":"center"},{inheritColor:J}),silent:!0})):f.add(new Et({style:dn(x,{text:Y,x:H,y:W,verticalAlign:"middle",align:"center"},{inheritColor:J}),silent:!0,originX:H,originY:W,rotation:q}))}if(y.get("show")&&B!==_){var G=y.get("distance");G=G?G+c:c;for(var U=0;U<=b;U++){L=Math.cos(w),N=Math.sin(w);var Q=new qi({shape:{x1:L*(v-G)+h,y1:N*(v-G)+d,x2:L*(v-S-G)+h,y2:N*(v-S-G)+d},silent:!0,style:P});P.stroke==="auto"&&Q.setStyle({stroke:a((B+U/b)/_)}),f.add(Q),w+=T}w-=T}else w+=E}},t.prototype._renderPointer=function(r,n,i,a,o,s,l,u,c){var f=this.group,h=this._data,d=this._progressEls,v=[],p=r.get(["pointer","show"]),m=r.getModel("progress"),g=m.get("show"),y=r.getData(),x=y.mapDimension("value"),_=+r.get("min"),b=+r.get("max"),C=[_,b],S=[s,l];function w(T,A){var P=y.getItemModel(T),D=P.getModel("pointer"),L=Pe(D.get("width"),o.r),N=Pe(D.get("length"),o.r),B=r.get(["pointer","icon"]),G=D.get("offsetCenter"),$=Pe(G[0],o.r),Y=Pe(G[1],o.r),J=D.get("keepAspect"),H;return B?H=Nn(B,$-L/2,Y-N,L,N,null,J):H=new fpe({shape:{angle:-Math.PI/2,width:L,r:N,x:$,y:Y}}),H.rotation=-(A+Math.PI/2),H.x=o.cx,H.y=o.cy,H}function E(T,A){var P=m.get("roundCap"),D=P?op:On,L=m.get("overlap"),N=L?m.get("width"):c/y.count(),B=L?o.r-N:o.r-(T+1)*N,G=L?o.r:o.r-T*N,$=new D({shape:{startAngle:s,endAngle:A,cx:o.cx,cy:o.cy,clockwise:u,r0:B,r:G}});return L&&($.z2=b-y.get(x,T)%b),$}(g||p)&&(y.diff(h).add(function(T){var A=y.get(x,T);if(p){var P=w(T,s);Bt(P,{rotation:-((isNaN(+A)?S[0]:Ar(A,C,S,!0))+Math.PI/2)},r),f.add(P),y.setItemGraphicEl(T,P)}if(g){var D=E(T,s),L=m.get("clip");Bt(D,{shape:{endAngle:Ar(A,C,S,L)}},r),f.add(D),r_(r.seriesIndex,y.dataType,T,D),v[T]=D}}).update(function(T,A){var P=y.get(x,T);if(p){var D=h.getItemGraphicEl(A),L=D?D.rotation:s,N=w(T,L);N.rotation=L,Ct(N,{rotation:-((isNaN(+P)?S[0]:Ar(P,C,S,!0))+Math.PI/2)},r),f.add(N),y.setItemGraphicEl(T,N)}if(g){var B=d[A],G=B?B.shape.endAngle:s,$=E(T,G),Y=m.get("clip");Ct($,{shape:{endAngle:Ar(P,C,S,Y)}},r),f.add($),r_(r.seriesIndex,y.dataType,T,$),v[T]=$}}).execute(),y.each(function(T){var A=y.getItemModel(T),P=A.getModel("emphasis"),D=P.get("focus"),L=P.get("blurScope"),N=P.get("disabled");if(p){var B=y.getItemGraphicEl(T),G=y.getItemVisual(T,"style"),$=G.fill;if(B instanceof xi){var Y=B.style;B.useStyle(ce({image:Y.image,x:Y.x,y:Y.y,width:Y.width,height:Y.height},G))}else B.useStyle(G),B.type!=="pointer"&&B.setColor($);B.setStyle(A.getModel(["pointer","itemStyle"]).getItemStyle()),B.style.fill==="auto"&&B.setStyle("fill",a(Ar(y.get(x,T),C,[0,1],!0))),B.z2EmphasisLift=0,Va(B,A),ji(B,D,L,N)}if(g){var J=v[T];J.useStyle(y.getItemVisual(T,"style")),J.setStyle(A.getModel(["progress","itemStyle"]).getItemStyle()),J.z2EmphasisLift=0,Va(J,A),ji(J,D,L,N)}}),this._progressEls=v)},t.prototype._renderAnchor=function(r,n){var i=r.getModel("anchor"),a=i.get("show");if(a){var o=i.get("size"),s=i.get("icon"),l=i.get("offsetCenter"),u=i.get("keepAspect"),c=Nn(s,n.cx-o/2+Pe(l[0],n.r),n.cy-o/2+Pe(l[1],n.r),o,o,null,u);c.z2=i.get("showAbove")?1:0,c.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(c)}},t.prototype._renderTitleAndDetail=function(r,n,i,a,o){var s=this,l=r.getData(),u=l.mapDimension("value"),c=+r.get("min"),f=+r.get("max"),h=new pt,d=[],v=[],p=r.isAnimationEnabled(),m=r.get(["pointer","showAbove"]);l.diff(this._data).add(function(g){d[g]=new Et({silent:!0}),v[g]=new Et({silent:!0})}).update(function(g,y){d[g]=s._titleEls[y],v[g]=s._detailEls[y]}).execute(),l.each(function(g){var y=l.getItemModel(g),x=l.get(u,g),_=new pt,b=a(Ar(x,[c,f],[0,1],!0)),C=y.getModel("title");if(C.get("show")){var S=C.get("offsetCenter"),w=o.cx+Pe(S[0],o.r),E=o.cy+Pe(S[1],o.r),T=d[g];T.attr({z2:m?0:2,style:dn(C,{x:w,y:E,text:l.getName(g),align:"center",verticalAlign:"middle"},{inheritColor:b})}),_.add(T)}var A=y.getModel("detail");if(A.get("show")){var P=A.get("offsetCenter"),D=o.cx+Pe(P[0],o.r),L=o.cy+Pe(P[1],o.r),N=Pe(A.get("width"),o.r),B=Pe(A.get("height"),o.r),G=r.get(["progress","show"])?l.getItemVisual(g,"style").fill:b,T=v[g],$=A.get("formatter");T.attr({z2:m?0:2,style:dn(A,{x:D,y:L,text:rd(x,$),width:isNaN(N)?null:N,height:isNaN(B)?null:B,align:"center",verticalAlign:"middle"},{inheritColor:G})}),jN(T,{normal:A},x,function(J){return rd(J,$)}),p&&qN(T,g,l,r,{getFormattedLabel:function(J,H,W,X,q,U){return rd(U?U.interpolatedValue:x,$)}}),_.add(T)}h.add(_)}),this.group.add(h),this._titleEls=d,this._detailEls=v},t.type="gauge",t}(Rr);const vpe=dpe;var ppe=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="itemStyle",r}return t.prototype.getInitialData=function(r,n){return jC(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}(kn);const gpe=ppe;function mpe(e){e.registerChartView(vpe),e.registerSeriesModel(gpe)}function DF(e,t,r,n,i,a){e=e||0;var o=r[1]-r[0];if(i!=null&&(i=Ys(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=Ys(s,[0,o]),i=a=Ys(s,[i,a]),n=0}t[0]=Ys(t[0],r),t[1]=Ys(t[1],r);var l=Jm(t,n);t[n]+=e;var u=i||0,c=r.slice();l.sign<0?c[0]+=u:c[1]-=u,t[n]=Ys(t[n],c);var f;return f=Jm(t,n),i!=null&&(f.sign!==l.sign||f.span<i)&&(t[1-n]=t[n]+l.sign*i),f=Jm(t,n),a!=null&&f.span>a&&(t[1-n]=t[n]+f.sign*a),t}function Jm(e,t){var r=e[t]-e[1-t];return{span:Math.abs(r),sign:r>0?-1:r<0?1:t?-1:1}}function Ys(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var cs=!0,yf=Math.min,Zl=Math.max,ype=Math.pow,xpe=1e4,_pe=6,bpe=6,EI="globalPan",Cpe={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},Spe={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},PI={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},wpe=0,Tpe=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=r,n.group=new pt,n._uid="brushController_"+wpe++,O(Lpe,function(i,a){this._handlers[a]=it(i,this)},n),n}return t.prototype.enableBrush=function(r){return this._brushType&&this._doDisableBrush(),r.brushType&&this._doEnableBrush(r),this},t.prototype._doEnableBrush=function(r){var n=this._zr;this._enableGlobalPan||ape(n,EI,this._uid),O(this._handlers,function(i,a){n.on(a,i)}),this._brushType=r.brushType,this._brushOption=Fe(Ne(PI),r,!0)},t.prototype._doDisableBrush=function(){var r=this._zr;ope(r,EI,this._uid),O(this._handlers,function(n,i){r.off(i,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(r){if(r&&r.length){var n=this._panels={};O(r,function(i){n[i.panelId]=Ne(i)})}else this._panels=null;return this},t.prototype.mount=function(r){r=r||{},this._enableGlobalPan=r.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:r.x||0,y:r.y||0,rotation:r.rotation||0,scaleX:r.scaleX||1,scaleY:r.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(r){r=ve(r,function(h){return Fe(Ne(PI),h,!0)});var n="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new pf(i,r,u,l).add(c).update(c).remove(f).execute(),this;function l(h,d){return(h.id!=null?h.id:n+d)+"-"+h.brushType}function u(h,d){return l(h.__brushOption,d)}function c(h,d){var v=r[h];if(d!=null&&i[d]===s)a[h]=i[d];else{var p=a[h]=d!=null?(i[d].__brushOption=v,i[d]):RF(o,LF(o,v));KC(o,p)}}function f(h){i[h]!==s&&o.group.remove(i[h])}},t.prototype.unmount=function(){return this.enableBrush(!1),N_(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Hn);function LF(e,t){var r=F0[t.brushType].createCover(e,t);return r.__brushOption=t,kF(r,t),e.group.add(r),r}function RF(e,t){var r=ZC(t);return r.endCreating&&(r.endCreating(e,t),kF(t,t.__brushOption)),t}function OF(e,t){var r=t.__brushOption;ZC(t).updateCoverShape(e,t,r.range,r)}function kF(e,t){var r=t.z;r==null&&(r=xpe),e.traverse(function(n){n.z=r,n.z2=r})}function KC(e,t){ZC(t).updateCommon(e,t),OF(e,t)}function ZC(e){return F0[e.__brushOption.brushType]}function QC(e,t,r){var n=e._panels;if(!n)return cs;var i,a=e._transform;return O(n,function(o){o.isTargetByCursor(t,r,a)&&(i=o)}),i}function NF(e,t){var r=e._panels;if(!r)return cs;var n=t.__brushOption.panelId;return n!=null?r[n]:cs}function N_(e){var t=e._covers,r=t.length;return O(t,function(n){e.group.remove(n)},e),t.length=0,!!r}function fs(e,t){var r=ve(e._covers,function(n){var i=n.__brushOption,a=Ne(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});e.trigger("brush",{areas:r,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function Ape(e){var t=e._track;if(!t.length)return!1;var r=t[t.length-1],n=t[0],i=r[0]-n[0],a=r[1]-n[1],o=ype(i*i+a*a,.5);return o>_pe}function BF(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function FF(e,t,r,n){var i=new pt;return i.add(new bt({name:"main",style:JC(r),silent:!0,draggable:!0,cursor:"move",drift:et(II,e,t,i,["n","s","w","e"]),ondragend:et(fs,t,{isEnd:!0})})),O(n,function(a){i.add(new bt({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:et(II,e,t,i,a),ondragend:et(fs,t,{isEnd:!0})}))}),i}function $F(e,t,r,n){var i=n.brushStyle.lineWidth||0,a=Zl(i,bpe),o=r[0][0],s=r[1][0],l=o-i/2,u=s-i/2,c=r[0][1],f=r[1][1],h=c-a+i/2,d=f-a+i/2,v=c-o,p=f-s,m=v+i,g=p+i;Ei(e,t,"main",o,s,v,p),n.transformable&&(Ei(e,t,"w",l,u,a,g),Ei(e,t,"e",h,u,a,g),Ei(e,t,"n",l,u,m,a),Ei(e,t,"s",l,d,m,a),Ei(e,t,"nw",l,u,a,a),Ei(e,t,"ne",h,u,a,a),Ei(e,t,"sw",l,d,a,a),Ei(e,t,"se",h,d,a,a))}function B_(e,t){var r=t.__brushOption,n=r.transformable,i=t.childAt(0);i.useStyle(JC(r)),i.attr({silent:!n,cursor:n?"move":"default"}),O([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(a){var o=t.childOfName(a.join("")),s=a.length===1?F_(e,a[0]):Ppe(e,a);o&&o.attr({silent:!n,invisible:!n,cursor:n?Spe[s]+"-resize":null})})}function Ei(e,t,r,n,i,a,o){var s=t.childOfName(r);s&&s.setShape(Mpe(eS(e,t,[[n,i],[n+a,i+o]])))}function JC(e){return De({strokeNoScale:!0},e.brushStyle)}function HF(e,t,r,n){var i=[yf(e,r),yf(t,n)],a=[Zl(e,r),Zl(t,n)];return[[i[0],a[0]],[i[1],a[1]]]}function Epe(e){return dC(e.group)}function F_(e,t){var r={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=zN(r[t],Epe(e));return n[i]}function Ppe(e,t){var r=[F_(e,t[0]),F_(e,t[1])];return(r[0]==="e"||r[0]==="w")&&r.reverse(),r.join("")}function II(e,t,r,n,i,a){var o=r.__brushOption,s=e.toRectRange(o.range),l=zF(t,i,a);O(n,function(u){var c=Cpe[u];s[c[0]][c[1]]+=l[c[0]]}),o.range=e.fromRectRange(HF(s[0][0],s[1][0],s[0][1],s[1][1])),KC(t,r),fs(t,{isEnd:!1})}function Ipe(e,t,r,n){var i=t.__brushOption.range,a=zF(e,r,n);O(i,function(o){o[0]+=a[0],o[1]+=a[1]}),KC(e,t),fs(e,{isEnd:!1})}function zF(e,t,r){var n=e.group,i=n.transformCoordToLocal(t,r),a=n.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function eS(e,t,r){var n=NF(e,t);return n&&n!==cs?n.clipPath(r,e._transform):Ne(r)}function Mpe(e){var t=yf(e[0][0],e[1][0]),r=yf(e[0][1],e[1][1]),n=Zl(e[0][0],e[1][0]),i=Zl(e[0][1],e[1][1]);return{x:t,y:r,width:n-t,height:i-r}}function Dpe(e,t,r){if(!(!e._brushType||Rpe(e,t.offsetX,t.offsetY))){var n=e._zr,i=e._covers,a=QC(e,t,r);if(!e._dragging)for(var o=0;o<i.length;o++){var s=i[o].__brushOption;if(a&&(a===cs||s.panelId===a.panelId)&&F0[s.brushType].contain(i[o],r[0],r[1]))return}a&&n.setCursorStyle("crosshair")}}function $_(e){var t=e.event;t.preventDefault&&t.preventDefault()}function H_(e,t,r){return e.childOfName("main").contain(t,r)}function WF(e,t,r,n){var i=e._creatingCover,a=e._creatingPanel,o=e._brushOption,s;if(e._track.push(r.slice()),Ape(e)||i){if(a&&!i){o.brushMode==="single"&&N_(e);var l=Ne(o);l.brushType=MI(l.brushType,a),l.panelId=a===cs?null:a.panelId,i=e._creatingCover=LF(e,l),e._covers.push(i)}if(i){var u=F0[MI(e._brushType,a)],c=i.__brushOption;c.range=u.getCreatingRange(eS(e,i,e._track)),n&&(RF(e,i),u.updateCommon(e,i)),OF(e,i),s={isEnd:n}}}else n&&o.brushMode==="single"&&o.removeOnClick&&QC(e,t,r)&&N_(e)&&(s={isEnd:n,removeOnClick:!0});return s}function MI(e,t){return e==="auto"?t.defaultBrushType:e}var Lpe={mousedown:function(e){if(this._dragging)DI(this,e);else if(!e.target||!e.target.draggable){$_(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var r=this._creatingPanel=QC(this,e,t);r&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,r=e.offsetY,n=this.group.transformCoordToLocal(t,r);if(Dpe(this,e,n),this._dragging){$_(e);var i=WF(this,e,n,!1);i&&fs(this,i)}},mouseup:function(e){DI(this,e)}};function DI(e,t){if(e._dragging){$_(t);var r=t.offsetX,n=t.offsetY,i=e.group.transformCoordToLocal(r,n),a=WF(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&fs(e,a)}}function Rpe(e,t,r){var n=e._zr;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var F0={lineX:LI(0),lineY:LI(1),rect:{createCover:function(e,t){function r(n){return n}return FF({toRectRange:r,fromRectRange:r},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=BF(e);return HF(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,r,n){$F(e,t,r,n)},updateCommon:B_,contain:H_},polygon:{createCover:function(e,t){var r=new pt;return r.add(new ws({name:"main",style:JC(t),silent:!0})),r},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new gu({name:"main",draggable:!0,drift:et(Ipe,e,t),ondragend:et(fs,e,{isEnd:!0})}))},updateCoverShape:function(e,t,r,n){t.childAt(0).setShape({points:eS(e,t,r)})},updateCommon:B_,contain:H_}};function LI(e){return{createCover:function(t,r){return FF({toRectRange:function(n){var i=[n,[0,100]];return e&&i.reverse(),i},fromRectRange:function(n){return n[e]}},t,r,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var r=BF(t),n=yf(r[0][e],r[1][e]),i=Zl(r[0][e],r[1][e]);return[n,i]},updateCoverShape:function(t,r,n,i){var a,o=NF(t,r);if(o!==cs&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[n,a];e&&l.reverse(),$F(t,r,l,i)},updateCommon:B_,contain:H_}}const Ope=Tpe;function kpe(e){return e=tS(e),function(t){return VN(t,e)}}function Npe(e,t){return e=tS(e),function(r){var n=t??r,i=n?e.width:e.height,a=n?e.x:e.y;return[a,a+(i||0)]}}function Bpe(e,t,r){var n=tS(e);return function(i,a){return n.contain(a[0],a[1])&&!lpe(i,t,r)}}function tS(e){return Ge.create(e)}var Fpe=["itemStyle","borderWidth"],RI=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],ey=new Hf,$pe=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=this.group,o=r.getData(),s=this._data,l=r.coordinateSystem,u=l.getBaseAxis(),c=u.isHorizontal(),f=l.master.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:r,coordSys:l,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:c,valueDim:RI[+c],categoryDim:RI[1-+c]};return o.diff(s).add(function(d){if(o.hasValue(d)){var v=kI(o,d),p=OI(o,d,v,h),m=NI(o,h,p);o.setItemGraphicEl(d,m),a.add(m),FI(m,h,p)}}).update(function(d,v){var p=s.getItemGraphicEl(v);if(!o.hasValue(d)){a.remove(p);return}var m=kI(o,d),g=OI(o,d,m,h),y=YF(o,g);p&&y!==p.__pictorialShapeStr&&(a.remove(p),o.setItemGraphicEl(d,null),p=null),p?jpe(p,h,g):p=NI(o,h,g,!0),o.setItemGraphicEl(d,p),p.__pictorialSymbolMeta=g,a.add(p),FI(p,h,g)}).remove(function(d){var v=s.getItemGraphicEl(d);v&&BI(s,d,v.__pictorialSymbolMeta.animationModel,v)}).execute(),this._data=o,this.group},t.prototype.remove=function(r,n){var i=this.group,a=this._data;r.get("animation")?a&&a.eachItemGraphicEl(function(o){BI(a,Xe(o).dataIndex,r,o)}):i.removeAll()},t.type="pictorialBar",t}(Rr);function OI(e,t,r,n){var i=e.getItemLayout(t),a=r.get("symbolRepeat"),o=r.get("symbolClip"),s=r.get("symbolPosition")||"start",l=r.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=r.get("symbolPatternSize")||2,f=r.isAnimationEnabled(),h={dataIndex:t,layout:i,itemModel:r,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:r.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:f?r:null,hoverScale:f&&r.get(["emphasis","scale"]),z2:r.getShallow("z",!0)||0};Hpe(r,a,i,n,h),zpe(e,t,i,a,o,h.boundingLength,h.pxSign,c,n,h),Wpe(r,h.symbolScale,u,n,h);var d=h.symbolSize,v=RC(r.get("symbolOffset"),d);return Vpe(r,d,i,a,o,v,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function Hpe(e,t,r,n,i){var a=n.valueDim,o=e.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(r[a.wh]<=0),c;if(de(o)){var f=[ty(s,o[0])-l,ty(s,o[1])-l];f[1]<f[0]&&f.reverse(),c=f[u]}else o!=null?c=ty(s,o)-l:t?c=n.coordSysExtent[a.index][u]-l:c=r[a.wh];i.boundingLength=c,t&&(i.repeatCutLength=r[a.wh]),i.pxSign=c>0?1:-1}function ty(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function zpe(e,t,r,n,i,a,o,s,l,u){var c=l.valueDim,f=l.categoryDim,h=Math.abs(r[f.wh]),d=e.getItemVisual(t,"symbolSize"),v;de(d)?v=d.slice():d==null?v=["100%","100%"]:v=[d,d],v[f.index]=Pe(v[f.index],h),v[c.index]=Pe(v[c.index],n?h:Math.abs(a)),u.symbolSize=v;var p=u.symbolScale=[v[0]/s,v[1]/s];p[c.index]*=(l.isHorizontal?-1:1)*o}function Wpe(e,t,r,n,i){var a=e.get(Fpe)||0;a&&(ey.attr({scaleX:t[0],scaleY:t[1],rotation:r}),ey.updateTransform(),a/=ey.getLineScale(),a*=t[n.valueDim.index]),i.valueLineWidth=a||0}function Vpe(e,t,r,n,i,a,o,s,l,u,c,f){var h=c.categoryDim,d=c.valueDim,v=f.pxSign,p=Math.max(t[d.index]+s,0),m=p;if(n){var g=Math.abs(l),y=Gl(e.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1));var _=Pe(y,t[d.index]),b=Math.max(p+_*2,0),C=x?0:_*2,S=$4(n),w=S?n:$I((g+C)/b),E=g-w*p;_=E/2/(x?w:Math.max(w-1,1)),b=p+_*2,C=x?0:_*2,!S&&n!=="fixed"&&(w=u?$I((Math.abs(u)+C)/b):0),m=w*b-C,f.repeatTimes=w,f.symbolMargin=_}var T=v*(m/2),A=f.pathPosition=[];A[h.index]=r[h.wh]/2,A[d.index]=o==="start"?T:o==="end"?l-T:l/2,a&&(A[0]+=a[0],A[1]+=a[1]);var P=f.bundlePosition=[];P[h.index]=r[h.xy],P[d.index]=r[d.xy];var D=f.barRectShape=ce({},r);D[d.wh]=v*Math.max(Math.abs(r[d.wh]),Math.abs(A[d.index]+T)),D[h.wh]=r[h.wh];var L=f.clipShape={};L[h.xy]=-r[h.xy],L[h.wh]=c.ecSize[h.wh],L[d.xy]=0,L[d.wh]=r[d.wh]}function VF(e){var t=e.symbolPatternSize,r=Nn(e.symbolType,-t/2,-t/2,t,t);return r.attr({culling:!0}),r.type!=="image"&&r.setStyle({strokeNoScale:!0}),r}function UF(e,t,r,n){var i=e.__pictorialBundle,a=r.symbolSize,o=r.valueLineWidth,s=r.pathPosition,l=t.valueDim,u=r.repeatTimes||0,c=0,f=a[t.valueDim.index]+o+r.symbolMargin*2;for(rS(e,function(p){p.__pictorialAnimationIndex=c,p.__pictorialRepeatTimes=u,c<u?Al(p,null,v(c),r,n):Al(p,null,{scaleX:0,scaleY:0},r,n,function(){i.remove(p)}),c++});c<u;c++){var h=VF(r);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var d=v(c);Al(h,{x:d.x,y:d.y,scaleX:0,scaleY:0},{scaleX:d.scaleX,scaleY:d.scaleY,rotation:d.rotation},r,n)}function v(p){var m=s.slice(),g=r.pxSign,y=p;return(r.symbolRepeatDirection==="start"?g>0:g<0)&&(y=u-1-p),m[l.index]=f*(y-u/2+.5)+s[l.index],{x:m[0],y:m[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation}}}function GF(e,t,r,n){var i=e.__pictorialBundle,a=e.__pictorialMainPath;a?Al(a,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,n):(a=e.__pictorialMainPath=VF(r),i.add(a),Al(a,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:0,scaleY:0,rotation:r.rotation},{scaleX:r.symbolScale[0],scaleY:r.symbolScale[1]},r,n))}function jF(e,t,r){var n=ce({},t.barRectShape),i=e.__pictorialBarRect;i?Al(i,null,{shape:n},t,r):(i=e.__pictorialBarRect=new bt({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function qF(e,t,r,n){if(r.symbolClip){var i=e.__pictorialClipPath,a=ce({},r.clipShape),o=t.valueDim,s=r.animationModel,l=r.dataIndex;if(i)Ct(i,{shape:a},s,l);else{a[o.wh]=0,i=new bt({shape:a}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var u={};u[o.wh]=r.clipShape[o.wh],_0[n?"updateProps":"initProps"](i,{shape:u},s,l)}}}function kI(e,t){var r=e.getItemModel(t);return r.getAnimationDelayParams=Upe,r.isAnimationEnabled=Gpe,r}function Upe(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function Gpe(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function NI(e,t,r,n){var i=new pt,a=new pt;return i.add(a),i.__pictorialBundle=a,a.x=r.bundlePosition[0],a.y=r.bundlePosition[1],r.symbolRepeat?UF(i,t,r):GF(i,t,r),jF(i,r,n),qF(i,t,r,n),i.__pictorialShapeStr=YF(e,r),i.__pictorialSymbolMeta=r,i}function jpe(e,t,r){var n=r.animationModel,i=r.dataIndex,a=e.__pictorialBundle;Ct(a,{x:r.bundlePosition[0],y:r.bundlePosition[1]},n,i),r.symbolRepeat?UF(e,t,r,!0):GF(e,t,r,!0),jF(e,r,!0),qF(e,t,r,!0)}function BI(e,t,r,n){var i=n.__pictorialBarRect;i&&i.removeTextContent();var a=[];rS(n,function(o){a.push(o)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(r=null),O(a,function(o){of(o,{scaleX:0,scaleY:0},r,t,function(){n.parent&&n.parent.remove(n)})}),e.setItemGraphicEl(t,null)}function YF(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function rS(e,t,r){O(e.__pictorialBundle.children(),function(n){n!==e.__pictorialBarRect&&t.call(r,n)})}function Al(e,t,r,n,i,a){t&&e.attr(t),n.symbolClip&&!i?r&&e.attr(r):r&&_0[i?"updateProps":"initProps"](e,r,n.animationModel,n.dataIndex,a)}function FI(e,t,r){var n=r.dataIndex,i=r.itemModel,a=i.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=a.get("focus"),f=a.get("blurScope"),h=a.get("scale");rS(e,function(p){if(p instanceof xi){var m=p.style;p.useStyle(ce({image:m.image,x:m.x,y:m.y,width:m.width,height:m.height},r.style))}else p.useStyle(r.style);var g=p.ensureState("emphasis");g.style=o,h&&(g.scaleX=p.scaleX*1.1,g.scaleY=p.scaleY*1.1),p.ensureState("blur").style=s,p.ensureState("select").style=l,u&&(p.cursor=u),p.z2=r.z2});var d=t.valueDim.posDesc[+(r.boundingLength>0)],v=e.__pictorialBarRect;Ts(v,As(i),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:B0(t.seriesModel.getData(),n),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:d}),ji(e,c,f,a.get("disabled"))}function $I(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const qpe=$pe;var Ype=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return t.prototype.getInitialData=function(r){return r.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=pC(ap.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%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(ap);const Xpe=Ype;function Kpe(e){e.registerChartView(qpe),e.registerSeriesModel(Xpe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,et(L8,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,R8("pictorialBar"))}var Ro=_t(),HI=Ne,ry=it,Zpe=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,r,n,i){var a=r.get("value"),o=r.get("status");if(this._axisModel=t,this._axisPointerModel=r,this._api=n,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,a,t,r,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,r);if(!s)s=this._group=new pt,this.createPointerEl(s,u,t,r),this.createLabelEl(s,u,t,r),n.getZr().add(s);else{var h=et(zI,r,f);this.updatePointerEl(s,u,h),this.updateLabelEl(s,u,h,r)}VI(s,r,!0),this._renderHandle(a)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,r){var n=r.get("animation"),i=t.axis,a=i.type==="category",o=r.get("snap");if(!o&&!a)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var l=XC(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,i,a){},e.prototype.createPointerEl=function(t,r,n,i){var a=r.pointer;if(a){var o=Ro(t).pointerEl=new _0[a.type](HI(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=Ro(t).labelEl=new Et(HI(r.label));t.add(a),WI(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=Ro(t).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,i){var a=Ro(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),WI(a,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=m0(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){h4(u.event)},onmousedown:ry(this._onHandleDragMove,this,0,0),drift:ry(this._onHandleDragMove,this),ondragend:ry(this._onHandleDragEnd,this)}),n.add(i)),VI(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");de(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,zB(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){zI(this._axisPointerModel,!r&&this._moveAnimation,this._handle,ny(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(ny(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(ny(i)),Ro(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),x_(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e}();function zI(e,t,r,n){XF(Ro(r).lastProp,n)||(Ro(r).lastProp=n,t?Ct(r,n,e):(r.stopAnimation(),r.attr(n)))}function XF(e,t){if(we(e)&&we(t)){var r=!0;return O(t,function(n,i){r=r&&XF(e[i],n)}),!!r}else return e===t}function WI(e,t){e[t.get(["label","show"])?"show":"hide"]()}function ny(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function VI(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}const Qpe=Zpe;function Jpe(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function e0e(e,t,r,n,i){var a=r.get("value"),o=KF(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=E0(s.get("padding")||0),u=s.getFont(),c=u0(o,u),f=i.position,h=c.width+l[1]+l[3],d=c.height+l[0]+l[2],v=i.align;v==="right"&&(f[0]-=h),v==="center"&&(f[0]-=h/2);var p=i.verticalAlign;p==="bottom"&&(f[1]-=d),p==="middle"&&(f[1]-=d/2),t0e(f,h,d,n);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:dn(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function t0e(e,t,r,n){var i=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,a)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function KF(e,t,r,n,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:zC(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};O(n,function(l){var u=r.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,f=u&&u.getDataParams(c);f&&s.seriesData.push(f)}),be(o)?a=o.replace("{value}",a):Ie(o)&&(a=o(s))}return a}function ZF(e,t,r){var n=tf();return Kb(n,n,r.rotation),$x(n,n,r.position),vC([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function r0e(e,t,r,n,i,a){var o=YC.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),e0e(t,n,i,a,{position:ZF(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function n0e(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function i0e(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}var a0e=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),c=UI(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=Jpe(a),d=o0e[u](s,f,c);d.style=h,r.graphicKey=d.type,r.pointer=d}var v=R_(l.model,i);r0e(n,r,v,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=R_(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=ZF(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=UI(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[r.x,r.y];f[c]+=n[c],f[c]=Math.min(l[1],f[c]),f[c]=Math.max(l[0],f[c]);var h=(u[1]+u[0])/2,d=[h,h];d[c]=f[c];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:r.rotation,cursorPoint:d,tooltipOption:v[c]}},t}(Qpe);function UI(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var o0e={line:function(e,t,r){var n=n0e([t,r[0]],[t,r[1]],GI(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:i0e([t-n/2,r[0]],[n,i],GI(e))}}};function GI(e){return e.dim==="x"?0:1}const s0e=a0e;var l0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!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}(lt);const u0e=l0e;var ki=_t(),c0e=O;function QF(e,t,r){if(!ze.node){var n=t.getZr();ki(n).records||(ki(n).records={}),f0e(n,t);var i=ki(n).records[e]||(ki(n).records[e]={});i.handler=r}}function f0e(e,t){if(ki(e).initialized)return;ki(e).initialized=!0,r("click",et(jI,"click")),r("mousemove",et(jI,"mousemove")),r("globalout",d0e);function r(n,i){e.on(n,function(a){var o=v0e(t);c0e(ki(e).records,function(s){s&&i(s,a,o.dispatchAction)}),h0e(o.pendings,t)})}}function h0e(e,t){var r=e.showTip.length,n=e.hideTip.length,i;r?i=e.showTip[r-1]:n&&(i=e.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function d0e(e,t,r){e.handler("leave",null,r)}function jI(e,t,r,n){t.handler(e,r,n)}function v0e(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function z_(e,t){if(!ze.node){var r=t.getZr(),n=(ki(r).records||{})[e];n&&(ki(r).records[e]=null)}}var p0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";QF("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(r,n){z_("axisPointer",n)},t.prototype.dispose=function(r,n){z_("axisPointer",n)},t.type="axisPointer",t}(Kr);const g0e=p0e;function JF(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=os(a,e);if(o==null||o<0||de(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),f=c.dim,h=u.dim,d=f==="x"||f==="radius"?1:0,v=a.mapDimension(h),p=[];p[d]=a.get(v,o),p[1-d]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=l.dataToPoint(p)||[]}else r=l.dataToPoint(a.getValues(ve(l.dimensions,function(g){return a.mapDimension(g)}),o))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),r=[m.x+m.width/2,m.y+m.height/2]}return{point:r,el:s}}var qI=_t();function m0e(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||it(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Pd(i)&&(i=JF({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Pd(i),u=a.axesInfo,c=s.axesInfo,f=n==="leave"||Pd(i),h={},d={},v={list:[],map:{}},p={showPointer:et(x0e,d),showTooltip:et(_0e,v)};O(s.coordSysMap,function(g,y){var x=l||g.containPoint(i);O(s.coordSysAxesInfo[y],function(_,b){var C=_.axis,S=w0e(u,_);if(!f&&x&&(!u||S)){var w=S&&S.value;w==null&&!l&&(w=C.pointToData(i)),w!=null&&YI(_,w,p,!1,h)}})});var m={};return O(c,function(g,y){var x=g.linkGroup;x&&!d[y]&&O(x.axesInfo,function(_,b){var C=d[b];if(_!==g&&C){var S=C.value;x.mapper&&(S=g.axis.scale.parse(x.mapper(S,XI(_),XI(g)))),m[g.key]=S}})}),O(m,function(g,y){YI(c[y],g,p,!0,h)}),b0e(d,c,h),C0e(v,i,e,o),S0e(c,o,r),h}}function YI(e,t,r,n,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=y0e(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&ce(i,s[0]),!n&&e.snap&&a.containData(l)&&l!=null&&(t=l),r.showPointer(e,t,s),r.showTooltip(e,o,l)}}function y0e(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return O(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(n),f,h;if(l.getAxisTooltipData){var d=l.getAxisTooltipData(c,e,r);h=d.dataIndices,f=d.nestestValue}else{if(h=l.getData().indicesOfNearest(c[0],e,r.type==="category"?.5:null),!h.length)return;f=l.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var v=e-f,p=Math.abs(v);p<=o&&((p<o||v>=0&&s<0)&&(o=p,s=v,i=f,a.length=0),O(h,function(m){a.push({seriesIndex:l.seriesIndex,dataIndexInside:m,dataIndex:l.getData().getRawIndex(m)})}))}}),{payloadBatch:a,snapToValue:i}}function x0e(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function _0e(e,t,r,n){var i=r.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=mf(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function b0e(e,t,r){var n=r.axesInfo=[];O(t,function(i,a){var o=i.axisPointerModel.option,s=e[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function C0e(e,t,r,n){if(Pd(t)||!e.list.length){n({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function S0e(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=qI(n)[i]||{},o=qI(n)[i]={};O(e,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&O(f.seriesDataIndices,function(h){var d=h.seriesIndex+" | "+h.dataIndex;o[d]=h})});var s=[],l=[];O(a,function(u,c){!o[c]&&l.push(u)}),O(o,function(u,c){!a[c]&&s.push(u)}),l.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function w0e(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function XI(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function Pd(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function e5(e){AF.registerAxisPointerClass("CartesianAxisPointer",s0e),e.registerComponentModel(u0e),e.registerComponentView(g0e),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!de(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=Ave(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m0e)}function T0e(e){Bn(IF),Bn(e5)}var KI=["x","y","radius","angle","single"],A0e=["cartesian2d","polar","singleAxis"];function E0e(e){var t=e.get("coordinateSystem");return Ve(A0e,t)>=0}function ul(e){return e+"Axis"}function P0e(e,t){var r=Re(),n=[],i=Re();e.eachComponent({mainType:"dataZoom",query:t},function(c){i.get(c.uid)||s(c)});var a;do a=!1,e.eachComponent("dataZoom",o);while(a);function o(c){!i.get(c.uid)&&l(c)&&(s(c),a=!0)}function s(c){i.set(c.uid,!0),n.push(c),u(c)}function l(c){var f=!1;return c.eachTargetAxis(function(h,d){var v=r.get(h);v&&v[d]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,h){(r.get(f)||r.set(f,[]))[h]=!0})}return n}var iy=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}(),I0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return t.prototype.init=function(r,n,i){var a=ZI(r);this.settledOption=a,this.mergeDefaultAndTheme(r,i),this._doInit(a)},t.prototype.mergeOption=function(r){var n=ZI(r);Fe(this.option,r,!0),Fe(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(r){var n=this.option;this._setDefaultThrottle(r),this._updateRangeUse(r);var i=this.settledOption;O([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(n[a[0]]=i[a[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var r=this.get("orient",!0),n=this._targetAxisInfoMap=Re(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=r||this._makeAutoOrientByTargetAxis():(this._orient=r||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(r){var n=!1;return O(KI,function(i){var a=this.getReferringComponents(ul(i),Vae);if(a.specified){n=!0;var o=new iy;O(a.models,function(s){o.add(s.componentIndex)}),r.set(i,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(r,n){var i=this.ecModel,a=!0;if(a){var o=n==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===n}});l(s,"single")}function l(u,c){var f=u[0];if(f){var h=new iy;if(h.add(f.componentIndex),r.set(c,h),a=!1,c==="x"||c==="y"){var d=f.getReferringComponents("grid",gr).models[0];d&&O(u,function(v){f.componentIndex!==v.componentIndex&&d===v.getReferringComponents("grid",gr).models[0]&&h.add(v.componentIndex)})}}}a&&O(KI,function(u){if(a){var c=i.findComponents({mainType:ul(u),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new iy;f.add(c[0].componentIndex),r.set(u,f),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(n){!r&&(r=n)},this),r==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(r){var n=this._rangePropMode,i=this.get("rangeMode");O([["start","startValue"],["end","endValue"]],function(a,o){var s=r[a[0]]!=null,l=r[a[1]]!=null;s&&!l?n[o]="percent":!s&&l?n[o]="value":i?n[o]=i[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var r;return this.eachTargetAxis(function(n,i){r==null&&(r=this.ecModel.getComponent(ul(n),i))},this),r},t.prototype.eachTargetAxis=function(r,n){this._targetAxisInfoMap.each(function(i,a){O(i.indexList,function(o){r.call(n,a,o)})})},t.prototype.getAxisProxy=function(r,n){var i=this.getAxisModel(r,n);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(r,n){var i=this._targetAxisInfoMap.get(r);if(i&&i.indexMap[n])return this.ecModel.getComponent(ul(r),n)},t.prototype.setRawRange=function(r){var n=this.option,i=this.settledOption;O([["start","startValue"],["end","endValue"]],function(a){(r[a[0]]!=null||r[a[1]]!=null)&&(n[a[0]]=i[a[0]]=r[a[0]],n[a[1]]=i[a[1]]=r[a[1]])},this),this._updateRangeUse(r)},t.prototype.setCalculatedRange=function(r){var n=this.option;O(["start","startValue","end","endValue"],function(i){n[i]=r[i]})},t.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},t.prototype.getValueRange=function(r,n){if(r==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(r,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(r){if(r)return r.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),a=0;a<i.length;a++)for(var o=i[a],s=this._targetAxisInfoMap.get(o),l=0;l<s.indexList.length;l++){var u=this.getAxisProxy(o,s.indexList[l]);if(u.hostedBy(this))return u;n||(n=u)}return n},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}(lt);function ZI(e){var t={};return O(["start","end","startValue","endValue","throttle"],function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t}const M0e=I0e;var D0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(M0e);const L0e=D0e;var R0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i,a){this.dataZoomModel=r,this.ecModel=n,this.api=i},t.type="dataZoom",t}(Kr);const O0e=R0e;var k0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(O0e);const N0e=k0e;var il=O,QI=Tae,B0e=function(){function e(t,r,n,i){this._dimName=t,this._axisIndex=r,this.ecModel=i,this._dataZoomModel=n}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(r){if(E0e(r)){var n=ul(this._dimName),i=r.getReferringComponents(n,gr).models[0];i&&this._axisIndex===i.componentIndex&&t.push(r)}},this),t},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return Ne(this._minMaxSpan)},e.prototype.calculateDataWindow=function(t){var r=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[],u;il(["start","end"],function(h,d){var v=t[h],p=t[h+"Value"];a[d]==="percent"?(v==null&&(v=o[d]),p=i.parse(Ar(v,o,r))):(u=!0,p=p==null?r[d]:i.parse(p),v=Ar(p,r,o)),l[d]=p==null||isNaN(p)?r[d]:p,s[d]=v==null||isNaN(v)?o[d]:v}),QI(l),QI(s);var c=this._minMaxSpan;u?f(l,s,r,o,!1):f(s,l,o,r,!0);function f(h,d,v,p,m){var g=m?"Span":"ValueSpan";DF(0,h,v,"all",c["min"+g],c["max"+g]);for(var y=0;y<2;y++)d[y]=Ar(h[y],v,p,!0),m&&(d[y]=i.parse(d[y]))}return{valueWindow:l,percentWindow:s}},e.prototype.reset=function(t){if(t===this._dataZoomModel){var r=this.getTargetSeriesModels();this._dataExtent=F0e(this,this._dimName,r),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(t,r){if(t!==this._dataZoomModel)return;var n=this._dimName,i=this.getTargetSeriesModels(),a=t.get("filterMode"),o=this._valueWindow;if(a==="none")return;il(i,function(l){var u=l.getData(),c=u.mapDimensionsAll(n);if(c.length){if(a==="weakFilter"){var f=u.getStore(),h=ve(c,function(d){return u.getDimensionIndex(d)},u);u.filterSelf(function(d){for(var v,p,m,g=0;g<c.length;g++){var y=f.get(h[g],d),x=!isNaN(y),_=y<o[0],b=y>o[1];if(x&&!_&&!b)return!0;x&&(m=!0),_&&(v=!0),b&&(p=!0)}return m&&v&&p})}else il(c,function(d){if(a==="empty")l.setData(u=u.map(d,function(p){return s(p)?p:NaN}));else{var v={};v[d]=o,u.selectRange(v)}});il(c,function(d){u.setApproximateExtent(o,d)})}});function s(l){return l>=o[0]&&l<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},r=this._dataZoomModel,n=this._dataExtent;il(["min","max"],function(i){var a=r.get(i+"Span"),o=r.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=Ar(n[0]+o,n,[0,100],!0):a!=null&&(o=Ar(a,[0,100],n,!0)-n[0]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),r=this._percentWindow,n=this._valueWindow;if(r){var i=N4(n,[0,500]);i=Math.min(i,20);var a=t.axis.scale.rawExtentInfo;r[0]!==0&&a.setDeterminedMinMax("min",+n[0].toFixed(i)),r[1]!==100&&a.setDeterminedMinMax("max",+n[1].toFixed(i)),a.freeze()}},e}();function F0e(e,t,r){var n=[1/0,-1/0];il(r,function(o){whe(n,o.getData(),t)});var i=e.getAxisModel(),a=F8(i.axis.scale,i,n).calculate();return[a.min,a.max]}const $0e=B0e;var H0e={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var l=e.getComponent(ul(o),s);i(o,s,l,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var r=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new $0e(i,a,s,e),r.push(o.__dzAxisProxy))});var n=Re();return O(r,function(i){O(i.getTargetSeriesModels(),function(a){n.set(a.uid,a)})}),n},overallReset:function(e,t){e.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).reset(r)}),r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).filterData(r,t)})}),e.eachComponent("dataZoom",function(r){var n=r.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),a=n.getDataValueWindow();r.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};const z0e=H0e;function W0e(e){e.registerAction("dataZoom",function(t,r){var n=P0e(r,t);O(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var JI=!1;function V0e(e){JI||(JI=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,z0e),W0e(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function U0e(e){e.registerComponentModel(L0e),e.registerComponentView(N0e),V0e(e)}var En=function(){function e(){}return e}(),t5={};function Yu(e,t){t5[e]=t}function r5(e){return t5[e]}var G0e=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var r=this.ecModel;O(this.option.feature,function(n,i){var a=r5(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(r)),Fe(n,a.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}(lt);const j0e=G0e;function q0e(e,t,r){var n=t.getBoxLayoutParams(),i=t.get("padding"),a={width:r.getWidth(),height:r.getHeight()},o=Ua(n,a,i);Tl(t.get("orient"),e,t.get("itemGap"),o.width,o.height),Tle(e,n,a,i)}function n5(e,t){var r=E0(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new bt({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var Y0e=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,n,i,a){var o=this.group;if(o.removeAll(),!r.get("show"))return;var s=+r.get("itemSize"),l=r.get("orient")==="vertical",u=r.get("feature")||{},c=this._features||(this._features={}),f=[];O(u,function(v,p){f.push(p)}),new pf(this._featureNames||[],f).add(h).update(h).remove(et(h,null)).execute(),this._featureNames=f;function h(v,p){var m=f[v],g=f[p],y=u[m],x=new jt(y,r,r.ecModel),_;if(a&&a.newTitle!=null&&a.featureName===m&&(y.title=a.newTitle),m&&!g){if(X0e(m))_={onclick:x.option.onclick,featureName:m};else{var b=r5(m);if(!b)return;_=new b}c[m]=_}else if(_=c[g],!_)return;_.uid=zf("toolbox-feature"),_.model=x,_.ecModel=n,_.api=i;var C=_ instanceof En;if(!m&&g){C&&_.dispose&&_.dispose(n,i);return}if(!x.get("show")||C&&_.unusable){C&&_.remove&&_.remove(n,i);return}d(x,_,m),x.setIconStatus=function(S,w){var E=this.option,T=this.iconPaths;E.iconStatus=E.iconStatus||{},E.iconStatus[S]=w,T[S]&&(w==="emphasis"?jl:ql)(T[S])},_ instanceof En&&_.render&&_.render(x,n,i,a)}function d(v,p,m){var g=v.getModel("iconStyle"),y=v.getModel(["emphasis","iconStyle"]),x=p instanceof En&&p.getIcons?p.getIcons():v.get("icon"),_=v.get("title")||{},b,C;be(x)?(b={},b[m]=x):b=x,be(_)?(C={},C[m]=_):C=_;var S=v.iconPaths={};O(b,function(w,E){var T=m0(w,{},{x:-s/2,y:-s/2,width:s,height:s});T.setStyle(g.getItemStyle());var A=T.ensureState("emphasis");A.style=y.getItemStyle();var P=new Et({style:{text:C[E],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null},ignore:!0});T.setTextContent(P),y0({el:T,componentModel:r,itemName:E,formatterParamsExtra:{title:C[E]}}),T.__title=C[E],T.on("mouseover",function(){var D=y.getItemStyle(),L=l?r.get("right")==null&&r.get("left")!=="right"?"right":"left":r.get("bottom")==null&&r.get("top")!=="bottom"?"bottom":"top";P.setStyle({fill:y.get("textFill")||D.fill||D.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),T.setTextConfig({position:y.get("textPosition")||L}),P.ignore=!r.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",E])!=="emphasis"&&i.leaveEmphasis(this),P.hide()}),(v.get(["iconStatus",E])==="emphasis"?jl:ql)(T),o.add(T),T.on("click",it(p.onclick,p,n,i,E)),S[E]=T})}q0e(o,r,i),o.add(n5(o.getBoundingRect(),r)),l||o.eachChild(function(v){var p=v.__title,m=v.ensureState("emphasis"),g=m.textConfig||(m.textConfig={}),y=v.getTextContent(),x=y&&y.ensureState("emphasis");if(x&&!Ie(x)&&p){var _=x.style||(x.style={}),b=u0(p,Et.makeFont(_)),C=v.x+o.x,S=v.y+o.y+s,w=!1;S+b.height>i.getHeight()&&(g.position="top",w=!0);var E=w?-5-b.height:s+10;C+b.width/2>i.getWidth()?(g.position=["100%",E],_.align="right"):C-b.width/2<0&&(g.position=[0,E],_.align="left")}})},t.prototype.updateView=function(r,n,i,a){O(this._features,function(o){o instanceof En&&o.updateView&&o.updateView(o.model,n,i,a)})},t.prototype.remove=function(r,n){O(this._features,function(i){i instanceof En&&i.remove&&i.remove(r,n)}),this.group.removeAll()},t.prototype.dispose=function(r,n){O(this._features,function(i){i instanceof En&&i.dispose&&i.dispose(r,n)})},t.type="toolbox",t}(Kr);function X0e(e){return e.indexOf("my")===0}const K0e=Y0e;var Z0e=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){var i=this.model,a=i.get("name")||r.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=n.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||r.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=ze.browser;if(Ie(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=a+"."+s,c.target="_blank",c.href=l;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||o){var h=l.split(","),d=h[0].indexOf("base64")>-1,v=o?decodeURIComponent(h[1]):h[1];d&&(v=window.atob(v));var p=a+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var m=v.length,g=new Uint8Array(m);m--;)g[m]=v.charCodeAt(m);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,p)}else{var x=document.createElement("iframe");document.body.appendChild(x);var _=x.contentWindow,b=_.document;b.open("image/svg+xml","replace"),b.write(v),b.close(),_.focus(),b.execCommand("SaveAs",!0,p),document.body.removeChild(x)}}else{var C=i.get("lang"),S='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(C&&C[0]||"")+'" /></body>',w=window.open();w.document.write(S),w.document.title=a}},t.getDefaultOption=function(r){var n={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:r.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:r.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(En);const Q0e=Z0e;var eM="__ec_magicType_stack__",J0e=[["line","bar"],["stack"]],ege=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var r=this.model,n=r.get("icon"),i={};return O(r.get("type"),function(a){n[a]&&(i[a]=n[a])}),i},t.getDefaultOption=function(r){var n={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:r.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(r,n,i){var a=this.model,o=a.get(["seriesIndex",i]);if(tM[i]){var s={series:[]},l=function(f){var h=f.subType,d=f.id,v=tM[i](h,d,f,a);v&&(De(v,f.option),s.series.push(v));var p=f.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var m=p.getAxesByScale("ordinal")[0];if(m){var g=m.dim,y=g+"Axis",x=f.getReferringComponents(y,gr).models[0],_=x.componentIndex;s[y]=s[y]||[];for(var b=0;b<=_;b++)s[y][_]=s[y][_]||{};s[y][_].boundaryGap=i==="bar"}}};O(J0e,function(f){Ve(f,i)>=0&&O(f,function(h){a.setIconStatus(h,"normal")})}),a.setIconStatus(i,"emphasis"),r.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,c=i;i==="stack"&&(u=Fe({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),a.get(["iconStatus",i])!=="emphasis"&&(c="tiled")),n.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:u,featureName:"magicType"})}},t}(En),tM={line:function(e,t,r,n){if(e==="bar")return Fe({id:t,type:"line",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(e,t,r,n){if(e==="line")return Fe({id:t,type:"bar",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(e,t,r,n){var i=r.get("stack")===eM;if(e==="line"||e==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),Fe({id:t,stack:i?"":eM},n.get(["option","stack"])||{},!0)}};bi({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const tge=ege;var $0=new Array(60).join("-"),Ql=" ";function rge(e){var t={},r=[],n=[];return e.eachRawSeries(function(i){var a=i.coordinateSystem;if(a&&(a.type==="cartesian2d"||a.type==="polar")){var o=a.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else r.push(i)}else r.push(i)}),{seriesGroupByCategoryAxis:t,other:r,meta:n}}function nge(e){var t=[];return O(e,function(r,n){var i=r.categoryAxis,a=r.valueAxis,o=a.dim,s=[" "].concat(ve(r.series,function(d){return d.name})),l=[i.model.getCategories()];O(r.series,function(d){var v=d.getRawData();l.push(d.getRawData().mapArray(v.mapDimension(o),function(p){return p}))});for(var u=[s.join(Ql)],c=0;c<l[0].length;c++){for(var f=[],h=0;h<l.length;h++)f.push(l[h][c]);u.push(f.join(Ql))}t.push(u.join(`
`))}),t.join(`
`+$0+`
`)}function ige(e){return ve(e,function(t){var r=t.getRawData(),n=[t.name],i=[];return r.each(r.dimensions,function(){for(var a=arguments.length,o=arguments[a-1],s=r.getName(o),l=0;l<a-1;l++)i[l]=arguments[l];n.push((s?s+Ql:"")+i.join(Ql))}),n.join(`
`)}).join(`
`+$0+`
`)}function age(e){var t=rge(e);return{value:Dt([nge(t.seriesGroupByCategoryAxis),ige(t.other)],function(r){return!!r.replace(/[\n\t\s]/g,"")}).join(`
`+$0+`
`),meta:t.meta}}function sp(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function oge(e){var t=e.slice(0,e.indexOf(`
`));if(t.indexOf(Ql)>=0)return!0}var W_=new RegExp("["+Ql+"]+","g");function sge(e){for(var t=e.split(/\n+/g),r=sp(t.shift()).split(W_),n=[],i=ve(r,function(l){return{name:l,data:[]}}),a=0;a<t.length;a++){var o=sp(t[a]).split(W_);n.push(o.shift());for(var s=0;s<o.length;s++)i[s]&&(i[s].data[a]=o[s])}return{series:i,categories:n}}function lge(e){for(var t=e.split(/\n+/g),r=sp(t.shift()),n=[],i=0;i<t.length;i++){var a=sp(t[i]);if(a){var o=a.split(W_),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),n[i]={name:s,value:[]},l=n[i].value):l=n[i]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);l.length===1&&(u?n[i].value=l[0]:n[i]=l[0])}}return{name:r,data:n}}function uge(e,t){var r=e.split(new RegExp(`
*`+$0+`
*`,"g")),n={series:[]};return O(r,function(i,a){if(oge(i)){var o=sge(i),s=t[a],l=s.axisDim+"Axis";s&&(n[l]=n[l]||[],n[l][s.axisIndex]={data:o.categories},n.series=n.series.concat(o.series))}else{var o=lge(i);n.series.push(o)}}),n}var cge=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){setTimeout(function(){n.dispatchAction({type:"hideTip"})});var i=n.getDom(),a=this.model;this._dom&&i.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=a.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=a.get("lang")||[];s.innerHTML=l[0]||a.get("title"),s.style.cssText="margin:10px 20px",s.style.color=a.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var f=a.get("optionToContent"),h=a.get("contentToOption"),d=age(r);if(Ie(f)){var v=f(n.getOption());be(v)?u.innerHTML=v:ef(v)&&u.appendChild(v)}else{c.readOnly=a.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=a.get("textColor"),p.borderColor=a.get("textareaBorderColor"),p.backgroundColor=a.get("textareaColor"),c.value=d.value,u.appendChild(c)}var m=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",x=document.createElement("div"),_=document.createElement("div");y+=";background-color:"+a.get("buttonColor"),y+=";color:"+a.get("buttonTextColor");var b=this;function C(){i.removeChild(o),b._dom=null}Fx(x,"click",C),Fx(_,"click",function(){if(h==null&&f!=null||h!=null&&f==null){C();return}var S;try{Ie(h)?S=h(u,n.getOption()):S=uge(c.value,m)}catch(w){throw C(),new Error("Data view format error "+w)}S&&n.dispatchAction({type:"changeDataView",newOption:S}),C()}),x.innerHTML=l[1],_.innerHTML=l[2],_.style.cssText=x.style.cssText=y,!a.get("readOnly")&&g.appendChild(_),g.appendChild(x),o.appendChild(s),o.appendChild(u),o.appendChild(g),u.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},t.prototype.remove=function(r,n){this._dom&&n.getDom().removeChild(this._dom)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.getDefaultOption=function(r){var n={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:r.getLocaleModel().get(["toolbox","dataView","title"]),lang:r.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return n},t}(En);function fge(e,t){return ve(e,function(r,n){var i=t&&t[n];if(we(i)&&!de(i)){var a=we(r)&&!de(r);a||(r={value:r});var o=i.name!=null&&r.name==null;return r=De(r,i),o&&delete r.name,r}else return r})}bi({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var r=[];O(e.newOption.series,function(n){var i=t.getSeriesByName(n.name)[0];if(!i)r.push(ce({type:"scatter"},n));else{var a=i.get("data");r.push({name:n.name,data:fge(n.data,a)})}}),t.mergeOption(De({series:r},e.newOption))});const hge=cge;var i5=O,a5=_t();function dge(e,t){var r=nS(e);i5(t,function(n,i){for(var a=r.length-1;a>=0;a--){var o=r[a];if(o[i])break}if(a<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();r[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),r.push(t)}function vge(e){var t=nS(e),r=t[t.length-1];t.length>1&&t.pop();var n={};return i5(r,function(i,a){for(var o=t.length-1;o>=0;o--)if(i=t[o][a],i){n[a]=i;break}}),n}function pge(e){a5(e).snapshots=null}function gge(e){return nS(e).length}function nS(e){var t=a5(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var mge=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){pge(r),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(r){var n={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:r.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(En);bi({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const yge=mge;var xge=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],_ge=function(){function e(t,r,n){var i=this;this._targetInfoList=[];var a=rM(r,t);O(bge,function(o,s){(!n||!n.include||Ve(n.include,s)>=0)&&o(a,i._targetInfoList)})}return e.prototype.setOutputRanges=function(t,r){return this.matchOutputRanges(t,r,function(n,i,a){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var o=ay[n.brushType](0,a,i);n.__rangeOffset={offset:oM[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,r,n){O(t,function(i){var a=this.findTargetInfo(i,r);a&&a!==!0&&O(a.coordSyses,function(o){var s=ay[i.brushType](1,o,i.range,!0);n(i,s.values,o,r)})},this)},e.prototype.setInputRanges=function(t,r){O(t,function(n){var i=this.findTargetInfo(n,r);if(n.range=n.range||[],i&&i!==!0){n.panelId=i.panelId;var a=ay[n.brushType](0,i.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?oM[n.brushType](a.values,o.offset,Cge(a.xyMinMax,o.xyMinMax)):a.values}},this)},e.prototype.makePanelOpts=function(t,r){return ve(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:r?r(n):null,clipPath:kpe(i),isTargetByCursor:Bpe(i,t,n.coordSysModel),getLinearBrushOtherExtent:Npe(i)}})},e.prototype.controlSeries=function(t,r,n){var i=this.findTargetInfo(t,n);return i===!0||i&&Ve(i.coordSyses,r.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,r){for(var n=this._targetInfoList,i=rM(r,t),a=0;a<n.length;a++){var o=n[a],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var l=0;l<nM.length;l++)if(nM[l](i,o))return o}return!0},e}();function V_(e){return e[0]>e[1]&&e.reverse(),e}function rM(e,t){return Dc(e,t,{includeMainTypes:xge})}var bge={grid:function(e,t){var r=e.xAxisModels,n=e.yAxisModels,i=e.gridModels,a=Re(),o={},s={};!r&&!n&&!i||(O(r,function(l){var u=l.axis.grid.model;a.set(u.id,u),o[u.id]=!0}),O(n,function(l){var u=l.axis.grid.model;a.set(u.id,u),s[u.id]=!0}),O(i,function(l){a.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),a.each(function(l){var u=l.coordinateSystem,c=[];O(u.getCartesians(),function(f,h){(Ve(r,f.getAxis("x").model)>=0||Ve(n,f.getAxis("y").model)>=0)&&c.push(f)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:c[0],coordSyses:c,getPanelRect:iM.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(e,t){O(e.geoModels,function(r){var n=r.coordinateSystem;t.push({panelId:"geo--"+r.id,geoModel:r,coordSysModel:r,coordSys:n,coordSyses:[n],getPanelRect:iM.geo})})}},nM=[function(e,t){var r=e.xAxisModel,n=e.yAxisModel,i=e.gridModel;return!i&&r&&(i=r.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(e,t){var r=e.geoModel;return r&&r===t.geoModel}],iM={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(dC(e)),t}},ay={lineX:et(aM,0),lineY:et(aM,1),rect:function(e,t,r,n){var i=e?t.pointToData([r[0][0],r[1][0]],n):t.dataToPoint([r[0][0],r[1][0]],n),a=e?t.pointToData([r[0][1],r[1][1]],n):t.dataToPoint([r[0][1],r[1][1]],n),o=[V_([i[0],a[0]]),V_([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,r,n){var i=[[1/0,-1/0],[1/0,-1/0]],a=ve(r,function(o){var s=e?t.pointToData(o,n):t.dataToPoint(o,n);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:a,xyMinMax:i}}};function aM(e,t,r,n){var i=r.getAxis(["x","y"][e]),a=V_(ve([0,1],function(s){return t?i.coordToData(i.toLocalCoord(n[s]),!0):i.toGlobalCoord(i.dataToCoord(n[s]))})),o=[];return o[e]=a,o[1-e]=[NaN,NaN],{values:a,xyMinMax:o}}var oM={lineX:et(sM,0),lineY:et(sM,1),rect:function(e,t,r){return[[e[0][0]-r[0]*t[0][0],e[0][1]-r[0]*t[0][1]],[e[1][0]-r[1]*t[1][0],e[1][1]-r[1]*t[1][1]]]},polygon:function(e,t,r){return ve(e,function(n,i){return[n[0]-r[0]*t[i][0],n[1]-r[1]*t[i][1]]})}};function sM(e,t,r,n){return[t[0]-n[e]*r[0],t[1]-n[e]*r[1]]}function Cge(e,t){var r=lM(e),n=lM(t),i=[r[0]/n[0],r[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function lM(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const o5=_ge;var U_=O,Sge=$ae("toolbox-dataZoom_"),wge=function(e){se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,n,i,a){this._brushController||(this._brushController=new Ope(i.getZr()),this._brushController.on("brush",it(this._onBrush,this)).mount()),Ege(r,n,this,a,i),Age(r,n)},t.prototype.onclick=function(r,n,i){Tge[i].call(this)},t.prototype.remove=function(r,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(r,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(r){var n=r.areas;if(!r.isEnd||!n.length)return;var i={},a=this.ecModel;this._brushController.updateCovers([]);var o=new o5(iS(this.model),a,{include:["grid"]});o.matchOutputRanges(n,a,function(u,c,f){if(f.type==="cartesian2d"){var h=u.brushType;h==="rect"?(s("x",f,c[0]),s("y",f,c[1])):s({lineX:"x",lineY:"y"}[h],f,c)}}),dge(a,i),this._dispatchZoomAction(i);function s(u,c,f){var h=c.getAxis(u),d=h.model,v=l(u,d,a),p=v.findRepresentativeAxisProxy(d).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(f=DF(0,f.slice(),h.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),v&&(i[v.id]={dataZoomId:v.id,startValue:f[0],endValue:f[1]})}function l(u,c,f){var h;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(d){var v=d.getAxisModel(u,c.componentIndex);v&&(h=d)}),h}},t.prototype._dispatchZoomAction=function(r){var n=[];U_(r,function(i,a){n.push(Ne(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(r){var n={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:r.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(En),Tge={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(vge(this.ecModel))}};function iS(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 Age(e,t){e.setIconStatus("back",gge(t)>1?"emphasis":"normal")}function Ege(e,t,r,n,i){var a=r._isZoomActive;n&&n.type==="takeGlobalCursor"&&(a=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),r._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var o=new o5(iS(e),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});r._brushController.setPanels(s).enableBrush(a&&s.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}Ole("dataZoom",function(e){var t=e.getComponent("toolbox",0),r=["feature","dataZoom"];if(!t||t.get(r)==null)return;var n=t.getModel(r),i=[],a=iS(n),o=Dc(e,a);U_(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),U_(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,c){var f=l.componentIndex,h={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:Sge+u+f};h[c]=f,i.push(h)}return i});const Pge=wge;function Ige(e){e.registerComponentModel(j0e),e.registerComponentView(K0e),Yu("saveAsImage",Q0e),Yu("magicType",tge),Yu("dataView",hge),Yu("dataZoom",Pge),Yu("restore",yge),Bn(U0e)}var Mge=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}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}(lt);const Dge=Mge;function s5(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function l5(e){if(ze.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r<n;r++)if(e[r]in t)return e[r]}}var u5=l5(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Lge=l5(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function c5(e,t){if(!e)return t;t=sB(t,!0);var r=e.indexOf(t);return e=r===-1?t:"-"+e.slice(0,r)+"-"+t,e.toLowerCase()}function Rge(e,t){var r=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return r?t?r[t]:r:null}var Oge=c5(Lge,"transition"),aS=c5(u5,"transform"),kge="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(ze.transform3dSupported?"will-change:transform;":"");function Nge(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function Bge(e,t,r){if(!be(r)||r==="inside")return"";var n=e.get("backgroundColor"),i=e.get("borderWidth");t=ss(t);var a=Nge(r),o=Math.max(Math.round(i)*1.5,6),s="",l=aS+":",u;Ve(["left","right"],a)>-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=o+i,h=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),d=Math.round(((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-f)/2)*100)/100;s+=";"+a+":-"+d+"px";var v=t+" solid "+i+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+v,"border-right:"+v,"background-color:"+n+";"];return'<div style="'+p.join("")+'"></div>'}function Fge(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,i="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,i+=ze.transformSupported?","+aS+n:",left"+n+",top"+n),Oge+":"+i}function uM(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!ze.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=ze.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+aS+":"+o+";":[["top",0],["left",0],[u5,o]]}function $ge(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont()),r&&t.push("line-height:"+Math.round(r*3/2)+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),O(["decoration","align"],function(l){var u=e.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function Hge(e,t,r){var n=[],i=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=$B(e,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),t&&i&&n.push(Fge(i,r)),a&&n.push("background-color:"+a),O(["width","color","radius"],function(d){var v="border-"+d,p=sB(v),m=e.get(p);m!=null&&n.push(v+":"+m+(d==="color"?"":"px"))}),n.push($ge(c)),f!=null&&n.push("padding:"+E0(f).join("px ")+"px"),n.join(";")+";"}function cM(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&hie(e,o,document.body,n,i)}else{e[0]=n,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var zge=function(){function e(t,r,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,ze.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var a=this._zr=r.getZr(),o=this._appendToBody=n&&n.appendToBody;cM(this._styleCoord,a,o,r.getWidth()/2,r.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=a.handler,c=a.painter.getViewportRoot();nn(c,l,!0),u.dispatch("mousemove",l)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){var r=this._container,n=Rge(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative");var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this.el.className=t.get("className")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=kge+Hge(t,!this._firstShow,this._longHide)+uM(a[0],a[1],!0)+("border-color:"+ss(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(be(a)&&n.get("trigger")==="item"&&!s5(n)&&(s=Bge(n,i,a)),be(t))o.innerHTML=t+s;else if(t){o.innerHTML="",de(t)||(t=[t]);for(var l=0;l<t.length;l++)ef(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(s&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=s,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,r){var n=this._styleCoord;if(cM(n,this._zr,this._appendToBody,t,r),n[0]!=null&&n[1]!=null){var i=this.el.style,a=uM(n[0],n[1]);O(a,function(o){i[o[0]]=o[1]})}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*this._zr.getHeight())},e.prototype.hide=function(){var t=this,r=this.el.style;r.visibility="hidden",r.opacity="0",ze.transform3dSupported&&(r.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(it(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();const Wge=zge;var Vge=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),hM(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var r=t.get("alwaysShowContent");r&&this._moveIfResized()},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,r,n,i,a){var o=this;we(t)&&Ye(""),this.el&&this._zr.remove(this.el);var s=n.getModel("textStyle");this.el=new Et({style:{rich:r.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:$B(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),O(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(u){o.el.style[u]=n.get(u)}),O(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(u){o.el.style[u]=s.get(u)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,r=this.el.getBoundingRect(),n=fM(t.style);return[r.width+n.left+n.right,r.height+n.top+n.bottom]},e.prototype.moveTo=function(t,r){var n=this.el;if(n){var i=this._styleCoord;hM(i,this._zr,t,r),t=i[0],r=i[1];var a=n.style,o=va(a.borderWidth||0),s=fM(a);n.x=t+o+s.left,n.y=r+o+s.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*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)&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(it(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function va(e){return Math.max(0,e)}function fM(e){var t=va(e.shadowBlur||0),r=va(e.shadowOffsetX||0),n=va(e.shadowOffsetY||0);return{left:va(t-r),right:va(t+r),top:va(t-n),bottom:va(t+n)}}function hM(e,t,r,n){e[0]=r,e[1]=n,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const Uge=Vge;var Gge=new bt({shape:{x:-1,y:-1,width:2,height:2}}),jge=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){if(!(ze.node||!n.getDom())){var i=r.getComponent("tooltip"),a=this._renderMode=Gae(i.get("renderMode"));this._tooltipContent=a==="richText"?new Uge(n):new Wge(n.getDom(),n,{appendToBody:i.get("appendToBody",!0)})}},t.prototype.render=function(r,n,i){if(!(ze.node||!i.getDom())){this.group.removeAll(),this._tooltipModel=r,this._ecModel=n,this._api=i,this._alwaysShowContent=r.get("alwaysShowContent");var a=this._tooltipContent;a.update(r),a.setEnterable(r.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&r.get("transitionDuration")?zB(this,"_updatePosition",50,"fixRate"):x_(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var r=this._tooltipModel,n=r.get("triggerOn");QF("itemTooltip",this._api,it(function(i,a,o){n!=="none"&&(n.indexOf(i)>=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api,a=r.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(r,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||ze.node||!i.getDom())){var o=dM(a,i);this._ticket="";var s=a.dataByCoordSys,l=Kge(a,n,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var c=Gge;c.x=a.x,c.y=a.y,c.update(),Xe(c).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:c},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var f=JF(a,n),h=f.point[0],d=f.point[1];h!=null&&d!=null&&this._tryShow({offsetX:h,offsetY:d,target:f.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(dM(a,i))},t.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(u){var c=u.getData(),f=Xu([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){this._lastDataByCoordSys=null;var s,l;lc(i,function(u){if(Xe(u).dataIndex!=null)return s=u,!0;if(Xe(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(r,s,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=it(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Xu([n.tooltipOption],a),l=this._renderMode,u=[],c=ls("section",{blocks:[],noHeader:!0}),f=[],h=new Dm;O(r,function(y){O(y.dataByAxis,function(x){var _=i.getComponent(x.axisDim+"Axis",x.axisIndex),b=x.value;if(!(!_||b==null)){var C=KF(b,_.axis,i,x.seriesDataIndices,x.valueLabelOpt),S=ls("section",{header:C,noHeader:!ai(C),sortBlocks:!0,blocks:[]});c.blocks.push(S),O(x.seriesDataIndices,function(w){var E=i.getSeriesByIndex(w.seriesIndex),T=w.dataIndexInside,A=E.getDataParams(T);if(!(A.dataIndex<0)){A.axisDim=x.axisDim,A.axisIndex=x.axisIndex,A.axisType=x.axisType,A.axisId=x.axisId,A.axisValue=zC(_.axis,{value:b}),A.axisValueLabel=C,A.marker=h.makeTooltipMarker("item",ss(A.color),l);var P=KE(E.formatTooltip(T,!0,null)),D=P.frag;if(D){var L=Xu([E],a).get("valueFormatter");S.blocks.push(L?ce({valueFormatter:L},D):D)}P.text&&f.push(P.text),u.push(A)}})}})}),c.blocks.reverse(),f.reverse();var d=n.position,v=s.get("order"),p=rP(c,h,l,v,i.get("useUTC"),s.get("textStyle"));p&&f.unshift(p);var m=l==="richText"?`
`:"<br/>",g=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,d,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",o[0],o[1],d,null,h)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=Xe(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,h=u.getData(f),d=this._renderMode,v=r.positionDefault,p=Xu([h.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),m=p.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(c,f),y=new Dm;g.marker=y.makeTooltipMarker("item",ss(g.color),d);var x=KE(u.formatTooltip(c,!1,f)),_=p.get("order"),b=p.get("valueFormatter"),C=x.frag,S=C?rP(b?ce({valueFormatter:b},C):C,y,d,_,a.get("useUTC"),p.get("textStyle")):x.text,w="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,S,g,w,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=Xe(n),o=a.tooltipConfig,s=o.option||{};if(be(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&u.push(c),u.push({formatter:s.content});var f=r.positionDefault,h=Xu(u,this._tooltipModel,f?{position:f}:null),d=h.get("content"),v=Math.random()+"",p=new Dm;this._showOrMove(h,function(){var m=Ne(h.get("formatterParams")||{});this._showTooltipContent(h,d,m,v,r.offsetX,r.offsetY,r.position,n,p)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,c){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var f=this._tooltipContent;f.setEnterable(r.get("enterable"));var h=r.get("formatter");l=l||r.get("position");var d=n,v=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),p=v.color;if(h)if(be(h)){var m=r.ecModel.get("useUTC"),g=de(i)?i[0]:i,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;d=h,y&&(d=C0(g.axisValue,d,m)),d=lB(d,i,!0)}else if(Ie(h)){var x=it(function(_,b){_===this._ticket&&(f.setContent(b,c,r,p,l),this._updatePosition(r,l,o,s,f,i,u))},this);this._ticket=a,d=h(i,a,x)}else d=h;f.setContent(d,c,r,p,l),f.show(r,p),this._updatePosition(r,l,o,s,f,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||de(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!de(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||r.get("position");var f=o.getSize(),h=r.get("align"),d=r.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),Ie(n)&&(n=n([i,a],s,o.el,v,{viewSize:[u,c],contentSize:f.slice()})),de(n))i=Pe(n[0],u),a=Pe(n[1],c);else if(we(n)){var p=n;p.width=f[0],p.height=f[1];var m=Ua(p,{width:u,height:c});i=m.x,a=m.y,h=null,d=null}else if(be(n)&&l){var g=Xge(n,v,f,r.get("borderWidth"));i=g[0],a=g[1]}else{var g=qge(i,a,o,u,c,h?null:20,d?null:20);i=g[0],a=g[1]}if(h&&(i-=vM(h)?f[0]/2:h==="right"?f[0]:0),d&&(a-=vM(d)?f[1]/2:d==="bottom"?f[1]:0),s5(r)){var g=Yge(i,a,o,u,c);i=g[0],a=g[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&O(i,function(s,l){var u=s.dataByAxis||[],c=r[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&O(u,function(h,d){var v=f[d]||{},p=h.seriesDataIndices||[],m=v.seriesDataIndices||[];o=o&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&p.length===m.length,o&&O(p,function(g,y){var x=m[y];o=o&&g.seriesIndex===x.seriesIndex&&g.dataIndex===x.dataIndex}),a&&O(h.seriesDataIndices,function(g){var y=g.seriesIndex,x=n[y],_=a[y];x&&_&&_.data!==x.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){ze.node||!n.getDom()||(x_(this,"_updatePosition"),this._tooltipContent.dispose(),z_("itemTooltip",n))},t.type="tooltip",t}(Kr);function Xu(e,t,r){var n=t.ecModel,i;r?(i=new jt(r,n,n),i=new jt(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof jt&&(o=o.get("tooltip",!0)),be(o)&&(o={formatter:o}),o&&(i=new jt(o,i,n)))}return i}function dM(e,t){return e.dispatchAction||it(t.dispatchAction,t)}function qge(e,t,r,n,i,a,o){var s=r.getSize(),l=s[0],u=s[1];return a!=null&&(e+l+a+2>n?e-=l+a:e+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[e,t]}function Yge(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Xge(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+o;break;case"left":s=t.x-i-o,l=t.y+c/2-a/2;break;case"right":s=t.x+u+o,l=t.y+c/2-a/2}return[s,l]}function vM(e){return e==="center"||e==="middle"}function Kge(e,t,r){var n=rC(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=$f(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=r.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var c=Xe(u).tooltipConfig;if(c&&c.name===e.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}const Zge=jge;function Qge(e){Bn(e5),e.registerComponentModel(Dge),e.registerComponentView(Zge),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},mr),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},mr)}var Jge=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}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}(lt),eme=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){if(this.group.removeAll(),!!r.get("show")){var a=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),l=r.get("textAlign"),u=Ue(r.get("textBaseline"),r.get("textVerticalAlign")),c=new Et({style:dn(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),h=r.get("subtext"),d=new Et({style:dn(s,{text:h,fill:s.getTextColor(),y:f.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=r.get("link"),p=r.get("sublink"),m=r.get("triggerEvent",!0);c.silent=!v&&!m,d.silent=!p&&!m,v&&c.on("click",function(){LE(v,"_"+r.get("target"))}),p&&d.on("click",function(){LE(p,"_"+r.get("subtarget"))}),Xe(c).eventData=Xe(d).eventData=m?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(c),h&&a.add(d);var g=a.getBoundingRect(),y=r.getBoxLayoutParams();y.width=g.width,y.height=g.height;var x=Ua(y,{width:i.getWidth(),height:i.getHeight()},r.get("padding"));l||(l=r.get("left")||r.get("right"),l==="middle"&&(l="center"),l==="right"?x.x+=x.width:l==="center"&&(x.x+=x.width/2)),u||(u=r.get("top")||r.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?x.y+=x.height:u==="middle"&&(x.y+=x.height/2),u=u||"top"),a.x=x.x,a.y=x.y,a.markRedraw();var _={align:l,verticalAlign:u};c.setStyle(_),d.setStyle(_),g=a.getBoundingRect();var b=x.margin,C=r.getItemStyle(["color","opacity"]);C.fill=r.get("backgroundColor");var S=new bt({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:r.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});a.add(S)}},t.type="title",t}(Kr);function tme(e){e.registerComponentModel(Jge),e.registerComponentView(eme)}var rme=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"])}},nme=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},t.prototype._updateSelector=function(r){var n=r.selector,i=this.ecModel;n===!0&&(n=r.selector=["all","inverse"]),de(n)&&O(n,function(a,o){be(a)&&(a={type:a}),n[o]=Fe(a,rme(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i<r.length;i++){var a=r[i].get("name");if(this.isSelected(a)){this.select(a),n=!0;break}}!n&&this.select(r[0].get("name"))}},t.prototype._updateData=function(r){var n=[],i=[];r.eachRawSeries(function(l){var u=l.name;i.push(u);var c;if(l.legendVisualProvider){var f=l.legendVisualProvider,h=f.getAllNames();r.isSeriesFiltered(l)||(i=i.concat(h)),h.length?n=n.concat(h):c=!0}else c=!0;c&&tC(l)&&n.push(l.name)}),this._availableNames=i;var a=this.get("data")||n,o=Re(),s=ve(a,function(l){return(be(l)||tt(l))&&(l={name:l}),o.get(l.name)?null:(o.set(l.name,!0),new jt(l,this,this.ecModel))},this);this._data=Dt(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(r){var n=this.option.selected,i=this.get("selectedMode");if(i==="single"){var a=this._data;O(a,function(o){n[o.get("name")]=!1})}n[r]=!0},t.prototype.unSelect=function(r){this.get("selectedMode")!=="single"&&(this.option.selected[r]=!1)},t.prototype.toggleSelected=function(r){var n=this.option.selected;n.hasOwnProperty(r)||(n[r]=!0),this[n[r]?"unSelect":"select"](r)},t.prototype.allSelect=function(){var r=this._data,n=this.option.selected;O(r,function(i){n[i.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var r=this._data,n=this.option.selected;O(r,function(i){var a=i.get("name",!0);n.hasOwnProperty(a)||(n[a]=!0),n[a]=!n[a]})},t.prototype.isSelected=function(r){var n=this.option.selected;return!(n.hasOwnProperty(r)&&!n[r])&&Ve(this._availableNames,r)>=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}(lt);const G_=nme;var Xs=et,j_=O,nd=pt,ime=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new nd),this.group.add(this._selectorGroup=new nd),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var l=r.get("selector",!0),u=r.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,l,s,u);var c=r.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},h=r.get("padding"),d=Ua(c,f,h),v=this.layoutInner(r,o,d,a,l,u),p=Ua(De({width:v.width,height:v.height},c),f,h);this.group.x=p.x-v.x,this.group.y=p.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=n5(v,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this.getContentGroup(),c=Re(),f=n.get("selectedMode"),h=[];i.eachRawSeries(function(d){!d.get("legendHoverLink")&&h.push(d.id)}),j_(n.getData(),function(d,v){var p=d.get("name");if(!this.newlineDisabled&&(p===""||p===`
`)){var m=new nd;m.newline=!0,u.add(m);return}var g=i.getSeriesByName(p)[0];if(!c.get(p))if(g){var y=g.getData(),x=y.getVisual("legendLineStyle")||{},_=y.getVisual("legendIcon"),b=y.getVisual("style"),C=this._createItem(g,p,v,d,n,r,x,b,_,f,a);C.on("click",Xs(pM,p,null,a,h)).on("mouseover",Xs(q_,g.name,null,a,h)).on("mouseout",Xs(Y_,g.name,null,a,h)),c.set(p,!0)}else i.eachRawSeries(function(S){if(!c.get(p)&&S.legendVisualProvider){var w=S.legendVisualProvider;if(!w.containName(p))return;var E=w.indexOfName(p),T=w.getItemVisual(E,"style"),A=w.getItemVisual(E,"legendIcon"),P=$i(T.fill);P&&P[3]===0&&(P[3]=.2,T=ce(ce({},T),{fill:l0(P,"rgba")}));var D=this._createItem(S,p,v,d,n,r,{},T,A,f,a);D.on("click",Xs(pM,null,p,a,h)).on("mouseover",Xs(q_,null,p,a,h)).on("mouseout",Xs(Y_,null,p,a,h)),c.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();j_(r,function(u){var c=u.type,f=new Et({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var h=n.getModel("selectorLabel"),d=n.getModel(["emphasis","selectorLabel"]);Ts(f,{normal:h,emphasis:d},{defaultText:u.title}),a_(f)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,c,f,h){var d=r.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),m=o.isSelected(n),g=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),x=a.get("icon");c=x||c||"roundRect";var _=ame(c,a,l,u,d,m,h),b=new nd,C=a.getModel("textStyle");if(Ie(r.getLegendIcon)&&(!x||x==="inherit"))b.add(r.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:g,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:y}));else{var S=x==="inherit"&&r.getData().getVisual("symbol")?g==="inherit"?r.getData().getVisual("symbolRotate"):g:0;b.add(ome({itemWidth:v,itemHeight:p,icon:c,iconRotate:S,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:y}))}var w=s==="left"?v+5:-5,E=s,T=o.get("formatter"),A=n;be(T)&&T?A=T.replace("{name}",n??""):Ie(T)&&(A=T(n));var P=a.get("inactiveColor");b.add(new Et({style:dn(C,{text:A,x:w,y:p/2,fill:m?C.getTextColor():P,align:E,verticalAlign:"middle"})}));var D=new bt({shape:b.getBoundingRect(),invisible:!0}),L=a.getModel("tooltip");return L.get("show")&&y0({el:D,componentModel:o,itemName:n,itemTooltipOption:L.option}),b.add(D),b.eachChild(function(N){N.silent=!0}),D.silent=!f,this.getContentGroup().add(b),a_(b),b.__legendDataIndex=i,b},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Tl(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Tl("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),d=[-h.x,-h.y],v=r.get("selectorButtonGap",!0),p=r.getOrient().index,m=p===0?"width":"height",g=p===0?"height":"width",y=p===0?"y":"x";s==="end"?d[p]+=c[m]+v:f[p]+=h[m]+v,d[1-p]+=c[g]/2-h[g]/2,u.x=d[0],u.y=d[1],l.x=f[0],l.y=f[1];var x={x:0,y:0};return x[m]=c[m]+v+h[m],x[g]=Math.max(c[g],h[g]),x[y]=Math.min(0,h[y]+d[1-p]),x}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Kr);function ame(e,t,r,n,i,a,o){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),j_(m,function(y,x){m[x]==="inherit"&&(m[x]=g[x])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?n.decal:w_(f,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:r).opacity),s(u,n);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),d.stroke==="auto"&&(d.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}function ome(e){var t=e.icon||"roundRect",r=Nn(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function pM(e,t,r,n){Y_(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),q_(e,t,r,n)}function f5(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;n<i&&!(r=t[n].states.emphasis);)n++;return r&&r.hoverLayer}function q_(e,t,r,n){f5(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function Y_(e,t,r,n){f5(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}const h5=ime;function sme(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(r){for(var n=0;n<t.length;n++)if(!t[n].isSelected(r.name))return!1;return!0})}function Ku(e,t,r){var n={},i=e==="toggleSelected",a;return r.eachComponent("legend",function(o){i&&a!=null?o[a?"select":"unSelect"](t.name):e==="allSelect"||e==="inverseSelect"?o[e]():(o[e](t.name),a=o.isSelected(t.name));var s=o.getData();O(s,function(l){var u=l.get("name");if(!(u===`
`||u==="")){var c=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&c:n[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function lme(e){e.registerAction("legendToggleSelect","legendselectchanged",et(Ku,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",et(Ku,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",et(Ku,"inverseSelect")),e.registerAction("legendSelect","legendselected",et(Ku,"select")),e.registerAction("legendUnSelect","legendunselected",et(Ku,"unSelect"))}function d5(e){e.registerComponentModel(G_),e.registerComponentView(h5),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,sme),e.registerSubTypeDefaulter("legend",function(){return"plain"}),lme(e)}var ume=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=P0(r);e.prototype.init.call(this,r,n,i),gM(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),gM(this,this.option,r)},t.type="legend.scroll",t.defaultOption=pC(G_.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}(G_);function gM(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Yl(t,r,{type:"box",ignoreSize:!!i})}const cme=ume;var mM=pt,oy=["width","height"],sy=["x","y"],fme=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new mM),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new mM)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,l);var c=this._controllerGroup,f=n.get("pageIconSize",!0),h=de(f)?f:[f,f];v("pagePrev",0);var d=n.getModel("pageTextStyle");c.add(new Et({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,m){var g=p+"DataIndex",y=m0(n.get("pageIcons",!0)[n.getOrient().name][m],{onclick:it(u._pageGo,u,g,n,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});y.name=p,c.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,c=oy[u],f=sy[u],h=oy[1-u],d=sy[1-u];o&&Tl("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),p=l.getBoundingRect(),m=[-p.x,-p.y],g=Ne(i);o&&(g[c]=i[c]-p[c]-v);var y=this._layoutContentAndController(r,a,g,u,c,h,d,f);if(o){if(s==="end")m[u]+=y[c]+v;else{var x=p[c]+v;m[u]-=x,y[f]-=x}y[c]+=p[c]+v,m[1-u]+=y[d]+y[h]/2-p[h]/2,y[h]=Math.max(y[h],p[h]),y[d]=Math.min(y[d],p[d]+m[1-u]),l.x=m[0],l.y=m[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,h=this._controllerGroup;Tl(r.get("orient"),c,r.get("itemGap"),a?i.width:null,a?null:i.height),Tl("horizontal",h,r.get("pageButtonItemGap",!0));var d=c.getBoundingRect(),v=h.getBoundingRect(),p=this._showController=d[o]>i[o],m=[-d.x,-d.y];n||(m[a]=c[u]);var g=[0,0],y=[-v.x,-v.y],x=Ue(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(p){var _=r.get("pageButtonPosition",!0);_==="end"?y[a]+=i[o]-v[o]:g[a]+=v[o]+x}y[1-a]+=d[s]/2-v[s]/2,c.setPosition(m),f.setPosition(g),h.setPosition(y);var b={x:0,y:0};if(b[o]=p?i[o]:d[o],b[s]=Math.max(d[s],v[s]),b[l]=Math.min(0,v[l]+y[1-a]),f.__rectSize=i[o],p){var C={x:0,y:0};C[o]=Math.max(i[o]-v[o]-x,0),C[s]=b[s],f.setClipPath(new bt({shape:C})),f.__rectSize=C[o]}else h.eachChild(function(w){w.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(r);return S.pageIndex!=null&&Ct(c,{x:S.contentPosition[0],y:S.contentPosition[1]},p?r:null),this._updatePageInfoView(r,S),b},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;O(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",h=n[f]!=null,d=i.childOfName(c);d&&(d.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),d.cursor=h?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",be(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=oy[o],l=sy[o],u=this._findTargetItemIndex(n),c=i.children(),f=c[u],h=c.length,d=h?1:0,v={contentPosition:[i.x,i.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var p=_(f);v.contentPosition[o]=-p.s;for(var m=u+1,g=p,y=p,x=null;m<=h;++m)x=_(c[m]),(!x&&y.e>g.s+a||x&&!b(x,g.s))&&(y.i>g.i?g=y:g=x,g&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=g.i),++v.pageCount)),y=x;for(var m=u-1,g=p,y=p,x=null;m>=-1;--m)x=_(c[m]),(!x||!b(y,x.s))&&g.i<y.i&&(y=g,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=g.i),++v.pageCount,++v.pageIndex),g=x;return v;function _(C){if(C){var S=C.getBoundingRect(),w=S[l]+C[l];return{s:w,e:w+S[s],i:C.__legendDataIndex}}}function b(C,S){return C.e>=S&&C.s<=S+a}},t.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===r&&(n=s)}),n??a},t.type="legend.scroll",t}(h5);const hme=fme;function dme(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function vme(e){Bn(d5),e.registerComponentModel(cme),e.registerComponentView(hme),dme(e)}function pme(e){Bn(d5),Bn(vme)}var yM={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},gme=function(){function e(t){var r=this._condVal=be(t)?new RegExp(t):Kne(t)?t:null;if(r==null){var n="";Ye(n)}}return e.prototype.evaluate=function(t){var r=typeof t;return be(r)?this._condVal.test(t):tt(r)?this._condVal.test(t+""):!1},e}(),mme=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),yme=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(!t[r].evaluate())return!1;return!0},e}(),xme=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(t[r].evaluate())return!0;return!1},e}(),_me=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),bme=function(){function e(){}return e.prototype.evaluate=function(){for(var t=!!this.valueParser,r=this.getValue,n=r(this.valueGetterParam),i=t?this.valueParser(n):null,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(t?i:n))return!1;return!0},e}();function oS(e,t){if(e===!0||e===!1){var r=new mme;return r.value=e,r}var n="";return v5(e)||Ye(n),e.and?xM("and",e,t):e.or?xM("or",e,t):e.not?Cme(e,t):Sme(e,t)}function xM(e,t,r){var n=t[e],i="";de(n)||Ye(i),n.length||Ye(i);var a=e==="and"?new yme:new xme;return a.children=ve(n,function(o){return oS(o,r)}),a.children.length||Ye(i),a}function Cme(e,t){var r=e.not,n="";v5(r)||Ye(n);var i=new _me;return i.child=oS(r,t),i.child||Ye(n),i}function Sme(e,t){for(var r="",n=t.prepareGetValue(e),i=[],a=xt(e),o=e.parser,s=o?AB(o):null,l=0;l<a.length;l++){var u=a[l];if(!(u==="parser"||t.valueGetterAttrMap.get(u))){var c=Vi(yM,u)?yM[u]:u,f=e[u],h=s?s(f):f,d=xue(c,h)||c==="reg"&&new gme(h);d||Ye(r),i.push(d)}}i.length||Ye(r);var v=new bme;return v.valueGetterParam=n,v.valueParser=s,v.getValue=t.getValue,v.subCondList=i,v}function v5(e){return we(e)&&!yr(e)}var wme=function(){function e(t,r){this._cond=oS(t,r)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function Tme(e,t){return new wme(e,t)}var Ame={type:"echarts:filter",transform:function(e){for(var t=e.upstream,r,n=Tme(e.config,{valueGetterAttrMap:Re({dimension:!0}),prepareGetValue:function(s){var l="",u=s.dimension;Vi(s,"dimension")||Ye(l);var c=t.getDimensionInfo(u);return c||Ye(l),{dimIdx:c.index}},getValue:function(s){return t.retrieveValueFromItem(r,s.dimIdx)}}),i=[],a=0,o=t.count();a<o;a++)r=t.getRawDataItem(a),n.evaluate()&&i.push(r);return{data:i}}},Eme={type:"echarts:sort",transform:function(e){var t=e.upstream,r=e.config,n="",i=Rt(r);i.length||Ye(n);var a=[];O(i,function(c){var f=c.dimension,h=c.order,d=c.parser,v=c.incomparable;if(f==null&&Ye(n),h!=="asc"&&h!=="desc"&&Ye(n),v&&v!=="min"&&v!=="max"){var p="";Ye(p)}if(h!=="asc"&&h!=="desc"){var m="";Ye(m)}var g=t.getDimensionInfo(f);g||Ye(n);var y=d?AB(d):null;d&&!y&&Ye(n),a.push({dimIdx:g.index,parser:y,comparator:new PB(h,v)})});var o=t.sourceFormat;o!==xr&&o!==_n&&Ye(n);for(var s=[],l=0,u=t.count();l<u;l++)s.push(t.getRawDataItem(l));return s.sort(function(c,f){for(var h=0;h<a.length;h++){var d=a[h],v=t.retrieveValueFromItem(c,d.dimIdx),p=t.retrieveValueFromItem(f,d.dimIdx);d.parser&&(v=d.parser(v),p=d.parser(p));var m=d.comparator.evaluate(v,p);if(m!==0)return m}return 0}),{data:s}}};function Pme(e){e.registerTransform(Ame),e.registerTransform(Eme)}var Ime=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.prototype.init=function(r,n,i){e.prototype.init.call(this,r,n,i),this._sourceManager=new LB(this),eP(this)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),eP(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:ui},t}(lt),Mme=function(e){se(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.type="dataset",t}(Kr);function Dme(e){e.registerComponentModel(Ime),e.registerComponentView(Mme)}var Xn=Gi.CMD;function cl(e,t){return Math.abs(e-t)<1e-5}function X_(e){var t=e.data,r=e.len(),n=[],i,a=0,o=0,s=0,l=0;function u(D,L){i&&i.length>2&&n.push(i),i=[D,L]}function c(D,L,N,B){cl(D,N)&&cl(L,B)||i.push(D,L,N,B,N,B)}function f(D,L,N,B,G,$){var Y=Math.abs(L-D),J=Math.tan(Y/4)*4/3,H=L<D?-1:1,W=Math.cos(D),X=Math.sin(D),q=Math.cos(L),U=Math.sin(L),Q=W*G+N,re=X*$+B,ee=q*G+N,me=U*$+B,xe=G*J*H,oe=$*J*H;i.push(Q-xe*X,re+oe*W,ee+xe*U,me-oe*q,ee,me)}for(var h,d,v,p,m=0;m<r;){var g=t[m++],y=m===1;switch(y&&(a=t[m],o=t[m+1],s=a,l=o,(g===Xn.L||g===Xn.C||g===Xn.Q)&&(i=[s,l])),g){case Xn.M:a=s=t[m++],o=l=t[m++],u(s,l);break;case Xn.L:h=t[m++],d=t[m++],c(a,o,h,d),a=h,o=d;break;case Xn.C:i.push(t[m++],t[m++],t[m++],t[m++],a=t[m++],o=t[m++]);break;case Xn.Q:h=t[m++],d=t[m++],v=t[m++],p=t[m++],i.push(a+2/3*(h-a),o+2/3*(d-o),v+2/3*(h-v),p+2/3*(d-p),v,p),a=v,o=p;break;case Xn.A:var x=t[m++],_=t[m++],b=t[m++],C=t[m++],S=t[m++],w=t[m++]+S;m+=1;var E=!t[m++];h=Math.cos(S)*b+x,d=Math.sin(S)*C+_,y?(s=h,l=d,u(s,l)):c(a,o,h,d),a=Math.cos(w)*b+x,o=Math.sin(w)*C+_;for(var T=(E?-1:1)*Math.PI/2,A=S;E?A>w:A<w;A+=T){var P=E?Math.max(A+T,w):Math.min(A+T,w);f(A,P,x,_,b,C)}break;case Xn.R:s=a=t[m++],l=o=t[m++],h=s+t[m++],d=l+t[m++],u(h,l),c(h,l,h,d),c(h,d,s,d),c(s,d,s,l),c(s,l,h,l);break;case Xn.Z:i&&c(a,o,s,l),a=s,o=l;break}}return i&&i.length>2&&n.push(i),n}function K_(e,t,r,n,i,a,o,s,l,u){if(cl(e,r)&&cl(t,n)&&cl(i,o)&&cl(a,s)){l.push(o,s);return}var c=2/u,f=c*c,h=o-e,d=s-t,v=Math.sqrt(h*h+d*d);h/=v,d/=v;var p=r-e,m=n-t,g=i-o,y=a-s,x=p*p+m*m,_=g*g+y*y;if(x<f&&_<f){l.push(o,s);return}var b=h*p+d*m,C=-h*g-d*y,S=x-b*b,w=_-C*C;if(S<f&&b>=0&&w<f&&C>=0){l.push(o,s);return}var E=[],T=[];Ha(e,r,i,o,.5,E),Ha(t,n,a,s,.5,T),K_(E[0],T[0],E[1],T[1],E[2],T[2],E[3],T[3],l,u),K_(E[4],T[4],E[5],T[5],E[6],T[6],E[7],T[7],l,u)}function Lme(e,t){var r=X_(e),n=[];t=t||1;for(var i=0;i<r.length;i++){var a=r[i],o=[],s=a[0],l=a[1];o.push(s,l);for(var u=2;u<a.length;){var c=a[u++],f=a[u++],h=a[u++],d=a[u++],v=a[u++],p=a[u++];K_(s,l,c,f,h,d,v,p,o,t),s=v,l=p}n.push(o)}return n}function p5(e,t,r){var n=e[t],i=e[1-t],a=Math.abs(n/i),o=Math.ceil(Math.sqrt(a*r)),s=Math.floor(r/o);s===0&&(s=1,o=r);for(var l=[],u=0;u<o;u++)l.push(s);var c=o*s,f=r-c;if(f>0)for(var u=0;u<f;u++)l[u%o]+=1;return l}function _M(e,t,r){for(var n=e.r0,i=e.r,a=e.startAngle,o=e.endAngle,s=Math.abs(o-a),l=s*i,u=i-n,c=l>Math.abs(u),f=p5([l,u],c?0:1,t),h=(c?s:u)/f.length,d=0;d<f.length;d++)for(var v=(c?u:s)/f[d],p=0;p<f[d];p++){var m={};c?(m.startAngle=a+h*d,m.endAngle=a+h*(d+1),m.r0=n+v*p,m.r=n+v*(p+1)):(m.startAngle=a+v*p,m.endAngle=a+v*(p+1),m.r0=n+h*d,m.r=n+h*(d+1)),m.clockwise=e.clockwise,m.cx=e.cx,m.cy=e.cy,r.push(m)}}function Rme(e,t,r){for(var n=e.width,i=e.height,a=n>i,o=p5([n,i],a?0:1,t),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",f=e[s]/o.length,h=0;h<o.length;h++)for(var d=e[l]/o[h],v=0;v<o[h];v++){var p={};p[u]=h*f,p[c]=v*d,p[s]=f,p[l]=d,p.x+=e.x,p.y+=e.y,r.push(p)}}function bM(e,t,r,n){return e*n-r*t}function Ome(e,t,r,n,i,a,o,s){var l=r-e,u=n-t,c=o-i,f=s-a,h=bM(c,f,l,u);if(Math.abs(h)<1e-6)return null;var d=e-i,v=t-a,p=bM(d,v,c,f)/h;return p<0||p>1?null:new Ee(p*l+e,p*u+t)}function kme(e,t,r){var n=new Ee;Ee.sub(n,r,t),n.normalize();var i=new Ee;Ee.sub(i,e,t);var a=i.dot(n);return a}function Ks(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function Nme(e,t,r){for(var n=e.length,i=[],a=0;a<n;a++){var o=e[a],s=e[(a+1)%n],l=Ome(o[0],o[1],s[0],s[1],t.x,t.y,r.x,r.y);l&&i.push({projPt:kme(l,t,r),pt:l,idx:a})}if(i.length<2)return[{points:e},{points:e}];i.sort(function(m,g){return m.projPt-g.projPt});var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var f=u;u=c,c=f}for(var h=[u.pt.x,u.pt.y],d=[c.pt.x,c.pt.y],v=[h],p=[d],a=u.idx+1;a<=c.idx;a++)Ks(v,e[a].slice());Ks(v,d),Ks(v,h);for(var a=c.idx+1;a<=u.idx+n;a++)Ks(p,e[a%n].slice());return Ks(p,h),Ks(p,d),[{points:v},{points:p}]}function CM(e){var t=e.points,r=[],n=[];Q4(t,r,n);var i=new Ge(r[0],r[1],n[0]-r[0],n[1]-r[1]),a=i.width,o=i.height,s=i.x,l=i.y,u=new Ee,c=new Ee;return a>o?(u.x=c.x=s+a/2,u.y=l,c.y=l+o):(u.y=c.y=l+o/2,u.x=s,c.x=s+a),Nme(t,u,c)}function lp(e,t,r,n){if(r===1)n.push(t);else{var i=Math.floor(r/2),a=e(t);lp(e,a[0],i,n),lp(e,a[1],r-i,n)}return n}function Bme(e,t){for(var r=[],n=0;n<t;n++)r.push(lC(e));return r}function Fme(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function $me(e){for(var t=[],r=0;r<e.length;)t.push([e[r++],e[r++]]);return t}function Hme(e,t){var r=[],n=e.shape,i;switch(e.type){case"rect":Rme(n,t,r),i=bt;break;case"sector":_M(n,t,r),i=On;break;case"circle":_M({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,r),i=On;break;default:var a=e.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=ve(Lme(e.getUpdatedPathProxy(),o),function(g){return $me(g)}),l=s.length;if(l===0)lp(CM,{points:s[0]},t,r);else if(l===t)for(var u=0;u<l;u++)r.push({points:s[u]});else{var c=0,f=ve(s,function(g){var y=[],x=[];Q4(g,y,x);var _=(x[1]-y[1])*(x[0]-y[0]);return c+=_,{poly:g,area:_}});f.sort(function(g,y){return y.area-g.area});for(var h=t,u=0;u<l;u++){var d=f[u];if(h<=0)break;var v=u===l-1?h:Math.ceil(d.area/c*t);v<0||(lp(CM,{points:d.poly},v,r),h-=v)}}i=gu;break}if(!i)return Bme(e,t);for(var p=[],u=0;u<r.length;u++){var m=new i;m.setShape(r[u]),Fme(e,m),p.push(m)}return p}function zme(e,t){var r=e.length,n=t.length;if(r===n)return[e,t];for(var i=[],a=[],o=r<n?e:t,s=Math.min(r,n),l=Math.abs(n-r)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,f=[o[0],o[1]],h=l,d=2;d<s;){var v=o[d-2],p=o[d-1],m=o[d++],g=o[d++],y=o[d++],x=o[d++],_=o[d++],b=o[d++];if(h<=0){f.push(m,g,y,x,_,b);continue}for(var C=Math.min(h,c-1)+1,S=1;S<=C;S++){var w=S/C;Ha(v,m,y,_,w,i),Ha(p,g,x,b,w,a),v=i[3],p=a[3],f.push(i[1],a[1],i[2],a[2],v,p),m=i[5],g=a[5],y=i[6],x=a[6]}h-=C-1}return o===e?[f,t]:[e,f]}function SM(e,t){for(var r=e.length,n=e[r-2],i=e[r-1],a=[],o=0;o<t.length;)a[o++]=n,a[o++]=i;return a}function Wme(e,t){for(var r,n,i,a=[],o=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,f=void 0;l?u?(r=zme(l,u),c=r[0],f=r[1],n=c,i=f):(f=SM(i||l,l),c=l):(c=SM(n||u,u),f=u),a.push(c),o.push(f)}return[a,o]}function wM(e){for(var t=0,r=0,n=0,i=e.length,a=0,o=i-2;a<i;o=a,a+=2){var s=e[o],l=e[o+1],u=e[a],c=e[a+1],f=s*c-u*l;t+=f,r+=(s+u)*f,n+=(l+c)*f}return t===0?[e[0]||0,e[1]||0]:[r/t/3,n/t/3,t]}function Vme(e,t,r,n){for(var i=(e.length-2)/6,a=1/0,o=0,s=e.length,l=s-2,u=0;u<i;u++){for(var c=u*6,f=0,h=0;h<s;h+=2){var d=h===0?c:(c+h-2)%l+2,v=e[d]-r[0],p=e[d+1]-r[1],m=t[h]-n[0],g=t[h+1]-n[1],y=m-v,x=g-p;f+=y*y+x*x}f<a&&(a=f,o=u)}return o}function Ume(e){for(var t=[],r=e.length,n=0;n<r;n+=2)t[n]=e[r-n-2],t[n+1]=e[r-n-1];return t}function Gme(e,t,r,n){for(var i=[],a,o=0;o<e.length;o++){var s=e[o],l=t[o],u=wM(s),c=wM(l);a==null&&(a=u[2]<0!=c[2]<0);var f=[],h=[],d=0,v=1/0,p=[],m=s.length;a&&(s=Ume(s));for(var g=Vme(s,l,u,c)*6,y=m-2,x=0;x<y;x+=2){var _=(g+x)%y+2;f[x+2]=s[_]-u[0],f[x+3]=s[_+1]-u[1]}if(f[0]=s[g]-u[0],f[1]=s[g+1]-u[1],r>0)for(var b=n/r,C=-n/2;C<=n/2;C+=b){for(var S=Math.sin(C),w=Math.cos(C),E=0,x=0;x<s.length;x+=2){var T=f[x],A=f[x+1],P=l[x]-c[0],D=l[x+1]-c[1],L=P*w-D*S,N=P*S+D*w;p[x]=L,p[x+1]=N;var B=L-T,G=N-A;E+=B*B+G*G}if(E<v){v=E,d=C;for(var $=0;$<p.length;$++)h[$]=p[$]}}else for(var Y=0;Y<m;Y+=2)h[Y]=l[Y]-c[0],h[Y+1]=l[Y+1]-c[1];i.push({from:f,to:h,fromCp:u,toCp:c,rotation:-d})}return i}function up(e){return e.__isCombineMorphing}var g5="__mOriginal_";function cp(e,t,r){var n=g5+t,i=e[n]||e[t];e[n]||(e[n]=e[t]);var a=r.replace,o=r.after,s=r.before;e[t]=function(){var l=arguments,u;return s&&s.apply(this,l),a?u=a.apply(this,l):u=i.apply(this,l),o&&o.apply(this,l),u}}function Fc(e,t){var r=g5+t;e[r]&&(e[t]=e[r],e[r]=null)}function TM(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;){var a=n[i],o=n[i+1];n[i++]=t[0]*a+t[2]*o+t[4],n[i++]=t[1]*a+t[3]*o+t[5]}}function m5(e,t){var r=e.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),i=Wme(X_(r),X_(n)),a=i[0],o=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&TM(a,s),l&&TM(o,l),cp(t,"updateTransform",{replace:u}),t.transform=null;var c=Gme(a,o,10,Math.PI),f=[];cp(t,"buildPath",{replace:function(h){for(var d=t.__morphT,v=1-d,p=[],m=0;m<c.length;m++){var g=c[m],y=g.from,x=g.to,_=g.rotation*d,b=g.fromCp,C=g.toCp,S=Math.sin(_),w=Math.cos(_);dd(p,b,C,d);for(var E=0;E<y.length;E+=2){var T=y[E],A=y[E+1],P=x[E],D=x[E+1],L=T*v+P*d,N=A*v+D*d;f[E]=L*w-N*S+p[0],f[E+1]=L*S+N*w+p[1]}var B=f[0],G=f[1];h.moveTo(B,G);for(var E=2;E<y.length;){var P=f[E++],D=f[E++],$=f[E++],Y=f[E++],J=f[E++],H=f[E++];B===P&&G===D&&$===J&&Y===H?h.lineTo(J,H):h.bezierCurveTo(P,D,$,Y,J,H),B=J,G=H}}}})}function sS(e,t,r){if(!e||!t)return t;var n=r.done,i=r.during;m5(e,t),t.__morphT=0;function a(){Fc(t,"buildPath"),Fc(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},De({during:function(o){t.dirtyShape(),i&&i(o)},done:function(){a(),n&&n()}},r)),t}function jme(e,t,r,n,i,a){var o=16;e=i===r?0:Math.round(32767*(e-r)/(i-r)),t=a===n?0:Math.round(32767*(t-n)/(a-n));for(var s=0,l,u=(1<<o)/2;u>0;u/=2){var c=0,f=0;(e&u)>0&&(c=1),(t&u)>0&&(f=1),s+=u*u*(3*c^f),f===0&&(c===1&&(e=u-1-e,t=u-1-t),l=e,e=t,t=l)}return s}function fp(e){var t=1/0,r=1/0,n=-1/0,i=-1/0,a=ve(e,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),c=l.x+l.width/2+(u?u[4]:0),f=l.y+l.height/2+(u?u[5]:0);return t=Math.min(c,t),r=Math.min(f,r),n=Math.max(c,n),i=Math.max(f,i),[c,f]}),o=ve(a,function(s,l){return{cp:s,z:jme(s[0],s[1],t,r,n,i),path:e[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function y5(e){return Hme(e.path,e.count)}function Z_(){return{fromIndividuals:[],toIndividuals:[],count:0}}function qme(e,t,r){var n=[];function i(b){for(var C=0;C<b.length;C++){var S=b[C];up(S)?i(S.childrenRef()):S instanceof We&&n.push(S)}}i(e);var a=n.length;if(!a)return Z_();var o=r.dividePath||y5,s=o({path:t,count:a});if(s.length!==a)return console.error("Invalid morphing: unmatched splitted path"),Z_();n=fp(n),s=fp(s);for(var l=r.done,u=r.during,c=r.individualDelay,f=new Bf,h=0;h<a;h++){var d=n[h],v=s[h];v.parent=t,v.copyTransform(f),c||m5(d,v)}t.__isCombineMorphing=!0,t.childrenRef=function(){return s};function p(b){for(var C=0;C<s.length;C++)s[C].addSelfToZr(b)}cp(t,"addSelfToZr",{after:function(b){p(b)}}),cp(t,"removeSelfFromZr",{after:function(b){for(var C=0;C<s.length;C++)s[C].removeSelfFromZr(b)}});function m(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,Fc(t,"addSelfToZr"),Fc(t,"removeSelfFromZr")}var g=s.length;if(c)for(var y=g,x=function(){y--,y===0&&(m(),l&&l())},h=0;h<g;h++){var _=c?De({delay:(r.delay||0)+c(h,g,n[h],s[h]),done:x},r):r;sS(n[h],s[h],_)}else t.__morphT=0,t.animateTo({__morphT:1},De({during:function(b){for(var C=0;C<g;C++){var S=s[C];S.__morphT=t.__morphT,S.dirtyShape()}u&&u(b)},done:function(){m();for(var b=0;b<e.length;b++)Fc(e[b],"updateTransform");l&&l()}},r));return t.__zr&&p(t.__zr),{fromIndividuals:n,toIndividuals:s,count:g}}function Yme(e,t,r){var n=t.length,i=[],a=r.dividePath||y5;function o(d){for(var v=0;v<d.length;v++){var p=d[v];up(p)?o(p.childrenRef()):p instanceof We&&i.push(p)}}if(up(e)){o(e.childrenRef());var s=i.length;if(s<n)for(var l=0,u=s;u<n;u++)i.push(lC(i[l++%s]));i.length=n}else{i=a({path:e,count:n});for(var c=e.getComputedTransform(),u=0;u<i.length;u++)i[u].setLocalTransform(c);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),Z_()}i=fp(i),t=fp(t);for(var f=r.individualDelay,u=0;u<n;u++){var h=f?De({delay:(r.delay||0)+f(u,n,i[u],t[u])},r):r;sS(i[u],t[u],h)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function AM(e){return de(e[0])}function EM(e,t){for(var r=[],n=e.length,i=0;i<n;i++)r.push({one:e[i],many:[]});for(var i=0;i<t.length;i++){var a=t[i].length,o=void 0;for(o=0;o<a;o++)r[o%n].many.push(t[i][o])}for(var s=0,i=n-1;i>=0;i--)if(!r[i].many.length){var l=r[s].many;if(l.length<=1)if(s)s=0;else return r;var a=l.length,u=Math.ceil(a/2);r[i].many=l.slice(u,a),r[s].many=l.slice(0,u),s++}return r}var Xme={clone:function(e){for(var t=[],r=1-Math.pow(1-e.path.style.opacity,1/e.count),n=0;n<e.count;n++){var i=lC(e.path);i.setStyle("opacity",r),t.push(i)}return t},split:null};function ly(e,t,r,n,i,a){if(!e.length||!t.length)return;var o=g0("update",n,i);if(!(o&&o.duration>0))return;var s=n.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,c;AM(e)&&(u=e,c=t),AM(t)&&(u=t,c=e);function f(g,y,x,_,b){var C=g.many,S=g.one;if(C.length===1&&!b){var w=y?C[0]:S,E=y?S:C[0];if(up(w))f({many:[w],one:E},!0,x,_,!0);else{var T=s?De({delay:s(x,_)},l):l;sS(w,E,T),a(w,E,w,E,T)}}else for(var A=De({dividePath:Xme[r],individualDelay:s&&function(G,$,Y,J){return s(G+x,_)}},l),P=y?qme(C,S,A):Yme(S,C,A),D=P.fromIndividuals,L=P.toIndividuals,N=D.length,B=0;B<N;B++){var T=s?De({delay:s(B,N)},l):l;a(D[B],L[B],y?C[B]:g.one,y?g.one:C[B],T)}}for(var h=u?u===e:e.length>t.length,d=u?EM(c,u):EM(h?t:e,[h?e:t]),v=0,p=0;p<d.length;p++)v+=d[p].many.length;for(var m=0,p=0;p<d.length;p++)f(d[p],h,m,v),m+=d[p].many.length}function Io(e){if(!e)return[];if(de(e)){for(var t=[],r=0;r<e.length;r++)t.push(Io(e[r]));return t}var n=[];return e.traverse(function(i){i instanceof We&&!i.disableMorphing&&!i.invisible&&!i.ignore&&n.push(i)}),n}var x5=1e4,Kme=_t();function Zme(e){for(var t=e.dimensions,r=0;r<t.length;r++){var n=e.getDimensionInfo(t[r]);if(n&&n.otherDims.itemGroupId===0)return t[r]}}function PM(e){var t=[];return O(e,function(r){var n=r.data;if(!(n.count()>x5))for(var i=n.getIndices(),a=Zme(n),o=0;o<i.length;o++)t.push({dataGroupId:r.dataGroupId,data:n,dim:r.dim||a,divide:r.divide,dataIndex:o})}),t}function uy(e,t,r){e.traverse(function(n){n instanceof We&&Bt(n,{style:{opacity:0}},t,{dataIndex:r,isFrom:!0})})}function cy(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function Zs(e){e.stopAnimation(),e.isGroup&&e.traverse(function(t){t.stopAnimation()})}function Qme(e,t,r){var n=g0("update",r,t);n&&e.traverse(function(i){if(i instanceof pu){var a=Use(i);a&&i.animateFrom({style:a},n)}})}function Jme(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++){var i=e[n],a=t[n];if(i.data.getId(i.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function _5(e,t,r){var n=PM(e),i=PM(t);function a(g,y,x,_,b){(x||g)&&y.animateFrom({style:x&&x!==g?ce(ce({},x.style),g.style):g.style},b)}function o(g){for(var y=0;y<g.length;y++)if(g[y].dim)return g[y].dim}var s=o(n),l=o(i),u=!1;function c(g,y){return function(x){var _=x.data,b=x.dataIndex;if(y)return _.getId(b);var C=x.dataGroupId,S=g?s||l:l||s,w=S&&_.getDimensionInfo(S),E=w&&w.ordinalMeta;if(w){var T=_.get(w.name,b);return E&&E.categories[T]||T+""}var A=_.getRawDataItem(b);return A&&A.groupId?A.groupId+"":C||_.getId(b)}}var f=Jme(n,i),h={};if(!f)for(var d=0;d<i.length;d++){var v=i[d],p=v.data.getItemGraphicEl(v.dataIndex);p&&(h[p.id]=!0)}function m(g,y){var x=n[y],_=i[g],b=_.data.hostModel,C=x.data.getItemGraphicEl(x.dataIndex),S=_.data.getItemGraphicEl(_.dataIndex);if(C===S){S&&Qme(S,_.dataIndex,b);return}C&&h[C.id]||S&&(Zs(S),C?(Zs(C),cy(C),u=!0,ly(Io(C),Io(S),_.divide,b,g,a)):uy(S,b,g))}new pf(n,i,c(!0,f),c(!1,f),null,"multiple").update(m).updateManyToOne(function(g,y){var x=i[g],_=x.data,b=_.hostModel,C=_.getItemGraphicEl(x.dataIndex),S=Dt(ve(y,function(w){return n[w].data.getItemGraphicEl(n[w].dataIndex)}),function(w){return w&&w!==C&&!h[w.id]});C&&(Zs(C),S.length?(O(S,function(w){Zs(w),cy(w)}),u=!0,ly(Io(S),Io(C),x.divide,b,g,a)):uy(C,b,x.dataIndex))}).updateOneToMany(function(g,y){var x=n[y],_=x.data.getItemGraphicEl(x.dataIndex);if(!(_&&h[_.id])){var b=Dt(ve(g,function(S){return i[S].data.getItemGraphicEl(i[S].dataIndex)}),function(S){return S&&S!==_}),C=i[g[0]].data.hostModel;b.length&&(O(b,function(S){return Zs(S)}),_?(Zs(_),cy(_),u=!0,ly(Io(_),Io(b),x.divide,C,g[0],a)):O(b,function(S){return uy(S,C,g[0])}))}}).updateManyToMany(function(g,y){new pf(y,g,function(x){return n[x].data.getId(n[x].dataIndex)},function(x){return i[x].data.getId(i[x].dataIndex)}).update(function(x,_){m(g[x],y[_])}).execute()}).execute(),u&&O(t,function(g){var y=g.data,x=y.hostModel,_=x&&r.getViewOfSeriesModel(x),b=g0("update",x,0);_&&x.isAnimationEnabled()&&b&&b.duration>0&&_.group.traverse(function(C){C instanceof We&&!C.animators.length&&C.animateFrom({style:{opacity:0}},b)})})}function IM(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function MM(e){return de(e)?e.sort().join(","):e}function Ca(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function eye(e,t){var r=Re(),n=Re(),i=Re();return O(e.oldSeries,function(a,o){var s=e.oldDataGroupIds[o],l=e.oldData[o],u=IM(a),c=MM(u);n.set(c,{dataGroupId:s,data:l}),de(u)&&O(u,function(f){i.set(f,{key:c,dataGroupId:s,data:l})})}),O(t.updatedSeries,function(a){if(a.isUniversalTransitionEnabled()&&a.isAnimationEnabled()){var o=a.get("dataGroupId"),s=a.getData(),l=IM(a),u=MM(l),c=n.get(u);if(c)r.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Ca(c.data),data:c.data}],newSeries:[{dataGroupId:o,divide:Ca(s),data:s}]});else if(de(l)){var f=[];O(l,function(v){var p=n.get(v);p.data&&f.push({dataGroupId:p.dataGroupId,divide:Ca(p.data),data:p.data})}),f.length&&r.set(u,{oldSeries:f,newSeries:[{dataGroupId:o,data:s,divide:Ca(s)}]})}else{var h=i.get(l);if(h){var d=r.get(h.key);d||(d={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:Ca(h.data)}],newSeries:[]},r.set(h.key,d)),d.newSeries.push({dataGroupId:o,data:s,divide:Ca(s)})}}}}),r}function DM(e,t){for(var r=0;r<e.length;r++){var n=t.seriesIndex!=null&&t.seriesIndex===e[r].seriesIndex||t.seriesId!=null&&t.seriesId===e[r].id;if(n)return r}}function tye(e,t,r,n){var i=[],a=[];O(Rt(e.from),function(o){var s=DM(t.oldSeries,o);s>=0&&i.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Ca(t.oldData[s]),dim:o.dimension})}),O(Rt(e.to),function(o){var s=DM(r.updatedSeries,o);if(s>=0){var l=r.updatedSeries[s].getData();a.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Ca(l),dim:o.dimension})}}),i.length>0&&a.length>0&&_5(i,a,n)}function rye(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){O(Rt(n.seriesTransition),function(i){O(Rt(i.to),function(a){for(var o=n.updatedSeries,s=0;s<o.length;s++)(a.seriesIndex!=null&&a.seriesIndex===o[s].seriesIndex||a.seriesId!=null&&a.seriesId===o[s].id)&&(o[s][Ad]=!0)})})}),e.registerUpdateLifecycle("series:transition",function(t,r,n){var i=Kme(r);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var a=n.seriesTransition;if(a)O(Rt(a),function(d){tye(d,i,n,r)});else{var o=eye(i,n);O(o.keys(),function(d){var v=o.get(d);_5(v.oldSeries,v.newSeries,r)})}O(n.updatedSeries,function(d){d[Ad]&&(d[Ad]=!1)})}for(var s=t.getSeries(),l=i.oldSeries=[],u=i.oldDataGroupIds=[],c=i.oldData=[],f=0;f<s.length;f++){var h=s[f].getData();h.count()<x5&&(l.push(s[f]),u.push(s[f].get("dataGroupId")),c.push(h))}})}function LM(e,t,r){var n=Ss.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}var nye=function(e){se(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||zv,typeof r=="string"?o=LM(r,n,i):we(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(c4(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}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 r=this.dpr;this.domBack=LM("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new Ge(0,0,0,0);function c(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var x=new Ge(0,0,0,0);x.copy(y),o.push(x)}else{for(var _=!1,b=1/0,C=0,S=0;S<o.length;++S){var w=o[S];if(w.intersect(y)){var E=new Ge(0,0,0,0);E.copy(w),E.union(y),o[S]=E,_=!0;break}else if(l){u.copy(y),u.union(w);var T=y.width*y.height,A=w.width*w.height,P=u.width*u.height,D=P-T-A;D<b&&(b=D,C=S)}}if(l&&(o[C].union(y),_=!0),!_){var x=new Ge(0,0,0,0);x.copy(y),o.push(x)}l||(l=o.length>=s)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var h=r[f];if(h){var d=h.shouldBePainted(i,a,!0,!0),v=h.__isRendered&&(h.__dirty&Wr||!d)?h.getPrevPaintRect():null;v&&c(v);var p=d&&(h.__dirty&Wr||!h.__isRendered)?h.getPaintRect():null;p&&c(p)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var h=n[f],d=h.shouldBePainted(i,a,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){var v=h.getPrevPaintRect();v&&c(v)}}var m;do{m=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var g=f+1;g<o.length;)o[f].intersect(o[g])?(m=!0,o[f].union(o[g]),o.splice(g,1)):g++;f++}}while(m);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(r,n){var i=this.dpr,a=this.dom,o=a.style,s=this.domBack;o&&(o.width=r+"px",o.height=n+"px"),a.width=r*i,a.height=n*i,s&&(s.width=r*i,s.height=n*i,i!==1&&this.ctxBack.scale(i,i))},t.prototype.clear=function(r,n,i){var a=this.dom,o=this.ctx,s=a.width,l=a.height;n=n||this.clearColor;var u=this.motionBlur&&!r,c=this.lastFrameAlpha,f=this.dpr,h=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,s/f,l/f));var d=this.domBack;function v(p,m,g,y){if(o.clearRect(p,m,g,y),n&&n!=="transparent"){var x=void 0;if(a0(n)){var _=n.global||n.__width===g&&n.__height===y;x=_&&n.__canvasGradient||C_(o,n,{x:0,y:0,width:g,height:y}),n.__canvasGradient=x,n.__width=g,n.__height=y}else Xne(n)&&(n.scaleX=n.scaleX||f,n.scaleY=n.scaleY||f,x=S_(o,n,{dirty:function(){h.setUnpainted(),h.__painter.refresh()}}));o.save(),o.fillStyle=x||n,o.fillRect(p,m,g,y),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(d,p,m,g,y),o.restore())}!i||u?v(0,0,s,l):i.length&&O(i,function(p){v(p.x*f,p.y*f,p.width*f,p.height*f)})},t}(Hn);const fy=nye;var RM=1e5,So=314159,id=.01,iye=.001;function aye(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function oye(e,t){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var sye=function(){function e(t,r,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=n=ce({},n||{}),this.dpr=n.devicePixelRatio||zv,this._singleCanvas=a,this.root=t;var o=t.style;o&&(c4(t),t.innerHTML=""),this.storage=r;var s=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(a){var c=t,f=c.width,h=c.height;n.width!=null&&(f=n.width),n.height!=null&&(h=n.height),this.dpr=n.devicePixelRatio||1,c.width=f*this.dpr,c.height=h*this.dpr,this._width=f,this._height=h;var d=new fy(c,this,this.dpr);d.__builtin__=!0,d.initContext(),l[So]=d,d.zlevel=So,s.push(So),this._domRoot=t}else{this._width=$h(t,0,n),this._height=$h(t,1,n);var u=this._domRoot=oye(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 r=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,n,t,this._redrawId);for(var a=0;a<i.length;a++){var o=i[a],s=this._layers[o];if(!s.__builtin__&&s.refresh){var l=a===0?this._backgroundColor:null;s.refresh(l)}}return this._opts.useDirtyRect&&(this._prevDisplayList=r.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var r=t.length,n=this._hoverlayer;if(n&&n.clear(),!!r){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},a,o=0;o<r;o++){var s=t[o];s.__inHover&&(n||(n=this._hoverlayer=this.getLayer(RM)),a||(a=n.ctx,a.save()),Ho(a,s,i,o===r-1))}a&&a.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(RM)},e.prototype.paintOne=function(t,r){JB(t,r)},e.prototype._paintList=function(t,r,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var a=this._doPaintList(t,r,n),o=a.finished,s=a.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),o)this.eachLayer(function(u){u.afterBrush&&u.afterBrush()});else{var l=this;Hx(function(){l._paintList(t,r,n,i)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(So).ctx,r=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,r,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,r,n)})},e.prototype._doPaintList=function(t,r,n){for(var i=this,a=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&a.push(u)}for(var c=!0,f=!1,h=function(p){var m=a[p],g=m.ctx,y=o&&m.createRepaintRects(t,r,d._width,d._height),x=n?m.__startIndex:m.__drawIndex,_=!n&&m.incremental&&Date.now,b=_&&Date.now(),C=m.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(m.__startIndex===m.__endIndex)m.clear(!1,C,y);else if(x===m.__startIndex){var S=t[x];(!S.incremental||!S.notClear||n)&&m.clear(!1,C,y)}x===-1&&(console.error("For some unknown reason. drawIndex is -1"),x=m.__startIndex);var w,E=function(D){var L={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(w=x;w<m.__endIndex;w++){var N=t[w];if(N.__inHover&&(f=!0),i._doPaintEl(N,m,o,D,L,w===m.__endIndex-1),_){var B=Date.now()-b;if(B>15)break}}L.prevElClipPaths&&g.restore()};if(y)if(y.length===0)w=m.__endIndex;else for(var T=d.dpr,A=0;A<y.length;++A){var P=y[A];g.save(),g.beginPath(),g.rect(P.x*T,P.y*T,P.width*T,P.height*T),g.clip(),E(P),g.restore()}else g.save(),E(),g.restore();m.__drawIndex=w,m.__drawIndex<m.__endIndex&&(c=!1)},d=this,v=0;v<a.length;v++)h(v);return ze.wxa&&O(this._layers,function(p){p&&p.ctx&&p.ctx.draw&&p.ctx.draw()}),{finished:c,needsRefreshHover:f}},e.prototype._doPaintEl=function(t,r,n,i,a,o){var s=r.ctx;if(n){var l=t.getPaintRect();(!i||l&&l.intersect(i))&&(Ho(s,t,a,o),t.setPrevPaintRect(l))}else Ho(s,t,a,o)},e.prototype.getLayer=function(t,r){this._singleCanvas&&!this._needsManuallyCompositing&&(t=So);var n=this._layers[t];return n||(n=new fy("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?Fe(n,this._layerConfig[t],!0):this._layerConfig[t-id]&&Fe(n,this._layerConfig[t-id],!0),r&&(n.virtual=r),this.insertLayer(t,n),n.initContext()),n},e.prototype.insertLayer=function(t,r){var n=this._layers,i=this._zlevelList,a=i.length,o=this._domRoot,s=null,l=-1;if(!n[t]&&aye(r)){if(a>0&&t>i[0]){for(l=0;l<a-1&&!(i[l]<t&&i[l+1]>t);l++);s=n[i[l]]}if(i.splice(l+1,0,t),n[t]=r,!r.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(r.dom,u.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.__painter=this}},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i];t.call(r,this._layers[a],a)}},e.prototype.eachBuiltinLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__&&t.call(r,o,a)}},e.prototype.eachOtherLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__||t.call(r,o,a)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(f,h){f.__dirty=f.__used=!1});function r(f){a&&(a.__endIndex!==f&&(a.__dirty=!0),a.__endIndex=f)}if(this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var a=null,o=0,s,l;for(l=0;l<t.length;l++){var i=t[l],u=i.zlevel,c=void 0;s!==u&&(s=u,o=0),i.incremental?(c=this.getLayer(u+iye,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?id:0),this._needsManuallyCompositing),c.__builtin__||jb("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==l&&(c.__dirty=!0),c.__startIndex=l,c.incremental?c.__drawIndex=-1:c.__drawIndex=l,r(l),a=c),i.__dirty&Wr&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=l))}r(l),this.eachBuiltinLayer(function(f,h){!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,O(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?Fe(n[t],r,!0):n[t]=r;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===t||a===t+id){var o=this._layers[a];Fe(o,n[t],!0)}}}},e.prototype.delLayer=function(t){var r=this._layers,n=this._zlevelList,i=r[t];i&&(i.dom.parentNode.removeChild(i.dom),delete r[t],n.splice(Ve(n,t),1))},e.prototype.resize=function(t,r){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,a=this.root;if(t!=null&&(i.width=t),r!=null&&(i.height=r),t=$h(a,0,i),r=$h(a,1,i),n.style.display="",this._width!==t||r!==this._height){n.style.width=t+"px",n.style.height=r+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,r);this.refresh(!0)}this._width=t,this._height=r}else{if(t==null||r==null)return;this._width=t,this._height=r,this.getLayer(So).resize(t,r)}return this},e.prototype.clearLayer=function(t){var r=this._layers[t];r&&r.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[So].dom;var r=new fy("image",this,t.pixelRatio||this.dpr);r.initContext(),r.clear(!1,t.backgroundColor||this._backgroundColor);var n=r.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=r.dom.width,a=r.dom.height;this.eachLayer(function(f){f.__builtin__?n.drawImage(f.dom,0,0,i,a):f.renderToCanvas&&(n.save(),f.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},s=this.storage.getDisplayList(!0),l=0,u=s.length;l<u;l++){var c=s[l];Ho(n,c,o,l===u-1)}return r.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const lye=sye;function uye(e){e.registerPainter("canvas",lye)}Bn([tme,pme,Qge,T0e,Dme,Pme,Ige,$de,bde,Qde,zve,Kpe,ipe,mpe,Xhe,rye,uye]);const $c=/^[a-z0-9]+(-[a-z0-9]+)*$/,H0=(e,t,r,n="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),l=i.pop(),u={provider:i.length>0?i[0]:n,prefix:l,name:s};return t&&!Id(u)?null:u}const a=i[0],o=a.split("-");if(o.length>1){const s={provider:n,prefix:o.shift(),name:o.join("-")};return t&&!Id(s)?null:s}if(r&&n===""){const s={provider:n,prefix:"",name:a};return t&&!Id(s,r)?null:s}return null},Id=(e,t)=>e?!!((e.provider===""||e.provider.match($c))&&(t&&e.prefix===""||e.prefix.match($c))&&e.name.match($c)):!1,b5=Object.freeze({left:0,top:0,width:16,height:16}),hp=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z0=Object.freeze({...b5,...hp}),Q_=Object.freeze({...z0,body:"",hidden:!1});function cye(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function OM(e,t){const r=cye(e,t);for(const n in Q_)n in hp?n in e&&!(n in r)&&(r[n]=hp[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function fye(e,t){const r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);function a(o){if(r[o])return i[o]=[];if(!(o in i)){i[o]=null;const s=n[o]&&n[o].parent,l=s&&a(s);l&&(i[o]=[s].concat(l))}return i[o]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),i}function hye(e,t,r){const n=e.icons,i=e.aliases||Object.create(null);let a={};function o(s){a=OM(n[s]||i[s],a)}return o(t),r.forEach(o),OM(e,a)}function C5(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),r.push(i)});const n=fye(e);for(const i in n){const a=n[i];a&&(t(i,hye(e,i,a)),r.push(i))}return r}const dye={provider:"",aliases:{},not_found:{},...b5};function hy(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function S5(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!hy(e,dye))return null;const r=t.icons;for(const i in r){const a=r[i];if(!i.match($c)||typeof a.body!="string"||!hy(a,Q_))return null}const n=t.aliases||Object.create(null);for(const i in n){const a=n[i],o=a.parent;if(!i.match($c)||typeof o!="string"||!r[o]&&!n[o]||!hy(a,Q_))return null}return t}const kM=Object.create(null);function vye(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function hs(e,t){const r=kM[e]||(kM[e]=Object.create(null));return r[t]||(r[t]=vye(e,t))}function lS(e,t){return S5(t)?C5(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function pye(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let xf=!1;function w5(e){return typeof e=="boolean"&&(xf=e),xf}function gye(e){const t=typeof e=="string"?H0(e,!0,xf):e;if(t){const r=hs(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function mye(e,t){const r=H0(e,!0,xf);if(!r)return!1;const n=hs(r.provider,r.prefix);return pye(n,r.name,t)}function yye(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),xf&&!t&&!e.prefix){let i=!1;return S5(e)&&(e.prefix="",C5(e,(a,o)=>{o&&mye(a,o)&&(i=!0)})),i}const r=e.prefix;if(!Id({provider:t,prefix:r,name:"a"}))return!1;const n=hs(t,r);return!!lS(n,e)}const T5=Object.freeze({width:null,height:null}),A5=Object.freeze({...T5,...hp}),xye=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_ye=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function NM(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(xye);if(n===null||!n.length)return e;const i=[];let a=n.shift(),o=_ye.test(a);for(;;){if(o){const s=parseFloat(a);isNaN(s)?i.push(a):i.push(Math.ceil(s*t*r)/r)}else i.push(a);if(a=n.shift(),a===void 0)return i.join("");o=!o}}function bye(e,t){const r={...z0,...e},n={...A5,...t},i={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(d=>{const v=[],p=d.hFlip,m=d.vFlip;let g=d.rotate;p?m?g+=2:(v.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),v.push("scale(-1 1)"),i.top=i.left=0):m&&(v.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),v.push("scale(1 -1)"),i.top=i.left=0);let y;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:y=i.height/2+i.top,v.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:v.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:y=i.width/2+i.left,v.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}g%2===1&&(i.left!==i.top&&(y=i.left,i.left=i.top,i.top=y),i.width!==i.height&&(y=i.width,i.width=i.height,i.height=y)),v.length&&(a='<g transform="'+v.join(" ")+'">'+a+"</g>")});const o=n.width,s=n.height,l=i.width,u=i.height;let c,f;return o===null?(f=s===null?"1em":s==="auto"?u:s,c=NM(f,l/u)):(c=o==="auto"?l:o,f=s===null?NM(c,u/l):s==="auto"?u:s),{attributes:{width:c.toString(),height:f.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+l.toString()+" "+u.toString()},body:a}}const Cye=/\sid="(\S+)"/g,Sye="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let wye=0;function Tye(e,t=Sye){const r=[];let n;for(;n=Cye.exec(e);)r.push(n[1]);return r.length&&r.forEach(i=>{const a=typeof t=="function"?t(i):t+(wye++).toString(),o=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+a+"$3")}),e}const J_=Object.create(null);function Aye(e,t){J_[e]=t}function e1(e){return J_[e]||J_[""]}function uS(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const cS=Object.create(null),Zu=["https://api.simplesvg.com","https://api.unisvg.com"],Md=[];for(;Zu.length>0;)Zu.length===1||Math.random()>.5?Md.push(Zu.shift()):Md.push(Zu.pop());cS[""]=uS({resources:["https://api.iconify.design"].concat(Md)});function Eye(e,t){const r=uS(t);return r===null?!1:(cS[e]=r,!0)}function fS(e){return cS[e]}const Pye=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let BM=Pye();function Iye(e,t){const r=fS(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let i=0;r.resources.forEach(o=>{i=Math.max(i,o.length)});const a=t+".json?icons=";n=r.maxURL-i-r.path.length-a.length}return n}function Mye(e){return e===404}const Dye=(e,t,r)=>{const n=[],i=Iye(e,t),a="icons";let o={type:a,provider:e,prefix:t,icons:[]},s=0;return r.forEach((l,u)=>{s+=l.length+1,s>=i&&u>0&&(n.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=l.length),o.icons.push(l)}),n.push(o),n};function Lye(e){if(typeof e=="string"){const t=fS(e);if(t)return t.path}return"/"}const Rye=(e,t,r)=>{if(!BM){r("abort",424);return}let n=Lye(t.provider);switch(t.type){case"icons":{const a=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});n+=a+".json?"+l.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let i=503;BM(e+n).then(a=>{const o=a.status;if(o!==200){setTimeout(()=>{r(Mye(o)?"abort":"next",o)});return}return i=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",i)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",i)})},Oye={prepare:Dye,send:Rye};function kye(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((i,a)=>i.provider!==a.provider?i.provider.localeCompare(a.provider):i.prefix!==a.prefix?i.prefix.localeCompare(a.prefix):i.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const a=i.provider,o=i.prefix,s=i.name,l=r[a]||(r[a]=Object.create(null)),u=l[o]||(l[o]=hs(a,o));let c;s in u.icons?c=t.loaded:o===""||u.missing.has(s)?c=t.missing:c=t.pending;const f={provider:a,prefix:o,name:s};c.push(f)}),t}function E5(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(i=>i.id!==t))})}function Nye(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,i=e.prefix;t.forEach(a=>{const o=a.icons,s=o.pending.length;o.pending=o.pending.filter(l=>{if(l.prefix!==i)return!0;const u=l.name;if(e.icons[u])o.loaded.push({provider:n,prefix:i,name:u});else if(e.missing.has(u))o.missing.push({provider:n,prefix:i,name:u});else return r=!0,!0;return!1}),o.pending.length!==s&&(r||E5([e],a.id),a.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),a.abort))})}))}let Bye=0;function Fye(e,t,r){const n=Bye++,i=E5.bind(null,r,n);if(!t.pending.length)return i;const a={id:n,icons:t,callback:e,abort:i};return r.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(a)}),i}function $ye(e,t=!0,r=!1){const n=[];return e.forEach(i=>{const a=typeof i=="string"?H0(i,t,r):i;a&&n.push(a)}),n}var Hye={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zye(e,t,r,n){const i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index;let o;if(e.random){let C=e.resources.slice(0);for(o=[];C.length>1;){const S=Math.floor(Math.random()*C.length);o.push(C[S]),C=C.slice(0,S).concat(C.slice(S+1))}o=o.concat(C)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));const s=Date.now();let l="pending",u=0,c,f=null,h=[],d=[];typeof n=="function"&&d.push(n);function v(){f&&(clearTimeout(f),f=null)}function p(){l==="pending"&&(l="aborted"),v(),h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function m(C,S){S&&(d=[]),typeof C=="function"&&d.push(C)}function g(){return{startTime:s,payload:t,status:l,queriesSent:u,queriesPending:h.length,subscribe:m,abort:p}}function y(){l="failed",d.forEach(C=>{C(void 0,c)})}function x(){h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function _(C,S,w){const E=S!=="success";switch(h=h.filter(T=>T!==C),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){c=w,y();return}if(E){c=w,h.length||(o.length?b():y());return}if(v(),x(),!e.random){const T=e.resources.indexOf(C.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",d.forEach(T=>{T(w)})}function b(){if(l!=="pending")return;v();const C=o.shift();if(C===void 0){if(h.length){f=setTimeout(()=>{v(),l==="pending"&&(x(),y())},e.timeout);return}y();return}const S={status:"pending",resource:C,callback:(w,E)=>{_(S,w,E)}};h.push(S),u++,f=setTimeout(b,e.rotate),r(C,t,S.callback)}return setTimeout(b),g}function P5(e){const t={...Hye,...e};let r=[];function n(){r=r.filter(s=>s().status==="pending")}function i(s,l,u){const c=zye(t,s,l,(f,h)=>{n(),u&&u(f,h)});return r.push(c),c}function a(s){return r.find(l=>s(l))||null}return{query:i,find:a,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:n}}function FM(){}const dy=Object.create(null);function Wye(e){if(!dy[e]){const t=fS(e);if(!t)return;const r=P5(t),n={config:t,redundancy:r};dy[e]=n}return dy[e]}function Vye(e,t,r){let n,i;if(typeof e=="string"){const a=e1(e);if(!a)return r(void 0,424),FM;i=a.send;const o=Wye(e);o&&(n=o.redundancy)}else{const a=uS(e);if(a){n=P5(a);const o=e.resources?e.resources[0]:"",s=e1(o);s&&(i=s.send)}}return!n||!i?(r(void 0,424),FM):n.query(t,i,r)().abort}const $M="iconify2",_f="iconify",I5=_f+"-count",HM=_f+"-version",M5=36e5,Uye=168;function t1(e,t){try{return e.getItem(t)}catch{}}function hS(e,t,r){try{return e.setItem(t,r),!0}catch{}}function zM(e,t){try{e.removeItem(t)}catch{}}function r1(e,t){return hS(e,I5,t.toString())}function n1(e){return parseInt(t1(e,I5))||0}const W0={local:!0,session:!0},D5={local:new Set,session:new Set};let dS=!1;function Gye(e){dS=e}let ad=typeof window>"u"?{}:window;function L5(e){const t=e+"Storage";try{if(ad&&ad[t]&&typeof ad[t].length=="number")return ad[t]}catch{}W0[e]=!1}function R5(e,t){const r=L5(e);if(!r)return;const n=t1(r,HM);if(n!==$M){if(n){const s=n1(r);for(let l=0;l<s;l++)zM(r,_f+l.toString())}hS(r,HM,$M),r1(r,0);return}const i=Math.floor(Date.now()/M5)-Uye,a=s=>{const l=_f+s.toString(),u=t1(r,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>i&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,s))return!0}catch{}zM(r,l)}};let o=n1(r);for(let s=o-1;s>=0;s--)a(s)||(s===o-1?(o--,r1(r,o)):D5[e].add(s))}function O5(){if(!dS){Gye(!0);for(const e in W0)R5(e,t=>{const r=t.data,n=t.provider,i=r.prefix,a=hs(n,i);if(!lS(a,r).length)return!1;const o=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,o):o,!0})}}function jye(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in W0)R5(n,i=>{const a=i.data;return i.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function qye(e,t){dS||O5();function r(n){let i;if(!W0[n]||!(i=L5(n)))return;const a=D5[n];let o;if(a.size)a.delete(o=Array.from(a).shift());else if(o=n1(i),!r1(i,o+1))return;const s={cached:Math.floor(Date.now()/M5),provider:e.provider,data:t};return hS(i,_f+o.toString(),JSON.stringify(s))}t.lastModified&&!jye(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function WM(){}function Yye(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Nye(e)}))}function Xye(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,i=e.iconsToLoad;delete e.iconsToLoad;let a;if(!i||!(a=e1(r)))return;a.prepare(r,n,i).forEach(s=>{Vye(r,s,l=>{if(typeof l!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=lS(e,l);if(!u.length)return;const c=e.pendingIcons;c&&u.forEach(f=>{c.delete(f)}),qye(e,l)}catch(u){console.error(u)}Yye(e)})})}))}const Kye=(e,t)=>{const r=$ye(e,!0,w5()),n=kye(r);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,WM)}),()=>{l=!1}}const i=Object.create(null),a=[];let o,s;return n.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===s&&u===o)return;o=u,s=c,a.push(hs(u,c));const f=i[u]||(i[u]=Object.create(null));f[c]||(f[c]=[])}),n.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,h=hs(u,c),d=h.pendingIcons||(h.pendingIcons=new Set);d.has(f)||(d.add(f),i[u][c].push(f))}),a.forEach(l=>{const{provider:u,prefix:c}=l;i[u][c].length&&Xye(l,i[u][c])}),t?Fye(t,n,a):WM};function Zye(e,t){const r={...e};for(const n in t){const i=t[n],a=typeof i;n in T5?(i===null||i&&(a==="string"||a==="number"))&&(r[n]=i):a===typeof r[n]&&(r[n]=n==="rotate"?i%4:i)}return r}const Qye=/[\s,]+/;function Jye(e,t){t.split(Qye).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function exe(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(r===""){const i=parseInt(e);return isNaN(i)?0:n(i)}else if(r!==e){let i=0;switch(r){case"%":i=25;break;case"deg":i=90}if(i){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/i,a%1===0?n(a):0)}}return t}function txe(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function rxe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function nxe(e){return'url("data:image/svg+xml,'+rxe(e)+'")'}const VM={...A5,inline:!1},ixe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},axe={display:"inline-block"},i1={backgroundColor:"currentColor"},k5={backgroundColor:"transparent"},UM={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},GM={webkitMask:i1,mask:i1,background:k5};for(const e in GM){const t=GM[e];for(const r in UM)t[e+r]=UM[r]}const Dd={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Dd[e+"-flip"]=t,Dd[e.slice(0,1)+"-flip"]=t,Dd[e+"Flip"]=t});function jM(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const qM=(e,t)=>{const r=Zye(VM,t),n={...ixe},i=t.mode||"svg",a={},o=t.style,s=typeof o=="object"&&!(o instanceof Array)?o:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&Jye(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=exe(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const g=Dd[p];g?(m===!0||m==="true"||m===1)&&(r[g]=!0):VM[p]===void 0&&(n[p]=m)}}}const l=bye(e,r),u=l.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),i==="svg"){n.style={...a,...s},Object.assign(n,u);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Tye(l.body,m?()=>m+"ID"+p++:"iconifyVue"),rs("svg",n)}const{body:c,width:f,height:h}=e,d=i==="mask"||(i==="bg"?!1:c.indexOf("currentColor")!==-1),v=txe(c,{...u,width:f+"",height:h+""});return n.style={...a,"--svg":nxe(v),width:jM(u.width),height:jM(u.height),...axe,...d?i1:k5,...s},rs("span",n)};w5(!0);Aye("",Oye);if(typeof document<"u"&&typeof window<"u"){O5();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!yye(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const i=t[r];if(typeof i!="object"||!i||i.resources===void 0)continue;Eye(r,i)||console.error(n)}catch{console.error(n)}}}}const oxe={...z0,body:""},sxe=qa({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=H0(e,!1,!0))===null)return this.abortLoading(),null;const n=gye(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:Kye([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return r.prefix!==""&&i.push("iconify--"+r.prefix),r.provider!==""&&i.push("iconify--"+r.provider),{data:n,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return qM(oxe,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),qM({...z0,...t.data},r)}}),lxe=["xlink:href"],uxe=qa({name:"SvgIcon"}),cxe=qa({...uxe,props:{icon:null,localIcon:null},setup(e){const t=e,r=aL(),n=Ht(()=>({class:r.class||"",style:r.style||""})),i=Ht(()=>{const{VITE_ICON_LOCAL_PREFFIX:o}={VITE_BASE_URL:"/admin",VITE_APP_NAME:"",VITE_APP_TITLE:"",VITE_APP_DESC:"OwlAdmin是一个基于Laravel和amis的后台管理系统",VITE_AUTH_ROUTE_MODE:"dynamic",VITE_ROUTE_HOME_PATH:"/dashboard",VITE_ICON_PREFFIX:"icon",VITE_ICON_LOCAL_PREFFIX:"icon-local",VITE_HTTP_PROXY:"Y",VITE_HASH_ROUTE:"Y",VITE_VISUALIZER:"N",VITE_COMPRESS:"N",VITE_COMPRESS_TYPE:"gzip",VITE_PWA:"N",VITE_SERVICE_ENV:"prod",BASE_URL:"/admin",MODE:"production",DEV:!1,PROD:!0},s="no-icon",l=t.localIcon||s;return`#${o}-${l}`}),a=Ht(()=>t.localIcon||!t.icon);return(o,s)=>Ir(a)?(Uo(),Ay("svg",Nd({key:0,"aria-hidden":"true",width:"1em",height:"1em"},Ir(n)),[Dp("use",{"xlink:href":Ir(i),fill:"currentColor"},null,8,lxe)],16)):(Uo(),Ay(Gt,{key:1},[e.icon?(Uo(),Ip(Ir(sxe),Nd({key:0,icon:e.icon},Ir(n)),null,16,["icon"])):JD("",!0)],64))}}),fxe=()=>({iconRender:t=>{const{color:r,fontSize:n,icon:i,localIcon:a}=t,o={};return r&&(o.color=r),n&&(o.fontSize=`${n}px`),!i&&!a&&window.console.warn("没有传递图标名称请确保给icon或localIcon传递有效值!"),()=>rs(cxe,{icon:i,localIcon:a,style:o})}});function N5(e){const t=[];return e.forEach(r=>{const{name:n,path:i,meta:a}=r,o=n;let s;r.children&&(s=N5(r.children));const l=dxe({menu:{key:o,label:a.title,routeName:o,routePath:i},icon:a.icon,localIcon:a.localIcon,children:s});hxe(r)||t.push(l)}),t}function C_e(e,t){return t.map(r=>B5(e,r)).flat(1)}function B5(e,t){const r=[];return e.startsWith(t.routeName)&&r.push(t.routeName),t.children&&r.push(...t.children.map(n=>B5(e,n)).flat(1)),r}function hxe(e){return Boolean(e.meta.hide)}function dxe(e){const{iconRender:t}=fxe(),r={...e.menu},{icon:n,localIcon:i,children:a}=e;return i&&Object.assign(r,{icon:t({localIcon:i})}),n&&Object.assign(r,{icon:t({icon:n})}),a&&Object.assign(r,{children:a}),r}function vxe(){return["pwd-login","code-login","register","reset-pwd","bind-wechat"].join("|")}const pxe=amisRequire("amis");class gxe{constructor(t,r={codeKey:"status",dataKey:"data",msgKey:"msg",successCode:0}){V0(this,"instance");V0(this,"backendConfig");this.backendConfig=r,this.instance=iX.create(t),this.setInterceptor()}setInterceptor(){this.instance.interceptors.request.use(async t=>{const r={...t};if(r.headers){const n=r.headers["Content-Type"];r.data=await EQ(r.data,n);const i=Zt.get("token")||"";r.headers.Authorization=`Bearer ${i}`}return r},t=>{var r,n;return{data:{status:1,msg:((n=(r=t.response)==null?void 0:r.data)==null?void 0:n.message)||t.message}}}),this.instance.interceptors.response.use(async t=>{const{status:r}=t;if(r===200||r<300||r===304){const n=t.data,{codeKey:i,successCode:a}=this.backendConfig;return n[i]===a?(n!=null&&n.msg&&(n==null?void 0:n.doNotDisplayToast)==0&&pxe.toast.success(n.msg),n):((n==null?void 0:n.code)==401&&(UO(),window.location.reload()),t)}return t},t=>{var r,n;return{data:{status:1,msg:((n=(r=t.response)==null?void 0:r.data)==null?void 0:n.message)||t.message}}})}}function vS(e,t){const r=new gxe(e,t);async function n(l){const{url:u}=l,c=l.method||"get",{instance:f}=r;return await mxe({instance:f,method:c,url:u,data:l.data,config:l.axiosConfig})}function i(l,u){return n({url:l,method:"get",axiosConfig:u})}function a(l,u,c){return n({url:l,method:"post",data:u,axiosConfig:c})}function o(l,u,c){return n({url:l,method:"put",data:u,axiosConfig:c})}function s(l,u){return n({url:l,method:"delete",axiosConfig:u})}return{get:i,post:a,put:o,delete:s}}async function mxe(e){const{instance:t,method:r,url:n,data:i,config:a}=e;let o;return r==="get"||r==="delete"?o=await t[r](n,a):o=await t[r](n,i,a),o}const{url:S_e,urlPattern:yxe,secondUrl:w_e,secondUrlPattern:xxe}=Yq({VITE_BASE_URL:"/admin",VITE_APP_NAME:"",VITE_APP_TITLE:"",VITE_APP_DESC:"OwlAdmin是一个基于Laravel和amis的后台管理系统",VITE_AUTH_ROUTE_MODE:"dynamic",VITE_ROUTE_HOME_PATH:"/dashboard",VITE_ICON_PREFFIX:"icon",VITE_ICON_LOCAL_PREFFIX:"icon-local",VITE_HTTP_PROXY:"Y",VITE_HASH_ROUTE:"Y",VITE_VISUALIZER:"N",VITE_COMPRESS:"N",VITE_COMPRESS_TYPE:"gzip",VITE_PWA:"N",VITE_SERVICE_ENV:"prod",BASE_URL:"/admin",MODE:"production",DEV:!1,PROD:!0}),Vf=vS({baseURL:yxe});vS({baseURL:xxe});vS({baseURL:"/mock"});const _xe=e=>Vf.post("/login",e),bxe=()=>Vf.get("/current-user"),Cxe=()=>Vf.get("/menus"),Sxe=()=>Vf.get("/logout"),T_e=()=>Vf.get("/captcha");export{Cf as $,tu as A,wD as B,e_e as C,Uo as D,Ip as E,Gt as F,C1 as G,mt as H,I3 as I,Ir as J,tG as K,lJ as L,m_e as M,c1 as N,Gr as O,h1 as P,Zt as Q,u_e as R,Pv as S,k1 as T,Ov as U,c_e as V,h_e as W,w3 as X,Ay as Y,Dp as Z,E3 as _,Ep as a,Rxe as a$,zte as a0,Ac as a1,Be as a2,n6 as a3,__e as a4,f_e as a5,Vf as a6,fL as a7,cxe as a8,R1 as a9,E7 as aA,ci as aB,Kxe as aC,l_e as aD,gO as aE,s_e as aF,bf as aG,JD as aH,Pp as aI,t$ as aJ,QD as aK,Ya as aL,mi as aM,cR as aN,IG as aO,OG as aP,FG as aQ,Uxe as aR,a9 as aS,Gxe as aT,Lxe as aU,fi as aV,Dxe as aW,Ixe as aX,g6 as aY,Txe as aZ,Axe as a_,ur as aa,vi as ab,pD as ac,PD as ad,ID as ae,ps as af,ru as ag,Ll as ah,Yc as ai,Fxe as aj,J1 as ak,Fp as al,Nd as am,zxe as an,$xe as ao,Hxe as ap,A9 as aq,ka as ar,W1 as as,W6 as at,Dw as au,hG as av,UH as aw,Ae as ax,bR as ay,pe as az,vt as b,Mxe as b0,Exe as b1,Pxe as b2,jxe as b3,Yxe as b4,Vxe as b5,J9 as b6,Xxe as b7,a7 as b8,Zxe as b9,R6 as bA,nu as bB,Op as bC,Aw as bD,OV as bE,Z1 as bF,j1 as bG,ys as bH,GL as bI,Y1 as bJ,zL as bK,$L as bL,By as bM,BL as bN,iG as bO,kp as bP,Wxe as bQ,eb as bR,z7 as bS,Mn as bT,qxe as bU,Jxe as bV,$H as bW,Wd as bX,r3 as bY,n3 as bZ,T_e as b_,Qxe as ba,KG as bb,nq as bc,r_e as bd,n_e as be,i_e as bf,a_e as bg,o_e as bh,Xq as bi,p_e as bj,v_e as bk,a$ as bl,Fd as bm,b_e as bn,Q3 as bo,d_e as bp,Mx as bq,T3 as br,y_e as bs,L2 as bt,fxe as bu,P3 as bv,g_e as bw,C_e as bx,_3 as by,x_e as bz,dG as c,qa as d,Ht as e,Qo as f,A6 as g,rs as h,lr as i,Ga as j,ct as k,Oxe as l,ih as m,F6 as n,E1 as o,fc as p,Bxe as q,p1 as r,ja as s,X3 as t,vG as u,CL as v,C3 as w,Dl as x,Nxe as y,t_e as z};