mirror of
https://github.com/fatedier/frp.git
synced 2025-02-02 07:54:23 +00:00
85 lines
860 KiB
JavaScript
85 lines
860 KiB
JavaScript
|
var wD=Object.defineProperty;var SD=(e,t,r)=>t in e?wD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Wt=(e,t,r)=>(SD(e,typeof t!="symbol"?t+"":t,r),r);var vte=xD((Hr,zr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();/**
|
||
|
* @vue/shared v3.4.15
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function $m(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const bt={},ns=[],Qt=()=>{},CD=()=>!1,Bd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hm=e=>e.startsWith("onUpdate:"),Nt=Object.assign,zm=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},TD=Object.prototype.hasOwnProperty,Ue=(e,t)=>TD.call(e,t),_e=Array.isArray,is=e=>Bu(e)==="[object Map]",$d=e=>Bu(e)==="[object Set]",o_=e=>Bu(e)==="[object Date]",Ie=e=>typeof e=="function",ze=e=>typeof e=="string",ra=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",Kc=e=>(qe(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),EC=Object.prototype.toString,Bu=e=>EC.call(e),MD=e=>Bu(e).slice(8,-1),LC=e=>Bu(e)==="[object Object]",Vm=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_c=$m(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hd=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},AD=/-(\w)/g,Kn=Hd(e=>e.replace(AD,(t,r)=>r?r.toUpperCase():"")),PD=/\B([A-Z])/g,wo=Hd(e=>e.replace(PD,"-$1").toLowerCase()),zd=Hd(e=>e.charAt(0).toUpperCase()+e.slice(1)),bc=Hd(e=>e?`on${zd(e)}`:""),na=(e,t)=>!Object.is(e,t),wc=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Xc=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ED=e=>{const t=parseFloat(e);return isNaN(t)?e:t},LD=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let s_;const DC=()=>s_||(s_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wt(e){if(_e(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=ze(n)?RD(n):wt(n);if(i)for(const a in i)t[a]=i[a]}return t}else if(ze(e)||qe(e))return e}const DD=/;(?![^(]*\))/g,ID=/:([^]+)/,OD=/\/\*[^]*?\*\//g;function RD(e){const t={};return e.replace(OD,"").split(DD).forEach(r=>{if(r){const n=r.split(ID);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ne(e){let t="";if(ze(e))t=e;else if(_e(e))for(let r=0;r<e.length;r++){const n=ne(e[r]);n&&(t+=n+" ")}else if(qe(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const kD="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ND=$m(kD);function IC(e){return!!e||e===""}function FD(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Vd(e[n],t[n]);return r}function Vd(e,t){if(e===t)return!0;let r=o_(e),n=o_(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=ra(e),n=ra(t),r||n)return e===t;if(r=_e(e),n=_e(t),r||n)return r&&n?FD(e,t):!1;if(r=qe(e),n=qe(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!Vd(e[o],t[o]))return!1}}return String(e)===String(t)}function OC(e,t){return e.findIndex(r=>Vd(r,t))}const be=e=>ze(e)?e:e==null?"":_e(e)||qe(e)&&(e.toString===EC||!Ie(e.toString))?JSON.stringify(e,RC,2):String(e),RC=(e,t)=>t&&t.__v_isRef?RC(e,t.value):is(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],a)=>(r[Fh(n,a)+" =>"]=i,r),{})}:$d(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Fh(r))}:ra(t)?Fh(t):qe(t)&&!_e(t)&&!LC(t)?String(t):t,Fh=(e,t="")=>{var r;return ra(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
|
||
|
* @vue/reactivity v3.4.15
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let Fr;class BD{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fr,!t&&Fr&&(this.index=(Fr.scopes||(Fr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Fr;try{return Fr=this,t()}finally{Fr=r}}}on(){Fr=this}off(){Fr=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function $D(e,t=Fr){t&&t.active&&t.effects.push(e)}function kC(){return Fr}function HD(e){Fr&&Fr.cleanups.push(e)}let ro;class Wm{constructor(t,r,n,i){this.fn=t,this.trigger=r,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,$D(this,i)}get dirty(){if(this._dirtyLevel===1){So();for(let t=0;t<this._depsLength;t++){const r=this.deps[t];if(r.computed&&(zD(r.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),xo()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Qi,r=ro;try{return Qi=!0,ro=this,this._runnings++,l_(this),this.fn()}finally{u_(this),this._runnings--,ro=r,Qi=t}}stop(){var t;this.active&&(l_(this),u_(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function zD(e){return e.value}function l_(e){e._trackId++,e._depsLength=0}function u_(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)NC(e.deps[t],e);e.deps.length=e._depsLength}}function NC(e,t){const r=e.get(t);r!==void 0&&t._trackId!==r&&(e.delete(t),e.size===0&&e.cleanup())}let Qi=!0,Dp=0;const FC=[];function So(){FC.push(Qi),Qi=!1}function xo(){const e=FC.pop();Qi=e===void 0?!0:e}function Gm(){Dp++}function Um(){for(Dp--;!Dp&&Ip.length;)Ip.shift()()}function BC(e,t,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&NC(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ip=[];function $C(e,t,r){Gm();for(const n of e.keys())if(n._dirtyLevel<t&&e.get(n)===n._trackId){const i=n._dirtyLevel;n._dirtyLevel=t,i===0&&(n._shouldSchedule=!0,n.trigger())}HC(e),Um()}function HC(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,Ip.push(t.scheduler))}const zC=(e,t)=>{const r=new Map;return r.cleanup=e,r.computed=t,r},Zc=new WeakMap,no=Symbol(""),Op=Symbol("");function Dr(e,t,r){if(Qi&&ro){let n=Zc.get(e);n||Zc.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=zC(()=>n.delete(r))),BC(ro,i)}}function pi(e,t,r,n,i,a){const o=Zc.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&_e(e)){const l=Number(n);o.forEach((u,f)=>{(f==="length"||!ra(f)&&f>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(o.get(r)),t){case"add":_e(e)?Vm(r)&&s.push(o.get("length")):(s.push(o.get(no)),is(e)&&s.push(o.get(Op)));break;case"delete":_e(e)||(s.push(o.get(no)),is(e)&&s.push(o.get(Op)));break;case"set":is(e)&&s.push(o.get(no));break}Gm();for(const l of s)l&&$C(l,2);Um()}function VD(e,t){var r;return(r=Zc.get(e))==null?void 0:r.get(t)}const WD=$m("__proto__,__v_isRef,__isVue"),VC=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ra)),f_=GD();function GD(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=Qe(this);for(let a=0,o=this.length;a<o;a++)Dr(n,"get",a+"");const i=n[t](...r);return i===-1||i===!1?n[t](...r.map(Qe)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){So(),Gm();const n=Qe(this)[t].apply(this,r);return Um(),xo(),n}}),e}function UD(e){const t=Qe(this);return Dr(t,"has",e),t.hasOwnProperty(e)}class WC{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get
|
||
|
* @vue/runtime-core v3.4.15
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Ji(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){Ud(a,t,r)}return i}function ln(e,t,r,n){if(Ie(e)){const a=Ji(e,t,r,n);return a&&Kc(a)&&a.catch(o=>{Ud(o,t,r)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(ln(e[a],t,r,n));return i}function Ud(e,t,r,n=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,o,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){Ji(l,null,10,[e,o,s]);return}}dI(e,r,i,n)}function dI(e,t,r,n=!0){console.error(e)}let iu=!1,Rp=!1;const or=[];let zn=0;const os=[];let Wi=null,Ga=0;const tT=Promise.resolve();let Qm=null;function Ft(e){const t=Qm||tT;return e?t.then(this?e.bind(this):e):t}function hI(e){let t=zn+1,r=or.length;for(;t<r;){const n=t+r>>>1,i=or[n],a=au(i);a<e||a===e&&i.pre?t=n+1:r=n}return t}function Jm(e){(!or.length||!or.includes(e,iu&&e.allowRecurse?zn+1:zn))&&(e.id==null?or.push(e):or.splice(hI(e.id),0,e),rT())}function rT(){!iu&&!Rp&&(Rp=!0,Qm=tT.then(iT))}function vI(e){const t=or.indexOf(e);t>zn&&or.splice(t,1)}function pI(e){_e(e)?os.push(...e):(!Wi||!Wi.includes(e,e.allowRecurse?Ga+1:Ga))&&os.push(e),rT()}function p_(e,t,r=iu?zn+1:0){for(;r<or.length;r++){const n=or[r];if(n&&n.pre){if(e&&n.id!==e.uid)continue;or.splice(r,1),r--,n()}}}function nT(e){if(os.length){const t=[...new Set(os)].sort((r,n)=>au(r)-au(n));if(os.length=0,Wi){Wi.push(...t);return}for(Wi=t,Ga=0;Ga<Wi.length;Ga++)Wi[Ga]();Wi=null,Ga=0}}const au=e=>e.id==null?1/0:e.id,gI=(e,t)=>{const r=au(e)-au(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function iT(e){Rp=!1,iu=!0,or.sort(gI);try{for(zn=0;zn<or.length;zn++){const t=or[zn];t&&t.active!==!1&&Ji(t,null,14)}}finally{zn=0,or.length=0,nT(),iu=!1,Qm=null,(or.length||os.length)&&iT()}}function mI(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||bt;let i=r;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in n){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:h}=n[f]||bt;h&&(i=r.map(d=>ze(d)?d.trim():d)),c&&(i=r.map(ED))}let s,l=n[s=bc(t)]||n[s=bc(Kn(t))];!l&&a&&(l=n[s=bc(wo(t))]),l&&ln(l,e,6,i);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ln(u,e,6,i)}}function aT(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!Ie(e)){const l=u=>{const f=aT(u,t,!0);f&&(s=!0,Nt(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(qe(e)&&n.set(e,null),null):(_e(a)?a.forEach(l=>o[l]=null):Nt(o,a),qe(e)&&n.set(e,o),o)}function jd(e,t){return!e||!Bd(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ue(e,t[0].toLowerCase()+t.slice(1))||Ue(e,wo(t))||Ue(e,t))}let Ht=null,oT=null;function Jc(e){const t=Ht;return Ht=e,oT=e&&e.type.__scopeId||null,t}function X(e,t=Ht,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&L_(-1);const a=Jc(t);let o;try{o=e(...i)}finally{Jc(a),n._d&&L_(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Bh(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:c,data:h,setupState:d,ctx:v,inheritAttrs:p}=e;let g,m;const y=Jc(e);try{if(r.shapeFlag&4){const b=i||n,x=b;g=Hn(f.call(x,b,c,a,d,h,v)),m=l}else{const b=t;g=Hn(b.length>1?b(a,{attrs:l,slots:s,emit:u}):b(a,null)),m=t.props?l:yI(l)}}catch(b){Dl.length=0,Ud(b,e,1),g=J(Ar)}let _=g;if(m&&p!==!1){const b=Object.keys(m),{shapeFlag:x}=_;b.length&&x&7&&(o&&b.some(Hm)&&(m=_I(m,o)),_=mi(_,m))}return r.dirs&&(_=mi(_),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),g=_,Jc(y),g}const yI=e=>{let t;for(const r in e)(r==="class"||r==="style"||Bd(r))&&((t||(t={}))[r]=e[r]);return t},_I=(e,t)=>{const r={};for(const n in e)(!Hm(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function bI(e,t,r){const{props:n,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?g_(n,o,u):!
|
||
|
* @vue/runtime-dom v3.4.15
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/const _O="http://www.w3.org/2000/svg",bO="http://www.w3.org/1998/Math/MathML",ji=typeof document<"u"?document:null,R_=ji&&ji.createElement("template"),wO={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?ji.createElementNS(_O,e):t==="mathml"?ji.createElementNS(bO,e):ji.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ji.createTextNode(e),createComment:e=>ji.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ji.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,a){const o=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{R_.innerHTML=n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e;const s=R_.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Ei="transition",js="animation",ps=Symbol("_vtc"),Ci=(e,{slots:t})=>Te(EI,DT(e),t);Ci.displayName="Transition";const LT={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},SO=Ci.props=Nt({},cT,LT),ya=(e,t=[])=>{_e(e)?e.forEach(r=>r(...t)):e&&e(...t)},k_=e=>e?_e(e)?e.some(t=>t.length>1):e.length>1:!1;function DT(e){const t={};for(const P in e)P in LT||(t[P]=e[P]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:f=s,leaveFromClass:c=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:d=`${r}-leave-to`}=e,v=xO(i),p=v&&v[0],g=v&&v[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:x,onBeforeAppear:w=m,onAppear:S=y,onAppearCancelled:C=_}=t,T=(P,L,R)=>{Bi(P,L?f:s),Bi(P,L?u:o),R&&R()},E=(P,L)=>{P._isLeaving=!1,Bi(P,c),Bi(P,d),Bi(P,h),L&&L()},A=P=>(L,R)=>{const B=P?S:y,H=()=>T(L,P,R);ya(B,[L,H]),N_(()=>{Bi(L,P?l:a),ui(L,P?f:s),k_(B)||F_(L,n,p,H)})};return Nt(t,{onBeforeEnter(P){ya(m,[P]),ui(P,a),ui(P,o)},onBeforeAppear(P){ya(w,[P]),ui(P,l),ui(P,u)},onEnter:A(!1),onAppear:A(!0),onLeave(P,L){P._isLeaving=!0;const R=()=>E(P,L);ui(P,c),OT(),ui(P,h),N_(()=>{P._isLeaving&&(Bi(P,c),ui(P,d),k_(b)||F_(P,n,g,R))}),ya(b,[P,R])},onEnterCancelled(P){T(P,!1),ya(_,[P])},onAppearCancelled(P){T(P,!0),ya(C,[P])},onLeaveCancelled(P){E(P),ya(x,[P])}})}function xO(e){if(e==null)return null;if(qe(e))return[Wh(e.enter),Wh(e.leave)];{const t=Wh(e);return[t,t]}}function Wh(e){return LD(e)}function ui(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[ps]||(e[ps]=new Set)).add(t)}function Bi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[ps];r&&(r.delete(t),r.size||(e[ps]=void 0))}function N_(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let CO=0;function F_(e,t,r,n){const i=e._endId=++CO,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=IT(e,t);if(!o)return n();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,h),a()},h=d=>{d.target===e&&++f>=l&&c()};setTimeout(()=>{f<l&&c()},s+1),e.addEventListener(u,h)}function IT(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),i=n(`${Ei}Delay`),a=n(`${Ei}Duration`),o=B_(i,a),s=n(`${js}Delay`),l=n(`${js}Duration`),u=B_(s,l);let f=null,c=0,h=0;t===Ei?o>0&&(f=Ei,c=o,h=a.length):t===js?u>0&&(f=js,c=u,h=l.length):(c=Math.max(o,u),f=c>0?o>u?Ei:js:null,h=f?f===Ei?a.length:l.length:0);const d=f===Ei&&/\b(transform|all)(,|$)/.test(n(`${Ei}Property`).toString());return{typ
|
||
|
(?:
|
||
|
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||
|
(?:`+n+":){6}(?:"+r+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||
|
(?:`+n+":){5}(?::"+r+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||
|
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||
|
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||
|
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||
|
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||
|
(?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"),o=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),l=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+r+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+r+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+i+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",c=l.v4().source,h=l.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+f+"(?:localhost|"+c+"|"+h+"|"+d+v+p+")"+g+m;return xf=new RegExp("(?:^"+y+"$)","i"),xf},l1={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_l={integer:function(t){return _l.number(t)&&parseInt(t,10)===t},float:function(t){return _l.number(t)&&!_l.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_l.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(l1.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(I4())},hex:function(t){return typeof t=="string"&&!!t.match(l1.hex)}},O4=function(t,r,n,i,a){if(t.required&&r===void 0){eA(t,r,n,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?_l[s](r)||i.push($r(a.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push($r(a.messages.types[s],t.fullField,t.type))},R4=function(t,r,n,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=r,c=null,h=typeof r=="number",d=typeof r=="string",v=Array.isArray(r);if(h?c="number":d?c="string":v&&(c="array"),!c)return!1;v&&(f=r.length),d&&(f=r.replace(u,"_").length),o?f!==t.len&&i.push($r(a.messages[c].len,t.fullField,t.len)):s&&!l&&f<t.min?i.push($r(a.messages[c].min,t.fullField,t.min)):l&&!s&&f>t.max?i.push($r(a.messages[c].max,t.fullField,t.max)):s&&l&&(f<t.min||f>t.max)&&i.push($r(a.messages[c].range,t.fullField,t.min,t.max))},Do="enum",k4=function(t,r,n,i,a){t[Do]=Array.isArray(t[Do])?t[Do]:[],t[Do].indexOf(r)===-1&&i.push($r(a.messages[Do],t.fullField,t[Do].join(", ")))},N4=function(t,r,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push($r(a.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||i.push($r(a.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},Xe={required:eA,whitespace:D4,type:O4,range:R4,enum:k4,pattern:N4},F4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r,"string")&&!t.required)return n();Xe.required(t,r,i,o,a,"string"),Vt(r,"string")||(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a),Xe.pattern(t,r,i,o,a),t.whitespace===!0&&Xe.whitespace(t,r,i,o,a))}n(o)},B4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&Xe.type(t,r,i,o,a)}n(o)},$4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),Vt(r)&&!t.required)return n();Xe.required(t,r,i,o,a),r!==void 0&&(Xe.type(t,r,i,o,a),Xe.range(t,r,i,o,a))}n(o)},H4=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Vt(r)&&!t.requir
|
||
|
* Checks if an event is supported in the current execution environment.
|
||
|
*
|
||
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
|
* `reset`, `load`, `error`, and `select`.
|
||
|
*
|
||
|
* Borrows from Modernizr.
|
||
|
*
|
||
|
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
|
* @param {?boolean} capture Check if the capture phase is supported.
|
||
|
* @return {boolean} True if the event is supported.
|
||
|
* @internal
|
||
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
|
*/const t8=function(e,t){if(e&&e.addEventListener){const r=function(n){const i=e8(n);t&&Reflect.apply(t,this,[n,i])};e.addEventListener("wheel",r,{passive:!0})}},r8={beforeMount(e,t){t8(e,t.value)}},TA={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:sh,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},MA={[po]:e=>ze(e)||Ot(e)||Vr(e),change:e=>ze(e)||Ot(e)||Vr(e)},Fs=Symbol("checkboxGroupContextKey"),n8=({model:e,isChecked:t})=>{const r=Le(Fs,void 0),n=k(()=>{var a,o;const s=(a=r==null?void 0:r.max)==null?void 0:a.value,l=(o=r==null?void 0:r.min)==null?void 0:o.value;return!pu(s)&&e.value.length>=s&&!t.value||!pu(l)&&e.value.length<=l&&t.value});return{isDisabled:lh(k(()=>(r==null?void 0:r.disabled.value)||n.value)),isLimitDisabled:n}},i8=(e,{model:t,isLimitExceeded:r,hasOwnLabel:n,isDisabled:i,isLabeledByFormItem:a})=>{const o=Le(Fs,void 0),{formItem:s}=Ju(),{emit:l}=it();function u(v){var p,g;return v===e.trueLabel||v===!0?(p=e.trueLabel)!=null?p:!0:(g=e.falseLabel)!=null?g:!1}function f(v,p){l("change",u(v),p)}function c(v){if(r.value)return;const p=v.target;l("change",u(p.checked),v)}async function h(v){r.value||!n.value&&!i.value&&a.value&&(v.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ft(),f(t.value,v)))}const d=k(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return xe(()=>e.modelValue,()=>{d.value&&(s==null||s.validate("change").catch(v=>void 0))}),{handleChange:c,onClickRoot:h}},a8=e=>{const t=$(!1),{emit:r}=it(),n=Le(Fs,void 0),i=k(()=>pu(n)===!1),a=$(!1),o=k({get(){var s,l;return i.value?(s=n==null?void 0:n.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;i.value&&_e(s)?(a.value=((l=n==null?void 0:n.max)==null?void 0:l.value)!==void 0&&s.length>(n==null?void 0:n.max.value)&&s.length>o.value.length,a.value===!1&&((u=n==null?void 0:n.changeEvent)==null||u.call(n,s))):(r(po,s),t.value=s)}});return{model:o,isGroup:i,isLimitExceeded:a}},o8=(e,t,{model:r})=>{const n=Le(Fs,void 0),i=$(!1),a=k(()=>{const u=r.value;return Vr(u)?u:_e(u)?qe(e.label)?u.map(Qe).some(f=>s$(f,e.label)):u.map(Qe).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=ua(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value}),{prop:!0}),s=ua(k(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value})),l=k(()=>!!t.default||!ys(e.label));return{checkboxButtonSize:o,isChecked:a,isFocused:i,checkboxSize:s,hasOwnLabel:l}},s8=(e,{model:t})=>{function r(){_e(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&r()},AA=(e,t)=>{const{formItem:r}=Ju(),{model:n,isGroup:i,isLimitExceeded:a}=a8(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:f}=o8(e,t,{model:n}),{isDisabled:c}=n8({model:n,isChecked:s}),{inputId:h,isLabeledByFormItem:d}=Hy(e,{formItemContext:r,disableIdGeneration:f,disableIdManagement:i}),{handleChange:v,onClickRoot:p}=i8(e,{model:n,isLimitExceeded:a,hasOwnLabel:f,isDisabled:c,isLabeledByFormItem:d});return s8(e,{model:n}),{inputId:h,isLabeledByFormItem:d,isChecked:s,isDisabled:c,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:f,model:n,handleChange:v,onClickRoot:p}},l8=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],u8=["id","indeterminate","disabled","value","name","tabindex"],f8=ie({name:"ElCheckbox"}),c8=ie({...f8,props:TA,emits:MA,setup(e){const t=e,r=zu(),{inputId:n,isLabeledByFormItem:i,isChecked:a,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:f,handleChange:c,onClickRoot:h}=AA(t,r),d=Ne("checkbox"),v=k(()=>[d.b(),d.m(l.value),d.is("disabled",o.value),d.is("bordered",t.border),d.is("checked",a.value)]),p=k(()=>[d.e("input"),d.is("disabled",o.value
|
||
|
* vue-router v4.2.5
|
||
|
* (c) 2023 Eduardo San Martin Morote
|
||
|
* @license MIT
|
||
|
*/const qo=typeof window<"u";function EW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function sv(e,t){const r={};for(const n in t){const i=t[n];r[n]=En(i)?i.map(e):e(i)}return r}const Hl=()=>{},En=Array.isArray,LW=/\/$/,DW=e=>e.replace(LW,"");function lv(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=kW(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function IW(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function R1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function OW(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&As(t.matched[n],r.matched[i])&&KA(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function As(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function KA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!RW(e[r],t[r]))return!1;return!0}function RW(e,t){return En(e)?k1(e,t):En(t)?k1(t,e):e===t}function k1(e,t){return En(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function kW(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let a=r.length-1,o,s;for(o=0;o<n.length;o++)if(s=n[o],s!==".")if(s==="..")a>1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(o-(o===n.length?1:0)).join("/")}var bu;(function(e){e.pop="pop",e.push="push"})(bu||(bu={}));var zl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zl||(zl={}));function NW(e){if(!e)if(qo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DW(e)}const FW=/^[^#]+#/;function BW(e,t){return e.replace(FW,"#")+t}function $W(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const fh=()=>({left:window.pageXOffset,top:window.pageYOffset});function HW(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=$W(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function N1(e,t){return(history.state?history.state.position-t:-1)+e}const Mg=new Map;function zW(e,t){Mg.set(e,t)}function VW(e){const t=Mg.get(e);return Mg.delete(e),t}let WW=()=>location.protocol+"//"+location.host;function XA(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),R1(l,"")}return R1(r,e)+n+i}function GW(e,t,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const d=XA(e,location),v=r.value,p=t.value;let g=0;if(h){if(r.value=d,t.value=h,o&&o===v){o=null;return}g=p?h.position-p.position:0}else n(d);i.forEach(m=>{m(r.value,v,{delta:g,type:bu.pop,direction:g?g>0?zl.forward:zl.back:zl.unknown})})};function l(){o=r.value}function u(h){i.push(h);const d=()=>{const v=i.indexOf(h);v>-1&&i.splice(v,1)};return a.push(d),d}function f(){const{history:h}=window;h.state&&h.replaceState(lt({},h.state,{scroll:fh()}),"")}function c(){for(const h of a)h();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:u,destroy:c}}function F1(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?fh():null}}function UW(e){const{history:t,location:r}=window,n={value:XA(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replace
|
||
|
`:arguments[1];return c.replace(/\<br\s*\/?\>/g,h)},capitalize:function(c){var h=arguments.length<=1||arguments[1]===void 0?!1:arguments[1];return""+c.charAt(0).toUpperCase()+(h?c.slice(1).toLowerCase():c.slice(1))},capitalizeAll:function(c){return c.replace(/(?:^|\s)\S/g,function(h){return h.toUpperCase()})},titleCase:function(c){var h=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,d=/\S+[A-Z]+\S*/,v=/\s+/,p=/-/,g=void 0;return g=function(y){for(var _=arguments.length<=1||arguments[1]===void 0?!1:arguments[1],b=arguments.length<=2||arguments[2]===void 0?!0:arguments[2],x=[],w=y.split(_?p:v),S=0;S<w.length;++S){var C=w[S];if(C.indexOf("-")!==-1){x.push(g(C,!0,S===0||S===w.length-1));continue}if(b&&(S===0||S===w.length-1)){x.push(d.test(C)?C:u.capitalize(C));continue}d.test(C)?x.push(C):h.test(C)?x.push(C.toLowerCase()):x.push(u.capitalize(C))}return x.join(_?"-":" ")},g(c)},titlecase:function(){return u.titleCase.apply(u,arguments)}};return u})})(Eg,Eg.exports);var wu=Eg.exports;/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation.
|
||
|
|
||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
purpose with or without fee is hereby granted.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
***************************************************************************** */var Lg=function(e,t){return Lg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Lg(e,t)};function ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Lg(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var OG=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),RG=function(){function e(){this.browser=new OG,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}(),He=new RG;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(He.wxa=!0,He.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?He.worker=!0:typeof navigator>"u"?(He.node=!0,He.svgSupported=!0):kG(navigator.userAgent,He);function kG(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var Zy=12,NG="sans-serif",mo=Zy+"px "+NG,FG=20,BG=100,$G="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function HG(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-FG)/BG;t[n]=i}return t}var zG=HG($G),Bs={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Bs.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||mo),e.measureText(r);r=r||"",n=n||mo;var a=/(\d+)px/.exec(n),o=a&&+a[1]||Zy,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=zG[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},o2=fa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),s2=fa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),tf=Object.prototype.toString,ch=Array.prototype,VG=ch.forEach,WG=ch.filter,Qy=ch.slice,GG=ch.map,X1=(function(){}).constructor,Df=X1?X1.prototype:null,Jy="__proto__",UG=2311;function l2(){return UG++}function e0(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function tt(e){if(e==null||typeof e!="object")return e;var t=e,r=tf.call(e);if(r==="[object Array]"){if(!Wl(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=tt(e[n])}}else if(s2[r]){if(!Wl(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!o2[r]&&!Wl(e)&&!vd(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Jy&&(t[o]=tt(e[o]))}return t}function st(e,t,r){if(!Oe(t)||!Oe(e))return r?tt(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Jy){var i=e[n],a=t[n];Oe(a)&&Oe(i)&&!ye(a)&&!ye(i)&&!vd(a)&&!vd(i)&&!Z1(a)&&!Z1(i)&&!Wl(a)&&!Wl(i)?st(i,a,r):(r||!(n in e))&&(e[n]=tt(t[n]))}return
|
||
|
`),a=i.length;if(a===1)return Cw(i[0],t,r,n);for(var o=new nt(0,0,0,0),s=0;s<i.length;s++){var l=Cw(i[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function Sl(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Xo(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function l0(e){return Wr("国",e)}function ca(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function wd(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,f="left",c="top";if(n instanceof Array)l+=ca(n[0],r.width),u+=ca(n[1],r.height),f=null,c=null;else switch(n){case"left":l-=i,u+=s,f="right",c="middle";break;case"right":l+=i+o,u+=s,c="middle";break;case"top":l+=o/2,u-=i,f="center",c="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",c="middle";break;case"insideLeft":l+=i,u+=s,c="middle";break;case"insideRight":l+=o-i,u+=s,f="right",c="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",c="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,c="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",c="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=f,e.verticalAlign=c,e}var Pv="__zr_normal__",Ev=Cu.concat(["ignore"]),a9=fa(Cu,function(e,t){return e[t]=!0,e},{ignore:!1}),No={},o9=new nt(0,0,0,0),u0=function(){function e(t){this.id=l2(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var f=o9;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(No,n,f):wd(No,n,f),a.x=No.x,a.y=No.y,o=No.align,s=No.verticalAlign;var c=n.origin;if(c&&n.rotation!=null){var h=void 0,d=void 0;c==="center"?(h=f.width*.5,d=f.height*.5):(h=ca(c[0],f.width),d=ca(c[1],f.height)),u=!0,a.originX=-a.x+h+(i?0:f.x),a.originY=-a.y+d+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var v=n.offset;v&&(a.x+=v[0],a.y+=v[1],u||(a.originX=-v[0],a.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Br,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?qg:Yg},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&oo(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,a0(n,"rgba")},e.prototype.traverse=func
|
||
|
* ZRender, a high performance 2d drawing library.
|
||
|
*
|
||
|
* Copyright (c) 2013, Baidu Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* LICENSE
|
||
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
|
*/var zc={},k2={};function c9(e){delete k2[e]}function d9(e){if(!e)return!1;if(typeof e=="string")return _d(e,1)<jg;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=_d(t[i].color,1);return r/=n,r<jg}return!1}var h9=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new OU,o=n.renderer||"canvas";zc[o]||(o=xt(zc)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new zc[o](r,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!He.node&&!He.worker&&!l?new r9(s.getViewportRoot(),s.root):null,f=n.useCoarsePointer,c=f==null||f==="auto"?He.touchEventsSupported:!!f,h=44,d;c&&(d=Ze(n.pointerSize,h)),this.handler=new EU(a,s,u,s.root,d),this.animation=new qU({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=d9(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=ts();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=ts();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof jr&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,c9(this.id)},e}();function Tw(e,t){var r=new h9(l2(),e,t);return k2[r.id]=r,r}function v9(e,t){zc[e]=t}var Mw=1e-4,N2=20;function p9(e){return e.replace(/^\s+|\s+$/g,"")}function Kg(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],l=a-i,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function mt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"
|
||
|
`);i=Y2(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=q2(a[o],i);return a.join(`
|
||
|
`)}function Y2(e,t,r,n){n=n||{};var i=ue({},n);i.font=t,r=Ze(r,"..."),i.maxIterations=Ze(n.maxIterations,2);var a=i.minChar=Ze(n.minChar,0);i.cnCharWidth=Wr("国",t);var o=i.ascCharWidth=Wr("a",t);i.placeholder=Ze(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<a&&s>=o;l++)s-=o;var u=Wr(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function q2(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=Wr(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?Z9(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Wr(e,n)}return e===""&&(e=t.placeholder),e}function Z9(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Q9(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=l0(i),s=Ze(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",f=t.width,c;f!=null&&(r==="break"||r==="breakAll")?c=e?K2(e,t.font,f,r==="breakAll",0).lines:[]:c=e?e.split(`
|
||
|
`):[];var h=c.length*s,d=Ze(t.height,h);if(h>d&&u){var v=Math.floor(d/s);c=c.slice(0,v)}if(e&&a&&f!=null)for(var p=Y2(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<c.length;g++)c[g]=q2(c[g],p);for(var m=d,y=0,g=0;g<c.length;g++)y=Math.max(Wr(c[g],i),y);f==null&&(f=y);var _=y;return n&&(m+=n[0]+n[2],_+=n[1]+n[3],f+=n[1]+n[3]),l&&(_=f),{lines:c,height:d,outerWidth:_,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:h,width:f}}var J9=function(){function e(){}return e}(),Dw=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),e7=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function t7(e,t){var r=new e7;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=Ov.lastIndex=0,l;(l=Ov.exec(e))!=null;){var u=l.index;u>s&&Rv(r,e.substring(s,u),t,o),Rv(r,l[2],t,o,l[1]),s=Ov.lastIndex}s<e.length&&Rv(r,e.substring(s,e.length),t,o);var f=[],c=0,h=0,d=t.padding,v=a==="truncate",p=t.lineOverflow==="truncate";function g(U,F,z){U.width=F,U.lineHeight=z,c+=z,h=Math.max(h,F)}e:for(var m=0;m<r.lines.length;m++){for(var y=r.lines[m],_=0,b=0,x=0;x<y.tokens.length;x++){var w=y.tokens[x],S=w.styleName&&t.rich[w.styleName]||{},C=w.textPadding=S.padding,T=C?C[1]+C[3]:0,E=w.font=S.font||t.font;w.contentHeight=l0(E);var A=Ze(S.height,w.contentHeight);if(w.innerHeight=A,C&&(A+=C[0]+C[2]),w.height=A,w.lineHeight=Vl(S.lineHeight,t.lineHeight,A),w.align=S&&S.align||t.align,w.verticalAlign=S&&S.verticalAlign||"middle",p&&i!=null&&c+w.lineHeight>i){x>0?(y.tokens=y.tokens.slice(0,x),g(y,b,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var P=S.width,L=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")w.percentWidth=P,f.push(w),w.contentWidth=Wr(w.text,E);else{if(L){var R=S.backgroundColor,B=R&&R.image;B&&(B=K9(B),mh(B)&&(w.width=Math.max(w.width,B.width*A/B.height)))}var H=v&&n!=null?n-b:null;H!=null&&H<w.width?!L||H<T?(w.text="",w.width=w.contentWidth=0):(w.text=X9(w.text,H-T,E,t.ellipsis,{minChar:t.truncateMinChar}),w.width=w.contentWidth=Wr(w.text,E)):w.contentWidth=Wr(w.text,E)}w.width+=T,b+=w.width,S&&(_=Math.max(_,w.lineHeight))}g(y,b,_)}r.outerWidth=r.width=Ze(n,h),r.outerHeight=r.height=Ze(i,c),r.contentHeight=c,r.contentWidth=h,d&&(r.outerWidth+=d[1]+d[3],r.outerHeight+=d[0]+d[2]);for(var m=0;m<f.length;m++){var w=f[m],V=w.percentWidth;w.width=parseInt(V,10)/100*r.width}return r}function Rv(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,l=o.font||r.font,u=!1,f,c;if(n){var h=o.padding,d=h?h[1]+h[3]:0;if(o.width!=null&&o.width!=="auto"){var v=ca(o.width,n.width)+d;s.length>0&&v+n.accumWidth>n.width&&(f=t.split(`
|
||
|
`),u=!0),n.accumWidth=v}else{var p=K2(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+d,c=p.linesWidths,f=p.lines}}else f=t.split(`
|
||
|
`);for(var g=0;g<f.length;g++){var m=f[g],y=new J9;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=c?c[g]:Wr(m,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new Dw)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new Dw([y]))}}function r7(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var n7=fa(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function i7(e){return r7(e)?!!n7[e]:!0}function K2(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,c=0;c<e.length;c++){var h=e.charAt(c);if(h===`
|
||
|
`){l&&(s+=l,f+=u),a.push(s),o.push(f),s="",l="",u=0,f=0;continue}var d=Wr(h,t),v=n?!1:!i7(h);if(a.length?f+d>r:i+f+d>r){f?(s||l)&&(v?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=h,u+=d,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=h,f=d)):v?(a.push(l),o.push(u),l=h,u=d):(a.push(h),o.push(d));continue}f+=d,v?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var Qg="__zr_style_"+Math.round(Math.random()*10),so={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},yh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};so[Qg]=!0;var Iw=["z","z2","invisible"],a7=["invisible"],o7=function(e){ge(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=xt(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&s7(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new nt(0,0,0,0)),n?nt.applyTransform(r,i,n):r.copy(i),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new nt(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:ue(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=bl,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&bl)},t.prototype.styleUpdated=function(){this.__dirty&=~bl},t.prototype.createStyle=function(r){return hh(so,r)},t.prototype.useStyle=function(r){r[Qg]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[Qg]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Iw)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.style?o?a?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var f=this.style;
|
||
|
`,`
|
||
|
|
||
|
`,`
|
||
|
|
||
|
|
||
|
`];function Ou(e,t){return t.type=e,t}function vm(e){return e.type==="section"}function ME(e){return vm(e)?Oq:Rq}function AE(e){if(vm(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return O(e.blocks,function(i){var a=AE(i);a>=t&&(t=a+ +(n&&(!a||vm(i)&&!i.noHeader)))}),t}return 0}function Oq(e,t,r,n){var i=t.noHeader,a=kq(AE(t)),o=[],s=t.blocks||[];bi(!s||ye(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Es(u,l)){var f=new mq(u[l],null);s.sort(function(v,p){return f.evaluate(v.sortParam,p.sortParam)})}else l==="seriesDesc"&&s.reverse()}O(s,function(v,p){var g=t.valueFormatter,m=ME(v)(g?ue(ue({},e),{valueFormatter:g}):e,v,p>0?a.html:0,n);m!=null&&o.push(m)});var c=e.renderMode==="richText"?o.join(a.richText):pm(o.join(""),i?r:a.html);if(i)return c;var h=cm(t.header,"ordinal",e.useUTC),d=TE(n,e.renderMode).nameStyle;return e.renderMode==="richText"?PE(e,h,d)+a.richText+c:pm('<div style="'+d+";"+CE+';">'+rn(h)+"</div>"+c,r)}function Rq(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(b){return b=ye(b)?b:[b],Fe(b,function(x,w){return cm(x,ye(d)?d[w]:d,u)})};if(!(a&&o)){var c=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=a?"":cm(l,"ordinal",u),d=t.valueType,v=o?[]:f(t.value),p=!s||!a,g=!s&&a,m=TE(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":c)+(a?"":PE(e,h,y))+(o?"":Bq(e,v,p,g,_)):pm((s?"":c)+(a?"":Nq(h,!s,y))+(o?"":Fq(v,p,g,_)),r)}}function WS(e,t,r,n,i,a){if(e){var o=ME(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function kq(e){return{html:Dq[e],richText:Iq[e]}}function pm(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+CE+';">'+e+r+"</div>"}function Nq(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+rn(e)+"</span>"}function Fq(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=ye(e)?e:[e],'<span style="'+a+";"+n+'">'+Fe(e,function(o){return rn(o)}).join(" ")+"</span>"}function PE(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function Bq(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ye(t)?t.join(" "):t,a)}function $q(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Lu(n)}function EE(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var ip=function(){function e(){this.richTextStyles={},this._nextStyleNameId=$2()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=MY({color:r,type:t,renderMode:n,markerId:i});return Pe(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};ye(r)?O(r,function(a){return ue(n,a)}):ue(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function Hq(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=ye(s),u=$q(t,r),f,c,h,d;if(o>1||l&&!o){var v=zq(s,t,r,a,u);f=v.inlineValues,c=v.inlineValueTypes,h=v.blocks,d=v.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);d=f=Is(i,r,a[0]),c=p.type}else d=f=l?s[0]:s;var g=c0(t),m=g&&t.name||"",y=i.getName(r),_=n?m:y;return Ou("section",{header:m,noHeader:n||!g,sortParam:d,blocks:[Ou("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Gn(_),value:f,valueType:c})].concat(h||[])})}function zq(e,t,r,n,i){var a=t.getData(),o=fa(e,function(c,h,d){var v=a.getDimensionInfo(d);return c=c||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?O(n,function(c){f(Is(a,r,c),c)}):O(e,f);function f(c,h){var d=a.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(o?u.push(Ou("nameValue",{markerType:"subItem",markerColor:i,name:d.displayName,v
|
||
|
|
||
|
`:"<br/>",m=c.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,d,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],d,null,h)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=ft(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,c=o.dataType,h=u.getData(c),d=this._renderMode,v=r.positionDefault,p=gl([h.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(f,c),y=new ip;m.marker=y.makeTooltipMarker("item",Lu(m.color),d);var _=BS(u.formatTooltip(f,!1,c)),b=p.get("order"),x=p.get("valueFormatter"),w=_.frag,S=w?WS(x?ue({valueFormatter:x},w):w,y,d,b,a.get("useUTC"),p.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(p,function(){this._showTooltipContent(p,S,m,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:h.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=ft(n),o=a.tooltipConfig,s=o.option||{};if(Pe(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&u.push(f),u.push({formatter:s.content});var c=r.positionDefault,h=gl(u,this._tooltipModel,c?{position:c}:null),d=h.get("content"),v=Math.random()+"",p=new ip;this._showOrMove(h,function(){var g=tt(h.get("formatterParams")||{});this._showTooltipContent(h,d,g,v,r.offsetX,r.offsetY,r.position,n,p)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var c=this._tooltipContent;c.setEnterable(r.get("enterable"));var h=r.get("formatter");l=l||r.get("position");var d=n,v=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),p=v.color;if(h)if(Pe(h)){var g=r.ecModel.get("useUTC"),m=ye(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,y&&(d=Sh(m.axisValue,d,g)),d=aE(d,i,!0)}else if(je(h)){var _=St(function(b,x){b===this._ticket&&(c.setContent(x,f,r,p,l),this._updatePosition(r,l,o,s,c,i,u))},this);this._ticket=a,d=h(i,a,_)}else d=h;c.setContent(d,f,r,p,l),c.show(r,p),this._updatePosition(r,l,o,s,c,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||ye(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!ye(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var c=o.getSize(),h=r.get("align"),d=r.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),je(n)&&(n=n([i,a],s,o.el,v,{viewSize:[u,f],contentSize:c.slice()})),ye(n))i=mt(n[0],u),a=mt(n[1],f);else if(Oe(n)){var p=n;p.width=c[0],p.height=c[1];var g=Ls(p,{width:u,height:f});i=g.x,a=g.y,h=null,d=null}else if(Pe(n)&&l){var m=xee(n,v,c,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=wee(i,a,o,u,f,h?null:20,d?null:20);i=m[0],a=m[1]}if(h&&(i-=CC(h)?c[0]/2:h==="right"?c[0]:0),d&&(a-=CC(d)?c[1]/2:d==="bottom"?c[1]:0),uD(r)){var m=See(i,a,o,u,f);i=m[0],a=m[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&O(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&O(u,function(h,d){var v=c[d]||{},p=h.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&p.length===g.length,o&&O(p,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&O(h.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){He.node||!n.getDom()||(mm(this,"_updatePosition
|
||
|
`)){var g=new yc;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!f.get(p))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),x=y.getVisual("style"),w=this._createItem(m,p,v,d,n,r,_,x,b,c,a);w.on("click",jo(TC,p,null,a,h)).on("mouseover",jo(Fm,m.name,null,a,h)).on("mouseout",jo(Bm,m.name,null,a,h)),f.set(p,!0)}else i.eachRawSeries(function(S){if(!f.get(p)&&S.legendVisualProvider){var C=S.legendVisualProvider;if(!C.containName(p))return;var T=C.indexOfName(p),E=C.getItemVisual(T,"style"),A=C.getItemVisual(T,"legendIcon"),P=oo(E.fill);P&&P[3]===0&&(P[3]=.2,E=ue(ue({},E),{fill:a0(P,"rgba")}));var L=this._createItem(S,p,v,d,n,r,{},E,A,c,a);L.on("click",jo(TC,null,p,a,h)).on("mouseover",jo(Fm,null,p,a,h)).on("mouseout",jo(Bm,null,p,a,h)),f.set(p,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();Nm(r,function(u){var f=u.type,c=new mr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(c);var h=n.getModel("selectorLabel"),d=n.getModel(["emphasis","selectorLabel"]);A0(c,{normal:h,emphasis:d},{defaultText:u.title}),am(c)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,f,c,h){var d=r.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var b=Oee(f,a,l,u,d,g,h),x=new yc,w=a.getModel("textStyle");if(je(r.getLegendIcon)&&(!_||_==="inherit"))x.add(r.getLegendIcon({itemWidth:v,itemHeight:p,icon:f,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var S=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;x.add(Ree({itemWidth:v,itemHeight:p,icon:f,iconRotate:S,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var C=s==="left"?v+5:-5,T=s,E=o.get("formatter"),A=n;Pe(E)&&E?A=E.replace("{name}",n??""):je(E)&&(A=E(n));var P=g?w.getTextColor():a.get("inactiveColor");x.add(new mr({style:da(w,{text:A,x:C,y:p/2,fill:P,align:T,verticalAlign:"middle"},{inheritColor:P})}));var L=new zt({shape:x.getBoundingRect(),invisible:!0}),R=a.getModel("tooltip");return R.get("show")&&T0({el:L,componentModel:o,itemName:n,itemTooltipOption:R.option}),x.add(L),x.eachChild(function(B){B.silent=!0}),L.silent=!c,this.getContentGroup().add(x),am(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Ql(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),c=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Ql("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),d=[-h.x,-h.y],v=r.get("selectorButtonGap",!0),p=r.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";s==="end"?d[p]+=f[g]+v:c[p]+=h[g]+v,d[1-p]+=f[m]/2-h[m]/2,u.x=d[0],u.y=d[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[g]=f[g]+v+h[g],_[m]=Math.max(f[m],h[m]),_[y]=Math.min(0,h[y]+d[1-p]),_}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Si);function Oee(e,t,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),Nm(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=e.lastIndexOf("empty",0)===0?"fill":"stroke",c=l.getShallow("decal");u.decal=!c||c==="inherit"?n.decal:Sm(c,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[f]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:r).opacity),s(u,n);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),d.stroke==="auto"&&(d.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),p=u[f];u.lineWidth=v==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inact
|
||
|
`||u==="")){var f=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&f:n[u]=f}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function Nee(e){e.registerAction("legendToggleSelect","legendselectchanged",It(ml,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",It(ml,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",It(ml,"inverseSelect")),e.registerAction("legendSelect","legendselected",It(ml,"select")),e.registerAction("legendUnSelect","legendunselected",It(ml,"unSelect"))}function pD(e){e.registerComponentModel(km),e.registerComponentView(vD),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,kee),e.registerSubTypeDefaulter("legend",function(){return"plain"}),Nee(e)}var Fee=function(e){ge(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=Ph(r);e.prototype.init.call(this,r,n,i),MC(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),MC(this,this.option,r)},t.type="legend.scroll",t.defaultOption=jP(km.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(km);function MC(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Ds(t,r,{type:"box",ignoreSize:!!i})}const Bee=Fee;var AC=jr,Ep=["width","height"],Lp=["x","y"],$ee=function(e){ge(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new AC),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new AC)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,i,a,o,s,l);var f=this._controllerGroup,c=n.get("pageIconSize",!0),h=ye(c)?c:[c,c];v("pagePrev",0);var d=n.getModel("pageTextStyle");f.add(new mr({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,g){var m=p+"DataIndex",y=C0(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:St(u._pageGo,u,m,n,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});y.name=p,f.add(y)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,f=Ep[u],c=Lp[u],h=Ep[1-u],d=Lp[1-u];o&&Ql("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),p=l.getBoundingRect(),g=[-p.x,-p.y],m=tt(i);o&&(m[f]=i[f]-p[f]-v);var y=this._layoutContentAndController(r,a,m,u,f,h,d,c);if(o){if(s==="end")g[u]+=y[f]+v;else{var _=p[f]+v;g[u]-=_,y[c]-=_}y[f]+=p[f]+v,g[1-u]+=y[d]+y[h]/2-p[h]/2,y[h]=Math.max(y[h],p[h]),y[d]=Math.min(y[d],p[d]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,l,u){var f=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;Ql(r.get("orient"),f,r.get("itemGap"),a?i.width:null,a?null:i.height),Ql("horizontal",h,r.get("pageButtonItemGap",!0));var d=f.getBoundingRect(),v=h.getBoundingRect(),p=this._showController=d[o]>i[o],g=[-d.x,-d.y];n||(g[a]=f[u]);var m=[0,0],y=[-v.x,-v.y],_=Ze(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(p){var b=r.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-v[o]:m[a]+=v[o]+_}y[1-a]+=d[s]/2-v[s]/2,f.setPosition(g),c.setPosition(m),h.setPosition(y);var x={x:0,y:0};if(x[o]=p?i[o]:d[o],x[s]=Math.max(d[s],v[s]),x[l]=Math.min(0,v[l]+y[1-a]),c.__rectSize=i[o],p){var w={x:0,y:0
|