官方纰漏bug修复和安全能力提升

This commit is contained in:
Weiming committed 2026-12-02 14:12:35 +08:00
1 parent 459339719d
commit ce00640ea4
148 files changed
+9524 -1701

No files matched your search

+101
View File
@@ -0,0 +1,101 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout-BMYa5Pan.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/Layout-BnWoJV0v.css","assets/AccessDenied-CrVtsOUJ.js","assets/AccessDenied-C-5rZa66.css","assets/Applications-BkFcS8Z8.js","assets/AppListPagination.vue_vue_type_script_setup_true_lang-DuGWvoc_.js","assets/searchProjection-BPQZhrH5.js","assets/useListPagination-j0ff6aFk.js","assets/Applications-CR1Mi8jP.css","assets/ReimbursementForm-CdSh2-z7.js","assets/payees-B0cC8O_i.js","assets/feishuDirectory-CE_j-cw-.js","assets/ReimbursementForm-Dwg6SbT6.css","assets/ApplicationDetail-tfYAp2gH.js","assets/ApplicationDetail-sss7C5Fe.css","assets/FinanceReceipt-CYHgzhY0.js","assets/FinanceReceipt-D-ekvRFX.css","assets/Sources-EABqna8l.js","assets/Logs-DrltJZEr.js","assets/Logs-DhOt8NOH.css","assets/ExpenseTypes-CC-Nm9Ev.js","assets/Payees-B6idZ-4Z.js","assets/Payees-Drs3bapy.css","assets/LegalEntities-l2As0eJ2.js","assets/business-config-CDFDGnOE.js","assets/business-config-C9Q4YaoR.css","assets/CostCenters-3SgG1SS5.js","assets/Currencies-DaA9ktx3.js","assets/BudgetManagement-4zzydz8X.js","assets/BudgetManagement-7jSknzqq.css","assets/PaymentMethods-qWcROH8o.js","assets/PaymentAccounts-DqXHi65k.js","assets/Users-Xxy9sHlG.js","assets/admin-kNzfHot2.js","assets/Users-XFDlMNAz.css","assets/ScheduledTasks-CtRo0-HG.js","assets/ScheduledTasks-ClgW7uRI.css","assets/IntegrationConfig-C1aq4B2r.js","assets/IntegrationConfig-Ut6O9I-X.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/**
* @vue/shared v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function lh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const wn={},Ls=[],ht=()=>{},h6=()=>!1,pf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hf=e=>e.startsWith("onUpdate:"),qn=Object.assign,sh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},NC=Object.prototype.hasOwnProperty,Dt=(e,t)=>NC.call(e,t),we=Array.isArray,ll=e=>Wu(e)==="[object Map]",kr=e=>Wu(e)==="[object Set]",ul=e=>Wu(e)==="[object Date]",Ue=e=>typeof e=="function",Be=e=>typeof e=="string",Ua=e=>typeof e=="symbol",it=e=>e!==null&&typeof e=="object",cl=e=>(it(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),v6=Object.prototype.toString,Wu=e=>v6.call(e),$C=e=>Wu(e).slice(8,-1),pu=e=>Wu(e)==="[object Object]",vf=e=>Be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qi=lh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mf=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},IC=/-\w/g,aa=mf(e=>e.replace(IC,t=>t.slice(1).toUpperCase())),LC=/\B([A-Z])/g,Rr=mf(e=>e.replace(LC,"-$1").toLowerCase()),qu=mf(e=>e.charAt(0).toUpperCase()+e.slice(1)),zl=mf(e=>e?`on${qu(e)}`:""),jo=(e,t)=>!Object.is(e,t),ed=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},m6=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},gf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},VC=e=>{const t=Be(e)?Number(e):NaN;return isNaN(t)?e:t};let Am;const yf=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ye(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],o=Be(a)?HC(a):Ye(a);if(o)for(const r in o)t[r]=o[r]}return t}else if(Be(e)||it(e))return e}const BC=/;(?![^(]*\))/g,DC=/:([^]+)/,zC=/\/\*[^]*?\*\//g;function HC(e){const t={};return e.replace(zC,"").split(BC).forEach(n=>{if(n){const a=n.split(DC);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function $(e){let t="";if(Be(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const a=$(e[n]);a&&(t+=a+" ")}else if(it(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function yr(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Be(t)&&(e.class=$(t)),n&&(e.style=Ye(n)),e}const FC="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",KC=lh(FC);function g6(e){return!!e||e===""}function jC(e,t){if(e.length!==t.length)return!1;let n=!0;for(let a=0;n&&a<e.length;a++)n=Co(e[a],t[a]);return n}function Rm(e,t){if(e.size!==t.size)return!1;const n=Array.from(t),a=new Uint8Array(n.length);for(const o of e){let r=-1;for(let l=0;l<n.length;l++)if(!a[l]&&Co(o,n[l])){r=l;break}if(r<0)return!1;a[r]=1}return!0}function Co(e,t){if(e===t)return!0;let n=ul(e),a=ul(t);if(n||a)return n&&a?e.getTime()===t.getTime():!1;if(n=Ua(e),a=Ua(t),n||a)return e===t;if(n=we(e),a=we(t),n||a)return n&&a?jC(e,t):!1;if(n=it(e),a=it(t),n||a){if(!n||!a)return!1;if(n=ll(e),a=ll(t),n||a||(n=kr(e),a=kr(t),n||a))return n&&a?Rm(e,t):!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const l in e){const s=e.hasOwnProperty(l),u=t.hasOwnProperty(l);if(s&&!u||!s&&u||!Co(e[l],t[l]))return!1}}return String(e)===String(t)}function ih(e,t){return e.findIndex(n=>Co(n,t))}const y6=e=>!!(e&&e.__v_isRef===!0),Ee=e=>Be(e)?e:e==null?"":we(e)||it(e)&&(e.toString===v6||!Ue(e.toString))?y6(e)?Ee(e.value):JSON.stringify(e,b6,2):String(e),b6=(e,t)=>y6(t)?b6(e,t.value):ll(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,o],r)=>(n[C0(a,r)+" =>"]=o,n),{})}:kr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>C0(n))}:Ua(t)?C0(t):it(t)&&!we(t)&&!pu(t)?String(t):t,C0=(e,t="")=>{var n;return Ua(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Xn;class w6{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&&Xn&&(Xn.active?(this.parent=Xn,this.index=(Xn.scopes||(Xn.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 o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[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=Xn;try{return Xn=this,t()}finally{Xn=n}}}on(){++this._on===1&&(this.prevScope=Xn,Xn=this)}off(){if(this._on>0&&--this._on===0){if(Xn===this)Xn=this.prevScope;else{let t=Xn;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 o=this.scopes.slice();for(n=0,a=o.length;n<a;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function uh(e){return new w6(e)}function bf(){return Xn}function ch(e,t=!1){Xn&&Xn.cleanups.push(e)}let xn;const S0=new WeakSet;class _6{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,Xn&&(Xn.active?Xn.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,S0.has(this)&&(S0.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||S6(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Pm(this),x6(this);const t=xn,n=yo;xn=this,yo=!0;try{return this.fn()}finally{k6(this),xn=t,yo=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ph(t);this.deps=this.depsTail=void 0,Pm(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?S0.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Pp(this)&&this.run()}get dirty(){return Pp(this)}}let C6=0,eu,tu;function S6(e,t=!1){if(e.flags|=8,t){e.next=tu,tu=e;return}e.next=eu,eu=e}function dh(){C6++}function fh(){if(--C6>0)return;if(tu){let t=tu;for(tu=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;eu;){let t=eu;for(eu=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 x6(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function k6(e){let t,n=e.depsTail,a=n;for(;a;){const o=a.prevDep;a.version===-1?(a===n&&(n=o),ph(a),WC(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=o}e.deps=t,e.depsTail=n}function Pp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(E6(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function E6(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hu)||(e.globalVersion=hu,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Pp(e))))return;e.flags|=2;const t=e.dep,n=xn,a=yo;xn=e,yo=!0;try{x6(e);const o=e.fn(e._value);(t.version===0||jo(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{xn=n,yo=a,k6(e),e.flags&=-3}}function ph(e,t=!1){const{dep:n,prevSub:a,nextSub:o}=e;if(a&&(a.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)ph(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function WC(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yo=!0;const T6=[];function Er(){T6.push(yo),yo=!1}function Tr(){const e=T6.pop();yo=e===void 0?!0:e}function Pm(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=xn;xn=void 0;try{t()}finally{xn=n}}}let hu=0;class qC{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 hh{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(!xn||!yo||xn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==xn)n=this.activeLink=new qC(xn,this),xn.deps?(n.prevDep=xn.depsTail,xn.depsTail.nextDep=n,xn.depsTail=n):xn.deps=xn.depsTail=n,M6(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=xn.depsTailLine truncated
* @vue/runtime-core v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Uu(e,t,n,a){try{return a?e(...a):e()}catch(o){Ef(o,t,n)}}function lo(e,t,n,a){if(Ue(e)){const o=Uu(e,t,n,a);return o&&cl(o)&&o.catch(r=>{Ef(r,t,n)}),o}if(we(e)){const o=[];for(let r=0;r<e.length;r++)o.push(lo(e[r],t,n,a));return o}}function Ef(e,t,n,a=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||wn;if(t){let s=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const d=s.ec;if(d){for(let f=0;f<d.length;f++)if(d[f](e,u,c)===!1)return}s=s.parent}if(r){Er(),Uu(r,null,10,[e,u,c]),Tr();return}}gS(e,n,o,a,l)}function gS(e,t,n,a=!0,o=!1){if(o)throw e;console.error(e)}const ka=[];let Ho=-1;const Vs=[];let el=null,As=0;const z6=Promise.resolve();let Ed=null;function Ie(e){const t=Ed||z6;return e?t.then(this?e.bind(this):e):t}function yS(e){let t=Ho+1,n=ka.length;for(;t<n;){const a=t+n>>>1,o=ka[a],r=mu(o);r<e||r===e&&o.flags&2?t=a+1:n=a}return t}function vh(e){if(!(e.flags&1)){const t=mu(e),n=ka[ka.length-1];!n||!(e.flags&2)&&t>=mu(n)?ka.push(e):ka.splice(yS(t),0,e),e.flags|=1,H6()}}function H6(){Ed||(Ed=z6.then(K6))}function bS(e){if(!we(e))el&&e.id===-1?el.splice(As+1,0,e):e.flags&1||(Vs.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Vs.push(e[t]);H6()}function $m(e,t,n=Ho+1){for(;n<ka.length;n++){const a=ka[n];if(a&&a.flags&2){if(e&&a.id!==e.uid)continue;ka.splice(n,1),n--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function F6(e){if(Vs.length){const t=[...new Set(Vs)].sort((n,a)=>mu(n)-mu(a));if(Vs.length=0,el){for(let n=0;n<t.length;n++)el.push(t[n]);return}for(el=t,As=0;As<el.length;As++){const n=el[As];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}el=null,As=0}}const mu=e=>e.id==null?e.flags&2?-1:1/0:e.id;function K6(e){try{for(Ho=0;Ho<ka.length;Ho++){const t=ka[Ho];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Uu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ho<ka.length;Ho++){const t=ka[Ho];t&&(t.flags&=-2)}Ho=-1,ka.length=0,F6(),Ed=null,(ka.length||Vs.length)&&K6()}}let ra=null,j6=null;function Td(e){const t=ra;return ra=e,j6=e&&e.type.__scopeId||null,t}function re(e,t=ra,n){if(!t||e._n)return e;const a=(...o)=>{a._d&&Rd(-1);const r=Td(t),l=wr.length;let s;try{s=e(...o)}finally{for(let u=wr.length;u>l;u--)Eh();Td(r),a._d&&Rd(1)}return s};return a._n=!0,a._c=!0,a._d=!0,a}function vt(e,t){if(ra===null)return e;const n=Pf(ra),a=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,l,s,u=wn]=t[o];r&&(Ue(r)&&(r={mounted:r,updated:r}),r.deep&&vr(l),a.push({dir:r,instance:n,value:l,oldValue:void 0,arg:s,modifiers:u}))}return e}function _l(e,t,n,a){const o=e.dirs,r=t&&t.dirs;for(let l=0;l<o.length;l++){const s=o[l];r&&(s.oldValue=r[l].value);let u=s.dir[a];u&&(Er(),lo(u,n,8,[e.el,s,e,t]),Tr())}}function Tt(e,t){if(va){let n=va.provides;const a=va.parent&&va.parent.provides;a===n&&(n=va.provides=Object.create(a)),n[e]=t}}function Le(e,t,n=!1){const a=gt();if(a||Fl){let o=Fl?Fl._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ue(t)?t.call(a&&a.proxy):t}}function mh(){return!!(gt()||Fl)}const wS=Symbol.for("v-scx"),_S=()=>Le(wS);function ya(e,t){return gh(e,null,t)}function fe(e,t,n){return gh(e,t,n)}function gh(e,t,n=wn){const{immediate:a,deep:o,flush:r,once:l}=n,s=qn({},n),u=t&&a||!t&&r!=="post";let c;if(wu){if(r==="sync"){const m=_S();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!u){const m=()=>{};return m.stop=ht,m.resume=ht,m.pause=ht,m}}const d=va;s.call=(m,v,h)=>lo(m,d,v,h);let f=!1;r==="post"?s.scheduler=m=>{Sa(m,d&&d.suspense)}:r!=="sync"&&(f=!0,s.scheduler=(m,v)=>{v?m():vh(m)}),s.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const p=mS(e,t,s);return wu&&(c?c.push(p):u&&p()),p}function CS(e,t,n){const a=this.proxy,o=Be(e)?e.includes(".")?W6(a,e):()=>a[e]:e.bind(a,a);let r;Ue(t)?r=t:(r=t.handler,n=t);const l=Gu(this),s=gh(o,r.bind(a),n);return l(),s}function W6(e,t){const n=t.split(".");return()=>{let a=e;for(let o=0;o<n.length&&a;o++)a=a[n[o]];return a}}const Ur=new WeakMap,q6=Symbol("_vte"),Tf=e=>e.__isTeleport,Ol=e=>e&&(e.disabled||e.disabled===""),SS=e=>e&&(e.defer||e.defer===""),Im=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ip=(e,t)=>{const n=e&&e.to;return Be(n)?t?t(n):null:n},xS={name:"Teleport",__isTeleport:!0,process(e,t,n,a,o,r,l,s,u,c){const{mc:d,pc:f,pbc:p,o:{insert:m,querySelector:v,createText:h,createComment:g,parentNode:y}}=c,b=Ol(t.props);let{dynamicChildren:C}=t;const w=(M,E,T)=>{M.shapeFlag&16&&d(M.children,E,T,o,r,l,s,u)},S=(M=t)=>{const E=Ol(M.props),T=M.target=Ip(M.props,v),A=Lp(T,M,h,m);T&&(l!=="svg"&&Im(T)?l="svg":l!=="mathml"&&Lm(T)&&(l="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(T),E||(w(M,T,A),ji(M,!1)))},k=M=>{const E=()=>{if(Ur.get(M)===E){if(Ur.delete(M),Ol(M.props)){const T=y(M.el)||n;w Line truncated
* @vue/runtime-dom v3.5.42
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Hp;const Xm=typeof window<"u"&&window.trustedTypes;if(Xm)try{Hp=Xm.createPolicy("vue",{createHTML:e=>e})}catch{}const ky=Hp?e=>Hp.createHTML(e):e=>e,yx="http://www.w3.org/2000/svg",bx="http://www.w3.org/1998/Math/MathML",dr=typeof document<"u"?document:null,Jm=dr&&dr.createElement("template"),wx={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 o=t==="svg"?dr.createElementNS(yx,e):t==="mathml"?dr.createElementNS(bx,e):n?dr.createElement(e,{is:n}):dr.createElement(e);return e==="select"&&a&&a.multiple!=null&&o.setAttribute("multiple",a.multiple),o},createText:e=>dr.createTextNode(e),createComment:e=>dr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>dr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,o,r){const l=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Jm.innerHTML=ky(a==="svg"?`<svg>${e}</svg>`:a==="mathml"?`<math>${e}</math>`:e);const s=Jm.content;if(a==="svg"||a==="mathml"){const u=s.firstChild;for(;u.firstChild;)s.appendChild(u.firstChild);s.removeChild(u)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Kr="transition",Ri="animation",Us=Symbol("_vtc"),Ey={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},Ty=qn({},Y6,Ey),_x=e=>(e.displayName="Transition",e.props=Ty,e),Jn=_x((e,{slots:t})=>Je(TS,My(e),t)),Sl=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zm=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function My(e){const t={};for(const P in e)P in Ey||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:a,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:c=l,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,v=Cx(o),h=v&&v[0],g=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:C,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:M=b,onAppearCancelled:E=C}=t,T=(P,L,U,z)=>{P._enterCancelled=z,Yr(P,L?d:s),Yr(P,L?c:l),U&&U()},A=(P,L)=>{P._isLeaving=!1,Yr(P,f),Yr(P,m),Yr(P,p),L&&L()},N=P=>(L,U)=>{const z=P?M:b,H=()=>T(L,P,U);Sl(z,[L,H]),Qm(()=>{Yr(L,P?u:r),zo(L,P?d:s),Zm(z)||e1(L,a,h,H)})};return qn(t,{onBeforeEnter(P){Sl(y,[P]),zo(P,r),zo(P,l)},onBeforeAppear(P){Sl(k,[P]),zo(P,u),zo(P,c)},onEnter:N(!1),onAppear:N(!0),onLeave(P,L){P._isLeaving=!0;const U=()=>A(P,L);zo(P,f),P._enterCancelled?(zo(P,p),Fp(P)):(Fp(P),zo(P,p)),Qm(()=>{P._isLeaving&&(Yr(P,f),zo(P,m),Zm(w)||e1(P,a,g,U))}),Sl(w,[P,U])},onEnterCancelled(P){T(P,!1,void 0,!0),Sl(C,[P])},onAppearCancelled(P){T(P,!0,void 0,!0),Sl(E,[P])},onLeaveCancelled(P){A(P),Sl(S,[P])}})}function Cx(e){if(e==null)return null;if(it(e))return[O0(e.enter),O0(e.leave)];{const t=O0(e);return[t,t]}}function O0(e){return VC(e)}function zo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Us]||(e[Us]=new Set)).add(t)}function Yr(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Us];n&&(n.delete(t),n.size||(e[Us]=void 0))}function Qm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sx=0;function e1(e,t,n,a){const o=e._endId=++Sx,r=()=>{o===e._endId&&a()};if(n!=null)return setTimeout(r,n);const{type:l,timeout:s,propCount:u}=Oy(e,t);if(!l)return a();const c=l+"end";let d=0;const f=()=>{e.removeEventListener(c,p),r()},p=m=>{m.target===e&&++d>=u&&f()};setTimeout(()=>{d<u&&f()},s+1),e.addEventListener(c,p)}function Oy(e,t){const n=window.getComputedStyle(e),a=v=>(n[v]||"").split(", "),o=a(`${Kr}Delay`),r=a(`${Kr}Duration`),l=t1(o,r),s=a(`${Ri}Delay`),u=a(`${Ri}Duration`),c=t1(s,u);let d=null,f=0,p=0;t===Kr?l>0&&(d=Kr,f=l,p=r.length):t===Ri?c>0&&(d=Ri,f=c,p=u.length):(f=Math.max(l,c),d=f>0?l>c?Kr:Ri:null,p=d?d===Kr?r.length:u.length:0);const m=d===Kr&&/\b(?:transform|all)(?:,|$)/.test(a(`${Kr}Property`).toString());return{type:d,timeout:f,propCount:p,hasTransform:m}}function t1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,a)=>n1(n)+n1(e[a])))}function n1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fp(e){return(e?e.ownerDocument:document).body.offsetHeight}function xx(e,t,n){const a=e[Us];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $d=Symbol("_vod"),Th=Symbol("_vsh"),Bt={name:"show",beforeMount(e,{value:t},{transition:n}){e[$d]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pi(e,t)},mounted(e,{value:t},{tra Line truncated
`))),e[Fa]=dl(o);const r=a||o.props&&o.props.type==="number";mr(e,t?"change":"input",l=>{l.target.composing||e[Fa](P0(e.value,n,r))}),(n||r)&&mr(e,"change",()=>{e.value=P0(e.value,n,r)}),t||(mr(e,"compositionstart",Ux),mr(e,"compositionend",c1),mr(e,"change",c1))},mounted(e,{value:t,modifiers:{trim:n,number:a}}){const o=t??"",r=e[Rc];delete e[Rc],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[Fa](P0(e.value,n,a)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:o,number:r}},l){if(e[Fa]=dl(l),e.composing)return;const s=(r||e.type==="number")&&!/^0\d/.test(e.value)?gf(e.value):e.value,u=t??"";if(s===u)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(a&&t===n||o&&e.value.trim()===u)||(e.value=u)}},Iy={deep:!0,created(e,t,n){e[Fa]=dl(n),mr(e,"change",()=>{const a=e._modelValue,o=Ys(e),r=e.checked,l=e[Fa];if(we(a)){const s=ih(a,o),u=s!==-1;if(r&&!u)l(a.concat(o));else if(!r&&u){const c=[...a];c.splice(s,1),l(c)}}else if(kr(a)){const s=new Set(a);r?s.add(o):s.delete(o),l(s)}else l(Vy(e,r))})},mounted:d1,beforeUpdate(e,t,n){e[Fa]=dl(n),d1(e,t,n)}};function d1(e,{value:t,oldValue:n},a){e._modelValue=t;let o;if(we(t))o=ih(t,a.props.value)>-1;else if(kr(t))o=t.has(a.props.value);else{if(t===n)return;o=Co(t,Vy(e,!0))}e.checked!==o&&(e.checked=o)}const Ly={created(e,{value:t},n){e.checked=Co(t,n.props.value),e[Fa]=dl(n),mr(e,"change",()=>{e[Fa](Ys(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Fa]=dl(a),t!==n&&(e.checked=Co(t,a.props.value))}},zpe={deep:!0,created(e,{value:t,modifiers:{number:n}},a){e._modelValue=t,mr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,u=>u.selected).map(u=>n?gf(Ys(u)):Ys(u)),r=e.multiple,l=r?kr(e._modelValue)?new Set(o):o:o[0],s=e._pendingValue=[r,r?we(l)?o.slice():o:l];try{e[Fa](l)}finally{Ie(()=>{e._pendingValue===s&&(e._pendingValue=void 0)})}}),e[Fa]=dl(a)},mounted(e,{value:t}){f1(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Fa]=dl(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Yx(t,n[1],n[0]))&&f1(e,t)}};function Yx(e,t,n){if(!n||we(e))return Co(e,t);if(kr(e)){if(e.size!==t.length)return!1;for(const a of t)if(!e.has(a))return!1;return!0}return!1}function f1(e,t){const n=e.multiple,a=we(t);if(!(n&&!a&&!kr(t))){for(let o=0,r=e.options.length;o<r;o++){const l=e.options[o],s=Ys(l);if(n)if(a){const u=typeof s;u==="string"||u==="number"?l.selected=t.some(c=>String(c)===String(s)):l.selected=ih(t,s)>-1}else l.selected=t.has(s);else if(Co(Ys(l),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ys(e){return"_value"in e?e._value:e.value}function Vy(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Gx=["ctrl","shift","alt","meta"],Xx={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)=>Gx.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(o,...r)=>{for(let l=0;l<t.length;l++){const s=Xx[t[l]];if(s&&s(o,t))return}return e(o,...r)})},Jx={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},un=(e,t)=>{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=o=>{if(!("key"in o))return;const r=Rr(o.key);if(t.some(l=>l===r||Jx[l]===r))return e(o)})},Zx=qn({patchProp:Bx},wx);let p1;function By(){return p1||(p1=nx(Zx))}const fl=(...e)=>{By().render(...e)},Dy=(...e)=>{const t=By().createApp(...e),{mount:n}=t;return t.mount=a=>{const o=ek(a);if(!o)return;const r=t._component;!Ue(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const l=n(o,!1,Qx(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t};function Qx(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ek(e){return Be(e)?document.querySelector(e):e}/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let zy;const Nf=e=>zy=e,Hy=Symbol();function Kp(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ou;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ou||(ou={}));function tk(){const e=uh(!0),t=e.run(()=>D({}));let n=[],a=[];const o=ao({install(r){Nf(o),o._a=r,r.provide(Hy,o),r.config.globalProperties.$pinia=o,a.forEach(l=>n.push(l)),a=[]},use(r){return this._a?n.push(r):a.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Fy=()=>{};function h1(e,t,n,a=Fy){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),a())};return!n&&bf()&&ch(o),o}function ws(e,...t){e.slice().forEach(n=>{n(...t)})}const nk=e=>e(),v1=Symbol(),N0=Symbol();function jp(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,a)=>e.set(a,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const a=t[n],o=e[n];Kp(o)&&Kp(a)&&e.hasOwnProperty(n)&&!Jt(a)&&!br(a)?e[n]=jp(o,a):e[n]=a}return e}const ak=Symbol();function ok(e){return!Kp(e)||!e.hasOwnProperty(ak)}const{assign:Gr}=Object;function rk(e){return!!(Jt(e)&&e.effect)}function lk(e,t,n,a){const{state:o,actions:r,getters:l}=t,s=n.state.value[e];let u;function c(){s||(n.state.value[e]=o?o():{});const d=Bn(n.state.value[e]);return Gr(d,r,Object.keys(l||{}).reduce((f,p)=>(f[p]=ao(x(()=>{Nf(n);const m=n._s.get(e);return l[p].call(m,m)})),f),{}))}return u=Ky(e,c,t,n,a,!0),u}function Ky(e,t,n={},a,o,r){let l;const s=Gr({actions:{}},n),u={deep:!0};let c,d,f=[],p=[],m;const v=a.state.value[e];!r&&!v&&(a.state.value[e]={});let h;function g(E){let T;c=d=!1,typeof E=="function"?(E(a.state.value[e]),T={type:ou.patchFunction,storeId:e,events:m}):(jp(a.state.value[e],E),T={type:ou.patchObject,payload:E,storeId:e,events:m});const A=h=Symbol();Ie().then(()=>{h===A&&(c=!0)}),d=!0,ws(f,T,a.state.value[e])}const y=r?function(){const{state:T}=n,A=T?T():{};this.$patch(N=>{Gr(N,A)})}:Fy;function b(){l.stop(),f=[],p=[],a._s.delete(e)}const C=(E,T="")=>{if(v1 in E)return E[N0]=T,E;const A=function(){Nf(a);const N=Array.from(arguments),P=[],L=[];function U(I){P.push(I)}function z(I){L.push(I)}ws(p,{args:N,name:A[N0],store:S,after:U,onError:z});let H;try{H=E.apply(this&&this.$id===e?this:S,N)}catch(I){throw ws(L,I),I}return H instanceof Promise?H.then(I=>(ws(P,I),I)).catch(I=>(ws(L,I),Promise.reject(I))):(ws(P,H),H)};return A[v1]=!0,A[N0]=T,A},w={_p:a,$id:e,$onAction:h1.bind(null,p),$patch:g,$reset:y,$subscribe(E,T={}){const A=h1(f,E,T.detached,()=>N()),N=l.run(()=>fe(()=>a.state.value[e],P=>{(T.flush==="sync"?d:c)&&E({storeId:e,type:ou.direct,events:m},P)},Gr({},u,T)));return A},$dispose:b},S=zt(w);a._s.set(e,S);const M=(a._a&&a._a.runWithContext||nk)(()=>a._e.run(()=>(l=uh()).run(()=>t({action:C}))));for(const E in M){const T=M[E];if(Jt(T)&&!rk(T)||br(T))r||(v&&ok(T)&&(Jt(T)?T.value=v[E]:jp(T,v[E])),a.state.value[e][E]=T);else if(typeof T=="function"){const A=C(T,E);M[E]=A,s.actions[E]=T}}return Gr(S,M),Gr(en(S),M),Object.defineProperty(S,"$state",{get:()=>a.state.value[e],set:E=>{g(T=>{Gr(T,E)})}}),a._p.forEach(E=>{Gr(S,l.run(()=>E({store:S,app:a._a,pinia:a,options:s})))}),v&&r&&n.hydrate&&n.hydrate(S.$state,v),c=!0,d=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Mh(e,t,n){let a,o;const r=typeof t=="function";typeof e=="string"?(a=e,o=r?n:t):(o=e,a=e.id);function l(s,u){const c=mh();return s=s||(c?Le(Hy,null):null),s&&Nf(s),s=zy,s._s.has(a)||(r?Ky(a,t,o,s):lk(a,o,s)),s._s.get(a)}return l.$id=a,l}const Se={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"},m1=["left","center","right"],sk=["year","years","month","months","date","dates","week","quarter","quarters","datetime","datetimerange","daterange","monthrange","yearrange","quarterrange"],$0=["sun","mon","tue","wed","thu","fri","sat"],st="update:modelValue",wt="change",Rn="input",g1=Symbol("INSTALLED_KEY"),Ro=["","default","small","large"];function jy(e,t){var n;const a=Mt();return ya(()=>{a.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!==null&&n!==void 0?n:"sync"}),Ws(a)}function pl(e,t){return bf()?(ch(e,t),!0):!1}const I0=new WeakMap,ik=(...e)=>{var t;const n=e[0],a=(t=gt())===null||t===void 0?void 0:t.proxy,o=a??bf();if(o==null&&!mh())throw new Error("injectLocal must be called in setup");return o&&I0.has(o)&&n in I0.get(o)?I0.get(o)[n]:Le(...e)},Vt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uk=e=>typeof e<"u",Wy=e=>e!=null,ck=Object.prototype.toString,dk=e=>ck.call(e)==="[object Object]",$f=(e,t,n)=>Math.min(n,Math.max(t,e)),ea=()=>{},Gs=fk();function fk(){var e,t,n;return Vt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigatoLine 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`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const l2="_Mousewheel",rg=function(e,t){if(e&&e.addEventListener){qb(e);const n=function(a){const o=fA(a);t&&Reflect.apply(t,this,[a,o])};e[l2]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},qb=e=>{var t;(t=e._Mousewheel)!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[l2].wheelHandler),e[l2]=null)},lg={beforeMount(e,t){rg(e,t.value)},unmounted(e){qb(e)},updated(e,t){t.value!==t.oldValue&&rg(e,t.value)}},Eu=e=>Object.keys(e),Ub=e=>Object.entries(e),sl=(e,t,n)=>({get value(){return kn(e,t,n)},set value(a){JO(e,t,a)}}),pA="__epPropKey",Z=e=>e,hA=e=>it(e)&&!!e.__epPropKey,No=(e,t)=>{if(!it(e)||hA(e))return e;const{values:n,required:a,default:o,type:r,validator:l}=e,s={type:r,required:!!a,validator:n||l?u=>{let c=!1,d=[];if(n&&(d=Array.from(n),Dt(e,"default")&&d.push(o),c||(c=d.includes(u))),l&&(c||(c=l(u))),!c&&d.length>0){const f=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");gx(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[pA]:!0};return Dt(e,"default")&&(s.default=o),s},Te=e=>Zs(Object.entries(e).map(([t,n])=>[t,No(n,t)])),vA=Te({zIndex:{type:Z([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Z([String,Object]),default:"body"}}),mA={scroll:({scrollTop:e,fixed:t})=>Ke(e)&&Yt(t),[wt]:e=>Yt(e)};var Yb=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function fn(e,t){throw new Yb(`[${e}] ${t}`)}function qt(e,t){{const n=Be(e)?new Yb(`[${e}] ${t}`):e;console.warn(n)}}const gA=["class","style"],yA=/^on[A-Z]/,qf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,a=x(()=>((n==null?void 0:n.value)||[]).concat(gA)),o=gt();return o?x(()=>{var r;return Zs(Object.entries((r=o.proxy)==null?void 0:r.$attrs).filter(([l])=>!a.value.includes(l)&&!(t&&yA.test(l))))}):(qt("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),x(()=>({})))};function Uh(){const e=Mt(),t=D(0),n=x(()=>({minWidth:`${Math.max(t.value,11)}px`}));return ln(e,()=>{var o;t.value=((o=e.value)==null?void 0:o.getBoundingClientRect().width)??0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const Uo=({from:e,replacement:t,scope:n,version:a,ref:o,type:r="API"},l)=>{fe(()=>i(l),s=>{s&&qt(n,`[${r}] ${e} is about to be deprecated in version ${a}, please use ${t} instead.
For more detail, please visit: ${o}
`)},{immediate:!0})},Yh=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),H0=e=>qu(e),bA="utils/dom/style",Gb=(e="")=>e.split(" ").filter(t=>!!t.trim()),oo=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},to=(e,t)=>{!e||!t.trim()||e.classList.add(...Gb(t))},ma=(e,t)=>{!e||!t.trim()||e.classList.remove(...Gb(t))},gr=(e,t)=>{var a;if(!Vt||!e||!t||Ib(e))return"";let n=aa(t);n==="float"&&(n="cssFloat");try{const o=e.style[n];if(o)return o;const r=(a=document.defaultView)==null?void 0:a.getComputedStyle(e,"");return r?r[n]:""}catch{return e.style[n]}},Xb=(e,t,n)=>{if(!(!e||!t))if(it(t))Ub(t).forEach(([a,o])=>Xb(e,a,o));else{const a=aa(t);e.style[a]=n}};function gn(e,t="px"){if(!e&&e!==0)return"";if(Ke(e)||aA(e))return`${e}${t}`;if(Be(e))return e;qt(bA,"binding value must be a string or number")}const Jb=(e,t,n,a)=>{const o={offsetX:0,offsetY:0},r=D(!1),l=(p,m)=>{if(e.value){const{offsetX:v,offsetY:h}=o,g=e.value.getBoundingClientRect(),y=Math.max(g.left,0),b=Math.max(g.top,0),C=g.width,w=g.height,S=document.documentElement.clientWidth,k=document.documentElement.clientHeight,M=-y+v,E=-b+h,T=S-y-C+v,A=k-b-(w<k?w:0)+h;a!=null&&a.value||(p=Pa(p,M,T),m=Pa(m,E,A)),o.offsetX=p,o.offsetY=m,e.value.style.transform=`translate(${gn(p)}, ${gn(m)})`}},s=p=>{const m=p.clientX,v=p.clientY,{offsetX:h,offsetY:g}=o,y=C=>{r.value||(r.value=!0),l(h+C.clientX-m,g+C.clientY-v)},b=()=>{r.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",s),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",s),window.removeEventListener("resize",f))},d=()=>{o.offsetX=0,o.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:p,offsetY:m}=o;l(p,m)};return yt(()=>{ya(()=>{n.value?u():c()})}),Ht(()=>{c()}),{isDragging:r,resetPosition:d,updatePosition:f}};var wA={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",quarterTablePrompt:"Use the arrow keys and enter to select the quarter",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",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},input:{characters:"{count} / {max} characters"},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"R Line truncated
usage: app.provide(ID_INJECTION_KEY, {
prefix: number,
current: number,
})`);const n=Gh();return jy(()=>i(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Rs=[];const bg=e=>{Xt(e)===Se.esc&&Rs.forEach(t=>t(e))},VR=e=>{yt(()=>{Rs.length===0&&document.addEventListener("keydown",bg),Vt&&Rs.push(e)}),Ht(()=>{Rs=Rs.filter(t=>t!==e),Rs.length===0&&Vt&&document.removeEventListener("keydown",bg)})},h8=()=>{const e=Gh(),t=sv(),n=x(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:x(()=>`#${n.value}`)}},BR=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},DR=()=>{const{id:e,selector:t}=h8();return Af(()=>{Vt&&(document.body.querySelector(t.value)||BR(e.value))}),{id:e,selector:t}},zR=Te({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),HR={showAfter:0,hideAfter:200,autoClose:0},FR=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:o})=>{const{registerTimeout:r}=yg(),{registerTimeout:l,cancelTimeout:s}=yg();return{onOpen:(d,f=i(e))=>{r(()=>{a(d);const p=i(n);Ke(p)&&p>0&&l(()=>{o(d)},p)},f)},onClose:(d,f=i(t))=>{s(),r(()=>{o(d)},f)}}},v8=Symbol("elForwardRef"),KR=e=>{Tt(v8,{setForwardRef:n=>{e.value=n}})},jR=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),wg={current:0},_g=D(0),m8=2e3,Cg=Symbol("elZIndexContextKey"),g8=Symbol("zIndexContextKey"),lc=e=>{const t=gt()?Le(Cg,wg):wg,n=e||(gt()?Le(g8,void 0):void 0),a=x(()=>{const l=i(n);return Ke(l)?l:m8}),o=x(()=>a.value+_g.value),r=()=>(t.current++,_g.value=t.current,o.value);return!Vt&&!Le(Cg)&&qt("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:o,nextZIndex:r}},ai=Math.min,jl=Math.max,Fd=Math.round,Lc=Math.floor,Cr=e=>({x:e,y:e}),WR={left:"right",right:"left",bottom:"top",top:"bottom"};function y8(e,t,n){return jl(e,ai(t,n))}function sc(e,t){return typeof e=="function"?e(t):e}function oi(e){return e.split("-")[0]}function ic(e){return e.split("-")[1]}function b8(e){return e==="x"?"y":"x"}function iv(e){return e==="y"?"height":"width"}function al(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function uv(e){return b8(al(e))}function qR(e,t,n){n===void 0&&(n=!1);const a=ic(e),o=uv(e),r=iv(o);let l=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=Kd(l)),[l,Kd(l)]}function UR(e){const t=Kd(e);return[c2(e),t,c2(t)]}function c2(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Sg=["left","right"],xg=["right","left"],YR=["top","bottom"],GR=["bottom","top"];function XR(e,t,n){switch(e){case"top":case"bottom":return n?t?xg:Sg:t?Sg:xg;case"left":case"right":return t?YR:GR;default:return[]}}function JR(e,t,n,a){const o=ic(e);let r=XR(oi(e),n==="start",a);return o&&(r=r.map(l=>l+"-"+o),t&&(r=r.concat(r.map(c2)))),r}function Kd(e){const t=oi(e);return WR[t]+e.slice(t.length)}function ZR(e){var t,n,a,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(o=e.left)!=null?o:0}}function w8(e){return typeof e!="number"?ZR(e):{top:e,right:e,bottom:e,left:e}}function jd(e){const{x:t,y:n,width:a,height:o}=e;return{width:a,height:o,top:n,left:t,right:t+a,bottom:n+o,x:t,y:n}}function kg(e,t,n){let{reference:a,floating:o}=e;const r=al(t),l=uv(t),s=iv(l),u=oi(t),c=r==="y",d=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,p=a[s]/2-o[s]/2;let m;switch(u){case"top":m={x:d,y:a.y-o.height};break;case"bottom":m={x:d,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:f};break;case"left":m={x:a.x-o.width,y:f};break;default:m={x:a.x,y:a.y}}const v=ic(t);return v&&(m[l]+=p*(v==="end"?1:-1)*(n&&c?-1:1)),m}async function _8(e,t){var n;t===void 0&&(t={});const{x:a,y:o,platform:r,rects:l,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=sc(t,e),v=w8(m),g=s[p?f==="floating"?"reference":"floating":f],y=jd(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(g)))==null||n?g:g.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:u})),b=f==="floating"?{x:a,y:o,width:l.floating.width,height:l.floating.height}:l.reference,C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(s.floating)),w=await(r.isElement==null?void 0:r.isElement(C))&&await(r.getScale==null?void 0:r.getScale(C))||{x:1,y:1},S=jd(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:C,strategy:u}):b);return{top:(y.top-S.top+v.top)/w.y,bottom:(S.bottom-y.bottom+v.bottom)/w.y,left:(y.left-S.left+v.left)/w.x,right:(S.right-y.right+v.right)/w.x}}const QR=50,eP=async(e,t,n)=>{const{placement:a="bottom",strategy:o="absolute",middleware:r=[],platform:l}=n,s=l.detectOverflow?l:{...l,detectOverflow:_8},u=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=kg(c,a,u),p=a,m=0;const v={};for(let h=0;h<r.length;h++){const g=r[h];if(!g)continue;const{name:y,fn:b}=g,{x:C,y:w,data:S,reset:k}=await b({x:d,y:f,initialPlacement:a,placement:p,strategy:o,middlewareData:v,rects:c,platform:s,elements:{reference:e,floating:t}});d=C??d,f=w??f,v[y]={...v[y],...S},k&&m<QR&&(m++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(c=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:d,y:f}=kg(c,p,u)),h=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:v}},tP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:o,rects:r,platform:l,elements:s,middlewareData:u}=t,{element:c,padding:d=0}=sc(e,t)||{};if(c==null)return{};const f=w8(d),p={x:n,y:a},m=uv(o),v=iv(m),h=await l.getDimensions(c),g=m==="y",y=g?"top":"left",b=g?"bottom":"right",C=g?"clientHeight":"clientWidth",w=r.reference[v]+r.reference[m]-p[m]-r.floating[v],S=p[m]-r.reference[m],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let M=k?k[C]:0;(!M||!await(l.isElement==null?void 0:l.isElement(k)))&&(M=s.floating[C]||r.floating[v]);const E=w/2-S/2,T=M/2-h[v]/2-1,A=ai(f[y],T),N=ai(f[b],T),P=M-h[v]-N,L=M/2-h[v]/2+E,U=y8(A,L,P),z=!u.arrow&&ic(o)!=null&&L!==U&&r.reference[v]/2-(L<A?A:N)-h[v]/2<0,H=z?L<A?L-A:L-P:0;return{[m]:p[m]+H,data:{[m]:U,centerOffset:L-U-H,...z&&{alignmentOffset:H}},reset:z}}}),nP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:o,middlewareData:r,rects:l,initialPlacement:s,platform:u,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
(?:`+a+":){5}(?::"+n+"|(?::"+a+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+a+":){4}(?:(?::"+a+"){0,1}:"+n+"|(?::"+a+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+a+":){3}(?:(?::"+a+"){0,2}:"+n+"|(?::"+a+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+a+":){2}(?:(?::"+a+"){0,3}:"+n+"|(?::"+a+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+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(),r=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),l=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),u=function(w){return w&&w.exact?r:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+o+t(w)+")","g")};u.v4=function(C){return C&&C.exact?l:new RegExp(""+t(C)+n+t(C),"g")},u.v6=function(C){return C&&C.exact?s:new RegExp(""+t(C)+o+t(C),"g")};var c="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",f=u.v4().source,p=u.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',b="(?:"+c+"|www\\.)"+d+"(?:localhost|"+f+"|"+p+"|"+m+v+h+")"+g+y;return Bc=new RegExp("(?:^"+b+"$)","i"),Bc},Vg={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},Yi={integer:function(t){return Yi.number(t)&&parseInt(t,10)===t},float:function(t){return Yi.number(t)&&!Yi.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"&&!Yi.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Vg.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(VK())},hex:function(t){return typeof t=="string"&&!!t.match(Vg.hex)}},BK=function(t,n,a,o,r){if(t.required&&n===void 0){dw(t,n,a,o,r);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;l.indexOf(s)>-1?Yi[s](n)||o.push(Wa(r.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(Wa(r.messages.types[s],t.fullField,t.type))},DK=function(t,n,a,o,r){var l=typeof t.len=="number",s=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,p=typeof n=="number",m=typeof n=="string",v=Array.isArray(n);if(p?f="number":m?f="string":v&&(f="array"),!f)return!1;v&&(d=n.length),m&&(d=n.replace(c,"_").length),l?d!==t.len&&o.push(Wa(r.messages[f].len,t.fullField,t.len)):s&&!u&&d<t.min?o.push(Wa(r.messages[f].min,t.fullField,t.min)):u&&!s&&d>t.max?o.push(Wa(r.messages[f].max,t.fullField,t.max)):s&&u&&(d<t.min||d>t.max)&&o.push(Wa(r.messages[f].range,t.fullField,t.min,t.max))},Cs="enum",zK=function(t,n,a,o,r){t[Cs]=Array.isArray(t[Cs])?t[Cs]:[],t[Cs].indexOf(n)===-1&&o.push(Wa(r.messages[Cs],t.fullField,t[Cs].join(", ")))},HK=function(t,n,a,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Wa(r.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(n)||o.push(Wa(r.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},nn={required:dw,whitespace:LK,type:BK,range:DK,enum:zK,pattern:HK},FK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n,"string")&&!t.required)return a();nn.required(t,n,o,l,r,"string"),Zn(n,"string")||(nn.type(t,n,o,l,r),nn.range(t,n,o,l,r),nn.pattern(t,n,o,l,r),t.whitespace===!0&&nn.whitespace(t,n,o,l,r))}a(l)},KK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),n!==void 0&&nn.type(t,n,o,l,r)}a(l)},jK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),n!==void 0&&(nn.type(t,n,o,l,r),nn.range(t,n,o,l,r))}a(l)},WK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),n!==void 0&&nn.type(t,n,o,l,r)}a(l)},qK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),Zn(n)||nn.type(t,n,o,l,r)}a(l)},UK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),n!==void 0&&(nn.type(t,n,o,l,r),nn.range(t,n,o,l,r))}a(l)},YK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(Zn(n)&&!t.required)return a();nn.required(t,n,o,l,r),n!==void 0&&(nn.type(t,n,o,l,r),nn.range(t,n,o,l,r))}a(l)},GK=function(t,n,a,o,r){var l=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return a();nn.required(t,n,o,l,r,"array"),n!=null&&(nn.type(t,n,o,l,r),nn.range(t,n,o,l,r))}a(l)},XK=function(t,n,a,o,r){var Line truncated
You should set
width/height
to number when your layout is
horizontal/vertical
`);const c=Math.max(0,t*n-u),d=Math.min(c,r*n),f=Math.max(0,(r+1)*n-u);switch(l==="smart"&&(s>=f-u&&s<=d+u?l=no:l=qo),l){case $u:return d;case"end":return f;case qo:{const p=Math.round(f+(d-f)/2);return p<Math.ceil(u/2)?0:p>c+Math.floor(u/2)?c:p}case no:default:return s>=f&&s<=d?s:s<f?f:d}},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:o},r,l)=>{const s=r*n,u=Lu(a)?o:e,c=Math.ceil((u+l-s)/n);return Math.max(0,Math.min(t-1,r+c-1))},initCache(){},clearCache:!0,validateProps(){}}),uY="ElDynamicSizeList",$s=(e,t,n)=>{const{itemSize:a}=e,{items:o,lastVisitedIndex:r}=n;if(t>r){let l=0;if(r>=0){const s=o[r];l=s.offset+s.size}for(let s=r+1;s<=t;s++){const u=a(s);o[s]={offset:l,size:u},l+=u}n.lastVisitedIndex=t}return o[t]},cY=(e,t,n)=>{const{items:a,lastVisitedIndex:o}=t;return(o>0?a[o].offset:0)>=n?o5(e,t,0,o,n):dY(e,t,Math.max(0,o),n)},o5=(e,t,n,a,o)=>{for(;n<=a;){const r=n+Math.floor((a-n)/2),l=$s(e,r,t).offset;if(l===o)return r;l<o?n=r+1:l>o&&(a=r-1)}return Math.max(0,n-1)},dY=(e,t,n,a)=>{const{total:o}=e;let r=1;for(;n<o&&$s(e,n,t).offset<a;)n+=r,r*=2;return o5(e,t,Math.floor(n/2),Math.min(n,o-1),a)},v4=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:a})=>{let o=0;if(a>=e&&(a=e-1),a>=0){const l=t[a];o=l.offset+l.size}const r=(e-a-1)*n;return o+r},fY=a5({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>$s(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:v4,getOffset:(e,t,n,a,o)=>{const{height:r,layout:l,width:s}=e,u=Lu(l)?s:r,c=$s(e,t,o),d=v4(e,o),f=Math.max(0,Math.min(d-u,c.offset)),p=Math.max(0,c.offset-u+c.size);switch(n==="smart"&&(a>=p-u&&a<=f+u?n=no:n=qo),n){case $u:return f;case"end":return p;case qo:return Math.round(p+(f-p)/2);case no:default:return a>=p&&a<=f?a:a<p?p:f}},getStartIndexForOffset:(e,t,n)=>cY(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:o,total:r,layout:l,width:s}=e,u=Lu(l)?s:o,c=$s(e,t,a),d=n+u;let f=c.offset+c.size,p=t;for(;p<r-1&&f<d;)p++,f+=$s(e,p,a).size;return p},initCache({estimatedItemSize:e=50},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(a,o=!0)=>{var r,l;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),(r=t.exposed)==null||r.getItemStyleCache(-1),o&&((l=t.proxy)==null||l.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&fn(uY,`
itemSize is required as function, but the given value was ${typeof e}
`)}}),pY=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},o)=>{let r=null,l=0,s=0;const u=(d,f)=>{const p=d<0&&t.value||d>0&&e.value,m=f<0&&a.value||f>0&&n.value;return p||m};return{hasReachedEdge:u,onWheel:d=>{ko(r);let f=d.deltaX,p=d.deltaY;if(Math.abs(f)>Math.abs(p)?p=0:f=0,d.shiftKey&&p!==0&&(f=p,p=0),u(f,p)){d.deltaX!==0&&f===0&&d.preventDefault();return}l+=f,s+=p,d.preventDefault(),r=ba(()=>{o(l,s),l=0,s=0})}}},hY=(e,t,n,a,o,r,l)=>{const s=D(0),u=D(0);let c,d=0,f=0;const p=v=>{ko(c),s.value=v.touches[0].clientX,u.value=v.touches[0].clientY,d=0,f=0},m=v=>{v.preventDefault(),ko(c),d+=s.value-v.touches[0].clientX,f+=u.value-v.touches[0].clientY,s.value=v.touches[0].clientX,u.value=v.touches[0].clientY,c=ba(()=>{const h=a.value-i(r),g=o.value-i(l);n({scrollLeft:Math.min(t.value.scrollLeft+d,h),scrollTop:Math.min(t.value.scrollTop+f,g)}),d=0,f=0})};return Kt(e,"touchstart",p,{passive:!0}),Kt(e,"touchmove",m,{passive:!1}),{touchStartX:s,touchStartY:u,handleTouchStart:p,handleTouchMove:m}},r5=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:r,getEstimatedTotalWidth:l,getColumnOffset:s,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:p,injectToInstance:m,validateProps:v})=>W({name:e??"ElVirtualList",props:ql,emits:[Xd,Jd],setup(h,{emit:g,expose:y,slots:b}){const C=be("vl");v(h);const w=gt(),S=D(p(h,w));m==null||m(w,S);const k=D(),M=D(),E=D(),T=D(),A=D({isScrolling:!1,scrollLeft:Ke(h.initScrollLeft)?h.initScrollLeft:0,scrollTop:Ke(h.initScrollTop)?h.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Zd,yAxisScrollDir:Zd}),N=t5(),P=x(()=>Number.parseInt(`${h.height}`,10)),L=x(()=>Number.parseInt(`${h.width}`,10)),U=x(()=>{const{totalColumn:ge,totalRow:Oe,columnCache:_e}=h,{isScrolling:Ne,xAxisScrollDir:ze,scrollLeft:Qe}=i(A);if(ge===0||Oe===0)return[0,0,0,0];const et=a(h,Qe,i(S)),Xe=o(h,et,Qe,i(S)),_t=!Ne||ze==="backward"?Math.max(1,_e):1,Rt=!Ne||ze==="forward"?Math.max(1,_e):1;return[Math.max(0,et-_t),Math.max(0,Math.min(ge-1,Xe+Rt)),et,Xe]}),z=x(()=>{const{totalColumn:ge,totalRow:Oe,rowCache:_e}=h,{isScrolling:Ne,yAxisScrollDir:ze,scrollTop:Qe}=i(A);if(ge===0||Oe===0)return[0,0,0,0];const et=d(h,Qe,i(S)),Xe=f(h,et,Qe,i(S)),_t=!Ne||ze==="backward"?Math.max(1,_e):1,Rt=!Ne||ze==="forward"?Math.max(1,_e):1;return[Math.max(0,et-_t),Math.max(0,Math.min(Oe-1,Xe+Rt)),et,Xe]}),H=x(()=>r(h,i(S))),I=x(()=>l(h,i(S))),B=x(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:h.direction,height:Ke(h.height)?`${h.height}px`:h.height,width:Ke(h.width)?`${h.width}px`:h.width},h.style??{}]),j=x(()=>{const ge=`${i(I)}px`;return{height:`${i(H)}px`,pointerEvents:i(A).isScrolling?"none":void 0,width:ge,margin:0,boxSizing:"border-box"}}),K=()=>{const{totalColumn:ge,totalRow:Oe}=h;if(ge>0&&Oe>0){const[Xe,_t,Rt,Ut]=i(U),[Nt,jt,on,ke]=i(z);g(Xd,{columnCacheStart:Xe,columnCacheEnd:_t,rowCacheStart:Nt,rowCacheEnd:jt,columnVisibleStart:Rt,columnVisibleEnd:Ut,rowVisibleStart:on,rowVisibleEnd:ke})}const{scrollLeft:_e,scrollTop:Ne,updateRequested:ze,xAxisScrollDir:Qe,yAxisScrollDir:et}=i(A);g(Jd,{xAxisScrollDir:Qe,scrollLeft:_e,yAxisScrollDir:et,scrollTop:Ne,updateRequested:ze})},q=ge=>{const{clientHeight:Oe,clientWidth:_e,scrollHeight:Ne,scrollLeft:ze,scrollTop:Qe,scrollWidth:et}=ge.currentTarget,Xe=i(A);if(Xe.scrollTop===Qe&&Xe.scrollLeft===ze)return;let _t=ze;if(p4(h.direction))switch(ef()){case Iu:_t=-ze;break;case Nv:_t=et-_e-ze;break}A.value={...Xe,isScrolling:!0,scrollLeft:_t,scrollTop:Math.max(0,Math.min(Qe,Ne-Oe)),updateRequested:!0,xAxisScrollDir:Xi(Xe.scrollLeft,_t),yAxisScrollDir:Xi(Xe.scrollTop,Qe)},Ie(()=>F()),Y(),K()},V=(ge,Oe)=>{const _e=i(P),Ne=(H.value-_e)/Oe*ge;ne({scrollTop:Math.min(H.value-_e,Ne)})},G=(ge,Oe)=>{const _e=i(L),Ne=(I.value-_e)/Oe*ge;ne({scrollLeft:Math.min(I.value-_e,Ne)})},{onWheel:Q}=pY({atXStartEdge:x(()=>A.value.scrollLeft<=0),atXEndEdge:x(()=>A.value.scrollLeft>=I.value-i(L)),atYStartEdge:x(()=>A.value.scrollTop<=0),atYEndEdge:x(()=>A.value.scrollTop>=H.value-i(P))},(ge,Oe)=>{var ze,Qe,et,Xe;(Qe=(ze=M.value)==null?void 0:ze.onMouseUp)==null||Qe.call(ze),(Xe=(et=E.value)==null?void 0:et.onMouseUp)==null||Xe.call(et);const _e=i(L),Ne=i(P);ne({scrollLeft:Math.min(A.value.scrollLeft+ge,I.value-_e),scrollTop:Math.min(A.value.scrollTop+Oe,H.value-Ne)})});Kt(k,"wheel",Q,{passive:!1});const ne=({scrollLeft:ge=A.value.scrollLeft,scrollTop:Oe=A.value.scrollTop})=>{ge=Math.max(ge,0),Oe=Math.max(Oe,0);const _e=i(A);Oe===_e.scrollTop&&ge===_e.scrollLeft||(A.value={..._e,xAxisScrollDir:Xi(_e.scrollLeft,ge),yAxisScrollDir:Xi(_e.scrollTop,Oe),scrollLeft:ge,scrollTop:Oe,updateRequested:!0},Ie(()=>F()),Y(),K())},{touchStartX:oe,touchStartY:J,handleTouchStart:ue,handleTouchMove:le}=hY(k,A,ne,I,H,L,P),X=(ge=0,Oe=0,_e=no)=>{const Ne=i(A);Oe=Math.max(0,Math.min(Oe,h.totalColumn-1)),ge=Math.max(0,Math.min(ge,h.totalRow Line truncated
"columnWidth" must be passed as number,
instead ${typeof e} was given.
`),Ke(t)||fn(m4,`
"columnWidth" must be passed as number,
instead ${typeof t} was given.
`)}}),{max:tf,min:l5,floor:s5}=Math,g4="ElDynamicSizeGrid",mY={column:"columnWidth",row:"rowHeight"},R2={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},pr=(e,t,n,a)=>{const[o,r,l]=[n[a],e[mY[a]],n[R2[a]]];if(t>l){let s=0;if(l>=0){const u=o[l];s=u.offset+u.size}for(let u=l+1;u<=t;u++){const c=r(u);o[u]={offset:s,size:c},s+=c}n[R2[a]]=t}return o[t]},i5=(e,t,n,a,o,r)=>{for(;n<=a;){const l=n+s5((a-n)/2),s=pr(e,l,t,r).offset;if(s===o)return l;s<o?n=l+1:a=l-1}return tf(0,n-1)},gY=(e,t,n,a,o)=>{const r=o==="column"?e.totalColumn:e.totalRow;let l=1;for(;n<r&&pr(e,n,t,o).offset<a;)n+=l,l*=2;return i5(e,t,s5(n/2),l5(n,r-1),a,o)},y4=(e,t,n,a)=>{const[o,r]=[t[a],t[R2[a]]];return(r>0?o[r].offset:0)>=n?i5(e,t,0,r,n,a):gY(e,t,tf(0,r),n,a)},u5=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const l=a[n];o=l.offset+l.size}const r=(e-n-1)*t;return o+r},c5=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let o=0;if(a>e&&(a=e-1),a>=0){const l=t[a];o=l.offset+l.size}const r=(e-a-1)*n;return o+r},yY={column:c5,row:u5},b4=(e,t,n,a,o,r,l)=>{const[s,u]=[r==="row"?e.height:e.width,yY[r]],c=pr(e,t,o,r),d=tf(0,l5(u(e,o)-s,c.offset)),f=tf(0,c.offset-s+l+c.size);switch(n==="smart"&&(a>=f-s&&a<=d+s?n=no:n=qo),n){case $u:return d;case"end":return f;case qo:return Math.round(f+(d-f)/2);case no:default:return a>=f&&a<=d?a:f>d||a<f?f:d}},bY=r5({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const a=pr(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=pr(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,o,r)=>b4(e,t,n,a,o,"column",r),getRowOffset:(e,t,n,a,o,r)=>b4(e,t,n,a,o,"row",r),getColumnStartIndexForOffset:(e,t,n)=>y4(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const o=pr(e,t,a,"column"),r=n+e.width;let l=o.offset+o.size,s=t;for(;s<e.totalColumn-1&&l<r;)s++,l+=pr(e,t,a,"column").size;return s},getEstimatedTotalHeight:u5,getEstimatedTotalWidth:c5,getRowStartIndexForOffset:(e,t,n)=>y4(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:o,height:r}=e,l=pr(e,t,a,"row"),s=n+r;let u=l.size+l.offset,c=t;for(;c<o-1&&u<s;)c++,u+=pr(e,c,a,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:r,rowIndex:l},s)=>{var u,c;s=Ot(s)?!0:s,Ke(r)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,r-1)),Ke(l)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,l-1)),(u=e.exposed)==null||u.getItemStyleCache.value(-1,null,null),s&&((c=e.proxy)==null||c.$forceUpdate())},a=(r,l)=>{n({columnIndex:r},l)},o=(r,l)=>{n({rowIndex:r},l)};Object.assign(e.proxy,{resetAfterColumnIndex:a,resetAfterRowIndex:o,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})=>{Ue(e)||fn(g4,`
"columnWidth" must be passed as function,
instead ${typeof e} was given.
`),Ue(t)||fn(g4,`
"rowHeight" must be passed as function,
instead ${typeof t} was given.
`)}}),d5={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:Ln,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...wa(["ariaControls"])},f5={[st]:e=>Be(e)||Ke(e)||Yt(e),change:e=>Be(e)||Ke(e)||Yt(e)},_i=Symbol("checkboxGroupContextKey"),wY=Te({modelValue:{type:Z(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Ln,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:Z(Array)},props:{type:Z(Object),default:()=>p5},type:{type:String,values:["checkbox","button"],default:"checkbox"},...wa(["ariaLabel"])}),_Y={[st]:e=>we(e),change:e=>we(e)},p5={label:"label",value:"value",disabled:"disabled"},CY=({model:e,isChecked:t})=>{const n=Le(_i,void 0),a=Le(ms,void 0),o=x(()=>{var s,u;const r=(s=n==null?void 0:n.max)==null?void 0:s.value,l=(u=n==null?void 0:n.min)==null?void 0:u.value;return!Ot(r)&&e.value.length>=r&&!t.value||!Ot(l)&&e.value.length<=l&&t.value});return{isDisabled:cn(x(()=>{var r;return n===void 0?(a==null?void 0:a.disabled)??o.value:((r=n.disabled)==null?void 0:r.value)||o.value})),isLimitDisabled:o}},SY=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:o,isLabeledByFormItem:r})=>{const l=Le(_i,void 0),{formItem:s}=Yn(),{emit:u}=gt();function c(v){return[!0,e.trueValue,e.trueLabel].includes(v)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(v,h){u(wt,c(v),h)}function f(v){if(n.value)return;const h=v.target;u(wt,c(h.checked),v)}async function p(v){n.value||!a.value&&!o.value&&r.value&&(v.composedPath().some(h=>h.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Ie(),d(t.value,v)))}const m=x(()=>(l==null?void 0:l.validateEvent)||e.validateEvent);return fe(()=>e.modelValue,()=>{m.value&&(s==null||s.validate("change").catch(ht))}),{handleChange:f,onClickRoot:p}},xY=e=>{const t=D(!1),{emit:n,vnode:a}=gt(),o=Le(_i,void 0),r=x(()=>Ot(o)===!1),l=D(!1),s=x(()=>{const c=a.props??{};return"modelValue"in c||"model-value"in c}),u=x({get(){var c;return r.value?(c=o==null?void 0:o.modelValue)==null?void 0:c.value:s.value?e.modelValue:t.value},set(c){var d,f;r.value&&we(c)?(l.value=((d=o==null?void 0:o.max)==null?void 0:d.value)!==void 0&&c.length>(o==null?void 0:o.max.value)&&c.length>u.value.length,l.value===!1&&((f=o==null?void 0:o.changeEvent)==null||f.call(o,c))):(n(st,c),t.value=c)}});return{model:u,isGroup:r,isLimitExceeded:l}},kY=(e,t,{model:n})=>{const a=Le(_i,void 0),o=D(!1),r=x(()=>Ka(e.value)?e.label:e.value),l=x(()=>{const s=n.value;return Yt(s)?s:we(s)?it(r.value)?s.map(en).some(u=>vn(u,r.value)):s.map(en).includes(r.value):s!=null?s===e.trueValue||s===e.trueLabel:!!s});return{checkboxButtonSize:Pn(x(()=>{var s;return(s=a==null?void 0:a.size)==null?void 0:s.value}),{prop:!0}),isChecked:l,isFocused:o,checkboxSize:Pn(x(()=>{var s;return(s=a==null?void 0:a.size)==null?void 0:s.value})),hasOwnLabel:x(()=>!!t.default||!Ka(r.value)),actualValue:r}},h5=(e,t)=>{const{formItem:n}=Yn(),{model:a,isGroup:o,isLimitExceeded:r}=xY(e),{isFocused:l,isChecked:s,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=kY(e,t,{model:a}),{isDisabled:p}=CY({model:a,isChecked:s}),{inputId:m,isLabeledByFormItem:v}=Ba(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:h,onClickRoot:g}=SY(e,{model:a,isLimitExceeded:r,hasOwnLabel:d,isDisabled:p,isLabeledByFormItem:v});return(()=>{function b(){we(a.value)&&!a.value.includes(f.value)?a.value.push(f.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&b()})(),Uo({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>o.value&&Ka(e.value))),Uo({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>!!e.trueLabel)),Uo({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},x(()=>!!e.falseLabel)),{inputId:m,isLabeledByFormItem:v,isChecked:s,isDisabled:p,isFocused:l,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:a,actualValue:f,handleChange:h,onClickRoot:g}},EY=["id","indeterminate","name","tabindex","disabled"];var TY=W({name:"ElCheckbox",__name:"checkbox",props:d5,emits:f5,setup(e){const t=e,{inputId:n,isLabeledByFormItem:a,isChecked:o,isDisabled:r,isFocused:l,checkboxSize:s,hasOwnLabel:u,mode 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]=O("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):p.value&&e.node.checked?(_(),de(i(De),{key:2,class:$(i(r).e("prefix"))},{default:re(()=>[te(i(ns))]),_:1},8,["class"])):ie("v-if",!0),ie(" content "),te(i(WY),{node:e.node},null,8,["node"]),ie(" postfix "),p.value?ie("v-if",!0):(_(),R(je,{key:3},[e.node.loading?(_(),de(i(De),{key:0,class:$([i(r).is("loading"),i(r).e("postfix")])},{default:re(()=>[te(i(co))]),_:1},8,["class"])):(_(),de(i(De),{key:1,class:$(["arrow-right",i(r).e("postfix")])},{default:re(()=>[te(i(la))]),_:1},8,["class"]))],64))],42,qY))}}),w4=UY,YY=W({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=gt(),o=be("cascader-menu"),{t:r}=kt(),l=oa();let s,u;const c=Le(l0),d=D(),f=D(),p=x(()=>!n.nodes.length),m=x(()=>!c.initialLoaded),v=x(()=>`${l.value}-${n.index}`),h=()=>{var E,T,A,N;let M;if(c.expandingNode){const{level:P,pathNodes:L}=c.expandingNode;n.index<P?M=(E=L[n.index])==null?void 0:E.uid:n.index===P&&c.checkedNodes.length>0&&(M=(A=(T=c.checkedNodes[0])==null?void 0:T.pathNodes[n.index])==null?void 0:A.uid)}else c.checkedNodes.length>0&&n.index<c.checkedNodes[0].pathNodes.length&&(M=(N=c.checkedNodes[0].pathNodes[n.index])==null?void 0:N.uid);return M!==void 0?n.nodes.findIndex(P=>P.uid===M):-1},g=M=>M?n.nodes.findIndex(E=>`${v.value}-${E.uid}`===M):-1,y=M=>{var T;const E=Pa(M,0,n.nodes.length-1);(T=f.value)==null||T.scrollToItem(E)},b=M=>{if(!n.nodes.length)return;const E=Pa(M,0,n.nodes.length-1);y(E),Ie(()=>{var A;const T=(A=a.vnode.el)==null?void 0:A.querySelector(`#${v.value}-${n.nodes[E].uid}`);T&&Hs(T)})},C=M=>{s=M.target},w=M=>{var E,T,A;if(!(!c.isHoverMenu||!s||!d.value))if(s.contains(M.target)){S();const N=a.vnode.el,{left:P}=N.getBoundingClientRect(),{offsetWidth:L,offsetHeight:U}=N,z=M.clientX-P,H=s.offsetTop,I=H+s.offsetHeight,B=n.virtualScroll?((T=(E=f.value)==null?void 0:E.states)==null?void 0:T.scrollOffset)||0:((A=N.querySelector(`.${o.e("wrap")}`))==null?void 0:A.scrollTop)||0;d.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${z} ${H} L${L} ${B} V${H} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${z} ${I} L${L} ${U+B} V${I} Z" />
`}else u||(u=window.setTimeout(k,c.config.hoverThreshold))},S=()=>{u&&(clearTimeout(u),u=void 0)},k=()=>{d.value&&(d.value.innerHTML="",S())};return t({getActiveNodeIndex:h,getNodeIndexById:g,scrollToItem:y,focusNodeAt:b,virtualListRef:f,get $el(){return a.vnode.el}}),(M,E)=>{var T;return e.virtualScroll?(_(),R("div",{key:v.value,class:$(i(o).b()),onMousemove:w,onMouseleave:k},[te(i(mc),{ref_key:"virtualListRef",ref:f,height:e.height,"item-size":e.itemSize,data:e.nodes,total:e.nodes.length,"class-name":i(o).e("list"),"inner-element":"ul","inner-props":{role:"menu",class:i(o).is("empty",p.value)}},{default:re(({data:A,index:N,style:P})=>[(_(),de(w4,{key:A[N].uid,node:A[N],"menu-id":v.value,style:Ye(P),onExpand:C},null,8,["node","menu-id","style"]))]),_:1},8,["height","item-size","data","total","class-name","inner-props"]),m.value?(_(),R("div",{key:0,class:$(i(o).e("empty-text"))},[te(i(De),{size:14,class:$(i(o).is("loading"))},{default:re(()=>[te(i(co))]),_:1},8,["class"]),xt(" "+Ee(i(r)("el.cascader.loading")),1)],2)):p.value?(_(),R("div",{key:1,class:$(i(o).e("empty-text"))},[se(M.$slots,"empty",{},()=>[xt(Ee(i(r)("el.cascader.noData")),1)])],2)):(T=i(c))!=null&&T.isHoverMenu?(_(),R(je,{key:2},[ie(" eslint-disable vue/html-self-closing "),(_(),R("svg",{ref_key:"hoverZone",ref:d,class:$(i(o).e("hover-zone"))},null,2))],2112)):ie("v-if",!0),ie(" eslint-enable vue/html-self-closing ")],34)):(_(),de(i(Mo),{key:v.value,tag:"ul",role:"menu",class:$(i(o).b()),"wrap-class":i(o).e("wrap"),"view-class":[i(o).e("list"),i(o).is("empty",p.value)],onMousemove:w,onMouseleave:k},{default:re(()=>{var A;return[(_(!0),R(je,null,St(e.nodes,N=>(_(),de(w4,{key:N.uid,node:N,"menu-id":v.value,onExpand:C},null,8,["node","menu-id"]))),128)),m.value?(_(),R("div",{key:0,class:$(i(o).e("empty-text"))},[te(i(De),{size:14,class:$(i(o).is("loading"))},{default:re(()=>[te(i(co))]),_:1},8,["class"]),xt(" "+Ee(i(r)("el.cascader.loading")),1)],2)):p.value?(_(),R("div",{key:1,class:$(i(o).e("empty-text"))},[se(M.$slots,"empty",{},()=>[xt(Ee(i(r)("el.cascader.noData")),1)])],2)):(A=i(c))!=null&&A.isHoverMenu?(_(),R(je,{key:2},[ie(" eslint-disable vue/html-self-closing "),(_(),R("svg",{ref_key:"hoverZone",ref:d,class:$(i(o).e("hover-zone"))},null,2))],2112)):ie("v-if",!0),ie(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}}),GY=YY;let XY=0;const JY=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var P2=class N2{constructor(t,n,a,o=!1){this.data=t,this.config=n,this.parent=a,this.root=o,this.uid=XY++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:r,label:l,children:s}=n,u=t[s],c=JY(this);this.level=o?0:a?a.level+1:1,this.value=t[r],this.label=t[l],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=u,this.children=(u||[]).map(d=>new N2(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!Ea(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:o,checkStrictly:r}=a;return(Ue(o)?o(t,this):!!t[o])||!r&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:o}=this,{lazy:r,leaf:l}=n,s=Ue(l)?l(t,this):t[l];return Ot(s)?r&&!o?!1:!(we(a)&&a.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,o=new N2(t,this.config,this);return we(n)?n.push(t):this.childrenData=[t],a.push(o),o}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(o=>!o.isDisabled),a=n.length?n.every(o=>o.checked):!1;this.setCheckState(a)}setCheckState(t){const n=this.children.length,a=this.children.reduce((o,r)=>o+(r.checked?1:r.indeterminate?.5:0),0);this.checked=this.loaded&&this.children.filter(o=>!o.isDisabled).every(o=>o.loaded&&o.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 $2=(e,t)=>e.reduce((n,a)=>(a.isLeaf?n.push(a):(!t&&n.push(a),n=n.concat($2(a.children,t))),n),[]);var _4=class{constructor(e,t){this.config=t;const n=(e||[]).map(a=>new P2(a,this.config));this.nodes=n,this.allNodes=$2(n,!1),this.leafNodes=$2(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new P2(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. Line truncated
M 50 50
m 0 ${w?"":"-"}${C}
a ${C} ${C} 0 1 1 0 ${w?"-":""}${C*2}
a ${C} ${C} 0 1 1 0 ${w?"":"-"}${C*2}
`}),u=x(()=>2*Math.PI*l.value),c=x(()=>n.type==="dashboard"?.75:1),d=x(()=>`${-1*u.value*(1-c.value)/2}px`),f=x(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),p=x(()=>({strokeDasharray:`${u.value*c.value*(n.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),m=x(()=>{let C;return n.color?C=b(n.percentage):C=t[n.status]||t.default,C}),v=x(()=>n.status==="warning"?fc:n.type==="line"?n.status==="success"?t0:Io:n.status==="success"?ns:Ga),h=x(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=x(()=>n.format(n.percentage));function y(C){const w=100/C.length;return C.map((S,k)=>Be(S)?{color:S,percentage:(k+1)*w}:S).sort((S,k)=>S.percentage-k.percentage)}const b=C=>{var S;const{color:w}=n;if(Ue(w))return w(C);if(Be(w))return w;{const k=y(w);for(const M of k)if(M.percentage>C)return M.color;return(S=k[k.length-1])==null?void 0:S.color}};return(C,w)=>(_(),R("div",{class:$([i(a).b(),i(a).m(e.type),i(a).is(e.status),{[i(a).m("without-text")]:!e.showText,[i(a).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(_(),R("div",{key:0,class:$(i(a).b("bar"))},[O("div",{class:$(i(a).be("bar","outer")),style:Ye({height:`${e.strokeWidth}px`})},[O("div",{class:$([i(a).be("bar","inner"),{[i(a).bem("bar","inner","indeterminate")]:e.indeterminate},{[i(a).bem("bar","inner","striped")]:e.striped},{[i(a).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:Ye(o.value)},[(e.showText||C.$slots.default)&&e.textInside?(_(),R("div",{key:0,class:$(i(a).be("bar","innerText"))},[se(C.$slots,"default",{percentage:e.percentage},()=>[O("span",null,Ee(g.value),1)])],2)):ie("v-if",!0)],6)],6)],2)):(_(),R("div",{key:1,class:$(i(a).b("circle")),style:Ye({height:`${e.width}px`,width:`${e.width}px`})},[(_(),R("svg",Rne,[O("path",{class:$(i(a).be("circle","track")),d:s.value,stroke:`var(${i(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":r.value,fill:"none",style:Ye(f.value)},null,14,Pne),O("path",{class:$(i(a).be("circle","path")),d:s.value,stroke:m.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":r.value,style:Ye(p.value)},null,14,Nne)]))],6)),(e.showText||C.$slots.default)&&!e.textInside?(_(),R("div",{key:2,class:$(i(a).e("text")),style:Ye({fontSize:`${h.value}px`})},[se(C.$slots,"default",{percentage:e.percentage},()=>[e.status?(_(),de(i(De),{key:1},{default:re(()=>[(_(),de(dt(v.value)))]),_:1})):(_(),R("span",$ne,Ee(g.value),1))])],6)):ie("v-if",!0)],10,Ane))}}),Lne=Ine;const qv=ut(Lne),Vne=Te({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:Z([Array,Object]),default:()=>mn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:Z([Array,Object]),default:()=>[Ui,Ui,Ui]},voidIcon:{type:Gt,default:()=>Q8},disabledVoidIcon:{type:Gt,default:()=>Ui},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:Z(Array),default:()=>mn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Ln,clearable:Boolean,...wa(["ariaLabel"])}),Bne={[wt]:e=>Ke(e),[st]:e=>Ke(e)},Dne=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],zne=["onMousemove","onClick"];var Hne=W({name:"ElRate",__name:"rate",props:Vne,emits:Bne,setup(e,{expose:t,emit:n}){function a(B,j){const K=V=>it(V),q=j[Object.keys(j).map(V=>+V).filter(V=>{const G=j[V];return K(G)&&G.excluded?B<V:B<=V}).sort((V,G)=>V-G)[0]];return K(q)&&q.value||q}const o=e,r=n,l=Le(ar,void 0),s=Pn(),u=be("rate"),{inputId:c,isLabeledByFormItem:d}=Ba(o,{formItemContext:l}),f=D(Pa(o.modelValue,0,o.max)),p=D(-1),m=D(!0),v=D([]),h=x(()=>v.value.map(B=>B.$el.clientWidth)),g=x(()=>[u.b(),u.m(s.value)]),y=cn(),b=x(()=>u.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":k.value})),C=x(()=>{let B="";return o.showScore?B=o.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${o.modelValue}`:`${f.value}`):o.showText&&(B=o.texts[Math.ceil(f.value)-1]),B}),w=x(()=>o.modelValue*100-Math.floor(o.modelValue)*100),S=x(()=>we(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),k=x(()=>{const B=a(f.value,S.value);return it(B)?"":B}),M=x(()=>{let B="";return y.value?B=`${w.value}%`:o.allowHalf&&(B="50%"),{color:k.value,width:B}}),E=x(()=>{let B=we(o.icons)?[...o.icons]:{...o.icons};return B=ao(B),we(B)?{[o.lowThreshold]:B[0],[o.highThreshold]:{value:B[1],excluded:!0},[o.max]:B[2]}:B}),T=x(()=>a(o.modelValue,E.value)),A=x(()=>y.va Line truncated
`||c==="\r")){l=u;continue}if(r.includes(c)){const d=l===-1?a:l;s={pattern:o.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:l,selectionEnd:a};break}}return s},pue=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,a=e.selectionEnd!==null?e.selectionEnd:0,o=t.useSelectionEnd?a:n,r=["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 p=document.querySelector("#input-textarea-caret-position-mirror-div");p!=null&&p.parentNode&&p.parentNode.removeChild(p)}const l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);const s=l.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";s.whiteSpace=c?"nowrap":"pre-wrap",c||(s.wordWrap="break-word"),s.position="absolute",t.debug||(s.visibility="hidden"),r.forEach(p=>{if(c&&p==="lineHeight")if(u.boxSizing==="border-box"){const m=Number.parseInt(u.height),v=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),h=v+Number.parseInt(u.lineHeight);m>h?s.lineHeight=`${m-v}px`:m===h?s.lineHeight=u.lineHeight:s.lineHeight="0"}else s.lineHeight=u.height;else s[p]=u[p]}),Lf()?e.scrollHeight>Number.parseInt(u.height)&&(s.overflowY="scroll"):s.overflow="hidden",l.textContent=e.value.slice(0,Math.max(0,o)),c&&l.textContent&&(l.textContent=l.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,o))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,l.appendChild(d);const f={top:d.offsetTop+Number.parseInt(u.borderTopWidth),left:d.offsetLeft+Number.parseInt(u.borderLeftWidth),height:Number.parseInt(u.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(l),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},hue=Te({...Sv,options:{type:Z(Array),default:()=>[]},prefix:{type:Z([String,Array]),default:"@",validator:e=>Be(e)?e.length===1:e.every(t=>Be(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:Z([Boolean,Function]),default:()=>due,validator:e=>e===!1?!0:Ue(e)},placement:{type:Z(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:Z(Function)},modelValue:String,loading:Boolean,popperClass:an.popperClass,popperStyle:an.popperStyle,popperOptions:{type:Z(Object),default:()=>({})},props:{type:Z(Object),default:()=>S_}}),vue={[st]:e=>Be(e),"whole-remove":(e,t)=>Be(e)&&Be(t),input:e=>Be(e),search:(e,t)=>Be(e)&&Be(t),select:(e,t)=>it(e)&&Be(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},S_={value:"value",label:"label",disabled:"disabled"},mue=Te({options:{type:Z(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),gue={select:e=>Be(e.value)},yue=["id","aria-disabled","aria-selected","onMousemove","onClick"];var bue=W({name:"ElMentionDropdown",__name:"mention-dropdown",props:mue,emits:gue,setup(e,{expose:t,emit:n}){const a=e,o=n,r=be("mention"),{t:l}=kt(),s=D(-1),u=D(),c=D(),d=D(),f=(w,S)=>[r.be("dropdown","item"),r.is("hovering",s.value===S),r.is("disabled",w.disabled||a.disabled)],p=w=>{w.disabled||a.disabled||o("select",w)},m=w=>{s.value=w},v=x(()=>a.disabled||a.options.every(w=>w.disabled)),h=x(()=>a.options[s.value]),g=()=>{!h.value||h.value.disabled||a.disabled||o("select",h.value)},y=w=>{const{options:S}=a;if(S.length===0||v.value)return;w==="next"?(s.value++,s.value===S.length&&(s.value=0)):w==="prev"&&(s.value--,s.value<0&&(s.value=S.length-1));const k=S[s.value];if(k.disabled){y(w);return}Ie(()=>b(k))},b=w=>{var E,T,A,N;const{options:S}=a,k=S.findIndex(P=>P.value===w.value),M=(E=c.value)==null?void 0:E[k];if(M){const P=(A=(T=d.value)==null?void 0:T.querySelector)==null?void 0:A.call(T,`.${r.be("dropdown","wrap")}`);P&&Jh(P,M)}(N=u.value)==null||N.handleScroll()};return fe(()=>a.options,()=>{v.value||a.options.length===0?s.value=-1:s.value=a.options.findIndex(w=>!w.disabled)},{immediate:!0}),t({hoveringIndex:s,navigateOptions:y,selectHoverOption:g,hoverOption:h}),(w,S)=>(_(),R("div",{ref_key:"dropdownRef",ref:d,class:$(i(r).b("dropdown"))},[w.$slots.header?(_(),R("div",{key:0,class:$(i(r).be("dropdown","header"))},[se(w.$slots,"header")],2)):ie("v-if",!0),vt(te(i(Mo),{id:e.contentId,ref_key:"scrollbarRef",ref:u,tag:"ul","wrap-class":i(r).be("dropdown","wrap"),"view-class":i(r).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:re(()=>[(_(!0),R(je,null,St(e.options,( Line truncated
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Ns=typeof document<"u";function R_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kce(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&R_(e.default)}const dn=Object.assign;function mp(e,t){const n={};for(const a in t){const o=t[a];n[a]=Oo(o)?o.map(e):e(o)}return n}const fu=()=>{},Oo=Array.isArray;function p3(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}const P_=/#/g,jce=/&/g,Wce=/\//g,qce=/=/g,Uce=/\?/g,N_=/\+/g,Yce=/%5B/g,Gce=/%5D/g,$_=/%5E/g,Xce=/%60/g,I_=/%7B/g,Jce=/%7C/g,L_=/%7D/g,Zce=/%20/g;function bm(e){return e==null?"":encodeURI(""+e).replace(Jce,"|").replace(Yce,"[").replace(Gce,"]")}function Qce(e){return bm(e).replace(I_,"{").replace(L_,"}").replace($_,"^")}function Q2(e){return bm(e).replace(N_,"%2B").replace(Zce,"+").replace(P_,"%23").replace(jce,"%26").replace(Xce,"`").replace(I_,"{").replace(L_,"}").replace($_,"^")}function ede(e){return Q2(e).replace(qce,"%3D")}function tde(e){return bm(e).replace(P_,"%23").replace(Uce,"%3F")}function nde(e){return tde(e).replace(Wce,"%2F")}function Fu(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const ade=/\/$/,ode=e=>e.replace(ade,"");function gp(e,t,n="/"){let a,o={},r="",l="";const s=t.indexOf("#");let u=t.indexOf("?");return u=s>=0&&u>s?-1:u,u>=0&&(a=t.slice(0,u),r=t.slice(u,s>0?s:t.length),o=e(r.slice(1))),s>=0&&(a=a||t.slice(0,s),l=t.slice(s,t.length)),a=ide(a??t,n),{fullPath:a+r+l,path:a,query:o,hash:Fu(l)}}function rde(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function h3(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lde(e,t,n){const a=t.matched.length-1,o=n.matched.length-1;return a>-1&&a===o&&ci(t.matched[a],n.matched[o])&&V_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ci(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function V_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!sde(e[n],t[n]))return!1;return!0}function sde(e,t){return Oo(e)?v3(e,t):Oo(t)?v3(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function v3(e,t){return Oo(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function ide(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),o=a[a.length-1];(o===".."||o===".")&&a.push("");let r=n.length-1,l,s;for(l=0;l<a.length;l++)if(s=a[l],s!==".")if(s==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(l).join("/")}const jr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let eh=function(e){return e.pop="pop",e.push="push",e}({}),yp=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function ude(e){if(!e)if(Ns){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ode(e)}const cde=/^[^#]+#/;function dde(e,t){return e.replace(cde,"#")+t}function fde(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}const m0=()=>({left:window.scrollX,top:window.scrollY});function pde(e){let t;if("el"in e){const n=e.el,a=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=fde(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function m3(e,t){return(history.state?history.state.position-t:-1)+e}const th=new Map;function hde(e,t){th.set(e,t)}function vde(e){const t=th.get(e);return th.delete(e),t}function mde(e){return typeof e=="string"||e&&typeof e=="object"}function B_(e){return typeof e=="string"||typeof e=="symbol"}let In=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const D_=Symbol("");In.MATCHER_NOT_FOUND+"",In.NAVIGATION_GUARD_REDIRECT+"",In.NAVIGATION_ABORTED+"",In.NAVIGATION_CANCELLED+"",In.NAVIGATION_DUPLICATED+"";function di(e,t){return dn(new Error,{type:e,[D_]:!0},t)}function cr(e,t){return e instanceof Error&&D_ in e&&(t==null||!!(e.type&t))}const gde=["params","query","hash"];function yde(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of gde)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function bde(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<n.length;++a){const o=n[a].replace(N_," "),r=o.indexOf("="),l=Fu(r<0?o:o.slice(0,r)),s=r<0?null:Fu(o.slice(r+1));if(l in t){let uLine truncated
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Sde=()=>location.protocol+"//"+location.host;function z_(e,t){const{pathname:n,search:a,hash:o}=t,r=e.indexOf("#");if(r>-1){let l=o.includes(e.slice(r))?e.slice(r).length:1,s=o.slice(l);return s[0]!=="/"&&(s="/"+s),h3(s,"")}return h3(n,e)+a+o}function xde(e,t,n,a){let o=[],r=[],l=null;const s=({state:p})=>{const m=z_(e,location),v=n.value,h=t.value;let g=0;if(p){if(n.value=m,t.value=p,l&&l===v){l=null;return}g=h?p.position-h.position:0}else a(m);o.forEach(y=>{y(n.value,v,{delta:g,type:eh.pop,direction:g?g>0?yp.forward:yp.back:yp.unknown})})};function u(){l=n.value}function c(p){o.push(p);const m=()=>{const v=o.indexOf(p);v>-1&&o.splice(v,1)};return r.push(m),m}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(dn({},p.state,{scroll:m0()}),"")}}function f(){for(const p of r)p();r=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:u,listen:c,destroy:f}}function b3(e,t,n,a=!1,o=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:o?m0():null}}function kde(e){const{history:t,location:n}=window,a={value:z_(e,n)},o={value:t.state};o.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(u,c,d){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:Sde()+e+u;try{t[d?"replaceState":"pushState"](c,"",p),o.value=c}catch(m){console.error(m),n[d?"replace":"assign"](p)}}function l(u,c){r(u,dn({},t.state,b3(o.value.back,u,o.value.forward,!0),c,{position:o.value.position}),!0),a.value=u}function s(u,c){const d=dn({},o.value,t.state,{forward:u,scroll:m0()});r(d.current,d,!0),r(u,dn({},b3(a.value,u,null),{position:d.position+1},c),!1),a.value=u}return{location:a,state:o,push:s,replace:l}}function Ede(e){e=ude(e);const t=kde(e),n=xde(e,t.state,t.location,t.replace);function a(r,l=!0){l||n.pauseListeners(),history.go(r)}const o=dn({location:"",base:e,go:a,createHref:dde.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Bl=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Gn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Gn||{});const Tde={type:Bl.Static,value:""},Mde=/[a-zA-Z0-9_]/;function Ode(e){if(!e)return[[]];if(e==="/")return[[Tde]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=Gn.Static,a=n;const o=[];let r;function l(){r&&o.push(r),r=[]}let s=0,u,c="",d="";function f(){c&&(n===Gn.Static?r.push({type:Bl.Static,value:c}):n===Gn.Param||n===Gn.ParamRegExp||n===Gn.ParamRegExpEnd?(r.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Bl.Param,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;s<e.length;){if(u=e[s++],u==="\\"&&n!==Gn.ParamRegExp){a=n,n=Gn.EscapeNext;continue}switch(n){case Gn.Static:u==="/"?(c&&f(),l()):u===":"?(f(),n=Gn.Param):p();break;case Gn.EscapeNext:p(),n=a;break;case Gn.Param:u==="("?n=Gn.ParamRegExp:Mde.test(u)?p():(f(),n=Gn.Static,u!=="*"&&u!=="?"&&u!=="+"&&s--);break;case Gn.ParamRegExp:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=Gn.ParamRegExpEnd:d+=u;break;case Gn.ParamRegExpEnd:f(),n=Gn.Static,u!=="*"&&u!=="?"&&u!=="+"&&s--,d="";break;default:t("Unknown state");break}}return n===Gn.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),o}const w3="[^/]+?",Ade={sensitive:!1,strict:!1,start:!0,end:!0};var xa=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(xa||{});const Rde=/[.+*?^${}()[\]/\\]/g;function Pde(e,t){const n=dn({},Ade,t),a=[];let o=n.start?"^":"";const r=[];for(const c of e){const d=c.length?[]:[xa.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const p=c[f];let m=xa.Segment+(n.sensitive?xa.BonusCaseSensitive:0);if(p.type===Bl.Static)f||(o+="/"),o+=p.value.replace(Rde,"\\$&"),m+=xa.Static;else if(p.type===Bl.Param){const{value:v,repeatable:h,optional:g,regexp:y}=p;r.push({name:v,repeatable:h,optional:g});const b=y||w3;if(Line truncated
`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),a=l.substring(o+1).trim();const s=me.hasOwnProp(t,n);!n||s&&me.hasOwnProp(Kfe,n)||(n==="set-cookie"?s?t[n].push(a):t[n]=[a]:t[n]=s?t[n]+", "+a:a)}),t};function Wfe(e){let t=0,n=e.length;for(;t<n;){const a=e.charCodeAt(t);if(a!==9&&a!==32)break;t+=1}for(;n>t;){const a=e.charCodeAt(n-1);if(a!==9&&a!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const qfe=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Ufe=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Cm(e,t){return me.isArray(e)?e.map(n=>Cm(n,t)):Wfe(String(e).replace(t,""))}const Yfe=e=>Cm(e,qfe),Gfe=e=>Cm(e,Ufe);function eC(e){const t=Object.create(null);return me.forEach(e.toJSON(),(n,a)=>{t[a]=Gfe(n)}),t}const R3=Symbol("internals");function zi(e){return e&&String(e).trim().toLowerCase()}function wd(e){return e===!1||e==null?e:me.isArray(e)?e.map(wd):Yfe(String(e))}function Xfe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const Jfe=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function wp(e){let t=0,n=e.length;for(;t<n;){const a=e.charCodeAt(t);if(a!==9&&a!==32)break;t+=1}for(;n>t;){const a=e.charCodeAt(n-1);if(a!==9&&a!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Zfe(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let a=1;a<t;a++){const o=e.charCodeAt(a);if(o===34||o===92&&(a+=1,a>=t))return e;n+=e[a]}return n}function Qfe(e){const t=Object.create(null),n=String(e);let a=0,o=!1,r=!1;function l(s){const u=wp(n.slice(a,s)),c=u.indexOf("=");if(c<1)return;const d=wp(u.slice(0,c));if(!Jfe.test(d))return;const f=d.toLowerCase();if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=wp(u.slice(c+1));t[f]=Zfe(p)}for(let s=0;s<n.length;s++){const u=n.charCodeAt(s);o?r?r=!1:u===92?r=!0:u===34&&(o=!1):u===34?o=!0:(u===44||u===59)&&(l(s),a=s+1)}return l(n.length),t}const e0e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _p(e,t,n,a,o){if(me.isFunction(a))return a.call(this,t,n);if(o&&(t=n),!!me.isString(t)){if(me.isString(a))return t.indexOf(a)!==-1;if(me.isRegExp(a))return a.test(t)}}function t0e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function n0e(e,t){const n=me.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{__proto__:null,value:function(o,r,l){return this[a].call(this,t,o,r,l)},configurable:!0})})}let ga=class{constructor(t){t&&this.set(t)}set(t,n,a){const o=this;function r(s,u,c){const d=zi(u);if(!d)return;const f=me.findKey(o,d);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||u]=wd(s))}const l=(s,u)=>me.forEach(s,(c,d)=>r(c,d,u));if(me.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(me.isString(t)&&(t=t.trim())&&!e0e(t))l(jfe(t),n);else if(me.isObject(t)&&me.isSafeIterable(t)){let s=Object.create(null),u,c;for(const d of t){if(!me.isArray(d))throw new TypeError("Object iterator must return a key-value pair");c=d[0],me.hasOwnProp(s,c)?(u=s[c],s[c]=me.isArray(u)?[...u,d[1]]:[u,d[1]]):s[c]=d[1]}l(s,n)}else t!=null&&r(n,t,a);return this}get(t,n){if(t=zi(t),t){const a=me.findKey(this,t);if(a){const o=this[a];if(!n)return o;if(n===!0)return Xfe(o);if(me.isFunction(n))return n.call(this,o,a);if(me.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zi(t),t){const a=me.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||_p(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let o=!1;function r(l){if(l=zi(l),l){const s=me.findKey(a,l);s&&(!n||_p(a,a[s],s,n))&&(delete a[s],o=!0)}}return me.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let a=n.length,o=!1;for(;a--;){const r=n[a];(!t||_p(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,a={};return me.forEach(this,(o,r)=>{const l=me.findKey(a,r);if(l){n[l]=wd(o),delete n[r];return}const s=t?t0e(r):String(r).trim();s!==r&&delete n[r],n[s]=wd(o),a[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return me.forEach(this,(a,o)=>{a!=null&&a!==!1&&(n[o]=t&&me.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){const t=this.get("set-cookie");return me.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return Qfe(t)}static concat(t,...n){const a=new this(t);return n.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[R3]=this[R3]={accessors:{}}).accessors,o=this.prototype;function r(l){const s=zi(l);a[s]||(n0e(o,l),a[s]=!0)}return me.isArray(t)?t.forEach(r):r(t),this}};ga.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);me.reduceDescriptors(ga.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}});me.freezeMethods(ga);const cf="[REDACTED ****]";function a0e(e){if(me.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(me.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function o0e(e,t){const n=new Set(t.map(r=>String(r).toLowerCase())),a=[],o=r=>{if(r===null||typeof r!="object"||me.isBuffer(r))return r;if(a.indexOf(r)!==-1)return;r instanceof ga&&(r=r.toJSON()),a.push(r);let l;if(me.isArray(r))l=[],r.forEach((s,u)=>{const c=o(s);me.isUndefined(c)||(l[u]=c)});else{if(!me.isPlainObject(r)&&a0e(r))return a.pop(),r;l=Object.create(null);for(const[s,u]of Object.entries(r)){const c=n.has(s.toLowerCase())?cf:o(u);me.isUndefined(c)||(l[s]=c)}}return a.pop(),l};return o(e)}function P3(e){try{return String(e)}catch{return""}}function r0e(e){return e.errors.map(n=>{try{return n&&n.message?P3(n.message):P3(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let pt=class tC extends Error{static from(t,n,a,o,r,l){let s=t.message;!s&&me.isArray(t.errors)&&t.errors.length&&(s=r0e(t));const u=new tC(s,n||t.code,a,o,r);return Object.defineProperty(u,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),l&&Object.assign(u,l),u}constructor(t,n,a,o,r){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),a&&(this.config=a),o&&(this.request=o),r&&(this.response=r,this.status=r.status)}toJSON(){const t=this.config,n=t&&me.hasOwnProp(t,"redact")?t.redact:void 0,a=me.isArray(n)&&n.length>0?o0e(t,n):me.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a,code:this.code,status:this.status}}};pt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";pt.ERR_BAD_OPTION="ERR_BAD_OPTION";pt.ECONNABORTED="ECONNABORTED";pt.ETIMEDOUT="ETIMEDOUT";pt.ECONNREFUSED="ECONNREFUSED";pt.ERR_NETWORK="ERR_NETWORK";pt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";pt.ERR_DEPRECATED="ERR_DEPRECATED";pt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";pt.ERR_BAD_REQUEST="ERR_BAD_REQUEST";pt.ERR_CANCELED="ERR_CANCELED";pt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";pt.ERR_INVALID_URL="ERR_INVALID_URL";pt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const l0e=null,nC=100;function oh(e){return me.isPlainObject(e)||me.isArray(e)}function aC(e){return me.endsWith(e,"[]")?e.slice(0,-2):e}function Cp(e,t,n){return e?e.concat(t).map(function(o,r){return o=aC(o),!n&&r?"["+o+"]":o}).join(n?".":""):t}function s0e(e){return me.isArray(e)&&!e.some(oh)}const i0e=me.toFlatObject(me,{},null,function(t){return/^is[A-Z]/.test(t)});function b0(e,t,n){if(!me.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const a=(b,C)=>{const w=me.getSafeProp(n,b);return me.isUndefined(w)?C:w},o=a("metaTokens",!0),r=a("visitor")||h,l=a("dots",!1),s=a("indexes",!1),u=a("Blob")||typeof Blob<"u"&&Blob,c=a("maxDepth",nC),d=u&&me.isSpecCompliantForm(t),f=[];if(!me.isFunction(r))throw new TypeError("visitor must be a function");function p(b){if(b===null)return"";if(me.isDate(b))return b.toISOString();if(me.isBoolean(b))return b.toString();if(!d&&me.isBlob(b))throw new pt("Blob is not supported. Use a Buffer instead.");if(me.isArrayBuffer(b)||me.isTypedArray(b)){if(d&&typeof u=="function")return new u([b]);throw new pt("Blob is not supported. Use a Buffer instead.",pt.ERR_NOT_SUPPORT)}return b}function m(b){if(b>c)throw new pt("Object is too deeply nested ("+b+" levels). Max depth: "+c,pt.ERR_FORM_DATA_DEPTH_EXCEEDED)}function v(b,C){if(c===1/0)return JSON.stringify(b);const w=[];return JSON.stringify(b,function(k,M){if(!me.isObject(M))return M;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(M),m(C+w.length-1),M})}function h(b,C,w){let S=b;if(me.isReactNative(t)&&me.isReactNativeBlob(b))return t.append(Cp(w,C,l),p(b)),!1;if(b&&!w&&typeof b=="object"){if(me.endsWith(C,"{}"))C=o?C:C.slice(0,-2),b=v(b,1);else if(me.isArray(b)&&s0e(b)||(me.isFileList(b)||me.endsWith(C,"[]"))&&(S=me.toArray(b)))return C=aC( Line truncated
`+l.map(U3).join(`
`):" "+U3(l[0]):"as no adapter specified";throw new pt("There is no suitable adapter to dispatch the request "+s,pt.ERR_NOT_SUPPORT)}return o}const gC={getAdapter:tpe,adapters:Tm};function kp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xc(null,e)}function Ep(e){const t=me.toSafeFlatObject(e);return kp(t),t.headers=ga.from(me.getSafeProp(t,"headers")),t.data=Sp.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),gC.getAdapter(t.adapter||Sc.adapter,t)(t).then(function(o){kp(t),t.response=o;try{o.data=Sp.call(t,t.transformResponse,o)}finally{delete t.response}return o.headers=ga.from(o.headers),o},function(o){if(!cC(o)&&(kp(t),o&&o.response)){t.response=o.response;try{o.response.data=Sp.call(t,t.transformResponse,o.response)}finally{delete t.response}o.response.headers=ga.from(o.response.headers)}return Promise.reject(o)})}const w0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{w0[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const Y3={};w0.transitional=function(t,n,a){function o(r,l){return"[Axios v"+Em+"] Transitional option '"+r+"'"+l+(a?". "+a:"")}return(r,l,s)=>{if(t===!1)throw new pt(o(l," has been removed"+(n?" in "+n:"")),pt.ERR_DEPRECATED);return n&&!Y3[l]&&(Y3[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,l,s):!0}};w0.spelling=function(t){return(n,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function npe(e,t,n){if(typeof e!="object"||e===null)throw new pt("options must be an object",pt.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const r=a[o],l=Object.prototype.hasOwnProperty.call(t,r)?t[r]:void 0;if(l){const s=e[r],u=s===void 0||l(s,r,e);if(u!==!0)throw new pt("option "+r+" must be "+u,pt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new pt("Unknown option "+r,pt.ERR_BAD_OPTION)}}const _d={assertOptions:npe,validators:w0},ca=_d.validators;let Yl=class{constructor(t){this.defaults=t||{},this.interceptors={request:new I3,response:new I3}}async request(t,n){try{return await this._request(t,n)}catch(a){if(a instanceof Error)try{let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const r=o.stack;let l="";if(typeof r=="string"){const s=r.indexOf(`
`);l=s===-1?"":r.slice(s+1)}if(!a.stack)a.stack=l;else if(l){const s=l.indexOf(`
`),u=s===-1?-1:l.indexOf(`
`,s+1),c=u===-1?"":l.slice(u+1);String(a.stack).endsWith(c)||(a.stack+=`
`+l)}}catch{}throw a}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=cs(this.defaults,n);const{transitional:a,paramsSerializer:o,headers:r}=n;a!==void 0&&_d.assertOptions(a,{silentJSONParsing:ca.transitional(ca.boolean),forcedJSONParsing:ca.transitional(ca.boolean),clarifyTimeoutError:ca.transitional(ca.boolean),legacyInterceptorReqResOrdering:ca.transitional(ca.boolean),advertiseZstdAcceptEncoding:ca.transitional(ca.boolean),validateStatusUndefinedResolves:ca.transitional(ca.boolean)},!1),o!=null&&(me.isFunction(o)?n.paramsSerializer={serialize:o}:_d.assertOptions(o,{encode:ca.function,serialize:ca.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),_d.assertOptions(n,{baseUrl:ca.spelling("baseURL"),withXsrfToken:ca.spelling("withXSRFToken")},!0),n.method=(me.getSafeProp(n,"method")||me.getSafeProp(this.defaults,"method")||"get").toLowerCase();let l=r&&me.merge(r.common,r[n.method]);r&&me.forEach(uC.concat("common"),v=>{delete r[v]}),n.headers=ga.concat(l,r);const s=[];let u=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;u=u&&h.synchronous;const g=n.transitional||xm;g&&g.legacyInterceptorReqResOrdering?s.unshift(h.fulfilled,h.rejected):s.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let d,f=0,p;if(!u){const v=[Ep.bind(this),void 0];for(v.unshift(...s),v.push(...c),p=v.length,d=Promise.resolve(n);f<p;)d=d.then(v[f++],v[f++]);return d}p=s.length;let m=n;for(;f<p;){const v=s[f++],h=s[f++];try{m=v?v(m):m}catch(g){if(!h){d=Promise.reject(g);break}try{const y=h.call(this,g);me.isThenable(y)&&(d=Promise.resolve(y).then(()=>Ep.call(this,m)))}catch(y){d=Promise.reject(y)}break}}if(!d)try{d=Ep.call(this,m)}catch(v){d=Promise.reject(v)}for(f=0,p=c.length;f<p;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=cs(this.defaults,t);const n=pC(t.baseURL,t.url,t.allowAbsoluteUrls,t);return rC(n,t.params,t.paramsSerializer)}};me.forEach(["delete","get","head","options"],function(t){Yl.prototype[t]=function(n,a){return this.request(cs(a||{},{method:t,url:n,data:a&&me.hasOwnProp(a,"data")?a.data:void 0}))}});me.forEach(["post","put","patch","query"],function(t){function n(a){return function(r,l,s){return this.request(cs(s||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:r,data:l}))}}Yl.prototype[t]=n(),t!=="query"&&(Yl.prototype[t+"Form"]=n(!0))});let ape=class yC{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const a=this;this.promise.then(o=>{if(!a._listeners)return;let r=a._listeners.length;for(;r-- >0;)a._listeners[r](o);a._listeners=null}),this.promise.then=o=>{let r;const l=new Promise(s=>{a.subscribe(s),r=s}).then(o);return l.cancel=function(){a.unsubscribe(r)},l},t(function(r,l,s){a.reason||(a.reason=new xc(r,l,s),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=a=>{t.abort(a)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new yC(function(o){t=o}),cancel:t}}};function ope(e){return function(n){return e.apply(null,n)}}function rpe(e){return me.isObject(e)&&e.isAxiosError===!0}const Cd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,Timeou Line truncated
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.