small-package/luci-app-nekobox/root/etc/neko/ui/zashboard/assets/index-f1V50AYQ.js

180 lines
1.3 MiB
JavaScript
Raw Normal View History

2025-03-24 20:42:16 +08:00
var HZ=Object.defineProperty;var LD=e=>{throw TypeError(e)};var zZ=(e,t,n)=>t in e?HZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Bx=(e,t,n)=>zZ(e,typeof t!="symbol"?t+"":t,n),ND=(e,t,n)=>t.has(e)||LD("Cannot "+n);var as=(e,t,n)=>(ND(e,t,"read from private field"),n?n.call(e):t.get(e)),Xy=(e,t,n)=>t.has(e)?LD("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ys=(e,t,n,r)=>(ND(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Vx=(e,t,n,r)=>({set _(i){Ys(e,t,i,n)},get _(){return as(e,t,r)}});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Yy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ub(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var w_={exports:{}},GZ=w_.exports,kD;function q2(){return kD||(kD=1,function(e,t){(function(n,r){e.exports=r()})(GZ,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",d="year",v="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var W=["th","st","nd","rd"],N=$%100;return"["+$+(W[(N-20)%10]||W[N]||W[0])+"]"}},S=function($,W,N){var K=String($);return!K||K.length>=W?$:""+Array(W+1-K.length).join(N)+$},w={s:S,z:function($){var W=-$.utcOffset(),N=Math.abs(W),K=Math.floor(N/60),Y=N%60;return(W<=0?"+":"-")+S(K,2,"0")+":"+S(Y,2,"0")},m:function $(W,N){if(W.date()<N.date())return-$(N,W);var K=12*(N.year()-W.year())+(N.month()-W.month()),Y=W.clone().add(K,f),ae=N-Y<0,ge=W.clone().add(K+(ae?-1:1),f);return+(-(K+(N-Y)/(ae?Y-ge:ge-Y))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:f,y:d,w:c,d:u,D:v,h:l,m:s,s:a,ms:o,Q:h}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},T="en",C={};C[T]=b;var E="$isDayjsObject",R=function($){return $ instanceof L||!(!$||!$[E])},I=function $(W,N,K){var Y;if(!W)return T;if(typeof W=="string"){var ae=W.toLowerCase();C[ae]&&(Y=ae),N&&(C[ae]=N,Y=ae);var ge=W.split("-");if(!Y&&ge.length>1)return $(ge[0])}else{var ye=W.name;C[ye]=W,Y=ye}return!K&&Y&&(T=Y),Y||!K&&T},P=function($,W){if(R($))return $.clone();var N=typeof W=="object"?W:{};return N.date=$,N.args=arguments,new L(N)},M=w;M.l=I,M.i=R,M.w=function($,W){return P($,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var L=function(){function $(N){this.$L=I(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[E]=!0}var W=$.prototype;return W.parse=function(N){this.$d=function(K){var Y=K.date
2025-03-18 16:27:38 +08:00
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**//*! #__NO_SIDE_EFFECTS__ */function Hr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const en={},vf=[],Ur=()=>{},rh=()=>!1,Ju=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hb=e=>e.startsWith("onUpdate:"),nn=Object.assign,zb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},iq=Object.prototype.hasOwnProperty,dn=(e,t)=>iq.call(e,t),et=Array.isArray,gf=e=>ed(e)==="[object Map]",Qu=e=>ed(e)==="[object Set]",dE=e=>ed(e)==="[object Date]",Z4=e=>ed(e)==="[object RegExp]",Ct=e=>typeof e=="function",Mt=e=>typeof e=="string",Vi=e=>typeof e=="symbol",mn=e=>e!==null&&typeof e=="object",Gb=e=>(mn(e)||Ct(e))&&Ct(e.then)&&Ct(e.catch),J2=Object.prototype.toString,ed=e=>J2.call(e),q4=e=>ed(e).slice(8,-1),wm=e=>ed(e)==="[object Object]",Wb=e=>Mt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gl=Hr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),J4=Hr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),jb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oq=/-(\w)/g,Vn=jb(e=>e.replace(oq,(t,n)=>n?n.toUpperCase():"")),aq=/\B([A-Z])/g,pi=jb(e=>e.replace(aq,"-$1").toLowerCase()),ec=jb(e=>e.charAt(0).toUpperCase()+e.slice(1)),mf=jb(e=>e?`on${ec(e)}`:""),fi=(e,t)=>!Object.is(e,t),yf=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Q2=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ig=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Rg=e=>{const t=Mt(e)?Number(e):NaN;return isNaN(t)?e:t};let UD;const xm=()=>UD||(UD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),sq=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function lq(e){return sq.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function uq(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const cq={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},fq={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},dq={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},hq={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},pq={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},vq="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",eI=Hr(vq),gq=eI,HD=2;function Q4(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let r=e.split(/(\r?\n)/);const i=r.filter((s,l)=>l%2===1);r=r.filter((s,l)=>l%2===0);let o=0;const a=[];for(let s=0;s<r.length;s++)if(o+=r[s].length+(i[s]&&i[s].length||0),o>=t){for(let l=s-HD;l<=s+HD||n>o;l++){if(l<0||l>=r.length)continue;const u=l+1;a.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${r[l]}`);const c=r[l].length,f=i[l]&&i[l].length||0;if(l===s){const h=t-(o-(c+f)),d=Math.max(1,n>o?c-h:n-t);a.push(" | "+" ".repeat(h)+"^".repeat(d))}else if(l>s){if(n>o){const h=Math.max(Math.min(n-o,c),1);a.pu
`)}function lr(e){if(et(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Mt(r)?tI(r):lr(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Mt(e)||mn(e))return e}const mq=/;(?![^(]*\))/g,yq=/:([^]+)/,_q=/\/\*[^]*?\*\//g;function tI(e){const t={};return e.replace(_q,"").split(mq).forEach(n=>{if(n){const r=n.split(yq);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function bq(e){if(!e)return"";if(Mt(e))return e;let t="";for(const n in e){const r=e[n];if(Mt(r)||typeof r=="number"){const i=n.startsWith("--")?n:pi(n);t+=`${i}:${r};`}}return t}function mt(e){let t="";if(Mt(e))t=e;else if(et(e))for(let n=0;n<e.length;n++){const r=mt(e[n]);r&&(t+=r+" ")}else if(mn(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function e$(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Mt(t)&&(e.class=mt(t)),n&&(e.style=lr(n)),e}const Sq="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",wq="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",xq="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Cq="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",t$=Hr(Sq),n$=Hr(wq),r$=Hr(xq),i$=Hr(Cq),o$="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a$=Hr(o$),Tq=Hr(o$+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function nI(e){return!!e||e===""}const Eq=/[>/="'\u0009\u000a\u000c\u0020]/,Ux={};function Aq(e){if(Ux.hasOwnProperty(e))return Ux[e];const t=Eq.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Ux[e]=!t}const Iq={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Rq=Hr("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,tran
2025-03-18 16:27:38 +08:00
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/let Mi;class rI{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Mi,!t&&Mi&&(this.index=(Mi.scopes||(Mi.scopes=[])).push(this)-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=Mi;try{return Mi=this,t()}finally{Mi=n}}}on(){Mi=this}off(){Mi=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function c$(e){return new rI(e)}function Xb(){return Mi}function iI(e,t=!1){Mi&&Mi.cleanups.push(e)}let Bn;const zx=new WeakSet;class Pg{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,Mi&&Mi.active&&Mi.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,zx.has(this)&&(zx.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||d$(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,zD(this),h$(this);const t=Bn,n=Za;Bn=this,Za=!0;try{return this.fn()}finally{p$(this),Bn=t,Za=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sI(t);this.deps=this.depsTail=void 0,zD(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?zx.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hE(this)&&this.run()}get dirty(){return hE(this)}}let f$=0,Vv,Uv;function d$(e,t=!1){if(e.flags|=8,t){e.next=Uv,Uv=e;return}e.next=Vv,Vv=e}function oI(){f$++}function aI(){if(--f$>0)return;if(Uv){let t=Uv;for(Uv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vv;){let t=Vv;for(Vv=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function h$(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function p$(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),sI(r),Vq(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function hE(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(v$(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function v$(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Mg))return;e.globalVersion=Mg;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!hE(e)){e.flags&=-3;return}const n=Bn,r=Za;Bn=e,Za=!0;try{h$(e);const i=e.fn(e._value);(t.version===0||fi(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Bn=n,Za=r,p$(e),e.flags&=-3}}function sI(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)sI(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vq(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Uq(e,t){e.effect instanceof Pg&&(e=e.effect.fn);const n=new Pg(e);t&&nn(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function Hq(e){e.effect.stop()}let Za=!0;const g$=[];function tc(){g$.push(Za),Za=!1}function nc(){const e=g$.pop();Za=e===void 0?!0:e}function zD(e){const{cleanup:t}=e;if(e
2025-03-18 16:27:38 +08:00
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/const M$=[];function bJ(e){M$.push(e)}function SJ(){M$.pop()}function wJ(e,t){}const xJ={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},CJ={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function rp(e,t,n,r){try{return r?e(...r):e()}catch(i){td(i,t,n)}}function ba(e,t,n,r){if(Ct(e)){const i=rp(e,t,n,r);return i&&Gb(i)&&i.catch(o=>{td(o,t,n)}),i}if(et(e)){const i=[];for(let o=0;o<e.length;o++)i.push(ba(e[o],t,n,r));return i}}function td(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||en;if(t){let s=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}s=s.parent}if(o){tc(),rp(o,null,10,[e,l,u]),nc();return}}TJ(e,n,i,r,a)}function TJ(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Li=[];let ps=-1;const fh=[];let fu=null,Yd=0;const O$=Promise.resolve();let R1=null;function Qa(e){const t=R1||O$;return e?t.then(this?e.bind(this):e):t}function EJ(e){let t=ps+1,n=Li.length;for(;t<n;){const r=t+n>>>1,i=Li[r],o=Lg(i);o<e||o===e&&i.flags&2?t=r+1:n=r}return t}function fI(e){if(!(e.flags&1)){const t=Lg(e),n=Li[Li.length-1];!n||!(e.flags&2)&&t>=Lg(n)?Li.push(e):Li.splice(EJ(t),0,e),e.flags|=1,D$()}}function D$(){R1||(R1=O$.then(L$))}function Dg(e){et(e)?fh.push(...e):fu&&e.id===-1?fu.splice(Yd+1,0,e):e.flags&1||(fh.push(e),e.flags|=1),D$()}function WD(e,t,n=ps+1){for(;n<Li.length;n++){const r=Li[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Li.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function P1(e){if(fh.length){const t=[...new Set(fh)].sort((n,r)=>Lg(n)-Lg(r));if(fh.length=0,fu){fu.push(...t);return}for(fu=t,Yd=0;Yd<fu.length;Yd++){const n=fu[Yd];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}fu=null,Yd=0}}const Lg=e=>e.id==null?e.flags&2?-1:1/0:e.id;function L$(e){try{for(ps=0;ps<Li.length;ps++){const t=Li[ps];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rp(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ps<Li.length;ps++){const t=Li[ps];t&&(t.flags&=-2)}ps=-1,Li.length=0,P1(),R1=null,(Li.length||fh.length)&&L$()}}let Kd,Jy=[];function N$(e,t){var n,r;Kd=e,Kd?(Kd.enabled=!0,Jy.forEach(({event:i,args:o})=>Kd.emit(i,...o)),Jy=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{N$(o,t)}),setTimeout(()=>{Kd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jy=[])},3e3)):Jy=[]}let Mr=null,Qb=null;function Ng(e){const t=Mr;return Mr=e,Qb=e&&e.type.__scopeId||null,t}function AJ(e){Qb=e}function IJ(){Qb=null}const RJ=e=>jn;function jn(e,t=Mr,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&TE(-1);const o=Ng(t);let a;try{a=e(...i)}finally{Ng(o),r._d&&TE(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function gt(e,t){if(Mr===null)return e;const n=Im(Mr),r=
`&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(Y=Y.slice(1)),S.textContent!==Y&&(n0(S,0)||Cd(),S.textContent=w.children)}if(P){if(W||!R||M&48){const Y=S.tagName.includes("-");for(const ae in P)(W&&(ae.endsWith("value")||ae==="indeterminate")||Ju(ae)&&!gl(ae)||ae[0]==="."||Y)&&r(S,ae,null,P[ae],void 0,T)}else if(P.onClick)r(S,"onClick",null,P.onClick,void 0,T);else if(M&4&&Ou(P.style))for(const Y in P.style)P.style[Y]}let K;(K=P&&P.onVnodeBeforeMount)&&Qi(K,T,w),k&&vs(w,null,T,"beforeMount"),((K=P&&P.onVnodeMounted)||k||N)&&xB(()=>{K&&Qi(K,T,w),N&&$.enter(S),k&&vs(w,null,T,"mounted")},C)}return S.nextSibling},d=(S,w,T,C,E,R,I)=>{I=I||!!w.dynamicChildren;const P=w.children,M=P.length;for(let L=0;L<M;L++){const k=I?P[L]:P[L]=no(P[L]),$=k.type===yl;S?($&&!I&&L+1<M&&no(P[L+1]).type===yl&&(l(i(S.data.slice(k.children.length)),T,o(S)),S.data=k.children),S=f(S,k,C,E,R,I)):$&&!k.children?l(k.el=i(""),T):(n0(T,1)||Cd(),n(null,k,T,null,C,E,t0(T),R))}return S},v=(S,w,T,C,E,R)=>{const{slotScopeIds:I}=w;I&&(E=E?E.concat(I):I);const P=a(S),M=d(o(S),w,P,T,C,E,R);return M&&ih(M)&&M.data==="]"?o(w.anchor=M):(Cd(),l(w.anchor=u("]"),P,M),M)},m=(S,w,T,C,E,R)=>{if(n0(S.parentElement,1)||Cd(),w.el=null,R){const M=y(S);for(;;){const L=o(S);if(L&&L!==M)s(L);else break}}const I=o(S),P=a(S);return s(S),n(null,w,P,I,T,C,t0(P),E),T&&(T.vnode.el=w.el,sS(T,w.el)),I},y=(S,w="[",T="]")=>{let C=0;for(;S;)if(S=o(S),S&&ih(S)&&(S.data===w&&C++,S.data===T)){if(C===0)return o(S);C--}return S},_=(S,w,T)=>{const C=w.parentNode;C&&C.replaceChild(S,w);let E=T;for(;E;)E.vnode.el===w&&(E.vnode.el=E.subTree.el=S),E=E.parent},b=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[c,f]}const qD="data-allow-mismatch",$J={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function n0(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(qD);)e=e.parentElement;const n=e&&e.getAttribute(qD);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes($J[t])}}const BJ=xm().requestIdleCallback||(e=>setTimeout(e,1)),VJ=xm().cancelIdleCallback||(e=>clearTimeout(e)),UJ=(e=1e4)=>t=>{const n=BJ(t,{timeout:e});return()=>VJ(n)};function HJ(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:a}=window;return(t>0&&t<o||r>0&&r<o)&&(n>0&&n<a||i>0&&i<a)}const zJ=e=>(t,n)=>{const r=new IntersectionObserver(i=>{for(const o of i)if(o.isIntersecting){r.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(HJ(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},GJ=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},WJ=(e=[])=>(t,n)=>{Mt(e)&&(e=[e]);let r=!1;const i=a=>{r||(r=!0,o(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},o=()=>{n(a=>{for(const s of e)a.removeEventListener(s,i)})};return n(a=>{for(const s of e)a.addEventListener(s,i,{once:!0})}),o};function jJ(e,t){if(ih(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ih(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Du=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function XJ(e){Ct(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:a,suspensible:s=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let v;return u||(v=u=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((y,_)=>{l(m,()=>y(h()),()=>_(m),f+1)});throw m}).then(m=>v!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return tt({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(v,m,y){const _=o?()=>{const b=o(y,S=>jJ(v,S));b&&(m.bum||(m.bum=[])).push(b)}:y;c?_():d().then(()=>!m.isUnmounted&&_())},get __asyncResolved(){return c},setup(){const v=Pr;if(pI(v),c)return()=>Xx(c,v);const m=S=>{u=null,td(S,v,13,!r)};if(s&&v.suspense||Eh)return d().then(S=>()=>Xx(S,v)).catch(S=>(m(S),()=>r?z(r,{error:S}):null));cons
2025-03-18 16:27:38 +08:00
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/let ME;const oL=typeof window<"u"&&window.trustedTypes;if(oL)try{ME=oL.createPolicy("vue",{createHTML:e=>e})}catch{}const kB=ME?e=>ME.createHTML(e):e=>e,cee="http://www.w3.org/2000/svg",fee="http://www.w3.org/1998/Math/MathML",nl=typeof document<"u"?document:null,aL=nl&&nl.createElement("template"),dee={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?nl.createElementNS(cee,e):t==="mathml"?nl.createElementNS(fee,e):n?nl.createElement(e,{is:n}):nl.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>nl.createTextNode(e),createComment:e=>nl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{aL.innerHTML=kB(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=aL.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xl="transition",$p="animation",Ah=Symbol("_vtc"),FB={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},$B=nn({},hI,FB),hee=e=>(e.displayName="Transition",e.props=$B,e),BB=hee((e,{slots:t})=>ca(H$,VB(e),t)),_c=(e,t=[])=>{et(e)?e.forEach(n=>n(...t)):e&&e(...t)},sL=e=>e?et(e)?e.some(t=>t.length>1):e.length>1:!1;function VB(e){const t={};for(const L in e)L in FB||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,v=pee(i),m=v&&v[0],y=v&&v[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:S,onLeave:w,onLeaveCancelled:T,onBeforeAppear:C=_,onAppear:E=b,onAppearCancelled:R=S}=t,I=(L,k,$,W)=>{L._enterCancelled=W,su(L,k?c:s),su(L,k?u:a),$&&$()},P=(L,k)=>{L._isLeaving=!1,su(L,f),su(L,d),su(L,h),k&&k()},M=L=>(k,$)=>{const W=L?E:b,N=()=>I(k,L,$);_c(W,[k,N]),lL(()=>{su(k,L?l:o),hs(k,L?c:s),sL(W)||uL(k,r,m,N)})};return nn(t,{onBeforeEnter(L){_c(_,[L]),hs(L,o),hs(L,a)},onBeforeAppear(L){_c(C,[L]),hs(L,l),hs(L,u)},onEnter:M(!1),onAppear:M(!0),onLeave(L,k){L._isLeaving=!0;const $=()=>P(L,k);hs(L,f),L._enterCancelled?(hs(L,h),OE()):(OE(),hs(L,h)),lL(()=>{L._isLeaving&&(su(L,f),hs(L,d),sL(w)||uL(L,r,y,$))}),_c(w,[L,$])},onEnterCancelled(L){I(L,!1,void 0,!0),_c(S,[L])},onAppearCancelled(L){I(L,!0,void 0,!0),_c(R,[L])},onLeaveCancelled(L){P(L),_c(T,[L])}})}function pee(e){if(e==null)return null;if(mn(e))return[qx(e.enter),qx(e.leave)];{const t=qx(e);return[t,t]}}function qx(e){return Rg(e)}function hs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ah]||(e[Ah]=new Set)).add(t)}function su(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ah];n&&(n.delete(t),n.size||(e[Ah]=void 0))}function lL(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vee=0;function uL(e,t,n,r){const i=e._endId=++vee,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=UB(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,h),o()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},s+1),e.addEventListener(u,h)}function UB(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),i=r(`${Xl}Delay`),o=r(`${Xl}Duration`),a=cL(i,o),s=r(`${$p}Delay`),l=r(`${$
2025-03-18 16:27:38 +08:00
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
2025-03-24 20:42:16 +08:00
*/const Zd=typeof document<"u";function cV(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dte(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&cV(e.default)}const bn=Object.assign;function eC(e,t){const n={};for(const r in t){const i=t[r];n[r]=Ja(i)?i.map(e):e(i)}return n}const Xv=()=>{},Ja=Array.isArray,fV=/#/g,hte=/&/g,pte=/\//g,vte=/=/g,gte=/\?/g,dV=/\+/g,mte=/%5B/g,yte=/%5D/g,hV=/%5E/g,_te=/%60/g,pV=/%7B/g,bte=/%7C/g,vV=/%7D/g,Ste=/%20/g;function MI(e){return encodeURI(""+e).replace(bte,"|").replace(mte,"[").replace(yte,"]")}function wte(e){return MI(e).replace(pV,"{").replace(vV,"}").replace(hV,"^")}function LE(e){return MI(e).replace(dV,"%2B").replace(Ste,"+").replace(fV,"%23").replace(hte,"%26").replace(_te,"`").replace(pV,"{").replace(vV,"}").replace(hV,"^")}function xte(e){return LE(e).replace(vte,"%3D")}function Cte(e){return MI(e).replace(fV,"%23").replace(gte,"%3F")}function Tte(e){return e==null?"":Cte(e).replace(pte,"%2F")}function Bg(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ete=/\/$/,Ate=e=>e.replace(Ete,"");function tC(e,t,n="/"){let r,i={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),i=e(o)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=Mte(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:Bg(a)}}function Ite(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function PL(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Rte(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Rh(t.matched[r],n.matched[i])&&gV(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gV(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Pte(e[n],t[n]))return!1;return!0}function Pte(e,t){return Ja(e)?ML(e,t):Ja(t)?ML(t,e):e===t}function ML(e,t){return Ja(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Mte(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,a,s;for(a=0;a<r.length;a++)if(s=r[a],s!==".")if(s==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const Yl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vg;(function(e){e.pop="pop",e.push="push"})(Vg||(Vg={}));var Yv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Yv||(Yv={}));function Ote(e){if(!e)if(Zd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ate(e)}const Dte=/^[^#]+#/;function Lte(e,t){return e.replace(Dte,"#")+t}function Nte(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const dS=()=>({left:window.scrollX,top:window.scrollY});function kte(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Nte(i,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 OL(e,t){return(history.state?history.state.position-t:-1)+e}const NE=new Map;function Fte(e,t){NE.set(e,t)}function $te(e){const t=NE.get(e);return NE.delete(e),t}let Bte=()=>location.protocol+"//"+location.host;function mV(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let s=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),PL(l,"")}return PL(n,e)+r+i}function Vte(e,t,n,r){let i=[],o=[],a=null;const s=({state:h})=>{const d=mV(e,location),v=n.value,m=t.value;let y=0;if(h){if(n.value=d,t.v
2025-03-18 16:27:38 +08:00
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
2025-03-24 20:42:16 +08:00
*/var jne=wv.exports,ZL;function Xne(){return ZL||(ZL=1,function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,h=2,d=4,v=1,m=2,y=1,_=2,b=4,S=8,w=16,T=32,C=64,E=128,R=256,I=512,P=30,M="...",L=800,k=16,$=1,W=2,N=3,K=1/0,Y=9007199254740991,ae=17976931348623157e292,ge=NaN,ye=4294967295,Oe=ye-1,ke=ye>>>1,Ue=[["ary",E],["bind",y],["bindKey",_],["curry",S],["curryRight",w],["flip",I],["partial",T],["partialRight",C],["rearg",R]],Le="[object Arguments]",Xe="[object Array]",fe="[object AsyncFunction]",Ae="[object Boolean]",Se="[object Date]",Te="[object DOMException]",Ne="[object Error]",Be="[object Function]",H="[object GeneratorFunction]",G="[object Map]",ue="[object Number]",we="[object Null]",ve="[object Object]",U="[object Promise]",j="[object Proxy]",Q="[object RegExp]",de="[object Set]",_e="[object String]",De="[object Symbol]",J="[object Undefined]",he="[object WeakMap]",Ve="[object WeakSet]",Ze="[object ArrayBuffer]",St="[object DataView]",re="[object Float32Array]",se="[object Float64Array]",pe="[object Int8Array]",Ee="[object Int16Array]",We="[object Int32Array]",oe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",$e="[object Uint16Array]",nt="[object Uint32Array]",je=/\b__p \+= '';/g,Ye=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ot=/&(?:amp|lt|gt|quot|#39);/g,Lt=/[&<>"']/g,kn=RegExp(Ot.source),Aa=RegExp(Lt.source),Mn=/<%-([\s\S]+?)%>/g,yr=/<%([\s\S]+?)%>/g,ad=/<%=([\s\S]+?)%>/g,Fl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ns=/^\w*$/,ey=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sd=/[\\^$.*+?()[\]{}|]/g,Ew=RegExp(sd.source),zi=/^\s+/,ld=/\s/,ty=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ny=/\{\n\/\* \[wrapped with (.+)\] \*/,yp=/,? & /,ry=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ia=/[()=,{}\[\]\/\s]/,iy=/\\(\\)?/g,oy=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_p=/\w*$/,ay=/^[-+]0x[0-9a-f]+$/i,Aw=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,ie=/^0o[0-7]+$/i,He=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,Nr=/['\n\r\u2028\u2029\\]/g,nr="\\ud800-\\udfff",ei="\\u0300-\\u036f",Uo="\\ufe20-\\ufe2f",lc="\\u20d0-\\u20ff",kr=ei+Uo+lc,bp="\\u2700-\\u27bf",Sp="a-z\\xdf-\\xf6\\xf8-\\xff",$7="\\xac\\xb1\\xd7\\xf7",B7="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",V7="\\u2000-\\u206f",U7=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dM="A-Z\\xc0-\\xd6\\xd8-\\xde",hM="\\ufe0e\\ufe0f",pM=$7+B7+V7+U7,Iw="[']",H7="["+nr+"]",vM="["+pM+"]",sy="["+kr+"]",gM="\\d+",z7="["+bp+"]",mM="["+Sp+"]",yM="[^"+nr+pM+gM+bp+Sp+dM+"]",Rw="\\ud83c[\\udffb-\\udfff]",G7="(?:"+sy+"|"+Rw+")",_M="[^"+nr+"]",Pw="(?:\\ud83c[\\udde6-\\uddff]){2}",Mw="[\\ud800-\\udbff][\\udc00-\\udfff]",ud="["+dM+"]",bM="\\u200d",SM="(?:"+mM+"|"+yM+")",W7="(?:"+ud+"|"+yM+")",wM="(?:"+Iw+"(?:d|ll|m|re|s|t|ve))?",xM="(?:"+Iw+"(?:D|LL|M|RE|S|T|VE))?",CM=G7+"?",TM="["+hM+"]?",j7="(?:"+bM+"(?:"+[_M,Pw,Mw].join("|")+")"+TM+CM+")*",X7="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y7="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",EM=TM+CM+j7,K7="(?:"+[z7,Pw,Mw].join("|")+")"+EM,Z7="(?:"+[_M+sy+"?",sy,Pw,Mw,H7].join("|")+")",q7=RegExp(Iw,"g"),J7=RegExp(sy,"g"),Ow=RegExp(Rw+"(?="+Rw+")|"+Z7+EM,"g"),Q7=RegExp([ud+"?"+mM+"+"+wM+"(?="+[vM,ud,"$"].join("|")+")",W7+"+"+xM+"(?="+[vM,ud+SM,"$"].join("|")+")",ud+"?"+SM+"+"+wM,ud+"+"+xM,Y7,X7,gM,K7].join("|"),"g"),e9=RegExp("["+bM+nr+kr+hM+"]"),t9=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,n9=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFin
2025-03-18 16:27:38 +08:00
/* [wrapped with `+g+`] */
2025-03-24 20:42:16 +08:00
`)}function bj(p){return Vt(p)||mc(p)||!!(KM&&p&&p[KM])}function Gs(p,g){var x=typeof p;return g=g??Y,!!g&&(x=="number"||x!="symbol"&&He.test(p))&&p>-1&&p%1==0&&p<g}function Ti(p,g,x){if(!er(x))return!1;var A=typeof g;return(A=="number"?Wi(x)&&Gs(g,x.length):A=="string"&&g in x)?Ma(x[g],p):!1}function _x(p,g){if(Vt(p))return!1;var x=typeof p;return x=="number"||x=="symbol"||x=="boolean"||p==null||xo(p)?!0:ns.test(p)||!Fl.test(p)||g!=null&&p in On(g)}function Sj(p){var g=typeof p;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?p!=="__proto__":p===null}function bx(p){var g=ky(p),x=F[g];if(typeof x!="function"||!(g in rn.prototype))return!1;if(p===x)return!0;var A=gx(x);return!!A&&p===A[0]}function wj(p){return!!WM&&WM in p}var xj=dy?Ws:$x;function Lp(p){var g=p&&p.constructor,x=typeof g=="function"&&g.prototype||pd;return p===x}function WO(p){return p===p&&!er(p)}function jO(p,g){return function(x){return x==null?!1:x[p]===g&&(g!==n||p in On(x))}}function Cj(p){var g=Hy(p,function(A){return x.size===u&&x.clear(),A}),x=g.cache;return g}function Tj(p,g){var x=p[1],A=g[1],O=x|A,V=O<(y|_|E),Z=A==E&&x==S||A==E&&x==R&&p[7].length<=g[8]||A==(E|R)&&g[7].length<=g[8]&&x==S;if(!(V||Z))return p;A&y&&(p[2]=g[2],O|=x&y?0:b);var ee=g[3];if(ee){var ce=p[3];p[3]=ce?IO(ce,ee,g[4]):ee,p[4]=ce?Vl(p[3],c):g[4]}return ee=g[5],ee&&(ce=p[5],p[5]=ce?RO(ce,ee,g[6]):ee,p[6]=ce?Vl(p[5],c):g[6]),ee=g[7],ee&&(p[7]=ee),A&E&&(p[8]=p[8]==null?g[8]:ti(p[8],g[8])),p[9]==null&&(p[9]=g[9]),p[0]=g[0],p[1]=O,p}function Ej(p){var g=[];if(p!=null)for(var x in On(p))g.push(x);return g}function Aj(p){return py.call(p)}function XO(p,g,x){return g=Ir(g===n?p.length-1:g,0),function(){for(var A=arguments,O=-1,V=Ir(A.length-g,0),Z=me(V);++O<V;)Z[O]=A[g+O];O=-1;for(var ee=me(g+1);++O<g;)ee[O]=A[O];return ee[g]=x(Z),bo(p,this,ee)}}function YO(p,g){return g.length<2?p:pc(p,Xo(g,0,-1))}function Ij(p,g){for(var x=p.length,A=ti(g.length,x),O=Gi(p);A--;){var V=g[A];p[A]=Gs(V,x)?O[V]:n}return p}function Sx(p,g){if(!(g==="constructor"&&typeof p[g]=="function")&&g!="__proto__")return p[g]}var KO=qO(yO),Np=z9||function(p,g){return zr.setTimeout(p,g)},xx=qO(qW);function ZO(p,g,x){var A=g+"";return xx(p,_j(A,Rj(gj(A),x)))}function qO(p){var g=0,x=0;return function(){var A=X9(),O=k-(A-x);if(x=A,O>0){if(++g>=L)return arguments[0]}else g=0;return p.apply(n,arguments)}}function $y(p,g){var x=-1,A=p.length,O=A-1;for(g=g===n?A:g;++x<g;){var V=ix(x,O),Z=p[V];p[V]=p[x],p[x]=Z}return p.length=g,p}var JO=Cj(function(p){var g=[];return p.charCodeAt(0)===46&&g.push(""),p.replace(ey,function(x,A,O,V){g.push(O?V.replace(iy,"$1"):A||x)}),g});function os(p){if(typeof p=="string"||xo(p))return p;var g=p+"";return g=="0"&&1/p==-1/0?"-0":g}function gc(p){if(p!=null){try{return hy.call(p)}catch{}try{return p+""}catch{}}return""}function Rj(p,g){return zo(Ue,function(x){var A="_."+x[0];g&x[1]&&!ly(p,A)&&p.push(A)}),p.sort()}function QO(p){if(p instanceof rn)return p.clone();var g=new Wo(p.__wrapped__,p.__chain__);return g.__actions__=Gi(p.__actions__),g.__index__=p.__index__,g.__values__=p.__values__,g}function Pj(p,g,x){(x?Ti(p,g,x):g===n)?g=1:g=Ir(Wt(g),0);var A=p==null?0:p.length;if(!A||g<1)return[];for(var O=0,V=0,Z=me(by(A/g));O<A;)Z[V++]=Xo(p,O,O+=g);return Z}function Mj(p){for(var g=-1,x=p==null?0:p.length,A=0,O=[];++g<x;){var V=p[g];V&&(O[A++]=V)}return O}function Oj(){var p=arguments.length;if(!p)return[];for(var g=me(p-1),x=arguments[0],A=p;A--;)g[A-1]=arguments[A];return Bl(Vt(x)?Gi(x):[x],Gr(g,1))}var Dj=Yt(function(p,g){return dr(p)?Rp(p,Gr(g,1,dr,!0)):[]}),Lj=Yt(function(p,g){var x=Yo(g);return dr(x)&&(x=n),dr(p)?Rp(p,Gr(g,1,dr,!0),xt(x,2)):[]}),Nj=Yt(function(p,g){var x=Yo(g);return dr(x)&&(x=n),dr(p)?Rp(p,Gr(g,1,dr,!0),n,x):[]});function kj(p,g,x){var A=p==null?0:p.length;return A?(g=x||g===n?1:Wt(g),Xo(p,g<0?0:g,A)):[]}function Fj(p,g,x){var A=p==null?0:p.length;return A?(g=x||g===n?1:Wt(g),g=A-g,Xo(p,0,g<0?0:g)):[]}function $j(p,g){return p&&p.length?Py(p,xt(g,3),!0,!0):[]}function Bj(p,g){return p&&p.length?Py(p,xt(g,3),!0):[]}function Vj(p,g,x,A){var O=p==null?0:p.length
`;p.replace(Qe,function(Et,Jt,ln,Co,Ei,To){return ln||(ln=Co),Fe+=p.slice(Re,To).replace(Nr,x9),Jt&&(ee=!0,Fe+=`' +
2025-03-19 20:41:12 +08:00
__e(`+Jt+`) +
2025-03-18 16:27:38 +08:00
'`),Ei&&(ce=!0,Fe+=`';
`+Ei+`;
__p += '`),ln&&(Fe+=`' +
((__t = (`+ln+`)) == null ? '' : __t) +
'`),Re=To+Et.length,Et}),Fe+=`';
`;var Tt=Cn.call(g,"variable")&&g.variable;if(!Tt)Fe=`with (obj) {
`+Fe+`
}
2025-03-24 20:42:16 +08:00
`;else if(Ia.test(Tt))throw new kt(s);Fe=(ce?Fe.replace(je,""):Fe).replace(Ye,"$1").replace(rt,"$1;"),Fe="function("+(Tt||"obj")+`) {
2025-03-18 16:27:38 +08:00
`+(Tt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(ee?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Fe+`return __p
2025-03-24 20:42:16 +08:00
}`;var Xt=MD(function(){return pn(V,vt+"return "+Fe).apply(n,Z)});if(Xt.source=Fe,Ix(Xt))throw Xt;return Xt}function KK(p){return yn(p).toLowerCase()}function ZK(p){return yn(p).toUpperCase()}function qK(p,g,x){if(p=yn(p),p&&(x||g===n))return VM(p);if(!p||!(g=wo(g)))return p;var A=Ra(p),O=Ra(g),V=UM(A,O),Z=HM(A,O)+1;return Wl(A,V,Z).join("")}function JK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.slice(0,GM(p)+1);if(!p||!(g=wo(g)))return p;var A=Ra(p),O=HM(A,Ra(g))+1;return Wl(A,0,O).join("")}function QK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.replace(zi,"");if(!p||!(g=wo(g)))return p;var A=Ra(p),O=UM(A,Ra(g));return Wl(A,O).join("")}function eZ(p,g){var x=P,A=M;if(er(g)){var O="separator"in g?g.separator:O;x="length"in g?Wt(g.length):x,A="omission"in g?wo(g.omission):A}p=yn(p);var V=p.length;if(fd(p)){var Z=Ra(p);V=Z.length}if(x>=V)return p;var ee=x-dd(A);if(ee<1)return A;var ce=Z?Wl(Z,0,ee).join(""):p.slice(0,ee);if(O===n)return ce+A;if(Z&&(ee+=ce.length-ee),Rx(O)){if(p.slice(ee).search(O)){var Re,Pe=ce;for(O.global||(O=Gw(O.source,yn(_p.exec(O))+"g")),O.lastIndex=0;Re=O.exec(Pe);)var Fe=Re.index;ce=ce.slice(0,Fe===n?ee:Fe)}}else if(p.indexOf(wo(O),ee)!=ee){var Qe=ce.lastIndexOf(O);Qe>-1&&(ce=ce.slice(0,Qe))}return ce+A}function tZ(p){return p=yn(p),p&&kn.test(p)?p.replace(Ot,P9):p}var nZ=_d(function(p,g,x){return p+(x?" ":"")+g.toUpperCase()}),Ox=OO("toUpperCase");function PD(p,g,x){return p=yn(p),g=x?n:g,g===n?T9(p)?D9(p):g9(p):p.match(g)||[]}var MD=Yt(function(p,g){try{return bo(p,n,g)}catch(x){return Ix(x)?x:new kt(x)}}),rZ=zs(function(p,g){return zo(g,function(x){x=os(x),Us(p,x,Ex(p[x],p))}),p});function iZ(p){var g=p==null?0:p.length,x=xt();return p=g?Xn(p,function(A){if(typeof A[1]!="function")throw new Go(a);return[x(A[0]),A[1]]}):[],Yt(function(A){for(var O=-1;++O<g;){var V=p[O];if(bo(V[0],this,A))return bo(V[1],this,A)}})}function oZ(p){return PW(jo(p,f))}function Dx(p){return function(){return p}}function aZ(p,g){return p==null||p!==p?g:p}var sZ=LO(),lZ=LO(!0);function Xi(p){return p}function Lx(p){return cO(typeof p=="function"?p:jo(p,f))}function uZ(p){return dO(jo(p,f))}function cZ(p,g){return hO(p,jo(g,f))}var fZ=Yt(function(p,g){return function(x){return Pp(x,p,g)}}),dZ=Yt(function(p,g){return function(x){return Pp(p,x,g)}});function Nx(p,g,x){var A=Fr(g),O=Ay(g,A);x==null&&!(er(g)&&(O.length||!A.length))&&(x=g,g=p,p=this,O=Ay(g,Fr(g)));var V=!(er(x)&&"chain"in x)||!!x.chain,Z=Ws(p);return zo(O,function(ee){var ce=g[ee];p[ee]=ce,Z&&(p.prototype[ee]=function(){var Re=this.__chain__;if(V||Re){var Pe=p(this.__wrapped__),Fe=Pe.__actions__=Gi(this.__actions__);return Fe.push({func:ce,args:arguments,thisArg:p}),Pe.__chain__=Re,Pe}return ce.apply(p,Bl([this.value()],arguments))})}),p}function hZ(){return zr._===this&&(zr._=B9),this}function kx(){}function pZ(p){return p=Wt(p),Yt(function(g){return pO(g,p)})}var vZ=dx(Xn),gZ=dx(NM),mZ=dx(Fw);function OD(p){return _x(p)?$w(os(p)):XW(p)}function yZ(p){return function(g){return p==null?n:pc(p,g)}}var _Z=kO(),bZ=kO(!0);function Fx(){return[]}function $x(){return!1}function SZ(){return{}}function wZ(){return""}function xZ(){return!0}function CZ(p,g){if(p=Wt(p),p<1||p>Y)return[];var x=ye,A=ti(p,ye);g=xt(g),p-=ye;for(var O=Uw(A,g);++x<p;)g(x);return O}function TZ(p){return Vt(p)?Xn(p,os):xo(p)?[p]:Gi(JO(yn(p)))}function EZ(p){var g=++F9;return yn(p)+g}var AZ=Dy(function(p,g){return p+g},0),IZ=hx("ceil"),RZ=Dy(function(p,g){return p/g},1),PZ=hx("floor");function MZ(p){return p&&p.length?Ey(p,Xi,Jw):n}function OZ(p,g){return p&&p.length?Ey(p,xt(g,2),Jw):n}function DZ(p){return $M(p,Xi)}function LZ(p,g){return $M(p,xt(g,2))}function NZ(p){return p&&p.length?Ey(p,Xi,nx):n}function kZ(p,g){return p&&p.length?Ey(p,xt(g,2),nx):n}var FZ=Dy(function(p,g){return p*g},1),$Z=hx("round"),BZ=Dy(function(p,g){return p-g},0);function VZ(p){return p&&p.length?Vw(p,Xi):0}function UZ(p,g){return p&&p.length?Vw(p,xt(g,2)):0}return F.after=uY,F.ary=uD,F.assign=ZY,F.assignIn=xD,F.assignInWith=jy,F.assignWith=qY,F.at=JY,F.before=cD,F.bind=Ex,F.bindAll=rZ,F.bindKey=fD,F.castArray=SY,F.chain=a
2025-03-18 16:27:38 +08:00
* shared v11.1.2
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
2025-03-24 20:42:16 +08:00
*/const z1=typeof window<"u",rc=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qne=(e,t,n)=>ere({l:e,k:t,s:n}),ere=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),wr=e=>typeof e=="number"&&isFinite(e),tre=e=>UI(e)==="[object Date]",Mh=e=>UI(e)==="[object RegExp]",mS=e=>tn(e)&&Object.keys(e).length===0,Or=Object.assign,nre=Object.create,Pn=(e=null)=>nre(e);let QL;const rf=()=>QL||(QL=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Pn());function eN(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const rre=Object.prototype.hasOwnProperty;function Xa(e,t){return rre.call(e,t)}const xr=Array.isArray,zn=e=>typeof e=="function",at=e=>typeof e=="string",hn=e=>typeof e=="boolean",gn=e=>e!==null&&typeof e=="object",ire=e=>gn(e)&&zn(e.then)&&zn(e.catch),$V=Object.prototype.toString,UI=e=>$V.call(e),tn=e=>UI(e)==="[object Object]",ore=e=>e==null?"":xr(e)||tn(e)&&e.toString===$V?JSON.stringify(e,null,2):String(e);function HI(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function are(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const s0=e=>!gn(e)||xr(e);function H_(e,t){if(s0(e)||s0(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(gn(r[o])&&!gn(i[o])&&(i[o]=Array.isArray(r[o])?[]:Pn()),s0(i[o])||s0(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]}))})}}/*!
2025-03-18 16:27:38 +08:00
* message-compiler v11.1.2
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
2025-03-24 20:42:16 +08:00
*/function sre(e,t,n){return{line:e,column:t,offset:n}}function XE(e,t,n){return{start:e,end:t}}const Tn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},lre=17;function yS(e,t,n={}){const{domain:r,messages:i,args:o}=n,a=e,s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=r,s}function ure(e){throw e}const qs=" ",cre="\r",Pi=`
`,fre="\u2028",dre="\u2029";function hre(e){const t=e;let n=0,r=1,i=1,o=0;const a=E=>t[E]===cre&&t[E+1]===Pi,s=E=>t[E]===Pi,l=E=>t[E]===dre,u=E=>t[E]===fre,c=E=>a(E)||s(E)||l(E)||u(E),f=()=>n,h=()=>r,d=()=>i,v=()=>o,m=E=>a(E)||l(E)||u(E)?Pi:t[E],y=()=>m(n),_=()=>m(n+o);function b(){return o=0,c(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function S(){return a(n+o)&&o++,o++,t[n+o]}function w(){n=0,r=1,i=1,o=0}function T(E=0){o=E}function C(){const E=n+o;for(;E!==n;)b();o=0}return{index:f,line:h,column:d,peekOffset:v,charAt:m,currentChar:y,currentPeek:_,next:b,peek:S,reset:w,resetPeek:T,skipToPeek:C}}const Kl=void 0,pre=".",tN="'",vre="tokenizer";function gre(e,t={}){const n=t.location!==!1,r=hre(e),i=()=>r.index(),o=()=>sre(r.line(),r.column(),r.index()),a=o(),s=i(),l={currentType:13,offset:s,startLoc:a,endLoc:a,lastType:13,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(U,j,Q,...de){const _e=u();if(j.column+=Q,j.offset+=Q,c){const De=n?XE(_e.startLoc,j):null,J=yS(U,De,{domain:vre,args:de});c(J)}}function h(U,j,Q){U.endLoc=o(),U.currentType=j;const de={type:j};return n&&(de.loc=XE(U.startLoc,U.endLoc)),Q!=null&&(de.value=Q),de}const d=U=>h(U,13);function v(U,j){return U.currentChar()===j?(U.next(),j):(f(Tn.EXPECTED_TOKEN,o(),0,j),"")}function m(U){let j="";for(;U.currentPeek()===qs||U.currentPeek()===Pi;)j+=U.currentPeek(),U.peek();return j}function y(U){const j=m(U);return U.skipToPeek(),j}function _(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function b(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=48&&j<=57}function S(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=_(U.currentPeek());return U.resetPeek(),de}function w(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=U.currentPeek()==="-"?U.peek():U.currentPeek(),_e=b(de);return U.resetPeek(),_e}function T(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=U.currentPeek()===tN;return U.resetPeek(),de}function C(U,j){const{currentType:Q}=j;if(Q!==7)return!1;m(U);const de=U.currentPeek()===".";return U.resetPeek(),de}function E(U,j){const{currentType:Q}=j;if(Q!==8)return!1;m(U);const de=_(U.currentPeek());return U.resetPeek(),de}function R(U,j){const{currentType:Q}=j;if(!(Q===7||Q===11))return!1;m(U);const de=U.currentPeek()===":";return U.resetPeek(),de}function I(U,j){const{currentType:Q}=j;if(Q!==9)return!1;const de=()=>{const De=U.currentPeek();return De==="{"?_(U.peek()):De==="@"||De==="|"||De===":"||De==="."||De===qs||!De?!1:De===Pi?(U.peek(),de()):M(U,!1)},_e=de();return U.resetPeek(),_e}function P(U){m(U);const j=U.currentPeek()==="|";return U.resetPeek(),j}function M(U,j=!0){const Q=(_e=!1,De="")=>{const J=U.currentPeek();return J==="{"||J==="@"||!J?_e:J==="|"?!(De===qs||De===Pi):J===qs?(U.peek(),Q(!0,qs)):J===Pi?(U.peek(),Q(!0,Pi)):!0},de=Q();return j&&U.resetPeek(),de}function L(U,j){const Q=U.currentChar();return Q===Kl?Kl:j(Q)?(U.next(),Q):null}function k(U){const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function $(U){return L(U,k)}function W(U){const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function N(U){return L(U,W)}function K(U){const j=U.charCodeAt(0);return j>=48&&j<=57}function Y(U){return L(U,K)}function ae(U){const j=U.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function ge(U){return L(U,ae)}function ye(U){let j="",Q="";for(;j=Y(U);)Q+=j;return Q}function Oe(U){let j="";for(;;){const Q=U.currentChar();if(Q==="{"||Q==="}"||Q==="@"||Q==="|"||!Q)break;if(Q===qs||Q===Pi)if(M(U))j+=Q,U.next();else{if(P(U))break;j+=Q,U.next()}else j+=Q,U.next()}return j}function ke(U){y(U);let j="",Q="";for(;j=N(U);)Q+=j;return U.currentChar()===Kl&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),Q}function Ue(U){y(U);let j="";return U.currentChar()==="-"?(U.next(),j+=`-${ye(U)}`):j+=ye(U),U.currentChar()===Kl&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),j}function Le(U){return U!==tN&&U!==Pi}function Xe(U){y(U),v(U,"'");let j="",Q="";for(;
`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],s=Cre(e,{filename:r,breakLineCode:i,needIndent:o});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(o),a.length>0&&(s.push(`const { ${HI(a.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Oh(s,e),s.deindent(o),s.push("}"),delete e.helpers;const{code:l,map:u}=s.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function Pre(e,t={}){const n=Or({},t),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,s=bre(n).parse(e);return r?(o&&xre(s),i&&Qd(s),{ast:s,code:""}):(wre(s,n),Rre(s,n))}/*!
2025-03-18 16:27:38 +08:00
* core-base v11.1.2
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
2025-03-24 20:42:16 +08:00
*/function Mre(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rf().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function oC(e){return n=>Ore(n,e)}function Ore(e,t){const n=Lre(t);if(n==null)throw jg(0);if(GI(n)===1){const o=kre(n);return e.plural(o.reduce((a,s)=>[...a,iN(e,s)],[]))}else return iN(e,n)}const Dre=["b","body"];function Lre(e){return ic(e,Dre)}const Nre=["c","cases"];function kre(e){return ic(e,Nre,[])}function iN(e,t){const n=$re(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Vre(t).reduce((i,o)=>[...i,YE(e,o)],[]);return e.normalize(r)}}const Fre=["s","static"];function $re(e){return ic(e,Fre)}const Bre=["i","items"];function Vre(e){return ic(e,Bre,[])}function YE(e,t){const n=GI(t);switch(n){case 3:return l0(t,n);case 9:return l0(t,n);case 4:{const r=t;if(Xa(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Xa(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw jg(n)}case 5:{const r=t;if(Xa(r,"i")&&wr(r.i))return e.interpolate(e.list(r.i));if(Xa(r,"index")&&wr(r.index))return e.interpolate(e.list(r.index));throw jg(n)}case 6:{const r=t,i=Gre(r),o=jre(r);return e.linked(YE(e,o),i?YE(e,i):void 0,e.type)}case 7:return l0(t,n);case 8:return l0(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Ure=["t","type"];function GI(e){return ic(e,Ure)}const Hre=["v","value"];function l0(e,t){const n=ic(e,Hre);if(n)return n;throw jg(t)}const zre=["m","modifier"];function Gre(e){return ic(e,zre)}const Wre=["k","key"];function jre(e){const t=ic(e,Wre);if(t)return t;throw jg(6)}function ic(e,t,n){for(let r=0;r<t.length;r++){const i=t[r];if(Xa(e,i)&&e[i]!=null)return e[i]}return n}function jg(e){return new Error(`unhandled node type: ${e}`)}const Xre=e=>e;let u0=Pn();function Dh(e){return gn(e)&&GI(e)===0&&(Xa(e,"b")||Xa(e,"body"))}function Yre(e,t={}){let n=!1;const r=t.onError||ure;return t.onError=i=>{n=!0,r(i)},{...Pre(e,t),detectError:n}}function Kre(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&at(e)){hn(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Xre)(e),i=u0[r];if(i)return i;const{ast:o,detectError:a}=Yre(e,{...t,location:!1,jit:!0}),s=oC(o);return a?s:u0[r]=s}else{const n=e.cacheKey;if(n){const r=u0[n];return r||(u0[n]=oC(e))}else return oC(e)}}let Xg=null;function Zre(e){Xg=e}function qre(e,t,n){Xg&&Xg.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jre=Qre("function:translate");function Qre(e){return t=>Xg&&Xg.emit(e,t)}const dl={INVALID_ARGUMENT:lre,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},eie=24;function hl(e){return yS(e,null,void 0)}function WI(e,t){return t.locale!=null?oN(t.locale):oN(e.locale)}let aC;function oN(e){if(at(e))return e;if(zn(e)){if(e.resolvedOnce&&aC!=null)return aC;if(e.constructor.name==="Function"){const t=e();if(ire(t))throw hl(dl.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return aC=t}else throw hl(dl.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hl(dl.NOT_SUPPORT_LOCALE_TYPE)}function tie(e,t,n){return[...new Set([n,...xr(t)?t:gn(t)?Object.keys(t):at(t)?[t]:[n]])]}function BV(e,t,n){const r=at(n)?n:Yg,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;xr(a);)a=aN(o,a,t);const s=xr(t)||!tn(t)?t:t.default?t.default:null;a=at(s)?[s]:s,xr(a)&&aN(o,a,!1),i.__localeChainCache.set(r,o)}return o}function aN(e,t,n){let r=!0;for(let i=0;i<t.length&&hn(r);i++){const o=t[i];at(o)&&(r=nie(e,t[i],n))}return r}function nie(e,t,n){let r;const i=t.split("-");do{const o=i.join("-");r=rie(e,o,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function rie(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(xr(n)||tn(n))&&n[i]&&(r=n[i])}return r}const oc=[];oc[0]={w:[0],i:[3,0],"[":[4],o:[7]};oc[1]={w:[1],".":[2],"[":[4],o:[7]};oc[2]={w:[2],i:[3,0],0:[3,0]};oc[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o
2025-03-18 16:27:38 +08:00
* vue-i18n v11.1.2
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
2025-03-24 20:42:16 +08:00
*/const Nie="11.1.2";function kie(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rf().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rf().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rf().__INTLIFY_PROD_DEVTOOLS__=!1)}const vo={UNEXPECTED_RETURN_TYPE:eie,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Fo(e,...t){return yS(e,null,void 0)}const JE=rc("__translateVNode"),QE=rc("__datetimeParts"),eA=rc("__numberParts"),KV=rc("__setPluralRules"),ZV=rc("__injectWithOption"),tA=rc("__dispose");function Kg(e){if(!gn(e))return e;for(const t in e)if(Xa(e,t))if(!t.includes("."))gn(e[t])&&Kg(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in i||(i[n[a]]=Pn()),!gn(i[n[a]])){o=!0;break}i=i[n[a]]}o||(i[n[r]]=e[t],delete e[t]),gn(i[n[r]])&&Kg(i[n[r]])}return e}function XI(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=t,a=tn(n)?n:xr(r)?Pn():{[e]:Pn()};if(xr(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(a[l]=a[l]||Pn(),H_(u,a[l])):H_(u,a)}else at(s)&&H_(JSON.parse(s),a)}),i==null&&o)for(const s in a)Xa(a,s)&&Kg(a[s]);return a}function qV(e){return e.type}function JV(e,t,n){let r=gn(t.messages)?t.messages:Pn();"__i18nGlobal"in n&&(r=XI(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(gn(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(gn(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function _N(e){return z(yl,null,e,0)}const bN="__INTLIFY_META__",SN=()=>[],Fie=()=>!1;let wN=0;function xN(e){return(t,n,r,i)=>e(n,r,Er()||void 0,i)}const $ie=()=>{const e=Er();let t=null;return e&&(t=qV(e)[bN])?{[bN]:t}:null};function YI(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,o=z1?Me:Si;let a=hn(e.inheritLocale)?e.inheritLocale:!0;const s=o(t&&a?t.locale.value:at(e.locale)?e.locale:Yg),l=o(t&&a?t.fallbackLocale.value:at(e.fallbackLocale)||xr(e.fallbackLocale)||tn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=o(XI(s.value,e)),c=o(tn(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=o(tn(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=t?t.missingWarn:hn(e.missingWarn)||Mh(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:hn(e.fallbackWarn)||Mh(e.fallbackWarn)?e.fallbackWarn:!0,v=t?t.fallbackRoot:hn(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,y=zn(e.missing)?e.missing:null,_=zn(e.missing)?xN(e.missing):null,b=zn(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:hn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const T=t?t.modifiers:tn(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&cN(null);const J={version:Nie,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:C,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:d,fallbackFormat:m,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:S,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};J.datetimeFormats=c.value,J.numberFormats=f.value,J.__datetimeFormatters=tn(E)?E.__datetimeFormatters:void 0,J.__numberFormatters=tn(E)?E.__numberFormatters:void 0;const he=bie(J);return r&&cN(he),he})(),Hp(E,s.value,l.value);function I(){return[s.value,l.value,u.value,c.value,f.value]}const P=xe({get:()=>s.value,set:J=>{E.locale=J,s.value=J}}),M=xe({get:()=>l.value,set:J=>{E.fallbackLocale=J,l.value=J,Hp(E,s.value,J)}}),L=xe(()=>u.value),k=xe(()=>c.value),$=xe(()=>f.value);function W(){return zn(b)?b:null}function N(J){b=J,E.postTranslatio
2025-03-18 16:27:38 +08:00
font-size: .6rem;
font-weight: bold;
2025-03-24 20:42:16 +08:00
color: hsl(${Math.max(0,Math.min(120-120*y,120))}deg 100% 31%);`,n==null?void 0:n.key)}return(u=n==null?void 0:n.onChange)==null||u.call(n,i),i}return o.updateDeps=a=>{r=a},o}function cC(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const goe=(e,t)=>Math.abs(e-t)<1,moe=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},yoe=e=>e,_oe=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},boe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=a=>{const{width:s,height:l}=a;t({width:Math.round(s),height:Math.round(l)})};if(i(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(a=>{const s=()=>{const l=a[0];if(l!=null&&l.borderBoxSize){const u=l.borderBoxSize[0];if(u){i({width:u.inlineSize,height:u.blockSize});return}}i(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},LN={passive:!0},NN=typeof window>"u"?!0:"onscrollend"in window,Soe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&NN?()=>{}:moe(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),a=c=>()=>{const{horizontal:f,isRtl:h}=e.options;i=f?n.scrollLeft*(h&&-1||1):n.scrollTop,o(),t(i,c)},s=a(!0),l=a(!1);l(),n.addEventListener("scroll",s,LN);const u=e.options.useScrollendEvent&&NN;return u&&n.addEventListener("scrollend",l,LN),()=>{n.removeEventListener("scroll",s),u&&n.removeEventListener("scrollend",l)}},woe=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},xoe=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const a=e+t;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class Coe{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),n=null},observe:i=>{var o;return(o=r())==null?void 0:o.observe(i,{box:"border-box"})},unobserve:i=>{var o;return(o=r())==null?void 0:o.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,i])=>{typeof i>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:yoe,rangeExtractor:_oe,onChange:()=>{},measureElement:woe,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,n)},this.maybeNotify=Ad(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{va
`+ei),Be&&f0([L,k,$],Uo=>{ei=Gp(ei,Uo," ")}),w&&j?w.createHTML(ei):ei},t.setConfig=function(){let yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ns(yt),ue=!0},t.clearConfig=function(){yr=null,ue=!1},t.isValidAttribute=function(yt,ie,He){yr||ns({});const ct=Mn(yt),xn=Mn(ie);return oy(ct,xn,He)},t.addHook=function(yt,ie){typeof ie=="function"&&zp(M[yt],ie)},t.removeHook=function(yt,ie){if(ie!==void 0){const He=Uoe(M[yt],ie);return He===-1?void 0:Hoe(M[yt],He,1)[0]}return BN(M[yt])},t.removeHooks=function(yt){M[yt]=[]},t.removeAllHooks=function(){M=jN()},t}var oae=vU();const aae=["innerHTML"],sae=["src"],XN="data:image/svg+xml,",QI=tt({__name:"ProxyIcon",props:{icon:{},fill:{},size:{}},setup(e){const t=e,n=xe(()=>({width:(t.size==="small"?Qv.value:Qv.value+4)+"px",marginRight:B_.value-4+"px"})),r=xe(()=>t.icon.startsWith(XN)),i=xe(()=>{if(r.value)return oae.sanitize(t.icon.replace(XN,""))});return(o,a)=>r.value?(X(),q("div",{key:0,class:mt(["inline-block",o.fill||"fill-primary"]),style:lr(n.value),innerHTML:i.value},null,14,aae)):(X(),q("img",{key:1,style:lr(n.value),src:o.icon},null,12,sae))}}),Uf=tt({__name:"ProxyName",props:{name:{},size:{default:"small"}},setup(e){const t=e,n=xe(()=>{var r;return(r=Jr.value[t.name])==null?void 0:r.icon});return(r,i)=>(X(),q("div",{class:mt(["flex shrink-0 items-center gap-1",r.size==="large"?"text-lg font-medium":"text-sm"])},[n.value?(X(),_t(QI,{key:0,icon:n.value,size:r.size,class:mt(r.size==="large"&&"-mt-[2px]")},null,8,["icon","size","class"])):it("",!0),qe(" "+ne(r.name),1)],2))}}),lae=tt({props:{conn:Object},name:"ConnectionCard",setup(e){const{handlerInfo:t}=qI();return()=>{const n=e.conn,r=n.metadata,i={[ze.Host]:z("span",{class:"text-main w-80 grow truncate"},[M7(n)]),[ze.Destination]:z("span",{class:"w-80 grow truncate break-all"},[D7(n)]),[ze.RemoteAddress]:z("span",{class:"w-80 grow truncate break-all"},[n.metadata.remoteDestination||"-"]),[ze.SourceIP]:z("span",{class:"w-40 grow truncate break-all"},[Vb(r.sourceIP)]),[ze.SourcePort]:z("span",{class:"w-20 grow truncate break-all"},[r.sourcePort]),[ze.SniffHost]:z("span",{class:"w-80 grow truncate break-all"},[r.sniffHost||"-"]),[ze.Type]:z("span",{class:"w-60 grow truncate break-all"},[N7(n)]),[ze.Rule]:z("span",{class:"w-80 grow truncate break-all"},[n.rule,n.rulePayload&&z(Ge,null,[qe(": "),n.rulePayload])]),[ze.Process]:z("span",{class:"w-60 grow truncate break-all"},[O7(n)]),[ze.Chains]:z("span",{class:["flex w-80 grow items-center gap-1 truncate break-all",ph.value===ip.REVERSE&&"flex-row-reverse justify-end"]},[z(Uf,{name:mr.last(n.chains)},null),mr.last(n.chains)!==mr.first(n.chains)&&z(Ge,null,[z(Rl,{class:"h-4 w-4 shrink-0"},null),z(Uf,{name:mr.first(n.chains)},null)])]),[ze.Download]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.download),z(Zee,{class:"text-success h-4 w-4"},null)]),[ze.Upload]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.upload),z(Jee,{class:"text-info h-4 w-4"},null)]),[ze.DlSpeed]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.downloadSpeed),qe("/s"),z(uS,{class:"text-success h-4 w-4"},null)]),[ze.UlSpeed]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.uploadSpeed),qe("/s"),z(Pm,{class:"text-info h-4 w-4"},null)]),[ze.ConnectTime]:z("div",{class:"gap-1 whitespace-nowrap"},[Tw(n.start)]),[ze.DestinationType]:z("div",{class:"gap-1 whitespace-nowrap"},[L7(n)]),[ze.Close]:z("button",{class:"btn btn-circle btn-xs",onClick:o=>{o.stopPropagation(),ww(n.id)}},[z($f,{class:"h-4 w-4"},null)])};return z("div",{class:"card cursor-pointer gap-1 p-1 md:p-2",onClick:()=>t(n)},[to.value.map(o=>z("div",{class:"flex items-center gap-1 text-sm"},[o.map(a=>i[a])]))])}}}),uae={key:0,class:"card m-2 flex-row p-2 text-sm"},cae=tt({__name:"ConnectionCardList",setup(e){const t=xe(()=>to.value.length*28+4);return(n,r)=>B(Lh).length?(X(),_t(ZI,{key:1,data:B(Lh),size:t.value},{default:jn(({item:i})=>[z(B(lae),{class:"mb-1",conn:i},null,8,["conn"])]),_:1},8,["data","size"])):(X(),q("div",uae,ne(n.$t("noContent")),1))}}),fae={class
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function K1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}X1.d(gU,{Z:()=>yae});const wt=(YN={computed:()=>xe,createTextVNode:()=>qe,createVNode:()=>z,defineComponent:()=>tt,reactive:()=>_a,ref:()=>Me,watch:()=>Bt,watchEffect:()=>iS},mC={},X1.d(mC,YN),mC),pae=(0,wt.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,wt.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),vae=(0,wt.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,wt.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,wt.computed)({get:function(){return e.checked},set:function(r){return n("update:modelValue",r)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,wt.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(r){return r.stopPropagation()}},[(0,wt.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,wt.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return n("change",t)}},null)])}}),gae=(0,wt.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e==="objectStart"||e==="arrayStart";return n||e==="objectCollapsed"||e==="arrayCollapsed"?(0,wt.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(n?"open":"close"),onClick:t},[(0,wt.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,wt.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var YN,mC;function cA(e){return cA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cA(e)}function yU(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Kc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=r||{},o=i.key,a=i.index,s=i.type,l=s===void 0?"content":s,u=i.showComma,c=u!==void 0&&u,f=i.length,h=f===void 0?1:f,d=yU(e);if(d==="array"){var v=KN(e.map(function(_,b,S){return Kc(_,"".concat(t,"[").concat(b,"]"),n+1,{index:b,showComma:b!==S.length-1,length:h,type:l})}));return[Kc("[",t,n,{showComma:!1,key:o,length:e.length,type:"arrayStart"})[0]].concat(v,Kc("]",t,n,{showComma:c,length:e.length,type:"arrayEnd"})[0])}if(d==="object"){var m=Object.keys(e),y=KN(m.map(function(_,b,S){return Kc(e[_],/^[a-zA-Z_]\w*$/.test(_)?"".concat(t,".").concat(_):"".concat(t,'["').concat(_,'"]'),n+1,{key:_,showComma:b!==S.length-1,length:h,type:l})}));return[Kc("{",t,n,{showComma:!1,key:o,index:a,length:m.length,type:"objectStart"})[0]].concat(y,Kc("}",t,n,{showComma:c,length:m.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:o,index:a,path:t,showComma:c,length:h,type:l}]}function KN(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=Y1(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,Y1(r)):n.push(r)}return n}function fA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(cA(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(o){return fA(o,t)});return t.set(e,n),n}var r={};for(var i in e)r[i]=fA(e[i],t);return t.set(e,r),r}function ZN(e,t){var n=Object.keys(e);if(Object.getOwnPropertyS
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],M=C;n("update:selectedValue",M),n("selectedChange",M,P)}},v=function(S){n("nodeClick",S)},m=function(S,w){if(S)s.hiddenPaths=Eo(Eo({},s.hiddenPaths),{},K1({},w,1));else{var T=Eo({},s.hiddenPaths);delete T[w],s.hiddenPaths=T}},y=function(S,w){e.collapsedOnClickBrackets&&m(S,w.path),n("bracketsClick",S,w)},_=function(S,w){m(S,w.path),n("iconClick",S,w)},b=function(S,w){var T=fA(e.data),C=e.rootPath;new Function("data","val","data".concat(w.slice(C.length),"=val"))(T,S),n("update:data",T)};return(0,wt.watchEffect)(function(){c.value&&function(S){throw new Error("[VueJSONPretty] ".concat(S))}(c.value)}),(0,wt.watchEffect)(function(){l.value&&f()}),(0,wt.watch)(function(){return e.deep},function(S){S&&(s.hiddenPaths=a(S,e.collapsedNodeLength))}),(0,wt.watch)(function(){return e.collapsedNodeLength},function(S){S&&(s.hiddenPaths=a(e.deep,S))}),function(){var S,w,T=(S=e.renderNodeKey)!==null&&S!==void 0?S:r.renderNodeKey,C=(w=e.renderNodeValue)!==null&&w!==void 0?w:r.renderNodeValue,E=s.visibleData&&s.visibleData.map(function(R){return(0,wt.createVNode)(mae,{key:R.id,node:R,collapsed:!!s.hiddenPaths[R.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:u.value.includes(R.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:T,renderNodeValue:C,onNodeClick:v,onBracketsClick:y,onIconClick:_,onSelectedChange:d,onValueChange:b,style:e.itemHeight&&e.itemHeight!==20?{lineHeight:"".concat(e.itemHeight,"px")}:{}},null)});return(0,wt.createVNode)("div",{ref:i,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme==="dark"},onScroll:e.virtual?h:void 0,style:e.showLineNumber?Eo({paddingLeft:"".concat(12*Number(o.value.length.toString().length),"px")},e.style):e.style},[e.virtual?(0,wt.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(e.height,"px")}},[(0,wt.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(l.value.length*e.itemHeight,"px")}},[(0,wt.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(s.translateY,"px)")}},[E])])]):E])}}});var _ae=gU.Z;const bae={class:"flex h-full max-h-[69dvh] flex-col overflow-hidden py-4 md:max-h-[89dvh]"},Sae={key:0,class:"min-h-12 shrink-0 px-4 pt-2 text-sm"},wae={class:"flex flex-wrap items-center gap-1"},xae={class:"flex flex-wrap"},Cae={key:0,class:"mr-3 flex items-center gap-1"},Tae={class:"flex items-center gap-1"},Eae=tt({__name:"ConnectionDetails",setup(e){const{infoConn:t,connectionDetailModalShow:n}=qI(),r=Me(null),i=/^(127\.|10\.|192\.18\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)/,o=/^(fc00::|fd[0-9a-f]{2}:|fe80::)/,a=xe(()=>{var l;return(l=t.value)==null?void 0:l.metadata.destinationIP}),s=xe(()=>a.value?i.test(a.value)||o.test(a.value):!1);return Bt(()=>a.value,l=>{var u,c;if(l){if(s.value){r.value=null;return}((u=r.value)==null?void 0:u.ip)!==l&&(r.value=null,uM((c=t.value)==null?void 0:c.metadata.destinationIP).then(f=>{r.value=f}))}}),(l,u)=>(X(),_t(id,{modelValue:B(n),"onUpdate:modelValue":u[0]||(u[0]=c=>pt(n)?n.value=c:null),"no-padding":!0},{default:jn(()=>{var c,f,h,d,v,m,y,_,b,S,w,T,C;return[D("div",bae,[z(B(_ae),{data:B(t),class:"overflow-y-auto px-4"},null,8,["data"]),a.value&&!s.value?(X(),q("div",Sae,[r.value?(X(),q(Ge,{key:0},[D("div",wae,[z(B(Rl),{class:"h-4 w-4 shrink-0"}),D("div",null,ne((c=r.value)==null?void 0:c.ip),1),D("div",null,"( AS"+ne((f=r.value)==null?void 0:f.asn)+" )",1)]),D("div",xae,[(h=r.value)!=null&&h.country?(X(),q("div",Cae,[z(B(ote),{class:"h-4 w-4 shrink-0"}),(d=r.value)!=null&&d.city&&((v=r.value)==null?void 0:v.city)!==((m=r.value)==null?void 0:m.country)?(X(),q(Ge,{key:0},[qe(ne((y=r.value)==null?void 0:y.city)+", ",1)],64)):(
2025-03-18 16:27:38 +08:00
* table-core
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2025-03-19 20:41:12 +08:00
*/function Cu(e,t){return typeof e=="function"?e(t):e}function $o(e,t){return n=>{t.setState(r=>({...r,[e]:Cu(n,r[e])}))}}function Tu(e){return e instanceof Function}function Aae(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function bU(e,t){const n=[],r=i=>{i.forEach(o=>{n.push(o);const a=t(o);a!=null&&a.length&&r(a)})};return r(e),n}function At(e,t,n){let r=[],i;return o=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(o);if(!(s.length!==r.length||s.some((c,f)=>r[f]!==c)))return i;r=s;let u;if(n.key&&n.debug&&(u=Date.now()),i=t(...s),n==null||n.onChange==null||n.onChange(i),n.key&&n.debug&&n!=null&&n.debug()){const c=Math.round((Date.now()-a)*100)/100,f=Math.round((Date.now()-u)*100)/100,h=f/16,d=(v,m)=>{for(v=String(v);v.length<m;)v=" "+v;return v};console.info(`%c ${d(f,5)} /${d(c,5)} ms`,`
2025-03-18 16:27:38 +08:00
font-size: .6rem;
font-weight: bold;
2025-03-24 20:42:16 +08:00
color: hsl(${Math.max(0,Math.min(120-120*h,120))}deg 100% 31%);`,n==null?void 0:n.key)}return i}}function It(e,t,n,r){return{debug:()=>{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:!1,onChange:r}}function Iae(e,t,n,r){const i=()=>{var a;return(a=o.getValue())!=null?a:e.options.renderFallbackValue},o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:i,getContext:At(()=>[e,n,t,o],(a,s,l,u)=>({table:a,column:s,row:l,cell:u,getValue:u.getValue,renderValue:u.renderValue}),It(e.options,"debugCells"))};return e._features.forEach(a=>{a.createCell==null||a.createCell(o,n,t,e)},{}),o}function Rae(e,t,n,r){var i,o;const s={...e._getDefaultColumnDef(),...t},l=s.accessorKey;let u=(i=(o=s.id)!=null?o:l?typeof String.prototype.replaceAll=="function"?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)!=null?i:typeof s.header=="string"?s.header:void 0,c;if(s.accessorFn?c=s.accessorFn:l&&(l.includes(".")?c=h=>{let d=h;for(const m of l.split(".")){var v;d=(v=d)==null?void 0:v[m]}return d}:c=h=>h[s.accessorKey]),!u)throw new Error;let f={id:`${String(u)}`,accessorFn:c,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:At(()=>[!0],()=>{var h;return[f,...(h=f.columns)==null?void 0:h.flatMap(d=>d.getFlatColumns())]},It(e.options,"debugColumns")),getLeafColumns:At(()=>[e._getOrderColumnsFn()],h=>{var d;if((d=f.columns)!=null&&d.length){let v=f.columns.flatMap(m=>m.getLeafColumns());return h(v)}return[f]},It(e.options,"debugColumns"))};for(const h of e._features)h.createColumn==null||h.createColumn(f,e);return f}const ri="debugHeaders";function QN(e,t,n){var r;let o={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const a=[],s=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(s),a.push(l)};return s(o),a},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach(a=>{a.createHeader==null||a.createHeader(o,e)}),o}const Pae={createTable:e=>{e.getHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var o,a;const s=(o=r==null?void 0:r.map(f=>n.find(h=>h.id===f)).filter(Boolean))!=null?o:[],l=(a=i==null?void 0:i.map(f=>n.find(h=>h.id===f)).filter(Boolean))!=null?a:[],u=n.filter(f=>!(r!=null&&r.includes(f.id))&&!(i!=null&&i.includes(f.id)));return h0(t,[...s,...u,...l],e)},It(e.options,ri)),e.getCenterHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>(n=n.filter(o=>!(r!=null&&r.includes(o.id))&&!(i!=null&&i.includes(o.id))),h0(t,n,e,"center")),It(e.options,ri)),e.getLeftHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;const o=(i=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?i:[];return h0(t,o,e,"left")},It(e.options,ri)),e.getRightHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;const o=(i=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?i:[];return h0(t,o,e,"right")},It(e.options,ri)),e.getFooterGroups=At(()=>[e.getHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getLeftFooterGroups=At(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getCenterFooterGroups=At(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getRightFooterGroups=At(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getFlatHeaders=At(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getLeftFlatHeaders=At(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getCenterFlatHeaders=At(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getRightFlatHeaders=At(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getCenterLeafHeaders=At(()=>[e.getCen
2025-03-18 16:27:38 +08:00
* vue-table
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2025-03-24 20:42:16 +08:00
*/function g0(){return!0}const gse=Symbol("merge-proxy"),mse={get(e,t,n){return t===gse?n:e.get(t)},has(e,t){return e.has(t)},set:g0,deleteProperty:g0,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:g0,deleteProperty:g0}},ownKeys(e){return e.keys()}};function TC(e){return"value"in e?e.value:e}function Tv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Proxy({get(r){for(let i=t.length-1;i>=0;i--){const o=TC(t[i])[r];if(o!==void 0)return o}},has(r){for(let i=t.length-1;i>=0;i--)if(r in TC(t[i]))return!0;return!1},keys(){const r=[];for(let i=0;i<t.length;i++)r.push(...Object.keys(TC(t[i])));return[...Array.from(new Set(r))]}},mse)}const EC=tt({props:["render","props"],setup:e=>()=>typeof e.render=="function"||typeof e.render=="object"?ca(e.render,e.props):e.render});function tk(e){return Tv(e,{data:B(e.data)})}function yse(e){const t=pt(e.data),n=Tv({state:{},onStateChange:()=>{},renderFallbackValue:null,mergeOptions(o,a){return t?{...o,...a}:Tv(o,a)}},t?tk(e):e),r=use(n);if(t){const o=Si(e.data);Bt(o,()=>{r.setState(a=>({...a,data:o.value}))},{immediate:!0})}const i=Me(r.initialState);return iS(()=>{r.setOptions(o=>{var a;const s=new Proxy({},{get:(l,u)=>i.value[u]});return Tv(o,t?tk(e):e,{state:Tv(s,(a=e.state)!=null?a:{}),onStateChange:l=>{l instanceof Function?i.value=l(i.value):i.value=l,e.onStateChange==null||e.onStateChange(l)}})})}),r}const rR="-",_se=e=>{const t=Sse(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(rR);return s[0]===""&&s.length!==1&&s.shift(),MU(s,t)||bse(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},MU=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?MU(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(rR);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},nk=/^\[(.+)\]$/,bse=e=>{if(nk.test(e)){const t=nk.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Sse=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)mA(n[i],r,i,t);return r},mA=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:rk(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(wse(i)){mA(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{mA(a,rk(t,o),n,r)})})},rk=(e,t)=>{let n=e;return t.split(rR).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wse=e=>e.isThemeGetter,xse=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},yA="!",_A=":",Cse=_A.length,Tse=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let a=0,s=0,l=0,u;for(let v=0;v<i.length;v++){let m=i[v];if(a===0&&s===0){if(m===_A){o.push(i.slice(l,v)),l=v+Cse;continue}if(m==="/"){u=v;continue}}m==="["?a++:m==="]"?a--:m==="("?s++:m===")"&&s--}const c=o.length===0?i:i.substring(l),f=Ese(c),h=f!==c,d=u&&u>l?u-l:void 0;return{modifiers:o,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:d}};if(t){const i=t+_A,o=r;r=a=>a.startsWith(i)?o(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=o=>n({className:o,parseClassName:i})}return r},Ese=e=>e.endsWith(yA)?e.substring(0,e.length-1):e.startsWith(yA)?e.substring(1):e,Ase=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let o=[];return r.forEach(a=>{a[0]==="["||t[a]?(i.push(...o.sort(),a),o=[]):o.push(a)}),i.push(...o.sort()),i}},Ise=e=>({cache:xse(e.cacheSize),parseClassName:Tse(e),sortModifiers:Ase(e),..._se(e)}),Rse=/\s+/,Pse=(e,t)=>{co
2025-03-18 16:27:38 +08:00
* @vue/compiler-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/const Vh=Symbol(""),mh=Symbol(""),wS=Symbol(""),Jg=Symbol(""),hR=Symbol(""),ju=Symbol(""),pR=Symbol(""),vR=Symbol(""),xS=Symbol(""),CS=Symbol(""),sp=Symbol(""),TS=Symbol(""),gR=Symbol(""),ES=Symbol(""),AS=Symbol(""),IS=Symbol(""),RS=Symbol(""),PS=Symbol(""),MS=Symbol(""),mR=Symbol(""),yR=Symbol(""),Bm=Symbol(""),Qg=Symbol(""),OS=Symbol(""),DS=Symbol(""),Uh=Symbol(""),lp=Symbol(""),LS=Symbol(""),J1=Symbol(""),rH=Symbol(""),Q1=Symbol(""),em=Symbol(""),iH=Symbol(""),oH=Symbol(""),NS=Symbol(""),aH=Symbol(""),sH=Symbol(""),kS=Symbol(""),_R=Symbol(""),zf={[Vh]:"Fragment",[mh]:"Teleport",[wS]:"Suspense",[Jg]:"KeepAlive",[hR]:"BaseTransition",[ju]:"openBlock",[pR]:"createBlock",[vR]:"createElementBlock",[xS]:"createVNode",[CS]:"createElementVNode",[sp]:"createCommentVNode",[TS]:"createTextVNode",[gR]:"createStaticVNode",[ES]:"resolveComponent",[AS]:"resolveDynamicComponent",[IS]:"resolveDirective",[RS]:"resolveFilter",[PS]:"withDirectives",[MS]:"renderList",[mR]:"renderSlot",[yR]:"createSlots",[Bm]:"toDisplayString",[Qg]:"mergeProps",[OS]:"normalizeClass",[DS]:"normalizeStyle",[Uh]:"normalizeProps",[lp]:"guardReactiveProps",[LS]:"toHandlers",[J1]:"camelize",[rH]:"capitalize",[Q1]:"toHandlerKey",[em]:"setBlockTracking",[iH]:"pushScopeId",[oH]:"popScopeId",[NS]:"withCtx",[aH]:"unref",[sH]:"isRef",[kS]:"withMemo",[_R]:"isMemoSame"};function lH(e){Object.getOwnPropertySymbols(e).forEach(t=>{zf[t]=e[t]})}const Xue={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Yue={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},Kue={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Zue={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Dr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function uH(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Dr}}function Hh(e,t,n,r,i,o,a,s=!1,l=!1,u=!1,c=Dr){return e&&(s?(e.helper(ju),e.helper(jf(e.inSSR,u))):e.helper(Wf(e.inSSR,u)),a&&e.helper(PS)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:c}}function Fu(e,t=Dr){return{type:17,loc:t,elements:e}}function Oo(e,t=Dr){return{type:15,loc:t,properties:e}}function cr(e,t){return{type:16,loc:Dr,key:Mt(e)?$t(e,!0):e,value:t}}function $t(e,t=!1,n=Dr,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function que(e,t){return{type:5,loc:t,content:Mt(e)?$t(e,!1,t):e}}function ma(e,t=Dr){return{type:8,loc:t,children:e}}function br(e,t=[],n=Dr){return{type:14,loc:n,callee:e,arguments:t}}function Gf(e,t=void 0,n=!1,r=!1,i=Dr){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function eb(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Dr}}function cH(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Dr}}function fH(e){return{type:21,body:e,loc:Dr}}function Jue(e){return{type:22,elements:e,loc:Dr}}function Que(e,t,n){return{ty
2025-03-19 20:41:12 +08:00
Details: ${a}`:""}`,l=new SyntaxError(s);l.code=e,n&&(l.loc=n),t.onWarn(l)}function bR(e){throw e}function dH(e){}function Wn(e,t,n,r){const i=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const sce={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},lce={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expect
2025-03-24 20:42:16 +08:00
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function uce(e,t,n=!1,r=[],i=Object.create(null)){}function cce(e,t,n){return!1}function fce(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const r=t[n];if(r.type==="AssignmentExpression")return!0;if(r.type!=="ObjectProperty"&&!r.type.endsWith("Pattern"))break}}return!1}function dce(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function hce(e,t){for(const n of e.params)for(const r of cl(n))t(r)}function pce(e,t){for(const n of e.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const r of n.declarations)for(const i of cl(r.id))t(i)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else vce(n)&&gce(n,!0,t)}function vce(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function gce(e,t,n){const r=e.type==="ForStatement"?e.init:e.left;if(r&&r.type==="VariableDeclaration"&&(r.kind==="var"&&t))for(const i of r.declarations)for(const o of cl(i.id))n(o)}function cl(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const r of e.properties)r.type==="RestElement"?cl(r.argument,t):cl(r.value,t);break;case"ArrayPattern":e.elements.forEach(r=>{r&&cl(r,t)});break;case"RestElement":cl(e.argument,t);break;case"AssignmentPattern":cl(e.left,t);break}return t}const mce=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),hH=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,yce=(e,t)=>hH(t)&&t.key===e,pH=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function vH(e){return pH.includes(e.type)?vH(e.expression):e}const $i=e=>e.type===4&&e.isStatic;function SR(e){switch(e){case"Teleport":case"teleport":return mh;case"Suspense":case"suspense":return wS;case"KeepAlive":case"keep-alive":return Jg;case"BaseTransition":case"base-transition":return hR}}const _ce=/^\d|[^\$\w\xA0-\uFFFF]/,Vm=e=>!_ce.test(e),bce=/[A-Za-z_$\xA0-\uFFFF]/,Sce=/[\.\?\w$\xA0-\uFFFF]/,wce=/\s+[.[]\s*|\s*[.[]\s+/g,gH=e=>e.type===4?e.content:e.loc.source,mH=e=>{const t=gH(e).trim().replace(wce,s=>s.trim());let n=0,r=[],i=0,o=0,a=null;for(let s=0;s<t.length;s++){const l=t.charAt(s);switch(n){case 0:if(l==="[")r.push(n),n=1,i++;else if(l==="(")r.push(n),n=2,o++;else if(!(s===0?bce:Sce).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(r.push(n),n=3,a=l):l==="["?i++:l==="]"&&(--i||(n=r.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")r.push(n),n=3,a=l;else if(l==="(")o++;else if(l===")"){if(s===t.length-1)return!1;--o||(n=r.pop())}break;case 3:l===a&&(n=r.pop(),a=null);break}}return!i&&!o},xce=Ur,wR=mH,Cce=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,yH=e=>Cce.test(gH(e)),Tce=Ur,_H=yH;function Ece(e,t,n=t.length){return bH({offset:e.offset,line:e.line,column:e.column},t,n)}function bH(e,t,n=t.length){let r=0,i=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(r++,i=o);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Ace(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ni(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(i.type===7&&(n||i.exp)&&(Mt(t)?i.name===
`);else if(kce(o.content)){const a=e[i-1]&&e[i-1].type,s=e[i+1]&&e[i+1].type;!a||!s||n&&(a===3&&(s===3||s===1)||a===1&&(s===3||s===1&&Fce(o.content)))?(r=!0,e[i]=null):o.content=" "}else n&&(o.content=IH(o.content))}return r?e.filter(Boolean):e}function kce(e){for(let t=0;t<e.length;t++)if(!Po(e.charCodeAt(t)))return!1;return!0}function Fce(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function IH(e){let t="",n=!1;for(let r=0;r<e.length;r++)Po(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function EA(e){(Kn[0]||rm).children.push(e)}function pr(e,t){return{start:sr.getPos(e),end:t==null?t:sr.getPos(t),source:t==null?t:Xr(e,t)}}function $ce(e){return pr(e.start.offset,e.end.offset)}function of(e,t){e.end=sr.getPos(t),e.source=Xr(e.start.offset,t)}function Bce(e){const t={type:6,name:e.rawName,nameLoc:pr(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Z_(e,t=!1,n,r=0,i=0){return $t(e,t,n,r)}function Js(e,t,n){vn.onError(Wn(e,pr(t,t)))}function Vce(){sr.reset(),ui=null,un=null,Ji="",tl=-1,qc=-1,Kn.length=0}function TR(e,t){if(Vce(),bl=e,vn=nn({},TH),t){let i;for(i in t)t[i]!=null&&(vn[i]=t[i])}sr.mode=vn.parseMode==="html"?1:vn.parseMode==="sfc"?2:0,sr.inXML=vn.ns===1||vn.ns===2;const n=t&&t.delimiters;n&&(sr.delimiterOpen=tb(n[0]),sr.delimiterClose=tb(n[1]));const r=rm=uH([],e);return sr.parse(bl),r.loc=pr(0,e.length),r.children=AH(r.children),rm=null,r}function Uce(e,t){q_(e,void 0,t,RH(e,e.children[0]))}function RH(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!tm(t)}function q_(e,t,n,r=!1,i=!1){const{children:o}=e,a=[];for(let c=0;c<o.length;c++){const f=o[c];if(f.type===1&&f.tagType===0){const h=r?0:so(f,n);if(h>0){if(h>=2){f.codegenNode.patchFlag=-1,a.push(f);continue}}else{const d=f.codegenNode;if(d.type===13){const v=d.patchFlag;if((v===void 0||v===512||v===1)&&MH(f,n)>=2){const m=OH(f);m&&(d.props=n.hoist(m))}d.dynamicProps&&(d.dynamicProps=n.hoist(d.dynamicProps))}}}else if(f.type===12&&(r?0:so(f,n))>=2){a.push(f);continue}if(f.type===1){const h=f.tagType===1;h&&n.scopes.vSlot++,q_(f,e,n,!1,i),h&&n.scopes.vSlot--}else if(f.type===11)q_(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let h=0;h<f.branches.length;h++)q_(f.branches[h],e,n,f.branches[h].children.length===1,i)}let s=!1;if(a.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&et(e.codegenNode.children))e.codegenNode.children=l(Fu(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!et(e.codegenNode.children)&&e.codegenNode.children.type===15){const c=u(e.codegenNode,"default");c&&(c.returns=l(Fu(c.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!et(t.codegenNode.children)&&t.codegenNode.children.type===15){const c=Ni(e,"slot",!0),f=c&&c.arg&&u(t.codegenNode,c.arg);f&&(f.returns=l(Fu(f.returns)),s=!0)}}if(!s)for(const c of a)c.codegenNode=n.cache(c.codegenNode);function l(c){const f=n.cache(c);return i&&n.hmr&&(f.needArraySpread=!0),f}function u(c,f){if(c.children&&!et(c.children)&&c.children.type===15){const h=c.children.properties.find(d=>d.key===f||d.key.content===f);return h&&h.value}}a.length&&n.transformHoist&&n.transformHoist(o,n,e)}function so(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const r=n.get(e);if(r!==void 0)return r;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let a=3;const s=MH(e,t);if(s===0)return n.set(e,0),0;s<a&&(a=s);for(let l=0;l<e.children.length;l++){const u=so(e.children[l],t);if(u===0)return n.set(e,0),0;u<a&&(a=u)}if(a>1)for(let l=0;l<e.props.length;l++){const u=e.props[l];if(u.type===7&&u.name==="bind"&&u.exp){const c=so(u.exp
2025-03-19 20:41:12 +08:00
`+" ".repeat(m),0)}return d}function kH(e,t={}){const n=Wce(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:o,indent:a,deindent:s,newline:l,scopeId:u,ssr:c}=n,f=Array.from(e.helpers),h=f.length>0,d=!o&&r!=="module";jce(e,n);const m=c?"ssrRender":"render",_=(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${m}(${_}) {`),a(),d&&(i("with (_ctx) {"),a(),h&&(i(`const { ${f.map(NH).join(", ")} } = _Vue
2025-03-24 20:42:16 +08:00
`,-1),l())),e.components.length&&(NC(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(NC(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),NC(e.filters,"filter",n),l()),e.temps>0){i("let ");for(let b=0;b<e.temps;b++)i(`${b>0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
2025-03-19 20:41:12 +08:00
`,0),l()),c||i("return "),e.codegenNode?wi(e.codegenNode,n):i("null"),d&&(s(),i("}")),s(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function jce(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:o,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=t,u=s,c=Array.from(e.helpers);if(c.length>0&&(i(`const _Vue = ${u}
2025-03-24 20:42:16 +08:00
`,-1),e.hoists.length)){const f=[xS,CS,sp,TS,gR].filter(h=>c.includes(h)).map(NH).join(", ");i(`const { ${f} } = _Vue
`,-1)}Xce(e.hoists,t),o(),i("return ")}function NC(e,t,{helper:n,push:r,newline:i,isTS:o}){const a=n(t==="filter"?RS:t==="component"?ES:IS);for(let s=0;s<e.length;s++){let l=e[s];const u=l.endsWith("__self");u&&(l=l.slice(0,-6)),r(`const ${Wh(l,t)} = ${a}(${JSON.stringify(l)}${u?", true":""})${o?"!":""}`),s<e.length-1&&i()}}function Xce(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){const o=e[i];o&&(n(`const _hoisted_${i+1} = `),wi(o,t),r())}t.pure=!1}function AR(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),zm(e,t,n),n&&t.deindent(),t.push("]")}function zm(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let a=0;a<e.length;a++){const s=e[a];Mt(s)?i(s,-3):et(s)?AR(s,t):wi(s,t),a<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function wi(e,t){if(Mt(e)){t.push(e,-3);return}if(Vi(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:wi(e.codegenNode,t);break;case 2:Yce(e,t);break;case 4:FH(e,t);break;case 5:Kce(e,t);break;case 12:wi(e.codegenNode,t);break;case 8:$H(e,t);break;case 3:qce(e,t);break;case 13:Jce(e,t);break;case 14:efe(e,t);break;case 15:tfe(e,t);break;case 17:nfe(e,t);break;case 18:rfe(e,t);break;case 19:ife(e,t);break;case 20:ofe(e,t);break;case 21:zm(e.body,t,!0,!1);break}}function Yce(e,t){t.push(JSON.stringify(e.content),-3,e)}function FH(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Kce(e,t){const{push:n,helper:r,pure:i}=t;i&&n($S),n(`${r(Bm)}(`),wi(e.content,t),n(")")}function $H(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Mt(r)?t.push(r,-3):wi(r,t)}}function Zce(e,t){const{push:n}=t;if(e.type===8)n("["),$H(e,t),n("]");else if(e.isStatic){const r=Vm(e.content)?e.content:JSON.stringify(e.content);n(r,-2,e)}else n(`[${e.content}]`,-3,e)}function qce(e,t){const{push:n,helper:r,pure:i}=t;i&&n($S),n(`${r(sp)}(${JSON.stringify(e.content)})`,-3,e)}function Jce(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:a,children:s,patchFlag:l,dynamicProps:u,directives:c,isBlock:f,disableTracking:h,isComponent:d}=e;let v;l&&(v=String(l)),c&&n(r(PS)+"("),f&&n(`(${r(ju)}(${h?"true":""}), `),i&&n($S);const m=f?jf(t.inSSR,d):Wf(t.inSSR,d);n(r(m)+"(",-2,e),zm(Qce([o,a,s,v,u]),t),n(")"),f&&n(")"),c&&(n(", "),wi(c,t),n(")"))}function Qce(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function efe(e,t){const{push:n,helper:r,pure:i}=t,o=Mt(e.callee)?e.callee:r(e.callee);i&&n($S),n(o+"(",-2,e),zm(e.arguments,t),n(")")}function tfe(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:a}=e;if(!a.length){n("{}",-2,e);return}const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let l=0;l<a.length;l++){const{key:u,value:c}=a[l];Zce(u,t),n(": "),wi(c,t),l<a.length-1&&(n(","),o())}s&&i(),n(s?"}":" }")}function nfe(e,t){AR(e.elements,t)}function rfe(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:a,body:s,newline:l,isSlot:u}=e;u&&n(`_${zf[NS]}(`),n("(",-2,e),et(o)?zm(o,t):o&&wi(o,t),n(") => "),(l||s)&&(n("{"),r()),a?(l&&n("return "),et(a)?AR(a,t):wi(a,t)):s&&wi(s,t),(l||s)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function ife(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:a,indent:s,deindent:l,newline:u}=t;if(n.type===4){const f=!Vm(n.content);f&&a("("),FH(n,t),f&&a(")")}else a("("),wi(n,t),a(")");o&&s(),t.indentLevel++,o||a(" "),a("? "),wi(r,t),t.indentLevel--,o&&u(),o||a(" "),a(": ");const c=i.type===19;c||t.indentLevel++,wi(i,t),c||t.indentLevel--,o&&l(!0)}function ofe(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:a}=t,{needPauseTracking:s,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(em)}(-1`),e.inVOnce&&n(", true"),n("),"),a(),n("(")),n(`_cache[${e.index}] = `),wi(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),a(),n(`${r(em)}(1),`),a(),n(`_cache[${e.index}]`),o()),n(")"),l&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yiel
2025-03-18 16:27:38 +08:00
* @vue/compiler-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/const OR=Symbol(""),DR=Symbol(""),LR=Symbol(""),NR=Symbol(""),ib=Symbol(""),kR=Symbol(""),FR=Symbol(""),$R=Symbol(""),BR=Symbol(""),VR=Symbol("");lH({[OR]:"vModelRadio",[DR]:"vModelCheckbox",[LR]:"vModelText",[NR]:"vModelSelect",[ib]:"vModelDynamic",[kR]:"withModifiers",[FR]:"withKeys",[$R]:"vShow",[BR]:"Transition",[VR]:"TransitionGroup"});let Rd;function xfe(e,t=!1){return Rd||(Rd=document.createElement("div")),t?(Rd.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Rd.children[0].getAttribute("foo")):(Rd.innerHTML=e,Rd.textContent)}const UR={parseMode:"html",isVoidTag:i$,isNativeTag:e=>t$(e)||n$(e)||r$(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:xfe,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return BR;if(e==="TransitionGroup"||e==="transition-group")return VR},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},t6=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:$t("style",!0,t.loc),exp:Cfe(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Cfe=(e,t)=>{const n=tI(e);return $t(JSON.stringify(n),!1,t,3)};function Sl(e,t){return Wn(e,t)}const Tfe={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},Efe={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Afe=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Sl(53,i)),t.children.length&&(n.onError(Sl(54,i)),t.children.length=0),{props:[cr($t("innerHTML",!0,i),r||$t("",!0))]}},Ife=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Sl(55,i)),t.children.length&&(n.onError(Sl(56,i)),t.children.length=0),{props:[cr($t("textContent",!0),r?so(r,n)>0?r:br(n.helperString(Bm),[r],i):$t("",!0))]}},Rfe=(e,t,n)=>{const r=MR(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Sl(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||o){let a=LR,s=!1;if(i==="input"||o){const l=Um(t,"type");if(l){if(l.type===7)a=ib;else if(l.value)switch(l.value.content){case"radio":a=OR;break;case"checkbox":a=DR;break;case"file":s=!0,n.onError(Sl(59,e.loc));break}}else SH(t)&&(a=ib)}else i==="select"&&(a=NR);s||(r.needRuntime=n.helper(a))}else n.onError(Sl(57,e.loc));return r.props=r.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),r},Pfe=Hr("passive,once,capture"),Mfe=Hr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Of
2025-03-18 16:27:38 +08:00
* vue v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2025-03-24 20:42:16 +08:00
**/var Vk;function zfe(){return Vk||(Vk=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Vfe,n=Ufe,r=Hfe;function i(l){var u=Object.create(null);if(l)for(var c in l)u[c]=l[c];return u.default=l,Object.freeze(u)}var o=i(n);const a=Object.create(null);function s(l,u){if(!r.isString(l))if(l.nodeType)l=l.innerHTML;else return r.NOOP;const c=r.genCacheKey(l,u),f=a[c];if(f)return f;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const h=r.extend({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},u);!h.isCustomElement&&typeof customElements<"u"&&(h.isCustomElement=m=>!!customElements.get(m));const{code:d}=t.compile(l,h),v=new Function("Vue",d)(o);return v._rc=!0,a[c]=v}n.registerRuntimeCompiler(s),e.compile=s,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(e,l)&&(e[l]=n[l])})}(LC)),LC}var Uk;function Gfe(){return Uk||(Uk=1,DC.exports=zfe()),DC.exports}/**!
2025-03-18 16:27:38 +08:00
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2025-03-24 20:42:16 +08:00
*/function Hk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ps(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hk(Object(n),!0).forEach(function(r){Wfe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function e1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e1=function(t){return typeof t}:e1=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e1(e)}function Wfe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(){return Ta=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ta.apply(this,arguments)}function jfe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Xfe(e,t){if(e==null)return{};var n=jfe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yfe(e){return Kfe(e)||Zfe(e)||qfe(e)||Jfe()}function Kfe(e){if(Array.isArray(e))return IA(e)}function Zfe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qfe(e,t){if(e){if(typeof e=="string")return IA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IA(e,t)}}function IA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jfe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Qfe="1.14.0";function wl(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Ll=wl(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Gm=wl(/Edge/i),zk=wl(/firefox/i),sg=wl(/safari/i)&&!wl(/chrome/i)&&!wl(/android/i),o6=wl(/iP(ad|od|hone)/i),ede=wl(/chrome/i)&&wl(/android/i),a6={capture:!1,passive:!1};function an(e,t,n){e.addEventListener(t,n,!Ll&&a6)}function Kt(e,t,n){e.removeEventListener(t,n,!Ll&&a6)}function ob(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function tde(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ga(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ob(e,t):ob(e,t))||r&&e===n)return e;if(e===n)break}while(e=tde(e))}return null}var Gk=/\s+/g;function tr(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Gk," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Gk," ")}}function ht(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Pf(e,t){var n="";if(typeof e=="string")n=e;else do{var r=ht(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function s6(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function Cs(){var e=document.scrollingElement;return e||document.documentElement}function Zn(e,t,n,r,i){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,s,l,u,c,f;if(e!==window&&e.parentNode&&e!==Cs()?(o=e.getBoundingClientRect(),a=o.top,s=o.left,l=o.bottom,u=o.right,c=o.height,f=o.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!Ll))do if(i&&i.getBoundingClientRect&&(ht(i,"transform")!=="none"||n&&ht(i,"position")!=="static")){var h=i.getBoundingClientRect();a-=h.top+parseInt(ht(i,"border-top-width")),s-=h.left+parseInt(ht(i,"border-left-width")),l=a+o.height,u=s+o.width;break}while(i=i.parentNode);if(r&&e!==window){var d=Pf(i||e),v=d&&d.a,m=d&&d.d;d&&(a/=m,s/=v,f/=v,c/=m,l=a+c,u=s+f)}return{top:a,left:s,bottom:l,right:u,width:f,height:c}}}function Wk(e,t,n){for(var r=Au(e,!0),i=Zn(e)[t];r;){var o=Zn(r)[n],a=void 0;if(a=i>=o,!a)return r;if(r===Cs())break;r=Au(r,!1)}return!1}function jh(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==Pt.ghost&&(r||a[o]!==Pt.dragged)&&Ga(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function HR(e,t){for(var n=e.lastElementChild;n&&(n===Pt.ghost||ht(n,"display")==="none"||t&&!ob(n,t));)n=n.previousElementSibling;return n||null}function ar(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Pt.clone&&(!t||ob(e,t))&&n++;return n}function jk(e){var t=0,n=0,r=Cs();if(e)do{var i=Pf(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function nde(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Au(e,t){if(!e||!e.getBoundingClientRect)return Cs();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=ht(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Cs();if(r||t)return n;r=!0}}while(n=n.parentNode);return
`)&&(I="(?: "+I+")",M=" "+M,P++),w=new RegExp("^(?:"+I+")",R)),v&&(w=new RegExp("^"+I+"$(?!\\s)",R)),h&&(S=b.lastIndex),T=u.call(E?w:b,M),E?T?(T.input=T.input.slice(P),T[0]=T[0].slice(P),T.index=b.lastIndex,b.lastIndex+=T[0].length):b.lastIndex=0:h&&T&&(b.lastIndex=b.global?T.index+T[0].length:S),v&&T&&T.length>1&&c.call(T[0],w,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(T[C]=void 0)}),T}),i.exports=f},"94ca":function(i,o,a){var s=a("d039"),l=/#|\.prototype\./,u=function(v,m){var y=f[c(v)];return y==d?!0:y==h?!1:typeof m=="function"?s(m):!!m},c=u.normalize=function(v){return String(v).replace(l,".").toLowerCase()},f=u.data={},h=u.NATIVE="N",d=u.POLYFILL="P";i.exports=u},"99af":function(i,o,a){var s=a("23e7"),l=a("d039"),u=a("e8b5"),c=a("861d"),f=a("7b0b"),h=a("50c4"),d=a("8418"),v=a("65f0"),m=a("1dde"),y=a("b622"),_=a("2d00"),b=y("isConcatSpreadable"),S=9007199254740991,w="Maximum allowed index exceeded",T=_>=51||!l(function(){var I=[];return I[b]=!1,I.concat()[0]!==I}),C=m("concat"),E=function(I){if(!c(I))return!1;var P=I[b];return P!==void 0?!!P:u(I)},R=!T||!C;s({target:"Array",proto:!0,forced:R},{concat:function(P){var M=f(this),L=v(M,0),k=0,$,W,N,K,Y;for($=-1,N=arguments.length;$<N;$++)if(Y=$===-1?M:arguments[$],E(Y)){if(K=h(Y.length),k+K>S)throw TypeError(w);for(W=0;W<K;W++,k++)W in Y&&d(L,k,Y[W])}else{if(k>=S)throw TypeError(w);d(L,k++,Y)}return L.length=k,L}})},"9bdd":function(i,o,a){var s=a("825a");i.exports=function(l,u,c,f){try{return f?u(s(c)[0],c[1]):u(c)}catch(d){var h=l.return;throw h!==void 0&&s(h.call(l)),d}}},"9bf2":function(i,o,a){var s=a("83ab"),l=a("0cfb"),u=a("825a"),c=a("c04e"),f=Object.defineProperty;o.f=s?f:function(d,v,m){if(u(d),v=c(v,!0),u(m),l)try{return f(d,v,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(d[v]=m.value),d}},"9ed3":function(i,o,a){var s=a("ae93").IteratorPrototype,l=a("7c73"),u=a("5c6c"),c=a("d44e"),f=a("3f8c"),h=function(){return this};i.exports=function(d,v,m){var y=v+" Iterator";return d.prototype=l(s,{next:u(1,m)}),c(d,y,!1,!0),f[y]=h,d}},"9f7f":function(i,o,a){var s=a("d039");function l(u,c){return RegExp(u,c)}o.UNSUPPORTED_Y=s(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),o.BROKEN_CARET=s(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(i,o,a){var s=a("e8b5"),l=a("50c4"),u=a("0366"),c=function(f,h,d,v,m,y,_,b){for(var S=m,w=0,T=_?u(_,b,3):!1,C;w<v;){if(w in d){if(C=T?T(d[w],w,h):d[w],y>0&&s(C))S=c(f,h,C,l(C.length),S,y-1)-1;else{if(S>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[S]=C}S++}w++}return S};i.exports=c},a352:function(i,o){i.exports=r},a434:function(i,o,a){var s=a("23e7"),l=a("23cb"),u=a("a691"),c=a("50c4"),f=a("7b0b"),h=a("65f0"),d=a("8418"),v=a("1dde"),m=a("ae40"),y=v("splice"),_=m("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,S=Math.min,w=9007199254740991,T="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!y||!_},{splice:function(E,R){var I=f(this),P=c(I.length),M=l(E,P),L=arguments.length,k,$,W,N,K,Y;if(L===0?k=$=0:L===1?(k=0,$=P-M):(k=L-2,$=S(b(u(R),0),P-M)),P+k-$>w)throw TypeError(T);for(W=h(I,$),N=0;N<$;N++)K=M+N,K in I&&d(W,N,I[K]);if(W.length=$,k<$){for(N=M;N<P-$;N++)K=N+$,Y=N+k,K in I?I[Y]=I[K]:delete I[Y];for(N=P;N>P-$+k;N--)delete I[N-1]}else if(k>$)for(N=P-$;N>M;N--)K=N+$-1,Y=N+k-1,K in I?I[Y]=I[K]:delete I[Y];for(N=0;N<k;N++)I[N+M]=arguments[N+2];return I.length=P-$+k,W}})},a4d3:function(i,o,a){var s=a("23e7"),l=a("da84"),u=a("d066"),c=a("c430"),f=a("83ab"),h=a("4930"),d=a("fdbf"),v=a("d039"),m=a("5135"),y=a("e8b5"),_=a("861d"),b=a("825a"),S=a("7b0b"),w=a("fc6a"),T=a("c04e"),C=a("5c6c"),E=a("7c73"),R=a("df75"),I=a("241c"),P=a("057f"),M=a("7418"),L=a("06cf"),k=a("9bf2"),$=a("d1e7"),W=a("9112"),N=a("6eeb"),K=a("5692"),Y=a("f772"),ae=a("d012"),ge=a("90e3"),ye=a("b622"),Oe=a("e538"),ke=a("746f"),Ue=a("d44e"),Le=a("69f3"),Xe=a("b727").forEach,fe=Y("hidden"),Ae="Symbol",Se="prototype",Te=ye("toPrimitive"),Ne=Le.set,Be=Le.getterFor(Ae),H=Object[Se],G=l.Symbol,ue=u("JSON","s
2025-03-19 20:41:12 +08:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(re,se){return d(re)||v(re,se)||y(re,se)||_()}function S(re){if(Array.isArray(re))return m(re)}function w(re){if(typeof Symbol<"u"&&Symbol.iterator in Object(re))return Array.from(re)}function T(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2025-03-24 20:42:16 +08:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(re){return S(re)||w(re)||y(re)||T()}var E=a("a352"),R=a.n(E);function I(re){re.parentElement!==null&&re.parentElement.removeChild(re)}function P(re,se,pe){var Ee=pe===0?re.children[0]:re.children[pe-1].nextSibling;re.insertBefore(se,Ee)}var M=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function L(re){var se=Object.create(null);return function(Ee){var We=se[Ee];return We||(se[Ee]=re(Ee))}}var k=/-(\w)/g,$=L(function(re){return re.replace(k,function(se,pe){return pe.toUpperCase()})});a("5db7"),a("73d9");var W=["Start","Add","Remove","Update","End"],N=["Choose","Unchoose","Sort","Filter","Clone"],K=["Move"],Y=[K,W,N].flatMap(function(re){return re}).map(function(re){return"on".concat(re)}),ae={manage:K,manageAndEmit:W,emit:N};function ge(re){return Y.indexOf(re)!==-1}a("caad"),a("2ca0");var ye=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Oe(re){return ye.includes(re)}function ke(re){return["transition-group","TransitionGroup"].includes(re)}function Ue(re){return["id","class","role","style"].includes(re)||re.startsWith("data-")||re.startsWith("aria-")||re.startsWith("on")}function Le(re){return re.reduce(function(se,pe){var Ee=b(pe,2),We=Ee[0],oe=Ee[1];return se[We]=oe,se},{})}function Xe(re){var se=re.$attrs,pe=re.componentData,Ee=pe===void 0?{}:pe,We=Le(Object.entries(se).filter(function(oe){var Ie=b(oe,2),$e=Ie[0];return Ie[1],Ue($e)}));return h(h({},We),Ee)}function fe(re){var se=re.$attrs,pe=re.callBackBuilder,Ee=Le(Ae(se));Object.entries(pe).forEach(function(oe){var Ie=b(oe,2),$e=Ie[0],nt=Ie[1];ae[$e].forEach(function(je){Ee["on".concat(je)]=nt(je)})});var We="[data-draggable]".concat(Ee.draggable||"");return h(h({},Ee),{},{draggable:We})}function Ae(re){return Object.entries(re).filter(function(se){var pe=b(se,2),Ee=pe[0];return pe[1],!Ue(Ee)}).map(function(se){var pe=b(se,2),Ee=pe[0],We=pe[1];return[$(Ee),We]}).filter(function(se){var pe=b(se,2),Ee=pe[0];return pe[1],!ge(Ee)})}a("c740");function Se(re,se){if(!(re instanceof se))throw new TypeError("Cannot call a class as a function")}function Te(re,se){for(var pe=0;pe<se.length;pe++){var Ee=se[pe];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(re,Ee.key,Ee)}}function Ne(re,se,pe){return se&&Te(re.prototype,se),re}var Be=function(se){var pe=se.el;return pe},H=function(se,pe){return se.__draggable_context=pe},G=function(se){return se.__draggable_context},ue=function(){function re(se){var pe=se.nodes,Ee=pe.header,We=pe.default,oe=pe.footer,Ie=se.root,$e=se.realList;Se(this,re),this.defaultNodes=We,this.children=[].concat(C(Ee),C(We),C(oe)),this.externalComponent=Ie.externalComponent,this.rootTransition=Ie.transition,this.tag=Ie.tag,this.realList=$e}return Ne(re,[{key:"render",value:function(pe,Ee){var We=this.tag,oe=this.children,Ie=this._isRootComponent,$e=Ie?{default:function(){return oe}}:oe;return pe(We,Ee,$e)}},{key:"updated",value:function(){var pe=this.defaultNodes,Ee=this.realList;pe.forEach(function(We,oe){H(Be(We),{element:Ee[oe],index:oe})})}},{key:"getUnderlyingVm",value:function(pe){return G(pe)}},{key:"getVmIndexFromDomIndex",value:function(pe,Ee){var We=this.defaultNodes,oe=We.length,Ie=Ee.chi
2025-03-18 16:27:38 +08:00
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
2025-03-24 20:42:16 +08:00
***************************************************************************** */var kA=function(e,t){return kA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},kA(e,t)};function st(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kA(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var YR=12,lhe="sans-serif",Xf=YR+"px "+lhe,uhe=20,che=100,fhe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function dhe(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-uhe)/che;t[r]=i}return t}var hhe=dhe(fhe),up={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var i=up.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==r&&(t=e.font=r||Xf),e.measureText(n);n=n||"",r=r||Xf;var o=/((?:\d+)?\.?\d*)px/.exec(r),a=o&&+o[1]||YR,s=0;if(r.indexOf("mono")>=0)s=a*n.length;else for(var l=0;l<n.length;l++){var u=hhe[n[l]];s+=u==null?a:u*a}return{width:s}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}},T6=cp(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),E6=cp(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),jm=Object.prototype.toString,VS=Array.prototype,phe=VS.forEach,vhe=VS.filter,KR=VS.slice,ghe=VS.map,eF=(function(){}).constructor,L0=eF?eF.prototype:null,ZR="__proto__",mhe=2311;function A6(){return mhe++}function qR(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function fn(e){if(e==null||typeof e!="object")return e;var t=e,n=jm.call(e);if(n==="[object Array]"){if(!hg(e)){t=[];for(var r=0,i=e.length;r<i;r++)t[r]=fn(e[r])}}else if(E6[n]){if(!hg(e)){var o=e.constructor;if(o.from)t=o.from(e);else{t=new o(e.length);for(var r=0,i=e.length;r<i;r++)t[r]=e[r]}}}else if(!T6[n]&&!hg(e)&&!im(e)){t={};for(var a in e)e.hasOwnProperty(a)&&a!==ZR&&(t[a]=fn(e[a]))}return t}function Sn(e,t,n){if(!Rt(t)||!Rt(e))return n?fn(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==ZR){var i=e[r],o=t[r];Rt(o)&&Rt(i)&&!ft(o)&&!ft(i)&&!im(o)&&!im(i)&&!tF(o)&&!tF(i)&&!hg(o)&&!hg(i)?Sn(i,o,n):(n||!(r in e))&&(e[r]=fn(t[r]))}return e}function Je(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==ZR&&(e[n]=t[n]);return e}function An(e,t,n){for(var r=Jn(t),i=0,o=r.length;i<o;i++){var a=r[i];e[a]==null&&(e[a]=t[a])}return e}function Rn(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function yhe(e,t){var n=e.prototype;function r(){}r.prototype=t.prototype,e.prototype=new r;for(var i in n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function Ns(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];o!=="constructor"&&e[o]==null&&(e[o]=t[o])}else An(e,t)}function go(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function te(e,t,n){if(e&&t)if(e.forEach&&e.forEach===phe)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function Dt(e,t,n){if(!e)return[];if(!t)return JR(e);if(e.map&&e.map===ghe)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function cp(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function Kr(e,t,n){if(!e)return[];if(!t)return JR(e);if(e.filter&&e.filter===vhe)return e.filter(t,n);f
`),o=i.length;if(o===1)return iF(i[0],t,n,r);for(var a=new wn(0,0,0,0),s=0;s<i.length;s++){var l=iF(i[s],t,n,r);s===0?a.copy(l):a.union(l)}return a}function Dv(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function nh(e,t,n){return n==="middle"?e-=t/2:n==="bottom"&&(e-=t),e}function iP(e){return No("国",e)}function Kf(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function k6(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=Kf(r[0],n.width),u+=Kf(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var jC=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Ghe(e,t,n,r,i,o){if(!n){e.text="",e.isTruncated=!1;return}var a=(t+"").split(`
2025-03-19 20:41:12 +08:00
`);o=F6(n,r,i,o);for(var s=!1,l={},u=0,c=a.length;u<c;u++)$6(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;e.text=a.join(`
2025-03-24 20:42:16 +08:00
`),e.isTruncated=s}function F6(e,t,n,r){r=r||{};var i=Je({},r);i.font=t,n=sn(n,"..."),i.maxIterations=sn(r.maxIterations,2);var o=i.minChar=sn(r.minChar,0);i.cnCharWidth=No("国",t);var a=i.ascCharWidth=No("a",t);i.placeholder=sn(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<o&&s>=a;l++)s-=a;var u=No(n,t);return u>s&&(n="",u=0),s=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function $6(e,t,n){var r=n.containerWidth,i=n.font,o=n.contentWidth;if(!r){e.textLine="",e.isTruncated=!1;return}var a=No(t,i);if(a<=r){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(a<=o||s>=n.maxIterations){t+=n.ellipsis;break}var l=s===0?Whe(t,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(t.length*o/a):0;t=t.substr(0,l),a=No(t,i)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function Whe(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function jhe(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,i=t.font,o=n==="truncate",a=iP(i),s=sn(t.lineHeight,a),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=!1,f=t.width,h;f!=null&&(n==="break"||n==="breakAll")?h=e?B6(e,t.font,f,n==="breakAll",0).lines:[]:h=e?e.split(`
`):[];var d=h.length*s,v=sn(t.height,d);if(d>v&&u){var m=Math.floor(v/s);c=c||h.length>m,h=h.slice(0,m)}if(e&&o&&f!=null)for(var y=F6(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),_={},b=0;b<h.length;b++)$6(_,h[b],y),h[b]=_.textLine,c=c||_.isTruncated;for(var S=v,w=0,b=0;b<h.length;b++)w=Math.max(No(h[b],i),w);f==null&&(f=w);var T=w;return r&&(S+=r[0]+r[2],T+=r[1]+r[3],f+=r[1]+r[3]),l&&(T=f),{lines:h,height:v,outerWidth:T,outerHeight:S,lineHeight:s,calculatedLineHeight:a,contentWidth:w,contentHeight:d,width:f,isTruncated:c}}var Xhe=function(){function e(){}return e}(),oF=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),Yhe=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function Khe(e,t){var n=new Yhe;if(e!=null&&(e+=""),!e)return n;for(var r=t.width,i=t.height,o=t.overflow,a=(o==="break"||o==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:o==="breakAll"}:null,s=jC.lastIndex=0,l;(l=jC.exec(e))!=null;){var u=l.index;u>s&&XC(n,e.substring(s,u),t,a),XC(n,l[2],t,a,l[1]),s=jC.lastIndex}s<e.length&&XC(n,e.substring(s,e.length),t,a);var c=[],f=0,h=0,d=t.padding,v=o==="truncate",m=t.lineOverflow==="truncate",y={};function _(ge,ye,Oe){ge.width=ye,ge.lineHeight=Oe,f+=Oe,h=Math.max(h,ye)}e:for(var b=0;b<n.lines.length;b++){for(var S=n.lines[b],w=0,T=0,C=0;C<S.tokens.length;C++){var E=S.tokens[C],R=E.styleName&&t.rich[E.styleName]||{},I=E.textPadding=R.padding,P=I?I[1]+I[3]:0,M=E.font=R.font||t.font;E.contentHeight=iP(M);var L=sn(R.height,E.contentHeight);if(E.innerHeight=L,I&&(L+=I[0]+I[2]),E.height=L,E.lineHeight=s1(R.lineHeight,t.lineHeight,L),E.align=R&&R.align||t.align,E.verticalAlign=R&&R.verticalAlign||"middle",m&&i!=null&&f+E.lineHeight>i){var k=n.lines.length;C>0?(S.tokens=S.tokens.slice(0,C),_(S,T,w),n.lines=n.lines.slice(0,b+1)):n.lines=n.lines.slice(0,b),n.isTruncated=n.isTruncated||n.lines.length<k;break e}var $=R.width,W=$==null||$==="auto";if(typeof $=="string"&&$.charAt($.length-1)==="%")E.percentWidth=$,c.push(E),E.contentWidth=No(E.text,M);else{if(W){var N=R.backgroundColor,K=N&&N.image;K&&(K=Uhe(K),GS(K)&&(E.width=Math.max(E.width,K.width*L/K.height)))}var Y=v&&r!=null?r-T:null;Y!=null&&Y<E.width?!W||Y<P?(E.text="",E.width=E.contentWidth=0):(Ghe(y,E.text,Y-P,M,t.ellipsis,{minChar:t.truncateMinChar}),E.text=y.text,n.isTruncated=n.isTruncated||y.isTruncated,E.width=E.contentWidth=No(E.text,M)):E.contentWidth=No(E.text,M)}E.width+=P,T+=E.width,R&&(w=Math.max(w,E.lineHeight))}_(S,T,w)}n.outerWidth=n.width=sn(r,h),n.outerHeight=n.height=sn(i,f),n.contentHeight=f,n.contentWidth=h,d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]);for(var b=0;b<c.length;b++){var E=c[b],ae=E.percentWidth;E.width=parseInt(ae,10)/100*n.width}return n}function XC(e,t,n,r,i){var o=t==="",a=i&&n.rich[i]||{},s=e.lines,l=a.font||n.font,u=!1,c,f;if(r){var h=a.padding,d=h?h[1]+h[3]:0;if(a.width!=null&&a.width!=="auto"){var v=Kf(a.width,r.width)+d;s.length>0&&v+r.accumWidth>r.width&&(c=t.split(`
2025-03-19 20:41:12 +08:00
`),u=!0),r.accumWidth=v}else{var m=B6(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+d,f=m.linesWidths,c=m.lines}}else c=t.split(`
2025-03-24 20:42:16 +08:00
`);for(var y=0;y<c.length;y++){var _=c[y],b=new Xhe;if(b.styleName=i,b.text=_,b.isLineHolder=!_&&!o,typeof a.width=="number"?b.width=a.width:b.width=f?f[y]:No(_,l),!y&&!u){var S=(s[s.length-1]||(s[0]=new oF)).tokens,w=S.length;w===1&&S[0].isLineHolder?S[0]=b:(_||!w||o)&&S.push(b)}else s.push(new oF([b]))}}function Zhe(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var qhe=cp(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Jhe(e){return Zhe(e)?!!qhe[e]:!0}function B6(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,f=0;f<e.length;f++){var h=e.charAt(f);if(h===`
`){l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0;continue}var d=No(h,t),v=r?!1:!Jhe(h);if(o.length?c+d>n:i+c+d>n){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=h,u+=d,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=d)):v?(o.push(l),a.push(u),l=h,u=d):(o.push(h),a.push(d));continue}c+=d,v?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h)}return!o.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}function fp(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function Qhe(e){return[e[0],e[1]]}function aF(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function epe(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function tpe(e){return Math.sqrt(npe(e))}function npe(e){return e[0]*e[0]+e[1]*e[1]}function YC(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function rpe(e,t){var n=tpe(t);return n===0?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function UA(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var ipe=UA;function ope(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var bh=ope;function ya(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function ah(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function sh(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var sF=eP,ape=5e-5;function Rc(e){return e>ape||e<-5e-5}var Pc=[],Dd=[],KC=yh(),ZC=Math.abs,oP=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Rc(this.rotation)||Rc(this.x)||Rc(this.y)||Rc(this.scaleX-1)||Rc(this.scaleY-1)||Rc(this.skewX)||Rc(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(sF(r),this.invTransform=null);return}r=r||yh(),n?this.getLocalTransform(r):sF(r),t&&(n?_h(r,t,r):Hhe(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Pc);var r=Pc[0]<0?-1:1,i=Pc[1]<0?-1:1,o=((Pc[0]-r)*n+r)/Pc[0]||0,a=((Pc[1]-i)*n+i)/Pc[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||yh(),nP(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||yh(),_h(Dd,t.invTransform,n),n=Dd);var r=this.originX,i=this.originY;(r||i)&&(KC[4]=r,KC[5]=i,_h(Dd,n,KC),Dd[4]-=r,Dd[5]-=i,n=Dd),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&ya(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&ya(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&ZC(t[0]-1)>1e-10&&ZC(t[3]-1)>1e-10?Math.sqrt(ZC(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){spe(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=
2025-03-18 16:27:38 +08:00
`,`
`,`
2025-03-24 20:42:16 +08:00
`];function hm(e,t){return t.type=e,t}function f2(e){return e.type==="section"}function pz(e){return f2(e)?Pye:Mye}function vz(e){if(f2(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return te(e.blocks,function(i){var o=vz(i);o>=t&&(t=o+ +(r&&(!o||f2(i)&&!i.noHeader)))}),t}return 0}function Pye(e,t,n,r){var i=t.noHeader,o=Oye(vz(t)),a=[],s=t.blocks||[];Ml(!s||ft(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Yf(u,l)){var c=new vme(u[l],null);s.sort(function(m,y){return c.evaluate(m.sortParam,y.sortParam)})}else l==="seriesDesc"&&s.reverse()}te(s,function(m,y){var _=t.valueFormatter,b=pz(m)(_?Je(Je({},e),{valueFormatter:_}):e,m,y>0?o.html:0,r);b!=null&&a.push(b)});var f=e.renderMode==="richText"?a.join(o.richText):d2(r,a.join(""),i?n:o.html);if(i)return f;var h=c2(t.header,"ordinal",e.useUTC),d=hz(r,e.renderMode).nameStyle,v=dz(r);return e.renderMode==="richText"?gz(e,h,d)+o.richText+f:d2(r,'<div style="'+d+";"+v+';">'+oo(h)+"</div>"+f,n)}function Mye(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=ft(w)?w:[w],Dt(w,function(T,C){return c2(T,ft(d)?d[C]:d,u)})};if(!(o&&a)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=o?"":c2(l,"ordinal",u),d=t.valueType,v=a?[]:c(t.value,t.dataIndex),m=!s||!o,y=!s&&o,_=hz(r,i),b=_.nameStyle,S=_.valueStyle;return i==="richText"?(s?"":f)+(o?"":gz(e,h,b))+(a?"":Nye(e,v,m,y,S)):d2(r,(s?"":f)+(o?"":Dye(h,!s,b))+(a?"":Lye(v,m,y,S)),n)}}function M5(e,t,n,r,i,o){if(e){var a=pz(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function Oye(e){return{html:Iye[e],richText:Rye[e]}}function d2(e,t,n){var r='<div style="clear:both"></div>',i="margin: "+n+"px 0 0",o=dz(e);return'<div style="'+i+";"+o+';">'+t+r+"</div>"}function Dye(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+oo(e)+"</span>"}function Lye(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=ft(e)?e:[e],'<span style="'+o+";"+r+'">'+Dt(e,function(a){return oo(a)}).join("&nbsp;&nbsp;")+"</span>"}function gz(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function Nye(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ft(t)?t.join(" "):t,o)}function kye(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Jf(r)}function mz(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var PT=function(){function e(){this.richTextStyles={},this._nextStyleNameId=r8()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var i=r==="richText"?this._generateStyleName():null,o=aye({color:n,type:t,renderMode:r,markerId:i});return bt(o)?o:(this.richTextStyles[i]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};ft(n)?te(n,function(o){return Je(r,o)}):Je(r,n);var i=this._generateStyleName();return this.richTextStyles[i]=r,"{"+i+"|"+t+"}"},e}();function Fye(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),a=o.length,s=t.getRawValue(n),l=ft(s),u=kye(t,n),c,f,h,d;if(a>1||l&&!a){var v=$ye(s,t,n,o,u);c=v.inlineValues,f=v.inlineValueTypes,h=v.blocks,d=v.inlineValues[0]}else if(a){var m=i.getDimensionInfo(o[0]);d=c=Qh(i,n,o[0]),f=m.type}else d=c=l?s[0]:s;var y=lP(t),_=y&&t.name||"",b=i.getName(n),S=r?_:b;return hm("section",{header:_,noHeader:r||!y,sortParam:d,blocks:[hm("nameValue",{markerType:"item",markerColor:u,name:S,noName:!Ss(S),value:c,valueType:f,dataIndex:n})].concat(h||[])})}function $ye(e,t,n,r,i){var o=t.getData(),a=cp(e,function(f,h,d){var v=o.getDimensionInfo(d);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];r.length?te(r,function(f){c(Qh(o,n,f),f)}):te(e,c);function c(f,h){var d=o.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(a?u.push
2025-03-18 16:27:38 +08:00
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
2025-03-24 20:42:16 +08:00
*/var b1={},kz={};function g_e(e){delete kz[e]}function m_e(e){if(!e)return!1;if(typeof e=="string")return vb(e,1)<XA;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=vb(t[i].color,1);return n/=r,n<XA}return!1}var y_e=function(){function e(t,n,r){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=t;var o=new s_e,a=r.renderer||"canvas";b1[a]||(a=Jn(b1)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var s=new b1[a](n,o,r,t),l=r.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u=!Nt.node&&!Nt.worker&&!l?new v_e(s.getViewportRoot(),s.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?Nt.touchEventsSupported:!!c,h=44,d;f&&(d=sn(r.pointerSize,h)),this.handler=new Oz(o,s,u,s.root,d),this.animation=new l_e({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=m_e(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var n,r=ch();this._needsRefresh&&(n=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var i=ch();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof xi&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,g_e(this.id))},e}();function t3(e,t){var n=new y_e(A6(),e,t);return kz[n.id]=n,n}function __e(e,t){b1[e]=t}var Fz="";typeof navigator<"u"&&(Fz
2025-03-18 16:27:38 +08:00
2025-03-24 20:42:16 +08:00
`:"<br/>",_=f.join(y);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(s,d,a[0],a[1],this._tooltipContent,u):this._showTooltipContent(s,_,u,Math.random()+"",a[0],a[1],d,null,h)})},t.prototype._showSeriesItemTooltip=function(n,r,i){var o=this._ecModel,a=Ln(r),s=a.seriesIndex,l=o.getSeriesByIndex(s),u=a.dataModel||l,c=a.dataIndex,f=a.dataType,h=u.getData(f),d=this._renderMode,v=n.positionDefault,m=mv([h.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),y=m.get("trigger");if(!(y!=null&&y!=="item")){var _=u.getDataParams(c,f),b=new PT;_.marker=b.makeTooltipMarker("item",Jf(_.color),d);var S=I5(u.formatTooltip(c,!1,f)),w=m.get("order"),T=m.get("valueFormatter"),C=S.frag,E=C?M5(T?Je({valueFormatter:T},C):C,b,d,w,o.get("useUTC"),m.get("textStyle")):S.text,R="item_"+u.name+"_"+c;this._showOrMove(m,function(){this._showTooltipContent(m,E,_,R,n.offsetX,n.offsetY,n.position,n.target,b)}),i({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,i){var o=this._renderMode==="html",a=Ln(r),s=a.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(bt(l)){var c=l;l={content:c,formatter:c},u=!0}u&&o&&l.content&&(l=fn(l),l.content=oo(l.content));var f=[l],h=this._ecModel.getComponent(a.componentMainType,a.componentIndex);h&&f.push(h),f.push({formatter:l.content});var d=n.positionDefault,v=mv(f,this._tooltipModel,d?{position:d}:null),m=v.get("content"),y=Math.random()+"",_=new PT;this._showOrMove(v,function(){var b=fn(v.get("formatterParams")||{});this._showTooltipContent(v,m,b,y,n.offsetX,n.offsetY,n.position,r,_)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,i,o,a,s,l,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var f=this._tooltipContent;f.setEnterable(n.get("enterable"));var h=n.get("formatter");l=l||n.get("position");var d=r,v=this._getNearestPoint([a,s],i,n.get("trigger"),n.get("borderColor")),m=v.color;if(h)if(bt(h)){var y=n.ecModel.get("useUTC"),_=ft(i)?i[0]:i,b=_&&_.axisType&&_.axisType.indexOf("time")>=0;d=h,b&&(d=ow(_.axisValue,d,y)),d=cz(d,i,!0)}else if(Gt(h)){var S=qn(function(w,T){w===this._ticket&&(f.setContent(T,c,n,m,l),this._updatePosition(n,l,a,s,f,i,u))},this);this._ticket=o,d=h(i,o,S)}else d=h;f.setContent(d,c,n,m,l),f.show(n,m),this._updatePosition(n,l,a,s,f,i,u)}},t.prototype._getNearestPoint=function(n,r,i,o){if(i==="axis"||ft(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!ft(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,i,o,a,s,l){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var f=a.getSize(),h=n.get("align"),d=n.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),Gt(r)&&(r=r([i,o],s,a.el,v,{viewSize:[u,c],contentSize:f.slice()})),ft(r))i=ki(r[0],u),o=ki(r[1],c);else if(Rt(r)){var m=r;m.width=f[0],m.height=f[1];var y=Ab(m,{width:u,height:c});i=y.x,o=y.y,h=null,d=null}else if(bt(r)&&l){var _=nwe(r,v,f,n.get("borderWidth"));i=_[0],o=_[1]}else{var _=ewe(i,o,a,u,c,h?null:20,d?null:20);i=_[0],o=_[1]}if(h&&(i-=_4(h)?f[0]/2:h==="right"?f[0]:0),d&&(o-=_4(d)?f[1]/2:d==="bottom"?f[1]:0),VG(n)){var _=twe(i,o,a,u,c);i=_[0],o=_[1]}a.moveTo(i,o)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var i=this._lastDataByCoordSys,o=this._cbParamsList,a=!!i&&i.length===n.length;return a&&te(i,function(s,l){var u=s.dataByAxis||[],c=n[l]||{},f=c.dataByAxis||[];a=a&&u.length===f.length,a&&te(u,function(h,d){var v=f[d]||{},m=h.seriesDataIndices||[],y=v.seriesDataIndices||[];a=a&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&m.length===y.length,a&&te(m,function(_,b){var S=y[b];a=a&&_.seriesIndex===S.seriesIndex&&_.dataIndex===S.dataIndex}),o&&te(h.seriesDataIndices,function(_){var b=_.seriesIndex,S=r[b],w=o[b];S&&w&&w.data!==S.data&&(a=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!a},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({typ
`)){var y=new v_;y.newline=!0,u.add(y);return}var _=i.getSeriesByName(m)[0];if(!c.get(m))if(_){var b=_.getData(),S=b.getVisual("legendLineStyle")||{},w=b.getVisual("legendIcon"),T=b.getVisual("style"),C=this._createItem(_,m,v,d,r,n,S,T,w,f,o);C.on("click",Xd(b4,m,null,o,h)).on("mouseover",Xd(F2,_.name,null,o,h)).on("mouseout",Xd($2,_.name,null,o,h)),i.ssr&&C.eachChild(function(E){var R=Ln(E);R.seriesIndex=_.seriesIndex,R.dataIndex=v,R.ssrType="legend"}),c.set(m,!0)}else i.eachRawSeries(function(E){if(!c.get(m)&&E.legendVisualProvider){var R=E.legendVisualProvider;if(!R.containName(m))return;var I=R.indexOfName(m),P=R.getItemVisual(I,"style"),M=R.getItemVisual(I,"legendIcon"),L=xl(P.fill);L&&L[3]===0&&(L[3]=.2,P=Je(Je({},P),{fill:WS(L,"rgba")}));var k=this._createItem(E,m,v,d,r,n,{},P,M,f,o);k.on("click",Xd(b4,null,m,o,h)).on("mouseover",Xd(F2,null,m,o,h)).on("mouseout",Xd($2,null,m,o,h)),i.ssr&&k.eachChild(function($){var W=Ln($);W.seriesIndex=E.seriesIndex,W.dataIndex=v,W.ssrType="legend"}),c.set(m,!0)}},this)},this),a&&this._createSelector(a,r,o,s,l)},t.prototype._createSelector=function(n,r,i,o,a){var s=this.getSelectorGroup();k2(n,function(u){var c=u.type,f=new yo({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});s.add(f);var h=r.getModel("selectorLabel"),d=r.getModel(["emphasis","selectorLabel"]);TP(f,{normal:h,emphasis:d},{defaultText:u.title}),e2(f)})},t.prototype._createItem=function(n,r,i,o,a,s,l,u,c,f,h){var d=n.visualDrawType,v=a.get("itemWidth"),m=a.get("itemHeight"),y=a.isSelected(r),_=o.get("symbolRotate"),b=o.get("symbolKeepAspect"),S=o.get("icon");c=S||c||"roundRect";var w=awe(c,o,l,u,d,y,h),T=new v_,C=o.getModel("textStyle");if(Gt(n.getLegendIcon)&&(!S||S==="inherit"))T.add(n.getLegendIcon({itemWidth:v,itemHeight:m,icon:c,iconRotate:_,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:b}));else{var E=S==="inherit"&&n.getData().getVisual("symbol")?_==="inherit"?n.getData().getVisual("symbolRotate"):_:0;T.add(swe({itemWidth:v,itemHeight:m,icon:c,iconRotate:E,itemStyle:w.itemStyle,symbolKeepAspect:b}))}var R=s==="left"?v+5:-5,I=s,P=a.get("formatter"),M=r;bt(P)&&P?M=P.replace("{name}",r??""):Gt(P)&&(M=P(r));var L=y?C.getTextColor():o.get("inactiveColor");T.add(new yo({style:Jh(C,{text:M,x:R,y:m/2,fill:L,align:I,verticalAlign:"middle"},{inheritColor:L})}));var k=new qr({shape:T.getBoundingRect(),style:{fill:"transparent"}}),$=o.getModel("tooltip");return $.get("show")&&ew({el:k,componentModel:a,itemName:r,itemTooltipOption:$.option}),T.add(k),T.eachChild(function(W){W.silent=!0}),k.silent=!f,this.getContentGroup().add(T),e2(T),T.__legendDataIndex=i,T},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getContentGroup(),u=this.getSelectorGroup();wg(n.get("orient"),l,n.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),a){wg("horizontal",u,n.get("selectorItemGap",!0));var h=u.getBoundingRect(),d=[-h.x,-h.y],v=n.get("selectorButtonGap",!0),m=n.getOrient().index,y=m===0?"width":"height",_=m===0?"height":"width",b=m===0?"y":"x";s==="end"?d[m]+=c[y]+v:f[m]+=h[y]+v,d[1-m]+=c[_]/2-h[_]/2,u.x=d[0],u.y=d[1],l.x=f[0],l.y=f[1];var S={x:0,y:0};return S[y]=c[y]+v+h[y],S[_]=Math.max(c[_],h[_]),S[b]=Math.min(0,h[b]+d[1-m]),S}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Os);function awe(e,t,n,r,i,o,a){function s(y,_){y.lineWidth==="auto"&&(y.lineWidth=_.lineWidth>0?2:0),k2(y,function(b,S){y[S]==="inherit"&&(y[S]=_[S])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:x2(f,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),s(u,r);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke=
`||i==="")){var o=e.isSelected(i);Yf(n,i)?n[i]=n[i]&&o:n[i]=o}}),n}function uwe(e){e.registerAction("legendToggleSelect","legendselectchanged",Vr(yv,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Vr(yv,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Vr(yv,"inverseSelect")),e.registerAction("legendSelect","legendselected",Vr(yv,"select")),e.registerAction("legendUnSelect","legendunselected",Vr(yv,"unSelect"))}function jG(e){e.registerComponentModel(N2),e.registerComponentView(GG),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,lwe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),uwe(e)}var cwe=function(e){st(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,r,i){var o=fw(n);e.prototype.init.call(this,n,r,i),w4(this,n,o)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),w4(this,this.option,n)},t.type="legend.scroll",t.defaultOption=Gme(N2.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(N2);function w4(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,ep(t,n,{type:"box",ignoreSize:!!i})}var x4=xi,oE=["width","height"],aE=["x","y"],fwe=function(e){st(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new x4),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new x4)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,r,i,o,a,s,l){var u=this;e.prototype.renderInner.call(this,n,r,i,o,a,s,l);var c=this._controllerGroup,f=r.get("pageIconSize",!0),h=ft(f)?f:[f,f];v("pagePrev",0);var d=r.getModel("pageTextStyle");c.add(new yo({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(m,y){var _=m+"DataIndex",b=xP(r.get("pageIcons",!0)[r.getOrient().name][y],{onclick:qn(u._pageGo,u,_,r,o)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});b.name=m,c.add(b)}},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getSelectorGroup(),u=n.getOrient().index,c=oE[u],f=aE[u],h=oE[1-u],d=aE[1-u];a&&wg("horizontal",l,n.get("selectorItemGap",!0));var v=n.get("selectorButtonGap",!0),m=l.getBoundingRect(),y=[-m.x,-m.y],_=fn(i);a&&(_[c]=i[c]-m[c]-v);var b=this._layoutContentAndController(n,o,_,u,c,h,d,f);if(a){if(s==="end")y[u]+=b[c]+v;else{var S=m[c]+v;y[u]-=S,b[f]-=S}b[c]+=m[c]+v,y[1-u]+=b[d]+b[h]/2-m[h]/2,b[h]=Math.max(b[h],m[h]),b[d]=Math.min(b[d],m[d]+y[1-u]),l.x=y[0],l.y=y[1],l.markRedraw()}return b},t.prototype._layoutContentAndController=function(n,r,i,o,a,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,h=this._controllerGroup;wg(n.get("orient"),c,n.get("itemGap"),o?i.width:null,o?null:i.height),wg("horizontal",h,n.get("pageButtonItemGap",!0));var d=c.getBoundingRect(),v=h.getBoundingRect(),m=this._showController=d[a]>i[a],y=[-d.x,-d.y];r||(y[o]=c[u]);var _=[0,0],b=[-v.x,-v.y],S=sn(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(m){var w=n.get("pageButtonPosition",!0);w==="end"?b[o]+=i[a]-v[a]:_[o]+=v[a]+S}b[1-o]+=d[s]/2-v[s]/2,c.setPosition(y),f.setPosition(_),h.setPosition(b);var T={x:0,y:0};if(T[a]=m?i[a]:d[a],T[s]=Math.max(d[s],v[s]),T[l]=Math.min(0,v[l]+b[1-o]),f.__rectSize=i[a],m){var C={x:0,y:0};C[a]=Math.max(i[a]-v[a]-S,0),C[s]=T[s],f.setClipPath(new qr({shape:C})),f.__rectSize=C[a]}else h.e
2025-03-18 16:27:38 +08:00
<div class="flex items-center my-2 gap-1">
<div class="w-4 h-4 rounded-full" style="background-color: ${a.color}"></div>
${a.seriesName}
(${po(a.data.name).format("HH:mm:ss")}): ${a.data.value}
</div>`}).join(`
2025-03-24 20:42:16 +08:00
`);return(o,a)=>(X(),_t(QP,{data:n.value,"label-formatter":r,"tool-tip-formatter":i,min:100},null,8,["data"]))}}),tM=tt({__name:"MemoryCharts",setup(e){const{t}=Qr(),n=xe(()=>[{name:t("memoryUsage"),data:Pv.value}]),r=o=>`${Gn(o,{maximumFractionDigits:1,binary:!0})}`,i=o=>k7(o[0],{binary:!0,suffix:""});return(o,a)=>(X(),_t(QP,{data:n.value,"label-formatter":r,"tool-tip-formatter":i,min:100*1024*1024},null,8,["data"]))}}),nM=tt({__name:"SpeedCharts",setup(e){const t=Me(),{t:n}=Qr(),r=xe(()=>[{name:n("ulSpeed"),data:Ov.value},{name:n("dlSpeed"),data:Mv.value}]),i=a=>`${Gn(a,{maximumFractionDigits:1,binary:!1})}/s`,o=a=>a.map(s=>k7(s,{binary:!1,suffix:"/s"})).join("");return(a,s)=>(X(),_t(QP,{ref_key:"chartRef",ref:t,data:r.value,"label-formatter":i,"tool-tip-formatter":o,min:60*1e3},null,8,["data"]))}}),Swe={class:"card carousel carousel-vertical hover:scrollbar-thin h-28 shrink-0 overflow-x-hidden text-sm"},wwe=tt({__name:"OverviewCarousel",setup(e){return(t,n)=>(X(),q("div",Swe,[z(nM,{class:"carousel-item box-border"}),z(tM,{class:"carousel-item box-border"}),z(eM,{class:"carousel-item box-border"})]))}}),xwe={class:"card mx-1 flex flex-col gap-4 py-2 text-xs"},Cwe={class:"flex flex-col items-center justify-center"},Twe={class:"flex flex-col items-center justify-center"},Ewe={class:"flex flex-col items-center justify-center"},Awe={class:"flex flex-col items-center justify-center"},Iwe={class:"flex flex-col items-center justify-center"},Rwe=tt({__name:"VerticalInfos",setup(e){return(t,n)=>(X(),q("div",xwe,[D("div",Cwe,[z(B(iV),{class:"h-4 w-4"}),qe(" "+ne(B(Qc)[B(Hn).CONNECTIONS]),1)]),D("div",Twe,[z(B(uS),{class:"h-4 w-4"}),qe(" "+ne(B(Qc)[B(Hn).DOWNLOAD])+" ",1),D("span",null,ne(B(Qc)[B(Hn).DL_SPEED]),1)]),D("div",Ewe,[z(B(Pm),{class:"h-4 w-4"}),qe(" "+ne(B(Qc)[B(Hn).UPLOAD])+" ",1),D("span",null,ne(B(Qc)[B(Hn).UL_SPEED]),1)]),D("div",Awe,[z(B(nte),{class:"h-4 w-4"}),qe(" "+ne(B(Qc)[B(Hn).MEMORY_USAGE]),1)]),D("div",Iwe,[D("button",{class:"btn btn-circle btn-sm",onClick:n[0]||(n[0]=r=>za.value=!1)},[z(B(Rl),{class:"h-5 w-5"})])])]))}}),Pwe={class:"menu w-full flex-1"},Mwe=["onMouseenter"],Owe=["onClick"],Dwe={key:1,class:"flex w-full items-center justify-center"},Lwe={class:"card"},Nwe=tt({__name:"SideBar",setup(e){const{showTip:t}=Ls(),{t:n}=Qr(),r=(s,l)=>{za.value&&t(s,n(l),{placement:"right"})},i={[jt.connections]:g6,[jt.logs]:y6,[jt.proxies]:_6,[jt.rules]:b6},o=xe(()=>a.name?i[a.name]:null),a=LI();return(s,l)=>(X(),q("div",{class:mt(["bg-base-200 text-base-content scrollbar-hidden h-full overflow-x-hidden p-2 transition-all",B(za)?"w-18 px-0":"w-[21rem]"])},[D("div",{class:mt(B(bi)("flex h-full flex-col gap-2",B(za)?"w-18":"w-xs"))},[D("ul",Pwe,[(X(!0),q(Ge,null,qt(B(df),u=>(X(),q("li",{key:u,onMouseenter:c=>r(c,u)},[D("a",{class:mt([u===B(a).name?"menu-active":"",B(za)&&"justify-center","py-2"]),onClick:()=>B(Ds).push({name:u})},[(X(),_t(ml(B(CV)[u]),{class:"h-5 w-5"})),B(za)?it("",!0):(X(),q(Ge,{key:0},[qe(ne(s.$t(u)),1)],64))],10,Owe)],40,Mwe))),128))]),B(za)?(X(),q(Ge,{key:0},[B(k_)?(X(),_t(Rwe,{key:0})):(X(),q("div",Dwe,[D("button",{class:"btn btn-circle btn-sm bg-base-300",onClick:l[0]||(l[0]=u=>za.value=!1)},[z(B(Rl),{class:"h-5 w-5"})])]))],64)):(X(),q(Ge,{key:1},[B(a).name!==B(jt).overview?(X(),_t(wwe,{key:0,class:"w-xs"})):it("",!0),D("div",Lwe,[o.value?(X(),_t(ml(o.value),{key:0})):it("",!0),z(she)])],64))],2)],2))}}),lE=Me(!1),XG=()=>({isUIUpdateAvailable:lE,checkUIUpdate:async()=>{lE.value=await oIe(),lE.value&&O_.value&&I7()}}),B2=Me(!1),kwe=()=>{const e=LI(),t=wV(),{proxiesTabShow:n}=bm(),r=Me(),{direction:i}=Bne(r,{threshold:75}),o=xe(()=>mr.flatten(df.value.map(c=>{if(D_.value){if(c===jt.proxies&&Af.value.length>0)return Object.values(fa).map(f=>[()=>e.name===jt.proxies&&n.value===f,()=>{t.push({name:jt.proxies}),n.value=f}]);if(c===jt.connections)return Object.values(Om).map(f=>[()=>e.name===jt.connections&&vh.value===f,()=>{t.push({name:jt.connections}),vh.value=f}]);if(c===jt.rules&&ms.value.length>0)return Object.values(fl).map(f=>[()=>e.name===jt.rules&&Iu.value===f,()=>{t.push({name:jt.rules}
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&u2e[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},O4=Symbol("internals");function _v(e){return e&&String(e).trim().toLowerCase()}function x1(e){return e===!1||e==null?e:be.isArray(e)?e.map(x1):String(e)}function f2e(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const d2e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function uE(e,t,n,r,i){if(be.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!be.isString(t)){if(be.isString(r))return t.indexOf(r)!==-1;if(be.isRegExp(r))return r.test(t)}}function h2e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function p2e(e,t){const n=be.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}let ho=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=_v(l);if(!c)throw new Error("header name must be a non-empty string");const f=be.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=x1(s))}const a=(s,l)=>be.forEach(s,(u,c)=>o(u,c,l));if(be.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(be.isString(t)&&(t=t.trim())&&!d2e(t))a(c2e(t),n);else if(be.isHeaders(t))for(const[s,l]of t.entries())o(l,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=_v(t),t){const r=be.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return f2e(i);if(be.isFunction(n))return n.call(this,i,r);if(be.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_v(t),t){const r=be.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||uE(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=_v(a),a){const s=be.findKey(r,a);s&&(!n||uE(r,r[s],s,n))&&(delete r[s],i=!0)}}return be.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||uE(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return be.forEach(this,(i,o)=>{const a=be.findKey(r,o);if(a){n[a]=x1(i),delete n[o];return}const s=t?h2e(o):String(o).trim();s!==o&&delete n[o],n[s]=x1(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return be.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&be.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[O4]=this[O4]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=_v(a);r[s]||(p2e(i,a),r[s]=!0)}return be.isArray(t)?t.forEach(o):o(t),this}};ho.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(ho.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});be.freezeMethods(ho);function cE(e,t){const n=this||Qm,r=t||n,i=ho.from(r.headers);let o=r.data;return be.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function v7(e){return!!(e&&e.__CANCEL__)}function mp(e,t,n){zt.call(this,e??"canceled",zt.ERR_CANCELED,t,n),this.name="CanceledError"}be.inherits(mp,zt,{__CANCEL__:!0});function g7(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new zt("Request failed with status code "+n.status,[zt.ERR_BAD_REQUEST,zt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function v2e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g2e(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];a||(a=u),n[i]=l,r[i]=u;let f=o,h=0;for(;f!==i;)h+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const d=c&&u-c;return d?Math.round(h*1e3/d):void 0}}function m2e(e,t){let n=0,r=1e3/t,i,o;const a=(u,c=Date.now())=>{n=c,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?a(u,c):(i=u,o||(o=setTimeout(()=>{o=null,a(i)},r-f)))},()=>i&&a(i)]}const kb=(e,t,n=3)=>{let r=0;const i=g2e(50,250);return m2e(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,u=i(l),c=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-a)/u:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},D4=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},L4=e=>(...t)=>be.asap(()=>e(...t)),y2e=yi.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,yi.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(yi.origin),yi.navigator&&/(msie|trident)/i.test(yi.navigator.userAgent)):()=>!0,_2e=yi.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];be.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),be.isString(r)&&a.push("path="+r),be.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function b2e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S2e(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function m7(e,t,n){let r=!b2e(t);return e&&r||n==!1?S2e(e,t):t}const N4=e=>e instanceof ho?{...e}:e;function Qf(e,t){t=t||{};const n={};function r(u,c,f,h){return be.isPlainObject(u)&&be.isPlainObject(c)?be.merge.call({caseless:h},u,c):be.isPlainObject(c)?be.merge({},c):be.isArray(c)?c.slice():c}function i(u,c,f,h){if(be.isUndefined(c)){if(!be.isUndefined(u))return r(void 0,u,f,h)}else return r(u,c,f,h)}function o(u,c){if(!be.isUndefined(c))return r(void 0,c)}function a(u,c){if(be.isUndefined(c)){if(!be.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,
2025-03-19 20:41:12 +08:00
`+o.map($4).join(`
2025-03-24 20:42:16 +08:00
`):" "+$4(o[0]):"as no adapter specified";throw new zt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:j2};function fE(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mp(null,e)}function B4(e){return fE(e),e.headers=ho.from(e.headers),e.data=cE.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),S7.getAdapter(e.adapter||Qm.adapter)(e).then(function(r){return fE(e),r.data=cE.call(e,e.transformResponse,r),r.headers=ho.from(r.headers),r},function(r){return v7(r)||(fE(e),r&&r.response&&(r.response.data=cE.call(e,e.transformResponse,r.response),r.response.headers=ho.from(r.response.headers))),Promise.reject(r)})}const w7="1.8.3",Sw={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sw[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const V4={};Sw.transitional=function(t,n,r){function i(o,a){return"[Axios v"+w7+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new zt(i(a," has been removed"+(n?" in "+n:"")),zt.ERR_DEPRECATED);return n&&!V4[a]&&(V4[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};Sw.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function L2e(e,t,n){if(typeof e!="object")throw new zt("options must be an object",zt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new zt("option "+o+" must be "+l,zt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new zt("Unknown option "+o,zt.ERR_BAD_OPTION)}}const C1={assertOptions:L2e,validators:Sw},ds=C1.validators;let Nf=class{constructor(t){this.defaults=t,this.interceptors={request:new M4,response:new M4}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qf(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&C1.assertOptions(r,{silentJSONParsing:ds.transitional(ds.boolean),forcedJSONParsing:ds.transitional(ds.boolean),clarifyTimeoutError:ds.transitional(ds.boolean)},!1),i!=null&&(be.isFunction(i)?n.paramsSerializer={serialize:i}:C1.assertOptions(i,{encode:ds.function,serialize:ds.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),C1.assertOptions(n,{baseUrl:ds.spelling("baseURL"),withXsrfToken:ds.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&be.merge(o.common,o[n.method]);o&&be.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=ho.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,f=0,h;if(!l){const v=[B4.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),h=v.length,c=Promise.resolve(n);f<h;)c=c.then(v[f++],v[f++]);return c}h=s.length;let d=n;for(f=0;f<h;){const v=s[f++],m=s[f++];try{d=v(d)}catch(y){m.call(this,y);break}}try{c=B4.call(this,d)}catch(v){return Promise.reject(v)}for(f=0,h=u.length;f<h;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Qf(this.defaults,t);const n=m7(t.baseURL,t.url,t.allowAbsoluteUrls);return d7(n,t.params,t.paramsSerializer)}};be.forEach(["delete","get","head","options"],function(t){Nf.prototype[t]=function(n,r){return this.request(Qf(r||{},{method:t,url:n,data:(r||{}).data}))}});be.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,s){return this.request(Qf(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}Nf.prototype[t]=n(),Nf.prototype[t+"Form"]=n(!0)});let N2e=class x7{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new mp(o,a,s),n(r.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=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new x7(function(i){t=i}),cancel:t}}};function k2e(e){return function(n){return e.apply(null,n)}}function F2e(e){return be.isObject(e)&&e.isAxiosError===!0}const X2={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,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeader
2025-03-18 16:27:38 +08:00
<div class="flex items-center my-2 gap-1">
<div class="w-4 h-4 rounded-full" style="background-color: ${e.color}"></div>
${e.seriesName}
(${po(e.data.name).format("HH:mm:ss")}): ${Gn(e.data.value,{binary:r})}${n}
2025-03-24 20:42:16 +08:00
</div>`},K4=()=>{const e={};for(const i in localStorage)(i.startsWith("config/")||i.startsWith("setup/"))&&(e[i]=localStorage.getItem(i));const t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),n=URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download="zashboard-settings",r.click(),URL.revokeObjectURL(n)},qu=e=>`${e.protocol}://${e.host}:${e.port}${e.secondaryPath||""}`,Mu=e=>e===Fi?"":e<wu.value?"text-green-500":e<ul.value?"text-yellow-500":"text-red-500",df=xe(()=>Object.values(jt).filter(e=>![jt.setup,!Jd.value&&jt.overview].includes(e))),F7=()=>{document.querySelectorAll(".custom-theme").forEach(e=>{e.remove()}),Gg.value.forEach(e=>{const t=document.createElement("style"),n=Object.entries(e).filter(([r])=>!["prefersdark","default","name","type","id"].includes(r)).map(([r,i])=>`${r}:${i}`).join(";");t.innerHTML=`[data-theme="${e.name}"] {
2025-03-18 16:27:38 +08:00
${n}
2025-03-24 20:42:16 +08:00
}`,t.className=`custom-theme ${e.name}`,document.head.appendChild(t)})};F7();{const e=t=>{const n=document.createElement("link");n.rel="stylesheet",n.href=t,n.media="print",n.onload=()=>{n.media="all"},document.head.appendChild(n)};e("https://unpkg.com/subsetted-fonts@latest/MiSans-VF/MiSans-VF.css"),e("https://unpkg.com/subsetted-fonts@latest/SarasaUiSC-Regular/SarasaUiSC-Regular.css"),e("https://unpkg.com/subsetted-fonts@latest/PingFangSC-Regular/PingFangSC-Regular.css"),e("https://unpkg.com/@fontsource/fira-sans")}const fM=V1(doe);po.extend(QZ);po.extend(rq);po.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}});fM.use(Ds);fM.use(Lm);fM.mount("#app");