Files
Migu2.0/MiGu.Server/wwwroot/assets/index-D5OuyicD.js
T

101 lines
1.1 MiB
JavaScript
Raw Normal View History

2026-05-31 00:16:56 +08:00
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Clx-477K.js","assets/el-tooltip-l0sNRNKZ.js","assets/LoginView-CoJzk9R3.css","assets/base-BhyKBIh7.css","assets/el-form-item-D_relxjU.css","assets/el-button-ZSOkJyjJ.css","assets/el-collapse-item-BvmEG8Qn.css","assets/el-input-BddTPWVI.css","assets/el-input-number-DExoAqKP.css","assets/el-link-CPQZ-olG.css","assets/el-checkbox-CzNtyWdF.css","assets/el-popper-Wf_ds9r7.css","assets/ServiceStatusView-DI9Rt6GP.js","assets/ServiceStatusView-IGba4H4q.css","assets/el-card-BAyktVMS.css","assets/el-descriptions-BpDzfuC8.css","assets/el-tag-1VV9QMa7.css","assets/AppShell-BE7Z2zMC.js","assets/AppShell-CWFWq1yp.css","assets/el-scrollbar-GF-yQkxY.css","assets/el-button-group-B09mLjuS.css","assets/el-dropdown-item-CtcKg9JC.css","assets/el-radio-button-TYBaCPcE.css","assets/DashboardView-CKzq29Wm.js","assets/projection-BVk2tEkj.js","assets/reflection-BmVSriDn.js","assets/DashboardView-C22mCfRB.css","assets/el-tab-pane-C5lGmld3.css","assets/MapMonitorView-BSY4Dsk8.js","assets/Workspace3D-PfDes8bN.js","assets/Workspace3D-XQXNd-Sa.css","assets/mapEdit-Di5ggA7K.js","assets/ops-BCeFEEjY.js","assets/ops-DFVCciZx.js","assets/monitorConfigCache-deAxNrzx.js","assets/useProjectionStream-DvMLcpMm.js","assets/MapMonitorView-C1g906ic.css","assets/el-col-BWEC13sA.css","assets/el-statistic-D5_dVssE.css","assets/el-progress-B7X4OvaL.css","assets/el-select-CK58rX4v.css","assets/el-table-column-Dp73S2HR.css","assets/el-dialog-TSZfE1b8.css","assets/el-empty-S7fQQ3B8.css","assets/MapEditorView-CBiHCGTE.js","assets/useMapEditStream-DunazsxD.js","assets/MapEditorView-DbYZjgvw.css","assets/el-color-picker-DRNdOQmm.css","assets/el-switch-DpR9-s4E.css","assets/el-alert-B6UgayC7.css","assets/el-loading-Dq8WDDkr.css","assets/TrackTableView-v0CQ3Y9j.js","assets/ReflectionManagerPanel-Hhb-p5RK.js","assets/ReflectionManagerPanel-Btm77NGt.css","assets/TrackTableView-C-Cp6740.css","assets/CarPanelView-BBup3icl.js","assets/CarPanelView-CYaApbj9.css","assets/VehicleHubView-CoRmumO4.js","assets/VehicleHubView-CxAaADt4.css","assets/ProcessPanelView-CeuM__wB.js","assets/ProcessPanelView-DLKKlZA4.css","assets/ScriptPanelView-C3iy0LkM.js","assets/ScriptPanelView-zM2-1jjH.css","assets/MissionEditorView-Dq7FSGEy.js","assets/MissionEditorView-DOR5c4wb.css","assets/ProjectPropertiesView-Bvi6s1pw.js","assets/ProjectPropertiesView-CvKuii5E.css","assets/PlaybackView-U187TuNR.js","assets/PlaybackView-BsrAVvYx.css","assets/el-divider-B0pQhKGi.css","assets/SystemConfigView-a-hDUlj3.js","assets/ConfigPageBase-DYlmkUIy.js","assets/PermissionGuard-DhAzkl-X.js","assets/PermissionGuard-B-YLUKV0.css","assets/ConfigPageBase-DOgE48Ff.css","assets/SystemConfigView-zK_tPjiF.css","assets/ExternalIntegrationView-hLQNf3xD.js","assets/RoutingPolicyView-BzXqXDjp.js","assets/VehicleMaintenanceView-BONwcIeP.js","assets/VehicleMaintenanceView-KlqpaRgh.css","assets/ChargePolicyView-Ce8wh2Wp.js","assets/TaskAllocationView-xksMEs81.js","assets/TrafficRuleView-C8LuzSZm.js","assets/AuthRoleView-BdMtSzyV.js","assets/AuthRoleView-CTEbfTF-.css","assets/el-checkbox-group-D_6SYB2i.css","assets/DeviceHubView-BdHihSd2.js","assets/FleetLifecycleView-Dyw9UG3W.js","assets/ScenarioTemplateView-BLw6THy-.js","assets/ScenarioTemplateView-rv7Jf-RX.css","assets/LocationView-BGR6UzZX.js","assets/OpsConfigView-zdoGrqh4.js","assets/OpsConfigView-Dn7upUIu.css","assets/CustomWidgetView-D9yWpJST.js","assets/CustomWidgetView-Ch0BQYzJ.css","assets/MapMonitorConfigView-lSEClylU.js","assets/MapMonitorConfigView-BC-sAP6v.css","assets/MonitorDashboardView-CGH8aWbc.js","assets/MonitorDashboardView-CzA4Ot5V.css","assets/MonitorMapView-CxVrr8S7.js","assets/OpsActionPanelView-CqQdAWLE.js","assets/OpsActionPanelView-C3hWMI-V.css","assets/AnnotationView-D9RHWYI7.js"])))=>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 s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).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.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2026-05-31 00:16:56 +08:00
**/function Cv(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const vn={},ll=[],ut=()=>{},sw=()=>!1,Td=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Od=e=>e.startsWith("onUpdate:"),Vn=Object.assign,kv=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Z4=Object.prototype.hasOwnProperty,Nt=(e,t)=>Z4.call(e,t),we=Array.isArray,il=e=>hu(e)==="[object Map]",_d=e=>hu(e)==="[object Set]",Ur=e=>hu(e)==="[object Date]",Fe=e=>typeof e=="function",Ae=e=>typeof e=="string",Va=e=>typeof e=="symbol",ot=e=>e!==null&&typeof e=="object",qr=e=>(ot(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),lw=Object.prototype.toString,hu=e=>lw.call(e),Q4=e=>hu(e).slice(8,-1),Vi=e=>hu(e)==="[object Object]",Rd=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bi=Cv(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Id=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},eT=/-\w/g,qn=Id(e=>e.replace(eT,t=>t.slice(1).toUpperCase())),tT=/\B([A-Z])/g,br=Id(e=>e.replace(tT,"-$1").toLowerCase()),vu=Id(e=>e.charAt(0).toUpperCase()+e.slice(1)),yi=Id(e=>e?`on${vu(e)}`:""),$o=(e,t)=>!Object.is(e,t),wc=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},iw=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},Ev=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nT=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Hg;const $d=()=>Hg||(Hg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ze(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],o=Ae(a)?sT(a):ze(a);if(o)for(const r in o)t[r]=o[r]}return t}else if(Ae(e)||ot(e))return e}const aT=/;(?![^(]*\))/g,oT=/:([^]+)/,rT=/\/\*[^]*?\*\//g;function sT(e){const t={};return e.replace(rT,"").split(aT).forEach(n=>{if(n){const a=n.split(oT);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function R(e){let t="";if(Ae(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const a=R(e[n]);a&&(t+=a+" ")}else if(ot(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function sr(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ae(t)&&(e.class=R(t)),n&&(e.style=ze(n)),e}const lT="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",iT=Cv(lT);function uw(e){return!!e||e===""}function uT(e,t){if(e.length!==t.length)return!1;let n=!0;for(let a=0;n&&a<e.length;a++)n=Ts(e[a],t[a]);return n}function Ts(e,t){if(e===t)return!0;let n=Ur(e),a=Ur(t);if(n||a)return n&&a?e.getTime()===t.getTime():!1;if(n=Va(e),a=Va(t),n||a)return e===t;if(n=we(e),a=we(t),n||a)return n&&a?uT(e,t):!1;if(n=ot(e),a=ot(t),n||a){if(!n||!a)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const s in e){const l=e.hasOwnProperty(s),u=t.hasOwnProperty(s);if(l&&!u||!l&&u||!Ts(e[s],t[s]))return!1}}return String(e)===String(t)}function cw(e,t){return e.findIndex(n=>Ts(n,t))}const dw=e=>!!(e&&e.__v_isRef===!0),Ce=e=>Ae(e)?e:e==null?"":we(e)||ot(e)&&(e.toString===lw||!Fe(e.toString))?dw(e)?Ce(e.value):JSON.stringify(e,fw,2):String(e),fw=(e,t)=>dw(t)?fw(e,t.value):il(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,o],r)=>(n[Vf(a,r)+" =>"]=o,n),{})}:_d(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vf(n))}:Va(t)?Vf(t):ot(t)&&!we(t)&&!Vi(t)?String(t):t,Vf=(e,t="")=>{var n;return Va(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2026-05-31 00:16:56 +08:00
**/let Hn;class pw{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&&Hn&&(Hn.active?(this.parent=Hn,this.index=(Hn.scopes||(Hn.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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Hn;try{return Hn=this,t()}finally{Hn=n}}}on(){++this._on===1&&(this.prevScope=Hn,Hn=this)}off(){if(this._on>0&&--this._on===0){if(Hn===this)Hn=this.prevScope;else{let t=Hn;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){for(n=0,a=this.scopes.length;n<a;n++)this.scopes[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 xv(e){return new pw(e)}function Nd(){return Hn}function Tv(e,t=!1){Hn&&Hn.cleanups.push(e)}let bn;const Ff=new WeakSet;class hw{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,Hn&&(Hn.active?Hn.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ff.has(this)&&(Ff.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mw(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Kg(this),gw(this);const t=bn,n=ro;bn=this,ro=!0;try{return this.fn()}finally{bw(this),bn=t,ro=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Rv(t);this.deps=this.depsTail=void 0,Kg(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ff.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Kp(this)&&this.run()}get dirty(){return Kp(this)}}let vw=0,wi,Si;function mw(e,t=!1){if(e.flags|=8,t){e.next=Si,Si=e;return}e.next=wi,wi=e}function Ov(){vw++}function _v(){if(--vw>0)return;if(Si){let t=Si;for(Si=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wi;){let t=wi;for(wi=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 gw(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function bw(e){let t,n=e.depsTail,a=n;for(;a;){const o=a.prevDep;a.version===-1?(a===n&&(n=o),Rv(a),cT(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=o}e.deps=t,e.depsTail=n}function Kp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yw(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yw(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fi)||(e.globalVersion=Fi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Kp(e))))return;e.flags|=2;const t=e.dep,n=bn,a=ro;bn=e,ro=!0;try{gw(e);const o=e.fn(e._value);(t.version===0||$o(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{bn=n,ro=a,bw(e),e.flags&=-3}}function Rv(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)Rv(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function cT(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ro=!0;const ww=[];func
* @vue/runtime-core v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2026-05-31 00:16:56 +08:00
**/function mu(e,t,n,a){try{return a?e(...a):e()}catch(o){Bd(o,t,n)}}function uo(e,t,n,a){if(Fe(e)){const o=mu(e,t,n,a);return o&&qr(o)&&o.catch(r=>{Bd(r,t,n)}),o}if(we(e)){const o=[];for(let r=0;r<e.length;r++)o.push(uo(e[r],t,n,a));return o}}function Bd(e,t,n,a=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||vn;if(t){let l=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const d=l.ec;if(d){for(let f=0;f<d.length;f++)if(d[f](e,u,c)===!1)return}l=l.parent}if(r){dr(),mu(r,null,10,[e,u,c]),fr();return}}DT(e,n,o,a,s)}function DT(e,t,n,a=!0,o=!1){if(o)throw e;console.error(e)}const pa=[];let Oo=-1;const ul=[];let Dr=null,Qs=0;const Pw=Promise.resolve();let Wc=null;function Ne(e){const t=Wc||Pw;return e?t.then(this?e.bind(this):e):t}function BT(e){let t=Oo+1,n=pa.length;for(;t<n;){const a=t+n>>>1,o=pa[a],r=Hi(o);r<e||r===e&&o.flags&2?t=a+1:n=a}return t}function $v(e){if(!(e.flags&1)){const t=Hi(e),n=pa[pa.length-1];!n||!(e.flags&2)&&t>=Hi(n)?pa.push(e):pa.splice(BT(t),0,e),e.flags|=1,Aw()}}function Aw(){Wc||(Wc=Pw.then(Dw))}function VT(e){we(e)?ul.push(...e):Dr&&e.id===-1?Dr.splice(Qs+1,0,e):e.flags&1||(ul.push(e),e.flags|=1),Aw()}function jg(e,t,n=Oo+1){for(;n<pa.length;n++){const a=pa[n];if(a&&a.flags&2){if(e&&a.id!==e.uid)continue;pa.splice(n,1),n--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function Lw(e){if(ul.length){const t=[...new Set(ul)].sort((n,a)=>Hi(n)-Hi(a));if(ul.length=0,Dr){Dr.push(...t);return}for(Dr=t,Qs=0;Qs<Dr.length;Qs++){const n=Dr[Qs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Dr=null,Qs=0}}const Hi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Dw(e){try{for(Oo=0;Oo<pa.length;Oo++){const t=pa[Oo];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),mu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Oo<pa.length;Oo++){const t=pa[Oo];t&&(t.flags&=-2)}Oo=-1,pa.length=0,Lw(),Wc=null,(pa.length||ul.length)&&Dw()}}let Jn=null,Bw=null;function jc(e){const t=Jn;return Jn=e,Bw=e&&e.type.__scopeId||null,t}function ne(e,t=Jn,n){if(!t||e._n)return e;const a=(...o)=>{a._d&&Yc(-1);const r=jc(t);let s;try{s=e(...o)}finally{jc(r),a._d&&Yc(1)}return s};return a._n=!0,a._c=!0,a._d=!0,a}function ct(e,t){if(Jn===null)return e;const n=Kd(Jn),a=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,s,l,u=vn]=t[o];r&&(Fe(r)&&(r={mounted:r,updated:r}),r.deep&&ar(s),a.push({dir:r,instance:n,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function ns(e,t,n,a){const o=e.dirs,r=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];r&&(l.oldValue=r[s].value);let u=l.dir[a];u&&(dr(),uo(u,n,8,[e.el,l,e,t]),fr())}}function St(e,t){if(na){let n=na.provides;const a=na.parent&&na.parent.provides;a===n&&(n=na.provides=Object.create(a)),n[e]=t}}function $e(e,t,n=!1){const a=dt();if(a||Ss){let o=Ss?Ss._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&&Fe(t)?t.call(a&&a.proxy):t}}function Nv(){return!!(dt()||Ss)}const FT=Symbol.for("v-scx"),zT=()=>$e(FT);function la(e,t){return Mv(e,null,t)}function pe(e,t,n){return Mv(e,t,n)}function Mv(e,t,n=vn){const{immediate:a,deep:o,flush:r,once:s}=n,l=Vn({},n),u=t&&a||!t&&r!=="post";let c;if(ji){if(r==="sync"){const g=zT();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=ut,g.resume=ut,g.pause=ut,g}}const d=na;l.call=(g,h,v)=>uo(g,d,h,v);let f=!1;r==="post"?l.scheduler=g=>{da(g,d&&d.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(g,h)=>{h?g():$v(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,d&&(g.id=d.uid,g.i=d))};const p=LT(e,t,l);return ji&&(c?c.push(p):u&&p()),p}function HT(e,t,n){const a=this.proxy,o=Ae(e)?e.includes(".")?Vw(a,e):()=>a[e]:e.bind(a,a);let r;Fe(t)?r=t:(r=t.handler,n=t);const s=bu(this),l=Mv(o,r.bind(a),n);return s(),l}function Vw(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 $r=new WeakMap,Fw=Symbol("_vte"),zw=e=>e.__isTeleport,us=e=>e&&(e.disabled||e.disabled
* @vue/runtime-dom v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2026-05-31 00:16:56 +08:00
**/let Qp;const ib=typeof window<"u"&&window.trustedTypes;if(ib)try{Qp=ib.createPolicy("vue",{createHTML:e=>e})}catch{}const y2=Qp?e=>Qp.createHTML(e):e=>e,V3="http://www.w3.org/2000/svg",F3="http://www.w3.org/1998/Math/MathML",Qo=typeof document<"u"?document:null,ub=Qo&&Qo.createElement("template"),z3={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"?Qo.createElementNS(V3,e):t==="mathml"?Qo.createElementNS(F3,e):n?Qo.createElement(e,{is:n}):Qo.createElement(e);return e==="select"&&a&&a.multiple!=null&&o.setAttribute("multiple",a.multiple),o},createText:e=>Qo.createTextNode(e),createComment:e=>Qo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{ub.innerHTML=y2(a==="svg"?`<svg>${e}</svg>`:a==="mathml"?`<math>${e}</math>`:e);const l=ub.content;if(a==="svg"||a==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rr="transition",Ql="animation",yl=Symbol("_vtc"),w2={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},S2=Vn({},Kw,w2),H3=e=>(e.displayName="Transition",e.props=S2,e),Yn=H3((e,{slots:t})=>qe(qT,C2(e),t)),os=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},cb=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function C2(e){const t={};for(const $ in e)$ in w2||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:a,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:c=s,appearToClass:d=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,h=K3(o),v=h&&h[0],m=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:y,onLeave:S,onLeaveCancelled:k,onBeforeAppear:x=b,onAppear:O=w,onAppearCancelled:T=y}=t,I=($,B,K,j)=>{$._enterCancelled=j,Nr($,B?d:l),Nr($,B?c:s),K&&K()},_=($,B)=>{$._isLeaving=!1,Nr($,f),Nr($,g),Nr($,p),B&&B()},N=$=>(B,K)=>{const j=$?O:w,W=()=>I(B,$,K);os(j,[B,W]),db(()=>{Nr(B,$?u:r),To(B,$?d:l),cb(j)||fb(B,a,v,W)})};return Vn(t,{onBeforeEnter($){os(b,[$]),To($,r),To($,s)},onBeforeAppear($){os(x,[$]),To($,u),To($,c)},onEnter:N(!1),onAppear:N(!0),onLeave($,B){$._isLeaving=!0;const K=()=>_($,B);To($,f),$._enterCancelled?(To($,p),eh($)):(eh($),To($,p)),db(()=>{$._isLeaving&&(Nr($,f),To($,g),cb(S)||fb($,a,m,K))}),os(S,[$,K])},onEnterCancelled($){I($,!1,void 0,!0),os(y,[$])},onAppearCancelled($){I($,!0,void 0,!0),os(T,[$])},onLeaveCancelled($){_($),os(k,[$])}})}function K3(e){if(e==null)return null;if(ot(e))return[Uf(e.enter),Uf(e.leave)];{const t=Uf(e);return[t,t]}}function Uf(e){return nT(e)}function To(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yl]||(e[yl]=new Set)).add(t)}function Nr(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[yl];n&&(n.delete(t),n.size||(e[yl]=void 0))}function db(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let W3=0;function fb(e,t,n,a){const o=e._endId=++W3,r=()=>{o===e._endId&&a()};if(n!=null)return setTimeout(r,n);const{type:s,timeout:l,propCount:u}=k2(e,t);if(!s)return a();const c=s+"end";let d=0;const f=()=>{e.removeEventListener(c,p),r()},p=g=>{g.target===e&&++d>=u&&f()};setTimeout(()=>{d<u&&f()},l+1),e.addEventListener(c,p)}function k2(e,t){const n=window.getComputedStyle(e),a=h=>(n[h]||"").split(", "),o=a(`${Rr}Delay`),r=a(`${Rr}Duration`),s=pb(o,r),l=a(`${Ql}Delay`),u=a(`${Ql}Duratio
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
2026-05-31 00:16:56 +08:00
*/let L2;const Wd=e=>L2=e,D2=Symbol();function th(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var xi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(xi||(xi={}));function wO(){const e=xv(!0),t=e.run(()=>M({}));let n=[],a=[];const o=Ya({install(r){Wd(o),o._a=r,r.provide(D2,o),r.config.globalProperties.$pinia=o,a.forEach(s=>n.push(s)),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 B2=()=>{};function _b(e,t,n,a=B2){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),a())};return!n&&Nd()&&Tv(o),o}function js(e,...t){e.slice().forEach(n=>{n(...t)})}const SO=e=>e(),Rb=Symbol(),Gf=Symbol();function nh(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];th(o)&&th(a)&&e.hasOwnProperty(n)&&!Gt(a)&&!lr(a)?e[n]=nh(o,a):e[n]=a}return e}const CO=Symbol();function kO(e){return!th(e)||!e.hasOwnProperty(CO)}const{assign:Mr}=Object;function EO(e){return!!(Gt(e)&&e.effect)}function xO(e,t,n,a){const{state:o,actions:r,getters:s}=t,l=n.state.value[e];let u;function c(){l||(n.state.value[e]=o?o():{});const d=Pn(n.state.value[e]);return Mr(d,r,Object.keys(s||{}).reduce((f,p)=>(f[p]=Ya(C(()=>{Wd(n);const g=n._s.get(e);return s[p].call(g,g)})),f),{}))}return u=V2(e,c,t,n,a,!0),u}function V2(e,t,n={},a,o,r){let s;const l=Mr({actions:{}},n),u={deep:!0};let c,d,f=[],p=[],g;const h=a.state.value[e];!r&&!h&&(a.state.value[e]={});let v;function m(T){let I;c=d=!1,typeof T=="function"?(T(a.state.value[e]),I={type:xi.patchFunction,storeId:e,events:g}):(nh(a.state.value[e],T),I={type:xi.patchObject,payload:T,storeId:e,events:g});const _=v=Symbol();Ne().then(()=>{v===_&&(c=!0)}),d=!0,js(f,I,a.state.value[e])}const b=r?function(){const{state:I}=n,_=I?I():{};this.$patch(N=>{Mr(N,_)})}:B2;function w(){s.stop(),f=[],p=[],a._s.delete(e)}const y=(T,I="")=>{if(Rb in T)return T[Gf]=I,T;const _=function(){Wd(a);const N=Array.from(arguments),$=[],B=[];function K(A){$.push(A)}function j(A){B.push(A)}js(p,{args:N,name:_[Gf],store:k,after:K,onError:j});let W;try{W=T.apply(this&&this.$id===e?this:k,N)}catch(A){throw js(B,A),A}return W instanceof Promise?W.then(A=>(js($,A),A)).catch(A=>(js(B,A),Promise.reject(A))):(js($,W),W)};return _[Rb]=!0,_[Gf]=I,_},S={_p:a,$id:e,$onAction:_b.bind(null,p),$patch:m,$reset:b,$subscribe(T,I={}){const _=_b(f,T,I.detached,()=>N()),N=s.run(()=>pe(()=>a.state.value[e],$=>{(I.flush==="sync"?d:c)&&T({storeId:e,type:xi.direct,events:g},$)},Mr({},u,I)));return _},$dispose:w},k=Dt(S);a._s.set(e,k);const O=(a._a&&a._a.runWithContext||SO)(()=>a._e.run(()=>(s=xv()).run(()=>t({action:y}))));for(const T in O){const I=O[T];if(Gt(I)&&!EO(I)||lr(I))r||(h&&kO(I)&&(Gt(I)?I.value=h[T]:nh(I,h[T])),a.state.value[e][T]=I);else if(typeof I=="function"){const _=y(I,T);O[T]=_,l.actions[T]=I}}return Mr(k,O),Mr(Jt(k),O),Object.defineProperty(k,"$state",{get:()=>a.state.value[e],set:T=>{m(I=>{Mr(I,T)})}}),a._p.forEach(T=>{Mr(k,s.run(()=>T({store:k,app:a._a,pinia:a,options:l})))}),h&&r&&n.hydrate&&n.hydrate(k.$state,h),c=!0,d=!0,k}/*! #__NO_SIDE_EFFECTS__ */function F2(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 s(l,u){const c=Nv();return l=l||(c?$e(D2,null):null),l&&Wd(l),l=L2,l._s.has(a)||(r?V2(a,t,o,l):xO(a,o,l)),l._s.get(a)}return s.$id=a,s}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"},TO=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],Xf=["sun","mon","tue","wed","thu","fri","sat"],at="update:modelValue",yt="change",Tn="input",Ib=Symbol("INSTALLED_KEY"),yo=["","default","small","large"],$b=["left","center"
For more detail, please visit: ${o}
2026-05-31 00:16:56 +08:00
`)},{immediate:!0})},O$='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',MS=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,u0=e=>typeof Element>"u"?!1:e instanceof Element,_$=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,c0=e=>Array.from(e.querySelectorAll(O$)).filter(t=>Is(t)&&_$(t)),Is=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ec=function(e,t,...n){let a;t.includes("mouse")||t.includes("click")?a="MouseEvents":t.includes("key")?a="KeyboardEvent":a="HTMLEvents";const o=document.createEvent(a);return o.initEvent(t,...n),e.dispatchEvent(o),e},PS=e=>!e.getAttribute("aria-owns"),AS=(e,t,n)=>{const{parentNode:a}=e;if(!a)return null;const o=a.querySelectorAll(n);return o[Array.prototype.indexOf.call(o,e)+t]||null},Ou=(e,t)=>{if(!e||!e.focus)return;let n=!1;u0(e)&&!Is(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),u0(e)&&n&&e.removeAttribute("tabindex")},pl=e=>{e&&(Ou(e),!PS(e)&&e.click())},af=()=>Lt&&/firefox/i.test(window.navigator.userAgent),LS=()=>Lt&&/android/i.test(window.navigator.userAgent),um=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),ap=e=>vu(e),R$="utils/dom/style",DS=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ao=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ua=(e,t)=>{!e||!t.trim()||e.classList.add(...DS(t))},ra=(e,t)=>{!e||!t.trim()||e.classList.remove(...DS(t))},or=(e,t)=>{if(!Lt||!e||!t||MS(e))return"";let n=qn(t);n==="float"&&(n="cssFloat");try{const a=e.style[n];if(a)return a;const o=document.defaultView?.getComputedStyle(e,"");return o?o[n]:""}catch{return e.style[n]}},BS=(e,t,n)=>{if(!(!e||!t))if(ot(t))TS(t).forEach(([a,o])=>BS(e,a,o));else{const a=qn(t);e.style[a]=n}};function hn(e,t="px"){if(!e&&e!==0)return"";if(Be(e)||JI(e))return`${e}${t}`;if(Ae(e))return e;jt(R$,"binding value must be a string or number")}const VS=(e,t,n,a)=>{const o={offsetX:0,offsetY:0},r=M(!1),s=(p,g)=>{if(e.value){const{offsetX:h,offsetY:v}=o,m=e.value.getBoundingClientRect(),b=Math.max(m.left,0),w=Math.max(m.top,0),y=m.width,S=m.height,k=document.documentElement.clientWidth,x=document.documentElement.clientHeight,O=-b+h,T=-w+v,I=k-b-y+h,_=x-w-(S<x?S:0)+v;a?.value||(p=Ma(p,O,I),g=Ma(g,T,_)),o.offsetX=p,o.offsetY=g,e.value.style.transform=`translate(${hn(p)}, ${hn(g)})`}},l=p=>{const g=p.clientX,h=p.clientY,{offsetX:v,offsetY:m}=o,b=y=>{r.value||(r.value=!0),s(v+y.clientX-g,m+y.clientY-h)},w=()=>{r.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",w)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",l),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",l),window.removeEventListener("resize",f))},d=()=>{o.offsetX=0,o.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:p,offsetY:g}=o;s(p,g)};return ht(()=>{la(()=>{n.value?u():c()})}),Vt(()=>{c()}),{isDragging:r,resetPosition:d,updatePosition:f}};var I$={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
usage: app.provide(ID_INJECTION_KEY, {
prefix: number,
current: number,
2026-05-31 00:16:56 +08:00
})`);const n=cm();return _S(()=>i(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let el=[];const E0=e=>{qt(e)===Se.esc&&el.forEach(t=>t(e))},qN=e=>{ht(()=>{el.length===0&&document.addEventListener("keydown",E0),Lt&&el.push(e)}),Vt(()=>{el=el.filter(t=>t!==e),el.length===0&&Lt&&document.removeEventListener("keydown",E0)})},aC=()=>{const e=cm(),t=Cm(),n=C(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:C(()=>`#${n.value}`)}},YN=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},GN=()=>{const{id:e,selector:t}=aC();return zd(()=>{Lt&&(document.body.querySelector(t.value)||YN(e.value))}),{id:e,selector:t}},XN=Ee({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),JN=({showAfter:e,hideAfter:t,autoClose:n,open:a,close:o})=>{const{registerTimeout:r}=k0(),{registerTimeout:s,cancelTimeout:l}=k0();return{onOpen:(d,f=i(e))=>{r(()=>{a(d);const p=i(n);Be(p)&&p>0&&s(()=>{o(d)},p)},f)},onClose:(d,f=i(t))=>{l(),r(()=>{o(d)},f)}}},oC=Symbol("elForwardRef"),ZN=e=>{St(oC,{setForwardRef:n=>{e.value=n}})},QN=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),x0={current:0},T0=M(0),eM=2e3,O0=Symbol("elZIndexContextKey"),rC=Symbol("zIndexContextKey"),Iu=e=>{const t=dt()?$e(O0,x0):x0,n=e||(dt()?$e(rC,void 0):void 0),a=C(()=>{const s=i(n);return Be(s)?s:eM}),o=C(()=>a.value+T0.value),r=()=>(t.current++,T0.value=t.current,o.value);return!Lt&&!$e(O0)&&jt("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}},_l=Math.min,ks=Math.max,nd=Math.round,nc=Math.floor,Do=e=>({x:e,y:e}),tM={left:"right",right:"left",bottom:"top",top:"bottom"};function ph(e,t,n){return ks(e,_l(t,n))}function $u(e,t){return typeof e=="function"?e(t):e}function Ns(e){return e.split("-")[0]}function Nu(e){return e.split("-")[1]}function sC(e){return e==="x"?"y":"x"}function km(e){return e==="y"?"height":"width"}function zr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Em(e){return sC(zr(e))}function nM(e,t,n){n===void 0&&(n=!1);const a=Nu(e),o=Em(e),r=km(o);let s=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(s=ad(s)),[s,ad(s)]}function aM(e){const t=ad(e);return[hh(e),t,hh(t)]}function hh(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const _0=["left","right"],R0=["right","left"],oM=["top","bottom"],rM=["bottom","top"];function sM(e,t,n){switch(e){case"top":case"bottom":return n?t?R0:_0:t?_0:R0;case"left":case"right":return t?oM:rM;default:return[]}}function lM(e,t,n,a){const o=Nu(e);let r=sM(Ns(e),n==="start",a);return o&&(r=r.map(s=>s+"-"+o),t&&(r=r.concat(r.map(hh)))),r}function ad(e){const t=Ns(e);return tM[t]+e.slice(t.length)}function iM(e){return{top:0,right:0,bottom:0,left:0,...e}}function lC(e){return typeof e!="number"?iM(e):{top:e,right:e,bottom:e,left:e}}function od(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 I0(e,t,n){let{reference:a,floating:o}=e;const r=zr(t),s=Em(t),l=km(s),u=Ns(t),c=r==="y",d=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,p=a[l]/2-o[l]/2;let g;switch(u){case"top":g={x:d,y:a.y-o.height};break;case"bottom":g={x:d,y:a.y+a.height};break;case"right":g={x:a.x+a.width,y:f};break;case"left":g={x:a.x-o.width,y:f};break;default:g={x:a.x,y:a.y}}switch(Nu(t)){case"start":g[s]-=p*(n&&c?-1:1);break;case"end":g[s]+=p*(n&&c?-1:1);break}return g}async function iC(e,t){var n;t===void 0&&(t={});const{x:a,y:o,platform:r,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:g=0}=$u(t,e),h=lC(g),m=l[p?f==="floating"?"reference":"floating":f],b=od(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(m)))==null||n?m:m.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),w=f==="floating"?{x:a,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),S=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},k=od(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:y,strategy:u}):w);return{top:(b.top-k.top+h.top)/S.y,bottom:(k.bottom-b.bottom+h.bottom)/S.y,left:(b.left-k.left+h.left)/S.x,right:(k.right-b.right+h.right)/S.x}}const uM=50,cM=async(e,t,n)=>{const{placement:a="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:iC},u=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=I0(c,a,u),p=a,g=0;const h={};for(let v=0;v<r.length;v++){const m=r[v];if(!m)continue;const{name:b,fn:w}=m,{x:y,y:S,data:k,reset:x}=await w({x:d,y:f,initialPlacement:a,placement:p,strategy:o,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});d=y??d,f=S??f,h[b]={...h[b],...k},x&&g<uM&&(g++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(c=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:d,y:f}=I0(c,p,u)),v=-1)}return{x:d,y:f,placement:p,strategy:o,middlewareData:h}},dM=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:o,rects:r,platform:s,elements:l,middlewareData:u}=t,{element:c,
(?:
(?:`+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
2026-05-31 00:16:56 +08:00
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),r=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),s=new RegExp("^"+n+"$"),l=new RegExp("^"+o+"$"),u=function(S){return S&&S.exact?r:new RegExp("(?:"+t(S)+n+t(S)+")|(?:"+t(S)+o+t(S)+")","g")};u.v4=function(y){return y&&y.exact?s:new RegExp(""+t(y)+n+t(y),"g")},u.v6=function(y){return y&&y.exact?l:new RegExp(""+t(y)+o+t(y),"g")};var c="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",f=u.v4().source,p=u.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',w="(?:"+c+"|www\\.)"+d+"(?:localhost|"+f+"|"+p+"|"+g+h+v+")"+m+b;return rc=new RegExp("(?:^"+w+"$)","i"),rc},W0={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},hi={integer:function(t){return hi.number(t)&&parseInt(t,10)===t},float:function(t){return hi.number(t)&&!hi.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"&&!hi.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(W0.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(IL())},hex:function(t){return typeof t=="string"&&!!t.match(W0.hex)}},$L=function(t,n,a,o,r){if(t.required&&n===void 0){DC(t,n,a,o,r);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;s.indexOf(l)>-1?hi[l](n)||o.push(La(r.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&o.push(La(r.messages.types[l],t.fullField,t.type))},NL=function(t,n,a,o,r){var s=typeof t.len=="number",l=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,p=typeof n=="number",g=typeof n=="string",h=Array.isArray(n);if(p?f="number":g?f="string":h&&(f="array"),!f)return!1;h&&(d=n.length),g&&(d=n.replace(c,"_").length),s?d!==t.len&&o.push(La(r.messages[f].len,t.fullField,t.len)):l&&!u&&d<t.min?o.push(La(r.messages[f].min,t.fullField,t.min)):u&&!l&&d>t.max?o.push(La(r.messages[f].max,t.fullField,t.max)):l&&u&&(d<t.min||d>t.max)&&o.push(La(r.messages[f].range,t.fullField,t.min,t.max))},qs="enum",ML=function(t,n,a,o,r){t[qs]=Array.isArray(t[qs])?t[qs]:[],t[qs].indexOf(n)===-1&&o.push(La(r.messages[qs],t.fullField,t[qs].join(", ")))},PL=function(t,n,a,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(La(r.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(n)||o.push(La(r.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Qt={required:DC,whitespace:RL,type:$L,range:NL,enum:ML,pattern:PL},AL=function(t,n,a,o,r){var s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Kn(n,"string")&&!t.required)return a();Qt.required(t,n,o,s,r,"string"),Kn(n,"string")||(Qt.type(t,n,o,s,r),Qt.range(t,n,o,s,r),Qt.pattern(t,n,o,s,r),t.whitespace===!0&&Qt.whitespace(t,n,o,s,r))}a(s)},LL=function(t,n,a,o,r){var s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Kn(n)&&!t.required)return a();Qt.required(t,n,o,s,r),n!==void 0&&Qt.type(t,n,o,s,r)}a(s)},DL=function(t,n,a,o,r){var s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Kn(n)&&!t.required)return a();Qt.required(t,n,o,s,r),n!==void 0&&(Qt.type(t,n,o,s,r),Qt.range(t,n,o,s,r))}a(s)},BL=function(t,n,a,o,r){var s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Kn(n)&&!t.requir
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
2026-05-31 00:16:56 +08:00
*/const Ah="_Mousewheel",wy=function(e,t){if(e&&e.addEventListener){vk(e);const n=function(a){const o=C5(a);t&&Reflect.apply(t,this,[a,o])};e[Ah]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},vk=e=>{e._Mousewheel?.wheelHandler&&(e.removeEventListener("wheel",e[Ah].wheelHandler),e[Ah]=null)},k5={beforeMount(e,t){wy(e,t.value)},unmounted(e){vk(e)},updated(e,t){t.value!==t.oldValue&&wy(e,t.value)}},E5=Ee({...rk,datetimeRole:String,parsedValue:{type:G(Object)}}),mk=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const a=(s,l,u,c)=>{const d={hour:e,minute:t,second:n};let f=s;return["hour","minute","second"].forEach(p=>{if(d[p]){let g;const h=d[p];switch(p){case"minute":g=h(f.hour(),l,c);break;case"second":g=h(f.hour(),f.minute(),l,c);break;default:g=h(l,c);break}if(g?.length&&!g.includes(f[p]())){const v=u?0:g.length-1;f=f[p](g[v])}}}),f},o={};return{timePickerOptions:o,getAvailableTime:a,onSetOption:([s,l])=>{o[s]=l}}},vp=e=>{const t=(a,o)=>a||o,n=a=>a!==!0;return e.map(t).filter(n)},gk=(e,t,n)=>({getHoursList:(s,l)=>hp(24,e&&(()=>e?.(s,l))),getMinutesList:(s,l,u)=>hp(60,t&&(()=>t?.(s,l,u))),getSecondsList:(s,l,u,c)=>hp(60,n&&(()=>n?.(s,l,u,c)))}),bk=(e,t,n)=>{const{getHoursList:a,getMinutesList:o,getSecondsList:r}=gk(e,t,n);return{getAvailableHours:(c,d)=>vp(a(c,d)),getAvailableMinutes:(c,d,f)=>vp(o(c,d,f)),getAvailableSeconds:(c,d,f,p)=>vp(r(c,d,f,p))}},yk=(e,t)=>{const n=M(e.parsedValue);return pe(()=>e.visible,a=>{const o=xn(t.modelValue),r=xn(t.valueOnClear);if(a&&o===r){n.value=r;return}a||(n.value=e.parsedValue)}),n},x5=Ee({role:{type:String,required:!0},spinnerDate:{type:G(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:G(String),default:""},...Vm}),T5=["onClick"],O5=["onMouseenter"];var _5=se({__name:"basic-time-spinner",props:x5,emits:[yt,"select-range","set-option"],setup(e,{emit:t}){const n=e,{isRange:a,format:o,saveOnBlur:r}=$e(Go).props,s=t,l=ge("time"),{getHoursList:u,getMinutesList:c,getSecondsList:d}=gk(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let f=!1;const p={hours:!1,minutes:!1,seconds:!1},g=M(),h={hours:M(),minutes:M(),seconds:M()},v=C(()=>n.showSeconds?uy:uy.slice(0,2)),m=C(()=>{const{spinnerDate:H}=n;return{hours:H.hour(),minutes:H.minute(),seconds:H.second()}}),b=C(()=>{const{hours:H,minutes:U}=i(m),{role:J,spinnerDate:ee}=n,ae=a?void 0:ee;return{hours:u(J,ae),minutes:c(H,J,ae),seconds:d(H,U,J,ae)}}),w=C(()=>{const{hours:H,minutes:U,seconds:J}=i(m);return{hours:pp(H,23),minutes:pp(U,59),seconds:pp(J,59)}}),y=Ho(H=>{f=!1,x(H)},200),S=H=>{if(!n.amPmMode)return"";const U=n.amPmMode==="A";let J=H<12?" am":" pm";return U&&(J=J.toUpperCase()),J},k=H=>{let U=[0,0];const J=o||"HH:mm:ss",ee=J.indexOf("HH"),ae=J.indexOf("mm"),ce=J.indexOf("ss");switch(H){case"hours":ee!==-1&&(U=[ee,ee+2]);break;case"minutes":ae!==-1&&(U=[ae,ae+2]);break;case"seconds":ce!==-1&&(U=[ce,ce+2]);break}const[Z,de]=U;s("select-range",Z,de),g.value=H},x=H=>{I(H,i(m)[H])},O=()=>{x("hours"),x("minutes"),x("seconds")},T=H=>H.querySelector(`.${l.namespace.value}-scrollbar__wrap`),I=(H,U)=>{if(n.arrowControl)return;const J=i(h[H]);J&&J.$el&&(r||(p[H]=!0,Oa(()=>{p[H]=!1})),T(J.$el).scrollTop=Math.max(0,U*_(H)))},_=H=>{const U=i(h[H])?.$el.querySelector("li");return U&&Number.parseFloat(or(U,"height"))||0},N=()=>{B(1)},$=()=>{B(-1)},B=H=>{g.value||k("hours");const U=g.value,J=i(m)[U],ee=K(U,J,H,g.value==="hours"?24:60);j(U,ee),I(U,ee),Ne(()=>k(U))},K=(H,U,J,ee)=>{let ae=(U+J+ee)%ee;const ce=i(b)[H];for(;ce[ae]&&ae!==U;)ae=(ae+J+ee)%ee;return ae},j=(H,U)=>{if(i(b)[H][U])return;const{hours:J,minutes:ee,seconds:ae}=i(m);let ce;switch(H){case"hours":ce=n.spinnerDate.hour(U).minute(ee).second(ae);break;case"minutes":ce=n.spinnerDate.hour(J).minute(U).second(ae);break;case"seconds":ce=n.spinnerDate.hour(J).minute(ee).second(U);break}s(yt,ce)},W=(H,{value:U,disabled:J})=>{J||(j(H,U),k(H),I(H,U))},A=H=>{if(!r&&p[H])return;const U=i(h[H]);U&&(f=!0,y(H),j(H,Math.min(Math.round((T(U.$el).scrollTop-(P(H)*.5-10)/_(H)+3)/_(H)),H==="hours"?23:59)))},P=H=>i(h[H])
You should set
width/height
to number when your layout is
horizontal/vertical
2026-05-31 00:16:56 +08:00
`);const c=Math.max(0,t*n-u),d=Math.min(c,r*n),f=Math.max(0,(r+1)*n-u);switch(s==="smart"&&(l>=f-u&&l<=d+u?s=qa:s=Mo),s){case ru:return d;case"end":return f;case Mo:{const p=Math.round(f+(d-f)/2);return p<Math.ceil(u/2)?0:p>c+Math.floor(u/2)?c:p}case qa:default:return l>=f&&l<=d?l:l<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,s)=>{const l=r*n,u=lu(a)?o:e,c=Math.ceil((u+s-l)/n);return Math.max(0,Math.min(t-1,r+c-1))},initCache(){},clearCache:!0,validateProps(){}}),iF="ElDynamicSizeList",rl=(e,t,n)=>{const{itemSize:a}=e,{items:o,lastVisitedIndex:r}=n;if(t>r){let s=0;if(r>=0){const l=o[r];s=l.offset+l.size}for(let l=r+1;l<=t;l++){const u=a(l);o[l]={offset:s,size:u},s+=u}n.lastVisitedIndex=t}return o[t]},uF=(e,t,n)=>{const{items:a,lastVisitedIndex:o}=t;return(o>0?a[o].offset:0)>=n?Bk(e,t,0,o,n):cF(e,t,Math.max(0,o),n)},Bk=(e,t,n,a,o)=>{for(;n<=a;){const r=n+Math.floor((a-n)/2),s=rl(e,r,t).offset;if(s===o)return r;s<o?n=r+1:s>o&&(a=r-1)}return Math.max(0,n-1)},cF=(e,t,n,a)=>{const{total:o}=e;let r=1;for(;n<o&&rl(e,n,t).offset<a;)n+=r,r*=2;return Bk(e,t,Math.floor(n/2),Math.min(n,o-1),a)},Ry=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:a})=>{let o=0;if(a>=e&&(a=e-1),a>=0){const s=t[a];o=s.offset+s.size}const r=(e-a-1)*n;return o+r},dF=Dk({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>rl(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:Ry,getOffset:(e,t,n,a,o)=>{const{height:r,layout:s,width:l}=e,u=lu(s)?l:r,c=rl(e,t,o),d=Ry(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=qa:n=Mo),n){case ru:return f;case"end":return p;case Mo:return Math.round(p+(f-p)/2);case qa:default:return a>=p&&a<=f?a:a<p?p:f}},getStartIndexForOffset:(e,t,n)=>uF(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:o,total:r,layout:s,width:l}=e,u=lu(s)?l:o,c=rl(e,t,a),d=n+u;let f=c.offset+c.size,p=t;for(;p<r-1&&f<d;)p++,f+=rl(e,p,a).size;return p},initCache({estimatedItemSize:e=50},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(a,o=!0)=>{n.lastVisitedIndex=Math.min(n.lastVisitedIndex,a-1),t.exposed?.getItemStyleCache(-1),o&&t.proxy?.$forceUpdate()},n},clearCache:!1,validateProps:({itemSize:e})=>{typeof e!="function"&&sn(iF,`
itemSize is required as function, but the given value was ${typeof e}
2026-05-31 00:16:56 +08:00
`)}}),fF=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:a},o)=>{let r=null,s=0,l=0;const u=(d,f)=>{const p=d<0&&t.value||d>0&&e.value,g=f<0&&a.value||f>0&&n.value;return p||g};return{hasReachedEdge:u,onWheel:d=>{co(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}s+=f,l+=p,d.preventDefault(),r=Oa(()=>{o(s,l),s=0,l=0})}}},pF=(e,t,n,a,o,r,s)=>{const l=M(0),u=M(0);let c,d=0,f=0;const p=h=>{co(c),l.value=h.touches[0].clientX,u.value=h.touches[0].clientY,d=0,f=0},g=h=>{h.preventDefault(),co(c),d+=l.value-h.touches[0].clientX,f+=u.value-h.touches[0].clientY,l.value=h.touches[0].clientX,u.value=h.touches[0].clientY,c=Oa(()=>{const v=a.value-i(r),m=o.value-i(s);n({scrollLeft:Math.min(t.value.scrollLeft+d,v),scrollTop:Math.min(t.value.scrollTop+f,m)}),d=0,f=0})};return Bt(e,"touchstart",p,{passive:!0}),Bt(e,"touchmove",g,{passive:!1}),{touchStartX:l,touchStartY:u,handleTouchStart:p,handleTouchMove:g}},Vk=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:a,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:r,getEstimatedTotalWidth:s,getColumnOffset:l,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:p,injectToInstance:g,validateProps:h})=>se({name:e??"ElVirtualList",props:Es,emits:[dd,fd],setup(v,{emit:m,expose:b,slots:w}){const y=ge("vl");h(v);const S=dt(),k=M(p(v,S));g?.(S,k);const x=M(),O=M(),T=M(),I=M(),_=M({isScrolling:!1,scrollLeft:Be(v.initScrollLeft)?v.initScrollLeft:0,scrollTop:Be(v.initScrollTop)?v.initScrollTop:0,updateRequested:!1,xAxisScrollDir:pd,yAxisScrollDir:pd}),N=Ak(),$=C(()=>Number.parseInt(`${v.height}`,10)),B=C(()=>Number.parseInt(`${v.width}`,10)),K=C(()=>{const{totalColumn:ye,totalRow:Te,columnCache:be}=v,{isScrolling:Pe,xAxisScrollDir:He,scrollLeft:Je}=i(_);if(ye===0||Te===0)return[0,0,0,0];const Qe=a(v,Je,i(k)),lt=o(v,Qe,Je,i(k)),Ze=!Pe||He==="backward"?Math.max(1,be):1,gt=!Pe||He==="forward"?Math.max(1,be):1;return[Math.max(0,Qe-Ze),Math.max(0,Math.min(ye-1,lt+gt)),Qe,lt]}),j=C(()=>{const{totalColumn:ye,totalRow:Te,rowCache:be}=v,{isScrolling:Pe,yAxisScrollDir:He,scrollTop:Je}=i(_);if(ye===0||Te===0)return[0,0,0,0];const Qe=d(v,Je,i(k)),lt=f(v,Qe,Je,i(k)),Ze=!Pe||He==="backward"?Math.max(1,be):1,gt=!Pe||He==="forward"?Math.max(1,be):1;return[Math.max(0,Qe-Ze),Math.max(0,Math.min(Te-1,lt+gt)),Qe,lt]}),W=C(()=>r(v,i(k))),A=C(()=>s(v,i(k))),P=C(()=>[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:v.direction,height:Be(v.height)?`${v.height}px`:v.height,width:Be(v.width)?`${v.width}px`:v.width},v.style??{}]),V=C(()=>{const ye=`${i(A)}px`;return{height:`${i(W)}px`,pointerEvents:i(_).isScrolling?"none":void 0,width:ye,margin:0,boxSizing:"border-box"}}),F=()=>{const{totalColumn:ye,totalRow:Te}=v;if(ye>0&&Te>0){const[lt,Ze,gt,Pt]=i(K),[zt,nt,ft,me]=i(j);m(dd,{columnCacheStart:lt,columnCacheEnd:Ze,rowCacheStart:zt,rowCacheEnd:nt,columnVisibleStart:gt,columnVisibleEnd:Pt,rowVisibleStart:ft,rowVisibleEnd:me})}const{scrollLeft:be,scrollTop:Pe,updateRequested:He,xAxisScrollDir:Je,yAxisScrollDir:Qe}=i(_);m(fd,{xAxisScrollDir:Je,scrollLeft:be,yAxisScrollDir:Qe,scrollTop:Pe,updateRequested:He})},H=ye=>{const{clientHeight:Te,clientWidth:be,scrollHeight:Pe,scrollLeft:He,scrollTop:Je,scrollWidth:Qe}=ye.currentTarget,lt=i(_);if(lt.scrollTop===Je&&lt.scrollLeft===He)return;let Ze=He;if(Oy(v.direction))switch(vd()){case su:Ze=-He;break;case jm:Ze=Qe-be-He;break}_.value={...lt,isScrolling:!0,scrollLeft:Ze,scrollTop:Math.max(0,Math.min(Je,Pe-Te)),updateRequested:!0,xAxisScrollDir:vi(lt.scrollLeft,Ze),yAxisScrollDir:vi(lt.scrollTop,Je)},Ne(()=>L()),q(),F()},U=(ye,Te)=>{const be=i($),Pe=(W.value-be)/Te*ye;ae({scrollTop:Math.min(W.value-be,Pe)})},J=(ye,Te)=>{const be=i(B),Pe=(A.value-be)/Te*ye;ae({scrollLeft:Math.min(A.value-be,Pe)})},{onWheel:ee}=fF({atXStartEdge:C(()=>_.value.scrollLeft<=0),atXEndEdge:C(()=>_.value.scrollLeft>=A.value-i(B)),atYStartEdge:C(()=>_.value.scrollTop<=0
"columnWidth" must be passed as number,
instead ${typeof e} was given.
2026-05-31 00:16:56 +08:00
`),Be(t)||sn(Iy,`
"columnWidth" must be passed as number,
instead ${typeof t} was given.
2026-05-31 00:16:56 +08:00
`)}}),{max:md,min:Fk,floor:zk}=Math,$y="ElDynamicSizeGrid",vF={column:"columnWidth",row:"rowHeight"},Wh={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},tr=(e,t,n,a)=>{const[o,r,s]=[n[a],e[vF[a]],n[Wh[a]]];if(t>s){let l=0;if(s>=0){const u=o[s];l=u.offset+u.size}for(let u=s+1;u<=t;u++){const c=r(u);o[u]={offset:l,size:c},l+=c}n[Wh[a]]=t}return o[t]},Hk=(e,t,n,a,o,r)=>{for(;n<=a;){const s=n+zk((a-n)/2),l=tr(e,s,t,r).offset;if(l===o)return s;l<o?n=s+1:a=s-1}return md(0,n-1)},mF=(e,t,n,a,o)=>{const r=o==="column"?e.totalColumn:e.totalRow;let s=1;for(;n<r&&tr(e,n,t,o).offset<a;)n+=s,s*=2;return Hk(e,t,zk(n/2),Fk(n,r-1),a,o)},Ny=(e,t,n,a)=>{const[o,r]=[t[a],t[Wh[a]]];return(r>0?o[r].offset:0)>=n?Hk(e,t,0,r,n,a):mF(e,t,md(0,r),n,a)},Kk=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:a})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const s=a[n];o=s.offset+s.size}const r=(e-n-1)*t;return o+r},Wk=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:a})=>{let o=0;if(a>e&&(a=e-1),a>=0){const s=t[a];o=s.offset+s.size}const r=(e-a-1)*n;return o+r},gF={column:Wk,row:Kk},My=(e,t,n,a,o,r,s)=>{const[l,u]=[r==="row"?e.height:e.width,gF[r]],c=tr(e,t,o,r),d=md(0,Fk(u(e,o)-l,c.offset)),f=md(0,c.offset-l+s+c.size);switch(n==="smart"&&(a>=f-l&&a<=d+l?n=qa:n=Mo),n){case ru:return d;case"end":return f;case Mo:return Math.round(f+(d-f)/2);case qa:default:return a>=f&&a<=d?a:f>d||a<f?f:d}},bF=Vk({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const a=tr(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=tr(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,o,r)=>My(e,t,n,a,o,"column",r),getRowOffset:(e,t,n,a,o,r)=>My(e,t,n,a,o,"row",r),getColumnStartIndexForOffset:(e,t,n)=>Ny(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const o=tr(e,t,a,"column"),r=n+e.width;let s=o.offset+o.size,l=t;for(;l<e.totalColumn-1&&s<r;)l++,s+=tr(e,t,a,"column").size;return l},getEstimatedTotalHeight:Kk,getEstimatedTotalWidth:Wk,getRowStartIndexForOffset:(e,t,n)=>Ny(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,a)=>{const{totalRow:o,height:r}=e,s=tr(e,t,a,"row"),l=n+r;let u=s.size+s.offset,c=t;for(;c<o-1&&u<l;)c++,u+=tr(e,c,a,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:r,rowIndex:s},l)=>{l=Rt(l)?!0:l,Be(r)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,r-1)),Be(s)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,s-1)),e.exposed?.getItemStyleCache.value(-1,null,null),l&&e.proxy?.$forceUpdate()},a=(r,s)=>{n({columnIndex:r},s)},o=(r,s)=>{n({rowIndex:r},s)};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})=>{Fe(e)||sn($y,`
"columnWidth" must be passed as function,
instead ${typeof e} was given.
2026-05-31 00:16:56 +08:00
`),Fe(t)||sn($y,`
"rowHeight" must be passed as function,
instead ${typeof t} was given.
2026-05-31 00:16:56 +08:00
`)}}),jk={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:Nn,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...ia(["ariaControls"])},Uk={[at]:e=>Ae(e)||Be(e)||Wt(e),change:e=>Ae(e)||Be(e)||Wt(e)},ql=Symbol("checkboxGroupContextKey"),yF=Ee({modelValue:{type:G(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Nn,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:G(Array)},props:{type:G(Object),default:()=>qk},type:{type:String,values:["checkbox","button"],default:"checkbox"},...ia(["ariaLabel"])}),wF={[at]:e=>we(e),change:e=>we(e)},qk={label:"label",value:"value",disabled:"disabled"},SF=({model:e,isChecked:t})=>{const n=$e(ql,void 0),a=$e(Hs,void 0),o=C(()=>{const r=n?.max?.value,s=n?.min?.value;return!Rt(r)&&e.value.length>=r&&!t.value||!Rt(s)&&e.value.length<=s&&t.value});return{isDisabled:un(C(()=>n===void 0?a?.disabled??o.value:n.disabled?.value||o.value)),isLimitDisabled:o}},CF=(e,{model:t,isLimitExceeded:n,hasOwnLabel:a,isDisabled:o,isLabeledByFormItem:r})=>{const s=$e(ql,void 0),{formItem:l}=Fn(),{emit:u}=dt();function c(h){return[!0,e.trueValue,e.trueLabel].includes(h)?e.trueValue??e.trueLabel??!0:e.falseValue??e.falseLabel??!1}function d(h,v){u(yt,c(h),v)}function f(h){if(n.value)return;const v=h.target;u(yt,c(v.checked),h)}async function p(h){n.value||!a.value&&!o.value&&r.value&&(h.composedPath().some(v=>v.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Ne(),d(t.value,h)))}const g=C(()=>s?.validateEvent||e.validateEvent);return pe(()=>e.modelValue,()=>{g.value&&l?.validate("change").catch(ut)}),{handleChange:f,onClickRoot:p}},kF=e=>{const t=M(!1),{emit:n,vnode:a}=dt(),o=$e(ql,void 0),r=C(()=>Rt(o)===!1),s=M(!1),l=C(()=>{const c=a.props??{};return"modelValue"in c||"model-value"in c}),u=C({get(){return r.value?o?.modelValue?.value:l.value?e.modelValue:t.value},set(c){r.value&&we(c)?(s.value=o?.max?.value!==void 0&&c.length>o?.max.value&&c.length>u.value.length,s.value===!1&&o?.changeEvent?.(c)):(n(at,c),t.value=c)}});return{model:u,isGroup:r,isLimitExceeded:s}},EF=(e,t,{model:n})=>{const a=$e(ql,void 0),o=M(!1),r=C(()=>Pa(e.value)?e.label:e.value),s=C(()=>{const l=n.value;return Wt(l)?l:we(l)?ot(r.value)?l.map(Jt).some(u=>fn(u,r.value)):l.map(Jt).includes(r.value):l!=null?l===e.trueValue||l===e.trueLabel:!!l});return{checkboxButtonSize:In(C(()=>a?.size?.value),{prop:!0}),isChecked:s,isFocused:o,checkboxSize:In(C(()=>a?.size?.value)),hasOwnLabel:C(()=>!!t.default||!Pa(r.value)),actualValue:r}},Yk=(e,t)=>{const{formItem:n}=Fn(),{model:a,isGroup:o,isLimitExceeded:r}=kF(e),{isFocused:s,isChecked:l,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=EF(e,t,{model:a}),{isDisabled:p}=SF({model:a,isChecked:l}),{inputId:g,isLabeledByFormItem:h}=_a(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:v,onClickRoot:m}=CF(e,{model:a,isLimitExceeded:r,hasOwnLabel:d,isDisabled:p,isLabeledByFormItem:h});return(()=>{function w(){we(a.value)&&!a.value.includes(f.value)?a.value.push(f.value):a.value=e.trueValue??e.trueLabel??!0}e.checked&&w()})(),Po({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},C(()=>o.value&&Pa(e.value))),Po({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},C(()=>!!e.trueLabel)),Po({from:"false-label",replacement:"false-value",ve
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
2026-05-31 00:16:56 +08:00
`),_[2]||(_[2]=z("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):p.value&&e.node.checked?(E(),le(i(De),{key:2,class:R(i(r).e("prefix"))},{default:ne(()=>[X(i(Il))]),_:1},8,["class"])):re("v-if",!0),re(" content "),X(i(WF),{node:e.node},null,8,["node"]),re(" postfix "),p.value?re("v-if",!0):(E(),D(Ve,{key:3},[e.node.loading?(E(),le(i(De),{key:0,class:R([i(r).is("loading"),i(r).e("postfix")])},{default:ne(()=>[X(i(ho))]),_:1},8,["class"])):(E(),le(i(De),{key:1,class:R(["arrow-right",i(r).e("postfix")])},{default:ne(()=>[X(i(sa))]),_:1},8,["class"]))],64))],42,jF))}}),Py=UF,qF=se({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=dt(),o=ge("cascader-menu"),{t:r}=xt(),s=Gn();let l,u;const c=$e(bf),d=M(),f=M(),p=C(()=>!n.nodes.length),g=C(()=>!c.initialLoaded),h=C(()=>`${s.value}-${n.index}`),v=()=>{let O;if(c.expandingNode){const{level:T,pathNodes:I}=c.expandingNode;n.index<T?O=I[n.index]?.uid:n.index===T&&c.checkedNodes.length>0&&(O=c.checkedNodes[0]?.pathNodes[n.index]?.uid)}else c.checkedNodes.length>0&&n.index<c.checkedNodes[0].pathNodes.length&&(O=c.checkedNodes[0].pathNodes[n.index]?.uid);return O!==void 0?n.nodes.findIndex(T=>T.uid===O):-1},m=O=>O?n.nodes.findIndex(T=>`${h.value}-${T.uid}`===O):-1,b=O=>{const T=Ma(O,0,n.nodes.length-1);f.value?.scrollToItem(T)},w=O=>{if(!n.nodes.length)return;const T=Ma(O,0,n.nodes.length-1);b(T),Ne(()=>{const I=a.vnode.el?.querySelector(`#${h.value}-${n.nodes[T].uid}`);I&&pl(I)})},y=O=>{l=O.target},S=O=>{if(!(!c.isHoverMenu||!l||!d.value))if(l.contains(O.target)){k();const T=a.vnode.el,{left:I}=T.getBoundingClientRect(),{offsetWidth:_,offsetHeight:N}=T,$=O.clientX-I,B=l.offsetTop,K=B+l.offsetHeight,j=n.virtualScroll?f.value?.states?.scrollOffset||0:T.querySelector(`.${o.e("wrap")}`)?.scrollTop||0;d.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${$} ${B} L${_} ${j} V${B} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${$} ${K} L${_} ${N+j} V${K} Z" />
2026-05-31 00:16:56 +08:00
`}else u||(u=window.setTimeout(x,c.config.hoverThreshold))},k=()=>{u&&(clearTimeout(u),u=void 0)},x=()=>{d.value&&(d.value.innerHTML="",k())};return t({getActiveNodeIndex:v,getNodeIndexById:m,scrollToItem:b,focusNodeAt:w,virtualListRef:f,get $el(){return a.vnode.el}}),(O,T)=>e.virtualScroll?(E(),D("div",{key:h.value,class:R(i(o).b()),onMousemove:S,onMouseleave:x},[X(i(gf),{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:ne(({data:I,index:_,style:N})=>[(E(),le(Py,{key:I[_].uid,node:I[_],"menu-id":h.value,style:ze(N),onExpand:y},null,8,["node","menu-id","style"]))]),_:1},8,["height","item-size","data","total","class-name","inner-props"]),g.value?(E(),D("div",{key:0,class:R(i(o).e("empty-text"))},[X(i(De),{size:14,class:R(i(o).is("loading"))},{default:ne(()=>[X(i(ho))]),_:1},8,["class"]),wt(" "+Ce(i(r)("el.cascader.loading")),1)],2)):p.value?(E(),D("div",{key:1,class:R(i(o).e("empty-text"))},[oe(O.$slots,"empty",{},()=>[wt(Ce(i(r)("el.cascader.noData")),1)])],2)):i(c)?.isHoverMenu?(E(),D(Ve,{key:2},[re(" eslint-disable vue/html-self-closing "),(E(),D("svg",{ref_key:"hoverZone",ref:d,class:R(i(o).e("hover-zone"))},null,2))],2112)):re("v-if",!0),re(" eslint-enable vue/html-self-closing ")],34)):(E(),le(i(vo),{key:h.value,tag:"ul",role:"menu",class:R(i(o).b()),"wrap-class":i(o).e("wrap"),"view-class":[i(o).e("list"),i(o).is("empty",p.value)],onMousemove:S,onMouseleave:x},{default:ne(()=>[(E(!0),D(Ve,null,kt(e.nodes,I=>(E(),le(Py,{key:I.uid,node:I,"menu-id":h.value,onExpand:y},null,8,["node","menu-id"]))),128)),g.value?(E(),D("div",{key:0,class:R(i(o).e("empty-text"))},[X(i(De),{size:14,class:R(i(o).is("loading"))},{default:ne(()=>[X(i(ho))]),_:1},8,["class"]),wt(" "+Ce(i(r)("el.cascader.loading")),1)],2)):p.value?(E(),D("div",{key:1,class:R(i(o).e("empty-text"))},[oe(O.$slots,"empty",{},()=>[wt(Ce(i(r)("el.cascader.noData")),1)])],2)):i(c)?.isHoverMenu?(E(),D(Ve,{key:2},[re(" eslint-disable vue/html-self-closing "),(E(),D("svg",{ref_key:"hoverZone",ref:d,class:R(i(o).e("hover-zone"))},null,2))],2112)):re("v-if",!0),re(" eslint-enable vue/html-self-closing ")]),_:3},8,["class","wrap-class","view-class"]))}}),YF=qF;let GF=0;const XF=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};var jh=class Uh{constructor(t,n,a,o=!1){this.data=t,this.config=n,this.parent=a,this.root=o,this.uid=GF++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:r,label:s,children:l}=n,u=t[l],c=XF(this);this.level=o?0:a?a.level+1:1,this.value=t[r],this.label=t[s],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 Uh(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!ha(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:a}=this,{disabled:o,checkStrictly:r}=a;return(Fe(o)?o(t,this):!!t[o])||!r&&!!n?.isDisabled}get isLeaf(){const{data:t,config:n,childrenData:a,loaded:o}=this,{lazy:r,leaf:s}=n,l=Fe(s)?s(t,this):t[s];return Rt(l)?r&&!o?!1:!(we(a)&&a.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:a}=this,o=new Uh(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=>{n&&(n.broadcast(t),n.onParentCheck?.(t))})}emit(){const{parent:t}=this;t&&(t.onChildCheck?.(),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)r
M 50 50
m 0 ${S?"":"-"}${y}
a ${y} ${y} 0 1 1 0 ${S?"-":""}${y*2}
a ${y} ${y} 0 1 1 0 ${S?"":"-"}${y*2}
2026-05-31 00:16:56 +08:00
`}),u=C(()=>2*Math.PI*s.value),c=C(()=>n.type==="dashboard"?.75:1),d=C(()=>`${-1*u.value*(1-c.value)/2}px`),f=C(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),p=C(()=>({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"})),g=C(()=>{let y;return n.color?y=w(n.percentage):y=t[n.status]||t.default,y}),h=C(()=>n.status==="warning"?pf:n.type==="line"?n.status==="success"?_m:Yo:n.status==="success"?Il:Qa),v=C(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),m=C(()=>n.format(n.percentage));function b(y){const S=100/y.length;return y.map((k,x)=>Ae(k)?{color:k,percentage:(x+1)*S}:k).sort((k,x)=>k.percentage-x.percentage)}const w=y=>{const{color:S}=n;if(Fe(S))return S(y);if(Ae(S))return S;{const k=b(S);for(const x of k)if(x.percentage>y)return x.color;return k[k.length-1]?.color}};return(y,S)=>(E(),D("div",{class:R([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"?(E(),D("div",{key:0,class:R(i(a).b("bar"))},[z("div",{class:R(i(a).be("bar","outer")),style:ze({height:`${e.strokeWidth}px`})},[z("div",{class:R([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:ze(o.value)},[(e.showText||y.$slots.default)&&e.textInside?(E(),D("div",{key:0,class:R(i(a).be("bar","innerText"))},[oe(y.$slots,"default",{percentage:e.percentage},()=>[z("span",null,Ce(m.value),1)])],2)):re("v-if",!0)],6)],6)],2)):(E(),D("div",{key:1,class:R(i(a).b("circle")),style:ze({height:`${e.width}px`,width:`${e.width}px`})},[(E(),D("svg",mU,[z("path",{class:R(i(a).be("circle","track")),d:l.value,stroke:`var(${i(a).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":r.value,fill:"none",style:ze(f.value)},null,14,gU),z("path",{class:R(i(a).be("circle","path")),d:l.value,stroke:g.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":r.value,style:ze(p.value)},null,14,bU)]))],6)),(e.showText||y.$slots.default)&&!e.textInside?(E(),D("div",{key:2,class:R(i(a).e("text")),style:ze({fontSize:`${v.value}px`})},[oe(y.$slots,"default",{percentage:e.percentage},()=>[e.status?(E(),le(i(De),{key:1},{default:ne(()=>[(E(),le(it(h.value)))]),_:1})):(E(),D("span",yU,Ce(m.value),1))])],6)):re("v-if",!0)],10,vU))}}),SU=wU;const tx=st(SU),CU=Ee({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:G([Array,Object]),default:()=>pn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:G([Array,Object]),default:()=>[ac,ac,ac]},voidIcon:{type:Ut,default:()=>IA},disabledVoidIcon:{type:Ut,default:()=>ac},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:G(Array),default:()=>pn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Nn,clearable:Boolean,...ia(["ariaLabel"])}),kU={[yt]:e=>Be(e),[at]:e=>Be(e)},EU=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax","tabindex","aria-disabled"],xU=["onMousemove","onClick"];var TU=se({name:"ElRate",__name:"rate",props:CU,emits:kU,setup(e,{expose:t,emit:n}){function a(P,V){const F=U=>ot(U),H=V[Object.keys(V).map(U=>+U).filter(U=>{const J=V[U];return F(J)&&J.excluded?P<U:P<=U}).sort((U,J)=>U-J)[0]];return F(H)&&H.value||H}const o=e,r=n,s=$e(Wo,void 0),l=In(),u=ge("rate"),{inputId:c,isLabeledByFormItem:d}=_a(o,{formItemContext:s}),f=M(Ma(o.modelValue,0,o.max)),p=M(-1),g=M(!0),h=M([]),v=C(()=>h.value.map(P=>P.$el.clientWidth))
`||c==="\r")){s=u;continue}if(r.includes(c)){const d=s===-1?a:s;l={pattern:o.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:s,selectionEnd:a};break}}return l},VZ=(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?.parentNode&&p.parentNode.removeChild(p)}const s=document.createElement("div");s.id="input-textarea-caret-position-mirror-div",document.body.appendChild(s);const l=s.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";l.whiteSpace=c?"nowrap":"pre-wrap",c||(l.wordWrap="break-word"),l.position="absolute",t.debug||(l.visibility="hidden"),r.forEach(p=>{if(c&&p==="lineHeight")if(u.boxSizing==="border-box"){const g=Number.parseInt(u.height),h=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),v=h+Number.parseInt(u.lineHeight);g>v?l.lineHeight=`${g-h}px`:g===v?l.lineHeight=u.lineHeight:l.lineHeight="0"}else l.lineHeight=u.height;else l[p]=u[p]}),af()?e.scrollHeight>Number.parseInt(u.height)&&(l.overflowY="scroll"):l.overflow="hidden",s.textContent=e.value.slice(0,Math.max(0,o)),c&&s.textContent&&(s.textContent=s.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`,s.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(s),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},FZ=Ee({...Am,options:{type:G(Array),default:()=>[]},prefix:{type:G([String,Array]),default:"@",validator:e=>Ae(e)?e.length===1:e.every(t=>Ae(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:G([Boolean,Function]),default:()=>DZ,validator:e=>e===!1?!0:Fe(e)},placement:{type:G(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:G(Function)},modelValue:String,loading:Boolean,popperClass:Kt.popperClass,popperStyle:Kt.popperStyle,popperOptions:{type:G(Object),default:()=>({})},props:{type:G(Object),default:()=>Qx}}),zZ={[at]:e=>Ae(e),"whole-remove":(e,t)=>Ae(e)&&Ae(t),input:e=>Ae(e),search:(e,t)=>Ae(e)&&Ae(t),select:(e,t)=>ot(e)&&Ae(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Qx={value:"value",label:"label",disabled:"disabled"},HZ=Ee({options:{type:G(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),KZ={select:e=>Ae(e.value)},WZ=["id","aria-disabled","aria-selected","onMousemove","onClick"];var jZ=se({name:"ElMentionDropdown",__name:"mention-dropdown",props:HZ,emits:KZ,setup(e,{expose:t,emit:n}){const a=e,o=n,r=ge("mention"),{t:s}=xt(),l=M(-1),u=M(),c=M(),d=M(),f=(S,k)=>[r.be("dropdown","item"),r.is("hovering",l.value===k),r.is("disabled",S.disabled||a.disabled)],p=S=>{S.disabled||a.disabled||o("select",S)},g=S=>{l.value=S},h=C(()=>a.disabled||a.options.every(S=>S.disabled)),v=C(()=>a.options[l.value]),m=()=>{!v.value||v.value.disabled||a.disabled||o("select",v.value)},b=S=>{const{options:k}=a;if(k.length===0||h.value)return;S==="next"?(l.value++,l.value===k.length&&(l.value=0)):S==="prev"&&(l.value--,l.value<0&&(l.value=k.length-1));const x=k[l.value];if(x.disabled){b(S);return}Ne(()=>w(x))},w=S=>{const{options:k}=a,x=k.findIndex(T=>T
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
2026-05-31 00:16:56 +08:00
*/const ol=typeof document<"u";function i4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Iee(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&i4(e.default)}const rn=Object.assign;function Mp(e,t){const n={};for(const a in t){const o=t[a];n[a]=go(o)?o.map(e):e(o)}return n}const Mi=()=>{},go=Array.isArray;function T1(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}const u4=/#/g,$ee=/&/g,Nee=/\//g,Mee=/=/g,Pee=/\?/g,c4=/\+/g,Aee=/%5B/g,Lee=/%5D/g,d4=/%5E/g,Dee=/%60/g,f4=/%7B/g,Bee=/%7C/g,p4=/%7D/g,Vee=/%20/g;function Mg(e){return e==null?"":encodeURI(""+e).replace(Bee,"|").replace(Aee,"[").replace(Lee,"]")}function Fee(e){return Mg(e).replace(f4,"{").replace(p4,"}").replace(d4,"^")}function dv(e){return Mg(e).replace(c4,"%2B").replace(Vee,"+").replace(u4,"%23").replace($ee,"%26").replace(Dee,"`").replace(f4,"{").replace(p4,"}").replace(d4,"^")}function zee(e){return dv(e).replace(Mee,"%3D")}function Hee(e){return Mg(e).replace(u4,"%23").replace(Pee,"%3F")}function Kee(e){return Hee(e).replace(Nee,"%2F")}function pu(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Wee=/\/$/,jee=e=>e.replace(Wee,"");function Pp(e,t,n="/"){let a,o={},r="",s="";const l=t.indexOf("#");let u=t.indexOf("?");return u=l>=0&&u>l?-1:u,u>=0&&(a=t.slice(0,u),r=t.slice(u,l>0?l:t.length),o=e(r.slice(1))),l>=0&&(a=a||t.slice(0,l),s=t.slice(l,t.length)),a=Gee(a??t,n),{fullPath:a+r+s,path:a,query:o,hash:pu(s)}}function Uee(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function O1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qee(e,t,n){const a=t.matched.length-1,o=n.matched.length-1;return a>-1&&a===o&&Al(t.matched[a],n.matched[o])&&h4(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Al(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function h4(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Yee(e[n],t[n]))return!1;return!0}function Yee(e,t){return go(e)?_1(e,t):go(t)?_1(t,e):e?.valueOf()===t?.valueOf()}function _1(e,t){return go(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function Gee(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,s,l;for(s=0;s<a.length;s++)if(l=a[s],l!==".")if(l==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(s).join("/")}const Ir={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let fv=function(e){return e.pop="pop",e.push="push",e}({}),Ap=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Xee(e){if(!e)if(ol){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jee(e)}const Jee=/^[^#]+#/;function Zee(e,t){return e.replace(Jee,"#")+t}function Qee(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 Ef=()=>({left:window.scrollX,top:window.scrollY});function ete(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=Qee(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 R1(e,t){return(history.state?history.state.position-t:-1)+e}const pv=new Map;function tte(e,t){pv.set(e,t)}function nte(e){const t=pv.get(e);return pv.delete(e),t}function ate(e){return typeof e=="string"||e&&typeof e=="object"}function v4(e){return typeof e=="string"||typeof e=="symbol"}let $n=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
2026-05-31 00:16:56 +08:00
*/let cte=()=>location.protocol+"//"+location.host;function g4(e,t){const{pathname:n,search:a,hash:o}=t,r=e.indexOf("#");if(r>-1){let s=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),O1(l,"")}return O1(n,e)+a+o}function dte(e,t,n,a){let o=[],r=[],s=null;const l=({state:p})=>{const g=g4(e,location),h=n.value,v=t.value;let m=0;if(p){if(n.value=g,t.value=p,s&&s===h){s=null;return}m=v?p.position-v.position:0}else a(g);o.forEach(b=>{b(n.value,h,{delta:m,type:fv.pop,direction:m?m>0?Ap.forward:Ap.back:Ap.unknown})})};function u(){s=n.value}function c(p){o.push(p);const g=()=>{const h=o.indexOf(p);h>-1&&o.splice(h,1)};return r.push(g),g}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(rn({},p.state,{scroll:Ef()}),"")}}function f(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:u,listen:c,destroy:f}}function N1(e,t,n,a=!1,o=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:o?Ef():null}}function fte(e){const{history:t,location:n}=window,a={value:g4(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:cte()+e+u;try{t[d?"replaceState":"pushState"](c,"",p),o.value=c}catch(g){console.error(g),n[d?"replace":"assign"](p)}}function s(u,c){r(u,rn({},t.state,N1(o.value.back,u,o.value.forward,!0),c,{position:o.value.position}),!0),a.value=u}function l(u,c){const d=rn({},o.value,t.state,{forward:u,scroll:Ef()});r(d.current,d,!0),r(u,rn({},N1(a.value,u,null),{position:d.position+1},c),!1),a.value=u}return{location:a,state:o,push:l,replace:s}}function pte(e){e=Xee(e);const t=fte(e),n=dte(e,t.state,t.location,t.replace);function a(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=rn({location:"",base:e,go:a,createHref:Zee.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 bs=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var zn=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}(zn||{});const hte={type:bs.Static,value:""},vte=/[a-zA-Z0-9_]/;function mte(e){if(!e)return[[]];if(e==="/")return[[hte]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=zn.Static,a=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let l=0,u,c="",d="";function f(){c&&(n===zn.Static?r.push({type:bs.Static,value:c}):n===zn.Param||n===zn.ParamRegExp||n===zn.ParamRegExpEnd?(r.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:bs.Param,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;l<e.length;){if(u=e[l++],u==="\\"&&n!==zn.ParamRegExp){a=n,n=zn.EscapeNext;continue}switch(n){case zn.Static:u==="/"?(c&&f(),s()):u===":"?(f(),n=zn.Param):p();break;case zn.EscapeNext:p(),n=a;break;case zn.Param:u==="("?n=zn.ParamRegExp:vte.test(u)?p():(f(),n=zn.Static,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case zn.ParamRegExp:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=zn.ParamRegExpEnd:d+=u;break;case zn.ParamRegExpEnd:f(),n=zn.Static,u!=="*"&&u!=="?"&&u!=="+"&&l--,d="";break;default:t("Unknown state");break}}return n===zn.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),o}const M1="[^/]+?",gte={sensitive:!1,strict:!1,start:!0,end:!0};var fa=function(e){return e[e._multiplier=10]="_multip
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),a=s.substring(o+1).trim(),!(!n||t[n]&&Ene[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t};function Tne(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 One=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),_ne=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ag(e,t){return ke.isArray(e)?e.map(n=>Ag(n,t)):Tne(String(e).replace(t,""))}const Rne=e=>Ag(e,One),Ine=e=>Ag(e,_ne);function _4(e){const t=Object.create(null);return ke.forEach(e.toJSON(),(n,a)=>{t[a]=Ine(n)}),t}const W1=Symbol("internals");function ii(e){return e&&String(e).trim().toLowerCase()}function Vc(e){return e===!1||e==null?e:ke.isArray(e)?e.map(Vc):Rne(String(e))}function $ne(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 Nne=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Dp(e,t,n,a,o){if(ke.isFunction(a))return a.call(this,t,n);if(o&&(t=n),!!ke.isString(t)){if(ke.isString(a))return t.indexOf(a)!==-1;if(ke.isRegExp(a))return a.test(t)}}function Mne(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function Pne(e,t){const n=ke.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{__proto__:null,value:function(o,r,s){return this[a].call(this,t,o,r,s)},configurable:!0})})}let va=class{constructor(t){t&&this.set(t)}set(t,n,a){const o=this;function r(l,u,c){const d=ii(u);if(!d)throw new Error("header name must be a non-empty string");const f=ke.findKey(o,d);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||u]=Vc(l))}const s=(l,u)=>ke.forEach(l,(c,d)=>r(c,d,u));if(ke.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(ke.isString(t)&&(t=t.trim())&&!Nne(t))s(xne(t),n);else if(ke.isObject(t)&&ke.isIterable(t)){let l={},u,c;for(const d of t){if(!ke.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[c=d[0]]=(u=l[c])?ke.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}s(l,n)}else t!=null&&r(n,t,a);return this}get(t,n){if(t=ii(t),t){const a=ke.findKey(this,t);if(a){const o=this[a];if(!n)return o;if(n===!0)return $ne(o);if(ke.isFunction(n))return n.call(this,o,a);if(ke.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ii(t),t){const a=ke.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||Dp(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let o=!1;function r(s){if(s=ii(s),s){const l=ke.findKey(a,s);l&&(!n||Dp(a,a[l],l,n))&&(delete a[l],o=!0)}}return ke.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||Dp(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,a={};return ke.forEach(this,(o,r)=>{const s=ke.findKey(a,r);if(s){n[s]=Vc(o),delete n[r];return}const l=t?Mne(r):String(r).trim();l!==r&&delete n[r],n[l]=Vc(o),a[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ke.forEach(this,(a,o)=>{a!=null&&a!==!1&&(n[o]=t&&ke.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(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[W1]=this[W1]={accessors:{}}).accessors,o=this.prototype;function r(s){const l=ii(s);a[l]||(Pne(o,s),a[l]=!0)}return ke.isArray(t)?t.forEach(r):r(t),this}};va.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ke.reduceDescriptors(va.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}});ke.freezeMethods(va);const Ane="[REDACTED ****]";function Lne(e){if(ke.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ke.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Dne(e,t){const n=new Set(t.map(r=>String(r).toLowerCase())),a=[],o=r=>{if(r===null||typeof r!="object"||ke.isBuffer(r))return r;if(a.indexOf(r)!==-1)return;r instanceof va&&(r=r.toJSON()),a.push(r);let s;if(ke.isArray(r))s=[],r.forEach((l,u)=>{const c=o(l);ke.isUndefined(c)||(s[u]=c)});else{if(!ke.isPlainObject(r)&&Lne(r))return a.pop(),r;s=Object.create(null);for(const[l,u]of Object.entries(r)){const c=n.has(l.toLowerCase())?Ane:o(u);ke.isUndefined(c)||(s[l]=c)}}return a.pop(),s};return o(e)}let Ct=class R4 extends Error{static from(t,n,a,o,r,s){const l=new R4(t.message,n||t.code,a,o,r);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),s&&Object.assign(l,s),l}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&&ke.hasOwnProp(t,"redact")?t.redact:void 0,a=ke.isArray(n)&&n.length>0?Dne(t,n):ke.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}}};Ct.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ct.ERR_BAD_OPTION="ERR_BAD_OPTION";Ct.ECONNABORTED="ECONNABORTED";Ct.ETIMEDOUT="ETIMEDOUT";Ct.ECONNREFUSED="ECONNREFUSED";Ct.ERR_NETWORK="ERR_NETWORK";Ct.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ct.ERR_DEPRECATED="ERR_DEPRECATED";Ct.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ct.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ct.ERR_CANCELED="ERR_CANCELED";Ct.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ct.ERR_INVALID_URL="ERR_INVALID_URL";Ct.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Bne=null;function gv(e){return ke.isPlainObject(e)||ke.isArray(e)}function I4(e){return ke.endsWith(e,"[]")?e.slice(0,-2):e}function Bp(e,t,n){return e?e.concat(t).map(function(o,r){return o=I4(o),!n&&r?"["+o+"]":o}).join(n?".":""):t}function Vne(e){return ke.isArray(e)&&!e.some(gv)}const Fne=ke.toFlatObject(ke,{},null,function(t){return/^is[A-Z]/.test(t)});function If(e,t,n){if(!ke.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ke.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!ke.isUndefined(b[m])});const a=n.metaTokens,o=n.visitor||f,r=n.dots,s=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,c=l&&ke.isSpecCompliantForm(t);if(!ke.isFunction(o))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(ke.isDate(v))return v.toISOString();if(ke.isBoolean(v))return v.toString();if(!c&&ke.isBlob(v))throw new Ct("Blob is not supported. Use a Buffer instead.");return ke.isArrayBuffer(v)||ke.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,m,b){let w=v;if(ke.isReactNative(t)&&ke.isReactNativeBlob(v))return t.append(Bp(b,m,r),d(v)),!1;if(v&&!b&&typeof v=="object"){if(ke.endsWith(m,"{}"))m=a?m:m.slice(0,-2),v=JSON.stringify(v);else if(ke.isArray(v)&
2026-05-29 23:53:00 +08:00
`+s.map(Q1).join(`
2026-05-31 00:16:56 +08:00
`):" "+Q1(s[0]):"as no adapter specified";throw new Ct("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o}const V4={getAdapter:wae,adapters:Fg};function Fp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Uu(null,e)}function ew(e){return Fp(e),e.headers=va.from(e.headers),e.data=Vp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),V4.getAdapter(e.adapter||ju.adapter,e)(e).then(function(a){Fp(e),e.response=a;try{a.data=Vp.call(e,e.transformResponse,a)}finally{delete e.response}return a.headers=va.from(a.headers),a},function(a){if(!P4(a)&&(Fp(e),a&&a.response)){e.response=a.response;try{a.response.data=Vp.call(e,e.transformResponse,a.response)}finally{delete e.response}a.response.headers=va.from(a.response.headers)}return Promise.reject(a)})}const $f={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$f[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const tw={};$f.transitional=function(t,n,a){function o(r,s){return"[Axios v"+Vg+"] Transitional option '"+r+"'"+s+(a?". "+a:"")}return(r,s,l)=>{if(t===!1)throw new Ct(o(s," has been removed"+(n?" in "+n:"")),Ct.ERR_DEPRECATED);return n&&!tw[s]&&(tw[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,s,l):!0}};$f.spelling=function(t){return(n,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function Sae(e,t,n){if(typeof e!="object")throw new Ct("options must be an object",Ct.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const r=a[o],s=Object.prototype.hasOwnProperty.call(t,r)?t[r]:void 0;if(s){const l=e[r],u=l===void 0||s(l,r,e);if(u!==!0)throw new Ct("option "+r+" must be "+u,Ct.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ct("Unknown option "+r,Ct.ERR_BAD_OPTION)}}const Fc={assertOptions:Sae,validators:$f},Ka=Fc.validators;let xs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new U1,response:new U1}}async request(t,n){try{return await this._request(t,n)}catch(a){if(a instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const r=(()=>{if(!o.stack)return"";const s=o.stack.indexOf(`
`);return s===-1?"":o.stack.slice(s+1)})();try{if(!a.stack)a.stack=r;else if(r){const s=r.indexOf(`
`),l=s===-1?-1:r.indexOf(`
`,s+1),u=l===-1?"":r.slice(l+1);String(a.stack).endsWith(u)||(a.stack+=`
2026-05-31 00:16:56 +08:00
`+r)}}catch{}}throw a}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ds(this.defaults,n);const{transitional:a,paramsSerializer:o,headers:r}=n;a!==void 0&&Fc.assertOptions(a,{silentJSONParsing:Ka.transitional(Ka.boolean),forcedJSONParsing:Ka.transitional(Ka.boolean),clarifyTimeoutError:Ka.transitional(Ka.boolean),legacyInterceptorReqResOrdering:Ka.transitional(Ka.boolean)},!1),o!=null&&(ke.isFunction(o)?n.paramsSerializer={serialize:o}:Fc.assertOptions(o,{encode:Ka.function,serialize:Ka.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Fc.assertOptions(n,{baseUrl:Ka.spelling("baseURL"),withXsrfToken:Ka.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=r&&ke.merge(r.common,r[n.method]);r&&ke.forEach(["delete","get","head","post","put","patch","query","common"],h=>{delete r[h]}),n.headers=va.concat(s,r);const l=[];let u=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(n)===!1)return;u=u&&v.synchronous;const m=n.transitional||Dg;m&&m.legacyInterceptorReqResOrdering?l.unshift(v.fulfilled,v.rejected):l.push(v.fulfilled,v.rejected)});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let d,f=0,p;if(!u){const h=[ew.bind(this),void 0];for(h.unshift(...l),h.push(...c),p=h.length,d=Promise.resolve(n);f<p;)d=d.then(h[f++],h[f++]);return d}p=l.length;let g=n;for(;f<p;){const h=l[f++],v=l[f++];try{g=h(g)}catch(m){v.call(this,m);break}}try{d=ew.call(this,g)}catch(h){return Promise.reject(h)}for(f=0,p=c.length;f<p;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Ds(this.defaults,t);const n=L4(t.baseURL,t.url,t.allowAbsoluteUrls);return N4(n,t.params,t.paramsSerializer)}};ke.forEach(["delete","get","head","options"],function(t){xs.prototype[t]=function(n,a){return this.request(Ds(a||{},{method:t,url:n,data:(a||{}).data}))}});ke.forEach(["post","put","patch","query"],function(t){function n(a){return function(r,s,l){return this.request(Ds(l||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:r,data:s}))}}xs.prototype[t]=n(),t!=="query"&&(xs.prototype[t+"Form"]=n(!0))});let Cae=class F4{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 s=new Promise(l=>{a.subscribe(l),r=l}).then(o);return s.cancel=function(){a.unsubscribe(r)},s},t(function(r,s,l){a.reason||(a.reason=new Uu(r,s,l),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 F4(function(o){t=o}),cancel:t}}};function kae(e){return function(n){return e.apply(null,n)}}function Eae(e){return ke.isObject(e)&&e.isAxiosError===!0}const yv={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,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418