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!!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{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;rRa(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{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{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{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(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{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)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>>1;Uc(sr[n])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(;tUc(r)-Uc(n)),Mo=0;Moe.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;JnQs.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{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;fe.__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{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;a1)for(let a=0;a!!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;at(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{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;r0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;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-1,d[1]=p<0||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{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{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{for(let te=ae;te{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{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{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;Vue?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=leV)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){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{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;Fie.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;neR.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>1,e[r[s]]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;d0?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$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;n0&&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?`${e}`: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;iK0||(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{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(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.lengthJS(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{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-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;ir=>{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{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``}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));++r0){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-1&&e%1==0&&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-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{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"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;r0;)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(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=.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>>2]>>>24-S%4*8&255;x[b+S>>>2]|=w<<24-(b+S)%4*8}else for(var E=0;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;_>>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>>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>>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>>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>>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>>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>>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>>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>>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>>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>>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>>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>>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>>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>>0?1:0),ue=ue+_u,F=F+Wn+(ue>>>0<_u>>>0?1:0),ue=ue+gS,F=F+F5+(ue>>>0>>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>>0?1:0),Br=Br+mS,Qi=Qi+$5+(Br>>>0>>0?1:0),Br=Br+_S,Qi=Qi+G5+(Br>>>0<_S>>>0?1:0),Br=Br+ue,Qi=Qi+F+(Br>>>0>>0?1:0),bS=yS+z5,j5=W5+H5+(bS>>>0>>0?1:0);ie=Z,ae=ne,Z=k,ne=z,k=I,z=M,M=R+Br|0,I=oe+Qi+(M>>>0>>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
>>0?1:0)|0}T=g.low=T+Q,g.high=E+U+(T>>>0>>0?1:0),P=y.low=P+ee,y.high=A+re+(P>>>0>>0?1:0),L=x.low=L+xe,x.high=D+me+(L>>>0>>0?1:0),B=_.low=B+R,_.high=N+oe+(B>>>0>>0?1:0),$=b.low=$+M,b.high=G+I+($>>>0>>0?1:0),J=C.low=J+z,C.high=Y+k+(J>>>0>>0?1:0),W=S.low=W+ne,S.high=H+Z+(W>>>0>>0?1:0),q=w.low=q+ae,w.high=X+ie+(q>>>0>>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<>>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<>>32-H,A=J<>>32-H):(T=J<>>64-H,A=Y<>>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>>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<>>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>>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>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>>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;T6&&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>>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>>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^this._lBlock)&y;this._lBlock^=x,this._rBlock^=x<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>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>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>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>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"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){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",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,""")}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;rt.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=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;i1;){var r=t.pop(),n=r.obj[r.prop];if(Lo(n)){for(var i=[],a=0;a=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"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"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"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;f0?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-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"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{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;le0?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;hew?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,">").replace(/"/g,""").replace(/'/g,"'")}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=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>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<=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=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&&tr||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;d0){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?n1?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=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;r1&&(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=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=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;n0){for(r=[],n=0;nt[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;ZZ!=="{"&&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):"�"}}}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;ro;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;a1){e.push(`${r("plural")}([`),e.indent(n());const i=t.cases.length;for(let a=0;a{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{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(;ae,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`${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;pn;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{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{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{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{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=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;a1&&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;ft.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(;r0&&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{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=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;ia&&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;oVl(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=0)s=o*r.length;else for(var l=0;l>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={"&":"&","<":"<",">":">",'"':""","'":"'"};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;o1&&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=!(av&&(v=x,pv&&(v=_,g=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;m4)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=0;)i++;return i-t}function Oie(e,t,r){for(r--;t>>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;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;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;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;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])break;c(d)}}function u(){for(;a>1;){var d=a-2;d>0&&i[d-1]=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=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)=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=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;gs&&(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;n0&&(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=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&&eBv||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=0&&m=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=0&&d=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;an?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var l=a;l=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=0&&!(o[c].percent<=r);c--);c=h(c,s-2)}else{for(c=f;cr);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;o0&&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;n0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a1){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.__lastTouchMomentRA||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=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;a0},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;l0,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=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=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;o0&&r.during&&a[0].during(function(v,p){r.during(p)});for(var h=0;h0||i.force&&!o.length){var w=void 0,E=void 0,T=void 0;if(s){E={},h&&(w={});for(var _=0;_=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;i0&&(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;r0){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]});su&&(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=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=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=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;ad&&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;ms&&sm(r,e.substring(s,u),t,o),sm(r,l[2],t,o,l[1]),s=om.lastIndex}si){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&&B0&&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=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;fr: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;i1e-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:ii&&(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&&r0&&(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;nc.length&&(this._expandData(),c=this.data);for(var f=0;f0&&(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;r11&&(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;on||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;C0&&(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||oe+s&&a>r+s||at+f&&c>n+f&&c>a+f&&c>s+f||ce+f&&u>r+f&&u>i+f&&u>o+f||ut+u&&l>n+u&&l>a+u||le+u&&s>r+u&&s>i+u||sr||c+ui&&(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||ai?s:0}var aa=Gi.CMD,ho=Math.PI*2,Coe=1e-4;function Soe(e,t){return Math.abs(e-t)t&&u>n&&u>a&&u>s||u1&&woe(),d=Ft(t,n,a,s,on[0]),h>1&&(v=Ft(t,n,a,s,on[1]))),h===2?mt&&s>n&&s>a||s=0&&u<=1){for(var c=0,f=ar(t,n,a,u),h=0;hr||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&&p1&&(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.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)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;h0},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;r0,P=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),D=o.calculatedLineHeight,L=0;L=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=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;f0){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;i1&&(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;uL*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),dwn){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),E0&&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),T0&&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=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;sgo[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()&&(c0){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;tMath.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];a1)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=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=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':'';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=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;yt)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=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=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;np&&(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=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||d1&&n>0?s:o}};return a;function o(){return t=e?null:lt},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 ni?-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;c65535?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;um[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;cg[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=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&nt)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=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=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=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=f&&y<=h||isNaN(y))&&(l[u++]=S)}else for(var g=0;gt[T][1])&&(w=!1)}w&&(l[u++]=r.getRawIndex(g))}return ug[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;vc&&(c=f,h=_)}A>0&&Ac-v&&(l=c-v,s.length=l);for(var p=0;pf[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();al&&(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=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;r1||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_('
'+ln(h)+"
"+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='
',n="margin: "+t+"px 0 0";return'
'+e+r+"
"}function Bue(e,t,r){var n=t?"margin-left:2px":"";return''+ln(e)+""}function Fue(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=de(e)?e:[e],''+ve(e,function(o){return ln(o)}).join("  ")+""}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;ithis.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=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;c0&&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=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;a0&&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=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;a0)?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;s0&&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+=''+x.dom+""}),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;xh.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;x0?{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=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;o1){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;s1&&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;d1)for(var s=0;s30}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=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;c0},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;l1&&(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;d0&&(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;tr[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&&on&&(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=0&&r=0&&r=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[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]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;oa[0]&&d0&&(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)>>1;e[i][1]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]();$1&&N===0&&P.unshift({value:P[0].value-$})}}for(var N=0;N=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;w0;)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]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;ce[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;r40&&(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:di&&(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 y0){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(a1&&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=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;c0&&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;A0)for(var P=0;P0;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;A0?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=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=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;a0?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=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||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=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=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(;ot){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;on)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=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;t0&&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;_t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r10&&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-cMath.PI/2&&cs)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=si?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;r0?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=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=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,Pr?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)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)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;p0){for(var c=o.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f=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]=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=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;mu[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;i0?"top":"bottom",a="center"):Vv(i-Aa)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"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",iAa/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=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]),o0&&!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=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=E&&(T===0?0:a[T-1][0])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.spana&&(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;on.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]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,c0: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=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;ao[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='',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=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=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;ae[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-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'
'}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=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"?` `:"
",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=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;ni[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=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;r2&&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=Lw:A2&&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=0&&w=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;i0)for(var u=0;uMath.abs(u),f=p5([l,u],c?0:1,t),h=(c?s:u)/f.length,d=0;di,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;h1?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;ao?(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;n0)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;x0;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=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;n0))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;Bt.length,d=u?EM(c,u):EM(h?t:e,[h?e:t]),v=0,p=0;px5))for(var i=n.getIndices(),a=Zme(n),o=0;o0&&_.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=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=s)}}for(var f=this.__startIndex;f15)break}}L.prevElClipPaths&&g.restore()};if(y)if(y.length===0)w=m.__endIndex;else for(var T=d.dpr,A=0;A0&&t>i[0]){for(l=0;lt);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;i0?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{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=''+a+"")});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{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'"+e+""}function rxe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").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};