README: badges + 2-minute quickstart; rebuild embedded admin UI with new logo

This commit is contained in:
lim39869-create committed 2026-09-28 12:44:05 +08:00
1 parent f2ae88b4e9
commit dfba9e8047
7 files changed
+86 -38

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96">
<rect width="96" height="96" rx="22" fill="#0D0D0F"/>
<path d="M24 27h18c8 0 14 6 14 14s-6 14-14 14H24M24 69h18c8 0 14-6 14-14M56 27h8c8 0 14 6 14 14s-6 14-14 14H56M56 55h8c8 0 14 6 14 14" fill="none" stroke="#7170FF" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M24 41h42M24 55h42M66 41v14" fill="none" stroke="#22A069" stroke-width="3" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 467 B

@@ -1 +1 @@
@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;410;500;510;590;700&display=swap>";@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap>";:root{--el-color-white:#fff;--el-color-black:#000;--el-color-primary-rgb:64, 158, 255;--el-color-success-rgb:103, 194, 58;--el-color-warning-rgb:230, 162, 60;--el-color-danger-rgb:245, 108, 108;--el-color-error-rgb:245, 108, 108;--el-color-info-rgb:144, 147, 153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#fff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#fff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#fff;--el-box-shadow:0px 12px 32px 4px #0000000a, 0px 8px 20px #00000014;--el-box-shadow-light:0px 0px 12px #0000001f;--el-box-shadow-lighter:0px 0px 6px #0000001f;--el-box-shadow-dark:0px 16px 48px 16px #00000014, 0px 12px 32px #0000001f, 0px 8px 16px -8px #00000029;--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:#000c;--el-overlay-color-light:#000000b3;--el-overlay-color-lighter:#00000080;--el-mask-color:#ffffffe6;--el-mask-color-extra-light:#ffffff4d;--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochroLine truncated
@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;410;500;510;590;700&display=swap>";@import"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap>";:root{--el-color-white:#fff;--el-color-black:#000;--el-color-primary-rgb:64, 158, 255;--el-color-success-rgb:103, 194, 58;--el-color-warning-rgb:230, 162, 60;--el-color-danger-rgb:245, 108, 108;--el-color-error-rgb:245, 108, 108;--el-color-info-rgb:144, 147, 153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#fff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#fff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#fff;--el-box-shadow:0px 12px 32px 4px #0000000a, 0px 8px 20px #00000014;--el-box-shadow-light:0px 0px 12px #0000001f;--el-box-shadow-lighter:0px 0px 6px #0000001f;--el-box-shadow-dark:0px 16px 48px 16px #00000014, 0px 12px 32px #0000001f, 0px 8px 16px -8px #00000029;--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:#000c;--el-overlay-color-light:#000000b3;--el-overlay-color-lighter:#00000080;--el-mask-color:#ffffffe6;--el-mask-color-extra-light:#ffffff4d;--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochroLine truncated
@@ -1,28 +1,28 @@
var uV=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var lze=uV((no,ao)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function a(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
var uV=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var sze=uV((no,ao)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function a(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
* @vue/shared v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function $3(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const jn={},hd=[],kt=()=>{},cE=()=>!1,a1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),r1=e=>e.startsWith("onUpdate:"),ka=Object.assign,R3=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cV=Object.prototype.hasOwnProperty,en=(e,t)=>cV.call(e,t),Ae=Array.isArray,pd=e=>zh(e)==="[object Map]",o1=e=>zh(e)==="[object Set]",Is=e=>zh(e)==="[object Date]",Qe=e=>typeof e=="function",Ye=e=>typeof e=="string",io=e=>typeof e=="symbol",_t=e=>e!==null&&typeof e=="object",Ls=e=>(_t(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),dE=Object.prototype.toString,zh=e=>dE.call(e),dV=e=>zh(e).slice(8,-1),qv=e=>zh(e)==="[object Object]",i1=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sv=$3(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),l1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fV=/-\w/g,Va=l1(e=>e.replace(fV,t=>t.slice(1).toUpperCase())),vV=/\B([A-Z])/g,$l=l1(e=>e.replace(vV,"-$1").toLowerCase()),Fh=l1(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wu=l1(e=>e?`on${Fh(e)}`:""),Mi=(e,t)=>!Object.is(e,t),G0=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},fE=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},N3=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hV=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let TS;const s1=()=>TS||(TS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(Ae(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],r=Ye(a)?yV(a):et(a);if(r)for(const o in r)t[o]=r[o]}return t}else if(Ye(e)||_t(e))return e}const pV=/;(?![^(]*\))/g,mV=/:([^]+)/,gV=/\/\*[^]*?\*\//g;function yV(e){const t={};return e.replace(gV,"").split(pV).forEach(n=>{if(n){const a=n.split(mV);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function U(e){let t="";if(Ye(e))t=e;else if(Ae(e))for(let n=0;n<e.length;n++){const a=U(e[n]);a&&(t+=a+" ")}else if(_t(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function bl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ye(t)&&(e.class=U(t)),n&&(e.style=et(n)),e}const bV="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_V=$3(bV);function vE(e){return!!e||e===""}function wV(e,t){if(e.length!==t.length)return!1;let n=!0;for(let a=0;n&&a<e.length;a++)n=rc(e[a],t[a]);return n}function rc(e,t){if(e===t)return!0;let n=Is(e),a=Is(t);if(n||a)return n&&a?e.getTime()===t.getTime():!1;if(n=io(e),a=io(t),n||a)return e===t;if(n=Ae(e),a=Ae(t),n||a)return n&&a?wV(e,t):!1;if(n=_t(e),a=_t(t),n||a){if(!n||!a)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),s=t.hasOwnProperty(i);if(l&&!s||!l&&s||!rc(e[i],t[i]))return!1}}return String(e)===String(t)}function hE(e,t){return e.findIndex(n=>rc(n,t))}const pE=e=>!!(e&&e.__v_isRef===!0),Q=e=>Ye(e)?e:e==null?"":Ae(e)||_t(e)&&(e.toString===dE||!Qe(e.toString))?pE(e)?Q(e.value):JSON.stringify(e,mE,2):String(e),mE=(e,t)=>pE(t)?mE(e,t.value):pd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,r],o)=>(n[k2(a,o)+" =>"]=r,n),{})}:o1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>k2(n))}:io(t)?k2(t):_t(t)&&!Ae(t)&&!qv(t)?String(t):t,k2=(e,t="")=>{var n;return io(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
**/function $3(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const qn={},hd=[],kt=()=>{},cE=()=>!1,a1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),r1=e=>e.startsWith("onUpdate:"),ka=Object.assign,R3=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cV=Object.prototype.hasOwnProperty,en=(e,t)=>cV.call(e,t),Ae=Array.isArray,pd=e=>zh(e)==="[object Map]",o1=e=>zh(e)==="[object Set]",Is=e=>zh(e)==="[object Date]",Qe=e=>typeof e=="function",Ye=e=>typeof e=="string",io=e=>typeof e=="symbol",_t=e=>e!==null&&typeof e=="object",Ls=e=>(_t(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),dE=Object.prototype.toString,zh=e=>dE.call(e),dV=e=>zh(e).slice(8,-1),jv=e=>zh(e)==="[object Object]",i1=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sv=$3(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),l1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fV=/-\w/g,Va=l1(e=>e.replace(fV,t=>t.slice(1).toUpperCase())),vV=/\B([A-Z])/g,$l=l1(e=>e.replace(vV,"-$1").toLowerCase()),Fh=l1(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wu=l1(e=>e?`on${Fh(e)}`:""),Mi=(e,t)=>!Object.is(e,t),G0=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},fE=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},N3=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hV=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let TS;const s1=()=>TS||(TS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function et(e){if(Ae(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],r=Ye(a)?yV(a):et(a);if(r)for(const o in r)t[o]=r[o]}return t}else if(Ye(e)||_t(e))return e}const pV=/;(?![^(]*\))/g,mV=/:([^]+)/,gV=/\/\*[^]*?\*\//g;function yV(e){const t={};return e.replace(gV,"").split(pV).forEach(n=>{if(n){const a=n.split(mV);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function U(e){let t="";if(Ye(e))t=e;else if(Ae(e))for(let n=0;n<e.length;n++){const a=U(e[n]);a&&(t+=a+" ")}else if(_t(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function bl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ye(t)&&(e.class=U(t)),n&&(e.style=et(n)),e}const bV="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_V=$3(bV);function vE(e){return!!e||e===""}function wV(e,t){if(e.length!==t.length)return!1;let n=!0;for(let a=0;n&&a<e.length;a++)n=rc(e[a],t[a]);return n}function rc(e,t){if(e===t)return!0;let n=Is(e),a=Is(t);if(n||a)return n&&a?e.getTime()===t.getTime():!1;if(n=io(e),a=io(t),n||a)return e===t;if(n=Ae(e),a=Ae(t),n||a)return n&&a?wV(e,t):!1;if(n=_t(e),a=_t(t),n||a){if(!n||!a)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),s=t.hasOwnProperty(i);if(l&&!s||!l&&s||!rc(e[i],t[i]))return!1}}return String(e)===String(t)}function hE(e,t){return e.findIndex(n=>rc(n,t))}const pE=e=>!!(e&&e.__v_isRef===!0),Q=e=>Ye(e)?e:e==null?"":Ae(e)||_t(e)&&(e.toString===dE||!Qe(e.toString))?pE(e)?Q(e.value):JSON.stringify(e,mE,2):String(e),mE=(e,t)=>pE(t)?mE(e,t.value):pd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,r],o)=>(n[k2(a,o)+" =>"]=r,n),{})}:o1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>k2(n))}:io(t)?k2(t):_t(t)&&!Ae(t)&&!jv(t)?String(t):t,k2=(e,t="")=>{var n;return io(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let La;class gE{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&La&&(La.active?(this.parent=La,this.index=(La.scopes||(La.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const a=this.scopes.slice();for(t=0,n=a.length;t<n;t++)a[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const a=this.effects.slice();for(t=0,n=a.length;t<n;t++)a[t].resume()}}run(t){if(this._active){const n=La;try{return La=this,t()}finally{La=n}}}on(){++this._on===1&&(this.prevScope=La,La=this)}off(){if(this._on>0&&--this._on===0){if(La===this)La=this.prevScope;else{let t=La;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,a;for(n=0,a=this.effects.length;n<a;n++)this.effects[n].stop();for(this.effects.length=0,n=0,a=this.cleanups.length;n<a;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,a=r.length;n<a;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function SV(e){return new gE(e)}function B3(){return La}function yE(e,t=!1){La&&La.cleanups.push(e)}let ta;const T2=new WeakSet;class bE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,La&&(La.active?La.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,T2.has(this)&&(T2.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wE(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,MS(this),SE(this);const t=ta,n=qo;ta=this,qo=!0;try{return this.fn()}finally{CE(this),ta=t,qo=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)F3(t);this.deps=this.depsTail=void 0,MS(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?T2.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gb(this)&&this.run()}get dirty(){return Gb(this)}}let _E=0,Cv,xv;function wE(e,t=!1){if(e.flags|=8,t){e.next=xv,xv=e;return}e.next=Cv,Cv=e}function V3(){_E++}function z3(){if(--_E>0)return;if(xv){let t=xv;for(xv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Cv;){let t=Cv;for(Cv=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function SE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function CE(e){let t,n=e.depsTail,a=n;for(;a;){const r=a.prevDep;a.version===-1?(a===n&&(n=r),F3(a),CV(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=r}e.deps=t,e.depsTail=n}function Gb(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xv)||(e.globalVersion=Xv,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gb(e))))return;e.flags|=2;const t=e.dep,n=ta,a=qo;ta=e,qo=!0;try{SE(e);const r=e.fn(e._value);(t.version===0||Mi(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ta=n,qo=a,CE(e),e.flags&=-3}}function F3(e,t=!1){const{dep:n,prevSub:a,nextSub:r}=e;if(a&&(a.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)F3(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function CV(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let qo=!0;const kE=[];function kl(){kE.push(qo),qo=!1}function Tl(){const e=kE.pop();qo=e===void 0?!0:e}function MS(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ta;ta=void 0;try{t()}finally{ta=n}}}let Xv=0;class xV{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class H3{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ta||!qo||ta===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ta)n=this.activeLink=new xV(ta,this),ta.deps?(n.prevDep=ta.depsTail,ta.depsTail.nextDep=n,ta.depsTail=n):ta.deps=ta.depsTail=n,TE(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=ta.depsTailLine truncated
**/let La;class gE{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&La&&(La.active?(this.parent=La,this.index=(La.scopes||(La.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const a=this.scopes.slice();for(t=0,n=a.length;t<n;t++)a[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const a=this.effects.slice();for(t=0,n=a.length;t<n;t++)a[t].resume()}}run(t){if(this._active){const n=La;try{return La=this,t()}finally{La=n}}}on(){++this._on===1&&(this.prevScope=La,La=this)}off(){if(this._on>0&&--this._on===0){if(La===this)La=this.prevScope;else{let t=La;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,a;for(n=0,a=this.effects.length;n<a;n++)this.effects[n].stop();for(this.effects.length=0,n=0,a=this.cleanups.length;n<a;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,a=r.length;n<a;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function SV(e){return new gE(e)}function B3(){return La}function yE(e,t=!1){La&&La.cleanups.push(e)}let ta;const T2=new WeakSet;class bE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,La&&(La.active?La.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,T2.has(this)&&(T2.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wE(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,MS(this),SE(this);const t=ta,n=jo;ta=this,jo=!0;try{return this.fn()}finally{CE(this),ta=t,jo=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)F3(t);this.deps=this.depsTail=void 0,MS(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?T2.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gb(this)&&this.run()}get dirty(){return Gb(this)}}let _E=0,Cv,xv;function wE(e,t=!1){if(e.flags|=8,t){e.next=xv,xv=e;return}e.next=Cv,Cv=e}function V3(){_E++}function z3(){if(--_E>0)return;if(xv){let t=xv;for(xv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Cv;){let t=Cv;for(Cv=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function SE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function CE(e){let t,n=e.depsTail,a=n;for(;a;){const r=a.prevDep;a.version===-1?(a===n&&(n=r),F3(a),CV(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=r}e.deps=t,e.depsTail=n}function Gb(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xv)||(e.globalVersion=Xv,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gb(e))))return;e.flags|=2;const t=e.dep,n=ta,a=jo;ta=e,jo=!0;try{SE(e);const r=e.fn(e._value);(t.version===0||Mi(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ta=n,jo=a,CE(e),e.flags&=-3}}function F3(e,t=!1){const{dep:n,prevSub:a,nextSub:r}=e;if(a&&(a.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)F3(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function CV(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let jo=!0;const kE=[];function kl(){kE.push(jo),jo=!1}function Tl(){const e=kE.pop();jo=e===void 0?!0:e}function MS(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ta;ta=void 0;try{t()}finally{ta=n}}}let Xv=0;class xV{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class H3{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ta||!jo||ta===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ta)n=this.activeLink=new xV(ta,this),ta.deps?(n.prevDep=ta.depsTail,ta.depsTail.nextDep=n,ta.depsTail=n):ta.deps=ta.depsTail=n,TE(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=ta.depsTailLine truncated
* @vue/runtime-core v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Hh(e,t,n,a){try{return a?e(...a):e()}catch(r){v1(r,t,n)}}function Ro(e,t,n,a){if(Qe(e)){const r=Hh(e,t,n,a);return r&&Ls(r)&&r.catch(o=>{v1(o,t,n)}),r}if(Ae(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ro(e[o],t,n,a));return r}}function v1(e,t,n,a=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||jn;if(t){let l=t.parent;const s=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,s,u)===!1)return}l=l.parent}if(o){kl(),Hh(o,null,10,[e,s,u]),Tl();return}}qV(e,n,r,a,i)}function qV(e,t,n,a=!0,r=!1){if(r)throw e;console.error(e)}const br=[];let xi=-1;const md=[];let ds=null,td=0;const BE=Promise.resolve();let Pm=null;function He(e){const t=Pm||BE;return e?t.then(this?e.bind(this):e):t}function XV(e){let t=xi+1,n=br.length;for(;t<n;){const a=t+n>>>1,r=br[a],o=Jv(r);o<e||o===e&&r.flags&2?t=a+1:n=a}return t}function U3(e){if(!(e.flags&1)){const t=Jv(e),n=br[br.length-1];!n||!(e.flags&2)&&t>=Jv(n)?br.push(e):br.splice(XV(t),0,e),e.flags|=1,VE()}}function VE(){Pm||(Pm=BE.then(FE))}function ZV(e){if(!Ae(e))ds&&e.id===-1?ds.splice(td+1,0,e):e.flags&1||(md.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)md.push(e[t]);VE()}function AS(e,t,n=xi+1){for(;n<br.length;n++){const a=br[n];if(a&&a.flags&2){if(e&&a.id!==e.uid)continue;br.splice(n,1),n--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function zE(e){if(md.length){const t=[...new Set(md)].sort((n,a)=>Jv(n)-Jv(a));if(md.length=0,ds){for(let n=0;n<t.length;n++)ds.push(t[n]);return}for(ds=t,td=0;td<ds.length;td++){const n=ds[td];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ds=null,td=0}}const Jv=e=>e.id==null?e.flags&2?-1:1/0:e.id;function FE(e){try{for(xi=0;xi<br.length;xi++){const t=br[xi];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Hh(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;xi<br.length;xi++){const t=br[xi];t&&(t.flags&=-2)}xi=-1,br.length=0,zE(),Pm=null,(br.length||md.length)&&FE()}}let Ga=null,HE=null;function Dm(e){const t=Ga;return Ga=e,HE=e&&e.type.__scopeId||null,t}function $(e,t=Ga,n){if(!t||e._n)return e;const a=(...r)=>{a._d&&Nm(-1);const o=Dm(t),i=_l.length;let l;try{l=e(...r)}finally{for(let s=_l.length;s>i;s--)t6();Dm(o),a._d&&Nm(1)}return l};return a._n=!0,a._c=!0,a._d=!0,a}function st(e,t){if(Ga===null)return e;const n=b1(Ga),a=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,s=jn]=t[r];o&&(Qe(o)&&(o={mounted:o,updated:o}),o.deep&&pl(i),a.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:s}))}return e}function Zs(e,t,n,a){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let s=l.dir[a];s&&(kl(),Ro(s,n,8,[e.el,l,e,t]),Tl())}}function Ft(e,t){if(rr){let n=rr.provides;const a=rr.parent&&rr.parent.provides;a===n&&(n=rr.provides=Object.create(a)),n[e]=t}}function Ze(e,t,n=!1){const a=Et();if(a||Gu){let r=Gu?Gu._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Qe(t)?t.call(a&&a.proxy):t}}function WE(){return!!(Et()||Gu)}const JV=Symbol.for("v-scx"),QV=()=>Ze(JV);function ur(e,t){return G3(e,null,t)}function ye(e,t,n){return G3(e,t,n)}function G3(e,t,n=jn){const{immediate:a,deep:r,flush:o,once:i}=n,l=ka({},n),s=t&&a||!t&&o!=="post";let u;if(nh){if(o==="sync"){const f=QV();u=f.__watcherHandles||(f.__watcherHandles=[])}else if(!s){const f=()=>{};return f.stop=kt,f.resume=kt,f.pause=kt,f}}const c=rr;l.call=(f,h,m)=>Ro(f,c,h,m);let d=!1;o==="post"?l.scheduler=f=>{mr(f,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(f,h)=>{h?f():U3(f)}),l.augmentJob=f=>{t&&(f.flags|=4),d&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const v=jV(e,t,l);return nh&&(u?u.push(v):s&&v()),v}function ez(e,t,n){const a=this.proxy,r=Ye(e)?e.includes(".")?KE(a,e):()=>a[e]:e.bind(a,a);let o;Qe(t)?o=t:(o=t.handler,n=t);const i=Kh(this),l=G3(r,o.bind(a),n);return i(),l}function KE(e,t){const n=t.split(".");return()=>{let a=e;for(let r=0;r<n.length&&a;r++)a=a[n[r]];return a}}const as=new WeakMap,UE=Symbol("_vte"),h1=e=>e.__isTeleport,Au=e=>e&&(e.disabled||e.disabled===""),tz=e=>e&&(e.defer||e.defer===""),IS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,LS=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,qb=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},nz={name:"Teleport",__isTeleport:!0,process(e,t,n,a,r,o,i,l,s,u){const{mc:c,pc:d,pbc:v,o:{insert:f,querySelector:h,createText:m,createComment:g,parentNode:y}}=u,b=Au(t.props);let{dynamicChildren:_}=t;const w=(T,M,E)=>{T.shapeFlag&16&&c(T.children,M,E,r,o,i,l,s)},S=(T=t)=>{const M=Au(T.props),E=T.target=qb(T.props,h),A=Xb(E,T,m,f);E&&(i!=="svg"&&IS(E)?i="svg":i!=="mathml"&&LS(E)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(E),M||(w(T,E,A),tv(T,!1)))},k=T=>{const M=()=>{if(as.get(T)===M){if(as.delete(T),Au(T.props)){const E=y(T.el)||n;w( Line truncated
**/function Hh(e,t,n,a){try{return a?e(...a):e()}catch(r){v1(r,t,n)}}function Ro(e,t,n,a){if(Qe(e)){const r=Hh(e,t,n,a);return r&&Ls(r)&&r.catch(o=>{v1(o,t,n)}),r}if(Ae(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ro(e[o],t,n,a));return r}}function v1(e,t,n,a=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||qn;if(t){let l=t.parent;const s=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,s,u)===!1)return}l=l.parent}if(o){kl(),Hh(o,null,10,[e,s,u]),Tl();return}}jV(e,n,r,a,i)}function jV(e,t,n,a=!0,r=!1){if(r)throw e;console.error(e)}const br=[];let xi=-1;const md=[];let ds=null,td=0;const BE=Promise.resolve();let Pm=null;function He(e){const t=Pm||BE;return e?t.then(this?e.bind(this):e):t}function XV(e){let t=xi+1,n=br.length;for(;t<n;){const a=t+n>>>1,r=br[a],o=Jv(r);o<e||o===e&&r.flags&2?t=a+1:n=a}return t}function U3(e){if(!(e.flags&1)){const t=Jv(e),n=br[br.length-1];!n||!(e.flags&2)&&t>=Jv(n)?br.push(e):br.splice(XV(t),0,e),e.flags|=1,VE()}}function VE(){Pm||(Pm=BE.then(FE))}function ZV(e){if(!Ae(e))ds&&e.id===-1?ds.splice(td+1,0,e):e.flags&1||(md.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)md.push(e[t]);VE()}function AS(e,t,n=xi+1){for(;n<br.length;n++){const a=br[n];if(a&&a.flags&2){if(e&&a.id!==e.uid)continue;br.splice(n,1),n--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function zE(e){if(md.length){const t=[...new Set(md)].sort((n,a)=>Jv(n)-Jv(a));if(md.length=0,ds){for(let n=0;n<t.length;n++)ds.push(t[n]);return}for(ds=t,td=0;td<ds.length;td++){const n=ds[td];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ds=null,td=0}}const Jv=e=>e.id==null?e.flags&2?-1:1/0:e.id;function FE(e){try{for(xi=0;xi<br.length;xi++){const t=br[xi];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Hh(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;xi<br.length;xi++){const t=br[xi];t&&(t.flags&=-2)}xi=-1,br.length=0,zE(),Pm=null,(br.length||md.length)&&FE()}}let Ga=null,HE=null;function Dm(e){const t=Ga;return Ga=e,HE=e&&e.type.__scopeId||null,t}function $(e,t=Ga,n){if(!t||e._n)return e;const a=(...r)=>{a._d&&Nm(-1);const o=Dm(t),i=_l.length;let l;try{l=e(...r)}finally{for(let s=_l.length;s>i;s--)t6();Dm(o),a._d&&Nm(1)}return l};return a._n=!0,a._c=!0,a._d=!0,a}function st(e,t){if(Ga===null)return e;const n=b1(Ga),a=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,s=qn]=t[r];o&&(Qe(o)&&(o={mounted:o,updated:o}),o.deep&&pl(i),a.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:s}))}return e}function Zs(e,t,n,a){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let s=l.dir[a];s&&(kl(),Ro(s,n,8,[e.el,l,e,t]),Tl())}}function Ft(e,t){if(rr){let n=rr.provides;const a=rr.parent&&rr.parent.provides;a===n&&(n=rr.provides=Object.create(a)),n[e]=t}}function Ze(e,t,n=!1){const a=Et();if(a||Gu){let r=Gu?Gu._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Qe(t)?t.call(a&&a.proxy):t}}function WE(){return!!(Et()||Gu)}const JV=Symbol.for("v-scx"),QV=()=>Ze(JV);function ur(e,t){return G3(e,null,t)}function ye(e,t,n){return G3(e,t,n)}function G3(e,t,n=qn){const{immediate:a,deep:r,flush:o,once:i}=n,l=ka({},n),s=t&&a||!t&&o!=="post";let u;if(nh){if(o==="sync"){const f=QV();u=f.__watcherHandles||(f.__watcherHandles=[])}else if(!s){const f=()=>{};return f.stop=kt,f.resume=kt,f.pause=kt,f}}const c=rr;l.call=(f,h,m)=>Ro(f,c,h,m);let d=!1;o==="post"?l.scheduler=f=>{mr(f,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(f,h)=>{h?f():U3(f)}),l.augmentJob=f=>{t&&(f.flags|=4),d&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const v=qV(e,t,l);return nh&&(u?u.push(v):s&&v()),v}function ez(e,t,n){const a=this.proxy,r=Ye(e)?e.includes(".")?KE(a,e):()=>a[e]:e.bind(a,a);let o;Qe(t)?o=t:(o=t.handler,n=t);const i=Kh(this),l=G3(r,o.bind(a),n);return i(),l}function KE(e,t){const n=t.split(".");return()=>{let a=e;for(let r=0;r<n.length&&a;r++)a=a[n[r]];return a}}const as=new WeakMap,UE=Symbol("_vte"),h1=e=>e.__isTeleport,Au=e=>e&&(e.disabled||e.disabled===""),tz=e=>e&&(e.defer||e.defer===""),IS=e=>typeof SVGElement<"u"&&e instanceof SVGElement,LS=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,jb=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},nz={name:"Teleport",__isTeleport:!0,process(e,t,n,a,r,o,i,l,s,u){const{mc:c,pc:d,pbc:v,o:{insert:f,querySelector:h,createText:m,createComment:g,parentNode:y}}=u,b=Au(t.props);let{dynamicChildren:_}=t;const w=(T,M,E)=>{T.shapeFlag&16&&c(T.children,M,E,r,o,i,l,s)},S=(T=t)=>{const M=Au(T.props),E=T.target=jb(T.props,h),A=Xb(E,T,m,f);E&&(i!=="svg"&&IS(E)?i="svg":i!=="mathml"&&LS(E)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(E),M||(w(T,E,A),tv(T,!1)))},k=T=>{const M=()=>{if(as.get(T)===M){if(as.delete(T),Au(T.props)){const E=y(T.el)||n;w( Line truncated
* @vue/runtime-dom v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let t4;const US=typeof window<"u"&&window.trustedTypes;if(US)try{t4=US.createPolicy("vue",{createHTML:e=>e})}catch{}const x7=t4?e=>t4.createHTML(e):e=>e,Xz="http://www.w3.org/2000/svg",Zz="http://www.w3.org/1998/Math/MathML",cl=typeof document<"u"?document:null,GS=cl&&cl.createElement("template"),Jz={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const r=t==="svg"?cl.createElementNS(Xz,e):t==="mathml"?cl.createElementNS(Zz,e):n?cl.createElement(e,{is:n}):cl.createElement(e);return e==="select"&&a&&a.multiple!=null&&r.setAttribute("multiple",a.multiple),r},createText:e=>cl.createTextNode(e),createComment:e=>cl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>cl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{GS.innerHTML=x7(a==="svg"?`<svg>${e}</svg>`:a==="mathml"?`<math>${e}</math>`:e);const l=GS.content;if(a==="svg"||a==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jl="transition",Ef="animation",Dd=Symbol("_vtc"),k7={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},T7=ka({},YE,k7),Qz=e=>(e.displayName="Transition",e.props=T7,e),Pa=Qz((e,{slots:t})=>ot(oz,M7(e),t)),Qs=(e,t=[])=>{Ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},YS=e=>e?Ae(e)?e.some(t=>t.length>1):e.length>1:!1;function M7(e){const t={};for(const P in e)P in k7||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:a,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=eF(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:T=b,onAppearCancelled:M=_}=t,E=(P,R,G,K)=>{P._enterCancelled=K,rs(P,R?c:l),rs(P,R?u:i),G&&G()},A=(P,R)=>{P._isLeaving=!1,rs(P,d),rs(P,f),rs(P,v),R&&R()},I=P=>(R,G)=>{const K=P?T:b,H=()=>E(R,P,G);Qs(K,[R,H]),jS(()=>{rs(R,P?s:o),Ci(R,P?c:l),YS(K)||qS(R,a,m,H)})};return ka(t,{onBeforeEnter(P){Qs(y,[P]),Ci(P,o),Ci(P,i)},onBeforeAppear(P){Qs(k,[P]),Ci(P,s),Ci(P,u)},onEnter:I(!1),onAppear:I(!0),onLeave(P,R){P._isLeaving=!0;const G=()=>A(P,R);Ci(P,d),P._enterCancelled?(Ci(P,v),n4(P)):(n4(P),Ci(P,v)),jS(()=>{P._isLeaving&&(rs(P,d),Ci(P,f),YS(w)||qS(P,a,g,G))}),Qs(w,[P,G])},onEnterCancelled(P){E(P,!1,void 0,!0),Qs(_,[P])},onAppearCancelled(P){E(P,!0,void 0,!0),Qs(M,[P])},onLeaveCancelled(P){A(P),Qs(S,[P])}})}function eF(e){if(e==null)return null;if(_t(e))return[P2(e.enter),P2(e.leave)];{const t=P2(e);return[t,t]}}function P2(e){return hV(e)}function Ci(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dd]||(e[Dd]=new Set)).add(t)}function rs(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Dd];n&&(n.delete(t),n.size||(e[Dd]=void 0))}function jS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tF=0;function qS(e,t,n,a){const r=e._endId=++tF,o=()=>{r===e._endId&&a()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:s}=E7(e,t);if(!i)return a();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,v),o()},v=f=>{f.target===e&&++c>=s&&d()};setTimeout(()=>{c<s&&d()},l+1),e.addEventListener(u,v)}function E7(e,t){const n=window.getComputedStyle(e),a=h=>(n[h]||"").split(", "),r=a(`${jl}Delay`),o=a(`${jl}Duration`),i=XS(r,o),l=a(`${Ef}Delay`),s=a(`${Ef}Duration`),u=XS(l,s);let c=null,d=0,v=0;t===jl?i>0&&(c=jl,d=i,v=o.length):t===Ef?u>0&&(c=Ef,d=u,v=s.length):(d=Math.max(i,u),c=d>0?i>u?jl:Ef:null,v=c?c===jl?o.length:s.length:0);const f=c===jl&&/\b(?:transform|all)(?:,|$)/.test(a(`${jl}Property`).toString());return{type:c,timeout:d,propCount:v,hasTransform:f}}function XS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,a)=>ZS(n)+ZS(e[a])))}function ZS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function n4(e){return(e?e.ownerDocument:document).body.offsetHeight}function nF(e,t,n){const a=e[Dd];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zm=Symbol("_vod"),n6=Symbol("_vsh"),Zt={name:"show",beforeMount(e,{value:t},{transition:n}){e[zm]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Af(e,t)},mounted(e,{value:t},{tra Line truncated
`))),e[Ii]=Od(r);const o=a||r.props&&r.props.type==="number";fs(e,t?"change":"input",i=>{i.target.composing||e[Ii]($2(e.value,n,o))}),(n||o)&&fs(e,"change",()=>{e.value=$2(e.value,n,o)}),t||(fs(e,"compositionstart",kF),fs(e,"compositionend",iC),fs(e,"change",iC))},mounted(e,{value:t,modifiers:{trim:n,number:a}}){const r=t??"",o=e[Lp];delete e[Lp],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[Ii]($2(e.value,n,a)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:r,number:o}},i){if(e[Ii]=Od(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?N3(e.value):e.value,s=t??"";if(l===s)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(a&&t===n||r&&e.value.trim()===s)||(e.value=s)}},O7={deep:!0,created(e,t,n){e[Ii]=Od(n),fs(e,"change",()=>{const a=e._modelValue,r=R7(e),o=e.checked,i=e[Ii];if(Ae(a)){const l=hE(a,r),s=l!==-1;if(o&&!s)i(a.concat(r));else if(!o&&s){const u=[...a];u.splice(l,1),i(u)}}else if(o1(a)){const l=new Set(a);o?l.add(r):l.delete(r),i(l)}else i(N7(e,o))})},mounted:lC,beforeUpdate(e,t,n){e[Ii]=Od(n),lC(e,t,n)}};function lC(e,{value:t,oldValue:n},a){e._modelValue=t;let r;if(Ae(t))r=hE(t,a.props.value)>-1;else if(o1(t))r=t.has(a.props.value);else{if(t===n)return;r=rc(t,N7(e,!0))}e.checked!==r&&(e.checked=r)}const $7={created(e,{value:t},n){e.checked=rc(t,n.props.value),e[Ii]=Od(n),fs(e,"change",()=>{e[Ii](R7(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Ii]=Od(a),t!==n&&(e.checked=rc(t,a.props.value))}};function R7(e){return"_value"in e?e._value:e.value}function N7(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const TF=["ctrl","shift","alt","meta"],MF={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>TF.some(n=>e[`${n}Key`]&&!t.includes(n))},at=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=MF[t[i]];if(l&&l(r,t))return}return e(r,...o)})},EF={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=r=>{if(!("key"in r))return;const o=$l(r.key);if(t.some(i=>i===o||EF[i]===o))return e(r)})},AF=ka({patchProp:mF},Jz);let sC;function B7(){return sC||(sC=Oz(AF))}const Ps=(...e)=>{B7().render(...e)},V7=(...e)=>{const t=B7().createApp(...e),{mount:n}=t;return t.mount=a=>{const r=LF(a);if(!r)return;const o=t._component;!Qe(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,IF(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function IF(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function LF(e){return Ye(e)?document.querySelector(e):e}const Pe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},PF=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],R2=["sun","mon","tue","wed","thu","fri","sat"],bt="update:modelValue",Ot="change",ua="input",uC=Symbol("INSTALLED_KEY"),ii=["","default","small","large"],cC=["left","center","right"];var z7=typeof global=="object"&&global&&global.Object===Object&&global,DF=typeof self=="object"&&self&&self.Object===Object&&self,li=z7||DF||Function("return this")(),No=li.Symbol,F7=Object.prototype,OF=F7.hasOwnProperty,$F=F7.toString,If=No?No.toStringTag:void 0;function RF(e){var t=OF.call(e,If),n=e[If];try{e[If]=void 0;var a=!0}catch{}var r=$F.call(e);return a&&(t?e[If]=n:delete e[If]),r}var NF=Object.prototype,BF=NF.toString;function VF(e){return BF.call(e)}var zF="[object Null]",FF="[object Undefined]",dC=No?No.toStringTag:void 0;function Cc(e){return e==null?e===void 0?FF:zF:dC&&dC in Object(e)?RF(e):VF(e)}function Gi(e){return e!=null&&typeof e=="object"}var HF="[object Symbol]";function _1(e){return typeof e=="symbol"||Gi(e)&&Cc(e)==HF}function a6(e,t){for(var n=-1,a=e==null?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}var kr=Array.isArray,fC=No?No.prototype:void 0,vC=fC?fC.toString:void 0;function H7(e){if(typeof e=="string")return e;if(kr(e))return a6(e,H7)+"";if(_1(e))return vC?vC.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var WF=/\s/;function KF(e){for(var t=e.length;t--&&WF.test(e.charAt(t)););return t}var UF=/^\s+/;function GF(e){return e&&e.slice(0,KF(e)+1).replace(UF,"")}function Tr(e){var t=typeof e;return Line truncated
**/let t4;const US=typeof window<"u"&&window.trustedTypes;if(US)try{t4=US.createPolicy("vue",{createHTML:e=>e})}catch{}const C7=t4?e=>t4.createHTML(e):e=>e,Zz="http://www.w3.org/2000/svg",Jz="http://www.w3.org/1998/Math/MathML",cl=typeof document<"u"?document:null,GS=cl&&cl.createElement("template"),Qz={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const r=t==="svg"?cl.createElementNS(Zz,e):t==="mathml"?cl.createElementNS(Jz,e):n?cl.createElement(e,{is:n}):cl.createElement(e);return e==="select"&&a&&a.multiple!=null&&r.setAttribute("multiple",a.multiple),r},createText:e=>cl.createTextNode(e),createComment:e=>cl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>cl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{GS.innerHTML=C7(a==="svg"?`<svg>${e}</svg>`:a==="mathml"?`<math>${e}</math>`:e);const l=GS.content;if(a==="svg"||a==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ql="transition",Ef="animation",Dd=Symbol("_vtc"),x7={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},k7=ka({},YE,x7),eF=e=>(e.displayName="Transition",e.props=k7,e),Pa=eF((e,{slots:t})=>ot(oz,T7(e),t)),Qs=(e,t=[])=>{Ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},YS=e=>e?Ae(e)?e.some(t=>t.length>1):e.length>1:!1;function T7(e){const t={};for(const P in e)P in x7||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:a,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=tF(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:T=b,onAppearCancelled:M=_}=t,E=(P,R,G,K)=>{P._enterCancelled=K,rs(P,R?c:l),rs(P,R?u:i),G&&G()},A=(P,R)=>{P._isLeaving=!1,rs(P,d),rs(P,f),rs(P,v),R&&R()},I=P=>(R,G)=>{const K=P?T:b,H=()=>E(R,P,G);Qs(K,[R,H]),qS(()=>{rs(R,P?s:o),Ci(R,P?c:l),YS(K)||jS(R,a,m,H)})};return ka(t,{onBeforeEnter(P){Qs(y,[P]),Ci(P,o),Ci(P,i)},onBeforeAppear(P){Qs(k,[P]),Ci(P,s),Ci(P,u)},onEnter:I(!1),onAppear:I(!0),onLeave(P,R){P._isLeaving=!0;const G=()=>A(P,R);Ci(P,d),P._enterCancelled?(Ci(P,v),n4(P)):(n4(P),Ci(P,v)),qS(()=>{P._isLeaving&&(rs(P,d),Ci(P,f),YS(w)||jS(P,a,g,G))}),Qs(w,[P,G])},onEnterCancelled(P){E(P,!1,void 0,!0),Qs(_,[P])},onAppearCancelled(P){E(P,!0,void 0,!0),Qs(M,[P])},onLeaveCancelled(P){A(P),Qs(S,[P])}})}function tF(e){if(e==null)return null;if(_t(e))return[P2(e.enter),P2(e.leave)];{const t=P2(e);return[t,t]}}function P2(e){return hV(e)}function Ci(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dd]||(e[Dd]=new Set)).add(t)}function rs(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Dd];n&&(n.delete(t),n.size||(e[Dd]=void 0))}function qS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nF=0;function jS(e,t,n,a){const r=e._endId=++nF,o=()=>{r===e._endId&&a()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:s}=M7(e,t);if(!i)return a();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,v),o()},v=f=>{f.target===e&&++c>=s&&d()};setTimeout(()=>{c<s&&d()},l+1),e.addEventListener(u,v)}function M7(e,t){const n=window.getComputedStyle(e),a=h=>(n[h]||"").split(", "),r=a(`${ql}Delay`),o=a(`${ql}Duration`),i=XS(r,o),l=a(`${Ef}Delay`),s=a(`${Ef}Duration`),u=XS(l,s);let c=null,d=0,v=0;t===ql?i>0&&(c=ql,d=i,v=o.length):t===Ef?u>0&&(c=Ef,d=u,v=s.length):(d=Math.max(i,u),c=d>0?i>u?ql:Ef:null,v=c?c===ql?o.length:s.length:0);const f=c===ql&&/\b(?:transform|all)(?:,|$)/.test(a(`${ql}Property`).toString());return{type:c,timeout:d,propCount:v,hasTransform:f}}function XS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,a)=>ZS(n)+ZS(e[a])))}function ZS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function n4(e){return(e?e.ownerDocument:document).body.offsetHeight}function aF(e,t,n){const a=e[Dd];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zm=Symbol("_vod"),n6=Symbol("_vsh"),Zt={name:"show",beforeMount(e,{value:t},{transition:n}){e[zm]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Af(e,t)},mounted(e,{value:t},{tra Line truncated
`))),e[Ii]=Od(r);const o=a||r.props&&r.props.type==="number";fs(e,t?"change":"input",i=>{i.target.composing||e[Ii]($2(e.value,n,o))}),(n||o)&&fs(e,"change",()=>{e.value=$2(e.value,n,o)}),t||(fs(e,"compositionstart",TF),fs(e,"compositionend",iC),fs(e,"change",iC))},mounted(e,{value:t,modifiers:{trim:n,number:a}}){const r=t??"",o=e[Lp];delete e[Lp],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[Ii]($2(e.value,n,a)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:r,number:o}},i){if(e[Ii]=Od(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?N3(e.value):e.value,s=t??"";if(l===s)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(a&&t===n||r&&e.value.trim()===s)||(e.value=s)}},D7={deep:!0,created(e,t,n){e[Ii]=Od(n),fs(e,"change",()=>{const a=e._modelValue,r=$7(e),o=e.checked,i=e[Ii];if(Ae(a)){const l=hE(a,r),s=l!==-1;if(o&&!s)i(a.concat(r));else if(!o&&s){const u=[...a];u.splice(l,1),i(u)}}else if(o1(a)){const l=new Set(a);o?l.add(r):l.delete(r),i(l)}else i(R7(e,o))})},mounted:lC,beforeUpdate(e,t,n){e[Ii]=Od(n),lC(e,t,n)}};function lC(e,{value:t,oldValue:n},a){e._modelValue=t;let r;if(Ae(t))r=hE(t,a.props.value)>-1;else if(o1(t))r=t.has(a.props.value);else{if(t===n)return;r=rc(t,R7(e,!0))}e.checked!==r&&(e.checked=r)}const O7={created(e,{value:t},n){e.checked=rc(t,n.props.value),e[Ii]=Od(n),fs(e,"change",()=>{e[Ii]($7(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Ii]=Od(a),t!==n&&(e.checked=rc(t,a.props.value))}};function $7(e){return"_value"in e?e._value:e.value}function R7(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const MF=["ctrl","shift","alt","meta"],EF={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>MF.some(n=>e[`${n}Key`]&&!t.includes(n))},at=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=EF[t[i]];if(l&&l(r,t))return}return e(r,...o)})},AF={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=r=>{if(!("key"in r))return;const o=$l(r.key);if(t.some(i=>i===o||AF[i]===o))return e(r)})},IF=ka({patchProp:gF},Qz);let sC;function N7(){return sC||(sC=Oz(IF))}const Ps=(...e)=>{N7().render(...e)},B7=(...e)=>{const t=N7().createApp(...e),{mount:n}=t;return t.mount=a=>{const r=PF(a);if(!r)return;const o=t._component;!Qe(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,LF(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function LF(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function PF(e){return Ye(e)?document.querySelector(e):e}const Pe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},DF=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],R2=["sun","mon","tue","wed","thu","fri","sat"],bt="update:modelValue",Ot="change",ua="input",uC=Symbol("INSTALLED_KEY"),ii=["","default","small","large"],cC=["left","center","right"];var V7=typeof global=="object"&&global&&global.Object===Object&&global,OF=typeof self=="object"&&self&&self.Object===Object&&self,li=V7||OF||Function("return this")(),No=li.Symbol,z7=Object.prototype,$F=z7.hasOwnProperty,RF=z7.toString,If=No?No.toStringTag:void 0;function NF(e){var t=$F.call(e,If),n=e[If];try{e[If]=void 0;var a=!0}catch{}var r=RF.call(e);return a&&(t?e[If]=n:delete e[If]),r}var BF=Object.prototype,VF=BF.toString;function zF(e){return VF.call(e)}var FF="[object Null]",HF="[object Undefined]",dC=No?No.toStringTag:void 0;function Cc(e){return e==null?e===void 0?HF:FF:dC&&dC in Object(e)?NF(e):zF(e)}function Gi(e){return e!=null&&typeof e=="object"}var WF="[object Symbol]";function _1(e){return typeof e=="symbol"||Gi(e)&&Cc(e)==WF}function a6(e,t){for(var n=-1,a=e==null?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}var kr=Array.isArray,fC=No?No.prototype:void 0,vC=fC?fC.toString:void 0;function F7(e){if(typeof e=="string")return e;if(kr(e))return a6(e,F7)+"";if(_1(e))return vC?vC.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var KF=/\s/;function UF(e){for(var t=e.length;t--&&KF.test(e.charAt(t)););return t}var GF=/^\s+/;function YF(e){return e&&e.slice(0,UF(e)+1).replace(GF,"")}function Tr(e){var t=typeof e;return Line truncated
For more detail, please visit: ${r}
`)},{immediate:!0})},$Y='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',PA=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,WC=e=>typeof Element>"u"?!1:e instanceof Element,RY=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,KC=e=>Array.from(e.querySelectorAll($Y)).filter(t=>sc(t)&&RY(t)),sc=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},X0=function(e,t,...n){let a;t.includes("mouse")||t.includes("click")?a="MouseEvents":t.includes("key")?a="KeyboardEvent":a="HTMLEvents";const r=document.createEvent(a);return r.initEvent(t,...n),e.dispatchEvent(r),e},DA=e=>!e.getAttribute("aria-owns"),OA=(e,t,n)=>{const{parentNode:a}=e;if(!a)return null;const r=a.querySelectorAll(n);return r[Array.prototype.indexOf.call(r,e)+t]||null},Jh=(e,t)=>{if(!e||!e.focus)return;let n=!1;WC(e)&&!sc(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),WC(e)&&n&&e.removeAttribute("tabindex")},_d=e=>{e&&(Jh(e),!DA(e)&&e.click())},P1=()=>qt&&/firefox/i.test(window.navigator.userAgent),$A=()=>qt&&/android/i.test(window.navigator.userAgent),S6=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),W2=e=>Fh(e),NY="utils/dom/style",RA=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ni=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Eo=(e,t)=>{!e||!t.trim()||e.classList.add(...RA(t))},ir=(e,t)=>{!e||!t.trim()||e.classList.remove(...RA(t))},ml=(e,t)=>{var a;if(!qt||!e||!t||PA(e))return"";let n=Va(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=(a=document.defaultView)==null?void 0:a.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}},NA=(e,t,n)=>{if(!(!e||!t))if(_t(t))TA(t).forEach(([a,r])=>NA(e,a,r));else{const a=Va(t);e.style[a]=n}};function Vn(e,t="px"){if(!e&&e!==0)return"";if(Je(e)||nY(e))return`${e}${t}`;if(Ye(e))return e;un(NY,"binding value must be a string or number")}const BA=(e,t,n,a)=>{const r={offsetX:0,offsetY:0},o=F(!1),i=(v,f)=>{if(e.value){const{offsetX:h,offsetY:m}=r,g=e.value.getBoundingClientRect(),y=Math.max(g.left,0),b=Math.max(g.top,0),_=g.width,w=g.height,S=document.documentElement.clientWidth,k=document.documentElement.clientHeight,T=-y+h,M=-b+m,E=S-y-_+h,A=k-b-(w<k?w:0)+m;a!=null&&a.value||(v=Br(v,T,E),f=Br(f,M,A)),r.offsetX=v,r.offsetY=f,e.value.style.transform=`translate(${Vn(v)}, ${Vn(f)})`}},l=v=>{const f=v.clientX,h=v.clientY,{offsetX:m,offsetY:g}=r,y=_=>{o.value||(o.value=!0),i(m+_.clientX-f,g+_.clientY-h)},b=()=>{o.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},s=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",l),window.addEventListener("resize",d))},u=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",l),window.removeEventListener("resize",d))},c=()=>{r.offsetX=0,r.offsetY=0,e.value&&(e.value.style.transform="")},d=()=>{const{offsetX:v,offsetY:f}=r;i(v,f)};return mt(()=>{ur(()=>{n.value?s():u()})}),rn(()=>{u()}),{isDragging:o,resetPosition:c,updatePosition:d}};var BY={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday Line truncated
`)},{immediate:!0})},RY='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',LA=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,WC=e=>typeof Element>"u"?!1:e instanceof Element,NY=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,KC=e=>Array.from(e.querySelectorAll(RY)).filter(t=>sc(t)&&NY(t)),sc=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},X0=function(e,t,...n){let a;t.includes("mouse")||t.includes("click")?a="MouseEvents":t.includes("key")?a="KeyboardEvent":a="HTMLEvents";const r=document.createEvent(a);return r.initEvent(t,...n),e.dispatchEvent(r),e},PA=e=>!e.getAttribute("aria-owns"),DA=(e,t,n)=>{const{parentNode:a}=e;if(!a)return null;const r=a.querySelectorAll(n);return r[Array.prototype.indexOf.call(r,e)+t]||null},Jh=(e,t)=>{if(!e||!e.focus)return;let n=!1;WC(e)&&!sc(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),WC(e)&&n&&e.removeAttribute("tabindex")},_d=e=>{e&&(Jh(e),!PA(e)&&e.click())},P1=()=>jt&&/firefox/i.test(window.navigator.userAgent),OA=()=>jt&&/android/i.test(window.navigator.userAgent),S6=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),W2=e=>Fh(e),BY="utils/dom/style",$A=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ni=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Eo=(e,t)=>{!e||!t.trim()||e.classList.add(...$A(t))},ir=(e,t)=>{!e||!t.trim()||e.classList.remove(...$A(t))},ml=(e,t)=>{var a;if(!jt||!e||!t||LA(e))return"";let n=Va(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const o=(a=document.defaultView)==null?void 0:a.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}},RA=(e,t,n)=>{if(!(!e||!t))if(_t(t))kA(t).forEach(([a,r])=>RA(e,a,r));else{const a=Va(t);e.style[a]=n}};function Vn(e,t="px"){if(!e&&e!==0)return"";if(Je(e)||aY(e))return`${e}${t}`;if(Ye(e))return e;un(BY,"binding value must be a string or number")}const NA=(e,t,n,a)=>{const r={offsetX:0,offsetY:0},o=F(!1),i=(v,f)=>{if(e.value){const{offsetX:h,offsetY:m}=r,g=e.value.getBoundingClientRect(),y=Math.max(g.left,0),b=Math.max(g.top,0),_=g.width,w=g.height,S=document.documentElement.clientWidth,k=document.documentElement.clientHeight,T=-y+h,M=-b+m,E=S-y-_+h,A=k-b-(w<k?w:0)+m;a!=null&&a.value||(v=Br(v,T,E),f=Br(f,M,A)),r.offsetX=v,r.offsetY=f,e.value.style.transform=`translate(${Vn(v)}, ${Vn(f)})`}},l=v=>{const f=v.clientX,h=v.clientY,{offsetX:m,offsetY:g}=r,y=_=>{o.value||(o.value=!0),i(m+_.clientX-f,g+_.clientY-h)},b=()=>{o.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},s=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",l),window.addEventListener("resize",d))},u=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",l),window.removeEventListener("resize",d))},c=()=>{r.offsetX=0,r.offsetY=0,e.value&&(e.value.style.transform="")},d=()=>{const{offsetX:v,offsetY:f}=r;i(v,f)};return mt(()=>{ur(()=>{n.value?s():u()})}),rn(()=>{u()}),{isDragging:o,resetPosition:c,updatePosition:d}};var VY={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday Line truncated
usage: app.provide(ID_INJECTION_KEY, {
prefix: number,
current: number,
})`);const n=C6();return EA(()=>p(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let nd=[];const r5=e=>{mn(e)===Pe.esc&&nd.forEach(t=>t(e))},tq=e=>{mt(()=>{nd.length===0&&document.addEventListener("keydown",r5),qt&&nd.push(e)}),rn(()=>{nd=nd.filter(t=>t!==e),nd.length===0&&qt&&document.removeEventListener("keydown",r5)})},nI=()=>{const e=C6(),t=$6(),n=D(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:D(()=>`#${n.value}`)}},nq=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},aq=()=>{const{id:e,selector:t}=nI();return g1(()=>{qt&&(document.body.querySelector(t.value)||nq(e.value))}),{id:e,selector:t}},rq=$e({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),oq={showAfter:0,hideAfter:200,autoClose:0},iq=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:r})=>{const{registerTimeout:o}=a5(),{registerTimeout:i,cancelTimeout:l}=a5();return{onOpen:(c,d=p(e))=>{o(()=>{a(c);const v=p(n);Je(v)&&v>0&&i(()=>{r(c)},v)},d)},onClose:(c,d=p(t))=>{l(),o(()=>{r(c)},d)}}},aI=Symbol("elForwardRef"),lq=e=>{Ft(aI,{setForwardRef:n=>{e.value=n}})},sq=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),o5={current:0},i5=F(0),rI=2e3,l5=Symbol("elZIndexContextKey"),oI=Symbol("zIndexContextKey"),tp=e=>{const t=Et()?Ze(l5,o5):o5,n=e||(Et()?Ze(oI,void 0):void 0),a=D(()=>{const i=p(n);return Je(i)?i:rI}),r=D(()=>a.value+i5.value),o=()=>(t.current++,i5.value=t.current,r.value);return!qt&&!Ze(l5)&&un("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,currentZIndex:r,nextZIndex:o}},Wd=Math.min,ju=Math.max,Ym=Math.round,$p=Math.floor,Sl=e=>({x:e,y:e}),uq={left:"right",right:"left",bottom:"top",top:"bottom"};function iI(e,t,n){return ju(e,Wd(t,n))}function np(e,t){return typeof e=="function"?e(t):e}function Kd(e){return e.split("-")[0]}function ap(e){return e.split("-")[1]}function lI(e){return e==="x"?"y":"x"}function R6(e){return e==="y"?"height":"width"}function ps(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function N6(e){return lI(ps(e))}function cq(e,t,n){n===void 0&&(n=!1);const a=ap(e),r=N6(e),o=R6(r);let i=r==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=jm(i)),[i,jm(i)]}function dq(e){const t=jm(e);return[f4(e),t,f4(t)]}function f4(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const s5=["left","right"],u5=["right","left"],fq=["top","bottom"],vq=["bottom","top"];function hq(e,t,n){switch(e){case"top":case"bottom":return n?t?u5:s5:t?s5:u5;case"left":case"right":return t?fq:vq;default:return[]}}function pq(e,t,n,a){const r=ap(e);let o=hq(Kd(e),n==="start",a);return r&&(o=o.map(i=>i+"-"+r),t&&(o=o.concat(o.map(f4)))),o}function jm(e){const t=Kd(e);return uq[t]+e.slice(t.length)}function mq(e){var t,n,a,r;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(r=e.left)!=null?r:0}}function sI(e){return typeof e!="number"?mq(e):{top:e,right:e,bottom:e,left:e}}function qm(e){const{x:t,y:n,width:a,height:r}=e;return{width:a,height:r,top:n,left:t,right:t+a,bottom:n+r,x:t,y:n}}function c5(e,t,n){let{reference:a,floating:r}=e;const o=ps(t),i=N6(t),l=R6(i),s=Kd(t),u=o==="y",c=a.x+a.width/2-r.width/2,d=a.y+a.height/2-r.height/2,v=a[l]/2-r[l]/2;let f;switch(s){case"top":f={x:c,y:a.y-r.height};break;case"bottom":f={x:c,y:a.y+a.height};break;case"right":f={x:a.x+a.width,y:d};break;case"left":f={x:a.x-r.width,y:d};break;default:f={x:a.x,y:a.y}}const h=ap(t);return h&&(f[i]+=v*(h==="end"?1:-1)*(n&&u?-1:1)),f}async function uI(e,t){var n;t===void 0&&(t={});const{x:a,y:r,platform:o,rects:i,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:v=!1,padding:f=0}=np(t,e),h=sI(f),g=l[v?d==="floating"?"reference":"floating":d],y=qm(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),b=d==="floating"?{x:a,y:r,width:i.floating.width,height:i.floating.height}:i.reference,_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),w=await(o.isElement==null?void 0:o.isElement(_))&&await(o.getScale==null?void 0:o.getScale(_))||{x:1,y:1},S=qm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:_,strategy:s}):b);return{top:(y.top-S.top+h.top)/w.y,bottom:(S.bottom-y.bottom+h.bottom)/w.y,left:(y.left-S.left+h.left)/w.x,right:(S.right-y.right+h.right)/w.x}}const gq=50,yq=async(e,t,n)=>{const{placement:a="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,l=i.detectOverflow?i:{...i,detectOverflow:uI},s=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=c5(u,a,s),v=a,f=0;const h={};for(let m=0;m<o.length;m++){const g=o[m];if(!g)continue;const{name:y,fn:b}=g,{x:_,y:w,data:S,reset:k}=await b({x:c,y:d,initialPlacement:a,placement:v,strategy:r,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});c=_??c,d=w??d,h[y]={...h[y],...S},k&&f<gq&&(f++,typeof k=="object"&&(k.placement&&(v=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):k.rects),{x:c,y:d}=c5(u,v,s)),m=-1)}return{x:c,y:d,placement:v,strategy:r,middlewareData:h}},bq=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:r,rects:o,platform:i,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=np(e,t)||{};if(u==null)return{};const d=sI(c),v={x:n,y:a},f=N6(r),h=R6(f),m=await i.getDimensions(u),g=f==="y",y=g?"top":"left",b=g?"bottom":"right",_=g?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[f]-v[f]-o.floating[h],S=v[f]-o.reference[f],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=k?k[_]:0;(!T||!await(i.isElement==null?void 0:i.isElement(k)))&&(T=l.floating[_]||o.floating[h]);const M=w/2-S/2,E=T/2-m[h]/2-1,A=Wd(d[y],E),I=Wd(d[b],E),P=T-m[h]-I,R=T/2-m[h]/2+M,G=iI(A,R,P),K=!s.arrow&&ap(r)!=null&&R!==G&&o.reference[h]/2-(R<A?A:I)-m[h]/2<0,H=K?R<A?R-A:R-P:0;return{[f]:v[f]+H,data:{[f]:G,centerOffset:R-G-H,...K&&{alignmentOffset:H}},reset:K}}}),_q=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:r,middlewareData:o,rects:i,initialPlacement:l,platform:s,el Line truncated
})`);const n=C6();return MA(()=>p(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let nd=[];const r5=e=>{mn(e)===Pe.esc&&nd.forEach(t=>t(e))},nj=e=>{mt(()=>{nd.length===0&&document.addEventListener("keydown",r5),jt&&nd.push(e)}),rn(()=>{nd=nd.filter(t=>t!==e),nd.length===0&&jt&&document.removeEventListener("keydown",r5)})},tI=()=>{const e=C6(),t=$6(),n=D(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:D(()=>`#${n.value}`)}},aj=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},rj=()=>{const{id:e,selector:t}=tI();return g1(()=>{jt&&(document.body.querySelector(t.value)||aj(e.value))}),{id:e,selector:t}},oj=$e({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ij={showAfter:0,hideAfter:200,autoClose:0},lj=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:r})=>{const{registerTimeout:o}=a5(),{registerTimeout:i,cancelTimeout:l}=a5();return{onOpen:(c,d=p(e))=>{o(()=>{a(c);const v=p(n);Je(v)&&v>0&&i(()=>{r(c)},v)},d)},onClose:(c,d=p(t))=>{l(),o(()=>{r(c)},d)}}},nI=Symbol("elForwardRef"),sj=e=>{Ft(nI,{setForwardRef:n=>{e.value=n}})},uj=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),o5={current:0},i5=F(0),aI=2e3,l5=Symbol("elZIndexContextKey"),rI=Symbol("zIndexContextKey"),tp=e=>{const t=Et()?Ze(l5,o5):o5,n=e||(Et()?Ze(rI,void 0):void 0),a=D(()=>{const i=p(n);return Je(i)?i:aI}),r=D(()=>a.value+i5.value),o=()=>(t.current++,i5.value=t.current,r.value);return!jt&&!Ze(l5)&&un("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,currentZIndex:r,nextZIndex:o}},Wd=Math.min,qu=Math.max,Ym=Math.round,$p=Math.floor,Sl=e=>({x:e,y:e}),cj={left:"right",right:"left",bottom:"top",top:"bottom"};function oI(e,t,n){return qu(e,Wd(t,n))}function np(e,t){return typeof e=="function"?e(t):e}function Kd(e){return e.split("-")[0]}function ap(e){return e.split("-")[1]}function iI(e){return e==="x"?"y":"x"}function R6(e){return e==="y"?"height":"width"}function ps(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function N6(e){return iI(ps(e))}function dj(e,t,n){n===void 0&&(n=!1);const a=ap(e),r=N6(e),o=R6(r);let i=r==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=qm(i)),[i,qm(i)]}function fj(e){const t=qm(e);return[f4(e),t,f4(t)]}function f4(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const s5=["left","right"],u5=["right","left"],vj=["top","bottom"],hj=["bottom","top"];function pj(e,t,n){switch(e){case"top":case"bottom":return n?t?u5:s5:t?s5:u5;case"left":case"right":return t?vj:hj;default:return[]}}function mj(e,t,n,a){const r=ap(e);let o=pj(Kd(e),n==="start",a);return r&&(o=o.map(i=>i+"-"+r),t&&(o=o.concat(o.map(f4)))),o}function qm(e){const t=Kd(e);return cj[t]+e.slice(t.length)}function gj(e){var t,n,a,r;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(r=e.left)!=null?r:0}}function lI(e){return typeof e!="number"?gj(e):{top:e,right:e,bottom:e,left:e}}function jm(e){const{x:t,y:n,width:a,height:r}=e;return{width:a,height:r,top:n,left:t,right:t+a,bottom:n+r,x:t,y:n}}function c5(e,t,n){let{reference:a,floating:r}=e;const o=ps(t),i=N6(t),l=R6(i),s=Kd(t),u=o==="y",c=a.x+a.width/2-r.width/2,d=a.y+a.height/2-r.height/2,v=a[l]/2-r[l]/2;let f;switch(s){case"top":f={x:c,y:a.y-r.height};break;case"bottom":f={x:c,y:a.y+a.height};break;case"right":f={x:a.x+a.width,y:d};break;case"left":f={x:a.x-r.width,y:d};break;default:f={x:a.x,y:a.y}}const h=ap(t);return h&&(f[i]+=v*(h==="end"?1:-1)*(n&&u?-1:1)),f}async function sI(e,t){var n;t===void 0&&(t={});const{x:a,y:r,platform:o,rects:i,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:v=!1,padding:f=0}=np(t,e),h=lI(f),g=l[v?d==="floating"?"reference":"floating":d],y=jm(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),b=d==="floating"?{x:a,y:r,width:i.floating.width,height:i.floating.height}:i.reference,_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),w=await(o.isElement==null?void 0:o.isElement(_))&&await(o.getScale==null?void 0:o.getScale(_))||{x:1,y:1},S=jm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:_,strategy:s}):b);return{top:(y.top-S.top+h.top)/w.y,bottom:(S.bottom-y.bottom+h.bottom)/w.y,left:(y.left-S.left+h.left)/w.x,right:(S.right-y.right+h.right)/w.x}}const yj=50,bj=async(e,t,n)=>{const{placement:a="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,l=i.detectOverflow?i:{...i,detectOverflow:sI},s=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:d}=c5(u,a,s),v=a,f=0;const h={};for(let m=0;m<o.length;m++){const g=o[m];if(!g)continue;const{name:y,fn:b}=g,{x:_,y:w,data:S,reset:k}=await b({x:c,y:d,initialPlacement:a,placement:v,strategy:r,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});c=_??c,d=w??d,h[y]={...h[y],...S},k&&f<yj&&(f++,typeof k=="object"&&(k.placement&&(v=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):k.rects),{x:c,y:d}=c5(u,v,s)),m=-1)}return{x:c,y:d,placement:v,strategy:r,middlewareData:h}},_j=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:r,rects:o,platform:i,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=np(e,t)||{};if(u==null)return{};const d=lI(c),v={x:n,y:a},f=N6(r),h=R6(f),m=await i.getDimensions(u),g=f==="y",y=g?"top":"left",b=g?"bottom":"right",_=g?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[f]-v[f]-o.floating[h],S=v[f]-o.reference[f],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=k?k[_]:0;(!T||!await(i.isElement==null?void 0:i.isElement(k)))&&(T=l.floating[_]||o.floating[h]);const M=w/2-S/2,E=T/2-m[h]/2-1,A=Wd(d[y],E),I=Wd(d[b],E),P=T-m[h]-I,R=T/2-m[h]/2+M,G=oI(A,R,P),K=!s.arrow&&ap(r)!=null&&R!==G&&o.reference[h]/2-(R<A?A:I)-m[h]/2<0,H=K?R<A?R-A:R-P:0;return{[f]:v[f]+H,data:{[f]:G,centerOffset:R-G-H,...K&&{alignmentOffset:H}},reset:K}}}),wj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:r,middlewareData:o,rects:i,initialPlacement:l,platform:s,el Line truncated
(?:
(?:`+a+":){7}(?:"+a+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+a+":){6}(?:"+n+"|:"+a+`|:)| // 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
@@ -33,7 +33,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,curr
(?:`+a+":){1}(?:(?::"+a+"){0,4}:"+n+"|(?::"+a+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+a+"){0,5}:"+n+"|(?::"+a+`){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(),o=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),i=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(w){return w&&w.exact?o:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+r+t(w)+")","g")};s.v4=function(_){return _&&_.exact?i:new RegExp(""+t(_)+n+t(_),"g")},s.v6=function(_){return _&&_.exact?l:new RegExp(""+t(_)+r+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,v=s.v6().source,f="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',b="(?:"+u+"|www\\.)"+c+"(?:localhost|"+d+"|"+v+"|"+f+h+m+")"+g+y;return Np=new RegExp("(?:^"+b+"$)","i"),Np},S5={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},ov={integer:function(t){return ov.number(t)&&parseInt(t,10)===t},float:function(t){return ov.number(t)&&!ov.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"&&!ov.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(S5.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jie())},hex:function(t){return typeof t=="string"&&!!t.match(S5.hex)}},qie=function(t,n,a,r,o){if(t.required&&n===void 0){nL(t,n,a,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?ov[l](n)||r.push(to(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(to(o.messages.types[l],t.fullField,t.type))},Xie=function(t,n,a,r,o){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,v=typeof n=="number",f=typeof n=="string",h=Array.isArray(n);if(v?d="number":f?d="string":h&&(d="array"),!d)return!1;h&&(c=n.length),f&&(c=n.replace(u,"_").length),i?c!==t.len&&r.push(to(o.messages[d].len,t.fullField,t.len)):l&&!s&&c<t.min?r.push(to(o.messages[d].min,t.fullField,t.min)):s&&!l&&c>t.max?r.push(to(o.messages[d].max,t.fullField,t.max)):l&&s&&(c<t.min||c>t.max)&&r.push(to(o.messages[d].range,t.fullField,t.min,t.max))},Oc="enum",Zie=function(t,n,a,r,o){t[Oc]=Array.isArray(t[Oc])?t[Oc]:[],t[Oc].indexOf(n)===-1&&r.push(to(o.messages[Oc],t.fullField,t[Oc].join(", ")))},Jie=function(t,n,a,r,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(to(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||r.push(to(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Cn={required:nL,whitespace:Yie,type:qie,range:Xie,enum:Zie,pattern:Jie},Qie=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n,"string")&&!t.required)return a();Cn.required(t,n,r,i,o,"string"),Da(n,"string")||(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o),Cn.pattern(t,n,r,i,o),t.whitespace===!0&&Cn.whitespace(t,n,r,i,o))}a(i)},ele=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&Cn.type(t,n,r,i,o)}a(i)},tle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},nle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&Cn.type(t,n,r,i,o)}a(i)},ale=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),Da(n)||Cn.type(t,n,r,i,o)}a(i)},rle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},ole=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},ile=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return a();Cn.required(t,n,r,i,o,"array"),n!=null&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},lle=func Line truncated
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),i=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(w){return w&&w.exact?o:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+r+t(w)+")","g")};s.v4=function(_){return _&&_.exact?i:new RegExp(""+t(_)+n+t(_),"g")},s.v6=function(_){return _&&_.exact?l:new RegExp(""+t(_)+r+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,v=s.v6().source,f="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',b="(?:"+u+"|www\\.)"+c+"(?:localhost|"+d+"|"+v+"|"+f+h+m+")"+g+y;return Np=new RegExp("(?:^"+b+"$)","i"),Np},S5={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},ov={integer:function(t){return ov.number(t)&&parseInt(t,10)===t},float:function(t){return ov.number(t)&&!ov.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"&&!ov.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(S5.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jie())},hex:function(t){return typeof t=="string"&&!!t.match(S5.hex)}},Xie=function(t,n,a,r,o){if(t.required&&n===void 0){tL(t,n,a,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;i.indexOf(l)>-1?ov[l](n)||r.push(to(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&r.push(to(o.messages.types[l],t.fullField,t.type))},Zie=function(t,n,a,r,o){var i=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,v=typeof n=="number",f=typeof n=="string",h=Array.isArray(n);if(v?d="number":f?d="string":h&&(d="array"),!d)return!1;h&&(c=n.length),f&&(c=n.replace(u,"_").length),i?c!==t.len&&r.push(to(o.messages[d].len,t.fullField,t.len)):l&&!s&&c<t.min?r.push(to(o.messages[d].min,t.fullField,t.min)):s&&!l&&c>t.max?r.push(to(o.messages[d].max,t.fullField,t.max)):l&&s&&(c<t.min||c>t.max)&&r.push(to(o.messages[d].range,t.fullField,t.min,t.max))},Oc="enum",Jie=function(t,n,a,r,o){t[Oc]=Array.isArray(t[Oc])?t[Oc]:[],t[Oc].indexOf(n)===-1&&r.push(to(o.messages[Oc],t.fullField,t[Oc].join(", ")))},Qie=function(t,n,a,r,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(to(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||r.push(to(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Cn={required:tL,whitespace:qie,type:Xie,range:Zie,enum:Jie,pattern:Qie},ele=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n,"string")&&!t.required)return a();Cn.required(t,n,r,i,o,"string"),Da(n,"string")||(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o),Cn.pattern(t,n,r,i,o),t.whitespace===!0&&Cn.whitespace(t,n,r,i,o))}a(i)},tle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&Cn.type(t,n,r,i,o)}a(i)},nle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},ale=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&Cn.type(t,n,r,i,o)}a(i)},rle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),Da(n)||Cn.type(t,n,r,i,o)}a(i)},ole=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},ile=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(Da(n)&&!t.required)return a();Cn.required(t,n,r,i,o),n!==void 0&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},lle=function(t,n,a,r,o){var i=[],l=t.required||!t.required&&r.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return a();Cn.required(t,n,r,i,o,"array"),n!=null&&(Cn.type(t,n,r,i,o),Cn.range(t,n,r,i,o))}a(i)},sle=func Line truncated
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
@@ -46,38 +46,38 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:a,curr
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const R4="_Mousewheel",J5=function(e,t){if(e&&e.addEventListener){OL(e);const n=function(a){const r=zue(a);t&&Reflect.apply(t,this,[a,r])};e[R4]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},OL=e=>{var t;(t=e._Mousewheel)!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[R4].wheelHandler),e[R4]=null)},Q5={beforeMount(e,t){J5(e,t.value)},unmounted(e){OL(e)},updated(e,t){t.value!==t.oldValue&&J5(e,t.value)}},Fue=$e({...xL,datetimeRole:String,parsedValue:{type:ae(Object)}}),$L=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const a=(i,l,s,u)=>{const c={hour:e,minute:t,second:n};let d=i;return["hour","minute","second"].forEach(v=>{if(c[v]){let f;const h=c[v];switch(v){case"minute":f=h(d.hour(),l,u);break;case"second":f=h(d.hour(),d.minute(),l,u);break;default:f=h(l,u);break}if(f!=null&&f.length&&!f.includes(d[v]())){const m=s?0:f.length-1;d=d[v](f[m])}}}),d},r={};return{timePickerOptions:r,getAvailableTime:a,onSetOption:([i,l])=>{r[i]=l}}},ty=e=>{const t=(a,r)=>a||r,n=a=>a!==!0;return e.map(t).filter(n)},RL=(e,t,n)=>({getHoursList:(i,l)=>ey(24,e&&(()=>e==null?void 0:e(i,l))),getMinutesList:(i,l,s)=>ey(60,t&&(()=>t==null?void 0:t(i,l,s))),getSecondsList:(i,l,s,u)=>ey(60,n&&(()=>n==null?void 0:n(i,l,s,u)))}),NL=(e,t,n)=>{const{getHoursList:a,getMinutesList:r,getSecondsList:o}=RL(e,t,n);return{getAvailableHours:(u,c)=>ty(a(u,c)),getAvailableMinutes:(u,c,d)=>ty(r(u,c,d)),getAvailableSeconds:(u,c,d,v)=>ty(o(u,c,d,v))}},BL=(e,t)=>{const n=F(e.parsedValue);return ye(()=>e.visible,a=>{const r=ia(t.modelValue),o=ia(t.valueOnClear);if(a&&r===o){n.value=o;return}a||(n.value=e.parsedValue)}),n},Hue=$e({role:{type:String,required:!0},spinnerDate:{type:ae(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ae(String),default:""},...nw}),Wue=["onClick"],Kue=["onMouseenter"];var Uue=q({__name:"basic-time-spinner",props:Hue,emits:[Ot,"select-range","set-option"],setup(e,{emit:t}){const n=e,{isRange:a,format:r,saveOnBlur:o}=Ze(nl).props,i=t,l=ke("time"),{getHoursList:s,getMinutesList:u,getSecondsList:c}=RL(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const v={hours:!1,minutes:!1,seconds:!1},f=F(),h={hours:F(),minutes:F(),seconds:F()},m=D(()=>n.showSeconds?F5:F5.slice(0,2)),g=D(()=>{const{spinnerDate:V}=n;return{hours:V.hour(),minutes:V.minute(),seconds:V.second()}}),y=D(()=>{const{hours:V,minutes:Y}=p(g),{role:X,spinnerDate:ee}=n,re=a?void 0:ee;return{hours:s(X,re),minutes:u(V,X,re),seconds:c(V,Y,X,re)}}),b=D(()=>{const{hours:V,minutes:Y,seconds:X}=p(g);return{hours:Q2(V,23),minutes:Q2(Y,59),seconds:Q2(X,59)}}),_=Yi(V=>{d=!1,k(V)},200),w=V=>{if(!n.amPmMode)return"";const Y=n.amPmMode==="A";let X=V<12?" am":" pm";return Y&&(X=X.toUpperCase()),X},S=V=>{let Y=[0,0];const X=r||"HH:mm:ss",ee=X.indexOf("HH"),re=X.indexOf("mm"),ie=X.indexOf("ss");switch(V){case"hours":ee!==-1&&(Y=[ee,ee+2]);break;case"minutes":re!==-1&&(Y=[re,re+2]);break;case"seconds":ie!==-1&&(Y=[ie,ie+2]);break}const[le,ve]=Y;i("select-range",le,ve),f.value=V},k=V=>{E(V,p(g)[V])},T=()=>{k("hours"),k("minutes"),k("seconds")},M=V=>V.querySelector(`.${l.namespace.value}-scrollbar__wrap`),E=(V,Y)=>{if(n.arrowControl)return;const X=p(h[V]);X&&X.$el&&(o||(v[V]=!0,Wr(()=>{v[V]=!1})),M(X.$el).scrollTop=Math.max(0,Y*A(V)))},A=V=>{var X;const Y=(X=p(h[V]))==null?void 0:X.$el.querySelector("li");return Y&&Number.parseFloat(ml(Y,"height"))||0},I=()=>{R(1)},P=()=>{R(-1)},R=V=>{f.value||S("hours");const Y=f.value,X=p(g)[Y],ee=G(Y,X,V,f.value==="hours"?24:60);K(Y,ee),E(Y,ee),He(()=>S(Y))},G=(V,Y,X,ee)=>{let re=(Y+X+ee)%ee;const ie=p(y)[V];for(;ie[re]&&re!==Y;)re=(re+X+ee)%ee;return re},K=(V,Y)=>{if(p(y)[V][Y])return;const{hours:X,minutes:ee,seconds:re}=p(g);let ie;switch(V){case"hours":ie=n.spinnerDate.hour(Y).minute(ee).second(re);break;case"minutes":ie=n.spinnerDate.hour(X).minute(Y).second(re);break;case"seconds":ie=n.spinnerDate.hour(X).minute(ee).second(Y);break}i(Ot,ie)},H=(V,{value:Y,disabled:X})=>{X||(K(V,Y),S(V),E(V,Y))},z=V=>{if(!o&&v[V])return;const Y=p(h[V]);Y&&(d=!0,_(V),K(V,Math.min(Math.round((M(Y.$el).scrollTop-(B(V)*.5-10)/A(V)+3)/A(V)),V==="hours"?23:59)))},B=V=>p(h[V]).$el.offsetHeight,W=()=>{const V=Y=>{const X=p(h[Y]);X&&X.$el&&(M(X.$el).onscroll=()=>{z(Y)})};V("hours"),V("minutes"),V("seconds")};mt(()=>{He(()=>{!n.arrowControl&&W(),T(),n.role==="start"&&S("hours")})});const N=(V,Y)=>{h[Y].value=V??void 0};return i("set-option",[`${n.role}_scrollDown`,R]),i("set-option",[`${n.role}_emitSelectRange`,S]),ye(()=>n.spinnerDate,()=>{d||T()}),(V,Y)=>(x(),O("div",{class:U([p(l).b("spinner"),{"has-seconds":V.showSeconds}])},[V.arrowControl?te("v-if",!0):(x(!0),O(Ve,{key:0},dt(m.value,X=>(x(),ne(p(ni),{key:X,ref_for:!0,ref:ee=>N(ee,X),class:U(p(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":p(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ee=>S(X),onMousemove:ee=>k(X)},{default:$(()=>[(x(!0),O(Ve,null,dt(y.value[X],(ee,re)=Line truncated
*/const R4="_Mousewheel",J5=function(e,t){if(e&&e.addEventListener){DL(e);const n=function(a){const r=Fue(a);t&&Reflect.apply(t,this,[a,r])};e[R4]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},DL=e=>{var t;(t=e._Mousewheel)!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[R4].wheelHandler),e[R4]=null)},Q5={beforeMount(e,t){J5(e,t.value)},unmounted(e){DL(e)},updated(e,t){t.value!==t.oldValue&&J5(e,t.value)}},Hue=$e({...CL,datetimeRole:String,parsedValue:{type:ae(Object)}}),OL=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const a=(i,l,s,u)=>{const c={hour:e,minute:t,second:n};let d=i;return["hour","minute","second"].forEach(v=>{if(c[v]){let f;const h=c[v];switch(v){case"minute":f=h(d.hour(),l,u);break;case"second":f=h(d.hour(),d.minute(),l,u);break;default:f=h(l,u);break}if(f!=null&&f.length&&!f.includes(d[v]())){const m=s?0:f.length-1;d=d[v](f[m])}}}),d},r={};return{timePickerOptions:r,getAvailableTime:a,onSetOption:([i,l])=>{r[i]=l}}},ty=e=>{const t=(a,r)=>a||r,n=a=>a!==!0;return e.map(t).filter(n)},$L=(e,t,n)=>({getHoursList:(i,l)=>ey(24,e&&(()=>e==null?void 0:e(i,l))),getMinutesList:(i,l,s)=>ey(60,t&&(()=>t==null?void 0:t(i,l,s))),getSecondsList:(i,l,s,u)=>ey(60,n&&(()=>n==null?void 0:n(i,l,s,u)))}),RL=(e,t,n)=>{const{getHoursList:a,getMinutesList:r,getSecondsList:o}=$L(e,t,n);return{getAvailableHours:(u,c)=>ty(a(u,c)),getAvailableMinutes:(u,c,d)=>ty(r(u,c,d)),getAvailableSeconds:(u,c,d,v)=>ty(o(u,c,d,v))}},NL=(e,t)=>{const n=F(e.parsedValue);return ye(()=>e.visible,a=>{const r=ia(t.modelValue),o=ia(t.valueOnClear);if(a&&r===o){n.value=o;return}a||(n.value=e.parsedValue)}),n},Wue=$e({role:{type:String,required:!0},spinnerDate:{type:ae(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ae(String),default:""},...nw}),Kue=["onClick"],Uue=["onMouseenter"];var Gue=j({__name:"basic-time-spinner",props:Wue,emits:[Ot,"select-range","set-option"],setup(e,{emit:t}){const n=e,{isRange:a,format:r,saveOnBlur:o}=Ze(nl).props,i=t,l=ke("time"),{getHoursList:s,getMinutesList:u,getSecondsList:c}=$L(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const v={hours:!1,minutes:!1,seconds:!1},f=F(),h={hours:F(),minutes:F(),seconds:F()},m=D(()=>n.showSeconds?F5:F5.slice(0,2)),g=D(()=>{const{spinnerDate:V}=n;return{hours:V.hour(),minutes:V.minute(),seconds:V.second()}}),y=D(()=>{const{hours:V,minutes:Y}=p(g),{role:X,spinnerDate:ee}=n,re=a?void 0:ee;return{hours:s(X,re),minutes:u(V,X,re),seconds:c(V,Y,X,re)}}),b=D(()=>{const{hours:V,minutes:Y,seconds:X}=p(g);return{hours:Q2(V,23),minutes:Q2(Y,59),seconds:Q2(X,59)}}),_=Yi(V=>{d=!1,k(V)},200),w=V=>{if(!n.amPmMode)return"";const Y=n.amPmMode==="A";let X=V<12?" am":" pm";return Y&&(X=X.toUpperCase()),X},S=V=>{let Y=[0,0];const X=r||"HH:mm:ss",ee=X.indexOf("HH"),re=X.indexOf("mm"),ie=X.indexOf("ss");switch(V){case"hours":ee!==-1&&(Y=[ee,ee+2]);break;case"minutes":re!==-1&&(Y=[re,re+2]);break;case"seconds":ie!==-1&&(Y=[ie,ie+2]);break}const[le,ve]=Y;i("select-range",le,ve),f.value=V},k=V=>{E(V,p(g)[V])},T=()=>{k("hours"),k("minutes"),k("seconds")},M=V=>V.querySelector(`.${l.namespace.value}-scrollbar__wrap`),E=(V,Y)=>{if(n.arrowControl)return;const X=p(h[V]);X&&X.$el&&(o||(v[V]=!0,Wr(()=>{v[V]=!1})),M(X.$el).scrollTop=Math.max(0,Y*A(V)))},A=V=>{var X;const Y=(X=p(h[V]))==null?void 0:X.$el.querySelector("li");return Y&&Number.parseFloat(ml(Y,"height"))||0},I=()=>{R(1)},P=()=>{R(-1)},R=V=>{f.value||S("hours");const Y=f.value,X=p(g)[Y],ee=G(Y,X,V,f.value==="hours"?24:60);K(Y,ee),E(Y,ee),He(()=>S(Y))},G=(V,Y,X,ee)=>{let re=(Y+X+ee)%ee;const ie=p(y)[V];for(;ie[re]&&re!==Y;)re=(re+X+ee)%ee;return re},K=(V,Y)=>{if(p(y)[V][Y])return;const{hours:X,minutes:ee,seconds:re}=p(g);let ie;switch(V){case"hours":ie=n.spinnerDate.hour(Y).minute(ee).second(re);break;case"minutes":ie=n.spinnerDate.hour(X).minute(Y).second(re);break;case"seconds":ie=n.spinnerDate.hour(X).minute(ee).second(Y);break}i(Ot,ie)},H=(V,{value:Y,disabled:X})=>{X||(K(V,Y),S(V),E(V,Y))},z=V=>{if(!o&&v[V])return;const Y=p(h[V]);Y&&(d=!0,_(V),K(V,Math.min(Math.round((M(Y.$el).scrollTop-(B(V)*.5-10)/A(V)+3)/A(V)),V==="hours"?23:59)))},B=V=>p(h[V]).$el.offsetHeight,W=()=>{const V=Y=>{const X=p(h[Y]);X&&X.$el&&(M(X.$el).onscroll=()=>{z(Y)})};V("hours"),V("minutes"),V("seconds")};mt(()=>{He(()=>{!n.arrowControl&&W(),T(),n.role==="start"&&S("hours")})});const N=(V,Y)=>{h[Y].value=V??void 0};return i("set-option",[`${n.role}_scrollDown`,R]),i("set-option",[`${n.role}_emitSelectRange`,S]),ye(()=>n.spinnerDate,()=>{d||T()}),(V,Y)=>(x(),O("div",{class:U([p(l).b("spinner"),{"has-seconds":V.showSeconds}])},[V.arrowControl?te("v-if",!0):(x(!0),O(Ve,{key:0},dt(m.value,X=>(x(),ne(p(ni),{key:X,ref_for:!0,ref:ee=>N(ee,X),class:U(p(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":p(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ee=>S(X),onMousemove:ee=>k(X)},{default:$(()=>[(x(!0),O(Ve,null,dt(y.value[X],(ee,re)=Line truncated
You should set
width/height
to number when your layout is
horizontal/vertical
`);const u=Math.max(0,t*n-s),c=Math.min(u,o*n),d=Math.max(0,(o+1)*n-s);switch(i==="smart"&&(l>=d-s&&l<=c+s?i=Io:i=Pi),i){case mh:return c;case"end":return d;case Pi:{const v=Math.round(d+(c-d)/2);return v<Math.ceil(s/2)?0:v>u+Math.floor(s/2)?u:v}case Io:default:return l>=d&&l<=c?l:l<d?d:c}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:a,width:r},o,i)=>{const l=o*n,s=yh(a)?r:e,u=Math.ceil((s+i-l)/n);return Math.max(0,Math.min(t-1,o+u-1))},initCache(){},clearCache:!0,validateProps(){}}),kde="ElDynamicSizeList",id=(e,t,n)=>{const{itemSize:a}=e,{items:r,lastVisitedIndex:o}=n;if(t>o){let i=0;if(o>=0){const l=r[o];i=l.offset+l.size}for(let l=o+1;l<=t;l++){const s=a(l);r[l]={offset:i,size:s},i+=s}n.lastVisitedIndex=t}return r[t]},Tde=(e,t,n)=>{const{items:a,lastVisitedIndex:r}=t;return(r>0?a[r].offset:0)>=n?aP(e,t,0,r,n):Mde(e,t,Math.max(0,r),n)},aP=(e,t,n,a,r)=>{for(;n<=a;){const o=n+Math.floor((a-n)/2),i=id(e,o,t).offset;if(i===r)return o;i<r?n=o+1:i>r&&(a=o-1)}return Math.max(0,n-1)},Mde=(e,t,n,a)=>{const{total:r}=e;let o=1;for(;n<r&&id(e,n,t).offset<a;)n+=o,o*=2;return aP(e,t,Math.floor(n/2),Math.min(n,r-1),a)},sx=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:a})=>{let r=0;if(a>=e&&(a=e-1),a>=0){const i=t[a];r=i.offset+i.size}const o=(e-a-1)*n;return r+o},Ede=nP({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>id(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:sx,getOffset:(e,t,n,a,r)=>{const{height:o,layout:i,width:l}=e,s=yh(i)?l:o,u=id(e,t,r),c=sx(e,r),d=Math.max(0,Math.min(c-s,u.offset)),v=Math.max(0,u.offset-s+u.size);switch(n==="smart"&&(a>=v-s&&a<=d+s?n=Io:n=Pi),n){case mh:return d;case"end":return v;case Pi:return Math.round(v+(d-v)/2);case Io:default:return a>=v&&a<=d?a:a<v?v:d}},getStartIndexForOffset:(e,t,n)=>Tde(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:r,total:o,layout:i,width:l}=e,s=yh(i)?l:r,u=id(e,t,a),c=n+s;let d=u.offset+u.size,v=t;for(;v<o-1&&d<c;)v++,d+=id(e,v,a).size;return v},initCache({estimatedItemSize:e=50},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(a,r=!0)=>{var o,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),(o=t.exposed)==null||o.getItemStyleCache(-1),r&&((i=t.proxy)==null||i.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&Dn(kde,`
`);const u=Math.max(0,t*n-s),c=Math.min(u,o*n),d=Math.max(0,(o+1)*n-s);switch(i==="smart"&&(l>=d-s&&l<=c+s?i=Io:i=Pi),i){case mh:return c;case"end":return d;case Pi:{const v=Math.round(d+(c-d)/2);return v<Math.ceil(s/2)?0:v>u+Math.floor(s/2)?u:v}case Io:default:return l>=d&&l<=c?l:l<d?d:c}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:a,width:r},o,i)=>{const l=o*n,s=yh(a)?r:e,u=Math.ceil((s+i-l)/n);return Math.max(0,Math.min(t-1,o+u-1))},initCache(){},clearCache:!0,validateProps(){}}),Tde="ElDynamicSizeList",id=(e,t,n)=>{const{itemSize:a}=e,{items:r,lastVisitedIndex:o}=n;if(t>o){let i=0;if(o>=0){const l=r[o];i=l.offset+l.size}for(let l=o+1;l<=t;l++){const s=a(l);r[l]={offset:i,size:s},i+=s}n.lastVisitedIndex=t}return r[t]},Mde=(e,t,n)=>{const{items:a,lastVisitedIndex:r}=t;return(r>0?a[r].offset:0)>=n?nP(e,t,0,r,n):Ede(e,t,Math.max(0,r),n)},nP=(e,t,n,a,r)=>{for(;n<=a;){const o=n+Math.floor((a-n)/2),i=id(e,o,t).offset;if(i===r)return o;i<r?n=o+1:i>r&&(a=o-1)}return Math.max(0,n-1)},Ede=(e,t,n,a)=>{const{total:r}=e;let o=1;for(;n<r&&id(e,n,t).offset<a;)n+=o,o*=2;return nP(e,t,Math.floor(n/2),Math.min(n,r-1),a)},sx=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:a})=>{let r=0;if(a>=e&&(a=e-1),a>=0){const i=t[a];r=i.offset+i.size}const o=(e-a-1)*n;return r+o},Ade=tP({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>id(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:sx,getOffset:(e,t,n,a,r)=>{const{height:o,layout:i,width:l}=e,s=yh(i)?l:o,u=id(e,t,r),c=sx(e,r),d=Math.max(0,Math.min(c-s,u.offset)),v=Math.max(0,u.offset-s+u.size);switch(n==="smart"&&(a>=v-s&&a<=d+s?n=Io:n=Pi),n){case mh:return d;case"end":return v;case Pi:return Math.round(v+(d-v)/2);case Io:default:return a>=v&&a<=d?a:a<v?v:d}},getStartIndexForOffset:(e,t,n)=>Mde(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:r,total:o,layout:i,width:l}=e,s=yh(i)?l:r,u=id(e,t,a),c=n+s;let d=u.offset+u.size,v=t;for(;v<o-1&&d<c;)v++,d+=id(e,v,a).size;return v},initCache({estimatedItemSize:e=50},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(a,r=!0)=>{var o,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),(o=t.exposed)==null||o.getItemStyleCache(-1),r&&((i=t.proxy)==null||i.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&Dn(Tde,`
itemSize is required as function, but the given value was ${typeof e}
`)}}),Ade=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},r)=>{let o=null,i=0,l=0;const s=(c,d)=>{const v=c<0&&t.value||c>0&&e.value,f=d<0&&a.value||d>0&&n.value;return v||f};return{hasReachedEdge:s,onWheel:c=>{ti(o);let d=c.deltaX,v=c.deltaY;if(Math.abs(d)>Math.abs(v)?v=0:d=0,c.shiftKey&&v!==0&&(d=v,v=0),s(d,v)){c.deltaX!==0&&d===0&&c.preventDefault();return}i+=d,l+=v,c.preventDefault(),o=Wr(()=>{r(i,l),i=0,l=0})}}},Ide=(e,t,n,a,r,o,i)=>{const l=F(0),s=F(0);let u,c=0,d=0;const v=h=>{ti(u),l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,c=0,d=0},f=h=>{h.preventDefault(),ti(u),c+=l.value-h.touches[0].clientX,d+=s.value-h.touches[0].clientY,l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,u=Wr(()=>{const m=a.value-p(o),g=r.value-p(i);n({scrollLeft:Math.min(t.value.scrollLeft+c,m),scrollTop:Math.min(t.value.scrollTop+d,g)}),c=0,d=0})};return on(e,"touchstart",v,{passive:!0}),on(e,"touchmove",f,{passive:!1}),{touchStartX:l,touchStartY:s,handleTouchStart:v,handleTouchMove:f}},rP=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:r,getEstimatedTotalHeight:o,getEstimatedTotalWidth:i,getColumnOffset:l,getRowOffset:s,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:d,initCache:v,injectToInstance:f,validateProps:h})=>q({name:e??"ElVirtualList",props:Xu,emits:[ng,ag],setup(m,{emit:g,expose:y,slots:b}){const _=ke("vl");h(m);const w=Et(),S=F(v(m,w));f==null||f(w,S);const k=F(),T=F(),M=F(),E=F(),A=F({isScrolling:!1,scrollLeft:Je(m.initScrollLeft)?m.initScrollLeft:0,scrollTop:Je(m.initScrollTop)?m.initScrollTop:0,updateRequested:!1,xAxisScrollDir:rg,yAxisScrollDir:rg}),I=eP(),P=D(()=>Number.parseInt(`${m.height}`,10)),R=D(()=>Number.parseInt(`${m.width}`,10)),G=D(()=>{const{totalColumn:Ce,totalRow:Le,columnCache:me}=m,{isScrolling:Be,xAxisScrollDir:ze,scrollLeft:xe}=p(A);if(Ce===0||Le===0)return[0,0,0,0];const rt=a(m,xe,p(S)),nt=r(m,rt,xe,p(S)),Pt=!Be||ze==="backward"?Math.max(1,me):1,Wt=!Be||ze==="forward"?Math.max(1,me):1;return[Math.max(0,rt-Pt),Math.max(0,Math.min(Ce-1,nt+Wt)),rt,nt]}),K=D(()=>{const{totalColumn:Ce,totalRow:Le,rowCache:me}=m,{isScrolling:Be,yAxisScrollDir:ze,scrollTop:xe}=p(A);if(Ce===0||Le===0)return[0,0,0,0];const rt=c(m,xe,p(S)),nt=d(m,rt,xe,p(S)),Pt=!Be||ze==="backward"?Math.max(1,me):1,Wt=!Be||ze==="forward"?Math.max(1,me):1;return[Math.max(0,rt-Pt),Math.max(0,Math.min(Le-1,nt+Wt)),rt,nt]}),H=D(()=>o(m,p(S))),z=D(()=>i(m,p(S))),B=D(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:m.direction,height:Je(m.height)?`${m.height}px`:m.height,width:Je(m.width)?`${m.width}px`:m.width},m.style??{}]),W=D(()=>{const Ce=`${p(z)}px`;return{height:`${p(H)}px`,pointerEvents:p(A).isScrolling?"none":void 0,width:Ce,margin:0,boxSizing:"border-box"}}),N=()=>{const{totalColumn:Ce,totalRow:Le}=m;if(Ce>0&&Le>0){const[nt,Pt,Wt,Jt]=p(G),[Rt,Qt,_e,Ne]=p(K);g(ng,{columnCacheStart:nt,columnCacheEnd:Pt,rowCacheStart:Rt,rowCacheEnd:Qt,columnVisibleStart:Wt,columnVisibleEnd:Jt,rowVisibleStart:_e,rowVisibleEnd:Ne})}const{scrollLeft:me,scrollTop:Be,updateRequested:ze,xAxisScrollDir:xe,yAxisScrollDir:rt}=p(A);g(ag,{xAxisScrollDir:xe,scrollLeft:me,yAxisScrollDir:rt,scrollTop:Be,updateRequested:ze})},V=Ce=>{const{clientHeight:Le,clientWidth:me,scrollHeight:Be,scrollLeft:ze,scrollTop:xe,scrollWidth:rt}=Ce.currentTarget,nt=p(A);if(nt.scrollTop===xe&&nt.scrollLeft===ze)return;let Pt=ze;if(ix(m.direction))switch(ig()){case gh:Pt=-ze;break;case sw:Pt=rt-me-ze;break}A.value={...nt,isScrolling:!0,scrollLeft:Pt,scrollTop:Math.max(0,Math.min(xe,Be-Le)),updateRequested:!0,xAxisScrollDir:lv(nt.scrollLeft,Pt),yAxisScrollDir:lv(nt.scrollTop,xe)},He(()=>j()),oe(),N()},Y=(Ce,Le)=>{const me=p(P),Be=(H.value-me)/Le*Ce;re({scrollTop:Math.min(H.value-me,Be)})},X=(Ce,Le)=>{const me=p(R),Be=(z.value-me)/Le*Ce;re({scrollLeft:Math.min(z.value-me,Be)})},{onWheel:ee}=Ade({atXStartEdge:D(()=>A.value.scrollLeft<=0),atXEndEdge:D(()=>A.value.scrollLeft>=z.value-p(R)),atYStartEdge:D(()=>A.value.scrollTop<=0),atYEndEdge:D(()=>A.value.scrollTop>=H.value-p(P))},(Ce,Le)=>{var ze,xe,rt,nt;(xe=(ze=T.value)==null?void 0:ze.onMouseUp)==null||xe.call(ze),(nt=(rt=M.value)==null?void 0:rt.onMouseUp)==null||nt.call(rt);const me=p(R),Be=p(P);re({scrollLeft:Math.min(A.value.scrollLeft+Ce,z.value-me),scrollTop:Math.min(A.value.scrollTop+Le,H.value-Be)})});on(k,"wheel",ee,{passive:!1});const re=({scrollLeft:Ce=A.value.scrollLeft,scrollTop:Le=A.value.scrollTop})=>{Ce=Math.max(Ce,0),Le=Math.max(Le,0);const me=p(A);Le===me.scrollTop&&Ce===me.scrollLeft||(A.value={...me,xAxisScrollDir:lv(me.scrollLeft,Ce),yAxisScrollDir:lv(me.scrollTop,Le),scrollLeft:Ce,scrollTop:Le,updateRequested:!0},He(()=>j()),oe(),N())},{touchStartX:ie,touchStartY:le,handleTouchStart:ve,handleTouchMove:he}=Ide(k,A,re,z,H,R,P),J=(Ce=0,Le=0,me=Io)=>{const Be=p(A);Le=Math.max(0,Math.min(Le,m.totalColumn-1)),Ce=Math.max(0,Math.min(Ce,m Line truncated
`)}}),Ide=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},r)=>{let o=null,i=0,l=0;const s=(c,d)=>{const v=c<0&&t.value||c>0&&e.value,f=d<0&&a.value||d>0&&n.value;return v||f};return{hasReachedEdge:s,onWheel:c=>{ti(o);let d=c.deltaX,v=c.deltaY;if(Math.abs(d)>Math.abs(v)?v=0:d=0,c.shiftKey&&v!==0&&(d=v,v=0),s(d,v)){c.deltaX!==0&&d===0&&c.preventDefault();return}i+=d,l+=v,c.preventDefault(),o=Wr(()=>{r(i,l),i=0,l=0})}}},Lde=(e,t,n,a,r,o,i)=>{const l=F(0),s=F(0);let u,c=0,d=0;const v=h=>{ti(u),l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,c=0,d=0},f=h=>{h.preventDefault(),ti(u),c+=l.value-h.touches[0].clientX,d+=s.value-h.touches[0].clientY,l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,u=Wr(()=>{const m=a.value-p(o),g=r.value-p(i);n({scrollLeft:Math.min(t.value.scrollLeft+c,m),scrollTop:Math.min(t.value.scrollTop+d,g)}),c=0,d=0})};return on(e,"touchstart",v,{passive:!0}),on(e,"touchmove",f,{passive:!1}),{touchStartX:l,touchStartY:s,handleTouchStart:v,handleTouchMove:f}},aP=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:r,getEstimatedTotalHeight:o,getEstimatedTotalWidth:i,getColumnOffset:l,getRowOffset:s,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:d,initCache:v,injectToInstance:f,validateProps:h})=>j({name:e??"ElVirtualList",props:Xu,emits:[ng,ag],setup(m,{emit:g,expose:y,slots:b}){const _=ke("vl");h(m);const w=Et(),S=F(v(m,w));f==null||f(w,S);const k=F(),T=F(),M=F(),E=F(),A=F({isScrolling:!1,scrollLeft:Je(m.initScrollLeft)?m.initScrollLeft:0,scrollTop:Je(m.initScrollTop)?m.initScrollTop:0,updateRequested:!1,xAxisScrollDir:rg,yAxisScrollDir:rg}),I=QL(),P=D(()=>Number.parseInt(`${m.height}`,10)),R=D(()=>Number.parseInt(`${m.width}`,10)),G=D(()=>{const{totalColumn:Ce,totalRow:Le,columnCache:me}=m,{isScrolling:Be,xAxisScrollDir:ze,scrollLeft:xe}=p(A);if(Ce===0||Le===0)return[0,0,0,0];const rt=a(m,xe,p(S)),nt=r(m,rt,xe,p(S)),Pt=!Be||ze==="backward"?Math.max(1,me):1,Wt=!Be||ze==="forward"?Math.max(1,me):1;return[Math.max(0,rt-Pt),Math.max(0,Math.min(Ce-1,nt+Wt)),rt,nt]}),K=D(()=>{const{totalColumn:Ce,totalRow:Le,rowCache:me}=m,{isScrolling:Be,yAxisScrollDir:ze,scrollTop:xe}=p(A);if(Ce===0||Le===0)return[0,0,0,0];const rt=c(m,xe,p(S)),nt=d(m,rt,xe,p(S)),Pt=!Be||ze==="backward"?Math.max(1,me):1,Wt=!Be||ze==="forward"?Math.max(1,me):1;return[Math.max(0,rt-Pt),Math.max(0,Math.min(Le-1,nt+Wt)),rt,nt]}),H=D(()=>o(m,p(S))),z=D(()=>i(m,p(S))),B=D(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:m.direction,height:Je(m.height)?`${m.height}px`:m.height,width:Je(m.width)?`${m.width}px`:m.width},m.style??{}]),W=D(()=>{const Ce=`${p(z)}px`;return{height:`${p(H)}px`,pointerEvents:p(A).isScrolling?"none":void 0,width:Ce,margin:0,boxSizing:"border-box"}}),N=()=>{const{totalColumn:Ce,totalRow:Le}=m;if(Ce>0&&Le>0){const[nt,Pt,Wt,Jt]=p(G),[Rt,Qt,_e,Ne]=p(K);g(ng,{columnCacheStart:nt,columnCacheEnd:Pt,rowCacheStart:Rt,rowCacheEnd:Qt,columnVisibleStart:Wt,columnVisibleEnd:Jt,rowVisibleStart:_e,rowVisibleEnd:Ne})}const{scrollLeft:me,scrollTop:Be,updateRequested:ze,xAxisScrollDir:xe,yAxisScrollDir:rt}=p(A);g(ag,{xAxisScrollDir:xe,scrollLeft:me,yAxisScrollDir:rt,scrollTop:Be,updateRequested:ze})},V=Ce=>{const{clientHeight:Le,clientWidth:me,scrollHeight:Be,scrollLeft:ze,scrollTop:xe,scrollWidth:rt}=Ce.currentTarget,nt=p(A);if(nt.scrollTop===xe&&nt.scrollLeft===ze)return;let Pt=ze;if(ix(m.direction))switch(ig()){case gh:Pt=-ze;break;case sw:Pt=rt-me-ze;break}A.value={...nt,isScrolling:!0,scrollLeft:Pt,scrollTop:Math.max(0,Math.min(xe,Be-Le)),updateRequested:!0,xAxisScrollDir:lv(nt.scrollLeft,Pt),yAxisScrollDir:lv(nt.scrollTop,xe)},He(()=>q()),oe(),N()},Y=(Ce,Le)=>{const me=p(P),Be=(H.value-me)/Le*Ce;re({scrollTop:Math.min(H.value-me,Be)})},X=(Ce,Le)=>{const me=p(R),Be=(z.value-me)/Le*Ce;re({scrollLeft:Math.min(z.value-me,Be)})},{onWheel:ee}=Ide({atXStartEdge:D(()=>A.value.scrollLeft<=0),atXEndEdge:D(()=>A.value.scrollLeft>=z.value-p(R)),atYStartEdge:D(()=>A.value.scrollTop<=0),atYEndEdge:D(()=>A.value.scrollTop>=H.value-p(P))},(Ce,Le)=>{var ze,xe,rt,nt;(xe=(ze=T.value)==null?void 0:ze.onMouseUp)==null||xe.call(ze),(nt=(rt=M.value)==null?void 0:rt.onMouseUp)==null||nt.call(rt);const me=p(R),Be=p(P);re({scrollLeft:Math.min(A.value.scrollLeft+Ce,z.value-me),scrollTop:Math.min(A.value.scrollTop+Le,H.value-Be)})});on(k,"wheel",ee,{passive:!1});const re=({scrollLeft:Ce=A.value.scrollLeft,scrollTop:Le=A.value.scrollTop})=>{Ce=Math.max(Ce,0),Le=Math.max(Le,0);const me=p(A);Le===me.scrollTop&&Ce===me.scrollLeft||(A.value={...me,xAxisScrollDir:lv(me.scrollLeft,Ce),yAxisScrollDir:lv(me.scrollTop,Le),scrollLeft:Ce,scrollTop:Le,updateRequested:!0},He(()=>q()),oe(),N())},{touchStartX:ie,touchStartY:le,handleTouchStart:ve,handleTouchMove:he}=Lde(k,A,re,z,H,R,P),J=(Ce=0,Le=0,me=Io)=>{const Be=p(A);Le=Math.max(0,Math.min(Le,m.totalColumn-1)),Ce=Math.max(0,Math.min(Ce,m Line truncated
"columnWidth" must be passed as number,
instead ${typeof e} was given.
`),Je(t)||Dn(ux,`
"columnWidth" must be passed as number,
instead ${typeof t} was given.
`)}}),{max:lg,min:oP,floor:iP}=Math,cx="ElDynamicSizeGrid",Pde={column:"columnWidth",row:"rowHeight"},U4={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},vl=(e,t,n,a)=>{const[r,o,i]=[n[a],e[Pde[a]],n[U4[a]]];if(t>i){let l=0;if(i>=0){const s=r[i];l=s.offset+s.size}for(let s=i+1;s<=t;s++){const u=o(s);r[s]={offset:l,size:u},l+=u}n[U4[a]]=t}return r[t]},lP=(e,t,n,a,r,o)=>{for(;n<=a;){const i=n+iP((a-n)/2),l=vl(e,i,t,o).offset;if(l===r)return i;l<r?n=i+1:a=i-1}return lg(0,n-1)},Dde=(e,t,n,a,r)=>{const o=r==="column"?e.totalColumn:e.totalRow;let i=1;for(;n<o&&vl(e,n,t,r).offset<a;)n+=i,i*=2;return lP(e,t,iP(n/2),oP(n,o-1),a,r)},dx=(e,t,n,a)=>{const[r,o]=[t[a],t[U4[a]]];return(o>0?r[o].offset:0)>=n?lP(e,t,0,o,n,a):Dde(e,t,lg(0,o),n,a)},sP=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let r=0;if(n>=e&&(n=e-1),n>=0){const i=a[n];r=i.offset+i.size}const o=(e-n-1)*t;return r+o},uP=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let r=0;if(a>e&&(a=e-1),a>=0){const i=t[a];r=i.offset+i.size}const o=(e-a-1)*n;return r+o},Ode={column:uP,row:sP},fx=(e,t,n,a,r,o,i)=>{const[l,s]=[o==="row"?e.height:e.width,Ode[o]],u=vl(e,t,r,o),c=lg(0,oP(s(e,r)-l,u.offset)),d=lg(0,u.offset-l+i+u.size);switch(n==="smart"&&(a>=d-l&&a<=c+l?n=Io:n=Pi),n){case mh:return c;case"end":return d;case Pi:return Math.round(d+(c-d)/2);case Io:default:return a>=d&&a<=c?a:d>c||a<d?d:c}},$de=rP({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const a=vl(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=vl(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,r,o)=>fx(e,t,n,a,r,"column",o),getRowOffset:(e,t,n,a,r,o)=>fx(e,t,n,a,r,"row",o),getColumnStartIndexForOffset:(e,t,n)=>dx(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const r=vl(e,t,a,"column"),o=n+e.width;let i=r.offset+r.size,l=t;for(;l<e.totalColumn-1&&i<o;)l++,i+=vl(e,t,a,"column").size;return l},getEstimatedTotalHeight:sP,getEstimatedTotalWidth:uP,getRowStartIndexForOffset:(e,t,n)=>dx(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:r,height:o}=e,i=vl(e,t,a,"row"),l=n+o;let s=i.size+i.offset,u=t;for(;u<r-1&&s<l;)u++,s+=vl(e,u,a,"row").size;return u},injectToInstance:(e,t)=>{const n=({columnIndex:o,rowIndex:i},l)=>{var s,u;l=zt(l)?!0:l,Je(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),Je(i)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,i-1)),(s=e.exposed)==null||s.getItemStyleCache.value(-1,null,null),l&&((u=e.proxy)==null||u.$forceUpdate())},a=(o,i)=>{n({columnIndex:o},i)},r=(o,i)=>{n({rowIndex:o},i)};Object.assign(e.proxy,{resetAfterColumnIndex:a,resetAfterRowIndex:r,resetAfter:n})},initCache:({estimatedColumnWidth:e=50,estimatedRowHeight:t=50})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{Qe(e)||Dn(cx,`
`)}}),{max:lg,min:rP,floor:oP}=Math,cx="ElDynamicSizeGrid",Dde={column:"columnWidth",row:"rowHeight"},U4={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},vl=(e,t,n,a)=>{const[r,o,i]=[n[a],e[Dde[a]],n[U4[a]]];if(t>i){let l=0;if(i>=0){const s=r[i];l=s.offset+s.size}for(let s=i+1;s<=t;s++){const u=o(s);r[s]={offset:l,size:u},l+=u}n[U4[a]]=t}return r[t]},iP=(e,t,n,a,r,o)=>{for(;n<=a;){const i=n+oP((a-n)/2),l=vl(e,i,t,o).offset;if(l===r)return i;l<r?n=i+1:a=i-1}return lg(0,n-1)},Ode=(e,t,n,a,r)=>{const o=r==="column"?e.totalColumn:e.totalRow;let i=1;for(;n<o&&vl(e,n,t,r).offset<a;)n+=i,i*=2;return iP(e,t,oP(n/2),rP(n,o-1),a,r)},dx=(e,t,n,a)=>{const[r,o]=[t[a],t[U4[a]]];return(o>0?r[o].offset:0)>=n?iP(e,t,0,o,n,a):Ode(e,t,lg(0,o),n,a)},lP=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let r=0;if(n>=e&&(n=e-1),n>=0){const i=a[n];r=i.offset+i.size}const o=(e-n-1)*t;return r+o},sP=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let r=0;if(a>e&&(a=e-1),a>=0){const i=t[a];r=i.offset+i.size}const o=(e-a-1)*n;return r+o},$de={column:sP,row:lP},fx=(e,t,n,a,r,o,i)=>{const[l,s]=[o==="row"?e.height:e.width,$de[o]],u=vl(e,t,r,o),c=lg(0,rP(s(e,r)-l,u.offset)),d=lg(0,u.offset-l+i+u.size);switch(n==="smart"&&(a>=d-l&&a<=c+l?n=Io:n=Pi),n){case mh:return c;case"end":return d;case Pi:return Math.round(d+(c-d)/2);case Io:default:return a>=d&&a<=c?a:d>c||a<d?d:c}},Rde=aP({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const a=vl(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=vl(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,r,o)=>fx(e,t,n,a,r,"column",o),getRowOffset:(e,t,n,a,r,o)=>fx(e,t,n,a,r,"row",o),getColumnStartIndexForOffset:(e,t,n)=>dx(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const r=vl(e,t,a,"column"),o=n+e.width;let i=r.offset+r.size,l=t;for(;l<e.totalColumn-1&&i<o;)l++,i+=vl(e,t,a,"column").size;return l},getEstimatedTotalHeight:lP,getEstimatedTotalWidth:sP,getRowStartIndexForOffset:(e,t,n)=>dx(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:r,height:o}=e,i=vl(e,t,a,"row"),l=n+o;let s=i.size+i.offset,u=t;for(;u<r-1&&s<l;)u++,s+=vl(e,u,a,"row").size;return u},injectToInstance:(e,t)=>{const n=({columnIndex:o,rowIndex:i},l)=>{var s,u;l=zt(l)?!0:l,Je(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),Je(i)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,i-1)),(s=e.exposed)==null||s.getItemStyleCache.value(-1,null,null),l&&((u=e.proxy)==null||u.$forceUpdate())},a=(o,i)=>{n({columnIndex:o},i)},r=(o,i)=>{n({rowIndex:o},i)};Object.assign(e.proxy,{resetAfterColumnIndex:a,resetAfterRowIndex:r,resetAfter:n})},initCache:({estimatedColumnWidth:e=50,estimatedRowHeight:t=50})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{Qe(e)||Dn(cx,`
"columnWidth" must be passed as function,
instead ${typeof e} was given.
`),Qe(t)||Dn(cx,`
"rowHeight" must be passed as function,
instead ${typeof t} was given.
`)}}),cP={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:pa,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...dr(["ariaControls"])},dP={[bt]:e=>Ye(e)||Je(e)||vn(e),change:e=>Ye(e)||Je(e)||vn(e)},mf=Symbol("checkboxGroupContextKey"),Rde=$e({modelValue:{type:ae(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:pa,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:ae(Array)},props:{type:ae(Object),default:()=>fP},type:{type:String,values:["checkbox","button"],default:"checkbox"},...dr(["ariaLabel"])}),Nde={[bt]:e=>Ae(e),change:e=>Ae(e)},fP={label:"label",value:"value",disabled:"disabled"},Bde=({model:e,isChecked:t})=>{const n=Ze(mf,void 0),a=Ze(Ec,void 0),r=D(()=>{var l,s;const o=(l=n==null?void 0:n.max)==null?void 0:l.value,i=(s=n==null?void 0:n.min)==null?void 0:s.value;return!zt(o)&&e.value.length>=o&&!t.value||!zt(i)&&e.value.length<=i&&t.value});return{isDisabled:$n(D(()=>{var o;return n===void 0?(a==null?void 0:a.disabled)??r.value:((o=n.disabled)==null?void 0:o.value)||r.value})),isLimitDisabled:r}},Vde=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:r,isLabeledByFormItem:o})=>{const i=Ze(mf,void 0),{formItem:l}=Ea(),{emit:s}=Et();function u(h){return[!0,e.trueValue,e.trueLabel].includes(h)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function c(h,m){s(Ot,u(h),m)}function d(h){if(n.value)return;const m=h.target;s(Ot,u(m.checked),h)}async function v(h){n.value||!a.value&&!r.value&&o.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await He(),c(t.value,h)))}const f=D(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return ye(()=>e.modelValue,()=>{f.value&&(l==null||l.validate("change").catch(kt))}),{handleChange:d,onClickRoot:v}},zde=e=>{const t=F(!1),{emit:n,vnode:a}=Et(),r=Ze(mf,void 0),o=D(()=>zt(r)===!1),i=F(!1),l=D(()=>{const u=a.props??{};return"modelValue"in u||"model-value"in u}),s=D({get(){var u;return o.value?(u=r==null?void 0:r.modelValue)==null?void 0:u.value:l.value?e.modelValue:t.value},set(u){var c,d;o.value&&Ae(u)?(i.value=((c=r==null?void 0:r.max)==null?void 0:c.value)!==void 0&&u.length>(r==null?void 0:r.max.value)&&u.length>s.value.length,i.value===!1&&((d=r==null?void 0:r.changeEvent)==null||d.call(r,u))):(n(bt,u),t.value=u)}});return{model:s,isGroup:o,isLimitExceeded:i}},Fde=(e,t,{model:n})=>{const a=Ze(mf,void 0),r=F(!1),o=D(()=>Qr(e.value)?e.label:e.value),i=D(()=>{const l=n.value;return vn(l)?l:Ae(l)?_t(o.value)?l.map(wn).some(s=>Rn(s,o.value)):l.map(wn).includes(o.value):l!=null?l===e.trueValue||l===e.trueLabel:!!l});return{checkboxButtonSize:ca(D(()=>{var l;return(l=a==null?void 0:a.size)==null?void 0:l.value}),{prop:!0}),isChecked:i,isFocused:r,checkboxSize:ca(D(()=>{var l;return(l=a==null?void 0:a.size)==null?void 0:l.value})),hasOwnLabel:D(()=>!!t.default||!Qr(o.value)),actualValue:o}},vP=(e,t)=>{const{formItem:n}=Ea(),{model:a,isGroup:r,isLimitExceeded:o}=zde(e),{isFocused:i,isChecked:l,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:d}=Fde(e,t,{model:a}),{isDisabled:v}=Bde({model:a,isChecked:l}),{inputId:f,isLabeledByFormItem:h}=Yr(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:r}),{handleChange:m,onClickRoot:g}=Vde(e,{model:a,isLimitExceeded:o,hasOwnLabel:c,isDisabled:v,isLabeledByFormItem:h});return(()=>{function b(){Ae(a.value)&&!a.value.includes(d.value)?a.value.push(d.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&b()})(),Ri({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>r.value&&Qr(e.value))),Ri({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>!!e.trueLabel)),Ri({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>!!e.falseLabel)),{inputId:f,isLabeledByFormItem:h,isChecked:l,isDisabled:v,isFocused:i,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,model:a,actualValue:d,handleChange:m,onClickRoot:g}},Hde=["id","indeterminate","name","tabindex","disabled"];var Wde=q({name:"ElCheckbox",__name:"checkbox",props:cP,emits:dP,setup(e){const t=e,{inputId:n,isLabeledByFormItem:a,isChecked:r,isDisabled:o,isFocused:i,checkboxSize:l,has Line truncated
`)}}),uP={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:pa,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...dr(["ariaControls"])},cP={[bt]:e=>Ye(e)||Je(e)||vn(e),change:e=>Ye(e)||Je(e)||vn(e)},mf=Symbol("checkboxGroupContextKey"),Nde=$e({modelValue:{type:ae(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:pa,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:ae(Array)},props:{type:ae(Object),default:()=>dP},type:{type:String,values:["checkbox","button"],default:"checkbox"},...dr(["ariaLabel"])}),Bde={[bt]:e=>Ae(e),change:e=>Ae(e)},dP={label:"label",value:"value",disabled:"disabled"},Vde=({model:e,isChecked:t})=>{const n=Ze(mf,void 0),a=Ze(Ec,void 0),r=D(()=>{var l,s;const o=(l=n==null?void 0:n.max)==null?void 0:l.value,i=(s=n==null?void 0:n.min)==null?void 0:s.value;return!zt(o)&&e.value.length>=o&&!t.value||!zt(i)&&e.value.length<=i&&t.value});return{isDisabled:$n(D(()=>{var o;return n===void 0?(a==null?void 0:a.disabled)??r.value:((o=n.disabled)==null?void 0:o.value)||r.value})),isLimitDisabled:r}},zde=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:r,isLabeledByFormItem:o})=>{const i=Ze(mf,void 0),{formItem:l}=Ea(),{emit:s}=Et();function u(h){return[!0,e.trueValue,e.trueLabel].includes(h)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function c(h,m){s(Ot,u(h),m)}function d(h){if(n.value)return;const m=h.target;s(Ot,u(m.checked),h)}async function v(h){n.value||!a.value&&!r.value&&o.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await He(),c(t.value,h)))}const f=D(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return ye(()=>e.modelValue,()=>{f.value&&(l==null||l.validate("change").catch(kt))}),{handleChange:d,onClickRoot:v}},Fde=e=>{const t=F(!1),{emit:n,vnode:a}=Et(),r=Ze(mf,void 0),o=D(()=>zt(r)===!1),i=F(!1),l=D(()=>{const u=a.props??{};return"modelValue"in u||"model-value"in u}),s=D({get(){var u;return o.value?(u=r==null?void 0:r.modelValue)==null?void 0:u.value:l.value?e.modelValue:t.value},set(u){var c,d;o.value&&Ae(u)?(i.value=((c=r==null?void 0:r.max)==null?void 0:c.value)!==void 0&&u.length>(r==null?void 0:r.max.value)&&u.length>s.value.length,i.value===!1&&((d=r==null?void 0:r.changeEvent)==null||d.call(r,u))):(n(bt,u),t.value=u)}});return{model:s,isGroup:o,isLimitExceeded:i}},Hde=(e,t,{model:n})=>{const a=Ze(mf,void 0),r=F(!1),o=D(()=>Qr(e.value)?e.label:e.value),i=D(()=>{const l=n.value;return vn(l)?l:Ae(l)?_t(o.value)?l.map(wn).some(s=>Rn(s,o.value)):l.map(wn).includes(o.value):l!=null?l===e.trueValue||l===e.trueLabel:!!l});return{checkboxButtonSize:ca(D(()=>{var l;return(l=a==null?void 0:a.size)==null?void 0:l.value}),{prop:!0}),isChecked:i,isFocused:r,checkboxSize:ca(D(()=>{var l;return(l=a==null?void 0:a.size)==null?void 0:l.value})),hasOwnLabel:D(()=>!!t.default||!Qr(o.value)),actualValue:o}},fP=(e,t)=>{const{formItem:n}=Ea(),{model:a,isGroup:r,isLimitExceeded:o}=Fde(e),{isFocused:i,isChecked:l,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:d}=Hde(e,t,{model:a}),{isDisabled:v}=Vde({model:a,isChecked:l}),{inputId:f,isLabeledByFormItem:h}=Yr(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:r}),{handleChange:m,onClickRoot:g}=zde(e,{model:a,isLimitExceeded:o,hasOwnLabel:c,isDisabled:v,isLabeledByFormItem:h});return(()=>{function b(){Ae(a.value)&&!a.value.includes(d.value)?a.value.push(d.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&b()})(),Ri({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>r.value&&Qr(e.value))),Ri({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>!!e.trueLabel)),Ri({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},D(()=>!!e.falseLabel)),{inputId:f,isLabeledByFormItem:h,isChecked:l,isDisabled:v,isFocused:i,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,model:a,actualValue:d,handleChange:m,onClickRoot:g}},Wde=["id","indeterminate","name","tabindex","disabled"];var Kde=j({name:"ElCheckbox",__name:"checkbox",props:uP,emits:cP,setup(e){const t=e,{inputId:n,isLabeledByFormItem:a,isChecked:r,isDisabled:o,isFocused:i,checkboxSize:l,has Line truncated
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),A[2]||(A[2]=C("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):v.value&&e.node.checked?(x(),ne(p(Xe),{key:2,class:U(p(o).e("prefix"))},{default:$(()=>[L(p(Os))]),_:1},8,["class"])):te("v-if",!0),te(" content "),L(p(lfe),{node:e.node},null,8,["node"]),te(" postfix "),v.value?te("v-if",!0):(x(),O(Ve,{key:3},[e.node.loading?(x(),ne(p(Xe),{key:0,class:U([p(o).is("loading"),p(o).e("postfix")])},{default:$(()=>[L(p(Mr))]),_:1},8,["class"])):(x(),ne(p(Xe),{key:1,class:U(["arrow-right",p(o).e("postfix")])},{default:$(()=>[L(p(za))]),_:1},8,["class"]))],64))],42,sfe))}}),vx=ufe,cfe=q({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0},virtualScroll:{type:Boolean,required:!1,default:!1},itemSize:{type:Number,required:!1,default:34},height:{type:Number,required:!1,default:204}},setup(e,{expose:t}){const n=e,a=Et(),r=ke("cascader-menu"),{t:o}=Vt(),i=Fa();let l,s;const u=Ze(K1),c=F(),d=F(),v=D(()=>!n.nodes.length),f=D(()=>!u.initialLoaded),h=D(()=>`${i.value}-${n.index}`),m=()=>{var M,E,A,I;let T;if(u.expandingNode){const{level:P,pathNodes:R}=u.expandingNode;n.index<P?T=(M=R[n.index])==null?void 0:M.uid:n.index===P&&u.checkedNodes.length>0&&(T=(A=(E=u.checkedNodes[0])==null?void 0:E.pathNodes[n.index])==null?void 0:A.uid)}else u.checkedNodes.length>0&&n.index<u.checkedNodes[0].pathNodes.length&&(T=(I=u.checkedNodes[0].pathNodes[n.index])==null?void 0:I.uid);return T!==void 0?n.nodes.findIndex(P=>P.uid===T):-1},g=T=>T?n.nodes.findIndex(M=>`${h.value}-${M.uid}`===T):-1,y=T=>{var E;const M=Br(T,0,n.nodes.length-1);(E=d.value)==null||E.scrollToItem(M)},b=T=>{if(!n.nodes.length)return;const M=Br(T,0,n.nodes.length-1);y(M),He(()=>{var A;const E=(A=a.vnode.el)==null?void 0:A.querySelector(`#${h.value}-${n.nodes[M].uid}`);E&&_d(E)})},_=T=>{l=T.target},w=T=>{var M,E,A;if(!(!u.isHoverMenu||!l||!c.value))if(l.contains(T.target)){S();const I=a.vnode.el,{left:P}=I.getBoundingClientRect(),{offsetWidth:R,offsetHeight:G}=I,K=T.clientX-P,H=l.offsetTop,z=H+l.offsetHeight,B=n.virtualScroll?((E=(M=d.value)==null?void 0:M.states)==null?void 0:E.scrollOffset)||0:((A=I.querySelector(`.${r.e("wrap")}`))==null?void 0:A.scrollTop)||0;c.value.innerHTML=`
`),A[2]||(A[2]=C("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):v.value&&e.node.checked?(x(),ne(p(Xe),{key:2,class:U(p(o).e("prefix"))},{default:$(()=>[L(p(Os))]),_:1},8,["class"])):te("v-if",!0),te(" content "),L(p(sfe),{node:e.node},null,8,["node"]),te(" postfix "),v.value?te("v-if",!0):(x(),O(Ve,{key:3},[e.node.loading?(x(),ne(p(Xe),{key:0,class:U([p(o).is("loading"),p(o).e("postfix")])},{default:$(()=>[L(p(Mr))]),_:1},8,["class"])):(x(),ne(p(Xe),{key:1,class:U(["arrow-right",p(o).e("postfix")])},{default:$(()=>[L(p(za))]),_:1},8,["class"]))],64))],42,ufe))}}),vx=cfe,dfe=j({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0},virtualScroll:{type:Boolean,required:!1,default:!1},itemSize:{type:Number,required:!1,default:34},height:{type:Number,required:!1,default:204}},setup(e,{expose:t}){const n=e,a=Et(),r=ke("cascader-menu"),{t:o}=Vt(),i=Fa();let l,s;const u=Ze(K1),c=F(),d=F(),v=D(()=>!n.nodes.length),f=D(()=>!u.initialLoaded),h=D(()=>`${i.value}-${n.index}`),m=()=>{var M,E,A,I;let T;if(u.expandingNode){const{level:P,pathNodes:R}=u.expandingNode;n.index<P?T=(M=R[n.index])==null?void 0:M.uid:n.index===P&&u.checkedNodes.length>0&&(T=(A=(E=u.checkedNodes[0])==null?void 0:E.pathNodes[n.index])==null?void 0:A.uid)}else u.checkedNodes.length>0&&n.index<u.checkedNodes[0].pathNodes.length&&(T=(I=u.checkedNodes[0].pathNodes[n.index])==null?void 0:I.uid);return T!==void 0?n.nodes.findIndex(P=>P.uid===T):-1},g=T=>T?n.nodes.findIndex(M=>`${h.value}-${M.uid}`===T):-1,y=T=>{var E;const M=Br(T,0,n.nodes.length-1);(E=d.value)==null||E.scrollToItem(M)},b=T=>{if(!n.nodes.length)return;const M=Br(T,0,n.nodes.length-1);y(M),He(()=>{var A;const E=(A=a.vnode.el)==null?void 0:A.querySelector(`#${h.value}-${n.nodes[M].uid}`);E&&_d(E)})},_=T=>{l=T.target},w=T=>{var M,E,A;if(!(!u.isHoverMenu||!l||!c.value))if(l.contains(T.target)){S();const I=a.vnode.el,{left:P}=I.getBoundingClientRect(),{offsetWidth:R,offsetHeight:G}=I,K=T.clientX-P,H=l.offsetTop,z=H+l.offsetHeight,B=n.virtualScroll?((E=(M=d.value)==null?void 0:M.states)==null?void 0:E.scrollOffset)||0:((A=I.querySelector(`.${r.e("wrap")}`))==null?void 0:A.scrollTop)||0;c.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${K} ${H} L${R} ${B} V${H} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${K} ${z} L${R} ${G+B} V${z} Z" />
`}else s||(s=window.setTimeout(k,u.config.hoverThreshold))},S=()=>{s&&(clearTimeout(s),s=void 0)},k=()=>{c.value&&(c.value.innerHTML="",S())};return t({getActiveNodeIndex:m,getNodeIndexById:g,scrollToItem:y,focusNodeAt:b,virtualListRef:d,get $el(){return a.vnode.el}}),(T,M)=>{var E;return e.virtualScroll?(x(),O("div",{key:h.value,class:U(p(r).b()),onMousemove:w,onMouseleave:k},[L(p(cp),{ref_key:"virtualListRef",ref:d,height:e.height,"item-size":e.itemSize,data:e.nodes,total:e.nodes.length,"class-name":p(r).e("list"),"inner-element":"ul","inner-props":{role:"menu",class:p(r).is("empty",v.value)}},{default:$(({data:A,index:I,style:P})=>[(x(),ne(vx,{key:A[I].uid,node:A[I],"menu-id":h.value,style:et(P),onExpand:_},null,8,["node","menu-id","style"]))]),_:1},8,["height","item-size","data","total","class-name","inner-props"]),f.value?(x(),O("div",{key:0,class:U(p(r).e("empty-text"))},[L(p(Xe),{size:14,class:U(p(r).is("loading"))},{default:$(()=>[L(p(Mr))]),_:1},8,["class"]),ue(" "+Q(p(o)("el.cascader.loading")),1)],2)):v.value?(x(),O("div",{key:1,class:U(p(r).e("empty-text"))},[ce(T.$slots,"empty",{},()=>[ue(Q(p(o)("el.cascader.noData")),1)])],2)):(E=p(u))!=null&&E.isHoverMenu?(x(),O(Ve,{key:2},[te(" eslint-disable vue/html-self-closing "),(x(),O("svg",{ref_key:"hoverZone",ref:c,class:U(p(r).e("hover-zone"))},null,2))],2112)):te("v-if",!0),te(" eslint-enable vue/html-self-closing ")],34)):(x(),ne(p(ni),{key:h.value,tag:"ul",role:"menu",class:U(p(r).b()),"wrap-class":p(r).e("wrap"),"view-class":[p(r).e("list"),p(r).is("empty",v.value)],onMousemove:w,onMouseleave:k},{default:$(()=>{var A;return[(x(!0),O(Ve,null,dt(e.nodes,I=>(x(),ne(vx,{key:I.uid,node:I,"menu-id":h.value,onExpand:_},null,8,["node","menu-id"]))),128)),f.value?(x(),O("div",{key:0,class:U(p(r).e("empty-text"))},[L(p(Xe),{size:14,class:U(p(r).is("loading"))},{default:$(()=>[L(p(Mr))]),_:1},8,["class"]),ue(" "+Q(p(o)("el.cascader.loading")),1)],2)):v.value?(x(),O("div",{key:1,class:U(p(r).e("empty-text"))},[ce(T.$slots,"empty",{},()=>[ue(Q(p(o)("el.cascader.noData")),1)])],2)):(A=p(u))!=null&&A.isHoverMenu?(x(),O(Ve,{key:2},[te(" eslint-disable vue/html-self-closing "),(x(),O("svg",{ref_key:"hoverZone",ref:c,class:U(p(r).e("hover-zone"))},null,2))],2112)):te("v-if",!0),te(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}}),dfe=cfe;let ffe=0;const vfe=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var G4=class Y4{constructor(t,n,a,r=!1){this.data=t,this.config=n,this.parent=a,this.root=r,this.uid=ffe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:i,children:l}=n,s=t[l],u=vfe(this);this.level=r?0:a?a.level+1:1,this.value=t[o],this.label=t[i],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=s,this.children=(s||[]).map(c=>new Y4(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!_r(s),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:r,checkStrictly:o}=a;return(Qe(r)?r(t,this):!!t[r])||!o&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:r}=this,{lazy:o,leaf:i}=n,l=Qe(i)?i(t,this):t[i];return zt(l)?o&&!r?!1:!(Ae(a)&&a.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,r=new Y4(t,this.config,this);return Ae(n)?n.push(t):this.childrenData=[t],a.push(r),r}calcText(t,n){const a=t?this.pathLabels.join(n):this.label;return this.text=a,a}broadcast(t){this.children.forEach(n=>{var a;n&&(n.broadcast(t),(a=n.onParentCheck)==null||a.call(n,t))})}emit(){var n;const{parent:t}=this;t&&((n=t.onChildCheck)==null||n.call(t),t.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(r=>!r.isDisabled),a=n.length?n.every(r=>r.checked):!1;this.setCheckState(a)}setCheckState(t){const n=this.children.length,a=this.children.reduce((r,o)=>r+(o.checked?1:o.indeterminate?.5:0),0);this.checked=this.loaded&&this.children.filter(r=>!r.isDisabled).every(r=>r.loaded&&r.checked)&&t,this.indeterminate=this.loaded&&a!==n&&a>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:a}=this.config;n||!a?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const j4=(e,t)=>e.reduce((n,a)=>(a.isLeaf?n.push(a):(!t&&n.push(a),n=n.concat(j4(a.children,t))),n),[]);var hx=class{constructor(e,t){this.config=t;const n=(e||[]).map(a=>new G4(a,this.config));this.nodes=n,this.allNodes=j4(n,!1),this.leafNodes=j4(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new G4(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.length>0?e.forEach(n=>this.appendNode(n,t)):t&&t.isLeaf&&this.leafNodes.push(t)}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.childre Line truncated
`}else s||(s=window.setTimeout(k,u.config.hoverThreshold))},S=()=>{s&&(clearTimeout(s),s=void 0)},k=()=>{c.value&&(c.value.innerHTML="",S())};return t({getActiveNodeIndex:m,getNodeIndexById:g,scrollToItem:y,focusNodeAt:b,virtualListRef:d,get $el(){return a.vnode.el}}),(T,M)=>{var E;return e.virtualScroll?(x(),O("div",{key:h.value,class:U(p(r).b()),onMousemove:w,onMouseleave:k},[L(p(cp),{ref_key:"virtualListRef",ref:d,height:e.height,"item-size":e.itemSize,data:e.nodes,total:e.nodes.length,"class-name":p(r).e("list"),"inner-element":"ul","inner-props":{role:"menu",class:p(r).is("empty",v.value)}},{default:$(({data:A,index:I,style:P})=>[(x(),ne(vx,{key:A[I].uid,node:A[I],"menu-id":h.value,style:et(P),onExpand:_},null,8,["node","menu-id","style"]))]),_:1},8,["height","item-size","data","total","class-name","inner-props"]),f.value?(x(),O("div",{key:0,class:U(p(r).e("empty-text"))},[L(p(Xe),{size:14,class:U(p(r).is("loading"))},{default:$(()=>[L(p(Mr))]),_:1},8,["class"]),ue(" "+Q(p(o)("el.cascader.loading")),1)],2)):v.value?(x(),O("div",{key:1,class:U(p(r).e("empty-text"))},[ce(T.$slots,"empty",{},()=>[ue(Q(p(o)("el.cascader.noData")),1)])],2)):(E=p(u))!=null&&E.isHoverMenu?(x(),O(Ve,{key:2},[te(" eslint-disable vue/html-self-closing "),(x(),O("svg",{ref_key:"hoverZone",ref:c,class:U(p(r).e("hover-zone"))},null,2))],2112)):te("v-if",!0),te(" eslint-enable vue/html-self-closing ")],34)):(x(),ne(p(ni),{key:h.value,tag:"ul",role:"menu",class:U(p(r).b()),"wrap-class":p(r).e("wrap"),"view-class":[p(r).e("list"),p(r).is("empty",v.value)],onMousemove:w,onMouseleave:k},{default:$(()=>{var A;return[(x(!0),O(Ve,null,dt(e.nodes,I=>(x(),ne(vx,{key:I.uid,node:I,"menu-id":h.value,onExpand:_},null,8,["node","menu-id"]))),128)),f.value?(x(),O("div",{key:0,class:U(p(r).e("empty-text"))},[L(p(Xe),{size:14,class:U(p(r).is("loading"))},{default:$(()=>[L(p(Mr))]),_:1},8,["class"]),ue(" "+Q(p(o)("el.cascader.loading")),1)],2)):v.value?(x(),O("div",{key:1,class:U(p(r).e("empty-text"))},[ce(T.$slots,"empty",{},()=>[ue(Q(p(o)("el.cascader.noData")),1)])],2)):(A=p(u))!=null&&A.isHoverMenu?(x(),O(Ve,{key:2},[te(" eslint-disable vue/html-self-closing "),(x(),O("svg",{ref_key:"hoverZone",ref:c,class:U(p(r).e("hover-zone"))},null,2))],2112)):te("v-if",!0),te(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}}),ffe=dfe;let vfe=0;const hfe=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var G4=class Y4{constructor(t,n,a,r=!1){this.data=t,this.config=n,this.parent=a,this.root=r,this.uid=vfe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:i,children:l}=n,s=t[l],u=hfe(this);this.level=r?0:a?a.level+1:1,this.value=t[o],this.label=t[i],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=s,this.children=(s||[]).map(c=>new Y4(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!_r(s),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:r,checkStrictly:o}=a;return(Qe(r)?r(t,this):!!t[r])||!o&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:r}=this,{lazy:o,leaf:i}=n,l=Qe(i)?i(t,this):t[i];return zt(l)?o&&!r?!1:!(Ae(a)&&a.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,r=new Y4(t,this.config,this);return Ae(n)?n.push(t):this.childrenData=[t],a.push(r),r}calcText(t,n){const a=t?this.pathLabels.join(n):this.label;return this.text=a,a}broadcast(t){this.children.forEach(n=>{var a;n&&(n.broadcast(t),(a=n.onParentCheck)==null||a.call(n,t))})}emit(){var n;const{parent:t}=this;t&&((n=t.onChildCheck)==null||n.call(t),t.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(r=>!r.isDisabled),a=n.length?n.every(r=>r.checked):!1;this.setCheckState(a)}setCheckState(t){const n=this.children.length,a=this.children.reduce((r,o)=>r+(o.checked?1:o.indeterminate?.5:0),0);this.checked=this.loaded&&this.children.filter(r=>!r.isDisabled).every(r=>r.loaded&&r.checked)&&t,this.indeterminate=this.loaded&&a!==n&&a>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:a}=this.config;n||!a?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const q4=(e,t)=>e.reduce((n,a)=>(a.isLeaf?n.push(a):(!t&&n.push(a),n=n.concat(q4(a.children,t))),n),[]);var hx=class{constructor(e,t){this.config=t;const n=(e||[]).map(a=>new G4(a,this.config));this.nodes=n,this.allNodes=q4(n,!1),this.leafNodes=q4(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new G4(e,this.config);t||this.nodes.push(n),this.appendAllNodesAndLeafNodes(n)}appendNodes(e,t){e.length>0?e.forEach(n=>this.appendNode(n,t)):t&&t.isLeaf&&this.leafNodes.push(t)}appendAllNodesAndLeafNodes(e){this.allNodes.push(e),e.isLeaf&&this.leafNodes.push(e),e.children&&e.childre Line truncated
M 50 50
m 0 ${w?"":"-"}${_}
a ${_} ${_} 0 1 1 0 ${w?"-":""}${_*2}
a ${_} ${_} 0 1 1 0 ${w?"":"-"}${_*2}
`}),s=D(()=>2*Math.PI*i.value),u=D(()=>n.type==="dashboard"?.75:1),c=D(()=>`${-1*s.value*(1-u.value)/2}px`),d=D(()=>({strokeDasharray:`${s.value*u.value}px, ${s.value}px`,strokeDashoffset:c.value})),v=D(()=>({strokeDasharray:`${s.value*u.value*(n.percentage/100)}px, ${s.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),f=D(()=>{let _;return n.color?_=b(n.percentage):_=t[n.status]||t.default,_}),h=D(()=>n.status==="warning"?$s:n.type==="line"?n.status==="success"?Ao:ci:n.status==="success"?Os:so),m=D(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=D(()=>n.format(n.percentage));function y(_){const w=100/_.length;return _.map((S,k)=>Ye(S)?{color:S,percentage:(k+1)*w}:S).sort((S,k)=>S.percentage-k.percentage)}const b=_=>{var S;const{color:w}=n;if(Qe(w))return w(_);if(Ye(w))return w;{const k=y(w);for(const T of k)if(T.percentage>_)return T.color;return(S=k[k.length-1])==null?void 0:S.color}};return(_,w)=>(x(),O("div",{class:U([p(a).b(),p(a).m(e.type),p(a).is(e.status),{[p(a).m("without-text")]:!e.showText,[p(a).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(x(),O("div",{key:0,class:U(p(a).b("bar"))},[C("div",{class:U(p(a).be("bar","outer")),style:et({height:`${e.strokeWidth}px`})},[C("div",{class:U([p(a).be("bar","inner"),{[p(a).bem("bar","inner","indeterminate")]:e.indeterminate},{[p(a).bem("bar","inner","striped")]:e.striped},{[p(a).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:et(r.value)},[(e.showText||_.$slots.default)&&e.textInside?(x(),O("div",{key:0,class:U(p(a).be("bar","innerText"))},[ce(_.$slots,"default",{percentage:e.percentage},()=>[C("span",null,Q(g.value),1)])],2)):te("v-if",!0)],6)],6)],2)):(x(),O("div",{key:1,class:U(p(a).b("circle")),style:et({height:`${e.width}px`,width:`${e.width}px`})},[(x(),O("svg",D1e,[C("path",{class:U(p(a).be("circle","track")),d:l.value,stroke:`var(${p(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,fill:"none",style:et(d.value)},null,14,O1e),C("path",{class:U(p(a).be("circle","path")),d:l.value,stroke:f.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,style:et(v.value)},null,14,$1e)]))],6)),(e.showText||_.$slots.default)&&!e.textInside?(x(),O("div",{key:2,class:U(p(a).e("text")),style:et({fontSize:`${m.value}px`})},[ce(_.$slots,"default",{percentage:e.percentage},()=>[e.status?(x(),ne(p(Xe),{key:1},{default:$(()=>[(x(),ne(St(h.value)))]),_:1})):(x(),O("span",R1e,Q(g.value),1))])],6)):te("v-if",!0)],10,P1e))}}),B1e=N1e;const kw=wt(B1e),V1e=$e({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ae([Array,Object]),default:()=>Nn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ae([Array,Object]),default:()=>[rv,rv,rv]},voidIcon:{type:pn,default:()=>UI},disabledVoidIcon:{type:pn,default:()=>rv},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ae(Array),default:()=>Nn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:pa,clearable:Boolean,...dr(["ariaLabel"])}),z1e={[Ot]:e=>Je(e),[bt]:e=>Je(e)},F1e=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],H1e=["onMousemove","onClick"];var W1e=q({name:"ElRate",__name:"rate",props:V1e,emits:z1e,setup(e,{expose:t,emit:n}){function a(B,W){const N=Y=>_t(Y),V=W[Object.keys(W).map(Y=>+Y).filter(Y=>{const X=W[Y];return N(X)&&X.excluded?B<Y:B<=Y}).sort((Y,X)=>Y-X)[0]];return N(V)&&V.value||V}const r=e,o=n,i=Ze(Qi,void 0),l=ca(),s=ke("rate"),{inputId:u,isLabeledByFormItem:c}=Yr(r,{formItemContext:i}),d=F(Br(r.modelValue,0,r.max)),v=F(-1),f=F(!0),h=F([]),m=D(()=>h.value.map(B=>B.$el.clientWidth)),g=D(()=>[s.b(),s.m(l.value)]),y=$n(),b=D(()=>s.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":k.value})),_=D(()=>{let B="";return r.showScore?B=r.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${r.modelValue}`:`${d.value}`):r.showText&&(B=r.texts[Math.ceil(d.value)-1]),B}),w=D(()=>r.modelValue*100-Math.floor(r.modelValue)*100),S=D(()=>Ae(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),k=D(()=>{const B=a(d.value,S.value);return _t(B)?"":B}),T=D(()=>{let B="";return y.value?B=`${w.value}%`:r.allowHalf&&(B="50%"),{color:k.value,width:B}}),M=D(()=>{let B=Ae(r.icons)?[...r.icons]:{...r.icons};return B=$i(B),Ae(B)?{[r.lowThreshold]:B[0],[r.highThreshold]:{value:B[1],excluded:!0},[r.max]:B[2]}:B}),E=D(()=>a(r.modelValue,M.value)),A=D(()=>y.va Line truncated
`||u==="\r")){i=s;continue}if(o.includes(u)){const c=i===-1?a:i;l={pattern:r.slice(s+1,c),start:s+1,end:c,prefix:u,prefixIndex:s,splitIndex:i,selectionEnd:a};break}}return l},i6e=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,a=e.selectionEnd!==null?e.selectionEnd:0,r=t.useSelectionEnd?a:n,o=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const v=document.querySelector("#input-textarea-caret-position-mirror-div");v!=null&&v.parentNode&&v.parentNode.removeChild(v)}const i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);const l=i.style,s=window.getComputedStyle(e),u=e.nodeName==="INPUT";l.whiteSpace=u?"nowrap":"pre-wrap",u||(l.wordWrap="break-word"),l.position="absolute",t.debug||(l.visibility="hidden"),o.forEach(v=>{if(u&&v==="lineHeight")if(s.boxSizing==="border-box"){const f=Number.parseInt(s.height),h=Number.parseInt(s.paddingTop)+Number.parseInt(s.paddingBottom)+Number.parseInt(s.borderTopWidth)+Number.parseInt(s.borderBottomWidth),m=h+Number.parseInt(s.lineHeight);f>m?l.lineHeight=`${f-h}px`:f===m?l.lineHeight=s.lineHeight:l.lineHeight="0"}else l.lineHeight=s.height;else l[v]=s[v]}),P1()?e.scrollHeight>Number.parseInt(s.height)&&(l.overflowY="scroll"):l.overflow="hidden",i.textContent=e.value.slice(0,Math.max(0,r)),u&&i.textContent&&(i.textContent=i.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,r))||".",c.style.position="relative",c.style.left=`${-e.scrollLeft}px`,c.style.top=`${-e.scrollTop}px`,i.appendChild(c);const d={top:c.offsetTop+Number.parseInt(s.borderTopWidth),left:c.offsetLeft+Number.parseInt(s.borderLeftWidth),height:Number.parseInt(s.fontSize)*1.5};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(i),d.left>=e.clientWidth&&(d.left=e.clientWidth),d},l6e=$e({...J6,options:{type:ae(Array),default:()=>[]},prefix:{type:ae([String,Array]),default:"@",validator:e=>Ye(e)?e.length===1:e.every(t=>Ye(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:ae([Boolean,Function]),default:()=>r6e,validator:e=>e===!1?!0:Qe(e)},placement:{type:ae(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:ae(Function)},modelValue:String,loading:Boolean,popperClass:Tn.popperClass,popperStyle:Tn.popperStyle,popperOptions:{type:ae(Object),default:()=>({})},props:{type:ae(Object),default:()=>yO}}),s6e={[bt]:e=>Ye(e),"whole-remove":(e,t)=>Ye(e)&&Ye(t),input:e=>Ye(e),search:(e,t)=>Ye(e)&&Ye(t),select:(e,t)=>_t(e)&&Ye(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},yO={value:"value",label:"label",disabled:"disabled"},u6e=$e({options:{type:ae(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),c6e={select:e=>Ye(e.value)},d6e=["id","aria-disabled","aria-selected","onMousemove","onClick"];var f6e=q({name:"ElMentionDropdown",__name:"mention-dropdown",props:u6e,emits:c6e,setup(e,{expose:t,emit:n}){const a=e,r=n,o=ke("mention"),{t:i}=Vt(),l=F(-1),s=F(),u=F(),c=F(),d=(w,S)=>[o.be("dropdown","item"),o.is("hovering",l.value===S),o.is("disabled",w.disabled||a.disabled)],v=w=>{w.disabled||a.disabled||r("select",w)},f=w=>{l.value=w},h=D(()=>a.disabled||a.options.every(w=>w.disabled)),m=D(()=>a.options[l.value]),g=()=>{!m.value||m.value.disabled||a.disabled||r("select",m.value)},y=w=>{const{options:S}=a;if(S.length===0||h.value)return;w==="next"?(l.value++,l.value===S.length&&(l.value=0)):w==="prev"&&(l.value--,l.value<0&&(l.value=S.length-1));const k=S[l.value];if(k.disabled){y(w);return}He(()=>b(k))},b=w=>{var M,E,A,I;const{options:S}=a,k=S.findIndex(P=>P.value===w.value),T=(M=u.value)==null?void 0:M[k];if(T){const P=(A=(E=c.value)==null?void 0:E.querySelector)==null?void 0:A.call(E,`.${o.be("dropdown","wrap")}`);P&&k6(P,T)}(I=s.value)==null||I.handleScroll()};return ye(()=>a.options,()=>{h.value||a.options.length===0?l.value=-1:l.value=a.options.findIndex(w=>!w.disabled)},{immediate:!0}),t({hoveringIndex:l,navigateOptions:y,selectHoverOption:g,hoverOption:m}),(w,S)=>(x(),O("div",{ref_key:"dropdownRef",ref:c,class:U(p(o).b("dropdown"))},[w.$slots.header?(x(),O("div",{key:0,class:U(p(o).be("dropdown","header"))},[ce(w.$slots,"header")],2)):te("v-if",!0),st(L(p(ni),{id:e.contentId,ref_key:"scrollbarRef",ref:s,tag:"ul","wrap-class":p(o).be("dropdown","wrap"),"view-class":p(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:$(()=>[(x(!0),O(Ve,null,dt(e.opt Line truncated
`}),s=D(()=>2*Math.PI*i.value),u=D(()=>n.type==="dashboard"?.75:1),c=D(()=>`${-1*s.value*(1-u.value)/2}px`),d=D(()=>({strokeDasharray:`${s.value*u.value}px, ${s.value}px`,strokeDashoffset:c.value})),v=D(()=>({strokeDasharray:`${s.value*u.value*(n.percentage/100)}px, ${s.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),f=D(()=>{let _;return n.color?_=b(n.percentage):_=t[n.status]||t.default,_}),h=D(()=>n.status==="warning"?$s:n.type==="line"?n.status==="success"?Ao:ci:n.status==="success"?Os:so),m=D(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=D(()=>n.format(n.percentage));function y(_){const w=100/_.length;return _.map((S,k)=>Ye(S)?{color:S,percentage:(k+1)*w}:S).sort((S,k)=>S.percentage-k.percentage)}const b=_=>{var S;const{color:w}=n;if(Qe(w))return w(_);if(Ye(w))return w;{const k=y(w);for(const T of k)if(T.percentage>_)return T.color;return(S=k[k.length-1])==null?void 0:S.color}};return(_,w)=>(x(),O("div",{class:U([p(a).b(),p(a).m(e.type),p(a).is(e.status),{[p(a).m("without-text")]:!e.showText,[p(a).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(x(),O("div",{key:0,class:U(p(a).b("bar"))},[C("div",{class:U(p(a).be("bar","outer")),style:et({height:`${e.strokeWidth}px`})},[C("div",{class:U([p(a).be("bar","inner"),{[p(a).bem("bar","inner","indeterminate")]:e.indeterminate},{[p(a).bem("bar","inner","striped")]:e.striped},{[p(a).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:et(r.value)},[(e.showText||_.$slots.default)&&e.textInside?(x(),O("div",{key:0,class:U(p(a).be("bar","innerText"))},[ce(_.$slots,"default",{percentage:e.percentage},()=>[C("span",null,Q(g.value),1)])],2)):te("v-if",!0)],6)],6)],2)):(x(),O("div",{key:1,class:U(p(a).b("circle")),style:et({height:`${e.width}px`,width:`${e.width}px`})},[(x(),O("svg",O1e,[C("path",{class:U(p(a).be("circle","track")),d:l.value,stroke:`var(${p(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,fill:"none",style:et(d.value)},null,14,$1e),C("path",{class:U(p(a).be("circle","path")),d:l.value,stroke:f.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,style:et(v.value)},null,14,R1e)]))],6)),(e.showText||_.$slots.default)&&!e.textInside?(x(),O("div",{key:2,class:U(p(a).e("text")),style:et({fontSize:`${m.value}px`})},[ce(_.$slots,"default",{percentage:e.percentage},()=>[e.status?(x(),ne(p(Xe),{key:1},{default:$(()=>[(x(),ne(St(h.value)))]),_:1})):(x(),O("span",N1e,Q(g.value),1))])],6)):te("v-if",!0)],10,D1e))}}),V1e=B1e;const kw=wt(V1e),z1e=$e({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ae([Array,Object]),default:()=>Nn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ae([Array,Object]),default:()=>[rv,rv,rv]},voidIcon:{type:pn,default:()=>KI},disabledVoidIcon:{type:pn,default:()=>rv},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ae(Array),default:()=>Nn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:pa,clearable:Boolean,...dr(["ariaLabel"])}),F1e={[Ot]:e=>Je(e),[bt]:e=>Je(e)},H1e=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],W1e=["onMousemove","onClick"];var K1e=j({name:"ElRate",__name:"rate",props:z1e,emits:F1e,setup(e,{expose:t,emit:n}){function a(B,W){const N=Y=>_t(Y),V=W[Object.keys(W).map(Y=>+Y).filter(Y=>{const X=W[Y];return N(X)&&X.excluded?B<Y:B<=Y}).sort((Y,X)=>Y-X)[0]];return N(V)&&V.value||V}const r=e,o=n,i=Ze(Qi,void 0),l=ca(),s=ke("rate"),{inputId:u,isLabeledByFormItem:c}=Yr(r,{formItemContext:i}),d=F(Br(r.modelValue,0,r.max)),v=F(-1),f=F(!0),h=F([]),m=D(()=>h.value.map(B=>B.$el.clientWidth)),g=D(()=>[s.b(),s.m(l.value)]),y=$n(),b=D(()=>s.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":k.value})),_=D(()=>{let B="";return r.showScore?B=r.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${r.modelValue}`:`${d.value}`):r.showText&&(B=r.texts[Math.ceil(d.value)-1]),B}),w=D(()=>r.modelValue*100-Math.floor(r.modelValue)*100),S=D(()=>Ae(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),k=D(()=>{const B=a(d.value,S.value);return _t(B)?"":B}),T=D(()=>{let B="";return y.value?B=`${w.value}%`:r.allowHalf&&(B="50%"),{color:k.value,width:B}}),M=D(()=>{let B=Ae(r.icons)?[...r.icons]:{...r.icons};return B=$i(B),Ae(B)?{[r.lowThreshold]:B[0],[r.highThreshold]:{value:B[1],excluded:!0},[r.max]:B[2]}:B}),E=D(()=>a(r.modelValue,M.value)),A=D(()=>y.va Line truncated
`||u==="\r")){i=s;continue}if(o.includes(u)){const c=i===-1?a:i;l={pattern:r.slice(s+1,c),start:s+1,end:c,prefix:u,prefixIndex:s,splitIndex:i,selectionEnd:a};break}}return l},l6e=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,a=e.selectionEnd!==null?e.selectionEnd:0,r=t.useSelectionEnd?a:n,o=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const v=document.querySelector("#input-textarea-caret-position-mirror-div");v!=null&&v.parentNode&&v.parentNode.removeChild(v)}const i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);const l=i.style,s=window.getComputedStyle(e),u=e.nodeName==="INPUT";l.whiteSpace=u?"nowrap":"pre-wrap",u||(l.wordWrap="break-word"),l.position="absolute",t.debug||(l.visibility="hidden"),o.forEach(v=>{if(u&&v==="lineHeight")if(s.boxSizing==="border-box"){const f=Number.parseInt(s.height),h=Number.parseInt(s.paddingTop)+Number.parseInt(s.paddingBottom)+Number.parseInt(s.borderTopWidth)+Number.parseInt(s.borderBottomWidth),m=h+Number.parseInt(s.lineHeight);f>m?l.lineHeight=`${f-h}px`:f===m?l.lineHeight=s.lineHeight:l.lineHeight="0"}else l.lineHeight=s.height;else l[v]=s[v]}),P1()?e.scrollHeight>Number.parseInt(s.height)&&(l.overflowY="scroll"):l.overflow="hidden",i.textContent=e.value.slice(0,Math.max(0,r)),u&&i.textContent&&(i.textContent=i.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,r))||".",c.style.position="relative",c.style.left=`${-e.scrollLeft}px`,c.style.top=`${-e.scrollTop}px`,i.appendChild(c);const d={top:c.offsetTop+Number.parseInt(s.borderTopWidth),left:c.offsetLeft+Number.parseInt(s.borderLeftWidth),height:Number.parseInt(s.fontSize)*1.5};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(i),d.left>=e.clientWidth&&(d.left=e.clientWidth),d},s6e=$e({...J6,options:{type:ae(Array),default:()=>[]},prefix:{type:ae([String,Array]),default:"@",validator:e=>Ye(e)?e.length===1:e.every(t=>Ye(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:ae([Boolean,Function]),default:()=>o6e,validator:e=>e===!1?!0:Qe(e)},placement:{type:ae(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:ae(Function)},modelValue:String,loading:Boolean,popperClass:Tn.popperClass,popperStyle:Tn.popperStyle,popperOptions:{type:ae(Object),default:()=>({})},props:{type:ae(Object),default:()=>gO}}),u6e={[bt]:e=>Ye(e),"whole-remove":(e,t)=>Ye(e)&&Ye(t),input:e=>Ye(e),search:(e,t)=>Ye(e)&&Ye(t),select:(e,t)=>_t(e)&&Ye(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},gO={value:"value",label:"label",disabled:"disabled"},c6e=$e({options:{type:ae(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),d6e={select:e=>Ye(e.value)},f6e=["id","aria-disabled","aria-selected","onMousemove","onClick"];var v6e=j({name:"ElMentionDropdown",__name:"mention-dropdown",props:c6e,emits:d6e,setup(e,{expose:t,emit:n}){const a=e,r=n,o=ke("mention"),{t:i}=Vt(),l=F(-1),s=F(),u=F(),c=F(),d=(w,S)=>[o.be("dropdown","item"),o.is("hovering",l.value===S),o.is("disabled",w.disabled||a.disabled)],v=w=>{w.disabled||a.disabled||r("select",w)},f=w=>{l.value=w},h=D(()=>a.disabled||a.options.every(w=>w.disabled)),m=D(()=>a.options[l.value]),g=()=>{!m.value||m.value.disabled||a.disabled||r("select",m.value)},y=w=>{const{options:S}=a;if(S.length===0||h.value)return;w==="next"?(l.value++,l.value===S.length&&(l.value=0)):w==="prev"&&(l.value--,l.value<0&&(l.value=S.length-1));const k=S[l.value];if(k.disabled){y(w);return}He(()=>b(k))},b=w=>{var M,E,A,I;const{options:S}=a,k=S.findIndex(P=>P.value===w.value),T=(M=u.value)==null?void 0:M[k];if(T){const P=(A=(E=c.value)==null?void 0:E.querySelector)==null?void 0:A.call(E,`.${o.be("dropdown","wrap")}`);P&&k6(P,T)}(I=s.value)==null||I.handleScroll()};return ye(()=>a.options,()=>{h.value||a.options.length===0?l.value=-1:l.value=a.options.findIndex(w=>!w.disabled)},{immediate:!0}),t({hoveringIndex:l,navigateOptions:y,selectHoverOption:g,hoverOption:m}),(w,S)=>(x(),O("div",{ref_key:"dropdownRef",ref:c,class:U(p(o).b("dropdown"))},[w.$slots.header?(x(),O("div",{key:0,class:U(p(o).be("dropdown","header"))},[ce(w.$slots,"header")],2)):te("v-if",!0),st(L(p(ni),{id:e.contentId,ref_key:"scrollbarRef",ref:s,tag:"ul","wrap-class":p(o).be("dropdown","wrap"),"view-class":p(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:$(()=>[(x(!0),O(Ve,null,dt(e.opt Line truncated
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
@@ -90,8 +90,8 @@ 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 d_=function(e,t){return d_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])},d_(e,t)};function At(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");d_(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Zwe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Jwe=function(){function e(){this.browser=new Zwe,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}(),hn=new Jwe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(hn.wxa=!0,hn.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?hn.worker=!0:!hn.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(hn.node=!0,hn.svgSupported=!0):Qwe(navigator.userAgent,hn);function Qwe(e,t){var n=t.browser,a=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),i=/micromessenger/i.test(e);a&&(n.firefox=!0,n.version=a[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),i&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11);var l=t.domSupported=typeof document<"u";if(l){var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}}var Zw=12,e8e="sans-serif",Vs=Zw+"px "+e8e,t8e=20,n8e=100,a8e="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function r8e(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var a=String.fromCharCode(n+32),r=(e.charCodeAt(n)-t8e)/n8e;t[a]=r}return t}var o8e=r8e(a8e),oo={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,a){if(!e){var r=oo.createCanvas();e=r&&r.getContext("2d")}if(e)return t!==a&&(t=e.font=a||Vs),e.measureText(n);n=n||"",a=a||Vs;var o=/((?:\d+)?\.?\d*)px/.exec(a),i=o&&+o[1]||Zw,l=0;if(a.indexOf("mono")>=0)l=i*n.length;else for(var s=0;s<n.length;s++){var u=o8e[n[s]];l+=u==null?i:u*i}return{width:l}}}(),loadImage:function(e,t,n){var a=new Image;return a.onload=t,a.onerror=n,a.src=e,a},getTime:function(){return Date.now?Date.now():+new Date}},MO=zs(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),EO=zs(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),vp=Object.prototype.toString,X1=Array.prototype,i8e=X1.forEach,l8e=X1.filter,Jw=X1.slice,s8e=X1.map,lk=(function(){}).constructor,Zp=lk?lk.prototype:null,Qw="__proto__",yy=2311,u8e=Math.pow(2,53)-1;function AO(){return yy>=u8e&&(yy=0),yy++}function e8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function yn(e){if(e==null||typeof e!="object")return e;var t=e,n=vp.call(e);if(n==="[object Array]"){if(!Ov(e)){t=[];for(var a=0,r=e.length;a<r;a++)t[a]=yn(e[a])}}else if(EO[n]){if(!Ov(e)){var o=e.constructor;if(o.from)t=o.from(e);else{t=new o(e.length);for(var a=0,r=e.length;a<r;a++)t[a]=e[a]}}}else if(!MO[n]&&!Ov(e)&&!xh(e)){t={};for(var i in e)e.hasOwnProperty(i)&&i!==Qw&&(t[i]=yn(e[i]))}return t}function Bn(e,t,n){if(!Yt(t)||!Yt(e))return n?yn(t):e;for(var a in t)if(t.hasOwnProperty(a)&&a!==Qw){var r=e[a],o=t[a];Yt(o)&&Yt(r)&&!Lt(o)&&!Lt(r)&&!xh(o)&&!xh(r)&&!sk(o)&&!sk(r)&&!Ov(o)&&!Ov(r)?Bn(r,o,n):(n||!(a in e))&&(e[a]=yn(t[a]))}return e}function vt(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==Qw&&(e[n]=t[n]);return e}function c8e(e,t,n){e=e||{};for(var a=0;a<n.length;a++){var r=n[a];e[r]=t[r]}return e}function zn(e,t,n){for(var a=la(t),r=0,o=a.length;r<o;r++){var i=a[r];e[i]==null&&(e[i]=t[i])}return e}function Pn(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n}return-1}function d8e(e,t){var n=e.prototype;function a(){}a.prototype=t.prototype,e.prototype=new a;for(var r in n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function al(e,t,n){if(eLine truncated
`),o=r.length;if(o===1)return Nk(r[0],t,n,a);for(var i=new ln(0,0,0,0),l=0;l<r.length;l++){var s=Nk(r[l],t,n,a);l===0?i.copy(s):i.union(s)}return i}function Zd(e,t,n,a){return n==="right"?a?e+=t:e-=t:n==="center"&&(a?e+=t/2:e-=t/2),e}function ec(e,t,n,a){return n==="middle"?a?e+=t/2:e-=t/2:n==="bottom"&&(a?e+=t:e-=t),e}function e2(e){return Hi(e).stWideCharWidth}function mc(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Tg(e,t,n){var a=t.position||"inside",r=t.distance!=null?t.distance:5,o=n.height,i=n.width,l=o/2,s=n.x,u=n.y,c="left",d="top";if(a instanceof Array)s+=mc(a[0],n.width),u+=mc(a[1],n.height),c=null,d=null;else switch(a){case"left":s-=r,u+=l,c="right",d="middle";break;case"right":s+=r+i,u+=l,d="middle";break;case"top":s+=i/2,u-=r,c="center",d="bottom";break;case"bottom":s+=i/2,u+=o+r,c="center";break;case"inside":s+=i/2,u+=l,c="center",d="middle";break;case"insideLeft":s+=r,u+=l,d="middle";break;case"insideRight":s+=i-r,u+=l,c="right",d="middle";break;case"insideTop":s+=i/2,u+=r,c="center";break;case"insideBottom":s+=i/2,u+=o-r,c="center",d="bottom";break;case"insideTopLeft":s+=r,u+=r;break;case"insideTopRight":s+=i-r,u+=r,c="right";break;case"insideBottomLeft":s+=r,u+=o-r,d="bottom";break;case"insideBottomRight":s+=i-r,u+=o-r,c="right",d="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=d,e}var Fy="__zr_normal__",Hy=Q1.concat(["ignore"]),ASe=zs(Q1,function(e,t){return e[t]=!0,e},{ignore:!1}),Hc={},ISe=new ln(0,0,0,0),i0=[],mm=0,t2=1,n2=function(){function e(t){this.id=AO(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,a){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var a=this.textConfig,r=a.local,o=n.innerTransformable,i=void 0,l=void 0,s=!1;o.parent=r?this:null;var u=!1;o.copyTransform(n);var c=a.position!=null,d=a.autoOverflowArea,v=void 0;if((d||c)&&(v=ISe,a.layoutRect?v.copy(a.layoutRect):v.copy(this.getBoundingRect()),r||v.applyTransform(this.transform)),c){this.calculateTextPosition?this.calculateTextPosition(Hc,a,v):Tg(Hc,a,v),o.x=Hc.x,o.y=Hc.y,i=Hc.align,l=Hc.verticalAlign;var f=a.origin;if(f&&a.rotation!=null){var h=void 0,m=void 0;f==="center"?(h=v.width*.5,m=v.height*.5):(h=mc(f[0],v.width),m=mc(f[1],v.height)),u=!0,o.originX=-o.x+h+(r?0:v.x),o.originY=-o.y+m+(r?0:v.y)}}a.rotation!=null&&(o.rotation=a.rotation);var g=a.offset;g&&(o.x+=g[0],o.y+=g[1],u||(o.originX=-g[0],o.originY=-g[1]));var y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(d){var b=y.overflowRect=y.overflowRect||new ln(0,0,0,0);o.getLocalTransform(i0),pp(i0,i0),ln.copy(b,v),b.applyTransform(i0)}else y.overflowRect=null;var _=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,w=void 0,S=void 0,k=void 0;_&&this.canBeInsideText()?(w=a.insideFill,S=a.insideStroke,(w==null||w==="auto")&&(w=this.getInsideTextFill()),(S==null||S==="auto")&&(S=this.getInsideTextStroke(w),k=!0)):(w=a.outsideFill,S=a.outsideStroke,(w==null||w==="auto")&&(w=this.getOutsideFill()),(S==null||S==="auto")&&(S=this.getOutsideStroke(w),k=!0)),w=w||"#000",(w!==y.fill||S!==y.stroke||k!==y.autoStroke||i!==y.align||l!==y.verticalAlign)&&(s=!0,y.fill=w,y.stroke=S,y.autoStroke=k,y.align=i,y.verticalAlign=l,n.setDefaultTextStyle(y)),n.__dirty|=Nr,s&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?D_:P_},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),a=typeof n=="string"&&Fi(n);a||(a=[255,255,255,1]);for(var r=a[3],o=this.__zr.isDarkMode(),i=0;i<3;i++)a[i]=a[i]*r+(o?0:255)*(1-r);return a[3]=1,mp(a,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},vt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(Yt(t))for(var a=t,r=la(a),o=0;o<r.length;o++){var i=r[o];this.attrKV(i,t[i])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var n=this._normalSta Line truncated
***************************************************************************** */var d_=function(e,t){return d_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])},d_(e,t)};function At(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");d_(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Jwe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Qwe=function(){function e(){this.browser=new Jwe,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}(),hn=new Qwe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(hn.wxa=!0,hn.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?hn.worker=!0:!hn.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(hn.node=!0,hn.svgSupported=!0):e8e(navigator.userAgent,hn);function e8e(e,t){var n=t.browser,a=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),i=/micromessenger/i.test(e);a&&(n.firefox=!0,n.version=a[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),i&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11);var l=t.domSupported=typeof document<"u";if(l){var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}}var Zw=12,t8e="sans-serif",Vs=Zw+"px "+t8e,n8e=20,a8e=100,r8e="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function o8e(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var a=String.fromCharCode(n+32),r=(e.charCodeAt(n)-n8e)/a8e;t[a]=r}return t}var i8e=o8e(r8e),oo={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,a){if(!e){var r=oo.createCanvas();e=r&&r.getContext("2d")}if(e)return t!==a&&(t=e.font=a||Vs),e.measureText(n);n=n||"",a=a||Vs;var o=/((?:\d+)?\.?\d*)px/.exec(a),i=o&&+o[1]||Zw,l=0;if(a.indexOf("mono")>=0)l=i*n.length;else for(var s=0;s<n.length;s++){var u=i8e[n[s]];l+=u==null?i:u*i}return{width:l}}}(),loadImage:function(e,t,n){var a=new Image;return a.onload=t,a.onerror=n,a.src=e,a},getTime:function(){return Date.now?Date.now():+new Date}},MO=zs(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),EO=zs(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),vp=Object.prototype.toString,X1=Array.prototype,l8e=X1.forEach,s8e=X1.filter,Jw=X1.slice,u8e=X1.map,lk=(function(){}).constructor,Zp=lk?lk.prototype:null,Qw="__proto__",yy=2311,c8e=Math.pow(2,53)-1;function AO(){return yy>=c8e&&(yy=0),yy++}function e8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function yn(e){if(e==null||typeof e!="object")return e;var t=e,n=vp.call(e);if(n==="[object Array]"){if(!Ov(e)){t=[];for(var a=0,r=e.length;a<r;a++)t[a]=yn(e[a])}}else if(EO[n]){if(!Ov(e)){var o=e.constructor;if(o.from)t=o.from(e);else{t=new o(e.length);for(var a=0,r=e.length;a<r;a++)t[a]=e[a]}}}else if(!MO[n]&&!Ov(e)&&!xh(e)){t={};for(var i in e)e.hasOwnProperty(i)&&i!==Qw&&(t[i]=yn(e[i]))}return t}function Bn(e,t,n){if(!Yt(t)||!Yt(e))return n?yn(t):e;for(var a in t)if(t.hasOwnProperty(a)&&a!==Qw){var r=e[a],o=t[a];Yt(o)&&Yt(r)&&!Lt(o)&&!Lt(r)&&!xh(o)&&!xh(r)&&!sk(o)&&!sk(r)&&!Ov(o)&&!Ov(r)?Bn(r,o,n):(n||!(a in e))&&(e[a]=yn(t[a]))}return e}function vt(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==Qw&&(e[n]=t[n]);return e}function d8e(e,t,n){e=e||{};for(var a=0;a<n.length;a++){var r=n[a];e[r]=t[r]}return e}function zn(e,t,n){for(var a=la(t),r=0,o=a.length;r<o;r++){var i=a[r];e[i]==null&&(e[i]=t[i])}return e}function Pn(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n}return-1}function f8e(e,t){var n=e.prototype;function a(){}a.prototype=t.prototype,e.prototype=new a;for(var r in n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function al(e,t,n){if(eLine truncated
`),o=r.length;if(o===1)return Nk(r[0],t,n,a);for(var i=new ln(0,0,0,0),l=0;l<r.length;l++){var s=Nk(r[l],t,n,a);l===0?i.copy(s):i.union(s)}return i}function Zd(e,t,n,a){return n==="right"?a?e+=t:e-=t:n==="center"&&(a?e+=t/2:e-=t/2),e}function ec(e,t,n,a){return n==="middle"?a?e+=t/2:e-=t/2:n==="bottom"&&(a?e+=t:e-=t),e}function e2(e){return Hi(e).stWideCharWidth}function mc(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Tg(e,t,n){var a=t.position||"inside",r=t.distance!=null?t.distance:5,o=n.height,i=n.width,l=o/2,s=n.x,u=n.y,c="left",d="top";if(a instanceof Array)s+=mc(a[0],n.width),u+=mc(a[1],n.height),c=null,d=null;else switch(a){case"left":s-=r,u+=l,c="right",d="middle";break;case"right":s+=r+i,u+=l,d="middle";break;case"top":s+=i/2,u-=r,c="center",d="bottom";break;case"bottom":s+=i/2,u+=o+r,c="center";break;case"inside":s+=i/2,u+=l,c="center",d="middle";break;case"insideLeft":s+=r,u+=l,d="middle";break;case"insideRight":s+=i-r,u+=l,c="right",d="middle";break;case"insideTop":s+=i/2,u+=r,c="center";break;case"insideBottom":s+=i/2,u+=o-r,c="center",d="bottom";break;case"insideTopLeft":s+=r,u+=r;break;case"insideTopRight":s+=i-r,u+=r,c="right";break;case"insideBottomLeft":s+=r,u+=o-r,d="bottom";break;case"insideBottomRight":s+=i-r,u+=o-r,c="right",d="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=d,e}var Fy="__zr_normal__",Hy=Q1.concat(["ignore"]),ISe=zs(Q1,function(e,t){return e[t]=!0,e},{ignore:!1}),Hc={},LSe=new ln(0,0,0,0),i0=[],mm=0,t2=1,n2=function(){function e(t){this.id=AO(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,a){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var a=this.textConfig,r=a.local,o=n.innerTransformable,i=void 0,l=void 0,s=!1;o.parent=r?this:null;var u=!1;o.copyTransform(n);var c=a.position!=null,d=a.autoOverflowArea,v=void 0;if((d||c)&&(v=LSe,a.layoutRect?v.copy(a.layoutRect):v.copy(this.getBoundingRect()),r||v.applyTransform(this.transform)),c){this.calculateTextPosition?this.calculateTextPosition(Hc,a,v):Tg(Hc,a,v),o.x=Hc.x,o.y=Hc.y,i=Hc.align,l=Hc.verticalAlign;var f=a.origin;if(f&&a.rotation!=null){var h=void 0,m=void 0;f==="center"?(h=v.width*.5,m=v.height*.5):(h=mc(f[0],v.width),m=mc(f[1],v.height)),u=!0,o.originX=-o.x+h+(r?0:v.x),o.originY=-o.y+m+(r?0:v.y)}}a.rotation!=null&&(o.rotation=a.rotation);var g=a.offset;g&&(o.x+=g[0],o.y+=g[1],u||(o.originX=-g[0],o.originY=-g[1]));var y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(d){var b=y.overflowRect=y.overflowRect||new ln(0,0,0,0);o.getLocalTransform(i0),pp(i0,i0),ln.copy(b,v),b.applyTransform(i0)}else y.overflowRect=null;var _=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,w=void 0,S=void 0,k=void 0;_&&this.canBeInsideText()?(w=a.insideFill,S=a.insideStroke,(w==null||w==="auto")&&(w=this.getInsideTextFill()),(S==null||S==="auto")&&(S=this.getInsideTextStroke(w),k=!0)):(w=a.outsideFill,S=a.outsideStroke,(w==null||w==="auto")&&(w=this.getOutsideFill()),(S==null||S==="auto")&&(S=this.getOutsideStroke(w),k=!0)),w=w||"#000",(w!==y.fill||S!==y.stroke||k!==y.autoStroke||i!==y.align||l!==y.verticalAlign)&&(s=!0,y.fill=w,y.stroke=S,y.autoStroke=k,y.align=i,y.verticalAlign=l,n.setDefaultTextStyle(y)),n.__dirty|=Nr,s&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?D_:P_},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),a=typeof n=="string"&&Fi(n);a||(a=[255,255,255,1]);for(var r=a[3],o=this.__zr.isDarkMode(),i=0;i<3;i++)a[i]=a[i]*r+(o?0:255)*(1-r);return a[3]=1,mp(a,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},vt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(Yt(t))for(var a=t,r=la(a),o=0;o<r.length;o++){var i=r[o];this.attrKV(i,t[i])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var n=this._normalSta Line truncated
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
@@ -99,29 +99,29 @@ PERFORMANCE OF THIS SOFTWARE.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE
*/var gm={},QO={};function $Se(e){delete QO[e]}function RSe(e){if(!e)return!1;if(typeof e=="string")return Cg(e,1)<L_;if(e.colorStops){for(var t=e.colorStops,n=0,a=t.length,r=0;r<a;r++)n+=Cg(t[r].color,1);return n/=a,n<L_}return!1}var NSe=function(){function e(t,n,a){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,a=a||{},this.dom=n,this.id=t;var o=new eSe,i=a.renderer||"canvas";gm[i]||(i=la(gm)[0]),a.useDirtyRect=a.useDirtyRect==null?!1:a.useDirtyRect;var l=new gm[i](n,o,a,t),s=a.ssr||l.ssrOnly;this.storage=o,this.painter=l;var u=!hn.node&&!hn.worker&&!s?new kSe(l.getViewportRoot(),l.root):null,c=a.useCoarsePointer,d=c==null||c==="auto"?hn.touchEventsSupported:!!c,v=44,f;d&&(f=jt(a.pointerSize,v)),this.handler=new NO(o,l,u,l.root,f),this.animation=new ySe({stage:{update:s?null:function(){return r._flush(!1)}}}),s||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=RSe(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},e.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!0)},e.prototype._flush=function(t){var n,a=dd(),r=this._needsRefresh,o=this._needsRefreshHover;(r||o)&&(n=!0,this._refresh({animUpdate:t,refresh:r,refreshHover:o}));var i=dd();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-a})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,a){return this._disposed||this.handler.on(t,n,a),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof Ha&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,$Se(this.id))},e}();function Fk(e,t){var n=new NSe(AO(),e,t);return QO[n.id]=n,n}function BSe(e,t){gm[e]=t}var Hk=1e-4,e$=20;function VSe(e){return e.replace(/^\s+|\s+$/g,"")}var sr=Math.min,An=Math.max,Ca=Math.abs,Dl=Math.round,gc=Math.floor,yp=Math.ceil,Ac=Math.pow,Th=Math.log,O_=Math.LN10,zSe=Math.PI,FSe=Math.random;function $_(e,t,n,a){var r=t[0],o=t[1],i=n[0],l=n[1],s=o-r,u=l-i;if(s===0)return u===0?i:(i+l)/2;if(a)if(s>0){if(e<=r)return i;if(e>=o)return l}else{if(e>=r)return i;if(e<=o)return l}else{if(e===r)return i;if(e===o)return l}return(e-r)/s*u+i}var sa=HSe;function HSe(e,t,n){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return R_(e,t,n)}function R_(e,t,n){return Ut(e)?WSe(e)?parseFloat(e)/100*t+(n||0):parseFloat(e):e==null?NaN:+e}function WSe(e){return!!VSe(e).match(/%$/)}function En(e,t,n){return isNaN(t)?n?"Line truncated
*/var gm={},QO={};function RSe(e){delete QO[e]}function NSe(e){if(!e)return!1;if(typeof e=="string")return Cg(e,1)<L_;if(e.colorStops){for(var t=e.colorStops,n=0,a=t.length,r=0;r<a;r++)n+=Cg(t[r].color,1);return n/=a,n<L_}return!1}var BSe=function(){function e(t,n,a){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,a=a||{},this.dom=n,this.id=t;var o=new tSe,i=a.renderer||"canvas";gm[i]||(i=la(gm)[0]),a.useDirtyRect=a.useDirtyRect==null?!1:a.useDirtyRect;var l=new gm[i](n,o,a,t),s=a.ssr||l.ssrOnly;this.storage=o,this.painter=l;var u=!hn.node&&!hn.worker&&!s?new TSe(l.getViewportRoot(),l.root):null,c=a.useCoarsePointer,d=c==null||c==="auto"?hn.touchEventsSupported:!!c,v=44,f;d&&(f=qt(a.pointerSize,v)),this.handler=new NO(o,l,u,l.root,f),this.animation=new bSe({stage:{update:s?null:function(){return r._flush(!1)}}}),s||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=NSe(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},e.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!0)},e.prototype._flush=function(t){var n,a=dd(),r=this._needsRefresh,o=this._needsRefreshHover;(r||o)&&(n=!0,this._refresh({animUpdate:t,refresh:r,refreshHover:o}));var i=dd();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-a})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,a){return this._disposed||this.handler.on(t,n,a),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof Ha&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,RSe(this.id))},e}();function Fk(e,t){var n=new BSe(AO(),e,t);return QO[n.id]=n,n}function VSe(e,t){gm[e]=t}var Hk=1e-4,e$=20;function zSe(e){return e.replace(/^\s+|\s+$/g,"")}var sr=Math.min,An=Math.max,Ca=Math.abs,Dl=Math.round,gc=Math.floor,yp=Math.ceil,Ac=Math.pow,Th=Math.log,O_=Math.LN10,FSe=Math.PI,HSe=Math.random;function $_(e,t,n,a){var r=t[0],o=t[1],i=n[0],l=n[1],s=o-r,u=l-i;if(s===0)return u===0?i:(i+l)/2;if(a)if(s>0){if(e<=r)return i;if(e>=o)return l}else{if(e>=r)return i;if(e<=o)return l}else{if(e===r)return i;if(e===o)return l}return(e-r)/s*u+i}var sa=WSe;function WSe(e,t,n){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return R_(e,t,n)}function R_(e,t,n){return Ut(e)?KSe(e)?parseFloat(e)/100*t+(n||0):parseFloat(e):e==null?NaN:+e}function KSe(e){return!!zSe(e).match(/%$/)}function En(e,t,n){return isNaN(t)?n?"Line truncated
`);o=m$(n,a,r,o);for(var l=!1,s={},u=0,c=i.length;u<c;u++)g$(s,i[u],o),i[u]=s.textLine,l=l||s.isTruncated;e.text=i.join(`
`),e.isTruncated=l}function m$(e,t,n,a){a=a||{};var r=vt({},a);n=jt(n,"..."),r.maxIterations=jt(a.maxIterations,2);var o=r.minChar=jt(a.minChar,0),i=r.fontMeasureInfo=Hi(t),l=i.asciiCharWidth;r.placeholder=jt(a.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<o&&s>=l;u++)s-=l;var c=Wi(i,n);return c>s&&(n="",c=0),s=e-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=s,r.containerWidth=e,r}function g$(e,t,n){var a=n.containerWidth,r=n.contentWidth,o=n.fontMeasureInfo;if(!a){e.textLine="",e.isTruncated=!1;return}var i=Wi(o,t);if(i<=a){e.textLine=t,e.isTruncated=!1;return}for(var l=0;;l++){if(i<=r||l>=n.maxIterations){t+=n.ellipsis;break}var s=l===0?RCe(t,r,o):i>0?Math.floor(t.length*r/i):0;t=t.substr(0,s),i=Wi(o,t)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function RCe(e,t,n){for(var a=0,r=0,o=e.length;r<o&&a<t;r++)a+=XO(n,e.charCodeAt(r));return r}function NCe(e,t,n,a){var r=m8(e),o=t.overflow,i=t.padding,l=i?i[1]+i[3]:0,s=i?i[0]+i[2]:0,u=t.font,c=o==="truncate",d=e2(u),v=jt(t.lineHeight,d),f=t.lineOverflow==="truncate",h=!1,m=t.width;m==null&&n!=null&&(m=n-l);var g=t.height;g==null&&a!=null&&(g=a-s);var y;m!=null&&(o==="break"||o==="breakAll")?y=r?y$(r,t.font,m,o==="breakAll",0).lines:[]:y=r?r.split(`
`):[];var b=y.length*v;if(g==null&&(g=b),b>g&&f){var _=Math.floor(g/v);h=h||y.length>_,y=y.slice(0,_),b=y.length*v}if(r&&c&&m!=null)for(var w=m$(m,u,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),S={},k=0;k<y.length;k++)g$(S,y[k],w),y[k]=S.textLine,h=h||S.isTruncated;for(var T=g,M=0,E=Hi(u),k=0;k<y.length;k++)M=Math.max(Wi(E,y[k]),M);m==null&&(m=M);var A=m;return T+=s,A+=l,{lines:y,height:g,outerWidth:A,outerHeight:T,lineHeight:v,calculatedLineHeight:d,contentWidth:M,contentHeight:b,width:m,isTruncated:h}}var BCe=function(){function e(){}return e}(),jk=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),VCe=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function zCe(e,t,n,a,r){var o=new VCe,i=m8(e);if(!i)return o;var l=t.padding,s=l?l[1]+l[3]:0,u=l?l[0]+l[2]:0,c=t.width;c==null&&n!=null&&(c=n-s);var d=t.height;d==null&&a!=null&&(d=a-u);for(var v=t.overflow,f=(v==="break"||v==="breakAll")&&c!=null?{width:c,accumWidth:0,breakAll:v==="breakAll"}:null,h=Gy.lastIndex=0,m;(m=Gy.exec(i))!=null;){var g=m.index;g>h&&Yy(o,i.substring(h,g),t,f),Yy(o,m[2],t,f,m[1]),h=Gy.lastIndex}h<i.length&&Yy(o,i.substring(h,i.length),t,f);var y=[],b=0,_=0,w=v==="truncate",S=t.lineOverflow==="truncate",k={};function T(ie,le,ve){ie.width=le,ie.lineHeight=ve,b+=ve,_=Math.max(_,le)}e:for(var M=0;M<o.lines.length;M++){for(var E=o.lines[M],A=0,I=0,P=0;P<E.tokens.length;P++){var R=E.tokens[P],G=R.styleName&&t.rich[R.styleName]||{},K=R.textPadding=G.padding,H=K?K[1]+K[3]:0,z=R.font=G.font||t.font;R.contentHeight=e2(z);var B=jt(G.height,R.contentHeight);if(R.innerHeight=B,K&&(B+=K[0]+K[2]),R.height=B,R.lineHeight=Ju(G.lineHeight,t.lineHeight,B),R.align=G&&G.align||r,R.verticalAlign=G&&G.verticalAlign||"middle",S&&d!=null&&b+R.lineHeight>d){var W=o.lines.length;P>0?(E.tokens=E.tokens.slice(0,P),T(E,I,A),o.lines=o.lines.slice(0,M+1)):o.lines=o.lines.slice(0,M),o.isTruncated=o.isTruncated||o.lines.length<W;break e}var N=G.width,V=N==null||N==="auto";if(typeof N=="string"&&N.charAt(N.length-1)==="%")R.percentWidth=N,y.push(R),R.contentWidth=Wi(Hi(z),R.text);else{if(V){var Y=G.backgroundColor,X=Y&&Y.image;X&&(X=OCe(X),r2(X)&&(R.width=Math.max(R.width,X.width*B/X.height)))}var ee=w&&c!=null?c-I:null;ee!=null&&ee<R.width?!V||ee<H?(R.text="",R.width=R.contentWidth=0):($Ce(k,R.text,ee-H,z,t.ellipsis,{minChar:t.truncateMinChar}),R.text=k.text,o.isTruncated=o.isTruncated||k.isTruncated,R.width=R.contentWidth=Wi(Hi(z),R.text)):R.contentWidth=Wi(Hi(z),R.text)}R.width+=H,I+=R.width,G&&(A=Math.max(A,R.lineHeight))}T(E,I,A)}o.outerWidth=o.width=jt(c,_),o.outerHeight=o.height=jt(d,b),o.contentHeight=b,o.contentWidth=_,o.outerWidth+=s,o.outerHeight+=u;for(var M=0;M<y.length;M++){var R=y[M],re=R.percentWidth;R.width=parseInt(re,10)/100*o.width}return o}function Yy(e,t,n,a,r){var o=t==="",i=r&&n.rich[r]||{},l=e.lines,s=i.font||n.font,u=!1,c,d;if(a){var v=i.padding,f=v?v[1]+v[3]:0;if(i.width!=null&&i.width!=="auto"){var h=mc(i.width,a.width)+f;l.length>0&&h+a.accumWidth>a.width&&(c=t.split(`
`),e.isTruncated=l}function m$(e,t,n,a){a=a||{};var r=vt({},a);n=qt(n,"..."),r.maxIterations=qt(a.maxIterations,2);var o=r.minChar=qt(a.minChar,0),i=r.fontMeasureInfo=Hi(t),l=i.asciiCharWidth;r.placeholder=qt(a.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<o&&s>=l;u++)s-=l;var c=Wi(i,n);return c>s&&(n="",c=0),s=e-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=s,r.containerWidth=e,r}function g$(e,t,n){var a=n.containerWidth,r=n.contentWidth,o=n.fontMeasureInfo;if(!a){e.textLine="",e.isTruncated=!1;return}var i=Wi(o,t);if(i<=a){e.textLine=t,e.isTruncated=!1;return}for(var l=0;;l++){if(i<=r||l>=n.maxIterations){t+=n.ellipsis;break}var s=l===0?NCe(t,r,o):i>0?Math.floor(t.length*r/i):0;t=t.substr(0,s),i=Wi(o,t)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function NCe(e,t,n){for(var a=0,r=0,o=e.length;r<o&&a<t;r++)a+=XO(n,e.charCodeAt(r));return r}function BCe(e,t,n,a){var r=m8(e),o=t.overflow,i=t.padding,l=i?i[1]+i[3]:0,s=i?i[0]+i[2]:0,u=t.font,c=o==="truncate",d=e2(u),v=qt(t.lineHeight,d),f=t.lineOverflow==="truncate",h=!1,m=t.width;m==null&&n!=null&&(m=n-l);var g=t.height;g==null&&a!=null&&(g=a-s);var y;m!=null&&(o==="break"||o==="breakAll")?y=r?y$(r,t.font,m,o==="breakAll",0).lines:[]:y=r?r.split(`
`):[];var b=y.length*v;if(g==null&&(g=b),b>g&&f){var _=Math.floor(g/v);h=h||y.length>_,y=y.slice(0,_),b=y.length*v}if(r&&c&&m!=null)for(var w=m$(m,u,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),S={},k=0;k<y.length;k++)g$(S,y[k],w),y[k]=S.textLine,h=h||S.isTruncated;for(var T=g,M=0,E=Hi(u),k=0;k<y.length;k++)M=Math.max(Wi(E,y[k]),M);m==null&&(m=M);var A=m;return T+=s,A+=l,{lines:y,height:g,outerWidth:A,outerHeight:T,lineHeight:v,calculatedLineHeight:d,contentWidth:M,contentHeight:b,width:m,isTruncated:h}}var VCe=function(){function e(){}return e}(),qk=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),zCe=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function FCe(e,t,n,a,r){var o=new zCe,i=m8(e);if(!i)return o;var l=t.padding,s=l?l[1]+l[3]:0,u=l?l[0]+l[2]:0,c=t.width;c==null&&n!=null&&(c=n-s);var d=t.height;d==null&&a!=null&&(d=a-u);for(var v=t.overflow,f=(v==="break"||v==="breakAll")&&c!=null?{width:c,accumWidth:0,breakAll:v==="breakAll"}:null,h=Gy.lastIndex=0,m;(m=Gy.exec(i))!=null;){var g=m.index;g>h&&Yy(o,i.substring(h,g),t,f),Yy(o,m[2],t,f,m[1]),h=Gy.lastIndex}h<i.length&&Yy(o,i.substring(h,i.length),t,f);var y=[],b=0,_=0,w=v==="truncate",S=t.lineOverflow==="truncate",k={};function T(ie,le,ve){ie.width=le,ie.lineHeight=ve,b+=ve,_=Math.max(_,le)}e:for(var M=0;M<o.lines.length;M++){for(var E=o.lines[M],A=0,I=0,P=0;P<E.tokens.length;P++){var R=E.tokens[P],G=R.styleName&&t.rich[R.styleName]||{},K=R.textPadding=G.padding,H=K?K[1]+K[3]:0,z=R.font=G.font||t.font;R.contentHeight=e2(z);var B=qt(G.height,R.contentHeight);if(R.innerHeight=B,K&&(B+=K[0]+K[2]),R.height=B,R.lineHeight=Ju(G.lineHeight,t.lineHeight,B),R.align=G&&G.align||r,R.verticalAlign=G&&G.verticalAlign||"middle",S&&d!=null&&b+R.lineHeight>d){var W=o.lines.length;P>0?(E.tokens=E.tokens.slice(0,P),T(E,I,A),o.lines=o.lines.slice(0,M+1)):o.lines=o.lines.slice(0,M),o.isTruncated=o.isTruncated||o.lines.length<W;break e}var N=G.width,V=N==null||N==="auto";if(typeof N=="string"&&N.charAt(N.length-1)==="%")R.percentWidth=N,y.push(R),R.contentWidth=Wi(Hi(z),R.text);else{if(V){var Y=G.backgroundColor,X=Y&&Y.image;X&&(X=$Ce(X),r2(X)&&(R.width=Math.max(R.width,X.width*B/X.height)))}var ee=w&&c!=null?c-I:null;ee!=null&&ee<R.width?!V||ee<H?(R.text="",R.width=R.contentWidth=0):(RCe(k,R.text,ee-H,z,t.ellipsis,{minChar:t.truncateMinChar}),R.text=k.text,o.isTruncated=o.isTruncated||k.isTruncated,R.width=R.contentWidth=Wi(Hi(z),R.text)):R.contentWidth=Wi(Hi(z),R.text)}R.width+=H,I+=R.width,G&&(A=Math.max(A,R.lineHeight))}T(E,I,A)}o.outerWidth=o.width=qt(c,_),o.outerHeight=o.height=qt(d,b),o.contentHeight=b,o.contentWidth=_,o.outerWidth+=s,o.outerHeight+=u;for(var M=0;M<y.length;M++){var R=y[M],re=R.percentWidth;R.width=parseInt(re,10)/100*o.width}return o}function Yy(e,t,n,a,r){var o=t==="",i=r&&n.rich[r]||{},l=e.lines,s=i.font||n.font,u=!1,c,d;if(a){var v=i.padding,f=v?v[1]+v[3]:0;if(i.width!=null&&i.width!=="auto"){var h=mc(i.width,a.width)+f;l.length>0&&h+a.accumWidth>a.width&&(c=t.split(`
`),u=!0),a.accumWidth=h}else{var m=y$(t,s,a.width,a.breakAll,a.accumWidth);a.accumWidth=m.accumWidth+f,d=m.linesWidths,c=m.lines}}c||(c=t.split(`
`));for(var g=Hi(s),y=0;y<c.length;y++){var b=c[y],_=new BCe;if(_.styleName=r,_.text=b,_.isLineHolder=!b&&!o,typeof i.width=="number"?_.width=i.width:_.width=d?d[y]:Wi(g,b),!y&&!u){var w=(l[l.length-1]||(l[0]=new jk)).tokens,S=w.length;S===1&&w[0].isLineHolder?w[0]=_:(b||!S||o)&&w.push(_)}else l.push(new jk([_]))}}function FCe(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var HCe=zs(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function WCe(e){return FCe(e)?!!HCe[e]:!0}function y$(e,t,n,a,r){for(var o=[],i=[],l="",s="",u=0,c=0,d=Hi(t),v=0;v<e.length;v++){var f=e.charAt(v);if(f===`
`){s&&(l+=s,c+=u),o.push(l),i.push(c),l="",s="",u=0,c=0;continue}var h=XO(d,f.charCodeAt(0)),m=a?!1:!WCe(f);if(o.length?c+h>n:r+c+h>n){c?(l||s)&&(m?(l||(l=s,s="",u=0,c=u),o.push(l),i.push(c-u),s+=f,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),o.push(l),i.push(c),l=f,c=h)):m?(o.push(s),i.push(u),s=f,u=h):(o.push(f),i.push(h));continue}c+=h,m?(s+=f,u+=h):(s&&(l+=s,s="",u=0),l+=f)}return s&&(l+=s),l&&(o.push(l),i.push(c)),o.length===1&&(c+=r),{accumWidth:c,lines:o,linesWidths:i}}function qk(e,t,n,a,r,o){if(e.baseX=n,e.baseY=a,e.outerWidth=e.outerHeight=null,!!t){var i=t.width*2,l=t.height*2;ln.set(Xk,Zd(n,i,r),ec(a,l,o),i,l),ln.intersect(t,Xk,null,Zk);var s=Zk.outIntersectRect;e.outerWidth=s.width,e.outerHeight=s.height,e.baseX=Zd(s.x,s.width,r,!0),e.baseY=ec(s.y,s.height,o,!0)}}var Xk=new ln(0,0,0,0),Zk={outIntersectRect:{},clamp:!0};function m8(e){return e!=null?e+="":e=""}function KCe(e){var t=m8(e.text),n=e.font,a=Wi(Hi(n),t),r=e2(n);return z_(e,a,r,null)}function z_(e,t,n,a){var r=new ln(Zd(e.x||0,t,e.textAlign),ec(e.y||0,n,e.textBaseline),t,n),o=a??(b$(e)?e.lineWidth:0);return o>0&&(r.x-=o/2,r.y-=o/2,r.width+=o,r.height+=o),r}function b$(e){var t=e.stroke;return t!=null&&t!=="none"&&e.lineWidth>0}var F_="__zr_style_"+Math.round(Math.random()*10),tc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},o2={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};tc[F_]=!0;var Jk=["z","z2","invisible"],UCe=["invisible"],wp=function(e){At(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var a=la(n),r=0;r<a.length;r++){var o=a[r];o==="style"?this.useStyle(n[o]):e.prototype.attrKV.call(this,o,n[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(n){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,a,r,o){var i=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&GCe(this,n,a)||i&&!i[0]&&!i[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(o&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},t.prototype.contain=function(n,a){return this.rectContain(n,a)},t.prototype.traverse=function(n,a){n.call(a,this)},t.prototype.rectContain=function(n,a){var r=this.transformCoordToLocal(n,a),o=this.getBoundingRect();return o.contain(r[0],r[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var a=this.transform,r=this.getBoundingRect(),o=this.style,i=o.shadowBlur||0,l=o.shadowOffsetX||0,s=o.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new ln(0,0,0,0)),a?ln.applyTransform(n,r,a):n.copy(r),(i||l||s)&&(n.width+=i*2+Math.abs(l),n.height+=i*2+Math.abs(s),n.x=Math.min(n.x,n.x+l-i),n.y=Math.min(n.y,n.y+s-i));var u=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-u),n.y=Math.floor(n.y-u),n.width=Math.ceil(n.width+1+u*2),n.height=Math.ceil(n.height+1+u*2))}return n},t.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new ln(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(n){return this.animate("style",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(n,a){n!=="style"?e.prototype.attrKV.call(this,n,a):this.style?this.setStyle(a):this.useStyle(a)},t.prototype.setStyle=function(n,a){return typeof n=="string"?this.style[n]=a:vt(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=dv,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&dv)},t.prototype.styleUpdated=function(){this.__dirty&=~dv},t.prototype.createStyle=function(n){return J1(tc,n)},t.prototype.useStyle=function(n){n[F_]||(n=this.createStyle(n)),this.style=n,this.dirtyStyle()},t.prototype._useHoverStyle=function(n){this.__hoverStyle=n},t.prototype.isStyleObject=function(n){return n[F_]},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var a=this._normalState;n.style&&!a.style&&(a.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,a,Jk)},t.prototype._applyStateObj=function(n,a,r,o,i,l){e.prototype._applyStateObj.call(this,n,a,r,o,i,l);var s=!(a&&o),u=this.__inHover===t2,c;if(a&&a.style?i?o?c=a.style:(c=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(c,a.style)):(c=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(c,a.style)):s&&(c=r.style),c)if(i){var d=this.style;if(this.style=this.createStyle(s?{}:d),s)for(var v=la(d),f=0;f<v.length;f++){var h=v[f];h in c&&(c[h]=c[h Line truncated
`));for(var g=Hi(s),y=0;y<c.length;y++){var b=c[y],_=new VCe;if(_.styleName=r,_.text=b,_.isLineHolder=!b&&!o,typeof i.width=="number"?_.width=i.width:_.width=d?d[y]:Wi(g,b),!y&&!u){var w=(l[l.length-1]||(l[0]=new qk)).tokens,S=w.length;S===1&&w[0].isLineHolder?w[0]=_:(b||!S||o)&&w.push(_)}else l.push(new qk([_]))}}function HCe(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var WCe=zs(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function KCe(e){return HCe(e)?!!WCe[e]:!0}function y$(e,t,n,a,r){for(var o=[],i=[],l="",s="",u=0,c=0,d=Hi(t),v=0;v<e.length;v++){var f=e.charAt(v);if(f===`
`){s&&(l+=s,c+=u),o.push(l),i.push(c),l="",s="",u=0,c=0;continue}var h=XO(d,f.charCodeAt(0)),m=a?!1:!KCe(f);if(o.length?c+h>n:r+c+h>n){c?(l||s)&&(m?(l||(l=s,s="",u=0,c=u),o.push(l),i.push(c-u),s+=f,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),o.push(l),i.push(c),l=f,c=h)):m?(o.push(s),i.push(u),s=f,u=h):(o.push(f),i.push(h));continue}c+=h,m?(s+=f,u+=h):(s&&(l+=s,s="",u=0),l+=f)}return s&&(l+=s),l&&(o.push(l),i.push(c)),o.length===1&&(c+=r),{accumWidth:c,lines:o,linesWidths:i}}function jk(e,t,n,a,r,o){if(e.baseX=n,e.baseY=a,e.outerWidth=e.outerHeight=null,!!t){var i=t.width*2,l=t.height*2;ln.set(Xk,Zd(n,i,r),ec(a,l,o),i,l),ln.intersect(t,Xk,null,Zk);var s=Zk.outIntersectRect;e.outerWidth=s.width,e.outerHeight=s.height,e.baseX=Zd(s.x,s.width,r,!0),e.baseY=ec(s.y,s.height,o,!0)}}var Xk=new ln(0,0,0,0),Zk={outIntersectRect:{},clamp:!0};function m8(e){return e!=null?e+="":e=""}function UCe(e){var t=m8(e.text),n=e.font,a=Wi(Hi(n),t),r=e2(n);return z_(e,a,r,null)}function z_(e,t,n,a){var r=new ln(Zd(e.x||0,t,e.textAlign),ec(e.y||0,n,e.textBaseline),t,n),o=a??(b$(e)?e.lineWidth:0);return o>0&&(r.x-=o/2,r.y-=o/2,r.width+=o,r.height+=o),r}function b$(e){var t=e.stroke;return t!=null&&t!=="none"&&e.lineWidth>0}var F_="__zr_style_"+Math.round(Math.random()*10),tc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},o2={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};tc[F_]=!0;var Jk=["z","z2","invisible"],GCe=["invisible"],wp=function(e){At(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var a=la(n),r=0;r<a.length;r++){var o=a[r];o==="style"?this.useStyle(n[o]):e.prototype.attrKV.call(this,o,n[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(n){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,a,r,o){var i=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&YCe(this,n,a)||i&&!i[0]&&!i[3])return!1;if(r&&this.__clipPaths&&this.__clipPaths.length){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(o&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},t.prototype.contain=function(n,a){return this.rectContain(n,a)},t.prototype.traverse=function(n,a){n.call(a,this)},t.prototype.rectContain=function(n,a){var r=this.transformCoordToLocal(n,a),o=this.getBoundingRect();return o.contain(r[0],r[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var a=this.transform,r=this.getBoundingRect(),o=this.style,i=o.shadowBlur||0,l=o.shadowOffsetX||0,s=o.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new ln(0,0,0,0)),a?ln.applyTransform(n,r,a):n.copy(r),(i||l||s)&&(n.width+=i*2+Math.abs(l),n.height+=i*2+Math.abs(s),n.x=Math.min(n.x,n.x+l-i),n.y=Math.min(n.y,n.y+s-i));var u=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-u),n.y=Math.floor(n.y-u),n.width=Math.ceil(n.width+1+u*2),n.height=Math.ceil(n.height+1+u*2))}return n},t.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new ln(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(n){return this.animate("style",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(n,a){n!=="style"?e.prototype.attrKV.call(this,n,a):this.style?this.setStyle(a):this.useStyle(a)},t.prototype.setStyle=function(n,a){return typeof n=="string"?this.style[n]=a:vt(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=dv,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&dv)},t.prototype.styleUpdated=function(){this.__dirty&=~dv},t.prototype.createStyle=function(n){return J1(tc,n)},t.prototype.useStyle=function(n){n[F_]||(n=this.createStyle(n)),this.style=n,this.dirtyStyle()},t.prototype._useHoverStyle=function(n){this.__hoverStyle=n},t.prototype.isStyleObject=function(n){return n[F_]},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var a=this._normalState;n.style&&!a.style&&(a.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,a,Jk)},t.prototype._applyStateObj=function(n,a,r,o,i,l){e.prototype._applyStateObj.call(this,n,a,r,o,i,l);var s=!(a&&o),u=this.__inHover===t2,c;if(a&&a.style?i?o?c=a.style:(c=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(c,a.style)):(c=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(c,a.style)):s&&(c=r.style),c)if(i){var d=this.style;if(this.style=this.createStyle(s?{}:d),s)for(var v=la(d),f=0;f<v.length;f++){var h=v[f];h in c&&(c[h]=c[h Line truncated
`,`
`,`
`];function Oh(e,t){return t.type=e,t}function n3(e){return e.type==="section"}function UR(e){return n3(e)?D9e:O9e}function GR(e){if(n3(e)){var t=0,n=e.blocks.length,a=n>1||n>0&&!e.noHeader;return we(e.blocks,function(r){var o=GR(r);o>=t&&(t=o+ +(a&&(!o||n3(r)&&!r.noHeader)))}),t}return 0}function D9e(e,t,n,a){var r=t.noHeader,o=$9e(GR(t)),i=[],l=t.blocks||[];Pl(!l||Lt(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Sr(u,s)){var c=new m9e(u[s],null);l.sort(function(m,g){return c.evaluate(m.sortParam,g.sortParam)})}else s==="seriesDesc"&&l.reverse()}we(l,function(m,g){var y=t.valueFormatter,b=UR(m)(y?vt(vt({},e),{valueFormatter:y}):e,m,g>0?o.html:0,a);b!=null&&i.push(b)});var d=e.renderMode==="richText"?i.join(o.richText):a3(a,i.join(""),r?n:o.html);if(r)return d;var v=Q_(t.header,"ordinal",e.useUTC),f=KR(a,e.renderMode).nameStyle,h=WR(a);return e.renderMode==="richText"?YR(e,v,f)+o.richText+d:a3(a,'<div style="'+f+";"+h+';">'+Or(v)+"</div>"+d,n)}function O9e(e,t,n,a){var r=e.renderMode,o=t.noName,i=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=Lt(w)?w:[w],Xt(w,function(S,k){return Q_(S,Lt(f)?f[k]:f,u)})};if(!(o&&i)){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||tn.color.secondary,r),v=o?"":Q_(s,"ordinal",u),f=t.valueType,h=i?[]:c(t.value,t.rawDataIndex),m=!l||!o,g=!l&&o,y=KR(a,r),b=y.nameStyle,_=y.valueStyle;return r==="richText"?(l?"":d)+(o?"":YR(e,v,b))+(i?"":B9e(e,h,m,g,_)):a3(a,(l?"":d)+(o?"":R9e(v,!l,b))+(i?"":N9e(h,m,g,_)),n)}}function sT(e,t,n,a,r,o){if(e){var i=UR(e),l={useUTC:r,renderMode:n,orderMode:a,markupStyleCreator:t,valueFormatter:e.valueFormatter};return i(l,e,0,o)}}function $9e(e){return{html:L9e[e],richText:P9e[e]}}function a3(e,t,n){var a='<div style="clear:both"></div>',r="margin: "+n+"px 0 0",o=WR(e);return'<div style="'+r+";"+o+';">'+t+a+"</div>"}function R9e(e,t,n){var a=t?"margin-left:2px":"";return'<span style="'+n+";"+a+'">'+Or(e)+"</span>"}function N9e(e,t,n,a){var r=n?"10px":"20px",o=t?"float:right;margin-left:"+r:"";return e=Lt(e)?e:[e],'<span style="'+o+";"+a+'">'+Xt(e,function(i){return Or(i)}).join("&nbsp;&nbsp;")+"</span>"}function YR(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function B9e(e,t,n,a,r){var o=[r],i=a?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Lt(t)?t.join(" "):t,o)}function V9e(e,t){var n=e.getData().getItemVisual(t,"style"),a=n[e.visualDrawType];return _c(a)}function jR(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var gb=function(){function e(){this.richTextStyles={},this._nextStyleNameId=c8()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,a){var r=a==="richText"?this._generateStyleName():null,o=yke({color:n,type:t,renderMode:a,markerId:r});return Ut(o)?o:(this.richTextStyles[r]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var a={};Lt(n)?we(n,function(o){return vt(a,o)}):vt(a,n);var r=this._generateStyleName();return this.richTextStyles[r]=a,"{"+r+"|"+t+"}"},e}();function z9e(e){var t=e.series,n=e.dataIndex,a=e.multipleSeries,r=t.getData(),o=r.mapDimensionsAll("defaultedTooltip"),i=o.length,l=t.getRawValue(n),s=Lt(l),u=V9e(t,n),c,d,v,f;if(i>1||s&&!i){var h=F9e(l,t,n,o,u);c=h.inlineValues,d=h.inlineValueTypes,v=h.blocks,f=h.inlineValues[0]}else if(i){var m=r.getDimensionInfo(o[0]);f=c=tf(r,n,o[0]),d=m.type}else f=c=s?l[0]:l;var g=d8(t),y=g&&t.name||"",b=r.getName(n),_=a?y:b;return Oh("section",{header:y,noHeader:a||!g,sortParam:f,blocks:[Oh("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Di(_),value:c,valueType:d,rawDataIndex:r.getRawIndex(n)})].concat(v||[])})}function F9e(e,t,n,a,r){var o=t.getData(),i=zs(e,function(d,v,f){var h=o.getDimensionInfo(f);return d=d||h&&h.tooltip!==!1&&h.displayName!=null},!1),l=[],s=[],u=[];a.length?we(a,function(d){c(tf(o,n,d),d)}):we(e,c);function c(d,v){var f=o.getDimensionInfo(v);!f||f.otherDims.tooltip===!1||(i?u.push(Oh("nameValue",{markerType:"subItem",markerColor:r,name:f.displayName,value:d,valueType:f.type})):(l.push(d),s.push(f.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var Jl=Hn();function C0(e,t){return e.getName(t)||e.getId(t)}var H9e="__universalTransitionEnabled",ai=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,a,r){this.seriesIndex=this.componentIndex,this.dataTask=Uv({count:K9e,reset:U9e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,r);var o=Jl(this).sourceManager=new A9e(this);o.prepareSource();var i=this.getInitialData(n,r);cT(i,this),this.dataTask.context.data=i,Jl(this).dataBeforeProcessed=i,uT(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(n,a){var r=Ph(this),o=r?kp(n):{},i=this.su Line truncated
`];function Oh(e,t){return t.type=e,t}function n3(e){return e.type==="section"}function UR(e){return n3(e)?O9e:$9e}function GR(e){if(n3(e)){var t=0,n=e.blocks.length,a=n>1||n>0&&!e.noHeader;return we(e.blocks,function(r){var o=GR(r);o>=t&&(t=o+ +(a&&(!o||n3(r)&&!r.noHeader)))}),t}return 0}function O9e(e,t,n,a){var r=t.noHeader,o=R9e(GR(t)),i=[],l=t.blocks||[];Pl(!l||Lt(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Sr(u,s)){var c=new g9e(u[s],null);l.sort(function(m,g){return c.evaluate(m.sortParam,g.sortParam)})}else s==="seriesDesc"&&l.reverse()}we(l,function(m,g){var y=t.valueFormatter,b=UR(m)(y?vt(vt({},e),{valueFormatter:y}):e,m,g>0?o.html:0,a);b!=null&&i.push(b)});var d=e.renderMode==="richText"?i.join(o.richText):a3(a,i.join(""),r?n:o.html);if(r)return d;var v=Q_(t.header,"ordinal",e.useUTC),f=KR(a,e.renderMode).nameStyle,h=WR(a);return e.renderMode==="richText"?YR(e,v,f)+o.richText+d:a3(a,'<div style="'+f+";"+h+';">'+Or(v)+"</div>"+d,n)}function $9e(e,t,n,a){var r=e.renderMode,o=t.noName,i=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=Lt(w)?w:[w],Xt(w,function(S,k){return Q_(S,Lt(f)?f[k]:f,u)})};if(!(o&&i)){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||tn.color.secondary,r),v=o?"":Q_(s,"ordinal",u),f=t.valueType,h=i?[]:c(t.value,t.rawDataIndex),m=!l||!o,g=!l&&o,y=KR(a,r),b=y.nameStyle,_=y.valueStyle;return r==="richText"?(l?"":d)+(o?"":YR(e,v,b))+(i?"":V9e(e,h,m,g,_)):a3(a,(l?"":d)+(o?"":N9e(v,!l,b))+(i?"":B9e(h,m,g,_)),n)}}function sT(e,t,n,a,r,o){if(e){var i=UR(e),l={useUTC:r,renderMode:n,orderMode:a,markupStyleCreator:t,valueFormatter:e.valueFormatter};return i(l,e,0,o)}}function R9e(e){return{html:P9e[e],richText:D9e[e]}}function a3(e,t,n){var a='<div style="clear:both"></div>',r="margin: "+n+"px 0 0",o=WR(e);return'<div style="'+r+";"+o+';">'+t+a+"</div>"}function N9e(e,t,n){var a=t?"margin-left:2px":"";return'<span style="'+n+";"+a+'">'+Or(e)+"</span>"}function B9e(e,t,n,a){var r=n?"10px":"20px",o=t?"float:right;margin-left:"+r:"";return e=Lt(e)?e:[e],'<span style="'+o+";"+a+'">'+Xt(e,function(i){return Or(i)}).join("&nbsp;&nbsp;")+"</span>"}function YR(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function V9e(e,t,n,a,r){var o=[r],i=a?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Lt(t)?t.join(" "):t,o)}function z9e(e,t){var n=e.getData().getItemVisual(t,"style"),a=n[e.visualDrawType];return _c(a)}function qR(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var gb=function(){function e(){this.richTextStyles={},this._nextStyleNameId=c8()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,a){var r=a==="richText"?this._generateStyleName():null,o=bke({color:n,type:t,renderMode:a,markerId:r});return Ut(o)?o:(this.richTextStyles[r]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var a={};Lt(n)?we(n,function(o){return vt(a,o)}):vt(a,n);var r=this._generateStyleName();return this.richTextStyles[r]=a,"{"+r+"|"+t+"}"},e}();function F9e(e){var t=e.series,n=e.dataIndex,a=e.multipleSeries,r=t.getData(),o=r.mapDimensionsAll("defaultedTooltip"),i=o.length,l=t.getRawValue(n),s=Lt(l),u=z9e(t,n),c,d,v,f;if(i>1||s&&!i){var h=H9e(l,t,n,o,u);c=h.inlineValues,d=h.inlineValueTypes,v=h.blocks,f=h.inlineValues[0]}else if(i){var m=r.getDimensionInfo(o[0]);f=c=tf(r,n,o[0]),d=m.type}else f=c=s?l[0]:l;var g=d8(t),y=g&&t.name||"",b=r.getName(n),_=a?y:b;return Oh("section",{header:y,noHeader:a||!g,sortParam:f,blocks:[Oh("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Di(_),value:c,valueType:d,rawDataIndex:r.getRawIndex(n)})].concat(v||[])})}function H9e(e,t,n,a,r){var o=t.getData(),i=zs(e,function(d,v,f){var h=o.getDimensionInfo(f);return d=d||h&&h.tooltip!==!1&&h.displayName!=null},!1),l=[],s=[],u=[];a.length?we(a,function(d){c(tf(o,n,d),d)}):we(e,c);function c(d,v){var f=o.getDimensionInfo(v);!f||f.otherDims.tooltip===!1||(i?u.push(Oh("nameValue",{markerType:"subItem",markerColor:r,name:f.displayName,value:d,valueType:f.type})):(l.push(d),s.push(f.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var Jl=Hn();function C0(e,t){return e.getName(t)||e.getId(t)}var W9e="__universalTransitionEnabled",ai=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,a,r){this.seriesIndex=this.componentIndex,this.dataTask=Uv({count:U9e,reset:G9e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,r);var o=Jl(this).sourceManager=new I9e(this);o.prepareSource();var i=this.getInitialData(n,r);cT(i,this),this.dataTask.context.data=i,Jl(this).dataBeforeProcessed=i,uT(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(n,a){var r=Ph(this),o=r?kp(n):{},i=this.su Line truncated
`:"<br/>",y=d.join(g);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,f,i[0],i[1],this._tooltipContent,u):this._showTooltipContent(l,y,u,Math.random()+"",i[0],i[1],f,null,v)})},t.prototype._showSeriesItemTooltip=function(n,a,r){var o=this._ecModel,i=In(a),l=i.seriesIndex,s=o.getSeriesByIndex(l),u=i.dataModel||s,c=i.dataIndex,d=i.dataType,v=u.getData(d),f=this._renderMode,h=n.positionDefault,m=Qf([v.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),g=m.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(c,d),b=new gb;y.marker=b.makeTooltipMarker("item",_c(y.color),f);var _=aT(u.formatTooltip(c,!1,d)),w=m.get("order"),S=m.get("valueFormatter"),k=_.frag,T=k?sT(S?vt({valueFormatter:S},k):k,b,f,w,o.get("useUTC"),m.get("textStyle")):_.text,M="item_"+u.name+"_"+c;this._showOrMove(m,function(){this._showTooltipContent(m,T,y,M,n.offsetX,n.offsetY,n.position,n.target,b)}),r({type:"showTip",dataIndexInside:c,dataIndex:v.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,a,r){var o=this._renderMode==="html",i=In(a),l=i.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(Ut(s)){var c=s;s={content:c,formatter:c},u=!0}u&&o&&s.content&&(s=yn(s),s.content=Or(s.content));var d=[s],v=this._ecModel.getComponent(i.componentMainType,i.componentIndex);v&&d.push(v),d.push({formatter:s.content});var f=n.positionDefault,h=Qf(d,this._tooltipModel,f?{position:f}:null),m=h.get("content"),g=Math.random()+"",y=new gb;this._showOrMove(h,function(){var b=yn(h.get("formatterParams")||{});this._showTooltipContent(h,m,b,g,n.offsetX,n.offsetY,n.position,a,y)}),r({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,a,r,o,i,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var d=this._tooltipContent;d.setEnterable(n.get("enterable"));var v=n.get("formatter");s=s||n.get("position");var f=a,h=this._getNearestPoint([i,l],r,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)),m=h.color;if(v)if(Ut(v)){var g=n.ecModel.get("useUTC"),y=Lt(r)?r[0]:r,b=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=v,b&&(f=g2(y.axisValue,f,g)),f=bR(f,r,!0)}else if(dn(v)){var _=qn(function(w,S){w===this._ticket&&(d.setContent(S,c,n,m,s),this._updatePosition(n,s,i,l,d,r,u))},this);this._ticket=o,f=v(r,o,_)}else f=v;d.setContent(f,c,n,m,s),d.show(n,m),this._updatePosition(n,s,i,l,d,r,u)}},t.prototype._getNearestPoint=function(n,a,r,o,i){if(r==="axis"||Lt(a))return{color:o||i};if(!Lt(a))return{color:o||a.color||a.borderColor}},t.prototype._updatePosition=function(n,a,r,o,i,l,s){var u=this._api.getWidth(),c=this._api.getHeight();a=a||n.get("position");var d=i.getSize(),v=n.get("align"),f=n.get("verticalAlign"),h=s&&s.getBoundingRect().clone();if(s&&h.applyTransform(s.transform),dn(a)&&(a=a([r,o],l,i.el,h,{viewSize:[u,c],contentSize:d.slice()})),Lt(a))r=sa(a[0],u),o=sa(a[1],c);else if(Yt(a)){var m=a;m.width=d[0],m.height=d[1];var g=wc(m,{width:u,height:c});r=g.x,o=g.y,v=null,f=null}else if(Ut(a)&&s){var y=CLe(a,h,d,n.get("borderWidth"));r=y[0],o=y[1]}else{var y=wLe(r,o,i,u,c,v?null:20,f?null:20);r=y[0],o=y[1]}if(v&&(r-=tE(v)?d[0]/2:v==="right"?d[0]:0),f&&(o-=tE(f)?d[1]/2:f==="bottom"?d[1]:0),XB(n)){var y=SLe(r,o,i,u,c);r=y[0],o=y[1]}i.moveTo(r,o)},t.prototype._updateContentNotChangedOnAxis=function(n,a){var r=this._lastDataByCoordSys,o=this._cbParamsList,i=!!r&&r.length===n.length;return i&&we(r,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},d=c.dataByAxis||[];i=i&&u.length===d.length,i&&we(u,function(v,f){var h=d[f]||{},m=v.seriesDataIndices||[],g=h.seriesDataIndices||[];i=i&&v.value===h.value&&v.axisType===h.axisType&&v.axisId===h.axisId&&m.length===g.length,i&&we(m,function(y,b){var _=g[b];i=i&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),o&&we(v.seriesDataIndices,function(y){var b=y.seriesIndex,_=a[b],w=o[b];_&&w&&w.data!==_.data&&(i=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=a,!!i},t.prototype._hide=function(n){this._lastDataByCoordSys=null,this._cbParamsList=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,a){hn.node||!a.getDom()||(o3(this,"_updatePosition"),this._tooltipContent.dispose(),E3("itemTooltip",a),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},t.type="tooltip",t}(el);function Qf(e,t,n){var a=t.ecModel,r;n?(r=new fa(n,a,a),r=new fa(t.option,r,a)):r=t;for(var o=e.length-1;o>=0;o--){var i=e[o];i&&(i instanceof fa&&(i=i.get("tooltip",!0)),Ut(i)&&(i={formatter:i}),i&&(r=new fa(i,r,a)))}return r}function eE(e,t){return e.dispatchAction||qn(t.dispatchAction,t)}function wLe(e,t,n,a,r,o,i){var l=n.getSize(),s=l[0],u=l[1];return o!=null&&(e+s+o+2>a?e-=s+o:e+=o),i!=null&&(t+u+i>r?t-=u+i:t+=i),[e,t]}function SLe(e,t,n,a,r){var o=n.getSize(),i=o[0],l=o[1];return e=Math.min(e+i,a)-i,t=Math.min(t+l,r)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function CLe(e,t,n,a){v Line truncated
`)){var b=new W0;b.newline=!0,u.add(b);return}var _=r.getSeriesByName(y)[0];if(!c.get(y))if(_){var w=_.getData(),S=w.getVisual("legendLineStyle")||{},k=w.getVisual("legendIcon"),T=w.getVisual("style"),M=this._createItem(_,y,m,h,a,n,S,T,k,d,o);M.on("click",ed(nE,y,null,o,f)).on("mouseover",ed(L3,_.name,null,o,f)).on("mouseout",ed(P3,_.name,null,o,f)),r.ssr&&M.eachChild(function(E){var A=In(E);A.seriesIndex=_.seriesIndex,A.dataIndex=m,A.ssrType="legend"}),v&&M.eachChild(function(E){g.packEventData(E,a,_,m,y)}),c.set(y,!0)}else r.eachRawSeries(function(E){var A=this;if(!c.get(y)&&E.legendVisualProvider){var I=E.legendVisualProvider;if(!I.containName(y))return;var P=I.indexOfName(y),R=I.getItemVisual(P,"style"),G=I.getItemVisual(P,"legendIcon"),K=Fi(R.fill);K&&K[3]===0&&(K[3]=.2,R=vt(vt({},R),{fill:mp(K,"rgba")}));var H=this._createItem(E,y,m,h,a,n,{},R,G,d,o);H.on("click",ed(nE,null,y,o,f)).on("mouseover",ed(L3,null,y,o,f)).on("mouseout",ed(P3,null,y,o,f)),r.ssr&&H.eachChild(function(z){var B=In(z);B.seriesIndex=E.seriesIndex,B.dataIndex=m,B.ssrType="legend"}),v&&H.eachChild(function(z){A.packEventData(z,a,E,m,y)}),c.set(y,!0)}},this)},this),i&&this._createSelector(i,a,o,l,s)},t.prototype.packEventData=function(n,a,r,o,i){var l={componentType:"legend",componentIndex:a.componentIndex,dataIndex:o,value:i,seriesIndex:r.seriesIndex};In(n).eventData=l},t.prototype._createSelector=function(n,a,r,o,i){var l=this.getSelectorGroup();I3(n,function(u){var c=u.type,d=new Er({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){r.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:a.id})}});l.add(d);var v=a.getModel("selectorLabel"),f=a.getModel(["emphasis","selectorLabel"]);Cp(d,{normal:v,emphasis:f},{defaultText:u.title}),G_(d)})},t.prototype._createItem=function(n,a,r,o,i,l,s,u,c,d,v){var f=n.visualDrawType,h=i.get("itemWidth"),m=i.get("itemHeight"),g=i.isSelected(a),y=o.get("symbolRotate"),b=o.get("symbolKeepAspect"),_=o.get("icon");c=_||c||"roundRect";var w=MLe(c,o,s,u,f,g,v),S=new W0,k=o.getModel("textStyle");if(dn(n.getLegendIcon)&&(!_||_==="inherit"))S.add(n.getLegendIcon({itemWidth:h,itemHeight:m,icon:c,iconRotate:y,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:b}));else{var T=_==="inherit"&&n.getData().getVisual("symbol")?y==="inherit"?n.getData().getVisual("symbolRotate"):y:0;S.add(ELe({itemWidth:h,itemHeight:m,icon:c,iconRotate:T,itemStyle:w.itemStyle,symbolKeepAspect:b}))}var M=l==="left"?h+5:-5,E=l,A=i.get("formatter"),I=a;Ut(A)&&A?I=A.replace("{name}",a??""):dn(A)&&(I=A(a));var P=g?k.getTextColor():o.get("inactiveColor");S.add(new Er({style:ef(k,{text:I,x:M,y:m/2,fill:P,align:E,verticalAlign:"middle"},{inheritColor:P})}));var R=new ga({shape:S.getBoundingRect(),style:{fill:"transparent"}}),G=o.getModel("tooltip");return G.get("show")&&d2({el:R,componentModel:i,itemName:a,itemTooltipOption:G.option}),S.add(R),S.eachChild(function(K){K.silent=!0}),R.silent=!d,this.getContentGroup().add(S),G_(S),S.__legendDataIndex=r,S},t.prototype.layoutInner=function(n,a,r,o,i,l){var s=this.getContentGroup(),u=this.getSelectorGroup();Kv(n.get("orient"),s,n.get("itemGap"),r.width,r.height);var c=s.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),i){Kv("horizontal",u,n.get("selectorItemGap",!0));var v=u.getBoundingRect(),f=[-v.x,-v.y],h=n.get("selectorButtonGap",!0),m=n.getOrient().index,g=m===0?"width":"height",y=m===0?"height":"width",b=m===0?"y":"x";l==="end"?f[m]+=c[g]+h:d[m]+=v[g]+h,f[1-m]+=c[y]/2-v[y]/2,u.x=f[0],u.y=f[1],s.x=d[0],s.y=d[1];var _={x:0,y:0};return _[g]=c[g]+h+v[g],_[y]=Math.max(c[y],v[y]),_[b]=Math.min(0,v[b]+f[1-m]),_}else return s.x=d[0],s.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(el);function MLe(e,t,n,a,r,o,i){function l(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),I3(g,function(b,_){g[_]==="inherit"&&(g[_]=y[_])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=s.getShallow("decal");u.decal=!d||d==="inherit"?a.decal:c3(d,i),u.fill==="inherit"&&(u.fill=a[r]),u.stroke==="inherit"&&(u.stroke=a[c]),u.opacity==="inherit"&&(u.opacity=(r==="fill"?a:n).opacity),l(u,a);var v=t.getModel("lineStyle"),f=v.getLineStyle();if(l(f,n),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),f.stroke==="auto"&&(f.stroke=a.fill),!o){var h=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth=h==="auto"?a.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=v.get("inactiveColor"),f.lineWidth=v.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function ELe(e){var t=e.icon||"roundRect",n=nf(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.s Line truncated
`||r==="")){var o=e.isSelected(r);Sr(n,r)?n[r]=n[r]&&o:n[r]=o}}),n}function ALe(e){e.registerAction("legendToggleSelect","legendselectchanged",Sa(ev,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Sa(ev,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Sa(ev,"inverseSelect")),e.registerAction("legendSelect","legendselected",Sa(ev,"select")),e.registerAction("legendUnSelect","legendunselected",Sa(ev,"unSelect"))}var ILe=h8(LLe);function LLe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(n){for(var a=0;a<t.length;a++)if(!t[a].isSelected(n.name))return!1;return!0})}function tV(e){e.registerComponentModel(A3),e.registerComponentView(eV),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,ILe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),ALe(e)}var PLe=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,a,r){var o=kp(n);e.prototype.init.call(this,n,a,r),rE(this,n,o)},t.prototype.mergeOption=function(n,a){e.prototype.mergeOption.call(this,n,a),rE(this,this.option,n)},t.type="legend.scroll",t.defaultOption=iR(A3.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:tn.color.accent50,pageIconInactiveColor:tn.color.accent10,pageIconSize:15,pageTextStyle:{color:tn.color.tertiary},animationDurationUpdate:800}),t}(A3);function rE(e,t,n){var a=e.getOrient(),r=[1,1];r[a.index]=0,Hs(t,n,{type:"box",ignoreSize:!!r})}var oE=Ha,Vb=["width","height"],zb=["x","y"],DLe=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new oE),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new oE)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,a,r,o,i,l,s){var u=this;e.prototype.renderInner.call(this,n,a,r,o,i,l,s);var c=this._controllerGroup,d=a.get("pageIconSize",!0),v=Lt(d)?d:[d,d];h("pagePrev",0);var f=a.getModel("pageTextStyle");c.add(new Er({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1);function h(m,g){var y=m+"DataIndex",b=L8(a.get("pageIcons",!0)[a.getOrient().name][g],{onclick:qn(u._pageGo,u,y,a,o)},{x:-v[0]/2,y:-v[1]/2,width:v[0],height:v[1]});b.name=m,c.add(b)}},t.prototype.layoutInner=function(n,a,r,o,i,l){var s=this.getSelectorGroup(),u=n.getOrient().index,c=Vb[u],d=zb[u],v=Vb[1-u],f=zb[1-u];i&&Kv("horizontal",s,n.get("selectorItemGap",!0));var h=n.get("selectorButtonGap",!0),m=s.getBoundingRect(),g=[-m.x,-m.y],y=yn(r);i&&(y[c]=r[c]-m[c]-h);var b=this._layoutContentAndController(n,o,y,u,c,v,f,d);if(i){if(l==="end")g[u]+=b[c]+h;else{var _=m[c]+h;g[u]-=_,b[d]-=_}b[c]+=m[c]+h,g[1-u]+=b[f]+b[v]/2-m[v]/2,b[v]=Math.max(b[v],m[v]),b[f]=Math.min(b[f],m[f]+g[1-u]),s.x=g[0],s.y=g[1],s.markRedraw()}return b},t.prototype._layoutContentAndController=function(n,a,r,o,i,l,s,u){var c=this.getContentGroup(),d=this._containerGroup,v=this._controllerGroup;Kv(n.get("orient"),c,n.get("itemGap"),o?r.width:null,o?null:r.height),Kv("horizontal",v,n.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),h=v.getBoundingRect(),m=this._showController=f[i]>r[i],g=[-f.x,-f.y];a||(g[o]=c[u]);var y=[0,0],b=[-h.x,-h.y],_=jt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(m){var w=n.get("pageButtonPosition",!0);w==="end"?b[o]+=r[i]-h[i]:y[o]+=h[i]+_}b[1-o]+=f[l]/2-h[l]/2,c.setPosition(g),d.setPosition(y),v.setPosition(b);var S={x:0,y:0};if(S[i]=m?r[i]:f[i],S[l]=Math.max(f[l],h[l]),S[s]=Math.min(0,h[s]+b[1-o]),d.__rectSize=r[i],m){var k={x:0,y:0};k[i]=Math.max(r[i]-h[i]-_,0),k[l]=S[l],d.setClipPath(new ga({shape:k})),d.__rectSize=k[i]}else v.eachChild(function(M){M.attr({invisible:!0,silent:!0})});var T=this._getPageInfo(n);return T.pageIndex!=null&&Ar(c,{x:T.contentPosition[0],y:T.contentPosition[1]},m?n:null),this._updatePageInfoView(n,T),S},t.prototype._pageGo=function(n,a,r){var o=this._getPageInfo(a)[n];o!=null&&r.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:a.id})},t.prototype._updatePageInfoView=function(n,a){var r=this._controllerGroup;we(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",v=a[d]!=null,f=r.childOfName(c);f&&(f.setStyle("fill",v?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),f.cursor=v?"pointer":"default")});var o=r.childOfName("pageText"),i=n.get("pageFo Line truncated
`:"<br/>",y=d.join(g);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,f,i[0],i[1],this._tooltipContent,u):this._showTooltipContent(l,y,u,Math.random()+"",i[0],i[1],f,null,v)})},t.prototype._showSeriesItemTooltip=function(n,a,r){var o=this._ecModel,i=In(a),l=i.seriesIndex,s=o.getSeriesByIndex(l),u=i.dataModel||s,c=i.dataIndex,d=i.dataType,v=u.getData(d),f=this._renderMode,h=n.positionDefault,m=Qf([v.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),g=m.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(c,d),b=new gb;y.marker=b.makeTooltipMarker("item",_c(y.color),f);var _=aT(u.formatTooltip(c,!1,d)),w=m.get("order"),S=m.get("valueFormatter"),k=_.frag,T=k?sT(S?vt({valueFormatter:S},k):k,b,f,w,o.get("useUTC"),m.get("textStyle")):_.text,M="item_"+u.name+"_"+c;this._showOrMove(m,function(){this._showTooltipContent(m,T,y,M,n.offsetX,n.offsetY,n.position,n.target,b)}),r({type:"showTip",dataIndexInside:c,dataIndex:v.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,a,r){var o=this._renderMode==="html",i=In(a),l=i.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(Ut(s)){var c=s;s={content:c,formatter:c},u=!0}u&&o&&s.content&&(s=yn(s),s.content=Or(s.content));var d=[s],v=this._ecModel.getComponent(i.componentMainType,i.componentIndex);v&&d.push(v),d.push({formatter:s.content});var f=n.positionDefault,h=Qf(d,this._tooltipModel,f?{position:f}:null),m=h.get("content"),g=Math.random()+"",y=new gb;this._showOrMove(h,function(){var b=yn(h.get("formatterParams")||{});this._showTooltipContent(h,m,b,g,n.offsetX,n.offsetY,n.position,a,y)}),r({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,a,r,o,i,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var d=this._tooltipContent;d.setEnterable(n.get("enterable"));var v=n.get("formatter");s=s||n.get("position");var f=a,h=this._getNearestPoint([i,l],r,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)),m=h.color;if(v)if(Ut(v)){var g=n.ecModel.get("useUTC"),y=Lt(r)?r[0]:r,b=y&&y.axisType&&y.axisType.indexOf("time")>=0;f=v,b&&(f=g2(y.axisValue,f,g)),f=bR(f,r,!0)}else if(dn(v)){var _=jn(function(w,S){w===this._ticket&&(d.setContent(S,c,n,m,s),this._updatePosition(n,s,i,l,d,r,u))},this);this._ticket=o,f=v(r,o,_)}else f=v;d.setContent(f,c,n,m,s),d.show(n,m),this._updatePosition(n,s,i,l,d,r,u)}},t.prototype._getNearestPoint=function(n,a,r,o,i){if(r==="axis"||Lt(a))return{color:o||i};if(!Lt(a))return{color:o||a.color||a.borderColor}},t.prototype._updatePosition=function(n,a,r,o,i,l,s){var u=this._api.getWidth(),c=this._api.getHeight();a=a||n.get("position");var d=i.getSize(),v=n.get("align"),f=n.get("verticalAlign"),h=s&&s.getBoundingRect().clone();if(s&&h.applyTransform(s.transform),dn(a)&&(a=a([r,o],l,i.el,h,{viewSize:[u,c],contentSize:d.slice()})),Lt(a))r=sa(a[0],u),o=sa(a[1],c);else if(Yt(a)){var m=a;m.width=d[0],m.height=d[1];var g=wc(m,{width:u,height:c});r=g.x,o=g.y,v=null,f=null}else if(Ut(a)&&s){var y=xLe(a,h,d,n.get("borderWidth"));r=y[0],o=y[1]}else{var y=SLe(r,o,i,u,c,v?null:20,f?null:20);r=y[0],o=y[1]}if(v&&(r-=tE(v)?d[0]/2:v==="right"?d[0]:0),f&&(o-=tE(f)?d[1]/2:f==="bottom"?d[1]:0),XB(n)){var y=CLe(r,o,i,u,c);r=y[0],o=y[1]}i.moveTo(r,o)},t.prototype._updateContentNotChangedOnAxis=function(n,a){var r=this._lastDataByCoordSys,o=this._cbParamsList,i=!!r&&r.length===n.length;return i&&we(r,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},d=c.dataByAxis||[];i=i&&u.length===d.length,i&&we(u,function(v,f){var h=d[f]||{},m=v.seriesDataIndices||[],g=h.seriesDataIndices||[];i=i&&v.value===h.value&&v.axisType===h.axisType&&v.axisId===h.axisId&&m.length===g.length,i&&we(m,function(y,b){var _=g[b];i=i&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),o&&we(v.seriesDataIndices,function(y){var b=y.seriesIndex,_=a[b],w=o[b];_&&w&&w.data!==_.data&&(i=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=a,!!i},t.prototype._hide=function(n){this._lastDataByCoordSys=null,this._cbParamsList=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,a){hn.node||!a.getDom()||(o3(this,"_updatePosition"),this._tooltipContent.dispose(),E3("itemTooltip",a),this._tooltipContent=null,this._tooltipModel=null,this._lastDataByCoordSys=null,this._cbParamsList=null)},t.type="tooltip",t}(el);function Qf(e,t,n){var a=t.ecModel,r;n?(r=new fa(n,a,a),r=new fa(t.option,r,a)):r=t;for(var o=e.length-1;o>=0;o--){var i=e[o];i&&(i instanceof fa&&(i=i.get("tooltip",!0)),Ut(i)&&(i={formatter:i}),i&&(r=new fa(i,r,a)))}return r}function eE(e,t){return e.dispatchAction||jn(t.dispatchAction,t)}function SLe(e,t,n,a,r,o,i){var l=n.getSize(),s=l[0],u=l[1];return o!=null&&(e+s+o+2>a?e-=s+o:e+=o),i!=null&&(t+u+i>r?t-=u+i:t+=i),[e,t]}function CLe(e,t,n,a,r){var o=n.getSize(),i=o[0],l=o[1];return e=Math.min(e+i,a)-i,t=Math.min(t+l,r)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function xLe(e,t,n,a){v Line truncated
`)){var b=new W0;b.newline=!0,u.add(b);return}var _=r.getSeriesByName(y)[0];if(!c.get(y))if(_){var w=_.getData(),S=w.getVisual("legendLineStyle")||{},k=w.getVisual("legendIcon"),T=w.getVisual("style"),M=this._createItem(_,y,m,h,a,n,S,T,k,d,o);M.on("click",ed(nE,y,null,o,f)).on("mouseover",ed(L3,_.name,null,o,f)).on("mouseout",ed(P3,_.name,null,o,f)),r.ssr&&M.eachChild(function(E){var A=In(E);A.seriesIndex=_.seriesIndex,A.dataIndex=m,A.ssrType="legend"}),v&&M.eachChild(function(E){g.packEventData(E,a,_,m,y)}),c.set(y,!0)}else r.eachRawSeries(function(E){var A=this;if(!c.get(y)&&E.legendVisualProvider){var I=E.legendVisualProvider;if(!I.containName(y))return;var P=I.indexOfName(y),R=I.getItemVisual(P,"style"),G=I.getItemVisual(P,"legendIcon"),K=Fi(R.fill);K&&K[3]===0&&(K[3]=.2,R=vt(vt({},R),{fill:mp(K,"rgba")}));var H=this._createItem(E,y,m,h,a,n,{},R,G,d,o);H.on("click",ed(nE,null,y,o,f)).on("mouseover",ed(L3,null,y,o,f)).on("mouseout",ed(P3,null,y,o,f)),r.ssr&&H.eachChild(function(z){var B=In(z);B.seriesIndex=E.seriesIndex,B.dataIndex=m,B.ssrType="legend"}),v&&H.eachChild(function(z){A.packEventData(z,a,E,m,y)}),c.set(y,!0)}},this)},this),i&&this._createSelector(i,a,o,l,s)},t.prototype.packEventData=function(n,a,r,o,i){var l={componentType:"legend",componentIndex:a.componentIndex,dataIndex:o,value:i,seriesIndex:r.seriesIndex};In(n).eventData=l},t.prototype._createSelector=function(n,a,r,o,i){var l=this.getSelectorGroup();I3(n,function(u){var c=u.type,d=new Er({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){r.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:a.id})}});l.add(d);var v=a.getModel("selectorLabel"),f=a.getModel(["emphasis","selectorLabel"]);Cp(d,{normal:v,emphasis:f},{defaultText:u.title}),G_(d)})},t.prototype._createItem=function(n,a,r,o,i,l,s,u,c,d,v){var f=n.visualDrawType,h=i.get("itemWidth"),m=i.get("itemHeight"),g=i.isSelected(a),y=o.get("symbolRotate"),b=o.get("symbolKeepAspect"),_=o.get("icon");c=_||c||"roundRect";var w=ELe(c,o,s,u,f,g,v),S=new W0,k=o.getModel("textStyle");if(dn(n.getLegendIcon)&&(!_||_==="inherit"))S.add(n.getLegendIcon({itemWidth:h,itemHeight:m,icon:c,iconRotate:y,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:b}));else{var T=_==="inherit"&&n.getData().getVisual("symbol")?y==="inherit"?n.getData().getVisual("symbolRotate"):y:0;S.add(ALe({itemWidth:h,itemHeight:m,icon:c,iconRotate:T,itemStyle:w.itemStyle,symbolKeepAspect:b}))}var M=l==="left"?h+5:-5,E=l,A=i.get("formatter"),I=a;Ut(A)&&A?I=A.replace("{name}",a??""):dn(A)&&(I=A(a));var P=g?k.getTextColor():o.get("inactiveColor");S.add(new Er({style:ef(k,{text:I,x:M,y:m/2,fill:P,align:E,verticalAlign:"middle"},{inheritColor:P})}));var R=new ga({shape:S.getBoundingRect(),style:{fill:"transparent"}}),G=o.getModel("tooltip");return G.get("show")&&d2({el:R,componentModel:i,itemName:a,itemTooltipOption:G.option}),S.add(R),S.eachChild(function(K){K.silent=!0}),R.silent=!d,this.getContentGroup().add(S),G_(S),S.__legendDataIndex=r,S},t.prototype.layoutInner=function(n,a,r,o,i,l){var s=this.getContentGroup(),u=this.getSelectorGroup();Kv(n.get("orient"),s,n.get("itemGap"),r.width,r.height);var c=s.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),i){Kv("horizontal",u,n.get("selectorItemGap",!0));var v=u.getBoundingRect(),f=[-v.x,-v.y],h=n.get("selectorButtonGap",!0),m=n.getOrient().index,g=m===0?"width":"height",y=m===0?"height":"width",b=m===0?"y":"x";l==="end"?f[m]+=c[g]+h:d[m]+=v[g]+h,f[1-m]+=c[y]/2-v[y]/2,u.x=f[0],u.y=f[1],s.x=d[0],s.y=d[1];var _={x:0,y:0};return _[g]=c[g]+h+v[g],_[y]=Math.max(c[y],v[y]),_[b]=Math.min(0,v[b]+f[1-m]),_}else return s.x=d[0],s.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(el);function ELe(e,t,n,a,r,o,i){function l(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),I3(g,function(b,_){g[_]==="inherit"&&(g[_]=y[_])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=s.getShallow("decal");u.decal=!d||d==="inherit"?a.decal:c3(d,i),u.fill==="inherit"&&(u.fill=a[r]),u.stroke==="inherit"&&(u.stroke=a[c]),u.opacity==="inherit"&&(u.opacity=(r==="fill"?a:n).opacity),l(u,a);var v=t.getModel("lineStyle"),f=v.getLineStyle();if(l(f,n),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),f.stroke==="auto"&&(f.stroke=a.fill),!o){var h=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth=h==="auto"?a.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=v.get("inactiveColor"),f.lineWidth=v.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function ALe(e){var t=e.icon||"roundRect",n=nf(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.s Line truncated
`||r==="")){var o=e.isSelected(r);Sr(n,r)?n[r]=n[r]&&o:n[r]=o}}),n}function ILe(e){e.registerAction("legendToggleSelect","legendselectchanged",Sa(ev,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Sa(ev,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Sa(ev,"inverseSelect")),e.registerAction("legendSelect","legendselected",Sa(ev,"select")),e.registerAction("legendUnSelect","legendunselected",Sa(ev,"unSelect"))}var LLe=h8(PLe);function PLe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(n){for(var a=0;a<t.length;a++)if(!t[a].isSelected(n.name))return!1;return!0})}function tV(e){e.registerComponentModel(A3),e.registerComponentView(eV),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,LLe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),ILe(e)}var DLe=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,a,r){var o=kp(n);e.prototype.init.call(this,n,a,r),rE(this,n,o)},t.prototype.mergeOption=function(n,a){e.prototype.mergeOption.call(this,n,a),rE(this,this.option,n)},t.type="legend.scroll",t.defaultOption=iR(A3.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:tn.color.accent50,pageIconInactiveColor:tn.color.accent10,pageIconSize:15,pageTextStyle:{color:tn.color.tertiary},animationDurationUpdate:800}),t}(A3);function rE(e,t,n){var a=e.getOrient(),r=[1,1];r[a.index]=0,Hs(t,n,{type:"box",ignoreSize:!!r})}var oE=Ha,Vb=["width","height"],zb=["x","y"],OLe=function(e){At(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new oE),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new oE)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,a,r,o,i,l,s){var u=this;e.prototype.renderInner.call(this,n,a,r,o,i,l,s);var c=this._controllerGroup,d=a.get("pageIconSize",!0),v=Lt(d)?d:[d,d];h("pagePrev",0);var f=a.getModel("pageTextStyle");c.add(new Er({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1);function h(m,g){var y=m+"DataIndex",b=L8(a.get("pageIcons",!0)[a.getOrient().name][g],{onclick:jn(u._pageGo,u,y,a,o)},{x:-v[0]/2,y:-v[1]/2,width:v[0],height:v[1]});b.name=m,c.add(b)}},t.prototype.layoutInner=function(n,a,r,o,i,l){var s=this.getSelectorGroup(),u=n.getOrient().index,c=Vb[u],d=zb[u],v=Vb[1-u],f=zb[1-u];i&&Kv("horizontal",s,n.get("selectorItemGap",!0));var h=n.get("selectorButtonGap",!0),m=s.getBoundingRect(),g=[-m.x,-m.y],y=yn(r);i&&(y[c]=r[c]-m[c]-h);var b=this._layoutContentAndController(n,o,y,u,c,v,f,d);if(i){if(l==="end")g[u]+=b[c]+h;else{var _=m[c]+h;g[u]-=_,b[d]-=_}b[c]+=m[c]+h,g[1-u]+=b[f]+b[v]/2-m[v]/2,b[v]=Math.max(b[v],m[v]),b[f]=Math.min(b[f],m[f]+g[1-u]),s.x=g[0],s.y=g[1],s.markRedraw()}return b},t.prototype._layoutContentAndController=function(n,a,r,o,i,l,s,u){var c=this.getContentGroup(),d=this._containerGroup,v=this._controllerGroup;Kv(n.get("orient"),c,n.get("itemGap"),o?r.width:null,o?null:r.height),Kv("horizontal",v,n.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),h=v.getBoundingRect(),m=this._showController=f[i]>r[i],g=[-f.x,-f.y];a||(g[o]=c[u]);var y=[0,0],b=[-h.x,-h.y],_=qt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(m){var w=n.get("pageButtonPosition",!0);w==="end"?b[o]+=r[i]-h[i]:y[o]+=h[i]+_}b[1-o]+=f[l]/2-h[l]/2,c.setPosition(g),d.setPosition(y),v.setPosition(b);var S={x:0,y:0};if(S[i]=m?r[i]:f[i],S[l]=Math.max(f[l],h[l]),S[s]=Math.min(0,h[s]+b[1-o]),d.__rectSize=r[i],m){var k={x:0,y:0};k[i]=Math.max(r[i]-h[i]-_,0),k[l]=S[l],d.setClipPath(new ga({shape:k})),d.__rectSize=k[i]}else v.eachChild(function(M){M.attr({invisible:!0,silent:!0})});var T=this._getPageInfo(n);return T.pageIndex!=null&&Ar(c,{x:T.contentPosition[0],y:T.contentPosition[1]},m?n:null),this._updatePageInfoView(n,T),S},t.prototype._pageGo=function(n,a,r){var o=this._getPageInfo(a)[n];o!=null&&r.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:a.id})},t.prototype._updatePageInfoView=function(n,a){var r=this._controllerGroup;we(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",v=a[d]!=null,f=r.childOfName(c);f&&(f.setStyle("fill",v?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),f.cursor=v?"pointer":"default")});var o=r.childOfName("pageText"),i=n.get("pageFo Line truncated
商户密钥: ${I}
网关地址: ${v.value.base_url||""}
下单接口: ${(v.value.base_url||"")+"/submit.php"}
查询接口: ${(v.value.base_url||"")+"/api.php"}
回调端点 notify_url: ${d.value||""}`;try{await navigator.clipboard.writeText(P),We.success("已复制")}catch(R){We.error("复制失败: "+R.message)}}return y(),(I,P)=>{const R=be("el-icon"),G=be("el-button"),K=be("el-alert"),H=be("el-tag"),z=be("el-descriptions-item"),B=be("el-descriptions"),W=be("el-empty"),N=be("el-step"),V=be("el-steps"),Y=be("el-input"),X=be("el-form-item"),ee=be("el-form"),re=be("el-dialog"),ie=be("el-divider"),le=be("el-timeline-item"),ve=be("el-timeline"),he=Gr("loading");return x(),O("div",IRe,[C("div",LRe,[C("div",PRe,[P[11]||(P[11]=C("span",{class:"section-label"},"上游对接方管理(多商户)",-1)),C("div",DRe,[C("span",ORe,"共 "+Q(n.value.length)+" 个上游",1),L(G,{type:"primary",size:"small",onClick:_},{default:$(()=>[L(R,null,{default:$(()=>[L(p(hf))]),_:1}),P[10]||(P[10]=ue(" 新增上游 ",-1))]),_:1})])]),C("div",$Re,[L(K,{type:"info",closable:!1,class:"mb16",title:"每个上游拥有独立的易支付 pid + 密钥:下单验签、回调签名均按 pid 路由,互不伪造。"}),st((x(),O("div",RRe,[(x(!0),O(Ve,null,dt(n.value,J=>(x(),O("div",{key:J.id,class:"upstream-card pg-card"},[C("div",NRe,[C("div",BRe,Q(J.name.charAt(0).toUpperCase()),1),C("div",VRe,[C("div",zRe,Q(J.name),1),C("div",FRe,"pid: "+Q(J.pid),1)]),L(H,{type:J.status==="enabled"?"success":"info",size:"small",effect:"light",round:""},{default:$(()=>[ue(Q(J.status==="enabled"?"启用":"禁用"),1)]),_:2},1032,["type"])]),L(B,{column:1,size:"small",class:"mt10",border:""},{default:$(()=>[L(z,{label:"服务地址"},{default:$(()=>[C("span",HRe,Q(J.base_url||"—"),1)]),_:2},1024),L(z,{label:"商户密钥"},{default:$(()=>[C("span",WRe,Q(J.key||"—"),1)]),_:2},1024),L(z,{label:"回调域名白名单"},{default:$(()=>[C("span",KRe,Q(J.notify_domains||"不限"),1)]),_:2},1024),L(z,{label:"备注"},{default:$(()=>[C("span",URe,Q(J.remark||"—"),1)]),_:2},1024)]),_:2},1024),C("div",GRe,[L(G,{size:"small",text:"",type:"primary",onClick:Z=>w(J)},{default:$(()=>[...P[12]||(P[12]=[ue("编辑",-1)])]),_:1},8,["onClick"]),J.status==="disabled"?(x(),ne(G,{key:0,size:"small",text:"",type:"success",onClick:Z=>k(J.id)},{default:$(()=>[...P[13]||(P[13]=[ue("启用",-1)])]),_:1},8,["onClick"])):te("",!0),J.status==="enabled"?(x(),ne(G,{key:1,size:"small",text:"",type:"warning",onClick:Z=>T(J.id)},{default:$(()=>[...P[14]||(P[14]=[ue("禁用",-1)])]),_:1},8,["onClick"])):te("",!0),L(G,{size:"small",text:"",type:"danger",onClick:Z=>M(J)},{default:$(()=>[...P[15]||(P[15]=[ue("删除",-1)])]),_:1},8,["onClick"]),L(G,{size:"small",text:"",onClick:Z=>E(J)},{default:$(()=>[...P[16]||(P[16]=[ue("对接指引",-1)])]),_:1},8,["onClick"])])]))),128)),!n.value.length&&!a.value?(x(),O("div",YRe,[L(W,{description:"暂无上游配置,系统已自动创建 default","image-size":80}),L(V,{active:1,"align-center":"",class:"setup-steps"},{default:$(()=>[L(N,{title:"新增上游",description:"为每个对接项目创建独立条目(如 new-api)"}),L(N,{title:"分配 pid + 密钥",description:"保存后立即生效,无需重启;密钥加密入库"}),L(N,{title:"告知上游",description:"把对接信息配置到上游项目的易支付设置"})]),_:1})])):te("",!0)])),[[he,a.value]])])]),L(re,{modelValue:r.value,"onUpdate:modelValue":P[7]||(P[7]=J=>r.value=J),title:o.value?"编辑上游":"新增上游",width:"560px","close-on-click-modal":!1},{footer:$(()=>[L(G,{onClick:P[6]||(P[6]=J=>r.value=!1)},{default:$(()=>[...P[18]||(P[18]=[ue("取消",-1)])]),_:1}),L(G,{type:"primary",loading:i.value,onClick:S},{default:$(()=>[ue(Q(o.value?"保存":"创建"),1)]),_:1},8,["loading"])]),default:$(()=>[L(ee,{model:l.value,"label-width":"120px",size:"small"},{default:$(()=>[L(X,{label:"名称",required:""},{default:$(()=>[L(Y,{modelValue:l.value.name,"onUpdate:modelValue":P[0]||(P[0]=J=>l.value.name=J),placeholder:"例:new-api"},null,8,["modelValue"])]),_:1}),L(X,{label:"商户ID (pid)",required:""},{default:$(()=>[L(Y,{modelValue:l.value.pid,"onUpdate:modelValue":P[1]||(P[1]=J=>l.value.pid=J),placeholder:"易支付商户ID,唯一"},null,8,["modelValue"])]),_:1}),L(X,{label:"易支付密钥"},{default:$(()=>[L(Y,{modelValue:l.value.key,"onUpdate:modelValue":P[2]||(P[2]=J=>l.value.key=J),type:"textarea",rows:2,placeholder:o.value?"留空表示不修改":"粘贴易支付密钥(AES-256-GCM 加密存储)","show-password":""},null,8,["modelValue","placeholder"])]),_:1}),L(X,{label:"服务地址"},{default:$(()=>[L(Y,{modelValue:l.value.base_url,"onUpdate:modelValue":P[3]||(P[3]=J=>l.value.base_url=J),placeholder:"https://new-api.example.com"},null,8,["modelValue"])]),_:1}),L(X,{"label-width":"0",style:{"margin-top":"-10px"}},{default:$(()=>[L(K,{type:"warning",closable:!1,"show-icon":"",title:"该地址必须是这个上游商户自己的公网域名!"}),P[17]||(P[17]=C("div",{class:"help-text",style:{"margin-top":"6px"}},[ue(" 填"),C("b",null,"该商户站点"),ue("(如 new-api)用户实际打开的公网地址—— Line truncated
回调端点 notify_url: ${d.value||""}`;try{await navigator.clipboard.writeText(P),We.success("已复制")}catch(R){We.error("复制失败: "+R.message)}}return y(),(I,P)=>{const R=be("el-icon"),G=be("el-button"),K=be("el-alert"),H=be("el-tag"),z=be("el-descriptions-item"),B=be("el-descriptions"),W=be("el-empty"),N=be("el-step"),V=be("el-steps"),Y=be("el-input"),X=be("el-form-item"),ee=be("el-form"),re=be("el-dialog"),ie=be("el-divider"),le=be("el-timeline-item"),ve=be("el-timeline"),he=Gr("loading");return x(),O("div",LRe,[C("div",PRe,[C("div",DRe,[P[11]||(P[11]=C("span",{class:"section-label"},"上游对接方管理(多商户)",-1)),C("div",ORe,[C("span",$Re,"共 "+Q(n.value.length)+" 个上游",1),L(G,{type:"primary",size:"small",onClick:_},{default:$(()=>[L(R,null,{default:$(()=>[L(p(hf))]),_:1}),P[10]||(P[10]=ue(" 新增上游 ",-1))]),_:1})])]),C("div",RRe,[L(K,{type:"info",closable:!1,class:"mb16",title:"每个上游拥有独立的易支付 pid + 密钥:下单验签、回调签名均按 pid 路由,互不伪造。"}),st((x(),O("div",NRe,[(x(!0),O(Ve,null,dt(n.value,J=>(x(),O("div",{key:J.id,class:"upstream-card pg-card"},[C("div",BRe,[C("div",VRe,Q(J.name.charAt(0).toUpperCase()),1),C("div",zRe,[C("div",FRe,Q(J.name),1),C("div",HRe,"pid: "+Q(J.pid),1)]),L(H,{type:J.status==="enabled"?"success":"info",size:"small",effect:"light",round:""},{default:$(()=>[ue(Q(J.status==="enabled"?"启用":"禁用"),1)]),_:2},1032,["type"])]),L(B,{column:1,size:"small",class:"mt10",border:""},{default:$(()=>[L(z,{label:"服务地址"},{default:$(()=>[C("span",WRe,Q(J.base_url||"—"),1)]),_:2},1024),L(z,{label:"商户密钥"},{default:$(()=>[C("span",KRe,Q(J.key||"—"),1)]),_:2},1024),L(z,{label:"回调域名白名单"},{default:$(()=>[C("span",URe,Q(J.notify_domains||"不限"),1)]),_:2},1024),L(z,{label:"备注"},{default:$(()=>[C("span",GRe,Q(J.remark||"—"),1)]),_:2},1024)]),_:2},1024),C("div",YRe,[L(G,{size:"small",text:"",type:"primary",onClick:Z=>w(J)},{default:$(()=>[...P[12]||(P[12]=[ue("编辑",-1)])]),_:1},8,["onClick"]),J.status==="disabled"?(x(),ne(G,{key:0,size:"small",text:"",type:"success",onClick:Z=>k(J.id)},{default:$(()=>[...P[13]||(P[13]=[ue("启用",-1)])]),_:1},8,["onClick"])):te("",!0),J.status==="enabled"?(x(),ne(G,{key:1,size:"small",text:"",type:"warning",onClick:Z=>T(J.id)},{default:$(()=>[...P[14]||(P[14]=[ue("禁用",-1)])]),_:1},8,["onClick"])):te("",!0),L(G,{size:"small",text:"",type:"danger",onClick:Z=>M(J)},{default:$(()=>[...P[15]||(P[15]=[ue("删除",-1)])]),_:1},8,["onClick"]),L(G,{size:"small",text:"",onClick:Z=>E(J)},{default:$(()=>[...P[16]||(P[16]=[ue("对接指引",-1)])]),_:1},8,["onClick"])])]))),128)),!n.value.length&&!a.value?(x(),O("div",qRe,[L(W,{description:"暂无上游配置,系统已自动创建 default","image-size":80}),L(V,{active:1,"align-center":"",class:"setup-steps"},{default:$(()=>[L(N,{title:"新增上游",description:"为每个对接项目创建独立条目(如 new-api)"}),L(N,{title:"分配 pid + 密钥",description:"保存后立即生效,无需重启;密钥加密入库"}),L(N,{title:"告知上游",description:"把对接信息配置到上游项目的易支付设置"})]),_:1})])):te("",!0)])),[[he,a.value]])])]),L(re,{modelValue:r.value,"onUpdate:modelValue":P[7]||(P[7]=J=>r.value=J),title:o.value?"编辑上游":"新增上游",width:"560px","close-on-click-modal":!1},{footer:$(()=>[L(G,{onClick:P[6]||(P[6]=J=>r.value=!1)},{default:$(()=>[...P[18]||(P[18]=[ue("取消",-1)])]),_:1}),L(G,{type:"primary",loading:i.value,onClick:S},{default:$(()=>[ue(Q(o.value?"保存":"创建"),1)]),_:1},8,["loading"])]),default:$(()=>[L(ee,{model:l.value,"label-width":"120px",size:"small"},{default:$(()=>[L(X,{label:"名称",required:""},{default:$(()=>[L(Y,{modelValue:l.value.name,"onUpdate:modelValue":P[0]||(P[0]=J=>l.value.name=J),placeholder:"例:new-api"},null,8,["modelValue"])]),_:1}),L(X,{label:"商户ID (pid)",required:""},{default:$(()=>[L(Y,{modelValue:l.value.pid,"onUpdate:modelValue":P[1]||(P[1]=J=>l.value.pid=J),placeholder:"易支付商户ID,唯一"},null,8,["modelValue"])]),_:1}),L(X,{label:"易支付密钥"},{default:$(()=>[L(Y,{modelValue:l.value.key,"onUpdate:modelValue":P[2]||(P[2]=J=>l.value.key=J),type:"textarea",rows:2,placeholder:o.value?"留空表示不修改":"粘贴易支付密钥(AES-256-GCM 加密存储)","show-password":""},null,8,["modelValue","placeholder"])]),_:1}),L(X,{label:"服务地址"},{default:$(()=>[L(Y,{modelValue:l.value.base_url,"onUpdate:modelValue":P[3]||(P[3]=J=>l.value.base_url=J),placeholder:"https://new-api.example.com"},null,8,["modelValue"])]),_:1}),L(X,{"label-width":"0",style:{"margin-top":"-10px"}},{default:$(()=>[L(K,{type:"warning",closable:!1,"show-icon":"",title:"该地址必须是这个上游商户自己的公网域名!"}),P[17]||(P[17]=C("div",{class:"help-text",style:{"margin-top":"6px"}},[ue(" 填"),C("b",null,"该商户站点"),ue("(如 new-api)用户实际打开的公网地址—— Line truncated
成功 ${gn} 台`;if(Aa>0){vr+=`
失败 ${Aa} 台:`;const Ia=it.filter(Oa=>!Oa.ok).slice(0,5);vr+=Ia.map(Oa=>`${Oa.device_id}(${Oa.error||"未知错误"})`).join(";"),it.filter(Oa=>!Oa.ok).length>5&&(vr+="...")}return jr.length>0&&(vr+=`
距上次重启不足 5 分钟已跳过 ${jr.length} 台`),sn.length>0&&(vr+=`
不存在或其他原因跳过 ${sn.length} 台(id: ${sn.join(",")})`),vr}async function Ie(){const Ee=d.value,de=c.value;await er.confirm(de?`确认重启全部 ${n.value.length} 台设备?`:`确认重启选中的 ${Ee} 台设备?`,"批量重启",{type:"warning"}),Fe.value="restart";try{const it=qe(),Dt=await yt.personalBatchRestart(it),sn=ut(Dt,"重启");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量重启失败:"+it.message)}finally{Fe.value=null}}async function Ke(){const Ee=d.value,de=c.value;await er.confirm(de?`确认冻结全部 ${n.value.length} 台设备?`:`确认冻结选中的 ${Ee} 台设备?`,"批量冻结",{type:"warning"}),Fe.value="freeze";try{const it=qe(),Dt=await yt.personalBatchStatus({...it,status:"frozen"}),sn=ut(Dt,"冻结");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量冻结失败:"+it.message)}finally{Fe.value=null}}async function Ge(){const Ee=d.value,de=c.value;await er.confirm(de?`确认解冻全部 ${n.value.length} 台设备?`:`确认解冻选中的 ${Ee} 台设备?`,"批量解冻",{type:"warning"}),Fe.value="unfreeze";try{const it=qe(),Dt=await yt.personalBatchStatus({...it,status:"offline"}),sn=ut(Dt,"解冻");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量解冻失败:"+it.message)}finally{Fe.value=null}}return mt(S),ye(()=>t.refreshKey,S),ye(()=>fe.value,Ee=>{Ee?(Gt(),Rt=setInterval(Gt,2500)):Ue()}),Us(Ue),(Ee,de)=>{const it=be("el-button"),Dt=be("el-icon"),sn=be("el-alert"),gn=be("el-tag"),Aa=be("el-tab-pane"),jr=be("el-tabs"),vr=be("el-collapse-item"),Ia=be("el-collapse"),Oa=be("el-checkbox"),Oe=be("el-dialog"),lt=be("el-input"),Bt=be("el-form-item"),_n=be("el-form"),Yn=be("el-option"),Zn=be("el-select"),ja=be("el-radio"),Gl=be("el-radio-group"),co=be("el-step"),Yl=be("el-steps"),Xs=Gr("loading");return x(),O("div",HNe,[C("div",WNe,[C("div",KNe,[de[22]||(de[22]=C("span",{class:"section-label"},"监听端设备",-1)),C("div",UNe,[s.value?(x(),O("span",YNe,"已选 "+Q(d.value)+" 台",1)):(x(),O("span",GNe,"共 "+Q(n.value.length)+" 台 · 在线 "+Q(v.value)+" 台",1)),s.value?(x(),ne(it,{key:3,size:"small",onClick:f},{default:$(()=>[...de[20]||(de[20]=[ue("退出批量",-1)])]),_:1})):(x(),ne(it,{key:2,type:"warning",size:"small",onClick:f},{default:$(()=>[...de[19]||(de[19]=[ue(" 批量操作 ",-1)])]),_:1})),L(it,{type:"success",size:"small",onClick:Ne},{default:$(()=>[L(Dt,null,{default:$(()=>[L(p(hf))]),_:1}),de[21]||(de[21]=ue(" USB 引导接入 ",-1))]),_:1})])]),C("div",jNe,[L(sn,{type:"info",closable:!1,class:"mb16",title:"ADB 真机绑定个人收款账户:设备上线由 adb 连通性判定(USB 直连 / WiFi 备用)。"}),L(Ia,{class:"integration-guide"},{default:$(()=>[L(vr,{name:"guide"},{title:$(()=>[de[24]||(de[24]=C("span",{class:"guide-title"},"集成流程(USB 真机)",-1)),L(gn,{type:"info",size:"small",effect:"plain",round:"",class:"guide-tag"},{default:$(()=>[...de[23]||(de[23]=[ue("点击展开",-1)])]),_:1})]),default:$(()=>[C("div",qNe,[L(jr,null,{default:$(()=>[L(Aa,{label:"真机 USB 直连"},{default:$(()=>[de[25]||(de[25]=C("ol",{class:"step-list"},[C("li",null,[C("b",null,"接入引导"),ue(":点击右上「USB 引导接入」,向导自动检测已连接的 USB 真机(手机插 USB + 开启开发者选项 + USB 调试)。")]),C("li",null,[C("b",null,"授权调试"),ue(":手机会弹出「允许 USB 调试」,点击允许,向导自动进入下一步。")]),C("li",null,[C("b",null,"绑定设备"),ue(":填设备名称、选择收款账户,向导自动创建设备记录。")]),C("li",null,[C("b",null,"ADB 连通即上线"),ue(":USB 直连后设备自动上线,WiFi 备用通道自动配置(断线自动切换保活)。")])],-1)),L(sn,{type:"info",closable:!1,class:"mt8",title:"历史变更(2026-08-17):redroid 容器载体方案已废弃;个人免签监听端统一走 USB 引导接入自动检测,手填「新增设备」表单已移除。"})]),_:1})]),_:1})])]),_:1})]),_:1})])]),C("div",XNe,[st((x(),O("div",ZNe,[C("div",JNe,[(x(!0),O(Ve,null,dt(n.value,pe=>(x(),O("div",{key:pe.id,class:U(["phone-card",{"phone-card-selected":u.value.has(pe.id)}]),onClick:ct=>s.value?h(pe.id):G(pe)},[s.value?(x(),O("div",eBe,[L(Oa,{"model-value":u.value.has(pe.id),onClick:de[0]||(de[0]=at(()=>{},["stop"])),onChange:ct=>h(pe.id)},null,8,["model-value","onChange"])])):te("",!0),C("div",tBe,[de[27]||(de[27]=C("div",{class:"phone-notch"},null,-1)),C("div",nBe,[pe._cachedSnapshot?(x(),O("img",{key:0,src:pe._cachedSnapshot,class:"phone-screenshot"},null,8,aBe)):(x(),O("div",rBe,[de[26]||(de[26]=C("div",{class:"phone-placeholder-icon"},"📱",-1)),C("div",oBe,Q(pe.name||"未命名"),1)]))]),C("div",{class:"phone-home",onClick:at(ct= Line truncated
失败 ${Aa} 台:`;const Ia=it.filter(Oa=>!Oa.ok).slice(0,5);vr+=Ia.map(Oa=>`${Oa.device_id}(${Oa.error||"未知错误"})`).join(";"),it.filter(Oa=>!Oa.ok).length>5&&(vr+="...")}return qr.length>0&&(vr+=`
距上次重启不足 5 分钟已跳过 ${qr.length} 台`),sn.length>0&&(vr+=`
不存在或其他原因跳过 ${sn.length} 台(id: ${sn.join(",")})`),vr}async function Ie(){const Ee=d.value,de=c.value;await er.confirm(de?`确认重启全部 ${n.value.length} 台设备?`:`确认重启选中的 ${Ee} 台设备?`,"批量重启",{type:"warning"}),Fe.value="restart";try{const it=je(),Dt=await yt.personalBatchRestart(it),sn=ut(Dt,"重启");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量重启失败:"+it.message)}finally{Fe.value=null}}async function Ke(){const Ee=d.value,de=c.value;await er.confirm(de?`确认冻结全部 ${n.value.length} 台设备?`:`确认冻结选中的 ${Ee} 台设备?`,"批量冻结",{type:"warning"}),Fe.value="freeze";try{const it=je(),Dt=await yt.personalBatchStatus({...it,status:"frozen"}),sn=ut(Dt,"冻结");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量冻结失败:"+it.message)}finally{Fe.value=null}}async function Ge(){const Ee=d.value,de=c.value;await er.confirm(de?`确认解冻全部 ${n.value.length} 台设备?`:`确认解冻选中的 ${Ee} 台设备?`,"批量解冻",{type:"warning"}),Fe.value="unfreeze";try{const it=je(),Dt=await yt.personalBatchStatus({...it,status:"offline"}),sn=ut(Dt,"解冻");(Dt.results||[]).some(Aa=>!Aa.ok)||(Dt.missing_ids||[]).length>0?We.warning(sn):We.success(sn),S(),g(),s.value=!1}catch(it){We.error("批量解冻失败:"+it.message)}finally{Fe.value=null}}return mt(S),ye(()=>t.refreshKey,S),ye(()=>fe.value,Ee=>{Ee?(Gt(),Rt=setInterval(Gt,2500)):Ue()}),Us(Ue),(Ee,de)=>{const it=be("el-button"),Dt=be("el-icon"),sn=be("el-alert"),gn=be("el-tag"),Aa=be("el-tab-pane"),qr=be("el-tabs"),vr=be("el-collapse-item"),Ia=be("el-collapse"),Oa=be("el-checkbox"),Oe=be("el-dialog"),lt=be("el-input"),Bt=be("el-form-item"),_n=be("el-form"),Yn=be("el-option"),Zn=be("el-select"),qa=be("el-radio"),Gl=be("el-radio-group"),co=be("el-step"),Yl=be("el-steps"),Xs=Gr("loading");return x(),O("div",WNe,[C("div",KNe,[C("div",UNe,[de[22]||(de[22]=C("span",{class:"section-label"},"监听端设备",-1)),C("div",GNe,[s.value?(x(),O("span",qNe,"已选 "+Q(d.value)+" 台",1)):(x(),O("span",YNe,"共 "+Q(n.value.length)+" 台 · 在线 "+Q(v.value)+" 台",1)),s.value?(x(),ne(it,{key:3,size:"small",onClick:f},{default:$(()=>[...de[20]||(de[20]=[ue("退出批量",-1)])]),_:1})):(x(),ne(it,{key:2,type:"warning",size:"small",onClick:f},{default:$(()=>[...de[19]||(de[19]=[ue(" 批量操作 ",-1)])]),_:1})),L(it,{type:"success",size:"small",onClick:Ne},{default:$(()=>[L(Dt,null,{default:$(()=>[L(p(hf))]),_:1}),de[21]||(de[21]=ue(" USB 引导接入 ",-1))]),_:1})])]),C("div",jNe,[L(sn,{type:"info",closable:!1,class:"mb16",title:"ADB 真机绑定个人收款账户:设备上线由 adb 连通性判定(USB 直连 / WiFi 备用)。"}),L(Ia,{class:"integration-guide"},{default:$(()=>[L(vr,{name:"guide"},{title:$(()=>[de[24]||(de[24]=C("span",{class:"guide-title"},"集成流程(USB 真机)",-1)),L(gn,{type:"info",size:"small",effect:"plain",round:"",class:"guide-tag"},{default:$(()=>[...de[23]||(de[23]=[ue("点击展开",-1)])]),_:1})]),default:$(()=>[C("div",XNe,[L(qr,null,{default:$(()=>[L(Aa,{label:"真机 USB 直连"},{default:$(()=>[de[25]||(de[25]=C("ol",{class:"step-list"},[C("li",null,[C("b",null,"接入引导"),ue(":点击右上「USB 引导接入」,向导自动检测已连接的 USB 真机(手机插 USB + 开启开发者选项 + USB 调试)。")]),C("li",null,[C("b",null,"授权调试"),ue(":手机会弹出「允许 USB 调试」,点击允许,向导自动进入下一步。")]),C("li",null,[C("b",null,"绑定设备"),ue(":填设备名称、选择收款账户,向导自动创建设备记录。")]),C("li",null,[C("b",null,"ADB 连通即上线"),ue(":USB 直连后设备自动上线,WiFi 备用通道自动配置(断线自动切换保活)。")])],-1)),L(sn,{type:"info",closable:!1,class:"mt8",title:"历史变更(2026-08-17):redroid 容器载体方案已废弃;个人免签监听端统一走 USB 引导接入自动检测,手填「新增设备」表单已移除。"})]),_:1})]),_:1})])]),_:1})]),_:1})])]),C("div",ZNe,[st((x(),O("div",JNe,[C("div",QNe,[(x(!0),O(Ve,null,dt(n.value,pe=>(x(),O("div",{key:pe.id,class:U(["phone-card",{"phone-card-selected":u.value.has(pe.id)}]),onClick:ct=>s.value?h(pe.id):G(pe)},[s.value?(x(),O("div",tBe,[L(Oa,{"model-value":u.value.has(pe.id),onClick:de[0]||(de[0]=at(()=>{},["stop"])),onChange:ct=>h(pe.id)},null,8,["model-value","onChange"])])):te("",!0),C("div",nBe,[de[27]||(de[27]=C("div",{class:"phone-notch"},null,-1)),C("div",aBe,[pe._cachedSnapshot?(x(),O("img",{key:0,src:pe._cachedSnapshot,class:"phone-screenshot"},null,8,rBe)):(x(),O("div",oBe,[de[26]||(de[26]=C("div",{class:"phone-placeholder-icon"},"📱",-1)),C("div",iBe,Q(pe.name||"未命名"),1)]))]),C("div",{class:"phone-home",onClick:at(ct= Line truncated
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" role="img" aria-labelledby="title desc">
<title id="title">PayGateway</title>
<desc id="desc">A routed payment gateway with a verifiable ledger spine.</desc>
<rect width="96" height="96" rx="22" fill="#FAFAFA"/>
<path d="M24 27h18c8 0 14 6 14 14s-6 14-14 14H24" fill="none" stroke="#5B5BD6" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M24 69h18c8 0 14-6 14-14" fill="none" stroke="#5B5BD6" stroke-width="8" stroke-linecap="round"/>
<path d="M56 27h8c8 0 14 6 14 14s-6 14-14 14H56" fill="none" stroke="#5B5BD6" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M56 55h8c8 0 14 6 14 14" fill="none" stroke="#168653" stroke-width="8" stroke-linecap="round"/>
<path d="M24 41h42M24 55h42" fill="none" stroke="#09090B" stroke-width="3" stroke-linecap="round" opacity=".78"/>
<path d="M66 41v14" fill="none" stroke="#168653" stroke-width="3" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1002 B

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" role="img" aria-labelledby="title desc">
<title id="title">PayGateway</title>
<desc id="desc">A routed payment gateway with a verifiable ledger spine.</desc>
<rect width="96" height="96" rx="22" fill="#0D0D0F"/>
<path d="M24 27h18c8 0 14 6 14 14s-6 14-14 14H24" fill="none" stroke="#7170FF" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M24 69h18c8 0 14-6 14-14" fill="none" stroke="#7170FF" stroke-width="8" stroke-linecap="round"/>
<path d="M56 27h8c8 0 14 6 14 14s-6 14-14 14H56" fill="none" stroke="#7170FF" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M56 55h8c8 0 14 6 14 14" fill="none" stroke="#22A069" stroke-width="8" stroke-linecap="round"/>
<path d="M24 41h42" fill="none" stroke="#FAFAFA" stroke-width="3" stroke-linecap="round" opacity=".9"/>
<path d="M24 55h42" fill="none" stroke="#FAFAFA" stroke-width="3" stroke-linecap="round" opacity=".9"/>
<path d="M66 41v14" fill="none" stroke="#22A069" stroke-width="3" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+3 -3
View File
@@ -4,9 +4,9 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PayGateway 管理后台</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>💳</text></svg>" />
<script type="module" crossorigin src="/assets/index-Bdo7HwZH.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BT-lxyOz.css">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml" />
<script type="module" crossorigin src="/assets/index-Cx27LlJ6.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CfKfxaT9.css">
</head>
<body>
<div id="app"></div>