diff --git a/assets/@vue_devtools-api@6.5.1-w40geAFS.js b/assets/@vue_devtools-api@6.5.1-w40geAFS.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/assets/@vue_devtools-api@6.5.1-w40geAFS.js @@ -0,0 +1 @@ + diff --git a/assets/@vue_reactivity@3.3.8-4NsB6yaG.js b/assets/@vue_reactivity@3.3.8-4NsB6yaG.js new file mode 100644 index 00000000..87a8dad3 --- /dev/null +++ b/assets/@vue_reactivity@3.3.8-4NsB6yaG.js @@ -0,0 +1 @@ +import{i as e}from"./@vue_shared@3.3.8-W5PO5ES3.js";new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(e));function t(r){return i(r)?t(r.__v_raw):!!(r&&r.__v_isReactive)}function i(r){return!!(r&&r.__v_isReadonly)}function o(r){return t(r)||i(r)}function s(r){return!!(r&&r.__v_isRef===!0)}export{o as a,s as i}; diff --git a/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js b/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js new file mode 100644 index 00000000..e5ad3f29 --- /dev/null +++ b/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js @@ -0,0 +1 @@ +import{i as R,a as p}from"./@vue_reactivity@3.3.8-4NsB6yaG.js";import{a as m,b as g,c as C,g as k,E as z,n as I,d as y,e as h,f as V,h as B}from"./@vue_shared@3.3.8-W5PO5ES3.js";let f=null,M=null;const j=Symbol.for("v-ndc"),K=t=>t.__isSuspense,L=t=>t.__isTeleport,T=Symbol.for("v-fgt"),U=Symbol.for("v-txt"),Y=Symbol.for("v-cmt"),D=Symbol.for("v-stc"),r=[];let u=null;function $(t=!1){r.push(u=t?null:[])}function G(){r.pop(),u=r[r.length-1]||null}function P(t){return t.dynamicChildren=u||z,G(),u&&u.push(t),t}function d(t,s,n,e,l,c){return P(O(t,s,n,e,l,c,!0))}function q(t){return t?t.__v_isVNode===!0:!1}const x="__vInternal",E=({key:t})=>t??null,_=({ref:t,ref_key:s,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?m(t)||R(t)||C(t)?{i:f,r:t,k:s,f:!!n}:t:null);function O(t,s=null,n=null,e=0,l=null,c=t===T?0:1,o=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:t,props:s,key:s&&E(s),ref:s&&_(s),scopeId:M,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:e,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:f};return a?(b(i,n),c&128&&t.normalize(i)):n&&(i.shapeFlag|=m(n)?8:16),!o&&u&&(i.patchFlag>0||c&6)&&i.patchFlag!==32&&u.push(i),i}const A=w;function w(t,s=null,n=null,e=0,l=null,c=!1){if((!t||t===j)&&(t=Y),q(t)){const a=F(t,s,!0);return n&&b(a,n),!c&&u&&(a.shapeFlag&6?u[u.indexOf(t)]=a:u.push(a)),a.patchFlag|=-2,a}if(W(t)&&(t=t.__vccOpts),s){s=H(s);let{class:a,style:i}=s;a&&!m(a)&&(s.class=I(a)),y(i)&&(p(i)&&!g(i)&&(i=h({},i)),s.style=V(i))}const o=m(t)?1:K(t)?128:L(t)?64:y(t)?4:C(t)?2:0;return O(t,s,n,e,l,o,c,!0)}function H(t){return t?p(t)||x in t?h({},t):t:null}function F(t,s,n=!1){const{props:e,ref:l,patchFlag:c,children:o}=t,a=s?Q(e||{},s):e;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&E(a),ref:s&&s.ref?n&&l?g(l)?l.concat(_(s)):[l,_(s)]:_(s):l,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:s&&t.type!==T?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&F(t.ssContent),ssFallback:t.ssFallback&&F(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function J(t=" ",s=0){return A(U,null,t,s)}function v(t,s){const n=A(D,null,t);return n.staticCount=s,n}function b(t,s){let n=0;const{shapeFlag:e}=t;if(s==null)s=null;else if(g(s))n=16;else if(typeof s=="object")if(e&65){const l=s.default;l&&(l._c&&(l._d=!1),b(t,l()),l._c&&(l._d=!0));return}else{n=32;const l=s._;!l&&!(x in s)?s._ctx=f:l===3&&f&&(f.slots._===1?s._=1:(s._=2,t.patchFlag|=1024))}else C(s)?(s={default:s,_ctx:f},n=32):(s=String(s),e&64?(n=16,s=[J(s)]):n=8);t.children=s,t.shapeFlag|=n}function Q(...t){const s={};for(let n=0;nt);function W(t){return C(t)&&"__vccOpts"in t}export{v as a,d as c,$ as o}; diff --git a/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js.gz b/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js.gz new file mode 100644 index 00000000..987d1070 Binary files /dev/null and b/assets/@vue_runtime-core@3.3.8-VrcJ4P69.js.gz differ diff --git a/assets/@vue_runtime-dom@3.3.8-w40geAFS.js b/assets/@vue_runtime-dom@3.3.8-w40geAFS.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/assets/@vue_runtime-dom@3.3.8-w40geAFS.js @@ -0,0 +1 @@ + diff --git a/assets/@vue_shared@3.3.8-W5PO5ES3.js b/assets/@vue_shared@3.3.8-W5PO5ES3.js new file mode 100644 index 00000000..347f6e02 --- /dev/null +++ b/assets/@vue_shared@3.3.8-W5PO5ES3.js @@ -0,0 +1 @@ +const h=[],a=/^on[^a-z]/,E=t=>a.test(t),R=Object.assign,c=Array.isArray,z=t=>typeof t=="function",i=t=>typeof t=="string",S=t=>typeof t=="symbol",l=t=>t!==null&&typeof t=="object";let f;const T=()=>f||(f=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function y(t){if(c(t)){const s={};for(let n=0;n{if(n){const o=n.split(p);o.length>1&&(s[o[0].trim()]=o[1].trim())}}),s}function b(t){let s="";if(i(t))s=t;else if(c(t))for(let n=0;n{a.forEach(d=>d()),a.length=0},l=(d,o,p,w)=>(d.addEventListener(o,p,w),()=>d.removeEventListener(o,p,w)),c=VueDemi.watch(()=>[V(n),A(i)],([d,o])=>{if(u(),!d)return;const p=x(o)?{...o}:o;a.push(...t.flatMap(w=>s.map(g=>l(d,w,g,p))))},{immediate:!0,flush:"post"}),f=()=>{c(),u()};return _(f),f}function B(){const e=VueDemi.ref(!1);return VueDemi.getCurrentInstance()&&VueDemi.onMounted(()=>{e.value=!0}),e}function L(e){const n=B();return VueDemi.computed(()=>(n.value,!!e()))}function P(e,n={}){const{window:t=S}=n,s=L(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let i;const a=VueDemi.ref(!1),u=f=>{a.value=f.matches},l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",u):i.removeListener(u))},c=VueDemi.watchEffect(()=>{s.value&&(l(),i=t.matchMedia(A(e)),"addEventListener"in i?i.addEventListener("change",u):i.addListener(u),a.value=i.matches)});return _(()=>{c(),l(),i=void 0}),a}const O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},N="__vueuse_ssr_handlers__",Q=Y();function Y(){return N in O||(O[N]=O[N]||{}),O[N]}function K(e,n){return Q[e]||n}function $(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const q={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},W="vueuse-storage";function X(e,n,t,s={}){var i;const{flush:a="pre",deep:u=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:d,window:o=S,eventFilter:p,onError:w=r=>{console.error(r)},initOnMounted:g}=s,h=(d?VueDemi.shallowRef:VueDemi.ref)(typeof n=="function"?n():n);if(!t)try{t=K("getDefaultStorage",()=>{var r;return(r=S)==null?void 0:r.localStorage})()}catch(r){w(r)}if(!t)return h;const m=A(n),z=$(m),b=(i=s.serializer)!=null?i:q[z],{pause:T,resume:I}=j(h,()=>C(h.value),{flush:a,deep:u,eventFilter:p});return o&&l&&M(()=>{D(o,"storage",E),D(o,W,J),g&&E()}),g||E(),h;function C(r){try{if(r==null)t.removeItem(e);else{const v=b.write(r),y=t.getItem(e);y!==v&&(t.setItem(e,v),o&&o.dispatchEvent(new CustomEvent(W,{detail:{key:e,oldValue:y,newValue:v,storageArea:t}})))}}catch(v){w(v)}}function R(r){const v=r?r.newValue:t.getItem(e);if(v==null)return c&&m!==null&&t.setItem(e,b.write(m)),m;if(!r&&f){const y=b.read(v);return typeof f=="function"?f(y,m):z==="object"&&!Array.isArray(y)?{...m,...y}:y}else return typeof v!="string"?v:b.read(v)}function J(r){E(r.detail)}function E(r){if(!(r&&r.storageArea!==t)){if(r&&r.key==null){h.value=m;return}if(!(r&&r.key!==e)){T();try{(r==null?void 0:r.newValue)!==b.write(h.value)&&(h.value=R(r))}catch(v){w(v)}finally{r?VueDemi.nextTick(I):I()}}}}}function G(e,n,t={}){const{window:s=S,...i}=t;let a;const u=L(()=>s&&"ResizeObserver"in s),l=()=>{a&&(a.disconnect(),a=void 0)},c=VueDemi.computed(()=>Array.isArray(e)?e.map(o=>V(o)):[V(e)]),f=VueDemi.watch(c,o=>{if(l(),u.value&&s){a=new ResizeObserver(n);for(const p of o)p&&a.observe(p,i)}},{immediate:!0,flush:"post",deep:!0}),d=()=>{l(),f()};return _(d),{isSupported:u,stop:d}}function Z(e,n={}){const{reset:t=!0,windowResize:s=!0,windowScroll:i=!0,immediate:a=!0}=n,u=VueDemi.ref(0),l=VueDemi.ref(0),c=VueDemi.ref(0),f=VueDemi.ref(0),d=VueDemi.ref(0),o=VueDemi.ref(0),p=VueDemi.ref(0),w=VueDemi.ref(0);function g(){const h=V(e);if(!h){t&&(u.value=0,l.value=0,c.value=0,f.value=0,d.value=0,o.value=0,p.value=0,w.value=0);return}const m=h.getBoundingClientRect();u.value=m.height,l.value=m.bottom,c.value=m.left,f.value=m.right,d.value=m.top,o.value=m.width,p.value=m.x,w.value=m.y}return G(e,g),VueDemi.watch(()=>V(e),h=>!h&&g()),i&&D("scroll",g,{capture:!0,passive:!0}),s&&D("resize",g,{passive:!0}),M(()=>{a&&g()}),{height:u,bottom:l,left:c,right:f,top:d,width:o,x:p,y:w,update:g}}function k(e={}){const{window:n=S,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:a=!0}=e,u=VueDemi.ref(t),l=VueDemi.ref(s),c=()=>{n&&(a?(u.value=n.innerWidth,l.value=n.innerHeight):(u.value=n.document.documentElement.clientWidth,l.value=n.document.documentElement.clientHeight))};if(c(),M(c),D("resize",c,{passive:!0}),i){const f=P("(orientation: portrait)");VueDemi.watch(f,()=>c())}return{width:u,height:l}}export{Z as a,X as b,G as c,k as u}; diff --git a/assets/@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js.gz b/assets/@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js.gz new file mode 100644 index 00000000..89c474f6 Binary files /dev/null and b/assets/@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js.gz differ diff --git a/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js b/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js new file mode 100644 index 00000000..3c5f5043 --- /dev/null +++ b/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js @@ -0,0 +1 @@ +function V(e){return VueDemi.getCurrentScope()?(VueDemi.onScopeDispose(e),!0):!1}function D(e){return typeof e=="function"?e():VueDemi.unref(e)}const b=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const p=Object.prototype.toString,h=e=>p.call(e)==="[object Object]",v=()=>{};function l(e,t){function i(...n){return new Promise((o,u)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(u)})}return i}const r=e=>e();function f(e=r){const t=VueDemi.ref(!0);function i(){t.value=!1}function n(){t.value=!0}const o=(...u)=>{t.value&&e(...u)};return{isActive:VueDemi.readonly(t),pause:i,resume:n,eventFilter:o}}VueDemi.isVue3,VueDemi.isVue3,VueDemi.isVue3;function d(e,t,i={}){const{eventFilter:n=r,...o}=i;return VueDemi.watch(e,l(n,t),o)}function w(e,t,i={}){const{eventFilter:n,...o}=i,{eventFilter:u,pause:s,resume:c,isActive:a}=f(n);return{stop:d(e,t,{...o,eventFilter:u}),pause:s,resume:c,isActive:a}}function y(e,t=!0){VueDemi.getCurrentInstance()?VueDemi.onMounted(e):t?e():VueDemi.nextTick(e)}export{y as a,h as b,V as c,b as i,v as n,D as t,w}; diff --git a/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js.gz b/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js.gz new file mode 100644 index 00000000..d200a04d Binary files /dev/null and b/assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js.gz differ diff --git a/assets/Table-tOO-o-nl.js b/assets/Table-tOO-o-nl.js new file mode 100644 index 00000000..d4871879 --- /dev/null +++ b/assets/Table-tOO-o-nl.js @@ -0,0 +1 @@ +import{R as h,j as g,w as z,r as T}from"./index-EwlO25Hg.js";import{u as F}from"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./qs@6.11.2-wwOruwhc.js";import{p as A}from"./print-js@1.6.0-gYKv6oGQ.js";const y={...naive.dataTableProps,title:{type:[String,Number,Object],default:null},toolOptions:{type:Array},coverTool:{type:Boolean,default:!1},contextMenuOptions:{type:Array},disabledContextMenu:{type:Boolean,default:!1},onContextMenuClick:{type:[Function,Array],default:null},downloadTableOptions:{type:Object,default:()=>({})},wrapperBordered:{type:Boolean,default:!1},printTableOptions:{type:Object,default:()=>({})},onDownloadSuccess:{type:[Function,Array],default:null},onDownloadError:{type:[Function,Array],default:null},onUpdateColumns:{type:[Function,Array],default:null},"onUpdate:columns":{type:[Function,Array],default:null},onContextmenu:{type:[Function,Array],default:null}},p={tableIconSize:"18",tableKey:Symbol("r-table")},R=Vue.defineComponent({name:"TableSizeSelect",props:{onChangeSize:{type:[Function,Array],default:null},...y},setup(e){const t=Vue.ref(!1);return{size:Vue.ref(e.size),sizeOptions:[{label:"默认",value:"medium"},{label:"紧凑",value:"small"},{label:"宽松",value:"large"}],popoverShow:t,updatePopselectValue:s=>{const{onChangeSize:l}=e;l&&g(l,s)}}},render(){return Vue.createVNode(naive.NPopselect,{value:this.size,"onUpdate:value":e=>this.size=e,options:this.sizeOptions,trigger:"click",onUpdateValue:this.updatePopselectValue.bind(this)},{default:()=>[Vue.createVNode(naive.NPopover,{showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:"adjustment",size:p.tableIconSize,cursor:"pointer"},null),default:()=>"密度"})]})}}),P=Vue.defineComponent({name:"TableFullscreen",setup(){const{wrapperRef:e}=Vue.inject(p.tableKey,{}),[t,{toggleFullscreen:o,isEnabled:a}]=F(e);return{toggleFullscreen:o,isFullscreen:t,isEnabled:a}},render(){const{toggleFullscreen:e,isEnabled:t,$t:o}=this;return Vue.createVNode(naive.NPopover,{showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:"fullscreen",size:p.tableIconSize,cursor:"pointer",onClick:()=>{t||o("globalMessage.isEnabledFullscreen"),e()}},null),default:()=>this.isFullscreen?"取消全屏":"全屏表格"})}}),M=()=>Vue.h(h,{name:"draggable",size:p.tableIconSize}),S=({icon:e,title:t,onClick:o,customClassName:a})=>Vue.createVNode(naive.NPopover,{showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:e,size:p.tableIconSize,cursor:"pointer",customClassName:a,onClick:o==null?void 0:o.bind(null)},null),default:()=>t}),w=(e,t)=>{if(!t)return[null,null];for(let o=0;oe.columns.map((l,n)=>{const{key:f,title:c,children:V,fixed:d,isResizable:b,...v}=l,N=d==="left",r=d==="right",i={...v,title:c,key:f,fixed:d,isLeftFixedActivated:N,isRightFixedActivated:r,isResizable:b};return{...i,suffix:()=>Vue.createVNode(naive.NSpace,{wrapItem:!1,style:"padding-left: 32px;"},{default:()=>[Vue.createVNode(S,{icon:"row_head",title:"固定在列首",customClassName:N?"r-table__c-tool-icon--active":"",onClick:u.bind(this,"left",i,n)},null),Vue.createVNode(naive.NPopover,{showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:"resize_h",size:p.tableIconSize,cursor:"pointer",customClassName:b?"r-table__c-tool-icon--active":"",onClick:a.bind(this,i,n)},null),default:()=>"修改列宽"}),Vue.createVNode(S,{icon:"row_end",title:"固定在列尾",customClassName:r?"r-table__c-tool-icon--active":"",onClick:u.bind(this,"right",i,n)},null)]})}}),set:()=>{}}),o=l=>{const{onUpdateColumn:n}=e;n&&g(n,l)},a=(l,n)=>{l.isResizable=!l.isResizable,l.resizable=l.isResizable,t.value[n]=l,o(t.value)},u=(l,n,f)=>{const c=`${l}FixedActivated`,V=`${l==="left"?"right":"left"}FixedActivated`;n[V]=!1,n[c]=!n[c],n[c]?n.fixed=l:n.fixed=void 0,t.value[f]=n,o(t.value)};return{treeDataSource:t,treeDrop:({node:l,dragNode:n,dropPosition:f})=>{const[c,V]=w(n,t.value);if(c===null||V===null)return;c.splice(V,1);const[d,b]=w(l,t.value);d===null||b===null||(f==="before"?d.splice(b,0,n):d.splice(b+1,0,n),o(d))}}},render(){return Vue.createVNode(naive.NPopover,{displayDirective:"show",trigger:"click",showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:"setting",size:p.tableIconSize,cursor:"pointer",customClassName:"r-table__setting"},null),default:()=>Vue.createVNode(naive.NTree,{class:"r-table__c-tree",data:this.treeDataSource,blockLine:!0,draggable:!0,keyboard:!1,labelField:"title",selectable:!1,renderSwitcherIcon:M.bind(this),onDrop:this.treeDrop.bind(this)},null)})}}),I=Vue.defineComponent({name:"PrintTable",props:y,setup(e){const{uuidTable:t}=Vue.inject(p.tableKey,{});return{printTableClick:()=>{const{printTableOptions:a}=e,{type:u="html",printOptions:s={}}=a??{},l=Object.assign(s,{printable:t,type:u,documentTitle:s.documentTitle?s.documentTitle:"表格"});A(l)}}},render(){return Vue.createVNode(naive.NPopover,{showArrow:!1},{trigger:()=>Vue.createVNode(h,{name:"print",size:p.tableIconSize,cursor:"pointer",onClick:this.printTableClick.bind(this)},null),default:()=>"打印表格"})}});function O(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const E=Vue.defineComponent({name:"RTable",props:y,setup(e,t){const{expose:o}=t,a=Vue.ref(null),u=Vue.ref(null),s=z(16),l=z(16),n=Vue.reactive({x:0,y:0,showContextMenu:!1}),f=Vue.reactive({size:e.size}),c=(r,i)=>{const{onContextMenuClick:m}=e;m&&g(m,r,i),n.showContextMenu=!1},V=(r,i)=>{var x;return{...(x=e.rowProps)==null?void 0:x.call(e,r,i),onContextmenu:e.disabledContextMenu?void 0:C=>{C.preventDefault(),n.showContextMenu=!1,Vue.nextTick().then(()=>{n.showContextMenu=!0,n.x=C.clientX,n.y=C.clientY})}}},d=r=>{f.size=r},b=r=>{const{onUpdateColumns:i,"onUpdate:columns":m}=e;i&&g(i,r),m&&g(m,r)},v=()=>{const{toolOptions:r}=e;return r==null?void 0:r.filter(()=>Boolean).map(i=>typeof i=="function"?i():i)},N=r=>{const i=()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(I,r,null),Vue.createVNode(R,Vue.mergeProps(r,{onChangeSize:d.bind(this)}),null),Vue.createVNode(P,null,null),Vue.createVNode(k,Vue.mergeProps(r,{onUpdateColumn:b.bind(this)}),null)]);return e.toolOptions?e.coverTool?v:()=>Vue.createVNode(Vue.Fragment,null,[i(),v()]):i};return Vue.provide(p.tableKey,{uuidTable:l,uuidWrapper:s,wrapperRef:u}),o({rTableInst:a,uuidTable:l,uuidWrapper:s}),{uuidWrapper:s,uuidTable:l,contextMenuReactive:n,rTableInst:a,combineRowProps:V,contextMenuSelect:c,privateReactive:f,tool:N,wrapperRef:u}},render(){const{tool:e}=this;return Vue.createVNode(naive.NCard,Vue.mergeProps({ref:"wrapperRef",bordered:this.wrapperBordered},{id:this.uuidWrapper}),{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NDataTable,Vue.mergeProps({ref:"rTableInst"},{id:this.uuidTable},this.$props,this.$attrs,{rowProps:this.combineRowProps.bind(this),size:this.privateReactive.size}),{...this.$slots}),this.disabledContextMenu?null:Vue.createVNode(naive.NDropdown,{show:this.contextMenuReactive.showContextMenu,placement:"bottom-start",trigger:"manual",x:this.contextMenuReactive.x,y:this.contextMenuReactive.y,options:this.contextMenuOptions,onClickoutside:()=>this.contextMenuReactive.showContextMenu=!1,onSelect:this.contextMenuSelect.bind(this)},null)]),header:T(this.title,{defaultElement:Vue.createVNode("div",{style:"display: none;"},null)}),"header-extra":()=>{let t;return Vue.createVNode(naive.NSpace,{wrapItem:!1,align:"center"},O(t=e(this.$props))?t:{default:()=>[t]})},footer:()=>{var t,o;return(o=(t=this.$slots).tableFooter)==null?void 0:o.call(t)},action:()=>{var t,o;return(o=(t=this.$slots).tableAction)==null?void 0:o.call(t)}})}});export{E as R}; diff --git a/assets/Table-tOO-o-nl.js.gz b/assets/Table-tOO-o-nl.js.gz new file mode 100644 index 00000000..6efbf2c1 Binary files /dev/null and b/assets/Table-tOO-o-nl.js.gz differ diff --git a/assets/Table-tuI1Q-Xg.css b/assets/Table-tuI1Q-Xg.css new file mode 100644 index 00000000..47c322fb --- /dev/null +++ b/assets/Table-tuI1Q-Xg.css @@ -0,0 +1 @@ +.r-table__c-tree .n-tree-node-switcher.n-tree-node-switcher--hide{visibility:visible}.r-table__c-tree .ray-icon.r-table__c-tool-icon--active{color:var(--ray-theme-primary-color)}.r-table__setting:hover{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);-webkit-transition:-webkit-transform .3s var(--r-bezier);transition:-webkit-transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier);transition:transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier)} diff --git a/assets/adjustment-xKF72UgA.js b/assets/adjustment-xKF72UgA.js new file mode 100644 index 00000000..7e24b994 --- /dev/null +++ b/assets/adjustment-xKF72UgA.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1678440512111'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11168'%20width='64'%20height='64'%3e%3cpath%20d='M116.363636%2082.013091c0%2019.595636%2015.872%2035.467636%2035.467637%2035.467636h720.337454a35.467636%2035.467636%200%200%200%200-70.935272H151.831273C132.235636%2046.545455%20116.363636%2062.417455%20116.363636%2082.013091z%20m0%20859.973818C116.363636%20961.582545%20132.235636%20977.454545%20151.831273%20977.454545h720.337454a35.467636%2035.467636%200%201%200%200-70.935272H151.831273c-19.595636%200-35.467636%2015.872-35.467637%2035.467636z%20m511.976728-590.359273a8.587636%208.587636%200%200%200%206.702545-13.847272l-118.690909-150.877091a8.378182%208.378182%200%200%200-13.312%200l-118.690909%20150.877091a8.564364%208.564364%200%200%200%206.725818%2013.847272h78.545455v316.881455H395.636364a8.587636%208.587636%200%200%200-6.702546%2013.847273l118.690909%20150.760727a8.378182%208.378182%200%200%200%2013.312%200l118.690909-150.760727a8.564364%208.564364%200%200%200-6.725818-13.847273h-78.545454V351.650909H628.363636z'%20fill='currentColor'%20p-id='11169'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/adjustment-xKF72UgA.js.gz b/assets/adjustment-xKF72UgA.js.gz new file mode 100644 index 00000000..06939284 Binary files /dev/null and b/assets/adjustment-xKF72UgA.js.gz differ diff --git a/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js b/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js new file mode 100644 index 00000000..fe680bc2 --- /dev/null +++ b/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js @@ -0,0 +1 @@ +import{b as Pe}from"./canvas@2.11.2-dZp4QMlu.js";import{g as Ce,l as Re,u as Ee}from"./js-binary-schema-parser@2.0.3-CCV6nRej.js";var N=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Be={},Jt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QRMath=e.QRUtil=e.QRMaskPattern=e.QRErrorCorrectLevel=e.QRCodeModel=void 0;function u(n,t,a){var s=p(t),r=n-1,i=0;switch(a){case e.QRErrorCorrectLevel.L:i=B[r][0];break;case e.QRErrorCorrectLevel.M:i=B[r][1];break;case e.QRErrorCorrectLevel.Q:i=B[r][2];break;case e.QRErrorCorrectLevel.H:i=B[r][3];break}return s<=i}function o(n,t){for(var a=1,s=p(n),r=0,i=B.length;rB.length)throw new Error("Too long data");return a}function p(n){var t=encodeURI(n).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(n)?3:0)}var v=function(){function n(t){this.mode=c.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;for(var a=[],s=0,r=this.data.length;s65536?(i[0]=240|(f&1835008)>>>18,i[1]=128|(f&258048)>>>12,i[2]=128|(f&4032)>>>6,i[3]=128|f&63):f>2048?(i[0]=224|(f&61440)>>>12,i[1]=128|(f&4032)>>>6,i[2]=128|f&63):f>128?(i[0]=192|(f&1984)>>>6,i[1]=128|f&63):i[0]=f,a.push(i)}this.parsedData=Array.prototype.concat.apply([],a),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}return n.prototype.getLength=function(){return this.parsedData.length},n.prototype.write=function(t){for(var a=0,s=this.parsedData.length;a40)throw new Error("Invalid QR version: "+this.typeNumber);if(!u(this.typeNumber,t,this.errorCorrectLevel))throw new Error("Data is too long for QR version: "+this.typeNumber)}var a=new v(t);this.dataList.push(a),this.dataCache=void 0},n.prototype.isDark=function(t,a){if(t<0||this.moduleCount<=t||a<0||this.moduleCount<=a)throw new Error(t+","+a);return this.modules[t][a]},n.prototype.getModuleCount=function(){return this.moduleCount},n.prototype.make=function(){this.makeImpl(!1,this.getBestMaskPattern())},n.prototype.makeImpl=function(t,a){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var s=0;s=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=n.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,a)},n.prototype.setupPositionProbePattern=function(t,a){for(var s=-1;s<=7;s++)if(!(t+s<=-1||this.moduleCount<=t+s))for(var r=-1;r<=7;r++)a+r<=-1||this.moduleCount<=a+r||(0<=s&&s<=6&&(r==0||r==6)||0<=r&&r<=6&&(s==0||s==6)||2<=s&&s<=4&&2<=r&&r<=4?this.modules[t+s][a+r]=!0:this.modules[t+s][a+r]=!1)},n.prototype.getBestMaskPattern=function(){if(Number.isInteger(this.maskPattern)&&Object.values(e.QRMaskPattern).includes(this.maskPattern))return this.maskPattern;for(var t=0,a=0,s=0;s<8;s++){this.makeImpl(!0,s);var r=P.getLostPoint(this);(s==0||t>r)&&(t=r,a=s)}return a},n.prototype.setupTimingPattern=function(){for(var t=8;t>s&1)==1;this.modules[Math.floor(s/3)][s%3+this.moduleCount-8-3]=r}for(var s=0;s<18;s++){var r=!t&&(a>>s&1)==1;this.modules[s%3+this.moduleCount-8-3][Math.floor(s/3)]=r}},n.prototype.setupTypeInfo=function(t,a){for(var s=this.errorCorrectLevel<<3|a,r=P.getBCHTypeInfo(s),i=0;i<15;i++){var f=!t&&(r>>i&1)==1;i<6?this.modules[i][8]=f:i<8?this.modules[i+1][8]=f:this.modules[this.moduleCount-15+i][8]=f}for(var i=0;i<15;i++){var f=!t&&(r>>i&1)==1;i<8?this.modules[8][this.moduleCount-i-1]=f:i<9?this.modules[8][15-i-1+1]=f:this.modules[8][15-i-1]=f}this.modules[this.moduleCount-8][8]=!t},n.prototype.mapData=function(t,a){for(var s=-1,r=this.moduleCount-1,i=7,f=0,l=this.moduleCount-1;l>0;l-=2)for(l==6&&l--;;){for(var d=0;d<2;d++)if(this.modules[r][l-d]==null){var m=!1;f>>i&1)==1);var _=P.getMask(a,r,l-d);_&&(m=!m),this.modules[r][l-d]=m,i--,i==-1&&(f++,i=7)}if(r+=s,r<0||this.moduleCount<=r){r-=s,s=-s;break}}},n.createData=function(t,a,s){for(var r=T.getRSBlocks(t,a),i=new E,f=0;fd*8)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+d*8+")");for(i.getLengthInBits()+4<=d*8&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=d*8||(i.put(n.PAD0,8),i.getLengthInBits()>=d*8));)i.put(n.PAD1,8);return n.createBytes(i,r)},n.createBytes=function(t,a){for(var s=0,r=0,i=0,f=new Array(a.length),l=new Array(a.length),d=0;d=0?h.get(L):0}}for(var R=0,y=0;y=0;)a^=n.G15<=0;)a^=n.G18<>>=1;return a},n.getPatternPosition=function(t){return n.PATTERN_POSITION_TABLE[t-1]},n.getMask=function(t,a,s){switch(t){case e.QRMaskPattern.PATTERN000:return(a+s)%2==0;case e.QRMaskPattern.PATTERN001:return a%2==0;case e.QRMaskPattern.PATTERN010:return s%3==0;case e.QRMaskPattern.PATTERN011:return(a+s)%3==0;case e.QRMaskPattern.PATTERN100:return(Math.floor(a/2)+Math.floor(s/3))%2==0;case e.QRMaskPattern.PATTERN101:return a*s%2+a*s%3==0;case e.QRMaskPattern.PATTERN110:return(a*s%2+a*s%3)%2==0;case e.QRMaskPattern.PATTERN111:return(a*s%3+(a+s)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},n.getErrorCorrectPolynomial=function(t){for(var a=new w([1],0),s=0;s5&&(s+=3+f-5)}for(var r=0;r=256;)t-=255;return n.EXP_TABLE[t]},n.EXP_TABLE=new Array(256),n.LOG_TABLE=new Array(256),n._constructor=function(){for(var t=0;t<8;t++)n.EXP_TABLE[t]=1<>>7-t%8&1)==1},n.prototype.put=function(t,a){for(var s=0;s>>a-s-1&1)==1)},n.prototype.getLengthInBits=function(){return this.length},n.prototype.putBit=function(t){var a=Math.floor(this.length/8);this.buffer.length<=a&&this.buffer.push(0),t&&(this.buffer[a]|=128>>>this.length%8),this.length++},n}(),B=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]]})(Jt);var It={},pe={},Ft={};Object.defineProperty(Ft,"__esModule",{value:!0});Ft.deinterlace=void 0;Ft.deinterlace=function(e,u){for(var o=new Array(e.length),p=e.length/u,v=function(T,E){var B=e.slice(E*u,(E+1)*u);o.splice.apply(o,[T*u,u].concat(B))},g=[0,4,2,1],c=[8,8,4,2],P=0,b=0;b<4;b++)for(var w=g[b];w>=w,d-=w,n>c||n==T)break;if(n==P){w=a+1,b=(1<P;)f[_++]=i[n],n=r[n];m=i[n]&255,f[_++]=m,c>Zt,Ae=Wt<>3,Xt=6,Le=1<>3);var r,i;for(r=0;r>=rt,o[r][1]>>=rt,o[r][2]>>=rt,o[r][3]=r}function w(r,i,f,l,d){o[i][0]-=r*(o[i][0]-f)/Tt,o[i][1]-=r*(o[i][1]-l)/Tt,o[i][2]-=r*(o[i][2]-d)/Tt}function T(r,i,f,l,d){for(var m=Math.abs(i-r),_=Math.min(i+r,Q),y=i+1,D=i-1,M=1,h,L;y<_||D>m;)L=c[M++],y<_&&(h=o[y++],h[0]-=L*(h[0]-f)/lt,h[1]-=L*(h[1]-l)/lt,h[2]-=L*(h[2]-d)/lt),D>m&&(h=o[D--],h[0]-=L*(h[0]-f)/lt,h[1]-=L*(h[1]-l)/lt,h[2]-=L*(h[2]-d)/lt)}function E(r,i,f){var l=2147483647,d=l,m=-1,_=m,y,D,M,h,L;for(y=0;y>me-rt),h>Zt,g[y]-=L,v[y]+=L<>1,i=_+1;i>1,i=_+1;i<256;i++)p[i]=le}function n(r,i,f){for(var l,d,m,_=1e3,y=-1,D=p[i],M=D-1;D=0;)D=_?D=Q:(D++,m<0&&(m=-m),l=d[0]-r,l<0&&(l=-l),m+=l,m<_&&(l=d[2]-f,l<0&&(l=-l),m+=l,m<_&&(_=m,y=d[3])))),M>=0&&(d=o[M],m=i-d[1],m>=_?M=-1:(M--,m<0&&(m=-m),l=d[0]-r,l<0&&(l=-l),m+=l,m<_&&(l=d[2]-f,l<0&&(l=-l),m+=l,m<_&&(_=m,y=d[3]))));return y}function t(){var r,i=e.length,f=30+(u-1)/3,l=i/(3*u),d=~~(l/Te),m=Tt,_=ke,y=_>>Xt;for(y<=1&&(y=0),r=0;r=i&&(A-=i),r++,d===0&&(d=1),r%d===0)for(m-=m/f,_-=_/Ie,y=_>>Xt,y<=1&&(y=0),R=0;R=254&&D(A)}function d(R){m(bt),E=a+2,n=!0,L(a,R)}function m(R){for(var A=0;A=0){Z=q-F,F===0&&(Z=1);do if((F-=Z)<0&&(F+=q),c[F]===C){j=P[F];continue t}while(c[F]>=0)}L(j,A),j=Y,E<1<0&&(R.writeByte(T),R.writeBytes(g,0,T),T=0)}function M(R){return(1<0?b|=R<=8;)l(b&255,A),b>>=8,w-=8;if((E>B||n)&&(n?(B=M(f=t),n=!1):(++f,f==Dt?B=1<0;)l(b&255,A),b>>=8,w-=8;D(A)}}this.encode=y}var Ge=Ne,Ue=Oe,He=Ge;function G(){this.page=-1,this.pages=[],this.newPage()}G.pageSize=4096;G.charMap={};for(var At=0;At<256;At++)G.charMap[At]=String.fromCharCode(At);G.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(G.pageSize),this.cursor=0};G.prototype.getData=function(){for(var e="",u=0;u=G.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=e};G.prototype.writeUTFBytes=function(e){for(var u=e.length,o=0;o=0&&(this.dispose=e)};I.prototype.setRepeat=function(e){this.repeat=e};I.prototype.setTransparent=function(e){this.transparent=e};I.prototype.addFrame=function(e){this.image=e,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};I.prototype.finish=function(){this.out.writeByte(59)};I.prototype.setQuality=function(e){e<1&&(e=1),this.sample=e};I.prototype.setDither=function(e){e===!0&&(e="FloydSteinberg"),this.dither=e};I.prototype.setGlobalPalette=function(e){this.globalPalette=e};I.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};I.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};I.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new Ue(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};I.prototype.indexPixels=function(e){var u=this.pixels.length/3;this.indexedPixels=new Uint8Array(u);for(var o=0,p=0;p=0&&y+T=0&&D+w>16,(e&65280)>>8,e&255,u)};I.prototype.findClosestRGB=function(e,u,o,p){if(this.colorTab===null)return-1;if(this.neuQuant&&!p)return this.neuQuant.lookupRGB(e,u,o);for(var v=0,g=256*256*256,c=this.colorTab.length,P=0,b=0;P=0&&(u=this.dispose&7),u<<=2,this.out.writeByte(0|u|0|e),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};I.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};I.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};I.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};I.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var e=3*256-this.colorTab.length,u=0;u>8&255)};I.prototype.writePixels=function(){var e=new He(this.width,this.height,this.indexedPixels,this.colorDepth);e.encode(this.out)};I.prototype.stream=function(){return this.out};var ze=I,kt=N&&N.__assign||function(){return kt=Object.assign||function(e){for(var u,o=1,p=arguments.length;o0&&g[g.length-1])&&(w[0]===6||w[0]===2)){o=0;continue}if(w[0]===3&&(!g||w[1]>g[0]&&w[1]1)throw new Error("dotScale should be in range (0, 1].");o.components.data.scale=o.dotScale,o.components.timing.scale=o.dotScale,o.components.alignment.scale=o.dotScale}this.options=o,this.canvas=J.createCanvas(u.size,u.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new Mt.QRCodeModel(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}return e.prototype.draw=function(){var u=this;return new Promise(function(o){return u._draw().then(o)})},e.prototype._clear=function(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)},e._prepareRoundedCornerClip=function(u,o,p,v,g,c){u.beginPath(),u.moveTo(o,p),u.arcTo(o+v,p,o+v,p+g,c),u.arcTo(o+v,p+g,o,p+g,c),u.arcTo(o,p+g,o,p,c),u.arcTo(o,p,o+v,p,c),u.closePath()},e._getAverageRGB=function(u){var o=5,p={r:0,g:0,b:0},v,g,c=-4,P={r:0,g:0,b:0},b=0;g=u.naturalHeight||u.height,v=u.naturalWidth||u.width;var w=J.createCanvas(v,g),T=w.getContext("2d");if(!T)return p;T.drawImage(u,0,0);var E;try{E=T.getImageData(0,0,v,g)}catch{return p}for(;(c+=o*4)200||E.data[c+1]>200||E.data[c+2]>200||(++b,P.r+=E.data[c],P.g+=E.data[c+1],P.b+=E.data[c+2]);return P.r=~~(P.r/b),P.g=~~(P.g/b),P.b=~~(P.b/b),P},e._drawDot=function(u,o,p,v,g,c){g===void 0&&(g=0),c===void 0&&(c=1),u.fillRect((o+g)*v,(p+g)*v,c*v,c*v)},e._drawAlignProtector=function(u,o,p,v){u.clearRect((o-2)*v,(p-2)*v,5*v,5*v),u.fillRect((o-2)*v,(p-2)*v,5*v,5*v)},e._drawAlign=function(u,o,p,v,g,c,P,b){g===void 0&&(g=0),c===void 0&&(c=1);var w=u.fillStyle;u.fillStyle=P,new Array(4).fill(0).map(function(T,E){e._drawDot(u,o-2+E,p-2,v,g,c),e._drawDot(u,o+2,p-2+E,v,g,c),e._drawDot(u,o+2-E,p+2,v,g,c),e._drawDot(u,o-2,p+2-E,v,g,c)}),e._drawDot(u,o,p,v,g,c),b||(u.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map(function(T,E){e._drawDot(u,o-1+E,p-1,v,g,c),e._drawDot(u,o+1,p-1+E,v,g,c),e._drawDot(u,o+1-E,p+1,v,g,c),e._drawDot(u,o-1,p+1-E,v,g,c)})),u.fillStyle=w},e.prototype._draw=function(){var u,o,p,v,g,c,P,b,w,T,E,B,n,t,a,s,r,i,f;return je(this,void 0,void 0,function(){var l,d,m,_,y,D,M,h,L,R,A,C,Y,F,j,Z,q,K,ft,ut,ht,k,W,ct,yt,x,at,xt,O,S,Ot,nt,$t,X,k,St,Nt,Vt,U,Yt,k,$,H,z,_t,Gt,k,Ut,qt,Ht,te,k,$,H,z,ee,vt,tt,gt,et,dt,Pt,re,V,ot,pt,st,zt,Ct,ie,ae,jt,ne;return Ke(this,function(mt){switch(mt.label){case 0:if(l=(u=this.qrCode)===null||u===void 0?void 0:u.moduleCount,d=this.options.size,m=this.options.margin,(m<0||m*2>=d)&&(m=0),_=Math.ceil(m),y=d-2*m,D=this.options.whiteMargin,M=this.options.backgroundDimming,h=Math.ceil(y/l),L=h*l,R=L+2*_,A=J.createCanvas(R,R),C=A.getContext("2d"),this._clear(),C.save(),C.translate(_,_),Y=J.createCanvas(R,R),F=Y.getContext("2d"),j=null,Z=[],!this.options.gifBackground)return[3,1];if(q=ge.parseGIF(this.options.gifBackground),j=q,Z=ge.decompressFrames(q,!0),this.options.autoColor){for(K=0,ft=0,ut=0,ht=0,k=0;k200||W[1]>200||W[2]>200)&&(W[0]===0&&W[1]===0&&W[2]===0||(ht++,K+=W[0],ft+=W[1],ut+=W[2]));K=~~(K/ht),ft=~~(ft/ht),ut=~~(ut/ht),this.options.colorDark="rgb("+K+","+ft+","+ut+")"}return[3,4];case 1:return this.options.backgroundImage?[4,J.loadImage(this.options.backgroundImage)]:[3,3];case 2:return ct=mt.sent(),this.options.autoColor&&(yt=e._getAverageRGB(ct),this.options.colorDark="rgb("+yt.r+","+yt.g+","+yt.b+")"),F.drawImage(ct,0,0,ct.width,ct.height,0,0,R,R),F.rect(0,0,R,R),F.fillStyle=M,F.fill(),[3,4];case 3:F.rect(0,0,R,R),F.fillStyle=this.options.colorLight,F.fill(),mt.label=4;case 4:for(x=Mt.QRUtil.getPatternPosition(this.qrCode.typeNumber),at=((p=(o=this.options.components)===null||o===void 0?void 0:o.data)===null||p===void 0?void 0:p.scale)||Lt,xt=(1-at)*.5,O=0;O=l-8)||S>=l-8&&O<8,$t=O==6&&S>=8&&S<=l-8||S==6&&O>=8&&O<=l-8,X=nt||$t,k=1;k=x[k]-2&&O<=x[k]+2&&S>=x[k]-2&&S<=x[k]+2;St=S*h+(X?0:xt*h),Nt=O*h+(X?0:xt*h),C.strokeStyle=Ot?this.options.colorDark:this.options.colorLight,C.lineWidth=.5,C.fillStyle=Ot?this.options.colorDark:"rgba(255, 255, 255, 0.6)",x.length===0?X||C.fillRect(St,Nt,(X?1:at)*h,(X?1:at)*h):(Vt=S=l-4-5&&O=l-4-5,!X&&!Vt&&C.fillRect(St,Nt,(X?1:at)*h,(X?1:at)*h))}if(U=x[x.length-1],Yt="rgba(255, 255, 255, 0.6)",C.fillStyle=Yt,C.fillRect(0,0,8*h,8*h),C.fillRect(0,(l-8)*h,8*h,8*h),C.fillRect((l-8)*h,0,8*h,8*h),!((g=(v=this.options.components)===null||v===void 0?void 0:v.timing)===null||g===void 0)&&g.protectors&&(C.fillRect(8*h,6*h,(l-8-8)*h,h),C.fillRect(6*h,8*h,h,(l-8-8)*h)),!((P=(c=this.options.components)===null||c===void 0?void 0:c.cornerAlignment)===null||P===void 0)&&P.protectors&&e._drawAlignProtector(C,U,U,h),!((w=(b=this.options.components)===null||b===void 0?void 0:b.alignment)===null||w===void 0)&&w.protectors){for(k=0;k=1)&&(vt=.2),tt<0&&(tt=0),gt<0&&(gt=0),et=L*vt,dt=.5*(R-et),Pt=dt,C.restore(),C.fillStyle="#FFFFFF",C.save(),e._prepareRoundedCornerClip(C,dt-tt,Pt-tt,et+2*tt,et+2*tt,gt+tt),C.clip(),re=C.globalCompositeOperation,C.globalCompositeOperation="destination-out",C.fill(),C.globalCompositeOperation=re,C.restore(),C.save(),e._prepareRoundedCornerClip(C,dt,Pt,et,et,gt),C.clip(),C.drawImage(ee,dt,Pt,et,et),C.restore(),C.save(),C.translate(_,_),mt.label=6;case 6:if(j){if(Z.forEach(function(it){V||(V=new Je.default(d,d),V.setDelay(it.delay),V.setRepeat(0));var Rt=it.dims,Et=Rt.width,Bt=Rt.height;ot||(ot=J.createCanvas(Et,Bt),pt=ot.getContext("2d"),pt.rect(0,0,ot.width,ot.height),pt.fillStyle="#ffffff",pt.fill()),(!st||!Ct||Et!==st.width||Bt!==st.height)&&(st=J.createCanvas(Et,Bt),zt=st.getContext("2d"),Ct=zt.createImageData(Et,Bt)),Ct.data.set(it.patch),zt.putImageData(Ct,0,0),pt.drawImage(st,it.dims.left,it.dims.top);var oe=J.createCanvas(R,R),wt=oe.getContext("2d");wt.drawImage(ot,0,0,R,R),wt.rect(0,0,R,R),wt.fillStyle=M,wt.fill(),wt.drawImage(A,0,0,R,R);var Kt=J.createCanvas(d,d),se=Kt.getContext("2d");se.drawImage(oe,0,0,d,d),V.addFrame(se.getImageData(0,0,Kt.width,Kt.height).data)}),!V)throw new Error("No frames.");return V.finish(),de(this.canvas)?(ie=V.stream().toFlattenUint8Array(),ae=ie.reduce(function(it,Rt){return it+String.fromCharCode(Rt)},""),[2,Promise.resolve("data:image/gif;base64,"+window.btoa(ae))]):[2,Promise.resolve(Buffer.from(V.stream().toFlattenUint8Array()))]}else return F.drawImage(A,0,0,R,R),C.drawImage(Y,-_,-_,R,R),jt=J.createCanvas(d,d),ne=jt.getContext("2d"),ne.drawImage(A,0,0,d,d),this.canvas=jt,de(this.canvas)?[2,Promise.resolve(this.canvas.toDataURL())]:[2,Promise.resolve(this.canvas.toBuffer())]}})})},e.CorrectLevel=Mt.QRErrorCorrectLevel,e.defaultComponentOptions={data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}},e.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"#ffffff",correctLevel:Mt.QRErrorCorrectLevel.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:e.defaultComponentOptions,autoColor:!0},e}();It.AwesomeQR=We;function de(e){try{return e instanceof HTMLElement}catch{return typeof e=="object"&&e.nodeType===1&&typeof e.style=="object"&&typeof e.ownerDocument=="object"}}(function(e){var u=N&&N.__createBinding||(Object.create?function(v,g,c,P){P===void 0&&(P=c),Object.defineProperty(v,P,{enumerable:!0,get:function(){return g[c]}})}:function(v,g,c,P){P===void 0&&(P=c),v[P]=g[c]}),o=N&&N.__exportStar||function(v,g){for(var c in v)c!=="default"&&!g.hasOwnProperty(c)&&u(g,v,c)};Object.defineProperty(e,"__esModule",{value:!0}),o(Jt,e);var p=It;Object.defineProperty(e,"AwesomeQR",{enumerable:!0,get:function(){return p.AwesomeQR}})})(Be);export{N as c,Ve as g,Be as l}; diff --git a/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js.gz b/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js.gz new file mode 100644 index 00000000..d862aeb9 Binary files /dev/null and b/assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js.gz differ diff --git a/assets/axios-YSlog9Ro.js b/assets/axios-YSlog9Ro.js new file mode 100644 index 00000000..3a0877c3 --- /dev/null +++ b/assets/axios-YSlog9Ro.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1670221189479'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1642'%20width='64'%20height='64'%3e%3cpath%20fill='currentColor'%20d='M810.666667%20648.533333V298.666667c0-46.933333-38.4-85.333333-85.333334-85.333334h-85.333333V85.333333l-170.666667%20170.666667%20170.666667%20170.666667V298.666667h85.333333v349.866666c-51.2%2017.066667-85.333333%2064-85.333333%20119.466667%200%2072.533333%2055.466667%20128%20128%20128s128-55.466667%20128-128c0-55.466667-34.133333-102.4-85.333333-119.466667zM768%20810.666667c-25.6%200-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667%2042.666667-42.666667%2042.666667%2017.066667%2042.666667%2042.666667-17.066667%2042.666667-42.666667%2042.666667zM384%20256c0-72.533333-55.466667-128-128-128S128%20183.466667%20128%20256c0%2055.466667%2034.133333%20102.4%2085.333333%20119.466667v268.8c-51.2%2017.066667-85.333333%2064-85.333333%20119.466666%200%2072.533333%2055.466667%20128%20128%20128s128-55.466667%20128-128c0-55.466667-34.133333-102.4-85.333333-119.466666V375.466667C349.866667%20358.4%20384%20311.466667%20384%20256zM256%20810.666667c-25.6%200-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667%2042.666667-42.666667%2042.666667%2017.066667%2042.666667%2042.666667-17.066667%2042.666667-42.666667%2042.666667zM256%20298.666667c-25.6%200-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667%2042.666667-42.666667%2042.666667%2017.066667%2042.666667%2042.666667-17.066667%2042.666667-42.666667%2042.666667z'%20p-id='1643'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/axios-YSlog9Ro.js.gz b/assets/axios-YSlog9Ro.js.gz new file mode 100644 index 00000000..b522c980 Binary files /dev/null and b/assets/axios-YSlog9Ro.js.gz differ diff --git a/assets/call-bind@1.0.2-8lNE5ocE.js b/assets/call-bind@1.0.2-8lNE5ocE.js new file mode 100644 index 00000000..54815611 --- /dev/null +++ b/assets/call-bind@1.0.2-8lNE5ocE.js @@ -0,0 +1 @@ +import{g as f}from"./get-intrinsic@1.2.1-NE0DZZ3B.js";import{f as B}from"./function-bind@1.1.1-Y6-kkB5s.js";var v={exports:{}};(function(a){var n=B,r=f,e=r("%Function.prototype.apply%"),p=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||n.call(p,e),o=r("%Object.getOwnPropertyDescriptor%",!0),t=r("%Object.defineProperty%",!0),g=r("%Math.max%");if(t)try{t({},"a",{value:1})}catch{t=null}a.exports=function(d){var i=l(n,p,arguments);if(o&&t){var x=o(i,"length");x.configurable&&t(i,"length",{value:1+g(0,d.length-(arguments.length-1))})}return i};var c=function(){return l(n,e,arguments)};t?t(a.exports,"apply",{value:c}):a.exports.apply=c})(v);var $=v.exports,s=f,y=$,h=y(s("String.prototype.indexOf")),b=function(n,r){var e=s(n,!!r);return typeof e=="function"&&h(n,".prototype.")>-1?y(e):e};export{b as c}; diff --git a/assets/canvas@2.11.2-dZp4QMlu.js b/assets/canvas@2.11.2-dZp4QMlu.js new file mode 100644 index 00000000..36ebc6b2 --- /dev/null +++ b/assets/canvas@2.11.2-dZp4QMlu.js @@ -0,0 +1 @@ +var i={};const u="bold|bolder|lighter|[1-9]00",g="italic|oblique",d="small-caps",p="ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded",h="px|pt|pc|in|cm|mm|%|em|ex|ch|rem|q",m=`'([^']+)'|"([^"]+)"|[\\w\\s-]+`,w=new RegExp(`(${u}) +`,"i"),x=new RegExp(`(${g}) +`,"i"),b=new RegExp(`(${d}) +`,"i"),f=new RegExp(`(${p}) +`,"i"),z=new RegExp(`([\\d\\.]+)(${h}) *((?:${m})( *, *(?:${m}))*)`),o={},R=16;var v=n=>{if(o[n])return o[n];const t=z.exec(n);if(!t)return;const e={weight:"normal",style:"normal",stretch:"normal",variant:"normal",size:parseFloat(t[1]),unit:t[2],family:t[3].replace(/["']/g,"").replace(/ *, */g,",")};let c,a,s,l;const r=n.substring(0,t.index);switch((c=w.exec(r))&&(e.weight=c[1]),(a=x.exec(r))&&(e.style=a[1]),(s=b.exec(r))&&(e.variant=s[1]),(l=f.exec(r))&&(e.stretch=l[1]),e.unit){case"pt":e.size/=.75;break;case"pc":e.size*=16;break;case"in":e.size*=96;break;case"cm":e.size*=96/2.54;break;case"mm":e.size*=96/25.4;break;case"%":break;case"em":case"rem":e.size*=R/.75;break;case"q":e.size*=96/25.4/4;break}return o[n]=e};const k=v;i.parseFont=k;i.createCanvas=function(n,t){return Object.assign(document.createElement("canvas"),{width:n,height:t})};i.createImageData=function(n,t,e){switch(arguments.length){case 0:return new ImageData;case 1:return new ImageData(n);case 2:return new ImageData(n,t);default:return new ImageData(n,t,e)}};i.loadImage=function(n,t){return new Promise(function(e,c){const a=Object.assign(document.createElement("img"),t);function s(){a.onload=null,a.onerror=null}a.onload=function(){s(),e(a)},a.onerror=function(){s(),c(new Error('Failed to load the image "'+n+'"'))},a.src=n})};export{i as b}; diff --git a/assets/canvas@2.11.2-dZp4QMlu.js.gz b/assets/canvas@2.11.2-dZp4QMlu.js.gz new file mode 100644 index 00000000..54f439ef Binary files /dev/null and b/assets/canvas@2.11.2-dZp4QMlu.js.gz differ diff --git a/assets/clipboard@2.0.11-1jqEMlOW.js b/assets/clipboard@2.0.11-1jqEMlOW.js new file mode 100644 index 00000000..8694e77a --- /dev/null +++ b/assets/clipboard@2.0.11-1jqEMlOW.js @@ -0,0 +1,6 @@ +import{c as X,g as $}from"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";var R={exports:{}};/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(N,K){(function(S,b){N.exports=b()})(X,function(){return function(){var L={686:function(l,c,t){t.d(c,{default:function(){return V}});var a=t(279),f=t.n(a),s=t(370),h=t.n(s),y=t(817),g=t.n(y);function d(i){try{return document.execCommand(i)}catch{return!1}}var v=function(n){var e=g()(n);return d("cut"),e},p=v;function E(i){var n=document.documentElement.getAttribute("dir")==="rtl",e=document.createElement("textarea");e.style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return e.style.top="".concat(r,"px"),e.setAttribute("readonly",""),e.value=i,e}var k=function(n,e){var r=E(n);e.container.appendChild(r);var o=g()(r);return d("copy"),r.remove(),o},M=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},r="";return typeof n=="string"?r=k(n,e):n instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(n==null?void 0:n.type)?r=k(n.value,e):(r=g()(n),d("copy")),r},A=M;function x(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(e){return typeof e}:x=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(i)}var j=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.action,r=e===void 0?"copy":e,o=n.container,u=n.target,m=n.text;if(r!=="copy"&&r!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(u!==void 0)if(u&&x(u)==="object"&&u.nodeType===1){if(r==="copy"&&u.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(r==="cut"&&(u.hasAttribute("readonly")||u.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(m)return A(m,{container:o});if(u)return r==="cut"?p(u):A(u,{container:o})},D=j;function _(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(e){return typeof e}:_=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(i)}function F(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function P(i,n){for(var e=0;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function T(i){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(i)}function O(i,n){var e="data-clipboard-".concat(i);if(n.hasAttribute(e))return n.getAttribute(e)}var J=function(i){I(e,i);var n=z(e);function e(r,o){var u;return F(this,e),u=n.call(this),u.resolveOptions(o),u.listenClick(r),u}return H(e,[{key:"resolveOptions",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof o.action=="function"?o.action:this.defaultAction,this.target=typeof o.target=="function"?o.target:this.defaultTarget,this.text=typeof o.text=="function"?o.text:this.defaultText,this.container=_(o.container)==="object"?o.container:document.body}},{key:"listenClick",value:function(o){var u=this;this.listener=h()(o,"click",function(m){return u.onClick(m)})}},{key:"onClick",value:function(o){var u=o.delegateTarget||o.currentTarget,m=this.action(u)||"copy",w=D({action:m,container:this.container,target:this.target(u),text:this.text(u)});this.emit(w?"success":"error",{action:m,text:w,trigger:u,clearSelection:function(){u&&u.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(o){return O("action",o)}},{key:"defaultTarget",value:function(o){var u=O("target",o);if(u)return document.querySelector(u)}},{key:"defaultText",value:function(o){return O("text",o)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(o,u)}},{key:"cut",value:function(o){return p(o)}},{key:"isSupported",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],u=typeof o=="string"?[o]:o,m=!!document.queryCommandSupported;return u.forEach(function(w){m=m&&!!document.queryCommandSupported(w)}),m}}]),e}(f()),V=J},828:function(l){var c=9;if(typeof Element<"u"&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}function a(f,s){for(;f&&f.nodeType!==c;){if(typeof f.matches=="function"&&f.matches(s))return f;f=f.parentNode}}l.exports=a},438:function(l,c,t){var a=t(828);function f(y,g,d,v,p){var E=h.apply(this,arguments);return y.addEventListener(d,E,p),{destroy:function(){y.removeEventListener(d,E,p)}}}function s(y,g,d,v,p){return typeof y.addEventListener=="function"?f.apply(null,arguments):typeof d=="function"?f.bind(null,document).apply(null,arguments):(typeof y=="string"&&(y=document.querySelectorAll(y)),Array.prototype.map.call(y,function(E){return f(E,g,d,v,p)}))}function h(y,g,d,v){return function(p){p.delegateTarget=a(p.target,g),p.delegateTarget&&v.call(y,p)}}l.exports=s},879:function(l,c){c.node=function(t){return t!==void 0&&t instanceof HTMLElement&&t.nodeType===1},c.nodeList=function(t){var a=Object.prototype.toString.call(t);return t!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in t&&(t.length===0||c.node(t[0]))},c.string=function(t){return typeof t=="string"||t instanceof String},c.fn=function(t){var a=Object.prototype.toString.call(t);return a==="[object Function]"}},370:function(l,c,t){var a=t(879),f=t(438);function s(d,v,p){if(!d&&!v&&!p)throw new Error("Missing required arguments");if(!a.string(v))throw new TypeError("Second argument must be a String");if(!a.fn(p))throw new TypeError("Third argument must be a Function");if(a.node(d))return h(d,v,p);if(a.nodeList(d))return y(d,v,p);if(a.string(d))return g(d,v,p);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function h(d,v,p){return d.addEventListener(v,p),{destroy:function(){d.removeEventListener(v,p)}}}function y(d,v,p){return Array.prototype.forEach.call(d,function(E){E.addEventListener(v,p)}),{destroy:function(){Array.prototype.forEach.call(d,function(E){E.removeEventListener(v,p)})}}}function g(d,v,p){return f(document.body,d,v,p)}l.exports=s},817:function(l){function c(t){var a;if(t.nodeName==="SELECT")t.focus(),a=t.value;else if(t.nodeName==="INPUT"||t.nodeName==="TEXTAREA"){var f=t.hasAttribute("readonly");f||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),f||t.removeAttribute("readonly"),a=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var s=window.getSelection(),h=document.createRange();h.selectNodeContents(t),s.removeAllRanges(),s.addRange(h),a=s.toString()}return a}l.exports=c},279:function(l){function c(){}c.prototype={on:function(t,a,f){var s=this.e||(this.e={});return(s[t]||(s[t]=[])).push({fn:a,ctx:f}),this},once:function(t,a,f){var s=this;function h(){s.off(t,h),a.apply(f,arguments)}return h._=a,this.on(t,h,f)},emit:function(t){var a=[].slice.call(arguments,1),f=((this.e||(this.e={}))[t]||[]).slice(),s=0,h=f.length;for(s;s2&&arguments[2]!==void 0?arguments[2]:!0,r=0,n=t.decimal,s=t.errorOnInvalid,c=t.precision,l=t.fromCents,u=d(c),o=typeof i=="number",p=i instanceof a;if(p&&l)return i.intValue;if(o||p)r=p?i.value:i;else if(typeof i=="string"){var g=new RegExp("[^-\\d"+n+"]","g"),v=new RegExp("\\"+n,"g");r=i.replace(/\((.*)\)/,"-$1").replace(g,"").replace(v,"."),r=r||0}else{if(s)throw Error("Invalid Input");r=0}return l||(r*=u,r=r.toFixed(4)),e?h(r):r}function y(i,t){var e=t.pattern,r=t.negativePattern,n=t.symbol,s=t.separator,c=t.decimal,l=t.groups,u=(""+i).replace(/^-/,"").split("."),o=u[0],p=u[1];return(i.value>=0?e:r).replace("!",n).replace("#",o.replace(l,"$1"+s)+(p?c+p:""))}a.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return a((e+=f(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return a((e-=f(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return a((e*=t)/(r.fromCents?1:d(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return a(e/=f(t,r,!1),r)},distribute:function(t){for(var e=this.intValue,r=this.p,n=this.s,s=[],c=Math[e>=0?"floor":"ceil"](e/t),l=Math.abs(e-c*t),u=n.fromCents?1:r;t!==0;t--){var o=a(c/u,n);l-- >0&&(o=o[e>=0?"add":"subtract"](1/u)),s.push(o)}return s},dollars:function(){return~~this.value},cents:function(){var t=this.intValue,e=this.p;return~~(t%e)},format:function(t){var e=this.s;return typeof t=="function"?t(this,e):e.format(this,Object.assign({},e,t))},toString:function(){var t=this.intValue,e=this.p,r=this.s;return V(t/e,r.increment).toFixed(r.precision)},toJSON:function(){return this.value}};export{a as c}; diff --git a/assets/currency.js@2.0.4--or6eeOG.js.gz b/assets/currency.js@2.0.4--or6eeOG.js.gz new file mode 100644 index 00000000..fe348315 Binary files /dev/null and b/assets/currency.js@2.0.4--or6eeOG.js.gz differ diff --git a/assets/dark-a3Shlz-3.js b/assets/dark-a3Shlz-3.js new file mode 100644 index 00000000..1a6439d6 --- /dev/null +++ b/assets/dark-a3Shlz-3.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20t='1669094703884'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='24094'%20width='200'%20height='200'%3e%3cpath%20d='M335.22%20240.91c0-57.08%2010.68-111.66%2030.15-161.87-167.51%2064.86-286.3%20227.51-286.3%20417.92%200%20247.42%20200.58%20448%20448%20448%20190.34%200%20352.95-118.71%20417.85-286.13-50.16%2019.42-104.69%2030.08-161.71%2030.08-247.41%200-447.99-200.57-447.99-448z'%20fill='%23ffd93d'%20p-id='24095'%3e%3c/path%3e%3c/svg%3e";export{t as default}; diff --git a/assets/dashboard-VSK8Ksb1.js b/assets/dashboard-VSK8Ksb1.js new file mode 100644 index 00000000..d1fe9a78 --- /dev/null +++ b/assets/dashboard-VSK8Ksb1.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1669019958375'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7190'%20width='200'%20height='200'%3e%3cpath%20d='M924.8%20385.6c-22.6-53.4-54.9-101.3-96-142.4-41.1-41.1-89-73.4-142.4-96C631.1%20123.8%20572.5%20112%20512%20112s-119.1%2011.8-174.4%2035.2c-53.4%2022.6-101.3%2054.9-142.4%2096-41.1%2041.1-73.4%2089-96%20142.4C75.8%20440.9%2064%20499.5%2064%20560c0%20132.7%2058.3%20257.7%20159.9%20343.1l1.7%201.4c5.8%204.8%2013.1%207.5%2020.6%207.5h531.7c7.5%200%2014.8-2.7%2020.6-7.5l1.7-1.4C901.7%20817.7%20960%20692.7%20960%20560c0-60.5-11.9-119.1-35.2-174.4zM761.4%20836H262.6C184.5%20765.5%20140%20665.6%20140%20560c0-99.4%2038.7-192.8%20109-263%2070.3-70.3%20163.7-109%20263-109%2099.4%200%20192.8%2038.7%20263%20109%2070.3%2070.3%20109%20163.7%20109%20263%200%20105.6-44.5%20205.5-122.6%20276z'%20p-id='7191'%20fill='currentColor'%3e%3c/path%3e%3cpath%20d='M623.5%20421.5c-3.1-3.1-8.2-3.1-11.3%200L527.7%20506c-18.7-5-39.4-0.2-54.1%2014.5-21.9%2021.9-21.9%2057.3%200%2079.2%2021.9%2021.9%2057.3%2021.9%2079.2%200%2014.7-14.7%2019.5-35.4%2014.5-54.1l84.5-84.5c3.1-3.1%203.1-8.2%200-11.3l-28.3-28.3zM490%20320h44c4.4%200%208-3.6%208-8v-80c0-4.4-3.6-8-8-8h-44c-4.4%200-8%203.6-8%208v80c0%204.4%203.6%208%208%208zM750%20538v44c0%204.4%203.6%208%208%208h80c4.4%200%208-3.6%208-8v-44c0-4.4-3.6-8-8-8h-80c-4.4%200-8%203.6-8%208zM762.7%20340.8l-31.1-31.1c-3.1-3.1-8.2-3.1-11.3%200l-56.6%2056.6c-3.1%203.1-3.1%208.2%200%2011.3l31.1%2031.1c3.1%203.1%208.2%203.1%2011.3%200l56.6-56.6c3.1-3.1%203.1-8.2%200-11.3zM304.1%20309.7c-3.1-3.1-8.2-3.1-11.3%200l-31.1%2031.1c-3.1%203.1-3.1%208.2%200%2011.3l56.6%2056.6c3.1%203.1%208.2%203.1%2011.3%200l31.1-31.1c3.1-3.1%203.1-8.2%200-11.3l-56.6-56.6zM262%20530h-80c-4.4%200-8%203.6-8%208v44c0%204.4%203.6%208%208%208h80c4.4%200%208-3.6%208-8v-44c0-4.4-3.6-8-8-8z'%20p-id='7192'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/dashboard-VSK8Ksb1.js.gz b/assets/dashboard-VSK8Ksb1.js.gz new file mode 100644 index 00000000..a3656359 Binary files /dev/null and b/assets/dashboard-VSK8Ksb1.js.gz differ diff --git a/assets/dayjs@1.11.10-IrZctHvJ.js b/assets/dayjs@1.11.10-IrZctHvJ.js new file mode 100644 index 00000000..dfb47951 --- /dev/null +++ b/assets/dayjs@1.11.10-IrZctHvJ.js @@ -0,0 +1 @@ +import{c as B,g as tt}from"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";var U={exports:{}},V;function G(){return V||(V=1,function(z,P){(function(O,D){z.exports=D()})(B,function(){var O=1e3,D=6e4,j=36e5,b="millisecond",d="second",y="minute",m="hour",v="day",C="week",M="month",J="quarter",p="year",L="date",Z="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,K={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},F=function(s,n,t){var r=String(s);return!r||r.length>=n?s:""+Array(n+1-r.length).join(t)+s},X={s:F,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function s(n,t){if(n.date()1)return s(u[0])}else{var o=n.name;g[o]=n,e=o}return!r&&e&&(k=e),e||!r&&k},f=function(s,n){if(N(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new A(t)},a=X;a.l=W,a.i=N,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var A=function(){function s(t){this.$L=W(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(Q);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==Z},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)0){if(r<=a)return o;if(r>=i)return s}else{if(r>=a)return o;if(r<=i)return s}else{if(r===a)return o;if(r===i)return s}return(r-a)/l*u+o}function ee(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return G(r)?Ng(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ye(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),ev),r=(+r).toFixed(t),e?r:+r}function Bg(r){return r.sort(function(t,e){return t-e}),r}function dt(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return Vg(r)}function Vg(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,a=e>0?e:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function tv(r,t){var e=Math.log,n=Math.LN10,a=Math.floor(e(r[1]-r[0])/n),i=Math.round(e(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function zg(r,t){var e=Da(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(e===0)return[];for(var n=Math.pow(10,t),a=z(r,function(v){return(isNaN(v)?0:v)/e*n*100}),i=n*100,o=z(a,function(v){return Math.floor(v)}),s=Da(o,function(v,d){return v+d},0),l=z(a,function(v,d){return v-o[d]});su&&(u=l[f],c=f);++o[c],l[c]=0,++s}return z(o,function(v){return v/n})}function Gg(r,t){var e=Math.max(dt(r),dt(t)),n=r+t;return e>ev?n:ye(n,e)}function rv(r){var t=Math.PI*2;return(r%t+t)%t}function Ia(r){return r>-Dl&&r=10&&t++,t}function nv(r,t){var e=gs(r),n=Math.pow(10,e),a=r/n,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,r=i*n,e>=-20?+r.toFixed(e<0?-e:0):r}function Vt(r){var t=parseFloat(r);return t==r&&(t!==0||!G(r)||r.indexOf("x")<=0)?t:NaN}function av(r){return!isNaN(Vt(r))}function iv(){return Math.round(Math.random()*9)}function ov(r,t){return t===0?r:ov(t,r%t)}function Al(r,t){return r==null?t:t==null?r:r*t/ov(r,t)}function j(r){throw new Error(r)}function Ml(r,t,e){return(t-r)*e+r}var sv="series\0",lv="\0_ec_\0";function he(r){return r instanceof Array?r:r==null?[]:[r]}function bo(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,a=e.length;n=0||i&&oe(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var vm=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],hm=xn(vm),dm=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return hm(this,t,e)},r}(),J=le(),pm=function(r,t,e,n){if(n){var a=J(n);a.dataIndex=e,a.dataType=t,a.seriesIndex=r,n.type==="group"&&n.traverse(function(i){var o=J(i);o.seriesIndex=r,o.dataIndex=e,o.dataType=t})}},Ll=1,Pl={},dv=le(),Ss=le(),xs=0,Ya=1,$a=2,Ue=["emphasis","blur","select"],La=["normal","emphasis","blur","select"],gm=10,mm=9,jt="highlight",ma="downplay",hn="select",ya="unselect",dn="toggleSelect";function cr(r){return r!=null&&r!=="none"}var Rl=new Hf(100);function kl(r){if(G(r)){var t=Rl.get(r);return t||(t=Sl(r,-.1),Rl.put(r,t)),t}else if(tg(r)){var e=O({},r);return e.colorStops=z(r.colorStops,function(n){return{offset:n.offset,color:Sl(n.color,-.1)}}),e}return r}function Xa(r,t,e){r.onHoverStateChange&&(r.hoverState||0)!==e&&r.onHoverStateChange(t),r.hoverState=e}function pv(r){Xa(r,"emphasis",$a)}function gv(r){r.hoverState===$a&&Xa(r,"normal",xs)}function bs(r){Xa(r,"blur",Ya)}function mv(r){r.hoverState===Ya&&Xa(r,"normal",xs)}function ym(r){r.selected=!0}function _m(r){r.selected=!1}function El(r,t,e){t(r,e)}function xt(r,t,e){El(r,t,e),r.isGroup&&r.traverse(function(n){El(n,t,e)})}function Ol(r,t){switch(t){case"emphasis":r.hoverState=$a;break;case"normal":r.hoverState=xs;break;case"blur":r.hoverState=Ya;break;case"select":r.selected=!0}}function Sm(r,t,e,n){for(var a=r.style,i={},o=0;o=0,i=!1;if(r instanceof _e){var o=dv(r),s=a&&o.selectFill||o.normalFill,l=a&&o.selectStroke||o.normalStroke;if(cr(s)||cr(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(i=!0,n=O({},n),u=O({},u),u.fill=s):!cr(u.fill)&&cr(s)?(i=!0,n=O({},n),u=O({},u),u.fill=kl(s)):!cr(u.stroke)&&cr(l)&&(i||(n=O({},n),u=O({},u)),u.stroke=kl(l)),n.style=u}}if(n&&n.z2==null){i||(n=O({},n));var c=r.z2EmphasisLift;n.z2=r.z2+(c??gm)}return n}function bm(r,t,e){if(e&&e.z2==null){e=O({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??mm)}return e}function wm(r,t,e){var n=oe(r.currentStates,t)>=0,a=r.style.opacity,i=n?null:Sm(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=O({},e),o=O({opacity:n?a:i.opacity*.1},o),e.style=o),e}function Si(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return xm(this,r,t,e);if(r==="blur")return wm(this,r,e);if(r==="select")return bm(this,r,e)}return e}function Cm(r){r.stateProxy=Si;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=Si),e&&(e.stateProxy=Si)}function Nl(r,t){!xv(r,t)&&!r.__highByOuter&&xt(r,pv)}function Bl(r,t){!xv(r,t)&&!r.__highByOuter&&xt(r,gv)}function Ar(r,t){r.__highByOuter|=1<<(t||0),xt(r,pv)}function Mr(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&xt(r,gv)}function Tm(r){xt(r,bs)}function yv(r){xt(r,mv)}function _v(r){xt(r,ym)}function Sv(r){xt(r,_m)}function xv(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function bv(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(a,i){var o=Ss(i),s=a==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){mv(u)}),s&&e.push(i)),o.isBlured=!1}),w(n,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(e,!1,t)})}function wo(r,t,e,n){var a=n.getModel();e=e||"coordinateSystem";function i(u,c){for(var f=0;f0){var s={dataIndex:o,seriesIndex:e.seriesIndex};i!=null&&(s.dataType=i),t.push(s)}})}),t}function To(r,t,e){wv(r,!0),xt(r,Cm),Rm(r,t,e)}function Pm(r){wv(r,!1)}function Ir(r,t,e,n){n?Pm(r):To(r,t,e)}function Rm(r,t,e){var n=J(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var zl=["emphasis","blur","select"],km={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function bn(r,t,e,n){e=e||"itemStyle";for(var a=0;a0){var f=c.duration,h=c.delay,v=c.easing,d={duration:f,delay:h||0,easing:v,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),i&&i()}function ge(r,t,e,n,a,i){Cs("update",r,t,e,n,a,i)}function De(r,t,e,n,a,i){Cs("enter",r,t,e,n,a,i)}function xr(r){if(!r.__zr)return!0;for(var t=0;tMath.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function Wl(r){return!r.isGroup}function Hm(r){return r.shape!=null}function Iv(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){Wl(l)&&l.anid&&(s[l.anid]=l)}),s}function a(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Hm(o)&&(s.shape=O({},o.shape)),s}var i=n(r);t.traverse(function(o){if(Wl(o)&&o.anid){var s=i[o.anid];if(s){var l=a(o);o.attr(a(s)),ge(o,l,e,J(o).dataIndex)}}})}function Lv(r,t){return z(r,function(e){var n=e[0];n=Ra(n,t.x),n=ka(n,t.x+t.width);var a=e[1];return a=Ra(a,t.y),a=ka(a,t.y+t.height),[n,a]})}function Um(r,t){var e=Ra(r.x,t.x),n=ka(r.x+r.width,t.x+t.width),a=Ra(r.y,t.y),i=ka(r.y+r.height,t.y+t.height);if(n>=e&&i>=a)return{x:e,y:a,width:n-e,height:i-a}}function qa(r,t,e){var n=O({rectHover:!0},t),a=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(a.image=r.slice(8),te(a,e),new Or(n)):Ts(r.replace("path://",""),n,e,"center")}function Ym(r,t,e,n,a){for(var i=0,o=a[a.length-1];i1)return!1;var m=xi(v,d,c,f)/h;return!(m<0||m>1)}function xi(r,t,e,n){return r*n-e*t}function $m(r){return r<=1e-6&&r>=-1e-6}function ja(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,a=G(t)?{formatter:t}:t,i=e.mainType,o=e.componentIndex,s={componentType:i,name:n,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&w(Be(l),function(c){gt(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=J(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:n,option:te({content:n,formatterParams:s},a)}}function Hl(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function Fn(r,t){if(r)if(E(r))for(var e=0;e=0&&s.push(l)}),s}}function Is(r,t){return Z(Z({},r,!0),t,!0)}const ly={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:". "}}}},uy={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 Ea="ZH",Ls="EN",Tn=Ls,Sa={},Ps={},Ov=ce.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return r.indexOf(Ea)>-1?Ea:Tn}():Tn;function Nv(r,t){r=r.toUpperCase(),Ps[r]=new Te(t),Sa[r]=t}function cy(r){if(G(r)){var t=Sa[r.toUpperCase()]||{};return r===Ea||r===Ls?X(t):Z(X(t),X(Sa[Tn]),!1)}else return Z(X(r),X(Sa[Tn]),!1)}function fy(r){return Ps[r]}function vy(){return Ps[Tn]}Nv(Ls,ly);Nv(Ea,uy);var Rs=1e3,ks=Rs*60,pn=ks*60,We=pn*24,Kl=We*365,sn={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}"},Kn="{yyyy}-{MM}-{dd}",ql={year:"{yyyy}",month:"{yyyy}-{MM}",day:Kn,hour:Kn+" "+sn.hour,minute:Kn+" "+sn.minute,second:Kn+" "+sn.second,millisecond:sn.none},Ci=["year","month","day","hour","minute","second","millisecond"],Bv=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Dt(r,t){return r+="","0000".substr(0,t-r.length)+r}function br(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function hy(r){return r===br(r)}function dy(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Ja(r,t,e,n){var a=yt(r),i=a[Es(e)](),o=a[wr(e)]()+1,s=Math.floor((o-1)/3)+1,l=a[ei(e)](),u=a["get"+(e?"UTC":"")+"Day"](),c=a[Dn(e)](),f=(c-1)%12+1,h=a[ti(e)](),v=a[ri(e)](),d=a[ni(e)](),p=n instanceof Te?n:fy(n||Ov)||vy(),m=p.getModel("time"),g=m.get("month"),y=m.get("monthAbbr"),_=m.get("dayOfWeek"),S=m.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Dt(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,Dt(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Dt(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Dt(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Dt(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Dt(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Dt(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,Dt(d,3)).replace(/{S}/g,d+"")}function py(r,t,e,n,a){var i=null;if(G(e))i=e;else if($(e))i=e(r.value,t,{level:r.level});else{var o=O({},sn);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(E(i)){var f=r.level==null?0:r.level>=0?r.level:i.length+r.level;f=Math.min(f,i.length-1),i=i[f]}}return Ja(new Date(r.value),i,a,n)}function Vv(r,t){var e=yt(r),n=e[wr(t)]()+1,a=e[ei(t)](),i=e[Dn(t)](),o=e[ti(t)](),s=e[ri(t)](),l=e[ni(t)](),u=l===0,c=u&&s===0,f=c&&o===0,h=f&&i===0,v=h&&a===1,d=v&&n===1;return d?"year":v?"month":h?"day":f?"hour":c?"minute":u?"second":"millisecond"}function jl(r,t,e){var n=se(r)?yt(r):r;switch(t=t||Vv(r,e),t){case"year":return n[Es(e)]();case"half-year":return n[wr(e)]()>=6?1:0;case"quarter":return Math.floor((n[wr(e)]()+1)/4);case"month":return n[wr(e)]();case"day":return n[ei(e)]();case"half-day":return n[Dn(e)]()/24;case"hour":return n[Dn(e)]();case"minute":return n[ti(e)]();case"second":return n[ri(e)]();case"millisecond":return n[ni(e)]()}}function Es(r){return r?"getUTCFullYear":"getFullYear"}function wr(r){return r?"getUTCMonth":"getMonth"}function ei(r){return r?"getUTCDate":"getDate"}function Dn(r){return r?"getUTCHours":"getHours"}function ti(r){return r?"getUTCMinutes":"getMinutes"}function ri(r){return r?"getUTCSeconds":"getSeconds"}function ni(r){return r?"getUTCMilliseconds":"getMilliseconds"}function gy(r){return r?"setUTCFullYear":"setFullYear"}function zv(r){return r?"setUTCMonth":"setMonth"}function Gv(r){return r?"setUTCDate":"setDate"}function Fv(r){return r?"setUTCHours":"setHours"}function Wv(r){return r?"setUTCMinutes":"setMinutes"}function Hv(r){return r?"setUTCSeconds":"setSeconds"}function Uv(r){return r?"setUTCMilliseconds":"setMilliseconds"}function Yv(r){if(!av(r))return G(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function $v(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var ai=fg;function Lo(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&Bn(c)?c:"-"}function i(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?yt(r):r;if(isNaN(+l)){if(s)return"-"}else return Ja(l,n,e)}if(t==="ordinal")return mo(r)?a(r):se(r)&&i(r)?r+"":"-";var u=Vt(r);return i(u)?Yv(u):mo(r)?a(r):typeof r=="boolean"?r+"":"-"}var Ql=["a","b","c","d","e","f","g"],Ti=function(r,t){return"{"+r+(t??"")+"}"};function Xv(r,t,e){E(t)||(t=[t]);var n=t.length;if(!n)return"";for(var a=t[0].$vars||[],i=0;i':'';var o=e.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function nr(r,t){return t=t||"transparent",G(r)?r:H(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Jl(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var xa=w,yy=["left","right","top","bottom","width","height"],qn=[["width","left","right"],["height","top","bottom"]];function Os(r,t,e,n,a){var i=0,o=0;n==null&&(n=1/0),a==null&&(a=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),h=f&&f.getBoundingRect(),v,d;if(r==="horizontal"){var p=c.width+(h?-h.x+c.x:0);v=i+p,v>n||l.newline?(i=0,v=p,o+=s+e,s=c.height):s=Math.max(s,c.height)}else{var m=c.height+(h?-h.y+c.y:0);d=o+m,d>a||l.newline?(i+=s+e,o=0,d=m,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=v+e:o=d+e)})}var Cr=Os;Q(Os,"vertical");Q(Os,"horizontal");function Gt(r,t,e){e=ai(e||0);var n=t.width,a=t.height,i=ee(r.left,n),o=ee(r.top,a),s=ee(r.right,n),l=ee(r.bottom,a),u=ee(r.width,n),c=ee(r.height,a),f=e[2]+e[0],h=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=n-s-h-i),isNaN(c)&&(c=a-l-f-o),v!=null&&(isNaN(u)&&isNaN(c)&&(v>n/a?u=n*.8:c=a*.8),isNaN(u)&&(u=v*c),isNaN(c)&&(c=u/v)),isNaN(i)&&(i=n-s-u-h),isNaN(o)&&(o=a-l-c-f),r.left||r.right){case"center":i=n/2-u/2-e[3];break;case"right":i=n-u-h;break}switch(r.top||r.bottom){case"middle":case"center":o=a/2-c/2-e[0];break;case"bottom":o=a-c-f;break}i=i||0,o=o||0,isNaN(u)&&(u=n-h-i-(s||0)),isNaN(c)&&(c=a-f-o-(l||0));var d=new Ne(i+e[3],o+e[0],u,c);return d.margin=e,d}function _y(r,t,e,n,a,i){var o=!a||!a.hv||a.hv[0],s=!a||!a.hv||a.hv[1],l=a&&a.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new Ne(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var c=r.getLocalTransform();u=u.clone(),u.applyTransform(c)}var f=Gt(te({width:u.width,height:u.height},t),e,n),h=o?f.x-u.x:0,v=s?f.y-u.y:0;return l==="raw"?(i.x=h,i.y=v):(i.x+=h,i.y+=v),i===r&&r.markRedraw(),!0}function An(r){var t=r.layoutMode||r.constructor.layoutMode;return H(t)?t:t?{type:t}:null}function Lr(r,t,e){var n=e&&e.ignoreSize;!E(n)&&(n=[n,n]);var a=o(qn[0],0),i=o(qn[1],1);u(qn[0],r,a),u(qn[1],r,i);function o(c,f){var h={},v=0,d={},p=0,m=2;if(xa(c,function(_){d[_]=r[_]}),xa(c,function(_){s(t,_)&&(h[_]=d[_]=t[_]),l(h,_)&&v++,l(d,_)&&p++}),n[f])return l(t,c[1])?d[c[2]]=null:l(t,c[2])&&(d[c[1]]=null),d;if(p===m||!v)return d;if(v>=m)return h;for(var g=0;g=0;l--)s=Z(s,a[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var a=e+"Index",i=e+"Id";return Gn(this.ecModel,e,{index:this.get(a,!0),id:this.get(i,!0)},n)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Te);hv(zr,Te);Ua(zr);oy(zr);sy(zr,by);function by(r){var t=[];return w(zr.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=z(t,function(e){return rt(e).main}),r!=="dataset"&&oe(t,"dataset")<=0&&t.unshift("dataset"),t}const ie=zr;var Zv="";typeof navigator<"u"&&(Zv=navigator.platform||"");var fr="rgba(0, 0, 0, 0.2)";const wy={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:fr,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:fr,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:fr,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:fr,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:fr,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:fr,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zv.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 Kv=W(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),$e="original",ke="arrayRows",Xe="objectRows",ut="keyedColumns",Bt="typedArray",qv="unknown",ot="column",Gr="row",Ce={Must:1,Might:2,Not:3},jv=le();function Cy(r){jv(r).datasetMap=W()}function Qv(r,t,e){var n={},a=Ns(t);if(!a||!r)return n;var i=[],o=[],s=t.ecModel,l=jv(s).datasetMap,u=a.uid+"_"+e.seriesLayoutBy,c,f;r=r.slice(),w(r,function(p,m){var g=H(p)?p:r[m]={name:p};g.type==="ordinal"&&c==null&&(c=m,f=d(g)),n[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});w(r,function(p,m){var g=p.name,y=d(p);if(c==null){var _=h.valueWayDim;v(n[g],_,y),v(o,_,y),h.valueWayDim+=y}else if(c===m)v(n[g],0,y),v(i,0,y);else{var _=h.categoryWayDim;v(n[g],_,y),v(o,_,y),h.categoryWayDim+=y}});function v(p,m,g){for(var y=0;yt)return r[n];return r[e-1]}function th(r,t,e,n,a,i,o){i=i||r;var s=t(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var c=o==null||!n?e:Ly(n,o);if(c=c||e,!(!c||!c.length)){var f=c[l];return a&&(u[a]=f),s.paletteIdx=(l+1)%c.length,f}}function Py(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var jn,Yr,ru,nu="\0_ec_inner",Ry=1,rh=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,a,i,o,s){i=i||{},this.option=null,this._theme=new Te(i),this._locale=new Te(o),this._optionManager=s},t.prototype.setOption=function(e,n,a){var i=ou(n);this._optionManager.setOption(e,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(e,n){return this._resetOption(e,ou(n))},t.prototype._resetOption=function(e,n){var a=!1,i=this._optionManager;if(!e||e==="recreate"){var o=i.mountOption(e==="recreate");!this.option||e==="recreate"?ru(this,o):(this.restoreData(),this._mergeOption(o,n)),a=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=i.getTimelineOption(this);s&&(a=!0,this._mergeOption(s,n))}if(!e||e==="recreate"||e==="media"){var l=i.getMediaOption(this);l.length&&w(l,function(u){a=!0,this._mergeOption(u,n)},this)}return a},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var a=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=W(),u=n&&n.replaceMergeMainTypeMap;Cy(this),w(e,function(f,h){f!=null&&(ie.hasClass(h)?h&&(s.push(h),l.set(h,!0)):a[h]=a[h]==null?X(f):Z(a[h],f,!0))}),u&&u.each(function(f,h){ie.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),ie.topologicalTravel(s,ie.getAllClassMainTypes(),c,this);function c(f){var h=My(this,f,he(e[f])),v=i.get(f),d=v?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",p=Ug(v,h,d);Qg(p,f,ie),a[f]=null,i.set(f,null),o.set(f,0);var m=[],g=[],y=0,_;w(p,function(S,b){var x=S.existing,C=S.newOption;if(!C)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var T=f==="series",A=ie.getClass(f,S.keyInfo.subType,!T);if(!A)return;if(f==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===A)x.name=S.keyInfo.name,x.mergeOption(C,this),x.optionUpdated(C,!1);else{var M=O({componentIndex:b},S.keyInfo);x=new A(C,this,this,M),O(x,M),S.brandNew&&(x.__requireNewView=!0),x.init(C,this,this),x.optionUpdated(null,!0)}}x?(m.push(x.option),g.push(x),y++):(m.push(void 0),g.push(void 0))},this),a[f]=m,i.set(f,g),o.set(f,y),f==="series"&&jn(this)}this._seriesIndices||jn(this)},t.prototype.getOption=function(){var e=X(this.option);return w(e,function(n,a){if(ie.hasClass(a)){for(var i=he(n),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!Sn(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,e[a]=i}}),delete e[nu],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var a=this._componentsMap.get(e);if(a){var i=a[n||0];if(i)return i;if(n==null){for(var o=0;o=t:e==="max"?r<=t:r===t}function Hy(r,t){return r.join(",")===t.join(",")}const Uy=zy;var Ze=w,Mn=H,su=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ai(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=su.length;e=0;m--){var g=r[m];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,v)),d>=0){var y=g.data.getByRawIndex(g.stackResultDimension,d);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&h>=0&&y>0||l==="samesign"&&h<=0&&y<0){h=Gg(h,y),p=y;break}}}return n[0]=h,n[1]=p,n})})}var oi=function(){function r(t){this.data=t.data||(t.sourceFormat===ut?{}:[]),this.sourceFormat=t.sourceFormat||qv,this.seriesLayoutBy=t.seriesLayoutBy||ot,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;np&&(p=_)}v[0]=d,v[1]=p}},a=function(){return this._data?this._data.length/this._dimSize:0};du=(t={},t[ke+"_"+ot]={pure:!0,appendData:i},t[ke+"_"+Gr]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Xe]={pure:!0,appendData:i},t[ut]={pure:!0,appendData:function(o){var s=this._data;w(o,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[$e]={appendData:i},t[Bt]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function i(o){for(var s=0;s=0&&(p=o.interpolatedValue[m])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return Pr(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r}();function yu(r){var t,e;return H(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function gn(r){return new l0(r)}var l0=function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var a=this.context;a.data=a.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!n&&(i=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)&&(i="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(f||v1&&n>0?s:o}};return i;function o(){return t=r?null:lt},gte:function(r,t){return r>=t}},c0=function(){function r(t,e){if(!se(e)){var n="";j(n)}this._opFn=dh[t],this._rvalFloat=Vt(e)}return r.prototype.evaluate=function(t){return se(t)?this._opFn(t,this._rvalFloat):this._opFn(Vt(t),this._rvalFloat)},r}(),ph=function(){function r(t,e){var n=t==="desc";this._resultLT=n?1:-1,e==null&&(e=n?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var n=se(t)?t:Vt(t),a=se(e)?e:Vt(e),i=isNaN(n),o=isNaN(a);if(i&&(n=this._incomparable),o&&(a=this._incomparable),i&&o){var s=G(t),l=G(e);s&&(n=l?t:0),l&&(a=s?e:0)}return na?-this._resultLT:0},r}(),f0=function(){function r(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Vt(e)}return r.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(e=Vt(t)===this._rvalFloat)}return this._isEQ?e:!e},r}();function v0(r,t){return r==="eq"||r==="ne"?new f0(r==="eq",t):gt(dh,r)?new c0(r,t):null}var h0=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return ba(t,e)},r}();function d0(r,t){var e=new h0,n=r.data,a=e.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==ot&&j(o);var s=[],l={},u=r.dimensionsDefine;if(u)w(u,function(p,m){var g=p.name,y={index:m,name:g,displayName:p.displayName};if(s.push(y),g!=null){var _="";gt(l,g)&&j(_),l[g]=y}});else for(var c=0;c65535?b0:w0}function vr(){return[1/0,-1/0]}function C0(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function xu(r,t,e,n,a){var i=yh[e||"float"];if(a){var o=r[t],s=o&&o.length;if(s!==n){for(var l=new i(n),u=0;um[1]&&(m[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=z(o,function(y){return y.property}),c=0;cg[1]&&(g[1]=m)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&nt)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks,i=a[t],o=[];if(!i)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=d,l=v,u=0),v===l&&(o[u++]=c))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i=f&&y<=h||isNaN(y))&&(l[u++]=p),p++}d=!0}else if(i===2){for(var m=v[a[0]],_=v[a[1]],S=t[a[1]][0],b=t[a[1]][1],g=0;g=f&&y<=h||isNaN(y))&&(x>=S&&x<=b||isNaN(x))&&(l[u++]=p),p++}d=!0}}if(!d)if(i===1)for(var g=0;g=f&&y<=h||isNaN(y))&&(l[u++]=C)}else for(var g=0;gt[M][1])&&(T=!1)}T&&(l[u++]=e.getRawIndex(g))}return ug[1]&&(g[1]=m)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),a=n._chunks,i=a[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),c,f,h,v=new(Xr(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;dc&&(c=f,h=S)}D>0&&Dc-d&&(l=c-d,s.length=l);for(var p=0;pf[1]&&(f[1]=g),h[v++]=y}return i._count=v,i._indices=h,i._updateGetRawIdx(),i},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,i=0,o=this.count();il&&(l=f)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,i=0;i=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function t(e,n,a,i){return ba(e[i],this._dimensions[i])}Li={arrayRows:t,objectRows:function(e,n,a,i){return ba(e[n],this._dimensions[i])},keyedColumns:t,original:function(e,n,a,i){var o=e&&(e.value==null?e:e.value);return ba(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(e,n,a,i){return e[i]}}}(),r}(),_h=function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,a,i;if(Qn(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var c=e[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,i=[c._getVersionSign()]}else s=o.get("data",!0),l=He(s)?Bt:$e,i=[];var f=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=ue(f.seriesLayoutBy,h.seriesLayoutBy)||null,d=ue(f.sourceHeader,h.sourceHeader),p=ue(f.dimensions,h.dimensions),m=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||p;a=m?[Ro(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var g=t;if(n){var y=this._applyTransform(e);a=y.sourceList,i=y.upstreamSignList}else{var _=g.get("source",!0);a=[Ro(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(a,i)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),a=e.get("fromTransformResult",!0);if(a!=null){var i="";t.length!==1&&wu(i)}var o,s=[],l=[];return w(t,function(u){u.prepareSource();var c=u.getSource(a||0),f="";a!=null&&!c&&wu(f),s.push(c),l.push(u._getVersionSign())}),n?o=S0(n,s,{datasetIndex:e.componentIndex}):a!=null&&(o=[e0(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!r.noHeader;return w(r.blocks,function(a){var i=wh(a);i>=t&&(t=i+ +(n&&(!i||Eo(a)&&!a.noHeader)))}),t}return 0}function A0(r,t,e,n){var a=t.noHeader,i=I0(wh(t)),o=[],s=t.blocks||[];st(!s||E(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(gt(u,l)){var c=new ph(u[l],null);s.sort(function(d,p){return c.evaluate(d.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}w(s,function(d,p){var m=t.valueFormatter,g=bh(d)(m?O(O({},r),{valueFormatter:m}):r,d,p>0?i.html:0,n);g!=null&&o.push(g)});var f=r.renderMode==="richText"?o.join(i.richText):Oo(o.join(""),a?e:i.html);if(a)return f;var h=Lo(t.header,"ordinal",r.useUTC),v=xh(n,r.renderMode).nameStyle;return r.renderMode==="richText"?Ch(r,h,v)+i.richText+f:Oo('
'+Fe(h)+"
"+f,e)}function M0(r,t,e,n){var a=r.renderMode,i=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,c=t.valueFormatter||r.valueFormatter||function(S){return S=E(S)?S:[S],z(S,function(b,x){return Lo(b,E(v)?v[x]:v,u)})};if(!(i&&o)){var f=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),h=i?"":Lo(l,"ordinal",u),v=t.valueType,d=o?[]:c(t.value),p=!s||!i,m=!s&&i,g=xh(n,a),y=g.nameStyle,_=g.valueStyle;return a==="richText"?(s?"":f)+(i?"":Ch(r,h,y))+(o?"":R0(r,d,p,m,_)):Oo((s?"":f)+(i?"":L0(h,!s,y))+(o?"":P0(d,p,m,_)),e)}}function Cu(r,t,e,n,a,i){if(r){var o=bh(r),s={useUTC:a,renderMode:e,orderMode:n,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function I0(r){return{html:T0[r],richText:D0[r]}}function Oo(r,t){var e='
',n="margin: "+t+"px 0 0";return'
'+r+e+"
"}function L0(r,t,e){var n=t?"margin-left:2px":"";return''+Fe(r)+""}function P0(r,t,e,n){var a=e?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return r=E(r)?r:[r],''+z(r,function(o){return Fe(o)}).join("  ")+""}function Ch(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function R0(r,t,e,n,a){var i=[a],o=n?10:20;return e&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(E(t)?t.join(" "):t,i)}function k0(r,t){var e=r.getData().getItemVisual(t,"style"),n=e[r.visualDrawType];return nr(n)}function Th(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var Pi=function(){function r(){this.richTextStyles={},this._nextStyleNameId=iv()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,n){var a=n==="richText"?this._generateStyleName():null,i=my({color:e,type:t,renderMode:n,markerId:a});return G(i)?i:(this.richTextStyles[a]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(t,e){var n={};E(e)?w(e,function(i){return O(n,i)}):O(n,e);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},r}();function E0(r){var t=r.series,e=r.dataIndex,n=r.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,s=t.getRawValue(e),l=E(s),u=k0(t,e),c,f,h,v;if(o>1||l&&!o){var d=O0(s,t,e,i,u);c=d.inlineValues,f=d.inlineValueTypes,h=d.blocks,v=d.inlineValues[0]}else if(o){var p=a.getDimensionInfo(i[0]);v=c=Pr(a,e,i[0]),f=p.type}else v=c=l?s[0]:s;var m=ms(t),g=m&&t.name||"",y=a.getName(e),_=n?g:y;return In("section",{header:g,noHeader:n||!m,sortParam:v,blocks:[In("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Bn(_),value:c,valueType:f})].concat(h||[])})}function O0(r,t,e,n,a){var i=t.getData(),o=Da(r,function(f,h,v){var d=i.getDimensionInfo(v);return f=f||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];n.length?w(n,function(f){c(Pr(i,e,f),f)}):w(r,c);function c(f,h){var v=i.getDimensionInfo(h);!v||v.otherDims.tooltip===!1||(o?u.push(In("nameValue",{markerType:"subItem",markerColor:a,name:v.displayName,value:f,valueType:v.type})):(s.push(f),l.push(v.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var At=le();function Jn(r,t){return r.getName(t)||r.getId(t)}var wa="__universalTransitionEnabled",li=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,n,a){this.seriesIndex=this.componentIndex,this.dataTask=gn({count:B0,reset:V0}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,a);var i=At(this).sourceManager=new _h(this);i.prepareSource();var o=this.getInitialData(e,a);Du(o,this),this.dataTask.context.data=o,At(this).dataBeforeProcessed=o,Tu(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,n){var a=An(this),i=a?ii(e):{},o=this.subType;ie.hasClass(o)&&(o+="Series"),Z(e,n.getTheme().get(this.subType)),Z(e,this.getDefaultOption()),bo(e,"label",["show"]),this.fillDataTextStyle(e.data),a&&Lr(e,i,a)},t.prototype.mergeOption=function(e,n){e=Z(this.option,e,!0),this.fillDataTextStyle(e.data);var a=An(this);a&&Lr(this.option,e,a);var i=At(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(e,n);Du(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,At(this).dataBeforeProcessed=o,Tu(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!He(e))for(var n=["show"],a=0;athis.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,n,a){var i=this.ecModel,o=Bs.prototype.getColorFromPalette.call(this,e,n,a);return o||(o=i.getColorFromPalette(e,n,a)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,n){this._innerSelect(this.getData(n),e)},t.prototype.unselect=function(e,n){var a=this.option.selectedMap;if(a){var i=this.option.selectedMode,o=this.getData(n);if(i==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&a.push(o)}return a},t.prototype.isSelected=function(e,n){var a=this.option.selectedMap;if(!a)return!1;var i=this.getData(n);return(a==="all"||a[Jn(i,e)])&&!i.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[wa])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,n){var a,i,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){H(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c0&&this._innerSelect(e,n)}},t.registerClass=function(e){return ie.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(ie);St(li,s0);St(li,Bs);hv(li,ie);function Tu(r){var t=r.name;ms(r)||(r.name=N0(r)||t)}function N0(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),n=[];return w(e,function(a){var i=t.getDimensionInfo(a);i.displayName&&n.push(i.displayName)}),n.join(" ")}function B0(r){return r.model.getRawData().count()}function V0(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),z0}function z0(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Du(r,t){w(vg(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,Q(G0,t))})}function G0(r,t){var e=No(r);return e&&e.setOutputEnd((t||this).count()),t}function No(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var n=e.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(r.uid))}return n}}const lt=li;var Hs=function(){function r(){this.group=new pe,this.uid=Wn("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,a){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,a){},r.prototype.updateLayout=function(t,e,n,a){},r.prototype.updateVisual=function(t,e,n,a){},r.prototype.toggleBlurSeries=function(t,e,n){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r}();_s(Hs);Ua(Hs);const Ye=Hs;function Hn(){var r=le();return function(t){var e=r(t),n=t.pipelineContext,a=!!e.large,i=!!e.progressiveRender,o=e.large=!!(n&&n.large),s=e.progressiveRender=!!(n&&n.progressiveRender);return(a!==o||i!==s)&&"reset"}}var Dh=le(),F0=Hn(),Us=function(){function r(){this.group=new pe,this.uid=Wn("viewChart"),this.renderTask=gn({plan:W0,reset:H0}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,a){},r.prototype.highlight=function(t,e,n,a){var i=t.getData(a&&a.dataType);i&&Mu(i,a,"emphasis")},r.prototype.downplay=function(t,e,n,a){var i=t.getData(a&&a.dataType);i&&Mu(i,a,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.updateLayout=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.updateVisual=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.eachRendered=function(t){Fn(this.group,t)},r.markUpdateMethod=function(t,e){Dh(t).updateMethod=e},r.protoInitialize=function(){var t=r.prototype;t.type="chart"}(),r}();function Au(r,t,e){r&&Do(r)&&(t==="emphasis"?Ar:Mr)(r,e)}function Mu(r,t,e){var n=rr(r,t),a=t&&t.highlightKey!=null?Em(t.highlightKey):null;n!=null?w(he(n),function(i){Au(r.getItemGraphicEl(i),e,a)}):r.eachItemGraphicEl(function(i){Au(i,e,a)})}_s(Us);Ua(Us);function W0(r){return F0(r.model)}function H0(r){var t=r.model,e=r.ecModel,n=r.api,a=r.payload,i=t.pipelineContext.progressiveRender,o=r.view,s=a&&Dh(a).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,n,a),U0[l]}var U0={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const Oe=Us;var Oa="\0__throttleOriginMethod",Iu="\0__throttleRate",Lu="\0__throttleType";function Ys(r,t,e){var n,a=0,i=0,o=null,s,l,u,c;t=t||0;function f(){i=new Date().getTime(),o=null,r.apply(l,u||[])}var h=function(){for(var v=[],d=0;d=0?f():o=setTimeout(f,-s),a=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(v){c=v},h}function Ah(r,t,e,n){var a=r[t];if(a){var i=a[Oa]||a,o=a[Lu],s=a[Iu];if(s!==e||o!==n){if(e==null||!n)return r[t]=i;a=r[t]=Ys(i,e,n==="debounce"),a[Oa]=i,a[Lu]=n,a[Iu]=e}return a}}function Bo(r,t){var e=r[t];e&&e[Oa]&&(e.clear&&e.clear(),r[t]=e[Oa])}var Pu=le(),Ru={itemStyle:xn(Ev,!0),lineStyle:xn(kv,!0)},Y0={lineStyle:"stroke",itemStyle:"fill"};function Mh(r,t){var e=r.visualStyleMapper||Ru[t];return e||(console.warn("Unknown style type '"+t+"'."),Ru.itemStyle)}function Ih(r,t){var e=r.visualDrawType||Y0[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var $0={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",a=r.getModel(n),i=Mh(r,n),o=i(a),s=a.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=Ih(r,n),u=o[l],c=$(u)?u:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[l]||c||f){var h=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=h,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||$(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||$(o.stroke)?h:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&c)return e.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var p=r.getDataParams(d),m=O({},o);m[l]=c(p),v.setItemVisual(d,"style",m)}}}},Zr=new Te,X0={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",a=Mh(r,n),i=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Zr.option=l[n];var u=a(Zr),c=o.ensureUniqueItemVisual(s,"style");O(c,u),Zr.option.decal&&(o.setItemVisual(s,"decal",Zr.option.decal),Zr.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Z0={performRawSeries:!0,overallReset:function(r){var t=W();r.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var a=e.type+"-"+n,i=t.get(a);i||(i={},t.set(a,i)),Pu(e).scope=i}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var n=e.getRawData(),a={},i=e.getData(),o=Pu(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=Ih(e,s);i.each(function(u){var c=i.getRawIndex(u);a[c]=u}),n.each(function(u){var c=a[u],f=i.getItemVisual(c,"colorFromPalette");if(f){var h=i.ensureUniqueItemVisual(c,"style"),v=n.getName(u)||u+"",d=n.count();h[l]=e.getColorFromPalette(v,o,d)}})}})}},ea=Math.PI;function K0(r,t){t=t||{},te(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 e=new pe,n=new ve({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(n);var a=new we({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new ve({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(i);var o;return t.showSpinner&&(o=new ds({shape:{startAngle:-ea/2,endAngle:-ea/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:ea*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:ea*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=a.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.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=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),i.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var q0=function(){function r(t,e,n,a){this._stageTaskMap=W(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(n){var a=n.overallTask;a&&a.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),a=n.context,i=!e&&n.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=i?n.step:null,s=a&&a.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),a=t.getData(),i=a.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,s=t.get("large")&&i>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?i:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=W();t.eachSeries(function(a){var i=a.getProgressive(),o=a.uid;n.set(o,{id:o,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:i&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(a,a.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;w(this._allHandlers,function(a){var i=t.get(a.uid)||t.set(a.uid,{}),o="";st(!(a.reset&&a.overallReset),o),a.reset&&this._createSeriesStageTask(a,i,e,n),a.overallReset&&this._createOverallStageTask(a,i,e,n)},this)},r.prototype.prepareView=function(t,e,n,a){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},r.prototype._performStageTasks=function(t,e,n,a){a=a||{};var i=!1,o=this;w(t,function(l,u){if(!(a.visualType&&a.visualType!==l.visualType)){var c=o._stageTaskMap.get(l.uid),f=c.seriesTaskMap,h=c.overallTask;if(h){var v,d=h.agentStubMap;d.each(function(m){s(a,m)&&(m.dirty(),v=!0)}),v&&h.dirty(),o.updatePayload(h,n);var p=o.getPerformArgs(h,a.block);d.each(function(m){m.perform(p)}),h.perform(p)&&(i=!0)}else f&&f.each(function(m,g){s(a,m)&&m.dirty();var y=o.getPerformArgs(m,a.block);y.skip=!l.performRawSeries&&e.isSeriesFiltered(m.context.model),o.updatePayload(m,n),m.perform(y)&&(i=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(n){e=n.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,n,a){var i=this,o=e.seriesTaskMap,s=e.seriesTaskMap=W(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,a).each(c);function c(f){var h=f.uid,v=s.set(h,o&&o.get(h)||gn({plan:t_,reset:r_,count:a_}));v.context={model:f,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(f,v)}},r.prototype._createOverallStageTask=function(t,e,n,a){var i=this,o=e.overallTask=e.overallTask||gn({reset:j0});o.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=W(),u=t.seriesType,c=t.getTargetSeries,f=!0,h=!1,v="";st(!t.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):c?c(n,a).each(d):(f=!1,w(n.getSeries(),d));function d(p){var m=p.uid,g=l.set(m,s&&s.get(m)||(h=!0,gn({reset:Q0,onDirty:e_})));g.context={model:p,overallProgress:f},g.agent=o,g.__block=f,i._pipe(p,g)}h&&o.dirty()},r.prototype._pipe=function(t,e){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=e),a.tail&&a.tail.pipe(e),a.tail=e,e.__idxInPipeline=a.count++,e.__pipeline=a},r.wrapStageHandler=function(t,e){return $(t)&&(t={overallReset:t,seriesType:i_(t)}),t.uid=Wn("stageHandler"),e&&(t.visualType=e),t},r}();function j0(r){r.overallReset(r.ecModel,r.api,r.payload)}function Q0(r){return r.overallProgress&&J0}function J0(){this.agent.dirty(),this.getDownstream().dirty()}function e_(){this.agent&&this.agent.dirty()}function t_(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function r_(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=he(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?z(t,function(e,n){return Lh(n)}):n_}var n_=Lh(0);function Lh(r){return function(t,e){var n=e.data,a=e.resetDefines[r];if(a&&a.dataEach)for(var i=t.start;i0&&v===u.length-h.length){var d=u.slice(0,v);d!=="data"&&(e.mainType=d,e[h.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(n[u]=l,c=!0),c||(a[u]=l)})}return{cptQuery:e,dataQuery:n,otherQuery:a}},r.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,i=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.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,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,i));function c(f,h,v,d){return f[v]==null||h[d||v]===f[v]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),Vo=["symbol","symbolSize","symbolRotate","symbolOffset"],Nu=Vo.concat(["symbolKeepAspect"]),u_={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var n={},a={},i=!1,o=0;o0&&e.unfinished);e.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(e,n,a){if(!this[Ae]){if(this._disposed){this.id;return}var i,o,s;if(H(n)&&(a=n.lazyUpdate,i=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Ae]=!0,!this._model||n){var l=new Uy(this._api),u=this._theme,c=this._model=new nh;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},Wo);var f={seriesTransition:s,optionChanged:!0};if(a)this[Ee]={silent:i,updateParams:f},this[Ae]=!1,this.getZr().wakeUp();else{try{dr(this),Mt.update.call(this,null,f)}catch(h){throw this[Ee]=null,this[Ae]=!1,h}this._ssr||this._zr.flush(),this[Ee]=null,this[Ae]=!1,Kr.call(this,i),qr.call(this,i)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||ce.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var n=this._zr.painter;return n.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(ce.svgSupported){var e=this._zr,n=e.storage.getDisplayList();return w(n,function(a){a.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var n=e.excludeComponents,a=this._model,i=[],o=this;w(n,function(l){a.eachComponent({mainType:l},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(i.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return w(i,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var n=e.type==="svg",a=this.group,i=Math.min,o=Math.max,s=1/0;if($u[a]){var l=s,u=s,c=-s,f=-s,h=[],v=e&&e.pixelRatio||this.getDevicePixelRatio();w(yn,function(_,S){if(_.group===a){var b=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(X(e)),x=_.getDom().getBoundingClientRect();l=i(x.left,l),u=i(x.top,u),c=o(x.right,c),f=o(x.bottom,f),h.push({dom:b,left:x.left,top:x.top})}}),l*=v,u*=v,c*=v,f*=v;var d=c-l,p=f-u,m=qf.createCanvas(),g=xl(m,{renderer:n?"svg":"canvas"});if(g.resize({width:d,height:p}),n){var y="";return w(h,function(_){var S=_.left-l,b=_.top-u;y+=''+_.dom+""}),g.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return e.connectedBackgroundColor&&g.add(new ve({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),w(h,function(_){var S=new Or({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});g.add(S)}),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,n){return Ni(this,"convertToPixel",e,n)},t.prototype.convertFromPixel=function(e,n){return Ni(this,"convertFromPixel",e,n)},t.prototype.containPixel=function(e,n){if(this._disposed){this.id;return}var a=this._model,i,o=vn(a,e);return w(o,function(s,l){l.indexOf("Models")>=0&&w(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)i=i||!!c.containPoint(n);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(i=i||f.containPoint(n,u))}},this)},this),!!i},t.prototype.getVisual=function(e,n){var a=this._model,i=vn(a,e,{defaultMainType:"series"}),o=i.seriesModel,s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?f_(s,l,n):v_(s,n)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;w(U_,function(n){var a=function(i){var o=e.getModel(),s=i.target,l,u=n==="globalout";if(u?l={}:s&&un(s,function(d){var p=J(d);if(p&&p.dataIndex!=null){var m=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return l=m&&m.getDataParams(p.dataIndex,p.dataType,s)||{},!0}else if(p.eventData)return l=O({},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),v=h&&e[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];l.event=i,l.type=n,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:v},e.trigger(n,l)}};a.zrEventfulCallAtLast=!0,e._zr.on(n,a,e)}),w(mn,function(n,a){e._messageCenter.on(a,function(i){this.trigger(a,i)},e)}),w(["selectchanged"],function(n){e._messageCenter.on(n,function(a){this.trigger(n,a)},e)}),d_(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 e=this.getDom();e&&cv(this.getDom(),Ks,"");var n=this,a=n._api,i=n._model;w(n._componentsViews,function(o){o.dispose(i,a)}),w(n._chartsViews,function(o){o.dispose(i,a)}),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 yn[n.id]},t.prototype.resize=function(e){if(!this[Ae]){if(this._disposed){this.id;return}this._zr.resize(e);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var a=n.resetOption("media"),i=e&&e.silent;this[Ee]&&(i==null&&(i=this[Ee].silent),a=!0,this[Ee]=null),this[Ae]=!0;try{a&&dr(this),Mt.update.call(this,{type:"resize",animation:O({duration:0},e&&e.animation)})}catch(o){throw this[Ae]=!1,o}this[Ae]=!1,Kr.call(this,i),qr.call(this,i)}}},t.prototype.showLoading=function(e,n){if(this._disposed){this.id;return}if(H(e)&&(n=e,e=""),e=e||"default",this.hideLoading(),!!Ho[e]){var a=Ho[e](this._api,n),i=this._zr;this._loadingFX=a,i.add(a)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var n=O({},e);return n.type=mn[e.type],n},t.prototype.dispatchAction=function(e,n){if(this._disposed){this.id;return}if(H(n)||(n={silent:!!n}),!!Ba[e.type]&&this._model){if(this[Ae]){this._pendingActions.push(e);return}var a=n.silent;Vi.call(this,e,a);var i=n.flush;i?this._zr.flush():i!==!1&&ce.browser.weChat&&this._throttledZrFlush(),Kr.call(this,a),qr.call(this,a)}},t.prototype.updateLabelLayout=function(){qe.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var n=e.seriesIndex,a=this.getModel(),i=a.getSeriesByIndex(n);i.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){dr=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),Oi(f,!0),Oi(f,!1),h.plan()},Oi=function(f,h){for(var v=f._model,d=f._scheduler,p=h?f._componentsViews:f._chartsViews,m=h?f._componentsMap:f._chartsMap,g=f._zr,y=f._api,_=0;_h.get("hoverLayerThreshold")&&!ce.node&&!ce.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 v=f.get("blendMode")||null;h.eachRendered(function(d){d.isGroup||(d.style.blend=v)})}function s(f,h){if(!f.preventAutoZ){var v=f.get("z")||0,d=f.get("zlevel")||0;h.eachRendered(function(p){return l(p,v,d,-1/0),!0})}}function l(f,h,v,d){var p=f.getTextContent(),m=f.getTextGuideLine(),g=f.isGroup;if(g)for(var y=f.childrenRef(),_=0;_0?{duration:p,delay:v.get("delay"),easing:v.get("easing")}:null;h.eachRendered(function(g){if(g.states&&g.states.emphasis){if(xr(g))return;if(g instanceof _e&&Om(g),g.__dirty){var y=g.prevStates;y&&g.useStates(y)}if(d){g.stateTransition=m;var _=g.getTextContent(),S=g.getTextGuideLine();_&&(_.stateTransition=m),S&&(S.stateTransition=m)}g.__dirty&&a(g)}})}Uu=function(f){return new(function(h){N(v,h);function v(){return h!==null&&h.apply(this,arguments)||this}return v.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},v.prototype.getComponentByElement=function(d){for(;d;){var p=d.__ecComponentInfo;if(p!=null)return f._model.getComponent(p.mainType,p.index);d=d.parent}},v.prototype.enterEmphasis=function(d,p){Ar(d,p),Ve(f)},v.prototype.leaveEmphasis=function(d,p){Mr(d,p),Ve(f)},v.prototype.enterBlur=function(d){Tm(d),Ve(f)},v.prototype.leaveBlur=function(d){yv(d),Ve(f)},v.prototype.enterSelect=function(d){_v(d),Ve(f)},v.prototype.leaveSelect=function(d){Sv(d),Ve(f)},v.prototype.getModel=function(){return f.getModel()},v.prototype.getViewOfComponentModel=function(d){return f.getViewOfComponentModel(d)},v.prototype.getViewOfSeriesModel=function(d){return f.getViewOfSeriesModel(d)},v}(ah))(f)},Xh=function(f){function h(v,d){for(var p=0;p=0)){Xu.push(e);var i=kh.wrapStageHandler(e,a);i.__prio=t,i.__raw=e,r.push(i)}}function Jh(r,t){Ho[r]=t}function j_(r,t,e){var n=I_("registerMap");n&&n(r,t,e)}var Q_=_0;lr(Xs,$0);lr(ui,X0);lr(ui,Z0);lr(Xs,u_);lr(ui,c_);lr(Fh,D_);jh(oh);Qh(R_,Qy);Jh("default",K0);ct({type:jt,event:jt,update:jt},mt);ct({type:ma,event:ma,update:ma},mt);ct({type:hn,event:hn,update:hn},mt);ct({type:ya,event:ya,update:ya},mt);ct({type:dn,event:dn,update:dn},mt);qh("light",o_);qh("dark",s_);function jr(r){return r==null?0:r.length||1}function Zu(r){return r}var J_=function(){function r(t,e,n,a,i,o){this._old=t,this._new=e,this._oldKeyGetter=n||Zu,this._newKeyGetter=a||Zu,this.context=i,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},a=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_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(i,n)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},a={},i=[],o=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,a,o,"_newKeyGetter");for(var s=0;s1&&h===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[l]=null;else if(f===1&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[l]=null;else if(f===1&&h===1)this._update&&this._update(c,u),a[l]=null;else if(f>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[l]=null;else if(f>1)for(var v=0;v1)for(var s=0;s30}var Qr=H,It=z,oS=typeof Int32Array>"u"?Array:Int32Array,sS="e\0\0",Ku=-1,lS=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],uS=["_approximateExtent"],qu,aa,Jr,en,Fi,ia,Wi,cS=function(){function r(t,e){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,a=!1;td(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,n=t),n=n||["x","y"];for(var i={},o=[],s={},l=!1,u={},c=0;c=e)){var n=this._store,a=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=a.getSource().sourceFormat,l=s===$e;if(l&&!a.pure)for(var u=[],c=t;c0},r.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var i=a[e];return i==null&&(i=this.getVisual(e),E(i)?i=i.slice():Qr(i)&&(i=O({},i)),a[e]=i),i},r.prototype.setItemVisual=function(t,e,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,Qr(e)?O(a,e):a[e]=n},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){Qr(t)?O(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?O(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;pm(n,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){w(this._graphicEls,function(n,a){n&&t&&t.call(e,n,a)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:It(this.dimensions,this._getDimInfo,this),this.hostModel)),Fi(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var n=this[t];$(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=n.apply(this,arguments);return e.apply(this,[a].concat(pg(arguments)))})},r.internalField=function(){qu=function(t){var e=t._invertedIndicesMap;w(e,function(n,a){var i=t._dimInfos[a],o=i.ordinalMeta,s=t._store;if(o){n=e[a]=new oS(o.categories.length);for(var l=0;l1&&(l+="__ec__"+c),a[e]=l}}}(),r}();const id=cS;function od(r,t){zs(r)||(r=Gs(r)),t=t||{};var e=t.coordDimensions||[],n=t.dimensionsDefine||r.dimensionsDefine||[],a=W(),i=[],o=vS(r,e,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&ad(o),l=n===r.dimensionsDefine,u=l?nd(r):rd(n),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(r,o));for(var f=W(c),h=new mh(o),v=0;v0&&(n.name=a+(i-1)),i++,t.set(a,i)}}function vS(r,t,e,n){var a=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,n||0);return w(t,function(i){var o;H(i)&&(o=i.dimsDef)&&(a=Math.max(a,o.length))}),a}function hS(r,t,e){if(e||t.hasKey(r)){for(var n=0;t.hasKey(r+n);)n++;r+=n}return t.set(r,!0),r}var dS=function(){function r(t){this.coordSysDims=[],this.axisMap=W(),this.categoryAxisMap=W(),this.coordSysName=t}return r}();function pS(r){var t=r.get("coordinateSystem"),e=new dS(t),n=gS[t];if(n)return n(r,e,e.axisMap,e.categoryAxisMap),e}var gS={cartesian2d:function(r,t,e,n){var a=r.getReferringComponents("xAxis",Re).models[0],i=r.getReferringComponents("yAxis",Re).models[0];t.coordSysDims=["x","y"],e.set("x",a),e.set("y",i),pr(a)&&(n.set("x",a),t.firstCategoryDimIndex=0),pr(i)&&(n.set("y",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,n){var a=r.getReferringComponents("singleAxis",Re).models[0];t.coordSysDims=["single"],e.set("single",a),pr(a)&&(n.set("single",a),t.firstCategoryDimIndex=0)},polar:function(r,t,e,n){var a=r.getReferringComponents("polar",Re).models[0],i=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",i),e.set("angle",o),pr(i)&&(n.set("radius",i),t.firstCategoryDimIndex=0),pr(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,n){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,n){var a=r.ecModel,i=a.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();w(i.parallelAxisIndex,function(s,l){var u=a.getComponent("parallelAxis",s),c=o[l];e.set(c,u),pr(u)&&(n.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function pr(r){return r.get("type")==="category"}function mS(r,t,e){e=e||{};var n=e.byIndex,a=e.stackedCoordDimension,i,o,s;yS(t)?i=t:(o=t.schema,i=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,c,f,h;if(w(i,function(y,_){G(y)&&(i[_]=y={name:y}),l&&!y.isExtraCoord&&(!n&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!a||a===y.coordDim)&&(c=y))}),c&&!n&&!u&&(n=!0),c){f="__\0ecstackresult_"+r.id,h="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var v=c.coordDim,d=c.type,p=0;w(i,function(y){y.coordDim===v&&p++});var m={name:f,coordDim:v,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},g={name:h,coordDim:h,coordDimIndex:p+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(h,d),g.storeDimIndex=s.ensureCalculationDimension(f,d)),o.appendCalculationDimension(m),o.appendCalculationDimension(g)):(i.push(m),i.push(g))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:f}}function yS(r){return!td(r.schema)}function Rr(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function _S(r,t){return Rr(r,t)?r.getCalculationInfo("stackResultDimension"):t}function SS(r,t){var e=r.get("coordinateSystem"),n=Vs.get(e),a;return t&&t.coordSysDims&&(a=z(t.coordSysDims,function(i){var o={name:i},s=t.axisMap.get(i);if(s){var l=s.get("type");o.type=Uo(l)}return o})),a||(a=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),a}function xS(r,t,e){var n,a;return e&&w(r,function(i,o){var s=i.coordDim,l=e.categoryAxisMap.get(s);l&&(n==null&&(n=o),i.ordinalMeta=l.getOrdinalMeta(),t&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(a=!0)}),!a&&n!=null&&(r[n].otherDims.itemName=0),n}function ci(r,t,e){e=e||{};var n=t.getSourceManager(),a,i=!1;r?(i=!0,a=Gs(r)):(a=n.getSource(),i=a.sourceFormat===$e);var o=pS(t),s=SS(t,o),l=e.useEncodeDefaulter,u=$(l)?l:l?Q(Qv,s,t):null,c={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},f=od(a,c),h=xS(f.dimensions,e.createInvertedIndices,o),v=i?null:n.getSharedDataStore(f),d=mS(t,{schema:f,store:v}),p=new id(f,t);p.setCalculationInfo(d);var m=h!=null&&bS(a)?function(g,y,_,S){return S===h?_:this.defaultDimValueGetter(g,y,_,S)}:null;return p.hasItemOption=!1,p.initData(i?a:v,null,m),p}function bS(r){if(r.sourceFormat===$e){var t=wS(r.data||[]);return!E(zn(t))}}function wS(r){for(var t=0;te[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r}();Ua(sd);const bt=sd;var CS=0,TS=function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++CS}return r.createByAxisModel=function(t){var e=t.option,n=e.data,a=n&&z(n,DS);return new r({categories:a,needCollect:!a,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!G(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return e=a.get(t),e==null&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=W(this.categories))},r}();function DS(r){return H(r)&&r.value!=null?r.value:r+""}const Yo=TS;function $o(r){return r.type==="interval"||r.type==="log"}function AS(r,t,e,n){var a={},i=r[1]-r[0],o=a.interval=nv(i/t,!0);e!=null&&on&&(o=a.interval=n);var s=a.intervalPrecision=ld(o),l=a.niceTickExtent=[ye(Math.ceil(r[0]/o)*o,s),ye(Math.floor(r[1]/o)*o,s)];return MS(l,r),a}function Hi(r){var t=Math.pow(10,gs(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,ye(e*t)}function ld(r){return dt(r)+2}function ju(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function MS(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),ju(r,0,t),ju(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function fi(r,t){return r>=t[0]&&r<=t[1]}function vi(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function hi(r,t){return r*(t[1]-t[0])+t[0]}var ud=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new Yo({})),E(a)&&(a=new Yo({categories:z(a,function(i){return H(i)?i.value:i})})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return t.prototype.parse=function(e){return e==null?NaN:G(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),fi(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),vi(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(hi(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],n=this._extent,a=n[0];a<=n[1];)e.push({value:a}),a++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=e.ordinalNumbers,a=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(bt);bt.registerClass(ud);const cd=ud;var Xt=ye,fd=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return fi(e,this._extent)},t.prototype.normalize=function(e){return vi(e,this._extent)},t.prototype.scale=function(e){return hi(e,this._extent)},t.prototype.setExtent=function(e,n){var a=this._extent;isNaN(e)||(a[0]=parseFloat(e)),isNaN(n)||(a[1]=parseFloat(n))},t.prototype.unionExtent=function(e){var n=this._extent;e[0]n[1]&&(n[1]=e[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=ld(e)},t.prototype.getTicks=function(e){var n=this._interval,a=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;a[0]l)return[];var c=s.length?s[s.length-1].value:i[1];return a[1]>c&&(e?s.push({value:Xt(c+n,o)}):s.push({value:a[1]})),s},t.prototype.getMinorTicks=function(e){for(var n=this.getTicks(!0),a=[],i=this.getExtent(),o=1;oi[0]&&v0&&(i=i===null?s:Math.min(i,s))}e[n]=i}}return e}function dd(r){var t=PS(r),e=[];return w(r,function(n){var a=n.coordinateSystem,i=a.getBaseAxis(),o=i.getExtent(),s;if(i.type==="category")s=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var l=i.dim+"_"+i.index,u=t[l],c=Math.abs(o[1]-o[0]),f=i.scale.getExtent(),h=Math.abs(f[1]-f[0]);s=u?c/h*u:c}else{var v=n.getData();s=Math.abs(o[1]-o[0])/v.count()}var d=ee(n.get("barWidth"),s),p=ee(n.get("barMaxWidth"),s),m=ee(n.get("barMinWidth")||(yd(n)?.5:1),s),g=n.get("barGap"),y=n.get("barCategoryGap");e.push({bandWidth:s,barWidth:d,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:y,axisKey:Js(i),stackId:Qs(n)})}),RS(e)}function RS(r){var t={};w(r,function(n,a){var i=n.axisKey,o=n.bandWidth,s=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[i]=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 v=n.barGap;v!=null&&(s.gap=v);var d=n.barCategoryGap;d!=null&&(s.categoryGap=d)});var e={};return w(t,function(n,a){e[a]={};var i=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Be(i).length;s=Math.max(35-l*4,15)+"%"}var u=ee(s,o),c=ee(n.gap,1),f=n.remainedWidth,h=n.autoWidthCount,v=(f-u)/(h+(h-1)*c);v=Math.max(v,0),w(i,function(g){var y=g.maxWidth,_=g.minWidth;if(g.width){var S=g.width;y&&(S=Math.min(S,y)),_&&(S=Math.max(S,_)),g.width=S,f-=S+c*S,h--}else{var S=v;y&&yS&&(S=_),S!==v&&(g.width=S,f-=S+c*S,h--)}}),v=(f-u)/(h+(h-1)*c),v=Math.max(v,0);var d=0,p;w(i,function(g,y){g.width||(g.width=v),p=g,d+=g.width*(1+c)}),p&&(d-=p.width*c);var m=-d/2;w(i,function(g,y){e[a][y]=e[a][y]||{bandWidth:o,offset:m,width:g.width},m+=g.width*(1+c)})}),e}function kS(r,t,e){if(r&&t){var n=r[Js(t)];return n!=null&&e!=null?n[Qs(e)]:n}}function pd(r,t){var e=hd(r,t),n=dd(e);w(e,function(a){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=Qs(a),u=n[Js(s)][l],c=u.offset,f=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function gd(r){return{seriesType:r,plan:Hn(),reset:function(t){if(md(t)){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),i=n.getOtherAxis(a),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=e.getDimensionIndex(e.mapDimension(a.dim)),l=t.get("showBackground",!0),u=e.mapDimension(i.dim),c=e.getCalculationInfo("stackResultDimension"),f=Rr(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),v=ES(a,i),d=yd(t),p=t.get("barMinHeight")||0,m=c&&e.getDimensionIndex(c),g=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(_,S){for(var b=_.count,x=d&&nt(b*3),C=d&&l&&nt(b*3),T=d&&nt(b),A=n.master.getRect(),M=h?A.width:A.height,D,I=S.getStore(),L=0;(D=_.next())!=null;){var P=I.get(f?m:o,D),R=I.get(s,D),V=v,Y=void 0;f&&(Y=+P-I.get(o,D));var k=void 0,B=void 0,F=void 0,U=void 0;if(h){var K=n.dataToPoint([P,R]);if(f){var q=n.dataToPoint([Y,R]);V=q[0]}k=V,B=K[1]+y,F=K[0]-V,U=g,Math.abs(F)>>1;r[a][1]a&&(this._approxInterval=a);var s=oa.length,l=Math.min(OS(oa,this._approxInterval,0,s),s-1);this._interval=oa[l][1],this._minLevelUnit=oa[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return se(e)?e:+yt(e)},t.prototype.contain=function(e){return fi(this.parse(e),this._extent)},t.prototype.normalize=function(e){return vi(this.parse(e),this._extent)},t.prototype.scale=function(e){return hi(e,this._extent)},t.type="time",t}(Un),oa=[["second",Rs],["minute",ks],["hour",pn],["quarter-day",pn*6],["half-day",pn*12],["day",We*1.2],["half-week",We*3.5],["week",We*7],["month",We*31],["quarter",We*95],["half-year",Kl/2],["year",Kl]];function NS(r,t,e,n){var a=yt(t),i=yt(e),o=function(d){return jl(a,d,n)===jl(i,d,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")},v=function(){return h()&&o("millisecond")};switch(r){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 v()}}function BS(r,t){return r/=We,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function VS(r){var t=30*We;return r/=t,r>6?6:r>3?3:r>2?2:1}function zS(r){return r/=pn,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function Qu(r,t){return r/=t?ks:Rs,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function GS(r){return nv(r,!0)}function FS(r,t,e){var n=new Date(r);switch(br(t)){case"year":case"month":n[zv(e)](0);case"day":n[Gv(e)](1);case"hour":n[Fv(e)](0);case"minute":n[Wv(e)](0);case"second":n[Hv(e)](0),n[Uv(e)](0)}return n.getTime()}function WS(r,t,e,n){var a=1e4,i=Bv,o=0;function s(M,D,I,L,P,R,V){for(var Y=new Date(D),k=D,B=Y[L]();k1&&R===0&&I.unshift({value:I[0].value-k})}}for(var R=0;R=n[0]&&y<=n[1]&&f++)}var _=(n[1]-n[0])/t;if(f>_*1.5&&h>_/1.5||(u.push(m),f>_||r===i[v]))break}c=[]}}}for(var S=xe(z(u,function(M){return xe(M,function(D){return D.value>=n[0]&&D.value<=n[1]&&!D.notAdd})}),function(M){return M.length>0}),b=[],x=S.length-1,v=0;v0;)i*=10;var s=[ye($S(n[0]/i)*i),ye(YS(n[1]/i)*i)];this._interval=i,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){_n.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=Ke(e)/Ke(this.base),fi(e,this._extent)},t.prototype.normalize=function(e){return e=Ke(e)/Ke(this.base),vi(e,this._extent)},t.prototype.scale=function(e){return e=hi(e,this._extent),sa(this.base,e)},t.type="log",t}(bt),Sd=el.prototype;Sd.getMinorTicks=_n.getMinorTicks;Sd.getLabel=_n.getLabel;function la(r,t){return US(r,dt(t))}bt.registerClass(el);const XS=el;var ZS=function(){function r(t,e,n){this._prepareParams(t,e,n)}return r.prototype._prepareParams=function(t,e,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var h=this._determinedMin,v=this._determinedMax;return h!=null&&(s=h,u=!0),v!=null&&(l=v,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},r.prototype.modifyDataMinMax=function(t,e){this[qS[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var n=KS[t];this[n]=e},r.prototype.freeze=function(){this.frozen=!0},r}(),KS={min:"_determinedMin",max:"_determinedMax"},qS={min:"_dataMin",max:"_dataMax"};function xd(r,t,e){var n=r.rawExtentInfo;return n||(n=new ZS(r,t,e),r.rawExtentInfo=n,n)}function ua(r,t){return t==null?null:xo(t)?NaN:r.parse(t)}function bd(r,t){var e=r.type,n=xd(r,t,r.getExtent()).calculate();r.setBlank(n.isBlank);var a=n.min,i=n.max,o=t.ecModel;if(o&&e==="time"){var s=hd("bar",o),l=!1;if(w(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=dd(s),c=jS(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:n.minFixed,fixMax:n.maxFixed}}function jS(r,t,e,n){var a=e.axis.getExtent(),i=a[1]-a[0],o=kS(n,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;w(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;w(o,function(v){l=Math.max(v.offset+v.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-r,f=1-(s+l)/i,h=c/f-c;return t+=h*(l/u),r-=h*(s/u),{min:r,max:t}}function ec(r,t){var e=t,n=bd(r,e),a=n.extent,i=e.get("splitNumber");r instanceof XS&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setExtent(a[0],a[1]),r.calcNiceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function QS(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new cd({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new HS({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(bt.getClass(t)||Un)}}function JS(r){var t=r.scale.getExtent(),e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}function Yn(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(n){return function(a,i){return r.scale.getFormattedLabel(a,i,n)}}(t):G(t)?function(n){return function(a){var i=r.scale.getLabel(a),o=n.replace("{value}",i??"");return o}}(t):$(t)?function(n){return function(a,i){return e!=null&&(i=a.value-e),n(tl(r,a),i,a.level!=null?{level:a.level}:null)}}(t):function(n){return r.scale.getLabel(n)}}function tl(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function ex(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var n,a,i=e.getExtent();e instanceof cd?a=e.count():(n=e.getTicks(),a=n.length);var o=r.getLabelModel(),s=Yn(r),l,u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;cr[1]&&(r[1]=a[1])})}var nx=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r}(),tc=[],ax={registerPreprocessor:jh,registerProcessor:Qh,registerPostInit:X_,registerPostUpdate:Z_,registerUpdateLifecycle:qs,registerAction:ct,registerCoordinateSystem:K_,registerLayout:q_,registerVisual:lr,registerTransform:Q_,registerLoading:Jh,registerMap:j_,registerImpl:M_,PRIORITY:F_,ComponentModel:ie,ComponentView:Ye,SeriesModel:lt,ChartView:Oe,registerComponentModel:function(r){ie.registerClass(r)},registerComponentView:function(r){Ye.registerClass(r)},registerSeriesModel:function(r){lt.registerClass(r)},registerChartView:function(r){Oe.registerClass(r)},registerSubTypeDefaulter:function(r,t){ie.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){gg(r,t)}};function _t(r){if(E(r)){w(r,function(t){_t(t)});return}oe(tc,r)>=0||(tc.push(r),$(r)&&(r={install:r}),r.install(ax))}var Rn=le();function ix(r){return r.type==="category"?sx(r):ux(r)}function ox(r,t){return r.type==="category"?lx(r,t):{ticks:z(r.scale.getTicks(),function(e){return e.value})}}function sx(r){var t=r.getLabelModel(),e=Td(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function Td(r,t){var e=Dd(r,"labels"),n=rl(t),a=Ad(e,n);if(a)return a;var i,o;return $(n)?i=Ld(r,n):(o=n==="auto"?cx(r):n,i=Id(r,o)),Md(e,n,{labels:i,labelCategoryInterval:o})}function lx(r,t){var e=Dd(r,"ticks"),n=rl(t),a=Ad(e,n);if(a)return a;var i,o;if((!t.get("show")||r.scale.isBlank())&&(i=[]),$(n))i=Ld(r,n,!0);else if(n==="auto"){var s=Td(r,r.getLabelModel());o=s.labelCategoryInterval,i=z(s.labels,function(l){return l.tickValue})}else o=n,i=Id(r,o,!0);return Md(e,n,{ticks:i,tickCategoryInterval:o})}function ux(r){var t=r.scale.getTicks(),e=Yn(r);return{labels:z(t,function(n,a){return{level:n.level,formattedLabel:e(n,a),rawLabel:r.scale.getLabel(n),tickValue:n.value}})}}function Dd(r,t){return Rn(r)[t]||(Rn(r)[t]=[])}function Ad(r,t){for(var e=0;e40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),c=Math.abs(u*Math.cos(n)),f=Math.abs(u*Math.sin(n)),h=0,v=0;l<=i[1];l+=s){var d=0,p=0,m=ps(e({value:l}),t.font,"center","top");d=m.width*1.3,p=m.height*1.3,h=Math.max(h,d,7),v=Math.max(v,p,7)}var g=h/c,y=v/f;isNaN(g)&&(g=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(g,y))),S=Rn(r.model),b=r.getExtent(),x=S.lastAutoInterval,C=S.lastTickCount;return x!=null&&C!=null&&Math.abs(x-_)<=1&&Math.abs(C-o)<=1&&x>_&&S.axisExtent0===b[0]&&S.axisExtent1===b[1]?_=x:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=b[0],S.axisExtent1=b[1]),_}function vx(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function Id(r,t,e){var n=Yn(r),a=r.scale,i=a.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=i[0],c=a.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=wd(r),h=o.get("showMinLabel")||f,v=o.get("showMaxLabel")||f;h&&u!==i[0]&&p(i[0]);for(var d=u;d<=i[1];d+=l)p(d);v&&d-l!==i[1]&&p(i[1]);function p(m){var g={value:m};s.push(e?m:{formattedLabel:n(g),rawLabel:a.getLabel(g),tickValue:m})}return s}function Ld(r,t,e){var n=r.scale,a=Yn(r),i=[];return w(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&i.push(e?l:{formattedLabel:a(o),rawLabel:s,tickValue:l})}),i}var rc=[0,1],hx=function(){function r(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return r.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),a=Math.max(e[0],e[1]);return t>=n&&t<=a},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return tv(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},r.prototype.dataToCoord=function(t,e){var n=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&a.type==="ordinal"&&(n=n.slice(),nc(n,a.count())),Ot(t,rc,n,e)},r.prototype.coordToData=function(t,e){var n=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(n=n.slice(),nc(n,a.count()));var i=Ot(t,n,rc,e);return this.scale.scale(i)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=ox(this,e),a=n.ticks,i=z(a,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return dx(this,i,o,t.clamp),i},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),a=z(n,function(i){return z(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return a},r.prototype.getViewLabels=function(){return ix(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);n===0&&(n=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/n},r.prototype.calculateCategoryInterval=function(){return fx(this)},r}();function nc(r,t){var e=r[1]-r[0],n=t,a=e/n/2;r[0]+=a,r[1]-=a}function dx(r,t,e,n){var a=t.length;if(!r.onBand||e||!a)return;var i=r.getExtent(),o,s;if(a===1)t[0].coord=i[0],o=t[1]={coord:i[1]};else{var l=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/l;w(t,function(v){v.coord-=u/2});var c=r.scale.getExtent();s=1+c[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*s},t.push(o)}var f=i[0]>i[1];h(t[0].coord,i[0])&&(n?t[0].coord=i[0]:t.shift()),n&&h(i[0],t[0].coord)&&t.unshift({coord:i[0]}),h(i[1],o.coord)&&(n?o.coord=i[1]:t.pop()),n&&h(o.coord,i[1])&&t.push({coord:i[1]});function h(v,d){return v=ye(v),d=ye(d),f?v>d:va&&(a+=tn);var v=Math.atan2(s,o);if(v<0&&(v+=tn),v>=n&&v<=a||v+tn>=n&&v+tn<=a)return l[0]=c,l[1]=f,u-e;var d=e*Math.cos(n)+r,p=e*Math.sin(n)+t,m=e*Math.cos(a)+r,g=e*Math.sin(a)+t,y=(d-o)*(d-o)+(p-s)*(p-s),_=(m-o)*(m-o)+(g-s)*(g-s);return y<_?(l[0]=d,l[1]=p,Math.sqrt(y)):(l[0]=m,l[1]=g,Math.sqrt(_))}function za(r,t,e,n,a,i,o,s){var l=a-r,u=i-t,c=e-r,f=n-t,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var v=l*c+u*f,d=v/h;s&&(d=Math.min(Math.max(d,0),1)),d*=h;var p=o[0]=r+d*c,m=o[1]=t+d*f;return Math.sqrt((p-a)*(p-a)+(m-i)*(m-i))}function Pd(r,t,e,n,a,i,o){e<0&&(r=r+e,e=-e),n<0&&(t=t+n,n=-n);var s=r+e,l=t+n,u=o[0]=Math.min(Math.max(a,r),s),c=o[1]=Math.min(Math.max(i,t),l);return Math.sqrt((u-a)*(u-a)+(c-i)*(c-i))}var je=[];function _x(r,t,e){var n=Pd(t.x,t.y,t.width,t.height,r.x,r.y,je);return e.set(je[0],je[1]),n}function Sx(r,t,e){for(var n=0,a=0,i=0,o=0,s,l,u=1/0,c=t.data,f=r.x,h=r.y,v=0;v0){t=t/180*Math.PI,Je.fromArray(r[0]),ne.fromArray(r[1]),fe.fromArray(r[2]),be.sub(at,Je,ne),be.sub(tt,fe,ne);var e=at.len(),n=tt.len();if(!(e<.001||n<.001)){at.scale(1/e),tt.scale(1/n);var a=at.dot(tt),i=Math.cos(t);if(i1&&be.copy(Pe,fe),Pe.toArray(r[1])}}}}function xx(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,Je.fromArray(r[0]),ne.fromArray(r[1]),fe.fromArray(r[2]),be.sub(at,ne,Je),be.sub(tt,fe,ne);var n=at.len(),a=tt.len();if(!(n<.001||a<.001)){at.scale(1/n),tt.scale(1/a);var i=at.dot(t),o=Math.cos(e);if(i=l)be.copy(Pe,fe);else{Pe.scaleAndAdd(tt,s/Math.tan(Math.PI/2-c));var f=fe.x!==ne.x?(Pe.x-ne.x)/(fe.x-ne.x):(Pe.y-ne.y)/(fe.y-ne.y);if(isNaN(f))return;f<0?be.copy(Pe,ne):f>1&&be.copy(Pe,fe)}Pe.toArray(r[1])}}}}function ic(r,t,e,n){var a=e==="normal",i=a?r:r.ensureState(e);i.ignore=t;var o=n.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();a?r.useStyle(s):i.style=s}function bx(r,t){var e=t.smooth,n=t.points;if(n)if(r.moveTo(n[0][0],n[0][1]),e>0&&n.length>=3){var a=bl(n[0],n[1]),i=bl(n[1],n[2]);if(!a||!i){r.lineTo(n[1][0],n[1][1]),r.lineTo(n[2][0],n[2][1]);return}var o=Math.min(a,i)*e,s=_i([],n[1],n[0],o/a),l=_i([],n[1],n[2],o/i),u=_i([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c0&&i&&b(-c/o,0,o);var p=r[0],m=r[o-1],g,y;_(),g<0&&x(-g,.8),y<0&&x(y,.8),_(),S(g,y,1),S(y,g,-1),_(),g<0&&C(-g),y<0&&C(y);function _(){g=p.rect[t]-n,y=a-m.rect[t]-m.rect[e]}function S(T,A,M){if(T<0){var D=Math.min(A,-T);if(D>0){b(D*M,0,o);var I=D+T;I<0&&x(-I*M,1)}else x(-T*M,1)}}function b(T,A,M){T!==0&&(u=!0);for(var D=A;D0)for(var I=0;I0;I--){var V=M[I-1]*R;b(-V,I,o)}}}function C(T){var A=T<0?-1:1;T=Math.abs(T);for(var M=Math.ceil(T/(o-1)),D=0;D0?b(M,0,D+1):b(-M,o-D-1,o),T-=M,T<=0)return}return u}function wx(r,t,e,n){return Nd(r,"x","width",t,e,n)}function Bd(r,t,e,n){return Nd(r,"y","height",t,e,n)}function Vd(r){var t=[];r.sort(function(p,m){return m.priority-p.priority});var e=new Ne(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 a=0;a=0&&n.attr(i.oldLayoutSelect),oe(h,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),ge(n,u,e,l)}else if(n.attr(u),!Vr(n).valueAnimation){var f=ue(n.style.opacity,1);n.style.opacity=0,De(n,{style:{opacity:f}},e,l)}if(i.oldLayout=u,n.states.select){var v=i.oldLayoutSelect={};ca(v,u,fa),ca(v,n.states.select,fa)}if(n.states.emphasis){var d=i.oldLayoutEmphasis={};ca(d,u,fa),ca(d,n.states.emphasis,fa)}jm(n,l,c,e,e)}if(a&&!a.ignore&&!a.invisible){var i=Dx(a),o=i.oldLayout,p={points:a.shape.points};o?(a.attr({shape:o}),ge(a,{shape:p},e)):(a.setShape(p),a.style.strokePercent=0,De(a,{style:{strokePercent:1}},e)),i.oldLayout=p}},r}();const Mx=Ax;var Yi=le();function cD(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var a=Yi(e).labelManager;a||(a=Yi(e).labelManager=new Mx),a.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var a=Yi(e).labelManager;n.updatedSeries.forEach(function(i){a.addLabelsOfSeries(e.getViewOfSeriesModel(i))}),a.updateLayoutConfig(e),a.layout(e),a.processLabelsOverall()})}var Ix=function(r){N(t,r);function t(){return r!==null&&r.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}(ie);const Lx=Ix;var Xo=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Re).models[0]},t.type="cartesian2dAxis",t}(ie);St(Xo,nx);var zd={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)"]}}},Px=Z({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},zd),nl=Z({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}}},zd),Rx=Z({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},nl),kx=te({logBase:10},nl);const Ex={category:Px,value:nl,time:Rx,log:kx};var Ox={value:1,category:1,time:1,log:1};function sc(r,t,e,n){w(Ox,function(a,i){var o=Z(Z({},Ex[i],!0),n,!0),s=function(l){N(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+i,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var h=An(this),v=h?ii(c):{},d=f.getTheme();Z(c,d.get(i+"Axis")),Z(c,this.getDefaultOption()),c.type=lc(c),h&&Lr(c,v,h)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=Yo.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+i,u.defaultOption=o,u}(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",lc)}function lc(r){return r.type||(r.data?"category":"value")}var Nx=function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return z(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),xe(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r}();const Bx=Nx;var Zo=["x","y"];function uc(r){return r.type==="interval"||r.type==="time"}var Vx=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Zo,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!uc(e)||!uc(n))){var a=e.getExtent(),i=n.getExtent(),o=this.dataToPoint([a[0],i[0]]),s=this.dataToPoint([a[1],i[1]]),l=a[1]-a[0],u=i[1]-i[0];if(!(!l||!u)){var c=(s[0]-o[0])/l,f=(s[1]-o[1])/u,h=o[0]-a[0]*c,v=o[1]-i[0]*f,d=this._transform=[c,0,0,f,h,v];this._invTransform=vs([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var n=this.getAxis("x"),a=this.getAxis("y");return n.contain(n.toLocalCoord(e[0]))&&a.contain(a.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,n){var a=this.dataToPoint(e),i=this.dataToPoint(n),o=this.getArea(),s=new Ne(a[0],a[1],i[0]-a[0],i[1]-a[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,n,a){a=a||[];var i=e[0],o=e[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return er(a,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return a[0]=s.toGlobalCoord(s.dataToCoord(i,n)),a[1]=l.toGlobalCoord(l.dataToCoord(o,n)),a},t.prototype.clampData=function(e,n){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,o=a.getExtent(),s=i.getExtent(),l=a.parse(e[0]),u=i.parse(e[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(e,n){var a=[];if(this._invTransform)return er(a,e,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return a[0]=i.coordToData(i.toLocalCoord(e[0]),n),a[1]=o.coordToData(o.toLocalCoord(e[1]),n),a},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),a=Math.min(e[0],e[1]),i=Math.min(n[0],n[1]),o=Math.max(e[0],e[1])-a,s=Math.max(n[0],n[1])-i;return new Ne(a,i,o,s)},t}(Bx),zx=function(r){N(t,r);function t(e,n,a,i,o){var s=r.call(this,e,n,a)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),e&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(e,n){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(px);const Gx=zx;function Ko(r,t,e){e=e||{};var n=r.coordinateSystem,a=t.axis,i={},o=a.getAxesOnZeroOf()[0],s=a.position,l=o?"onZero":s,u=a.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},v=t.get("offset")||0,d=u==="x"?[f[2]-v,f[3]+v]:[f[0]-v,f[1]+v];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));d[h.onZero]=Math.max(Math.min(p,d[1]),d[0])}i.position=[u==="y"?d[h[l]]:f[0],u==="x"?d[h[l]]:f[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var m={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=m[s],i.labelOffset=o?d[h[s]]-d[h.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),Dr(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var g=t.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-g:g,i.z2=1,i}function cc(r){return r.get("coordinateSystem")==="cartesian2d"}function fc(r){var t={xAxisModel:null,yAxisModel:null};return w(t,function(e,n){var a=n.replace(/Model$/,""),i=r.getReferringComponents(a,Re).models[0];t[n]=i}),t}var $i=Math.log;function Fx(r,t,e){var n=Un.prototype,a=n.getTicks.call(e),i=n.getTicks.call(e,!0),o=a.length-1,s=n.getInterval.call(e),l=bd(r,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(r.type==="log"){var h=$i(r.base);u=[$i(u[0])/h,$i(u[1])/h]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var v=n.getExtent.call(r);c&&(u[0]=v[0]),f&&(u[1]=v[1]);var d=n.getInterval.call(r),p=u[0],m=u[1];if(c&&f)d=(m-p)/o;else if(c)for(m=u[0]+d*o;mu[0]&&isFinite(p)&&isFinite(u[0]);)d=Hi(d),p=u[1]-d*o;else{var g=r.getTicks().length-1;g>o&&(d=Hi(d));var y=d*o;m=Math.ceil(u[1]/d)*d,p=ye(m-y),p<0&&u[0]>=0?(p=0,m=ye(y)):m>0&&u[1]<=0&&(m=0,p=-ye(y))}var _=(a[0].value-i[0].value)/s,S=(a[o].value-i[o].value)/s;n.setExtent.call(r,p+d*_,m+d*S),n.setInterval.call(r,d),(_||S)&&n.setNiceExtent.call(r,p+d,m-d)}var Wx=function(){function r(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Zo,this._initCartesian(t,e,n),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model);function a(o){var s,l=Be(o),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var h=+l[f],v=o[h],d=v.model,p=v.scale;$o(p)&&d.get("alignTicks")&&d.get("interval")==null?c.push(v):(ec(p,d),$o(p)&&(s=v))}c.length&&(s||(s=c.pop(),ec(s.scale,s.model)),w(c,function(m){Fx(m.scale,m.model,s.scale)}))}}a(n.x),a(n.y);var i={};w(n.x,function(o){vc(n,"y",o,i)}),w(n.y,function(o){vc(n,"x",o,i)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=Gt(a,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(w(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=ex(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()),w(this._coordsList,function(u){u.calcAffineTransform()});function l(){w(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]),Hx(u,c?o.x:o.y)})}},r.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(n!=null)return n[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var n="x"+t+"y"+e;return this._coordsMap[n]}H(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a0?"top":"bottom",i="center"):Ia(a-Nt)?(o=n>0?"bottom":"top",i="center"):(o="middle",a>0&&a0?"right":"left":i=n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r}(),dc={axisLine:function(r,t,e,n){var a=t.get(["axisLine","show"]);if(a==="auto"&&r.handleAutoShown&&(a=r.handleAutoShown("axisLine")),!!a){var i=t.axis.getExtent(),o=n.transform,s=[i[0],0],l=[i[1],0],u=s[0]>l[0];o&&(er(s,s,o),er(l,l,o));var c=O({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new tr({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Cn(f.shape,f.style.lineWidth),f.anid="line",e.add(f);var h=t.get(["axisLine","symbol"]);if(h!=null){var v=t.get(["axisLine","symbolSize"]);G(h)&&(h=[h,h]),(G(v)||se(v))&&(v=[v,v]);var d=$s(t.get(["axisLine","symbolOffset"])||0,v),p=v[0],m=v[1];w([{rotate:r.rotation+Math.PI/2,offset:d[0],r:0},{rotate:r.rotation-Math.PI/2,offset:d[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 _=Ft(h[y],-p/2,-m/2,p,m,c.stroke,!0),S=g.r+g.offset,b=u?l:s;_.attr({rotation:g.rotate,x:b[0]+S*Math.cos(r.rotation),y:b[1]-S*Math.sin(r.rotation),silent:!0,z2:11}),e.add(_)}})}}},axisTickLabel:function(r,t,e,n){var a=Xx(e,n,t,r),i=Kx(e,n,t,r);if($x(t,i,a),Zx(e,n,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=Od(z(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));Vd(o)}},axisName:function(r,t,e,n){var a=Dr(r.axisName,t.get("name"));if(a){var i=t.get("nameLocation"),o=r.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[i==="start"?u[0]-c*l:i==="end"?u[1]+c*l:(u[0]+u[1])/2,gc(i)?r.labelOffset+o*l:0],h,v=t.get("nameRotate");v!=null&&(v=v*Nt/180);var d;gc(i)?h=Qt.innerTextLayout(r.rotation,v??r.rotation,o):(h=Yx(r.rotation,i,v||0,u),d=r.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(h.rotation)),!isFinite(d)&&(d=null)));var p=s.getFont(),m=t.get("nameTruncate",!0)||{},g=m.ellipsis,y=Dr(r.nameTruncateMaxWidth,m.maxWidth,d),_=new we({x:f[0],y:f[1],rotation:h.rotation,silent:Qt.isLabelSilent(t),style:zt(s,{text:a,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(ja({el:_,componentModel:t,itemName:a}),_.__fullText=a,_.anid="name",t.get("triggerEvent")){var S=Qt.makeAxisEventDataBase(t);S.targetType="axisName",S.name=a,J(_).eventData=S}n.add(_),_.updateTransform(),e.add(_),_.decomposeTransform()}}};function Yx(r,t,e,n){var a=rv(e-r),i,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return Ia(a-Nt/2)?(o=l?"bottom":"top",i="center"):Ia(a-Nt*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",aNt/2?i=l?"left":"right":i=l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function $x(r,t,e){if(!wd(r.axis)){var n=r.get(["axisLabel","showMinLabel"]),a=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var i=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=e[0],c=e[1],f=e[e.length-1],h=e[e.length-2];n===!1?(ze(i),ze(u)):pc(i,o)&&(n?(ze(o),ze(c)):(ze(i),ze(u))),a===!1?(ze(s),ze(f)):pc(l,s)&&(a?(ze(l),ze(h)):(ze(s),ze(f)))}}function ze(r){r&&(r.ignore=!0)}function pc(r,t){var e=r&&r.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!e||!n)){var a=Uf([]);return Qf(a,a,-r.rotation),e.applyTransform(yo([],a,r.getLocalTransform())),n.applyTransform(yo([],a,t.getLocalTransform())),e.intersect(n)}}function gc(r){return r==="middle"||r==="center"}function Gd(r,t,e,n,a){for(var i=[],o=[],s=[],l=0;l=0||r===t}function tb(r){var t=al(r);if(t){var e=t.axisPointerModel,n=t.axis.scale,a=e.option,i=e.get("status"),o=e.get("value");o!=null&&(o=n.parse(o));var s=qo(e);i==null&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),os)return!0;if(o){var l=al(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},r.prototype.makeElOption=function(t,e,n,a,i){},r.prototype.createPointerEl=function(t,e,n,a){var i=e.pointer;if(i){var o=qt(t).pointerEl=new Ms[i.type](_c(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,n,a){if(e.label){var i=qt(t).labelEl=new we(_c(e.label));t.add(i),xc(i,a)}},r.prototype.updatePointerEl=function(t,e,n){var a=qt(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),n(a,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,n,a){var i=qt(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),xc(i,a))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,n=this._api.getZr(),a=this._handle,i=e.getModel("handle"),o=e.get("status");if(!i.get("show")||!o||o==="hide"){a&&n.remove(a),this._handle=null;return}var s;this._handle||(s=!0,a=this._handle=qa(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){_g(u.event)},onmousedown:Ki(this._onHandleDragMove,this,0,0),drift:Ki(this._onHandleDragMove,this),ondragend:Ki(this._onHandleDragEnd,this)}),n.add(a)),bc(a,e,!1),a.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");E(l)||(l=[l,l]),a.scaleX=l[0]/2,a.scaleY=l[1]/2,Ah(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){Sc(this._axisPointerModel,!e&&this._moveAnimation,this._handle,qi(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(qi(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(qi(a)),qt(n).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,a=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),Bo(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},r}();function Sc(r,t,e,n){$d(qt(e).lastProp,n)||(qt(e).lastProp=n,t?ge(e,n,r):(e.stopAnimation(),e.attr(n)))}function $d(r,t){if(H(r)&&H(t)){var e=!0;return w(t,function(n,a){e=e&&$d(r[a],n)}),!!e}else return r===t}function xc(r,t){r[t.get(["label","show"])?"show":"hide"]()}function qi(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function bc(r,t,e){var n=t.get("z"),a=t.get("zlevel");r&&r.traverse(function(i){i.type!=="group"&&(n!=null&&(i.z=n),a!=null&&(i.zlevel=a),i.silent=e)})}const vb=fb;function hb(r){var t=r.get("type"),e=r.getModel(t+"Style"),n;return t==="line"?(n=e.getLineStyle(),n.fill=null):t==="shadow"&&(n=e.getAreaStyle(),n.stroke=null),n}function db(r,t,e,n,a){var i=e.get("value"),o=Xd(i,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=ai(s.get("padding")||0),u=s.getFont(),c=ps(o,u),f=a.position,h=c.width+l[1]+l[3],v=c.height+l[0]+l[2],d=a.align;d==="right"&&(f[0]-=h),d==="center"&&(f[0]-=h/2);var p=a.verticalAlign;p==="bottom"&&(f[1]-=v),p==="middle"&&(f[1]-=v/2),pb(f,h,v,n);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=t.get(["axisLine","lineStyle","color"])),r.label={x:f[0],y:f[1],style:zt(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function pb(r,t,e,n){var a=n.getWidth(),i=n.getHeight();r[0]=Math.min(r[0]+t,a)-t,r[1]=Math.min(r[1]+e,i)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function Xd(r,t,e,n,a){r=t.scale.parse(r);var i=t.scale.getLabel({value:r},{precision:a.precision}),o=a.formatter;if(o){var s={value:tl(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};w(n,function(l){var u=e.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,f=u&&u.getDataParams(c);f&&s.seriesData.push(f)}),G(o)?i=o.replace("{value}",i):$(o)&&(i=o(s))}return i}function Zd(r,t,e){var n=xg();return Qf(n,n,e.rotation),Sg(n,n,e.position),As([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],n)}function gb(r,t,e,n,a,i){var o=Fd.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=a.get(["label","margin"]),db(t,n,a,i,{position:Zd(n.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function mb(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function yb(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}var _b=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,a,i,o){var s=a.axis,l=s.grid,u=i.get("type"),c=wc(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=hb(i),v=Sb[u](s,f,c);v.style=h,e.graphicKey=v.type,e.pointer=v}var d=Ko(l.model,a);gb(n,e,d,a,i,o)},t.prototype.getHandleTransform=function(e,n,a){var i=Ko(n.axis.grid.model,n,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=Zd(n.axis,e,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,a,i){var o=a.axis,s=o.grid,l=o.getGlobalExtent(!0),u=wc(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[e.x,e.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,v=[h,h];v[c]=f[c];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:e.rotation,cursorPoint:v,tooltipOption:d[c]}},t}(vb);function wc(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var Sb={line:function(r,t,e){var n=mb([t,e[0]],[t,e[1]],Cc(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=Math.max(1,r.getBandWidth()),a=e[1]-e[0];return{type:"Rect",shape:yb([t-n/2,e[0]],[n,a],Cc(r))}}};function Cc(r){return r.dim==="x"?0:1}const xb=_b;var bb=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(ie);const wb=bb;var pt=le(),Cb=w;function Kd(r,t,e){if(!ce.node){var n=t.getZr();pt(n).records||(pt(n).records={}),Tb(n,t);var a=pt(n).records[r]||(pt(n).records[r]={});a.handler=e}}function Tb(r,t){if(pt(r).initialized)return;pt(r).initialized=!0,e("click",Q(Tc,"click")),e("mousemove",Q(Tc,"mousemove")),e("globalout",Ab);function e(n,a){r.on(n,function(i){var o=Mb(t);Cb(pt(r).records,function(s){s&&a(s,i,o.dispatchAction)}),Db(o.pendings,t)})}}function Db(r,t){var e=r.showTip.length,n=r.hideTip.length,a;e?a=r.showTip[e-1]:n&&(a=r.hideTip[n-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function Ab(r,t,e){r.handler("leave",null,e)}function Tc(r,t,e,n){t.handler(r,e,n)}function Mb(r){var t={showTip:[],hideTip:[]},e=function(n){var a=t[n.type];a?a.push(n):(n.dispatchAction=e,r.dispatchAction(n))};return{dispatchAction:e,pendings:t}}function Qo(r,t){if(!ce.node){var e=t.getZr(),n=(pt(e).records||{})[r];n&&(pt(e).records[r]=null)}}var Ib=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=n.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";Kd("axisPointer",a,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(e,n){Qo("axisPointer",n)},t.prototype.dispose=function(e,n){Qo("axisPointer",n)},t.type="axisPointer",t}(Ye);const Lb=Ib;function qd(r,t){var e=[],n=r.seriesIndex,a;if(n==null||!(a=t.getSeriesByIndex(n)))return{point:[]};var i=a.getData(),o=rr(i,r);if(o==null||o<0||E(o))return{point:[]};var s=i.getItemGraphicEl(o),l=a.coordinateSystem;if(a.getTooltipPosition)e=a.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),f=c.dim,h=u.dim,v=f==="x"||f==="radius"?1:0,d=i.mapDimension(h),p=[];p[v]=i.get(d,o),p[1-v]=i.get(i.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(p)||[]}else e=l.dataToPoint(i.getValues(z(l.dimensions,function(g){return i.mapDimension(g)}),o))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),e=[m.x+m.width/2,m.y+m.height/2]}return{point:e,el:s}}var Dc=le();function Pb(r,t,e){var n=r.currTrigger,a=[r.x,r.y],i=r,o=r.dispatchAction||ae(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Ta(a)&&(a=qd({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var l=Ta(a),u=i.axesInfo,c=s.axesInfo,f=n==="leave"||Ta(a),h={},v={},d={list:[],map:{}},p={showPointer:Q(kb,v),showTooltip:Q(Eb,d)};w(s.coordSysMap,function(g,y){var _=l||g.containPoint(a);w(s.coordSysAxesInfo[y],function(S,b){var x=S.axis,C=Vb(u,S);if(!f&&_&&(!u||C)){var T=C&&C.value;T==null&&!l&&(T=x.pointToData(a)),T!=null&&Ac(S,T,p,!1,h)}})});var m={};return w(c,function(g,y){var _=g.linkGroup;_&&!v[y]&&w(_.axesInfo,function(S,b){var x=v[b];if(S!==g&&x){var C=x.value;_.mapper&&(C=g.axis.scale.parse(_.mapper(C,Mc(S),Mc(g)))),m[g.key]=C}})}),w(m,function(g,y){Ac(c[y],g,p,!0,h)}),Ob(v,c,h),Nb(d,a,r,o),Bb(c,o,e),h}}function Ac(r,t,e,n,a){var i=r.axis;if(!(i.scale.isBlank()||!i.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=Rb(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&a.seriesIndex==null&&O(a,s[0]),!n&&r.snap&&i.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function Rb(r,t){var e=t.axis,n=e.dim,a=r,i=[],o=Number.MAX_VALUE,s=-1;return w(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(n),f,h;if(l.getAxisTooltipData){var v=l.getAxisTooltipData(c,r,e);h=v.dataIndices,f=v.nestestValue}else{if(h=l.getData().indicesOfNearest(c[0],r,e.type==="category"?.5:null),!h.length)return;f=l.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var d=r-f,p=Math.abs(d);p<=o&&((p=0&&s<0)&&(o=p,s=d,a=f,i.length=0),w(h,function(m){i.push({seriesIndex:l.seriesIndex,dataIndexInside:m,dataIndex:l.getData().getRawIndex(m)})}))}}),{payloadBatch:i,snapToValue:a}}function kb(r,t,e,n){r[t.key]={value:e,payloadBatch:n}}function Eb(r,t,e,n){var a=e.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var l=t.coordSys.model,u=kn(l),c=r.map[u];c||(c=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function Ob(r,t,e){var n=e.axesInfo=[];w(t,function(a,i){var o=a.axisPointerModel.option,s=r[i];s?(!a.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!a.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:o.value})})}function Nb(r,t,e,n){if(Ta(t)||!r.list.length){n({type:"hideTip"});return}var a=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:r.list})}function Bb(r,t,e){var n=e.getZr(),a="axisPointerLastHighlights",i=Dc(n)[a]||{},o=Dc(n)[a]={};w(r,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&u.triggerEmphasis&&w(f.seriesDataIndices,function(h){var v=h.seriesIndex+" | "+h.dataIndex;o[v]=h})});var s=[],l=[];w(i,function(u,c){!o[c]&&l.push(u)}),w(o,function(u,c){!i[c]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Vb(r,t){for(var e=0;e<(r||[]).length;e++){var n=r[e];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function Mc(r){var t=r.axis.model,e={},n=e.axisDim=r.axis.dim;return e.axisIndex=e[n+"AxisIndex"]=t.componentIndex,e.axisName=e[n+"AxisName"]=t.name,e.axisId=e[n+"AxisId"]=t.id,e}function Ta(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function jd(r){Wd.registerAxisPointerClass("CartesianAxisPointer",xb),r.registerComponentModel(wb),r.registerComponentView(Lb),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!E(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=qx(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Pb)}function fD(r){_t(Yd),_t(jd)}var Ic="\0_ec_interaction_mutex";function zb(r,t,e){var n=Qd(r);n[t]=e}function Gb(r,t,e){var n=Qd(r),a=n[t];a===e&&(n[t]=null)}function Qd(r){return r[Ic]||(r[Ic]={})}ct({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},mt);var Fb={axisPointer:1,tooltip:1,brush:1};function Wb(r,t,e){var n=t.getComponentByElement(r.topTarget),a=n&&n.coordinateSystem;return n&&n!==e&&!Fb.hasOwnProperty(n.mainType)&&a&&a.model!==e}function Jd(r,t,e,n,a,i){r=r||0;var o=e[1]-e[0];if(a!=null&&(a=gr(a,[0,o])),i!=null&&(i=Math.max(i,a??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=gr(s,[0,o]),a=i=gr(s,[a,i]),n=0}t[0]=gr(t[0],e),t[1]=gr(t[1],e);var l=ji(t,n);t[n]+=r;var u=a||0,c=e.slice();l.sign<0?c[0]+=u:c[1]-=u,t[n]=gr(t[n],c);var f;return f=ji(t,n),a!=null&&(f.sign!==l.sign||f.spani&&(t[1-n]=t[n]+f.sign*i),t}function ji(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function gr(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var ar=!0,En=Math.min,kr=Math.max,Hb=Math.pow,Ub=1e4,Yb=6,$b=6,Lc="globalPan",Xb={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},Zb={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},Pc={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},Kb=0,qb=function(r){N(t,r);function t(e){var n=r.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new pe,n._uid="brushController_"+Kb++,w(nw,function(a,i){this._handlers[i]=ae(a,this)},n),n}return t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var n=this._zr;this._enableGlobalPan||zb(n,Lc,this._uid),w(this._handlers,function(a,i){n.on(i,a)}),this._brushType=e.brushType,this._brushOption=Z(X(Pc),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;Gb(e,Lc,this._uid),w(this._handlers,function(n,a){e.off(a,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var n=this._panels={};w(e,function(a){n[a.panelId]=X(a)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=z(e,function(h){return Z(X(Pc),h,!0)});var n="\0-brush-index-",a=this._covers,i=this._covers=[],o=this,s=this._creatingCover;return new Pn(a,e,u,l).add(c).update(c).remove(f).execute(),this;function l(h,v){return(h.id!=null?h.id:n+v)+"-"+h.brushType}function u(h,v){return l(h.__brushOption,v)}function c(h,v){var d=e[h];if(v!=null&&a[v]===s)i[h]=a[v];else{var p=i[h]=v!=null?(a[v].__brushOption=d,a[v]):tp(o,ep(o,d));il(o,p)}}function f(h){a[h]!==s&&o.group.remove(a[h])}},t.prototype.unmount=function(){return this.enableBrush(!1),Jo(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Vn);function ep(r,t){var e=di[t.brushType].createCover(r,t);return e.__brushOption=t,np(e,t),r.group.add(e),e}function tp(r,t){var e=ol(t);return e.endCreating&&(e.endCreating(r,t),np(t,t.__brushOption)),t}function rp(r,t){var e=t.__brushOption;ol(t).updateCoverShape(r,t,e.range,e)}function np(r,t){var e=t.z;e==null&&(e=Ub),r.traverse(function(n){n.z=e,n.z2=e})}function il(r,t){ol(t).updateCommon(r,t),rp(r,t)}function ol(r){return di[r.__brushOption.brushType]}function sl(r,t,e){var n=r._panels;if(!n)return ar;var a,i=r._transform;return w(n,function(o){o.isTargetByCursor(t,e,i)&&(a=o)}),a}function ap(r,t){var e=r._panels;if(!e)return ar;var n=t.__brushOption.panelId;return n!=null?e[n]:ar}function Jo(r){var t=r._covers,e=t.length;return w(t,function(n){r.group.remove(n)},r),t.length=0,!!e}function ir(r,t){var e=z(r._covers,function(n){var a=n.__brushOption,i=X(a.range);return{brushType:a.brushType,panelId:a.panelId,range:i}});r.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function jb(r){var t=r._track;if(!t.length)return!1;var e=t[t.length-1],n=t[0],a=e[0]-n[0],i=e[1]-n[1],o=Hb(a*a+i*i,.5);return o>Yb}function ip(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function op(r,t,e,n){var a=new pe;return a.add(new ve({name:"main",style:ll(e),silent:!0,draggable:!0,cursor:"move",drift:Q(Rc,r,t,a,["n","s","w","e"]),ondragend:Q(ir,t,{isEnd:!0})})),w(n,function(i){a.add(new ve({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Q(Rc,r,t,a,i),ondragend:Q(ir,t,{isEnd:!0})}))}),a}function sp(r,t,e,n){var a=n.brushStyle.lineWidth||0,i=kr(a,$b),o=e[0][0],s=e[1][0],l=o-a/2,u=s-a/2,c=e[0][1],f=e[1][1],h=c-i+a/2,v=f-i+a/2,d=c-o,p=f-s,m=d+a,g=p+a;ht(r,t,"main",o,s,d,p),n.transformable&&(ht(r,t,"w",l,u,i,g),ht(r,t,"e",h,u,i,g),ht(r,t,"n",l,u,m,i),ht(r,t,"s",l,v,m,i),ht(r,t,"nw",l,u,i,i),ht(r,t,"ne",h,u,i,i),ht(r,t,"sw",l,v,i,i),ht(r,t,"se",h,v,i,i))}function es(r,t){var e=t.__brushOption,n=e.transformable,a=t.childAt(0);a.useStyle(ll(e)),a.attr({silent:!n,cursor:n?"move":"default"}),w([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),s=i.length===1?ts(r,i[0]):Jb(r,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?Zb[s]+"-resize":null})})}function ht(r,t,e,n,a,i,o){var s=t.childOfName(e);s&&s.setShape(tw(ul(r,t,[[n,a],[n+i,a+o]])))}function ll(r){return te({strokeNoScale:!0},r.brushStyle)}function lp(r,t,e,n){var a=[En(r,e),En(t,n)],i=[kr(r,e),kr(t,n)];return[[a[0],i[0]],[a[1],i[1]]]}function Qb(r){return Ds(r.group)}function ts(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},a=Mv(e[t],Qb(r));return n[a]}function Jb(r,t){var e=[ts(r,t[0]),ts(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function Rc(r,t,e,n,a,i){var o=e.__brushOption,s=r.toRectRange(o.range),l=up(t,a,i);w(n,function(u){var c=Xb[u];s[c[0]][c[1]]+=l[c[0]]}),o.range=r.fromRectRange(lp(s[0][0],s[1][0],s[0][1],s[1][1])),il(t,e),ir(t,{isEnd:!1})}function ew(r,t,e,n){var a=t.__brushOption.range,i=up(r,e,n);w(a,function(o){o[0]+=i[0],o[1]+=i[1]}),il(r,t),ir(r,{isEnd:!1})}function up(r,t,e){var n=r.group,a=n.transformCoordToLocal(t,e),i=n.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function ul(r,t,e){var n=ap(r,t);return n&&n!==ar?n.clipPath(e,r._transform):X(e)}function tw(r){var t=En(r[0][0],r[1][0]),e=En(r[0][1],r[1][1]),n=kr(r[0][0],r[1][0]),a=kr(r[0][1],r[1][1]);return{x:t,y:e,width:n-t,height:a-e}}function rw(r,t,e){if(!(!r._brushType||aw(r,t.offsetX,t.offsetY))){var n=r._zr,a=r._covers,i=sl(r,t,e);if(!r._dragging)for(var o=0;on.getWidth()||e<0||e>n.getHeight()}var di={lineX:Oc(0),lineY:Oc(1),rect:{createCover:function(r,t){function e(n){return n}return op({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=ip(r);return lp(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,n){sp(r,t,e,n)},updateCommon:es,contain:ns},polygon:{createCover:function(r,t){var e=new pe;return e.add(new Nn({name:"main",style:ll(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new hs({name:"main",draggable:!0,drift:Q(ew,r,t),ondragend:Q(ir,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,n){t.childAt(0).setShape({points:ul(r,t,e)})},updateCommon:es,contain:ns}};function Oc(r){return{createCover:function(t,e){return op({toRectRange:function(n){var a=[n,[0,100]];return r&&a.reverse(),a},fromRectRange:function(n){return n[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=ip(t),n=En(e[0][r],e[1][r]),a=kr(e[0][r],e[1][r]);return[n,a]},updateCoverShape:function(t,e,n,a){var i,o=ap(t,e);if(o!==ar&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(r);else{var s=t._zr;i=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[n,i];r&&l.reverse(),sp(t,e,l,a)},updateCommon:es,contain:ns}}const iw=qb;function ow(r){return r=cl(r),function(t){return Lv(t,r)}}function sw(r,t){return r=cl(r),function(e){var n=t??e,a=n?r.width:r.height,i=n?r.x:r.y;return[i,i+(a||0)]}}function lw(r,t,e){var n=cl(r);return function(a,i){return n.contain(i[0],i[1])&&!Wb(a,t,e)}}function cl(r){return Ne.create(r)}var Nc=["x","y","radius","angle","single"],uw=["cartesian2d","polar","singleAxis"];function cw(r){var t=r.get("coordinateSystem");return oe(uw,t)>=0}function Sr(r){return r+"Axis"}function fw(r,t){var e=W(),n=[],a=W();r.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||s(c)});var i;do i=!1,r.eachComponent("dataZoom",o);while(i);function o(c){!a.get(c.uid)&&l(c)&&(s(c),i=!0)}function s(c){a.set(c.uid,!0),n.push(c),u(c)}function l(c){var f=!1;return c.eachTargetAxis(function(h,v){var d=e.get(h);d&&d[v]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,h){(e.get(f)||e.set(f,[]))[h]=!0})}return n}var Qi=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r}(),vw=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,n,a){var i=Bc(e);this.settledOption=i,this.mergeDefaultAndTheme(e,a),this._doInit(i)},t.prototype.mergeOption=function(e){var n=Bc(e);Z(this.option,e,!0),Z(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(e){var n=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var a=this.settledOption;w([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(n[i[0]]=a[i[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),n=this._targetAxisInfoMap=W(),a=this._fillSpecifiedTargetAxis(n);a?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var n=!1;return w(Nc,function(a){var i=this.getReferringComponents(Sr(a),tm);if(i.specified){n=!0;var o=new Qi;w(i.models,function(s){o.add(s.componentIndex)}),e.set(a,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(e,n){var a=this.ecModel,i=!0;if(i){var o=n==="vertical"?"y":"x",s=a.findComponents({mainType:o+"Axis"});l(s,o)}if(i){var s=a.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 Qi;if(h.add(f.componentIndex),e.set(c,h),i=!1,c==="x"||c==="y"){var v=f.getReferringComponents("grid",Re).models[0];v&&w(u,function(d){f.componentIndex!==d.componentIndex&&v===d.getReferringComponents("grid",Re).models[0]&&h.add(d.componentIndex)})}}}i&&w(Nc,function(u){if(i){var c=a.findComponents({mainType:Sr(u),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new Qi;f.add(c[0].componentIndex),e.set(u,f),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(n){!e&&(e=n)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.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(e){var n=this._rangePropMode,a=this.get("rangeMode");w([["start","startValue"],["end","endValue"]],function(i,o){var s=e[i[0]]!=null,l=e[i[1]]!=null;s&&!l?n[o]="percent":!s&&l?n[o]="value":a?n[o]=a[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(n,a){e==null&&(e=this.ecModel.getComponent(Sr(n),a))},this),e},t.prototype.eachTargetAxis=function(e,n){this._targetAxisInfoMap.each(function(a,i){w(a.indexList,function(o){e.call(n,i,o)})})},t.prototype.getAxisProxy=function(e,n){var a=this.getAxisModel(e,n);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(e,n){var a=this._targetAxisInfoMap.get(e);if(a&&a.indexMap[n])return this.ecModel.getComponent(Sr(e),n)},t.prototype.setRawRange=function(e){var n=this.option,a=this.settledOption;w([["start","startValue"],["end","endValue"]],function(i){(e[i[0]]!=null||e[i[1]]!=null)&&(n[i[0]]=a[i[0]]=e[i[0]],n[i[1]]=a[i[1]]=e[i[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var n=this.option;w(["start","startValue","end","endValue"],function(a){n[a]=e[a]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,n){if(e==null&&n==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(e,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var n,a=this._targetAxisInfoMap.keys(),i=0;io[1];if(_&&!S&&!b)return!0;_&&(m=!0),S&&(d=!0),b&&(p=!0)}return m&&d&&p})}else _r(c,function(v){if(i==="empty")l.setData(u=u.map(v,function(p){return s(p)?p:NaN}));else{var d={};d[v]=o,u.selectRange(d)}});_r(c,function(v){u.setApproximateExtent(o,v)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;_r(["min","max"],function(a){var i=e.get(a+"Span"),o=e.get(a+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=Ot(n[0]+o,n,[0,100],!0):i!=null&&(o=Ot(i,[0,100],n,!0)-n[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var a=tv(n,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;e[0]!==0&&i.setDeterminedMinMax("min",+n[0].toFixed(a)),e[1]!==100&&i.setDeterminedMinMax("max",+n[1].toFixed(a)),i.freeze()}},r}();function xw(r,t,e){var n=[1/0,-1/0];_r(e,function(o){rx(n,o.getData(),t)});var a=r.getAxisModel(),i=xd(a.axis.scale,a,n).calculate();return[i.min,i.max]}const bw=Sw;var ww={getTargetSeries:function(r){function t(a){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(Sr(o),s);a(o,s,l,i)})})}t(function(a,i,o,s){o.__dzAxisProxy=null});var e=[];t(function(a,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new bw(a,i,s,r),e.push(o.__dzAxisProxy))});var n=W();return w(e,function(a){w(a.getTargetSeriesModels(),function(i){n.set(i.uid,i)})}),n},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(n,a){e.getAxisProxy(n,a).reset(e)}),e.eachTargetAxis(function(n,a){e.getAxisProxy(n,a).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var n=e.findRepresentativeAxisProxy();if(n){var a=n.getDataPercentWindow(),i=n.getDataValueWindow();e.setCalculatedRange({start:a[0],end:a[1],startValue:i[0],endValue:i[1]})}})}};const Cw=ww;function Tw(r){r.registerAction("dataZoom",function(t,e){var n=fw(e,t);w(n,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var zc=!1;function Dw(r){zc||(zc=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,Cw),Tw(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Aw(r){r.registerComponentModel(pw),r.registerComponentView(_w),Dw(r)}var Qe=function(){function r(){}return r}(),fp={};function rn(r,t){fp[r]=t}function vp(r){return fp[r]}var Mw=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;w(this.option.feature,function(n,a){var i=vp(a);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),Z(n,i.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(ie);const Iw=Mw;function Lw(r,t,e){var n=t.getBoxLayoutParams(),a=t.get("padding"),i={width:e.getWidth(),height:e.getHeight()},o=Gt(n,i,a);Cr(t.get("orient"),r,t.get("itemGap"),o.width,o.height),_y(r,n,i,a)}function hp(r,t){var e=ai(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),r=new ve({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),r}var Pw=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,a,i){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},c=this._features||(this._features={}),f=[];w(u,function(d,p){f.push(p)}),new Pn(this._featureNames||[],f).add(h).update(h).remove(Q(h,null)).execute(),this._featureNames=f;function h(d,p){var m=f[d],g=f[p],y=u[m],_=new Te(y,e,e.ecModel),S;if(i&&i.newTitle!=null&&i.featureName===m&&(y.title=i.newTitle),m&&!g){if(Rw(m))S={onclick:_.option.onclick,featureName:m};else{var b=vp(m);if(!b)return;S=new b}c[m]=S}else if(S=c[g],!S)return;S.uid=Wn("toolbox-feature"),S.model=_,S.ecModel=n,S.api=a;var x=S instanceof Qe;if(!m&&g){x&&S.dispose&&S.dispose(n,a);return}if(!_.get("show")||x&&S.unusable){x&&S.remove&&S.remove(n,a);return}v(_,S,m),_.setIconStatus=function(C,T){var A=this.option,M=this.iconPaths;A.iconStatus=A.iconStatus||{},A.iconStatus[C]=T,M[C]&&(T==="emphasis"?Ar:Mr)(M[C])},S instanceof Qe&&S.render&&S.render(_,n,a,i)}function v(d,p,m){var g=d.getModel("iconStyle"),y=d.getModel(["emphasis","iconStyle"]),_=p instanceof Qe&&p.getIcons?p.getIcons():d.get("icon"),S=d.get("title")||{},b,x;G(_)?(b={},b[m]=_):b=_,G(S)?(x={},x[m]=S):x=S;var C=d.iconPaths={};w(b,function(T,A){var M=qa(T,{},{x:-s/2,y:-s/2,width:s,height:s});M.setStyle(g.getItemStyle());var D=M.ensureState("emphasis");D.style=y.getItemStyle();var I=new we({style:{text:x[A],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null},ignore:!0});M.setTextContent(I),ja({el:M,componentModel:e,itemName:A,formatterParamsExtra:{title:x[A]}}),M.__title=x[A],M.on("mouseover",function(){var L=y.getItemStyle(),P=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";I.setStyle({fill:y.get("textFill")||L.fill||L.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),M.setTextConfig({position:y.get("textPosition")||P}),I.ignore=!e.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){d.get(["iconStatus",A])!=="emphasis"&&a.leaveEmphasis(this),I.hide()}),(d.get(["iconStatus",A])==="emphasis"?Ar:Mr)(M),o.add(M),M.on("click",ae(p.onclick,p,n,a,A)),C[A]=M})}Lw(o,e,a),o.add(hp(o.getBoundingRect(),e)),l||o.eachChild(function(d){var p=d.__title,m=d.ensureState("emphasis"),g=m.textConfig||(m.textConfig={}),y=d.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!$(_)&&p){var S=_.style||(_.style={}),b=ps(p,we.makeFont(S)),x=d.x+o.x,C=d.y+o.y+s,T=!1;C+b.height>a.getHeight()&&(g.position="top",T=!0);var A=T?-5-b.height:s+10;x+b.width/2>a.getWidth()?(g.position=["100%",A],S.align="right"):x-b.width/2<0&&(g.position=[0,A],S.align="left")}})},t.prototype.updateView=function(e,n,a,i){w(this._features,function(o){o instanceof Qe&&o.updateView&&o.updateView(o.model,n,a,i)})},t.prototype.remove=function(e,n){w(this._features,function(a){a instanceof Qe&&a.remove&&a.remove(e,n)}),this.group.removeAll()},t.prototype.dispose=function(e,n){w(this._features,function(a){a instanceof Qe&&a.dispose&&a.dispose(e,n)})},t.type="toolbox",t}(Ye);function Rw(r){return r.indexOf("my")===0}const kw=Pw;var Ew=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){var a=this.model,i=a.get("name")||e.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":a.get("type",!0)||"png",l=n.getConnectedDataURL({type:s,backgroundColor:a.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=ce.browser;if($(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+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(","),v=h[0].indexOf("base64")>-1,d=o?decodeURIComponent(h[1]):h[1];v&&(d=window.atob(d));var p=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var m=d.length,g=new Uint8Array(m);m--;)g[m]=d.charCodeAt(m);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,b=S.document;b.open("image/svg+xml","replace"),b.write(d),b.close(),S.focus(),b.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var x=a.get("lang"),C='',T=window.open();T.document.write(C),T.document.title=i}},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(Qe);const Ow=Ew;var Gc="__ec_magicType_stack__",Nw=[["line","bar"],["stack"]],Bw=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,n=e.get("icon"),a={};return w(e.get("type"),function(i){n[i]&&(a[i]=n[i])}),a},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(e,n,a){var i=this.model,o=i.get(["seriesIndex",a]);if(Fc[a]){var s={series:[]},l=function(f){var h=f.subType,v=f.id,d=Fc[a](h,v,f,i);d&&(te(d,f.option),s.series.push(d));var p=f.coordinateSystem;if(p&&p.type==="cartesian2d"&&(a==="line"||a==="bar")){var m=p.getAxesByScale("ordinal")[0];if(m){var g=m.dim,y=g+"Axis",_=f.getReferringComponents(y,Re).models[0],S=_.componentIndex;s[y]=s[y]||[];for(var b=0;b<=S;b++)s[y][S]=s[y][S]||{};s[y][S].boundaryGap=a==="bar"}}};w(Nw,function(f){oe(f,a)>=0&&w(f,function(h){i.setIconStatus(h,"normal")})}),i.setIconStatus(a,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,c=a;a==="stack"&&(u=Z({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",a])!=="emphasis"&&(c="tiled")),n.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:u,featureName:"magicType"})}},t}(Qe),Fc={line:function(r,t,e,n){if(r==="bar")return Z({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(r,t,e,n){if(r==="line")return Z({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(r,t,e,n){var a=e.get("stack")===Gc;if(r==="line"||r==="bar")return n.setIconStatus("stack",a?"normal":"emphasis"),Z({id:t,stack:a?"":Gc},n.get(["option","stack"])||{},!0)}};ct({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});const Vw=Bw;var pi=new Array(60).join("-"),Er=" ";function zw(r){var t={},e=[],n=[];return r.eachRawSeries(function(a){var i=a.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(a)}else e.push(a)}else e.push(a)}),{seriesGroupByCategoryAxis:t,other:e,meta:n}}function Gw(r){var t=[];return w(r,function(e,n){var a=e.categoryAxis,i=e.valueAxis,o=i.dim,s=[" "].concat(z(e.series,function(v){return v.name})),l=[a.model.getCategories()];w(e.series,function(v){var d=v.getRawData();l.push(v.getRawData().mapArray(d.mapDimension(o),function(p){return p}))});for(var u=[s.join(Er)],c=0;c=0)return!0}var as=new RegExp("["+Er+"]+","g");function Uw(r){for(var t=r.split(/\n+/g),e=Fa(t.shift()).split(as),n=[],a=z(e,function(l){return{name:l,data:[]}}),i=0;i=0;i--){var o=e[i];if(o[a])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(s){var l=s.getPercentRange();e[0][a]={dataZoomId:a,start:l[0],end:l[1]}}}}),e.push(t)}function jw(r){var t=fl(r),e=t[t.length-1];t.length>1&&t.pop();var n={};return dp(e,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){n[i]=a;break}}),n}function Qw(r){pp(r).snapshots=null}function Jw(r){return fl(r).length}function fl(r){var t=pp(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var e1=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){Qw(e),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(Qe);ct({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});const t1=e1;var r1=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],n1=function(){function r(t,e,n){var a=this;this._targetInfoList=[];var i=Wc(e,t);w(a1,function(o,s){(!n||!n.include||oe(n.include,s)>=0)&&o(i,a._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(n,a,i){if((n.coordRanges||(n.coordRanges=[])).push(a),!n.coordRange){n.coordRange=a;var o=Ji[n.brushType](0,i,a);n.__rangeOffset={offset:$c[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,n){w(t,function(a){var i=this.findTargetInfo(a,e);i&&i!==!0&&w(i.coordSyses,function(o){var s=Ji[a.brushType](1,o,a.range,!0);n(a,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){w(t,function(n){var a=this.findTargetInfo(n,e);if(n.range=n.range||[],a&&a!==!0){n.panelId=a.panelId;var i=Ji[n.brushType](0,a.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?$c[n.brushType](i.values,o.offset,i1(i.xyMinMax,o.xyMinMax)):i.values}},this)},r.prototype.makePanelOpts=function(t,e){return z(this._targetInfoList,function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:ow(a),isTargetByCursor:lw(a,t,n.coordSysModel),getLinearBrushOtherExtent:sw(a)}})},r.prototype.controlSeries=function(t,e,n){var a=this.findTargetInfo(t,n);return a===!0||a&&oe(a.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,a=Wc(e,t),i=0;ir[1]&&r.reverse(),r}function Wc(r,t){return vn(r,t,{includeMainTypes:r1})}var a1={grid:function(r,t){var e=r.xAxisModels,n=r.yAxisModels,a=r.gridModels,i=W(),o={},s={};!e&&!n&&!a||(w(e,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),w(n,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),w(a,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var u=l.coordinateSystem,c=[];w(u.getCartesians(),function(f,h){(oe(e,f.getAxis("x").model)>=0||oe(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:Uc.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){w(r.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:Uc.geo})})}},Hc=[function(r,t){var e=r.xAxisModel,n=r.yAxisModel,a=r.gridModel;return!a&&e&&(a=e.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],Uc={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(Ds(r)),t}},Ji={lineX:Q(Yc,0),lineY:Q(Yc,1),rect:function(r,t,e,n){var a=r?t.pointToData([e[0][0],e[1][0]],n):t.dataToPoint([e[0][0],e[1][0]],n),i=r?t.pointToData([e[0][1],e[1][1]],n):t.dataToPoint([e[0][1],e[1][1]],n),o=[is([a[0],i[0]]),is([a[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,n){var a=[[1/0,-1/0],[1/0,-1/0]],i=z(e,function(o){var s=r?t.pointToData(o,n):t.dataToPoint(o,n);return a[0][0]=Math.min(a[0][0],s[0]),a[1][0]=Math.min(a[1][0],s[1]),a[0][1]=Math.max(a[0][1],s[0]),a[1][1]=Math.max(a[1][1],s[1]),s});return{values:i,xyMinMax:a}}};function Yc(r,t,e,n){var a=e.getAxis(["x","y"][r]),i=is(z([0,1],function(s){return t?a.coordToData(a.toLocalCoord(n[s]),!0):a.toGlobalCoord(a.dataToCoord(n[s]))})),o=[];return o[r]=i,o[1-r]=[NaN,NaN],{values:i,xyMinMax:o}}var $c={lineX:Q(Xc,0),lineY:Q(Xc,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return z(r,function(n,a){return[n[0]-e[0]*t[a][0],n[1]-e[1]*t[a][1]]})}};function Xc(r,t,e,n){return[t[0]-n[r]*e[0],t[1]-n[r]*e[1]]}function i1(r,t){var e=Zc(r),n=Zc(t),a=[e[0]/n[0],e[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function Zc(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}const gp=n1;var os=w,o1=jg("toolbox-dataZoom_"),s1=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,a,i){this._brushController||(this._brushController=new iw(a.getZr()),this._brushController.on("brush",ae(this._onBrush,this)).mount()),c1(e,n,this,i,a),u1(e,n)},t.prototype.onclick=function(e,n,a){l1[a].call(this)},t.prototype.remove=function(e,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var n=e.areas;if(!e.isEnd||!n.length)return;var a={},i=this.ecModel;this._brushController.updateCovers([]);var o=new gp(vl(this.model),i,{include:["grid"]});o.matchOutputRanges(n,i,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)}}),qw(i,a),this._dispatchZoomAction(a);function s(u,c,f){var h=c.getAxis(u),v=h.model,d=l(u,v,i),p=d.findRepresentativeAxisProxy(v).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(f=Jd(0,f.slice(),h.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),d&&(a[d.id]={dataZoomId:d.id,startValue:f[0],endValue:f[1]})}function l(u,c,f){var h;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(v){var d=v.getAxisModel(u,c.componentIndex);d&&(h=v)}),h}},t.prototype._dispatchZoomAction=function(e){var n=[];os(e,function(a,i){n.push(X(a))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(Qe),l1={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(jw(this.ecModel))}};function vl(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function u1(r,t){r.setIconStatus("back",Jw(t)>1?"emphasis":"normal")}function c1(r,t,e,n,a){var i=e._isZoomActive;n&&n.type==="takeGlobalCursor"&&(i=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),e._isZoomActive=i,r.setIconStatus("zoom",i?"emphasis":"normal");var o=new gp(vl(r),t,{include:["grid"]}),s=o.makePanelOpts(a,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}Ay("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var n=t.getModel(e),a=[],i=vl(n),o=vn(r,i);os(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),os(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:o1+u+f};h[c]=f,a.push(h)}return a});const f1=s1;function vD(r){r.registerComponentModel(Iw),r.registerComponentView(kw),rn("saveAsImage",Ow),rn("magicType",Vw),rn("dataView",Kw),rn("dataZoom",f1),rn("restore",t1),_t(Aw)}var v1=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}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}(ie);const h1=v1;function mp(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function yp(r){if(ce.domSupported){for(var t=document.documentElement.style,e=0,n=r.length;e-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=o+a,h=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),v=Math.round(((h-Math.SQRT2*a)/2+Math.SQRT2*a-(h-f)/2)*100)/100;s+=";"+i+":-"+v+"px";var d=t+" solid "+a+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function S1(r,t){var e="cubic-bezier(0.23,1,0.32,1)",n=" "+r/2+"s "+e,a="opacity"+n+",visibility"+n;return t||(n=" "+r+"s "+e,a+=ce.transformSupported?","+hl+n:",left"+n+",top"+n),g1+":"+a}function Kc(r,t,e){var n=r.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!ce.transformSupported)return e?"top:"+a+";left:"+n+";":[["top",a],["left",n]];var i=ce.transform3dSupported,o="translate"+(i?"3d":"")+"("+n+","+a+(i?",0":"")+")";return e?"top:0;left:0;"+hl+":"+o+";":[["top",0],["left",0],[_p,o]]}function x1(r){var t=[],e=r.get("fontSize"),n=r.getTextColor();n&&t.push("color:"+n),t.push("font:"+r.getFont()),e&&t.push("line-height:"+Math.round(e*3/2)+"px");var a=r.get("textShadowColor"),i=r.get("textShadowBlur")||0,o=r.get("textShadowOffsetX")||0,s=r.get("textShadowOffsetY")||0;return a&&i&&t.push("text-shadow:"+o+"px "+s+"px "+i+"px "+a),w(["decoration","align"],function(l){var u=r.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function b1(r,t,e){var n=[],a=r.get("transitionDuration"),i=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),c=r.getModel("textStyle"),f=Th(r,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),t&&a&&n.push(S1(a,e)),i&&n.push("background-color:"+i),w(["width","color","radius"],function(v){var d="border-"+v,p=$v(d),m=r.get(p);m!=null&&n.push(d+":"+m+(v==="color"?"":"px"))}),n.push(x1(c)),f!=null&&n.push("padding:"+ai(f).join("px ")+"px"),n.join(";")+";"}function qc(r,t,e,n,a){var i=t&&t.painter;if(e){var o=i&&i.getViewportRoot();o&&wg(r,o,document.body,n,a)}else{r[0]=n,r[1]=a;var s=i&&i.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var w1=function(){function r(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,ce.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;qc(this._styleCoord,i,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(a):t.appendChild(a),this._container=t;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,c=i.painter.getViewportRoot();bg(c,l,!0),u.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){var e=this._container,n=p1(e,"position"),a=e.style;a.position!=="absolute"&&n!=="absolute"&&(a.position="relative");var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,i=this._styleCoord;n.innerHTML?a.cssText=m1+b1(t,!this._firstShow,this._longHide)+Kc(i[0],i[1],!0)+("border-color:"+nr(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,n,a,i){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(G(i)&&n.get("trigger")==="item"&&!mp(n)&&(s=_1(n,a,i)),G(t))o.innerHTML=t+s;else if(t){o.innerHTML="",E(t)||(t=[t]);for(var l=0;l=0?this._tryShow(i,o):a==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,n=this._ecModel,a=this._api,i=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&o.manuallyShowTip(e,n,a,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,n,a,i){if(!(i.from===this.uid||ce.node||!a.getDom())){var o=Jc(i,a);this._ticket="";var s=i.dataByCoordSys,l=R1(i,n,a);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:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var c=A1;c.x=i.x,c.y=i.y,c.update(),J(c).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:c},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(e,n,a,i))return;var f=qd(i,n),h=f.point[0],v=f.point[1];h!=null&&v!=null&&this._tryShow({offsetX:h,offsetY:v,target:f.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:a.getZr().findHover(i.x,i.y).target},o))}},t.prototype.manuallyHideTip=function(e,n,a,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Jc(i,a))},t.prototype._manuallyAxisShowTip=function(e,n,a,i){var o=i.seriesIndex,s=i.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=nn([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},t.prototype._tryShow=function(e,n){var a=e.target,i=this._tooltipModel;if(i){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(a){this._lastDataByCoordSys=null;var s,l;un(a,function(u){if(J(u).dataIndex!=null)return s=u,!0;if(J(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(e,s,n):l?this._showComponentItemTooltip(e,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(e,n){var a=e.get("showDelay");n=ae(n,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(n,a):n()},t.prototype._showAxisTooltip=function(e,n){var a=this._ecModel,i=this._tooltipModel,o=[n.offsetX,n.offsetY],s=nn([n.tooltipOption],i),l=this._renderMode,u=[],c=In("section",{blocks:[],noHeader:!0}),f=[],h=new Pi;w(e,function(y){w(y.dataByAxis,function(_){var S=a.getComponent(_.axisDim+"Axis",_.axisIndex),b=_.value;if(!(!S||b==null)){var x=Xd(b,S.axis,a,_.seriesDataIndices,_.valueLabelOpt),C=In("section",{header:x,noHeader:!Bn(x),sortBlocks:!0,blocks:[]});c.blocks.push(C),w(_.seriesDataIndices,function(T){var A=a.getSeriesByIndex(T.seriesIndex),M=T.dataIndexInside,D=A.getDataParams(M);if(!(D.dataIndex<0)){D.axisDim=_.axisDim,D.axisIndex=_.axisIndex,D.axisType=_.axisType,D.axisId=_.axisId,D.axisValue=tl(S.axis,{value:b}),D.axisValueLabel=x,D.marker=h.makeTooltipMarker("item",nr(D.color),l);var I=yu(A.formatTooltip(M,!0,null)),L=I.frag;if(L){var P=nn([A],i).get("valueFormatter");C.blocks.push(P?O({valueFormatter:P},L):L)}I.text&&f.push(I.text),u.push(D)}})}})}),c.blocks.reverse(),f.reverse();var v=n.position,d=s.get("order"),p=Cu(c,h,l,d,a.get("useUTC"),s.get("textStyle"));p&&f.unshift(p);var m=l==="richText"?` + +`:"
",g=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",o[0],o[1],v,null,h)})},t.prototype._showSeriesItemTooltip=function(e,n,a){var i=this._ecModel,o=J(n),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,h=u.getData(f),v=this._renderMode,d=e.positionDefault,p=nn([h.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),m=p.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(c,f),y=new Pi;g.marker=y.makeTooltipMarker("item",nr(g.color),v);var _=yu(u.formatTooltip(c,!1,f)),S=p.get("order"),b=p.get("valueFormatter"),x=_.frag,C=x?Cu(b?O({valueFormatter:b},x):x,y,v,S,i.get("useUTC"),p.get("textStyle")):_.text,T="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,C,g,T,e.offsetX,e.offsetY,e.position,e.target,y)}),a({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,n,a){var i=J(n),o=i.tooltipConfig,s=o.option||{};if(G(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(i.componentMainType,i.componentIndex);c&&u.push(c),u.push({formatter:s.content});var f=e.positionDefault,h=nn(u,this._tooltipModel,f?{position:f}:null),v=h.get("content"),d=Math.random()+"",p=new Pi;this._showOrMove(h,function(){var m=X(h.get("formatterParams")||{});this._showTooltipContent(h,v,m,d,e.offsetX,e.offsetY,e.position,n,p)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,n,a,i,o,s,l,u,c){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var f=this._tooltipContent;f.setEnterable(e.get("enterable"));var h=e.get("formatter");l=l||e.get("position");var v=n,d=this._getNearestPoint([o,s],a,e.get("trigger"),e.get("borderColor")),p=d.color;if(h)if(G(h)){var m=e.ecModel.get("useUTC"),g=E(a)?a[0]:a,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;v=h,y&&(v=Ja(g.axisValue,v,m)),v=Xv(v,a,!0)}else if($(h)){var _=ae(function(S,b){S===this._ticket&&(f.setContent(b,c,e,p,l),this._updatePosition(e,l,o,s,f,a,u))},this);this._ticket=i,v=h(a,i,_)}else v=h;f.setContent(v,c,e,p,l),f.show(e,p),this._updatePosition(e,l,o,s,f,a,u)}},t.prototype._getNearestPoint=function(e,n,a,i){if(a==="axis"||E(n))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!E(n))return{color:i||n.color||n.borderColor}},t.prototype._updatePosition=function(e,n,a,i,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||e.get("position");var f=o.getSize(),h=e.get("align"),v=e.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),$(n)&&(n=n([a,i],s,o.el,d,{viewSize:[u,c],contentSize:f.slice()})),E(n))a=ee(n[0],u),i=ee(n[1],c);else if(H(n)){var p=n;p.width=f[0],p.height=f[1];var m=Gt(p,{width:u,height:c});a=m.x,i=m.y,h=null,v=null}else if(G(n)&&l){var g=P1(n,d,f,e.get("borderWidth"));a=g[0],i=g[1]}else{var g=I1(a,i,o,u,c,h?null:20,v?null:20);a=g[0],i=g[1]}if(h&&(a-=ef(h)?f[0]/2:h==="right"?f[0]:0),v&&(i-=ef(v)?f[1]/2:v==="bottom"?f[1]:0),mp(e)){var g=L1(a,i,o,u,c);a=g[0],i=g[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(e,n){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===e.length;return o&&w(a,function(s,l){var u=s.dataByAxis||[],c=e[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&w(u,function(h,v){var d=f[v]||{},p=h.seriesDataIndices||[],m=d.seriesDataIndices||[];o=o&&h.value===d.value&&h.axisType===d.axisType&&h.axisId===d.axisId&&p.length===m.length,o&&w(p,function(g,y){var _=m[y];o=o&&g.seriesIndex===_.seriesIndex&&g.dataIndex===_.dataIndex}),i&&w(h.seriesDataIndices,function(g){var y=g.seriesIndex,_=n[y],S=i[y];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=n,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,n){ce.node||!n.getDom()||(Bo(this,"_updatePosition"),this._tooltipContent.dispose(),Qo("itemTooltip",n))},t.type="tooltip",t}(Ye);function nn(r,t,e){var n=t.ecModel,a;e?(a=new Te(e,n,n),a=new Te(t.option,a,n)):a=t;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof Te&&(o=o.get("tooltip",!0)),G(o)&&(o={formatter:o}),o&&(a=new Te(o,a,n)))}return a}function Jc(r,t){return r.dispatchAction||ae(t.dispatchAction,t)}function I1(r,t,e,n,a,i,o){var s=e.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>n?r-=l+i:r+=i),o!=null&&(t+u+o>a?t-=u+o:t+=o),[r,t]}function L1(r,t,e,n,a){var i=e.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,n)-o,t=Math.min(t+s,a)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function P1(r,t,e,n){var a=e[0],i=e[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(r){case"inside":s=t.x+u/2-a/2,l=t.y+c/2-i/2;break;case"top":s=t.x+u/2-a/2,l=t.y-i-o;break;case"bottom":s=t.x+u/2-a/2,l=t.y+c+o;break;case"left":s=t.x-a-o,l=t.y+c/2-i/2;break;case"right":s=t.x+u+o,l=t.y+c/2-i/2}return[s,l]}function ef(r){return r==="center"||r==="middle"}function R1(r,t,e){var n=ys(r).queryOptionMap,a=n.keys()[0];if(!(!a||a==="series")){var i=Gn(t,a,n.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var c=J(u).tooltipConfig;if(c&&c.name===r.name)return l=u,!0}),l)return{componentMainType:a,componentIndex:o.componentIndex,el:l}}}}const k1=M1;function hD(r){_t(jd),r.registerComponentModel(h1),r.registerComponentView(k1),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},mt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},mt)}var E1=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}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}(ie),O1=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){if(this.group.removeAll(),!!e.get("show")){var i=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=ue(e.get("textBaseline"),e.get("textVerticalAlign")),c=new we({style:zt(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),h=e.get("subtext"),v=new we({style:zt(s,{text:h,fill:s.getTextColor(),y:f.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),m=e.get("triggerEvent",!0);c.silent=!d&&!m,v.silent=!p&&!m,d&&c.on("click",function(){Jl(d,"_"+e.get("target"))}),p&&v.on("click",function(){Jl(p,"_"+e.get("subtarget"))}),J(c).eventData=J(v).eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(c),h&&i.add(v);var g=i.getBoundingRect(),y=e.getBoxLayoutParams();y.width=g.width,y.height=g.height;var _=Gt(y,{width:a.getWidth(),height:a.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var S={align:l,verticalAlign:u};c.setStyle(S),v.setStyle(S),g=i.getBoundingRect();var b=_.margin,x=e.getItemStyle(["color","opacity"]);x.fill=e.get("backgroundColor");var C=new ve({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:e.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(C)}},t.type="title",t}(Ye);function dD(r){r.registerComponentModel(E1),r.registerComponentView(O1)}function gi(r,t){var e=r.mapDimensionsAll("defaultedLabel"),n=e.length;if(n===1){var a=Pr(r,t,e[0]);return a!=null?a+"":null}else if(n){for(var i=[],o=0;o=0&&n.push(t[i])}return n.join(" ")}var N1=function(r){N(t,r);function t(e,n,a,i){var o=r.call(this)||this;return o.updateData(e,n,a,i),o}return t.prototype._createSymbol=function(e,n,a,i,o){this.removeAll();var s=Ft(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=B1,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Ar(this.childAt(0))},t.prototype.downplay=function(){Mr(this.childAt(0))},t.prototype.setZ=function(e,n){var a=this.childAt(0);a.zlevel=e,a.z=n},t.prototype.setDraggable=function(e,n){var a=this.childAt(0);a.draggable=e,a.cursor=!n&&e?"move":a.cursor},t.prototype.updateData=function(e,n,a,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=o!==this._symbolType,c=i&&i.disableAnimation;if(u){var f=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,l,f)}else{var h=this.childAt(0);h.silent=!1;var v={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(v):ge(h,v,s,n),Ka(h)}if(this._updateCommon(e,n,l,a,i),u){var h=this.childAt(0);if(!c){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,De(h,v,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,n,a,i,o){var s=this.childAt(0),l=e.hostModel,u,c,f,h,v,d,p,m,g;if(i&&(u=i.emphasisItemStyle,c=i.blurItemStyle,f=i.selectItemStyle,h=i.focus,v=i.blurScope,p=i.labelStatesModels,m=i.hoverScale,g=i.cursorStyle,d=i.emphasisDisabled),!i||e.hasItemOption){var y=i&&i.itemModel?i.itemModel:e.getItemModel(n),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),h=_.get("focus"),v=_.get("blurScope"),d=_.get("disabled"),p=Br(y),m=_.getShallow("scale"),g=y.getShallow("cursor")}var S=e.getItemVisual(n,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var b=$s(e.getItemVisual(n,"symbolOffset"),a);b&&(s.x=b[0],s.y=b[1]),g&&s.attr("cursor",g);var x=e.getItemVisual(n,"style"),C=x.fill;if(s instanceof Or){var T=s.style;s.useStyle(O({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},x))}else s.__isEmptyBrush?s.useStyle(O({},x)):s.useStyle(x),s.style.decal=null,s.setColor(C,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var A=e.getItemVisual(n,"liftZ"),M=this._z2;A!=null?M==null&&(this._z2=s.z2,s.z2+=A):M!=null&&(s.z2=M,this._z2=null);var D=o&&o.useNameLabel;Nr(s,p,{labelFetcher:l,labelDataIndex:n,defaultText:I,inheritColor:C,defaultOpacity:x.opacity});function I(R){return D?e.getName(R):gi(e,R)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var L=s.ensureState("emphasis");L.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var P=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),Ir(this,h,v,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,n,a){var i=this.childAt(0),o=J(this).dataIndex,s=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var l=i.getTextContent();l&&wn(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();wn(i,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,n){return w_(e.getItemVisual(n,"symbolSize"))},t}(pe);function B1(r,t){this.parent.drift(r,t)}const dl=N1;function eo(r,t,e,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(e))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function tf(r){return r!=null&&!H(r)&&(r={isIgnore:r}),r||{}}function rf(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:Br(t),cursorStyle:t.get("cursor")}}var V1=function(){function r(t){this.group=new pe,this._SymbolCtor=t||dl}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=tf(e);var n=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=rf(t),u={disableAnimation:s},c=e.getSymbolPoint||function(f){return t.getItemLayout(f)};i||n.removeAll(),t.diff(i).add(function(f){var h=c(f);if(eo(t,h,f,e)){var v=new o(t,f,l,u);v.setPosition(h),t.setItemGraphicEl(f,v),n.add(v)}}).update(function(f,h){var v=i.getItemGraphicEl(h),d=c(f);if(!eo(t,d,f,e)){n.remove(v);return}var p=t.getItemVisual(f,"symbol")||"circle",m=v&&v.getSymbolType&&v.getSymbolType();if(!v||m&&m!==p)n.remove(v),v=new o(t,f,l,u),v.setPosition(d);else{v.updateData(t,f,l,u);var g={x:d[0],y:d[1]};s?v.attr(g):ge(v,g,a)}n.add(v),t.setItemGraphicEl(f,v)}).remove(function(f){var h=i.getItemGraphicEl(f);h&&h.fadeOut(function(){n.remove(h)},a)}).execute(),this._getSymbolPoint=c,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(n,a){var i=t._getSymbolPoint(a);n.setPosition(i),n.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=rf(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,n){this._progressiveEls=[],n=tf(n);function a(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;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}(ie);const ss=G1;var mr=Q,ls=w,va=pe,F1=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new va),this.group.add(this._selectorGroup=new va),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,n,a){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,n,a,l,s,u);var c=e.getBoxLayoutParams(),f={width:a.getWidth(),height:a.getHeight()},h=e.get("padding"),v=Gt(c,f,h),d=this.layoutInner(e,o,v,i,l,u),p=Gt(te({width:d.width,height:d.height},c),f,h);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=hp(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,n,a,i,o,s,l){var u=this.getContentGroup(),c=W(),f=n.get("selectedMode"),h=[];a.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),ls(n.getData(),function(v,d){var p=v.get("name");if(!this.newlineDisabled&&(p===""||p===` +`)){var m=new va;m.newline=!0,u.add(m);return}var g=a.getSeriesByName(p)[0];if(!c.get(p))if(g){var y=g.getData(),_=y.getVisual("legendLineStyle")||{},S=y.getVisual("legendIcon"),b=y.getVisual("style"),x=this._createItem(g,p,d,v,n,e,_,b,S,f,i);x.on("click",mr(nf,p,null,i,h)).on("mouseover",mr(us,g.name,null,i,h)).on("mouseout",mr(cs,g.name,null,i,h)),c.set(p,!0)}else a.eachRawSeries(function(C){if(!c.get(p)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(p))return;var A=T.indexOfName(p),M=T.getItemVisual(A,"style"),D=T.getItemVisual(A,"legendIcon"),I=Cg(M.fill);I&&I[3]===0&&(I[3]=.2,M=O(O({},M),{fill:Tg(I,"rgba")}));var L=this._createItem(C,p,d,v,n,e,{},M,D,f,i);L.on("click",mr(nf,null,p,i,h)).on("mouseover",mr(us,null,p,i,h)).on("mouseout",mr(cs,null,p,i,h)),c.set(p,!0)}},this)},this),o&&this._createSelector(o,n,i,s,l)},t.prototype._createSelector=function(e,n,a,i,o){var s=this.getSelectorGroup();ls(e,function(u){var c=u.type,f=new we({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var h=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);Nr(f,{normal:h,emphasis:v},{defaultText:u.title}),To(f)})},t.prototype._createItem=function(e,n,a,i,o,s,l,u,c,f,h){var v=e.visualDrawType,d=o.get("itemWidth"),p=o.get("itemHeight"),m=o.isSelected(n),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),_=i.get("icon");c=_||c||"roundRect";var S=W1(c,i,l,u,v,m,h),b=new va,x=i.getModel("textStyle");if($(e.getLegendIcon)&&(!_||_==="inherit"))b.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:c,iconRotate:g,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var C=_==="inherit"&&e.getData().getVisual("symbol")?g==="inherit"?e.getData().getVisual("symbolRotate"):g:0;b.add(H1({itemWidth:d,itemHeight:p,icon:c,iconRotate:C,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}))}var T=s==="left"?d+5:-5,A=s,M=o.get("formatter"),D=n;G(M)&&M?D=M.replace("{name}",n??""):$(M)&&(D=M(n));var I=m?x.getTextColor():i.get("inactiveColor");b.add(new we({style:zt(x,{text:D,x:T,y:p/2,fill:I,align:A,verticalAlign:"middle"},{inheritColor:I})}));var L=new ve({shape:b.getBoundingRect(),invisible:!0}),P=i.getModel("tooltip");return P.get("show")&&ja({el:L,componentModel:o,itemName:n,itemTooltipOption:P.option}),b.add(L),b.eachChild(function(R){R.silent=!0}),L.silent=!f,this.getContentGroup().add(b),To(b),b.__legendDataIndex=a,b},t.prototype.layoutInner=function(e,n,a,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Cr(e.get("orient"),l,e.get("itemGap"),a.width,a.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Cr("horizontal",u,e.get("selectorItemGap",!0));var h=u.getBoundingRect(),v=[-h.x,-h.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,m=p===0?"width":"height",g=p===0?"height":"width",y=p===0?"y":"x";s==="end"?v[p]+=c[m]+d:f[p]+=h[m]+d,v[1-p]+=c[g]/2-h[g]/2,u.x=v[0],u.y=v[1],l.x=f[0],l.y=f[1];var _={x:0,y:0};return _[m]=c[m]+d+h[m],_[g]=Math.max(c[g],h[g]),_[y]=Math.min(0,h[y]+v[1-p]),_}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}(Ye);function W1(r,t,e,n,a,i,o){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),ls(m,function(y,_){m[_]==="inherit"&&(m[_]=g[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=r.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?n.decal:Go(f,o),u.fill==="inherit"&&(u.fill=n[a]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?n:e).opacity),s(u,n);var h=t.getModel("lineStyle"),v=h.getLineStyle();if(s(v,e),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),!i){var d=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=d==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),v.stroke=h.get("inactiveColor"),v.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:v}}function H1(r){var t=r.icon||"roundRect",e=Ft(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function nf(r,t,e,n){cs(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r??t}),us(r,t,e,n)}function wp(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,a=t.length;na[o],m=[-v.x,-v.y];n||(m[i]=c[u]);var g=[0,0],y=[-d.x,-d.y],_=ue(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var S=e.get("pageButtonPosition",!0);S==="end"?y[i]+=a[o]-d[o]:g[i]+=d[o]+_}y[1-i]+=v[s]/2-d[s]/2,c.setPosition(m),f.setPosition(g),h.setPosition(y);var b={x:0,y:0};if(b[o]=p?a[o]:v[o],b[s]=Math.max(v[s],d[s]),b[l]=Math.min(0,d[l]+y[1-i]),f.__rectSize=a[o],p){var x={x:0,y:0};x[o]=Math.max(a[o]-d[o]-_,0),x[s]=b[s],f.setClipPath(new ve({shape:x})),f.__rectSize=x[o]}else h.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(e);return C.pageIndex!=null&&ge(c,{x:C.contentPosition[0],y:C.contentPosition[1]},p?e:null),this._updatePageInfoView(e,C),b},t.prototype._pageGo=function(e,n,a){var i=this._getPageInfo(n)[e];i!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var a=this._controllerGroup;w(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",h=n[f]!=null,v=a.childOfName(c);v&&(v.setStyle("fill",h?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),v.cursor=h?"pointer":"default")});var i=a.childOfName("pageText"),o=e.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;i&&o&&i.setStyle("text",G(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),a=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,s=to[o],l=ro[o],u=this._findTargetItemIndex(n),c=a.children(),f=c[u],h=c.length,v=h?1:0,d={contentPosition:[a.x,a.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return d;var p=S(f);d.contentPosition[o]=-p.s;for(var m=u+1,g=p,y=p,_=null;m<=h;++m)_=S(c[m]),(!_&&y.e>g.s+i||_&&!b(_,g.s))&&(y.i>g.i?g=y:g=_,g&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=g.i),++d.pageCount)),y=_;for(var m=u-1,g=p,y=p,_=null;m>=-1;--m)_=S(c[m]),(!_||!b(y,_.s))&&g.i=C&&x.s<=C+i}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,a=this.getContentGroup(),i;return a.eachChild(function(o,s){var l=o.__legendDataIndex;i==null&&l!=null&&(i=s),l===e&&(n=s)}),n??i},t.type="legend.scroll",t}(Cp);const K1=Z1;function q1(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(n)})})}function j1(r){_t(Tp),r.registerComponentModel(X1),r.registerComponentView(K1),q1(r)}function pD(r){_t(Tp),_t(j1)}var Q1={label:{enabled:!0},decal:{show:!1}},sf=le(),J1={};function eC(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var n=X(Q1);Z(n.label,r.getLocaleModel().get("aria"),!1),Z(e.option,n,!1),a(),i();function a(){var u=e.getModel("decal"),c=u.get("show");if(c){var f=W();r.eachSeries(function(h){if(!h.isColorBySeries()){var v=f.get(h.type);v||(v={},f.set(h.type,v)),sf(h).scope=v}}),r.eachRawSeries(function(h){if(r.isSeriesFiltered(h))return;if($(h.enableAriaDecal)){h.enableAriaDecal();return}var v=h.getData();if(h.isColorBySeries()){var y=tu(h.ecModel,h.name,J1,r.getSeriesCount()),_=v.getVisual("decal");v.setVisual("decal",S(_,y))}else{var d=h.getRawData(),p={},m=sf(h).scope;v.each(function(b){var x=v.getRawIndex(b);p[x]=b});var g=d.count();d.each(function(b){var x=p[b],C=d.getName(b)||b+"",T=tu(h.ecModel,C,m,g),A=v.getItemVisual(x,"decal");v.setItemVisual(x,"decal",S(A,T))})}function S(b,x){var C=b?O(O({},x),b):x;return C.dirty=!0,C}})}}function i(){var u=r.getLocaleModel().get("aria"),c=e.getModel("label");if(c.option=te(c.option,u),!!c.get("enabled")){var f=t.getZr().dom;if(c.get("description")){f.setAttribute("aria-label",c.get("description"));return}var h=r.getSeriesCount(),v=c.get(["data","maxCount"])||10,d=c.get(["series","maxCount"])||10,p=Math.min(h,d),m;if(!(h<1)){var g=s();if(g){var y=c.get(["general","withTitle"]);m=o(y,{title:g})}else m=c.get(["general","withoutTitle"]);var _=[],S=h>1?c.get(["series","multiple","prefix"]):c.get(["series","single","prefix"]);m+=o(S,{seriesCount:h}),r.eachSeries(function(T,A){if(A1?c.get(["series","multiple",I]):c.get(["series","single",I]),M=o(M,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var L=T.getData();if(L.count()>v){var P=c.get(["data","partialData"]);M+=o(P,{displayCnt:v})}else M+=c.get(["data","allData"]);for(var R=c.get(["data","separator","middle"]),V=c.get(["data","separator","end"]),Y=[],k=0;k":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},rC=function(){function r(t){var e=this._condVal=G(t)?new RegExp(t):Dg(t)?t:null;if(e==null){var n="";j(n)}}return r.prototype.evaluate=function(t){var e=typeof t;return G(e)?this._condVal.test(t):se(e)?this._condVal.test(t+""):!1},r}(),nC=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),aC=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e-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}(lt);const mC=gC;function Ap(r,t,e){var n=r.getBaseAxis(),a=r.getOtherAxis(n),i=yC(a,e),o=n.dim,s=a.dim,l=t.mapDimension(s),u=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=z(r.dimensions,function(d){return t.mapDimension(d)}),h=!1,v=t.getCalculationInfo("stackResultDimension");return Rr(t,f[0])&&(h=!0,f[0]=v),Rr(t,f[1])&&(h=!0,f[1]=v),{dataDimsForPoint:f,valueStart:i,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function yC(r,t){var e=0,n=r.scale.getExtent();return t==="start"?e=n[0]:t==="end"?e=n[1]:se(t)&&!isNaN(t)?e=t:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function Mp(r,t,e,n){var a=NaN;r.stacked&&(a=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=r.valueStart);var i=r.baseDataOffset,o=[];return o[i]=e.get(r.baseDim,n),o[1-i]=a,t.dataToPoint(o)}function _C(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,a){e.push({cmd:"=",idx:a,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function SC(r,t,e,n,a,i,o,s){for(var l=_C(r,t),u=[],c=[],f=[],h=[],v=[],d=[],p=[],m=Ap(a,t,o),g=r.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_=a||p<0)break;if(Jt(g,y)){if(l){p+=i;continue}break}if(p===e)r[i>0?"moveTo":"lineTo"](g,y),f=g,h=y;else{var _=g-u,S=y-c;if(_*_+S*S<.5){p+=i;continue}if(o>0){for(var b=p+i,x=t[b*2],C=t[b*2+1];x===g&&C===y&&m=n||Jt(x,C))v=g,d=y;else{M=x-u,D=C-c;var P=g-u,R=x-g,V=y-c,Y=C-y,k=void 0,B=void 0;if(s==="x"){k=Math.abs(P),B=Math.abs(R);var F=M>0?1:-1;v=g-F*k*o,d=y,I=g+F*B*o,L=y}else if(s==="y"){k=Math.abs(V),B=Math.abs(Y);var U=D>0?1:-1;v=g,d=y-U*k*o,I=g,L=y+U*B*o}else k=Math.sqrt(P*P+V*V),B=Math.sqrt(R*R+Y*Y),A=B/(B+k),v=g-M*o*(1-A),d=y-D*o*(1-A),I=g+M*o*A,L=y+D*o*A,I=Lt(I,Pt(x,g)),L=Lt(L,Pt(C,y)),I=Pt(I,Lt(x,g)),L=Pt(L,Lt(C,y)),M=I-g,D=L-y,v=g-M*k/B,d=y-D*k/B,v=Lt(v,Pt(u,g)),d=Lt(d,Pt(c,y)),v=Pt(v,Lt(u,g)),d=Pt(d,Lt(c,y)),M=g-v,D=y-d,I=g+M*B/k,L=y+D*B/k}r.bezierCurveTo(f,h,v,d,g,y),f=I,h=L}else r.lineTo(g,y)}u=g,c=y,p+=i}return m}var Ip=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),xC=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ip},t.prototype.buildPath=function(e,n){var a=n.points,i=0,o=a.length/2;if(n.connectNulls){for(;o>0&&Jt(a[o*2-2],a[o*2-1]);o--);for(;i=0){var S=u?(d-l)*_+l:(v-s)*_+s;return u?[e,S]:[S,e]}s=v,l=d;break;case o.C:v=i[f++],d=i[f++],p=i[f++],m=i[f++],g=i[f++],y=i[f++];var b=u?Cl(s,v,p,g,e,c):Cl(l,d,m,y,e,c);if(b>0)for(var x=0;x=0){var S=u?Tl(l,d,m,y,C):Tl(s,v,p,g,C);return u?[e,S]:[S,e]}}s=g,l=y;break}}},t}(_e),bC=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(Ip),wC=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new bC},t.prototype.buildPath=function(e,n){var a=n.points,i=n.stackedOnPoints,o=0,s=a.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Jt(a[s*2-2],a[s*2-1]);s--);for(;ot){i?e.push(o(i,l,t)):a&&e.push(o(a,l,0),o(a,l,t));break}else a&&(e.push(o(a,l,0)),a=null),e.push(l),i=l}return e}function DC(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&t.type==="cartesian2d"){for(var a,i,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){i=n[o];break}}if(i){var l=t.getAxis(a),u=z(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),c=u.length,f=i.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var h=TC(u,a==="x"?e.getWidth():e.getHeight()),v=h.length;if(!v&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var d=10,p=h[0].coord-d,m=h[v-1].coord+d,g=m-p;if(g<.001)return"transparent";w(h,function(_){_.offset=(_.coord-p)/g}),h.push({offset:v?h[v-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:v?h[0].offset:.5,color:f[0]||"transparent"});var y=new Kf(0,0,0,0,h,!0);return y[a]=p,y[a+"2"]=m,y}}}function AC(r,t,e){var n=r.get("showAllSymbol"),a=n==="auto";if(!(n&&!a)){var i=e.getAxesByScale("ordinal")[0];if(i&&!(a&&MC(i,t))){var o=t.mapDimension(i.dim),s={};return w(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function MC(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var a=t.count(),i=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function IC(r,t){return isNaN(r)||isNaN(t)}function LC(r){for(var t=r.length/2;t>0&&IC(r[t*2-2],r[t*2-1]);t--);return t-1}function df(r,t){return[r[t*2],r[t*2+1]]}function PC(r,t,e){for(var n=r.length/2,a=e==="x"?0:1,i,o,s=0,l=-1,u=0;u=t||i>=t&&o<=t){l=u;break}s=u,i=o}return{range:[s,l],t:(t-i)/(o-i)}}function kp(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var F=p.getState("emphasis").style;F.lineWidth=+p.style.lineWidth+1}J(p).seriesIndex=e.seriesIndex,Ir(p,Y,k,B);var U=hf(e.get("smooth")),K=e.get("smoothMonotone");if(p.setShape({smooth:U,smoothMonotone:K,connectNulls:T}),m){var q=l.getCalculationInfo("stackedOnSeries"),re=0;m.useStyle(te(c.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),q&&(re=hf(q.get("smooth"))),m.setShape({smooth:U,stackedOnSmooth:re,smoothMonotone:K,connectNulls:T}),bn(m,e,"areaStyle"),J(m).seriesIndex=e.seriesIndex,Ir(m,Y,k,B)}var Se=function(me){i._changePolyState(me)};l.eachItemGraphicEl(function(me){me&&(me.onHoverStateChange=Se)}),this._polyline.onHoverStateChange=Se,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=f,this._step=D,this._valueOrigin=S,e.get("triggerLineEvent")&&(this.packEventData(e,p),m&&this.packEventData(e,m))},t.prototype.packEventData=function(e,n){J(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,a,i){var o=e.getData(),s=rr(o,i);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=e.get("zlevel")||0,v=e.get("z")||0;u=new dl(o,s),u.x=c,u.y=f,u.setZ(h,v);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=h,d.z=v,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Oe.prototype.highlight.call(this,e,n,a,i)},t.prototype.downplay=function(e,n,a,i){var o=e.getData(),s=rr(o,i);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 Oe.prototype.downplay.call(this,e,n,a,i)},t.prototype._changePolyState=function(e){var n=this._polygon;Ol(this._polyline,e),n&&Ol(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new xC({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new wC({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(e,n,a){var i,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(i=s.isHorizontal(),o=!1):n.type==="polar"&&(i=s.dim==="angle",o=!0);var u=e.hostModel,c=u.get("animationDuration");$(c)&&(c=c(null));var f=u.get("animationDelay")||0,h=$(f)?f(null):f;e.eachItemGraphicEl(function(v,d){var p=v;if(p){var m=[v.x,v.y],g=void 0,y=void 0,_=void 0;if(a)if(o){var S=a,b=n.pointToCoord(m);i?(g=S.startAngle,y=S.endAngle,_=-b[1]/180*Math.PI):(g=S.r0,y=S.r,_=b[0])}else{var x=a;i?(g=x.x,y=x.x+x.width,_=v.x):(g=x.y+x.height,y=x.y,_=v.y)}var C=y===g?0:(_-g)/(y-g);l&&(C=1-C);var T=$(f)?f(d):c*C+h,A=p.getSymbolPath(),M=A.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:T}),A.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,a){var i=e.getModel("endLabel");if(kp(e)){var o=e.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 we({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=LC(l);c>=0&&(Nr(s,Br(e,"endLabel"),{inheritColor:a,labelFetcher:e,labelDataIndex:c,defaultText:function(f,h,v){return v!=null?xp(o,v):gi(o,f)},enableTextSetter:!0},RC(i,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,a,i,o,s,l){var u=this._endLabel,c=this._polyline;if(u){e<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var f=a.getLayout("points"),h=a.hostModel,v=h.get("connectNulls"),d=s.get("precision"),p=s.get("distance")||0,m=l.getBaseAxis(),g=m.isHorizontal(),y=m.inverse,_=n.shape,S=y?g?_.x:_.y+_.height:g?_.x+_.width:_.y,b=(g?p:0)*(y?-1:1),x=(g?0:-p)*(y?-1:1),C=g?"x":"y",T=PC(f,S,C),A=T.range,M=A[1]-A[0],D=void 0;if(M>=1){if(M>1&&!v){var I=df(f,A[0]);u.attr({x:I[0]+b,y:I[1]+x}),o&&(D=h.getRawValue(A[0]))}else{var I=c.getPointOn(S,C);I&&u.attr({x:I[0]+b,y:I[1]+x});var L=h.getRawValue(A[0]),P=h.getRawValue(A[1]);o&&(D=fv(a,d,L,P,T.t))}i.lastFrameIndex=A[0]}else{var R=e===1||i.lastFrameIndex>0?A[0]:0,I=df(f,R);o&&(D=h.getRawValue(R)),u.attr({x:I[0]+b,y:I[1]+x})}if(o){var V=Vr(u);typeof V.setLabelText=="function"&&V.setLabelText(D)}}},t.prototype._doUpdateAnimation=function(e,n,a,i,o,s,l){var u=this._polyline,c=this._polygon,f=e.hostModel,h=SC(this._data,e,this._stackedOnPoints,n,this._coordSys,a,this._valueOrigin),v=h.current,d=h.stackedOnCurrent,p=h.next,m=h.stackedOnNext;if(o&&(v=Rt(h.current,a,o,l),d=Rt(h.stackedOnCurrent,a,o,l),p=Rt(h.next,a,o,l),m=Rt(h.stackedOnNext,a,o,l)),vf(v,p)>3e3||c&&vf(d,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=v;var g={shape:{points:p}};h.current!==v&&(g.shape.__points=h.next),u.stopAnimation(),ge(u,g,f),c&&(c.setShape({points:v,stackedOnPoints:d}),c.stopAnimation(),ge(c,{shape:{stackedOnPoints:m}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],_=h.status,S=0;S<_.length;S++){var b=_[S].cmd;if(b==="="){var x=e.getItemGraphicEl(_[S].idx1);x&&y.push({el:x,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var C=u.shape.__points,T=0;Tt&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&i){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),f=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),v=Math.round(s/h);if(isFinite(v)&&v>1){i==="lttb"&&t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/v));var d=void 0;G(i)?d=OC[i]:$(i)&&(d=i),d&&t.setData(a.downSample(a.mapDimension(u.dim),1/v,d,NC))}}}}}function _D(r){r.registerChartView(EC),r.registerSeriesModel(mC),r.registerLayout(ml("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Ep("line"))}var Op=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return ci(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,n,a){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(e),s=i.dataToPoint(o);if(a)w(i.getAxes(),function(h,v){if(h.type==="category"&&n!=null){var d=h.getTicksCoords(),p=o[v],m=n[v]==="x1"||n[v]==="y1";if(m&&(p+=1),d.length<2)return;if(d.length===2){s[v]=h.toGlobalCoord(h.getExtent()[m?1:0]);return}for(var g=void 0,y=void 0,_=1,S=0;Sp){y=(b+g)/2;break}S===1&&(_=x-d[0].tickValue)}y==null&&(g?g&&(y=d[d.length-1].coord):y=d[0].coord),s[v]=h.toGlobalCoord(y)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}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}(lt);lt.registerClass(Op);const Wa=Op;var BC=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return ci(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 e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,a){return a.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Is(Wa.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}(Wa);const VC=BC;var zC=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),GC=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new zC},t.prototype.buildPath=function(e,n){var a=n.cx,i=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,v=Math.PI*2,d=h?f-cMath.PI/2&&cs)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var a=n.scale,i=a.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],a.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,n,a,i){if(this._isOrderChangedWithinSameData(e,n,a)){var o=this._dataSort(e,a,n);this._isOrderDifferentInView(o,a)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,n,a){var i=n.baseAxis,o=this._dataSort(e,i,function(s){return e.get(e.mapDimension(n.otherAxis.dim),s)});a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,a=this._data;e&&e.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(i){Pa(i,e,J(i).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}(Oe),gf={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var a=r.x+r.width,i=r.y+r.height,o=ao(t.x,r.x),s=io(t.x+t.width,a),l=ao(t.y,r.y),u=io(t.y+t.height,i),c=sa?s:o,t.y=f&&l>i?u:l,t.width=c?0:s-o,t.height=f?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var a=io(t.r,r.r),i=ao(t.r0,r.r0);t.r=a,t.r0=i;var o=a-i<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},mf={cartesian2d:function(r,t,e,n,a,i,o,s,l){var u=new ve({shape:O({},n),z2:1});if(u.__dataIndex=e,u.name="item",i){var c=u.shape,f=a?"height":"width";c[f]=0}return u},polar:function(r,t,e,n,a,i,o,s,l){var u=!a&&l?pf:or,c=new u({shape:n,z2:1});c.name="item";var f=Np(a);if(c.calculateTextPosition=FC(f,{isRoundCap:u===pf}),i){var h=c.shape,v=a?"r":"endAngle",d={};h[v]=a?n.r0:n.startAngle,d[v]=n[v],(s?ge:De)(c,{shape:d},i)}return c}};function YC(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function yf(r,t,e,n,a,i,o,s){var l,u;i?(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?ge:De)(e,{shape:l},t,a,null);var c=t?r.baseAxis.model:null;(o?ge:De)(e,{shape:u},c,a)}function _f(r,t){for(var e=0;e0?1:-1,o=n.height>0?1:-1;return{x:n.x+i*a/2,y:n.y+o*a/2,width:n.width-i*a,height:n.height-o*a}},polar:function(r,t,e){var n=r.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 ZC(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function Np(r){return function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}}(r)}function xf(r,t,e,n,a,i,o,s){var l=t.getItemVisual(e,"style");if(s){if(!i.get("roundCap")){var c=r.shape,f=cn(n.getModel("itemStyle"),c,!0);O(c,f),r.setShape(c)}}else{var u=n.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var h=n.getShallow("cursor");h&&r.attr("cursor",h);var v=s?o?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":o?a.height>=0?"bottom":"top":a.width>=0?"right":"left",d=Br(n);Nr(r,d,{labelFetcher:i,labelDataIndex:e,defaultText:gi(i.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:v});var p=r.getTextContent();if(s&&p){var m=n.get(["label","position"]);r.textConfig.inside=m==="middle"?!0:null,WC(r,m==="outside"?v:m,Np(o),n.get(["label","rotate"]))}qm(p,d,i.getRawValue(e),function(y){return xp(t,y)});var g=n.getModel(["emphasis"]);Ir(r,g.get("focus"),g.get("blurScope"),g.get("disabled")),bn(r,n),ZC(a)&&(r.style.fill="none",r.style.stroke="none",w(r.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function KC(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,a=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,a,i)}var qC=function(){function r(){}return r}(),bf=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new qC},t.prototype.buildPath=function(e,n){for(var a=n.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c=0?e:null},30,!1);function jC(r,t,e){for(var n=r.baseDimIdx,a=1-n,i=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,c=0,f=i.length/3;c=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[c]}return-1}function Bp(r,t,e){if(pl(e,"cartesian2d")){var n=t,a=e.getArea();return{x:r?n.x:a.x,y:r?a.y:n.y,width:r?n.width:a.width,height:r?a.height:n.height}}else{var a=e.getArea(),i=t;return{cx:a.cx,cy:a.cy,r0:r?a.r0:i.r0,r:r?a.r:i.r,startAngle:r?i.startAngle:0,endAngle:r?i.endAngle:Math.PI*2}}}function QC(r,t,e){var n=r.type==="polar"?or:ve;return new n({shape:Bp(t,e,r),silent:!0,z2:0})}const JC=UC;function SD(r){r.registerChartView(JC),r.registerSeriesModel(VC),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,Q(pd,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,gd("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Ep("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var ga=Math.PI*2,Tf=Math.PI/180;function Vp(r,t){return Gt(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function zp(r,t){var e=Vp(r,t),n=r.get("center"),a=r.get("radius");E(a)||(a=[0,a]);var i=ee(e.width,t.getWidth()),o=ee(e.height,t.getHeight()),s=Math.min(i,o),l=ee(a[0],s/2),u=ee(a[1],s/2),c,f,h=r.coordinateSystem;if(h){var v=h.dataToPoint(n);c=v[0]||0,f=v[1]||0}else E(n)||(n=[n,n]),c=ee(n[0],i)+e.x,f=ee(n[1],o)+e.y;return{cx:c,cy:f,r0:l,r:u}}function eT(r,t,e){t.eachSeriesByType(r,function(n){var a=n.getData(),i=a.mapDimension("value"),o=Vp(n,e),s=zp(n,e),l=s.cx,u=s.cy,c=s.r,f=s.r0,h=-n.get("startAngle")*Tf,v=n.get("minAngle")*Tf,d=0;a.each(i,function(M){!isNaN(M)&&d++});var p=a.getSum(i),m=Math.PI/(p||d)*2,g=n.get("clockwise"),y=n.get("roseType"),_=n.get("stillShowZeroSum"),S=a.getDataExtent(i);S[0]=0;var b=ga,x=0,C=h,T=g?1:-1;if(a.setLayout({viewRect:o,r:c}),a.each(i,function(M,D){var I;if(isNaN(M)){a.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:l,cy:u,r0:f,r:y?NaN:c});return}y!=="area"?I=p===0&&_?m:M*m:I=ga/d,Ie?g:m,b=Math.abs(_.label.y-e);if(b>=S.maxY){var x=_.label.x-t-_.len2*a,C=n+_.len,T=Math.abs(x)r.unconstrainedWidth?null:v:null;n.setStyle("width",d)}var p=n.getBoundingRect();i.width=p.width;var m=(n.style.margin||0)+2.1;i.height=p.height+m,i.y-=(i.height-f)/2}}}function oo(r){return r.position==="center"}function aT(r){var t=r.getData(),e=[],n,a,i=!1,o=(r.get("minShowLabelAngle")||0)*rT,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,h=s.height;function v(x){x.ignore=!0}function d(x){if(!x.ignore)return!0;for(var C in x.states)if(x.states[C].ignore===!1)return!0;return!1}t.each(function(x){var C=t.getItemGraphicEl(x),T=C.shape,A=C.getTextContent(),M=C.getTextGuideLine(),D=t.getItemModel(x),I=D.getModel("label"),L=I.get("position")||D.get(["emphasis","label","position"]),P=I.get("distanceToLabelLine"),R=I.get("alignTo"),V=ee(I.get("edgeDistance"),u),Y=I.get("bleedMargin"),k=D.getModel("labelLine"),B=k.get("length");B=ee(B,u);var F=k.get("length2");if(F=ee(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":K>0?"left":"right"}var Tt=Math.PI,ft=0,Hr=I.get("rotate");if(se(Hr))ft=Hr*(Tt/180);else if(L==="center")ft=0;else if(Hr==="radial"||Hr===!0){var Qp=K<0?-U+Tt:-U;ft=Qp}else if(Hr==="tangential"&&L!=="outside"&&L!=="outer"){var ur=Math.atan2(K,q);ur<0&&(ur=Tt*2+ur);var Jp=q>0;Jp&&(ur=Tt+ur),ft=ur-Tt}if(i=!!ft,A.x=re,A.y=Se,A.rotation=ft,A.setStyle({verticalAlign:"middle"}),Ct){A.setStyle({align:wt});var mi=A.states.select;mi&&(mi.x+=A.x,mi.y+=A.y)}else{var Ur=A.getBoundingRect().clone();Ur.applyTransform(A.getComputedTransform());var _l=(A.style.margin||0)+2.1;Ur.y-=_l/2,Ur.height+=_l,e.push({label:A,labelLine:M,position:L,len:B,len2:F,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new be(K,q),linePoints:me,textAlign:wt,labelDistance:P,labelAlignTo:R,edgeDistance:V,bleedMargin:Y,rect:Ur,unconstrainedWidth:Ur.width,labelStyleWidth:A.style.width})}C.setTextConfig({inside:Ct})}}),!i&&r.get("avoidLabelOverlap")&&nT(e,n,a,l,u,h,c,f);for(var p=0;p0){for(var c=o.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f=i.r0}},t.type="pie",t}(Oe);const sT=oT;function Fp(r,t,e){t=E(t)&&{coordDimensions:t}||O({encodeDefine:r.getEncode()},t);var n=r.getSource(),a=od(n,t).dimensions,i=new id(a,r);return i.initData(n,e),i}var lT=function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r}();const uT=lT;var cT=le(),fT=function(r){N(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new uT(ae(this.getData,this),ae(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Fp(this,{coordDimensions:["value"],encodeDefaulter:Q(Ty,this)})},t.prototype.getDataParams=function(e){var n=this.getData(),a=cT(n),i=a.seats;if(!i){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),i=a.seats=zg(o,n.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=i[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){bo(e,"labelLine",["show"]);var n=e.labelLine,a=e.emphasis.labelLine;n.show=n.show&&e.label.show,a.show=a.show&&e.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}(lt);const vT=fT;function hT(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(a){var i=n.mapDimension("value"),o=n.get(i,a);return!(se(o)&&!isNaN(o)&&o<0)})}}}function xD(r){r.registerChartView(sT),r.registerSeriesModel(vT),h_("pie",r.registerAction),r.registerLayout(Q(eT,"pie")),r.registerProcessor(tT("pie")),r.registerProcessor(hT("pie"))}var dT=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return ci(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,n,a){return a.point(n.getItemLayout(e))},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}(lt);const pT=dT;var Wp=4,gT=function(){function r(){}return r}(),mT=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new gT},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,n){var a=n.points,i=n.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,u=l&&i[0]=0;u--){var c=u*2,f=i[c]-s/2,h=i[c+1]-l/2;if(e>=f&&n>=h&&e<=f+s&&n<=h+l)return u}return-1},t.prototype.contain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect();if(e=a[0],n=a[1],i.contain(e,n)){var o=this.hoverDataIdx=this.findDataIndex(e,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,a=n.points,i=n.size,o=i[0],s=i[1],l=1/0,u=1/0,c=-1/0,f=-1/0,h=0;h=0&&(u.dataIndex=f+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}();const _T=yT;var ST=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this._updateSymbolDraw(i,e);o.updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,a){var i=e.getData(),o=this._updateSymbolDraw(i,e);o.incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(e,n,a){this._symbolDraw.incrementalUpdate(e,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=e.end===n.getData().count()},t.prototype.updateTransform=function(e,n,a){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=ml("").reset(e,n,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){var n=e.coordinateSystem,a=n&&n.getArea&&n.getArea();return e.get("clip",!0)?a:null},t.prototype._updateSymbolDraw=function(e,n){var a=this._symbolDraw,i=n.pipelineContext,o=i.large;return(!a||o!==this._isLargeDraw)&&(a&&a.remove(),a=this._symbolDraw=o?new _T:new bp,this._isLargeDraw=o,this.group.removeAll()),this.group.add(a.group),a},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Oe);const xT=ST;function bD(r){_t(Yd),r.registerSeriesModel(pT),r.registerChartView(xT),r.registerLayout(ml("scatter"))}var bT=function(){function r(){}return r.prototype.getInitialData=function(t,e){var n,a=e.getComponent("xAxis",this.get("xAxisIndex")),i=e.getComponent("yAxis",this.get("yAxisIndex")),o=a.get("type"),s=i.get("type"),l;o==="category"?(t.layout="horizontal",n=a.getOrdinalMeta(),l=!0):s==="category"?(t.layout="vertical",n=i.getOrdinalMeta(),l=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,f=this._baseAxisDim=u[c],h=u[1-c],v=[a,i],d=v[c].get("type"),p=v[1-c].get("type"),m=t.data;if(m&&l){var g=[];w(m,function(S,b){var x;E(S)?(x=S.slice(),S.unshift(b)):E(S.value)?(x=O({},S),x.value=x.value.slice(),S.value.unshift(b)):x=S,g.push(x)}),t.data=g}var y=this.defaultValueDimensions,_=[{name:f,type:Uo(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Uo(p),dimsDef:y.slice()}];return Fp(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:Q(Qv,_,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r}(),wT=["color","borderColor"],CT=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,n,a){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,n,a,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,n):this._incrementalRenderNormal(e,n)},t.prototype.eachRendered=function(e){Fn(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e){var n=e.getData(),a=this._data,i=this.group,o=n.getLayout("isSimpleBox"),s=e.get("clip",!0),l=e.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),n.diff(a).add(function(c){if(n.hasValue(c)){var f=n.getItemLayout(c);if(s&&Af(u,f))return;var h=so(f,c,!0);De(h,{shape:{points:f.ends}},e,c),lo(h,n,c,o),i.add(h),n.setItemGraphicEl(c,h)}}).update(function(c,f){var h=a.getItemGraphicEl(f);if(!n.hasValue(c)){i.remove(h);return}var v=n.getItemLayout(c);if(s&&Af(u,v)){i.remove(h);return}h?(ge(h,{shape:{points:v.ends}},e,c),Ka(h)):h=so(v),lo(h,n,c,o),i.add(h),n.setItemGraphicEl(c,h)}).remove(function(c){var f=a.getItemGraphicEl(c);f&&i.remove(f)}).execute(),this._data=n},t.prototype._renderLarge=function(e){this._clear(),Mf(e,this.group);var n=e.get("clip",!0)?Rp(e.coordinateSystem,!1,e):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,n){for(var a=n.getData(),i=a.getLayout("isSimpleBox"),o;(o=e.next())!=null;){var s=a.getItemLayout(o),l=so(s);lo(l,a,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(e,n){Mf(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(Oe),TT=function(){function r(){}return r}(),DT=function(r){N(t,r);function t(e){var n=r.call(this,e)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new TT},t.prototype.buildPath=function(e,n){var a=n.points;this.__simpleBox?(e.moveTo(a[4][0],a[4][1]),e.lineTo(a[6][0],a[6][1])):(e.moveTo(a[0][0],a[0][1]),e.lineTo(a[1][0],a[1][1]),e.lineTo(a[2][0],a[2][1]),e.lineTo(a[3][0],a[3][1]),e.closePath(),e.moveTo(a[4][0],a[4][1]),e.lineTo(a[5][0],a[5][1]),e.moveTo(a[6][0],a[6][1]),e.lineTo(a[7][0],a[7][1]))},t}(_e);function so(r,t,e){var n=r.ends;return new DT({shape:{points:e?AT(n,r):n},z2:100})}function Af(r,t){for(var e=!0,n=0;n0?"borderColor":"borderColor0"])||e.get(["itemStyle",r>0?"color":"color0"]);r===0&&(a=e.get(["itemStyle","borderColorDoji"]));var i=e.getModel("itemStyle").getItemStyle(wT);t.useStyle(i),t.style.fill=null,t.style.stroke=a}const IT=CT;var Hp=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,n,a){var i=n.getItemLayout(e);return i&&a.rect(i.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(lt);St(Hp,bT,!0);const LT=Hp;function PT(r){!r||!E(r.series)||w(r.series,function(t){H(t)&&t.type==="k"&&(t.type="candlestick")})}var RT=["itemStyle","borderColor"],kT=["itemStyle","borderColor0"],ET=["itemStyle","borderColorDoji"],OT=["itemStyle","color"],NT=["itemStyle","color0"],BT={seriesType:"candlestick",plan:Hn(),performRawSeries:!0,reset:function(r,t){function e(i,o){return o.get(i>0?OT:NT)}function n(i,o){return o.get(i===0?ET:i>0?RT:kT)}if(!t.isSeriesFiltered(r)){var a=r.pipelineContext.large;return!a&&{progress:function(i,o){for(var s;(s=i.next())!=null;){var l=o.getItemModel(s),u=o.getItemLayout(s).sign,c=l.getItemStyle();c.fill=e(u,l),c.stroke=n(u,l)||c.fill;var f=o.ensureUniqueItemVisual(s,"style");O(f,c)}}}}}};const VT=BT;var zT={seriesType:"candlestick",plan:Hn(),reset:function(r){var t=r.coordinateSystem,e=r.getData(),n=GT(r,e),a=0,i=1,o=["x","y"],s=e.getDimensionIndex(e.mapDimension(o[a])),l=z(e.mapDimensionsAll(o[i]),e.getDimensionIndex,e),u=l[0],c=l[1],f=l[2],h=l[3];if(e.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),s<0||l.length<4)return;return{progress:r.pipelineContext.large?d:v};function v(p,m){for(var g,y=m.getStore();(g=p.next())!=null;){var _=y.get(s,g),S=y.get(u,g),b=y.get(c,g),x=y.get(f,g),C=y.get(h,g),T=Math.min(S,b),A=Math.max(S,b),M=Y(T,_),D=Y(A,_),I=Y(x,_),L=Y(C,_),P=[];k(P,D,0),k(P,M,1),P.push(F(L),F(D),F(I),F(M));var R=m.getItemModel(g),V=!!R.get(["itemStyle","borderColorDoji"]);m.setItemLayout(g,{sign:If(y,g,S,b,c,V),initBaseline:S>b?D[i]:M[i],ends:P,brushRect:B(x,C,_)})}function Y(U,K){var q=[];return q[a]=K,q[i]=U,isNaN(K)||isNaN(U)?[NaN,NaN]:t.dataToPoint(q)}function k(U,K,q){var re=K.slice(),Se=K.slice();re[a]=_a(re[a]+n/2,1,!1),Se[a]=_a(Se[a]-n/2,1,!0),q?U.push(re,Se):U.push(Se,re)}function B(U,K,q){var re=Y(U,q),Se=Y(K,q);return re[a]-=n/2,Se[a]-=n/2,{x:re[0],y:re[1],width:n,height:Se[1]-re[1]}}function F(U){return U[a]=_a(U[a],1),U}}function d(p,m){for(var g=nt(p.count*4),y=0,_,S=[],b=[],x,C=m.getStore(),T=!!r.get(["itemStyle","borderColorDoji"]);(x=p.next())!=null;){var A=C.get(s,x),M=C.get(u,x),D=C.get(c,x),I=C.get(f,x),L=C.get(h,x);if(isNaN(A)||isNaN(I)||isNaN(L)){g[y++]=NaN,y+=3;continue}g[y++]=If(C,x,M,D,c,T),S[a]=A,S[i]=I,_=t.dataToPoint(S,null,b),g[y++]=_?_[0]:NaN,g[y++]=_?_[1]:NaN,S[i]=L,_=t.dataToPoint(S,null,b),g[y++]=_?_[1]:NaN}m.setLayout("largePoints",g)}}};function If(r,t,e,n,a,i){var o;return e>n?o=-1:e0?r.get(a,t-1)<=n?1:-1:1,o}function GT(r,t){var e=r.getBaseAxis(),n,a=e.type==="category"?e.getBandWidth():(n=e.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=ee(ue(r.get("barMaxWidth"),a),a),o=ee(ue(r.get("barMinWidth"),1),a),s=r.get("barWidth");return s!=null?ee(s,a):Math.max(Math.min(a/2,i),o)}const FT=zT;function wD(r){r.registerChartView(IT),r.registerSeriesModel(LT),r.registerPreprocessor(PT),r.registerVisual(VT),r.registerLayout(FT)}var WT=["itemStyle","borderWidth"],Lf=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],fo=new Ha,HT=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis(),c=u.isHorizontal(),f=l.master.getRect(),h={ecSize:{width:a.getWidth(),height:a.getHeight()},seriesModel:e,coordSys:l,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:c,valueDim:Lf[+c],categoryDim:Lf[1-+c]};return o.diff(s).add(function(v){if(o.hasValue(v)){var d=Rf(o,v),p=Pf(o,v,d,h),m=kf(o,h,p);o.setItemGraphicEl(v,m),i.add(m),Of(m,h,p)}}).update(function(v,d){var p=s.getItemGraphicEl(d);if(!o.hasValue(v)){i.remove(p);return}var m=Rf(o,v),g=Pf(o,v,m,h),y=Kp(o,g);p&&y!==p.__pictorialShapeStr&&(i.remove(p),o.setItemGraphicEl(v,null),p=null),p?qT(p,h,g):p=kf(o,h,g,!0),o.setItemGraphicEl(v,p),p.__pictorialSymbolMeta=g,i.add(p),Of(p,h,g)}).remove(function(v){var d=s.getItemGraphicEl(v);d&&Ef(s,v,d.__pictorialSymbolMeta.animationModel,d)}).execute(),this._data=o,this.group},t.prototype.remove=function(e,n){var a=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(o){Ef(i,J(o).dataIndex,e,o)}):a.removeAll()},t.type="pictorialBar",t}(Oe);function Pf(r,t,e,n){var a=r.getItemLayout(t),i=e.get("symbolRepeat"),o=e.get("symbolClip"),s=e.get("symbolPosition")||"start",l=e.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=e.get("symbolPatternSize")||2,f=e.isAnimationEnabled(),h={dataIndex:t,layout:a,itemModel:e,symbolType:r.getItemVisual(t,"symbol")||"circle",style:r.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:f?e:null,hoverScale:f&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};UT(e,i,a,n,h),YT(r,t,a,i,o,h.boundingLength,h.pxSign,c,n,h),$T(e,h.symbolScale,u,n,h);var v=h.symbolSize,d=$s(e.get("symbolOffset"),v);return XT(e,v,a,i,o,d,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function UT(r,t,e,n,a){var i=n.valueDim,o=r.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(e[i.wh]<=0),c;if(E(o)){var f=[vo(s,o[0])-l,vo(s,o[1])-l];f[1]0?1:-1}function vo(r,t){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(t)))}function YT(r,t,e,n,a,i,o,s,l,u){var c=l.valueDim,f=l.categoryDim,h=Math.abs(e[f.wh]),v=r.getItemVisual(t,"symbolSize"),d;E(v)?d=v.slice():v==null?d=["100%","100%"]:d=[v,v],d[f.index]=ee(d[f.index],h),d[c.index]=ee(d[c.index],n?h:Math.abs(i)),u.symbolSize=d;var p=u.symbolScale=[d[0]/s,d[1]/s];p[c.index]*=(l.isHorizontal?-1:1)*o}function $T(r,t,e,n,a){var i=r.get(WT)||0;i&&(fo.attr({scaleX:t[0],scaleY:t[1],rotation:e}),fo.updateTransform(),i/=fo.getLineScale(),i*=t[n.valueDim.index]),a.valueLineWidth=i||0}function XT(r,t,e,n,a,i,o,s,l,u,c,f){var h=c.categoryDim,v=c.valueDim,d=f.pxSign,p=Math.max(t[v.index]+s,0),m=p;if(n){var g=Math.abs(l),y=Dr(r.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var S=ee(y,t[v.index]),b=Math.max(p+S*2,0),x=_?0:S*2,C=av(n),T=C?n:Nf((g+x)/b),A=g-T*p;S=A/2/(_?T:Math.max(T-1,1)),b=p+S*2,x=_?0:S*2,!C&&n!=="fixed"&&(T=u?Nf((Math.abs(u)+x)/b):0),m=T*b-x,f.repeatTimes=T,f.symbolMargin=S}var M=d*(m/2),D=f.pathPosition=[];D[h.index]=e[h.wh]/2,D[v.index]=o==="start"?M:o==="end"?l-M:l/2,i&&(D[0]+=i[0],D[1]+=i[1]);var I=f.bundlePosition=[];I[h.index]=e[h.xy],I[v.index]=e[v.xy];var L=f.barRectShape=O({},e);L[v.wh]=d*Math.max(Math.abs(e[v.wh]),Math.abs(D[v.index]+M)),L[h.wh]=e[h.wh];var P=f.clipShape={};P[h.xy]=-e[h.xy],P[h.wh]=c.ecSize[h.wh],P[v.xy]=0,P[v.wh]=e[v.wh]}function Up(r){var t=r.symbolPatternSize,e=Ft(r.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function Yp(r,t,e,n){var a=r.__pictorialBundle,i=e.symbolSize,o=e.valueLineWidth,s=e.pathPosition,l=t.valueDim,u=e.repeatTimes||0,c=0,f=i[t.valueDim.index]+o+e.symbolMargin*2;for(yl(r,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:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function $p(r,t,e,n){var a=r.__pictorialBundle,i=r.__pictorialMainPath;i?Tr(i,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,n):(i=r.__pictorialMainPath=Up(e),a.add(i),Tr(i,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,n))}function Xp(r,t,e){var n=O({},t.barRectShape),a=r.__pictorialBarRect;a?Tr(a,null,{shape:n},t,e):(a=r.__pictorialBarRect=new ve({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),a.disableMorphing=!0,r.add(a))}function Zp(r,t,e,n){if(e.symbolClip){var a=r.__pictorialClipPath,i=O({},e.clipShape),o=t.valueDim,s=e.animationModel,l=e.dataIndex;if(a)ge(a,{shape:i},s,l);else{i[o.wh]=0,a=new ve({shape:i}),r.__pictorialBundle.setClipPath(a),r.__pictorialClipPath=a;var u={};u[o.wh]=e.clipShape[o.wh],Ms[n?"updateProps":"initProps"](a,{shape:u},s,l)}}}function Rf(r,t){var e=r.getItemModel(t);return e.getAnimationDelayParams=ZT,e.isAnimationEnabled=KT,e}function ZT(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function KT(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function kf(r,t,e,n){var a=new pe,i=new pe;return a.add(i),a.__pictorialBundle=i,i.x=e.bundlePosition[0],i.y=e.bundlePosition[1],e.symbolRepeat?Yp(a,t,e):$p(a,t,e),Xp(a,e,n),Zp(a,t,e,n),a.__pictorialShapeStr=Kp(r,e),a.__pictorialSymbolMeta=e,a}function qT(r,t,e){var n=e.animationModel,a=e.dataIndex,i=r.__pictorialBundle;ge(i,{x:e.bundlePosition[0],y:e.bundlePosition[1]},n,a),e.symbolRepeat?Yp(r,t,e,!0):$p(r,t,e,!0),Xp(r,e,!0),Zp(r,t,e,!0)}function Ef(r,t,e,n){var a=n.__pictorialBarRect;a&&a.removeTextContent();var i=[];yl(n,function(o){i.push(o)}),n.__pictorialMainPath&&i.push(n.__pictorialMainPath),n.__pictorialClipPath&&(e=null),w(i,function(o){wn(o,{scaleX:0,scaleY:0},e,t,function(){n.parent&&n.parent.remove(n)})}),r.setItemGraphicEl(t,null)}function Kp(r,t){return[r.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function yl(r,t,e){w(r.__pictorialBundle.children(),function(n){n!==r.__pictorialBarRect&&t.call(e,n)})}function Tr(r,t,e,n,a,i){t&&r.attr(t),n.symbolClip&&!a?e&&r.attr(e):e&&Ms[a?"updateProps":"initProps"](r,e,n.animationModel,n.dataIndex,i)}function Of(r,t,e){var n=e.dataIndex,a=e.itemModel,i=a.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=a.getModel(["blur","itemStyle"]).getItemStyle(),l=a.getModel(["select","itemStyle"]).getItemStyle(),u=a.getShallow("cursor"),c=i.get("focus"),f=i.get("blurScope"),h=i.get("scale");yl(r,function(p){if(p instanceof Or){var m=p.style;p.useStyle(O({image:m.image,x:m.x,y:m.y,width:m.width,height:m.height},e.style))}else p.useStyle(e.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=e.z2});var v=t.valueDim.posDesc[+(e.boundingLength>0)],d=r.__pictorialBarRect;Nr(d,Br(a),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:gi(t.seriesModel.getData(),n),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:v}),Ir(r,c,f,i.get("disabled"))}function Nf(r){var t=Math.round(r);return Math.abs(r-t)<1e-4?t:Math.ceil(r)}const jT=HT;var QT=function(r){N(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return t.prototype.getInitialData=function(e){return e.stack=null,r.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Is(Wa.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}(Wa);const JT=QT;function CD(r){r.registerChartView(jT),r.registerSeriesModel(JT),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,Q(pd,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,gd("pictorialBar"))}function Bf(r){return E(r[0])}function Vf(r,t){for(var e=[],n=r.length,a=0;a=0;a--)if(!e[a].many.length){var l=e[s].many;if(l.length<=1)if(s)s=0;else return e;var i=l.length,u=Math.ceil(i/2);e[a].many=l.slice(u,i),e[s].many=l.slice(0,u),s++}return e}var eD={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),n=0;n0))return;var s=n.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,c;Bf(r)&&(u=r,c=t),Bf(t)&&(u=t,c=r);function f(g,y,_,S,b){var x=g.many,C=g.one;if(x.length===1&&!b){var T=y?x[0]:C,A=y?C:x[0];if(Ig(T))f({many:[T],one:A},!0,_,S,!0);else{var M=s?te({delay:s(_,S)},l):l;Lg(T,A,M),i(T,A,T,A,M)}}else for(var D=te({dividePath:eD[e],individualDelay:s&&function(Y,k,B,F){return s(Y+_,S)}},l),I=y?Pg(x,C,D):Rg(C,x,D),L=I.fromIndividuals,P=I.toIndividuals,R=L.length,V=0;Vt.length,v=u?Vf(c,u):Vf(h?t:r,[h?r:t]),d=0,p=0;pqp))for(var a=n.getIndices(),i=rD(n),o=0;o0&&S.group.traverse(function(x){x instanceof _e&&!x.animators.length&&x.animateFrom({style:{opacity:0}},b)})})}function Gf(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function Ff(r){return E(r)?r.sort().join(","):r}function Et(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function iD(r,t){var e=W(),n=W(),a=W();return w(r.oldSeries,function(i,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=Gf(i),c=Ff(u);n.set(c,{dataGroupId:s,data:l}),E(u)&&w(u,function(f){a.set(f,{key:c,dataGroupId:s,data:l})})}),w(t.updatedSeries,function(i){if(i.isUniversalTransitionEnabled()&&i.isAnimationEnabled()){var o=i.get("dataGroupId"),s=i.getData(),l=Gf(i),u=Ff(l),c=n.get(u);if(c)e.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Et(c.data),data:c.data}],newSeries:[{dataGroupId:o,divide:Et(s),data:s}]});else if(E(l)){var f=[];w(l,function(d){var p=n.get(d);p.data&&f.push({dataGroupId:p.dataGroupId,divide:Et(p.data),data:p.data})}),f.length&&e.set(u,{oldSeries:f,newSeries:[{dataGroupId:o,data:s,divide:Et(s)}]})}else{var h=a.get(l);if(h){var v=e.get(h.key);v||(v={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:Et(h.data)}],newSeries:[]},e.set(h.key,v)),v.newSeries.push({dataGroupId:o,data:s,divide:Et(s)})}}}}),e}function Wf(r,t){for(var e=0;e=0&&a.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Et(t.oldData[s]),dim:o.dimension})}),w(he(r.to),function(o){var s=Wf(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();i.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Et(l),dim:o.dimension})}}),a.length>0&&i.length>0&&jp(a,i,n)}function TD(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){w(he(n.seriesTransition),function(a){w(he(a.to),function(i){for(var o=n.updatedSeries,s=0;s + + + + + \ No newline at end of file diff --git a/assets/export_excel-GFRgGiCF.js b/assets/export_excel-GFRgGiCF.js new file mode 100644 index 00000000..6cffeaba --- /dev/null +++ b/assets/export_excel-GFRgGiCF.js @@ -0,0 +1 @@ +const e="/ray-template/assets/export_excel-EXtXFabW.svg";export{e as default}; diff --git a/assets/fullscreen-LJg-Litq.js b/assets/fullscreen-LJg-Litq.js new file mode 100644 index 00000000..ad197eee --- /dev/null +++ b/assets/fullscreen-LJg-Litq.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1669354557217'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='15192'%20width='200'%20height='200'%3e%3cpath%20fill='currentColor'%20d='M256%20170.666667a128%20128%200%200%200-128%20128v213.333333a42.666667%2042.666667%200%201%200%2085.333333%200V298.666667a42.666667%2042.666667%200%200%201%2042.666667-42.666667h213.333333a42.666667%2042.666667%200%201%200%200-85.333333H256z%20m512%20682.666666a128%20128%200%200%200%20128-128v-170.666666a42.666667%2042.666667%200%201%200-85.333333%200v170.666666a42.666667%2042.666667%200%200%201-42.666667%2042.666667h-192a42.666667%2042.666667%200%201%200%200%2085.333333H768z'%20p-id='15193'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/fullscreen_fold-0gdJoV38.js b/assets/fullscreen_fold-0gdJoV38.js new file mode 100644 index 00000000..00e1f9d7 --- /dev/null +++ b/assets/fullscreen_fold-0gdJoV38.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20aria-hidden='true'%20role='img'%20width='1em'%20height='1em'%20viewBox='0%200%2016%2016'%20class='iconify%20iconify--codicon'%3e%3cpath%20fill='currentColor'%20d='M3%2012h10V4H3v8zm2-6h6v4H5V6zM2%206H1V2.5l.5-.5H5v1H2v3zm13-3.5V6h-1V3h-3V2h3.5l.5.5zM14%2010h1v3.5l-.5.5H11v-1h3v-3zM2%2013h3v1H1.5l-.5-.5V10h1v3z'%3e%3c/path%3e%3c/svg%3e";export{e as default}; diff --git a/assets/function-bind@1.1.1-Y6-kkB5s.js b/assets/function-bind@1.1.1-Y6-kkB5s.js new file mode 100644 index 00000000..51e558ef --- /dev/null +++ b/assets/function-bind@1.1.1-Y6-kkB5s.js @@ -0,0 +1 @@ +var v="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,f=Object.prototype.toString,s="[object Function]",y=function(c){var t=this;if(typeof t!="function"||f.call(t)!==s)throw new TypeError(v+t);for(var o=i.call(arguments,1),n,u=function(){if(this instanceof n){var r=t.apply(this,o.concat(i.call(arguments)));return Object(r)===r?r:this}else return t.apply(c,o.concat(i.call(arguments)))},l=Math.max(0,t.length-o.length),p=[],e=0;e"u"||!o?r:o(Uint8Array),s={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":u&&o?o([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":N,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&o?o(o([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!u||!o?r:o(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!u||!o?r:o(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&o?o(""[Symbol.iterator]()):r,"%Symbol%":u?Symbol:r,"%SyntaxError%":P,"%ThrowTypeError%":_,"%TypedArray%":C,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(o)try{null.error}catch(i){var M=o(o(i));s["%Error.prototype%"]=M}var j=function i(t){var n;if(t==="%AsyncFunction%")n=R("async function () {}");else if(t==="%GeneratorFunction%")n=R("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=R("async function* () {}");else if(t==="%AsyncGenerator%"){var e=i("%AsyncGeneratorFunction%");e&&(n=e.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=i("%AsyncGenerator%");a&&o&&(n=o(a.prototype))}return s[t]=n,n},B={"%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"]},v=T,F=k,W=v.call(Function.call,Array.prototype.concat),D=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),b=v.call(Function.call,String.prototype.slice),J=v.call(Function.call,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,q=function(t){var n=b(t,0,1),e=b(t,-1);if(n==="%"&&e!=="%")throw new P("invalid intrinsic syntax, expected closing `%`");if(e==="%"&&n!=="%")throw new P("invalid intrinsic syntax, expected opening `%`");var a=[];return x(t,V,function(p,l,y,m){a[a.length]=y?x(m,z,"$1"):l||p}),a},L=function(t,n){var e=t,a;if(F(B,e)&&(a=B[e],e="%"+a[0]+"%"),F(s,e)){var p=s[e];if(p===A&&(p=j(e)),typeof p>"u"&&!n)throw new d("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:e,value:p}}throw new P("intrinsic "+t+" does not exist!")},X=function(t,n){if(typeof t!="string"||t.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new d('"allowMissing" argument must be a boolean');if(J(/^%?[^%]*%?$/,t)===null)throw new P("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var e=q(t),a=e.length>0?e[0]:"",p=L("%"+a+"%",n),l=p.name,y=p.value,m=!1,U=p.alias;U&&(a=U[0],D(e,W([0,1],U)));for(var S=1,g=!0;S=e.length){var I=c(y,f);g=!!I,g&&"get"in I&&!("originalValue"in I.get)?y=I.get:y=y[f]}else g=F(y,f),y=y[f];g&&!m&&(s[l]=y)}}return y};export{X as g}; diff --git a/assets/get-intrinsic@1.2.1-NE0DZZ3B.js.gz b/assets/get-intrinsic@1.2.1-NE0DZZ3B.js.gz new file mode 100644 index 00000000..24e2ba80 Binary files /dev/null and b/assets/get-intrinsic@1.2.1-NE0DZZ3B.js.gz differ diff --git a/assets/github-cVhKF5HM.js b/assets/github-cVhKF5HM.js new file mode 100644 index 00000000..54f7e96a --- /dev/null +++ b/assets/github-cVhKF5HM.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20t='1669170696481'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1372'%20width='200'%20height='200'%3e%3cpath%20d='M512%200C229.283787%200%200.142041%20234.942803%200.142041%20524.867683c0%20231.829001%20146.647305%20428.553077%20350.068189%20497.952484%2025.592898%204.819996%2034.976961-11.38884%2034.976961-25.294314%200-12.45521-0.469203-45.470049-0.725133-89.276559-142.381822%2031.735193-172.453477-70.380469-172.453477-70.380469-23.246882-60.569859-56.816233-76.693384-56.816234-76.693385-46.493765-32.58829%203.540351-31.948468%203.540351-31.948467%2051.356415%203.71097%2078.356923%2054.086324%2078.356923%2054.086324%2045.683323%2080.19108%20119.817417%2057.072162%20148.993321%2043.593236%204.649376-33.91059%2017.915029-57.029508%2032.50298-70.167195-113.675122-13.222997-233.151301-58.223843-233.1513-259.341366%200-57.285437%2019.919806-104.163095%2052.678715-140.846248-5.246544-13.265652-22.820334-66.626844%204.990615-138.884127%200%200%2042.996069-14.076094%20140.760939%2053.787741%2040.863327-11.644769%2084.627183-17.445825%20128.177764-17.6591%2043.465272%200.213274%2087.271782%206.014331%20128.135109%2017.6591%2097.679561-67.906489%20140.59032-53.787741%20140.59032-53.787741%2027.938914%2072.257282%2010.407779%20125.618474%205.118579%20138.884127%2032.844219%2036.683154%2052.593405%2083.560812%2052.593405%20140.846248%200%20201.586726-119.646798%20245.990404-233.663158%20258.957473%2018.341577%2016.208835%2034.721032%2048.199958%2034.721032%2097.210357%200%2070.167195-0.639822%20126.7275-0.639823%20143.960051%200%2014.033439%209.213443%2030.370239%2035.190235%2025.209005%20203.250265-69.527373%20349.769606-266.123484%20349.769605-497.867175C1023.857959%20234.942803%20794.673558%200%20512%200'%20fill='currentColor'%20p-id='1373'%3e%3c/path%3e%3c/svg%3e";export{t as default}; diff --git a/assets/github-cVhKF5HM.js.gz b/assets/github-cVhKF5HM.js.gz new file mode 100644 index 00000000..98da6912 Binary files /dev/null and b/assets/github-cVhKF5HM.js.gz differ diff --git a/assets/google-Mjnm1oio.js b/assets/google-Mjnm1oio.js new file mode 100644 index 00000000..1ead548d --- /dev/null +++ b/assets/google-Mjnm1oio.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1680416935795'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7487'%20width='64'%20height='64'%3e%3cpath%20d='M746.666667%20597.333333a235.093333%20235.093333%200%200%201-192%20167.68%20262.4%20262.4%200%200%201-298.666667-232.533333A256%20256%200%200%201%20512%20256a261.12%20261.12%200%200%201%2096.853333%2018.773333%2021.333333%2021.333333%200%200%200%2027.306667-8.96l61.44-113.066666a22.186667%2022.186667%200%200%200-9.813333-29.866667A426.666667%20426.666667%200%200%200%2085.333333%20524.373333%20431.786667%20431.786667%200%200%200%20493.653333%20938.666667%20426.666667%20426.666667%200%200%200%20938.666667%20534.186667v-85.333334a21.76%2021.76%200%200%200-21.333334-21.333333h-384a21.333333%2021.333333%200%200%200-21.333333%2021.333333v128a21.333333%2021.333333%200%200%200%2021.333333%2021.333334h213.333334'%20p-id='7488'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/has-proto@1.0.1-dzJH2Y5C.js b/assets/has-proto@1.0.1-dzJH2Y5C.js new file mode 100644 index 00000000..f682ae66 --- /dev/null +++ b/assets/has-proto@1.0.1-dzJH2Y5C.js @@ -0,0 +1 @@ +var o={foo:{}},t=Object,_=function(){return{__proto__:o}.foo===o.foo&&!({__proto__:null}instanceof t)};export{_ as h}; diff --git a/assets/has-symbols@1.0.3-fNtejGuA.js b/assets/has-symbols@1.0.3-fNtejGuA.js new file mode 100644 index 00000000..f867a92a --- /dev/null +++ b/assets/has-symbols@1.0.3-fNtejGuA.js @@ -0,0 +1 @@ +var a=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},e=Symbol("test"),l=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var r=42;t[e]=r;for(e 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 o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(t,e);if(f.value!==r||f.enumerable!==!0)return!1}return!0},n=typeof Symbol<"u"&&Symbol,s=a,b=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:s()};export{b as h}; diff --git a/assets/has@1.0.3-rcPLRdvS.js b/assets/has@1.0.3-rcPLRdvS.js new file mode 100644 index 00000000..020aa6b6 --- /dev/null +++ b/assets/has@1.0.3-rcPLRdvS.js @@ -0,0 +1 @@ +import{f as r}from"./function-bind@1.1.1-Y6-kkB5s.js";var o=r,a=o.call(Function.call,Object.prototype.hasOwnProperty);export{a as s}; diff --git a/assets/index--tnjvJho.js b/assets/index--tnjvJho.js new file mode 100644 index 00000000..3a24b986 --- /dev/null +++ b/assets/index--tnjvJho.js @@ -0,0 +1 @@ +const u=Vue.defineComponent({name:"RouterDemoDetail",render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1},{default:()=>[Vue.createVNode(naive.NCard,{title:"平层路由详情页面"},{default:()=>[Vue.createTextVNode("我是平层路由详情页面")]}),Vue.createVNode(naive.NCard,{title:"TIP"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("1. 可以点击面包屑或者菜单返回到主页面")]),Vue.createVNode("h2",null,[Vue.createTextVNode("2. 如果这个页面需要配置多个详情页面,只需将该路由所在的 children 中,将所需页面配置为 sameLevel 即可。")])]})]})}});export{u as default}; diff --git a/assets/index-1WeO5A2O.css b/assets/index-1WeO5A2O.css new file mode 100644 index 00000000..c46d0c56 --- /dev/null +++ b/assets/index-1WeO5A2O.css @@ -0,0 +1 @@ +.ray-collapse-grid{-webkit-box-sizing:border-box;box-sizing:border-box}.ray-collapse-grid .collapse-icon{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-transition:color .3s var(--r-bezier);transition:color .3s var(--r-bezier)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow{margin-left:.5em;-webkit-transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier);transition:color .3s var(--r-bezier),transform .3s var(--r-bezier),-webkit-transform .3s var(--r-bezier)}.ray-collapse-grid .collapse-icon>.collapse-icon--arrow.collapse-icon--arrow__expanded{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)} diff --git a/assets/index-3Rmz_Ux4.js b/assets/index-3Rmz_Ux4.js new file mode 100644 index 00000000..31fcf2ce --- /dev/null +++ b/assets/index-3Rmz_Ux4.js @@ -0,0 +1 @@ +function a(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const c=Vue.defineComponent({name:"RayLink",setup(){return{handleLinkClick:t=>{window.open(t.src)},avatarOptions:[{key:"yunhome",src:"https://yunkuangao.me/",tooltip:"云之家",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/avatar.jpeg"},{key:"yun-cloud-images",src:"https://yunkuangao.com/",tooltip:"云图床",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/avatar.jpeg"},{key:"ray-js-note",src:"https://note.youdao.com/s/ObWEe2BB",tooltip:"Ray的前端学习笔记",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/longmao.navigator.png"},{key:"ray-js-cover",src:"https://note.youdao.com/s/IC8xKPdB",tooltip:"Ray的面试题总结",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/longmao.navigator.png"},{key:"ray-template-doc",src:"https://xiaodaigua-ray.github.io/ray-template-doc/",tooltip:"Ray Template Doc",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/longmao.navigator.png"},{key:"ray-template-doc-out",src:"https://ray-template.yunkuangao.com/",tooltip:"Ray Template Doc (国内地址)",icon:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/longmao.navigator.png"}]}},render(){let e;return Vue.createVNode(naive.NSpace,null,a(e=this.avatarOptions.map(o=>Vue.createVNode(naive.NTooltip,{key:o.key},{trigger:()=>Vue.createVNode(naive.NAvatar,Vue.mergeProps({round:!0,src:o.icon,style:["cursor: pointer"]},{onClick:this.handleLinkClick.bind(this,o)},{objectFit:"cover",size:24}),null),default:()=>o.tooltip})))?e:{default:()=>[e]})}});export{c as R}; diff --git a/assets/index-3Rmz_Ux4.js.gz b/assets/index-3Rmz_Ux4.js.gz new file mode 100644 index 00000000..d42ff356 Binary files /dev/null and b/assets/index-3Rmz_Ux4.js.gz differ diff --git a/assets/index-3nkF0W6U.css b/assets/index-3nkF0W6U.css new file mode 100644 index 00000000..bdc04dbe --- /dev/null +++ b/assets/index-3nkF0W6U.css @@ -0,0 +1 @@ +.dashboard-layout .n-card{margin-top:.938rem}.dashboard-layout .n-card:first-child{margin-top:0}.dashboard-layout .dashboard-link{text-decoration:none} diff --git a/assets/index-48JFfn_Q.css b/assets/index-48JFfn_Q.css new file mode 100644 index 00000000..f2f0d2f1 --- /dev/null +++ b/assets/index-48JFfn_Q.css @@ -0,0 +1 @@ +.login{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.login .login-wrapper{position:relative;-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto}.login .login-wrapper.login-wrapper--divider{position:relative}.login .login-wrapper.login-wrapper--divider:before{content:"";position:absolute;width:var(--login-height);height:.104rem;background:-webkit-linear-gradient(315deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),-webkit-linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background:linear-gradient(135deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%),linear-gradient(45deg,transparent,transparent 75%,#2080f0,transparent 80%,transparent 100%);background-size:1em 1em;background-repeat:repeat-x,repeat-x;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0;left:50%}.login .login-wrapper .login-title__wrapper{position:absolute;left:1.25rem;top:1.25rem}.login .login-wrapper .login-action__wrapper{position:absolute;height:2.833rem;right:1.25rem;top:1.25rem}.login .login-wrapper .login-copyright__wrapper{position:absolute;width:100%;text-align:center;bottom:1.25rem;font-size:.729rem}.login .login-wrapper .login-wrapper__content{width:100%;height:100%}.login .login-wrapper .login-wrapper__content .n-grid{height:100%}.login .login-wrapper .login-wrapper__content .login__left-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier)}.login .login-wrapper .login-wrapper__content .login__right-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.login .login-wrapper .login-wrapper__content .login__right-wrapper .login__right-wrapper__content{width:50%;background-color:transparent}.ray-template--light .login__left-wrapper{background-color:#2080f038}.ray-template--light .login__right-wrapper{background-color:#fff}.ray-template--dark .login__left-wrapper{background-color:#2c354b}.ray-template--dark .login__right-wrapper{background-color:#2a3146}@media screen and (max-width: 1200px){.login__left-wrapper{display:none!important}}@media screen and (min-width: 768px) and (max-width: 992px){.login__right-wrapper .login__right-wrapper__content{width:55%!important}}@media screen and (max-width: 768px){.login__right-wrapper .login__right-wrapper__content{width:100%!important}}.qrcode-signing{width:100%;height:11.458rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.ray-template--light .sso-signing{color:#878787} diff --git a/assets/index-48JFfn_Q.css.gz b/assets/index-48JFfn_Q.css.gz new file mode 100644 index 00000000..82fa340d Binary files /dev/null and b/assets/index-48JFfn_Q.css.gz differ diff --git a/assets/index-4fu9H4qi.js b/assets/index-4fu9H4qi.js new file mode 100644 index 00000000..99aa14f6 --- /dev/null +++ b/assets/index-4fu9H4qi.js @@ -0,0 +1 @@ +import{u as v,a as h,b as N,g as f,s as u,c as p,A as d,R as o,d as y,T as w,L as b}from"./index-EwlO25Hg.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./dayjs@1.11.10-IrZctHvJ.js";import{R as S,L as x}from"./ray-cRawy-kT.js";import{R}from"./index-3Rmz_Ux4.js";import{u as _}from"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";function k(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const C=Vue.defineComponent({name:"RSigning",setup(){const e=Vue.ref(),{t:i}=v(),{signing:t}=h(),{getRootPath:n}=N(),a=f("globalSpinning"),c=()=>({name:"Ray Admin",pwd:"123456"}),g=VueRouter.useRouter(),r=Vue.ref(c()),m={name:{required:!0,message:i("views.login.index.NamePlaceholder"),trigger:["blur","input"]},pwd:{required:!0,message:i("views.login.index.PasswordPlaceholder"),trigger:["blur","input"]}};return{signingForm:r,loginFormRef:e,handleLogin:()=>{var l;(l=e.value)==null||l.validate(V=>{V||(u("globalSpinning",!0),t(r.value).then(s=>{s.code===0&&setTimeout(()=>{u("globalSpinning",!1),window.$message.success(`欢迎${r.value.name}登陆~`),p(d.token,"tokenValue"),p(d.signing,s.data),g.push(n.value)},2*1e3)}).catch(()=>{window.$message.error("不可以这样哟, 不可以哟")}))})},rules:m,globalSpinning:a}},render(){let e;const{$t:i,globalSpinning:t}=this;return Vue.createVNode(naive.NForm,{model:this.signingForm,ref:"loginFormRef",rules:this.rules},{default:()=>[Vue.createVNode(naive.NFormItem,{label:i("views.login.index.Name"),path:"name"},{default:()=>[Vue.createVNode(naive.NInput,{value:this.signingForm.name,"onUpdate:value":n=>this.signingForm.name=n,placeholder:i("views.login.index.NamePlaceholder")},null)]}),Vue.createVNode(naive.NFormItem,{label:i("views.login.index.Password"),path:"pwd"},{default:()=>[Vue.createVNode(naive.NInput,{value:this.signingForm.pwd,"onUpdate:value":n=>this.signingForm.pwd=n,type:"password",showPasswordOn:"click",placeholder:i("views.login.index.PasswordPlaceholder")},null)]}),Vue.createVNode(naive.NButton,{style:["width: 100%","margin-to: 18px"],type:"primary",onClick:this.handleLogin.bind(this),loading:t},k(e=i("views.login.index.Login"))?e:{default:()=>[e]})]})}}),L=Vue.defineComponent({name:"RRegister",render(){return Vue.createVNode(naive.NResult,{status:"info",title:"提示",description:"我实在是不想写了..."},null)}}),T=Vue.defineComponent({name:"QRCodeSigning",setup(){const e=Vue.reactive({qrcodeValue:"https://github.com/XiaoDaiGua-Ray/xiaodaigua-ray.github.io"});return{...Vue.toRefs(e)}},render(){return Vue.createVNode("div",{class:"qrcode-signing"},[Vue.createVNode(S,{text:"ray template yes",size:200,logoImage:x},null)])}});function j(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const P=Vue.defineComponent({name:"SSOSigning",setup(){return{ssoSigningOptions:[{icon:"github",key:"github",tooltipLabel:"Github登陆"},{icon:"google",key:"google",tooltipLabel:"Google登陆"},{icon:"twitter",key:"twitter",tooltipLabel:"Twitter登陆"}],handleSSOSigningClick:t=>{window.$message.info(`调用${t.tooltipLabel}`)}}},render(){let e;return Vue.createVNode(naive.NSpace,{class:"sso-signing",align:"center",itemStyle:{display:"flex"}},j(e=this.ssoSigningOptions.map(i=>Vue.createVNode(naive.NPopover,{key:i.key},{trigger:()=>Vue.createVNode(o,{name:i.icon,size:"24",cursor:"pointer",onClick:this.handleSSOSigningClick.bind(this,i)},null),default:()=>i.tooltipLabel})))?e:{default:()=>[e]})}});var O={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const se=Vue.defineComponent({name:"RLogin",setup(){const{layout:{copyright:e}}=O,i=Vue.reactive({tabsValue:"signing"}),{height:t,width:n}=_(),{updateLocale:a}=y();return{...Vue.toRefs(i),windowHeight:t,updateLocale:a,copyright:e,windowWidth:n}},render(){const{$t:e}=this;return Vue.createVNode("div",{class:["login"],style:[`height: ${this.windowHeight}px`,`--login-height: ${this.windowHeight}px`]},[Vue.createVNode("div",{class:["login-wrapper",this.windowWidth>=1440?"login-wrapper--divider":""]},[Vue.createVNode("div",{class:["login-wrapper__content"]},[Vue.createVNode(naive.NSpace,{align:"center",class:"login-title__wrapper"},{default:()=>[Vue.createVNode(o,{name:"ray",size:"48"},null),Vue.createVNode(naive.NGradientText,{class:"login-title",type:"info",size:28},{default:()=>[Vue.createTextVNode("Ray Template")]})]}),Vue.createVNode(naive.NSpace,{align:"center",class:"login-action__wrapper",itemStyle:{display:"flex"}},{default:()=>[Vue.createVNode(w,null,null),Vue.createVNode(naive.NDropdown,{options:b,onSelect:i=>this.updateLocale(i),trigger:"click"},{default:()=>[Vue.createVNode(o,{customClassName:"login-icon",name:"language",size:"18",cursor:"pointer"},null)]})]}),Vue.createVNode(naive.NGrid,{cols:"s:1 m:1 l:2 xl:2 2xl:2",itemResponsive:!1,responsive:"screen"},{default:()=>[Vue.createVNode(naive.NGridItem,{span:"s:0 m:0 l:1 xl:1 2xl:1",class:"login__left-wrapper"},{default:()=>[Vue.createVNode(naive.NSpace,{align:"center",vertical:!0},{default:()=>[Vue.createVNode(o,{name:"login_bg",width:"368",height:"368"},null),Vue.createVNode(naive.NGradientText,{class:"login-title",type:"info",size:36},{default:()=>[Vue.createTextVNode("开箱即用的中后台管理系统")]})]})]}),Vue.createVNode(naive.NGridItem,{span:1,class:"login__right-wrapper"},{default:()=>[Vue.createVNode(naive.NCard,{class:"login__right-wrapper__content",embedded:!0,bordered:!1},{default:()=>[Vue.createVNode(naive.NTabs,{value:this.tabsValue,"onUpdate:value":i=>this.tabsValue=i,type:"line",animated:!0,size:"large"},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NTabPane,{tab:e("views.login.index.Signing"),name:"signing"},{default:()=>[Vue.createVNode(C,null,null)]}),Vue.createVNode(naive.NTabPane,{tab:e("views.login.index.Register"),name:"register"},{default:()=>[Vue.createVNode(L,null,null)]}),Vue.createVNode(naive.NTabPane,{tab:e("views.login.index.QRCodeSigning"),name:"qrcodeSigning"},{default:()=>[Vue.createVNode(T,null,null)]})])}),Vue.createVNode(naive.NDivider,null,{default:()=>[Vue.createTextVNode("其他登陆方式")]}),Vue.createVNode(P,null,null),Vue.createVNode(naive.NDivider,null,{default:()=>[Vue.createTextVNode("友情链接")]}),Vue.createVNode(R,null,null)]})]})]}),Vue.createVNode(naive.NSpace,{align:"center",justify:"center",class:"login-copyright__wrapper",wrapItem:!1},{default:()=>[this.copyright]})])])])}});export{se as default}; diff --git a/assets/index-4fu9H4qi.js.gz b/assets/index-4fu9H4qi.js.gz new file mode 100644 index 00000000..f00e2b80 Binary files /dev/null and b/assets/index-4fu9H4qi.js.gz differ diff --git a/assets/index-4oPeexgb.css b/assets/index-4oPeexgb.css new file mode 100644 index 00000000..db37093a --- /dev/null +++ b/assets/index-4oPeexgb.css @@ -0,0 +1 @@ +.scroll-reveal{width:100%;height:100%} diff --git a/assets/index-7HAQIe0w.js b/assets/index-7HAQIe0w.js new file mode 100644 index 00000000..aee16f5d --- /dev/null +++ b/assets/index-7HAQIe0w.js @@ -0,0 +1 @@ +const u=Vue.defineComponent({name:"SubMenuOther",setup(){return{inputValue:Vue.ref(null)}},render(){return Vue.createVNode("div",null,[Vue.createTextVNode("多级菜单-2-1"),Vue.createVNode(naive.NInput,{modelValue:this.inputValue,"onUpdate:modelValue":e=>this.inputValue=e},null)])}});export{u as default}; diff --git a/assets/index-AfdQbgre.js b/assets/index-AfdQbgre.js new file mode 100644 index 00000000..972eff1e --- /dev/null +++ b/assets/index-AfdQbgre.js @@ -0,0 +1 @@ +import{R as l}from"./index-EwlO25Hg.js";import{R as i}from"./index-3Rmz_Ux4.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";function o(u){return typeof u=="function"||Object.prototype.toString.call(u)==="[object Object]"&&!Vue.isVNode(u)}const L=Vue.defineComponent({name:"RDashboard",setup(){return{coverLetterOptions:[{label:"掌握搬砖框架",des:()=>Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("Vue3.x")]}),Vue.createVNode(naive.NTag,{type:"info"},{default:()=>[Vue.createTextVNode("React")]})]})},{label:"从事搬砖时长",des:()=>Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(naive.NTag,{type:"success"},{default:()=>[Vue.createTextVNode("练习时长两年半的小白前端搬砖师")]})]})},{label:"个人",des:()=>Vue.createVNode(naive.NSpace,{align:"center"},{default:()=>[Vue.createVNode(l,{name:"ray",size:"22"},null),Vue.createTextVNode("努力搬砖、努力摸鱼, 建设美丽家园")]}),span:2},{label:"补充说明",des:()=>Vue.createVNode(naive.NSpace,{align:"center"},{default:()=>[Vue.createTextVNode("如果有希望补充的功能可以在"),Vue.createVNode("a",{class:"dashboard-link",href:"https://github.com/XiaoDaiGua-Ray/ray-template"},[Vue.createTextVNode("GitHub")]),Vue.createTextVNode("提一个 Issues")]}),span:2}],technologyTagOptions:[{label:"Vue3.x",value:"Vue3.x"},{label:"Vite4.0",value:"Vite4.0"},{label:"Pinia",value:"Pinia"},{label:"TSX",value:"TSX"}]}},render(){let u,t;return Vue.createVNode(naive.NLayout,{class:"dashboard-layout layout-full"},{default:()=>[Vue.createVNode(naive.NCard,null,{header:()=>Vue.h(l,{name:"ray",size:"64"},{}),default:()=>"当你看见这个页面后, 就说明项目已经启动成功了~"}),Vue.createVNode(naive.NCard,{title:"个人介绍"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left",column:2},o(u=this.coverLetterOptions.map(e=>{let a;return Vue.createVNode(naive.NDescriptionsItem,{key:e.label,label:e.label,span:e==null?void 0:e.span},o(a=e.des())?a:{default:()=>[a]})}))?u:{default:()=>[u]})]}),Vue.createVNode(naive.NCard,{title:"项目介绍"},{default:()=>[Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("技术栈")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createVNode(naive.NSpace,null,o(t=this.technologyTagOptions.map(e=>Vue.createVNode(naive.NTag,{key:e.value,type:"info"},{default:()=>[e.label]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NH6,null,{default:()=>[Vue.createTextVNode("项目介绍")]}),Vue.createVNode(naive.NP,null,{default:()=>[Vue.createTextVNode("预设了最佳构建体验的配置与常用搬砖工具。意在提供一个简洁、快速上手的模板。")]})]}),Vue.createVNode(naive.NCard,{title:"友情链接"},{default:()=>[Vue.createVNode(i,null,null)]})]})}});export{L as default}; diff --git a/assets/index-AfdQbgre.js.gz b/assets/index-AfdQbgre.js.gz new file mode 100644 index 00000000..4827f3ec Binary files /dev/null and b/assets/index-AfdQbgre.js.gz differ diff --git a/assets/index-Btqqg3j9.css b/assets/index-Btqqg3j9.css new file mode 100644 index 00000000..73feb50c --- /dev/null +++ b/assets/index-Btqqg3j9.css @@ -0,0 +1 @@ +.error-page{width:100%;height:100vh;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center} diff --git a/assets/index-ETHFCQn4.js b/assets/index-ETHFCQn4.js new file mode 100644 index 00000000..6ba4834d --- /dev/null +++ b/assets/index-ETHFCQn4.js @@ -0,0 +1 @@ +import{h as l,o as i,m as o,j as f}from"./index-EwlO25Hg.js";const d={src:{type:String,required:!0},iframeWrapperClass:{type:String,default:null},frameborder:{type:Number,default:0},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},allow:{type:String,default:null},name:{type:String,default:null},title:{type:String,default:null},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},customSpinProps:{type:Object,default:()=>({})},lazy:{type:Boolean,default:!0},wrapperClass:{type:String,default:null}},h=Vue.defineComponent({name:"RIframe",props:d,setup(r,{expose:c}){const m=Vue.computed(()=>({"--ray-iframe-frameborder":l(r.frameborder),"--ray-iframe-width":l(r.width),"--ray-iframe-height":l(r.height)})),e=Vue.ref(),s=Vue.ref(!0),n=a=>{s.value=!1;const{onSuccess:t}=r;t&&f(t,e.value,a)},u=a=>{s.value=!1;const{onError:t}=r;t&&f(t,a)};return c({iframeInst:e}),Vue.onMounted(()=>{i(e.value,"load",n.bind(this)),i(e.value,"error",u)}),Vue.onBeforeUnmount(()=>{o(e.value,"load",n),o(e.value,"error",u)}),{cssVars:m,iframeRef:e,spinShow:s}},render(){return Vue.createVNode("div",{class:["ray-iframe",this.iframeWrapperClass],style:[this.cssVars]},[Vue.createVNode(naive.NSpin,Vue.mergeProps(this.customSpinProps,{show:this.spinShow}),{...this.$slots,default:()=>Vue.createVNode("iframe",Vue.mergeProps({class:["ray-iframe__container",this.wrapperClass],ref:"iframeRef",src:this.src,allow:this.allow,name:this.name,title:this.title},{loading:this.lazy?"lazy":null}),null)})])}});export{h as R}; diff --git a/assets/index-ETHFCQn4.js.gz b/assets/index-ETHFCQn4.js.gz new file mode 100644 index 00000000..f32bc877 Binary files /dev/null and b/assets/index-ETHFCQn4.js.gz differ diff --git a/assets/index-EwlO25Hg.js b/assets/index-EwlO25Hg.js new file mode 100644 index 00000000..cd18858a --- /dev/null +++ b/assets/index-EwlO25Hg.js @@ -0,0 +1,7 @@ +var y1=Object.defineProperty;var b1=(e,t,o)=>t in e?y1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var ke=(e,t,o)=>(b1(e,typeof t!="symbol"?t+"":t,o),o);import{s as ne,c as Ee,d as Ie,t as me,i as V1,g as _1,f as w1}from"./lodash-es@4.17.21-zBC-oVE3.js";import{u as S1}from"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import{u as De,a as se,b as M1}from"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import{d as T}from"./dayjs@1.11.10-IrZctHvJ.js";import{o as je,c as Be,a as Ze}from"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import{s as k1}from"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import{C as Ce}from"./clipboard@2.0.11-1jqEMlOW.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const n of l)if(n.type==="childList")for(const i of n.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function o(l){const n={};return l.integrity&&(n.integrity=l.integrity),l.referrerPolicy&&(n.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?n.credentials="include":l.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function a(l){if(l.ep)return;l.ep=!0;const n=o(l);fetch(l.href,n)}})();const C1="modulepreload",N1=function(e){return"/ray-template/"+e},Ne={},w=function(t,o,a){if(!o||o.length===0)return t();const l=document.getElementsByTagName("link");return Promise.all(o.map(n=>{if(n=N1(n),n in Ne)return;Ne[n]=!0;const i=n.endsWith(".css"),r=i?'[rel="stylesheet"]':"";if(!!a)for(let m=l.length-1;m>=0;m--){const v=l[m];if(v.href===n&&(!i||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${r}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":C1,i||(u.as="script",u.crossOrigin=""),u.href=n,document.head.appendChild(u),i)return new Promise((m,v)=>{u.addEventListener("load",m),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t()).catch(n=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=n,window.dispatchEvent(i),!i.defaultPrevented)throw n})},T1=(e,t)=>{const o=e[t];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((a,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+t)))})};function fe(e,t,o="sessionStorage"){if(!e){console.error("Failed to set stored data: key is empty or undefined");return}try{const a=JSON.stringify(t);o==="localStorage"?window.localStorage.setItem(e,a):window.sessionStorage.setItem(e,a)}catch(a){console.error(`Failed to set stored data for key '${e}'`,a)}}function Z(e,t="sessionStorage",o){try{const a=t==="localStorage"?window.localStorage.getItem(e):window.sessionStorage.getItem(e);return a===null?o??null:JSON.parse(a)}catch(a){return console.error(`Failed to get stored data for key '${e}'`,a),o??null}}function O1(e,t="sessionStorage"){switch(e){case"all":window.window.localStorage.clear(),window.sessionStorage.clear();break;case"all-sessionStorage":window.sessionStorage.clear();break;case"all-localStorage":window.localStorage.clear();break;default:if(!e){console.error("Failed to remove stored data: key is empty or undefined");return}t==="localStorage"?window.localStorage.removeItem(e):window.sessionStorage.removeItem(e)}}const He=[{key:"zh-CN",label:"中文(简体)"},{key:"en-US",label:"English(US)"}],A1="zh-CN",z1={"zh-CN":"zh-cn","en-US":"en"},$e="zh-cn",Fe={setupKeepAlive:!0,keepAliveExclude:[],maxKeepAliveLength:5},L1={name:"Dashboard",path:"/dashboard"},I={menuCollapsedWidth:64,menuCollapsedMode:"width",menuCollapsedIconSize:22,menuCollapsedIndent:24,menuAccordion:!1},ge={signing:"signing",localeLanguage:"localeLanguage",token:"token"},R1={content:"Tring be better~",fontSize:16,lineHeight:16,width:384,height:384,xOffset:12,yOffset:60,rotate:-15},Ao=(e,t)=>{if(typeof t!="string"||!t.trim())throw new TypeError("Expected prefix to be a non-empty string");const o={};return Object.keys(e).forEach(a=>{const l=e[a].default;let n=a.replace(`./${t}/`,"").replace(/^\.\//,"");const i=n.lastIndexOf(".");n=n.substring(0,i);const r=n.split("/"),s=r.shift(),u=r.join(".");s&&(u?(ne(o,s,o[s]||{}),ne(o[s],u,l)):ne(o,s,l||{}))}),o},P1=async e=>{var o;const t={};for(const a of e){const l=await T1(Object.assign({"./lang/en-US.ts":()=>w(()=>import("./en-US-h0AAEbpZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),"./lang/zh-CN.ts":()=>w(()=>import("./zh-CN-40amWBBn.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))}),`./lang/${a.key}.ts`),n=a.key;n&&(t[n]=((o=l==null?void 0:l.default)==null?void 0:o.message)??{})}return t},x1=e=>{switch(e){case"zh-CN":return{locale:naive.zhCN,dateLocal:naive.dateZhCN};case"en-US":return{locale:null,dateLocal:null};default:return{locale:naive.zhCN,dateLocal:naive.dateZhCN}}},Ke=()=>Z(ge.localeLanguage,"localStorage",A1);var E1={VITE_APP_URL:"/",VITE_APP_OFFICE_PROXY_URL:"https://office.yka.one/",VITE_APP_OFFICE_SCRIPT_URL:"https://office.yka.one/web-apps/apps/api/documents/api.js",VITE_USER_NODE_ENV:"production",BASE_URL:"/ray-template/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const de=()=>E1,I1=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)},F=(e,t)=>Object.prototype.toString.call(e).includes(t),D1=(e=16,t=62)=>{const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),a=[],l=window.crypto||window.msCrypto;let n=0;for(n=0;nnew Promise((o,a)=>{let l;try{if(typeof e=="string"){I1(e,t),o();return}if(e instanceof ArrayBuffer)l=new Blob([new Uint8Array(e)],{type:"application/octet-stream"});else if(e instanceof File||e instanceof Blob)l=e;else{a(new Error("downloadAnyFile: Unsupported data type."));return}const n=URL.createObjectURL(l),i=document.createElement("a");i.href=n,i.download=t,i.style.display="none";const r=()=>{URL.revokeObjectURL(n),document.body.removeChild(i)};i.addEventListener("load",()=>{r(),o()}),i.addEventListener("error",s=>{r(),a(s)}),document.body.appendChild(i),i.click()}catch(n){a(n)}}),j1={validCSSUnit:/^\d+(\.\d+)?(px|em|rem|%|vw|vh|vmin|vmax|cm|mm|in|pt|pc|ch|ex|q|s|ms|deg|rad|turn|grad|hz|khz|dpi|dpcm|dppx|fr|auto)$/};function Ue(e,...t){if(Array.isArray(e))e.forEach(o=>Ue(o,...t));else return e(...t)}function E(e,t){var a;if(!e)return t;let o;return typeof e=="function"?o=e():Vue.isRef(e)?o=((a=e.value)==null?void 0:a.$el)??e.value:o=e,o}function qe(e,t){if(!e){const{defaultElement:o=null}=t??{};return typeof o=="function"?o:()=>o}if(typeof e=="string"||F(e,"Object"))return()=>e;if(typeof e=="function")return e}function B1(e){return Vue.getCurrentScope()?(Vue.onScopeDispose(e),!0):!1}function j(e,t){const o=Vue.watchEffect(e,t);B1(o)}const ve=(e,t,o,a=!1)=>{const l=Vue.computed(()=>E(e,window));j(()=>{l.value&&t&&o&&l.value.addEventListener(t,o,a)})},ye=(e,t,o,a=!1)=>{const l=Vue.computed(()=>E(e,window));j(()=>{l.value&&t&&o&&l.value.removeEventListener(t,o,a)})},be=(e,t)=>{const o=Vue.computed(()=>E(e));j(()=>{o.value&&t.trim().split(" ").forEach(n=>{n&&o.value.classList.add(n)})})},ae=(e,t)=>{const o=Vue.computed(()=>E(e));j(()=>{if(o.value)if(t==="removeAllClass"){const l=o.value.classList;l.forEach(n=>l.remove(n))}else t.trim().split(" ").forEach(n=>{n&&o.value.classList.remove(n)})})},Z1=(e,t)=>{const o=E(e);if(!o)return!1;const a=o.className,l=t.trim().split(" ").filter(n=>n!=="");return a.includes(l.join(" "))},We=(e,t)=>{const o=Vue.computed(()=>E(e));if(!o.value)return;let a;j(()=>{F(t,"String")?a=t.split(";").reduce((n,i)=>{const[r,s]=i.split(":").map(u=>u.trim());return r&&s&&(n[r]=s),n},{}):a=t,Object.keys(a).forEach(n=>{const i=a[n];n in o.value.style&&(o.value.style[n]=i)})})},H1=(e,t)=>{const o=Vue.computed(()=>E(e));if(!o.value)return;j(()=>{t.forEach(l=>{o.value.style.removeProperty(l)})})},Ge=(e,t=1)=>{const o=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i,a=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/i,l=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/i;let n;if(o.test(e)){const i=e.substring(1);n="rgb("+[parseInt(i.substring(0,2),16),parseInt(i.substring(2,4),16),parseInt(i.substring(4,6),16)].join(", ")+")"}else a.test(e)||l.test(e),n=e;return n&&!n.startsWith("rgba")&&(n=n.replace("rgb","rgba").replace(")",`, ${t})`)),n},pe=e=>{if(!e)return null;const t=e.startsWith("attr:")?`[${e.replace("attr:","")}]`:e;try{return Array.from(document.querySelectorAll(t))}catch(o){return console.error(`Failed to get elements for selector '${e}'`,o),null}},Q=(e,t="px")=>typeof e=="number"?e.toString()+t:F(e,"String")&&j1.validCSSUnit.test(e)?e:e+t;let Ye;const $1=async()=>{const e=Ke(),t=await P1(He);return VueI18n.createI18n({legacy:!1,locale:e,messages:t,sync:!0,missingWarn:!1,silentFallbackWarn:!0})},F1=async e=>{const t=await $1();Ye=t,e.use(t)},K1=(e,t)=>!e||t.startsWith(e)?t:`${e}.${t}`,K=e=>{const{t,locale:o,...a}=Ye.global;return{...a,t:(i,...r)=>i?!i.includes(".")&&!e?i:t(K1(e,i),...r):"",locale:i=>{const r=o;r.value=i}}},N=e=>e,U1={path:"/dashboard",name:"RDashboard",component:()=>w(()=>import("./index-AfdQbgre.js"),__vite__mapDeps([26,27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,28])),meta:{i18nKey:N("menu.Dashboard"),icon:"dashboard",order:0}},q1=Object.freeze(Object.defineProperty({__proto__:null,default:U1},Symbol.toStringTag,{value:"Module"})),W1={path:"/axios",name:"RAxios",component:()=>w(()=>import("./index-xef_xfqu.js"),__vite__mapDeps([29,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,30,1,17,18,19,20,21,22,23,24,31])),meta:{i18nKey:N("menu.Axios"),icon:"axios",order:3,keepAlive:!0}},G1=Object.freeze(Object.defineProperty({__proto__:null,default:W1},Symbol.toStringTag,{value:"Module"})),Y1={path:"/directive",name:"RDirective",component:()=>w(()=>import("./index-gRQOEXFu.js"),__vite__mapDeps([])),meta:{i18nKey:N("menu.Directive"),icon:"other",order:2}},J1=Object.freeze(Object.defineProperty({__proto__:null,default:Y1},Symbol.toStringTag,{value:"Module"})),P=()=>w(()=>Promise.resolve().then(()=>$t),void 0),X1={path:"/doc",name:"RDocLayout",component:P,meta:{i18nKey:N("menu.Doc"),icon:"doc",order:5},children:[{path:"doc-inside",name:"RDocInside",component:()=>w(()=>import("./index-QYN0Ro4-.js"),__vite__mapDeps([32,33,34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),meta:{i18nKey:N("menu.DocLocalInside")}},{path:"doc-outside",name:"RDoc",component:P,meta:{i18nKey:N("menu.Doc"),windowOpen:"https://xiaodaigua-ray.github.io/ray-template-doc/"}},{path:"doc-outside-local",name:"RDocLocal",component:P,meta:{i18nKey:N("menu.DocLocal"),windowOpen:"https://ray-template.yunkuangao.com/ray-template-doc/"}}]},Q1=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"})),et={path:"/echart",name:"REchart",component:()=>w(()=>import("./index-_-J57dNd.js"),__vite__mapDeps([35,1,17,18,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,36,37,38,20,21,22,23,24,39])),meta:{i18nKey:N("menu.Echart"),icon:"echart",order:1}},tt=Object.freeze(Object.defineProperty({__proto__:null,default:et},Symbol.toStringTag,{value:"Module"})),ot={path:"/iframe",name:"IframeDemo",component:()=>w(()=>import("./index-kSH3dsc5.js"),__vite__mapDeps([40,33,34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),meta:{icon:"other",order:2,noLocalTitle:"iframe"}},nt=Object.freeze(Object.defineProperty({__proto__:null,default:ot},Symbol.toStringTag,{value:"Module"})),lt={path:"/mock-demo",name:"MockDemo",component:()=>w(()=>import("./index-otd_RV6B.js"),__vite__mapDeps([41,42,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,43,44,45,46,30,1,17,18,19,20,21,22,23,24])),meta:{i18nKey:N("menu.Mock"),icon:"other",order:3,keepAlive:!0}},at=Object.freeze(Object.defineProperty({__proto__:null,default:lt},Symbol.toStringTag,{value:"Module"})),it={path:"/multi",name:"MultiMenu",component:P,meta:{i18nKey:N("menu.MultiMenu"),icon:"other",order:4},children:[{path:"multi-menu-one",name:"MultiMenuOne",component:()=>w(()=>import("./index-OlZM-6Aq.js"),__vite__mapDeps([])),meta:{noLocalTitle:"多级菜单-1",keepAlive:!0}},{path:"multi-menu-two",name:"MultiMenuTwo",component:P,meta:{noLocalTitle:"多级菜单-2"},children:[{path:"sub-menu-other",name:"SubMenuOther",component:()=>w(()=>import("./index-7HAQIe0w.js"),__vite__mapDeps([])),meta:{noLocalTitle:"多级菜单-2-1",keepAlive:!0}},{path:"sub-menu",name:"SubMenu",component:P,meta:{noLocalTitle:"多级菜单-2-2",keepAlive:!0},children:[{path:"sub-menu-one",name:"MultiMenuTwoOne",component:()=>w(()=>import("./index-vRnYP7XJ.js"),__vite__mapDeps([])),meta:{noLocalTitle:"多级菜单-2-2-1",keepAlive:!0}}]}]}]},rt=Object.freeze(Object.defineProperty({__proto__:null,default:it},Symbol.toStringTag,{value:"Module"})),st={path:"/precision",name:"CalculatePrecision",component:()=>w(()=>import("./index-IyokCD9_.js"),__vite__mapDeps([47,1,48])),meta:{i18nKey:N("menu.CalculatePrecision"),icon:"other",order:2}},ct=Object.freeze(Object.defineProperty({__proto__:null,default:st},Symbol.toStringTag,{value:"Module"})),ut={path:"/qrcode",name:"RQRCode",component:()=>w(()=>import("./index-OJnIbTC0.js"),__vite__mapDeps([49,50,4,5,6,51,1,2,3,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),meta:{i18nKey:N("menu.QRCode"),icon:"other",order:3}},dt=Object.freeze(Object.defineProperty({__proto__:null,default:ut},Symbol.toStringTag,{value:"Module"})),pt={path:"/rely",name:"RelyAbout",component:P,meta:{i18nKey:N("menu.Rely"),icon:"rely",order:7},children:[{path:"rely-about",name:"RelyAbout",component:()=>w(()=>import("./index-uB8kUgSV.js"),__vite__mapDeps([52,53])),meta:{i18nKey:"RelyAbout"}}]},ht=Object.freeze(Object.defineProperty({__proto__:null,default:pt},Symbol.toStringTag,{value:"Module"})),mt={path:"/router-demo",name:"RouterDemoRoot",component:P,meta:{i18nKey:N("menu.RouterDemo"),icon:"other",order:3},children:[{path:"router-demo-home",name:"RouterDemoHome",component:()=>w(()=>import("./index-cL2es2Xp.js"),__vite__mapDeps([54,42,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,43,44,1,17,18,19,20,21,22,23,24])),meta:{noLocalTitle:"人员信息(平级模式)"}},{path:"router-demo-detail",name:"RouterDemoDetail",component:()=>w(()=>import("./index--tnjvJho.js"),__vite__mapDeps([])),meta:{noLocalTitle:"信息详情",sameLevel:!0}}]},ft=Object.freeze(Object.defineProperty({__proto__:null,default:mt},Symbol.toStringTag,{value:"Module"})),gt={path:"/scroll-reveal",name:"ScrollReveal",component:()=>w(()=>import("./index-v5xFQW7A.js"),__vite__mapDeps([55,56])),meta:{i18nKey:N("menu.scrollReveal"),icon:"scroll_reveal",hidden:!0}},vt=Object.freeze(Object.defineProperty({__proto__:null,default:gt},Symbol.toStringTag,{value:"Module"})),yt={path:"/svg-icons",name:"PreviewSVGIcons",component:()=>w(()=>import("./index-h4c6xbVp.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,58])),meta:{i18nKey:N("menu.SvgIcon"),icon:"other",order:3}},bt=Object.freeze(Object.defineProperty({__proto__:null,default:yt},Symbol.toStringTag,{value:"Module"})),Vt={path:"/table",name:"TableView",component:()=>w(()=>import("./index-x07kM_IA.js"),__vite__mapDeps([59,45,46,42,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,43,44,1,17,18,19,20,21,22,23,24])),meta:{i18nKey:N("menu.Table"),icon:"other",order:2}},_t=Object.freeze(Object.defineProperty({__proto__:null,default:Vt},Symbol.toStringTag,{value:"Module"})),wt={path:"/template-hooks",name:"TemplateHooks",component:()=>w(()=>import("./index-JaTFSRYX.js"),__vite__mapDeps([60,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,1,17,18,20,21,22,23,24])),meta:{i18nKey:N("menu.TemplateHooks"),icon:"other",order:1}},St=Object.freeze(Object.defineProperty({__proto__:null,default:wt},Symbol.toStringTag,{value:"Module"})),Mt={path:"/:catchAll(.*)",name:"ErrorPage",component:()=>w(()=>import("./index-SseCInKo.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,62])),meta:{i18nKey:N("menu.Error"),icon:"error",hidden:!0,sameLevel:!0}},kt=Object.freeze(Object.defineProperty({__proto__:null,default:Mt},Symbol.toStringTag,{value:"Module"})),Ve=Vue.ref(null),Ct={setupRouterLoadingBar:!0,setupRouterGuard:!0},Nt=["RLogin","ErrorPage","RayTemplateDoc"],ee=["admin"],Tt=()=>{const e=Object.assign({"/src/router/modules/dashboard.ts":q1,"/src/router/modules/demo/axios.ts":G1,"/src/router/modules/demo/directive.ts":J1,"/src/router/modules/demo/doc.ts":Q1,"/src/router/modules/demo/echart.ts":tt,"/src/router/modules/demo/iframe.ts":nt,"/src/router/modules/demo/mock.ts":at,"/src/router/modules/demo/multi-menu.ts":rt,"/src/router/modules/demo/precision.ts":ct,"/src/router/modules/demo/qrcode.ts":dt,"/src/router/modules/demo/rely.ts":ht,"/src/router/modules/demo/router-demo.ts":ft,"/src/router/modules/demo/scroll-reveal.ts":vt,"/src/router/modules/demo/svg-icons.ts":bt,"/src/router/modules/demo/table.ts":_t,"/src/router/modules/demo/template-hooks.ts":St,"/src/router/modules/error404.ts":kt});return Object.keys(e).reduce((o,a)=>{const l=e[a].default;if(l)o.push(l);else throw new Error("router helper combine: an exception occurred while parsing the routing file!");return o},[])},Ot=e=>e.sort((t,o)=>{var n,i;const a=((n=t.meta)==null?void 0:n.order)??1,l=((i=o.meta)==null?void 0:i.order)??0;if(typeof a!="number"||typeof l!="number")throw new TypeError("orderRoutes error: order must be a number!");return a===l?t.name?o.name?t.name.localeCompare(o.name):-1:1:a-l}),At=e=>{var o;const{meta:t}=e;t!=null&&t.ignoreAutoResetScroll||(o=Ve.value)==null||o.scrollTo({top:0,left:0,behavior:"smooth"})},Je=Vue.reactive({globalSpinning:!1,globalDrawerValue:!1,globalMainLayoutLoad:!0,layoutContentMaximize:!1,globalRootRoute:Ee(L1)});function D(e,t,o){Je[e]=t,o==null||o()}function x(e){return Vue.readonly(Vue.toRef(Je,e))}function _e(){return{reload:(a=800)=>{D("globalMainLayoutLoad",!1),setTimeout(()=>D("globalMainLayoutLoad",!0),a)},maximize:(a,l)=>{const n=E(Ve);if(n){const{left:i,top:r}=n.getBoundingClientRect(),{height:s}=De(),{zIndex:u="99"}=l??{};a?We(n,{position:"fixed",width:"100%",height:`${s.value}px`,transform:`translate(-${i}px, -${r}px)`,transition:"all 0.3s var(--r-bezier)",zIndex:u}):H1(n,["position","width","height","transform","zIndex","z-index"])}D("layoutContentMaximize",a)},isLayoutContentMaximized:()=>Vue.computed(()=>x("layoutContentMaximize").value)}}function zt(){const{getMenuTagOptions:e,getMenuKey:t}=q(),{changeMenuModelValue:o,spliceMenTagOptions:a,emptyMenuTagOptions:l,setMenuTagOptions:n}=W(),{getRootPath:i}=B(),r=(f,p)=>{if(typeof f=="number"){if(isNaN(f)){console.warn(`${p}: The ${f} is NaN, expect number.`);return}if(f>e.value.length||f<-1){console.warn(`${p}: The incoming index ${f} did not match the corresponding item.`);return}return{option:e.value[f],index:f}}else if(typeof f=="string"){const h=e.value.findIndex(c=>c.key===f);return h>-1?{option:e.value[h],index:h}:console.warn(`${p}: The incoming key ${f} did not match the corresponding item.`)}else{const{key:h}=f,c=e.value.findIndex(d=>d.key===h);if(c===-1){console.warn(`${p}: The incoming menuTag option ${f.key} did not match the corresponding item.`);return}return{option:f,index:c}}},s=()=>e.value.findIndex(f=>f.key===t.value);return{close:f=>{const p=r(f,"close");if(p){const{index:h}=p;if(a(h),t.value!==i.value){const c=e.value.length,d=e.value[c-1];o(d.key,d)}}},closeAll:()=>{l(),le()},closeRight:f=>{const p=r(f,"closeRight");if(p){const{option:h,index:c}=p,d=e.value.length-c,b=s();a(c+1,d),c<=b&&t.value!==h.key&&o(h.key,h)}},closeLeft:f=>{const p=r(f,"closeLeft");if(p){const{option:h,index:c}=p,d=s();a(0,c),d<=c&&t.value!==h.key&&o(h.key,h)}},closeOther:f=>{const p=r(f,"closeOther");if(p){const{option:h}=p;t.value!==h.key?(l(),o(h.key,h)):n(h,!1)}},getCurrentTagIndex:s,checkCloseRight:f=>{const p=r(f,"checkCloseRight");if(p){const{index:h}=p,c=e.value.length-1;return!(h>=c)}return!1},checkCloseLeft:f=>{const p=r(f,"checkCloseRight");if(p){const{index:h}=p,c=e.value.length-1;return h===0?!1:h>0&&c>0}return!1}}}function B(){const e=x("globalRootRoute"),t=Vue.computed(()=>e.value),o=Vue.computed(()=>e.value.path),a=Vue.computed(()=>e.value.name);return{getRootRoute:t,getRootPath:o,getRootName:a,setRootRoute:n=>{D("globalRootRoute",Object.assign({},e.value,n))}}}const Lt=e=>{const{beforeEach:t}=e,{getRootPath:o}=B(),a=(l,n)=>l.path==="/"||n.path==="/login";t((l,n,i)=>{const r=Z(ge.token),s=Z("menuKey","sessionStorage",o.value),{meta:u,name:m}=l;r!==null?a(l,n)?le(!0):!F(m,"Symbol")&&m&&Nt.includes(m)?i():Xe(u)?a(l,n)?s?i(s):le(!0):i():le(!0):a(l,n)?i():i("/")})},Xe=e=>{const{getSigningCallback:t}=R2(),{role:o}=e;return ee!=null&&ee.length&&ee.includes(t.value.role)||!o||!(o!=null&&o.length)?!0:o?o.includes(t.value.role):!0},he=e=>{const{meta:t={}}=e,{hidden:o,sameLevel:a,env:l}=t,{MODE:n}=de();return!(a||o||l&&typeof l=="string"&&l!==n||l&&Array.isArray(l)&&!l.includes(n))},Rt=e=>{e.beforeEach(()=>{var t;(t=window==null?void 0:window.$loadingBar)==null||t.start()}),e.afterEach(()=>{var t;(t=window==null?void 0:window.$loadingBar)==null||t.finish()}),e.onError(()=>{var t;(t=window==null?void 0:window.$loadingBar)==null||t.error()})},Pt=e=>{const{setupRouterLoadingBar:t,setupRouterGuard:o}=Ct;t&&Rt(e),o&&Lt(e)},le=(e=!0)=>{const{router:t}=Se(),{push:o,replace:a}=t,{getRootPath:l}=B();fe("menuKey",l.value),e?a(l.value):o(l.value)},xt={color:{type:String,default:"currentColor"},prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:14},width:{type:[Number,String],default:0},height:{type:[Number,String],default:0},customClassName:{type:String,default:null},depth:{type:Number,default:1},cursor:{type:String,default:"default"},onClick:{type:[Function,Array],default:null}},k=Vue.defineComponent({name:"RIcon",props:xt,setup(e){const t=Vue.computed(()=>`#${e.prefix}-${e.name}`),o=Vue.computed(()=>({"--ray-icon-width":e.width?Q(e.width):Q(e.size),"--ray-icon-height":e.height?Q(e.height):Q(e.size),"--ray-icon-depth":e.depth,"--ray-icon-cursor":e.cursor}));return{symbolId:t,cssVars:o,iconClick:l=>{const{onClick:n}=e;n&&Ue(n,l)}}},render(){return Vue.createVNode("span",{class:["ray-icon",this.customClassName],style:[this.cssVars],onClick:this.iconClick.bind(this)},[Vue.createVNode("svg",{RayIconAttribute:"ray-icon",ariaHidden:!0},[Vue.createVNode("use",Vue.mergeProps({"xlink:href":this.symbolId},{fill:this.color}),null)])])}});var Et={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const It=Vue.defineComponent({name:"SiderBarLogo",props:{collapsed:{type:Boolean,required:!0}},setup(){const e=VueRouter.useRouter(),{layout:{sideBarLogo:t}}=Et;return{sideBarLogo:t,handleSideBarLogoClick:()=>{t&&t.url&&(t.jumpType==="station"?e.push(t.url):window.open(t.url))},TemplateLogo:({cursor:l})=>Vue.createVNode(k,{name:t.icon,size:"30",cursor:l},null)}},render(){var e,t,o,a;return(e=this.sideBarLogo)!=null&&e.icon&&((t=this.sideBarLogo)!=null&&t.title)?Vue.createVNode("div",{class:["ray-menu__logo",(o=this.sideBarLogo)!=null&&o.url?"ray-menu__logo-url":null],onClick:this.handleSideBarLogoClick.bind(this)},[(a=this.sideBarLogo)!=null&&a.icon?this.collapsed?Vue.createVNode(naive.NPopover,{placement:"right"},{trigger:()=>Vue.createVNode(this.TemplateLogo,{cursor:"pointer"},null),default:()=>{var l;return(l=this.sideBarLogo)==null?void 0:l.title}}):Vue.createVNode(this.TemplateLogo,{cursor:"pointer"},null):null,Vue.createVNode("h1",{class:[this.collapsed?null:"ray-menu__logo-title--open","ray-menu__logo-title"]},[Vue.createVNode(naive.NEllipsis,null,{default:()=>{var l;return[(l=this.sideBarLogo)==null?void 0:l.title]}})])]):null}}),Dt=Vue.defineComponent({name:"AppMenu",setup(){const e=Vue.ref(null),{changeMenuModelValue:t,collapsedMenu:o}=W(),{getMenuOptions:a,getCollapsed:l,getMenuKey:n}=q(),i=Vue.computed({get:()=>(Vue.nextTick().then(()=>{u()}),n.value),set:()=>{r.value&&D("globalDrawerValue",!1)}}),{isTabletOrSmaller:r}=U(),s=Vue.computed({get:()=>x("globalDrawerValue").value,set:v=>{D("globalDrawerValue",v)}}),u=()=>{const v=i.value;Vue.nextTick().then(()=>{var _,O;(O=(_=e.value)==null?void 0:_.showOption)==null||O.call(_,v)})};return{isTabletOrSmaller:r,BasicMenu:()=>Vue.createVNode(naive.NLayoutSider,{bordered:!0,showTrigger:!r.value,collapseMode:I.menuCollapsedMode,collapsedWidth:I.menuCollapsedWidth,onUpdateCollapsed:o.bind(this),nativeScrollbar:!1},{default:()=>[Vue.createVNode(It,{collapsed:l.value},null),Vue.createVNode(naive.NMenu,{ref:e,class:"r-menu--app",value:i.value,"onUpdate:value":v=>i.value=v,options:a.value,indent:I.menuCollapsedIndent,collapsed:l.value,collapsedIconSize:I.menuCollapsedIconSize,collapsedWidth:I.menuCollapsedWidth,onUpdateValue:(v,_)=>{t(v,_)},accordion:I.menuAccordion},null)]}),modelGlobalDrawerValue:s}},render(){const{isTabletOrSmaller:e,BasicMenu:t}=this;return e?Vue.createVNode(naive.NDrawer,{class:"app-menu__drawer",show:this.modelGlobalDrawerValue,"onUpdate:show":o=>this.modelGlobalDrawerValue=o,placement:"left",displayDirective:"show",autoFocus:!1},{default:()=>[Vue.createVNode(t,null,null)]}):Vue.createVNode(t,null,null)}}),jt=Vue.defineComponent({name:"RTransitionComponent",__name:"index",props:{transitionPropName:{default:"fade"},transitionMode:{default:"out-in"},transitionAppear:{type:Boolean,default:!0}},setup(e){const{getKeepAliveInclude:t}=P2(),{setupKeepAlive:o,maxKeepAliveLength:a,keepAliveExclude:l}=Fe;return(n,i)=>{const r=Vue.resolveComponent("RouterView");return Vue.openBlock(),Vue.createBlock(r,null,{default:Vue.withCtx(({Component:s,route:u})=>[s?(Vue.openBlock(),Vue.createBlock(Vue.Transition,{key:0,name:n.transitionPropName,mode:n.transitionMode,appear:n.transitionAppear},{default:Vue.withCtx(()=>[(Vue.openBlock(),Vue.createBlock(Vue.Suspense,null,{default:Vue.withCtx(()=>[Vue.unref(o)?(Vue.openBlock(),Vue.createBlock(Vue.KeepAlive,{key:0,max:Vue.unref(a),include:Vue.unref(t),exclude:Vue.unref(l)},[(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(s),{key:u.fullPath}))],1032,["max","include","exclude"])):(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(s),{key:u.fullPath}))]),_:2},1024))]),_:2},1032,["name","mode","appear"])):Vue.createCommentVNode("",!0)]),_:1})}}});class Bt{constructor(){ke(this,"pendingRequest");this.pendingRequest=new Map}isAppending(t){var o;return((o=t.cancelConfig)==null?void 0:o.needCancel)??!0}generateRequestKey(t){const{method:o,url:a}=t;return[a||"",o||"",JSON.stringify(t.params),JSON.stringify(t.data)].join("&")}addPendingRequest(t){var o;if(this.isAppending(t)){const a=this.generateRequestKey(t);if(this.pendingRequest.has(a))t.signal=(o=this.pendingRequest.get(a))==null?void 0:o.signal;else{const l=new AbortController;t.signal=l.signal,this.pendingRequest.set(a,l)}}}removePendingRequest(t){const o=this.generateRequestKey(t);this.pendingRequest.has(o)&&(this.pendingRequest.get(o).abort(),this.pendingRequest.delete(o))}cancelAllRequest(){this.pendingRequest.forEach(t=>{t.abort()})}}const ce={requestInstance:null,responseInstance:null},ue={implementRequestInterceptorArray:[],implementResponseInterceptorArray:[]},te={implementRequestInterceptorErrorArray:[],implementResponseInterceptorErrorArray:[]},Zt=new Bt,Lo=()=>{const e=(r,s)=>{s==="requestInstance"?ce.requestInstance=r:ce.responseInstance=r},t=r=>ce[r],o=(r,s,u)=>{u==="ok"?ue[r]=s:te[r]=s},a=(r,s)=>s==="ok"?ue[r]:te[r],l=(r,...s)=>{Array.isArray(r)&&(r==null||r.forEach(u=>{typeof u=="function"&&u(...s)}))};return{createAxiosInstance:e,setImplement:o,getImplement:a,getAxiosInstance:t,beforeFetch:(r,s,u)=>{const m=u==="ok"?ue[s]:te[s],v=t(r),{MODE:_}=de();v&&l(m,v,_)},fetchError:(r,s,u)=>{const m=te[u],{MODE:v}=de();l(m,s,v)}}},Ht=Vue.defineComponent({name:"AppRequestCancelerProvider",setup(e,{expose:t}){VueRouter.onBeforeRouteUpdate(()=>{Zt.cancelAllRequest()}),t()},render(){return Vue.createVNode("div",{style:{display:"none"}},null)}}),Qe=Vue.defineComponent({name:"LayoutContentWrapper",setup(){const e=VueRouter.useRouter(),{getContentTransition:t}=R(),o=Vue.ref(!1),a={opacitySpinning:"0"},l=x("globalMainLayoutLoad"),n=x("layoutContentMaximize"),{maximize:i}=_e();return(()=>{e.beforeEach(()=>{o.value=!0}),e.afterEach(()=>{o.value=!1})})(),{globalMainLayoutLoad:l,spinning:o,themeOverridesSpin:a,getContentTransition:t,layoutContentMaximize:n,maximize:i}},render(){const{globalMainLayoutLoad:e,layoutContentMaximize:t}=this,{maximize:o}=this;return Vue.createVNode(naive.NSpin,{show:this.spinning||!e,description:"loading...",size:"large",themeOverrides:this.themeOverridesSpin,class:[t?"r-layout-full__viewer-content--maximize":null,"r-layout-full__viewer-content--maximize--light","r-layout-full__viewer-content--maximize--dark"]},{default:()=>[t?Vue.createVNode("div",{class:"layout-content__maximize-out",onClick:()=>{o(!1)}},[Vue.createVNode(k,{name:"out",size:"16",cursor:"pointer"},null)]):null,Vue.createVNode(Ht,null,null),e?Vue.createVNode(jt,{class:"content-wrapper",transitionPropName:this.getContentTransition+"-transform"},null):null]})}}),$t=Object.freeze(Object.defineProperty({__proto__:null,default:Qe},Symbol.toStringTag,{value:"Module"}));var Ft={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const Kt=Vue.defineComponent({name:"LayoutFooterWrapper",setup(){const{layout:{copyright:e}}=Ft;return{copyright:e}},render(){return this.copyright?Vue.createVNode("div",{class:"layout-footer-wrapper"},[this.copyright]):""}}),Te=Vue.defineComponent({name:"TooltipIcon",props:{...naive.tooltipProps,iconName:{type:String,required:!0},customClassName:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["click"],setup(e,{emit:t}){const o=l=>{t("click",l)};return{iconClick:o,Icon:()=>Vue.createVNode(k,{name:e.iconName,size:"18",customClassName:`tooltip-text__icon ${e.customClassName}`,cursor:"pointer",onClick:o.bind(this)},null)}},render(){const{Icon:e}=this;return this.tooltipText?Vue.createVNode(naive.NTooltip,this.$props,{trigger:()=>Vue.createVNode(e,null,null),default:()=>this.tooltipText}):Vue.createVNode(e,null,null)}}),Ut=Vue.defineComponent({name:"ThemeSwitch",setup(){const{changeSwitcher:e}=H(),{getAppTheme:t}=R(),o=Vue.ref(t.value);return{changeSwitcher:e,getAppTheme:t,handleRailStyle:({checked:l})=>l?{backgroundColor:"#000000"}:{color:"#000000"},modelAppThemeRef:o}},render(){const{$t:e}=this;return Vue.createVNode(naive.NSpace,{justify:"center"},{default:()=>[Vue.createVNode(naive.NTooltip,null,{trigger:()=>Vue.createVNode(naive.NSwitch,{value:this.modelAppThemeRef,"onUpdate:value":t=>this.modelAppThemeRef=t,railStyle:this.handleRailStyle.bind(this),onUpdateValue:t=>this.changeSwitcher(t,"appTheme")},{"checked-icon":()=>Vue.h(k,{name:"dark"},{}),"unchecked-icon":()=>Vue.h(k,{name:"light"},{}),checked:()=>"亮",unchecked:()=>"暗"}),default:()=>this.getAppTheme?e("headerSettingOptions.ThemeOptions.Dark"):e("headerSettingOptions.ThemeOptions.Light")})]})}}),e1={appThemeColors:["#2d8cf0","#0960bd","#536dfe","#ff5c93","#ee4f12","#9c27b0","#ff9800","#18A058"],appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"},appNaiveUIThemeOverrides:{},echartTheme:"macarons"};function oe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const qt=Vue.defineComponent({name:"SettingDrawer",props:{show:{type:Boolean,default:!1},placement:{type:String,default:"right"},width:{type:Number,default:280}},emits:["update:show"],setup(e,{emit:t}){const{changePrimaryColor:o,changeSwitcher:a,updateContentTransition:l}=H(),{getAppTheme:n,getPrimaryColorOverride:i,getMenuTagSwitch:r,getBreadcrumbSwitch:s,getCopyrightSwitch:u,getContentTransition:m,getWatermarkSwitch:v}=R();return{modelShow:Vue.computed({get:()=>e.show,set:A=>{t("update:show",A)}}),changePrimaryColor:o,getAppTheme:n,getPrimaryColorOverride:i,getMenuTagSwitch:r,changeSwitcher:a,getBreadcrumbSwitch:s,getCopyrightSwitch:u,contentTransitionOptions:[{label:"无",value:"none"},{label:"缩放效果",value:"scale"},{label:"淡入淡出",value:"fade"},{label:"闪入效果",value:"opacity"}],getContentTransition:m,updateContentTransition:l,getWatermarkSwitch:v}},render(){let e,t,o,a;const{$t:l}=this;return Vue.createVNode(naive.NDrawer,{show:this.modelShow,"onUpdate:show":n=>this.modelShow=n,placement:this.placement,width:this.width},{default:()=>[Vue.createVNode(naive.NDrawerContent,{title:l("headerSettingOptions.Title")},{default:()=>[Vue.createVNode(naive.NSpace,{class:"setting-drawer__space",vertical:!0},{default:()=>[Vue.createVNode(naive.NDivider,{titlePlacement:"center"},oe(e=l("headerSettingOptions.ThemeOptions.Title"))?e:{default:()=>[e]}),Vue.createVNode(Ut,null,null),Vue.createVNode(naive.NDivider,{titlePlacement:"center"},oe(t=l("headerSettingOptions.ThemeOptions.PrimaryColorConfig"))?t:{default:()=>[t]}),Vue.createVNode(naive.NColorPicker,{swatches:e1.appThemeColors,value:this.getPrimaryColorOverride.common.primaryColor,"onUpdate:value":n=>this.getPrimaryColorOverride.common.primaryColor=n,onUpdateValue:this.changePrimaryColor.bind(this)},null),Vue.createVNode(naive.NDivider,{titlePlacement:"center"},oe(o=l("headerSettingOptions.ContentTransition"))?o:{default:()=>[o]}),Vue.createVNode(naive.NSelect,{value:this.getContentTransition,"onUpdate:value":n=>this.getContentTransition=n,options:this.contentTransitionOptions,onUpdateValue:n=>{this.updateContentTransition(n)}},null),Vue.createVNode(naive.NDivider,{titlePlacement:"center"},oe(a=l("headerSettingOptions.InterfaceDisplay"))?a:{default:()=>[a]}),Vue.createVNode(naive.NDescriptions,{labelPlacement:"left",column:1},{default:()=>[Vue.createVNode(naive.NDescriptionsItem,{label:"多标签"},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.getMenuTagSwitch,"onUpdate:value":n=>this.getMenuTagSwitch=n,onUpdateValue:n=>this.changeSwitcher(n,"menuTagSwitch")},null)]}),Vue.createVNode(naive.NDescriptionsItem,{label:"面包屑"},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.getBreadcrumbSwitch,"onUpdate:value":n=>this.getBreadcrumbSwitch=n,onUpdateValue:n=>this.changeSwitcher(n,"breadcrumbSwitch")},null)]}),Vue.createVNode(naive.NDescriptionsItem,{label:"水印"},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.getWatermarkSwitch,"onUpdate:value":n=>this.getWatermarkSwitch=n,onUpdateValue:n=>this.changeSwitcher(n,"watermarkSwitch")},null)]}),Vue.createVNode(naive.NDescriptionsItem,{label:"版权信息"},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.getCopyrightSwitch,"onUpdate:value":n=>this.getCopyrightSwitch=n,onUpdateValue:n=>this.changeSwitcher(n,"copyrightSwitch")},null)]})]})]})]})]})}});function Wt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const Gt=Vue.defineComponent({name:"SiderBarBreadcrumb",setup(){const{changeMenuModelValue:e}=W(),{getBreadcrumbOptions:t}=q(),{isTabletOrSmaller:o}=U();return{getBreadcrumbOptions:t,dropdownSelect:(n,i)=>{e(n,i)},breadcrumbItemClick:n=>{var i;if(!((i=n.children)!=null&&i.length)){const{meta:r={}}=n;r.sameLevel||e(n.key,n)}},isTabletOrSmaller:o}},render(){let e;const{isTabletOrSmaller:t}=this;return t?Vue.createVNode("div",null,null):Vue.createVNode(naive.NBreadcrumb,null,Wt(e=this.getBreadcrumbOptions.map(o=>Vue.createVNode(naive.NBreadcrumbItem,{key:o.key,onClick:this.breadcrumbItemClick.bind(this,o)},{default:()=>{var a;return[Vue.createVNode(naive.NDropdown,{labelField:"breadcrumbLabel",options:o.children&&((a=o.children)==null?void 0:a.length)>1?o.children:[],onSelect:this.dropdownSelect.bind(this)},{default:()=>Vue.createVNode("span",null,[o.label&&typeof o.label=="function"?o.label():o.breadcrumbLabel])})]}})))?e:{default:()=>[e]})}});function Oe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const Yt=Vue.defineComponent({name:"GlobalSearch",props:{show:{type:Boolean,default:!1}},emits:["update:show"],setup(e,{emit:t}){const{changeMenuModelValue:o}=W(),a=Vue.computed({get:()=>e.show,set:c=>{t("update:show",c),c||m()}}),{getMenuOptions:l}=q(),n=Vue.reactive({searchValue:null,searchOptions:[]}),i=[{icon:"cmd / ctrl + k",label:"唤起",plain:!0},{icon:"↑ ↓",label:"切换",plain:!0},{icon:"↵",label:"选择",plain:!0},{icon:"esc",label:"关闭",plain:!0}];let r=0,s=r;const{isTabletOrSmaller:u}=U(),m=()=>{n.searchOptions=[],n.searchValue=null,r=0,s=r},v=c=>{(c.ctrlKey||c.metaKey)&&c.key==="k"&&(c.preventDefault(),c.stopPropagation(),m(),a.value=!0)},_=c=>{const d=[],b=C=>{C.forEach(V=>{var G,Y,J;(G=V.children)!=null&&G.length&&he(V)&&b(V.children);const S=(Y=V.breadcrumbLabel)==null?void 0:Y.toLocaleLowerCase(),L=String(c).toLocaleLowerCase();S!=null&&S.includes(L)&&he(V)&&!((J=V.children)!=null&&J.length)&&d.push(V)})};c?(b(l.value),n.searchOptions=d):n.searchOptions=[],Vue.nextTick().then(()=>{A()})},O=c=>{if(c){const{meta:d}=c;d.windowOpen?window.open(d.windowOpen):(a.value=!1,o(c.key,c))}},A=()=>{const c=n.searchOptions[r],d=n.searchOptions[s],b="content-item--active";c&&Vue.nextTick().then(()=>{const C=pe(`attr:data_path="${c.path}"`),V=d?pe(`attr:data_path="${d==null?void 0:d.path}"`):null;if(V!=null&&V.length){const[S]=V;ae(S,b)}if(C!=null&&C.length){const[S]=C;be(S,b)}})},M=c=>{const{icon:d}=c;return typeof d=="string"?Vue.createVNode(k,{name:d,size:"24"},null):typeof d=="function"?()=>d:Vue.createVNode(k,{name:"table",size:"24"},null)},f=c=>{c==="up"?r=r-1<0?0:r-1:c==="down"&&(r=r+1>=n.searchOptions.length?n.searchOptions.length-1:r+1)},p=c=>{const d=c.key;switch((d==="ArrowUp"||d==="ArrowDown")&&(c.preventDefault(),c.stopPropagation()),s=r<=0?0:r,d){case"ArrowUp":f("up");break;case"ArrowDown":f("down");break;case"Enter":const b=n.searchOptions[r];b&&O(b);break}A()},h=({menuOption:c})=>Vue.createVNode(naive.NSpace,Vue.mergeProps({align:"center",wrapItem:!1,class:"content-item"},{onClick:O.bind(this,c),data_path:c.path}),{default:()=>[Vue.createVNode("div",{class:"content-item-icon"},[M(c.meta)]),Vue.createVNode("div",{class:"content-item-label"},[c.breadcrumbLabel])]});return Vue.watchEffect(()=>{u.value&&(a.value=!1)}),Vue.onMounted(()=>{ve(window,"keydown",c=>{v(c),p(c)})}),Vue.onBeforeUnmount(()=>{ye(window,"keydown",c=>{v(c),p(c)})}),{...Vue.toRefs(n),modelShow:a,helperTipOptions:i,fuzzySearchMenuOptions:Ie(_,300),handleSearchItemClick:O,RenderPreIcon:M,isTabletOrSmaller:u,SearchItem:h}},render(){let e,t;const{isTabletOrSmaller:o,searchOptions:a}=this,{SearchItem:l}=this;return o?Vue.createVNode("div",{style:"display: none;"},null):Vue.createVNode(naive.NModal,{show:this.modelShow,"onUpdate:show":n=>this.modelShow=n,transformOrigin:"center",displayDirective:"if"},{default:()=>[Vue.createVNode("div",{class:"global-search global-search--dark global-search--light"},[Vue.createVNode("div",{class:"global-search__wrapper"},[Vue.createVNode("div",{class:"global-search__card"},[Vue.createVNode("div",{class:"global-search__card-header"},[Vue.createVNode(naive.NInput,{size:"large",value:this.searchValue,"onUpdate:value":n=>this.searchValue=n,clearable:!0,onInput:this.fuzzySearchMenuOptions.bind(this)},{prefix:()=>Vue.createVNode(k,{name:"search",size:"24"},null)})]),Vue.createVNode(naive.NScrollbar,{class:"global-search__card-content"},{default:()=>[a.length?Vue.createVNode(naive.NSpace,{vertical:!0,wrapItem:!1,size:[8,8]},Oe(e=a.map(n=>Vue.createVNode(l,{menuOption:n,key:n.key},null)))?e:{default:()=>[e]}):Vue.createVNode(naive.NResult,{size:"large",class:"global-search__empty"},{icon:()=>null,default:()=>Vue.createVNode(naive.NSpace,{wrapItem:!1,justify:"center",class:"global-search__empty-content"},{default:()=>[Vue.createVNode(k,{name:"empty",size:"24"},null),Vue.createTextVNode("暂无搜索结果")]})})]}),Vue.createVNode("div",{class:"global-search__card-footer"},[Vue.createVNode(naive.NSpace,{class:"card-footer__tip-wrapper",align:"center",wrapItem:!1,size:[24,8]},Oe(t=this.helperTipOptions.map(n=>Vue.createVNode("div",{class:"tip-wrapper-item",key:n.label},[Vue.createVNode("div",{class:"item-icon"},[n.plain?Vue.createVNode("span",null,[n.icon]):Vue.createVNode(k,{name:n.icon,size:"18"},null)]),Vue.createVNode("div",{class:"item-label"},[n.label])])))?t:{default:()=>[t]})])])])])]})}}),we=Vue.defineComponent({name:"AppAvatar",props:{...naive.avatarProps,...naive.spaceProps,cursor:{type:String,default:"auto"},spaceSize:{type:[String,Number],default:"medium"},avatarSize:{type:[String,Number],default:"medium"}},setup(e){const t=Z(ge.signing),o=Vue.computed(()=>({"--app-avatar-cursor":e.cursor}));return{signing:t,cssVars:o}},render(){return Vue.createVNode(naive.NSpace,Vue.mergeProps({class:"app-avatar"},this.$props,{wrapItem:!1,style:this.cssVars,size:this.spaceSize}),{default:()=>{var e,t;return[Vue.createVNode(naive.NAvatar,Vue.mergeProps(this.$props,{src:(e=this.signing)==null?void 0:e.avatar,objectFit:"cover",round:!0,size:this.avatarSize}),null),Vue.createVNode("div",{class:"app-avatar__name"},[(t=this.signing)==null?void 0:t.name])]}})}}),Jt=()=>[{key:"person",label:"个人信息"},{key:"lockScreen",label:"锁定屏幕"},{type:"divider",key:"d1"},{key:"logout",label:"退出登陆"}],Xt={logout:()=>{const{logout:e}=s1();window.$dialog.warning({title:"提示",content:"您确定要退出登录吗",positiveText:"确定",negativeText:"不确定",onPositiveClick:()=>{e()}})},lockScreen:()=>{const{changeSwitcher:e}=H();e(!0,"lockScreenSwitch")}},Qt=e=>{const t=Xt[e];t?t():window.$message.info("这个人很懒, 没做这个功能~")},e2=e=>{const{isTabletOrSmaller:t,globalMainLayoutLoad:o}=e,{t:a}=K(),l=[{name:"reload",size:18,tooltip:a("headerTooltip.Reload"),iconClass:o.value?"":"ray-icon__reload--loading",eventKey:"reload"}],n=[{name:"menu",size:18,eventKey:"menu"}];return t.value?n:l},t2=e=>{const{isFullscreen:t,isTabletOrSmaller:o}=e,{t:a}=K(),l=[{name:"fullscreen",size:18,tooltip:t.value?a("headerTooltip.CancelFullScreen"):a("headerTooltip.FullScreen"),eventKey:"screen"},{name:"github",size:18,tooltip:a("headerTooltip.Github"),eventKey:"github"},{name:"setting",size:18,tooltip:a("headerTooltip.Setting"),eventKey:"setting"}],n=[{name:"search",size:18,tooltip:a("headerTooltip.Search"),eventKey:"search"},...l],i=[...l];return o.value?i:n},o2=Vue.defineComponent({name:"AppSiderBar",setup(){const{updateLocale:e,changeSwitcher:t}=H(),{t:o}=K(),{reload:a}=_e(),[l,{toggleFullscreen:n,isEnabled:i}]=S1(document.getElementsByTagName("html")[0]),{getDrawerPlacement:r,getBreadcrumbSwitch:s}=R(),u=Vue.ref(!1),m={display:"flex"},v=Vue.ref(!1),{isTabletOrSmaller:_}=U(),O=x("globalDrawerValue"),A=x("globalMainLayoutLoad"),M=Vue.computed(()=>e2({isFullscreen:l,isTabletOrSmaller:_,globalMainLayoutLoad:A})),f=Vue.computed(()=>t2({isFullscreen:l,isTabletOrSmaller:_,globalMainLayoutLoad:A})),p={reload:()=>{a()},setting:()=>{u.value=!0},github:()=>{window.open("https://github.com/XiaoDaiGua-Ray/ray-template")},fullscreen:()=>{i||window.$message.warning(o("globalMessage.isEnabledFullscreen")),n()},search:()=>{v.value=!0},lock:()=>{t(!0,"lockScreenSwitch")},menu:()=>{D("globalDrawerValue",!O.value)}};return{leftIconOptions:M,rightTooltipIconOptions:f,toolIconClick:c=>{var d;(d=p[c])==null||d.call(p)},showSettings:u,updateLocale:e,spaceItemStyle:m,getDrawerPlacement:r,getBreadcrumbSwitch:s,globalSearchShown:v}},render(){return Vue.createVNode(naive.NLayoutHeader,{class:"layout-header",bordered:!0},{default:()=>[Vue.createVNode(Yt,{show:this.globalSearchShown,"onUpdate:show":e=>this.globalSearchShown=e},null),Vue.createVNode(naive.NSpace,{class:"layout-header__method",align:"center",justify:"space-between"},{default:()=>[Vue.createVNode(naive.NSpace,{align:"center",wrapItem:!1,itemStyle:this.spaceItemStyle},{default:()=>[this.leftIconOptions.map(e=>Vue.createVNode(Te,{key:e.name,iconName:e.name,tooltipText:Vue.isRef(e.tooltip)?e.tooltip.value:e.tooltip,customClassName:e.iconClass,onClick:this.toolIconClick.bind(this,e.name)},null)),this.getBreadcrumbSwitch?Vue.createVNode(Gt,null,null):null]}),Vue.createVNode(naive.NSpace,{align:"center",wrapItem:!1,itemStyle:this.spaceItemStyle},{default:()=>[this.rightTooltipIconOptions.map(e=>Vue.createVNode(Te,{key:e.name,iconName:e.name,tooltipText:Vue.isRef(e.tooltip)?e.tooltip.value:e.tooltip,customClassName:e.iconClass,onClick:this.toolIconClick.bind(this,e.name)},null)),Vue.createVNode(naive.NDropdown,{options:He,onSelect:e=>this.updateLocale(String(e)),trigger:"click"},{default:()=>[Vue.createVNode(k,{customClassName:"layout-header__method--icon",name:"language",size:"18",cursor:"pointer"},null)]}),Vue.createVNode(naive.NDropdown,{options:Jt(),onSelect:Qt.bind(this),trigger:"click"},{default:()=>[Vue.createVNode(we,{avatarSize:"small",align:"center",cursor:"pointer"},null)]})]})]}),Vue.createVNode(qt,{show:this.showSettings,"onUpdate:show":e=>this.showSettings=e,placement:this.getDrawerPlacement},null)]})}}),n2=Vue.defineComponent({name:"LayoutHeaderWrapper",setup(){return{}},render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1,size:[0,0]},{default:()=>[Vue.createVNode(o2,null,null)]})}}),l2={...naive.dropdownProps,iconSize:{type:Number,default:14},cursor:{type:String,default:"default"}};function a2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const i2=Vue.defineComponent({name:"RMoreDropdown",props:l2,render(){let e;const{iconSize:t,cursor:o}=this,{default:a}=this.$slots;return Vue.createVNode(naive.NDropdown,Vue.mergeProps(this.$props,this.$attrs,{placement:"bottom-start"}),a2(e=qe(a,{defaultElement:Vue.createVNode(k,{name:"more",size:t,cursor:o},null)}))?e:{default:()=>[e]})}}),r2={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",viewBox:"0 0 24 24"},s2=Ze('',1),c2=[s2];function u2(e,t){return je(),Be("svg",r2,[...c2])}const d2={render:u2},p2={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",viewBox:"0 0 24 24"},h2=Ze('',1),m2=[h2];function f2(e,t){return je(),Be("svg",p2,[...m2])}const g2={render:f2};function Ae(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}const v2=Vue.defineComponent({name:"AppMenuTag",setup(e,{expose:t}){const o=Vue.ref(null),{getMenuKey:a,getMenuTagOptions:l}=q(),{changeMenuModelValue:n}=W(),{getRootPath:i}=B(),{reload:r,maximize:s}=_e(),{close:u,closeAll:m,closeRight:v,closeLeft:_,closeOther:O}=zt(),A=["closeAll","closeRight","closeLeft","closeOther","closeCurrentPage"];let M=-1;const f={size:16},p=Vue.ref([{label:"刷新页面",key:"reloadCurrentPage",icon:()=>Vue.createVNode(k,{name:"reload",size:f.size},null)},{label:"关闭当前页面",key:"closeCurrentPage",icon:()=>Vue.createVNode(k,{name:"close",size:f.size},null)},{type:"divider",key:"d1"},{label:"关闭右侧标签页",key:"closeRight",icon:()=>Vue.createVNode(d2,{class:"menu-tag__icon"},null)},{label:"关闭左侧标签页",key:"closeLeft",icon:()=>Vue.createVNode(g2,{class:"menu-tag__icon"},null)},{type:"divider",key:"d1"},{label:"关闭其他标签页",key:"closeOther",icon:()=>Vue.createVNode(k,{name:"other",size:f.size},null)},{label:"关闭所有标签页",key:"closeAll",icon:()=>Vue.createVNode(k,{name:"resize_h",size:f.size},null),disabled:!1}]),h=D1(16),c={closeCurrentPage:()=>{a.value!==i.value&&u(M)},reloadCurrentPage:()=>{r()},closeAll:()=>{m()},closeRight:()=>{v(M)},closeLeft:()=>{_(M)},closeOther:()=>{O(M)}},d=Vue.reactive({x:0,y:0,actionDropdownShow:!1}),b="menu_tag_data",C=g=>{u(g)},V=(g,y)=>{p.value.forEach(z=>{if(z.key===g){z.disabled=y;return}})},S=g=>{d.actionDropdownShow=!1,n(g.key,g)},L=()=>{const g=document.getElementById(h);if(g)return Array.from(g.childNodes).find(X=>Z1(X,"n-scrollbar-container"))},G=g=>{var z;const y=L();if(y){const X=y.scrollLeft||0,v1=g==="left"?Math.max(0,X-200):X+200;(z=o.value)==null||z.scrollTo({left:v1,behavior:"smooth"})}},Y=g=>{var y;d.actionDropdownShow=!1,(y=c[g])==null||y.call(c)},J=(g,y)=>{y.preventDefault(),d.actionDropdownShow=!1,M=g,Vue.nextTick(()=>{d.actionDropdownShow=!0,d.x=y.clientX,d.y=y.clientY})},Me=()=>{const g=l.value.length-1,{closeable:y}=l.value[M]??{};V("closeCurrentPage",!y),M===g?V("closeRight",!0):M0&&V("closeLeft",!1)},p1=()=>{M=l.value.findIndex(y=>y.key===a.value),Me()},h1=g=>{l.value.length>1&&g.key!==i.value&&(g.closeable=!0)},m1=g=>{g.key!==a.value&&(g.closeable=!1)},f1=()=>{L()&&Vue.nextTick().then(()=>{var y;(y=o.value)==null||y.scrollTo({left:99999,behavior:"smooth"})})},g1=()=>{Vue.nextTick().then(()=>{const g=pe(`attr:${b}="${a.value}"`);if(g!=null&&g.length){const[y]=g;Vue.nextTick().then(()=>{var z;(z=y.scrollIntoView)==null||z.call(y,!0)})}})};return Vue.watch(()=>l.value,(g,y)=>{p.value.forEach(z=>{A.includes(z.key)&&(g.length>1?z.disabled=!1:z.disabled=!0)}),y!=null&&y.length&&(g.length>(y==null?void 0:y.length)?f1():g.length===(y==null?void 0:y.length)&&g1())},{immediate:!0}),Vue.watch(()=>d.actionDropdownShow,g=>{var y;g&&((y=me(Me,100))==null||y())}),t({}),{getMenuTagOptions:l,changeMenuModelValue:n,closeCurrentMenuTag:C,getMenuKey:a,handleTagClick:S,moreOptions:p,scrollX:G,scrollRef:o,uuidScrollBar:h,actionDropdownSelect:Y,actionState:d,handleContextMenu:J,setCurrentContextmenuIndex:p1,menuTagMouseenter:h1,menuTagMouseleave:m1,MENU_TAG_DATA:b,iconConfig:{width:20,height:28},maximize:s}},render(){let e;const{iconConfig:t}=this,{maximize:o,closeCurrentMenuTag:a}=this;return Vue.createVNode(naive.NLayoutHeader,null,{default:()=>[Vue.createVNode("div",{class:"menu-tag"},[Vue.createVNode(naive.NDropdown,{class:"menu-tag__dropdown",options:this.moreOptions,x:this.actionState.x,y:this.actionState.y,keyboard:!1,show:this.actionState.actionDropdownShow,trigger:"manual",placement:"bottom-start",onSelect:this.actionDropdownSelect.bind(this),onClickoutside:()=>{this.actionState.actionDropdownShow=!1}},null),Vue.createVNode(naive.NSpace,{class:"menu-tag-space",wrap:!1,align:"center",justify:"space-between",inline:!0,wrapItem:!1},{default:()=>[Vue.createVNode(k,{name:"expanded",width:t.width,height:t.height,customClassName:"menu-tag__left-arrow",onClick:this.scrollX.bind(this,"left")},null),Vue.createVNode(naive.NScrollbar,Vue.mergeProps({xScrollable:!0,ref:"scrollRef"},{id:this.uuidScrollBar}),{default:()=>[Vue.createVNode(naive.NSpace,{ref:"menuTagSpaceRef",class:"menu-tag-wrapper",wrap:!1,align:"center",justify:"start"},Ae(e=this.getMenuTagOptions.map((l,n)=>{let i;return Vue.createVNode(naive.NTag,Vue.mergeProps({key:l.key,strong:!0,closable:l.closeable,onClose:a.bind(this,n),type:l.key===this.getMenuKey?"primary":"default",bordered:!1},{onClick:this.handleTagClick.bind(this,l),onContextmenu:this.handleContextMenu.bind(this,n),onMouseenter:this.menuTagMouseenter.bind(this,l),onMouseleave:this.menuTagMouseleave.bind(this,l),[this.MENU_TAG_DATA]:l.path}),Ae(i=qe(l.breadcrumbLabel))?i:{default:()=>[i]})}))?e:{default:()=>[e]})]}),Vue.createVNode(naive.NSpace,{class:"menu-tag__right-wrapper",wrapItem:!1,align:"center",inline:!0,wrap:!1,size:[6,6]},{default:()=>[Vue.createVNode(k,{name:"expanded",width:t.width,height:t.height,customClassName:"menu-tag__right-arrow",onClick:this.scrollX.bind(this,"right")},null),Vue.createVNode(k,{name:"fullscreen_fold",width:t.width,height:t.height,customClassName:"menu-tag__right-setting",onClick:()=>{o(!0)}},null),Vue.createVNode(i2,{class:"menu-tag__dropdown",options:this.moreOptions,trigger:"click",onSelect:this.actionDropdownSelect.bind(this),iconSize:20,keyboard:!1},{default:()=>[Vue.createVNode(k,{name:"more",width:t.width,height:t.height,customClassName:"menu-tag__right-setting",onClick:this.setCurrentContextmenuIndex.bind(this)},null)]})]})]})])]})}}),y2=Vue.defineComponent({name:"LayoutFeatureWrapper",setup(){return{}},render(){return Vue.createVNode(v2,null,null)}}),b2=e=>{const t=se(e[0]),o=se(e[1]),a=se(e[2]);return Vue.computed(()=>({"--layout-content-height":`calc(100% - ${t.height.value}px - ${o.height.value}px - ${a.height.value}px)`,"--layout-siderbar-height":`${t.height.value}px`,"--layout-menutag-height":`${o.height.value}px`,"--layout-footer-height":`${a.height.value}px`}))},ze=M1("isAppLockScreen",!1,sessionStorage,{mergeDefaults:!0}),re=()=>({setLockAppScreen:o=>{ze.value=o},getLockAppScreen:()=>ze.value}),V2=Vue.defineComponent({name:"RLayout",setup(){const e=Vue.ref(),t=Vue.ref(),o=Vue.ref(),{getMenuTagSwitch:a,getCopyrightSwitch:l}=R(),{getLockAppScreen:n}=re(),i=b2([e,t,o]);return{getMenuTagSwitch:a,cssVarsRef:i,getLockAppScreen:n,layoutSiderBarRef:e,layoutMenuTagRef:t,layoutFooterRef:o,getCopyrightSwitch:l}},render(){const{getMenuTagSwitch:e,cssVarsRef:t,getCopyrightSwitch:o}=this,{getLockAppScreen:a}=this;return a()?null:Vue.createVNode(naive.NLayout,{class:"r-layout-full",style:[t],hasSider:!0},{default:()=>[Vue.createVNode(Dt,null,null),Vue.createVNode(naive.NLayoutContent,{class:"r-layout-full__viewer"},{default:()=>[Vue.createVNode(n2,{ref:"layoutSiderBarRef"},null),e?Vue.createVNode(y2,{ref:"layoutMenuTagRef"},null):null,Vue.createVNode(naive.NLayoutContent,{ref:Ve,class:["r-layout-full__viewer-content"],nativeScrollbar:!1},{default:()=>[Vue.createVNode(Qe,null,null)]}),o?Vue.createVNode(Kt,{ref:"layoutFooterRef"},null):null]})]})}}),Le=e=>e.startsWith("/"),t1=(e,t=[],o="")=>Array.isArray(e)?(e.forEach(l=>{var n;if((n=l.children)!=null&&n.length)t1(l.children,t,o+(Le(l.path)?l.path:"/"+l.path));else{const i=o+(Le(l.path)?l.path:"/"+l.path),r={...l,path:i};t.push(r)}}),t):[],_2=e=>Array.isArray(e)?t1(Ee(e)):[],o1=()=>Ot(Tt()),w2=_2(o1()),S2=async()=>{const{getRootPath:e}=B();return[{path:"/",name:"login",component:()=>w(()=>import("./index-4fu9H4qi.js"),__vite__mapDeps([63,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,50,51,27,17,18,1,20,21,22,23,24,64]))},{path:"/",name:"layout",redirect:e.value,component:V2,children:w2}]};let $;const M2=async()=>VueRouter.createRouter({history:VueRouter.createWebHashHistory(),routes:await S2(),scrollBehavior:e=>(At(e),{top:0,left:0})}),k2=async e=>{$=await M2(),Pt($),e.use($),Se()},Se=()=>{try{if($)return{router:$};throw new Error}catch{throw new Error("router is not defined")}},Re="YYYY-MM-DD HH:mm:ss",C2=()=>({locale:i=>{const r=z1[i];r?T.locale(r):T.locale($e)},getStartAndEndOfDay:i=>{const{format:r=Re}=i??{},s=T(),u=s.startOf("day"),m=s.endOf("day"),v=s.format(r),_=u.format(r);return{today:s,startOfDay:u,endOfDay:m,formatToday:v,formatStartOfDay:_}},format:(i,r)=>{const{format:s=Re}=r??{};return T(i).format(s)},isDayjs:i=>T.isDayjs(i),daysDiff:(i,r)=>{const s=T(i);return T(r).diff(s,"days")},isDateInRange:(i,r)=>{const{start:s,end:u}=r,m=T(i);return m.isAfter(s)&&m.isBefore(u)}});function U(){const{width:e,height:t}=De(),o=Vue.ref(!1);return j(()=>{o.value=e.value<=768}),{width:e,height:t,isTabletOrSmaller:o}}var N2={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const n1=Pinia.defineStore("setting",()=>{const{appPrimaryColor:{primaryColor:e}}=N2,{locale:t}=K(),{locale:o}=C2(),a=Vue.reactive({drawerPlacement:"right",primaryColorOverride:{...e1.appNaiveUIThemeOverrides,common:{primaryColor:e,primaryColorHover:e}},appTheme:!1,menuTagSwitch:!0,breadcrumbSwitch:!0,localeLanguage:Ke(),lockScreenSwitch:!1,copyrightSwitch:!0,contentTransition:"scale",watermarkSwitch:!1}),l=s=>{a.contentTransition=s},n=s=>{t(s),o(s),a.localeLanguage=s,fe("localeLanguage",s,"localStorage")},i=(s,u=.3)=>{ne(a,"settingState.primaryColorOverride.common.primaryColorHover",s);const m=document.body;m.style.setProperty("--ray-theme-primary-color",s),m.style.setProperty("--ray-theme-primary-fade-color",Ge(s,u))},r=(s,u)=>{Object.hasOwn(a,u)&&typeof a[u]=="boolean"&&(a[u]=s)};return{...Vue.toRefs(a),updateLocale:n,changePrimaryColor:i,changeSwitcher:r,updateContentTransition:l}},{persist:{key:"piniaSettingStore"}});var T2={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const O2=(e,t,o)=>!e||typeof e!="object"?!1:e[t]===o,l1=(e,t,o)=>{const a=[];if(O2(e,t,o))return a.push(e),a;if(e.children&&e.children.length>0)for(const l of e.children){const n=l1(l,t,o);n.length>0&&a.push(e,...n)}return a},A2=(e,t,o)=>{const a=[];for(const l of e){const n=l1(l,t,o);n.length>0&&a.push(...n)}return a},z2=e=>{const{breadcrumbLabel:t}=e,{layout:{sideBarLogo:o}}=T2,a=o?o.title:"";document.title=t+" - "+a},L2=e=>{const{meta:t}=e;if(!t.icon)return;if(F(t.icon,"Object"))return()=>t.icon;const o=Vue.h(k,{name:t.icon,size:I.menuCollapsedIconSize,cursor:"pointer"},{});return()=>o},Pe=()=>{const{getRootPath:e}=B();return Z("menuKey","sessionStorage",e.value)},a1=Pinia.defineStore("menu",()=>{const{router:e}=Se(),t=VueRouter.useRoute(),{t:o}=K(),{setKeepAliveInclude:a}=x2(),l=Vue.reactive({menuKey:Pe(),options:[],collapsed:!1,menuTagOptions:[],breadcrumbOptions:[],currentMenuOption:null}),n=Vue.ref(!0),i=(p,h)=>A2(p,"key",h),r=(p,h)=>{const{meta:c}=h;l.breadcrumbOptions=i(l.options,p),c.sameLevel&&Vue.nextTick().then(()=>{l.breadcrumbOptions.find(b=>b.path===h.path)||l.breadcrumbOptions.push(h)})},s=(p,h=!0)=>{const d=Array.isArray(p)?[...p]:[p];h?l.menuTagOptions.push(...d):l.menuTagOptions=d},u=(p,h)=>{l.menuTagOptions.find(d=>d.path===p)||l.menuTagOptions.push(h)},m=(p,h)=>{const{meta:c,path:d}=h;if(c.windowOpen)window.open(c.windowOpen);else{if(String(p).startsWith("/"))e.push(d);else{const C=i(l.options,p).map(V=>V.key).join("/");e.push(C)}const b=(d.match(new RegExp("/","g"))||[]).length;a(h),z2(h),!c.sameLevel||c.sameLevel&&b===1?(u(p,h),r(p,h),l.menuKey=p,fe("menuKey",p)):r(l.menuKey||"",h),l.currentMenuOption=h}},v=async p=>{const h=(p.match(new RegExp("/","g"))||[]).length;let c=p;if(h>1){const b=p.split("/").filter(C=>C);c=b[b.length-1]}const d=(b,C)=>{var V,S;for(const L of C)if((V=L.children)!=null&&V.length&&d(b,L.children),b===L.key&&!((S=L==null?void 0:L.children)!=null&&S.length)){m(b,L);break}};d(c,l.options)},_=()=>new Promise(p=>{const h=d=>{const{meta:b}=d,C=Vue.computed(()=>b!=null&&b.i18nKey?o(`${b.i18nKey}`):b==null?void 0:b.noLocalTitle),V={...d,key:d.path,label:()=>Vue.h(naive.NEllipsis,null,{default:()=>C.value}),breadcrumbLabel:C.value},S=Object.assign({},V,{icon:L2(d)});return d.path===Pe()&&u(d.path,S),S.show=he(S),S},c=(d,b)=>{var V;const C=[];for(const S of d){if((V=S.children)!=null&&V.length)S.children=c(S.children);else if(!Xe(S.meta))continue;C.push(h(S))}return C};l.options=c(o1()),p()}),O=p=>l.collapsed=p,A=(p,h=1)=>l.menuTagOptions.splice(p,h),M=()=>{l.menuTagOptions=[]},f=async()=>{n.value&&await _(),n.value=!1};return Vue.watch(()=>t.fullPath,async p=>{var d;const h=/^([^?]+)/,c=(d=p.match(h))==null?void 0:d[1];await f(),await v(c||"")},{immediate:!0}),{...Vue.toRefs(l),changeMenuModelValue:me(m,500),setupAppMenu:_,collapsedMenu:O,spliceMenTagOptions:A,emptyMenuTagOptions:M,setMenuTagOptions:s}},{persist:{key:"piniaMenuStore",storage:window.sessionStorage,paths:["breadcrumbOptions","menuKey","menuTagOptions"]}}),i1=Pinia.defineStore("signing",()=>{const e=Vue.reactive({signingCallback:{}}),t=a=>new Promise((l,n)=>{V1(a)?n({code:1,message:"登陆失败",data:null}):(e.signingCallback={role:"admin",name:a.name,avatar:"https://usc1.contabostorage.com/c2e495d7890844d392e8ec0c6e5d77eb:image/longmao.navigator.png"},l({code:0,message:"登陆成功",data:e.signingCallback}))}),o=()=>{window.$message.info("账号退出中..."),O1("all-sessionStorage"),setTimeout(()=>window.location.reload())};return{...Vue.toRefs(e),signing:t,logout:o}},{persist:{key:"piniaSigningStore",paths:["signingCallback"],storage:sessionStorage}}),r1=Pinia.defineStore("keepAlive",()=>{const{maxKeepAliveLength:e}=Fe,t=Vue.reactive({keepAliveInclude:[]}),o=()=>t.keepAliveInclude.length,a=n=>{const i=o(),{name:r,meta:{keepAlive:s}}=n;if(s){if(i=e&&(t.keepAliveInclude.splice(0,1),t.keepAliveInclude.push(r))}},l=()=>t.keepAliveInclude;return{...Vue.toRefs(t),setKeepAliveInclude:a,getKeepAliveInclude:l}},{persist:{key:"piniaKeepAliveStore",storage:window.sessionStorage,paths:["keepAliveInclude"]}}),q=()=>{const e=a1(),t=Vue.computed(()=>e.options),o=Vue.computed(()=>e.breadcrumbOptions),a=Vue.computed(()=>e.menuKey),l=Vue.computed(()=>{const{getRootPath:r}=B();return e.menuTagOptions.map((s,u,m)=>(s.key===a.value&&s.key!==r.value?s.closeable=!0:s.closeable=!1,s.key===r.value&&(s.closeable=!1),m.length<=1&&(s.closeable=!1),s))}),n=Vue.computed(()=>e.currentMenuOption),i=Vue.computed(()=>e.collapsed);return{getMenuOptions:t,getBreadcrumbOptions:o,getMenuKey:a,getMenuTagOptions:l,getCurrentMenuOption:n,getCollapsed:i}},W=()=>{const{changeMenuModelValue:e,setupAppMenu:t,collapsedMenu:o,spliceMenTagOptions:a,emptyMenuTagOptions:l,setMenuTagOptions:n}=a1();return{changeMenuModelValue:e,setupAppMenu:t,collapsedMenu:o,spliceMenTagOptions:a,emptyMenuTagOptions:l,setMenuTagOptions:n}},R=()=>{const e=n1(),t=Vue.computed(()=>e.drawerPlacement),o=Vue.computed(()=>e.primaryColorOverride),a=Vue.computed(()=>e.appTheme),l=Vue.computed(()=>e.menuTagSwitch),n=Vue.computed(()=>e.breadcrumbSwitch),i=Vue.computed(()=>e.localeLanguage),r=Vue.computed(()=>e.lockScreenSwitch),s=Vue.computed(()=>e.copyrightSwitch),u=Vue.computed(()=>e.contentTransition),m=Vue.computed(()=>e.watermarkSwitch);return{getDrawerPlacement:t,getPrimaryColorOverride:o,getAppTheme:a,getMenuTagSwitch:l,getBreadcrumbSwitch:n,getLocaleLanguage:i,getLockScreenSwitch:r,getCopyrightSwitch:s,getContentTransition:u,getWatermarkSwitch:m}},H=()=>{const{updateLocale:e,changePrimaryColor:t,changeSwitcher:o,updateContentTransition:a}=n1();return{updateLocale:e,changePrimaryColor:t,changeSwitcher:o,updateContentTransition:a}},R2=()=>{const e=i1();return{getSigningCallback:Vue.computed(()=>e.signingCallback)}},s1=()=>{const{signing:e,logout:t}=i1();return{signing:e,logout:t}},P2=()=>{const e=r1();return{getKeepAliveInclude:Vue.computed(()=>e.keepAliveInclude)}},x2=()=>{const{setKeepAliveInclude:e,getKeepAliveInclude:t}=r1();return{setKeepAliveInclude:e,getKeepAliveInclude:t}},E2=async e=>{const t=Pinia.createPinia();e.use(t),t.use(k1)},I2=Vue.defineComponent({name:"GlobalProvider",setup(e,{expose:t}){const{getPrimaryColorOverride:o,getAppTheme:a,getLocaleLanguage:l}=R(),n=Vue.computed(()=>{const m=l.value;return x1(m)}),{message:i,notification:r,dialog:s,loadingBar:u}=naive.createDiscreteApi(["message","dialog","notification","loadingBar"],{configProviderProps:Vue.computed(()=>({theme:a.value?naive.darkTheme:null})),notificationProviderProps:{}});return window.$dialog=s,window.$message=i,window.$loadingBar=u,window.$notification=r,t(),{getPrimaryColorOverride:o,localePackage:n,getAppTheme:a}},render(){return Vue.createVNode(naive.NConfigProvider,{themeOverrides:this.getPrimaryColorOverride,theme:this.getAppTheme?naive.darkTheme:null,locale:this.localePackage.locale,dateLocale:this.localePackage.dateLocal},{default:()=>[Vue.createVNode(naive.NLoadingBarProvider,null,{default:()=>[Vue.createVNode(naive.NMessageProvider,null,{default:()=>[Vue.createVNode(naive.NDialogProvider,null,{default:()=>[Vue.createVNode(naive.NNotificationProvider,null,{default:()=>{var e,t;return[Vue.createVNode(naive.NGlobalStyle,null,null),(t=(e=this.$slots).default)==null?void 0:t.call(e)]}})]})]})]})]})}});var D2={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};const j2=Vue.defineComponent({name:"AppStyleProvider",setup(e,{expose:t}){const{getAppTheme:o}=R(),a=()=>{const{appPrimaryColor:{primaryColor:i,primaryFadeColor:r}}=D2,s=document.body,u=Z("piniaSettingStore","localStorage");if(u){const m=_1(u,"primaryColorOverride.common.primaryColor",i),v=Ge(m,.38);s.style.setProperty("--ray-theme-primary-color",m),s.style.setProperty("--ray-theme-primary-fade-color",v||r)}},l=()=>{const i=document.getElementById("pre-loading-animation");i&&We(i,{display:"none"})},n=i=>{const r=document.body,s="ray-template--dark",u="ray-template--light";i?ae(r,u):ae(r,s),be(r,i?s:u)};a(),l(),Vue.watch(()=>o.value,i=>{n(i)},{immediate:!0}),t()},render(){return Vue.createVNode("div",{class:"app-style-provider"},null)}}),c1={lockPassword:{required:!0,message:"请输入正确格式密码",min:6,max:12,trigger:["input"]}},ie=()=>({lockPassword:null}),B2=Vue.defineComponent({name:"LockScreen",setup(){const e=Vue.ref(null),t=Vue.ref(null),{setLockAppScreen:o}=re(),{changeSwitcher:a}=H(),l=Vue.reactive({lockCondition:ie()}),n=()=>{var i;(i=e.value)==null||i.validate(r=>{r||(o(!0),a(!0,"lockScreenSwitch"),l.lockCondition=ie())})};return Vue.onMounted(()=>{Vue.nextTick(()=>{var i;(i=t.value)==null||i.focus()})}),{...Vue.toRefs(l),lockScreen:n,formInstRef:e,inputInstRef:t}},render(){return Vue.createVNode("div",{class:"app-lock-screen__input"},[Vue.createVNode(we,{vertical:!0,align:"center",avatarSize:52},null),Vue.createVNode(naive.NForm,{ref:"formInstRef",model:this.lockCondition,rules:c1,labelPlacement:"left"},{default:()=>[Vue.createVNode(naive.NFormItem,{path:"lockPassword"},{default:()=>[Vue.createVNode(naive.NInput,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":e=>this.lockCondition.lockPassword=e,type:"password",placeholder:"请输入锁屏密码",clearable:!0,showPasswordOn:"click",minlength:6,maxlength:12,onKeydown:e=>{e.code==="Enter"&&this.lockScreen()}},null)]}),Vue.createVNode(naive.NButton,{type:"primary",onClick:this.lockScreen.bind(this)},{default:()=>[Vue.createTextVNode("锁屏")]})]})])}}),Z2=Vue.defineComponent({name:"UnlockScreen",setup(){const e=Vue.ref(null),t=Vue.ref(null),{logout:o}=s1(),{changeSwitcher:a}=H(),{setLockAppScreen:l}=re(),{isTabletOrSmaller:n}=U(),i="HH:mm",r="A",s="YY年MM月DD日",u="ddd",m=Vue.reactive({lockCondition:ie(),HH_MM:T().format(i),AM_PM:T().locale("en").format(r),YY_MM_DD:T().format(s),DDD:T().format(u)}),v=setInterval(()=>{m.HH_MM=T().format(i),m.AM_PM=T().format(r)},6e3),_=setInterval(()=>{m.YY_MM_DD=T().format(s),m.DDD=T().format(u)},864e5),O=()=>{window.$dialog.warning({title:"警告",content:"是否返回到登陆页?",positiveText:"确定",negativeText:"取消",onPositiveClick:()=>{o(),setTimeout(()=>{a(!1,"lockScreenSwitch")})}})},A=()=>{var M;(M=e.value)==null||M.validate(f=>{f||(l(!1),a(!1,"lockScreenSwitch"),m.lockCondition=ie())})};return Vue.onBeforeUnmount(()=>{clearInterval(v),clearInterval(_)}),{...Vue.toRefs(m),backToSigning:O,unlockScreen:A,formRef:e,inputInstRef:t,isTabletOrSmaller:n}},render(){const{isTabletOrSmaller:e}=this,{HH_MM:t,AM_PM:o,YY_MM_DD:a,DDD:l}=this,n=t.split(":"),{unlockScreen:i,backToSigning:r}=this;return Vue.createVNode("div",{class:"app-lock-screen__unlock"},[Vue.createVNode("div",{class:"app-lock-screen__unlock__content"},[Vue.createVNode("div",{class:["app-lock-screen__unlock__content-bg",e?"app-lock-screen__unlock__content-bg--smaller":""]},[Vue.createVNode("div",{class:"left"},[n[0]]),Vue.createVNode("div",{class:"right"},[n[1]])]),Vue.createVNode("div",{class:"app-lock-screen__unlock__content-avatar"},[Vue.createVNode(we,{vertical:!0,align:"center",avatarSize:52},null)]),Vue.createVNode("div",{class:"app-lock-screen__unlock__content-input"},[Vue.createVNode(naive.NForm,{ref:"formRef",model:this.lockCondition,rules:c1},{default:()=>[Vue.createVNode(naive.NFormItem,{path:"lockPassword"},{default:()=>[Vue.createVNode(naive.NInput,{ref:"inputInstRef",value:this.lockCondition.lockPassword,"onUpdate:value":s=>this.lockCondition.lockPassword=s,type:"password",placeholder:"请输入解锁密码",clearable:!0,minlength:6,maxlength:12,onKeydown:s=>{s.code==="Enter"&&i()}},null)]}),Vue.createVNode(naive.NSpace,{justify:"space-between"},{default:()=>[Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:r.bind(this)},{default:()=>[Vue.createTextVNode("返回登陆")]}),Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:i.bind(this)},{default:()=>[Vue.createTextVNode("进入系统")]})]})]})]),Vue.createVNode("div",{class:"app-lock-screen__unlock__content-date"},[Vue.createVNode("div",{class:"current-date"},[t,Vue.createTextVNode(" "),Vue.createVNode("span",null,[o])]),Vue.createVNode("div",{class:"current-year"},[a,Vue.createTextVNode(" "),Vue.createVNode("span",null,[l])])])])])}}),H2=Vue.defineComponent({name:"AppLockScreen",setup(){const{getLockScreenSwitch:e}=R(),{getLockAppScreen:t}=re();return{getLockScreenSwitch:e,getLockAppScreen:t}},render(){return Vue.createVNode(naive.NModal,{show:this.getLockScreenSwitch,"onUpdate:show":e=>this.getLockScreenSwitch=e,transformOrigin:"center",autoFocus:!1,maskClosable:!1,closeOnEsc:!1,preset:this.getLockAppScreen()?void 0:"dialog",title:"锁定屏幕"},{default:()=>[Vue.createVNode("div",{class:"app-lock-screen__content"},[this.getLockAppScreen()?Vue.createVNode(Z2,null,null):Vue.createVNode(B2,null,null)])]})}}),$2=Vue.defineComponent({name:"AppWatermarkProvider",setup(){const{getWatermarkSwitch:e}=R();return{getWatermarkSwitch:e}},render(){return this.getWatermarkSwitch?Vue.createVNode(naive.NWatermark,Vue.mergeProps({cross:!0,fullscreen:!0},R1),null):null}}),F2=Vue.defineComponent({name:"GlobalSpin",props:{...naive.spinProps},setup(){const e={opacitySpinning:"0.3"};return{spinValue:x("globalSpinning"),overrides:e}},render(){return Vue.createVNode(naive.NSpin,Vue.mergeProps(this.$props,{show:this.spinValue,themeOverrides:this.overrides}),{...this.$slots})}}),u1=Vue.defineComponent({name:"App",render(){return Vue.createVNode(I2,null,{default:()=>[Vue.createVNode(H2,null,null),Vue.createVNode(j2,null,null),Vue.createVNode($2,null,null),Vue.createVNode(F2,null,{default:()=>Vue.createVNode(VueRouter.RouterView,null,null),description:()=>"loading..."})]})}});if(typeof window<"u"){let e=function(){var t=document.body,o=document.getElementById("__svg__icons__dom__");o||(o=document.createElementNS("http://www.w3.org/2000/svg","svg"),o.style.position="absolute",o.style.width="0",o.style.height="0",o.id="__svg__icons__dom__",o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),o.innerHTML='',t.insertBefore(o,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}const K2=()=>{T.locale($e)},U2=()=>({mounted:(e,{value:t})=>{const o=new Ce(e,{text:()=>String(t)});o.on("success",()=>{window.$message.success("复制成功")}),o.on("error",()=>{window.$message.error("复制失败")}),e.$$clipboard=o},updated:(e,{value:t,oldValue:o})=>{var a;t!==o&&((a=e.$$clipboard)==null||a.destroy(),e.$$clipboard=new Ce(e,{text:()=>String(t)}))},beforeUnmount:e=>{var t;e.$$clipboard&&((t=e.$$clipboard)==null||t.destroy(),e.$$clipboard=null)}}),q2=Object.freeze(Object.defineProperty({__proto__:null,default:U2},Symbol.toStringTag,{value:"Module"})),W2=()=>{let e;return{beforeMount:(t,{value:o})=>{const{func:a,trigger:l="click",wait:n=500,options:i}=o;if(typeof a!="function")throw new TypeError("debounce directive value must be a function");e=Ie(a,n,Object.assign({},i)),ve(t,l,e)},beforeUnmount:(t,{value:o})=>{const{trigger:a="click"}=o;e&&(e.cancel(),ye(t,a,e)),e=null}}},G2=Object.freeze(Object.defineProperty({__proto__:null,default:W2},Symbol.toStringTag,{value:"Module"})),xe=(e,t)=>{if(e){const o="ray-template__directive--disabled";t?(e.setAttribute("disabled","disabled"),be(e,o)):(e.removeAttribute("disabled"),ae(e,o)),e==null||e.setAttribute("disabled",t?"disabled":"")}},Y2=()=>({mounted:(e,{value:t})=>{xe(e,t)},updated:(e,{value:t,oldValue:o})=>{t!==o&&xe(e,t)}}),J2=Object.freeze(Object.defineProperty({__proto__:null,default:Y2},Symbol.toStringTag,{value:"Module"})),X2=()=>{let e;return{beforeMount:(t,{value:o})=>{const{func:a,trigger:l="click",wait:n=500,options:i}=o;if(typeof a!="function")throw new TypeError("throttle directive value must be a function");e=me(a,n,Object.assign({},i)),ve(t,l,e)},beforeUnmount:(t,{value:o})=>{const{trigger:a="click"}=o;e&&(e.cancel(),ye(t,a,e)),e=null}}},Q2=Object.freeze(Object.defineProperty({__proto__:null,default:X2},Symbol.toStringTag,{value:"Module"})),eo=e=>Object.keys(e).reduce((o,a)=>{var n;const l=(n=e[a])==null?void 0:n.default;if(typeof l=="function")return o[a]=l,o;throw new TypeError(`directiveModules: ${a} is not function`)},{}),to=e=>{const o=eo(Object.assign({"/src/directives/modules/copy/index.ts":q2,"/src/directives/modules/debounce/index.ts":G2,"/src/directives/modules/disabled/index.ts":J2,"/src/directives/modules/throttle/index.ts":Q2})),a=new RegExp("(?<=modules\\/).*(?=\\/index\\.ts)"),l=/^([^-]+-)*[^-]+$/;w1(o,(n,i)=>{var s;const r=(s=i.match(a))==null?void 0:s[0];typeof r=="string"&&l.test(r)?e.directive(r,n()):console.error(`[setupDirectives] ${r} is not a valid directive name`)})},d1=async e=>{await F1(e),await E2(e),await k2(e),K2(),to(e)},oo=async()=>{const e=Vue.createApp(u1);await d1(e),e.mount("#app")},no=async()=>{let e;window.__WUJIE_MOUNT=async()=>{e=Vue.createApp(u1),await d1(e),e.mount("#app")},window.__WUJIE_UNMOUNT=()=>{e.unmount()},window.__WUJIE.mount()};window.__POWERED_BY_WUJIE__?no():oo();export{ge as A,le as B,He as L,k as R,Ut as T,w as _,s1 as a,B as b,fe as c,H as d,Ao as e,R as f,x as g,Q as h,i2 as i,Ue as j,I1 as k,e1 as l,ye as m,Zt as n,ve as o,Lo as p,Z as q,qe as r,D as s,F as t,K as u,zo as v,D1 as w,W as x,q as y,_e as z}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/en-US-h0AAEbpZ.js","assets/lodash-es@4.17.21-zBC-oVE3.js","assets/vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js","assets/lodash@4.17.21-aCqas35P.js","assets/awesome-qr@2.1.5-rc.0-UnPo3EFD.js","assets/canvas@2.11.2-dZp4QMlu.js","assets/js-binary-schema-parser@2.0.3-CCV6nRej.js","assets/js-cookie@3.0.5-bc0KQLgp.js","assets/screenfull@5.2.0-q9gEF-YC.js","assets/qs@6.11.2-wwOruwhc.js","assets/side-channel@1.0.4-hl21th03.js","assets/get-intrinsic@1.2.1-NE0DZZ3B.js","assets/has-symbols@1.0.3-fNtejGuA.js","assets/has-proto@1.0.1-dzJH2Y5C.js","assets/function-bind@1.1.1-Y6-kkB5s.js","assets/has@1.0.3-rcPLRdvS.js","assets/call-bind@1.0.2-8lNE5ocE.js","assets/@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js","assets/@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js","assets/dayjs@1.11.10-IrZctHvJ.js","assets/@vue_runtime-core@3.3.8-VrcJ4P69.js","assets/@vue_reactivity@3.3.8-4NsB6yaG.js","assets/@vue_shared@3.3.8-W5PO5ES3.js","assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js","assets/clipboard@2.0.11-1jqEMlOW.js","assets/zh-CN-40amWBBn.js","assets/index-AfdQbgre.js","assets/index-3Rmz_Ux4.js","assets/index-3nkF0W6U.css","assets/index-xef_xfqu.js","assets/instance-6TyzR2gp.js","assets/index-kznjMqp-.css","assets/index-QYN0Ro4-.js","assets/index-ETHFCQn4.js","assets/index-eAckJU5f.css","assets/index-_-J57dNd.js","assets/echarts@5.4.3-Vt5ZmFiA.js","assets/zrender@5.4.4-fafgp4mQ.js","assets/tslib@2.3.0-21A5UWR7.js","assets/index-ulcOGPtd.css","assets/index-kSH3dsc5.js","assets/index-otd_RV6B.js","assets/Table-tOO-o-nl.js","assets/print-js@1.6.0-gYKv6oGQ.js","assets/Table-tuI1Q-Xg.css","assets/index-PXp0qHeq.js","assets/index-1WeO5A2O.css","assets/index-IyokCD9_.js","assets/currency.js@2.0.4--or6eeOG.js","assets/index-OJnIbTC0.js","assets/ray-cRawy-kT.js","assets/ray-o8CoReYt.css","assets/index-uB8kUgSV.js","assets/index-HDKPr_0g.css","assets/index-cL2es2Xp.js","assets/index-v5xFQW7A.js","assets/index-4oPeexgb.css","assets/index-h4c6xbVp.js","assets/index-iKuv6ZNn.css","assets/index-x07kM_IA.js","assets/index-JaTFSRYX.js","assets/index-SseCInKo.js","assets/index-Btqqg3j9.css","assets/index-4fu9H4qi.js","assets/index-48JFfn_Q.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/index-EwlO25Hg.js.gz b/assets/index-EwlO25Hg.js.gz new file mode 100644 index 00000000..dac8a02c Binary files /dev/null and b/assets/index-EwlO25Hg.js.gz differ diff --git a/assets/index-HDKPr_0g.css b/assets/index-HDKPr_0g.css new file mode 100644 index 00000000..85fcb49b --- /dev/null +++ b/assets/index-HDKPr_0g.css @@ -0,0 +1 @@ +.rely-about .n-card{margin-top:.938rem}.rely-about .n-card:first-child{margin-top:0} diff --git a/assets/index-IyokCD9_.js b/assets/index-IyokCD9_.js new file mode 100644 index 00000000..c5258fa7 --- /dev/null +++ b/assets/index-IyokCD9_.js @@ -0,0 +1 @@ +import{c as l}from"./lodash-es@4.17.21-zBC-oVE3.js";import{c as r}from"./currency.js@2.0.4--or6eeOG.js";const a=(t,u,e)=>t!=null&&t.length?t.length===1?r(t[0]):t.reduce((i,o,s,d)=>(i=e==null?void 0:e(i,o,s,d),i),u):0,c=(t,u,e="number")=>e==="number"?r(t,u).value:r(t,u).toString(),p=(...t)=>a(t,0,(u,e)=>r(u).add(e)),V=(...t)=>{if(t.length===2){const[n,i]=t;return r(n).subtract(i)}const u=l(t),e=u.shift();return u.length?a(u,e,(n,i)=>r(n).subtract(i)):e},h=(...t)=>a(t,1,(u,e)=>r(u).multiply(e)),F=(...t)=>{if(t.length===2){const[n,i]=t;return r(n).divide(i)}const u=l(t),e=u.shift();return u.length?a(u,e,(n,i)=>r(n).divide(i)):e},N=(t,u,e)=>u<=1?[t||0]:t?r(t,e).distribute(u).map(i=>c(i,e)):new Array(u).fill(0),v=Vue.defineComponent({name:"CalculatePrecision",setup(){const t=Vue.reactive({addOptions:["1","0.2","0.1","1.1"],subtractOptions:["1","0.2","0.1","1.1"],multiplyOptions:["1","0.2","0.1","1.1"],divideOptions:["1","0.2","0.1","1.1"],distributeValue:12,distributeOutputValue:[],distributeLength:3}),u={addOptions:p,subtractOptions:V,multiplyOptions:h,divideOptions:F},e=(i,o)=>{const s=u[o],d=s(...i);return"结果: "+c(d)},n=()=>{Vue.nextTick().then(()=>{t.distributeOutputValue=N(t.distributeValue,t.distributeLength)})};return n(),{...Vue.toRefs(t),copilotFunc:e,updateDistributeValue:n}},render(){return Vue.createVNode(naive.NLayout,null,{default:()=>[Vue.createVNode("h2",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("计算方法,默认都保留两位小数与四舍五入,可以根据 format 方法自行转换")]),Vue.createVNode("h3",{style:"margin: 0 0 20px 0"},[Vue.createTextVNode("示例方法都基于 currency.js 封装,利用其精度处理能力封装了常用的一些计算方法,解决精度问题。如果需要其他的方法请阅读官方文档 https://currency.js.org/#subtract")]),Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"加法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.addOptions,"onUpdate:value":t=>this.addOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"addOptions")}},null),footer:()=>this.copilotFunc(this.addOptions,"addOptions")}),Vue.createVNode(naive.NCard,{title:"减法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.subtractOptions,"onUpdate:value":t=>this.subtractOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"subtractOptions")}},null),footer:()=>this.copilotFunc(this.subtractOptions,"subtractOptions")}),Vue.createVNode(naive.NCard,{title:"乘法"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.multiplyOptions,"onUpdate:value":t=>this.multiplyOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"multiplyOptions")}},null),footer:()=>this.copilotFunc(this.multiplyOptions,"multiplyOptions")}),Vue.createVNode(naive.NCard,{title:"除法(非取模)"},{default:()=>Vue.createVNode(naive.NDynamicTags,{value:this.divideOptions,"onUpdate:value":t=>this.divideOptions=t,onUpdateValue:t=>{this.copilotFunc(t,"divideOptions")}},null),footer:()=>this.copilotFunc(this.divideOptions,"divideOptions")}),Vue.createVNode(naive.NCard,{title:"平分一个值"},{default:()=>Vue.createVNode(naive.NSpace,{wrapItem:!1},{default:()=>[Vue.createVNode(naive.NInputNumber,{value:this.distributeValue,"onUpdate:value":t=>this.distributeValue=t,onUpdateValue:()=>{this.updateDistributeValue()}},null),Vue.createVNode(naive.NInputNumber,{value:this.distributeLength,"onUpdate:value":t=>this.distributeLength=t,onUpdateValue:()=>{this.updateDistributeValue()}},null)]}),footer:()=>"结果: "+this.distributeOutputValue.join(", ")})]})]})}});export{v as default}; diff --git a/assets/index-IyokCD9_.js.gz b/assets/index-IyokCD9_.js.gz new file mode 100644 index 00000000..1e6629c0 Binary files /dev/null and b/assets/index-IyokCD9_.js.gz differ diff --git a/assets/index-JaTFSRYX.js b/assets/index-JaTFSRYX.js new file mode 100644 index 00000000..8a02d434 --- /dev/null +++ b/assets/index-JaTFSRYX.js @@ -0,0 +1 @@ +import{x as F,y as l,g as m,z as c}from"./index-EwlO25Hg.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";function d(){const{changeMenuModelValue:e}=F();return{navigationTo:u=>{if(typeof u=="number"){if(isNaN(u)){console.warn(`navigationTo: The ${u} is NaN, expect number.`);return}const{getMenuOptions:i}=l();if(u>i.value.length){console.warn(`navigationTo: The current ${u} exceeds the maximum number of menus.`);return}const n=i.value[u],a=t=>{if(t.children&&t.children.length>0){const{children:[r]}=t;a(r);return}e(t.key,t)};a(n)}else e(u.key,u)}}}const G=Vue.defineComponent({name:"TemplateHooks",setup(){const e=Vue.ref(""),o=m("layoutContentMaximize"),{navigationTo:u}=d(),{reload:i,maximize:n}=c();return{navigationTo:u,reload:i,currentMenuOption:e,maximize:n,maximizeRef:o}},render(){const{navigationTo:e,reload:o,maximize:u}=this;return Vue.createVNode(naive.NSpace,{wrapItem:!1,vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"接口说明"},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("hooks/template 包存放模板专属 hook 方法。这里不做过多的赘述,可以查看文档具体描述。")])]}),Vue.createVNode(naive.NCard,{title:"useAppMenu 导航方法"},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("navigationTo 参数为正整数时,会更具当前的菜单顺序进行自动导航匹配。但是此方法仅能导航一级菜单。并且如果导航菜单非根菜单项,会自动递归导航至一子菜单。")]),Vue.createVNode("br",null,null),Vue.createVNode(naive.NButton,{onClick:()=>e(14)},{default:()=>[Vue.createTextVNode("跳转至多级菜单")]})]}),Vue.createVNode(naive.NCard,{title:"useMainPage 主页面方法"},{default:()=>[Vue.createVNode(naive.NCard,{title:"reload 加载函数"},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("手动刷新内容区域,会使得当前路由页面内容强制重新加载(会执行完整的 vue 生命周期)。默认 800ms 延迟。")]),Vue.createVNode("br",null,null),Vue.createVNode(naive.NButton,{onClick:()=>{o()}},{default:()=>[Vue.createTextVNode("刷新")]})]}),Vue.createVNode(naive.NCard,{title:"maximize 内容区域最大化"},{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{u(!this.maximizeRef)}},{default:()=>[Vue.createTextVNode("最大化内容区域")]})]})]})]})}});export{G as default}; diff --git a/assets/index-JaTFSRYX.js.gz b/assets/index-JaTFSRYX.js.gz new file mode 100644 index 00000000..54a555ac Binary files /dev/null and b/assets/index-JaTFSRYX.js.gz differ diff --git a/assets/index-LqECB2wC.css b/assets/index-LqECB2wC.css new file mode 100644 index 00000000..ab7d2224 --- /dev/null +++ b/assets/index-LqECB2wC.css @@ -0,0 +1 @@ +@charset "UTF-8";.r-layout-full{position:fixed;top:0;right:0;bottom:0;left:0}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container{overflow:hidden}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content{height:var(--layout-content-height);padding:.833rem}.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container,.r-layout-full .n-layout-scroll-container .r-layout-full__viewer .n-layout-scroll-container .r-layout-full__viewer-content .n-scrollbar-container .n-scrollbar-content{height:100%}.n-drawer.app-menu__drawer{width:auto!important}.n-drawer.app-menu__drawer .n-layout-sider{height:100%}.ray-menu__logo{height:3.333rem;padding:0 .938rem 0 1.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;gap:.417rem .625rem;font-weight:600;overflow:hidden;border-right:solid 1px var(--n-border-color)}.ray-menu__logo.ray-menu__logo-url{position:-webkit-sticky;position:sticky;top:0;cursor:pointer;background-color:var(--n-color);z-index:20}.ray-menu__logo .ray-menu__logo-title{opacity:0;display:none;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.ray-menu__logo .ray-menu__logo-title.ray-menu__logo-title--open{opacity:1;display:inline-block}.ray-icon{position:relative;width:var(--ray-icon-width);height:var(--ray-icon-height);border:none;outline:none;text-align:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;fill:currentColor;-webkit-transform:translateZ(0);transform:translateZ(0);opacity:var(--ray-icon-depth);cursor:var(--ray-icon-cursor)}.ray-icon svg[RayIconAttribute=ray-icon]{width:var(--ray-icon-width);height:var(--ray-icon-height);fill:currentColor}.ray-icon-path__animate{stroke-dasharray:var(--ray-icon-path-length);stroke-dashoffset:var(--ray-icon-path-length);-webkit-animation:rayIconPathAnimate 2s forwards;animation:rayIconPathAnimate 2s forwards}@-webkit-keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}@keyframes rayIconPathAnimate{to{stroke-dashoffset:0}}.content-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box}.content-wrapper[v-cloak]{display:none}.r-layout-full__viewer-content--maximize .layout-content__maximize-out{position:fixed;width:4.167rem;height:4.167rem;border-radius:50%;cursor:pointer;z-index:99;right:-2.083rem;top:-2.083rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier);transition:color .3s var(--r-bezier),background-color .3s var(--r-bezier)}.r-layout-full__viewer-content--maximize .layout-content__maximize-out .ray-icon{-webkit-transform:translate(-.729rem,.729rem);-ms-transform:translate(-.729rem,.729rem);transform:translate(-.729rem,.729rem)}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out{color:#2c2a28;background:#757473}body[class=ray-template--dark] .r-layout-full__viewer-content--maximize--dark .layout-content__maximize-out:hover{background-color:#d5d3d1;color:#44403c}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out{color:#eae9e8;background:#a19f9d}body[class=ray-template--light] .r-layout-full__viewer-content--maximize--light .layout-content__maximize-out:hover{background-color:#44403c;color:#d5d3d1}.layout-footer-wrapper{padding:0 1.042rem .417rem;text-align:center}.layout-header{height:3.333rem;padding:0 .938rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.layout-header>.layout-header__method{width:100%}.layout-header>.layout-header__method .ray-icon__reload--loading{-webkit-animation:elementRotate .8s linear infinite;animation:elementRotate .8s linear infinite}.tooltip-text__icon{cursor:pointer;outline:none;border:none}.setting-drawer__space{width:100%}.setting-drawer__space .n-descriptions-table-content{display:-webkit-box!important;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.global-search{position:fixed;width:33.854rem;left:50%;margin-left:-16.927rem;top:3.125rem}.global-search .global-search__wrapper{-webkit-box-sizing:border-box;box-sizing:border-box}.global-search .global-search__wrapper .global-search__card{width:33.854rem;border-radius:.313rem;padding:.625rem}.global-search .global-search__wrapper .global-search__card .ray-icon{color:var(--ray-theme-primary-color)}.global-search .global-search__wrapper .global-search__card .global-search__card-header{margin-bottom:.625rem}.global-search .global-search__wrapper .global-search__card .global-search__card-content{height:auto;max-height:calc(100% - 5.104rem);padding:.417rem 0}.global-search .global-search__wrapper .global-search__card .global-search__card-content .global-search__empty{margin:1.25rem}.global-search .global-search__wrapper .global-search__card .global-search__card-content .global-search__empty-content{font-size:.938rem;color:#969faf;font-weight:600}.global-search .global-search__wrapper .global-search__card .global-search__card-content .global-search__empty-content .ray-icon{color:#969faf}.global-search .global-search__wrapper .global-search__card .global-search__card-content .content-item{padding:.625rem;border-radius:.313rem;cursor:pointer;-webkit-transition:background-color .3s var(--r-bezier);transition:background-color .3s var(--r-bezier)}.global-search .global-search__wrapper .global-search__card .global-search__card-content .content-item .content-item-icon{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.global-search .global-search__wrapper .global-search__card .global-search__card-footer{width:100%}.global-search .global-search__wrapper .global-search__card .global-search__card-footer .card-footer__tip-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:1.25rem}.global-search .global-search__wrapper .global-search__card .global-search__card-footer .card-footer__tip-wrapper .tip-wrapper-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.global-search .global-search__wrapper .global-search__card .global-search__card-footer .card-footer__tip-wrapper .tip-wrapper-item .item-icon{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-right:.208rem}.global-search .global-search__wrapper .global-search__card .global-search__card-footer .card-footer__tip-wrapper .tip-wrapper-item .item-icon span{color:var(--ray-theme-primary-color)}body[class=ray-template--dark] .global-search--dark .global-search__card{background-color:#242424}body[class=ray-template--dark] .global-search--dark .global-search__card .global-search__card-content .content-item{background-color:#2f2f2f}body[class=ray-template--dark] .global-search--dark .global-search__card .global-search__card-content .content-item.content-item--active,body[class=ray-template--dark] .global-search--dark .global-search__card .global-search__card-content .content-item:hover{background-color:var(--ray-theme-primary-fade-color)}body[class=ray-template--light] .global-search--light .global-search__card{background-color:#f9f9f9}body[class=ray-template--light] .global-search--light .global-search__card .global-search__card-content .content-item{background-color:#fff}body[class=ray-template--light] .global-search--light .global-search__card .global-search__card-content .content-item.content-item--active,body[class=ray-template--light] .global-search--light .global-search__card .global-search__card-content .content-item:hover{background-color:var(--ray-theme-primary-fade-color)}.app-avatar{cursor:var(--app-avatar-cursor)}.app-avatar .app-avatar__name{font-weight:500}.menu-tag{height:2.396rem;border-bottom:solid 1px var(--n-border-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.313rem 0}.menu-tag .menu-tag-space{width:calc(100% - .938rem);padding:.469rem}.menu-tag .menu-tag-space .menu-tag-wrapper{width:calc(100% - 4.896rem)}.menu-tag .menu-tag-space .ray-icon{cursor:pointer}.menu-tag .menu-tag-space .menu-tag__left-arrow{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.menu-tag .menu-tag-space .menu-tag__right-wrapper .menu-tag__right-arrow{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.menu-tag .menu-tag-space .menu-tag__right-wrapper .menu-tag__right-setting{width:1.458rem;height:1.042rem}.menu-tag .n-tag{cursor:pointer}.menu-tag__dropdown .menu-tag__icon{width:.938rem;height:.938rem}.app-style-provider{position:fixed;display:none;z-index:-999999}.app-lock-screen__content .app-lock-screen__input button[class*=n-button]{width:100%}.app-lock-screen__content .app-lock-screen__input form[class*=n-form]{margin:1.25rem 0px}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content{position:relative;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-bg{position:absolute;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:11.458rem;gap:4.167rem;z-index:0}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-bg.app-lock-screen__unlock__content-bg--smaller .right{padding:0;font-size:4.688rem;padding:1.25rem;border-radius:.208rem}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-bg .left,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-bg .right{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-radius:1.563rem;background-color:#141313;font-weight:700;padding:4.167rem;-webkit-filter:blur(.208rem);filter:blur(.208rem)}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-avatar{margin-top:.26rem;color:#bababa;font-weight:500;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-input{width:13.542rem;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date{position:fixed;width:100%;font-size:3rem;text-align:center;font-weight:500;bottom:1.25rem;z-index:1}.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-year,.app-lock-screen__content .app-lock-screen__unlock .app-lock-screen__unlock__content .app-lock-screen__unlock__content-date .current-date span{font-size:1.5rem}.layout-content-enter-active,.layout-content-leave-active{-webkit-transition:all .35s;transition:all .35s}.layout-content-enter-from,.layout-content-enter-to,.layout-content-leave-from,.layout-content-leave-to{opacity:0}.fade-transform-leave-active,.fade-transform-enter-active{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter-from{opacity:0;-webkit-transform:translateX(-2.604rem);-ms-transform:translateX(-2.604rem);transform:translate(-2.604rem)}.fade-transform-leave-to{opacity:0;-webkit-transform:translateX(2.604rem);-ms-transform:translateX(2.604rem);transform:translate(2.604rem)}.down-transform-leave-active,.down-transform-enter-active{-webkit-transition:all .5s;transition:all .5s}.down-transform-enter-from{opacity:0;-webkit-transform:translateY(-2.604rem);-ms-transform:translateY(-2.604rem);transform:translateY(-2.604rem)}.down-transform-leave-to{opacity:0;-webkit-transform:translateY(2.604rem);-ms-transform:translateY(2.604rem);transform:translateY(2.604rem)}.scale-transform-leave-active,.scale-transform-enter-active{-webkit-transition:all .5s;transition:all .5s}.scale-transform-enter-from{opacity:0;-webkit-transform:scale(2);-ms-transform:scale(2);transform:scale(2)}.scale-transform-leave-to{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}.opacity-transform-leave-active,.opacity-transform-enter-active{-webkit-transition:all .5s;transition:all .5s}.opacity-transform-enter-from,.opacity-transform-leave-to{opacity:0}:root{--r-bezier: cubic-bezier(.4, 0, .2, 1)}@-webkit-keyframes elementRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes elementRotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.r-layout-full__viewer-content .n-spin-container,.r-layout-full__viewer-content .n-spin-container .n-spin-content{width:100%;height:100%}.r-menu--app:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.r-menu--app:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:.208rem solid var(--ray-theme-primary-color);-webkit-transition:border-left .1s;transition:border-left .1s}body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}ul,ol,li{list-style:none}fieldset,img{border:0;vertical-align:middle;border-style:none}a{background-color:transparent}sub{bottom:-.25em}sup{top:-.5em}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body .ray-template__directive--disabled{opacity:.3!important;pointer-events:none!important;cursor:not-allowed!important;-webkit-filter:brightness(.88);filter:brightness(.88)} diff --git a/assets/index-LqECB2wC.css.gz b/assets/index-LqECB2wC.css.gz new file mode 100644 index 00000000..b2695897 Binary files /dev/null and b/assets/index-LqECB2wC.css.gz differ diff --git a/assets/index-OJnIbTC0.js b/assets/index-OJnIbTC0.js new file mode 100644 index 00000000..8a0c2ca1 --- /dev/null +++ b/assets/index-OJnIbTC0.js @@ -0,0 +1 @@ +import{R as e,L as t}from"./ray-cRawy-kT.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const q=Vue.defineComponent({name:"RQRCode",setup(){const u=Vue.ref("ray template yes"),a=Vue.ref(),o=Vue.ref();return{qrcodeText:u,qrcodeStatus:a,rayQRCodeRef:o}},render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1},{default:()=>[Vue.createVNode(naive.NCard,null,{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("基于 awesome-qr 进行封装,支持 LOGO、gif、backgroundImage 等属性。")]),Vue.createVNode("h2",null,[Vue.createTextVNode("该组件会自动监听文本内容变化,然后重新渲染(watchText)")]),Vue.createVNode("h2",null,[Vue.createTextVNode("具体使用请参考 props 配置项")])]}),Vue.createVNode(naive.NCard,{title:"基础二维码"},{default:()=>[Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes"},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t},null),Vue.createVNode(e,{text:"ray template yes",gifBackgroundURL:"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80",dotScale:.5,colorDark:"#64d9d6"},null)]})]}),Vue.createVNode(naive.NCard,{title:"状态二维码"},{default:()=>[Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"error",onReload:()=>{window.$message.error("relod props")}},null),Vue.createVNode(e,{text:"ray template yes",logoImage:t,status:"loading"},null)]})]}),Vue.createVNode(naive.NCard,{title:"监听内容变化"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(naive.NButton,{onClick:()=>{this.qrcodeStatus="loading",setTimeout(()=>{this.qrcodeText="text updated: "+new Date().getTime(),this.qrcodeStatus=void 0},1e3)}},{default:()=>[Vue.createTextVNode("更新二维码内容")]}),Vue.createVNode(naive.NButton,{onClick:()=>{var u;(u=this.rayQRCodeRef)==null||u.downloadQRCode()}},{default:()=>[Vue.createTextVNode("下载二维码")]})]}),Vue.createVNode(naive.NSpace,null,{default:()=>[Vue.createVNode(e,{text:this.qrcodeText,status:this.qrcodeStatus,logoImage:t,ref:"rayQRCodeRef"},null),Vue.createTextVNode("当前二维码内容:"),this.qrcodeText]})]})]})]})}});export{q as default}; diff --git a/assets/index-OJnIbTC0.js.gz b/assets/index-OJnIbTC0.js.gz new file mode 100644 index 00000000..21dbd91c Binary files /dev/null and b/assets/index-OJnIbTC0.js.gz differ diff --git a/assets/index-OlZM-6Aq.js b/assets/index-OlZM-6Aq.js new file mode 100644 index 00000000..265a9990 --- /dev/null +++ b/assets/index-OlZM-6Aq.js @@ -0,0 +1 @@ +const u=Vue.defineComponent({name:"MultiMenuOne",setup(){return{inputValue:Vue.ref(null)}},render(){return Vue.createVNode("div",null,[Vue.createTextVNode("多级菜单-1"),Vue.createVNode(naive.NInput,{modelValue:this.inputValue,"onUpdate:modelValue":e=>this.inputValue=e},null)])}});export{u as default}; diff --git a/assets/index-PXp0qHeq.js b/assets/index-PXp0qHeq.js new file mode 100644 index 00000000..c1f48378 --- /dev/null +++ b/assets/index-PXp0qHeq.js @@ -0,0 +1 @@ +import{j as d,R as n}from"./index-EwlO25Hg.js";const r={open:{type:Boolean,default:!1},collapseToggleText:{type:Array,default:()=>["展开","收起"]},bordered:{type:Boolean,default:!1},onUpdateValue:{type:[Function,Array],default:null},"onUpdate:value":{type:[Function,Array],default:null},...naive.gridProps},c=Vue.defineComponent({name:"RCollapseGrid",props:r,setup(a){const e=Vue.ref(!a.open),l=()=>{e.value=!e.value;const{onUpdateValue:s,"onUpdate:value":t}=a;s&&d(s,e.value),t&&d(t,e.value)};return{modelCollapsed:e,collapseClick:l,CollapseIcon:()=>Vue.createVNode("div",{class:"collapse-icon",onClick:l.bind(this)},[Vue.createVNode("span",null,[e.value?a.collapseToggleText[0]:a.collapseToggleText[1]]),Vue.createVNode(n,{customClassName:`collapse-icon--arrow ${e.value?"":"collapse-icon--arrow__expanded"}`,name:"expanded",size:"14"},null)])}},render(){return Vue.createVNode(naive.NCard,{bordered:this.bordered},{default:()=>Vue.createVNode(naive.NGrid,Vue.mergeProps({class:"ray-collapse-grid"},this.$props,{collapsed:this.modelCollapsed,xGap:this.xGap||12,yGap:this.yGap||18,collapsedRows:this.collapsedRows}),{default:()=>{var a,e;return[(e=(a=this.$slots).default)==null?void 0:e.call(a),Vue.createVNode(naive.NGridItem,{suffix:!0,class:"ray-collapse-grid__suffix--btn"},{default:()=>[Vue.createVNode(naive.NSpace,{justify:"end"},{default:()=>{var l,o;return[(o=(l=this.$slots).action)==null?void 0:o.call(l),this.CollapseIcon()]}})]})]}})})}});export{c as R}; diff --git a/assets/index-PXp0qHeq.js.gz b/assets/index-PXp0qHeq.js.gz new file mode 100644 index 00000000..49d2b731 Binary files /dev/null and b/assets/index-PXp0qHeq.js.gz differ diff --git a/assets/index-QYN0Ro4-.js b/assets/index-QYN0Ro4-.js new file mode 100644 index 00000000..2694f587 --- /dev/null +++ b/assets/index-QYN0Ro4-.js @@ -0,0 +1 @@ +import{R as t}from"./index-ETHFCQn4.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const I=Vue.defineComponent({name:"RTemplateDoc",setup(){return{}},render(){return Vue.createVNode(t,{width:"100%",height:"100%",src:"https://xiaodaigua-ray.github.io/ray-template-doc/",lazy:!0},null)}});export{I as default}; diff --git a/assets/index-QYN0Ro4-.js.gz b/assets/index-QYN0Ro4-.js.gz new file mode 100644 index 00000000..54860fd7 Binary files /dev/null and b/assets/index-QYN0Ro4-.js.gz differ diff --git a/assets/index-SseCInKo.js b/assets/index-SseCInKo.js new file mode 100644 index 00000000..68876696 --- /dev/null +++ b/assets/index-SseCInKo.js @@ -0,0 +1 @@ +import{B as e}from"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const r=Vue.defineComponent({name:"PageResult",props:{...naive.resultProps},render(){return Vue.createVNode("div",{class:"error-page"},[Vue.createVNode(naive.NResult,Vue.mergeProps(this.$props,{status:"500",title:"小调皮你走错地方了"}),{...this.$slots,footer:()=>Vue.createVNode(naive.NButton,{onClick:e.bind(this,!0)},{default:()=>[Vue.createTextVNode("返回首页")]})})])}}),b=Vue.defineComponent({name:"ErrorPage404",setup(){return{}},render(){return Vue.createVNode(r,{status:"404"},null)}});export{b as default}; diff --git a/assets/index-SseCInKo.js.gz b/assets/index-SseCInKo.js.gz new file mode 100644 index 00000000..139696ad Binary files /dev/null and b/assets/index-SseCInKo.js.gz differ diff --git a/assets/index-_-J57dNd.js b/assets/index-_-J57dNd.js new file mode 100644 index 00000000..d041017d --- /dev/null +++ b/assets/index-_-J57dNd.js @@ -0,0 +1 @@ +import{t as Me}from"./lodash-es@4.17.21-zBC-oVE3.js";import{f as ze,h as W,r as A,i as Pe,j as E,k as Ue,l as He}from"./index-EwlO25Hg.js";import{c as Ze}from"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./dayjs@1.11.10-IrZctHvJ.js";import{u as y,r as Ge,i as qe,a as Xe,b as Je,c as Ke,d as Qe,e as Ye,f as Ie,g as et,h as tt,j as ot,k as at,l as rt,m as lt,n as it,o as ct,p as nt,q as st,s as dt}from"./echarts@5.4.3-Vt5ZmFiA.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./zrender@5.4.4-fafgp4mQ.js";import"./tslib@2.3.0-21A5UWR7.js";const $=["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],D="#18181c",O={},L={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},R={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},_={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},j={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},M={itemStyle:{borderWidth:0,borderColor:"#ccc"}},z={itemStyle:{borderWidth:0,borderColor:"#ccc"}},P={itemStyle:{borderWidth:0,borderColor:"#ccc"}},U={itemStyle:{borderWidth:0,borderColor:"#ccc"}},H={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Z={itemStyle:{borderWidth:0,borderColor:"#ccc"}},G={itemStyle:{borderWidth:0,borderColor:"#ccc"}},q={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},X={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:"1",color:"#ffffff"},symbolSize:"0",symbol:"circle",smooth:!0,color:["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],label:{color:"#293441"}},J={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},K={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},Q={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},Y={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},I={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},ee={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},te={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},oe={textStyle:{color:"#999999"}},ae={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},re={lineStyle:{color:"#87f7cf",width:1},itemStyle:{color:"#87f7cf",borderWidth:1},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},checkpointStyle:{color:"#fc97af",borderColor:"#fc97af"},label:{color:"#87f7cf"},emphasis:{itemStyle:{color:"#f7f494"},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},label:{color:"#87f7cf"}}},le={color:["#fc97af","#87f7cf"]},ie={backgroundColor:"rgba(255,255,255,0)",dataBackgroundColor:"rgba(114,204,255,1)",fillerColor:"rgba(114,204,255,0.2)",handleColor:"#72ccff",handleSize:"100%",textStyle:{color:"#333333"}},ce={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},ut={color:$,backgroundColor:D,textStyle:O,title:L,line:R,radar:_,bar:j,pie:M,scatter:z,boxplot:P,parallel:U,sankey:H,funnel:Z,gauge:G,candlestick:q,graph:X,map:J,geo:K,categoryAxis:Q,valueAxis:Y,logAxis:I,timeAxis:ee,toolbox:te,legend:oe,tooltip:ae,timeline:re,visualMap:le,dataZoom:ie,markPoint:ce},ht=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:D,bar:j,boxplot:P,candlestick:q,categoryAxis:Q,color:$,dataZoom:ie,default:ut,funnel:Z,gauge:G,geo:K,graph:X,legend:oe,line:R,logAxis:I,map:J,markPoint:ce,parallel:U,pie:M,radar:_,sankey:H,scatter:z,textStyle:O,timeAxis:ee,timeline:re,title:L,toolbox:te,tooltip:ae,valueAxis:Y,visualMap:le},Symbol.toStringTag,{value:"Module"})),ne=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],se="rgba(0,0,0,0)",de={},ue={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},he={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},fe={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},be={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},me={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ye={itemStyle:{borderWidth:0,borderColor:"#ccc"}},pe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ge={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Se={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Ce={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Ve={itemStyle:{borderWidth:0,borderColor:"#ccc"}},we={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},xe={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:3,symbol:"emptyCircle",smooth:!0,color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],label:{color:"#eee"}},Ae={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Ee={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Fe={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!1,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ve={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Ne={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},ke={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Te={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},Be={textStyle:{color:"#333333"}},We={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},$e={lineStyle:{color:"#008acd",width:1},itemStyle:{color:"#008acd",borderWidth:1},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},checkpointStyle:{color:"#2ec7c9",borderColor:"#2ec7c9"},label:{color:"#008acd"},emphasis:{itemStyle:{color:"#a9334c"},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},label:{color:"#008acd"}}},De={color:["#5ab1ef","#e0ffff"]},Oe={backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd",handleSize:"100%",textStyle:{color:"#333333"}},Le={label:{color:"#eee"},emphasis:{label:{color:"#eee"}}},ft={color:ne,backgroundColor:se,textStyle:de,title:ue,line:he,radar:fe,bar:be,pie:me,scatter:ye,boxplot:pe,parallel:ge,sankey:Se,funnel:Ce,gauge:Ve,candlestick:we,graph:xe,map:Ae,geo:Ee,categoryAxis:Fe,valueAxis:ve,logAxis:Ne,timeAxis:ke,toolbox:Te,legend:Be,tooltip:We,timeline:$e,visualMap:De,dataZoom:Oe,markPoint:Le},bt=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:se,bar:be,boxplot:pe,candlestick:we,categoryAxis:Fe,color:ne,dataZoom:Oe,default:ft,funnel:Ce,gauge:Ve,geo:Ee,graph:xe,legend:Be,line:he,logAxis:Ne,map:Ae,markPoint:Le,parallel:ge,pie:me,radar:fe,sankey:Se,scatter:ye,textStyle:de,timeAxis:ke,timeline:$e,title:ue,toolbox:Te,tooltip:We,valueAxis:ve,visualMap:De},Symbol.toStringTag,{value:"Module"})),mt=()=>{const e=Object.assign({"/src/echart-themes/macarons/macarons-dark.json":ht,"/src/echart-themes/macarons/macarons.json":bt}),f=/\/([^/]+)\.json$/;return Object.keys(e).reduce((n,d)=>{var a;const l=(a=d.match(f))==null?void 0:a[1];if(l)return n.push({name:l,theme:e[d].default}),n;throw new Error("theme name is not found")},[])},yt=e=>Object.assign({},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.9)",zlevel:0,fontSize:12,showSpinner:!0,spinnerRadius:10,lineWidth:5,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"},e),pt={bordered:{type:Boolean,default:!0},downloadOptions:{type:Object,default:()=>({})},onDropdownSelect:{type:[Function,Array]},dropdownOptions:{type:Array},preset:{type:String},contentStyle:{type:[String,Object]},title:{type:[String,Function]},width:{type:String,default:"100%"},height:{type:String,default:"100%"},autoResize:{type:[Boolean,Object],default:!0},showAria:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},theme:{type:String,default:null},autoChangeTheme:{type:Boolean,default:!0},use:{type:Array,default:()=>[]},watchOptions:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingOptions:{type:Object,default:()=>yt()},observer:{type:Object,default:null},throttleWait:{type:Number,default:500},animation:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>({})}},gt={notMerge:!1,lazyUpdate:!0,silent:!1,replaceMerge:[]},St=mt(),S=Vue.defineComponent({name:"RChart",props:pt,setup(e,{expose:f}){const{getAppTheme:h}=ze(),n=Vue.ref(),d=Vue.ref(),l=Vue.ref();let a,s;const{echartTheme:b}=He;let u,t;const C=Vue.computed(()=>[{label:"下载图片",key:"downloadChart",disabled:!(l.value&&l.value.getDom())}]),r=Vue.computed(()=>({"--ray-chart-width":W(e.width),"--ray-chart-height":W(e.height)})),Re=async()=>{var o;y([Xe,Je,Ke,Qe,Ye,Ie,et,tt]),y([ot,at,rt,lt,it,ct]),y([nt,st]),y([dt]);try{y((o=e.use)==null?void 0:o.filter(Boolean))}catch{console.error("register chart Core error: wrong property and method passed in extend attribute")}},V=()=>{if(e.theme==="default"){e.autoChangeTheme?p("dark"):p("");return}if(e.theme)p(e.theme);else{const o=e.autoChangeTheme&&h.value?`${b}-dark`:b;p(o)}},F=o=>{let i=Vue.unref(o);const c=m=>Object.assign({animation:!0},i,m);return e.showAria&&(i=c({aria:{enabled:!0,decal:{show:!0}}})),i},p=(o=b)=>{const i=n.value,c=F(e.options),{height:m,width:x}=i.getBoundingClientRect(),{onSuccess:T,onError:B}=e;try{St.forEach(g=>{Ge(g.name,g.theme)}),t=qe(i,o,{width:x===0?200:void 0,height:m===0?200:void 0}),l.value=t,e.animation?(t.setOption({}),setTimeout(()=>{c&&(t==null||t.setOption(c))})):c&&(t==null||t.setOption(c)),T&&E(T,t)}catch(g){B&&E(B),console.error("RChart render error: ",g)}},v=()=>!!(t&&t.getDom()),w=()=>{v()&&(t.clear(),t.dispose(),l.value=void 0)},_e=()=>{t&&t.resize()},je=(o,i)=>{if(o==="downloadChart"&&v()){const{filename:m,...x}=e.downloadOptions;Ue(t.getDataURL(x),m??`${new Date().getTime()}`)}const{onDropdownSelect:c}=e;c&&E(c,o,i)},N=()=>{if(t!=null&&t.getDom()){console.warn("RChart mount: There is a chart instance already initialized on the dom. Execution was interrupted.");return}V(),e.autoResize&&(a=Me(_e,e.throttleWait),s=Ze(e.observer||d,a))},k=()=>{var o;w(),a==null||a.cancel(),(o=s==null?void 0:s.stop)==null||o.call(s)};return Vue.watch(()=>h.value,()=>{e.autoChangeTheme&&(w(),V())}),Vue.watch(()=>e.showAria,()=>{w(),V()}),Vue.watchEffect(()=>{e.watchOptions?u=Vue.watch(()=>e.options,o=>{const i=F(o),c=Object.assign(e.setChartOptions,gt);t==null||t.setOption(i,c)},{deep:!0}):u==null||u(),e.loading?t==null||t.showLoading(e.loadingOptions):t==null||t.hideLoading()}),f({echart:l,dispose:k,render:N}),Vue.onBeforeMount(async()=>{await Re()}),Vue.onMounted(()=>{N()}),Vue.onBeforeUnmount(()=>{k(),u==null||u()}),{rayChartRef:n,cssVarsRef:r,rayChartWrapperRef:d,moreDropDownOptions:C,dropdownSelect:je}},render(){const{title:e,contentStyle:f,preset:h,moreDropDownOptions:n,dropdownSelect:d,bordered:l,dropdownOptions:a}=this,{cardExtra:s}=this.$slots;return h==="card"?Vue.createVNode(naive.NCard,{class:"ray-chart",ref:"rayChartWrapperRef",style:[this.cssVarsRef],contentStyle:f,bordered:l},{default:A(Vue.createVNode("div",{class:"ray-chart__container",ref:"rayChartRef"},null)),header:A(e,{defaultElement:Vue.createVNode("div",{style:"display: none;"},null)}),"header-extra":A(s,{defaultElement:Vue.createVNode(Pe,{iconSize:18,cursor:"pointer",options:a??n,trigger:"click",onSelect:d.bind(this),placement:"bottom-end"},null)})}):Vue.createVNode("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartWrapperRef"},[Vue.createVNode("div",{class:"ray-chart__container",ref:"rayChartRef"},null)])}}),Xt=Vue.defineComponent({name:"REchart",setup(){const e=Vue.ref(),f=Vue.ref(!1),h=Vue.ref(!1),n=Vue.reactive({loading:!1}),d={legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"日期",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}},{name:"数量",data:[12,220,250,180,20,10,190],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},l={title:{text:"Referer of a Website",subtext:"Fake Data",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left"},series:[{name:"Access From",type:"pie",radius:"50%",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},a=Vue.ref({tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["Email","Union Ads","Video Ads","Direct","Search Engine"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Email",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[120,132,101,134,90,230,210]},{name:"Union Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[220,182,191,234,290,330,310]},{name:"Video Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[150,232,201,154,190,330,410]},{name:"Direct",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[320,332,301,334,390,330,320]},{name:"Search Engine",type:"line",stack:"Total",label:{show:!0,position:"top"},areaStyle:{},emphasis:{focus:"series"},data:[820,932,901,934,1290,1330,1320]}]}),s=r=>{n.loading=r},b=r=>{h.value=r},u=()=>{var r;(r=e.value)==null||r.render()},t=()=>{var r;(r=e.value)==null||r.dispose()},C=()=>{const r=()=>Math.floor((Math.random()+1)*100);a.value.series[0].data=new Array(7).fill(0).map(()=>r()),a.value.series[1].data=new Array(7).fill(0).map(()=>r())};return{baseOptions:d,baseChartRef:e,chartLoading:f,handleLoadingShow:s,chartAria:h,handleAriaShow:b,basePieOptions:l,baseLineOptions:a,...Vue.toRefs(n),mountChart:u,unmountChart:t,handleUpdateTitle:C}},render(){return Vue.createVNode("div",{class:"echart"},[Vue.createVNode(naive.NCard,{title:"chart 组件"},{default:()=>[Vue.createVNode("ul",null,[Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("1. 当未获取到宽高时,组件会默认以 200*200 尺寸填充。")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("2. 默认启用 autoChangeTheme,自动监听模板主题变化,如果设置为 false 则为 APP_THEME.echartTheme 配置项为渲染结果(RayTemplate 独有)")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("3. 默认启用 watchOptions,自动监听配置项变化")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("4. 默认启用 animation,强制启用渲染过渡动画")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("5. 配置 setChartOptions 属性,可以定制化合并模式")])])])]}),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("强制渲染过渡动画(animation),预设 card 风格图表")]}),Vue.createVNode(naive.NSpace,{style:["padding: 18px 0"]},{default:()=>[Vue.createVNode(naive.NButton,{onClick:this.mountChart.bind(this)},{default:()=>[Vue.createTextVNode("渲染")]}),Vue.createVNode(naive.NButton,{onClick:this.unmountChart.bind(this)},{default:()=>[Vue.createTextVNode("卸载")]}),Vue.createVNode(naive.NButton,{onClick:this.handleUpdateTitle.bind(this)},{default:()=>[Vue.createTextVNode("更新配置项")]})]}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(S,{title:"周销售量",ref:"baseChartRef",autoChangeTheme:!0,options:this.baseLineOptions,showAria:this.chartAria,preset:"card"},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色")]}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(S,{autoChangeTheme:!1,theme:"default",options:this.baseOptions},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("加载动画")]}),Vue.createVNode(naive.NSwitch,{value:this.chartLoading,"onUpdate:value":e=>this.chartLoading=e,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏加载动画",unchecked:()=>"显示加载动画"}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(S,{loading:this.loading,options:this.baseOptions},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("贴画可视化图")]}),Vue.createVNode(naive.NSwitch,{value:this.chartAria,"onUpdate:value":e=>this.chartAria=e,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏贴花",unchecked:()=>"显示贴花"}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(S,{options:this.baseOptions,showAria:this.chartAria},null)])])}});export{Xt as default}; diff --git a/assets/index-_-J57dNd.js.gz b/assets/index-_-J57dNd.js.gz new file mode 100644 index 00000000..c513c581 Binary files /dev/null and b/assets/index-_-J57dNd.js.gz differ diff --git a/assets/index-cL2es2Xp.js b/assets/index-cL2es2Xp.js new file mode 100644 index 00000000..a3876e9e --- /dev/null +++ b/assets/index-cL2es2Xp.js @@ -0,0 +1 @@ +import{R as i}from"./Table-tOO-o-nl.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";import"./print-js@1.6.0-gYKv6oGQ.js";const z=Vue.defineComponent({name:"RouterDemoHome",setup(){const t=VueRouter.useRouter(),r=Vue.ref([{title:"姓名",key:"name"},{title:"地址",key:"address"},{title:"联系方式",key:"phone"},{title:"操作",key:"",render:e=>Vue.createVNode(naive.NSpace,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"info",text:!0,size:"tiny",onClick:()=>{t.push({path:"/router-demo/router-demo-detail"})}},{default:()=>[Vue.createTextVNode("详情")]})]})}]),o=[];for(let e=0;e<10;e++)o.push({name:"张三",address:"New York No. 1 Lake Park",phone:"010-121212",key:e});return{dataSource:o,columns:r}},render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1},{default:()=>[Vue.createVNode(i,{columns:this.columns,"onUpdate:columns":t=>this.columns=t,data:this.dataSource},null)]})}});export{z as default}; diff --git a/assets/index-cL2es2Xp.js.gz b/assets/index-cL2es2Xp.js.gz new file mode 100644 index 00000000..8580e4fc Binary files /dev/null and b/assets/index-cL2es2Xp.js.gz differ diff --git a/assets/index-eAckJU5f.css b/assets/index-eAckJU5f.css new file mode 100644 index 00000000..9824268c --- /dev/null +++ b/assets/index-eAckJU5f.css @@ -0,0 +1 @@ +.ray-iframe{width:var(--ray-iframe-width);height:var(--ray-iframe-height);-webkit-box-sizing:border-box;box-sizing:border-box;border:var(--ray-iframe-frameborder)}.ray-iframe .ray-iframe__container{width:100%;height:100%;border:0;outline:0} diff --git a/assets/index-gRQOEXFu.js b/assets/index-gRQOEXFu.js new file mode 100644 index 00000000..cbc35581 --- /dev/null +++ b/assets/index-gRQOEXFu.js @@ -0,0 +1 @@ +const a=Vue.defineComponent({name:"RDirective",setup(){const e=Vue.reactive({copyValueOne:"我是待复制内容区域一",copyValueTwo:"我是待复制内容区域二",throttleBtnClickCount:0,debounceBtnClickCount:0,disabledValue:!1}),u=t=>{e[t]++};return{...Vue.toRefs(e),updateDemoValue:u}},render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1},{default:()=>[Vue.createVNode(naive.NCard,{title:"指令"},{default:()=>[Vue.createTextVNode("该页面展示如何使用已封装好的指令")]}),Vue.createVNode(naive.NCard,{title:"文本复制示例一"},{default:()=>[Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInput,{value:this.copyValueOne,"onUpdate:value":e=>this.copyValueOne=e},null),Vue.withDirectives(Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("复制")]}),[[Vue.resolveDirective("copy"),this.copyValueOne]])]})]}),Vue.createVNode(naive.NCard,{title:"文本复制示例二"},{default:()=>[Vue.createVNode(naive.NInputGroup,null,{default:()=>[Vue.createVNode(naive.NInput,{value:this.copyValueTwo,"onUpdate:value":e=>this.copyValueTwo=e},null),Vue.withDirectives(Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("复制")]}),[[Vue.resolveDirective("copy"),this.copyValueTwo]])]})]}),Vue.createVNode(naive.NCard,{title:"节流"},{default:()=>[Vue.createVNode(naive.NSpace,{wrapItem:!0,vertical:!0},{default:()=>[Vue.withDirectives(Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("点击执行")]}),[[Vue.resolveDirective("throttle"),{func:this.updateDemoValue.bind(null,"throttleBtnClickCount"),trigger:"click",wait:1e3,options:{}}]]),Vue.createVNode("p",null,[Vue.createTextVNode("我执行了"),this.throttleBtnClickCount,Vue.createTextVNode("次")]),Vue.createVNode("p",null,[Vue.createTextVNode("该方法 1s 内仅会执行一次")])]})]}),Vue.createVNode(naive.NCard,{title:"防抖"},{default:()=>[Vue.createVNode(naive.NSpace,{wrapItem:!0,vertical:!0},{default:()=>[Vue.withDirectives(Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("点击执行")]}),[[Vue.resolveDirective("debounce"),{func:this.updateDemoValue.bind(null,"debounceBtnClickCount"),trigger:"click",wait:1e3,options:{}}]]),Vue.createVNode("p",null,[Vue.createTextVNode("我执行了"),this.debounceBtnClickCount,Vue.createTextVNode("次")]),Vue.createVNode("p",null,[Vue.createTextVNode("该方法将延迟 1s 执行")])]})]}),Vue.createVNode(naive.NCard,{title:"禁用"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NSwitch,{value:this.disabledValue,"onUpdate:value":e=>this.disabledValue=e},{checked:()=>"取消",unchecked:()=>"禁用"}),Vue.createVNode(naive.NCard,{title:"描述"},{default:()=>[Vue.createVNode("p",null,[Vue.createTextVNode("该指令会强制禁用(通过 css 层面)禁用元素交互。但是 naive ui 组件提供了完整的 disabled 属性,所以在组件库有禁用需求时,直接调用组件库 disabled 属性即可。但是值得注意的是,该指令优先级最高,会覆盖组件 disabled 属性。")])]}),Vue.createVNode(naive.NCard,{title:"原生表单"},{default:()=>[Vue.withDirectives(Vue.createVNode("form",null,[Vue.createVNode("input",{type:"text",placeholder:"请输入"},null),Vue.createVNode("button",null,[Vue.createTextVNode("提交")])]),[[Vue.resolveDirective("disabled"),this.disabledValue]])]}),Vue.createVNode(naive.NCard,{title:"文本内容"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.withDirectives(Vue.createVNode("p",null,[Vue.createTextVNode("我是可以被禁用的文本内容")]),[[Vue.resolveDirective("disabled"),this.disabledValue]])]})]}),Vue.createVNode(naive.NCard,{title:"naive 组件"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0,justify:"start"},{default:()=>[Vue.withDirectives(Vue.createVNode(naive.NForm,null,{default:()=>[Vue.createVNode(naive.NFormItem,null,{default:()=>[Vue.createVNode(naive.NInput,null,null)]})]}),[[Vue.resolveDirective("disabled"),this.disabledValue]]),Vue.withDirectives(Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("按钮")]}),[[Vue.resolveDirective("disabled"),this.disabledValue]]),Vue.withDirectives(Vue.createVNode(naive.NSwitch,null,null),[[Vue.resolveDirective("disabled"),this.disabledValue]])]})]})]})]})]})}});export{a as default}; diff --git a/assets/index-gRQOEXFu.js.gz b/assets/index-gRQOEXFu.js.gz new file mode 100644 index 00000000..3545ff40 Binary files /dev/null and b/assets/index-gRQOEXFu.js.gz differ diff --git a/assets/index-h4c6xbVp.js b/assets/index-h4c6xbVp.js new file mode 100644 index 00000000..8bfd2ce7 --- /dev/null +++ b/assets/index-h4c6xbVp.js @@ -0,0 +1,7 @@ +import{R as s,_}from"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";function e(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!Vue.isVNode(o)}const y=Vue.defineComponent({name:"PreviewSVGIcons",setup(){const o=Vue.ref([]);return Object.keys(Object.assign({"/src/icons/adjustment.svg":()=>_(()=>import("./adjustment-xKF72UgA.js"),__vite__mapDeps([])),"/src/icons/axios.svg":()=>_(()=>import("./axios-YSlog9Ro.js"),__vite__mapDeps([])),"/src/icons/close.svg":()=>_(()=>import("./close-azVF77Xi.js"),__vite__mapDeps([])),"/src/icons/close_left.svg":()=>_(()=>import("./close_left-wghYE-yL.js"),__vite__mapDeps([])),"/src/icons/close_right.svg":()=>_(()=>import("./close_right-rXgRVuVY.js"),__vite__mapDeps([])),"/src/icons/dark.svg":()=>_(()=>import("./dark-a3Shlz-3.js"),__vite__mapDeps([])),"/src/icons/dashboard.svg":()=>_(()=>import("./dashboard-VSK8Ksb1.js"),__vite__mapDeps([])),"/src/icons/doc.svg":()=>_(()=>import("./doc-p7kRFTKe.js"),__vite__mapDeps([])),"/src/icons/draggable.svg":()=>_(()=>import("./draggable-WSlqett4.js"),__vite__mapDeps([])),"/src/icons/echart.svg":()=>_(()=>import("./echart-uDAjf1Xg.js"),__vite__mapDeps([])),"/src/icons/empty.svg":()=>_(()=>import("./empty-H5pwkZW3.js"),__vite__mapDeps([])),"/src/icons/error.svg":()=>_(()=>import("./error-1RFXBHac.js"),__vite__mapDeps([])),"/src/icons/expanded.svg":()=>_(()=>import("./expanded-cve55icR.js"),__vite__mapDeps([])),"/src/icons/export_excel.svg":()=>_(()=>import("./export_excel-GFRgGiCF.js"),__vite__mapDeps([])),"/src/icons/fullscreen.svg":()=>_(()=>import("./fullscreen-LJg-Litq.js"),__vite__mapDeps([])),"/src/icons/fullscreen_fold.svg":()=>_(()=>import("./fullscreen_fold-0gdJoV38.js"),__vite__mapDeps([])),"/src/icons/github.svg":()=>_(()=>import("./github-cVhKF5HM.js"),__vite__mapDeps([])),"/src/icons/google.svg":()=>_(()=>import("./google-Mjnm1oio.js"),__vite__mapDeps([])),"/src/icons/language.svg":()=>_(()=>import("./language-dqZc_JRl.js"),__vite__mapDeps([])),"/src/icons/left_arrow.svg":()=>_(()=>import("./left_arrow-9Z3nu3IR.js"),__vite__mapDeps([])),"/src/icons/light.svg":()=>_(()=>import("./light-xmnw2Bnt.js"),__vite__mapDeps([])),"/src/icons/lock.svg":()=>_(()=>import("./lock-Dt93hMYt.js"),__vite__mapDeps([])),"/src/icons/login_bg.svg":()=>_(()=>import("./login_bg-BPuoXCrC.js"),__vite__mapDeps([])),"/src/icons/menu.svg":()=>_(()=>import("./menu-KnKYw6gN.js"),__vite__mapDeps([])),"/src/icons/more.svg":()=>_(()=>import("./more-Ej8Oiwns.js"),__vite__mapDeps([])),"/src/icons/mouse.svg":()=>_(()=>import("./mouse-03_U_h0x.js"),__vite__mapDeps([])),"/src/icons/office.svg":()=>_(()=>import("./office-mL13bbyC.js"),__vite__mapDeps([])),"/src/icons/other.svg":()=>_(()=>import("./other-QN44tLIz.js"),__vite__mapDeps([])),"/src/icons/out.svg":()=>_(()=>import("./out-Pi3tiQst.js"),__vite__mapDeps([])),"/src/icons/print.svg":()=>_(()=>import("./print-WnHXqwgf.js"),__vite__mapDeps([])),"/src/icons/qrcode.svg":()=>_(()=>import("./qrcode-Ecs_mS_M.js"),__vite__mapDeps([])),"/src/icons/ray.svg":()=>_(()=>import("./ray-vB7gcmcu.js"),__vite__mapDeps([])),"/src/icons/reload.svg":()=>_(()=>import("./reload-LXSqxm9O.js"),__vite__mapDeps([])),"/src/icons/rely.svg":()=>_(()=>import("./rely-19SjH3Lv.js"),__vite__mapDeps([])),"/src/icons/resize_h.svg":()=>_(()=>import("./resize_h-DOQBjTSz.js"),__vite__mapDeps([])),"/src/icons/right_arrow.svg":()=>_(()=>import("./right_arrow-ZCE0gHo4.js"),__vite__mapDeps([])),"/src/icons/row_end.svg":()=>_(()=>import("./row_end-BkDswo_g.js"),__vite__mapDeps([])),"/src/icons/row_head.svg":()=>_(()=>import("./row_head-yo3TQzYk.js"),__vite__mapDeps([])),"/src/icons/search.svg":()=>_(()=>import("./search-PNJFeCur.js"),__vite__mapDeps([])),"/src/icons/setting.svg":()=>_(()=>import("./setting-oh7cMM8q.js"),__vite__mapDeps([])),"/src/icons/table.svg":()=>_(()=>import("./table-RDC-4476.js"),__vite__mapDeps([])),"/src/icons/twitter.svg":()=>_(()=>import("./twitter-dtkDLQvk.js"),__vite__mapDeps([]))})).forEach(t=>{const i=t.match(/\/(\w+)\.svg/)[1];i&&o.value.push(i)}),{icons:o}},render(){return Vue.createVNode(naive.NCard,{title:"svg图标"},{"header-extra":()=>"点击图标复制代码",default:()=>{let o;return Vue.createVNode(naive.NSpace,{wrapItem:!1},e(o=this.icons.map(r=>Vue.withDirectives(Vue.createVNode("div",{class:"pre-view-icons__card",key:r},[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(s,{name:r,size:"56",cursor:"pointer"},null),default:()=>r})]),[[Vue.resolveDirective("copy"),``]])))?o:{default:()=>[o]})}})}});export{y as default}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/index-h4c6xbVp.js.gz b/assets/index-h4c6xbVp.js.gz new file mode 100644 index 00000000..fe61a643 Binary files /dev/null and b/assets/index-h4c6xbVp.js.gz differ diff --git a/assets/index-iKuv6ZNn.css b/assets/index-iKuv6ZNn.css new file mode 100644 index 00000000..9941849b --- /dev/null +++ b/assets/index-iKuv6ZNn.css @@ -0,0 +1 @@ +.pre-view-icons__card{width:6.25rem;height:6.25rem;padding:.938rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border:1px solid var(--n-border-color);border-radius:var(--n-border-radius)} diff --git a/assets/index-kSH3dsc5.js b/assets/index-kSH3dsc5.js new file mode 100644 index 00000000..8a6a6a9d --- /dev/null +++ b/assets/index-kSH3dsc5.js @@ -0,0 +1 @@ +import{R as e}from"./index-ETHFCQn4.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const A=Vue.defineComponent({name:"IframeDemo",setup(){return{}},render(){return Vue.createVNode(naive.NSpace,{vertical:!0,size:[20,20]},{default:()=>[Vue.createVNode(naive.NCard,{title:"naive ui(延迟加载)"},{default:()=>[Vue.createVNode(e,{src:"https://www.naiveui.com/zh-CN/dark",height:"300",allow:"fullscreen"},null)]}),Vue.createVNode(naive.NCard,{title:"vue-hooks-plus(立即加载)"},{default:()=>[Vue.createVNode(e,{src:"https://inhiblabcore.github.io/docs/hooks/",height:"300",lazy:!1},null)]})]})}});export{A as default}; diff --git a/assets/index-kSH3dsc5.js.gz b/assets/index-kSH3dsc5.js.gz new file mode 100644 index 00000000..89b35fef Binary files /dev/null and b/assets/index-kSH3dsc5.js.gz differ diff --git a/assets/index-kznjMqp-.css b/assets/index-kznjMqp-.css new file mode 100644 index 00000000..f1e83992 --- /dev/null +++ b/assets/index-kznjMqp-.css @@ -0,0 +1 @@ +.axios-header__btn{height:3.333rem} diff --git a/assets/index-otd_RV6B.js b/assets/index-otd_RV6B.js new file mode 100644 index 00000000..a7e69e97 --- /dev/null +++ b/assets/index-otd_RV6B.js @@ -0,0 +1 @@ +import{R as p}from"./Table-tOO-o-nl.js";import{R as c}from"./index-PXp0qHeq.js";import{a as d}from"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import{s}from"./instance-6TyzR2gp.js";import"./lodash@4.17.21-aCqas35P.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";import"./print-js@1.6.0-gYKv6oGQ.js";const V=e=>s({url:"/api/list",method:"get",params:e}),H=Vue.defineComponent({name:"MockDemo",setup(){const e=Vue.reactive({page:1,pageSize:10,itemCount:0,pageSizes:[10,20,30,40,50],showSizePicker:!0,onUpdatePage:u=>{e.page=u,o()},onUpdatePageSize:u=>{e.pageSize=u,e.page=1,o()}}),{data:t,loading:r,run:i}=d(V,{manual:!0,onSuccess:u=>{}}),n=Vue.ref([{title:"id",key:"id"},{title:"邮箱",key:"email"},{title:"地址",key:"address"},{title:"姓名",key:"name"},{title:"年龄",key:"age"},{title:"创建时间",key:"createDate"},{title:"操作",key:"action",render:u=>Vue.createVNode(naive.NSpace,{align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.info("查看")}},{default:()=>[Vue.createTextVNode("查看")]}),Vue.createVNode(naive.NButton,{type:"primary",text:!0,onClick:()=>{window.$message.warning("编辑")}},{default:()=>[Vue.createTextVNode("编辑")]}),Vue.createVNode(naive.NButton,{type:"error",text:!0,onClick:()=>{window.$message.error("删除")}},{default:()=>[Vue.createTextVNode("删除")]})]})}]),a=Vue.reactive({email:null}),o=()=>{const{pageSize:u,page:l}=e,{email:m}=a;i({page:l,pageSize:u,email:m})};return Vue.watchEffect(()=>{t.value&&(e.itemCount=t.value.total)}),Vue.onBeforeMount(()=>{o()}),{personData:t,personLoading:r,paginationRef:e,columns:n,...Vue.toRefs(a),getPerson:o}},render(){return Vue.createVNode(naive.NSpace,{vertical:!0,wrapItem:!1},{default:()=>{var e;return[Vue.createVNode(naive.NCard,{title:"Mock 数据"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("mock 数据使用。但是,并没有启用生产环境的部署,所以生产环境结果为空。")])]}),Vue.createVNode(naive.NCard,{title:"提示"},{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("RTable 组件有一个比较值得注意的地方就是,该组件会自动的按照数据量计算分页条数。所以你在异步获取数据的时候,一定要手动设置 remote 属性为 true,并且设置 itemCount 或者 pageCount。")])]}),Vue.createVNode(naive.NForm,{labelPlacement:"left"},{default:()=>[Vue.createVNode(c,{bordered:!1,cols:3},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NFormItemGi,{label:"邮箱"},{default:()=>[Vue.createVNode(naive.NInput,{value:this.email,"onUpdate:value":t=>this.email=t,clearable:!0},null)]})]),action:()=>Vue.createVNode(naive.NButton,{type:"primary",onClick:this.getPerson.bind(this)},{default:()=>[Vue.createTextVNode("搜索")]})})]}),Vue.createVNode(p,{title:"分页表格",data:(e=this.personData)==null?void 0:e.data,loading:this.personLoading,columns:this.columns,"onUpdate:columns":t=>this.columns=t,pagination:this.paginationRef,remote:!0},null)]}})}});export{H as default}; diff --git a/assets/index-otd_RV6B.js.gz b/assets/index-otd_RV6B.js.gz new file mode 100644 index 00000000..fe0c1a67 Binary files /dev/null and b/assets/index-otd_RV6B.js.gz differ diff --git a/assets/index-uB8kUgSV.js b/assets/index-uB8kUgSV.js new file mode 100644 index 00000000..534e4c93 --- /dev/null +++ b/assets/index-uB8kUgSV.js @@ -0,0 +1 @@ +var g={pkg:{dependencies:{"@vueuse/core":"^10.6.1","awesome-qr":"2.1.5-rc.0",axios:"^1.5.0",clipboard:"^2.0.11","crypto-js":"^4.1.1","currency.js":"^2.0.4",dayjs:"^1.11.10",echarts:"^5.4.3","lodash-es":"^4.17.21",mockjs:"1.1.0","naive-ui":"^2.35.0",pinia:"^2.1.6","pinia-plugin-persistedstate":"^3.2.0","print-js":"^1.6.0",vue:"^3.3.8","vue-hooks-plus":"1.8.5","vue-i18n":"^9.7.0","vue-router":"^4.2.4",xlsx:"^0.18.5"},devDependencies:{"@babel/core":"^7.23.2","@babel/eslint-parser":"^7.22.11","@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@intlify/unplugin-vue-i18n":"^1.5.0","@types/crypto-js":"^4.1.1","@types/lodash-es":"^4.17.11","@types/mockjs":"1.0.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","@vitejs/plugin-vue":"^4.4.1","@vitejs/plugin-vue-jsx":"^3.0.2","@vue-hooks-plus/resolvers":"1.2.4","@vue/eslint-config-prettier":"^8.0.0","@vue/eslint-config-typescript":"^11.0.3",autoprefixer:"^10.4.15",depcheck:"^1.4.5",eslint:"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-config-standard-with-typescript":"^39.0.0","eslint-plugin-import":"^2.29.0","eslint-plugin-n":"^16.2.0","eslint-plugin-prettier":"^5.0.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-vue":"^9.18.1",husky:"^8.0.3","lint-staged":"^15.1.0",postcss:"^8.4.31","postcss-px-to-viewport-8-plugin":"1.2.2",prettier:"^3.0.3","rollup-plugin-visualizer":"^5.9.2",sass:"1.69.5","svg-sprite-loader":"^6.0.11",typescript:"^5.2.2","unplugin-auto-import":"^0.16.6","unplugin-vue-components":"^0.25.2",vite:"^5.0.0","vite-plugin-cdn2":"0.15.2","vite-plugin-compression":"^0.5.1","vite-plugin-ejs":"^1.7.0","vite-plugin-eslint":"1.8.1","vite-plugin-imp":"^2.4.0","vite-plugin-inspect":"^0.7.38","vite-plugin-mock-dev-server":"1.3.4","vite-plugin-svg-icons":"^2.0.1","vite-svg-loader":"^4.0.0","vue-tsc":"^1.8.8"},name:"ray-template",version:"4.3.3"},layout:{copyright:"Copyright © 2022-present Ray",sideBarLogo:{icon:"ray",title:"Ray Template",url:"/dashboard",jumpType:"station"}},appPrimaryColor:{primaryColor:"#2d8cf0",primaryFadeColor:"rgba(45, 140, 240, 0.3)"}};function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!Vue.isVNode(t)}const V=Vue.defineComponent({name:"RelyAbout",setup(){const{pkg:t}=g,{dependencies:i,devDependencies:n,name:e,version:d}=t,c=[{title:"依赖名称",key:"name"},{title:"依赖版本",key:"relyVersion"},{title:"依赖地址",key:"relyAddress"}],a=Vue.ref([]),o=Vue.ref([]),v=[{name:"项目名称",label:e},{name:"版本信息",label:d},{name:"项目地址",label:"GitHub",url:"https://github.com/XiaoDaiGua-Ray/ray-template"}],m=()=>{const s=r=>Object.keys(r).reduce((p,u)=>(p.push({name:u,relyVersion:r[u],relyAddress:""}),p),[]);a.value=s(i),o.value=s(n)},y=s=>{s.url&&window.open(s.url)};return Vue.onBeforeMount(()=>{m()}),{columns:c,dependenciesOptions:a,devDependenciesOptions:o,templateOptions:v,handleTagClick:y}},render(){let t,i,n;return Vue.createVNode("div",{class:"rely-about"},[Vue.createVNode(naive.NCard,{title:"关于项目"},{default:()=>[Vue.createTextVNode("ray template 是一个基于: tsx pinia vue3.x vite sass 的中后台解决方案. 项目干净与轻巧, 已经集成了很多项目中可能需要的搬砖工具可以让你快速起一个相关项目, 并且不需要剔除大量无用页面与组件.")]}),Vue.createVNode(naive.NCard,{title:"项目信息"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},l(t=this.templateOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[Vue.createVNode(naive.NTag,Vue.mergeProps({bordered:!1,type:"info"},{onClick:this.handleTagClick.bind(this,e)},{style:[e.url?"cursor: pointer":""]}),{default:()=>[e.label]})]})))?t:{default:()=>[t]})]}),Vue.createVNode(naive.NCard,{title:"生产依赖"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},l(i=this.dependenciesOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?i:{default:()=>[i]})]}),Vue.createVNode(naive.NCard,{title:"开发依赖"},{default:()=>[Vue.createVNode(naive.NDescriptions,{bordered:!0,labelPlacement:"left"},l(n=this.devDependenciesOptions.map(e=>Vue.createVNode(naive.NDescriptionsItem,{key:e.name,label:e.name},{default:()=>[e.relyVersion]})))?n:{default:()=>[n]})]})])}});export{V as default}; diff --git a/assets/index-uB8kUgSV.js.gz b/assets/index-uB8kUgSV.js.gz new file mode 100644 index 00000000..8524bf3b Binary files /dev/null and b/assets/index-uB8kUgSV.js.gz differ diff --git a/assets/index-ulcOGPtd.css b/assets/index-ulcOGPtd.css new file mode 100644 index 00000000..25004164 --- /dev/null +++ b/assets/index-ulcOGPtd.css @@ -0,0 +1 @@ +.echart{width:100%;height:100%}.echart .n-card{margin-top:.938rem}.echart .n-card:first-child{margin-top:0}.echart .chart--container{width:100%;height:26.042rem}.ray-chart{width:var(--ray-chart-width);height:var(--ray-chart-height);border:none;outline:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .35s var(--r-bezier);transition:width .35s var(--r-bezier)}.ray-chart .ray-chart__container{width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box} diff --git a/assets/index-v5xFQW7A.js b/assets/index-v5xFQW7A.js new file mode 100644 index 00000000..6b53f915 --- /dev/null +++ b/assets/index-v5xFQW7A.js @@ -0,0 +1 @@ +const e=Vue.defineComponent({name:"ScrollReveal",render(){return Vue.createVNode("div",{class:"scroll-reveal"},[Vue.createVNode(naive.NCard,{title:"提示"},{default:()=>[Vue.createTextVNode("RayScrollReveal组件有点问题, 暂时移除. 不能正常的实现滚动动画. 很是操蛋!!!")]})])}});export{e as default}; diff --git a/assets/index-vRnYP7XJ.js b/assets/index-vRnYP7XJ.js new file mode 100644 index 00000000..e6ef199f --- /dev/null +++ b/assets/index-vRnYP7XJ.js @@ -0,0 +1 @@ +const u=Vue.defineComponent({name:"MultiMenuTwoOne",setup(){return{inputValue:Vue.ref(null)}},render(){return Vue.createVNode("div",{style:{height:"var(--layout-content-height)"}},[Vue.createTextVNode("多级菜单2-2-1"),Vue.createVNode(naive.NInput,{modelValue:this.inputValue,"onUpdate:modelValue":e=>this.inputValue=e},null)])}});export{u as default}; diff --git a/assets/index-x07kM_IA.js b/assets/index-x07kM_IA.js new file mode 100644 index 00000000..d68f1be7 --- /dev/null +++ b/assets/index-x07kM_IA.js @@ -0,0 +1 @@ +import{R as d}from"./index-PXp0qHeq.js";import{R as s}from"./Table-tOO-o-nl.js";import{R as c,i as V}from"./index-EwlO25Hg.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./print-js@1.6.0-gYKv6oGQ.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const z=Vue.defineComponent({name:"TableView",setup(){const e=[{title:"Name",key:"name"},{title:"Age",key:"age"},{title:"Address",key:"address"},{title:"Tags",key:"tags",render:t=>t.tags.map(i=>Vue.h(naive.NTag,{style:{marginRight:"6px"},type:"info",bordered:!1},{default:()=>i}))},{title:"Remark",key:"remark",width:300},{title:"Action",key:"actions",render:t=>Vue.createVNode(naive.NSpace,{wrapItem:!1,align:"center"},{default:()=>[Vue.createVNode(naive.NButton,{size:"tiny"},{default:()=>[Vue.createTextVNode("查看")]}),Vue.createVNode(V,{options:[{label:"编辑",key:"edit"},{label:"新增",key:"add"}],onSelect:a=>{window.$message.info(`当前选择: ${a}`)}},null)]})}],o=Vue.ref([...e].map(t=>({...t,width:400}))),r=Vue.ref([{key:0,name:"John Brown",age:32,address:"New York No. 1 Lake Park",tags:["nice","developer"],remark:"我是一条很长很长的备注"},{key:1,name:"Jim Green",age:42,address:"London No. 1 Lake Park",tags:["wow"],remark:"我是一条很长很长的备注"},{key:2,name:"Joe Black",age:32,address:"Sidney No. 1 Lake Park",tags:["cool","teacher"],remark:"我是一条很长很长的备注"}]),u=[{label:"编辑",key:"edit"},{label:()=>Vue.h("span",{style:{color:"red"}},"删除"),key:"delete"}],n=Vue.reactive({gridItemCount:4,gridCollapsedRows:1,tableLoading:!1}),l=t=>{window.$message.info(`${t}`)};return{...Vue.toRefs(n),tableData:r,actionColumns:o,baseColumns:e,tableMenuOptions:u,handleMenuSelect:l}},render(){return Vue.createVNode(naive.NSpace,{wrapItem:!1,vertical:!0},{default:()=>[Vue.createVNode(naive.NCard,{title:"RTable"},{default:()=>[Vue.createTextVNode("基于 NDataTable 封装,继承该组件所有 props 属性。查看 RTable props 文件即可查看该组件拓展项")]}),Vue.createVNode(d,{bordered:!1,collapsedRows:this.gridCollapsedRows,cols:this.gridItemCount,onUpdateValue:e=>window.$message.info(`我是 RCollapseGrid 组件${e?"收起":"展开"}的回调函数`)},{action:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NButton,{type:"primary"},{default:()=>[Vue.createTextVNode("搜索")]}),Vue.createVNode(naive.NButton,null,{default:()=>[Vue.createTextVNode("重置")]})]),default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NGridItem,null,{default:()=>[Vue.createVNode(naive.NSelect,null,null)]}),Vue.createVNode(naive.NGridItem,null,{default:()=>[Vue.createVNode(naive.NInput,null,null)]}),Vue.createVNode(naive.NGridItem,null,{default:()=>[Vue.createVNode(naive.NDatePicker,{type:"datetimerange",clearable:!0},null)]}),Vue.createVNode(naive.NGridItem,null,{default:()=>[Vue.createVNode(naive.NInput,null,null)]}),Vue.createVNode(naive.NGridItem,null,{default:()=>[Vue.createVNode(naive.NInput,null,null)]})])}),Vue.createVNode(s,{style:"margin-top: 18px",scrollX:2e3,title:Vue.createVNode(naive.NSpace,{align:"center"},{default:()=>[Vue.createVNode("span",null,[Vue.createTextVNode("标题插槽:")]),Vue.createVNode(naive.NSwitch,{onUpdateValue:e=>this.tableLoading=e},null)]}),data:this.tableData,columns:this.actionColumns,"onUpdate:columns":e=>this.actionColumns=e,pagination:{pageSize:10},contextMenuOptions:this.tableMenuOptions,loading:this.tableLoading,onContextMenuClick:this.handleMenuSelect.bind(this),toolOptions:[Vue.createVNode(naive.NPopover,null,{trigger:()=>Vue.createVNode(c,{name:"search",size:"18",cursor:"pointer",onClick:()=>{window.$message.info("点击了搜索按钮")}},null),default:()=>"我是自定义工具栏示例"})]},{tableFooter:()=>"表格的底部内容区域插槽,有时候你可能会用上",tableAction:()=>"表格的操作区域内容插槽,有时候可能会用上"})]})}});export{z as default}; diff --git a/assets/index-x07kM_IA.js.gz b/assets/index-x07kM_IA.js.gz new file mode 100644 index 00000000..b734f55b Binary files /dev/null and b/assets/index-x07kM_IA.js.gz differ diff --git a/assets/index-xef_xfqu.js b/assets/index-xef_xfqu.js new file mode 100644 index 00000000..75b8b486 --- /dev/null +++ b/assets/index-xef_xfqu.js @@ -0,0 +1 @@ +import{a as u}from"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import{s as o}from"./instance-6TyzR2gp.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";function D(e,t){return u(()=>o(e),Object.assign({},t))}const F=e=>o({url:`https://www.tianqiapi.com/api?version=v9&appid=23035354&appsecret=8YvlPNrz&city=${e}`,method:"get"}),l=()=>o({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get"}),O=Vue.defineComponent({name:"RAxios",setup(){const e=Vue.reactive({weatherData:[],inputCityValue:null,throttleDemoInputValue:null,debounceDemoInputValue:null,weatherDemoInputValue:null}),{data:t,loading:a,run:r}=u(l,{throttleWait:1e3,manual:!0}),{data:n,loading:d,run:V}=u(l,{debounceWait:1e3,manual:!0}),{data:i,loading:c,run:m}=u(F,{throttleWait:1e3,manual:!0}),{data:p,loading:s,run:N}=D({url:"https://jsonplaceholder.typicode.com/todos/1",method:"get",cancelConfig:{needCancel:!0}},{manual:!0});return{...Vue.toRefs(e),throttleDemoValue:t,throttleDemoLoading:a,throttleDemoRun:r,debounceDemoValue:n,debounceDemoLoading:d,debounceDemoRun:V,weatherDemoValue:i,weatherDemoLoading:c,weatherDemoRun:m,demoData:p,demoLoading:s,demoRun:N}},render(){return Vue.createVNode(naive.NLayout,null,{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode("h1",null,[Vue.createTextVNode("请求")]),Vue.createVNode(naive.NCard,null,{default:()=>[Vue.createVNode("h2",null,[Vue.createTextVNode("useRequest")]),Vue.createVNode("p",null,[Vue.createTextVNode("支持配置化请求数据")]),Vue.createVNode("h2",null,[Vue.createTextVNode("useHookPlusRequest")]),Vue.createVNode("p",null,[Vue.createTextVNode("支持包裹一个拥有 promise 状态的异步函数,可以用来包裹一个 axios 请求返回值方法")])]}),Vue.createVNode("h1",null,[Vue.createTextVNode("使用 useRequest 获取")]),Vue.createVNode(naive.NCard,{title:"请求函数"},{default:()=>[Vue.createVNode("h3",null,[Vue.createTextVNode("1.基于 axios 封装,能够自动取消连续请求,避免重复渲染造成问题")]),Vue.createVNode("h3",null,[Vue.createTextVNode("2.打开控制台 => 网络 => 使用低速3g网络 => 查看控制台被取消的请求")]),Vue.createVNode("h3",null,[Vue.createTextVNode("3.详情请查看文档")])]}),Vue.createVNode(naive.NCard,{title:"useRequest示例(手动触发)"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>{var e;return[Vue.createVNode(naive.NButton,{onClick:this.demoRun.bind(this)},{default:()=>[Vue.createTextVNode("获取数据")]}),Vue.createVNode("h3",null,[Vue.createTextVNode("结果: "),this.demoLoading?"获取中...":(e=this.demoData)==null?void 0:e.title])]}})]}),Vue.createVNode("h1",null,[Vue.createTextVNode("使用 useHookPlusRequest 获取")]),Vue.createVNode(naive.NCard,{title:"节流"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.throttleDemoInputValue,"onUpdate:value":e=>this.throttleDemoInputValue=e,onUpdateValue:()=>{this.throttleDemoRun()}},null),Vue.createVNode("h3",null,[Vue.createTextVNode("不论触发多少次,一秒钟之内仅会触发一次")]),Vue.createVNode("h3",null,[Vue.createTextVNode("当前状态: "),this.throttleDemoLoading?"获取中...":"获取成功!!!"])]})]}),Vue.createVNode(naive.NCard,{title:"防抖"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.debounceDemoInputValue,"onUpdate:value":e=>this.debounceDemoInputValue=e,onUpdateValue:()=>{this.debounceDemoRun()}},null),Vue.createVNode("h3",null,[Vue.createTextVNode("一秒后才会执行,如果中途重新请求,则会重新计时")]),Vue.createVNode("h3",null,[Vue.createTextVNode("当前状态: "),this.debounceDemoLoading?"获取中...":"获取成功!!!"])]})]}),Vue.createVNode(naive.NCard,{title:"获取气候"},{default:()=>[Vue.createVNode(naive.NSpace,{vertical:!0},{default:()=>[Vue.createVNode(naive.NInput,{value:this.weatherDemoInputValue,"onUpdate:value":e=>this.weatherDemoInputValue=e,onUpdateValue:e=>{this.weatherDemoRun(e)}},null),Vue.createVNode("h3",null,[Vue.createTextVNode("该示例演示了如何根据动态值获取数据")]),Vue.createVNode("h3",null,[Vue.createTextVNode("当前状态: "),this.weatherDemoLoading?"获取中...":"获取成功!!!"])]})]})]})]})}});export{O as default}; diff --git a/assets/index-xef_xfqu.js.gz b/assets/index-xef_xfqu.js.gz new file mode 100644 index 00000000..d443e7f2 Binary files /dev/null and b/assets/index-xef_xfqu.js.gz differ diff --git a/assets/instance-6TyzR2gp.js b/assets/instance-6TyzR2gp.js new file mode 100644 index 00000000..d6b2b6c6 --- /dev/null +++ b/assets/instance-6TyzR2gp.js @@ -0,0 +1 @@ +import{n as t,p as o,q as R,A as q}from"./index-EwlO25Hg.js";const d={baseURL:"",withCredentials:!1,timeout:5*1e3,headers:{"Content-Type":"application/json"}},A=(e,r)=>{t.removePendingRequest(e.config)},y=(e,r)=>{t.removePendingRequest(e.config)},p={implementResponseInterceptorArray:[A],implementResponseInterceptorErrorArray:[y]},{setImplement:c}=o(),E=()=>{const{implementResponseInterceptorArray:e}=p;c("implementResponseInterceptorArray",e,"ok")},k=()=>{const{implementResponseInterceptorErrorArray:e}=p;c("implementResponseInterceptorErrorArray",e,"error")},C=(e,r)=>{if(e){const n=e.headers;r.forEach(s=>{n[s.key]=s.value})}},P=(e,r)=>{const n=R(q.token);return e.url,{key:"X-TOKEN",value:n}},f=(e,r)=>{C(e,[P(e),{key:"Demo-Header-Key",value:"Demo Header Value"}])},g=(e,r)=>{t.removePendingRequest(e),t.addPendingRequest(e)},v=(e,r)=>{t.removePendingRequest(e)},m={implementRequestInterceptorArray:[f,g],implementRequestInterceptorErrorArray:[v]},{setImplement:a}=o(),H=()=>{const{implementRequestInterceptorArray:e}=m;a("implementRequestInterceptorArray",e,"ok")},h=()=>{const{implementRequestInterceptorErrorArray:e}=m;a("implementRequestInterceptorErrorArray",e,"error")},i=axios.create(d),{createAxiosInstance:u,beforeFetch:l,fetchError:I}=o();i.interceptors.request.use(e=>(u(e,"requestInstance"),H(),l("requestInstance","implementRequestInterceptorArray","ok"),e),e=>(h(),I("requestError",e,"implementRequestInterceptorErrorArray"),Promise.reject(e)));i.interceptors.response.use(e=>{u(e,"responseInstance"),E(),l("responseInstance","implementResponseInterceptorArray","ok");const{data:r}=e;return Promise.resolve(r)},e=>(k(),I("responseError",e,"implementResponseInterceptorErrorArray"),Promise.reject(e)));export{i as s}; diff --git a/assets/instance-6TyzR2gp.js.gz b/assets/instance-6TyzR2gp.js.gz new file mode 100644 index 00000000..ef93908f Binary files /dev/null and b/assets/instance-6TyzR2gp.js.gz differ diff --git a/assets/js-binary-schema-parser@2.0.3-CCV6nRej.js b/assets/js-binary-schema-parser@2.0.3-CCV6nRej.js new file mode 100644 index 00000000..8ab6e42f --- /dev/null +++ b/assets/js-binary-schema-parser@2.0.3-CCV6nRej.js @@ -0,0 +1 @@ +var _={},p={};Object.defineProperty(p,"__esModule",{value:!0});p.loop=p.conditional=p.parse=void 0;var w=function o(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t;if(Array.isArray(e))e.forEach(function(s){return o(r,s,t,i)});else if(typeof e=="function")e(r,t,i,o);else{var a=Object.keys(e)[0];Array.isArray(e[a])?(i[a]={},o(r,e[a],t,i[a])):i[a]=e[a](r,t,i,o)}return t};p.parse=w;var C=function(r,e){return function(t,i,a,s){e(t,i,a)&&s(t,r,i,a)}};p.conditional=C;var j=function(r,e){return function(t,i,a,s){for(var f=[],c=t.pos;e(t,i,a);){var v={};if(s(t,r,i,v),t.pos===c)break;c=t.pos,f.push(v)}return f}};p.loop=j;var d={};Object.defineProperty(d,"__esModule",{value:!0});d.readBits=d.readArray=d.readUnsigned=d.readString=d.peekBytes=d.readBytes=d.peekByte=d.readByte=d.buildStream=void 0;var M=function(r){return{data:r,pos:0}};d.buildStream=M;var U=function(){return function(r){return r.data[r.pos++]}};d.readByte=U;var z=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(e){return e.data[e.pos+r]}};d.peekByte=z;var x=function(r){return function(e){return e.data.subarray(e.pos,e.pos+=r)}};d.readBytes=x;var I=function(r){return function(e){return e.data.subarray(e.pos,e.pos+r)}};d.peekBytes=I;var O=function(r){return function(e){return Array.from(x(r)(e)).map(function(t){return String.fromCharCode(t)}).join("")}};d.readString=O;var P=function(r){return function(e){var t=x(2)(e);return r?(t[1]<<8)+t[0]:(t[0]<<8)+t[1]}};d.readUnsigned=P;var D=function(r,e){return function(t,i,a){for(var s=typeof e=="function"?e(t,i,a):e,f=x(r),c=new Array(s),v=0;v=b){var S=b-n.pos;l.push((0,e.readBytes)(S)(n)),h+=S;break}l.push((0,e.readBytes)(g)(n)),h+=g}for(var k=new Uint8Array(h),A=0,B=0;B"u")){e=d({},c,e),typeof e.expires=="number"&&(e.expires=new Date(Date.now()+e.expires*864e5)),e.expires&&(e.expires=e.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var i in e)e[i]&&(o+="; "+i,e[i]!==!0&&(o+="="+e[i].split(";")[0]));return document.cookie=n+"="+r.write(t,n)+o}}function p(n){if(!(typeof document>"u"||arguments.length&&!n)){for(var t=document.cookie?document.cookie.split("; "):[],e={},o=0;o-1}function he(t,r){var e=this.__data__,n=z(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this}function $(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r-1&&t%1==0&&t-1&&t%1==0&&t<=ke}var tn="[object Arguments]",rn="[object Array]",en="[object Boolean]",nn="[object Date]",an="[object Error]",on="[object Function]",sn="[object Map]",cn="[object Number]",un="[object Object]",fn="[object RegExp]",pn="[object Set]",ln="[object String]",gn="[object WeakMap]",dn="[object ArrayBuffer]",hn="[object DataView]",yn="[object Float32Array]",bn="[object Float64Array]",Tn="[object Int8Array]",$n="[object Int16Array]",_n="[object Int32Array]",mn="[object Uint8Array]",vn="[object Uint8ClampedArray]",jn="[object Uint16Array]",On="[object Uint32Array]",f={};f[yn]=f[bn]=f[Tn]=f[$n]=f[_n]=f[mn]=f[vn]=f[jn]=f[On]=!0;f[tn]=f[rn]=f[dn]=f[en]=f[hn]=f[nn]=f[an]=f[on]=f[sn]=f[cn]=f[un]=f[fn]=f[pn]=f[ln]=f[gn]=!1;function An(t){return C(t)&&Jt(t.length)&&!!f[E(t)]}function it(t){return function(r){return t(r)}}var Qt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,D=Qt&&typeof module=="object"&&module&&!module.nodeType&&module,Sn=D&&D.exports===Qt,J=Sn&&Lt.process,wn=function(){try{var t=D&&D.require&&D.require("util").types;return t||J&&J.binding&&J.binding("util")}catch{}}();const P=wn;var mt=P&&P.isTypedArray,xn=mt?it(mt):An;const kt=xn;var In=Object.prototype,Pn=In.hasOwnProperty;function tr(t,r){var e=w(t),n=!e&&Vt(t),a=!e&&!n&&ot(t),s=!e&&!n&&!a&&kt(t),i=e||n||a||s,o=i?We(t.length,String):[],c=o.length;for(var p in t)(r||Pn.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||s&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Xt(p,c)))&&o.push(p);return o}var En=Object.prototype;function H(t){var r=t&&t.constructor,e=typeof r=="function"&&r.prototype||En;return t===e}function rr(t,r){return function(e){return t(r(e))}}var Cn=rr(Object.keys,Object);const Mn=Cn;var Fn=Object.prototype,Nn=Fn.hasOwnProperty;function er(t){if(!H(t))return Mn(t);var r=[];for(var e in Object(t))Nn.call(t,e)&&e!="constructor"&&r.push(e);return r}function st(t){return t!=null&&Jt(t.length)&&!Gt(t)}function ct(t){return st(t)?tr(t):er(t)}function Dn(t,r){return t&&W(r,ct(r),t)}function Un(t){var r=[];if(t!=null)for(var e in Object(t))r.push(e);return r}var Bn=Object.prototype,Ln=Bn.hasOwnProperty;function Rn(t){if(!y(t))return Un(t);var r=H(t),e=[];for(var n in t)n=="constructor"&&(r||!Ln.call(t,n))||e.push(n);return e}function X(t){return st(t)?tr(t,!0):Rn(t)}function Gn(t,r){return t&&W(r,X(r),t)}var nr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vt=nr&&typeof module=="object"&&module&&!module.nodeType&&module,zn=vt&&vt.exports===nr,jt=zn?b.Buffer:void 0,Ot=jt?jt.allocUnsafe:void 0;function Kn(t,r){if(r)return t.slice();var e=t.length,n=Ot?Ot(e):new t.constructor(e);return t.copy(n),n}function Wn(t,r){var e=-1,n=t.length;for(r||(r=Array(n));++e=r||_<0||g&&F>=s}function d(){var l=Q();if(h(l))return pt(l);o=setTimeout(d,L(l))}function pt(l){return o=void 0,x&&n?I(l):(n=a=void 0,i)}function lr(){o!==void 0&&clearTimeout(o),p=0,n=c=a=o=void 0}function gr(){return o===void 0?i:pt(Q())}function V(){var l=Q(),_=h(l);if(n=arguments,a=this,c=l,_){if(o===void 0)return q(c);if(g)return clearTimeout(o),o=setTimeout(d,r),I(c)}return o===void 0&&(o=setTimeout(d,r)),i}return V.cancel=lr,V.flush=gr,V}var Ro="Expected a function";function ko(t,r,e){var n=!0,a=!0;if(typeof t!="function")throw new TypeError(Ro);return y(e)&&(n="leading"in e?!!e.leading:n,a="trailing"in e?!!e.trailing:a),Lo(t,r,{leading:n,maxWait:r,trailing:a})}var Go="[object Map]",zo="[object Set]",Ko=Object.prototype,Wo=Ko.hasOwnProperty;function ti(t){if(t==null)return!0;if(st(t)&&(w(t)||typeof t=="string"||typeof t.splice=="function"||ot(t)||kt(t)||Vt(t)))return!t.length;var r=Y(t);if(r==Go||r==zo)return!t.size;if(H(t))return!er(t).length;for(var e in t)if(Wo.call(t,e))return!1;return!0}function Ho(t,r){r=Ht(r,t);for(var e=0,n=r.length;t!=null&&e=r||T<0||$&&E>=s}function b(){var g=Y();if(y(g))return _e(g);i=setTimeout(b,F(g))}function _e(g){return i=void 0,p&&a?d(g):(a=n=void 0,o)}function Lr(){i!==void 0&&clearTimeout(i),u=0,a=c=n=i=void 0}function Dr(){return i===void 0?o:_e(Y())}function J(){var g=Y(),T=y(g);if(a=arguments,n=this,c=g,T){if(i===void 0)return O(c);if($)return clearTimeout(i),i=setTimeout(b,r),d(c)}return i===void 0&&(i=setTimeout(b,r)),o}return J.cancel=Lr,J.flush=Dr,J}var nr=xt;const Ov=ie(nr);var Pt=nr,Et=_,Mt="Expected a function";function Lt(e,r,t){var a=!0,n=!0;if(typeof e!="function")throw new TypeError(Mt);return Et(t)&&(a="leading"in t?!!t.leading:a,n="trailing"in t?!!t.trailing:n),Pt(e,r,{leading:a,maxWait:r,trailing:n})}var Dt=Lt;const Sv=ie(Dt);function Ft(){this.__data__=[],this.size=0}var Gt=Ft;function Nt(e,r){return e===r||e!==e&&r!==r}var H=Nt,Bt=H;function Ut(e,r){for(var t=e.length;t--;)if(Bt(e[t][0],r))return t;return-1}var V=Ut,Kt=V,Rt=Array.prototype,Ht=Rt.splice;function Vt(e){var r=this.__data__,t=Kt(r,e);if(t<0)return!1;var a=r.length-1;return t==a?r.pop():Ht.call(r,t,1),--this.size,!0}var kt=Vt,Wt=V;function zt(e){var r=this.__data__,t=Wt(r,e);return t<0?void 0:r[t][1]}var qt=zt,Xt=V;function Jt(e){return Xt(this.__data__,e)>-1}var Yt=Jt,Zt=V;function Qt(e,r){var t=this.__data__,a=Zt(t,e);return a<0?(++this.size,t.push([e,r])):t[a][1]=r,this}var ea=Qt,ra=Gt,ta=kt,aa=qt,na=Yt,ia=ea;function C(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r-1&&e%1==0&&e-1&&e%1==0&&e<=Ni}var $r=Bi,Ui=S,Ki=$r,Ri=A,Hi="[object Arguments]",Vi="[object Array]",ki="[object Boolean]",Wi="[object Date]",zi="[object Error]",qi="[object Function]",Xi="[object Map]",Ji="[object Number]",Yi="[object Object]",Zi="[object RegExp]",Qi="[object Set]",eo="[object String]",ro="[object WeakMap]",to="[object ArrayBuffer]",ao="[object DataView]",no="[object Float32Array]",io="[object Float64Array]",oo="[object Int8Array]",so="[object Int16Array]",co="[object Int32Array]",uo="[object Uint8Array]",fo="[object Uint8ClampedArray]",lo="[object Uint16Array]",vo="[object Uint32Array]",l={};l[no]=l[io]=l[oo]=l[so]=l[co]=l[uo]=l[fo]=l[lo]=l[vo]=!0;l[Hi]=l[Vi]=l[to]=l[ki]=l[ao]=l[Wi]=l[zi]=l[qi]=l[Xi]=l[Ji]=l[Yi]=l[Zi]=l[Qi]=l[eo]=l[ro]=!1;function $o(e){return Ri(e)&&Ki(e.length)&&!!l[Ui(e)]}var go=$o;function po(e){return function(r){return e(r)}}var fe=po,U={exports:{}};U.exports;(function(e,r){var t=tr,a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,s=n&&n.exports===a,o=s&&t.process,i=function(){try{var c=n&&n.require&&n.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=i})(U,U.exports);var le=U.exports,bo=go,yo=fe,Pe=le,Ee=Pe&&Pe.isTypedArray,_o=Ee?yo(Ee):bo,gr=_o,ho=Ai,To=lr,Ao=q,jo=ue,mo=vr,Oo=gr,So=Object.prototype,Co=So.hasOwnProperty;function Io(e,r){var t=Ao(e),a=!t&&To(e),n=!t&&!a&&jo(e),s=!t&&!a&&!n&&Oo(e),o=t||a||n||s,i=o?ho(e.length,String):[],c=i.length;for(var u in e)(r||Co.call(e,u))&&!(o&&(u=="length"||n&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mo(u,c)))&&i.push(u);return i}var pr=Io,wo=Object.prototype;function xo(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||wo;return e===t}var ve=xo;function Po(e,r){return function(t){return e(r(t))}}var br=Po,Eo=br,Mo=Eo(Object.keys,Object),Lo=Mo,Do=ve,Fo=Lo,Go=Object.prototype,No=Go.hasOwnProperty;function Bo(e){if(!Do(e))return Fo(e);var r=[];for(var t in Object(e))No.call(e,t)&&t!="constructor"&&r.push(t);return r}var Uo=Bo,Ko=oe,Ro=$r;function Ho(e){return e!=null&&Ro(e.length)&&!Ko(e)}var X=Ho,Vo=pr,ko=Uo,Wo=X;function zo(e){return Wo(e)?Vo(e):ko(e)}var $e=zo,qo=L,Xo=$e;function Jo(e,r){return e&&qo(r,Xo(r),e)}var Yo=Jo;function Zo(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r}var Qo=Zo,es=_,rs=ve,ts=Qo,as=Object.prototype,ns=as.hasOwnProperty;function is(e){if(!es(e))return ts(e);var r=rs(e),t=[];for(var a in e)a=="constructor"&&(r||!ns.call(e,a))||t.push(a);return t}var os=is,ss=pr,cs=os,us=X;function fs(e){return us(e)?ss(e,!0):cs(e)}var D=fs,ls=L,vs=D;function $s(e,r){return e&&ls(r,vs(r),e)}var gs=$s,K={exports:{}};K.exports;(function(e,r){var t=h,a=r&&!r.nodeType&&r,n=a&&!0&&e&&!e.nodeType&&e,s=n&&n.exports===a,o=s?t.Buffer:void 0,i=o?o.allocUnsafe:void 0;function c(u,v){if(v)return u.slice();var $=u.length,p=i?i($):new u.constructor($);return u.copy(p),p}e.exports=c})(K,K.exports);var yr=K.exports;function ps(e,r){var t=-1,a=e.length;for(r||(r=Array(a));++t0){if(++r>=Zl)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var tv=rv,av=Yl,nv=tv,iv=nv(av),ov=iv,sv=Mr,cv=kl,uv=ov;function fv(e,r){return uv(cv(e,r,sv),e+"")}var lv=fv,vv=H,$v=X,gv=vr,pv=_;function bv(e,r,t){if(!pv(t))return!1;var a=typeof r;return(a=="number"?$v(t)&&gv(r,t.length):a=="string"&&r in t)?vv(t[r],e):!1}var yv=bv,_v=lv,hv=yv;function dv(e){return _v(function(r,t){var a=-1,n=t.length,s=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(s=e.length>3&&typeof s=="function"?(n--,s):void 0,o&&hv(t[0],t[1],o)&&(s=n<3?void 0:s,n=1),r=Object(r);++a + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/menu-KnKYw6gN.js b/assets/menu-KnKYw6gN.js new file mode 100644 index 00000000..d7bc643b --- /dev/null +++ b/assets/menu-KnKYw6gN.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1698137684048'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3267'%20width='64'%20height='64'%3e%3cpath%20d='M495.65696%20499.15904H250.80832C115.79392%20499.15904%205.95968%20389.3248%205.95968%20254.3104S115.79392%209.46176%20250.80832%209.46176s244.8384%20109.83424%20244.8384%20244.84864c0%201.1776-0.03072%202.34496-0.07168%203.51232l-0.04096%201.52576%200.12288%20239.81056zM250.80832%2050.42176c-112.42496%200-203.88864%2091.46368-203.88864%20203.88864s91.46368%20203.88864%20203.88864%20203.88864h203.8784l-0.1024-199.22944%200.11264-4.6592c-0.01024-112.42496-91.46368-203.88864-203.88864-203.88864zM776.00768%20499.15904H531.15904l0.12288-240.20992-0.04096-1.11616a99.95264%2099.95264%200%200%201-0.07168-3.51232c0-135.0144%20109.83424-244.84864%20244.8384-244.84864s244.84864%20109.824%20244.84864%20244.8384-109.83424%20244.84864-244.84864%20244.84864z%20m-203.86816-40.96h203.86816c112.42496%200%20203.88864-91.46368%20203.88864-203.88864S888.44288%2050.42176%20776.00768%2050.42176c-112.42496%200-203.8784%2091.46368-203.8784%20203.88864l0.11264%204.2496-0.1024%20199.63904zM247.98208%201024C112.97792%201024%203.14368%20914.15552%203.14368%20779.15136s109.83424-244.8384%20244.84864-244.8384H492.8512l-0.13312%20240.20992%200.04096%201.00352c0.04096%201.19808%200.08192%202.4064%200.08192%203.62496C492.83072%20914.15552%20382.99648%201024%20247.98208%201024z%20m0-448.72704c-112.42496%200-203.88864%2091.46368-203.88864%20203.8784C44.10368%20891.57632%20135.55712%20983.04%20247.98208%20983.04s203.88864-91.46368%20203.88864-203.88864l-0.11264-4.17792%200.1024-199.70048h-203.8784zM773.20192%201024c-135.0144%200-244.84864-109.84448-244.84864-244.84864%200-1.28%200.04096-2.53952%200.08192-3.79904l0.0512-1.37216-0.14336-239.6672h244.85888c135.0144%200%20244.8384%20109.83424%20244.8384%20244.8384S908.20608%201024%20773.20192%201024z%20m-203.8784-448.72704l0.11264%20199.22944-0.12288%204.64896C569.31328%20891.57632%20660.76672%20983.04%20773.20192%20983.04c112.42496%200%20203.8784-91.46368%20203.8784-203.88864%200-112.42496-91.46368-203.8784-203.8784-203.8784h-203.8784z'%20fill='currentColor'%20p-id='3268'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/menu-KnKYw6gN.js.gz b/assets/menu-KnKYw6gN.js.gz new file mode 100644 index 00000000..412eeefd Binary files /dev/null and b/assets/menu-KnKYw6gN.js.gz differ diff --git a/assets/more-Ej8Oiwns.js b/assets/more-Ej8Oiwns.js new file mode 100644 index 00000000..9b67a989 --- /dev/null +++ b/assets/more-Ej8Oiwns.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20t='1679234409554'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2793'%20width='64'%20height='64'%3e%3cpath%20d='M223.962372%20607.897867c-52.980346%200-95.983874-43.003528-95.983874-95.983874s43.003528-95.983874%2095.983874-95.983874%2095.983874%2043.003528%2095.983874%2095.983874S276.942718%20607.897867%20223.962372%20607.897867z'%20fill='currentColor'%20p-id='2794'%3e%3c/path%3e%3cpath%20d='M511.913993%20607.897867c-52.980346%200-95.983874-43.003528-95.983874-95.983874s43.003528-95.983874%2095.983874-95.983874%2095.983874%2043.003528%2095.983874%2095.983874S564.894339%20607.897867%20511.913993%20607.897867z'%20fill='currentColor'%20p-id='2795'%3e%3c/path%3e%3cpath%20d='M800.037628%20607.897867c-52.980346%200-95.983874-43.003528-95.983874-95.983874s43.003528-95.983874%2095.983874-95.983874%2095.983874%2043.003528%2095.983874%2095.983874S852.84596%20607.897867%20800.037628%20607.897867z'%20fill='currentColor'%20p-id='2796'%3e%3c/path%3e%3c/svg%3e";export{e as default}; diff --git a/assets/more-Ej8Oiwns.js.gz b/assets/more-Ej8Oiwns.js.gz new file mode 100644 index 00000000..9c004f96 Binary files /dev/null and b/assets/more-Ej8Oiwns.js.gz differ diff --git a/assets/mouse-03_U_h0x.js b/assets/mouse-03_U_h0x.js new file mode 100644 index 00000000..73dc01ae --- /dev/null +++ b/assets/mouse-03_U_h0x.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20t='1669876671726'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5357'%20width='64'%20height='64'%3e%3cpath%20fill='currentColor'%20d='M523.636364%20197.818182c-24.087273%200-34.909091%2019.549091-34.909091%2043.52v145.687273c0%2023.970909%2010.821818%2043.52%2034.909091%2043.52s34.909091-19.549091%2034.909091-43.52v-145.687273c0-23.970909-10.821818-43.52-34.909091-43.52zM552.168727%200h-80.337454A309.178182%20309.178182%200%200%200%20162.909091%20308.829091v406.341818A309.178182%20309.178182%200%200%200%20471.831273%201024h80.337454A309.178182%20309.178182%200%200%200%20861.090909%20715.170909V308.829091A309.178182%20309.178182%200%200%200%20552.168727%200zM791.272727%20715.170909A239.080727%20239.080727%200%200%201%20552.168727%20954.181818h-80.337454A239.080727%20239.080727%200%200%201%20232.727273%20715.170909V308.829091A239.080727%20239.080727%200%200%201%20471.831273%2069.818182h80.337454A239.080727%20239.080727%200%200%201%20791.272727%20308.829091v406.341818z'%20p-id='5358'%3e%3c/path%3e%3c/svg%3e";export{e as default}; diff --git a/assets/mouse-03_U_h0x.js.gz b/assets/mouse-03_U_h0x.js.gz new file mode 100644 index 00000000..9ebb6cb0 Binary files /dev/null and b/assets/mouse-03_U_h0x.js.gz differ diff --git a/assets/object-inspect@1.12.3-w40geAFS.js b/assets/object-inspect@1.12.3-w40geAFS.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/assets/object-inspect@1.12.3-w40geAFS.js @@ -0,0 +1 @@ + diff --git a/assets/office-mL13bbyC.js b/assets/office-mL13bbyC.js new file mode 100644 index 00000000..c37a27e2 --- /dev/null +++ b/assets/office-mL13bbyC.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1679462172677'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5971'%20width='64'%20height='64'%3e%3cpath%20d='M648.533333%201024h-3.413333l-546.133333-170.666667c-6.826667-3.413333-13.653333-10.24-10.24-20.48%200-10.24%206.826667-13.653333%2017.066666-13.653333l559.786667%2064.853333V143.36l-409.6%20126.293333v430.08c0%206.826667-3.413333%2013.653333-10.24%2013.653334l-136.533333%2068.266666c-6.826667%203.413333-10.24%203.413333-17.066667%200s-6.826667-10.24-6.826667-13.653333v-546.133333c0-6.826667%203.413333-13.653333%2010.24-17.066667l529.066667-204.8h10.24l290.133333%2068.266667c6.826667%203.413333%2013.653333%2010.24%2013.653334%2017.066666v819.2c0%206.826667-3.413333%2013.653333-10.24%2017.066667l-273.066667%20102.4H648.533333zM283.306667%20873.813333L648.533333%20989.866667l256-95.573334V98.986667l-273.066666-64.853334-512%20197.973334v505.173333l102.4-51.2V256c0-6.826667%203.413333-13.653333%2013.653333-17.066667l443.733333-136.533333c6.826667%200%2010.24%200%2013.653334%203.413333%203.413333%203.413333%206.826667%206.826667%206.826666%2013.653334v785.066666c0%203.413333-3.413333%2010.24-6.826666%2013.653334-3.413333%203.413333-6.826667%203.413333-13.653334%203.413333L283.306667%20873.813333z'%20fill='currentColor'%20p-id='5972'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/office-mL13bbyC.js.gz b/assets/office-mL13bbyC.js.gz new file mode 100644 index 00000000..78863101 Binary files /dev/null and b/assets/office-mL13bbyC.js.gz differ diff --git a/assets/other-QN44tLIz.js b/assets/other-QN44tLIz.js new file mode 100644 index 00000000..131083a8 --- /dev/null +++ b/assets/other-QN44tLIz.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1679316911025'%20class='icon'%20viewBox='0%200%201030%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6862'%20width='64'%20height='64'%3e%3cpath%20fill='currentColor'%20d='M376.053929%20561.350639H86.337861A86.440889%2086.440889%200%200%200%200%20647.6885v289.922125a86.492404%2086.492404%200%200%200%2086.337861%2086.389375H376.053929a86.492404%2086.492404%200%200%200%2086.389375-86.389375v-289.922125A86.440889%2086.440889%200%200%200%20376.053929%20561.350639z%20m8.396821%20376.053929a8.551363%208.551363%200%200%201-8.396821%208.602877H86.337861a8.499849%208.499849%200%200%201-8.345306-8.39682v-289.922125a8.448335%208.448335%200%200%201%208.345306-8.345307H376.053929a8.499849%208.499849%200%200%201%208.396821%208.345307z'%20p-id='6863'%3e%3c/path%3e%3cpath%20fill='currentColor'%20d='M1018.694034%20287.91307l-82.422779-142.488379a38.97052%2038.97052%200%201%200-67.483651%2038.996277l82.422779%20142.488379a8.602878%208.602878%200%200%201-3.090854%2011.487675l-251.08039%20144.909548a8.087735%208.087735%200%200%201-6.336251%200.824228%208.242278%208.242278%200%200%201-5.151424-3.863568L540.899487%20229.18684a8.499849%208.499849%200%200%201%203.090854-11.436161l251.028876-144.961062a38.996277%2038.996277%200%200%200-38.944763-67.535165L504.839521%20150.215515a85.668176%2085.668176%200%200%200-40.284133%2052.699064%2084.637891%2084.637891%200%200%200-1.906027%209.272563V127.90985A86.492404%2086.492404%200%200%200%20376.053929%2041.520475H86.337861A86.440889%2086.440889%200%200%200%200%20127.90985v289.922125a86.440889%2086.440889%200%200%200%2086.337861%2086.337861H376.053929a86.440889%2086.440889%200%200%200%2086.595432-86.337861V238.253345a85.822719%2085.822719%200%200%200%2010.302847%2029.929772L618.170842%20519.263507a85.513633%2085.513633%200%200%200%2061.817084%2042.087132h-68.616963a86.492404%2086.492404%200%200%200-86.389375%2086.337861v289.922125a86.543918%2086.543918%200%200%200%2086.389375%2086.389375H901.499145a86.492404%2086.492404%200%200%200%2086.337861-86.389375v-289.922125A86.440889%2086.440889%200%200%200%20901.499145%20561.350639h-195.187444a85.925747%2085.925747%200%200%200%2029.723715-10.302847l251.08039-145.16712a86.440889%2086.440889%200%200%200%2031.578228-117.967602zM384.656807%20417.831975A8.499849%208.499849%200%200%201%20376.053929%20426.177281H86.337861a8.448335%208.448335%200%200%201-8.345306-8.345306V127.90985a8.499849%208.499849%200%200%201%208.345306-8.396821H376.053929a8.551363%208.551363%200%200%201%208.396821%208.396821z%20m524.981587%20229.856525v289.922125a8.499849%208.499849%200%200%201-8.345306%208.39682h-289.922125a8.551363%208.551363%200%200%201-8.396821-8.39682v-289.922125a8.499849%208.499849%200%200%201%208.396821-8.345307H901.499145a8.448335%208.448335%200%200%201%208.139249%208.345307z'%20p-id='6864'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/other-QN44tLIz.js.gz b/assets/other-QN44tLIz.js.gz new file mode 100644 index 00000000..591a067b Binary files /dev/null and b/assets/other-QN44tLIz.js.gz differ diff --git a/assets/out-Pi3tiQst.js b/assets/out-Pi3tiQst.js new file mode 100644 index 00000000..1628f961 --- /dev/null +++ b/assets/out-Pi3tiQst.js @@ -0,0 +1 @@ +const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20class='iconify%20iconify--ri'%3e%3cpath%20fill='currentColor'%20d='M4%2018h2v2h12V4H6v2H4V3a1%201%200%200%201%201-1h14a1%201%200%200%201%201%201v18a1%201%200%200%201-1%201H5a1%201%200%200%201-1-1v-3Zm2-7h7v2H6v3l-5-4l5-4v3Z'%3e%3c/path%3e%3c/svg%3e";export{e as default}; diff --git a/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js b/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js new file mode 100644 index 00000000..c4ccbca7 --- /dev/null +++ b/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js @@ -0,0 +1 @@ +function y(r){return typeof r=="object"&&r!==null}function g(r,t){return r=y(r)?r:Object.create(null),new Proxy(r,{get(i,n,e){return n==="key"?Reflect.get(i,n,e):Reflect.get(i,n,e)||Reflect.get(t,n,e)}})}function S(r,t){return t.reduce((i,n)=>i==null?void 0:i[n],r)}function R(r,t,i){return t.slice(0,-1).reduce((n,e)=>/^(__proto__)$/.test(e)?{}:n[e]=n[e]||{},r)[t[t.length-1]]=i,r}function p(r,t){return t.reduce((i,n)=>{const e=n.split(".");return R(i,e,S(r,e))},{})}function _(r,{storage:t,serializer:i,key:n,debug:e}){try{const o=t==null?void 0:t.getItem(n);o&&r.$patch(i==null?void 0:i.deserialize(o))}catch(o){e&&console.error(o)}}function $(r,{storage:t,serializer:i,key:n,paths:e,debug:o}){try{const u=Array.isArray(e)?p(r,e):r;t.setItem(n,i.serialize(u))}catch(u){o&&console.error(u)}}function b(r={}){return t=>{const{auto:i=!1}=r,{options:{persist:n=i},store:e,pinia:o}=t;if(!n)return;if(!(e.$id in o.state.value)){const l=o._s.get(e.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const u=(Array.isArray(n)?n.map(l=>g(l,r)):[g(n,r)]).map(({storage:l=localStorage,beforeRestore:s=null,afterRestore:a=null,serializer:c={serialize:JSON.stringify,deserialize:JSON.parse},key:f=e.$id,paths:h=null,debug:m=!1})=>{var d;return{storage:l,beforeRestore:s,afterRestore:a,serializer:c,key:((d=r.key)!=null?d:v=>v)(typeof f=="string"?f:f(e.$id)),paths:h,debug:m}});e.$persist=()=>{u.forEach(l=>{$(e.$state,l)})},e.$hydrate=({runHooks:l=!0}={})=>{u.forEach(s=>{const{beforeRestore:a,afterRestore:c}=s;l&&(a==null||a(t)),_(e,s),l&&(c==null||c(t))})},u.forEach(l=>{const{beforeRestore:s,afterRestore:a}=l;s==null||s(t),_(e,l),a==null||a(t),e.$subscribe((c,f)=>{$(f,l)},{detached:!0})})}}var A=b();export{A as s}; diff --git a/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js.gz b/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js.gz new file mode 100644 index 00000000..123bc40e Binary files /dev/null and b/assets/pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js.gz differ diff --git a/assets/print-WnHXqwgf.js b/assets/print-WnHXqwgf.js new file mode 100644 index 00000000..c074be58 --- /dev/null +++ b/assets/print-WnHXqwgf.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20t='1671714654740'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2992'%20width='64'%20height='64'%3e%3cpath%20d='M24.380952%20265.886178%20902.094615%20265.886178C942.428977%20265.886178%20975.238095%20298.903371%20975.238095%20339.485775L975.238095%20779.447155%20999.619049%20754.99187%20853.333333%20754.99187%20877.714285%20779.447155%20877.714285%20681.626016%20877.714285%20657.170731%20853.333333%20657.170731%20170.666667%20657.170731%20146.285714%20657.170731%20146.285714%20681.626016%20146.285714%20779.447155%20170.666667%20754.99187%20121.955642%20754.99187C81.590725%20754.99187%2048.761905%20721.971868%2048.761905%20681.392275L48.761905%20241.430895%2024.380952%20265.886178%2024.380952%20265.886178ZM24.380952%20216.97561%200%20216.97561%200%20241.430895%200%20681.392275C0%20748.954229%2054.630068%20803.902438%20121.955642%20803.902438L170.666667%20803.902438%20195.047619%20803.902438%20195.047619%20779.447155%20195.047619%20681.626016%20170.666667%20706.081301%20853.333333%20706.081301%20828.952382%20681.626016%20828.952382%20779.447155%20828.952382%20803.902438%20853.333333%20803.902438%20999.619049%20803.902438%201024%20803.902438%201024%20779.447155%201024%20339.485775C1024%20271.92663%20969.395277%20216.97561%20902.094615%20216.97561L24.380952%20216.97561%2024.380952%20216.97561Z'%20fill='currentColor'%20p-id='2993'%3e%3c/path%3e%3cpath%20d='M755.809523%20999.544715%20780.190477%20975.089431%20243.809523%20975.089431%20268.190477%20999.544715%20268.190477%20776.325203C268.190477%20762.818923%20257.274752%20751.869918%20243.809523%20751.869918%20230.344297%20751.869918%20219.428572%20762.818923%20219.428572%20776.325203L219.428572%20999.544715C219.428572%201013.050995%20230.344297%201024%20243.809523%201024L780.190477%201024C793.655703%201024%20804.571428%201013.050995%20804.571428%20999.544715L804.571428%20776.325203C804.571428%20762.818923%20793.655703%20751.869918%20780.190477%20751.869918%20766.725248%20751.869918%20755.809523%20762.818923%20755.809523%20776.325203L755.809523%20999.544715Z'%20fill='currentColor'%20p-id='2994'%3e%3c/path%3e%3cpath%20d='M207.238095%20437.073171%20524.190477%20437.073171%20524.190477%20388.162603%20207.238095%20388.162603%20207.238095%20437.073171%20207.238095%20437.073171Z'%20fill='currentColor'%20p-id='2995'%3e%3c/path%3e%3cpath%20d='M219.428572%20241.430895%20219.428572%2045.788618%20195.047619%2070.243903%20828.952382%2070.243903%20804.571428%2045.788618%20804.571428%20241.430933%20853.333333%20241.430933%20853.333333%2045.788618%20853.333333%2021.333333%20828.952382%2021.333333%20195.047619%2021.333333%20170.666667%2021.333333%20170.666667%2045.788618%20170.666667%20241.430895%20219.428572%20241.430895%20219.428572%20241.430895Z'%20fill='currentColor'%20p-id='2996'%3e%3c/path%3e%3c/svg%3e";export{t as default}; diff --git a/assets/print-WnHXqwgf.js.gz b/assets/print-WnHXqwgf.js.gz new file mode 100644 index 00000000..8305ca66 Binary files /dev/null and b/assets/print-WnHXqwgf.js.gz differ diff --git a/assets/print-js@1.6.0-gYKv6oGQ.js b/assets/print-js@1.6.0-gYKv6oGQ.js new file mode 100644 index 00000000..cbe3b682 --- /dev/null +++ b/assets/print-js@1.6.0-gYKv6oGQ.js @@ -0,0 +1 @@ +import{g as O}from"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";var v={exports:{}};(function(j,S){(function(a,n){j.exports=n()})(window,function(){return function(E){var a={};function n(o){if(a[o])return a[o].exports;var s=a[o]={i:o,l:!1,exports:{}};return E[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=E,n.c=a,n.d=function(o,s,f){n.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:f})},n.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,s){if(s&1&&(o=n(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var f=Object.create(null);if(n.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var b in o)n.d(f,b,(function(i){return o[i]}).bind(null,b));return f},n.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(s,"a",s),s},n.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},n.p="",n(n.s=0)}({"./src/index.js":function(E,a,n){n.r(a),n("./src/sass/index.scss");var o=n("./src/js/init.js"),s=o.default.init;typeof window<"u"&&(window.printJS=s),a.default=s},"./src/js/browser.js":function(E,a,n){n.r(a);var o={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!o.isIE()&&!!window.StyleMedia},isChrome:function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!f.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};a.default=o},"./src/js/functions.js":function(E,a,n){n.r(a),n.d(a,"addWrapper",function(){return b}),n.d(a,"capitalizePrint",function(){return i}),n.d(a,"collectStyles",function(){return l}),n.d(a,"addHeader",function(){return e}),n.d(a,"cleanUp",function(){return u}),n.d(a,"isRawHTML",function(){return y});var o=n("./src/js/modal.js"),s=n("./src/js/browser.js");function f(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(c){return typeof c}:f=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},f(t)}function b(t,d){var c="font-family:"+d.font+" !important; font-size: "+d.font_size+" !important; width:100%;";return'
'+t+"
"}function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function l(t,d){for(var c=document.defaultView||window,h="",p=c.getComputedStyle(t,""),m=0;m]*>(.*?)");return d.test(t)}},"./src/js/html.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(e){return typeof e}:f=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(l)}a.default={print:function(r,e){var u=i(r.printable)?r.printable:document.getElementById(r.printable);if(!u){window.console.error("Invalid HTML element id: "+r.printable);return}r.printableElement=b(u,r),r.header&&Object(o.addHeader)(r.printableElement,r),s.default.send(r,e)}};function b(l,r){for(var e=l.cloneNode(),u=Array.prototype.slice.call(l.childNodes),y=0;y"+t.documentTitle+"",t.css&&(Array.isArray(t.css)||(t.css=[t.css]),t.css.forEach(function(g){p.srcdoc+=''})),p.srcdoc+=""),t.type){case"pdf":if(o.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var m=window.open(t.fallbackPrintable,"_blank");m.focus(),t.onIncompatibleBrowser()}catch(g){t.onError(g)}finally{t.showModal&&s.default.close(),t.onLoadingEnd&&t.onLoadingEnd()}else f.default.print(t,p);break;case"image":l.default.print(t,p);break;case"html":b.default.print(t,p);break;case"raw-html":i.default.print(t,p);break;case"json":r.default.print(t,p);break}}}},"./src/js/json.js":function(E,a,n){n.r(a);var o=n("./src/js/functions.js"),s=n("./src/js/print.js");function f(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(r){return typeof r}:f=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},f(i)}a.default={print:function(l,r){if(f(l.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof l.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!l.properties||!Array.isArray(l.properties))throw new Error("Invalid properties array for your JSON data.");l.properties=l.properties.map(function(e){return{field:f(e)==="object"?e.field:e,displayName:f(e)==="object"?e.displayName:e,columnSize:f(e)==="object"&&e.columnSize?e.columnSize+";":100/l.properties.length+"%;"}}),l.printableElement=document.createElement("div"),l.header&&Object(o.addHeader)(l.printableElement,l),l.printableElement.innerHTML+=b(l),s.default.send(l,r)}};function b(i){var l=i.printable,r=i.properties,e='';i.repeatTableHeader&&(e+=""),e+="";for(var u=0;u'+Object(o.capitalizePrint)(r[u].displayName)+"";e+="",i.repeatTableHeader&&(e+=""),e+="";for(var y=0;y";for(var t=0;t1)for(var h=0;h'+d+""}e+=""}return e+="
",e}},"./src/js/modal.js":function(E,a,n){n.r(a);var o={show:function(f){var b="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",i=document.createElement("div");i.setAttribute("style",b),i.setAttribute("id","printJS-Modal");var l=document.createElement("div");l.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var r=document.createElement("div");r.setAttribute("class","printClose"),r.setAttribute("id","printClose"),l.appendChild(r);var e=document.createElement("span");e.setAttribute("class","printSpinner"),l.appendChild(e);var u=document.createTextNode(f.modalMessage);l.appendChild(u),i.appendChild(l),document.getElementsByTagName("body")[0].appendChild(i),document.getElementById("printClose").addEventListener("click",function(){o.close()})},close:function(){var f=document.getElementById("printJS-Modal");f&&f.parentNode.removeChild(f)}};a.default=o},"./src/js/pdf.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js"),s=n("./src/js/functions.js");a.default={print:function(i,l){if(i.base64){var r=Uint8Array.from(atob(i.printable),function(u){return u.charCodeAt(0)});f(i,l,r);return}i.printable=/^(blob|http|\/\/)/i.test(i.printable)?i.printable:window.location.origin+(i.printable.charAt(0)!=="/"?"/"+i.printable:i.printable);var e=new window.XMLHttpRequest;e.responseType="arraybuffer",e.addEventListener("error",function(){Object(s.cleanUp)(i),i.onError(e.statusText,e)}),e.addEventListener("load",function(){if([200,201].indexOf(e.status)===-1){Object(s.cleanUp)(i),i.onError(e.statusText,e);return}f(i,l,e.response)}),e.open("GET",i.printable,!0),e.send()}};function f(b,i,l){var r=new window.Blob([l],{type:"application/pdf"});r=window.URL.createObjectURL(r),i.setAttribute("src",r),o.default.send(b,i)}},"./src/js/print.js":function(E,a,n){n.r(a);var o=n("./src/js/browser.js"),s=n("./src/js/functions.js"),f={send:function(e,u){document.getElementsByTagName("body")[0].appendChild(u);var y=document.getElementById(e.frameId);y.onload=function(){if(e.type==="pdf"){o.default.isFirefox()?setTimeout(function(){return b(y,e)},1e3):b(y,e);return}var t=y.contentWindow||y.contentDocument;if(t.document&&(t=t.document),t.body.appendChild(e.printableElement),e.type!=="pdf"&&e.style){var d=document.createElement("style");d.innerHTML=e.style,t.head.appendChild(d)}var c=t.getElementsByTagName("img");c.length>0?i(Array.from(c)).then(function(){return b(y,e)}):b(y,e)}}};function b(r,e){try{if(r.focus(),o.default.isEdge()||o.default.isIE())try{r.contentWindow.document.execCommand("print",!1,null)}catch{r.contentWindow.print()}else r.contentWindow.print()}catch(u){e.onError(u)}finally{o.default.isFirefox()&&(r.style.visibility="hidden",r.style.left="-1px"),Object(s.cleanUp)(e)}}function i(r){var e=r.map(function(u){if(u.src&&u.src!==window.location.href)return l(u)});return Promise.all(e)}function l(r){return new Promise(function(e){var u=function y(){!r||typeof r.naturalWidth>"u"||r.naturalWidth===0||!r.complete?setTimeout(y,500):e()};u()})}a.default=f},"./src/js/raw-html.js":function(E,a,n){n.r(a);var o=n("./src/js/print.js");a.default={print:function(f,b){f.printableElement=document.createElement("div"),f.printableElement.setAttribute("style","width:100%"),f.printableElement.innerHTML=f.printable,o.default.send(f,b)}}},"./src/sass/index.scss":function(E,a,n){},0:function(E,a,n){E.exports=n("./src/index.js")}}).default})})(v);var P=v.exports;const C=O(P);export{C as p}; diff --git a/assets/print-js@1.6.0-gYKv6oGQ.js.gz b/assets/print-js@1.6.0-gYKv6oGQ.js.gz new file mode 100644 index 00000000..00346300 Binary files /dev/null and b/assets/print-js@1.6.0-gYKv6oGQ.js.gz differ diff --git a/assets/qrcode-Ecs_mS_M.js b/assets/qrcode-Ecs_mS_M.js new file mode 100644 index 00000000..40655051 --- /dev/null +++ b/assets/qrcode-Ecs_mS_M.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1680413645364'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5387'%20width='64'%20height='64'%3e%3cpath%20d='M224%20416.096V224l192-0.096%200.096%20192.096L224%20416.096zM416.096%20160H223.904A64%2064%200%200%200%20160%20223.904v192.192A64%2064%200%200%200%20223.904%20480h192.192A64%2064%200%200%200%20480%20416.096V223.904A64%2064%200%200%200%20416.096%20160zM224%20800.096V608l192-0.096%200.096%20192.096L224%20800.096zM416.096%20544H223.904A64%2064%200%200%200%20160%20607.904v192.192A64%2064%200%200%200%20223.904%20864h192.192A64%2064%200%200%200%20480%20800.096v-192.192A64%2064%200%200%200%20416.096%20544zM608%20416.096V224l192-0.096%200.096%20192.096-192.096%200.096zM800.096%20160h-192.192A64%2064%200%200%200%20544%20223.904v192.192A64%2064%200%200%200%20607.904%20480h192.192A64%2064%200%200%200%20864%20416.096V223.904A64%2064%200%200%200%20800.096%20160zM704%20608a32%2032%200%200%200-32%2032v192a32%2032%200%200%200%2064%200v-192a32%2032%200%200%200-32-32M576%20608a32%2032%200%200%200-32%2032v192a32%2032%200%200%200%2064%200v-192a32%2032%200%200%200-32-32M832%20544a32%2032%200%200%200-32%2032v256a32%2032%200%200%200%2064%200v-256a32%2032%200%200%200-32-32'%20fill='currentColor'%20p-id='5388'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/qrcode-Ecs_mS_M.js.gz b/assets/qrcode-Ecs_mS_M.js.gz new file mode 100644 index 00000000..0670a327 Binary files /dev/null and b/assets/qrcode-Ecs_mS_M.js.gz differ diff --git a/assets/qs@6.11.2-wwOruwhc.js b/assets/qs@6.11.2-wwOruwhc.js new file mode 100644 index 00000000..637ce14b --- /dev/null +++ b/assets/qs@6.11.2-wwOruwhc.js @@ -0,0 +1 @@ +import"./side-channel@1.0.4-hl21th03.js";var m=String.prototype.replace,O=/%20/g,v={RFC1738:"RFC1738",RFC3986:"RFC3986"},y={default:v.RFC3986,formatters:{RFC1738:function(f){return m.call(f,O,"+")},RFC3986:function(f){return String(f)}},RFC1738:v.RFC1738,RFC3986:v.RFC3986},C=y,x=Object.prototype.hasOwnProperty,p=Array.isArray,s=function(){for(var f=[],e=0;e<256;++e)f.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return f}(),R=function(e){for(;e.length>1;){var r=e.pop(),t=r.obj[r.prop];if(p(t)){for(var a=[],l=0;l=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||l===C.RFC1738&&(n===40||n===41)){i+=o.charAt(u);continue}if(n<128){i=i+s[n];continue}if(n<2048){i=i+(s[192|n>>6]+s[128|n&63]);continue}if(n<55296||n>=57344){i=i+(s[224|n>>12]+s[128|n>>6&63]+s[128|n&63]);continue}u+=1,n=65536+((n&1023)<<10|o.charCodeAt(u)&1023),i+=s[240|n>>18]+s[128|n>>12&63]+s[128|n>>6&63]+s[128|n&63]}return i},A=function(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],a=0;a + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/ray-cRawy-kT.js b/assets/ray-cRawy-kT.js new file mode 100644 index 00000000..6e55bd13 --- /dev/null +++ b/assets/ray-cRawy-kT.js @@ -0,0 +1 @@ +import{t as g,R as V,j as d,v as h}from"./index-EwlO25Hg.js";import{l as N}from"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";const R={loadingDescription:{type:String},watchText:{type:Boolean,default:!0},status:{type:String},errorDescription:{type:[String,Object],default:"二维码已过期"},errorActionDescription:{type:String,default:"重新加载"},text:{type:String,required:!0},size:{type:Number,default:160},margin:{type:Number,default:12},correctLevel:{type:Number,default:1,validator:e=>[0,1,2,3].includes(e)},maskPattern:{type:Number},version:{type:Number},components:{type:Object,default:()=>({data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}})},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#ffffff"},autoColor:{type:Boolean,default:!0},backgroundImage:{type:String},backgroundDimming:{type:String,default:"rgba(0, 0, 0, 0)"},gifBackgroundURL:{type:String},gifBackground:{type:ArrayBuffer},whiteMargin:{type:Boolean,default:!0},logoImage:{type:String},logoScale:{type:Number,default:.4},logoMargin:{type:Number,default:6},logoCornerRadius:{type:Number,default:8},dotScale:{type:Number,default:1},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},onReload:{type:[Function,Array],default:null}},v=e=>new Promise((s,c)=>{const t=new XMLHttpRequest;t.responseType="blob",t.onload=()=>{const o=new FileReader;o.onloadend=()=>{s(o.result)},o.onerror=a=>{c(a)},o.onabort=a=>{c(a)},o.readAsArrayBuffer(t.response)},t.open("GET",e),t.send()}),b=Vue.defineComponent({name:"RayQRcode",props:R,setup(e,s){const{expose:c}=s,t=Vue.ref(),o={opacitySpinning:"0.1"};let a,n;const p=async()=>{const{gifBackgroundURL:r}=e;if(r)try{a=await v(r)}catch(l){console.error(l)}},f=()=>{const{gifBackground:r,...l}=e;new N.AwesomeQR({...l,gifBackground:a??void 0}).draw().then(u=>{const{onSuccess:i}=e;i&&d(i,u),t.value=u}).catch(u=>{const{onError:i}=e;i&&d(i,u)})},y=()=>{if(s.slots.errorAction)return;const{onReload:r}=e;r&&d(r)},m=r=>{t.value&&g(t.value,"String")&&h(t.value,r||new Date().getTime()+".png")};return Vue.watchEffect(()=>{e.watchText?n=Vue.watch(()=>e.text,()=>f()):n==null||n()}),c({downloadQRCode:m}),Vue.onMounted(async()=>{await p(),f()}),Vue.onBeforeUnmount(()=>{n==null||n()}),{qrcodeURL:t,spinOverrides:o,errorActionClick:y}},render(){return Vue.createVNode("div",{class:"ray-qrcode"},[Vue.createVNode(naive.NSpin,{show:this.status==="loading",themeOverrides:this.spinOverrides,description:this.loadingDescription},{default:()=>[Vue.createVNode("img",{src:this.qrcodeURL},null)]}),this.status==="error"?Vue.createVNode("div",{class:"ray-qrcode__error"},[Vue.createVNode("div",{class:"ray-qrcode__error-content"},[g(this.errorDescription,"String")?this.errorDescription:()=>this.errorDescription]),Vue.createVNode("div",{class:"ray-qrcode__error-btn",onClick:this.errorActionClick.bind(this)},[this.$slots.errorAction?this.$slots.errorAction():Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(naive.NButton,{text:!0},{default:()=>this.errorActionDescription,icon:()=>Vue.createVNode(V,{name:"reload",size:"16",color:"#ffffff"},null)})])])]):null])}}),w="/ray-template/assets/ray-axE6w3gG.svg";export{w as L,b as R}; diff --git a/assets/ray-cRawy-kT.js.gz b/assets/ray-cRawy-kT.js.gz new file mode 100644 index 00000000..db439fbe Binary files /dev/null and b/assets/ray-cRawy-kT.js.gz differ diff --git a/assets/ray-o8CoReYt.css b/assets/ray-o8CoReYt.css new file mode 100644 index 00000000..7bcfd374 --- /dev/null +++ b/assets/ray-o8CoReYt.css @@ -0,0 +1 @@ +.ray-qrcode{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.ray-qrcode .ray-qrcode__error{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10;background-color:#000000b3;width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:.938rem 0}.ray-qrcode .ray-qrcode__error .ray-qrcode__error-content{text-align:center;font-size:.938rem;font-weight:500;color:#fff} diff --git a/assets/ray-vB7gcmcu.js b/assets/ray-vB7gcmcu.js new file mode 100644 index 00000000..17d31a77 --- /dev/null +++ b/assets/ray-vB7gcmcu.js @@ -0,0 +1 @@ +const a="/ray-template/assets/ray-axE6w3gG.svg";export{a as default}; diff --git a/assets/reload-LXSqxm9O.js b/assets/reload-LXSqxm9O.js new file mode 100644 index 00000000..99afa723 --- /dev/null +++ b/assets/reload-LXSqxm9O.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1669082370283'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3070'%20width='200'%20height='200'%3e%3cpath%20d='M909.1%20209.3l-56.4%2044.1C775.8%20155.1%20656.2%2092%20521.9%2092%20290%2092%20102.3%20279.5%20102%20511.5%20101.7%20743.7%20289.8%20932%20521.9%20932c181.3%200%20335.8-115%20394.6-276.1%201.5-4.2-0.7-8.9-4.9-10.3l-56.7-19.5c-4.1-1.4-8.6%200.7-10.1%204.8-1.8%205-3.8%2010-5.9%2014.9-17.3%2041-42.1%2077.8-73.7%20109.4-31.6%2031.6-68.4%2056.4-109.3%2073.8-42.3%2017.9-87.4%2027-133.8%2027-46.5%200-91.5-9.1-133.8-27-40.9-17.3-77.7-42.1-109.3-73.8-31.6-31.6-56.4-68.4-73.7-109.4-17.9-42.4-27-87.4-27-133.9s9.1-91.5%2027-133.9c17.3-41%2042.1-77.8%2073.7-109.4%2031.6-31.6%2068.4-56.4%20109.3-73.8%2042.3-17.9%2087.4-27%20133.8-27%2046.5%200%2091.5%209.1%20133.8%2027%2040.9%2017.3%2077.7%2042.1%20109.3%2073.8%209.9%209.9%2019.2%2020.4%2027.8%2031.4l-60.2%2047c-5.3%204.1-3.5%2012.5%203%2014.1l175.6%2043c5%201.2%209.9-2.6%209.9-7.7l0.8-180.9c-0.1-6.6-7.8-10.3-13-6.2z'%20p-id='3071'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/reload-LXSqxm9O.js.gz b/assets/reload-LXSqxm9O.js.gz new file mode 100644 index 00000000..01ba8539 Binary files /dev/null and b/assets/reload-LXSqxm9O.js.gz differ diff --git a/assets/rely-19SjH3Lv.js b/assets/rely-19SjH3Lv.js new file mode 100644 index 00000000..13db8746 --- /dev/null +++ b/assets/rely-19SjH3Lv.js @@ -0,0 +1 @@ +const c="data:image/svg+xml,%3csvg%20t='1669019135871'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6207'%20width='200'%20height='200'%3e%3cpath%20d='M432.541809%20908.452357c-13.634532%200-27.871791-3.208065-42.314735-9.532097l-196.059328-85.830831c-51.599192-22.587438-92.018763-79.652108-92.018763-129.911792L102.148983%20424.346661c0-42.561351%2028.876678-72.28635%2070.224388-72.28635%2013.636578%200%2027.873838%203.207042%2042.317805%209.533121l196.059328%2085.837994c51.597145%2022.589484%2092.015693%2079.649038%2092.015693%20129.902582l0%20258.830977C502.766197%20878.726336%20473.889519%20908.452357%20432.541809%20908.452357zM172.373371%20403.225621c-17.083074%200-19.059078%2012.054547-19.059078%2021.12104l0%20258.830977c0%2029.924543%2028.678156%2068.729338%2061.372789%2083.041298l196.063421%2085.831854c7.823176%203.426029%2015.357779%205.236258%2021.792329%205.236258%2017.083074%200%2019.059078-12.054547%2019.059078-21.123087L451.60191%20577.334008c0-29.919427-28.677133-68.720128-61.370743-83.033112l-196.062398-85.839017C186.34457%20405.03585%20178.808944%20403.225621%20172.373371%20403.225621z'%20p-id='6208'%20fill='currentColor'%3e%3c/path%3e%3cpath%20d='M620.67563%20908.452357%20620.67563%20908.452357c-38.881542-0.001023-66.035996-29.727045-66.035996-72.288396L554.639634%20577.334008c0-49.874921%2036.876885-106.759489%2083.953064-129.503493l177.675632-85.839017c13.631462-6.589069%2027.149337-9.93221%2040.172955-9.93221%2038.883589%200%2066.040089%2029.724998%2066.040089%2072.28635l0%20258.830977c0%2049.875944-36.876885%20106.764606-83.95511%20129.511679l-177.676655%2085.832877C647.216099%20905.109216%20633.697201%20908.452357%20620.67563%20908.452357zM856.441285%20403.225621c-5.174859%200-11.366885%201.672082-17.910928%204.835122L660.849608%20493.901807c-29.322839%2014.166651-55.044664%2053.152571-55.044664%2083.432201l0%20258.830977c0%2021.122063%2011.192923%2021.122063%2014.870686%2021.123087%205.174859%200%2011.367909-1.672082%2017.913998-4.835122l177.678702-85.833901c29.323862-14.168698%2055.047734-53.159734%2055.047734-83.441411L871.316064%20424.346661C871.316064%20403.225621%20860.120071%20403.225621%20856.441285%20403.225621z'%20p-id='6209'%20fill='currentColor'%3e%3c/path%3e%3cpath%20d='M520.643356%20416.470273c-0.004093%200-0.005117%200-0.00921%200-33.103956-0.001023-67.656913-5.960759-94.799086-16.35141l-208.099549-79.613222c-15.587-5.957689-28.178783-13.105482-37.417191-21.24179-15.425318-13.582343-18.788925-27.503401-18.894326-36.788881-0.130983-11.576663%204.572132-33.008788%2037.553291-46.482661l224.342488-91.591021c22.662139-9.252735%2049.824779-11.193947%2068.62189-11.193947%2033.093722%200%2067.638493%205.954619%2094.776573%2016.338107l208.109782%2079.622432c15.585977%205.957689%2028.179806%2013.106506%2037.420261%2021.242813%2015.426341%2013.583366%2018.789948%2027.505447%2018.895349%2036.791951%200.130983%2011.576663-4.573155%2033.008788-37.555337%2046.479591l-224.345558%2091.589998C566.596967%20414.525991%20539.438421%20416.470273%20520.643356%20416.470273zM217.706859%20263.614933c3.816932%202.592035%209.69378%205.810333%2018.303878%209.101285l208.111828%2079.617315c21.533432%208.242731%2049.420573%2012.970406%2076.513628%2012.971429%200.001023%200%200.005117%200%200.00614%200%2019.794835%200%2037.744649-2.696412%2049.252751-7.399527l224.349651-91.592045c0.209778-0.084934%200.413416-0.170892%200.61296-0.254803-3.816932-2.592035-9.695826-5.810333-18.305925-9.101285L568.433802%20177.331801c-21.527292-8.236592-49.40727-12.960173-76.493162-12.960173-19.803022%200-37.765115%202.696412-49.282427%207.398504l-224.337371%2091.588975C218.111065%20263.446088%20217.906403%20263.531022%20217.706859%20263.614933z'%20p-id='6210'%20fill='currentColor'%3e%3c/path%3e%3cpath%20d='M679.315168%20563.803853c0%2061.606103%200%20123.212206%200%20184.818309%2022.472827-23.835871%2044.945655-47.670719%2067.418482-71.506591%2018.933211-20.080338%2042.513256-4.065596%2067.984371%202.351558%200-61.211107%200-122.422214%200-183.633321C769.583055%20518.490831%20724.448088%20541.147854%20679.315168%20563.803853z'%20p-id='6211'%20fill='currentColor'%3e%3c/path%3e%3c/svg%3e";export{c as default}; diff --git a/assets/rely-19SjH3Lv.js.gz b/assets/rely-19SjH3Lv.js.gz new file mode 100644 index 00000000..783758a5 Binary files /dev/null and b/assets/rely-19SjH3Lv.js.gz differ diff --git a/assets/resize_h-DOQBjTSz.js b/assets/resize_h-DOQBjTSz.js new file mode 100644 index 00000000..2ad303a6 --- /dev/null +++ b/assets/resize_h-DOQBjTSz.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1670574790983'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='24760'%20width='64'%20height='64'%3e%3cpath%20fill='currentColor'%20d='M844.288%20548.827429H179.712l68.717714%2068.699428a36.571429%2036.571429%200%200%201-51.730285%2051.730286l-129.28-129.298286a37.229714%2037.229714%200%200%201-0.914286-0.950857A36.48%2036.48%200%200%201%2054.857143%20512.256c0-9.014857%203.254857-17.28%208.667428-23.643429%201.152-1.609143%202.450286-3.126857%203.876572-4.571428l129.298286-129.28a36.571429%2036.571429%200%201%201%2051.730285%2051.712L179.2%20475.684571h665.563429l-69.211429-69.211428a36.571429%2036.571429%200%201%201%2051.730286-51.730286l129.28%20129.298286c1.462857%201.444571%202.742857%202.962286%203.894857%204.571428%205.412571%206.363429%208.667429%2014.628571%208.667428%2023.643429%200%2010.569143-4.48%2020.077714-11.648%2026.752a37.229714%2037.229714%200%200%201-0.914285%200.950857l-129.28%20129.28a36.571429%2036.571429%200%201%201-51.730286-51.712l68.717714-68.699428z'%20p-id='24761'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/resize_h-DOQBjTSz.js.gz b/assets/resize_h-DOQBjTSz.js.gz new file mode 100644 index 00000000..a201afe5 Binary files /dev/null and b/assets/resize_h-DOQBjTSz.js.gz differ diff --git a/assets/right_arrow-ZCE0gHo4.js b/assets/right_arrow-ZCE0gHo4.js new file mode 100644 index 00000000..d252eb90 --- /dev/null +++ b/assets/right_arrow-ZCE0gHo4.js @@ -0,0 +1 @@ +const t="data:image/svg+xml,%3csvg%20t='1670552691680'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='21718'%20width='64'%20height='64'%3e%3cpath%20d='M550.4%20490.666667L230.4%20170.666667%20170.666667%20230.4l260.266666%20260.266667L170.666667%20750.933333%20230.4%20810.666667l320-320z%20m298.666667%200L533.333333%20170.666667%20469.333333%20230.4l260.266667%20260.266667-260.266667%20260.266666%2059.733334%2059.733334%20320-320z'%20fill='currentColor'%20p-id='21719'%3e%3c/path%3e%3c/svg%3e";export{t as default}; diff --git a/assets/row_end-BkDswo_g.js b/assets/row_end-BkDswo_g.js new file mode 100644 index 00000000..3e28c998 --- /dev/null +++ b/assets/row_end-BkDswo_g.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1696505506763'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5217'%20width='64'%20height='64'%3e%3cpath%20d='M872.192%20840.533333H150.016a38.741333%2038.741333%200%201%200%200%2077.653334h722.176a38.741333%2038.741333%200%201%200%200-77.653334zM511.402667%2084.906667a38.741333%2038.741333%200%200%200-38.826667%2038.826666v556.117334a38.741333%2038.741333%200%201%200%2077.653333%200V123.733333a38.741333%2038.741333%200%200%200-38.826666-38.826666z'%20fill='currentColor'%20p-id='5218'%3e%3c/path%3e%3cpath%20d='M700.16%20468.394667a37.888%2037.888%200%200%200-27.477333%2011.349333l-161.28%20161.28-161.28-161.28a39.253333%2039.253333%200%200%200-54.954667%200%2039.253333%2039.253333%200%200%200%200%2054.954667l188.757333%20188.757333a39.253333%2039.253333%200%200%200%2054.954667%200l188.757333-188.757333a39.253333%2039.253333%200%200%200%200-54.954667%2040.533333%2040.533333%200%200%200-27.477333-11.349333z'%20fill='currentColor'%20p-id='5219'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/row_end-BkDswo_g.js.gz b/assets/row_end-BkDswo_g.js.gz new file mode 100644 index 00000000..3d61998e Binary files /dev/null and b/assets/row_end-BkDswo_g.js.gz differ diff --git a/assets/row_head-yo3TQzYk.js b/assets/row_head-yo3TQzYk.js new file mode 100644 index 00000000..989fcf3b --- /dev/null +++ b/assets/row_head-yo3TQzYk.js @@ -0,0 +1 @@ +const a="data:image/svg+xml,%3csvg%20t='1696505610024'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10345'%20width='64'%20height='64'%3e%3cpath%20d='M872.192%20183.466667H150.016a38.741333%2038.741333%200%201%201%200-77.653334h722.176a38.741333%2038.741333%200%201%201%200%2077.653334z%20m-360.789333%20755.626666a38.741333%2038.741333%200%200%201-38.826667-38.826666V344.149333a38.741333%2038.741333%200%201%201%2077.653333%200v556.117334a38.741333%2038.741333%200%200%201-38.826666%2038.826666z'%20fill='currentColor'%20p-id='10346'%3e%3c/path%3e%3cpath%20d='M700.16%20555.605333a37.888%2037.888%200%200%201-27.477333-11.349333l-161.28-161.28-161.28%20161.28a39.253333%2039.253333%200%200%201-54.954667%200%2039.253333%2039.253333%200%200%201%200-54.954667l188.757333-188.757333a39.253333%2039.253333%200%200%201%2054.954667%200l188.757333%20188.757333a39.253333%2039.253333%200%200%201%200%2054.954667%2040.533333%2040.533333%200%200%201-27.477333%2011.349333z'%20fill='currentColor'%20p-id='10347'%3e%3c/path%3e%3c/svg%3e";export{a as default}; diff --git a/assets/row_head-yo3TQzYk.js.gz b/assets/row_head-yo3TQzYk.js.gz new file mode 100644 index 00000000..ba0a5500 Binary files /dev/null and b/assets/row_head-yo3TQzYk.js.gz differ diff --git a/assets/screenfull@5.2.0-q9gEF-YC.js b/assets/screenfull@5.2.0-q9gEF-YC.js new file mode 100644 index 00000000..56ab1ff0 --- /dev/null +++ b/assets/screenfull@5.2.0-q9gEF-YC.js @@ -0,0 +1,5 @@ +import{g as h}from"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";var m={exports:{}};/*! +* screenfull +* v5.2.0 - 2021-11-03 +* (c) Sindre Sorhus; MIT License +*/(function(c){(function(){var t=typeof window<"u"&&typeof window.document<"u"?window.document:{},o=c.exports,l=function(){for(var e,r=[["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"]],n=0,s=r.length,u={};n{const u=Vue.ref(!1);return Vue.watchEffect(()=>{!e&&n.options.refreshDeps!==!0&&(u.value=Vue.unref(t))}),s instanceof Array?Vue.watch([u,...s],([i])=>{i&&!e&&i&&(r?r():n.refresh())},{deep:!0,immediate:!1}):Vue.watch(u,i=>{!e&&i&&(r?r():n.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!Vue.unref(t))return{stopNow:!0}}}};M.onInit=({ready:n=!0,manual:e})=>({loading:!e&&Vue.unref(n)});const S=new Map,Q=(n,e,t)=>{const s=S.get(n);s!=null&&s.timer&&clearTimeout(s.timer);let r;e>-1&&(r=setTimeout(()=>{S.delete(n)},e)),S.set(n,{...t,timer:r})},W=n=>S.get(n),O=new Map,G=n=>O.get(n),Y=(n,e)=>{O.set(n,e),e.then(t=>(O.delete(n),t)).catch(t=>{throw O.delete(n),t})},V={},z=[],J=(n,e)=>{V[n]&&(V[n].forEach(t=>t(e)),z.forEach(t=>t({type:n,data:e})))},D=(n,e)=>(V[n]||(V[n]=[]),V[n].push(e),function(){const s=V[n].indexOf(e);V[n].splice(s,1)}),X=(n,{cacheKey:e,cacheTime:t=5*60*1e3,staleTime:s=0,setCache:r,getCache:u})=>{const i=Vue.ref(),c=Vue.ref(),a=(o,l)=>{r?r(l):Q(o,t,l),J(o,l.data)},d=(o,l=[])=>u?u(l):W(o);return Vue.watchEffect(()=>{if(!e)return;const o=d(e);o&&Object.hasOwnProperty.call(o,"data")&&(n.state.data=o.data,n.state.params=o.params,(s===-1||new Date().getTime()-o.time<=s)&&(n.state.loading=!1)),i.value=D(e,l=>{n.setState({data:l})})}),Vue.onScopeDispose(()=>{var o;(o=i.value)==null||o.call(i)}),e?{name:"cachePlugin",onBefore:o=>{const l=d(e,o);return!l||!Object.hasOwnProperty.call(l,"data")?{}:s===-1||new Date().getTime()-l.time<=s?{loading:!1,data:l==null?void 0:l.data,returnNow:!0}:{data:l==null?void 0:l.data}},onRequest:(o,l)=>{let v=G(e);return v&&v!==c.value?{servicePromise:v}:(v=o(...l),c.value=v,Y(e,v),{servicePromise:v})},onSuccess:(o,l)=>{var v;e&&((v=i.value)==null||v.call(i),a(e,{data:o,params:l,time:new Date().getTime()}),i.value=D(e,f=>{n.setState({data:f})}))},onMutate:o=>{var l;e&&((l=i.value)==null||l.call(i),a(e,{data:o,params:n.state.params,time:new Date().getTime()}),i.value=D(e,v=>{n.setState({data:v})}))}}:{}},Z=(n,{debounceWait:e,debounceLeading:t,debounceTrailing:s,debounceMaxWait:r})=>{const u=Vue.ref(),i=Vue.computed(()=>{const c={},a=Vue.unref(t),d=Vue.unref(s),o=Vue.unref(r);return a!==void 0&&(c.leading=a),d!==void 0&&(c.trailing=d),o!==void 0&&(c.maxWait=o),c});return Vue.watchEffect(c=>{if(Vue.unref(e)){const a=n.runAsync.bind(n);u.value=I(d=>{d()},Vue.unref(e),i.value),n.runAsync=(...d)=>new Promise((o,l)=>{var v;(v=u.value)==null||v.call(u,()=>{a(...d).then(o).catch(l)})}),c(()=>{var d;(d=u.value)==null||d.cancel(),n.runAsync=a})}}),Vue.unref(e)?{name:"debouncePlugin",onCancel:()=>{var c;(c=u.value)==null||c.cancel()}}:{}};var K=Object.defineProperty,k=(n,e,t)=>e in n?K(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,L=(n,e,t)=>(k(n,typeof e!="symbol"?e+"":e,t),t);class ee{constructor(){L(this,"table",{}),L(this,"hashTable",{})}insert(e){const t=Symbol(e);return this.table[e]=!0,this.hashTable[t]=e,t}find(e){return this.hashTable[e]}}new ee;var te=Object.defineProperty,ne=(n,e,t)=>e in n?te(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,$=(n,e,t)=>(ne(n,typeof e!="symbol"?e+"":e,t),t);class se{constructor(){$(this,"requestInstances",new Map),$(this,"listeners",[])}emit(e){this.listeners.forEach(t=>t(e))}subscribe(e){return this.listeners.push(e),()=>{const t=this.listeners.indexOf(e);this.listeners.splice(t,1)}}insert(e,t){this.requestInstances.set(e,{...t}),this.emit({key:e,...t})}update(e,t){this.has(e)&&this.requestInstances.set(e,{...this.requestInstances.get(e),...t})}has(e){return this.requestInstances.has(e)}reset(e){if(this.requestInstances.has(e)){const t=this.requestInstances.get(e);this.requestInstances.clear(),this.insert(e,t)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new se;const re=(n,{loadingDelay:e})=>{const t=Vue.ref();if(!Vue.unref(e))return{};const s=()=>{t.value&&clearTimeout(t.value)};return{name:"loadingDelayPlugin",onBefore:()=>(s(),t.value=setTimeout(()=>{n.setState({loading:!0})},Vue.unref(e)),{loading:!1}),onFinally:()=>{s()},onCancel:()=>{s()}}};function A(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const ie=!!(typeof window<"u"&&window.document&&window.document.createElement);function F(){return A()?document.visibilityState!=="hidden":!0}const w=[];function ue(n){return w.push(n),function(){const t=w.indexOf(n);w.splice(t,1)}}if(A()){const n=()=>{if(F())for(let e=0;e{const r=Vue.ref(),u=Vue.ref(),i=Vue.ref(0),c=()=>{var a;r.value&&clearInterval(r.value),(a=u.value)==null||a.call(u)};return Vue.watchEffect(()=>{Vue.unref(e)||c()}),Vue.unref(e)?{name:"pollingPlugin",onBefore:()=>{c()},onError:()=>{i.value+=1},onSuccess:()=>{i.value=0},onFinally:()=>{s===-1||s!==-1&&i.value<=s?r.value=setTimeout(()=>{!t&&!F()?u.value=ue(()=>{n.refresh()}):n.refresh()},Vue.unref(e)):i.value=0},onCancel:()=>{c()}}:{}};function le(n,e){let t=!1;return(...s)=>{t||(t=!0,n(...s),setTimeout(()=>{t=!1},e))}}function ae(){return A()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const E=[];function ce(n){return E.push(n),function(){const t=E.indexOf(n);t>-1&&E.splice(t,1)}}if(ie){const n=()=>{if(!(!F()||!ae()))for(let e=0;e{const s=Vue.ref(),r=()=>{var u;(u=s.value)==null||u.call(s)};return Vue.watchEffect(u=>{if(Vue.unref(e)){const i=le(n.refresh.bind(n),Vue.unref(t));s.value=ce(()=>{i()})}u(()=>{r()})}),Vue.onScopeDispose(()=>{r()}),{name:"refreshOnWindowFocusPlugin"}},de=(n,{retryInterval:e,retryCount:t})=>{const s=Vue.ref(),r=Vue.ref(0),u=Vue.ref(!1);return t?{name:"retryPlugin",onBefore:()=>{u.value||(r.value=0),u.value=!1,s.value&&clearTimeout(s.value)},onSuccess:()=>{r.value=0},onError:()=>{if(r.value+=1,t===-1||r.value<=t){const i=e??Math.min(1e3*2**r.value,3e4);s.value=setTimeout(()=>{u.value=!0,n.refresh()},i)}else r.value=0},onCancel:()=>{r.value=0,s.value&&clearTimeout(s.value)}}:{}},he=(n,{throttleWait:e,throttleLeading:t,throttleTrailing:s})=>{const r=Vue.computed(()=>{const i={};return Vue.unref(t)!==void 0&&(i.leading=Vue.unref(t)),Vue.unref(s)!==void 0&&(i.trailing=Vue.unref(s)),i}),u=Vue.computed(()=>j(i=>{i()},Vue.unref(e),r.value));return Vue.watchEffect(i=>{if(Vue.unref(e)){const c=n.runAsync.bind(n);n.runAsync=(...a)=>new Promise((d,o)=>{var l;(l=u.value)==null||l.call(u,()=>{c(...a).then(d).catch(o)})}),i(()=>{var a;n.runAsync=c,(a=u.value)==null||a.cancel()})}}),Vue.unref(e)?{name:"throttlePlugin",onCancel:()=>{var i;(i=u.value)==null||i.cancel()}}:{}},N=n=>typeof n=="function",ve=n=>typeof n=="boolean";var me=Object.defineProperty,pe=(n,e,t)=>e in n?me(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,R=(n,e,t)=>(pe(n,typeof e!="symbol"?e+"":e,t),t);class be{constructor(e,t,s,r={}){R(this,"pluginImpls"),R(this,"count",0),R(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),R(this,"previousValidData"),this.serviceRef=e,this.options=t,this.setUpdateData=s,this.initState=r,this.state={...this.state,loading:!t.manual,...r}}setState(e={}){this.state={...this.state,...e},this.setUpdateData(this.state)}setData(e,t){console.warn("Please use 'setFetchState' instead of 'setData'"),t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}setFetchState(e,t){t instanceof Array?t.forEach(s=>{this.state[s]=e,this.setUpdateData(e,s)}):(this.state[t]=e,this.setUpdateData(e,t))}runPluginHandler(e,...t){var s,r,u;const i=(u=(r=(s=this.pluginImpls)==null?void 0:s.map(c=>{var a;return(a=c[e])==null?void 0:a.call(c,...t)}))!=null?r:[])==null?void 0:u.filter(Boolean);return Object.assign({},...i)}async runAsync(...e){var t,s,r,u,i,c,a,d,o;this.count+=1;const l=this.count,{stopNow:v=!1,returnNow:f=!1,...p}=this.runPluginHandler("onBefore",e);if(v)return new Promise(()=>{});if(this.setState({loading:!0,params:e,...p}),f)return Promise.resolve(p.data);(s=(t=this.options).onBefore)==null||s.call(t,e);try{let{servicePromise:h}=this.runPluginHandler("onRequest",this.serviceRef.value,e);const b=C=>{var B,q,U,x;if(l!==this.count)return new Promise(()=>{});const g=this.options.formatResult?this.options.formatResult(C):C;return this.setState({data:g,error:void 0,loading:!1}),(q=(B=this.options).onSuccess)==null||q.call(B,g,e),this.runPluginHandler("onSuccess",g,e),this.previousValidData=g,(x=(U=this.options).onFinally)==null||x.call(U,e,g,void 0),l===this.count&&this.runPluginHandler("onFinally",e,g,void 0),g};h||(h=this.serviceRef.value(...e));const P=await h;return b(P)}catch(h){if(l!==this.count)return new Promise(()=>{});throw this.setState({error:h,loading:!1}),(u=(r=this.options).onError)==null||u.call(r,h,e),this.runPluginHandler("onError",h,e),(N((i=this.options)==null?void 0:i.rollbackOnError)&&((c=this.options)!=null&&c.rollbackOnError(e))||ve((a=this.options)==null?void 0:a.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(o=(d=this.options).onFinally)==null||o.call(d,e,void 0,h),l===this.count&&this.runPluginHandler("onFinally",e,void 0,h),h}}run(...e){this.runAsync(...e).catch(t=>{this.options.onError||console.error(t)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(e){const t=N(e)?e(this.state.data):e;this.runPluginHandler("onMutate",t),this.setState({data:t})}}const ge=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function _e(n){return Object.keys(n).filter(t=>["data","loading","params","error"].includes(t)).length===4}function Ve(n,e={},t=[]){const s=Vue.inject(ge,{}),{initialData:r=void 0,manual:u=!1,ready:i=!0,...c}={...s??{},...e??{}},a={manual:u,ready:i,...c},d=Vue.ref(n),o=Vue.reactive({data:r,loading:!1,params:void 0,error:void 0}),l=(h,b)=>{b?o[b]=h:_e(h)&&(o.data=h.data,o.loading=h.loading,o.error=h.error,o.params=h.params)},v=t.map(h=>{var b;return(b=h==null?void 0:h.onInit)==null?void 0:b.call(h,a)}).filter(Boolean),f=new be(d,a,l,Object.assign({},...v,o));f.options=a,f.pluginImpls=t.map(h=>h(f,a));const p=Vue.computed(()=>Vue.isRef(i)?i.value:i);if(Vue.watchEffect(()=>{if(!u){const h=f.state.params||e.defaultParams||[];p.value&&f.options.refreshDeps===!0&&d.value&&f.run(...h)}}),!u&&f.options.refreshDeps!==!0){const h=f.state.params||e.defaultParams||[];Vue.unref(i)&&f.run(...h)}return Vue.onScopeDispose(()=>{f.cancel()}),{...Vue.toRefs(o),cancel:f.cancel.bind(f),refresh:f.refresh.bind(f),refreshAsync:f.refreshAsync.bind(f),run:f.run.bind(f),runAsync:f.runAsync.bind(f),mutate:f.mutate.bind(f)}}function Fe(n,e,t){var s;const r=(s=[null,Z,re,oe,fe,he,M,X,de])==null?void 0:s.filter(Boolean);return Ve(n,e,[...t||[],...r])}const we=!!(typeof window<"u"&&window.document&&window.document.createElement);function T(n,e){var t,s;if(!we)return;if(!n)return e;let r;return typeof n=="function"?r=n():Vue.isRef(n)?r=(s=(t=n.value)==null?void 0:t.$el)!=null?s:n.value:r=n,r}function H(n,e){if(n===e)return!0;for(let t=0;t(t,s,r)=>{const u=Vue.ref(!1),i=Vue.ref([]),c=Vue.ref([]),a=Vue.ref();n(()=>{var d;const l=(Array.isArray(r)?r:[r]).map(v=>T(v));if(!u.value){u.value=!0,i.value=l,c.value=s,a.value=t();return}(l.length!==i.value.length||!H(l,i.value)||!H(s,c.value))&&((d=a.value)==null||d.call(a),i.value=l,c.value=s,a.value=t())}),Vue.onUnmounted(()=>{var d;(d=a.value)==null||d.call(a),u.value=!1})};Ee(Vue.watchEffect);var Pe=Object.defineProperty,Re=(n,e,t)=>e in n?Pe(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,_=(n,e,t)=>(Re(n,typeof e!="symbol"?e+"":e,t),t);class Se{constructor(){_(this,"subscriptions",new Map),_(this,"emitEffectCache",new Map),_(this,"useSubscription",(e,t)=>{const s=Vue.ref();Vue.watchEffect(r=>{var u,i;s.value=t;function c(d){s.value&&s.value(d)}const a=(i=(u=this.subscriptions)==null?void 0:u.get(e))!=null?i:[];a.push(c),this.subscriptions.set(e,a),this.emitEffect(e),r(()=>{this.subscriptions.delete(e)})})}),_(this,"emit",(e,...t)=>{if(typeof e=="string"||typeof e=="number"){const s=this.subscriptions.get(e);s==null||s.forEach(r=>{r==null||r({params:y(t),event:e})}),this.emitEffectCache.set(e,{params:y(t),event:e})}else throw new TypeError("event must be string or number !")}),_(this,"emitEffect",e=>{const t=this.emitEffectCache.get(e),s=this.subscriptions.get(e);t&&(s==null||s.forEach(r=>{r==null||r({...t})}))}),_(this,"removeListener",e=>{this.subscriptions.delete(e)}),_(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new Se;const Ce=(n,e)=>{const{onExit:t,onEnter:s,defaultElement:r=document.documentElement}=e||{},u=Vue.ref(t),i=Vue.ref(s),c=Vue.ref(!1),a=f=>{c.value=f},d=()=>{var f,p,h;if(m.isEnabled){const b=T(n,r);if(!m.element)(f=u.value)==null||f.call(u),a(!1),m.off("change",d);else{const P=m.element===b;P?(p=i.value)==null||p.call(i):(h=u.value)==null||h.call(u),a(P)}}},o=()=>{const f=T(n,r);if(f&&m.isEnabled)try{m.request(f),m.on("change",d)}catch(p){console.error(p)}},l=()=>{const f=T(n,r);m.isEnabled&&m.element===f&&m.exit()},v=()=>{c.value?l():o()};return Vue.onUnmounted(()=>{m.isEnabled&&m.off("change",d)}),[Vue.readonly(c),{enterFullscreen:o,exitFullscreen:l,toggleFullscreen:v,isEnabled:m.isEnabled}]};export{Fe as a,Ce as u}; diff --git a/assets/vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js.gz b/assets/vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js.gz new file mode 100644 index 00000000..658fce96 Binary files /dev/null and b/assets/vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js.gz differ diff --git a/assets/vue@3.3.8_typescript@5.2.2-w40geAFS.js b/assets/vue@3.3.8_typescript@5.2.2-w40geAFS.js new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/assets/vue@3.3.8_typescript@5.2.2-w40geAFS.js @@ -0,0 +1 @@ + diff --git a/assets/zh-CN-40amWBBn.js b/assets/zh-CN-40amWBBn.js new file mode 100644 index 00000000..6f76a7ea --- /dev/null +++ b/assets/zh-CN-40amWBBn.js @@ -0,0 +1 @@ +import{e as q}from"./index-EwlO25Hg.js";import"./lodash-es@4.17.21-zBC-oVE3.js";import"./vue-hooks-plus@1.8.5_vue@3.3.8-KaZQIedQ.js";import"./lodash@4.17.21-aCqas35P.js";import"./awesome-qr@2.1.5-rc.0-UnPo3EFD.js";import"./canvas@2.11.2-dZp4QMlu.js";import"./js-binary-schema-parser@2.0.3-CCV6nRej.js";import"./js-cookie@3.0.5-bc0KQLgp.js";import"./screenfull@5.2.0-q9gEF-YC.js";import"./qs@6.11.2-wwOruwhc.js";import"./side-channel@1.0.4-hl21th03.js";import"./get-intrinsic@1.2.1-NE0DZZ3B.js";import"./has-symbols@1.0.3-fNtejGuA.js";import"./has-proto@1.0.1-dzJH2Y5C.js";import"./function-bind@1.1.1-Y6-kkB5s.js";import"./has@1.0.3-rcPLRdvS.js";import"./call-bind@1.0.2-8lNE5ocE.js";import"./@vueuse_core@10.6.1_vue@3.3.8-OY_VXukt.js";import"./@vueuse_shared@10.6.1_vue@3.3.8-fG4vX-4M.js";import"./dayjs@1.11.10-IrZctHvJ.js";import"./@vue_runtime-core@3.3.8-VrcJ4P69.js";import"./@vue_reactivity@3.3.8-4NsB6yaG.js";import"./@vue_shared@3.3.8-W5PO5ES3.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-fNhqB16x.js";import"./clipboard@2.0.11-1jqEMlOW.js";const e="当前环境不支持全屏",B={isEnabledFullscreen:e},J=Object.freeze(Object.defineProperty({__proto__:null,default:B,isEnabledFullscreen:e},Symbol.toStringTag,{value:"Module"})),o="项目配置",t={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},n="界面显示",c="动画效果",K={Title:o,ThemeOptions:t,InterfaceDisplay:n,ContentTransition:c},U=Object.freeze(Object.defineProperty({__proto__:null,ContentTransition:c,InterfaceDisplay:n,ThemeOptions:t,Title:o,default:K},Symbol.toStringTag,{value:"Module"})),i="刷新当前页面",s="锁屏",l="设置",r="Github",a="全屏",_="退出全屏",p="搜索",W={Reload:i,Lock:s,Setting:l,Github:r,FullScreen:a,CancelFullScreen:_,Search:p},X=Object.freeze(Object.defineProperty({__proto__:null,CancelFullScreen:_,FullScreen:a,Github:r,Lock:s,Reload:i,Search:p,Setting:l,default:W},Symbol.toStringTag,{value:"Module"})),m="首页",g="依赖项",u="关于",d="可视化",f="滚动动画",b="请求",h="表格",S="多级菜单(缓存)",O="文档",T="文档 (加速地址)",y="文档(内嵌)",C="办公",D="文档",P="演示",j="表格",v="数字精度",M="指令",R="页面详情模式",z="Mock 数据",N="二维码",I="SVG 图标",L="模板内置 Api",Y={Dashboard:m,Rely:g,RelyAbout:u,Error:"错误页",Echart:d,scrollReveal:f,Axios:b,Table:h,MultiMenu:S,Doc:O,DocLocal:T,DocLocalInside:y,Office:C,Office_Document:D,Office_Presentation:P,Office_Spreadsheet:j,CalculatePrecision:v,Directive:M,RouterDemo:R,Mock:z,QRCode:N,SvgIcon:I,TemplateHooks:L},Z=Object.freeze(Object.defineProperty({__proto__:null,Axios:b,CalculatePrecision:v,Dashboard:m,Directive:M,Doc:O,DocLocal:T,DocLocalInside:y,Echart:d,Mock:z,MultiMenu:S,Office:C,Office_Document:D,Office_Presentation:P,Office_Spreadsheet:j,QRCode:N,Rely:g,RelyAbout:u,RouterDemo:R,SvgIcon:I,Table:h,TemplateHooks:L,default:Y,scrollReveal:f},Symbol.toStringTag,{value:"Module"})),k="项目配置",F={Title:"主题",Dark:"暗色",Light:"明亮",PrimaryColorConfig:"主题色"},w="界面显示",ee={Title:k,ThemeOptions:F,InterfaceDisplay:w},oe=Object.freeze(Object.defineProperty({__proto__:null,InterfaceDisplay:w,ThemeOptions:F,Title:k,default:ee},Symbol.toStringTag,{value:"Module"})),x="注册",A="登录",E="扫码登陆",G="请输入用户名",Q="请输入密码",$="登 陆",H="用户名",V="密码",te={Register:x,Signing:A,QRCodeSigning:E,NamePlaceholder:G,PasswordPlaceholder:Q,Login:$,Name:H,Password:V},ne=Object.freeze(Object.defineProperty({__proto__:null,Login:$,Name:H,NamePlaceholder:G,Password:V,PasswordPlaceholder:Q,QRCodeSigning:E,Register:x,Signing:A,default:te},Symbol.toStringTag,{value:"Module"})),ce=Object.assign({"./zh-CN/globalMessage.json":J,"./zh-CN/headerSettingOptions.json":U,"./zh-CN/headerTooltip.json":X,"./zh-CN/menu.json":Z,"./zh-CN/setting.json":oe,"./zh-CN/views/login/index.json":ne}),ze={message:{...q(ce,"zh-CN")}};export{ze as default}; diff --git a/assets/zh-CN-40amWBBn.js.gz b/assets/zh-CN-40amWBBn.js.gz new file mode 100644 index 00000000..27d07d60 Binary files /dev/null and b/assets/zh-CN-40amWBBn.js.gz differ diff --git a/assets/zrender@5.4.4-fafgp4mQ.js b/assets/zrender@5.4.4-fafgp4mQ.js new file mode 100644 index 00000000..5ef3a4c3 --- /dev/null +++ b/assets/zrender@5.4.4-fafgp4mQ.js @@ -0,0 +1,16 @@ +import{_ as H}from"./tslib@2.3.0-21A5UWR7.js";var ts=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),rs=function(){function e(){this.browser=new ts,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}(),or=new rs;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(or.wxa=!0,or.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?or.worker=!0:typeof navigator>"u"?(or.node=!0,or.svgSupported=!0):es(navigator.userAgent,or);function es(e,t){var r=t.browser,i=e.match(/Firefox\/([\d.]+)/),n=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);i&&(r.firefox=!0,r.version=i[1]),n&&(r.ie=!0,r.version=n[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 K=or;var vn=12,is="sans-serif",ur=vn+"px "+is,ns=20,as=100,os="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function ss(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r=0)s=o*r.length;else for(var f=0;f>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[f]+":0",n[h]+":0",i[1-f]+":auto",n[1-h]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function Os(e,t,r){for(var i=r?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],f=!0,h=0;h<4;h++){var u=e[h].getBoundingClientRect(),v=2*h,l=u.left,c=u.top;o.push(l,c),f=f&&a&&l===a[v]&&c===a[v+1],s.push(e[h].offsetLeft,e[h].offsetTop)}return f&&n?n:(t.srcCoords=o,t[i]=r?Rn(s,o):Rn(o,s))}function Za(e){return e.nodeName.toUpperCase()==="CANVAS"}var Bs=/([&<>"'])/g,Hs={"&":"&","<":"<",">":">",'"':""","'":"'"};function gv(e){return e==null?"":(e+"").replace(Bs,function(t,r){return Hs[r]})}var zs=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ri=[],ks=K.browser.firefox&&+K.browser.version.split(".")[0]<39;function Ni(e,t,r,i){return r=r||{},i?Dn(e,t,r):ks&&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):Dn(e,t,r),r}function Dn(e,t,r){if(K.domSupported&&e.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(Za(e)){var a=e.getBoundingClientRect();r.zrX=i-a.left,r.zrY=n-a.top;return}else if($i(ri,e,i,n)){r.zrX=ri[0],r.zrY=ri[1];return}}r.zrX=r.zrY=0}function _n(e){return e||window.event}function pt(e,t,r){if(t=_n(t),t.zrX!=null)return t;var i=t.type,n=i&&i.indexOf("touch")>=0;if(n){var o=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Ni(e,o,t,r)}else{Ni(e,t,t,r);var a=$s(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&zs.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $s(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,i=e.deltaY;if(r==null||i==null)return t;var n=Math.abs(i!==0?i:r),a=i>0?-1:i<0?1:r>0?-1:1;return 3*n*a}function Ns(e,t,r,i){e.addEventListener(t,r,i)}function Ws(e,t,r,i){e.removeEventListener(t,r,i)}var Ys=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},Gs=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,i){return this._doTrack(t,r,i),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:r,event:t},o=0,s=n.length;o1&&i&&i.length>1){var a=xn(i)/xn(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Xs(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Be(){return[1,0,0,1,0,0]}function qs(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Zs(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 ii(e,t,r){var i=t[0]*r[0]+t[2]*r[1],n=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],f=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=i,e[1]=n,e[2]=a,e[3]=o,e[4]=s,e[5]=f,e}function An(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 Us(e,t,r){var i=t[0],n=t[2],a=t[4],o=t[1],s=t[3],f=t[5],h=Math.sin(r),u=Math.cos(r);return e[0]=i*u+o*h,e[1]=-i*h+o*u,e[2]=n*u+s*h,e[3]=-n*h+u*s,e[4]=u*a+h*f,e[5]=u*f-h*a,e}function Vs(e,t,r){var i=r[0],n=r[1];return e[0]=t[0]*i,e[1]=t[1]*n,e[2]=t[2]*i,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*n,e}function Qs(e,t){var r=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],f=r*o-a*i;return f?(f=1/f,e[0]=o*f,e[1]=-a*f,e[2]=-i*f,e[3]=r*f,e[4]=(i*s-o*n)*f,e[5]=(a*n-r*s)*f,e):null}var Ks=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,i=this.y-t.y;return Math.sqrt(r*r+i*i)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,i=this.y-t.y;return r*r+i*i},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,i=this.y;return this.x=t[0]*r+t[2]*i+t[4],this.y=t[1]*r+t[3]*i+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,i){t.x=r,t.y=i},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,i){t.x=r.x+i.x,t.y=r.y+i.y},e.sub=function(t,r,i){t.x=r.x-i.x,t.y=r.y-i.y},e.scale=function(t,r,i){t.x=r.x*i,t.y=r.y*i},e.scaleAndAdd=function(t,r,i,n){t.x=r.x+i.x*n,t.y=r.y+i.y*n},e.lerp=function(t,r,i,n){var a=1-n;t.x=a*r.x+n*i.x,t.y=a*r.y+n*i.y},e}();const F=Ks;var se=Math.min,fe=Math.max,Yt=new F,Gt=new F,Xt=new F,qt=new F,Br=new F,Hr=new F,Js=function(){function e(t,r,i,n){i<0&&(t=t+i,i=-i),n<0&&(r=r+n,n=-n),this.x=t,this.y=r,this.width=i,this.height=n}return e.prototype.union=function(t){var r=se(t.x,this.x),i=se(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=fe(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=fe(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=r,this.y=i},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,i=t.width/r.width,n=t.height/r.height,a=Be();return An(a,a,[-r.x,-r.y]),Vs(a,a,[i,n]),An(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 i=this,n=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,f=t.x,h=t.x+t.width,u=t.y,v=t.y+t.height,l=!(a_&&(_=m,g_&&(_=T,p=i.x&&t<=i.x+i.width&&r>=i.y&&r<=i.y+i.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,i){if(!i){t!==r&&e.copy(t,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=r.x*n+o,t.y=r.y*a+s,t.width=r.width*n,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}Yt.x=Xt.x=r.x,Yt.y=qt.y=r.y,Gt.x=qt.x=r.x+r.width,Gt.y=Xt.y=r.y+r.height,Yt.transform(i),qt.transform(i),Gt.transform(i),Xt.transform(i),t.x=se(Yt.x,Gt.x,Xt.x,qt.x),t.y=se(Yt.y,Gt.y,Xt.y,qt.y);var f=fe(Yt.x,Gt.x,Xt.x,qt.x),h=fe(Yt.y,Gt.y,Xt.y,qt.y);t.width=f-t.x,t.height=h-t.y},e}();const N=Js;var Ua="silent";function js(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:tf}}function tf(){Ys(this.event)}var rf=function(e){H(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}(Fr),zr=function(){function e(t,r){this.x=t,this.y=r}return e}(),ef=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ni=new N(0,0,0,0),Va=function(e){H(t,e);function t(r,i,n,a,o){var s=e.call(this)||this;return s._hovered=new zr(0,0),s.storage=r,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new rf,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new As(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(ft(ef,function(i){r.on&&r.on(i,this[i],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var i=r.zrX,n=r.zrY,a=Qa(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var f=this._hovered=a?new zr(i,n):this.findHover(i,n),h=f.target,u=this.proxy;u.setCursor&&u.setCursor(h?h.cursor:"default"),s&&h!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(f,"mousemove",r),h&&h!==s&&this.dispatchToElement(f,"mouseover",r)},t.prototype.mouseout=function(r){var i=r.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new zr(0,0)},t.prototype.dispatch=function(r,i){var n=this[r];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var i=this.proxy;i.setCursor&&i.setCursor(r)},t.prototype.dispatchToElement=function(r,i,n){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+i,s=js(i,r,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(f){typeof f[o]=="function"&&f[o].call(f,s),f.trigger&&f.trigger(i,s)}))}},t.prototype.findHover=function(r,i,n){var a=this.storage.getDisplayList(),o=new zr(r,i);if(En(a,o,r,i,n),this._pointerSize&&!o.target){for(var s=[],f=this._pointerSize,h=f/2,u=new N(r-h,i-h,f,f),v=a.length-1;v>=0;v--){var l=a[v];l!==n&&!l.ignore&&!l.ignoreCoarsePointer&&(!l.parent||!l.parent.ignoreCoarsePointer)&&(ni.copy(l.getBoundingRect()),l.transform&&ni.applyTransform(l.transform),ni.intersect(u)&&s.push(l))}if(s.length)for(var c=4,_=Math.PI/12,g=Math.PI*2,d=0;d4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function nf(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var i=e,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,r))return!1;i.silent&&(n=!0)}var s=i.__hostTarget;i=s||i.parent}return n?Ua:!0}return!1}function En(e,t,r,i,n){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==n&&!o.ignore&&(s=nf(o,r,i))&&(!t.topTarget&&(t.topTarget=o),s!==Ua)){t.target=o;break}}}function Qa(e,t,r){var i=e.painter;return t<0||t>i.getWidth()||r<0||r>i.getHeight()}const af=Va;var Ka=32,kr=7;function of(e){for(var t=0;e>=Ka;)t|=e&1,e>>=1;return e+t}function In(e,t,r,i){var n=t+1;if(n===r)return 1;if(i(e[n++],e[t])<0){for(;n=0;)n++;return n-t}function sf(e,t,r){for(r--;t>>1,n(a,e[f])<0?s=f:o=f+1;var h=i-o;switch(h){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(;h>0;)e[o+h]=e[o+h-1],h--}e[o]=a}}function ai(e,t,r,i,n,a){var o=0,s=0,f=1;if(a(e,t[r+n])>0){for(s=i-n;f0;)o=f,f=(f<<1)+1,f<=0&&(f=s);f>s&&(f=s),o+=n,f+=n}else{for(s=n+1;fs&&(f=s);var h=o;o=n-f,f=n-h}for(o++;o>>1);a(e,t[r+u])>0?o=u+1:f=u}return f}function oi(e,t,r,i,n,a){var o=0,s=0,f=1;if(a(e,t[r+n])<0){for(s=n+1;fs&&(f=s);var h=o;o=n-f,f=n-h}else{for(s=i-n;f=0;)o=f,f=(f<<1)+1,f<=0&&(f=s);f>s&&(f=s),o+=n,f+=n}for(o++;o>>1);a(e,t[r+u])<0?f=u:o=u+1}return f}function ff(e,t){var r=kr,i,n,a=0;e.length;var o=[];i=[],n=[];function s(c,_){i[a]=c,n[a]=_,a+=1}function f(){for(;a>1;){var c=a-2;if(c>=1&&n[c-1]<=n[c]+n[c+1]||c>=2&&n[c-2]<=n[c]+n[c-1])n[c-1]n[c+1])break;u(c)}}function h(){for(;a>1;){var c=a-2;c>0&&n[c-1]=kr||M>=kr);if(C)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),_===1){for(p=0;p=0;p--)e[w+p]=e[b+p];e[T]=o[m];return}for(var M=r;;){var C=0,L=0,P=!1;do if(t(o[m],e[y])<0){if(e[T--]=e[y--],C++,L=0,--_===0){P=!0;break}}else if(e[T--]=o[m--],L++,C=0,--d===1){P=!0;break}while((C|L)=0;p--)e[w+p]=e[b+p];if(_===0){P=!0;break}}if(e[T--]=o[m--],--d===1){P=!0;break}if(L=d-ai(e[y],o,0,d,d-1,t),L!==0){for(T-=L,m-=L,d-=L,w=T+1,b=m+1,p=0;p=kr||L>=kr);if(P)break;M<0&&(M=0),M+=2}if(r=M,r<1&&(r=1),d===1){for(T-=_,y-=_,w=T+1,b=y+1,p=_-1;p>=0;p--)e[w+p]=e[b+p];e[T]=o[m]}else{if(d===0)throw new Error;for(b=T-(d-1),p=0;ps&&(f=s),Fn(e,r,r+f,r+a,t),a=f}o.pushRun(r,a),o.mergeRuns(),n-=a,r+=a}while(n!==0);o.forceMergeRuns()}}var ot=1,qr=2,wr=4,On=!1;function si(){On||(On=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Bn(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var uf=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Bn}return e.prototype.traverse=function(t,r){for(var i=0;i0&&(u.__clipPaths=[]),isNaN(u.z)&&(si(),u.z=0),isNaN(u.z2)&&(si(),u.z2=0),isNaN(u.zlevel)&&(si(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var v=t.getDecalElement&&t.getDecalElement();v&&this._updateAndAddDisplayable(v,r,i);var l=t.getTextGuideLine();l&&this._updateAndAddDisplayable(l,r,i);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,r,i)}},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,i=t.length;r=0&&this._roots.splice(n,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 vf=uf;var Ja;Ja=K.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const Wi=Ja;var xe={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,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)))},elasticOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*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)/i)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.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-xe.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?xe.bounceIn(e*2)*.5:xe.bounceOut(e*2-1)*.5+.5}};const ja=xe;var he=Math.pow,Bt=Math.sqrt,He=1e-8,to=1e-4,Hn=Bt(3),ue=1/3,Lt=Ir(),ct=Ir(),xr=Ir();function Ot(e){return e>-He&&eHe||e<-He}function U(e,t,r,i,n){var a=1-n;return a*a*(a*e+3*n*t)+n*n*(n*i+3*a*r)}function zn(e,t,r,i,n){var a=1-n;return 3*(((t-e)*a+2*(r-t)*n)*a+(i-r)*n*n)}function eo(e,t,r,i,n,a){var o=i+3*(t-r)-e,s=3*(r-t*2+e),f=3*(t-e),h=e-n,u=s*s-3*o*f,v=s*f-9*o*h,l=f*f-3*s*h,c=0;if(Ot(u)&&Ot(v))if(Ot(s))a[0]=0;else{var _=-f/s;_>=0&&_<=1&&(a[c++]=_)}else{var g=v*v-4*u*l;if(Ot(g)){var d=v/u,_=-s/o+d,p=-d/2;_>=0&&_<=1&&(a[c++]=_),p>=0&&p<=1&&(a[c++]=p)}else if(g>0){var y=Bt(g),m=u*s+1.5*o*(-v+y),T=u*s+1.5*o*(-v-y);m<0?m=-he(-m,ue):m=he(m,ue),T<0?T=-he(-T,ue):T=he(T,ue);var _=(-s-(m+T))/(3*o);_>=0&&_<=1&&(a[c++]=_)}else{var b=(2*u*s-3*o*v)/(2*Bt(u*u*u)),w=Math.acos(b)/3,M=Bt(u),C=Math.cos(w),_=(-s-2*M*C)/(3*o),p=(-s+M*(C+Hn*Math.sin(w)))/(3*o),L=(-s+M*(C-Hn*Math.sin(w)))/(3*o);_>=0&&_<=1&&(a[c++]=_),p>=0&&p<=1&&(a[c++]=p),L>=0&&L<=1&&(a[c++]=L)}}return c}function io(e,t,r,i,n){var a=6*r-12*t+6*e,o=9*t+3*i-3*e-9*r,s=3*t-3*e,f=0;if(Ot(o)){if(ro(a)){var h=-s/a;h>=0&&h<=1&&(n[f++]=h)}}else{var u=a*a-4*o*s;if(Ot(u))n[0]=-a/(2*o);else if(u>0){var v=Bt(u),h=(-a+v)/(2*o),l=(-a-v)/(2*o);h>=0&&h<=1&&(n[f++]=h),l>=0&&l<=1&&(n[f++]=l)}}return f}function kt(e,t,r,i,n,a){var o=(t-e)*n+e,s=(r-t)*n+t,f=(i-r)*n+r,h=(s-o)*n+o,u=(f-s)*n+s,v=(u-h)*n+h;a[0]=e,a[1]=o,a[2]=h,a[3]=v,a[4]=v,a[5]=u,a[6]=f,a[7]=i}function lf(e,t,r,i,n,a,o,s,f,h,u){var v,l=.005,c=1/0,_,g,d,p;Lt[0]=f,Lt[1]=h;for(var y=0;y<1;y+=.05)ct[0]=U(e,r,n,o,y),ct[1]=U(t,i,a,s,y),d=Dr(Lt,ct),d=0&&d=0&&h<=1&&(n[f++]=h)}}else{var u=o*o-4*a*s;if(Ot(u)){var h=-o/(2*a);h>=0&&h<=1&&(n[f++]=h)}else if(u>0){var v=Bt(u),h=(-o+v)/(2*a),l=(-o-v)/(2*a);h>=0&&h<=1&&(n[f++]=h),l>=0&&l<=1&&(n[f++]=l)}}return f}function no(e,t,r){var i=e+r-2*t;return i===0?.5:(e-t)/i}function ze(e,t,r,i,n){var a=(t-e)*i+e,o=(r-t)*i+t,s=(o-a)*i+a;n[0]=e,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=r}function pf(e,t,r,i,n,a,o,s,f){var h,u=.005,v=1/0;Lt[0]=o,Lt[1]=s;for(var l=0;l<1;l+=.05){ct[0]=Q(e,r,n,l),ct[1]=Q(t,i,a,l);var c=Dr(Lt,ct);c=0&&c=1?1:eo(0,i,a,1,f,s)&&U(0,n,o,1,s[0])}}}var yf=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||Sr,this.ondestroy=t.ondestroy||Sr,this.onrestart=t.onrestart||Sr,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 i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;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 f=n%i;this._startTime=t-f,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=Ve(t)?t:ja[t]||ao(t)},e}();const mf=yf;var oo=function(){function e(t){this.value=t}return e}(),wf=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new oo(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,i=t.next;r?r.next=i:this.head=i,i?i.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}(),Tf=function(){function e(t){this._list=new wf,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var f=i.head;i.remove(f),delete n[f.key],a=f.value,this._lastRemovedEntry=f}s?s.value=r:s=new oo(r),s.key=t,i.insertEntry(s),n[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],i=this._list;if(r!=null)return r!==i.tail&&(i.remove(r),i.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const gn=Tf;var $n={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 Ht(e){return e=Math.round(e),e<0?0:e>255?255:e}function Yi(e){return e<0?0:e>1?1:e}function fi(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Ht(parseFloat(t)/100*255):Ht(parseInt(t,10))}function Jr(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Yi(parseFloat(t)/100):Yi(parseFloat(t))}function hi(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 ve(e,t,r){return e+(t-e)*r}function vt(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=i,e[3]=n,e}function Gi(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var so=new gn(20),le=null;function cr(e,t){le&&Gi(le,t),le=so.put(e,le||t.slice())}function zt(e,t){if(e){t=t||[];var r=so.get(e);if(r)return Gi(t,r);e=e+"";var i=e.replace(/ /g,"").toLowerCase();if(i in $n)return Gi(t,$n[i]),cr(e,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){vt(t,0,0,0,1);return}return vt(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),cr(e,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){vt(t,0,0,0,1);return}return vt(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),cr(e,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var f=i.substr(0,o),h=i.substr(o+1,s-(o+1)).split(","),u=1;switch(f){case"rgba":if(h.length!==4)return h.length===3?vt(t,+h[0],+h[1],+h[2],1):vt(t,0,0,0,1);u=Jr(h.pop());case"rgb":if(h.length>=3)return vt(t,fi(h[0]),fi(h[1]),fi(h[2]),h.length===3?u:Jr(h[3])),cr(e,t),t;vt(t,0,0,0,1);return;case"hsla":if(h.length!==4){vt(t,0,0,0,1);return}return h[3]=Jr(h[3]),Nn(h,t),cr(e,t),t;case"hsl":if(h.length!==3){vt(t,0,0,0,1);return}return Nn(h,t),cr(e,t),t;default:return}}vt(t,0,0,0,1)}}function Nn(e,t){var r=(parseFloat(e[0])%360+360)%360/360,i=Jr(e[1]),n=Jr(e[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],vt(t,Ht(hi(o,a,r+1/3)*255),Ht(hi(o,a,r)*255),Ht(hi(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function yv(e,t){var r=zt(e);if(r){for(var i=0;i<3;i++)t<0?r[i]=r[i]*(1-t)|0:r[i]=(255-r[i])*t+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return yn(r,r.length===4?"rgba":"rgb")}}function mv(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var i=e*(t.length-1),n=Math.floor(i),a=Math.ceil(i),o=zt(t[n]),s=zt(t[a]),f=i-n,h=yn([Ht(ve(o[0],s[0],f)),Ht(ve(o[1],s[1],f)),Ht(ve(o[2],s[2],f)),Yi(ve(o[3],s[3],f))],"rgba");return r?{color:h,leftIndex:n,rightIndex:a,value:i}:h}}function yn(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 ke(e,t){var r=zt(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function bf(e){return e.type==="linear"}function Cf(e){return e.type==="radial"}(function(){return K.hasGlobalWindow&&Ve(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 Xi=Array.prototype.slice;function Dt(e,t,r){return(t-e)*r+e}function ui(e,t,r,i){for(var n=t.length,a=0;ai?t:e,a=Math.min(r,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)i.length=o;else for(var f=a;f=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=Yn,f=r;if(Pt(r)){var h=Rf(r);s=h,(h===1&&!Se(r[0])||h===2&&!Se(r[0][0]))&&(o=!0)}else if(Se(r)&&!_s(r))s=de;else if(Bi(r))if(!isNaN(+r))s=de;else{var u=zt(r);u&&(f=u,s=Zr)}else if(pn(r)){var v=$({},f);v.colorStops=xt(r.colorStops,function(c){return{offset:c.offset,color:zt(c.color)}}),bf(r)?s=qi:Cf(r)&&(s=Zi),f=v}a===0?this.valType=s:(s!==this.valType||s===Yn)&&(o=!0),this.discrete=this.discrete||o;var l={time:t,value:f,rawValue:r,percent:0};return i&&(l.easing=i,l.easingFunc=Ve(i)?i:ja[i]||ao(i)),n.push(l),l},e.prototype.prepare=function(t,r){var i=this.keyframes;this._needsSort&&i.sort(function(g,d){return g.time-d.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,f=pe(n),h=Gn(n),u=0;u=0&&!(o[u].percent<=r);u--);u=l(u,s-2)}else{for(u=v;ur);u++);u=l(u-1,s-2)}_=o[u+1],c=o[u]}if(c&&_){this._lastFr=u,this._lastFrP=r;var d=_.percent-c.percent,p=d===0?1:l((r-c.percent)/d,1);_.easingFunc&&(p=_.easingFunc(p));var y=i?this._additiveValue:h?$r:t[f];if((pe(a)||h)&&!y&&(y=this._additiveValue=[]),this.discrete)t[f]=p<1?c.rawValue:_.rawValue;else if(pe(a))a===Ie?ui(y,c[n],_[n],p):Mf(y,c[n],_[n],p);else if(Gn(a)){var m=c[n],T=_[n],b=a===qi;t[f]={type:b?"linear":"radial",x:Dt(m.x,T.x,p),y:Dt(m.y,T.y,p),colorStops:xt(m.colorStops,function(M,C){var L=T.colorStops[C];return{offset:Dt(M.offset,L.offset,p),color:Ee(ui([],M.color,L.color,p))}}),global:T.global},b?(t[f].x2=Dt(m.x2,T.x2,p),t[f].y2=Dt(m.y2,T.y2,p)):t[f].r=Dt(m.r,T.r,p)}else if(h)ui(y,c[n],_[n],p),i||(t[f]=Ee(y));else{var w=Dt(c[n],_[n],p);i?this._additiveValue=w:t[f]=w}i&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,i=this.propName,n=this._additiveValue;r===de?t[i]=t[i]+n:r===Zr?(zt(t[i],$r),ce($r,$r,n,1),t[i]=Ee($r)):r===Ie?ce(t[i],t[i],n,1):r===fo&&Wn(t[i],t[i],n,1)},e}(),Df=function(){function e(t,r,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&n){dn("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}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,i){return this.whenWithKeys(t,r,ht(r),i)},e.prototype.whenWithKeys=function(t,r,i,n){for(var a=this._tracks,o=0;o0&&f.addKeyframe(0,Ae(h),n),this._trackKeys.push(s)}f.addKeyframe(t,Ae(r[s]),n)}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,i=0;i0)){this._started=1;for(var r=this,i=[],n=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();const mn=Df;function Mr(){return new Date().getTime()}var xf=function(e){H(t,e);function t(r){var i=e.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,r=r||{},i.stage=r.stage||{},i}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 i=r.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(r){if(r.animation){var i=r.prev,n=r.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var i=r.getClip();i&&this.removeClip(i),r.animation=null},t.prototype.update=function(r){for(var i=Mr()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next,s=a.step(i,n);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,r||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function i(){r._running&&(Wi(i),!r._paused&&r.update())}Wi(i)},t.prototype.start=function(){this._running||(this._time=Mr(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Mr(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Mr()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var i=r.next;r.prev=r.next=r.animation=null,r=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,i){i=i||{},this.start();var n=new mn(r,i.loop);return this.addAnimator(n),n},t}(Fr);const Af=xf;var Ef=300,vi=K.domSupported,li=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},i=xt(e,function(n){var a=n.replace("mouse","pointer");return r.hasOwnProperty(a)?a:n});return{mouse:e,touch:t,pointer:i}}(),Xn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},qn=!1;function Ui(e){var t=e.pointerType;return t==="pen"||t==="touch"}function If(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 ci(e){e&&(e.zrByTouch=!0)}function Ff(e,t){return pt(e.dom,new Of(e,t),!0)}function ho(e,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return i}var Of=function(){function e(t,r){this.stopPropagation=Sr,this.stopImmediatePropagation=Sr,this.preventDefault=Sr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),_t={mousedown:function(e){e=pt(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=pt(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=pt(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=pt(this.dom,e);var t=e.toElement||e.relatedTarget;ho(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){qn=!0,e=pt(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){qn||(e=pt(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=pt(this.dom,e),ci(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),_t.mousemove.call(this,e),_t.mousedown.call(this,e)},touchmove:function(e){e=pt(this.dom,e),ci(e),this.handler.processGesture(e,"change"),_t.mousemove.call(this,e)},touchend:function(e){e=pt(this.dom,e),ci(e),this.handler.processGesture(e,"end"),_t.mouseup.call(this,e),+new Date-+this.__lastTouchMomentVn||e<-Vn}var Ut=[],dr=[],pi=Be(),_i=Math.abs,Nf=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 Zt(this.rotation)||Zt(this.x)||Zt(this.y)||Zt(this.scaleX-1)||Zt(this.scaleY-1)||Zt(this.skewX)||Zt(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),i=this.transform;if(!(r||t)){i&&(Un(i),this.invTransform=null);return}i=i||Be(),r?this.getLocalTransform(i):Un(i),t&&(r?ii(i,t,i):Zs(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Ut);var i=Ut[0]<0?-1:1,n=Ut[1]<0?-1:1,a=((Ut[0]-i)*r+i)/Ut[0]||0,o=((Ut[1]-n)*r+n)/Ut[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Be(),Qs(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],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=i,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(ii(dr,t.invTransform,r),r=dr);var i=this.originX,n=this.originY;(i||n)&&(pi[4]=i,pi[5]=n,ii(dr,r,pi),dr[4]-=i,dr[5]-=n,r=dr),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 i=[t,r],n=this.invTransform;return n&&Kr(i,i,n),i},e.prototype.transformCoordToGlobal=function(t,r){var i=[t,r],n=this.transform;return n&&Kr(i,i,n),i},e.prototype.getLineScale=function(){var t=this.transform;return t&&_i(t[0]-1)>1e-10&&_i(t[3]-1)>1e-10?Math.sqrt(_i(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){Wf(this,t)},e.getLocalTransform=function(t,r){r=r||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,f=t.anchorY,h=t.rotation||0,u=t.x,v=t.y,l=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||f){var _=i+s,g=n+f;r[4]=-_*a-l*g*o,r[5]=-g*o-c*_*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=c*a,r[2]=l*o,h&&Us(r,r,h),r[4]+=i+u,r[5]+=n+v,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}(),ee=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Wf(e,t){for(var r=0;r=0?parseFloat(e)/100*t:parseFloat(e):e}function Gf(e,t,r){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,f=r.x,h=r.y,u="left",v="top";if(i instanceof Array)f+=ie(i[0],r.width),h+=ie(i[1],r.height),u=null,v=null;else switch(i){case"left":f-=n,h+=s,u="right",v="middle";break;case"right":f+=n+o,h+=s,v="middle";break;case"top":f+=o/2,h-=n,u="center",v="bottom";break;case"bottom":f+=o/2,h+=a+n,u="center";break;case"inside":f+=o/2,h+=s,u="center",v="middle";break;case"insideLeft":f+=n,h+=s,v="middle";break;case"insideRight":f+=o-n,h+=s,u="right",v="middle";break;case"insideTop":f+=o/2,h+=n,u="center";break;case"insideBottom":f+=o/2,h+=a-n,u="center",v="bottom";break;case"insideTopLeft":f+=n,h+=n;break;case"insideTopRight":f+=o-n,h+=n,u="right";break;case"insideBottomLeft":f+=n,h+=a-n,v="bottom";break;case"insideBottomRight":f+=o-n,h+=a-n,u="right",v="bottom";break}return e=e||{},e.x=f,e.y=h,e.align=u,e.verticalAlign=v,e}var gi="__zr_normal__",yi=ee.concat(["ignore"]),Xf=Ue(ee,function(e,t){return e[t]=!0,e},{ignore:!1}),pr={},qf=new N(0,0,0,0),bn=function(){function e(t){this.id=Na(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,i){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[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 i=this.textConfig,n=i.local,a=r.innerTransformable,o=void 0,s=void 0,f=!1;a.parent=n?this:null;var h=!1;if(a.copyTransform(r),i.position!=null){var u=qf;i.layoutRect?u.copy(i.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(pr,i,u):Gf(pr,i,u),a.x=pr.x,a.y=pr.y,o=pr.align,s=pr.verticalAlign;var v=i.origin;if(v&&i.rotation!=null){var l=void 0,c=void 0;v==="center"?(l=u.width*.5,c=u.height*.5):(l=ie(v[0],u.width),c=ie(v[1],u.height)),h=!0,a.originX=-a.x+l+(n?0:u.x),a.originY=-a.y+c+(n?0:u.y)}}i.rotation!=null&&(a.rotation=i.rotation);var _=i.offset;_&&(a.x+=_[0],a.y+=_[1],h||(a.originX=-_[0],a.originY=-_[1]));var g=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,d=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),p=void 0,y=void 0,m=void 0;g&&this.canBeInsideText()?(p=i.insideFill,y=i.insideStroke,(p==null||p==="auto")&&(p=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(p),m=!0)):(p=i.outsideFill,y=i.outsideStroke,(p==null||p==="auto")&&(p=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(p),m=!0)),p=p||"#000",(p!==d.fill||y!==d.stroke||m!==d.autoStroke||o!==d.align||s!==d.verticalAlign)&&(f=!0,d.fill=p,d.stroke=y,d.autoStroke=m,d.align=o,d.verticalAlign=s,r.setDefaultTextStyle(d)),r.__dirty|=ot,f&&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()?Ji:Ki},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),i=typeof r=="string"&&zt(r);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,yn(i,"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||{},$(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(Ft(t))for(var i=t,n=ht(i),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(gi,!1,t)},e.prototype.useState=function(t,r,i,n){var a=t===gi,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,f=this.stateTransition;if(!(Mt(s,t)>=0&&(r||s.length===1))){var h;if(this.stateProxy&&!a&&(h=this.stateProxy(t)),h||(h=this.states&&this.states[t]),!h&&!a){dn("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(h);var u=!!(h&&h.hoverLayer||n);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,h,this._normalState,r,!i&&!this.__inHover&&f&&f.duration>0,f);var v=this._textContent,l=this._textGuide;return v&&v.useState(t,r,i,u),l&&l.useState(t,r,i,u),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ot),h}}},e.prototype.useStates=function(t,r,i){if(!t.length)this.clearStates();else{var n=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var f=0;f0,_);var g=this._textContent,d=this._textGuide;g&&g.useStates(t,r,l),d&&d.useStates(t,r,l),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ot)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var i=this.currentStates.slice();i.splice(r,1),this.useStates(i)}},e.prototype.replaceState=function(t,r,i){var n=this.currentStates.slice(),a=Mt(n,t),o=Mt(n,r)>=0;a>=0?o?n.splice(a,1):n[a]=r:i&&!o&&n.push(r),this.useStates(n)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},i,n=0;n=0&&a.splice(o,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var i=this.animators,n=i.length,a=[],o=0;o0&&r.during&&a[0].during(function(_,g){r.during(g)});for(var l=0;l0||n.force&&!o.length){var C=void 0,L=void 0,P=void 0;if(s){L={},l&&(C={});for(var T=0;T=0&&(n.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,i){var n=Mt(this._children,r);return n>=0&&this.replaceAt(i,n),this},t.prototype.replaceAt=function(r,i){var n=this._children,a=n[i];if(r&&r!==this&&r.parent!==this&&r!==a){n[i]=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 i=this.__zr;i&&i!==r.__zr&&r.addSelfToZr(i),i&&i.refresh()},t.prototype.remove=function(r){var i=this.__zr,n=this._children,a=Mt(n,r);return a<0?this:(n.splice(a,1),r.parent=null,i&&r.removeSelfFromZr(i),i&&i.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,i=this.__zr,n=0;n0&&(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,i){return this.handler.on(t,r,i),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r=o;f++)s-=o;var h=ut(r,t);return h>s&&(r="",h=0),s=e-h,n.ellipsis=r,n.ellipsisWidth=h,n.contentWidth=s,n.containerWidth=e,n}function yo(e,t){var r=t.containerWidth,i=t.font,n=t.contentWidth;if(!r)return"";var a=ut(e,i);if(a<=r)return e;for(var o=0;;o++){if(a<=n||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?ih(e,n,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*n/a):0;e=e.substr(0,s),a=ut(e,i)}return e===""&&(e=t.placeholder),e}function ih(e,t,r,i){for(var n=0,a=0,o=e.length;ac&&h){var _=Math.floor(c/s);v=v.slice(0,_)}if(e&&a&&u!=null)for(var g=go(u,n,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),d=0;ds&&bi(r,e.substring(s,h),t,o),bi(r,f[2],t,o,f[1]),s=Ti.lastIndex}sn){b>0?(y.tokens=y.tokens.slice(0,b),d(y,T,m),r.lines=r.lines.slice(0,p+1)):r.lines=r.lines.slice(0,p);break t}var S=M.width,A=S==null||S==="auto";if(typeof S=="string"&&S.charAt(S.length-1)==="%")w.percentWidth=S,u.push(w),w.contentWidth=ut(w.text,P);else{if(A){var x=M.backgroundColor,E=x&&x.image;E&&(E=rh(E),Ke(E)&&(w.width=Math.max(w.width,E.width*R/E.height)))}var D=_&&i!=null?i-T:null;D!=null&&D0&&_+i.accumWidth>i.width&&(u=t.split(` +`),h=!0),i.accumWidth=_}else{var g=mo(t,f,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+c,v=g.linesWidths,u=g.lines}}else u=t.split(` +`);for(var d=0;d=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var hh=Ue(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function uh(e){return fh(e)?!!hh[e]:!0}function mo(e,t,r,i,n){for(var a=[],o=[],s="",f="",h=0,u=0,v=0;vr:n+u+c>r){u?(s||f)&&(_?(s||(s=f,f="",h=0,u=h),a.push(s),o.push(u-h),f+=l,h+=c,s="",u=h):(f&&(s+=f,f="",h=0),a.push(s),o.push(u),s=l,u=c)):_?(a.push(f),o.push(h),f=l,h=c):(a.push(l),o.push(c));continue}u+=c,_?(f+=l,h+=c):(f&&(s+=f,f="",h=0),s+=l)}return!a.length&&!s&&(s=e,f="",h=0),f&&(s+=f),s&&(a.push(s),o.push(u)),a.length===1&&(u+=n),{accumWidth:u,lines:a,linesWidths:o}}var tn="__zr_style_"+Math.round(Math.random()*10),hr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Je={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};hr[tn]=!0;var ta=["z","z2","invisible"],vh=["invisible"],lh=function(e){H(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var i=ht(r),n=0;n1e-4){s[0]=e-r,s[1]=t-i,f[0]=e+r,f[1]=t+i;return}if(_e[0]=Pi(n)*r+e,_e[1]=Li(n)*i+t,ge[0]=Pi(a)*r+e,ge[1]=Li(a)*i+t,h(s,_e,ge),u(f,_e,ge),n=n%Vt,n<0&&(n=n+Vt),a=a%Vt,a<0&&(a=a+Vt),n>a&&!o?a+=Vt:nn&&(ye[0]=Pi(c)*r+e,ye[1]=Li(c)*i+t,h(s,ye,s),u(f,ye,f))}var B={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Qt=[],Kt=[],mt=[],At=[],wt=[],Tt=[],Ri=Math.min,Si=Math.max,Jt=Math.cos,jt=Math.sin,St=Math.abs,rn=Math.PI,It=rn*2,Di=typeof Float32Array<"u",Nr=[];function xi(e){var t=Math.round(e/rn*1e8)/1e8;return t%2*rn}function gh(e,t){var r=xi(e[0]);r<0&&(r+=It);var i=r-e[0],n=e[1];n+=i,!t&&n-r>=It?n=r+It:t&&r-n>=It?n=r-It:!t&&r>n?n=r+(It-xi(r-n)):t&&r0&&(this._ux=St(i/$e/t)||0,this._uy=St(i/$e/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(B.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 i=St(t-this._xi),n=St(r-this._yi),a=i>this._ux||n>this._uy;if(this.addData(B.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=i*i+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,i,n,a,o){return this._drawPendingPt(),this.addData(B.C,t,r,i,n,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,i,n,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,i,n){return this._drawPendingPt(),this.addData(B.Q,t,r,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,r,i,n),this._xi=i,this._yi=n,this},e.prototype.arc=function(t,r,i,n,a,o){this._drawPendingPt(),Nr[0]=n,Nr[1]=a,gh(Nr,o),n=Nr[0],a=Nr[1];var s=a-n;return this.addData(B.A,t,r,i,i,n,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,i,n,a,o),this._xi=Jt(a)*i+t,this._yi=jt(a)*i+r,this},e.prototype.arcTo=function(t,r,i,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,i,n,a),this},e.prototype.rect=function(t,r,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,i,n),this.addData(B.R,t,r,i,n),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(B.Z);var t=this._ctx,r=this._x0,i=this._y0;return t&&t.closePath(),this._xi=r,this._yi=i,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)&&Di&&(this.data=new Float32Array(r));for(var i=0;iu.length&&(this._expandData(),u=this.data);for(var v=0;v0&&(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(){mt[0]=mt[1]=wt[0]=wt[1]=Number.MAX_VALUE,At[0]=At[1]=Tt[0]=Tt[1]=-Number.MAX_VALUE;var t=this.data,r=0,i=0,n=0,a=0,o;for(o=0;oi||St(m)>n||l===r-1)&&(g=Math.sqrt(y*y+m*m),a=d,o=p);break}case B.C:{var T=t[l++],b=t[l++],d=t[l++],p=t[l++],w=t[l++],M=t[l++];g=cf(a,o,T,b,d,p,w,M,10),a=w,o=M;break}case B.Q:{var T=t[l++],b=t[l++],d=t[l++],p=t[l++];g=_f(a,o,T,b,d,p,10),a=d,o=p;break}case B.A:var C=t[l++],L=t[l++],P=t[l++],R=t[l++],S=t[l++],A=t[l++],x=A+S;l+=1,t[l++],_&&(s=Jt(S)*P+C,f=jt(S)*R+L),g=Si(P,R)*Ri(It,Math.abs(A)),a=Jt(x)*P+C,o=jt(x)*R+L;break;case B.R:{s=a=t[l++],f=o=t[l++];var E=t[l++],D=t[l++];g=E*2+D*2;break}case B.Z:{var y=s-a,m=f-o;g=Math.sqrt(y*y+m*m),a=s,o=f;break}}g>=0&&(h[v++]=g,u+=g)}return this._pathLen=u,u},e.prototype.rebuildPath=function(t,r){var i=this.data,n=this._ux,a=this._uy,o=this._len,s,f,h,u,v,l,c=r<1,_,g,d=0,p=0,y,m=0,T,b;if(!(c&&(this._pathSegLen||this._calculateLength(),_=this._pathSegLen,g=this._pathLen,y=r*g,!y)))t:for(var w=0;w0&&(t.lineTo(T,b),m=0),M){case B.M:s=h=i[w++],f=u=i[w++],t.moveTo(h,u);break;case B.L:{v=i[w++],l=i[w++];var L=St(v-h),P=St(l-u);if(L>n||P>a){if(c){var R=_[p++];if(d+R>y){var S=(y-d)/R;t.lineTo(h*(1-S)+v*S,u*(1-S)+l*S);break t}d+=R}t.lineTo(v,l),h=v,u=l,m=0}else{var A=L*L+P*P;A>m&&(T=v,b=l,m=A)}break}case B.C:{var x=i[w++],E=i[w++],D=i[w++],z=i[w++],k=i[w++],W=i[w++];if(c){var R=_[p++];if(d+R>y){var S=(y-d)/R;kt(h,x,D,k,S,Qt),kt(u,E,z,W,S,Kt),t.bezierCurveTo(Qt[1],Kt[1],Qt[2],Kt[2],Qt[3],Kt[3]);break t}d+=R}t.bezierCurveTo(x,E,D,z,k,W),h=k,u=W;break}case B.Q:{var x=i[w++],E=i[w++],D=i[w++],z=i[w++];if(c){var R=_[p++];if(d+R>y){var S=(y-d)/R;ze(h,x,D,S,Qt),ze(u,E,z,S,Kt),t.quadraticCurveTo(Qt[1],Kt[1],Qt[2],Kt[2]);break t}d+=R}t.quadraticCurveTo(x,E,D,z),h=D,u=z;break}case B.A:var X=i[w++],Z=i[w++],Y=i[w++],nt=i[w++],at=i[w++],Rt=i[w++],$t=i[w++],Nt=!i[w++],Wt=Y>nt?Y:nt,j=St(Y-nt)>.001,q=at+Rt,I=!1;if(c){var R=_[p++];d+R>y&&(q=at+Rt*(y-d)/R,I=!0),d+=R}if(j&&t.ellipse?t.ellipse(X,Z,Y,nt,$t,at,q,Nt):t.arc(X,Z,Wt,at,q,Nt),I)break t;C&&(s=Jt(at)*Y+X,f=jt(at)*nt+Z),h=Jt(q)*Y+X,u=jt(q)*nt+Z;break;case B.R:s=h=i[w],f=u=i[w+1],v=i[w++],l=i[w++];var O=i[w++],Or=i[w++];if(c){var R=_[p++];if(d+R>y){var yt=y-d;t.moveTo(v,l),t.lineTo(v+Ri(yt,O),l),yt-=O,yt>0&&t.lineTo(v+O,l+Ri(yt,Or)),yt-=Or,yt>0&&t.lineTo(v+Si(O-yt,0),l+Or),yt-=O,yt>0&&t.lineTo(v,l+Si(Or-yt,0));break t}d+=R}t.rect(v,l,O,Or);break;case B.Z:if(c){var R=_[p++];if(d+R>y){var S=(y-d)/R;t.lineTo(h*(1-S)+s*S,u*(1-S)+f*S);break t}d+=R}t.closePath(),h=s,u=f}}},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=B,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const vr=yh;function _r(e,t,r,i,n,a,o){if(n===0)return!1;var s=n,f=0,h=e;if(o>t+s&&o>i+s||oe+s&&a>r+s||at+v&&u>i+v&&u>a+v&&u>s+v||ue+v&&h>r+v&&h>n+v&&h>o+v||ht+h&&f>i+h&&f>a+h||fe+h&&s>r+h&&s>n+h||sr||u+hn&&(n+=Wr);var l=Math.atan2(f,s);return l<0&&(l+=Wr),l>=i&&l<=n||l+Wr>=i&&l+Wr<=n}function tr(e,t,r,i,n,a){if(a>t&&a>i||an?s:0}var Et=vr.CMD,rr=Math.PI*2,bh=1e-4;function Ch(e,t){return Math.abs(e-t)t&&h>i&&h>a&&h>s||h1&&Mh(),c=U(t,i,a,s,lt[0]),l>1&&(_=U(t,i,a,s,lt[1]))),l===2?dt&&s>i&&s>a||s=0&&h<=1){for(var u=0,v=Q(t,i,a,h),l=0;lr||s<-r)return 0;var f=Math.sqrt(r*r-s*s);J[0]=-f,J[1]=f;var h=Math.abs(i-n);if(h<1e-4)return 0;if(h>=rr-1e-4){i=0,n=rr;var u=a?1:-1;return o>=J[0]+e&&o<=J[1]+e?u:0}if(i>n){var v=i;i=n,n=v}i<0&&(i+=rr,n+=rr);for(var l=0,c=0;c<2;c++){var _=J[c];if(_+e>o){var g=Math.atan2(s,_),u=a?1:-1;g<0&&(g=rr+g),(g>=i&&g<=n||g+rr>=i&&g+rr<=n)&&(g>Math.PI/2&&g1&&(r||(s+=tr(f,h,u,v,i,n))),d&&(f=a[_],h=a[_+1],u=f,v=h),g){case Et.M:u=a[_++],v=a[_++],f=u,h=v;break;case Et.L:if(r){if(_r(f,h,a[_],a[_+1],t,i,n))return!0}else s+=tr(f,h,a[_],a[_+1],i,n)||0;f=a[_++],h=a[_++];break;case Et.C:if(r){if(mh(f,h,a[_++],a[_++],a[_++],a[_++],a[_],a[_+1],t,i,n))return!0}else s+=Lh(f,h,a[_++],a[_++],a[_++],a[_++],a[_],a[_+1],i,n)||0;f=a[_++],h=a[_++];break;case Et.Q:if(r){if(wh(f,h,a[_++],a[_++],a[_],a[_+1],t,i,n))return!0}else s+=Ph(f,h,a[_++],a[_++],a[_],a[_+1],i,n)||0;f=a[_++],h=a[_++];break;case Et.A:var p=a[_++],y=a[_++],m=a[_++],T=a[_++],b=a[_++],w=a[_++];_+=1;var M=!!(1-a[_++]);l=Math.cos(b)*m+p,c=Math.sin(b)*T+y,d?(u=l,v=c):s+=tr(f,h,l,c,i,n);var C=(i-p)*T/m+p;if(r){if(Th(p,y,T,b,b+w,M,t,C,n))return!0}else s+=Rh(p,y,T,b,b+w,M,C,n);f=Math.cos(b+w)*m+p,h=Math.sin(b+w)*T+y;break;case Et.R:u=f=a[_++],v=h=a[_++];var L=a[_++],P=a[_++];if(l=u+L,c=v+P,r){if(_r(u,v,l,v,t,i,n)||_r(l,v,l,c,t,i,n)||_r(l,c,u,c,t,i,n)||_r(u,c,u,v,t,i,n))return!0}else s+=tr(l,v,l,c,i,n),s+=tr(u,c,u,v,i,n);break;case Et.Z:if(r){if(_r(f,h,u,v,t,i,n))return!0}else s+=tr(f,h,u,v,i,n);f=u,h=v;break}}return!r&&!Ch(h,v)&&(s+=tr(f,h,u,v,i,n)||0),s!==0}function Sh(e,t,r){return To(e,0,!1,t,r)}function Dh(e,t,r,i){return To(e,t,!0,r,i)}var bo=gt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},hr),xh={style:gt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Je.style)},Ai=ee.concat(["invisible","culling","z","z2","zlevel","parent"]),Ah=function(e){H(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 i=this.style;if(i.decal){var n=this._decalEl=this._decalEl||new t;n.buildPath===t.prototype.buildPath&&(n.buildPath=function(f){r.buildPath(f,r.shape)}),n.silent=!0;var a=n.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s.5?Ki:i>.2?$f:Ji}else if(r)return Ji}return Ki},t.prototype.getInsideTextStroke=function(r){var i=this.style.fill;if(Bi(i)){var n=this.__zr,a=!!(n&&n.isDarkMode()),o=ke(r,0)0))},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,i=this.style,n=!r;if(n){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&wr)&&(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||n){s.copy(r);var f=i.strokeNoScale?this.getLineScale():1,h=i.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;h=Math.max(h,u??4)}f>1e-10&&(s.width+=h/f,s.height+=h/f,s.x-=h/f/2,s.y-=h/f/2)}return s}return r},t.prototype.contain=function(r,i){var n=this.transformCoordToLocal(r,i),a=this.getBoundingRect(),o=this.style;if(r=n[0],i=n[1],a.contain(r,i)){var s=this.path;if(this.hasStroke()){var f=o.lineWidth,h=o.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(f=Math.max(f,this.strokeContainThreshold)),Dh(s,f/h,r,i)))return!0}if(this.hasFill())return Sh(s,r,i)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=wr,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,i){r==="shape"?this.setShape(i):e.prototype.attrKV.call(this,r,i)},t.prototype.setShape=function(r,i){var n=this.shape;return n||(n=this.shape={}),typeof r=="string"?n[r]=i:$(n,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&wr)},t.prototype.createStyle=function(r){return Qe(bo,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var i=this._normalState;r.shape&&!i.shape&&(i.shape=$({},this.shape))},t.prototype._applyStateObj=function(r,i,n,a,o,s){e.prototype._applyStateObj.call(this,r,i,n,a,o,s);var f=!(i&&a),h;if(i&&i.shape?o?a?h=i.shape:(h=$({},n.shape),$(h,i.shape)):(h=$({},a?this.shape:n.shape),$(h,i.shape)):f&&(h=n.shape),h)if(o){this.shape=$({},this.shape);for(var u={},v=ht(h),l=0;l0},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.createStyle=function(r){return Qe(Eh,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var i=r.text;i!=null?i+="":i="";var n=Yf(i,r.font,r.textAlign,r.textBaseline);if(n.x+=r.x||0,n.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;n.x-=a/2,n.y-=a/2,n.width+=a,n.height+=a}this._rect=n}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(ae);Co.prototype.type="tspan";const en=Co;var Ih=gt({x:0,y:0},hr),Fh={style:gt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Je.style)};function Oh(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Mo=function(e){H(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return Qe(Ih,r)},t.prototype._getSize=function(r){var i=this.style,n=i[r];if(n!=null)return n;var a=Oh(i.image)?i.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=i[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 Fh},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new N(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(ae);Mo.prototype.type="image";const Lo=Mo;function Bh(e,t){var r=t.x,i=t.y,n=t.width,a=t.height,o=t.r,s,f,h,u;n<0&&(r=r+n,n=-n),a<0&&(i=i+a,a=-a),typeof o=="number"?s=f=h=u=o:o instanceof Array?o.length===1?s=f=h=u=o[0]:o.length===2?(s=h=o[0],f=u=o[1]):o.length===3?(s=o[0],f=u=o[1],h=o[2]):(s=o[0],f=o[1],h=o[2],u=o[3]):s=f=h=u=0;var v;s+f>n&&(v=s+f,s*=n/v,f*=n/v),h+u>n&&(v=h+u,h*=n/v,u*=n/v),f+h>a&&(v=f+h,f*=a/v,h*=a/v),s+u>a&&(v=s+u,s*=a/v,u*=a/v),e.moveTo(r+s,i),e.lineTo(r+n-f,i),f!==0&&e.arc(r+n-f,i+f,f,-Math.PI/2,0),e.lineTo(r+n,i+a-h),h!==0&&e.arc(r+n-h,i+a-h,h,0,Math.PI/2),e.lineTo(r+u,i+a),u!==0&&e.arc(r+u,i+a-u,u,Math.PI/2,Math.PI),e.lineTo(r,i+s),s!==0&&e.arc(r+s,i+s,s,Math.PI,Math.PI*1.5)}var Lr=Math.round;function Hh(e,t,r){if(t){var i=t.x1,n=t.x2,a=t.y1,o=t.y2;e.x1=i,e.x2=n,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Lr(i*2)===Lr(n*2)&&(e.x1=e.x2=Pr(i,s,!0)),Lr(a*2)===Lr(o*2)&&(e.y1=e.y2=Pr(a,s,!0))),e}}function zh(e,t,r){if(t){var i=t.x,n=t.y,a=t.width,o=t.height;e.x=i,e.y=n,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=Pr(i,s,!0),e.y=Pr(n,s,!0),e.width=Math.max(Pr(i+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(Pr(n+o,s,!1)-e.y,o===0?0:1)),e}}function Pr(e,t,r){if(!t)return e;var i=Lr(e*2);return(i+Lr(t))%2===0?i/2:(i+(r?1:-1))/2}var kh=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),$h={},Po=function(e){H(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new kh},t.prototype.buildPath=function(r,i){var n,a,o,s;if(this.subPixelOptimize){var f=zh($h,i,this.style);n=f.x,a=f.y,o=f.width,s=f.height,f.r=i.r,i=f}else n=i.x,a=i.y,o=i.width,s=i.height;i.r?Bh(r,i):r.rect(n,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(G);Po.prototype.type="rect";const Ro=Po;var aa={fill:"#000"},oa=2,Nh={style:gt({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},Je.style)},So=function(e){H(t,e);function t(r){var i=e.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=aa,i.attr(r),i}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,S=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),A=o.calculatedLineHeight,x=0;x=0&&(x=w[A],x.align==="right");)this._placeToken(x,r,C,p,S,"right",m),L-=x.width,S-=x.width,A--;for(R+=(a-(R-d)-(y-S)-L)/2;P<=A;)x=w[P],this._placeToken(x,r,C,p,R+x.width/2,"center",m),R+=x.width,P++;p+=C}},t.prototype._placeToken=function(r,i,n,a,o,s,f){var h=i.rich[r.styleName]||{};h.text=r.text;var u=r.verticalAlign,v=a+n/2;u==="top"?v=a+r.height/2:u==="bottom"&&(v=a+n-r.height/2);var l=!r.isLineHolder&&Ei(h);l&&this._renderBackground(h,i,s==="right"?o-r.width:s==="center"?o-r.width/2:o,v-r.height/2,r.width,r.height);var c=!!h.backgroundColor,_=r.textPadding;_&&(o=la(o,s,_),v-=r.height/2-_[0]-r.innerHeight/2);var g=this._getOrCreateChild(en),d=g.createStyle();g.useStyle(d);var p=this._defaultStyle,y=!1,m=0,T=va("fill"in h?h.fill:"fill"in i?i.fill:(y=!0,p.fill)),b=ua("stroke"in h?h.stroke:"stroke"in i?i.stroke:!c&&!f&&(!p.autoStroke||y)?(m=oa,p.stroke):null),w=h.textShadowBlur>0||i.textShadowBlur>0;d.text=r.text,d.x=o,d.y=v,w&&(d.shadowBlur=h.textShadowBlur||i.textShadowBlur||0,d.shadowColor=h.textShadowColor||i.textShadowColor||"transparent",d.shadowOffsetX=h.textShadowOffsetX||i.textShadowOffsetX||0,d.shadowOffsetY=h.textShadowOffsetY||i.textShadowOffsetY||0),d.textAlign=s,d.textBaseline="middle",d.font=r.font||ur,d.opacity=De(h.opacity,i.opacity,1),fa(d,h),b&&(d.lineWidth=De(h.lineWidth,i.lineWidth,m),d.lineDash=st(h.lineDash,i.lineDash),d.lineDashOffset=i.lineDashOffset||0,d.stroke=b),T&&(d.fill=T);var M=r.contentWidth,C=r.contentHeight;g.setBoundingRect(new N(Ur(d.x,M,d.textAlign),Tr(d.y,C,d.textBaseline),M,C))},t.prototype._renderBackground=function(r,i,n,a,o,s){var f=r.backgroundColor,h=r.borderWidth,u=r.borderColor,v=f&&f.image,l=f&&!v,c=r.borderRadius,_=this,g,d;if(l||r.lineHeight||h&&u){g=this._getOrCreateChild(Ro),g.useStyle(g.createStyle()),g.style.fill=null;var p=g.shape;p.x=n,p.y=a,p.width=o,p.height=s,p.r=c,g.dirtyShape()}if(l){var y=g.style;y.fill=f||null,y.fillOpacity=st(r.fillOpacity,1)}else if(v){d=this._getOrCreateChild(Lo),d.onload=function(){_.dirtyStyle()};var m=d.style;m.image=f.image,m.x=n,m.y=a,m.width=o,m.height=s}if(h&&u){var y=g.style;y.lineWidth=h,y.stroke=u,y.strokeOpacity=st(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,g.strokeContainThreshold=0,g.hasFill()&&g.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var T=(g||d).style;T.shadowBlur=r.shadowBlur||0,T.shadowColor=r.shadowColor||"transparent",T.shadowOffsetX=r.shadowOffsetX||0,T.shadowOffsetY=r.shadowOffsetY||0,T.opacity=De(r.opacity,i.opacity,1)},t.makeFont=function(r){var i="";return Xh(r)&&(i=[r.fontStyle,r.fontWeight,Gh(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),i&&Xr(i)||r.textFont||r.font},t}(ae),Wh={left:!0,right:1,center:1},Yh={top:1,bottom:1,middle:1},sa=["fontStyle","fontWeight","fontSize","fontFamily"];function Gh(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?vn+"px":e+"px"}function fa(e,t){for(var r=0;r1&&(o*=Ii(_),s*=Ii(_));var g=(n===a?-1:1)*Ii((o*o*(s*s)-o*o*(c*c)-s*s*(l*l))/(o*o*(c*c)+s*s*(l*l)))||0,d=g*o*c/s,p=g*-s*l/o,y=(e+r)/2+Te(v)*d-we(v)*p,m=(t+i)/2+we(v)*d+Te(v)*p,T=_a([1,0],[(l-d)/o,(c-p)/s]),b=[(l-d)/o,(c-p)/s],w=[(-1*l-d)/o,(-1*c-p)/s],M=_a(b,w);if(nn(b,w)<=-1&&(M=Yr),nn(b,w)>=1&&(M=0),M<0){var C=Math.round(M/Yr*1e6)/1e6;M=Yr*2+C%2*Yr}u.addData(h,y,m,o,s,T,M,v,a)}var Vh=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,Qh=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Kh(e){var t=new vr;if(!e)return t;var r=0,i=0,n=r,a=i,o,s=vr.CMD,f=e.match(Vh);if(!f)return t;for(var h=0;hx*x+E*E&&(C=P,L=R),{cx:C,cy:L,x0:-u,y0:-v,x1:C*(n/b-1),y1:L*(n/b-1)}}function eu(e){var t;if(re(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 iu(e,t){var r,i=Vr(t.r,0),n=Vr(t.r0||0,0),a=i>0,o=n>0;if(!(!a&&!o)){if(a||(i=n,n=0),n>i){var s=i;i=n,n=s}var f=t.startAngle,h=t.endAngle;if(!(isNaN(f)||isNaN(h))){var u=t.cx,v=t.cy,l=!!t.clockwise,c=ya(h-f),_=c>Fi&&c%Fi;if(_>dt&&(c=_),!(i>dt))e.moveTo(u,v);else if(c>Fi-dt)e.moveTo(u+i*yr(f),v+i*er(f)),e.arc(u,v,i,f,h,!l),n>dt&&(e.moveTo(u+n*yr(h),v+n*er(h)),e.arc(u,v,n,h,f,l));else{var g=void 0,d=void 0,p=void 0,y=void 0,m=void 0,T=void 0,b=void 0,w=void 0,M=void 0,C=void 0,L=void 0,P=void 0,R=void 0,S=void 0,A=void 0,x=void 0,E=i*yr(f),D=i*er(f),z=n*yr(h),k=n*er(h),W=c>dt;if(W){var X=t.cornerRadius;X&&(r=eu(X),g=r[0],d=r[1],p=r[2],y=r[3]);var Z=ya(i-n)/2;if(m=bt(Z,p),T=bt(Z,y),b=bt(Z,g),w=bt(Z,d),L=M=Vr(m,T),P=C=Vr(b,w),(M>dt||C>dt)&&(R=i*yr(h),S=i*er(h),A=n*yr(f),x=n*er(f),cdt){var j=bt(p,L),q=bt(y,L),I=be(A,x,E,D,i,j,l),O=be(R,S,z,k,i,q,l);e.moveTo(u+I.cx+I.x0,v+I.cy+I.y0),L0&&e.arc(u+I.cx,v+I.cy,j,V(I.y0,I.x0),V(I.y1,I.x1),!l),e.arc(u,v,i,V(I.cy+I.y1,I.cx+I.x1),V(O.cy+O.y1,O.cx+O.x1),!l),q>0&&e.arc(u+O.cx,v+O.cy,q,V(O.y1,O.x1),V(O.y0,O.x0),!l))}else e.moveTo(u+E,v+D),e.arc(u,v,i,f,h,!l);if(!(n>dt)||!W)e.lineTo(u+z,v+k);else if(P>dt){var j=bt(g,P),q=bt(d,P),I=be(z,k,R,S,n,-q,l),O=be(E,D,A,x,n,-j,l);e.lineTo(u+I.cx+I.x0,v+I.cy+I.y0),P0&&e.arc(u+I.cx,v+I.cy,q,V(I.y0,I.x0),V(I.y1,I.x1),!l),e.arc(u,v,n,V(I.cy+I.y1,I.cx+I.x1),V(O.cy+O.y1,O.cx+O.x1),l),j>0&&e.arc(u+O.cx,v+O.cy,j,V(O.y1,O.x1),V(O.y0,O.x0),!l))}else e.lineTo(u+z,v+k),e.arc(u,v,n,h,f,l)}e.closePath()}}}var nu=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}(),Ho=function(e){H(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new nu},t.prototype.buildPath=function(r,i){iu(r,i)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(G);Ho.prototype.type="sector";const ma=Ho;var au=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),zo=function(e){H(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new au},t.prototype.buildPath=function(r,i){var n=i.cx,a=i.cy,o=Math.PI*2;r.moveTo(n+i.r,a),r.arc(n,a,i.r,0,o,!1),r.moveTo(n+i.r0,a),r.arc(n,a,i.r0,0,o,!0)},t}(G);zo.prototype.type="ring";const Sv=zo;function ou(e,t,r,i){var n=[],a=[],o=[],s=[],f,h,u,v;if(i){u=[1/0,1/0],v=[-1/0,-1/0];for(var l=0,c=e.length;l=2){if(i){var a=ou(n,i,r,t.smoothConstraint);e.moveTo(n[0][0],n[0][1]);for(var o=n.length,s=0;s<(r?o:o-1);s++){var f=a[s*2],h=a[s*2+1],u=n[(s+1)%o];e.bezierCurveTo(f[0],f[1],h[0],h[1],u[0],u[1])}}else{e.moveTo(n[0][0],n[0][1]);for(var s=1,v=n.length;snr[1]){if(s=!1,a)return s;var u=Math.abs(nr[0]-ir[1]),v=Math.abs(ir[0]-nr[1]);Math.min(u,v)>n.len()&&(u=0&&sr(f)?f:.5;var h=e.createRadialGradient(o,s,0,o,s,f);return h}function an(e,t,r){for(var i=t.type==="radial"?Lu(e,t,r):Mu(e,t,r),n=t.colorStops,a=0;a0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Se(e)?[e]:re(e)?e:null}function qo(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&Ru(t.lineDash,t.lineWidth),i=t.lineDashOffset;if(r){var n=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;n&&n!==1&&(r=xt(r,function(a){return a/n}),i/=n)}return[r,i]}var Su=new vr(!0);function Ne(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Ta(e){return typeof e=="string"&&e!=="none"}function We(e){var t=e.fill;return t!=null&&t!=="none"}function ba(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 Ca(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 on(e,t,r){var i=_o(t.image,t.__image,r);if(Ke(i)){var n=e.createPattern(i,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Ts),a.scaleSelf(t.scaleX||1,t.scaleY||1),n.setTransform(a)}return n}}function Du(e,t,r,i){var n,a=Ne(r),o=We(r),s=r.strokePercent,f=s<1,h=!t.path;(!t.silent||f)&&h&&t.createPathProxy();var u=t.path||Su,v=t.__dirty;if(!i){var l=r.fill,c=r.stroke,_=o&&!!l.colorStops,g=a&&!!c.colorStops,d=o&&!!l.image,p=a&&!!c.image,y=void 0,m=void 0,T=void 0,b=void 0,w=void 0;(_||g)&&(w=t.getBoundingRect()),_&&(y=v?an(e,l,w):t.__canvasFillGradient,t.__canvasFillGradient=y),g&&(m=v?an(e,c,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=m),d&&(T=v||!t.__canvasFillPattern?on(e,l,t):t.__canvasFillPattern,t.__canvasFillPattern=T),p&&(b=v||!t.__canvasStrokePattern?on(e,c,t):t.__canvasStrokePattern,t.__canvasStrokePattern=T),_?e.fillStyle=y:d&&(T?e.fillStyle=T:o=!1),g?e.strokeStyle=m:p&&(b?e.strokeStyle=b:a=!1)}var M=t.getGlobalScale();u.setScale(M[0],M[1],t.segmentIgnoreThreshold);var C,L;e.setLineDash&&r.lineDash&&(n=qo(t),C=n[0],L=n[1]);var P=!0;(h||v&wr)&&(u.setDPR(e.dpr),f?u.setContext(null):(u.setContext(e),P=!1),u.reset(),t.buildPath(u,t.shape,i),u.toStatic(),t.pathUpdated()),P&&u.rebuildPath(e,f?s:1),C&&(e.setLineDash(C),e.lineDashOffset=L),i||(r.strokeFirst?(a&&Ca(e,r),o&&ba(e,r)):(o&&ba(e,r),a&&Ca(e,r))),C&&e.setLineDash([])}function xu(e,t,r){var i=t.__image=_o(r.image,t.__image,t,t.onload);if(!(!i||!Ke(i))){var n=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),f=i.width/i.height;if(o==null&&s!=null?o=s*f:s==null&&o!=null?s=o/f:o==null&&s==null&&(o=i.width,s=i.height),r.sWidth&&r.sHeight){var h=r.sx||0,u=r.sy||0;e.drawImage(i,h,u,r.sWidth,r.sHeight,n,a,o,s)}else if(r.sx&&r.sy){var h=r.sx,u=r.sy,v=o-h,l=s-u;e.drawImage(i,h,u,v,l,n,a,o,s)}else e.drawImage(i,n,a,o,s)}}function Au(e,t,r){var i,n=r.text;if(n!=null&&(n+=""),n){e.font=r.font||ur,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(i=qo(t),a=i[0],o=i[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(Ne(r)&&e.strokeText(n,r.x,r.y),We(r)&&e.fillText(n,r.x,r.y)):(We(r)&&e.fillText(n,r.x,r.y),Ne(r)&&e.strokeText(n,r.x,r.y)),a&&e.setLineDash([])}}var Ma=["shadowBlur","shadowOffsetX","shadowOffsetY"],La=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Zo(e,t,r,i,n){var a=!1;if(!i&&(r=r||{},t===r))return!1;if(i||t.opacity!==r.opacity){it(e,n),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?hr.opacity:o}(i||t.blend!==r.blend)&&(a||(it(e,n),a=!0),e.globalCompositeOperation=t.blend||hr.blend);for(var s=0;s2&&i.push(n),n=[A,x]}function u(A,x,E,D){Rr(A,E)&&Rr(x,D)||n.push(A,x,E,D,E,D)}function v(A,x,E,D,z,k){var W=Math.abs(x-A),X=Math.tan(W/4)*4/3,Z=xC:R2&&i.push(n),i}function fn(e,t,r,i,n,a,o,s,f,h){if(Rr(e,r)&&Rr(t,i)&&Rr(n,o)&&Rr(a,s)){f.push(o,s);return}var u=2/h,v=u*u,l=o-e,c=s-t,_=Math.sqrt(l*l+c*c);l/=_,c/=_;var g=r-e,d=i-t,p=n-o,y=a-s,m=g*g+d*d,T=p*p+y*y;if(m=0&&C=0){f.push(o,s);return}var L=[],P=[];kt(e,r,n,o,.5,L),kt(t,i,a,s,.5,P),fn(L[0],P[0],L[1],P[1],L[2],P[2],L[3],P[3],f,h),fn(L[4],P[4],L[5],P[5],L[6],P[6],L[7],P[7],f,h)}function zu(e,t){var r=sn(e),i=[];t=t||1;for(var n=0;n0)for(var h=0;hMath.abs(h),v=Vo([f,h],u?0:1,t),l=(u?s:h)/v.length,c=0;cn,o=Vo([i,n],a?0:1,t),s=a?"width":"height",f=a?"height":"width",h=a?"x":"y",u=a?"y":"x",v=e[s]/o.length,l=0;l1?null:new F(g*f+e,g*h+t)}function Nu(e,t,r){var i=new F;F.sub(i,r,t),i.normalize();var n=new F;F.sub(n,e,t);var a=n.dot(i);return a}function mr(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function Wu(e,t,r){for(var i=e.length,n=[],a=0;ao?(h.x=u.x=s+a/2,h.y=f,u.y=f+o):(h.y=u.y=f+o/2,h.x=s,u.x=s+a),Wu(t,h,u)}function Ye(e,t,r,i){if(r===1)i.push(t);else{var n=Math.floor(r/2),a=e(t);Ye(e,a[0],n,i),Ye(e,a[1],r-n,i)}return i}function Yu(e,t){for(var r=[],i=0;i0)for(var b=i/r,w=-i/2;w<=i/2;w+=b){for(var M=Math.sin(w),C=Math.cos(w),L=0,m=0;m0;h/=2){var u=0,v=0;(e&h)>0&&(u=1),(t&h)>0&&(v=1),s+=h*h*(3*u^v),v===0&&(u===1&&(e=h-1-e,t=h-1-t),f=e,e=t,t=f)}return s}function Xe(e){var t=1/0,r=1/0,i=-1/0,n=-1/0,a=xt(e,function(s){var f=s.getBoundingRect(),h=s.getComputedTransform(),u=f.x+f.width/2+(h?h[4]:0),v=f.y+f.height/2+(h?h[5]:0);return t=Math.min(u,t),r=Math.min(v,r),i=Math.max(u,i),n=Math.max(v,n),[u,v]}),o=xt(a,function(s,f){return{cp:s,z:Ju(s[0],s[1],t,r,i,n),path:e[f]}});return o.sort(function(s,f){return s.z-f.z}).map(function(s){return s.path})}function jo(e){return qu(e.path,e.count)}function un(){return{fromIndividuals:[],toIndividuals:[],count:0}}function kv(e,t,r){var i=[];function n(b){for(var w=0;w=s)}}for(var v=this.__startIndex;v15)break}}x.prevElClipPaths&&p.restore()};if(y)if(y.length===0)C=d.__endIndex;else for(var P=c.dpr,R=0;R0&&t>n[0]){for(f=0;ft);f++);s=i[n[f]]}if(n.splice(f+1,0,t),i[t]=r,!r.virtual)if(s){var h=s.dom;h.nextSibling?o.insertBefore(r.dom,h.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 i=this._zlevelList,n=0;n0?Re:0),this._needsManuallyCompositing),u.__builtin__||dn("ZLevel "+h+" has been used by unkown layer "+u.id),u!==a&&(u.__used=!0,u.__startIndex!==f&&(u.__dirty=!0),u.__startIndex=f,u.incremental?u.__drawIndex=-1:u.__drawIndex=f,r(f),a=u),n.__dirty&ot&&!n.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=f))}r(f),this.eachBuiltinLayer(function(v,l){!v.__used&&v.getElementCount()>0&&(v.__dirty=!0,v.__startIndex=v.__endIndex=v.__drawIndex=0),v.__dirty&&v.__drawIndex<0&&(v.__drawIndex=v.__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,ft(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var i=this._layerConfig;i[t]?Gr(i[t],r,!0):i[t]=r;for(var n=0;n - + - + @@ -18,32 +18,32 @@ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> Ray Template - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +