var FZ=Object.defineProperty;var OD=e=>{throw TypeError(e)};var $Z=(e,t,n)=>t in e?FZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Nx=(e,t,n)=>$Z(e,typeof t!="symbol"?t+"":t,n),DD=(e,t,n)=>t.has(e)||OD("Cannot "+n);var as=(e,t,n)=>(DD(e,t,"read from private field"),n?n.call(e):t.get(e)),jy=(e,t,n)=>t.has(e)?OD("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ys=(e,t,n,r)=>(DD(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var kx=(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 Xy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vb(e){if(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 S_={exports:{}},BZ=S_.exports,LD;function jI(){return LD||(LD=1,function(e,t){(function(n,r){e.exports=r()})(BZ,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",s="minute",l="hour",u="day",c="week",f="month",d="quarter",h="year",v="date",m="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|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,S={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])+"]"}},b=function($,W,N){var K=String($);return!K||K.length>=W?$:""+Array(W+1-K.length).join(N)+$},w={s:b,z:function($){var W=-$.utcOffset(),N=Math.abs(W),K=Math.floor(N/60),X=N%60;return(W<=0?"+":"-")+b(K,2,"0")+":"+b(X,2,"0")},m:function $(W,N){if(W.date()1)return $(ge[0])}else{var ye=W.name;C[ye]=W,X=ye}return!K&&X&&(T=X),X||!K&&T},M=function($,W){if(R($))return $.clone();var N=typeof W=="object"?W:{};return N.date=$,N.args=arguments,new D(N)},P=w;P.l=I,P.i=R,P.w=function($,W){return M($,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var D=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 X=K.date,ae=K.utc;if(X===null)return new Date(NaN);if(P.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var ge=X.match(_);if(ge){var ye=ge[2]-1||0,Me=(ge[7]||"0").substring(0,3);return ae?new Date(Date.UTC(ge[1],ye,ge[3]||1,ge[4]||0,ge[5]||0,ge[6]||0,Me)):new Date(ge[1],ye,ge[3]||1,ge[4]||0,ge[5]||0,ge[6]||0,Me)}}return new Date(X)}(N),this.init()},W.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},W.$utils=function(){return P},W.isValid=function(){return this.$d.toString()!==m},W.isSame=function(N,K){var X=M(N);return this.startOf(K)<=X&&X<=this.endOf(K)},W.isAfter=function(N,K){return M(N)=2&&y%10<=4&&(y%100<10||y%100>=20)?S[1]:S[2])}var f=function(v,m){return u.test(m)?o[v.month()]:a[v.month()]};f.s=a,f.f=o;var d=function(v,m){return u.test(m)?s[v.month()]:l[v.month()]};d.s=l,d.f=s;var h={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:f,monthsShort:d,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},ordinal:function(v){return v},meridiem:function(v){return v<4?"ночи":v<12?"утра":v<17?"дня":"вечера"}};return i.default.locale(h,null,!0),h})}(w_)),w_.exports}HZ();var x_={exports:{}},zZ=x_.exports,kD;function GZ(){return kD||(kD=1,function(e,t){(function(n,r){e.exports=r(jI())})(zZ,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=r(n),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"周":a+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})}(x_)),x_.exports}GZ();var C_={exports:{}},WZ=C_.exports,FD;function jZ(){return FD||(FD=1,function(e,t){(function(n,r){e.exports=r()})(WZ,function(){return function(n,r,i){n=n||{};var o=r.prototype,a={future:"in %s",past:"%s ago",s:"a few 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"};function s(u,c,f,d){return o.fromToBase(u,c,f,d)}i.en.relativeTime=a,o.fromToBase=function(u,c,f,d,h){for(var v,m,_,y=f.$locale().relativeTime||a,S=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],b=S.length,w=0;w0,C<=T.r||!T.r){C<=1&&w>0&&(T=S[w-1]);var E=y[T.l];h&&(C=h(""+C)),m=typeof E=="string"?E.replace("%d",C):E(C,c,T.l,_);break}}if(c)return m;var R=_?y.future:y.past;return typeof R=="function"?R(m):R.replace("%s",m)},o.to=function(u,c){return s(u,c,this,!0)},o.from=function(u,c){return s(u,c,this)};var l=function(u){return u.$u?i.utc():i()};o.toNow=function(u){return this.to(l(this),u)},o.fromNow=function(u){return this.from(l(this),u)}}})}(C_)),C_.exports}var XZ=jZ();const YZ=bm(XZ);var T_={exports:{}},KZ=T_.exports,$D;function ZZ(){return $D||($D=1,function(e,t){(function(n,r){e.exports=r()})(KZ,function(){return function(n,r,i){i.updateLocale=function(o,a){var s=i.Ls[o];if(s)return(a?Object.keys(a):[]).forEach(function(l){s[l]=a[l]}),s}}})}(T_)),T_.exports}var qZ=ZZ();const JZ=bm(qZ);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Ur(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Qt={},hf=[],Vr=()=>{},Qd=()=>!1,Zu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ub=e=>e.startsWith("onUpdate:"),tn=Object.assign,Hb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},QZ=Object.prototype.hasOwnProperty,dn=(e,t)=>QZ.call(e,t),Qe=Array.isArray,pf=e=>qf(e)==="[object Map]",qu=e=>qf(e)==="[object Set]",lE=e=>qf(e)==="[object Date]",X4=e=>qf(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",zb=e=>(mn(e)||Ct(e))&&Ct(e.then)&&Ct(e.catch),XI=Object.prototype.toString,qf=e=>XI.call(e),Y4=e=>qf(e).slice(8,-1),Sm=e=>qf(e)==="[object Object]",Gb=e=>Mt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gl=Ur(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K4=Ur("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Wb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},eq=/-(\w)/g,Vn=Wb(e=>e.replace(eq,(t,n)=>n?n.toUpperCase():"")),tq=/\B([A-Z])/g,pi=Wb(e=>e.replace(tq,"-$1").toLowerCase()),Ju=Wb(e=>e.charAt(0).toUpperCase()+e.slice(1)),vf=Wb(e=>e?`on${Ju(e)}`:""),fi=(e,t)=>!Object.is(e,t),gf=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ag=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ig=e=>{const t=Mt(e)?Number(e):NaN;return isNaN(t)?e:t};let BD;const wm=()=>BD||(BD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),nq=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function rq(e){return nq.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function iq(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const oq={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"},aq={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"},sq={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"},lq={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},uq={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},cq="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",KI=Ur(cq),fq=KI,VD=2;function Z4(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=t){for(let l=s-VD;l<=s+VD||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 d=t-(o-(c+f)),h=Math.max(1,n>o?c-d:n-t);a.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(l>s){if(n>o){const d=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(d))}o+=c+f}}break}return a.join(` `)}function pr(e){if(Qe(e)){const t={};for(let n=0;n{if(n){const r=n.split(hq);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function vq(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 gt(e){let t="";if(Mt(e))t=e;else if(Qe(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,Fx={};function wq(e){if(Fx.hasOwnProperty(e))return Fx[e];const t=Sq.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Fx[e]=!t}const xq={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Cq=Ur("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,translate,type,usemap,value,width,wrap"),Tq=Ur("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Eq=Ur("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function Aq(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Iq=/["'&<>]/;function Rq(e){const t=""+e,n=Iq.exec(t);if(!n)return t;let r="",i,o,a=0;for(o=n.index;o||--!>|?@[\\\]^`{|}~]/g;function Oq(e,t){return e.replace(i$,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function Dq(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rEl(n,t))}const o$=e=>!!(e&&e.__v_isRef===!0),ie=e=>Mt(e)?e:e==null?"":Qe(e)||mn(e)&&(e.toString===XI||!Ct(e.toString))?o$(e)?ie(e.value):JSON.stringify(e,a$,2):String(e),a$=(e,t)=>o$(t)?a$(e,t.value):pf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[$x(r,o)+" =>"]=i,n),{})}:qu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$x(n))}:Vi(t)?$x(t):mn(t)&&!Qe(t)&&!Sm(t)?String(t):t,$x=(e,t="")=>{var n;return Vi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Lq=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:hf,EMPTY_OBJ:Qt,NO:Qd,NOOP:Vr,PatchFlagNames:aq,PatchFlags:oq,ShapeFlags:sq,SlotFlags:lq,camelize:Vn,capitalize:Ju,cssVarNameEscapeSymbolsRE:i$,def:YI,escapeHtml:Rq,escapeHtmlComment:Mq,extend:tn,genCacheKey:iq,genPropsAccessExp:rq,generateCodeFrame:Z4,getEscapedCssVarName:Oq,getGlobalThis:wm,hasChanged:fi,hasOwn:dn,hyphenate:pi,includeBooleanAttr:qI,invokeArrayFns:gf,isArray:Qe,isBooleanAttr:bq,isBuiltInDirective:K4,isDate:lE,isFunction:Ct,isGloballyAllowed:KI,isGloballyWhitelisted:fq,isHTMLTag:J4,isIntegerKey:Gb,isKnownHtmlAttr:Cq,isKnownMathMLAttr:Eq,isKnownSvgAttr:Tq,isMap:pf,isMathMLTag:e$,isModelListener:Ub,isObject:mn,isOn:Zu,isPlainObject:Sm,isPromise:zb,isRegExp:X4,isRenderableAttrValue:Aq,isReservedProp:gl,isSSRSafeAttrName:wq,isSVGTag:Q4,isSet:qu,isSpecialBooleanAttr:r$,isString:Mt,isSymbol:Vi,isVoidTag:t$,looseEqual:El,looseIndexOf:xm,looseToNumber:Ag,makeMap:Ur,normalizeClass:gt,normalizeProps:q4,normalizeStyle:pr,objectToString:XI,parseStringStyle:ZI,propsToAttrMap:xq,remove:Hb,slotFlagsText:uq,stringifyStyle:vq,toDisplayString:ie,toHandlerKey:vf,toNumber:Ig,toRawType:Y4,toTypeString:qf},Symbol.toStringTag,{value:"Module"}));/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Pi;class JI{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Pi,!t&&Pi&&(this.index=(Pi.scopes||(Pi.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;t0)return;if(Bv){let t=Bv;for(Bv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$v;){let t=$v;for($v=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 c$(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function f$(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),n2(r),Nq(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function uE(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(d$(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function d$(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pg))return;e.globalVersion=Pg;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!uE(e)){e.flags&=-3;return}const n=$n,r=Ka;$n=e,Ka=!0;try{c$(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{$n=n,Ka=r,f$(e),e.flags&=-3}}function n2(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)n2(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Nq(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function kq(e,t){e.effect instanceof Rg&&(e=e.effect.fn);const n=new Rg(e);t&&tn(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function Fq(e){e.effect.stop()}let Ka=!0;const h$=[];function Qu(){h$.push(Ka),Ka=!1}function ec(){const e=h$.pop();Ka=e===void 0?!0:e}function UD(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=$n;$n=void 0;try{t()}finally{$n=n}}}let Pg=0;class $q{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xb{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!$n||!Ka||$n===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==$n)n=this.activeLink=new $q($n,this),$n.deps?(n.prevDep=$n.depsTail,$n.depsTail.nextDep=n,$n.depsTail=n):$n.deps=$n.depsTail=n,p$(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=$n.depsTail,n.nextDep=void 0,$n.depsTail.nextDep=n,$n.depsTail=n,$n.deps===n&&($n.deps=r)}return n}trigger(t){this.version++,Pg++,this.notify(t)}notify(t){e2();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{t2()}}}function p$(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)p$(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const A1=new WeakMap,mf=Symbol(""),cE=Symbol(""),Mg=Symbol("");function di(e,t,n){if(Ka&&$n){let r=A1.get(e);r||A1.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Xb),i.map=r,i.key=n),i.track()}}function al(e,t,n,r,i,o){const a=A1.get(e);if(!a){Pg++;return}const s=l=>{l&&l.trigger()};if(e2(),t==="clear")a.forEach(s);else{const l=Qe(e),u=l&&Gb(n);if(l&&n==="length"){const c=Number(r);a.forEach((f,d)=>{(d==="length"||d===Mg||!Vi(d)&&d>=c)&&s(f)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),u&&s(a.get(Mg)),t){case"add":l?u&&s(a.get("length")):(s(a.get(mf)),pf(e)&&s(a.get(cE)));break;case"delete":l||(s(a.get(mf)),pf(e)&&s(a.get(cE)));break;case"set":pf(e)&&s(a.get(mf));break}}t2()}function Bq(e,t){const n=A1.get(e);return n&&n.get(t)}function _d(e){const t=un(e);return t===e?t:(di(t,"iterate",Mg),Do(e)?t:t.map(hi))}function Yb(e){return di(e=un(e),"iterate",Mg),e}const Vq={__proto__:null,[Symbol.iterator](){return Vx(this,Symbol.iterator,hi)},concat(...e){return _d(this).concat(...e.map(t=>Qe(t)?_d(t):t))},entries(){return Vx(this,"entries",e=>(e[1]=hi(e[1]),e))},every(e,t){return Ks(this,"every",e,t,void 0,arguments)},filter(e,t){return Ks(this,"filter",e,t,n=>n.map(hi),arguments)},find(e,t){return Ks(this,"find",e,t,hi,arguments)},findIndex(e,t){return Ks(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ks(this,"findLast",e,t,hi,arguments)},findLastIndex(e,t){return Ks(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ks(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ux(this,"includes",e)},indexOf(...e){return Ux(this,"indexOf",e)},join(e){return _d(this).join(e)},lastIndexOf(...e){return Ux(this,"lastIndexOf",e)},map(e,t){return Ks(this,"map",e,t,void 0,arguments)},pop(){return Np(this,"pop")},push(...e){return Np(this,"push",e)},reduce(e,...t){return HD(this,"reduce",e,t)},reduceRight(e,...t){return HD(this,"reduceRight",e,t)},shift(){return Np(this,"shift")},some(e,t){return Ks(this,"some",e,t,void 0,arguments)},splice(...e){return Np(this,"splice",e)},toReversed(){return _d(this).toReversed()},toSorted(e){return _d(this).toSorted(e)},toSpliced(...e){return _d(this).toSpliced(...e)},unshift(...e){return Np(this,"unshift",e)},values(){return Vx(this,"values",hi)}};function Vx(e,t,n){const r=Yb(e),i=r[t]();return r!==e&&!Do(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const Uq=Array.prototype;function Ks(e,t,n,r,i,o){const a=Yb(e),s=a!==e&&!Do(e),l=a[t];if(l!==Uq[t]){const f=l.apply(e,o);return s?hi(f):f}let u=n;a!==e&&(s?u=function(f,d){return n.call(this,hi(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(a,u,r);return s&&i?i(c):c}function HD(e,t,n,r){const i=Yb(e);let o=n;return i!==e&&(Do(e)?n.length>3&&(o=function(a,s,l){return n.call(this,a,s,l,e)}):o=function(a,s,l){return n.call(this,a,hi(s),l,e)}),i[t](o,...r)}function Ux(e,t,n){const r=un(e);di(r,"iterate",Mg);const i=r[t](...n);return(i===-1||i===!1)&&qb(n[0])?(n[0]=un(n[0]),r[t](...n)):i}function Np(e,t,n=[]){Qu(),e2();const r=un(e)[t].apply(e,n);return t2(),ec(),r}const Hq=Ur("__proto__,__v_isRef,__isVue"),v$=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vi));function zq(e){Vi(e)||(e=String(e));const t=un(this);return di(t,"has",e),t.hasOwnProperty(e)}class g${constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?w$:S$:o?b$:_$).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Qe(t);if(!i){let l;if(a&&(l=Vq[n]))return l;if(n==="hasOwnProperty")return zq}const s=Reflect.get(t,n,ht(t)?t:r);return(Vi(n)?v$.has(n):Hq(n))||(i||di(t,"get",n),o)?s:ht(s)?a&&Gb(n)?s:s.value:mn(s)?i?Cm(s):qa(s):s}}class m$ extends g${constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const l=Vu(o);if(!Do(r)&&!Vu(r)&&(o=un(o),r=un(r)),!Qe(t)&&ht(o)&&!ht(r))return l?!1:(o.value=r,!0)}const a=Qe(t)&&Gb(n)?Number(n)e,Yy=e=>Reflect.getPrototypeOf(e);function Yq(e,t,n){return function(...r){const i=this.__v_raw,o=un(i),a=pf(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?fE:t?dE:hi;return!t&&di(o,"iterate",l?cE:mf),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Ky(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Kq(e,t){const n={get(i){const o=this.__v_raw,a=un(o),s=un(i);e||(fi(i,s)&&di(a,"get",i),di(a,"get",s));const{has:l}=Yy(a),u=t?fE:e?dE:hi;if(l.call(a,i))return u(o.get(i));if(l.call(a,s))return u(o.get(s));o!==a&&o.get(i)},get size(){const i=this.__v_raw;return!e&&di(un(i),"iterate",mf),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,a=un(o),s=un(i);return e||(fi(i,s)&&di(a,"has",i),di(a,"has",s)),i===s?o.has(i):o.has(i)||o.has(s)},forEach(i,o){const a=this,s=a.__v_raw,l=un(s),u=t?fE:e?dE:hi;return!e&&di(l,"iterate",mf),s.forEach((c,f)=>i.call(o,u(c),u(f),a))}};return tn(n,e?{add:Ky("add"),set:Ky("set"),delete:Ky("delete"),clear:Ky("clear")}:{add(i){!t&&!Do(i)&&!Vu(i)&&(i=un(i));const o=un(this);return Yy(o).has.call(o,i)||(o.add(i),al(o,"add",i,i)),this},set(i,o){!t&&!Do(o)&&!Vu(o)&&(o=un(o));const a=un(this),{has:s,get:l}=Yy(a);let u=s.call(a,i);u||(i=un(i),u=s.call(a,i));const c=l.call(a,i);return a.set(i,o),u?fi(o,c)&&al(a,"set",i,o):al(a,"add",i,o),this},delete(i){const o=un(this),{has:a,get:s}=Yy(o);let l=a.call(o,i);l||(i=un(i),l=a.call(o,i)),s&&s.call(o,i);const u=o.delete(i);return l&&al(o,"delete",i,void 0),u},clear(){const i=un(this),o=i.size!==0,a=i.clear();return o&&al(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Yq(i,e,t)}),n}function Kb(e,t){const n=Kq(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(dn(n,i)&&i in r?n:r,i,o)}const Zq={get:Kb(!1,!1)},qq={get:Kb(!1,!0)},Jq={get:Kb(!0,!1)},Qq={get:Kb(!0,!0)},_$=new WeakMap,b$=new WeakMap,S$=new WeakMap,w$=new WeakMap;function eJ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tJ(e){return e.__v_skip||!Object.isExtensible(e)?0:eJ(Y4(e))}function qa(e){return Vu(e)?e:Zb(e,!1,Gq,Zq,_$)}function r2(e){return Zb(e,!1,jq,qq,b$)}function Cm(e){return Zb(e,!0,Wq,Jq,S$)}function nJ(e){return Zb(e,!0,Xq,Qq,w$)}function Zb(e,t,n,r,i){if(!mn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=tJ(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Ou(e){return Vu(e)?Ou(e.__v_raw):!!(e&&e.__v_isReactive)}function Vu(e){return!!(e&&e.__v_isReadonly)}function Do(e){return!!(e&&e.__v_isShallow)}function qb(e){return e?!!e.__v_raw:!1}function un(e){const t=e&&e.__v_raw;return t?un(t):e}function x$(e){return!dn(e,"__v_skip")&&Object.isExtensible(e)&&YI(e,"__v_skip",!0),e}const hi=e=>mn(e)?qa(e):e,dE=e=>mn(e)?Cm(e):e;function ht(e){return e?e.__v_isRef===!0:!1}function De(e){return C$(e,!1)}function bi(e){return C$(e,!0)}function C$(e,t){return ht(e)?e:new rJ(e,t)}class rJ{constructor(t,n){this.dep=new Xb,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:un(t),this._value=n?t:hi(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Do(t)||Vu(t);t=r?t:un(t),fi(t,n)&&(this._rawValue=t,this._value=r?t:hi(t),this.dep.trigger())}}function hE(e){e.dep&&e.dep.trigger()}function B(e){return ht(e)?e.value:e}function ha(e){return Ct(e)?e():B(e)}const iJ={get:(e,t,n)=>t==="__v_raw"?e:B(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return ht(i)&&!ht(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function i2(e){return Ou(e)?e:new Proxy(e,iJ)}class oJ{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Xb,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function o2(e){return new oJ(e)}function aJ(e){const t=Qe(e)?new Array(e.length):{};for(const n in e)t[n]=E$(e,n);return t}class sJ{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Bq(un(this._object),this._key)}}class lJ{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function T$(e,t,n){return ht(e)?e:Ct(e)?new lJ(e):mn(e)&&arguments.length>1?E$(e,t,n):De(e)}function E$(e,t,n){const r=e[t];return ht(r)?r:new sJ(e,t,n)}class uJ{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xb(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pg-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&$n!==this)return u$(this,!0),!0}get value(){const t=this.dep.track();return d$(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function cJ(e,t,n=!1){let r,i;return Ct(e)?r=e:(r=e.get,i=e.set),new uJ(r,i,n)}const fJ={GET:"get",HAS:"has",ITERATE:"iterate"},dJ={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Zy={},I1=new WeakMap;let cu;function hJ(){return cu}function A$(e,t=!1,n=cu){if(n){let r=I1.get(n);r||I1.set(n,r=[]),r.push(e)}}function pJ(e,t,n=Qt){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:s,call:l}=n,u=w=>i?w:Do(w)||i===!1||i===0?sl(w,1):sl(w);let c,f,d,h,v=!1,m=!1;if(ht(e)?(f=()=>e.value,v=Do(e)):Ou(e)?(f=()=>u(e),v=!0):Qe(e)?(m=!0,v=e.some(w=>Ou(w)||Do(w)),f=()=>e.map(w=>{if(ht(w))return w.value;if(Ou(w))return u(w);if(Ct(w))return l?l(w,2):w()})):Ct(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Qu();try{d()}finally{ec()}}const w=cu;cu=c;try{return l?l(e,3,[h]):e(h)}finally{cu=w}}:f=Vr,t&&i){const w=f,T=i===!0?1/0:i;f=()=>sl(w(),T)}const _=jb(),y=()=>{c.stop(),_&&_.active&&Hb(_.effects,c)};if(o&&t){const w=t;t=(...T)=>{w(...T),y()}}let S=m?new Array(e.length).fill(Zy):Zy;const b=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const T=c.run();if(i||v||(m?T.some((C,E)=>fi(C,S[E])):fi(T,S))){d&&d();const C=cu;cu=c;try{const E=[T,S===Zy?void 0:m&&S[0]===Zy?[]:S,h];l?l(t,3,E):t(...E),S=T}finally{cu=C}}}else c.run()};return s&&s(b),c=new Rg(f),c.scheduler=a?()=>a(b,!1):b,h=w=>A$(w,!1,c),d=c.onStop=()=>{const w=I1.get(c);if(w){if(l)l(w,4);else for(const T of w)T();I1.delete(c)}},t?r?b(!0):S=c.run():a?a(b.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function sl(e,t=1/0,n){if(t<=0||!mn(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ht(e))sl(e.value,t,n);else if(Qe(e))for(let r=0;r{sl(r,t,n)});else if(Sm(e)){for(const r in e)sl(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&sl(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const I$=[];function vJ(e){I$.push(e)}function gJ(){I$.pop()}function mJ(e,t){}const yJ={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"},_J={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 ep(e,t,n,r){try{return r?e(...r):e()}catch(i){Jf(i,t,n)}}function ya(e,t,n,r){if(Ct(e)){const i=ep(e,t,n,r);return i&&zb(i)&&i.catch(o=>{Jf(o,t,n)}),i}if(Qe(e)){const i=[];for(let o=0;o>>1,i=Di[r],o=Dg(i);o=Dg(n)?Di.push(e):Di.splice(SJ(t),0,e),e.flags|=1,P$()}}function P$(){R1||(R1=R$.then(M$))}function Og(e){Qe(e)?sh.push(...e):fu&&e.id===-1?fu.splice(Gd+1,0,e):e.flags&1||(sh.push(e),e.flags|=1),P$()}function zD(e,t,n=ps+1){for(;nDg(n)-Dg(r));if(sh.length=0,fu){fu.push(...t);return}for(fu=t,Gd=0;Gde.id==null?e.flags&2?-1:1/0:e.id;function M$(e){try{for(ps=0;psWd.emit(i,...o)),qy=[]):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=>{O$(o,t)}),setTimeout(()=>{Wd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qy=[])},3e3)):qy=[]}let Pr=null,Jb=null;function Lg(e){const t=Pr;return Pr=e,Jb=e&&e.type.__scopeId||null,t}function wJ(e){Jb=e}function xJ(){Jb=null}const CJ=e=>qn;function qn(e,t=Pr,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&SE(-1);const o=Lg(t);let a;try{a=e(...i)}finally{Lg(o),r._d&&SE(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function St(e,t){if(Pr===null)return e;const n=Am(Pr),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,Vv=e=>e&&(e.disabled||e.disabled===""),GD=e=>e&&(e.defer||e.defer===""),WD=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jD=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pE=(e,t)=>{const n=e&&e.to;return Mt(n)?t?t(n):null:n},N$={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:v,createText:m,createComment:_}}=u,y=Vv(t.props);let{shapeFlag:S,children:b,dynamicChildren:w}=t;if(e==null){const T=t.el=m(""),C=t.anchor=m("");h(T,n,r),h(C,n,r);const E=(I,M)=>{S&16&&(i&&i.isCE&&(i.ce._teleportTarget=I),c(b,I,M,i,o,a,s,l))},R=()=>{const I=t.target=pE(t.props,v),M=k$(I,t,m,h);I&&(a!=="svg"&&WD(I)?a="svg":a!=="mathml"&&jD(I)&&(a="mathml"),y||(E(I,M),E_(t,!1)))};y&&(E(n,C),E_(t,!0)),GD(t.props)?Ir(()=>{R(),t.el.__isMounted=!0},o):R()}else{if(GD(t.props)&&!e.el.__isMounted){Ir(()=>{N$.process(e,t,n,r,i,o,a,s,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,C=t.target=e.target,E=t.targetAnchor=e.targetAnchor,R=Vv(e.props),I=R?n:C,M=R?T:E;if(a==="svg"||WD(C)?a="svg":(a==="mathml"||jD(C))&&(a="mathml"),w?(d(e.dynamicChildren,w,I,i,o,a,s),m2(e,t,!0)):l||f(e,t,I,M,i,o,a,s,!1),y)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Jy(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=pE(t.props,v);P&&Jy(t,P,null,u,0)}else R&&Jy(t,C,E,u,1);E_(t,y)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(i(u),i(c)),o&&i(l),a&16){const h=o||!Vv(d);for(let v=0;v{e.isMounted=!0}),nS(()=>{e.isUnmounting=!0}),e}const Zo=[Function,Array],l2={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Zo,onEnter:Zo,onAfterEnter:Zo,onEnterCancelled:Zo,onBeforeLeave:Zo,onLeave:Zo,onAfterLeave:Zo,onLeaveCancelled:Zo,onBeforeAppear:Zo,onAppear:Zo,onAfterAppear:Zo,onAppearCancelled:Zo},F$=e=>{const t=e.subTree;return t.component?F$(t.component):t},AJ={name:"BaseTransition",props:l2,setup(e,{slots:t}){const n=Tr(),r=s2();return()=>{const i=t.default&&Qb(t.default(),!0);if(!i||!i.length)return;const o=$$(i),a=un(e),{mode:s}=a;if(r.isLeaving)return Hx(o);const l=XD(o);if(!l)return Hx(o);let u=xh(l,a,r,n,f=>u=f);l.type!==Sr&&Al(l,u);let c=n.subTree&&XD(n.subTree);if(c&&c.type!==Sr&&!Ga(l,c)&&F$(n).type!==Sr){let f=xh(c,a,r,n);if(Al(c,f),s==="out-in"&&l.type!==Sr)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Hx(o);s==="in-out"&&l.type!==Sr?f.delayLeave=(d,h,v)=>{const m=V$(r,c);m[String(c.key)]=c,d[du]=()=>{h(),d[du]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function $$(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Sr){t=n;break}}return t}const B$=AJ;function V$(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function xh(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:_,onAppear:y,onAfterAppear:S,onAppearCancelled:b}=t,w=String(e.key),T=V$(n,e),C=(I,M)=>{I&&ya(I,r,9,M)},E=(I,M)=>{const P=M[1];C(I,M),Qe(I)?I.every(D=>D.length<=1)&&P():I.length<=1&&P()},R={mode:a,persisted:s,beforeEnter(I){let M=l;if(!n.isMounted)if(o)M=_||l;else return;I[du]&&I[du](!0);const P=T[w];P&&Ga(e,P)&&P.el[du]&&P.el[du](),C(M,[I])},enter(I){let M=u,P=c,D=f;if(!n.isMounted)if(o)M=y||u,P=S||c,D=b||f;else return;let k=!1;const $=I[Qy]=W=>{k||(k=!0,W?C(D,[I]):C(P,[I]),R.delayedLeave&&R.delayedLeave(),I[Qy]=void 0)};M?E(M,[I,$]):$()},leave(I,M){const P=String(e.key);if(I[Qy]&&I[Qy](!0),n.isUnmounting)return M();C(d,[I]);let D=!1;const k=I[du]=$=>{D||(D=!0,M(),$?C(m,[I]):C(v,[I]),I[du]=void 0,T[P]===e&&delete T[P])};T[P]=e,h?E(h,[I,k]):k()},clone(I){const M=xh(I,t,n,r,i);return i&&i(M),M}};return R}function Hx(e){if(Tm(e))return e=Is(e),e.children=null,e}function XD(e){if(!Tm(e))return L$(e.type)&&e.children?$$(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ct(n.default))return n.default()}}function Al(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Al(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Qb(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function Ng(e,t,n,r,i=!1){if(Qe(e)){e.forEach((v,m)=>Ng(v,t&&(Qe(t)?t[m]:t),n,r,i));return}if(Du(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ng(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Am(r.component):r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Qt?s.refs={}:s.refs,f=s.setupState,d=un(f),h=f===Qt?()=>!1:v=>dn(d,v);if(u!=null&&u!==l&&(Mt(u)?(c[u]=null,h(u)&&(f[u]=null)):ht(u)&&(u.value=null)),Ct(l))ep(l,s,12,[a,c]);else{const v=Mt(l),m=ht(l);if(v||m){const _=()=>{if(e.f){const y=v?h(l)?f[l]:c[l]:l.value;i?Qe(y)&&Hb(y,o):Qe(y)?y.includes(o)||y.push(o):v?(c[l]=[o],h(l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else v?(c[l]=a,h(l)&&(f[l]=a)):m&&(l.value=a,e.k&&(c[e.k]=a))};a?(_.id=-1,Ir(_,n)):_()}}}let YD=!1;const bd=()=>{YD||(console.error("Hydration completed but contains mismatches."),YD=!0)},PJ=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",MJ=e=>e.namespaceURI.includes("MathML"),e0=e=>{if(e.nodeType===1){if(PJ(e))return"svg";if(MJ(e))return"mathml"}},eh=e=>e.nodeType===8;function OJ(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,c=(b,w)=>{if(!w.hasChildNodes()){n(null,b,w),P1(),w._vnode=b;return}f(w.firstChild,b,null,null,null),P1(),w._vnode=b},f=(b,w,T,C,E,R=!1)=>{R=R||!!w.dynamicChildren;const I=eh(b)&&b.data==="[",M=()=>m(b,w,T,C,E,I),{type:P,ref:D,shapeFlag:k,patchFlag:$}=w;let W=b.nodeType;w.el=b,$===-2&&(R=!1,w.dynamicChildren=null);let N=null;switch(P){case yl:W!==3?w.children===""?(l(w.el=i(""),a(b),b),N=b):N=M():(b.data!==w.children&&(bd(),b.data=w.children),N=o(b));break;case Sr:S(b)?(N=o(b),y(w.el=b.content.firstChild,b,T)):W!==8||I?N=M():N=o(b);break;case bf:if(I&&(b=o(b),W=b.nodeType),W===1||W===3){N=b;const K=!w.children.length;for(let X=0;X{R=R||!!w.dynamicChildren;const{type:I,props:M,patchFlag:P,shapeFlag:D,dirs:k,transition:$}=w,W=I==="input"||I==="option";if(W||P!==-1){k&&vs(w,null,T,"created");let N=!1;if(S(b)){N=fB(null,$)&&T&&T.vnode.props&&T.vnode.props.appear;const X=b.content.firstChild;N&&$.beforeEnter(X),y(X,b,T),w.el=b=X}if(D&16&&!(M&&(M.innerHTML||M.textContent))){let X=h(b.firstChild,w,b,T,C,E,R);for(;X;){t0(b,1)||bd();const ae=X;X=X.nextSibling,s(ae)}}else if(D&8){let X=w.children;X[0]===` `&&(b.tagName==="PRE"||b.tagName==="TEXTAREA")&&(X=X.slice(1)),b.textContent!==X&&(t0(b,0)||bd(),b.textContent=w.children)}if(M){if(W||!R||P&48){const X=b.tagName.includes("-");for(const ae in M)(W&&(ae.endsWith("value")||ae==="indeterminate")||Zu(ae)&&!gl(ae)||ae[0]==="."||X)&&r(b,ae,null,M[ae],void 0,T)}else if(M.onClick)r(b,"onClick",null,M.onClick,void 0,T);else if(P&4&&Ou(M.style))for(const X in M.style)M.style[X]}let K;(K=M&&M.onVnodeBeforeMount)&&Qi(K,T,w),k&&vs(w,null,T,"beforeMount"),((K=M&&M.onVnodeMounted)||k||N)&&bB(()=>{K&&Qi(K,T,w),N&&$.enter(b),k&&vs(w,null,T,"mounted")},C)}return b.nextSibling},h=(b,w,T,C,E,R,I)=>{I=I||!!w.dynamicChildren;const M=w.children,P=M.length;for(let D=0;D{const{slotScopeIds:I}=w;I&&(E=E?E.concat(I):I);const M=a(b),P=h(o(b),w,M,T,C,E,R);return P&&eh(P)&&P.data==="]"?o(w.anchor=P):(bd(),l(w.anchor=u("]"),M,P),P)},m=(b,w,T,C,E,R)=>{if(t0(b.parentElement,1)||bd(),w.el=null,R){const P=_(b);for(;;){const D=o(b);if(D&&D!==P)s(D);else break}}const I=o(b),M=a(b);return s(b),n(null,w,M,I,T,C,e0(M),E),T&&(T.vnode.el=w.el,oS(T,w.el)),I},_=(b,w="[",T="]")=>{let C=0;for(;b;)if(b=o(b),b&&eh(b)&&(b.data===w&&C++,b.data===T)){if(C===0)return o(b);C--}return b},y=(b,w,T)=>{const C=w.parentNode;C&&C.replaceChild(b,w);let E=T;for(;E;)E.vnode.el===w&&(E.vnode.el=E.subTree.el=b),E=E.parent},S=b=>b.nodeType===1&&b.tagName==="TEMPLATE";return[c,f]}const KD="data-allow-mismatch",DJ={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function t0(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(KD);)e=e.parentElement;const n=e&&e.getAttribute(KD);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(DJ[t])}}const LJ=wm().requestIdleCallback||(e=>setTimeout(e,1)),NJ=wm().cancelIdleCallback||(e=>clearTimeout(e)),kJ=(e=1e4)=>t=>{const n=LJ(t,{timeout:e});return()=>NJ(n)};function FJ(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:a}=window;return(t>0&&t0&&r0&&n0&&i(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(FJ(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},BJ=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},VJ=(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 UJ(e,t){if(eh(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(eh(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 HJ(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 d=()=>(f++,u=null,h()),h=()=>{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,()=>_(d()),()=>y(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 nt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(v,m,_){const y=o?()=>{const S=o(_,b=>UJ(v,b));S&&(m.bum||(m.bum=[])).push(S)}:_;c?y():h().then(()=>!m.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const v=Rr;if(u2(v),c)return()=>zx(c,v);const m=b=>{u=null,Jf(b,v,13,!r)};if(s&&v.suspense||Ch)return h().then(b=>()=>zx(b,v)).catch(b=>(m(b),()=>r?G(r,{error:b}):null));const _=De(!1),y=De(),S=De(!!i);return i&&setTimeout(()=>{S.value=!1},i),a!=null&&setTimeout(()=>{if(!_.value&&!y.value){const b=new Error(`Async component timed out after ${a}ms.`);m(b),y.value=b}},a),h().then(()=>{_.value=!0,v.parent&&Tm(v.parent.vnode)&&v.parent.update()}).catch(b=>{m(b),y.value=b}),()=>{if(_.value&&c)return zx(c,v);if(y.value&&r)return G(r,{error:y.value});if(n&&!S.value)return G(n)}}})}function zx(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=G(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Tm=e=>e.type.__isKeepAlive,zJ={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tr(),r=n.ctx;if(!r.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(S,b,w,T,C)=>{const E=S.component;u(S,b,w,0,s),l(E.vnode,S,b,w,E,s,T,S.slotScopeIds,C),Ir(()=>{E.isDeactivated=!1,E.a&&gf(E.a);const R=S.props&&S.props.onVnodeMounted;R&&Qi(R,E.parent,S)},s)},r.deactivate=S=>{const b=S.component;D1(b.m),D1(b.a),u(S,d,null,1,s),Ir(()=>{b.da&&gf(b.da);const w=S.props&&S.props.onVnodeUnmounted;w&&Qi(w,b.parent,S),b.isDeactivated=!0},s)};function h(S){Gx(S),c(S,n,s,!0)}function v(S){i.forEach((b,w)=>{const T=EE(b.type);T&&!S(T)&&m(w)})}function m(S){const b=i.get(S);b&&(!a||!Ga(b,a))?h(b):a&&Gx(a),i.delete(S),o.delete(S)}Bt(()=>[e.include,e.exclude],([S,b])=>{S&&v(w=>yv(S,w)),b&&v(w=>!yv(b,w))},{flush:"post",deep:!0});let _=null;const y=()=>{_!=null&&(L1(n.subTree.type)?Ir(()=>{i.set(_,n0(n.subTree))},n.subTree.suspense):i.set(_,n0(n.subTree)))};return Vo(y),tS(y),nS(()=>{i.forEach(S=>{const{subTree:b,suspense:w}=n,T=n0(b);if(S.type===T.type&&S.key===T.key){Gx(T);const C=T.component.da;C&&Ir(C,w);return}h(S)})}),()=>{if(_=null,!t.default)return a=null;const S=t.default(),b=S[0];if(S.length>1)return a=null,S;if(!Il(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return a=null,b;let w=n0(b);if(w.type===Sr)return a=null,w;const T=w.type,C=EE(Du(w)?w.type.__asyncResolved||{}:T),{include:E,exclude:R,max:I}=e;if(E&&(!C||!yv(E,C))||R&&C&&yv(R,C))return w.shapeFlag&=-257,a=w,b;const M=w.key==null?T:w.key,P=i.get(M);return w.el&&(w=Is(w),b.shapeFlag&128&&(b.ssContent=w)),_=M,P?(w.el=P.el,w.component=P.component,w.transition&&Al(w,w.transition),w.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),I&&o.size>parseInt(I,10)&&m(o.values().next().value)),w.shapeFlag|=256,a=w,L1(b.type)?b:w}}},GJ=zJ;function yv(e,t){return Qe(e)?e.some(n=>yv(n,t)):Mt(e)?e.split(",").includes(t):X4(e)?(e.lastIndex=0,e.test(t)):!1}function U$(e,t){z$(e,"a",t)}function H$(e,t){z$(e,"da",t)}function z$(e,t,n=Rr){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(eS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Tm(i.parent.vnode)&&WJ(r,t,n,i),i=i.parent}}function WJ(e,t,n,r){const i=eS(t,e,r,!0);Qf(()=>{Hb(r[t],i)},n)}function Gx(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function n0(e){return e.shapeFlag&128?e.ssContent:e}function eS(e,t,n=Rr,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Qu();const s=Lf(n),l=ya(t,n,e,a);return s(),ec(),l});return r?i.unshift(o):i.push(o),o}}const Dl=e=>(t,n=Rr)=>{(!Ch||e==="sp")&&eS(e,(...r)=>t(...r),n)},G$=Dl("bm"),Vo=Dl("m"),c2=Dl("bu"),tS=Dl("u"),nS=Dl("bum"),Qf=Dl("um"),W$=Dl("sp"),j$=Dl("rtg"),X$=Dl("rtc");function Y$(e,t=Rr){eS("ec",e,t)}const f2="components",jJ="directives";function XJ(e,t){return d2(f2,e,!0,t)||e}const K$=Symbol.for("v-ndc");function ml(e){return Mt(e)?d2(f2,e,!1)||e:e||K$}function YJ(e){return d2(jJ,e)}function d2(e,t,n=!0,r=!1){const i=Pr||Rr;if(i){const o=i.type;if(e===f2){const s=EE(o,!1);if(s&&(s===t||s===Vn(t)||s===Ju(Vn(t))))return o}const a=ZD(i[e]||o[e],t)||ZD(i.appContext[e],t);return!a&&r?o:a}}function ZD(e,t){return e&&(e[t]||e[Vn(t)]||e[Ju(Vn(t))])}function fn(e,t,n,r){let i;const o=n&&n[r],a=Qe(e);if(a||Mt(e)){const s=a&&Ou(e);let l=!1;s&&(l=!Do(e),e=Yb(e)),i=new Array(e.length);for(let u=0,c=e.length;ut(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,u=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function yf(e,t,n={},r,i){if(Pr.ce||Pr.parent&&Du(Pr.parent)&&Pr.parent.ce)return t!=="default"&&(n.name=t),Y(),yt(Ye,null,[G("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),Y();const a=o&&h2(o(n)),s=n.key||a&&a.key,l=yt(Ye,{key:(s&&!Vi(s)?s:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function h2(e){return e.some(t=>Il(t)?!(t.type===Sr||t.type===Ye&&!h2(t.children)):!0)?e:null}function ZJ(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:vf(r)]=e[r];return n}const vE=e=>e?AB(e)?Am(e):vE(e.parent):null,Uv=tn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vE(e.parent),$root:e=>vE(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>p2(e),$forceUpdate:e=>e.f||(e.f=()=>{a2(e.update)}),$nextTick:e=>e.n||(e.n=Qa.bind(e.proxy)),$watch:e=>TQ.bind(e)}),Wx=(e,t)=>e!==Qt&&!e.__isScriptSetup&&dn(e,t),gE={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Wx(r,t))return a[t]=1,r[t];if(i!==Qt&&dn(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&dn(u,t))return a[t]=3,o[t];if(n!==Qt&&dn(n,t))return a[t]=4,n[t];mE&&(a[t]=0)}}const c=Uv[t];let f,d;if(c)return t==="$attrs"&&di(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Qt&&dn(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,dn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Wx(i,t)?(i[t]=n,!0):r!==Qt&&dn(r,t)?(r[t]=n,!0):dn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Qt&&dn(e,a)||Wx(t,a)||(s=o[0])&&dn(s,a)||dn(r,a)||dn(Uv,a)||dn(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},qJ=tn({},gE,{get(e,t){if(t!==Symbol.unscopables)return gE.get(e,t,e)},has(e,t){return t[0]!=="_"&&!KI(t)}});function JJ(){return null}function QJ(){return null}function eQ(e){}function tQ(e){}function nQ(){return null}function rQ(){}function iQ(e,t){return null}function oQ(){return Z$().slots}function aQ(){return Z$().attrs}function Z$(){const e=Tr();return e.setupContext||(e.setupContext=PB(e))}function kg(e){return Qe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function sQ(e,t){const n=kg(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Qe(i)||Ct(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function M1(e,t){return!e||!t?e||t:Qe(e)&&Qe(t)?e.concat(t):tn({},kg(e),kg(t))}function lQ(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function uQ(e){const t=Tr();let n=e();return xE(),zb(n)&&(n=n.catch(r=>{throw Lf(t),r})),[n,()=>Lf(t)]}let mE=!0;function cQ(e){const t=p2(e),n=e.proxy,r=e.ctx;mE=!1,t.beforeCreate&&qD(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:v,activated:m,deactivated:_,beforeDestroy:y,beforeUnmount:S,destroyed:b,unmounted:w,render:T,renderTracked:C,renderTriggered:E,errorCaptured:R,serverPrefetch:I,expose:M,inheritAttrs:P,components:D,directives:k,filters:$}=t;if(u&&fQ(u,r,null),a)for(const K in a){const X=a[K];Ct(X)&&(r[K]=X.bind(n))}if(i){const K=i.call(n,n);mn(K)&&(e.data=qa(K))}if(mE=!0,o)for(const K in o){const X=o[K],ae=Ct(X)?X.bind(n,n):Ct(X.get)?X.get.bind(n,n):Vr,ge=!Ct(X)&&Ct(X.set)?X.set.bind(n):Vr,ye=Ce({get:ae,set:ge});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>ye.value,set:Me=>ye.value=Me})}if(s)for(const K in s)q$(s[K],r,n,K);if(l){const K=Ct(l)?l.call(n):l;Reflect.ownKeys(K).forEach(X=>{Hv(X,K[X])})}c&&qD(c,e,"c");function N(K,X){Qe(X)?X.forEach(ae=>K(ae.bind(n))):X&&K(X.bind(n))}if(N(G$,f),N(Vo,d),N(c2,h),N(tS,v),N(U$,m),N(H$,_),N(Y$,R),N(X$,C),N(j$,E),N(nS,S),N(Qf,w),N(W$,I),Qe(M))if(M.length){const K=e.exposed||(e.exposed={});M.forEach(X=>{Object.defineProperty(K,X,{get:()=>n[X],set:ae=>n[X]=ae})})}else e.exposed||(e.exposed={});T&&e.render===Vr&&(e.render=T),P!=null&&(e.inheritAttrs=P),D&&(e.components=D),k&&(e.directives=k),I&&u2(e)}function fQ(e,t,n=Vr){Qe(e)&&(e=yE(e));for(const r in e){const i=e[r];let o;mn(i)?"default"in i?o=lo(i.from||r,i.default,!0):o=lo(i.from||r):o=lo(i),ht(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function qD(e,t,n){ya(Qe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function q$(e,t,n,r){let i=r.includes(".")?gB(n,r):()=>n[r];if(Mt(e)){const o=t[e];Ct(o)&&Bt(i,o)}else if(Ct(e))Bt(i,e.bind(n));else if(mn(e))if(Qe(e))e.forEach(o=>q$(o,t,n,r));else{const o=Ct(e.handler)?e.handler.bind(n):t[e.handler];Ct(o)&&Bt(i,o,e)}}function p2(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>O1(l,u,a,!0)),O1(l,t,a)),mn(t)&&o.set(t,l),l}function O1(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&O1(e,o,n,!0),i&&i.forEach(a=>O1(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=dQ[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const dQ={data:JD,props:QD,emits:QD,methods:_v,computed:_v,beforeCreate:Ai,created:Ai,beforeMount:Ai,mounted:Ai,beforeUpdate:Ai,updated:Ai,beforeDestroy:Ai,beforeUnmount:Ai,destroyed:Ai,unmounted:Ai,activated:Ai,deactivated:Ai,errorCaptured:Ai,serverPrefetch:Ai,components:_v,directives:_v,watch:pQ,provide:JD,inject:hQ};function JD(e,t){return t?e?function(){return tn(Ct(e)?e.call(this,this):e,Ct(t)?t.call(this,this):t)}:t:e}function hQ(e,t){return _v(yE(e),yE(t))}function yE(e){if(Qe(e)){const t={};for(let n=0;n1)return n&&Ct(t)?t.call(r&&r.proxy):t}}function v2(){return!!(Rr||Pr||_f)}const Q$={},eB=()=>Object.create(Q$),tB=e=>Object.getPrototypeOf(e)===Q$;function mQ(e,t,n,r=!1){const i={},o=eB();e.propsDefaults=Object.create(null),nB(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:r2(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function yQ(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=un(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=rB(f,t,!0);tn(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return mn(e)&&r.set(e,hf),hf;if(Qe(o))for(let c=0;ce[0]==="_"||e==="$stable",g2=e=>Qe(e)?e.map(no):[no(e)],bQ=(e,t,n)=>{if(t._n)return t;const r=qn((...i)=>g2(t(...i)),n);return r._c=!1,r},oB=(e,t,n)=>{const r=e._ctx;for(const i in e){if(iB(i))continue;const o=e[i];if(Ct(o))t[i]=bQ(i,o,r);else if(o!=null){const a=g2(o);t[i]=()=>a}}},aB=(e,t)=>{const n=g2(t);e.slots.default=()=>n},sB=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},SQ=(e,t,n)=>{const r=e.slots=eB();if(e.vnode.shapeFlag&32){const i=t._;i?(sB(r,t,n),n&&YI(r,"_",i,!0)):oB(t,r)}else t&&aB(e,t)},wQ=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Qt;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:sB(i,t,n):(o=!t.$stable,oB(t,i)),a=t}else t&&(aB(e,t),a={default:1});if(o)for(const s in i)!iB(s)&&a[s]==null&&delete i[s]},Ir=bB;function lB(e){return cB(e)}function uB(e){return cB(e,OJ)}function cB(e,t){const n=wm();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Vr,insertStaticContent:v}=e,m=(H,z,ue,we=null,ve=null,U=null,j=void 0,J=null,de=!!z.dynamicChildren)=>{if(H===z)return;H&&!Ga(H,z)&&(we=fe(H),Me(H,ve,U,!0),H=null),z.patchFlag===-2&&(de=!1,z.dynamicChildren=null);const{type:_e,ref:Oe,shapeFlag:q}=z;switch(_e){case yl:_(H,z,ue,we);break;case Sr:y(H,z,ue,we);break;case bf:H==null&&S(z,ue,we,j);break;case Ye:D(H,z,ue,we,ve,U,j,J,de);break;default:q&1?T(H,z,ue,we,ve,U,j,J,de):q&6?k(H,z,ue,we,ve,U,j,J,de):(q&64||q&128)&&_e.process(H,z,ue,we,ve,U,j,J,de,Te)}Oe!=null&&ve&&Ng(Oe,H&&H.ref,U,z||H,!z)},_=(H,z,ue,we)=>{if(H==null)r(z.el=s(z.children),ue,we);else{const ve=z.el=H.el;z.children!==H.children&&u(ve,z.children)}},y=(H,z,ue,we)=>{H==null?r(z.el=l(z.children||""),ue,we):z.el=H.el},S=(H,z,ue,we)=>{[H.el,H.anchor]=v(H.children,z,ue,we,H.el,H.anchor)},b=({el:H,anchor:z},ue,we)=>{let ve;for(;H&&H!==z;)ve=d(H),r(H,ue,we),H=ve;r(z,ue,we)},w=({el:H,anchor:z})=>{let ue;for(;H&&H!==z;)ue=d(H),i(H),H=ue;i(z)},T=(H,z,ue,we,ve,U,j,J,de)=>{z.type==="svg"?j="svg":z.type==="math"&&(j="mathml"),H==null?C(z,ue,we,ve,U,j,J,de):I(H,z,ve,U,j,J,de)},C=(H,z,ue,we,ve,U,j,J)=>{let de,_e;const{props:Oe,shapeFlag:q,transition:he,dirs:Ve}=H;if(de=H.el=a(H.type,U,Oe&&Oe.is,Oe),q&8?c(de,H.children):q&16&&R(H.children,de,null,we,ve,jx(H,U),j,J),Ve&&vs(H,null,we,"created"),E(de,H,H.scopeId,j,we),Oe){for(const bt in Oe)bt!=="value"&&!gl(bt)&&o(de,bt,null,Oe[bt],U,we);"value"in Oe&&o(de,"value",null,Oe.value,U),(_e=Oe.onVnodeBeforeMount)&&Qi(_e,we,H)}Ve&&vs(H,null,we,"beforeMount");const Ze=fB(ve,he);Ze&&he.beforeEnter(de),r(de,z,ue),((_e=Oe&&Oe.onVnodeMounted)||Ze||Ve)&&Ir(()=>{_e&&Qi(_e,we,H),Ze&&he.enter(de),Ve&&vs(H,null,we,"mounted")},ve)},E=(H,z,ue,we,ve)=>{if(ue&&h(H,ue),we)for(let U=0;U{for(let _e=de;_e{const J=z.el=H.el;let{patchFlag:de,dynamicChildren:_e,dirs:Oe}=z;de|=H.patchFlag&16;const q=H.props||Qt,he=z.props||Qt;let Ve;if(ue&&gc(ue,!1),(Ve=he.onVnodeBeforeUpdate)&&Qi(Ve,ue,z,H),Oe&&vs(z,H,ue,"beforeUpdate"),ue&&gc(ue,!0),(q.innerHTML&&he.innerHTML==null||q.textContent&&he.textContent==null)&&c(J,""),_e?M(H.dynamicChildren,_e,J,ue,we,jx(z,ve),U):j||X(H,z,J,null,ue,we,jx(z,ve),U,!1),de>0){if(de&16)P(J,q,he,ue,ve);else if(de&2&&q.class!==he.class&&o(J,"class",null,he.class,ve),de&4&&o(J,"style",q.style,he.style,ve),de&8){const Ze=z.dynamicProps;for(let bt=0;bt{Ve&&Qi(Ve,ue,z,H),Oe&&vs(z,H,ue,"updated")},we)},M=(H,z,ue,we,ve,U,j)=>{for(let J=0;J{if(z!==ue){if(z!==Qt)for(const U in z)!gl(U)&&!(U in ue)&&o(H,U,z[U],null,ve,we);for(const U in ue){if(gl(U))continue;const j=ue[U],J=z[U];j!==J&&U!=="value"&&o(H,U,J,j,ve,we)}"value"in ue&&o(H,"value",z.value,ue.value,ve)}},D=(H,z,ue,we,ve,U,j,J,de)=>{const _e=z.el=H?H.el:s(""),Oe=z.anchor=H?H.anchor:s("");let{patchFlag:q,dynamicChildren:he,slotScopeIds:Ve}=z;Ve&&(J=J?J.concat(Ve):Ve),H==null?(r(_e,ue,we),r(Oe,ue,we),R(z.children||[],ue,Oe,ve,U,j,J,de)):q>0&&q&64&&he&&H.dynamicChildren?(M(H.dynamicChildren,he,ue,ve,U,j,J),(z.key!=null||ve&&z===ve.subTree)&&m2(H,z,!0)):X(H,z,ue,Oe,ve,U,j,J,de)},k=(H,z,ue,we,ve,U,j,J,de)=>{z.slotScopeIds=J,H==null?z.shapeFlag&512?ve.ctx.activate(z,ue,we,j,de):$(z,ue,we,ve,U,j,de):W(H,z,de)},$=(H,z,ue,we,ve,U,j)=>{const J=H.component=EB(H,we,ve);if(Tm(H)&&(J.ctx.renderer=Te),IB(J,!1,j),J.asyncDep){if(ve&&ve.registerDep(J,N,j),!H.el){const de=J.subTree=G(Sr);y(null,de,z,ue)}}else N(J,H,z,ue,ve,U,j)},W=(H,z,ue)=>{const we=z.component=H.component;if(PQ(H,z,ue))if(we.asyncDep&&!we.asyncResolved){K(we,z,ue);return}else we.next=z,we.update();else z.el=H.el,we.vnode=z},N=(H,z,ue,we,ve,U,j)=>{const J=()=>{if(H.isMounted){let{next:q,bu:he,u:Ve,parent:Ze,vnode:bt}=H;{const Ge=dB(H);if(Ge){q&&(q.el=bt.el,K(H,q,j)),Ge.asyncDep.then(()=>{H.isUnmounted||J()});return}}let ne=q,se;gc(H,!1),q?(q.el=bt.el,K(H,q,j)):q=bt,he&&gf(he),(se=q.props&&q.props.onVnodeBeforeUpdate)&&Qi(se,Ze,q,bt),gc(H,!0);const pe=A_(H),Ee=H.subTree;H.subTree=pe,m(Ee,pe,f(Ee.el),fe(Ee),H,ve,U),q.el=pe.el,ne===null&&oS(H,pe.el),Ve&&Ir(Ve,ve),(se=q.props&&q.props.onVnodeUpdated)&&Ir(()=>Qi(se,Ze,q,bt),ve)}else{let q;const{el:he,props:Ve}=z,{bm:Ze,m:bt,parent:ne,root:se,type:pe}=H,Ee=Du(z);if(gc(H,!1),Ze&&gf(Ze),!Ee&&(q=Ve&&Ve.onVnodeBeforeMount)&&Qi(q,ne,z),gc(H,!0),he&&Be){const Ge=()=>{H.subTree=A_(H),Be(he,H.subTree,H,ve,null)};Ee&&pe.__asyncHydrate?pe.__asyncHydrate(he,H,Ge):Ge()}else{se.ce&&se.ce._injectChildStyle(pe);const Ge=H.subTree=A_(H);m(null,Ge,ue,we,H,ve,U),z.el=Ge.el}if(bt&&Ir(bt,ve),!Ee&&(q=Ve&&Ve.onVnodeMounted)){const Ge=z;Ir(()=>Qi(q,ne,Ge),ve)}(z.shapeFlag&256||ne&&Du(ne.vnode)&&ne.vnode.shapeFlag&256)&&H.a&&Ir(H.a,ve),H.isMounted=!0,z=ue=we=null}};H.scope.on();const de=H.effect=new Rg(J);H.scope.off();const _e=H.update=de.run.bind(de),Oe=H.job=de.runIfDirty.bind(de);Oe.i=H,Oe.id=H.uid,de.scheduler=()=>a2(Oe),gc(H,!0),_e()},K=(H,z,ue)=>{z.component=H;const we=H.vnode.props;H.vnode=z,H.next=null,yQ(H,z.props,we,ue),wQ(H,z.children,ue),Qu(),zD(H),ec()},X=(H,z,ue,we,ve,U,j,J,de=!1)=>{const _e=H&&H.children,Oe=H?H.shapeFlag:0,q=z.children,{patchFlag:he,shapeFlag:Ve}=z;if(he>0){if(he&128){ge(_e,q,ue,we,ve,U,j,J,de);return}else if(he&256){ae(_e,q,ue,we,ve,U,j,J,de);return}}Ve&8?(Oe&16&&je(_e,ve,U),q!==_e&&c(ue,q)):Oe&16?Ve&16?ge(_e,q,ue,we,ve,U,j,J,de):je(_e,ve,U,!0):(Oe&8&&c(ue,""),Ve&16&&R(q,ue,we,ve,U,j,J,de))},ae=(H,z,ue,we,ve,U,j,J,de)=>{H=H||hf,z=z||hf;const _e=H.length,Oe=z.length,q=Math.min(_e,Oe);let he;for(he=0;heOe?je(H,ve,U,!0,!1,q):R(z,ue,we,ve,U,j,J,de,q)},ge=(H,z,ue,we,ve,U,j,J,de)=>{let _e=0;const Oe=z.length;let q=H.length-1,he=Oe-1;for(;_e<=q&&_e<=he;){const Ve=H[_e],Ze=z[_e]=de?hu(z[_e]):no(z[_e]);if(Ga(Ve,Ze))m(Ve,Ze,ue,null,ve,U,j,J,de);else break;_e++}for(;_e<=q&&_e<=he;){const Ve=H[q],Ze=z[he]=de?hu(z[he]):no(z[he]);if(Ga(Ve,Ze))m(Ve,Ze,ue,null,ve,U,j,J,de);else break;q--,he--}if(_e>q){if(_e<=he){const Ve=he+1,Ze=Vehe)for(;_e<=q;)Me(H[_e],ve,U,!0),_e++;else{const Ve=_e,Ze=_e,bt=new Map;for(_e=Ze;_e<=he;_e++){const $e=z[_e]=de?hu(z[_e]):no(z[_e]);$e.key!=null&&bt.set($e.key,_e)}let ne,se=0;const pe=he-Ze+1;let Ee=!1,Ge=0;const oe=new Array(pe);for(_e=0;_e=pe){Me($e,ve,U,!0);continue}let et;if($e.key!=null)et=bt.get($e.key);else for(ne=Ze;ne<=he;ne++)if(oe[ne-Ze]===0&&Ga($e,z[ne])){et=ne;break}et===void 0?Me($e,ve,U,!0):(oe[et-Ze]=_e+1,et>=Ge?Ge=et:Ee=!0,m($e,z[et],ue,null,ve,U,j,J,de),se++)}const Ie=Ee?xQ(oe):hf;for(ne=Ie.length-1,_e=pe-1;_e>=0;_e--){const $e=Ze+_e,et=z[$e],We=$e+1{const{el:U,type:j,transition:J,children:de,shapeFlag:_e}=H;if(_e&6){ye(H.component.subTree,z,ue,we);return}if(_e&128){H.suspense.move(z,ue,we);return}if(_e&64){j.move(H,z,ue,Te);return}if(j===Ye){r(U,z,ue);for(let q=0;qJ.enter(U),ve);else{const{leave:q,delayLeave:he,afterLeave:Ve}=J,Ze=()=>r(U,z,ue),bt=()=>{q(U,()=>{Ze(),Ve&&Ve()})};he?he(U,Ze,bt):bt()}else r(U,z,ue)},Me=(H,z,ue,we=!1,ve=!1)=>{const{type:U,props:j,ref:J,children:de,dynamicChildren:_e,shapeFlag:Oe,patchFlag:q,dirs:he,cacheIndex:Ve}=H;if(q===-2&&(ve=!1),J!=null&&Ng(J,null,ue,H,!0),Ve!=null&&(z.renderCache[Ve]=void 0),Oe&256){z.ctx.deactivate(H);return}const Ze=Oe&1&&he,bt=!Du(H);let ne;if(bt&&(ne=j&&j.onVnodeBeforeUnmount)&&Qi(ne,z,H),Oe&6)Le(H.component,ue,we);else{if(Oe&128){H.suspense.unmount(ue,we);return}Ze&&vs(H,null,z,"beforeUnmount"),Oe&64?H.type.remove(H,z,ue,Te,we):_e&&!_e.hasOnce&&(U!==Ye||q>0&&q&64)?je(_e,z,ue,!1,!0):(U===Ye&&q&384||!ve&&Oe&16)&&je(de,z,ue),we&&ke(H)}(bt&&(ne=j&&j.onVnodeUnmounted)||Ze)&&Ir(()=>{ne&&Qi(ne,z,H),Ze&&vs(H,null,z,"unmounted")},ue)},ke=H=>{const{type:z,el:ue,anchor:we,transition:ve}=H;if(z===Ye){Ue(ue,we);return}if(z===bf){w(H);return}const U=()=>{i(ue),ve&&!ve.persisted&&ve.afterLeave&&ve.afterLeave()};if(H.shapeFlag&1&&ve&&!ve.persisted){const{leave:j,delayLeave:J}=ve,de=()=>j(ue,U);J?J(H.el,U,de):de()}else U()},Ue=(H,z)=>{let ue;for(;H!==z;)ue=d(H),i(H),H=ue;i(z)},Le=(H,z,ue)=>{const{bum:we,scope:ve,job:U,subTree:j,um:J,m:de,a:_e}=H;D1(de),D1(_e),we&&gf(we),ve.stop(),U&&(U.flags|=8,Me(j,H,z,ue)),J&&Ir(J,z),Ir(()=>{H.isUnmounted=!0},z),z&&z.pendingBranch&&!z.isUnmounted&&H.asyncDep&&!H.asyncResolved&&H.suspenseId===z.pendingId&&(z.deps--,z.deps===0&&z.resolve())},je=(H,z,ue,we=!1,ve=!1,U=0)=>{for(let j=U;j{if(H.shapeFlag&6)return fe(H.component.subTree);if(H.shapeFlag&128)return H.suspense.next();const z=d(H.anchor||H.el),ue=z&&z[D$];return ue?d(ue):z};let Ae=!1;const Se=(H,z,ue)=>{H==null?z._vnode&&Me(z._vnode,null,null,!0):m(z._vnode||null,H,z,null,null,null,ue),z._vnode=H,Ae||(Ae=!0,zD(),P1(),Ae=!1)},Te={p:m,um:Me,m:ye,r:ke,mt:$,mc:R,pc:X,pbc:M,n:fe,o:e};let Ne,Be;return t&&([Ne,Be]=t(Te)),{render:Se,hydrate:Ne,createApp:gQ(Se,Ne)}}function jx({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gc({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fB(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function m2(e,t,n=!1){const r=e.children,i=t.children;if(Qe(r)&&Qe(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function dB(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:dB(t)}function D1(e){if(e)for(let t=0;tlo(hB);function rS(e,t){return Em(e,null,t)}function CQ(e,t){return Em(e,null,{flush:"post"})}function vB(e,t){return Em(e,null,{flush:"sync"})}function Bt(e,t,n){return Em(e,t,n)}function Em(e,t,n=Qt){const{immediate:r,deep:i,flush:o,once:a}=n,s=tn({},n),l=t&&r||!t&&o!=="post";let u;if(Ch){if(o==="sync"){const h=pB();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Vr,h.resume=Vr,h.pause=Vr,h}}const c=Rr;s.call=(h,v,m)=>ya(h,c,v,m);let f=!1;o==="post"?s.scheduler=h=>{Ir(h,c&&c.suspense)}:o!=="sync"&&(f=!0,s.scheduler=(h,v)=>{v?h():a2(h)}),s.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=pJ(e,t,s);return Ch&&(u?u.push(d):l&&d()),d}function TQ(e,t,n){const r=this.proxy,i=Mt(e)?e.includes(".")?gB(r,e):()=>r[e]:e.bind(r,r);let o;Ct(t)?o=t:(o=t.handler,n=t);const a=Lf(this),s=Em(i,o.bind(r),n);return a(),s}function gB(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{let c,f=Qt,d;return vB(()=>{const h=e[i];fi(c,h)&&(c=h,u())}),{get(){return l(),n.get?n.get(c):c},set(h){const v=n.set?n.set(h):h;if(!fi(v,c)&&!(f!==Qt&&fi(h,f)))return;const m=r.vnode.props;m&&(t in m||i in m||o in m)&&(`onUpdate:${t}`in m||`onUpdate:${i}`in m||`onUpdate:${o}`in m)||(c=h,u()),r.emit(`update:${t}`,v),fi(h,v)&&fi(h,f)&&!fi(v,d)&&u(),f=h,d=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||Qt:s,done:!1}:{done:!0}}}},s}const mB=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vn(t)}Modifiers`]||e[`${pi(t)}Modifiers`];function EQ(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Qt;let i=n;const o=t.startsWith("update:"),a=o&&mB(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Mt(c)?c.trim():c)),a.number&&(i=n.map(Ag)));let s,l=r[s=vf(t)]||r[s=vf(Vn(t))];!l&&o&&(l=r[s=vf(pi(t))]),l&&ya(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ya(u,e,6,i)}}function yB(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!Ct(e)){const l=u=>{const c=yB(u,t,!0);c&&(s=!0,tn(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(mn(e)&&r.set(e,null),null):(Qe(o)?o.forEach(l=>a[l]=null):tn(a,o),mn(e)&&r.set(e,a),a)}function iS(e,t){return!e||!Zu(t)?!1:(t=t.slice(2).replace(/Once$/,""),dn(e,t[0].toLowerCase()+t.slice(1))||dn(e,pi(t))||dn(e,t))}function A_(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:v,inheritAttrs:m}=e,_=Lg(e);let y,S;try{if(n.shapeFlag&4){const w=i||r,T=w;y=no(u.call(T,w,c,f,h,d,v)),S=s}else{const w=t;y=no(w.length>1?w(f,{attrs:s,slots:a,emit:l}):w(f,null)),S=t.props?s:IQ(s)}}catch(w){zv.length=0,Jf(w,e,1),y=G(Sr)}let b=y;if(S&&m!==!1){const w=Object.keys(S),{shapeFlag:T}=b;w.length&&T&7&&(o&&w.some(Ub)&&(S=RQ(S,o)),b=Is(b,S,!1,!0))}return n.dirs&&(b=Is(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Al(b,n.transition),y=b,Lg(_),y}function AQ(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Zu(n))&&((t||(t={}))[n]=e[n]);return t},RQ=(e,t)=>{const n={};for(const r in e)(!Ub(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function PQ(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?tL(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let bE=0;const MQ={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){if(e==null)DQ(t,n,r,i,o,a,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}LQ(e,t,n,r,i,a,s,l,u)}},hydrate:NQ,normalize:kQ},OQ=MQ;function Fg(e,t){const n=e.props&&e.props[t];Ct(n)&&n()}function DQ(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=_B(e,i,r,t,f,n,o,a,s,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,a),d.deps>0?(Fg(e,"onPending"),Fg(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),lh(d,e.ssFallback)):d.resolve(!1,!0)}function LQ(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:v,pendingBranch:m,isInFallback:_,isHydrating:y}=f;if(m)f.pendingBranch=d,Ga(d,m)?(l(m,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():_&&(y||(l(v,h,n,r,i,null,o,a,s),lh(f,h)))):(f.pendingId=bE++,y?(f.isHydrating=!1,f.activeBranch=m):u(m,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),_?(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(v,h,n,r,i,null,o,a,s),lh(f,h))):v&&Ga(d,v)?(l(v,d,n,r,i,f,o,a,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(v&&Ga(d,v))l(v,d,n,r,i,f,o,a,s),lh(f,d);else if(Fg(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=bE++,l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:b}=f;S>0?setTimeout(()=>{f.pendingId===b&&f.fallback(h)},S):S===0&&f.fallback(h)}}function _B(e,t,n,r,i,o,a,s,l,u,c=!1){const{p:f,m:d,um:h,n:v,o:{parentNode:m,remove:_}}=u;let y;const S=FQ(e);S&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const b=e.props?Ig(e.props.timeout):void 0,w=o,T={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:bE++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,E=!1){const{vnode:R,activeBranch:I,pendingBranch:M,pendingId:P,effects:D,parentComponent:k,container:$}=T;let W=!1;T.isHydrating?T.isHydrating=!1:C||(W=I&&M.transition&&M.transition.mode==="out-in",W&&(I.transition.afterLeave=()=>{P===T.pendingId&&(d(M,$,o===w?v(I):o,0),Og(D))}),I&&(m(I.el)===$&&(o=v(I)),h(I,k,T,!0)),W||d(M,$,o,0)),lh(T,M),T.pendingBranch=null,T.isInFallback=!1;let N=T.parent,K=!1;for(;N;){if(N.pendingBranch){N.effects.push(...D),K=!0;break}N=N.parent}!K&&!W&&Og(D),T.effects=[],S&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Fg(R,"onResolve")},fallback(C){if(!T.pendingBranch)return;const{vnode:E,activeBranch:R,parentComponent:I,container:M,namespace:P}=T;Fg(E,"onFallback");const D=v(R),k=()=>{T.isInFallback&&(f(null,C,M,D,I,null,P,s,l),lh(T,C))},$=C.transition&&C.transition.mode==="out-in";$&&(R.transition.afterLeave=k),T.isInFallback=!0,h(R,I,null,!0),$||k()},move(C,E,R){T.activeBranch&&d(T.activeBranch,C,E,R),T.container=C},next(){return T.activeBranch&&v(T.activeBranch)},registerDep(C,E,R){const I=!!T.pendingBranch;I&&T.deps++;const M=C.vnode.el;C.asyncDep.catch(P=>{Jf(P,C,0)}).then(P=>{if(C.isUnmounted||T.isUnmounted||T.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:D}=C;CE(C,P,!1),M&&(D.el=M);const k=!M&&C.subTree.el;E(C,D,m(M||C.subTree.el),M?null:v(C.subTree),T,a,R),k&&_(k),oS(C,D.el),I&&--T.deps===0&&T.resolve()})},unmount(C,E){T.isUnmounted=!0,T.activeBranch&&h(T.activeBranch,n,C,E),T.pendingBranch&&h(T.pendingBranch,n,C,E)}};return T}function NQ(e,t,n,r,i,o,a,s,l){const u=t.suspense=_B(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),c}function kQ(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nL(r?n.default:n),e.ssFallback=r?nL(n.fallback):G(Sr)}function nL(e){let t;if(Ct(e)){const n=Df&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=yi,SB())}return Qe(e)&&(e=AQ(e)),e=no(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function bB(e,t){t&&t.pendingBranch?Qe(e)?t.effects.push(...e):t.effects.push(e):Og(e)}function lh(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,oS(r,i))}function FQ(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ye=Symbol.for("v-fgt"),yl=Symbol.for("v-txt"),Sr=Symbol.for("v-cmt"),bf=Symbol.for("v-stc"),zv=[];let yi=null;function Y(e=!1){zv.push(yi=e?null:[])}function SB(){zv.pop(),yi=zv[zv.length-1]||null}let Df=1;function SE(e,t=!1){Df+=e,e<0&&yi&&t&&(yi.hasOnce=!0)}function wB(e){return e.dynamicChildren=Df>0?yi||hf:null,SB(),Df>0&&yi&&yi.push(e),e}function te(e,t,n,r,i,o){return wB(L(e,t,n,r,i,o,!0))}function yt(e,t,n,r,i){return wB(G(e,t,n,r,i,!0))}function Il(e){return e?e.__v_isVNode===!0:!1}function Ga(e,t){return e.type===t.type&&e.key===t.key}function $Q(e){}const xB=({key:e})=>e??null,I_=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Mt(e)||ht(e)||Ct(e)?{i:Pr,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,i=null,o=e===Ye?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xB(t),ref:t&&I_(t),scopeId:Jb,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pr};return s?(_2(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Mt(n)?8:16),Df>0&&!a&&yi&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&yi.push(l),l}const G=BQ;function BQ(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===K$)&&(e=Sr),Il(e)){const s=Is(e,t,!0);return n&&_2(s,n),Df>0&&!o&&yi&&(s.shapeFlag&6?yi[yi.indexOf(e)]=s:yi.push(s)),s.patchFlag=-2,s}if(XQ(e)&&(e=e.__vccOpts),t){t=CB(t);let{class:s,style:l}=t;s&&!Mt(s)&&(t.class=gt(s)),mn(l)&&(qb(l)&&!Qe(l)&&(l=tn({},l)),t.style=pr(l))}const a=Mt(e)?1:L1(e)?128:L$(e)?64:mn(e)?4:Ct(e)?2:0;return L(e,t,n,r,i,a,o,!0)}function CB(e){return e?qb(e)||tB(e)?tn({},e):e:null}function Is(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,u=t?TB(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&xB(u),ref:t&&t.ref?n&&o?Qe(o)?o.concat(I_(t)):[o,I_(t)]:I_(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Is(e.ssContent),ssFallback:e.ssFallback&&Is(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Al(c,l.clone(c)),c}function rt(e=" ",t=0){return G(yl,null,e,t)}function VQ(e,t){const n=G(bf,null,e);return n.staticCount=t,n}function at(e="",t=!1){return t?(Y(),yt(Sr,null,e)):G(Sr,null,e)}function no(e){return e==null||typeof e=="boolean"?G(Sr):Qe(e)?G(Ye,null,e.slice()):Il(e)?hu(e):G(yl,null,String(e))}function hu(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Is(e)}function _2(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Qe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),_2(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!tB(t)?t._ctx=Pr:i===3&&Pr&&(Pr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ct(t)?(t={default:t,_ctx:Pr},n=32):(t=String(t),r&64?(n=16,t=[rt(t)]):n=8);e.children=t,e.shapeFlag|=n}function TB(...e){const t={};for(let n=0;nRr||Pr;let N1,wE;{const e=wm(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};N1=t("__VUE_INSTANCE_SETTERS__",n=>Rr=n),wE=t("__VUE_SSR_SETTERS__",n=>Ch=n)}const Lf=e=>{const t=Rr;return N1(e),e.scope.on(),()=>{e.scope.off(),N1(t)}},xE=()=>{Rr&&Rr.scope.off(),N1(null)};function AB(e){return e.vnode.shapeFlag&4}let Ch=!1;function IB(e,t=!1,n=!1){t&&wE(t);const{props:r,children:i}=e.vnode,o=AB(e);mQ(e,r,o,t),SQ(e,i,n);const a=o?zQ(e,t):void 0;return t&&wE(!1),a}function zQ(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gE);const{setup:r}=n;if(r){Qu();const i=e.setupContext=r.length>1?PB(e):null,o=Lf(e),a=ep(r,e,0,[e.props,i]),s=zb(a);if(ec(),o(),(s||e.sp)&&!Du(e)&&u2(e),s){if(a.then(xE,xE),t)return a.then(l=>{CE(e,l,t)}).catch(l=>{Jf(l,e,0)});e.asyncDep=a}else CE(e,a,t)}else RB(e,t)}function CE(e,t,n){Ct(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mn(t)&&(e.setupState=i2(t)),RB(e,n)}let k1,TE;function GQ(e){k1=e,TE=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,qJ))}}const WQ=()=>!k1;function RB(e,t,n){const r=e.type;if(!e.render){if(!t&&k1&&!r.render){const i=r.template||p2(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=tn(tn({isCustomElement:o,delimiters:s},a),l);r.render=k1(i,u)}}e.render=r.render||Vr,TE&&TE(e)}{const i=Lf(e);Qu();try{cQ(e)}finally{ec(),i()}}}const jQ={get(e,t){return di(e,"get",""),e[t]}};function PB(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,jQ),slots:e.slots,emit:e.emit,expose:t}}function Am(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(i2(x$(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Uv)return Uv[n](e)},has(t,n){return n in t||n in Uv}})):e.proxy}function EE(e,t=!0){return Ct(e)?e.displayName||e.name:e.name||t&&e.__name}function XQ(e){return Ct(e)&&"__vccOpts"in e}const Ce=(e,t)=>cJ(e,t,Ch);function ca(e,t,n){const r=arguments.length;return r===2?mn(t)&&!Qe(t)?Il(t)?G(e,null,[t]):G(e,t):G(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Il(n)&&(n=[n]),G(e,t,n))}function YQ(){}function KQ(e,t,n,r){const i=n[r];if(i&&MB(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function MB(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&yi&&yi.push(e),!0}const OB="3.5.13",ZQ=Vr,qQ=_J,JQ=Wd,QQ=O$,eee={createComponentInstance:EB,setupComponent:IB,renderComponentRoot:A_,setCurrentRenderingInstance:Lg,isVNode:Il,normalizeVNode:no,getComponentPublicInstance:Am,ensureValidVNode:h2,pushWarningContext:vJ,popWarningContext:gJ},tee=eee,nee=null,ree=null,iee=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let AE;const rL=typeof window<"u"&&window.trustedTypes;if(rL)try{AE=rL.createPolicy("vue",{createHTML:e=>e})}catch{}const DB=AE?e=>AE.createHTML(e):e=>e,oee="http://www.w3.org/2000/svg",aee="http://www.w3.org/1998/Math/MathML",nl=typeof document<"u"?document:null,iL=nl&&nl.createElement("template"),see={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(oee,e):t==="mathml"?nl.createElementNS(aee,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{iL.innerHTML=DB(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const s=iL.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",kp="animation",Th=Symbol("_vtc"),LB={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},NB=tn({},l2,LB),lee=e=>(e.displayName="Transition",e.props=NB,e),kB=lee((e,{slots:t})=>ca(B$,FB(e),t)),mc=(e,t=[])=>{Qe(e)?e.forEach(n=>n(...t)):e&&e(...t)},oL=e=>e?Qe(e)?e.some(t=>t.length>1):e.length>1:!1;function FB(e){const t={};for(const D in e)D in LB||(t[D]=e[D]);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:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=uee(i),m=v&&v[0],_=v&&v[1],{onBeforeEnter:y,onEnter:S,onEnterCancelled:b,onLeave:w,onLeaveCancelled:T,onBeforeAppear:C=y,onAppear:E=S,onAppearCancelled:R=b}=t,I=(D,k,$,W)=>{D._enterCancelled=W,su(D,k?c:s),su(D,k?u:a),$&&$()},M=(D,k)=>{D._isLeaving=!1,su(D,f),su(D,h),su(D,d),k&&k()},P=D=>(k,$)=>{const W=D?E:S,N=()=>I(k,D,$);mc(W,[k,N]),aL(()=>{su(k,D?l:o),hs(k,D?c:s),oL(W)||sL(k,r,m,N)})};return tn(t,{onBeforeEnter(D){mc(y,[D]),hs(D,o),hs(D,a)},onBeforeAppear(D){mc(C,[D]),hs(D,l),hs(D,u)},onEnter:P(!1),onAppear:P(!0),onLeave(D,k){D._isLeaving=!0;const $=()=>M(D,k);hs(D,f),D._enterCancelled?(hs(D,d),IE()):(IE(),hs(D,d)),aL(()=>{D._isLeaving&&(su(D,f),hs(D,h),oL(w)||sL(D,r,_,$))}),mc(w,[D,$])},onEnterCancelled(D){I(D,!1,void 0,!0),mc(b,[D])},onAppearCancelled(D){I(D,!0,void 0,!0),mc(R,[D])},onLeaveCancelled(D){M(D),mc(T,[D])}})}function uee(e){if(e==null)return null;if(mn(e))return[Xx(e.enter),Xx(e.leave)];{const t=Xx(e);return[t,t]}}function Xx(e){return Ig(e)}function hs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Th]||(e[Th]=new Set)).add(t)}function su(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Th];n&&(n.delete(t),n.size||(e[Th]=void 0))}function aL(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let cee=0;function sL(e,t,n,r){const i=e._endId=++cee,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=$B(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(`${Xl}Delay`),o=r(`${Xl}Duration`),a=lL(i,o),s=r(`${kp}Delay`),l=r(`${kp}Duration`),u=lL(s,l);let c=null,f=0,d=0;t===Xl?a>0&&(c=Xl,f=a,d=o.length):t===kp?u>0&&(c=kp,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?Xl:kp:null,d=c?c===Xl?o.length:l.length:0);const h=c===Xl&&/\b(transform|all)(,|$)/.test(r(`${Xl}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function lL(e,t){for(;e.lengthuL(n)+uL(e[r])))}function uL(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function IE(){return document.body.offsetHeight}function fee(e,t,n){const r=e[Th];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const F1=Symbol("_vod"),BB=Symbol("_vsh"),b2={beforeMount(e,{value:t},{transition:n}){e[F1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Fp(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Fp(e,!0),r.enter(e)):r.leave(e,()=>{Fp(e,!1)}):Fp(e,t))},beforeUnmount(e,{value:t}){Fp(e,t)}};function Fp(e,t){e.style.display=t?e[F1]:"none",e[BB]=!t}function dee(){b2.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const VB=Symbol("");function hee(e){const t=Tr();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>$1(o,i))},r=()=>{const i=e(t.proxy);t.ce?$1(t.ce,i):RE(t.subTree,i),n(i)};c2(()=>{Og(r)}),Vo(()=>{Bt(r,Vr,{flush:"post"});const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Qf(()=>i.disconnect())})}function RE(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{RE(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)$1(e.el,t);else if(e.type===Ye)e.children.forEach(n=>RE(n,t));else if(e.type===bf){let{el:n,anchor:r}=e;for(;n&&($1(n,t),n!==r);)n=n.nextSibling}}function $1(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[VB]=r}}const pee=/(^|;)\s*display\s*:/;function vee(e,t,n){const r=e.style,i=Mt(n);let o=!1;if(n&&!i){if(t)if(Mt(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&R_(r,s,"")}else for(const a in t)n[a]==null&&R_(r,a,"");for(const a in n)a==="display"&&(o=!0),R_(r,a,n[a])}else if(i){if(t!==n){const a=r[VB];a&&(n+=";"+a),r.cssText=n,o=pee.test(n)}}else t&&e.removeAttribute("style");F1 in e&&(e[F1]=o?r.display:"",e[BB]&&(r.display="none"))}const cL=/\s*!important$/;function R_(e,t,n){if(Qe(n))n.forEach(r=>R_(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gee(e,t);cL.test(n)?e.setProperty(pi(r),n.replace(cL,""),"important"):e[r]=n}}const fL=["Webkit","Moz","ms"],Yx={};function gee(e,t){const n=Yx[t];if(n)return n;let r=Vn(t);if(r!=="filter"&&r in e)return Yx[t]=r;r=Ju(r);for(let i=0;iKx||(bee.then(()=>Kx=0),Kx=Date.now());function wee(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ya(xee(r,n.value),t,5,[r])};return n.value=e,n.attached=See(),n}function xee(e,t){if(Qe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const mL=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Cee=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?fee(e,r,a):t==="style"?vee(e,n,r):Zu(t)?Ub(t)||yee(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tee(e,t,r,a))?(pL(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hL(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Mt(r))?pL(e,Vn(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),hL(e,t,r,a))};function Tee(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&mL(t)&&Ct(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return mL(t)&&Mt(n)?!1:t in e}const yL={};/*! #__NO_SIDE_EFFECTS__ */function UB(e,t,n){const r=nt(e,t);Sm(r)&&tn(r,t);class i extends aS{constructor(a){super(r,a,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const Eee=(e,t)=>UB(e,t,JB),Aee=typeof HTMLElement<"u"?HTMLElement:class{};class aS extends Aee{constructor(t,n={},r=V1){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==V1?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof aS){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Qa(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:a}=r;let s;if(o&&!Qe(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Ig(this._props[l])),(s||(s=Object.create(null)))[Vn(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(a),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)dn(this,r)||Object.defineProperty(this,r,{get:()=>B(n[r])})}_resolveProps(t){const{props:n}=t,r=Qe(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(Vn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):yL;const i=Vn(t);n&&this._numberProps&&this._numberProps[i]&&(r=Ig(r)),this._setProp(i,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!1){if(n!==this._props[t]&&(n===yL?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),r)){const o=this._ob;o&&o.disconnect(),n===!0?this.setAttribute(pi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(pi(t),n+""):n||this.removeAttribute(pi(t)),o&&o.observe(this,{attributes:!0})}}_update(){qB(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=G(this._def,tn(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(o,a)=>{this.dispatchEvent(new CustomEvent(o,Sm(a[0])?tn({detail:a},a[0]):{detail:a}))};r.emit=(o,...a)=>{i(o,a),pi(o)!==o&&i(pi(o),a)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let i=t.length-1;i>=0;i--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[i],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),Mee=Pee({name:"TransitionGroup",props:tn({},NB,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Tr(),r=s2();let i,o;return tS(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!kee(i[0].el,n.vnode.el,a))return;i.forEach(Dee),i.forEach(Lee);const s=i.filter(Nee);IE(),s.forEach(l=>{const u=l.el,c=u.style;hs(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[B1]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[B1]=null,su(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=un(e),s=FB(a);let l=a.tag||Ye;if(i=[],o)for(let u=0;u{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=$B(r);return o.removeChild(r),a}const Uu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Qe(t)?n=>gf(t,n):t};function Fee(e){e.target.composing=!0}function bL(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pa=Symbol("_assign"),ki={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[pa]=Uu(i);const o=r||i.props&&i.props.type==="number";ll(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Ag(s)),e[pa](s)}),n&&ll(e,"change",()=>{e.value=e.value.trim()}),t||(ll(e,"compositionstart",Fee),ll(e,"compositionend",bL),ll(e,"change",bL))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[pa]=Uu(a),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ag(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},Bn={deep:!0,created(e,t,n){e[pa]=Uu(n),ll(e,"change",()=>{const r=e._modelValue,i=Eh(e),o=e.checked,a=e[pa];if(Qe(r)){const s=xm(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(qu(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(WB(e,o))})},mounted:SL,beforeUpdate(e,t,n){e[pa]=Uu(n),SL(e,t,n)}};function SL(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(Qe(t))i=xm(t,r.props.value)>-1;else if(qu(t))i=t.has(r.props.value);else{if(t===n)return;i=El(t,WB(e,!0))}e.checked!==i&&(e.checked=i)}const S2={created(e,{value:t},n){e.checked=El(t,n.props.value),e[pa]=Uu(n),ll(e,"change",()=>{e[pa](Eh(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[pa]=Uu(r),t!==n&&(e.checked=El(t,r.props.value))}},vr={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=qu(t);ll(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Ag(Eh(a)):Eh(a));e[pa](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Qa(()=>{e._assigning=!1})}),e[pa]=Uu(r)},mounted(e,{value:t}){wL(e,t)},beforeUpdate(e,t,n){e[pa]=Uu(n)},updated(e,{value:t}){e._assigning||wL(e,t)}};function wL(e,t){const n=e.multiple,r=Qe(t);if(!(n&&!r&&!qu(t))){for(let i=0,o=e.options.length;iString(u)===String(s)):a.selected=xm(t,s)>-1}else a.selected=t.has(s);else if(El(Eh(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Eh(e){return"_value"in e?e._value:e.value}function WB(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jB={created(e,t,n){r0(e,t,n,null,"created")},mounted(e,t,n){r0(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){r0(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){r0(e,t,n,r,"updated")}};function XB(e,t){switch(e){case"SELECT":return vr;case"TEXTAREA":return ki;default:switch(t){case"checkbox":return Bn;case"radio":return S2;default:return ki}}}function r0(e,t,n,r,i){const a=XB(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function $ee(){ki.getSSRProps=({value:e})=>({value:e}),S2.getSSRProps=({value:e},t)=>{if(t.props&&El(t.props.value,e))return{checked:!0}},Bn.getSSRProps=({value:e},t)=>{if(Qe(e)){if(t.props&&xm(e,t.props.value)>-1)return{checked:!0}}else if(qu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},jB.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=XB(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Bee=["ctrl","shift","alt","meta"],Vee={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Bee.some(n=>e[`${n}Key`]&&!t.includes(n))},gr=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=pi(i.key);if(t.some(a=>a===o||Uee[a]===o))return e(i)})},YB=tn({patchProp:Cee},see);let Gv,xL=!1;function KB(){return Gv||(Gv=lB(YB))}function ZB(){return Gv=xL?Gv:uB(YB),xL=!0,Gv}const qB=(...e)=>{KB().render(...e)},Hee=(...e)=>{ZB().hydrate(...e)},V1=(...e)=>{const t=KB().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=eV(r);if(!i)return;const o=t._component;!Ct(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=n(i,!1,QB(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},JB=(...e)=>{const t=ZB().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=eV(r);if(i)return n(i,!0,QB(i))},t};function QB(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function eV(e){return Mt(e)?document.querySelector(e):e}let CL=!1;const zee=()=>{CL||(CL=!0,$ee(),dee())},Gee=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:B$,BaseTransitionPropsValidators:l2,Comment:Sr,DeprecationTypes:iee,EffectScope:JI,ErrorCodes:yJ,ErrorTypeStrings:qQ,Fragment:Ye,KeepAlive:GJ,ReactiveEffect:Rg,Static:bf,Suspense:OQ,Teleport:EJ,Text:yl,TrackOpTypes:fJ,Transition:kB,TransitionGroup:Oee,TriggerOpTypes:dJ,VueElement:aS,assertNumber:mJ,callWithAsyncErrorHandling:ya,callWithErrorHandling:ep,camelize:Vn,capitalize:Ju,cloneVNode:Is,compatUtils:ree,computed:Ce,createApp:V1,createBlock:yt,createCommentVNode:at,createElementBlock:te,createElementVNode:L,createHydrationRenderer:uB,createPropsRestProxy:lQ,createRenderer:lB,createSSRApp:JB,createSlots:KJ,createStaticVNode:VQ,createTextVNode:rt,createVNode:G,customRef:o2,defineAsyncComponent:HJ,defineComponent:nt,defineCustomElement:UB,defineEmits:QJ,defineExpose:eQ,defineModel:rQ,defineOptions:tQ,defineProps:JJ,defineSSRCustomElement:Eee,defineSlots:nQ,devtools:JQ,effect:kq,effectScope:s$,getCurrentInstance:Tr,getCurrentScope:jb,getCurrentWatcher:hJ,getTransitionRawChildren:Qb,guardReactiveProps:CB,h:ca,handleError:Jf,hasInjectionContext:v2,hydrate:Hee,hydrateOnIdle:kJ,hydrateOnInteraction:VJ,hydrateOnMediaQuery:BJ,hydrateOnVisible:$J,initCustomFormatter:YQ,initDirectivesForSSR:zee,inject:lo,isMemoSame:MB,isProxy:qb,isReactive:Ou,isReadonly:Vu,isRef:ht,isRuntimeOnly:WQ,isShallow:Do,isVNode:Il,markRaw:x$,mergeDefaults:sQ,mergeModels:M1,mergeProps:TB,nextTick:Qa,normalizeClass:gt,normalizeProps:q4,normalizeStyle:pr,onActivated:U$,onBeforeMount:G$,onBeforeUnmount:nS,onBeforeUpdate:c2,onDeactivated:H$,onErrorCaptured:Y$,onMounted:Vo,onRenderTracked:X$,onRenderTriggered:j$,onScopeDispose:QI,onServerPrefetch:W$,onUnmounted:Qf,onUpdated:tS,onWatcherCleanup:A$,openBlock:Y,popScopeId:xJ,provide:Hv,proxyRefs:i2,pushScopeId:wJ,queuePostFlushCb:Og,reactive:qa,readonly:Cm,ref:De,registerRuntimeCompiler:GQ,render:qB,renderList:fn,renderSlot:yf,resolveComponent:XJ,resolveDirective:YJ,resolveDynamicComponent:ml,resolveFilter:nee,resolveTransitionHooks:xh,setBlockTracking:SE,setDevtoolsHook:QQ,setTransitionHooks:Al,shallowReactive:r2,shallowReadonly:nJ,shallowRef:bi,ssrContextKey:hB,ssrUtils:tee,stop:Fq,toDisplayString:ie,toHandlerKey:vf,toHandlers:ZJ,toRaw:un,toRef:T$,toRefs:aJ,toValue:ha,transformVNodeArgs:$Q,triggerRef:hE,unref:B,useAttrs:aQ,useCssModule:Ree,useCssVars:hee,useHost:HB,useId:IJ,useModel:y2,useSSRContext:pB,useShadowRoot:Iee,useSlots:oQ,useTemplateRef:RJ,useTransitionState:s2,vModelCheckbox:Bn,vModelDynamic:jB,vModelRadio:S2,vModelSelect:vr,vModelText:ki,vShow:b2,version:OB,warn:ZQ,watch:Bt,watchEffect:rS,watchPostEffect:CQ,watchSyncEffect:vB,withAsyncContext:uQ,withCtx:qn,withDefaults:iQ,withDirectives:St,withKeys:w2,withMemo:KQ,withModifiers:gr,withScopeId:CJ},Symbol.toStringTag,{value:"Module"}));function sS(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9 12.75 3 3m0 0 3-3m-3 3v-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Wee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function jee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Im(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})])}function Rl(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Rm(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m15 11.25-3-3m0 0-3 3m3-3v7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Xee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"})])}function tV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})])}function Pm(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})])}function nV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Yee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})])}function rV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})])}function Kee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})])}function Zee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function qee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"})])}function TL(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"})])}function Jee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function x2(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"})])}function C2(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function Qee(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})])}function iV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function EL(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM13.5 10.5h-6"})])}function AL(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6"})])}function ete(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})])}function tte(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.25 9v6m-4.5 0V9M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function oV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"})])}function nte(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"})])}function aV(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})])}function T2(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function E2(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function rte(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"})])}function ite(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z"})])}function ote(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 6h.008v.008H6V6Z"})])}function A2(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})])}function lS(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"})])}function ate(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Nf(e,t){return Y(),te("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[L("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const jd=typeof document<"u";function sV(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ste(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sV(e.default)}const bn=Object.assign;function Zx(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 Wv=()=>{},Ja=Array.isArray,lV=/#/g,lte=/&/g,ute=/\//g,cte=/=/g,fte=/\?/g,uV=/\+/g,dte=/%5B/g,hte=/%5D/g,cV=/%5E/g,pte=/%60/g,fV=/%7B/g,vte=/%7C/g,dV=/%7D/g,gte=/%20/g;function I2(e){return encodeURI(""+e).replace(vte,"|").replace(dte,"[").replace(hte,"]")}function mte(e){return I2(e).replace(fV,"{").replace(dV,"}").replace(cV,"^")}function PE(e){return I2(e).replace(uV,"%2B").replace(gte,"+").replace(lV,"%23").replace(lte,"%26").replace(pte,"`").replace(fV,"{").replace(dV,"}").replace(cV,"^")}function yte(e){return PE(e).replace(cte,"%3D")}function _te(e){return I2(e).replace(lV,"%23").replace(fte,"%3F")}function bte(e){return e==null?"":_te(e).replace(ute,"%2F")}function $g(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ste=/\/$/,wte=e=>e.replace(Ste,"");function qx(e,t,n="/"){let r,i={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return 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=Ete(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:$g(a)}}function xte(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function IL(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Cte(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ah(t.matched[r],n.matched[i])&&hV(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ah(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hV(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Tte(e[n],t[n]))return!1;return!0}function Tte(e,t){return Ja(e)?RL(e,t):Ja(t)?RL(t,e):e===t}function RL(e,t){return Ja(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ete(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;a1&&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 Bg;(function(e){e.pop="pop",e.push="push"})(Bg||(Bg={}));var jv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jv||(jv={}));function Ate(e){if(!e)if(jd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wte(e)}const Ite=/^[^#]+#/;function Rte(e,t){return e.replace(Ite,"#")+t}function Pte(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 uS=()=>({left:window.scrollX,top:window.scrollY});function Mte(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=Pte(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 PL(e,t){return(history.state?history.state.position-t:-1)+e}const ME=new Map;function Ote(e,t){ME.set(e,t)}function Dte(e){const t=ME.get(e);return ME.delete(e),t}let Lte=()=>location.protocol+"//"+location.host;function pV(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),IL(l,"")}return IL(n,e)+r+i}function Nte(e,t,n,r){let i=[],o=[],a=null;const s=({state:d})=>{const h=pV(e,location),v=n.value,m=t.value;let _=0;if(d){if(n.value=h,t.value=d,a&&a===v){a=null;return}_=m?d.position-m.position:0}else r(h);i.forEach(y=>{y(n.value,v,{delta:_,type:Bg.pop,direction:_?_>0?jv.forward:jv.back:jv.unknown})})};function l(){a=n.value}function u(d){i.push(d);const h=()=>{const v=i.indexOf(d);v>-1&&i.splice(v,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(bn({},d.state,{scroll:uS()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function ML(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?uS():null}}function kte(e){const{history:t,location:n}=window,r={value:pV(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Lte()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),i.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function a(l,u){const c=bn({},t.state,ML(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});o(l,c,!0),r.value=l}function s(l,u){const c=bn({},i.value,t.state,{forward:l,scroll:uS()});o(c.current,c,!0);const f=bn({},ML(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:i,push:s,replace:a}}function Fte(e){e=Ate(e);const t=kte(e),n=Nte(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const i=bn({location:"",base:e,go:r,createHref:Rte.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function $te(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Fte(e)}function Bte(e){return typeof e=="string"||e&&typeof e=="object"}function vV(e){return typeof e=="string"||typeof e=="symbol"}const gV=Symbol("");var OL;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(OL||(OL={}));function Ih(e,t){return bn(new Error,{type:e,[gV]:!0},t)}function Zs(e,t){return e instanceof Error&&gV in e&&(t==null||!!(e.type&t))}const DL="[^/]+?",Vte={sensitive:!1,strict:!1,start:!0,end:!0},Ute=/[.+*?^${}()[\]/\\]/g;function Hte(e,t){const n=bn({},Vte,t),r=[];let i=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function mV(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Gte={type:0,value:""},Wte=/[a-zA-Z0-9_]/;function jte(e){if(!e)return[[]];if(e==="/")return[[Gte]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;s{a(b)}:Wv}function a(f){if(vV(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function s(){return n}function l(f){const d=qte(f,n);n.splice(d,0,f),f.record.name&&!FL(f)&&r.set(f.record.name,f)}function u(f,d){let h,v={},m,_;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Ih(1,{location:f});_=h.record.name,v=bn(NL(d.params,h.keys.filter(b=>!b.optional).concat(h.parent?h.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),f.params&&NL(f.params,h.keys.map(b=>b.name))),m=h.stringify(v)}else if(f.path!=null)m=f.path,h=n.find(b=>b.re.test(m)),h&&(v=h.parse(m),_=h.record.name);else{if(h=d.name?r.get(d.name):n.find(b=>b.re.test(d.path)),!h)throw Ih(1,{location:f,currentLocation:d});_=h.record.name,v=bn({},d.params,f.params),m=h.stringify(v)}const y=[];let S=h;for(;S;)y.unshift(S.record),S=S.parent;return{name:_,path:m,params:v,matched:y,meta:Zte(y)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:s,getRecordMatcher:i}}function NL(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function kL(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Kte(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Kte(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function FL(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Zte(e){return e.reduce((t,n)=>bn(t,n.meta),{})}function $L(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function qte(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;mV(e,t[o])<0?r=o:n=o+1}const i=Jte(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Jte(e){let t=e;for(;t=t.parent;)if(yV(t)&&mV(e,t)===0)return t}function yV({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Qte(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&PE(o)):[r&&PE(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ene(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ja(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const tne=Symbol(""),VL=Symbol(""),cS=Symbol(""),R2=Symbol(""),OE=Symbol("");function $p(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pu(e,t,n,r,i,o=a=>a()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const u=d=>{d===!1?l(Ih(4,{from:n,to:t})):d instanceof Error?l(d):Bte(d)?l(Ih(2,{from:t,to:d})):(a&&r.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),s())},c=o(()=>e.call(r&&r.instances[i],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Jx(e,t,n,r,i=o=>o()){const o=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(sV(l)){const c=(l.__vccOpts||l)[t];c&&o.push(pu(c,n,r,a,s,i))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const f=ste(c)?c.default:c;a.mods[s]=c,a.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&pu(h,n,r,a,s,i)()}))}}return o}function UL(e){const t=lo(cS),n=lo(R2),r=Ce(()=>{const l=B(e.to);return t.resolve(l)}),i=Ce(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Ah.bind(null,c));if(d>-1)return d;const h=HL(l[u-2]);return u>1&&HL(c)===h&&f[f.length-1].path!==h?f.findIndex(Ah.bind(null,l[u-2])):d}),o=Ce(()=>i.value>-1&&ane(n.params,r.value.params)),a=Ce(()=>i.value>-1&&i.value===n.matched.length-1&&hV(n.params,r.value.params));function s(l={}){if(one(l)){const u=t[B(e.replace)?"replace":"push"](B(e.to)).catch(Wv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ce(()=>r.value.href),isActive:o,isExactActive:a,navigate:s}}function nne(e){return e.length===1?e[0]:e}const rne=nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:UL,setup(e,{slots:t}){const n=qa(UL(e)),{options:r}=lo(cS),i=Ce(()=>({[zL(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zL(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&nne(t.default(n));return e.custom?o:ca("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),ine=rne;function one(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ane(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Ja(i)||i.length!==r.length||r.some((o,a)=>o!==i[a]))return!1}return!0}function HL(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zL=(e,t,n)=>e??t??n,sne=nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lo(OE),i=Ce(()=>e.route||r.value),o=lo(VL,0),a=Ce(()=>{let u=B(o);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=Ce(()=>i.value.matched[a.value]);Hv(VL,Ce(()=>a.value+1)),Hv(tne,s),Hv(OE,i);const l=De();return Bt(()=>[l.value,s.value,e.name],([u,c,f],[d,h,v])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Ah(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=s.value,d=f&&f.components[c];if(!d)return GL(n.default,{Component:d,route:u});const h=f.props[c],v=h?h===!0?u.params:typeof h=="function"?h(u):h:null,_=ca(d,bn({},v,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return GL(n.default,{Component:_,route:u})||_}}});function GL(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const P2=sne;function lne(e){const t=Yte(e.routes,e),n=e.parseQuery||Qte,r=e.stringifyQuery||BL,i=e.history,o=$p(),a=$p(),s=$p(),l=bi(Yl);let u=Yl;jd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Zx.bind(null,fe=>""+fe),f=Zx.bind(null,bte),d=Zx.bind(null,$g);function h(fe,Ae){let Se,Te;return vV(fe)?(Se=t.getRecordMatcher(fe),Te=Ae):Te=fe,t.addRoute(Te,Se)}function v(fe){const Ae=t.getRecordMatcher(fe);Ae&&t.removeRoute(Ae)}function m(){return t.getRoutes().map(fe=>fe.record)}function _(fe){return!!t.getRecordMatcher(fe)}function y(fe,Ae){if(Ae=bn({},Ae||l.value),typeof fe=="string"){const z=qx(n,fe,Ae.path),ue=t.resolve({path:z.path},Ae),we=i.createHref(z.fullPath);return bn(z,ue,{params:d(ue.params),hash:$g(z.hash),redirectedFrom:void 0,href:we})}let Se;if(fe.path!=null)Se=bn({},fe,{path:qx(n,fe.path,Ae.path).path});else{const z=bn({},fe.params);for(const ue in z)z[ue]==null&&delete z[ue];Se=bn({},fe,{params:f(z)}),Ae.params=f(Ae.params)}const Te=t.resolve(Se,Ae),Ne=fe.hash||"";Te.params=c(d(Te.params));const Be=xte(r,bn({},fe,{hash:mte(Ne),path:Te.path})),H=i.createHref(Be);return bn({fullPath:Be,hash:Ne,query:r===BL?ene(fe.query):fe.query||{}},Te,{redirectedFrom:void 0,href:H})}function S(fe){return typeof fe=="string"?qx(n,fe,l.value.path):bn({},fe)}function b(fe,Ae){if(u!==fe)return Ih(8,{from:Ae,to:fe})}function w(fe){return E(fe)}function T(fe){return w(bn(S(fe),{replace:!0}))}function C(fe){const Ae=fe.matched[fe.matched.length-1];if(Ae&&Ae.redirect){const{redirect:Se}=Ae;let Te=typeof Se=="function"?Se(fe):Se;return typeof Te=="string"&&(Te=Te.includes("?")||Te.includes("#")?Te=S(Te):{path:Te},Te.params={}),bn({query:fe.query,hash:fe.hash,params:Te.path!=null?{}:fe.params},Te)}}function E(fe,Ae){const Se=u=y(fe),Te=l.value,Ne=fe.state,Be=fe.force,H=fe.replace===!0,z=C(Se);if(z)return E(bn(S(z),{state:typeof z=="object"?bn({},Ne,z.state):Ne,force:Be,replace:H}),Ae||Se);const ue=Se;ue.redirectedFrom=Ae;let we;return!Be&&Cte(r,Te,Se)&&(we=Ih(16,{to:ue,from:Te}),ye(Te,Te,!0,!1)),(we?Promise.resolve(we):M(ue,Te)).catch(ve=>Zs(ve)?Zs(ve,2)?ve:ge(ve):X(ve,ue,Te)).then(ve=>{if(ve){if(Zs(ve,2))return E(bn({replace:H},S(ve.to),{state:typeof ve.to=="object"?bn({},Ne,ve.to.state):Ne,force:Be}),Ae||ue)}else ve=D(ue,Te,!0,H,Ne);return P(ue,Te,ve),ve})}function R(fe,Ae){const Se=b(fe,Ae);return Se?Promise.reject(Se):Promise.resolve()}function I(fe){const Ae=Ue.values().next().value;return Ae&&typeof Ae.runWithContext=="function"?Ae.runWithContext(fe):fe()}function M(fe,Ae){let Se;const[Te,Ne,Be]=une(fe,Ae);Se=Jx(Te.reverse(),"beforeRouteLeave",fe,Ae);for(const z of Te)z.leaveGuards.forEach(ue=>{Se.push(pu(ue,fe,Ae))});const H=R.bind(null,fe,Ae);return Se.push(H),je(Se).then(()=>{Se=[];for(const z of o.list())Se.push(pu(z,fe,Ae));return Se.push(H),je(Se)}).then(()=>{Se=Jx(Ne,"beforeRouteUpdate",fe,Ae);for(const z of Ne)z.updateGuards.forEach(ue=>{Se.push(pu(ue,fe,Ae))});return Se.push(H),je(Se)}).then(()=>{Se=[];for(const z of Be)if(z.beforeEnter)if(Ja(z.beforeEnter))for(const ue of z.beforeEnter)Se.push(pu(ue,fe,Ae));else Se.push(pu(z.beforeEnter,fe,Ae));return Se.push(H),je(Se)}).then(()=>(fe.matched.forEach(z=>z.enterCallbacks={}),Se=Jx(Be,"beforeRouteEnter",fe,Ae,I),Se.push(H),je(Se))).then(()=>{Se=[];for(const z of a.list())Se.push(pu(z,fe,Ae));return Se.push(H),je(Se)}).catch(z=>Zs(z,8)?z:Promise.reject(z))}function P(fe,Ae,Se){s.list().forEach(Te=>I(()=>Te(fe,Ae,Se)))}function D(fe,Ae,Se,Te,Ne){const Be=b(fe,Ae);if(Be)return Be;const H=Ae===Yl,z=jd?history.state:{};Se&&(Te||H?i.replace(fe.fullPath,bn({scroll:H&&z&&z.scroll},Ne)):i.push(fe.fullPath,Ne)),l.value=fe,ye(fe,Ae,Se,H),ge()}let k;function $(){k||(k=i.listen((fe,Ae,Se)=>{if(!Le.listening)return;const Te=y(fe),Ne=C(Te);if(Ne){E(bn(Ne,{replace:!0,force:!0}),Te).catch(Wv);return}u=Te;const Be=l.value;jd&&Ote(PL(Be.fullPath,Se.delta),uS()),M(Te,Be).catch(H=>Zs(H,12)?H:Zs(H,2)?(E(bn(S(H.to),{force:!0}),Te).then(z=>{Zs(z,20)&&!Se.delta&&Se.type===Bg.pop&&i.go(-1,!1)}).catch(Wv),Promise.reject()):(Se.delta&&i.go(-Se.delta,!1),X(H,Te,Be))).then(H=>{H=H||D(Te,Be,!1),H&&(Se.delta&&!Zs(H,8)?i.go(-Se.delta,!1):Se.type===Bg.pop&&Zs(H,20)&&i.go(-1,!1)),P(Te,Be,H)}).catch(Wv)}))}let W=$p(),N=$p(),K;function X(fe,Ae,Se){ge(fe);const Te=N.list();return Te.length?Te.forEach(Ne=>Ne(fe,Ae,Se)):console.error(fe),Promise.reject(fe)}function ae(){return K&&l.value!==Yl?Promise.resolve():new Promise((fe,Ae)=>{W.add([fe,Ae])})}function ge(fe){return K||(K=!fe,$(),W.list().forEach(([Ae,Se])=>fe?Se(fe):Ae()),W.reset()),fe}function ye(fe,Ae,Se,Te){const{scrollBehavior:Ne}=e;if(!jd||!Ne)return Promise.resolve();const Be=!Se&&Dte(PL(fe.fullPath,0))||(Te||!Se)&&history.state&&history.state.scroll||null;return Qa().then(()=>Ne(fe,Ae,Be)).then(H=>H&&Mte(H)).catch(H=>X(H,fe,Ae))}const Me=fe=>i.go(fe);let ke;const Ue=new Set,Le={currentRoute:l,listening:!0,addRoute:h,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:m,resolve:y,options:e,push:w,replace:T,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:N.add,isReady:ae,install(fe){const Ae=this;fe.component("RouterLink",ine),fe.component("RouterView",P2),fe.config.globalProperties.$router=Ae,Object.defineProperty(fe.config.globalProperties,"$route",{enumerable:!0,get:()=>B(l)}),jd&&!ke&&l.value===Yl&&(ke=!0,w(i.location).catch(Ne=>{}));const Se={};for(const Ne in Yl)Object.defineProperty(Se,Ne,{get:()=>l.value[Ne],enumerable:!0});fe.provide(cS,Ae),fe.provide(R2,r2(Se)),fe.provide(OE,l);const Te=fe.unmount;Ue.add(fe),fe.unmount=function(){Ue.delete(fe),Ue.size<1&&(u=Yl,k&&k(),k=null,l.value=Yl,ke=!1,K=!1),Te()}}};function je(fe){return fe.reduce((Ae,Se)=>Ae.then(()=>I(Se)),Promise.resolve())}return Le}function une(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aAh(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>Ah(u,l))||i.push(l))}return[n,r,i]}function _V(){return lo(cS)}function M2(e){return lo(R2)}const bV="https://www.gstatic.com/generate_204",O2="https://ipv6.google.com/generate_204",Fi=0;var _s=(e=>(e.EN_US="en-US",e.ZH_CN="zh-CN",e.RU_RU="ru-RU",e))(_s||{}),mu=(e=>(e.MI_SANS="MiSans",e.SARASA_UI="SarasaUi",e.PING_FANG="PingFang",e.FIRA_SANS="FiraSans",e.SYSTEM_UI="SystemUI",e))(mu||{}),ze=(e=>(e.Close="close",e.Type="type",e.Process="process",e.Host="host",e.Rule="rule",e.Chains="chains",e.DlSpeed="dlSpeed",e.UlSpeed="ulSpeed",e.Download="dl",e.Upload="ul",e.ConnectTime="connectTime",e.SourceIP="sourceIP",e.SourcePort="sourcePort",e.SniffHost="sniffHost",e.Destination="destination",e.DestinationType="destinationType",e.RemoteAddress="remoteAddress",e))(ze||{}),fS=(e=>(e.AUTO="auto",e.MANUAL="manual",e))(fS||{}),yu=(e=>(e.DEFAULT="defaultsort",e.NAME_ASC="nameasc",e.NAME_DESC="namedesc",e.LATENCY_ASC="latencyasc",e.LATENCY_DESC="latencydesc",e))(yu||{}),Vg=(e=>(e.AUTO="auto",e.DOTS="dots",e.BAR="bar",e))(Vg||{}),fl=(e=>(e.RULES="rules",e.PROVIDER="ruleProvider",e))(fl||{}),Wa=(e=>(e.PROXIES="proxies",e.PROVIDER="proxyProvider",e))(Wa||{}),eo=(e=>(e.HOST="host",e.CHAINS="chains",e.RULE="rule",e.TYPE="type",e.CONNECT_TIME="connectTime",e.DOWNLOAD="download",e.DOWNLOAD_SPEED="downloadSpeed",e.UPLOAD="upload",e.UPLOAD_SPEED="uploadSpeed",e.SOURCE_IP="sourceIP",e))(eo||{}),Qc=(e=>(e.ASC="asc",e.DESC="desc",e))(Qc||{}),Mm=(e=>(e.ACTIVE="activeConnections",e.CLOSED="closedConnections",e))(Mm||{}),Oi=(e=>(e.Trace="trace",e.Debug="debug",e.Info="info",e.Warning="warning",e.Error="error",e.Fatal="fatal",e.Panic="panic",e.Silent="silent",e))(Oi||{}),jt=(e=>(e.overview="overview",e.proxies="proxies",e.connections="connections",e.logs="logs",e.rules="rules",e.settings="settings",e.setup="setup",e))(jt||{});const SV={overview:TL,proxies:Qee,connections:tV,rules:ite,logs:Jee,settings:Zee,setup:TL};var Ug=(e=>(e.SMALL="small",e.LARGE="large",e))(Ug||{}),Om=(e=>(e.SMALL="small",e.LARGE="large",e))(Om||{}),DE=(e=>(e[e.SMALL=130]="SMALL",e[e.LARGE=145]="LARGE",e))(DE||{}),tp=(e=>(e.NORMAL="normal",e.REVERSE="reverse",e))(tp||{}),Xr=(e=>(e.Direct="direct",e.Reject="reject",e.RejectDrop="rejectdrop",e.Compatible="compatible",e.Pass="pass",e.Dns="dns",e.Selector="selector",e.Fallback="fallback",e.URLTest="urltest",e.LoadBalance="loadbalance",e))(Xr||{}),Hg=(e=>(e.FILTERED_TOTAL="filteredTotal",e.TOTAL="total",e.ALIVE_TOTAL="aliveTotal",e))(Hg||{});const cne=[["host","connectTime"],["chains","dlSpeed","close"]],wV=[["host","connectTime"],["type","dl","ul"],["chains","dlSpeed","close"]];function dS(e){return jb()?(QI(e),!0):!1}const Qx=new WeakMap,fne=(...e)=>{var t;const n=e[0],r=(t=Tr())==null?void 0:t.proxy;if(r==null&&!v2())throw new Error("injectLocal must be called in setup");return r&&Qx.has(r)&&n in Qx.get(r)?Qx.get(r)[n]:lo(...e)},xV=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dne=e=>e!=null,hne=Object.prototype.toString,pne=e=>hne.call(e)==="[object Object]",vne=()=>{};function CV(...e){if(e.length!==1)return T$(...e);const t=e[0];return typeof t=="function"?Cm(o2(()=>({get:t,set:vne}))):De(t)}function gne(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}const TV=e=>e();function mne(e=TV,t={}){const{initialState:n="active"}=t,r=CV(n==="active");function i(){r.value=!1}function o(){r.value=!0}const a=(...s)=>{r.value&&e(...s)};return{isActive:Cm(r),pause:i,resume:o,eventFilter:a}}function WL(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Xv(e){return Array.isArray(e)?e:[e]}function yne(e){return Tr()}function _ne(e,t,n={}){const{eventFilter:r=TV,...i}=n;return Bt(e,gne(r,t),i)}function bne(e,t,n={}){const{eventFilter:r,initialState:i="active",...o}=n,{eventFilter:a,pause:s,resume:l,isActive:u}=mne(r,{initialState:i});return{stop:_ne(e,t,{...o,eventFilter:a}),pause:s,resume:l,isActive:u}}function EV(e,t=!0,n){yne()?Vo(e,n):t?e():Qa(e)}function Sne(e,t,n){return Bt(e,t,{...n,immediate:!0})}const kf=xV?window:void 0,AV=xV?window.document:void 0;function bu(e){var t;const n=ha(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Sf(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,l,u,c)=>(s.addEventListener(l,u,c),()=>s.removeEventListener(l,u,c)),i=Ce(()=>{const s=Xv(ha(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),o=Sne(()=>{var s,l;return[(l=(s=i.value)==null?void 0:s.map(u=>bu(u)))!=null?l:[kf].filter(u=>u!=null),Xv(ha(i.value?e[1]:e[0])),Xv(B(i.value?e[2]:e[1])),ha(i.value?e[3]:e[2])]},([s,l,u,c])=>{if(n(),!(s!=null&&s.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=pne(c)?{...c}:c;t.push(...s.flatMap(d=>l.flatMap(h=>u.map(v=>r(d,h,v,f)))))},{flush:"post"}),a=()=>{o(),n()};return dS(n),a}function wne(){const e=bi(!1),t=Tr();return t&&Vo(()=>{e.value=!0},t),e}function D2(e){const t=wne();return Ce(()=>(t.value,!!e()))}function xne(e,t,n={}){const{window:r=kf,...i}=n;let o;const a=D2(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=Ce(()=>{const d=ha(e),h=Xv(d).map(bu).filter(dne);return new Set(h)}),u=Bt(()=>l.value,d=>{s(),a.value&&d.size&&(o=new MutationObserver(t),d.forEach(h=>o.observe(h,i)))},{immediate:!0,flush:"post"}),c=()=>o==null?void 0:o.takeRecords(),f=()=>{u(),s()};return dS(f),{isSupported:a,stop:f,takeRecords:c}}const Cne=Symbol("vueuse-ssr-width");function Tne(){const e=v2()?fne(Cne,null):null;return typeof e=="number"?e:void 0}function L2(e,t={}){const{window:n=kf,ssrWidth:r=Tne()}=t,i=D2(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=bi(typeof r=="number"),a=bi(),s=bi(!1),l=u=>{s.value=u.matches};return rS(()=>{if(o.value){o.value=!i.value;const u=ha(e).split(",");s.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(d||h);return d&&v&&(v=r>=WL(d[1])),h&&v&&(v=r<=WL(h[1])),f?!v:v});return}i.value&&(a.value=n.matchMedia(ha(e)),s.value=a.value.matches)}),Sf(a,"change",l,{passive:!0}),Ce(()=>s.value)}const i0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o0="__vueuse_ssr_handlers__",Ene=Ane();function Ane(){return o0 in i0||(i0[o0]=i0[o0]||{}),i0[o0]}function Ine(e,t){return Ene[e]||t}function Rne(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Pne={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},jL="vueuse-storage";function pt(e,t,n,r={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=kf,eventFilter:d,onError:h=P=>{console.error(P)},initOnMounted:v}=r,m=(c?bi:De)(typeof t=="function"?t():t),_=Ce(()=>ha(e));if(!n)try{n=Ine("getDefaultStorage",()=>{var P;return(P=kf)==null?void 0:P.localStorage})()}catch(P){h(P)}if(!n)return m;const y=ha(t),S=Rne(y),b=(i=r.serializer)!=null?i:Pne[S],{pause:w,resume:T}=bne(m,()=>E(m.value),{flush:o,deep:a,eventFilter:d});Bt(_,()=>I(),{flush:o}),f&&s&&EV(()=>{n instanceof Storage?Sf(f,"storage",I,{passive:!0}):Sf(f,jL,M),v&&I()}),v||I();function C(P,D){if(f){const k={key:_.value,oldValue:P,newValue:D,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",k):new CustomEvent(jL,{detail:k}))}}function E(P){try{const D=n.getItem(_.value);if(P==null)C(D,null),n.removeItem(_.value);else{const k=b.write(P);D!==k&&(n.setItem(_.value,k),C(D,k))}}catch(D){h(D)}}function R(P){const D=P?P.newValue:n.getItem(_.value);if(D==null)return l&&y!=null&&n.setItem(_.value,b.write(y)),y;if(!P&&u){const k=b.read(D);return typeof u=="function"?u(k,y):S==="object"&&!Array.isArray(k)?{...y,...k}:k}else return typeof D!="string"?D:b.read(D)}function I(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){m.value=y;return}if(!(P&&P.key!==_.value)){w();try{(P==null?void 0:P.newValue)!==b.write(m.value)&&(m.value=R(P))}catch(D){h(D)}finally{P?Qa(T):T()}}}}function M(P){I(P.detail)}return m}function Mne(e={}){const{document:t=AV}=e;if(!t)return bi("visible");const n=bi(t.visibilityState);return Sf(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function One(e,t,n={}){const{window:r=kf,...i}=n;let o;const a=D2(()=>r&&"ResizeObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=Ce(()=>{const f=ha(e);return Array.isArray(f)?f.map(d=>bu(d)):[bu(f)]}),u=Bt(l,f=>{if(s(),a.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,i)}},{immediate:!0,flush:"post"}),c=()=>{s(),u()};return dS(c),{isSupported:a,stop:c}}function N2(e,t={width:0,height:0},n={}){const{window:r=kf,box:i="content-box"}=n,o=Ce(()=>{var f,d;return(d=(f=bu(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),a=bi(t.width),s=bi(t.height),{stop:l}=One(e,([f])=>{const d=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const h=bu(e);if(h){const v=h.getBoundingClientRect();a.value=v.width,s.value=v.height}}else if(d){const h=Xv(d);a.value=h.reduce((v,{inlineSize:m})=>v+m,0),s.value=h.reduce((v,{blockSize:m})=>v+m,0)}else a.value=f.contentRect.width,s.value=f.contentRect.height},n);EV(()=>{const f=bu(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=Bt(()=>bu(e),f=>{a.value=f?t.width:0,s.value=f?t.height:0});function c(){l(),u()}return{width:a,height:s,stop:c}}const Bp=new Map;function Dne(e){const t=jb();function n(s){var l;const u=Bp.get(e)||new Set;u.add(s),Bp.set(e,u);const c=()=>i(s);return(l=t==null?void 0:t.cleanups)==null||l.push(c),c}function r(s){function l(...u){i(l),s(...u)}return n(l)}function i(s){const l=Bp.get(e);l&&(l.delete(s),l.size||o())}function o(){Bp.delete(e)}function a(s,l){var u;(u=Bp.get(e))==null||u.forEach(c=>c(s,l))}return{on:n,once:r,off:i,emit:a,reset:o}}function Lne(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:i,onSwipeStart:o,passive:a=!0}=t,s=qa({x:0,y:0}),l=qa({x:0,y:0}),u=Ce(()=>s.x-l.x),c=Ce(()=>s.y-l.y),{max:f,abs:d}=Math,h=Ce(()=>f(d(u.value),d(c.value))>=n),v=bi(!1),m=Ce(()=>h.value?d(u.value)>d(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),_=E=>[E.touches[0].clientX,E.touches[0].clientY],y=(E,R)=>{s.x=E,s.y=R},S=(E,R)=>{l.x=E,l.y=R},b={passive:a,capture:!a},w=E=>{v.value&&(i==null||i(E,m.value)),v.value=!1},T=[Sf(e,"touchstart",E=>{if(E.touches.length!==1)return;const[R,I]=_(E);y(R,I),S(R,I),o==null||o(E)},b),Sf(e,"touchmove",E=>{if(E.touches.length!==1)return;const[R,I]=_(E);S(R,I),b.capture&&!b.passive&&Math.abs(u.value)>Math.abs(c.value)&&E.preventDefault(),!v.value&&h.value&&(v.value=!0),v.value&&(r==null||r(E))},b),Sf(e,["touchend","touchcancel"],w,b)];return{isSwiping:v,direction:m,coordsStart:s,coordsEnd:l,lengthX:u,lengthY:c,stop:()=>T.forEach(E=>E()),isPassiveEventSupported:!0}}function Nne(e=null,t={}){var n,r,i;const{document:o=AV,restoreOnUnmount:a=f=>f}=t,s=(n=o==null?void 0:o.title)!=null?n:"",l=CV((r=e??(o==null?void 0:o.title))!=null?r:null),u=!!(e&&typeof e=="function");function c(f){if(!("titleTemplate"in t))return f;const d=t.titleTemplate||"%s";return typeof d=="function"?d(f):ha(d).replace(/%s/g,f)}return Bt(l,(f,d)=>{f!==d&&o&&(o.title=c(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!u&&xne((i=o.head)==null?void 0:i.querySelector("title"),()=>{o&&o.title!==l.value&&(l.value=c(o.title))},{childList:!0}),dS(()=>{if(a){const f=a(s,l.value||"");f!=null&&o&&(o.title=f)}}),l}const IV=L2("(prefers-color-scheme: dark)"),Hu=L2("(max-width: 768px)"),kne=L2("(max-width: 1024px)"),LE=window.matchMedia("(display-mode: standalone)").matches||navigator.standalone,k2=e=>e===Om.LARGE?DE.LARGE:DE.SMALL,RV="background-image",U1="local-image",Fne=e=>{const t=new Map,r=new Promise((f,d)=>{const h=indexedDB.open(e,1);h.onupgradeneeded=()=>{const v=h.result;v.objectStoreNames.contains(e)||v.createObjectStore(e,{keyPath:"key"})},h.onsuccess=()=>{const _=h.result.transaction(e,"readonly").objectStore(e).openCursor();_.onsuccess=y=>{const S=y.target.result;S?(t.set(S.key,S.value.value),S.continue()):f(h.result)},_.onerror=()=>d(_.error)},h.onerror=()=>d(h.error)}),i=async(f,d)=>{const h=await r;return new Promise((v,m)=>{const y=h.transaction(e,f).objectStore(e),S=d(y);S.onsuccess=()=>v(S.result),S.onerror=()=>m(S.error)})};return{put:async(f,d)=>(t.set(f,d),i("readwrite",h=>h.put({key:f,value:d}))),get:async f=>(await r,t.get(f)),del:async f=>(t.delete(f),i("readwrite",d=>d.delete(f))),getAllKeys:async()=>(await r,Array.from(t.keys())),isExists:async f=>(await r,t.has(f)),clear:async()=>(t.clear(),i("readwrite",f=>f.clear()))}},F2=Fne("base64"),$ne=e=>F2.put(RV,e),Bne=()=>F2.get(RV),Vne=()=>F2.clear();var bv={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var Une=bv.exports,XL;function Hne(){return XL||(XL=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,d=2,h=4,v=1,m=2,_=1,y=2,S=4,b=8,w=16,T=32,C=64,E=128,R=256,I=512,M=30,P="...",D=800,k=16,$=1,W=2,N=3,K=1/0,X=9007199254740991,ae=17976931348623157e292,ge=NaN,ye=4294967295,Me=ye-1,ke=ye>>>1,Ue=[["ary",E],["bind",_],["bindKey",y],["curry",b],["curryRight",w],["flip",I],["partial",T],["partialRight",C],["rearg",R]],Le="[object Arguments]",je="[object Array]",fe="[object AsyncFunction]",Ae="[object Boolean]",Se="[object Date]",Te="[object DOMException]",Ne="[object Error]",Be="[object Function]",H="[object GeneratorFunction]",z="[object Map]",ue="[object Number]",we="[object Null]",ve="[object Object]",U="[object Promise]",j="[object Proxy]",J="[object RegExp]",de="[object Set]",_e="[object String]",Oe="[object Symbol]",q="[object Undefined]",he="[object WeakMap]",Ve="[object WeakSet]",Ze="[object ArrayBuffer]",bt="[object DataView]",ne="[object Float32Array]",se="[object Float64Array]",pe="[object Int8Array]",Ee="[object Int16Array]",Ge="[object Int32Array]",oe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",$e="[object Uint16Array]",et="[object Uint32Array]",We=/\b__p \+= '';/g,Xe=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ot=/&(?:amp|lt|gt|quot|#39);/g,Lt=/[&<>"']/g,Nn=RegExp(Ot.source),Ta=RegExp(Lt.source),Pn=/<%-([\s\S]+?)%>/g,yr=/<%([\s\S]+?)%>/g,nd=/<%=([\s\S]+?)%>/g,Fl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ns=/^\w*$/,Qm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rd=/[\\^$.*+?()[\]{}|]/g,ww=RegExp(rd.source),zi=/^\s+/,id=/\s/,ey=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ty=/\{\n\/\* \[wrapped with (.+)\] \*/,gp=/,? & /,ny=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ea=/[()=,{}\[\]\/\s]/,ry=/\\(\\)?/g,iy=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,mp=/\w*$/,oy=/^[-+]0x[0-9a-f]+$/i,xw=/^0b[01]+$/i,mt=/^\[object .+?Constructor\]$/,re=/^0o[0-7]+$/i,He=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,Lr=/['\n\r\u2028\u2029\\]/g,nr="\\ud800-\\udfff",ei="\\u0300-\\u036f",Uo="\\ufe20-\\ufe2f",ac="\\u20d0-\\u20ff",Nr=ei+Uo+ac,yp="\\u2700-\\u27bf",_p="a-z\\xdf-\\xf6\\xf8-\\xff",D7="\\xac\\xb1\\xd7\\xf7",L7="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",N7="\\u2000-\\u206f",k7=" \\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",cM="A-Z\\xc0-\\xd6\\xd8-\\xde",fM="\\ufe0e\\ufe0f",dM=D7+L7+N7+k7,Cw="['’]",F7="["+nr+"]",hM="["+dM+"]",ay="["+Nr+"]",pM="\\d+",$7="["+yp+"]",vM="["+_p+"]",gM="[^"+nr+dM+pM+yp+_p+cM+"]",Tw="\\ud83c[\\udffb-\\udfff]",B7="(?:"+ay+"|"+Tw+")",mM="[^"+nr+"]",Ew="(?:\\ud83c[\\udde6-\\uddff]){2}",Aw="[\\ud800-\\udbff][\\udc00-\\udfff]",od="["+cM+"]",yM="\\u200d",_M="(?:"+vM+"|"+gM+")",V7="(?:"+od+"|"+gM+")",bM="(?:"+Cw+"(?:d|ll|m|re|s|t|ve))?",SM="(?:"+Cw+"(?:D|LL|M|RE|S|T|VE))?",wM=B7+"?",xM="["+fM+"]?",U7="(?:"+yM+"(?:"+[mM,Ew,Aw].join("|")+")"+xM+wM+")*",H7="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",z7="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",CM=xM+wM+U7,G7="(?:"+[$7,Ew,Aw].join("|")+")"+CM,W7="(?:"+[mM+ay+"?",ay,Ew,Aw,F7].join("|")+")",j7=RegExp(Cw,"g"),X7=RegExp(ay,"g"),Iw=RegExp(Tw+"(?="+Tw+")|"+W7+CM,"g"),Y7=RegExp([od+"?"+vM+"+"+bM+"(?="+[hM,od,"$"].join("|")+")",V7+"+"+SM+"(?="+[hM,od+_M,"$"].join("|")+")",od+"?"+_M+"+"+bM,od+"+"+SM,z7,H7,pM,G7].join("|"),"g"),K7=RegExp("["+yM+nr+Nr+fM+"]"),Z7=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,q7=["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","isFinite","parseInt","setTimeout"],J7=-1,Un={};Un[ne]=Un[se]=Un[pe]=Un[Ee]=Un[Ge]=Un[oe]=Un[Ie]=Un[$e]=Un[et]=!0,Un[Le]=Un[je]=Un[Ze]=Un[Ae]=Un[bt]=Un[Se]=Un[Ne]=Un[Be]=Un[z]=Un[ue]=Un[ve]=Un[J]=Un[de]=Un[_e]=Un[he]=!1;var kn={};kn[Le]=kn[je]=kn[Ze]=kn[bt]=kn[Ae]=kn[Se]=kn[ne]=kn[se]=kn[pe]=kn[Ee]=kn[Ge]=kn[z]=kn[ue]=kn[ve]=kn[J]=kn[de]=kn[_e]=kn[Oe]=kn[oe]=kn[Ie]=kn[$e]=kn[et]=!0,kn[Ne]=kn[Be]=kn[he]=!1;var Q7={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},e9={"&":"&","<":"<",">":">",'"':""","'":"'"},t9={"&":"&","<":"<",">":">",""":'"',"'":"'"},n9={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},r9=parseFloat,i9=parseInt,TM=typeof Xy=="object"&&Xy&&Xy.Object===Object&&Xy,o9=typeof self=="object"&&self&&self.Object===Object&&self,Hr=TM||o9||Function("return this")(),Rw=t&&!t.nodeType&&t,sc=Rw&&!0&&e&&!e.nodeType&&e,EM=sc&&sc.exports===Rw,Pw=EM&&TM.process,Ho=function(){try{var le=sc&&sc.require&&sc.require("util").types;return le||Pw&&Pw.binding&&Pw.binding("util")}catch{}}(),AM=Ho&&Ho.isArrayBuffer,IM=Ho&&Ho.isDate,RM=Ho&&Ho.isMap,PM=Ho&&Ho.isRegExp,MM=Ho&&Ho.isSet,OM=Ho&&Ho.isTypedArray;function bo(le,xe,me){switch(me.length){case 0:return le.call(xe);case 1:return le.call(xe,me[0]);case 2:return le.call(xe,me[0],me[1]);case 3:return le.call(xe,me[0],me[1],me[2])}return le.apply(xe,me)}function a9(le,xe,me,it){for(var kt=-1,pn=le==null?0:le.length;++kt-1}function Mw(le,xe,me){for(var it=-1,kt=le==null?0:le.length;++it-1;);return me}function VM(le,xe){for(var me=le.length;me--&&ad(xe,le[me],0)>-1;);return me}function v9(le,xe){for(var me=le.length,it=0;me--;)le[me]===xe&&++it;return it}var g9=Nw(Q7),m9=Nw(e9);function y9(le){return"\\"+n9[le]}function _9(le,xe){return le==null?n:le[xe]}function sd(le){return K7.test(le)}function b9(le){return Z7.test(le)}function S9(le){for(var xe,me=[];!(xe=le.next()).done;)me.push(xe.value);return me}function Bw(le){var xe=-1,me=Array(le.size);return le.forEach(function(it,kt){me[++xe]=[kt,it]}),me}function UM(le,xe){return function(me){return le(xe(me))}}function Vl(le,xe){for(var me=-1,it=le.length,kt=0,pn=[];++me-1}function lW(p,g){var x=this.__data__,A=Cy(x,p);return A<0?(++this.size,x.push([p,g])):x[A][1]=g,this}Bs.prototype.clear=iW,Bs.prototype.delete=oW,Bs.prototype.get=aW,Bs.prototype.has=sW,Bs.prototype.set=lW;function Vs(p){var g=-1,x=p==null?0:p.length;for(this.clear();++g=g?p:g)),p}function jo(p,g,x,A,O,V){var Z,Q=g&f,ce=g&d,Re=g&h;if(x&&(Z=O?x(p,A,O,V):x(p)),Z!==n)return Z;if(!er(p))return p;var Pe=Vt(p);if(Pe){if(Z=dj(p),!Q)return Gi(p,Z)}else{var Fe=ni(p),Je=Fe==Be||Fe==H;if(jl(p))return xO(p,Q);if(Fe==ve||Fe==Le||Je&&!O){if(Z=ce||Je?{}:HO(p),!Q)return ce?tj(p,CW(Z,p)):ej(p,QM(Z,p))}else{if(!kn[Fe])return O?p:{};Z=hj(p,Fe,Q)}}V||(V=new Ia);var vt=V.get(p);if(vt)return vt;V.set(p,Z),mD(p)?p.forEach(function(Et){Z.add(jo(Et,g,x,Et,p,V))}):vD(p)&&p.forEach(function(Et,qt){Z.set(qt,jo(Et,g,x,qt,p,V))});var Tt=Re?ce?fx:cx:ce?ji:kr,Xt=Pe?n:Tt(p);return zo(Xt||p,function(Et,qt){Xt&&(qt=Et,Et=p[qt]),Ep(Z,qt,jo(Et,g,x,qt,p,V))}),Z}function TW(p){var g=kr(p);return function(x){return eO(x,p,g)}}function eO(p,g,x){var A=x.length;if(p==null)return!A;for(p=Mn(p);A--;){var O=x[A],V=g[O],Z=p[O];if(Z===n&&!(O in p)||!V(Z))return!1}return!0}function tO(p,g,x){if(typeof p!="function")throw new Go(a);return Dp(function(){p.apply(n,x)},g)}function Ap(p,g,x,A){var O=-1,V=sy,Z=!0,Q=p.length,ce=[],Re=g.length;if(!Q)return ce;x&&(g=jn(g,So(x))),A?(V=Mw,Z=!1):g.length>=i&&(V=bp,Z=!1,g=new cc(g));e:for(;++OO?0:O+x),A=A===n||A>O?O:Wt(A),A<0&&(A+=O),A=x>A?0:_D(A);x0&&x(Q)?g>1?zr(Q,g-1,x,A,O):Bl(O,Q):A||(O[O.length]=Q)}return O}var jw=RO(),iO=RO(!0);function rs(p,g){return p&&jw(p,g,kr)}function Xw(p,g){return p&&iO(p,g,kr)}function Ey(p,g){return $l(g,function(x){return Ws(p[x])})}function dc(p,g){g=Gl(g,p);for(var x=0,A=g.length;p!=null&&xg}function IW(p,g){return p!=null&&Cn.call(p,g)}function RW(p,g){return p!=null&&g in Mn(p)}function PW(p,g,x){return p>=ti(g,x)&&p=120&&Pe.length>=120)?new cc(Z&&Pe):n}Pe=p[0];var Fe=-1,Je=Q[0];e:for(;++Fe-1;)Q!==p&&my.call(Q,ce,1),my.call(p,ce,1);return p}function vO(p,g){for(var x=p?g.length:0,A=x-1;x--;){var O=g[x];if(x==A||O!==V){var V=O;Gs(O)?my.call(p,O,1):rx(p,O)}}return p}function ex(p,g){return p+by(KM()*(g-p+1))}function zW(p,g,x,A){for(var O=-1,V=Ar(_y((g-p)/(x||1)),0),Z=me(V);V--;)Z[A?V:++O]=p,p+=x;return Z}function tx(p,g){var x="";if(!p||g<1||g>X)return x;do g%2&&(x+=p),g=by(g/2),g&&(p+=p);while(g);return x}function Yt(p,g){return yx(WO(p,g,Xi),p+"")}function GW(p){return JM(yd(p))}function WW(p,g){var x=yd(p);return Fy(x,fc(g,0,x.length))}function Pp(p,g,x,A){if(!er(p))return p;g=Gl(g,p);for(var O=-1,V=g.length,Z=V-1,Q=p;Q!=null&&++OO?0:O+g),x=x>O?O:x,x<0&&(x+=O),O=g>x?0:x-g>>>0,g>>>=0;for(var V=me(O);++A>>1,Z=p[V];Z!==null&&!xo(Z)&&(x?Z<=g:Z=i){var Re=g?null:oj(p);if(Re)return uy(Re);Z=!1,O=bp,ce=new cc}else ce=g?[]:Q;e:for(;++A=A?p:Xo(p,g,x)}var wO=k9||function(p){return Hr.clearTimeout(p)};function xO(p,g){if(g)return p.slice();var x=p.length,A=GM?GM(x):new p.constructor(x);return p.copy(A),A}function sx(p){var g=new p.constructor(p.byteLength);return new vy(g).set(new vy(p)),g}function ZW(p,g){var x=g?sx(p.buffer):p.buffer;return new p.constructor(x,p.byteOffset,p.byteLength)}function qW(p){var g=new p.constructor(p.source,mp.exec(p));return g.lastIndex=p.lastIndex,g}function JW(p){return Tp?Mn(Tp.call(p)):{}}function CO(p,g){var x=g?sx(p.buffer):p.buffer;return new p.constructor(x,p.byteOffset,p.length)}function TO(p,g){if(p!==g){var x=p!==n,A=p===null,O=p===p,V=xo(p),Z=g!==n,Q=g===null,ce=g===g,Re=xo(g);if(!Q&&!Re&&!V&&p>g||V&&Z&&ce&&!Q&&!Re||A&&Z&&ce||!x&&ce||!O)return 1;if(!A&&!V&&!Re&&p=Q)return ce;var Re=x[A];return ce*(Re=="desc"?-1:1)}}return p.index-g.index}function EO(p,g,x,A){for(var O=-1,V=p.length,Z=x.length,Q=-1,ce=g.length,Re=Ar(V-Z,0),Pe=me(ce+Re),Fe=!A;++Q1?x[O-1]:n,Z=O>2?x[2]:n;for(V=p.length>3&&typeof V=="function"?(O--,V):n,Z&&Ci(x[0],x[1],Z)&&(V=O<3?n:V,O=1),g=Mn(g);++A-1?O[V?g[Z]:Z]:n}}function OO(p){return zs(function(g){var x=g.length,A=x,O=Wo.prototype.thru;for(p&&g.reverse();A--;){var V=g[A];if(typeof V!="function")throw new Go(a);if(O&&!Z&&Ny(V)=="wrapper")var Z=new Wo([],!0)}for(A=Z?A:x;++A1&&sn.reverse(),Pe&&ceQ))return!1;var Re=V.get(p),Pe=V.get(g);if(Re&&Pe)return Re==g&&Pe==p;var Fe=-1,Je=!0,vt=x&m?new cc:n;for(V.set(p,g),V.set(g,p);++Fe1?"& ":"")+g[A],g=g.join(x>2?", ":" "),p.replace(ey,`{ /* [wrapped with `+g+`] */ `)}function vj(p){return Vt(p)||vc(p)||!!(XM&&p&&p[XM])}function Gs(p,g){var x=typeof p;return g=g??X,!!g&&(x=="number"||x!="symbol"&&He.test(p))&&p>-1&&p%1==0&&p0){if(++g>=D)return arguments[0]}else g=0;return p.apply(n,arguments)}}function Fy(p,g){var x=-1,A=p.length,O=A-1;for(g=g===n?A:g;++x1?p[g-1]:n;return x=typeof x=="function"?(p.pop(),x):n,rD(p,x)});function iD(p){var g=F(p);return g.__chain__=!0,g}function EX(p,g){return g(p),p}function $y(p,g){return g(p)}var AX=zs(function(p){var g=p.length,x=g?p[0]:0,A=this.__wrapped__,O=function(V){return Ww(V,p)};return g>1||this.__actions__.length||!(A instanceof nn)||!Gs(x)?this.thru(O):(A=A.slice(x,+x+(g?1:0)),A.__actions__.push({func:$y,args:[O],thisArg:n}),new Wo(A,this.__chain__).thru(function(V){return g&&!V.length&&V.push(n),V}))});function IX(){return iD(this)}function RX(){return new Wo(this.value(),this.__chain__)}function PX(){this.__values__===n&&(this.__values__=yD(this.value()));var p=this.__index__>=this.__values__.length,g=p?n:this.__values__[this.__index__++];return{done:p,value:g}}function MX(){return this}function OX(p){for(var g,x=this;x instanceof xy;){var A=qO(x);A.__index__=0,A.__values__=n,g?O.__wrapped__=A:g=A;var O=A;x=x.__wrapped__}return O.__wrapped__=p,g}function DX(){var p=this.__wrapped__;if(p instanceof nn){var g=p;return this.__actions__.length&&(g=new nn(this)),g=g.reverse(),g.__actions__.push({func:$y,args:[_x],thisArg:n}),new Wo(g,this.__chain__)}return this.thru(_x)}function LX(){return bO(this.__wrapped__,this.__actions__)}var NX=Py(function(p,g,x){Cn.call(p,x)?++p[x]:Us(p,x,1)});function kX(p,g,x){var A=Vt(p)?DM:EW;return x&&Ci(p,g,x)&&(g=n),A(p,xt(g,3))}function FX(p,g){var x=Vt(p)?$l:rO;return x(p,xt(g,3))}var $X=MO(JO),BX=MO(QO);function VX(p,g){return zr(By(p,g),1)}function UX(p,g){return zr(By(p,g),K)}function HX(p,g,x){return x=x===n?1:Wt(x),zr(By(p,g),x)}function oD(p,g){var x=Vt(p)?zo:Hl;return x(p,xt(g,3))}function aD(p,g){var x=Vt(p)?s9:nO;return x(p,xt(g,3))}var zX=Py(function(p,g,x){Cn.call(p,x)?p[x].push(g):Us(p,x,[g])});function GX(p,g,x,A){p=Wi(p)?p:yd(p),x=x&&!A?Wt(x):0;var O=p.length;return x<0&&(x=Ar(O+x,0)),Gy(p)?x<=O&&p.indexOf(g,x)>-1:!!O&&ad(p,g,x)>-1}var WX=Yt(function(p,g,x){var A=-1,O=typeof g=="function",V=Wi(p)?me(p.length):[];return Hl(p,function(Z){V[++A]=O?bo(g,Z,x):Ip(Z,g,x)}),V}),jX=Py(function(p,g,x){Us(p,x,g)});function By(p,g){var x=Vt(p)?jn:uO;return x(p,xt(g,3))}function XX(p,g,x,A){return p==null?[]:(Vt(g)||(g=g==null?[]:[g]),x=A?n:x,Vt(x)||(x=x==null?[]:[x]),hO(p,g,x))}var YX=Py(function(p,g,x){p[x?0:1].push(g)},function(){return[[],[]]});function KX(p,g,x){var A=Vt(p)?Ow:FM,O=arguments.length<3;return A(p,xt(g,4),x,O,Hl)}function ZX(p,g,x){var A=Vt(p)?l9:FM,O=arguments.length<3;return A(p,xt(g,4),x,O,nO)}function qX(p,g){var x=Vt(p)?$l:rO;return x(p,Hy(xt(g,3)))}function JX(p){var g=Vt(p)?JM:GW;return g(p)}function QX(p,g,x){(x?Ci(p,g,x):g===n)?g=1:g=Wt(g);var A=Vt(p)?SW:WW;return A(p,g)}function eY(p){var g=Vt(p)?wW:XW;return g(p)}function tY(p){if(p==null)return 0;if(Wi(p))return Gy(p)?ld(p):p.length;var g=ni(p);return g==z||g==de?p.size:qw(p).length}function nY(p,g,x){var A=Vt(p)?Dw:YW;return x&&Ci(p,g,x)&&(g=n),A(p,xt(g,3))}var rY=Yt(function(p,g){if(p==null)return[];var x=g.length;return x>1&&Ci(p,g[0],g[1])?g=[]:x>2&&Ci(g[0],g[1],g[2])&&(g=[g[0]]),hO(p,zr(g,1),[])}),Vy=F9||function(){return Hr.Date.now()};function iY(p,g){if(typeof g!="function")throw new Go(a);return p=Wt(p),function(){if(--p<1)return g.apply(this,arguments)}}function sD(p,g,x){return g=x?n:g,g=p&&g==null?p.length:g,Hs(p,E,n,n,n,n,g)}function lD(p,g){var x;if(typeof g!="function")throw new Go(a);return p=Wt(p),function(){return--p>0&&(x=g.apply(this,arguments)),p<=1&&(g=n),x}}var Sx=Yt(function(p,g,x){var A=_;if(x.length){var O=Vl(x,gd(Sx));A|=T}return Hs(p,A,g,x,O)}),uD=Yt(function(p,g,x){var A=_|y;if(x.length){var O=Vl(x,gd(uD));A|=T}return Hs(g,A,p,x,O)});function cD(p,g,x){g=x?n:g;var A=Hs(p,b,n,n,n,n,n,g);return A.placeholder=cD.placeholder,A}function fD(p,g,x){g=x?n:g;var A=Hs(p,w,n,n,n,n,n,g);return A.placeholder=fD.placeholder,A}function dD(p,g,x){var A,O,V,Z,Q,ce,Re=0,Pe=!1,Fe=!1,Je=!0;if(typeof p!="function")throw new Go(a);g=Ko(g)||0,er(x)&&(Pe=!!x.leading,Fe="maxWait"in x,V=Fe?Ar(Ko(x.maxWait)||0,g):V,Je="trailing"in x?!!x.trailing:Je);function vt(fr){var Pa=A,Xs=O;return A=O=n,Re=fr,Z=p.apply(Xs,Pa),Z}function Tt(fr){return Re=fr,Q=Dp(qt,g),Pe?vt(fr):Z}function Xt(fr){var Pa=fr-ce,Xs=fr-Re,MD=g-Pa;return Fe?ti(MD,V-Xs):MD}function Et(fr){var Pa=fr-ce,Xs=fr-Re;return ce===n||Pa>=g||Pa<0||Fe&&Xs>=V}function qt(){var fr=Vy();if(Et(fr))return sn(fr);Q=Dp(qt,Xt(fr))}function sn(fr){return Q=n,Je&&A?vt(fr):(A=O=n,Z)}function Co(){Q!==n&&wO(Q),Re=0,A=ce=O=Q=n}function Ti(){return Q===n?Z:sn(Vy())}function To(){var fr=Vy(),Pa=Et(fr);if(A=arguments,O=this,ce=fr,Pa){if(Q===n)return Tt(ce);if(Fe)return wO(Q),Q=Dp(qt,g),vt(ce)}return Q===n&&(Q=Dp(qt,g)),Z}return To.cancel=Co,To.flush=Ti,To}var oY=Yt(function(p,g){return tO(p,1,g)}),aY=Yt(function(p,g,x){return tO(p,Ko(g)||0,x)});function sY(p){return Hs(p,I)}function Uy(p,g){if(typeof p!="function"||g!=null&&typeof g!="function")throw new Go(a);var x=function(){var A=arguments,O=g?g.apply(this,A):A[0],V=x.cache;if(V.has(O))return V.get(O);var Z=p.apply(this,A);return x.cache=V.set(O,Z)||V,Z};return x.cache=new(Uy.Cache||Vs),x}Uy.Cache=Vs;function Hy(p){if(typeof p!="function")throw new Go(a);return function(){var g=arguments;switch(g.length){case 0:return!p.call(this);case 1:return!p.call(this,g[0]);case 2:return!p.call(this,g[0],g[1]);case 3:return!p.call(this,g[0],g[1],g[2])}return!p.apply(this,g)}}function lY(p){return lD(2,p)}var uY=KW(function(p,g){g=g.length==1&&Vt(g[0])?jn(g[0],So(xt())):jn(zr(g,1),So(xt()));var x=g.length;return Yt(function(A){for(var O=-1,V=ti(A.length,x);++O=g}),vc=aO(function(){return arguments}())?aO:function(p){return rr(p)&&Cn.call(p,"callee")&&!jM.call(p,"callee")},Vt=me.isArray,CY=AM?So(AM):OW;function Wi(p){return p!=null&&zy(p.length)&&!Ws(p)}function cr(p){return rr(p)&&Wi(p)}function TY(p){return p===!0||p===!1||rr(p)&&xi(p)==Ae}var jl=B9||Lx,EY=IM?So(IM):DW;function AY(p){return rr(p)&&p.nodeType===1&&!Lp(p)}function IY(p){if(p==null)return!0;if(Wi(p)&&(Vt(p)||typeof p=="string"||typeof p.splice=="function"||jl(p)||md(p)||vc(p)))return!p.length;var g=ni(p);if(g==z||g==de)return!p.size;if(Op(p))return!qw(p).length;for(var x in p)if(Cn.call(p,x))return!1;return!0}function RY(p,g){return Rp(p,g)}function PY(p,g,x){x=typeof x=="function"?x:n;var A=x?x(p,g):n;return A===n?Rp(p,g,n,x):!!A}function Cx(p){if(!rr(p))return!1;var g=xi(p);return g==Ne||g==Te||typeof p.message=="string"&&typeof p.name=="string"&&!Lp(p)}function MY(p){return typeof p=="number"&&YM(p)}function Ws(p){if(!er(p))return!1;var g=xi(p);return g==Be||g==H||g==fe||g==j}function pD(p){return typeof p=="number"&&p==Wt(p)}function zy(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=X}function er(p){var g=typeof p;return p!=null&&(g=="object"||g=="function")}function rr(p){return p!=null&&typeof p=="object"}var vD=RM?So(RM):NW;function OY(p,g){return p===g||Zw(p,g,hx(g))}function DY(p,g,x){return x=typeof x=="function"?x:n,Zw(p,g,hx(g),x)}function LY(p){return gD(p)&&p!=+p}function NY(p){if(yj(p))throw new kt(o);return sO(p)}function kY(p){return p===null}function FY(p){return p==null}function gD(p){return typeof p=="number"||rr(p)&&xi(p)==ue}function Lp(p){if(!rr(p)||xi(p)!=ve)return!1;var g=gy(p);if(g===null)return!0;var x=Cn.call(g,"constructor")&&g.constructor;return typeof x=="function"&&x instanceof x&&dy.call(x)==D9}var Tx=PM?So(PM):kW;function $Y(p){return pD(p)&&p>=-9007199254740991&&p<=X}var mD=MM?So(MM):FW;function Gy(p){return typeof p=="string"||!Vt(p)&&rr(p)&&xi(p)==_e}function xo(p){return typeof p=="symbol"||rr(p)&&xi(p)==Oe}var md=OM?So(OM):$W;function BY(p){return p===n}function VY(p){return rr(p)&&ni(p)==he}function UY(p){return rr(p)&&xi(p)==Ve}var HY=Ly(Jw),zY=Ly(function(p,g){return p<=g});function yD(p){if(!p)return[];if(Wi(p))return Gy(p)?Aa(p):Gi(p);if(Sp&&p[Sp])return S9(p[Sp]());var g=ni(p),x=g==z?Bw:g==de?uy:yd;return x(p)}function js(p){if(!p)return p===0?p:0;if(p=Ko(p),p===K||p===-1/0){var g=p<0?-1:1;return g*ae}return p===p?p:0}function Wt(p){var g=js(p),x=g%1;return g===g?x?g-x:g:0}function _D(p){return p?fc(Wt(p),0,ye):0}function Ko(p){if(typeof p=="number")return p;if(xo(p))return ge;if(er(p)){var g=typeof p.valueOf=="function"?p.valueOf():p;p=er(g)?g+"":g}if(typeof p!="string")return p===0?p:+p;p=$M(p);var x=xw.test(p);return x||re.test(p)?i9(p.slice(2),x?2:8):oy.test(p)?ge:+p}function bD(p){return is(p,ji(p))}function GY(p){return p?fc(Wt(p),-9007199254740991,X):p===0?p:0}function yn(p){return p==null?"":wo(p)}var WY=pd(function(p,g){if(Op(g)||Wi(g)){is(g,kr(g),p);return}for(var x in g)Cn.call(g,x)&&Ep(p,x,g[x])}),SD=pd(function(p,g){is(g,ji(g),p)}),Wy=pd(function(p,g,x,A){is(g,ji(g),p,A)}),jY=pd(function(p,g,x,A){is(g,kr(g),p,A)}),XY=zs(Ww);function YY(p,g){var x=hd(p);return g==null?x:QM(x,g)}var KY=Yt(function(p,g){p=Mn(p);var x=-1,A=g.length,O=A>2?g[2]:n;for(O&&Ci(g[0],g[1],O)&&(A=1);++x1),V}),is(p,fx(p),x),A&&(x=jo(x,f|d|h,aj));for(var O=g.length;O--;)rx(x,g[O]);return x});function hK(p,g){return xD(p,Hy(xt(g)))}var pK=zs(function(p,g){return p==null?{}:UW(p,g)});function xD(p,g){if(p==null)return{};var x=jn(fx(p),function(A){return[A]});return g=xt(g),pO(p,x,function(A,O){return g(A,O[0])})}function vK(p,g,x){g=Gl(g,p);var A=-1,O=g.length;for(O||(O=1,p=n);++Ag){var A=p;p=g,g=A}if(x||p%1||g%1){var O=KM();return ti(p+O*(g-p+r9("1e-"+((O+"").length-1))),g)}return ex(p,g)}var EK=vd(function(p,g,x){return g=g.toLowerCase(),p+(x?ED(g):g)});function ED(p){return Ix(yn(p).toLowerCase())}function AD(p){return p=yn(p),p&&p.replace(ct,g9).replace(X7,"")}function AK(p,g,x){p=yn(p),g=wo(g);var A=p.length;x=x===n?A:fc(Wt(x),0,A);var O=x;return x-=g.length,x>=0&&p.slice(x,O)==g}function IK(p){return p=yn(p),p&&Ta.test(p)?p.replace(Lt,m9):p}function RK(p){return p=yn(p),p&&ww.test(p)?p.replace(rd,"\\$&"):p}var PK=vd(function(p,g,x){return p+(x?"-":"")+g.toLowerCase()}),MK=vd(function(p,g,x){return p+(x?" ":"")+g.toLowerCase()}),OK=PO("toLowerCase");function DK(p,g,x){p=yn(p),g=Wt(g);var A=g?ld(p):0;if(!g||A>=g)return p;var O=(g-A)/2;return Dy(by(O),x)+p+Dy(_y(O),x)}function LK(p,g,x){p=yn(p),g=Wt(g);var A=g?ld(p):0;return g&&A>>0,x?(p=yn(p),p&&(typeof g=="string"||g!=null&&!Tx(g))&&(g=wo(g),!g&&sd(p))?Wl(Aa(p),0,x):p.split(g,x)):[]}var UK=vd(function(p,g,x){return p+(x?" ":"")+Ix(g)});function HK(p,g,x){return p=yn(p),x=x==null?0:fc(Wt(x),0,p.length),g=wo(g),p.slice(x,x+g.length)==g}function zK(p,g,x){var A=F.templateSettings;x&&Ci(p,g,x)&&(g=n),p=yn(p),g=Wy({},g,A,FO);var O=Wy({},g.imports,A.imports,FO),V=kr(O),Z=$w(O,V),Q,ce,Re=0,Pe=g.interpolate||xn,Fe="__p += '",Je=Vw((g.escape||xn).source+"|"+Pe.source+"|"+(Pe===nd?iy:xn).source+"|"+(g.evaluate||xn).source+"|$","g"),vt="//# sourceURL="+(Cn.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++J7+"]")+` `;p.replace(Je,function(Et,qt,sn,Co,Ti,To){return sn||(sn=Co),Fe+=p.slice(Re,To).replace(Lr,y9),qt&&(Q=!0,Fe+=`' + __e(`+qt+`) + '`),Ti&&(ce=!0,Fe+=`'; `+Ti+`; __p += '`),sn&&(Fe+=`' + ((__t = (`+sn+`)) == null ? '' : __t) + '`),Re=To+Et.length,Et}),Fe+=`'; `;var Tt=Cn.call(g,"variable")&&g.variable;if(!Tt)Fe=`with (obj) { `+Fe+` } `;else if(Ea.test(Tt))throw new kt(s);Fe=(ce?Fe.replace(We,""):Fe).replace(Xe,"$1").replace(tt,"$1;"),Fe="function("+(Tt||"obj")+`) { `+(Tt?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(Q?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+Fe+`return __p }`;var Xt=RD(function(){return pn(V,vt+"return "+Fe).apply(n,Z)});if(Xt.source=Fe,Cx(Xt))throw Xt;return Xt}function GK(p){return yn(p).toLowerCase()}function WK(p){return yn(p).toUpperCase()}function jK(p,g,x){if(p=yn(p),p&&(x||g===n))return $M(p);if(!p||!(g=wo(g)))return p;var A=Aa(p),O=Aa(g),V=BM(A,O),Z=VM(A,O)+1;return Wl(A,V,Z).join("")}function XK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.slice(0,HM(p)+1);if(!p||!(g=wo(g)))return p;var A=Aa(p),O=VM(A,Aa(g))+1;return Wl(A,0,O).join("")}function YK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.replace(zi,"");if(!p||!(g=wo(g)))return p;var A=Aa(p),O=BM(A,Aa(g));return Wl(A,O).join("")}function KK(p,g){var x=M,A=P;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(sd(p)){var Z=Aa(p);V=Z.length}if(x>=V)return p;var Q=x-ld(A);if(Q<1)return A;var ce=Z?Wl(Z,0,Q).join(""):p.slice(0,Q);if(O===n)return ce+A;if(Z&&(Q+=ce.length-Q),Tx(O)){if(p.slice(Q).search(O)){var Re,Pe=ce;for(O.global||(O=Vw(O.source,yn(mp.exec(O))+"g")),O.lastIndex=0;Re=O.exec(Pe);)var Fe=Re.index;ce=ce.slice(0,Fe===n?Q:Fe)}}else if(p.indexOf(wo(O),Q)!=Q){var Je=ce.lastIndexOf(O);Je>-1&&(ce=ce.slice(0,Je))}return ce+A}function ZK(p){return p=yn(p),p&&Nn.test(p)?p.replace(Ot,T9):p}var qK=vd(function(p,g,x){return p+(x?" ":"")+g.toUpperCase()}),Ix=PO("toUpperCase");function ID(p,g,x){return p=yn(p),g=x?n:g,g===n?b9(p)?I9(p):f9(p):p.match(g)||[]}var RD=Yt(function(p,g){try{return bo(p,n,g)}catch(x){return Cx(x)?x:new kt(x)}}),JK=zs(function(p,g){return zo(g,function(x){x=os(x),Us(p,x,Sx(p[x],p))}),p});function QK(p){var g=p==null?0:p.length,x=xt();return p=g?jn(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;++OX)return[];var x=ye,A=ti(p,ye);g=xt(g),p-=ye;for(var O=Fw(A,g);++x0||g<0)?new nn(x):(p<0?x=x.takeRight(-p):p&&(x=x.drop(p)),g!==n&&(g=Wt(g),x=g<0?x.dropRight(-g):x.take(g-p)),x)},nn.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},nn.prototype.toArray=function(){return this.take(ye)},rs(nn.prototype,function(p,g){var x=/^(?:filter|find|map|reject)|While$/.test(g),A=/^(?:head|last)$/.test(g),O=F[A?"take"+(g=="last"?"Right":""):g],V=A||/^find/.test(g);O&&(F.prototype[g]=function(){var Z=this.__wrapped__,Q=A?[1]:arguments,ce=Z instanceof nn,Re=Q[0],Pe=ce||Vt(Z),Fe=function(qt){var sn=O.apply(F,Bl([qt],Q));return A&&Je?sn[0]:sn};Pe&&x&&typeof Re=="function"&&Re.length!=1&&(ce=Pe=!1);var Je=this.__chain__,vt=!!this.__actions__.length,Tt=V&&!Je,Xt=ce&&!vt;if(!V&&Pe){Z=Xt?Z:new nn(this);var Et=p.apply(Z,Q);return Et.__actions__.push({func:$y,args:[Fe],thisArg:n}),new Wo(Et,Je)}return Tt&&Xt?p.apply(this,Q):(Et=this.thru(Fe),Tt?A?Et.value()[0]:Et.value():Et)})}),zo(["pop","push","shift","sort","splice","unshift"],function(p){var g=cy[p],x=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",A=/^(?:pop|shift)$/.test(p);F.prototype[p]=function(){var O=arguments;if(A&&!this.__chain__){var V=this.value();return g.apply(Vt(V)?V:[],O)}return this[x](function(Z){return g.apply(Vt(Z)?Z:[],O)})}}),rs(nn.prototype,function(p,g){var x=F[g];if(x){var A=x.name+"";Cn.call(dd,A)||(dd[A]=[]),dd[A].push({name:g,func:x})}}),dd[My(n,y).name]=[{name:"wrapper",func:n}],nn.prototype.clone=Z9,nn.prototype.reverse=q9,nn.prototype.value=J9,F.prototype.at=AX,F.prototype.chain=IX,F.prototype.commit=RX,F.prototype.next=PX,F.prototype.plant=OX,F.prototype.reverse=DX,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=LX,F.prototype.first=F.prototype.head,Sp&&(F.prototype[Sp]=MX),F},ud=R9();sc?((sc.exports=ud)._=ud,Rw._=ud):Hr._=ud}).call(Une)}(bv,bv.exports)),bv.exports}var mr=Hne();const Gr=[];for(let e=0;e<256;++e)Gr.push((e+256).toString(16).slice(1));function zne(e,t=0){return(Gr[e[t+0]]+Gr[e[t+1]]+Gr[e[t+2]]+Gr[e[t+3]]+"-"+Gr[e[t+4]]+Gr[e[t+5]]+"-"+Gr[e[t+6]]+Gr[e[t+7]]+"-"+Gr[e[t+8]]+Gr[e[t+9]]+"-"+Gr[e[t+10]]+Gr[e[t+11]]+Gr[e[t+12]]+Gr[e[t+13]]+Gr[e[t+14]]+Gr[e[t+15]]).toLowerCase()}let eC;const Gne=new Uint8Array(16);function Wne(){if(!eC){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");eC=crypto.getRandomValues.bind(crypto)}return eC(Gne)}const jne=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),YL={randomUUID:jne};function $2(e,t,n){var i;if(YL.randomUUID&&!e)return YL.randomUUID();e=e||{};const r=e.random??((i=e.rng)==null?void 0:i.call(e))??Wne();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,zne(r)}const PV=pt("config/theme","default"),MV=PV.value==="default",uh=pt("config/default-theme",MV?"light":PV.value),ch=pt("config/dark-theme","dark"),Sv=pt("config/auto-theme",MV),OV=e=>e==="light-daisyui-v5"?"light":e==="dark-daisyui-v5"?"dark":e;uh.value=OV(uh.value);ch.value=OV(ch.value);const NE=Ce(()=>Sv.value&&IV.value?ch.value:uh.value),Su=pt("config/language",Object.values(_s).includes(navigator.language)?navigator.language:_s.EN_US),KL=pt("config/is-sidebar-collapsed",!0),Ua=Ce({get:()=>Hu.value?!0:KL.value,set:e=>{KL.value=e}}),Yv=pt("config/font",mu.MI_SANS),za=pt("config/custom-background-image",""),P_=pt("config/dashboard-transparent",90),M_=pt("config/auto-upgrade",!1),Xd=pt("config/check-upgrade-core",!0),wv=pt("config/auto-upgrade-core",!1),O_=pt("config/swipe-in-tabs",!1),Yd=pt("config/split-overview-page",!1),Sd=pt("config/show-ip-and-connection-info",!0),D_=pt("config/auto-ip-check",!0),L_=pt("config/auto-connection-check",!0),N_=pt("config/show-statistics-when-sidebar-collapsed",!0),k_=pt("config/collapse-group-map",{}),Kv=pt("config/two-columns",!0),wf=pt("config/speedtest-url",bV),fh=pt("config/independent-latency-test",!1),Lu=pt("config/speedtest-timeout",5e3),kE=pt("config/proxy-sort-type",yu.DEFAULT),FE=pt("config/automatic-disconnection",!0),F_=pt("config/truncate-proxy-name",!0),Zv=pt("config/proxy-preview-type",Vg.AUTO),$E=pt("config/hide-unavailable-proxies",!1),wu=pt("config/low-latency",400),ul=pt("config/medium-latency",800),xf=pt("config/ipv6-test",!1),ef=pt("config/proxy-card-size",Om.LARGE),qv=pt("config/min-proxy-card-width",k2(ef.value)),zg=pt("config/manage-hidden-group-mode",!1),$_=pt("config/display-global-by-mode",!1),Jv=pt("config/icon-size",14),B_=pt("config/icon-margin-right",6),Qv=pt("config/proxies-count-mode",Hg.ALIVE_TOTAL),Mo=pt("config/use-connecticon-card",window.innerWidth<640),dh=pt("config/proxy-chain-direction",tp.NORMAL),V_=pt("config/connecticon-table-size",Ug.SMALL),U_=pt("config/table-width-mode",fS.AUTO),xu=pt("config/connection-table-columns",[ze.Close,ze.Host,ze.Type,ze.Rule,ze.Chains,ze.DlSpeed,ze.UlSpeed,ze.Download,ze.Upload,ze.ConnectTime]),to=pt("config/connection-card-lines",wV),DV=e=>e!=="details",LV=e=>e==="transferType"?ze.DestinationType:e==="proxyNodeAddress"?ze.RemoteAddress:e;xu.value=xu.value.filter(DV).map(LV);to.value=to.value.map(e=>e.filter(DV).map(LV));const Xne=pt("config/source-ip-label-map",{}),ia=pt("config/source-ip-label-list",()=>{const e=Xne.value;return mr.isEmpty(e)?[]:Object.entries(e).sort((t,n)=>t[0].localeCompare(n[0])).map(([t,n])=>({key:t,label:n,id:$2()}))}),BE=pt("config/display-now-node-in-rule",!0),VE=pt("config/display-latency-in-rule",!0),UE=pt("config/log-retention-limit",1e3),wd=pt("config/log-search-history",[]);/*! * shared v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const H1=typeof window<"u",tc=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Yne=(e,t,n)=>Kne({l:e,k:t,s:n}),Kne=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),wr=e=>typeof e=="number"&&isFinite(e),Zne=e=>B2(e)==="[object Date]",Rh=e=>B2(e)==="[object RegExp]",hS=e=>en(e)&&Object.keys(e).length===0,Mr=Object.assign,qne=Object.create,Rn=(e=null)=>qne(e);let ZL;const tf=()=>ZL||(ZL=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Rn());function qL(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const Jne=Object.prototype.hasOwnProperty;function ja(e,t){return Jne.call(e,t)}const xr=Array.isArray,zn=e=>typeof e=="function",ot=e=>typeof e=="string",hn=e=>typeof e=="boolean",gn=e=>e!==null&&typeof e=="object",Qne=e=>gn(e)&&zn(e.then)&&zn(e.catch),NV=Object.prototype.toString,B2=e=>NV.call(e),en=e=>B2(e)==="[object Object]",ere=e=>e==null?"":xr(e)||en(e)&&e.toString===NV?JSON.stringify(e,null,2):String(e);function V2(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function tre(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const a0=e=>!gn(e)||xr(e);function H_(e,t){if(a0(e)||a0(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])?[]:Rn()),a0(i[o])||a0(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]}))})}}/*! * message-compiler v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function nre(e,t,n){return{line:e,column:t,offset:n}}function HE(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},rre=17;function pS(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 ire(e){throw e}const qs=" ",ore="\r",Ri=` `,are="\u2028",sre="\u2029";function lre(e){const t=e;let n=0,r=1,i=1,o=0;const a=E=>t[E]===ore&&t[E+1]===Ri,s=E=>t[E]===Ri,l=E=>t[E]===sre,u=E=>t[E]===are,c=E=>a(E)||s(E)||l(E)||u(E),f=()=>n,d=()=>r,h=()=>i,v=()=>o,m=E=>a(E)||l(E)||u(E)?Ri:t[E],_=()=>m(n),y=()=>m(n+o);function S(){return o=0,c(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function b(){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;)S();o=0}return{index:f,line:d,column:h,peekOffset:v,charAt:m,currentChar:_,currentPeek:y,next:S,peek:b,reset:w,resetPeek:T,skipToPeek:C}}const Kl=void 0,ure=".",JL="'",cre="tokenizer";function fre(e,t={}){const n=t.location!==!1,r=lre(e),i=()=>r.index(),o=()=>nre(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,J,...de){const _e=u();if(j.column+=J,j.offset+=J,c){const Oe=n?HE(_e.startLoc,j):null,q=pS(U,Oe,{domain:cre,args:de});c(q)}}function d(U,j,J){U.endLoc=o(),U.currentType=j;const de={type:j};return n&&(de.loc=HE(U.startLoc,U.endLoc)),J!=null&&(de.value=J),de}const h=U=>d(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()===Ri;)j+=U.currentPeek(),U.peek();return j}function _(U){const j=m(U);return U.skipToPeek(),j}function y(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function S(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=48&&j<=57}function b(U,j){const{currentType:J}=j;if(J!==2)return!1;m(U);const de=y(U.currentPeek());return U.resetPeek(),de}function w(U,j){const{currentType:J}=j;if(J!==2)return!1;m(U);const de=U.currentPeek()==="-"?U.peek():U.currentPeek(),_e=S(de);return U.resetPeek(),_e}function T(U,j){const{currentType:J}=j;if(J!==2)return!1;m(U);const de=U.currentPeek()===JL;return U.resetPeek(),de}function C(U,j){const{currentType:J}=j;if(J!==7)return!1;m(U);const de=U.currentPeek()===".";return U.resetPeek(),de}function E(U,j){const{currentType:J}=j;if(J!==8)return!1;m(U);const de=y(U.currentPeek());return U.resetPeek(),de}function R(U,j){const{currentType:J}=j;if(!(J===7||J===11))return!1;m(U);const de=U.currentPeek()===":";return U.resetPeek(),de}function I(U,j){const{currentType:J}=j;if(J!==9)return!1;const de=()=>{const Oe=U.currentPeek();return Oe==="{"?y(U.peek()):Oe==="@"||Oe==="|"||Oe===":"||Oe==="."||Oe===qs||!Oe?!1:Oe===Ri?(U.peek(),de()):P(U,!1)},_e=de();return U.resetPeek(),_e}function M(U){m(U);const j=U.currentPeek()==="|";return U.resetPeek(),j}function P(U,j=!0){const J=(_e=!1,Oe="")=>{const q=U.currentPeek();return q==="{"||q==="@"||!q?_e:q==="|"?!(Oe===qs||Oe===Ri):q===qs?(U.peek(),J(!0,qs)):q===Ri?(U.peek(),J(!0,Ri)):!0},de=J();return j&&U.resetPeek(),de}function D(U,j){const J=U.currentChar();return J===Kl?Kl:j(J)?(U.next(),J):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 D(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 D(U,W)}function K(U){const j=U.charCodeAt(0);return j>=48&&j<=57}function X(U){return D(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 D(U,ae)}function ye(U){let j="",J="";for(;j=X(U);)J+=j;return J}function Me(U){let j="";for(;;){const J=U.currentChar();if(J==="{"||J==="}"||J==="@"||J==="|"||!J)break;if(J===qs||J===Ri)if(P(U))j+=J,U.next();else{if(M(U))break;j+=J,U.next()}else j+=J,U.next()}return j}function ke(U){_(U);let j="",J="";for(;j=N(U);)J+=j;return U.currentChar()===Kl&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),J}function Ue(U){_(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!==JL&&U!==Ri}function je(U){_(U),v(U,"'");let j="",J="";for(;j=D(U,Le);)j==="\\"?J+=fe(U):J+=j;const de=U.currentChar();return de===Ri||de===Kl?(f(Tn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),de===Ri&&(U.next(),v(U,"'")),J):(v(U,"'"),J)}function fe(U){const j=U.currentChar();switch(j){case"\\":case"'":return U.next(),`\\${j}`;case"u":return Ae(U,j,4);case"U":return Ae(U,j,6);default:return f(Tn.UNKNOWN_ESCAPE_SEQUENCE,o(),0,j),""}}function Ae(U,j,J){v(U,j);let de="";for(let _e=0;_e{const de=U.currentChar();return de==="{"||de==="@"||de==="|"||de==="("||de===")"||!de||de===qs?J:(J+=de,U.next(),j(J))};return j("")}function H(U){_(U);const j=v(U,"|");return _(U),j}function z(U,j){let J=null;switch(U.currentChar()){case"{":return j.braceNest>=1&&f(Tn.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),U.next(),J=d(j,2,"{"),_(U),j.braceNest++,J;case"}":return j.braceNest>0&&j.currentType===2&&f(Tn.EMPTY_PLACEHOLDER,o(),0),U.next(),J=d(j,3,"}"),j.braceNest--,j.braceNest>0&&_(U),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),J;case"@":return j.braceNest>0&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),J=ue(U,j)||h(j),j.braceNest=0,J;default:{let _e=!0,Oe=!0,q=!0;if(M(U))return j.braceNest>0&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),J=d(j,1,H(U)),j.braceNest=0,j.inLinked=!1,J;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),j.braceNest=0,we(U,j);if(_e=b(U,j))return J=d(j,4,ke(U)),_(U),J;if(Oe=w(U,j))return J=d(j,5,Ue(U)),_(U),J;if(q=T(U,j))return J=d(j,6,je(U)),_(U),J;if(!_e&&!Oe&&!q)return J=d(j,12,Te(U)),f(Tn.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,J.value),_(U),J;break}}return J}function ue(U,j){const{currentType:J}=j;let de=null;const _e=U.currentChar();switch((J===7||J===8||J===11||J===9)&&(_e===Ri||_e===qs)&&f(Tn.INVALID_LINKED_FORMAT,o(),0),_e){case"@":return U.next(),de=d(j,7,"@"),j.inLinked=!0,de;case".":return _(U),U.next(),d(j,8,".");case":":return _(U),U.next(),d(j,9,":");default:return M(U)?(de=d(j,1,H(U)),j.braceNest=0,j.inLinked=!1,de):C(U,j)||R(U,j)?(_(U),ue(U,j)):E(U,j)?(_(U),d(j,11,Ne(U))):I(U,j)?(_(U),_e==="{"?z(U,j)||de:d(j,10,Be(U))):(J===7&&f(Tn.INVALID_LINKED_FORMAT,o(),0),j.braceNest=0,j.inLinked=!1,we(U,j))}}function we(U,j){let J={type:13};if(j.braceNest>0)return z(U,j)||h(j);if(j.inLinked)return ue(U,j)||h(j);switch(U.currentChar()){case"{":return z(U,j)||h(j);case"}":return f(Tn.UNBALANCED_CLOSING_BRACE,o(),0),U.next(),d(j,3,"}");case"@":return ue(U,j)||h(j);default:{if(M(U))return J=d(j,1,H(U)),j.braceNest=0,j.inLinked=!1,J;if(P(U))return d(j,0,Me(U));break}}return J}function ve(){const{currentType:U,offset:j,startLoc:J,endLoc:de}=l;return l.lastType=U,l.lastOffset=j,l.lastStartLoc=J,l.lastEndLoc=de,l.offset=i(),l.startLoc=o(),r.currentChar()===Kl?d(l,13):we(r,l)}return{nextToken:ve,currentOffset:i,currentPosition:o,context:u}}const dre="parser",hre=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pre(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function vre(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,S,b,w,...T){const C=y.currentPosition();if(C.offset+=w,C.column+=w,n){const E=t?HE(b,C):null,R=pS(S,E,{domain:dre,args:T});n(R)}}function i(y,S,b){const w={type:y};return t&&(w.start=S,w.end=S,w.loc={start:b,end:b}),w}function o(y,S,b,w){t&&(y.end=S,y.loc&&(y.loc.end=b))}function a(y,S){const b=y.context(),w=i(3,b.offset,b.startLoc);return w.value=S,o(w,y.currentOffset(),y.currentPosition()),w}function s(y,S){const b=y.context(),{lastOffset:w,lastStartLoc:T}=b,C=i(5,w,T);return C.index=parseInt(S,10),y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function l(y,S){const b=y.context(),{lastOffset:w,lastStartLoc:T}=b,C=i(4,w,T);return C.key=S,y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function u(y,S){const b=y.context(),{lastOffset:w,lastStartLoc:T}=b,C=i(9,w,T);return C.value=S.replace(hre,pre),y.nextToken(),o(C,y.currentOffset(),y.currentPosition()),C}function c(y){const S=y.nextToken(),b=y.context(),{lastOffset:w,lastStartLoc:T}=b,C=i(8,w,T);return S.type!==11?(r(y,Tn.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),C.value="",o(C,w,T),{nextConsumeToken:S,node:C}):(S.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(S)),C.value=S.value||"",o(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,S){const b=y.context(),w=i(7,b.offset,b.startLoc);return w.value=S,o(w,y.currentOffset(),y.currentPosition()),w}function d(y){const S=y.context(),b=i(6,S.offset,S.startLoc);let w=y.nextToken();if(w.type===8){const T=c(y);b.modifier=T.node,w=T.nextConsumeToken||y.nextToken()}switch(w.type!==9&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(w)),w=y.nextToken(),w.type===2&&(w=y.nextToken()),w.type){case 10:w.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(w)),b.key=f(y,w.value||"");break;case 4:w.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(w)),b.key=l(y,w.value||"");break;case 5:w.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(w)),b.key=s(y,w.value||"");break;case 6:w.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(w)),b.key=u(y,w.value||"");break;default:{r(y,Tn.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const T=y.context(),C=i(7,T.offset,T.startLoc);return C.value="",o(C,T.offset,T.startLoc),b.key=C,o(b,T.offset,T.startLoc),{nextConsumeToken:w,node:b}}}return o(b,y.currentOffset(),y.currentPosition()),{node:b}}function h(y){const S=y.context(),b=S.currentType===1?y.currentOffset():S.offset,w=S.currentType===1?S.endLoc:S.startLoc,T=i(2,b,w);T.items=[];let C=null;do{const I=C||y.nextToken();switch(C=null,I.type){case 0:I.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(I)),T.items.push(a(y,I.value||""));break;case 5:I.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(I)),T.items.push(s(y,I.value||""));break;case 4:I.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(I)),T.items.push(l(y,I.value||""));break;case 6:I.value==null&&r(y,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(I)),T.items.push(u(y,I.value||""));break;case 7:{const M=d(y);T.items.push(M.node),C=M.nextConsumeToken||null;break}}}while(S.currentType!==13&&S.currentType!==1);const E=S.currentType===1?S.lastOffset:y.currentOffset(),R=S.currentType===1?S.lastEndLoc:y.currentPosition();return o(T,E,R),T}function v(y,S,b,w){const T=y.context();let C=w.items.length===0;const E=i(1,S,b);E.cases=[],E.cases.push(w);do{const R=h(y);C||(C=R.items.length===0),E.cases.push(R)}while(T.currentType!==13);return C&&r(y,Tn.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),o(E,y.currentOffset(),y.currentPosition()),E}function m(y){const S=y.context(),{offset:b,startLoc:w}=S,T=h(y);return S.currentType===13?T:v(y,b,w,T)}function _(y){const S=fre(y,Mr({},e)),b=S.context(),w=i(0,b.offset,b.startLoc);return t&&w.loc&&(w.loc.source=y),w.body=m(S),e.onCacheKey&&(w.cacheKey=e.onCacheKey(y)),b.currentType!==13&&r(S,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,y[b.offset]||""),o(w,S.currentOffset(),S.currentPosition()),w}return{parse:_}}function ss(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function gre(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function QL(e,t){for(let n=0;neN(n)),e}function eN(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function l(m,_){a.code+=m}function u(m,_=!0){const y=_?r:"";l(i?y+" ".repeat(m):y)}function c(m=!0){const _=++a.indentLevel;m&&u(_)}function f(m=!0){const _=--a.indentLevel;m&&u(_)}function d(){u(a.indentLevel)}return{context:s,push:l,indent:c,deindent:f,newline:d,helper:m=>`_${m}`,needIndent:()=>a.needIndent}}function bre(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ph(e,t.key),t.modifier?(e.push(", "),Ph(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Sre(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let o=0;o{const n=ot(t.mode)?t.mode:"normal",r=ot(t.filename)?t.filename:"message.intl";t.sourceMap;const i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],s=_re(e,{filename:r,breakLineCode:i,needIndent:o});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(o),a.length>0&&(s.push(`const { ${V2(a.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Ph(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 Tre(e,t={}){const n=Mr({},t),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,s=vre(n).parse(e);return r?(o&&yre(s),i&&Kd(s),{ast:s,code:""}):(mre(s,n),Cre(s,n))}/*! * core-base v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function Ere(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(tf().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(tf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function tC(e){return n=>Are(n,e)}function Are(e,t){const n=Rre(t);if(n==null)throw Gg(0);if(H2(n)===1){const o=Mre(n);return e.plural(o.reduce((a,s)=>[...a,tN(e,s)],[]))}else return tN(e,n)}const Ire=["b","body"];function Rre(e){return nc(e,Ire)}const Pre=["c","cases"];function Mre(e){return nc(e,Pre,[])}function tN(e,t){const n=Dre(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Nre(t).reduce((i,o)=>[...i,zE(e,o)],[]);return e.normalize(r)}}const Ore=["s","static"];function Dre(e){return nc(e,Ore)}const Lre=["i","items"];function Nre(e){return nc(e,Lre,[])}function zE(e,t){const n=H2(t);switch(n){case 3:return s0(t,n);case 9:return s0(t,n);case 4:{const r=t;if(ja(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ja(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Gg(n)}case 5:{const r=t;if(ja(r,"i")&&wr(r.i))return e.interpolate(e.list(r.i));if(ja(r,"index")&&wr(r.index))return e.interpolate(e.list(r.index));throw Gg(n)}case 6:{const r=t,i=Bre(r),o=Ure(r);return e.linked(zE(e,o),i?zE(e,i):void 0,e.type)}case 7:return s0(t,n);case 8:return s0(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const kre=["t","type"];function H2(e){return nc(e,kre)}const Fre=["v","value"];function s0(e,t){const n=nc(e,Fre);if(n)return n;throw Gg(t)}const $re=["m","modifier"];function Bre(e){return nc(e,$re)}const Vre=["k","key"];function Ure(e){const t=nc(e,Vre);if(t)return t;throw Gg(6)}function nc(e,t,n){for(let r=0;re;let l0=Rn();function Mh(e){return gn(e)&&H2(e)===0&&(ja(e,"b")||ja(e,"body"))}function zre(e,t={}){let n=!1;const r=t.onError||ire;return t.onError=i=>{n=!0,r(i)},{...Tre(e,t),detectError:n}}function Gre(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ot(e)){hn(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Hre)(e),i=l0[r];if(i)return i;const{ast:o,detectError:a}=zre(e,{...t,location:!1,jit:!0}),s=tC(o);return a?s:l0[r]=s}else{const n=e.cacheKey;if(n){const r=l0[n];return r||(l0[n]=tC(e))}else return tC(e)}}let Wg=null;function Wre(e){Wg=e}function jre(e,t,n){Wg&&Wg.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Xre=Yre("function:translate");function Yre(e){return t=>Wg&&Wg.emit(e,t)}const dl={INVALID_ARGUMENT:rre,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},Kre=24;function hl(e){return pS(e,null,void 0)}function z2(e,t){return t.locale!=null?nN(t.locale):nN(e.locale)}let nC;function nN(e){if(ot(e))return e;if(zn(e)){if(e.resolvedOnce&&nC!=null)return nC;if(e.constructor.name==="Function"){const t=e();if(Qne(t))throw hl(dl.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return nC=t}else throw hl(dl.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hl(dl.NOT_SUPPORT_LOCALE_TYPE)}function Zre(e,t,n){return[...new Set([n,...xr(t)?t:gn(t)?Object.keys(t):ot(t)?[t]:[n]])]}function kV(e,t,n){const r=ot(n)?n:jg,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;xr(a);)a=rN(o,a,t);const s=xr(t)||!en(t)?t:t.default?t.default:null;a=ot(s)?[s]:s,xr(a)&&rN(o,a,!1),i.__localeChainCache.set(r,o)}return o}function rN(e,t,n){let r=!0;for(let i=0;i{a===void 0?a=s:a+=s},d[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,a===void 0||(a=rie(a),a===!1))return!1;d[1]()}};function h(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,s="\\"+v,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(l=nie(o),f=rc[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(s=o,c()===!1))))return;if(r===7)return t}}const iN=new Map;function oie(e,t){return gn(e)?e[t]:null}function aie(e,t){if(!gn(e))return null;let n=iN.get(t);if(n||(n=iie(t),n&&iN.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function lie(){return{upper:(e,t)=>t==="text"&&ot(e)?e.toUpperCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ot(e)?e.toLowerCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ot(e)?aN(e):t==="vnode"&&gn(e)&&"__v_isVNode"in e?aN(e.children):e}}let FV;function uie(e){FV=e}let $V;function cie(e){$V=e}let BV;function fie(e){BV=e}let VV=null;const die=e=>{VV=e},hie=()=>VV;let UV=null;const sN=e=>{UV=e},pie=()=>UV;let lN=0;function vie(e={}){const t=zn(e.onWarn)?e.onWarn:tre,n=ot(e.version)?e.version:sie,r=ot(e.locale)||zn(e.locale)?e.locale:jg,i=zn(r)?jg:r,o=xr(e.fallbackLocale)||en(e.fallbackLocale)||ot(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=en(e.messages)?e.messages:rC(i),s=en(e.datetimeFormats)?e.datetimeFormats:rC(i),l=en(e.numberFormats)?e.numberFormats:rC(i),u=Mr(Rn(),e.modifiers,lie()),c=e.pluralRules||Rn(),f=zn(e.missing)?e.missing:null,d=hn(e.missingWarn)||Rh(e.missingWarn)?e.missingWarn:!0,h=hn(e.fallbackWarn)||Rh(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,m=!!e.unresolving,_=zn(e.postTranslation)?e.postTranslation:null,y=en(e.processor)?e.processor:null,S=hn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=zn(e.messageCompiler)?e.messageCompiler:FV,T=zn(e.messageResolver)?e.messageResolver:$V||oie,C=zn(e.localeFallbacker)?e.localeFallbacker:BV||Zre,E=gn(e.fallbackContext)?e.fallbackContext:void 0,R=e,I=gn(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,M=gn(R.__numberFormatters)?R.__numberFormatters:new Map,P=gn(R.__meta)?R.__meta:{};lN++;const D={version:n,cid:lN,locale:r,fallbackLocale:o,messages:a,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:v,unresolving:m,postTranslation:_,processor:y,warnHtmlMessage:S,escapeParameter:b,messageCompiler:w,messageResolver:T,localeFallbacker:C,fallbackContext:E,onWarn:t,__meta:P};return D.datetimeFormats=s,D.numberFormats=l,D.__datetimeFormatters=I,D.__numberFormatters=M,__INTLIFY_PROD_DEVTOOLS__&&jre(D,n,P),D}const rC=e=>({[e]:Rn()});function G2(e,t,n,r,i){const{missing:o,onWarn:a}=e;if(o!==null){const s=o(e,n,t,i);return ot(s)?s:t}else return t}function Vp(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function gie(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function mie(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{HV.includes(l)?a[l]=n[l]:o[l]=n[l]}),ot(r)?o.locale=r:en(r)&&(a=r),en(i)&&(a=i),[o.key||"",s,o,a]}function cN(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function fN(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,u,c,f]=WE(...t),d=hn(c.missingWarn)?c.missingWarn:e.missingWarn;hn(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,v=z2(e,c),m=a(e,i,v);if(!ot(l)||l==="")return new Intl.NumberFormat(v,f).format(u);let _={},y,S=null;const b="number format";for(let C=0;C{zV.includes(l)?a[l]=n[l]:o[l]=n[l]}),ot(r)?o.locale=r:en(r)&&(a=r),en(i)&&(a=i),[o.key||"",s,o,a]}function dN(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const yie=e=>e,_ie=e=>"",bie="text",Sie=e=>e.length===0?"":V2(e),wie=ere;function hN(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xie(e){const t=wr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(wr(e.named.count)||wr(e.named.n))?wr(e.named.count)?e.named.count:wr(e.named.n)?e.named.n:t:t}function Cie(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Tie(e={}){const t=e.locale,n=xie(e),r=gn(e.pluralRules)&&ot(t)&&zn(e.pluralRules[t])?e.pluralRules[t]:hN,i=gn(e.pluralRules)&&ot(t)&&zn(e.pluralRules[t])?hN:void 0,o=y=>y[r(n,y.length,i)],a=e.list||[],s=y=>a[y],l=e.named||Rn();wr(e.pluralIndex)&&Cie(n,l);const u=y=>l[y];function c(y,S){const b=zn(e.messages)?e.messages(y,!!S):gn(e.messages)?e.messages[y]:!1;return b||(e.parent?e.parent.message(y):_ie)}const f=y=>e.modifiers?e.modifiers[y]:yie,d=en(e.processor)&&zn(e.processor.normalize)?e.processor.normalize:Sie,h=en(e.processor)&&zn(e.processor.interpolate)?e.processor.interpolate:wie,v=en(e.processor)&&ot(e.processor.type)?e.processor.type:bie,_={list:s,named:u,plural:o,linked:(y,...S)=>{const[b,w]=S;let T="text",C="";S.length===1?gn(b)?(C=b.modifier||C,T=b.type||T):ot(b)&&(C=b||C):S.length===2&&(ot(b)&&(C=b||C),ot(w)&&(T=w||T));const E=c(y,!0)(_),R=T==="vnode"&&xr(E)&&C?E[0]:E;return C?f(C)(R,T):R},message:c,type:v,interpolate:h,normalize:d,values:Mr(Rn(),a,l)};return _}const pN=()=>"",aa=e=>zn(e);function vN(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:a,messages:s}=e,[l,u]=jE(...t),c=hn(u.missingWarn)?u.missingWarn:e.missingWarn,f=hn(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=hn(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,v=ot(u.default)||hn(u.default)?hn(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,m=n||v!=null&&(ot(v)||zn(v)),_=z2(e,u);d&&Eie(u);let[y,S,b]=h?[l,_,s[_]||Rn()]:GV(e,l,_,a,f,c),w=y,T=l;if(!h&&!(ot(w)||Mh(w)||aa(w))&&m&&(w=v,T=w),!h&&(!(ot(w)||Mh(w)||aa(w))||!ot(S)))return i?vS:l;let C=!1;const E=()=>{C=!0},R=aa(w)?w:WV(e,l,S,w,T,E);if(C)return w;const I=Rie(e,S,b,u),M=Tie(I),P=Aie(e,R,M),D=r?r(P,l):P;if(__INTLIFY_PROD_DEVTOOLS__){const k={timestamp:Date.now(),key:ot(l)?l:aa(w)?w.key:"",locale:S||(aa(w)?w.locale:""),format:ot(w)?w:aa(w)?w.source:"",message:D};k.meta=Mr({},e.__meta,hie()||{}),Xre(k)}return D}function Eie(e){xr(e.list)?e.list=e.list.map(t=>ot(t)?qL(t):t):gn(e.named)&&Object.keys(e.named).forEach(t=>{ot(e.named[t])&&(e.named[t]=qL(e.named[t]))})}function GV(e,t,n,r,i,o){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=Rn(),d,h=null;const v="translate";for(let m=0;mr;return u.locale=n,u.key=t,u}const l=a(r,Iie(e,n,i,r,s,o));return l.locale=n,l.key=t,l.source=r,l}function Aie(e,t,n){return t(n)}function jE(...e){const[t,n,r]=e,i=Rn();if(!ot(t)&&!wr(t)&&!aa(t)&&!Mh(t))throw hl(dl.INVALID_ARGUMENT);const o=wr(t)?String(t):(aa(t),t);return wr(n)?i.plural=n:ot(n)?i.default=n:en(n)&&!hS(n)?i.named=n:xr(n)&&(i.list=n),wr(r)?i.plural=r:ot(r)?i.default=r:en(r)&&Mr(i,r),[o,i]}function Iie(e,t,n,r,i,o){return{locale:t,key:n,warnHtmlMessage:i,onError:a=>{throw o&&o(a),a},onCacheKey:a=>Yne(t,n,a)}}function Rie(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:i,pluralRules:o,messages:(h,v)=>{let m=a(n,h);if(m==null&&(c||v)){const[,,_]=GV(c||e,h,t,s,l,u);m=a(_,h)}if(ot(m)||Mh(m)){let _=!1;const S=WV(e,h,t,m,h,()=>{_=!0});return _?pN:S}else return aa(m)?m:pN}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),wr(r.plural)&&(d.pluralIndex=r.plural),d}Ere();/*! * vue-i18n v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const Pie="11.1.2";function Mie(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(tf().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(tf().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(tf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(tf().__INTLIFY_PROD_DEVTOOLS__=!1)}const vo={UNEXPECTED_RETURN_TYPE:Kre,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 pS(e,null,void 0)}const XE=tc("__translateVNode"),YE=tc("__datetimeParts"),KE=tc("__numberParts"),jV=tc("__setPluralRules"),XV=tc("__injectWithOption"),ZE=tc("__dispose");function Xg(e){if(!gn(e))return e;for(const t in e)if(ja(e,t))if(!t.includes("."))gn(e[t])&&Xg(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(a[l]=a[l]||Rn(),H_(u,a[l])):H_(u,a)}else ot(s)&&H_(JSON.parse(s),a)}),i==null&&o)for(const s in a)ja(a,s)&&Xg(a[s]);return a}function YV(e){return e.type}function KV(e,t,n){let r=gn(t.messages)?t.messages:Rn();"__i18nGlobal"in n&&(r=W2(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 gN(e){return G(yl,null,e,0)}const mN="__INTLIFY_META__",yN=()=>[],Oie=()=>!1;let _N=0;function bN(e){return(t,n,r,i)=>e(n,r,Tr()||void 0,i)}const Die=()=>{const e=Tr();let t=null;return e&&(t=YV(e)[mN])?{[mN]:t}:null};function j2(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,o=H1?De:bi;let a=hn(e.inheritLocale)?e.inheritLocale:!0;const s=o(t&&a?t.locale.value:ot(e.locale)?e.locale:jg),l=o(t&&a?t.fallbackLocale.value:ot(e.fallbackLocale)||xr(e.fallbackLocale)||en(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=o(W2(s.value,e)),c=o(en(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=o(en(e.numberFormats)?e.numberFormats:{[s.value]:{}});let d=t?t.missingWarn:hn(e.missingWarn)||Rh(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:hn(e.fallbackWarn)||Rh(e.fallbackWarn)?e.fallbackWarn:!0,v=t?t.fallbackRoot:hn(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,_=zn(e.missing)?e.missing:null,y=zn(e.missing)?bN(e.missing):null,S=zn(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:hn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const T=t?t.modifiers:en(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&sN(null);const q={version:Pie,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:b,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=c.value,q.numberFormats=f.value,q.__datetimeFormatters=en(E)?E.__datetimeFormatters:void 0,q.__numberFormatters=en(E)?E.__numberFormatters:void 0;const he=vie(q);return r&&sN(he),he})(),Vp(E,s.value,l.value);function I(){return[s.value,l.value,u.value,c.value,f.value]}const M=Ce({get:()=>s.value,set:q=>{E.locale=q,s.value=q}}),P=Ce({get:()=>l.value,set:q=>{E.fallbackLocale=q,l.value=q,Vp(E,s.value,q)}}),D=Ce(()=>u.value),k=Ce(()=>c.value),$=Ce(()=>f.value);function W(){return zn(S)?S:null}function N(q){S=q,E.postTranslation=q}function K(){return _}function X(q){q!==null&&(y=bN(q)),_=q,E.missing=y}const ae=(q,he,Ve,Ze,bt,ne)=>{I();let se;try{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=t?pie():void 0),se=q(E)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=void 0)}if(Ve!=="translate exists"&&wr(se)&&se===vS||Ve==="translate exists"&&!se){const[pe,Ee]=he();return t&&v?Ze(t):bt(pe)}else{if(ne(se))return se;throw Fo(vo.UNEXPECTED_RETURN_TYPE)}};function ge(...q){return ae(he=>Reflect.apply(vN,null,[he,...q]),()=>jE(...q),"translate",he=>Reflect.apply(he.t,he,[...q]),he=>he,he=>ot(he))}function ye(...q){const[he,Ve,Ze]=q;if(Ze&&!gn(Ze))throw Fo(vo.INVALID_ARGUMENT);return ge(he,Ve,Mr({resolvedMessage:!0},Ze||{}))}function Me(...q){return ae(he=>Reflect.apply(uN,null,[he,...q]),()=>GE(...q),"datetime format",he=>Reflect.apply(he.d,he,[...q]),()=>oN,he=>ot(he))}function ke(...q){return ae(he=>Reflect.apply(fN,null,[he,...q]),()=>WE(...q),"number format",he=>Reflect.apply(he.n,he,[...q]),()=>oN,he=>ot(he))}function Ue(q){return q.map(he=>ot(he)||wr(he)||hn(he)?gN(String(he)):he)}const je={normalize:Ue,interpolate:q=>q,type:"vnode"};function fe(...q){return ae(he=>{let Ve;const Ze=he;try{Ze.processor=je,Ve=Reflect.apply(vN,null,[Ze,...q])}finally{Ze.processor=null}return Ve},()=>jE(...q),"translate",he=>he[XE](...q),he=>[gN(he)],he=>xr(he))}function Ae(...q){return ae(he=>Reflect.apply(fN,null,[he,...q]),()=>WE(...q),"number format",he=>he[KE](...q),yN,he=>ot(he)||xr(he))}function Se(...q){return ae(he=>Reflect.apply(uN,null,[he,...q]),()=>GE(...q),"datetime format",he=>he[YE](...q),yN,he=>ot(he)||xr(he))}function Te(q){C=q,E.pluralRules=C}function Ne(q,he){return ae(()=>{if(!q)return!1;const Ve=ot(he)?he:s.value,Ze=z(Ve),bt=E.messageResolver(Ze,q);return Mh(bt)||aa(bt)||ot(bt)},()=>[q],"translate exists",Ve=>Reflect.apply(Ve.te,Ve,[q,he]),Oie,Ve=>hn(Ve))}function Be(q){let he=null;const Ve=kV(E,l.value,s.value);for(let Ze=0;Ze{a&&(s.value=q,E.locale=q,Vp(E,s.value,l.value))}),Bt(t.fallbackLocale,q=>{a&&(l.value=q,E.fallbackLocale=q,Vp(E,s.value,l.value))}));const Oe={id:_N,locale:M,fallbackLocale:P,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(s.value=t.locale.value,l.value=t.fallbackLocale.value,Vp(E,s.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:D,get modifiers(){return T},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(q){d=q,E.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(q){h=q,E.fallbackWarn=h},get fallbackRoot(){return v},set fallbackRoot(q){v=q},get fallbackFormat(){return m},set fallbackFormat(q){m=q,E.fallbackFormat=m},get warnHtmlMessage(){return b},set warnHtmlMessage(q){b=q,E.warnHtmlMessage=q},get escapeParameter(){return w},set escapeParameter(q){w=q,E.escapeParameter=q},t:ge,getLocaleMessage:z,setLocaleMessage:ue,mergeLocaleMessage:we,getPostTranslationHandler:W,setPostTranslationHandler:N,getMissingHandler:K,setMissingHandler:X,[jV]:Te};return Oe.datetimeFormats=k,Oe.numberFormats=$,Oe.rt=ye,Oe.te=Ne,Oe.tm=H,Oe.d=Me,Oe.n=ke,Oe.getDateTimeFormat=ve,Oe.setDateTimeFormat=U,Oe.mergeDateTimeFormat=j,Oe.getNumberFormat=J,Oe.setNumberFormat=de,Oe.mergeNumberFormat=_e,Oe[XV]=n,Oe[XE]=fe,Oe[YE]=Se,Oe[KE]=Ae,Oe}function Lie(e){const t=ot(e.locale)?e.locale:jg,n=ot(e.fallbackLocale)||xr(e.fallbackLocale)||en(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=zn(e.missing)?e.missing:void 0,i=hn(e.silentTranslationWarn)||Rh(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=hn(e.silentFallbackWarn)||Rh(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=hn(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=en(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=zn(e.postTranslation)?e.postTranslation:void 0,f=ot(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,h=hn(e.sync)?e.sync:!0;let v=e.messages;if(en(e.sharedMessages)){const T=e.sharedMessages;v=Object.keys(T).reduce((E,R)=>{const I=E[R]||(E[R]={});return Mr(I,T[R]),E},v||{})}const{__i18n:m,__root:_,__injectWithOption:y}=e,S=e.datetimeFormats,b=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:n,messages:v,flatJson:w,datetimeFormats:S,numberFormats:b,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:h,__i18n:m,__root:_,__injectWithOption:y}}function qE(e={}){const t=j2(Lie(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return hn(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=hn(i)?!i:i},get silentFallbackWarn(){return hn(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=hn(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...i){return Reflect.apply(t.t,t,[...i])},rt(...i){return Reflect.apply(t.rt,t,[...i])},te(i,o){return t.te(i,o)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,o){t.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){t.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(t.d,t,[...i])},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,o){t.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){t.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(t.n,t,[...i])},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,o){t.setNumberFormat(i,o)},mergeNumberFormat(i,o){t.mergeNumberFormat(i,o)}};return r.__extender=n,r}function Nie(e,t,n){return{beforeCreate(){const r=Tr();if(!r)throw Fo(vo.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=t,this===this.$root)this.$i18n=SN(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=qE(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=SN(e,i);else{this.$i18n=qE({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&KV(t,i,i),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Tr();if(!r)throw Fo(vo.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function SN(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[jV](t.pluralizationRules||e.pluralizationRules);const n=W2(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const X2={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function kie({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===Ye?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},Rn())}function ZV(){return Ye}const Fie=nt({name:"i18n-t",props:Mr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>wr(e)||!isNaN(e)}},X2),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),a=Rn();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=ot(e.plural)?+e.plural:e.plural);const s=kie(t,o),l=i[XE](e.keypath,s,a),u=Mr(Rn(),r),c=ot(e.tag)||gn(e.tag)?e.tag:ZV();return ca(c,u,l)}}}),wN=Fie;function $ie(e){return xr(e)&&!ot(e[0])}function qV(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const a={part:!0};let s=Rn();e.locale&&(a.locale=e.locale),ot(e.format)?a.key=e.format:gn(e.format)&&(ot(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Mr(Rn(),d,{[h]:e.format[h]}):d,Rn()));const l=r(e.value,a,s);let u=[a.key];xr(l)?u=l.map((d,h)=>{const v=i[d.type],m=v?v({[d.type]:d.value,index:h,parts:l}):[d.value];return $ie(m)&&(m[0].key=`${d.type}-${h}`),m}):ot(l)&&(u=[l]);const c=Mr(Rn(),o),f=ot(e.tag)||gn(e.tag)?e.tag:ZV();return ca(f,c,u)}}const Bie=nt({name:"i18n-n",props:Mr({value:{type:Number,required:!0},format:{type:[String,Object]}},X2),setup(e,t){const n=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return qV(e,t,zV,(...r)=>n[KE](...r))}}),xN=Bie;function Vie(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Uie(e){const t=a=>{const{instance:s,value:l}=a;if(!s||!s.$)throw Fo(vo.UNEXPECTED_ERROR);const u=Vie(e,s.$),c=CN(l);return[Reflect.apply(u.t,u,[...TN(c)]),u]};return{created:(a,s)=>{const[l,u]=t(s);H1&&e.global===u&&(a.__i18nWatcher=Bt(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=u,a.textContent=l},unmounted:a=>{H1&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,u=CN(s);a.textContent=Reflect.apply(l.t,l,[...TN(u)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function CN(e){if(ot(e))return{path:e};if(en(e)){if(!("path"in e))throw Fo(vo.REQUIRED_VALUE,"path");return e}else throw Fo(vo.INVALID_VALUE)}function TN(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,a={},s=r||{};return ot(n)&&(a.locale=n),wr(i)&&(a.plural=i),wr(o)&&(a.plural=o),[t,s,a]}function Hie(e,t,...n){const r=en(n[0])?n[0]:{};(hn(r.globalInstall)?r.globalInstall:!0)&&([wN.name,"I18nT"].forEach(o=>e.component(o,wN)),[xN.name,"I18nN"].forEach(o=>e.component(o,xN)),[AN.name,"I18nD"].forEach(o=>e.component(o,AN))),e.directive("t",Uie(t))}const zie=tc("global-vue-i18n");function Gie(e={}){const t=__VUE_I18N_LEGACY_API__&&hn(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=hn(e.globalInjection)?e.globalInjection:!0,r=new Map,[i,o]=Wie(e,t),a=tc("");function s(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,c),en(d[0])){const m=d[0];c.__composerExtend=m.__composerExtend,c.__vueI18nExtend=m.__vueI18nExtend}let h=null;!t&&n&&(h=Qie(f,c.global)),__VUE_I18N_FULL_INSTALL__&&Hie(f,c,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Nie(o,o.__composer,c));const v=f.unmount;f.unmount=()=>{h&&h(),c.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:l,__deleteInstance:u};return c}function Qr(e={}){const t=Tr();if(t==null)throw Fo(vo.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fo(vo.NOT_INSTALLED);const n=jie(t),r=Yie(n),i=YV(t),o=Xie(e,i);if(o==="global")return KV(r,e,i),r;if(o==="parent"){let l=Kie(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Mr({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),s=j2(l),a.__composerExtend&&(s[ZE]=a.__composerExtend(s)),qie(a,t,s),a.__setInstance(t,s)}return s}function Wie(e,t){const n=s$(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>qE(e)):n.run(()=>j2(e));if(r==null)throw Fo(vo.UNEXPECTED_ERROR);return[n,r]}function jie(e){const t=lo(e.isCE?zie:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fo(e.isCE?vo.NOT_INSTALLED_WITH_PROVIDE:vo.UNEXPECTED_ERROR);return t}function Xie(e,t){return hS(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Yie(e){return e.mode==="composition"?e.global:e.global.__composer}function Kie(e,t,n=!1){let r=null;const i=t.root;let o=Zie(t,n);for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(o);s!=null&&(r=s.__composer,n&&r&&!r[XV]&&(r=null))}if(r!=null||i===o)break;o=o.parent}return r}function Zie(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function qie(e,t,n){Vo(()=>{},t),Qf(()=>{const r=n;e.__deleteInstance(t);const i=r[ZE];i&&(i(),delete r[ZE])},t)}const Jie=["locale","fallbackLocale","availableLocales"],EN=["t","rt","d","n","tm","te"];function Qie(e,t){const n=Object.create(null);return Jie.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw Fo(vo.UNEXPECTED_ERROR);const a=ht(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,EN.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw Fo(vo.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,EN.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}const eoe=nt({name:"i18n-d",props:Mr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},X2),setup(e,t){const n=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return qV(e,t,HV,(...r)=>n[YE](...r))}}),AN=eoe;Mie();uie(Gre);cie(aie);fie(kV);if(__INTLIFY_PROD_DEVTOOLS__){const e=tf();e.__INTLIFY__=!0,Wre(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const toe={setup:"Setup",overview:"Overview",proxies:"Proxies",rules:"Rules",connections:"Connections",logs:"Logs",protocol:"Protocol",host:"Host",port:"Port",password:"Password",submit:"Submit",cancel:"Cancel",download:"Download",upload:"Upload",downloadSpeed:"Download Speed",uploadSpeed:"Upload Speed",memoryUsage:"Memory",version:"Version",noContent:"No Content",flushFakeIP:"Flush Fake IP",chains:"Chains",sortBy:"Sort By",rule:"Rule",sourceIP:"Source IP",activeConnections:"Active",closedConnections:"Closed",logLevel:"Log Level",twoColumnProxyGroup:"Two-Column Proxy Group",type:"Type",process:"Process",connectTime:"Time",sourcePort:"Source Port",destination:"Final Destination",destinationType:"Dest Type",inboundUser:"Inbound User",dl:"DL",ul:"UL",dlSpeed:"DL Speed",ulSpeed:"UL Speed",settings:"Settings",speedtestUrl:"Speedtest URL",speedtestTimeout:"Speedtest Timeout",connectionStyle:"Connection Style",card:"Card",table:"Table",customTableColumns:"Custom Table Columns",customCardLines:"Custom Card Lines",close:"Close",defaultTheme:"Default Theme",darkTheme:"Dark Theme",proxyProvider:"Proxy Provider",ruleProvider:"Rule Provider",expire:"Expire",noExpire:"Null",updated:"Updated",upgradeUI:"Upgrade Dashboard",updateAllProviders:"Update All Providers",reloadConfigs:"Reload Configs",mode:"Mode",proxySortType:"Proxy Sort Type",defaultsort:"Configs Order",nameasc:"Name Asc",namedesc:"Name Desc",latencydesc:"Latency Desc",latencyasc:"Latency Asc",language:"Language",automaticDisconnection:"Automatic Disconnection",backend:"Backend",tunMode:"Tun Mode",upgradeCore:"Upgrade Core",updateGeoDatabase:"Update Geo",truncateProxyName:"Truncate Proxy Name",sourceIPLabels:"Source IP Labels",proxyPreviewType:"Proxies Preview Type",auto:"Auto",dots:"Dots",bar:"Bar",exportSettings:"Export Settings",importSettings:"Import Settings",unavailableProxy:"Hide Unavailable Proxies",protocolTips:"You are trying to connect a http backend but the zashboard is served by https. This may cause connection error. Please allow the insecure content in your browser settings. The settings is on the left of the browser address bar.",global:"Global",direct:"Direct",lowLatencyDesc:"Yellow Threshold",mediumLatencyDesc:"Red Threshold",fonts:"Fonts",unauthorizedTip:"Unauthorized, please login again.",restartCore:"Restart Core",checkUpgrade:"Check For Upgrade",autoUpgrade:"Auto Upgrade",secondaryPath:"Secondary Path",secondaryPathTip:'If present, start with a "/", otherwise leave it empty.',logRetentionLimit:"Log Retention Limit",DNSQuery:"DNS Query",currentBackendUnavailable:"The current backend is unavailable. Would you like to switch to another backend?",confirm:"Confirm",backendSwitchTo:"Automatic Switch to {backend}",ipv6Test:"IPv6 Test",socksPort:"Socks Port",httpPort:"HTTP Port",mixedPort:"Mixed Port",redirPort:"Redir Port",tproxyPort:"TProxy Port",tableSize:"Table Size",proxyCardSize:"Proxy Card Size",small:"Small",normal:"Normal",large:"Large",autoIPCheckWhenStart:"Auto IP Check When Start",autoConnectionCheckWhenStart:"Auto Connection Check When Start",chinaIP:"China IP",globalIP:"Global IP",networkInfo:"Network Info",autoSwitchTheme:"Auto Switch Theme",customBackgroundURL:"Background URL",splitOverviewPage:"Split Overview Page",manageHiddenGroup:"Manage Hidden Groups",showIPAndConnectionInfo:"Display IP and Connection Info",transparent:"Transparent",iconSize:"Icon Size",iconMarginRight:"Icon Margin Right",allowLan:"Allow LAN",proxyChainDirection:"Proxy Chain Direction",reverse:"Reverse",sniffHost:"Sniff Host",ipScreenshotTip:"Please make sure to hide the IP when taking screenshots.",showStatisticsWhenSidebarCollapsed:"Display Statistics When Sidebar Collapsed",totalConnections:"Total Connections",mostDownloadHost:"Most Download Host",mostUploadHost:"Most Upload Host",mostDownloadSourceIP:"Most Download Source IP",mostUploadSourceIP:"Most Upload Source IP",mostDownloadProxy:"Most Download Proxy",mostUploadProxy:"Most Upload Proxy",manual:"Manual",tableWidthMode:"Table Width Mode",testFinishedTip:"{number} Test Finished",updateFinishedTip:"{number} Update Finished",independentLatencyTest:"Independent Latency Test",independentLatencyTestTip:"Enabling Independent Latency Test will attempt to use the URLs specified in the configuration file instead of the zashboard's URL settings during the latency test. Latency will be displayed independently based on the URLs set in the policy groups.",search:"Search",allSourceIP:"All Source IPs",importing:"Importing",hideConnection:"Hide Connection",hideConnectionRegex:"Hide Connection Regex",hideConnectionTip:"You can use a case-insensitive regular expression to match and hide unwanted connections.",loadBalance:"Load Balance",label:"Label",optional:"Optional",swipeInTabs:"Swipe to Switch Between Tabs",simpleCardPreset:"Simple Preset",detailedCardPreset:"Detailed Preset",refresh:"Refresh",reset:"Reset",minProxyCardWidth:"Proxy Card Min Width",displayGlobalByMode:"Display GLOBAL By Mode",proxyCountMode:"Proxies Count Mode",filteredTotal:"Filtered Total",total:"Total",aliveTotal:"Alive / Total",displaySelectedNode:"Display Selected Node",displayLatencyNumber:"Display Latency",tipForFixed:"The current policy group is locked to the current node. Perform a speedtest to restore the urltest/fallback behavior.",remoteAddress:"Remote Address"},noe={setup:"Настройка",overview:"Обзор",proxies:"Прокси",rules:"Правила",connections:"Подключения",logs:"Журнал",protocol:"Протокол",host:"Хост",port:"Порт",password:"Пароль",submit:"Отправить",cancel:"Отмена",download:"Загружено",upload:"Отправлено",downloadSpeed:"Скорость загрузки",uploadSpeed:"Скорость отдачи",memoryUsage:"Память",version:"Версия",noContent:"Нет содержимого",flushFakeIP:"Очистить Fake IP",chains:"Цепочки",sortBy:"Сортировать по",rule:"Правило",sourceIP:"Исходный IP",activeConnections:"Активные",closedConnections:"Закрытые",logLevel:"Уровень журнала",twoColumnProxyGroup:"Группа прокси в два столбца",type:"Тип",process:"Процесс",connectTime:"Время",sourcePort:"Исходный порт",destination:"Финальное назначение",destinationType:"Тип назначения",inboundUser:"Входящий пользователь",dl:"Загр",ul:"Отдч",dlSpeed:"Загрузка",ulSpeed:"Отдача",settings:"Настройки",speedtestUrl:"URL теста скорости",speedtestTimeout:"Таймаут теста скорости",connectionStyle:"Стиль подключения",card:"Карточка",table:"Таблица",customTableColumns:"Пользовательские столбцы таблицы",customCardLines:"Пользовательские строчки карточки",close:"Закрыть",defaultTheme:"Тема по умолчанию",darkTheme:"Темная тема",proxyProvider:"Провайдер прокси",ruleProvider:"Провайдер правил",expire:"Истекает",noExpire:"Нет",updated:"Обновлено",upgradeUI:"Обновить панель",updateAllProviders:"Обновление все провайдеры",reloadConfigs:"Перезагрузить конфигурации",mode:"Режим",proxySortType:"Тип сортировки прокси",defaultsort:"По конфигурациям",nameasc:"Имя по возрастанию",namedesc:"Имя по убыванию",latencydesc:"Задержка по убыванию",latencyasc:"Задержка по возрастанию",language:"Язык",automaticDisconnection:"Автоматическое отключение",backend:"Бэкенд",tunMode:"Режим Tun",upgradeCore:"Обновить ядро",updateGeoDatabase:"Обновить GEO",truncateProxyName:"Усечение имени прокси",sourceIPLabels:"Метки исходного IP",proxyPreviewType:"Тип предварительного просмотра прокси",auto:"Авто",dots:"Точки",bar:"Полоса",exportSettings:"Экспорт настроек",importSettings:"Импорт настроек",unavailableProxy:"Скрыть недоступное",protocolTips:"Вы пытаетесь подключиться к http-бэкенду, но панель управления обслуживается через https. Это может вызвать ошибку подключения. Пожалуйста, разрешите небезопасный контент в настройках браузера. Настройки находятся слева от адресной строки.",global:"Глобальный",direct:"Прямой",lowLatencyDesc:"Желтый порог",mediumLatencyDesc:"Красный порог",fonts:"Шрифты",unauthorizedTip:"Не авторизован, пожалуйста, войдите снова.",restartCore:"Перезапустить ядро",checkUpgrade:"Проверить обновления",autoUpgrade:"Автоматическое обновление",secondaryPath:"Дополнительный путь",secondaryPathTip:'Если присутствует, начните с "/", в противном случае оставьте пустым.',logRetentionLimit:"Лимит хранения журнала",DNSQuery:"DNS-запрос",currentBackendUnavailable:"Текущий бэкенд недоступен. Попробуйте переключиться на другой бэкенд?",confirm:"Подтвердить",backendSwitchTo:"Автоматическое переключение на {backend}",ipv6Test:"IPv6-тест",socksPort:"Порт Socks",httpPort:"Порт HTTP",mixedPort:"Порт Mixed",redirPort:"Порт Redir",tproxyPort:"Порт TProxy",tableSize:"Размер таблицы",proxyCardSize:"Размер карточки прокси",small:"Маленький",normal:"Нормальный",large:"Большой",autoIPCheckWhenStart:"Автоматическая проверка IP при запуске",autoConnectionCheckWhenStart:"Автоматическая проверка соединений при запуске",chinaIP:"IP для Китая",globalIP:"Мировой IP",networkInfo:"Информация о сети",autoSwitchTheme:"Автоматический темы",customBackgroundURL:"URL фона",splitOverviewPage:"Разделить страницу с обзором",manageHiddenGroup:"Управление скрытыми группами",showIPAndConnectionInfo:"Показать IP и информацию о соединениях",transparent:"Прозрачность",iconSize:"Размер иконки",iconMarginRight:"Отступ правой иконки",allowLan:"Разрешить локальную сеть",proxyChainDirection:"Направление цепочки прокси",reverse:"Обратное",sniffHost:"Захватывать хост",ipScreenshotTip:"Пожалуйста, убедитесь, что реальный IP скрыт при создании скриншотов.",showStatisticsWhenSidebarCollapsed:"Показать статистику при сворачивании панели",totalConnections:"Всего соединений",mostDownloadHost:"Ресурс с наибольшим скачиванием",mostUploadHost:"Ресурс с наибольшей отправкой данных",mostDownloadSourceIP:"IP-источник с наибольшим скачиванием",mostUploadSourceIP:"IP-источник с наибольшей отдачей",mostDownloadProxy:"Прокси с наибольшим скачиванием",mostUploadProxy:"Прокси с наибольшей отдачей",manual:"Ручной",tableWidthMode:"Режим ширины таблицы",testFinishedTip:"{number} Тест завершен",updateFinishedTip:"{number} Обновление завершено",independentLatencyTest:"Независимый тест задержки",independentLatencyTestTip:"Включение независимого тестирования задержки попытается использовать URL-адреса, указанные в конфигурационном файле, вместо настроек URL-адресов в панели управления во время теста задержки. Задержка будет отображаться отдельно на основе URL-адресов, установленных в группах политик.",search:"Поиск",allSourceIP:"Все IP-источники",importing:"Импортируется",hideConnection:"Скрыть соединение",hideConnectionRegex:"Скрыть соединение Regex",hideConnectionTip:"Используйте регистронезависимое регулярное выражение, чтобы найти и скрыть нежелательные соединения.",loadBalance:"Балансировка нагрузки",label:"Метка",optional:"Необязательно",swipeInTabs:"Провести для переключения вкладок",simpleCardPreset:"Простой",detailedCardPreset:"Подробный",refresh:"Обновить",reset:"Сбросить",minProxyCardWidth:"Минимальная ширина карточки прокси",displayGlobalByMode:"Отображать GLOBAL по режиму",proxyCountMode:"Режим подсчета прокси",filteredTotal:"Отфильтровано всего",total:"Всего",aliveTotal:"Живых / всего",displaySelectedNode:"Отображать выбранный узел",displayLatencyNumber:"Отображать задержку",tipForFixed:"Текущая стратегическая группа закреплена за текущим узлом. Нажмите «Тест скорости», чтобы восстановить поведение urltest/fallback.",remoteAddress:"удалённый адрес"},roe={setup:"配置",overview:"概览",proxies:"代理",rules:"规则",connections:"连接",logs:"日志",protocol:"协议",host:"主机",port:"端口",password:"密码",submit:"提交",cancel:"取消",download:"下载",upload:"上传",downloadSpeed:"下载速度",uploadSpeed:"上传速度",memoryUsage:"内存使用",version:"版本",noContent:"无内容",flushFakeIP:"清空Fake IP",chains:"代理链",sortBy:"排序方式",rule:"规则",sourceIP:"源IP",activeConnections:"活跃连接",closedConnections:"已关闭连接",logLevel:"日志等级",twoColumnProxyGroup:"双列显示代理组",type:"类型",process:"进程",connectTime:"连接时间",sourcePort:"源端口",destination:"最终目标",destinationType:"目标类型",inboundUser:"入站用户",dl:"下载",ul:"上传",dlSpeed:"下载速度",ulSpeed:"上传速度",settings:"设置",speedtestUrl:"测速地址",speedtestTimeout:"测速超时",connectionStyle:"连接样式",card:"卡片",table:"表格",customTableColumns:"自定义表格列",customCardLines:"自定义卡片行",close:"关闭",defaultTheme:"默认主题",darkTheme:"深色主题",proxyProvider:"代理提供商",ruleProvider:"规则提供商",expire:"到期时间",noExpire:"不限时",updated:"更新于",upgradeUI:"更新面板",updateAllProviders:"更新所有提供商",reloadConfigs:"重载配置",mode:"模式",proxySortType:"代理排序方式",defaultsort:"按配置排序",nameasc:"按名称升序",namedesc:"按名称降序",latencydesc:"按延迟降序",latencyasc:"按延迟升序",language:"面板语言",automaticDisconnection:"切换节点时自动断开连接",backend:"后端",upgradeCore:"更新核心",updateGeoDatabase:"更新GEO",tunMode:"Tun 模式",truncateProxyName:"截断节点名称",sourceIPLabels:"源IP标签",proxyPreviewType:"节点预览类型",auto:"自动",dots:"点",bar:"条",exportSettings:"导出设置",importSettings:"导入设置",unavailableProxy:"隐藏不可用节点",protocolTips:"您正在尝试连接一个http后端但zashboard是通过https提供的,这可能会导致连接错误,请在浏览器设置中允许不安全的内容,设置在浏览器地址栏左侧。",global:"全局",direct:"直连",lowLatencyDesc:"黄色的阈值",mediumLatencyDesc:"红色的阈值",fonts:"面板字体",unauthorizedTip:"未授权,请重新登录",restartCore:"重启核心",checkUpgrade:"检查更新",autoUpgrade:"自动更新",secondaryPath:"二级路径",secondaryPathTip:"如果有的话以/开头,没有则留空不填",logRetentionLimit:"日志保留条数",DNSQuery:"DNS 查询",currentBackendUnavailable:"当前后端不可用,尝试切换到其他后端?",confirm:"确定",backendSwitchTo:"自动切换到{backend}",ipv6Test:"IPv6 测试",socksPort:"Socks 端口",httpPort:"HTTP 端口",mixedPort:"Mixed 端口",redirPort:"Redir 端口",tproxyPort:"TProxy 端口",tableSize:"表格尺寸",proxyCardSize:"节点卡片尺寸",small:"小",normal:"正常",large:"大",autoIPCheckWhenStart:"自动检查 IP",autoConnectionCheckWhenStart:"自动检查连接",chinaIP:"中国大陆 IP",globalIP:"全球节点 IP",networkInfo:"网络信息",autoSwitchTheme:"自动切换主题",customBackgroundURL:"背景 URL",splitOverviewPage:"分离概览页",manageHiddenGroup:"管理隐藏代理组",showIPAndConnectionInfo:"显示 IP 和连接信息",transparent:"透明度",iconSize:"图标尺寸",iconMarginRight:"图标间距",allowLan:"允许局域网",proxyChainDirection:"代理链方向",reverse:"反向",sniffHost:"嗅探主机",ipScreenshotTip:"截图时请确保隐藏IP",showStatisticsWhenSidebarCollapsed:"侧边栏折叠时显示统计",totalConnections:"总连接数",mostDownloadHost:"最多下载主机",mostUploadHost:"最多上传主机",mostDownloadSourceIP:"最多下载源IP",mostUploadSourceIP:"最多上传源IP",mostDownloadProxy:"最多下载节点",mostUploadProxy:"最多上传节点",manual:"手动",tableWidthMode:"表格宽度模式",testFinishedTip:"{number} 测试完成",updateFinishedTip:"{number} 更新完成",independentLatencyTest:"独立延迟测试",independentLatencyTestTip:"开启独立延迟测试会在测速中尽可能的使用配置文件中的url覆盖面板设置的url,并展示根据策略组设置的url获取的延迟。",search:"搜索",allSourceIP:"全部源IP",importing:"正在导入",hideConnection:"隐藏连接",hideConnectionRegex:"隐藏连接正则",hideConnectionTip:"可通过不区分大小写的正则表达式来匹配并隐藏不需要看到的连接",loadBalance:"负载均衡",label:"标签",optional:"可选",swipeInTabs:"滑动切换页面二级标签",simpleCardPreset:"简洁预设",detailedCardPreset:"详细预设",refresh:"刷新",reset:"重置",minProxyCardWidth:"节点卡片最小宽度",displayGlobalByMode:"根据模式显示 GLOBAL",proxyCountMode:"节点计数模式",filteredTotal:"过滤后总数",total:"总数",aliveTotal:"可用 / 总数",displaySelectedNode:"显示选中节点",displayLatencyNumber:"显示延迟数字",tipForFixed:"当前策略组被固定在了当前节点,点击测速来恢复urltest/fallback行为",remoteAddress:"远端地址"},Dm=Gie({locale:Su.value,messages:{[_s.EN_US]:toe,[_s.ZH_CN]:roe,[_s.RU_RU]:noe}}),iC=De(!1),IN=De(),RN=De("alert-warning"),ioe=Dm.global.t;let oC=-1;const ed=()=>({showNotification:({content:t,params:n={},type:r="alert-warning",timeout:i=5e3})=>{clearTimeout(oC),RN.value=r,iC.value=!0,IN.value=ioe(t,n),i!==0&&(oC=setTimeout(()=>{iC.value=!1,oC=-1},i))},tipType:RN,tipShowModel:iC,tipContent:IN}),ooe={key:0,class:"toast-sm toast toast-end toast-top z-50 max-w-64 text-sm opacity-80 md:translate-y-8"},aoe={href:"https://github.com/Zephyruso/zashboard/blob/main/README.md",target:"_blank",class:"flex-1"},soe=nt({__name:"App",setup(e){const t=De(),{tipContent:n,tipShowModel:r,tipType:i}=ed(),o={[mu.MI_SANS]:"font-MiSans",[mu.SARASA_UI]:"font-SarasaUI",[mu.PING_FANG]:"font-PingFang",[mu.FIRA_SANS]:"font-FiraSans",[mu.SYSTEM_UI]:"font-SystemUI"},a=Ce(()=>o[Yv.value]),s=po().format("YYYY-MM-DD"),l=De(""),u=async()=>{l.value=await Bne()||""};Bt(()=>za.value,()=>{za.value.includes(U1)&&u()},{immediate:!0});const c=Ce(()=>za.value?za.value.includes(U1)?`background-image: url('${l.value}');`:`background-image: url('${za.value}?v=${s}');`:""),f=()=>{const d=getComputedStyle(t.value).getPropertyValue("background-color").trim(),h=document.querySelector('meta[name="theme-color"]');h&&h.setAttribute("content",d)};return Bt(IV,f),Vo(()=>{Bt(NE,()=>{document.body.setAttribute("data-theme",NE.value),f()},{immediate:!0})}),(d,h)=>(Y(),te("div",{ref_key:"app",ref:t,id:"app-content",class:gt(["bg-base-100 flex h-dvh w-screen overflow-x-hidden",a.value,c.value&&`custom-background-${B(P_)} custom-background bg-cover bg-center`]),style:pr(c.value)},[G(B(P2)),B(r)?(Y(),te("div",ooe,[L("div",{class:gt(["breaks-all alert flex p-2 whitespace-normal",B(i)])},[L("a",aoe,ie(B(n)),1),L("button",{class:"btn btn-circle btn-ghost btn-xs",onClick:h[0]||(h[0]=v=>r.value=!1)},[G(B(ate),{class:"w-4 cursor-pointer"})])],2)])):at("",!0)],6))}}),da=pt("setup/api-list",[]),vi=pt("setup/active-uuid",""),Lo=Ce(()=>da.value.find(e=>e.uuid===vi.value)),loe=e=>{const t=da.value.find(r=>mr.isEqual(mr.omit(r,"uuid"),e));if(t){vi.value=t.uuid;return}const n=$2();da.value.push({...e,uuid:n}),vi.value=n},JV=e=>{da.value=da.value.filter(t=>t.uuid!==e)};function QV(e,t){return function(){return e.apply(t,arguments)}}const{toString:uoe}=Object.prototype,{getPrototypeOf:Y2}=Object,gS=(e=>t=>{const n=uoe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),es=e=>(e=e.toLowerCase(),t=>gS(t)===e),mS=e=>t=>typeof t===e,{isArray:np}=Array,Yg=mS("undefined");function coe(e){return e!==null&&!Yg(e)&&e.constructor!==null&&!Yg(e.constructor)&&No(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const eU=es("ArrayBuffer");function foe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&eU(e.buffer),t}const doe=mS("string"),No=mS("function"),tU=mS("number"),yS=e=>e!==null&&typeof e=="object",hoe=e=>e===!0||e===!1,z_=e=>{if(gS(e)!=="object")return!1;const t=Y2(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},poe=es("Date"),voe=es("File"),goe=es("Blob"),moe=es("FileList"),yoe=e=>yS(e)&&No(e.pipe),_oe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||No(e.append)&&((t=gS(e))==="formdata"||t==="object"&&No(e.toString)&&e.toString()==="[object FormData]"))},boe=es("URLSearchParams"),[Soe,woe,xoe,Coe]=["ReadableStream","Request","Response","Headers"].map(es),Toe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lm(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),np(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const nf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,rU=e=>!Yg(e)&&e!==nf;function JE(){const{caseless:e}=rU(this)&&this||{},t={},n=(r,i)=>{const o=e&&nU(t,i)||i;z_(t[o])&&z_(r)?t[o]=JE(t[o],r):z_(r)?t[o]=JE({},r):np(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Lm(t,(i,o)=>{n&&No(i)?e[o]=QV(i,n):e[o]=i},{allOwnKeys:r}),e),Aoe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ioe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Roe=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Y2(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Poe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Moe=e=>{if(!e)return null;if(np(e))return e;let t=e.length;if(!tU(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ooe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Y2(Uint8Array)),Doe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Loe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Noe=es("HTMLFormElement"),koe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),PN=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Foe=es("RegExp"),iU=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Lm(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},$oe=e=>{iU(e,(t,n)=>{if(No(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(No(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Boe=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return np(e)?r(e):r(String(e).split(t)),n},Voe=()=>{},Uoe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Hoe(e){return!!(e&&No(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zoe=e=>{const t=new Array(10),n=(r,i)=>{if(yS(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=np(r)?[]:{};return Lm(r,(a,s)=>{const l=n(a,i+1);!Yg(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Goe=es("AsyncFunction"),Woe=e=>e&&(yS(e)||No(e))&&No(e.then)&&No(e.catch),oU=((e,t)=>e?setImmediate:t?((n,r)=>(nf.addEventListener("message",({source:i,data:o})=>{i===nf&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),nf.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",No(nf.postMessage)),joe=typeof queueMicrotask<"u"?queueMicrotask.bind(nf):typeof process<"u"&&process.nextTick||oU,be={isArray:np,isArrayBuffer:eU,isBuffer:coe,isFormData:_oe,isArrayBufferView:foe,isString:doe,isNumber:tU,isBoolean:hoe,isObject:yS,isPlainObject:z_,isReadableStream:Soe,isRequest:woe,isResponse:xoe,isHeaders:Coe,isUndefined:Yg,isDate:poe,isFile:voe,isBlob:goe,isRegExp:Foe,isFunction:No,isStream:yoe,isURLSearchParams:boe,isTypedArray:Ooe,isFileList:moe,forEach:Lm,merge:JE,extend:Eoe,trim:Toe,stripBOM:Aoe,inherits:Ioe,toFlatObject:Roe,kindOf:gS,kindOfTest:es,endsWith:Poe,toArray:Moe,forEachEntry:Doe,matchAll:Loe,isHTMLForm:Noe,hasOwnProperty:PN,hasOwnProp:PN,reduceDescriptors:iU,freezeMethods:$oe,toObjectSet:Boe,toCamelCase:koe,noop:Voe,toFiniteNumber:Uoe,findKey:nU,global:nf,isContextDefined:rU,isSpecCompliantForm:Hoe,toJSONObject:zoe,isAsyncFn:Goe,isThenable:Woe,setImmediate:oU,asap:joe};function zt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}be.inherits(zt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:be.toJSONObject(this.config),code:this.code,status:this.status}}});const aU=zt.prototype,sU={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{sU[e]={value:e}});Object.defineProperties(zt,sU);Object.defineProperty(aU,"isAxiosError",{value:!0});zt.from=(e,t,n,r,i,o)=>{const a=Object.create(aU);return be.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),zt.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Xoe=null;function QE(e){return be.isPlainObject(e)||be.isArray(e)}function lU(e){return be.endsWith(e,"[]")?e.slice(0,-2):e}function MN(e,t,n){return e?e.concat(t).map(function(i,o){return i=lU(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Yoe(e){return be.isArray(e)&&!e.some(QE)}const Koe=be.toFlatObject(be,{},null,function(t){return/^is[A-Z]/.test(t)});function _S(e,t,n){if(!be.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=be.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,_){return!be.isUndefined(_[m])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&be.isSpecCompliantForm(t);if(!be.isFunction(i))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(be.isDate(v))return v.toISOString();if(!l&&be.isBlob(v))throw new zt("Blob is not supported. Use a Buffer instead.");return be.isArrayBuffer(v)||be.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function c(v,m,_){let y=v;if(v&&!_&&typeof v=="object"){if(be.endsWith(m,"{}"))m=r?m:m.slice(0,-2),v=JSON.stringify(v);else if(be.isArray(v)&&Yoe(v)||(be.isFileList(v)||be.endsWith(m,"[]"))&&(y=be.toArray(v)))return m=lU(m),y.forEach(function(b,w){!(be.isUndefined(b)||b===null)&&t.append(a===!0?MN([m],w,o):a===null?m:m+"[]",u(b))}),!1}return QE(v)?!0:(t.append(MN(_,m,o),u(v)),!1)}const f=[],d=Object.assign(Koe,{defaultVisitor:c,convertValue:u,isVisitable:QE});function h(v,m){if(!be.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(v),be.forEach(v,function(y,S){(!(be.isUndefined(y)||y===null)&&i.call(t,y,be.isString(S)?S.trim():S,m,d))===!0&&h(y,m?m.concat(S):[S])}),f.pop()}}if(!be.isObject(e))throw new TypeError("data must be an object");return h(e),t}function ON(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function K2(e,t){this._pairs=[],e&&_S(e,this,t)}const uU=K2.prototype;uU.append=function(t,n){this._pairs.push([t,n])};uU.toString=function(t){const n=t?function(r){return t.call(this,r,ON)}:ON;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Zoe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cU(e,t,n){if(!t)return e;const r=n&&n.encode||Zoe;be.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=be.isURLSearchParams(t)?t.toString():new K2(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class DN{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){be.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fU={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qoe=typeof URLSearchParams<"u"?URLSearchParams:K2,Joe=typeof FormData<"u"?FormData:null,Qoe=typeof Blob<"u"?Blob:null,eae={isBrowser:!0,classes:{URLSearchParams:qoe,FormData:Joe,Blob:Qoe},protocols:["http","https","file","blob","url","data"]},Z2=typeof window<"u"&&typeof document<"u",eA=typeof navigator=="object"&&navigator||void 0,tae=Z2&&(!eA||["ReactNative","NativeScript","NS"].indexOf(eA.product)<0),nae=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rae=Z2&&window.location.href||"http://localhost",iae=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Z2,hasStandardBrowserEnv:tae,hasStandardBrowserWebWorkerEnv:nae,navigator:eA,origin:rae},Symbol.toStringTag,{value:"Module"})),gi={...iae,...eae};function oae(e,t){return _S(e,new gi.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return gi.isNode&&be.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function aae(e){return be.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sae(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&be.isArray(i)?i.length:a,l?(be.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!be.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&be.isArray(i[a])&&(i[a]=sae(i[a])),!s)}if(be.isFormData(e)&&be.isFunction(e.entries)){const n={};return be.forEachEntry(e,(r,i)=>{t(aae(r),i,n,0)}),n}return null}function lae(e,t,n){if(be.isString(e))try{return(t||JSON.parse)(e),be.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Nm={transitional:fU,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=be.isObject(t);if(o&&be.isHTMLForm(t)&&(t=new FormData(t)),be.isFormData(t))return i?JSON.stringify(dU(t)):t;if(be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t)||be.isReadableStream(t))return t;if(be.isArrayBufferView(t))return t.buffer;if(be.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oae(t,this.formSerializer).toString();if((s=be.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return _S(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),lae(t)):t}],transformResponse:[function(t){const n=this.transitional||Nm.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(be.isResponse(t)||be.isReadableStream(t))return t;if(t&&be.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?zt.from(s,zt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gi.classes.FormData,Blob:gi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};be.forEach(["delete","get","head","post","put","patch"],e=>{Nm.headers[e]={}});const uae=be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cae=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&uae[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},LN=Symbol("internals");function Up(e){return e&&String(e).trim().toLowerCase()}function G_(e){return e===!1||e==null?e:be.isArray(e)?e.map(G_):String(e)}function fae(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 dae=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aC(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 hae(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function pae(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 uo=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=Up(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]=G_(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())&&!dae(t))a(cae(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=Up(t),t){const r=be.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return fae(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=Up(t),t){const r=be.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||aC(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=Up(a),a){const s=be.findKey(r,a);s&&(!n||aC(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||aC(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]=G_(i),delete n[o];return}const s=t?hae(o):String(o).trim();s!==o&&delete n[o],n[s]=G_(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[LN]=this[LN]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=Up(a);r[s]||(pae(i,a),r[s]=!0)}return be.isArray(t)?t.forEach(o):o(t),this}};uo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(uo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});be.freezeMethods(uo);function sC(e,t){const n=this||Nm,r=t||n,i=uo.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 hU(e){return!!(e&&e.__CANCEL__)}function rp(e,t,n){zt.call(this,e??"canceled",zt.ERR_CANCELED,t,n),this.name="CanceledError"}be.inherits(rp,zt,{__CANCEL__:!0});function pU(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 vae(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gae(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,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a{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 z1=(e,t,n=3)=>{let r=0;const i=gae(50,250);return mae(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)},NN=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kN=e=>(...t)=>be.asap(()=>e(...t)),yae=gi.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,gi.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(gi.origin),gi.navigator&&/(msie|trident)/i.test(gi.navigator.userAgent)):()=>!0,_ae=gi.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 bae(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sae(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vU(e,t,n){let r=!bae(t);return e&&r||n==!1?Sae(e,t):t}const FN=e=>e instanceof uo?{...e}:e;function Ff(e,t){t=t||{};const n={};function r(u,c,f,d){return be.isPlainObject(u)&&be.isPlainObject(c)?be.merge.call({caseless:d},u,c):be.isPlainObject(c)?be.merge({},c):be.isArray(c)?c.slice():c}function i(u,c,f,d){if(be.isUndefined(c)){if(!be.isUndefined(u))return r(void 0,u,f,d)}else return r(u,c,f,d)}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,responseEncoding:a,validateStatus:s,headers:(u,c,f)=>i(FN(u),FN(c),f,!0)};return be.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||i,d=f(e[c],t[c],c);be.isUndefined(d)&&f!==s||(n[c]=d)}),n}const gU=e=>{const t=Ff({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=uo.from(a),t.url=cU(vU(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(be.isFormData(n)){if(gi.hasStandardBrowserEnv||gi.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...c].join("; "))}}if(gi.hasStandardBrowserEnv&&(r&&be.isFunction(r)&&(r=r(t)),r||r!==!1&&yae(t.url))){const u=i&&o&&_ae.read(o);u&&a.set(i,u)}return t},wae=typeof XMLHttpRequest<"u",xae=wae&&function(e){return new Promise(function(n,r){const i=gU(e);let o=i.data;const a=uo.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=i,c,f,d,h,v;function m(){h&&h(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function y(){if(!_)return;const b=uo.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),T={data:!s||s==="text"||s==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:b,config:e,request:_};pU(function(E){n(E),m()},function(E){r(E),m()},T),_=null}"onloadend"in _?_.onloadend=y:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(y)},_.onabort=function(){_&&(r(new zt("Request aborted",zt.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new zt("Network Error",zt.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const T=i.transitional||fU;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new zt(w,T.clarifyTimeoutError?zt.ETIMEDOUT:zt.ECONNABORTED,e,_)),_=null},o===void 0&&a.setContentType(null),"setRequestHeader"in _&&be.forEach(a.toJSON(),function(w,T){_.setRequestHeader(T,w)}),be.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),s&&s!=="json"&&(_.responseType=i.responseType),u&&([d,v]=z1(u,!0),_.addEventListener("progress",d)),l&&_.upload&&([f,h]=z1(l),_.upload.addEventListener("progress",f),_.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(c=b=>{_&&(r(!b||b.type?new rp(null,e,_):b),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const S=vae(i.url);if(S&&gi.protocols.indexOf(S)===-1){r(new zt("Unsupported protocol "+S+":",zt.ERR_BAD_REQUEST,e));return}_.send(o||null)})},Cae=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,s();const c=u instanceof Error?u:this.reason;r.abort(c instanceof zt?c:new rp(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,o(new zt(`timeout ${t} of ms exceeded`,zt.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>be.asap(s),l}},Tae=function*(e,t){let n=e.byteLength;if(n{const i=Eae(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){s(),l.close();return}let f=c.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw s(u),u}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},bS=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",mU=bS&&typeof ReadableStream=="function",Iae=bS&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),yU=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Rae=mU&&yU(()=>{let e=!1;const t=new Request(gi.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),BN=64*1024,tA=mU&&yU(()=>be.isReadableStream(new Response("").body)),G1={stream:tA&&(e=>e.body)};bS&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!G1[t]&&(G1[t]=be.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new zt(`Response type '${t}' is not supported`,zt.ERR_NOT_SUPPORT,r)})})})(new Response);const Pae=async e=>{if(e==null)return 0;if(be.isBlob(e))return e.size;if(be.isSpecCompliantForm(e))return(await new Request(gi.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(be.isArrayBufferView(e)||be.isArrayBuffer(e))return e.byteLength;if(be.isURLSearchParams(e)&&(e=e+""),be.isString(e))return(await Iae(e)).byteLength},Mae=async(e,t)=>{const n=be.toFiniteNumber(e.getContentLength());return n??Pae(t)},Oae=bS&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=gU(e);u=u?(u+"").toLowerCase():"text";let h=Cae([i,o&&o.toAbortSignal()],a),v;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(l&&Rae&&n!=="get"&&n!=="head"&&(_=await Mae(c,r))!==0){let T=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(be.isFormData(r)&&(C=T.headers.get("content-type"))&&c.setContentType(C),T.body){const[E,R]=NN(_,z1(kN(l)));r=$N(T.body,BN,E,R)}}be.isString(f)||(f=f?"include":"omit");const y="credentials"in Request.prototype;v=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:y?f:void 0});let S=await fetch(v);const b=tA&&(u==="stream"||u==="response");if(tA&&(s||b&&m)){const T={};["status","statusText","headers"].forEach(I=>{T[I]=S[I]});const C=be.toFiniteNumber(S.headers.get("content-length")),[E,R]=s&&NN(C,z1(kN(s),!0))||[];S=new Response($N(S.body,BN,E,()=>{R&&R(),m&&m()}),T)}u=u||"text";let w=await G1[be.findKey(G1,u)||"text"](S,e);return!b&&m&&m(),await new Promise((T,C)=>{pU(T,C,{data:w,headers:uo.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:v})})}catch(y){throw m&&m(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new zt("Network Error",zt.ERR_NETWORK,e,v),{cause:y.cause||y}):zt.from(y,y&&y.code,e,v)}}),nA={http:Xoe,xhr:xae,fetch:Oae};be.forEach(nA,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const VN=e=>`- ${e}`,Dae=e=>be.isFunction(e)||e===null||e===!1,_U={getAdapter:e=>{e=be.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : `+o.map(VN).join(` `):" "+VN(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:nA};function lC(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rp(null,e)}function UN(e){return lC(e),e.headers=uo.from(e.headers),e.data=sC.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_U.getAdapter(e.adapter||Nm.adapter)(e).then(function(r){return lC(e),r.data=sC.call(e,e.transformResponse,r),r.headers=uo.from(r.headers),r},function(r){return hU(r)||(lC(e),r&&r.response&&(r.response.data=sC.call(e,e.transformResponse,r.response),r.response.headers=uo.from(r.response.headers))),Promise.reject(r)})}const bU="1.8.2",SS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{SS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const HN={};SS.transitional=function(t,n,r){function i(o,a){return"[Axios v"+bU+"] 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&&!HN[a]&&(HN[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}};SS.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Lae(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 W_={assertOptions:Lae,validators:SS},ls=W_.validators;let Cf=class{constructor(t){this.defaults=t,this.interceptors={request:new DN,response:new DN}}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=Ff(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&W_.assertOptions(r,{silentJSONParsing:ls.transitional(ls.boolean),forcedJSONParsing:ls.transitional(ls.boolean),clarifyTimeoutError:ls.transitional(ls.boolean)},!1),i!=null&&(be.isFunction(i)?n.paramsSerializer={serialize:i}:W_.assertOptions(i,{encode:ls.function,serialize:ls.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),W_.assertOptions(n,{baseUrl:ls.spelling("baseURL"),withXsrfToken:ls.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=uo.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,d;if(!l){const v=[UN.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),d=v.length,c=Promise.resolve(n);f{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 rp(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 SU(function(i){t=i}),cancel:t}}};function kae(e){return function(n){return e.apply(null,n)}}function Fae(e){return be.isObject(e)&&e.isAxiosError===!0}const rA={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,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rA).forEach(([e,t])=>{rA[t]=e});function wU(e){const t=new Cf(e),n=QV(Cf.prototype.request,t);return be.extend(n,Cf.prototype,t,{allOwnKeys:!0}),be.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return wU(Ff(e,i))},n}const Ut=wU(Nm);Ut.Axios=Cf;Ut.CanceledError=rp;Ut.CancelToken=Nae;Ut.isCancel=hU;Ut.VERSION=bU;Ut.toFormData=_S;Ut.AxiosError=zt;Ut.Cancel=Ut.CanceledError;Ut.all=function(t){return Promise.all(t)};Ut.spread=kae;Ut.isAxiosError=Fae;Ut.mergeConfig=Ff;Ut.AxiosHeaders=uo;Ut.formToJSON=e=>dU(be.isHTMLForm(e)?new FormData(e):e);Ut.getAdapter=_U.getAdapter;Ut.HttpStatusCode=rA;Ut.default=Ut;const{Axios:d2e,AxiosError:h2e,CanceledError:p2e,isCancel:v2e,CancelToken:g2e,VERSION:m2e,all:y2e,Cancel:_2e,isAxiosError:b2e,spread:S2e,toFormData:w2e,AxiosHeaders:x2e,HttpStatusCode:C2e,formToJSON:T2e,getAdapter:E2e,mergeConfig:A2e}=Ut;var j_={exports:{}},$ae=j_.exports,zN;function Bae(){return zN||(zN=1,function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})($ae,function(){if(!("WebSocket"in window))return;function t(n,r,i){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};i||(i={});for(var a in o)typeof i[a]<"u"?this[a]=i[a]:this[a]=o[a];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var s=this,l,u=!1,c=!1,f=document.createElement("div");f.addEventListener("open",function(h){s.onopen(h)}),f.addEventListener("close",function(h){s.onclose(h)}),f.addEventListener("connecting",function(h){s.onconnecting(h)}),f.addEventListener("message",function(h){s.onmessage(h)}),f.addEventListener("error",function(h){s.onerror(h)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f);function d(h,v){var m=document.createEvent("CustomEvent");return m.initCustomEvent(h,!1,!1,v),m}this.open=function(h){if(l=new WebSocket(s.url,r||[]),h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var v=l,m=setTimeout(function(){(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),c=!0,v.close(),c=!1},s.timeoutInterval);l.onopen=function(_){clearTimeout(m),(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=l.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var y=d("open");y.isReconnect=h,h=!1,f.dispatchEvent(y)},l.onclose=function(_){if(clearTimeout(S),l=null,u)s.readyState=WebSocket.CLOSED,f.dispatchEvent(d("close"));else{s.readyState=WebSocket.CONNECTING;var y=d("connecting");y.code=_.code,y.reason=_.reason,y.wasClean=_.wasClean,f.dispatchEvent(y),!h&&!c&&((s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),f.dispatchEvent(d("close")));var S=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},S>s.maxReconnectInterval?s.maxReconnectInterval:S)}},l.onmessage=function(_){(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,_.data);var y=d("message");y.data=_.data,f.dispatchEvent(y)},l.onerror=function(_){(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,_),f.dispatchEvent(d("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(l)return(s.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,h),l.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,v){typeof h>"u"&&(h=1e3),u=!0,l&&l.close(h,v)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})}(j_)),j_.exports}var Vae=Bae();const Uae=bm(Vae);Ut.interceptors.request.use(e=>{var t;return e.baseURL=zu(Lo.value),e.headers.Authorization="Bearer "+((t=Lo.value)==null?void 0:t.password),e});Ut.interceptors.response.use(null,e=>(e.status===401&&vi.value&&(JV(vi.value),vi.value=null,Ds.push({name:jt.setup}),Qa(()=>{const{showNotification:t}=ed();t({content:"unauthorizedTip"})})),e));const Oh=De(),W1=De(!1),Hae=()=>Ut.get("/version"),_l=Ce(()=>{var e;return(e=Oh.value)==null?void 0:e.includes("sing-box")}),xU=De("1.73.1");Bt(Lo,async e=>{var t;if(e){const{data:n}=await Hae();if(Oh.value=n.version,_l.value||!Xd.value||(t=Lo.value)!=null&&t.disableUpgradeCore)return;W1.value=await ase(),W1.value&&wv.value&&AU()}},{immediate:!0});const zae=()=>Ut.get("/proxies"),Gae=(e,t)=>Ut.put(`/proxies/${encodeURIComponent(e)}`,{name:t}),GN=(e,t,n)=>Ut.get(`/proxies/${encodeURIComponent(e)}/delay`,{params:{url:t,timeout:n}}),WN=(e,t,n)=>Ut.get(`/group/${encodeURIComponent(e)}/delay`,{params:{url:t,timeout:n}}),Wae=()=>Ut.get("/providers/proxies"),CU=e=>Ut.put(`/providers/proxies/${encodeURIComponent(e)}`),jae=e=>Ut.get(`/providers/proxies/${encodeURIComponent(e)}/healthcheck`,{timeout:15e3}),Xae=()=>Ut.get("/rules"),Yae=()=>Ut.get("/providers/rules"),TU=e=>Ut.put(`/providers/rules/${encodeURIComponent(e)}`),wS=e=>Ut.delete(`/connections/${e}`),Kae=()=>Ut.get("/configs"),Zae=e=>Ut.patch("/configs",e),jN=()=>Ut.post("/cache/fakeip/flush"),qae=()=>Ut.put("/configs?reload=true",{path:"",payload:""}),EU=()=>Ut.post("/upgrade/ui"),Jae=()=>Ut.post("/configs/geo"),AU=()=>Ut.post("/upgrade"),Qae=()=>Ut.post("/restart"),ese=e=>Ut.get("/dns/query",{params:e}),xS=(e,t)=>{const n=Lo.value,r=new URL(`${zu(n).replace("http","ws")}/${e}`);r.searchParams.append("token",(n==null?void 0:n.password)||""),t&&Object.entries(t).forEach(([l,u])=>{r.searchParams.append(l,u)});const i=De(),o=new Uae(r.toString()),a=()=>{o.close()},s=({data:l})=>{i.value=JSON.parse(l)};return o.onmessage=e==="logs"?s:mr.debounce(s,100),{data:i,close:a}},tse=()=>xS("connections"),nse=(e={})=>xS("logs",e),rse=()=>xS("memory"),ise=()=>xS("traffic"),XN=async(e,t=1e4)=>{const n=new AbortController,r=setTimeout(()=>n.abort(),t);try{return(await fetch(`${zu(e)}/version`,{method:"GET",headers:{Authorization:`Bearer ${e.password}`},signal:n.signal})).ok}catch{return!1}finally{clearTimeout(r)}},ose=async()=>{const e=await fetch("https://api.github.com/repos/Zephyruso/zashboard/releases/latest"),{tag_name:t}=await e.json();return t&&t!==`v${xU.value}`},YN=async(e,t)=>{const n=await fetch(`https://api.github.com/repos/MetaCubeX/mihomo${e}`),{assets:r}=await n.json();return!r.some(({name:o})=>o.includes(t))},ase=async()=>{const e=/(alpha|beta|meta)-?(\w+)/.exec(Oh.value);if(!e){const r=await fetch("https://api.github.com/repos/MetaCubeX/mihomo/releases/latest"),{tag_name:i}=await r.json();return i&&!i.endsWith(Oh.value)}const t=e[1],n=e[2];return t==="meta"?await YN("/releases/latest",n):t==="alpha"?await YN("/releases/tags/Prerelease-Alpha",n):!1},q2=async(e="")=>await(await fetch("https://api.ip.sb/geoip"+(e?`/${e}`:""))).json(),sse=async()=>await(await fetch("https://myip.ipip.net/json")).json(),CS=e=>new Promise(t=>{const n=performance.now(),r=document.createElement("img");r.src=e+"?_="+new Date().getTime(),r.style.display="none",r.onload=()=>{const i=performance.now();r.remove(),t(i-n)},r.onerror=()=>{r.remove(),t(0)},document.body.appendChild(r)}),lse=()=>CS("https://www.cloudflare.com/favicon.ico"),use=()=>CS("https://yt3.ggpht.com/favicon.ico"),cse=()=>CS("https://github.githubassets.com/favicon.ico"),fse=()=>CS("https://apps.bdimg.com/favicon.ico"),$r=De({port:0,"socks-port":0,"redir-port":0,"tproxy-port":0,"mixed-port":0,"allow-lan":!1,"bind-address":"",mode:"","mode-list":[],modes:[],"log-level":"",ipv6:!1,tun:{enable:!1}}),J2=async()=>{$r.value=(await Kae()).data},X_=async e=>{await Zae(e),J2()};class dse{constructor(t){Nx(this,"value");Nx(this,"next");this.value=t}}var ra,ff,df;class hse{constructor(){jy(this,ra);jy(this,ff);jy(this,df);this.clear()}enqueue(t){const n=new dse(t);as(this,ra)?(as(this,ff).next=n,Ys(this,ff,n)):(Ys(this,ra,n),Ys(this,ff,n)),kx(this,df)._++}dequeue(){const t=as(this,ra);if(t)return Ys(this,ra,as(this,ra).next),kx(this,df)._--,t.value}peek(){if(as(this,ra))return as(this,ra).value}clear(){Ys(this,ra,void 0),Ys(this,ff,void 0),Ys(this,df,0)}get size(){return as(this,df)}*[Symbol.iterator](){let t=as(this,ra);for(;t;)yield t.value,t=t.next}*drain(){let t;for(;(t=this.dequeue())!==void 0;)yield t}}ra=new WeakMap,ff=new WeakMap,df=new WeakMap;function pse(e){KN(e);const t=new hse;let n=0;const r=()=>{n0&&(t.dequeue()(),n++)},i=()=>{n--,r()},o=async(l,u,c)=>{const f=(async()=>l(...c))();u(f);try{await f}catch{}i()},a=(l,u,c)=>{new Promise(f=>{t.enqueue(f)}).then(o.bind(void 0,l,u,c)),(async()=>(await Promise.resolve(),nnew Promise(c=>{a(l,c,u)});return Object.defineProperties(s,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value(){t.clear()}},concurrency:{get:()=>e,set(l){KN(l),e=l,queueMicrotask(()=>{for(;n0;)r()})}}}),s}function KN(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const bs=De([]),eg=De([]),iA=De(0),oA=De(0);let u0;const vse=()=>{u0==null||u0(),bs.value=[],eg.value=[],iA.value=0,oA.value=0;const e=tse(),t=Bt(e.data,n=>{var r;n&&(iA.value=n.downloadTotal,oA.value=n.uploadTotal,!K_.value&&(eg.value=[...eg.value,...mr.differenceWith(bs.value,n.connections,(i,o)=>i.id===o.id)].slice(-500),bs.value=((r=n.connections)==null?void 0:r.map(i=>{const o=bs.value.find(a=>a.id===i.id);return(i.metadata.destinationPort==="443"||i.metadata.sniffHost)&&i.metadata.network==="udp"&&(i.metadata.network="quic"),o?{...i,downloadSpeed:i.download-o.download,uploadSpeed:i.upload-o.upload}:{...i,downloadSpeed:0,uploadSpeed:0}}))??[]))});u0=()=>{t(),e.close()}},j1=pt("config/quick-filter-regex","direct|dns-out"),aA=pt("config/quick-filter-enabled",!1),hh=De(Mm.ACTIVE),gse=Ce(()=>Y_.value===Qc.DESC),ZN={[eo.HOST]:(e,t)=>(e.metadata.host||e.metadata.destinationIP).localeCompare(t.metadata.host||t.metadata.destinationIP),[eo.RULE]:(e,t)=>e.rule.localeCompare(t.rule),[eo.CHAINS]:(e,t)=>cA(e).localeCompare(cA(t)),[eo.DOWNLOAD]:(e,t)=>e.download-t.download,[eo.DOWNLOAD_SPEED]:(e,t)=>e.downloadSpeed-t.downloadSpeed,[eo.UPLOAD]:(e,t)=>e.upload-t.upload,[eo.UPLOAD_SPEED]:(e,t)=>e.uploadSpeed-t.uploadSpeed,[eo.SOURCE_IP]:(e,t)=>e.metadata.sourceIP.localeCompare(t.metadata.sourceIP),[eo.TYPE]:(e,t)=>(e.metadata.type+e.metadata.network).localeCompare(t.metadata.type+t.metadata.network),[eo.CONNECT_TIME]:(e,t)=>po(e.start).valueOf()-po(t.start).valueOf()},sA=pt("config/connection-sort-type",eo.HOST),Y_=pt("config/connection-sort-direction",Qc.ASC),X1=De(""),rl=De(null),K_=De(!1),ph=Ce(()=>hh.value===Mm.ACTIVE?bs.value:eg.value),Dh=Ce(()=>{let e=null;return aA.value&&j1.value&&(e=new RegExp(j1.value,"i")),ph.value.filter(t=>{const n=[t.metadata.host,t.metadata.destinationIP,t.metadata.destinationPort,t.metadata.sourceIP,t.metadata.sourcePort,t.metadata.sniffHost,t.metadata.processPath,t.metadata.type,t.metadata.network,t.chains.join(""),t.rule,t.rulePayload];return rl.value!==null&&t.metadata.sourceIP!==rl.value||e&&n.some(i=>e.test(i))?!1:X1.value?n.some(r=>r==null?void 0:r.includes(X1.value)):!0}).sort((t,n)=>{Mo.value&&gse.value&&([t,n]=[n,t]);const r=Mo.value?ZN[sA.value](t,n):ZN[eo.HOST](t,n);return r===0?t.id.localeCompare(n.id):r})}),tg="GLOBAL",Y1=De([]),Jr=De({}),Lh=pt("config/ipv6-map",{}),bl=pt("config/hidden-group-map",{}),Tf=De([]),Q2=e=>{const t=wf.value||bV;if(!e)return t;const n=Jr.value[e];return fh.value&&n.testUrl?n.testUrl:t},km=(e,t)=>{const n=IU(e,t);return Sse(n)},IU=(e,t)=>{var r,i;if(fh.value&&!_l.value){const o=Jr.value[e];return(i=(r=o==null?void 0:o.extra)==null?void 0:r[Q2(t)])==null?void 0:i.history}const n=Jr.value[$f(e)];return n==null?void 0:n.history},mse=e=>Lh.value[$f(e)],_a=async()=>{const{data:e}=await zae(),{data:t}=await Wae(),n=e.proxies[tg].all??[];Jr.value=e.proxies,Y1.value=Object.values(e.proxies).filter(r=>{var i;return((i=r.all)==null?void 0:i.length)&&r.name!==tg}).sort((r,i)=>n.indexOf(r.name)-n.indexOf(i.name)).map(r=>r.name),Object.entries(e.proxies).map(([r,i])=>{xf.value&&wse(i)&&(Lh.value[r]=!0),i.hidden&&!(r in bl.value)&&(bl.value[r]=!0)}),Tf.value=Object.values(t.providers).filter(r=>r.name!=="default"&&r.vehicleType!=="Compatible")},RU=async(e,t)=>{await Gae(e,t),Jr.value[e].now=t,FE.value&&bs.value.filter(n=>n.chains.includes(e)).forEach(n=>wS(n.id)),_a()},PU=async(e,t,n)=>{const r=$f(e);if(xf.value)try{const{data:i}=await GN(r,O2,2e3);Lh.value[r]=i.delay>Fi}catch{Lh.value[r]=!1}await GN(fh.value?e:r,t,n)},yse=async(e,t=wf.value,n=Lu.value)=>{await PU(e,t,n),await _a()},_se=mr.debounce(_a,800),MU=async(e,t=wf.value,n=Lu.value)=>{await PU(e,t,n),await _se()},OU=pse(5),DU=async e=>{const t=Jr.value[e],n=t.all??[],r=Q2(e);if([Xr.Selector,Xr.LoadBalance].includes(t.type.toLowerCase())){let o=0;return await Promise.all(n.map(a=>OU(async()=>{await MU(a,r,Math.min(3e3,Lu.value)),o++,LU(o,n.length)})))}const i=Math.max(5e3,Lu.value);if(xf.value)try{const{data:o}=await WN(e,O2,i);n==null||n.forEach(a=>{Lh.value[$f(a)]=o[a]>Fi})}catch{n==null||n.forEach(o=>{Lh.value[$f(o)]=!1})}await WN(e,r,i),await _a()},bse=async()=>{const e=Object.keys(Jr.value).filter(n=>!lA(n));let t=0;return await Promise.all(e.map(n=>OU(async()=>{await MU(n,wf.value,Math.min(3e3,Lu.value)),t++,LU(t,e.length)})))},Sse=e=>{var t;return((t=mr.last(e))==null?void 0:t.delay)??Fi},wse=e=>{var n,r,i;const t=(r=(n=e.extra)==null?void 0:n[O2])==null?void 0:r.history;return(((i=mr.last(t))==null?void 0:i.delay)??Fi)>Fi},$f=e=>{let t=Jr.value[e];if(!e||!t)return e;for(;t.now&&t.now!==t.name;){const n=Jr.value[t.now];if(!n)return t.name;t=n}return t.name},{showNotification:xse}=ed(),LU=(e,t)=>{const n=e===t;xse({content:"testFinishedTip",params:{number:`${e}/${t}`},type:n?"alert-success":"alert-warning",timeout:n?2e3:0})},K1=De(""),qN=e=>zg.value?e:e.filter(t=>!bl.value[t]),NU=De(Wa.PROXIES),Cse=Ce(()=>{var e;return mr.isEmpty(Jr.value)?[]:NU.value===Wa.PROVIDER?Tf.value.map(t=>t.name):$_.value?((e=$r.value)==null?void 0:e.mode.toUpperCase())===tg?[tg]:qN(Y1.value):qN([...Y1.value,tg])}),Kg=()=>({proxiesTabShow:NU,renderGroups:Cse}),rf=60,Ef=new Array(rf).fill(0).map((e,t)=>({name:t,value:e})),kU=De(0),xv=De([...Ef]),Z_=De([...Ef]),FU=De(0),$U=De(0),Cv=De([...Ef]),Tv=De([...Ef]);let c0;const Tse=()=>{c0==null||c0(),Cv.value=[...Ef],Tv.value=[...Ef],xv.value=[...Ef];const{data:e,close:t}=rse(),n=Bt(()=>e.value,a=>{if(!a)return;const s=Date.now().valueOf();kU.value=a.inuse,xv.value.push({value:a.inuse,name:s}),Z_.value.push({value:bs.value.length,name:s}),xv.value=xv.value.slice(-1*rf),Z_.value=Z_.value.slice(-1*rf)}),{data:r,close:i}=ise(),o=Bt(()=>r.value,a=>{if(!a)return;const s=Date.now().valueOf();FU.value=a.down,$U.value=a.up,Cv.value.push({value:a.down,name:s}),Tv.value.push({value:a.up,name:s}),Cv.value=Cv.value.slice(-1*rf),Tv.value=Tv.value.slice(-1*rf)});c0=()=>{t(),i(),n(),o()}},Ese=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Ase=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Ise=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Rse=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],JN=(e,t,n)=>{let r=e;return typeof t=="string"||Array.isArray(t)?r=e.toLocaleString(t,n):(t===!0||n!==void 0)&&(r=e.toLocaleString(void 0,n)),r};function Pse(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const n=t.bits?t.binary?Rse:Ise:t.binary?Ase:Ese,r=t.space?" ":"";if(t.signed&&e===0)return` 0${r}${n[0]}`;const i=e<0,o=i?"-":t.signed?"+":"";i&&(e=-e);let a;if(t.minimumFractionDigits!==void 0&&(a={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(a={maximumFractionDigits:t.maximumFractionDigits,...a}),e<1){const c=JN(e,t.locale,a);return o+c+r+n[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);e/=(t.binary?1024:1e3)**s,a||(e=e.toPrecision(3));const l=JN(Number(e),t.locale,a),u=n[s];return o+l+r+u}const Gn=(e,t)=>Pse(e,{binary:!1,...t}),TS=e=>po(e).locale(Su.value).fromNow(),lA=e=>{const t=Jr.value[e];return t?[Xr.Dns,Xr.Compatible,Xr.Direct,Xr.Reject,Xr.RejectDrop,Xr.Pass,Xr.Fallback,Xr.URLTest,Xr.LoadBalance,Xr.Selector].includes(t.type.toLowerCase()):!1},Mse=(e,t)=>{const n=new Map,r=i=>{if(lA(i))return-1;const o=n.get(i);return o===0?1/0:o};switch(e=[...e],e.forEach(i=>{n.set(i,km(i,t))}),$E.value&&(e=e.filter(i=>lA(i)||n.get(i)>0)),K1.value&&(e=e.filter(i=>i.toLowerCase().includes(K1.value.toLowerCase()))),kE.value){case yu.DEFAULT:return e;case yu.NAME_ASC:return e.sort((i,o)=>i.localeCompare(o));case yu.NAME_DESC:return e.sort((i,o)=>o.localeCompare(i));case yu.LATENCY_ASC:return e.sort((i,o)=>r(i)-r(o));case yu.LATENCY_DESC:return e.sort((i,o)=>r(o)-r(i))}},Ose=256,of=new Map,ng=new Map,uA=[],Dse=()=>{of.clear(),ng.clear(),uA.length=0;for(const{key:e,label:t}of ia.value)e.startsWith("/")?uA.push({regex:new RegExp(e.slice(1),"i"),label:t}):ng.set(e,t)},f0=(e,t)=>{if(of.set(e,t),of.size>Ose){const n=of.keys().next().value;n&&of.delete(n)}return t};Bt(ia,Dse,{immediate:!0,deep:!0});const Z1=e=>{if(!e)return e===""?"Inner":"";if(of.has(e))return of.get(e);if(e.includes(":")){for(const[n,r]of ng.entries())if(e.endsWith(n))return f0(e,r)}else if(ng.has(e))return f0(e,ng.get(e));for(const{regex:n,label:r}of uA)if(n.test(e))return f0(e,r);return f0(e,e)},BU=e=>e.metadata.process||e.metadata.processPath.replace(/^.*[/\\](.*)$/,"$1")||"-",VU=e=>e.metadata.destinationIP||e.metadata.host,UU=e=>{const t=e.metadata.destinationIP;return t?t.includes(":")?"IPv6":"IPv4":"FQDN"},cA=e=>{const t=[...e.chains];return dh.value===tp.NORMAL&&t.reverse(),t.join("")},HU=e=>`${e.metadata.type} | ${e.metadata.network}`,zU=(e,t)=>{const{suffix:n="",binary:r=!1}=t;return e.data.name
${e.seriesName} (${po(e.data.name).format("HH:mm:ss")}): ${Gn(e.data.value,{binary:r})}${n} `},QN=()=>{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)},zu=e=>`${e.protocol}://${e.host}:${e.port}${e.secondaryPath||""}`,Cu=e=>e===Fi?"":eObject.values(jt).filter(e=>![jt.setup,!Yd.value&&jt.overview].includes(e)));function xd(e,t,n){let r=n.initialDeps??[],i;return()=>{var o,a,s,l;let u;n.key&&((o=n.debug)!=null&&o.call(n))&&(u=Date.now());const c=e();if(!(c.length!==r.length||c.some((h,v)=>r[v]!==h)))return i;r=c;let d;if(n.key&&((a=n.debug)!=null&&a.call(n))&&(d=Date.now()),i=t(...c),n.key&&((s=n.debug)!=null&&s.call(n))){const h=Math.round((Date.now()-u)*100)/100,v=Math.round((Date.now()-d)*100)/100,m=v/16,_=(y,S)=>{for(y=String(y);y.lengthMath.abs(e-t)<1,Nse=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},kse=e=>e,Fse=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},$se=(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)}},ek={passive:!0},tk=typeof window>"u"?!0:"onscrollend"in window,Bse=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&tk?()=>{}:Nse(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),a=c=>()=>{const{horizontal:f,isRtl:d}=e.options;i=f?n.scrollLeft*(d&&-1||1):n.scrollTop,o(),t(i,c)},s=a(!0),l=a(!1);l(),n.addEventListener("scroll",s,ek);const u=e.options.useScrollendEvent&&tk;return u&&n.addEventListener("scrollend",l,ek),()=>{n.removeEventListener("scroll",s),u&&n.removeEventListener("scrollend",l)}},Vse=(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"])},Use=(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 Hse{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:kse,rangeExtractor:Fse,onChange:()=>{},measureElement:Vse,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,n)},this.maybeNotify=xd(()=>(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=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const i=new Map,o=new Map;for(let a=r-1;a>=0;a--){const s=n[a];if(i.has(s.lane))continue;const l=o.get(s.lane);if(l==null||s.end>l.end?o.set(s.lane,s):s.enda.end===s.end?a.index-s.index:a.end-s.end)[0]:void 0},this.getMeasurementOptions=xd(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,i,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=xd(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a},s)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(c=>{this.itemSizeCache.set(c.key,c.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const u=this.measurementsCache.slice(0,l);for(let c=l;cthis.options.debug}),this.calculateRange=xd(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,i,o)=>this.range=n.length>0&&r>0?zse({measurements:n,outerSize:r,scrollOffset:i,lanes:o}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=xd(()=>{let n=null,r=null;const i=this.calculateRange();return i&&(n=i.startIndex,r=i.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,i,o,a)=>o===null||a===null?[]:n({startIndex:o,endIndex:a,overscan:r,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,i=n.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const i=this.indexFromElement(n),o=this.measurementsCache[i];if(!o)return;const a=o.key,s=this.elementsCache.get(a);s!==n&&(s&&this.observer.unobserve(s),this.observer.observe(n),this.elementsCache.set(a,n)),n.isConnected&&this.resizeItem(i,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const i=this.measurementsCache[n];if(!i)return;const o=this.itemSizeCache.get(i.key)??i.size,a=r-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,a,this):i.start{if(!n){this.elementsCache.forEach((r,i)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(i))});return}this._measureElement(n,void 0)},this.getVirtualItems=xd(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const i=[];for(let o=0,a=n.length;othis.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return uC(r[GU(0,r.length-1,i=>uC(r[i]).start,n)])},this.getOffsetForAlignment=(n,r,i=0)=>{const o=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=n>=a+o?"end":"start"),r==="center"?n+=(i-o)/2:r==="end"&&(n-=o);const s=this.options.horizontal?"scrollWidth":"scrollHeight",u=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-o;return Math.max(Math.min(u,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.measurementsCache[n];if(!i)return;const o=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(i.end>=a+o-this.options.scrollPaddingEnd)r="end";else if(i.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];const s=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,r,i.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(n,{align:r="auto",behavior:i}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(n,r);if(!o)return;const[a,s]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:i}),i!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[u]=uC(this.getOffsetForIndex(n,s));Lse(u,this.getScrollOffset())||this.scrollToIndex(n,{align:s,behavior:i})}else this.scrollToIndex(n,{align:s,behavior:i})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let i;return r.length===0?i=this.options.paddingStart:i=this.options.lanes===1?((n=r[r.length-1])==null?void 0:n.end)??0:Math.max(...r.slice(-this.options.lanes).map(o=>o.end)),Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:i})=>{this.options.scrollToFn(n,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const GU=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(or)t=i-1;else return i}return e>0?e-1:0};function zse({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const i=e.length-1;let a=GU(0,i,l=>e[l].start,n),s=a;for(;s1&&(a=Math.max(0,a-a%r),s=Math.min(i,s+(r-1-s%r))),{startIndex:a,endIndex:s}}function Gse(e){const t=new Hse(B(e)),n=bi(t),r=t._didMount();return Bt(()=>B(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),Bt(()=>B(e),i=>{t.setOptions({...i,onChange:(o,a)=>{var s;hE(n),(s=i.onChange)==null||s.call(i,o,a)}}),t._willUpdate(),hE(n)},{immediate:!0}),QI(r),n}function WU(e){return Gse(Ce(()=>({observeElementRect:$se,observeElementOffset:Bse,scrollToFn:Use,...B(e)})))}const Wse=["data-index"],eR=nt({__name:"VirtualScroller",props:{data:{default:()=>[]},size:{default:64}},setup(e){const t=De(null),n=e,r=Ce(()=>({count:n.data.length,getScrollElement:()=>t.value,estimateSize:()=>n.size,overscan:36})),i=WU(r),o=Ce(()=>i.value.getVirtualItems()),a=Ce(()=>i.value.getTotalSize()),s=l=>{l&&i.value.measureElement(l)};return(l,u)=>{var c;return Y(),te("div",{ref_key:"parentRef",ref:t,class:"flex h-full w-full overflow-y-auto"},[L("div",{style:pr({height:`${a.value}px`}),class:"relative w-full"},[L("div",{class:"absolute top-0 left-0 w-full",style:pr({transform:`translateY(${((c=o.value[0])==null?void 0:c.start)??0}px)`})},[(Y(!0),te(Ye,null,fn(o.value,f=>(Y(),te("div",{key:f.key.toString(),"data-index":f.index,ref_for:!0,ref:s},[yf(l.$slots,"default",{item:l.data[f.index],index:f.index})],8,Wse))),128))],4)],4)],512)}}}),cC=De(null),nk=De(!1),tR=()=>({infoConn:cC,connectionDetailModalShow:nk,handlerInfo:async t=>{cC.value=null,await Qa(),cC.value=t,nk.value=!0}});/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:jU,setPrototypeOf:rk,isFrozen:jse,getPrototypeOf:Xse,getOwnPropertyDescriptor:Yse}=Object;let{freeze:Ui,seal:ba,create:XU}=Object,{apply:fA,construct:dA}=typeof Reflect<"u"&&Reflect;Ui||(Ui=function(t){return t});ba||(ba=function(t){return t});fA||(fA=function(t,n,r){return t.apply(n,r)});dA||(dA=function(t,n){return new t(...n)});const d0=Hi(Array.prototype.forEach),Kse=Hi(Array.prototype.lastIndexOf),ik=Hi(Array.prototype.pop),Hp=Hi(Array.prototype.push),Zse=Hi(Array.prototype.splice),q_=Hi(String.prototype.toLowerCase),fC=Hi(String.prototype.toString),ok=Hi(String.prototype.match),zp=Hi(String.prototype.replace),qse=Hi(String.prototype.indexOf),Jse=Hi(String.prototype.trim),$a=Hi(Object.prototype.hasOwnProperty),Ei=Hi(RegExp.prototype.test),Gp=Qse(TypeError);function Hi(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:q_;rk&&rk(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(jse(t)||(t[r]=o),i=o)}e[i]=!0}return e}function ele(e){for(let t=0;t/gm),ole=ba(/\$\{[\w\W]*/gm),ale=ba(/^data-[\-\w.\u00B7-\uFFFF]+$/),sle=ba(/^aria-[\-\w]+$/),YU=ba(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),lle=ba(/^(?:\w+script|data):/i),ule=ba(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),KU=ba(/^html$/i),cle=ba(/^[a-z][.\w]*(-[.\w]+)+$/i);var ck=Object.freeze({__proto__:null,ARIA_ATTR:sle,ATTR_WHITESPACE:ule,CUSTOM_ELEMENT:cle,DATA_ATTR:ale,DOCTYPE_NAME:KU,ERB_EXPR:ile,IS_ALLOWED_URI:YU,IS_SCRIPT_OR_DATA:lle,MUSTACHE_EXPR:rle,TMPLIT_EXPR:ole});const jp={element:1,text:3,progressingInstruction:7,comment:8,document:9},fle=function(){return typeof window>"u"?null:window},dle=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},fk=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ZU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fle();const t=mt=>ZU(mt);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==jp.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:d,trustedTypes:h}=e,v=l.prototype,m=Wp(v,"cloneNode"),_=Wp(v,"remove"),y=Wp(v,"nextSibling"),S=Wp(v,"childNodes"),b=Wp(v,"parentNode");if(typeof a=="function"){const mt=n.createElement("template");mt.content&&mt.content.ownerDocument&&(n=mt.content.ownerDocument)}let w,T="";const{implementation:C,createNodeIterator:E,createDocumentFragment:R,getElementsByTagName:I}=n,{importNode:M}=r;let P=fk();t.isSupported=typeof jU=="function"&&typeof b=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:D,ERB_EXPR:k,TMPLIT_EXPR:$,DATA_ATTR:W,ARIA_ATTR:N,IS_SCRIPT_OR_DATA:K,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:ae}=ck;let{IS_ALLOWED_URI:ge}=ck,ye=null;const Me=Jt({},[...ak,...dC,...hC,...pC,...sk]);let ke=null;const Ue=Jt({},[...lk,...vC,...uk,...h0]);let Le=Object.seal(XU(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,fe=null,Ae=!0,Se=!0,Te=!1,Ne=!0,Be=!1,H=!0,z=!1,ue=!1,we=!1,ve=!1,U=!1,j=!1,J=!0,de=!1;const _e="user-content-";let Oe=!0,q=!1,he={},Ve=null;const Ze=Jt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let bt=null;const ne=Jt({},["audio","video","img","source","image","track"]);let se=null;const pe=Jt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ee="http://www.w3.org/1998/Math/MathML",Ge="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml";let Ie=oe,$e=!1,et=null;const We=Jt({},[Ee,Ge,oe],fC);let Xe=Jt({},["mi","mo","mn","ms","mtext"]),tt=Jt({},["annotation-xml"]);const Ot=Jt({},["title","style","font","a","script"]);let Lt=null;const Nn=["application/xhtml+xml","text/html"],Ta="text/html";let Pn=null,yr=null;const nd=n.createElement("form"),Fl=function(re){return re instanceof RegExp||re instanceof Function},ns=function(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(yr&&yr===re)){if((!re||typeof re!="object")&&(re={}),re=jc(re),Lt=Nn.indexOf(re.PARSER_MEDIA_TYPE)===-1?Ta:re.PARSER_MEDIA_TYPE,Pn=Lt==="application/xhtml+xml"?fC:q_,ye=$a(re,"ALLOWED_TAGS")?Jt({},re.ALLOWED_TAGS,Pn):Me,ke=$a(re,"ALLOWED_ATTR")?Jt({},re.ALLOWED_ATTR,Pn):Ue,et=$a(re,"ALLOWED_NAMESPACES")?Jt({},re.ALLOWED_NAMESPACES,fC):We,se=$a(re,"ADD_URI_SAFE_ATTR")?Jt(jc(pe),re.ADD_URI_SAFE_ATTR,Pn):pe,bt=$a(re,"ADD_DATA_URI_TAGS")?Jt(jc(ne),re.ADD_DATA_URI_TAGS,Pn):ne,Ve=$a(re,"FORBID_CONTENTS")?Jt({},re.FORBID_CONTENTS,Pn):Ze,je=$a(re,"FORBID_TAGS")?Jt({},re.FORBID_TAGS,Pn):{},fe=$a(re,"FORBID_ATTR")?Jt({},re.FORBID_ATTR,Pn):{},he=$a(re,"USE_PROFILES")?re.USE_PROFILES:!1,Ae=re.ALLOW_ARIA_ATTR!==!1,Se=re.ALLOW_DATA_ATTR!==!1,Te=re.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=re.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=re.SAFE_FOR_TEMPLATES||!1,H=re.SAFE_FOR_XML!==!1,z=re.WHOLE_DOCUMENT||!1,ve=re.RETURN_DOM||!1,U=re.RETURN_DOM_FRAGMENT||!1,j=re.RETURN_TRUSTED_TYPE||!1,we=re.FORCE_BODY||!1,J=re.SANITIZE_DOM!==!1,de=re.SANITIZE_NAMED_PROPS||!1,Oe=re.KEEP_CONTENT!==!1,q=re.IN_PLACE||!1,ge=re.ALLOWED_URI_REGEXP||YU,Ie=re.NAMESPACE||oe,Xe=re.MATHML_TEXT_INTEGRATION_POINTS||Xe,tt=re.HTML_INTEGRATION_POINTS||tt,Le=re.CUSTOM_ELEMENT_HANDLING||{},re.CUSTOM_ELEMENT_HANDLING&&Fl(re.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Le.tagNameCheck=re.CUSTOM_ELEMENT_HANDLING.tagNameCheck),re.CUSTOM_ELEMENT_HANDLING&&Fl(re.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Le.attributeNameCheck=re.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),re.CUSTOM_ELEMENT_HANDLING&&typeof re.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Le.allowCustomizedBuiltInElements=re.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Se=!1),U&&(ve=!0),he&&(ye=Jt({},sk),ke=[],he.html===!0&&(Jt(ye,ak),Jt(ke,lk)),he.svg===!0&&(Jt(ye,dC),Jt(ke,vC),Jt(ke,h0)),he.svgFilters===!0&&(Jt(ye,hC),Jt(ke,vC),Jt(ke,h0)),he.mathMl===!0&&(Jt(ye,pC),Jt(ke,uk),Jt(ke,h0))),re.ADD_TAGS&&(ye===Me&&(ye=jc(ye)),Jt(ye,re.ADD_TAGS,Pn)),re.ADD_ATTR&&(ke===Ue&&(ke=jc(ke)),Jt(ke,re.ADD_ATTR,Pn)),re.ADD_URI_SAFE_ATTR&&Jt(se,re.ADD_URI_SAFE_ATTR,Pn),re.FORBID_CONTENTS&&(Ve===Ze&&(Ve=jc(Ve)),Jt(Ve,re.FORBID_CONTENTS,Pn)),Oe&&(ye["#text"]=!0),z&&Jt(ye,["html","head","body"]),ye.table&&(Jt(ye,["tbody"]),delete je.tbody),re.TRUSTED_TYPES_POLICY){if(typeof re.TRUSTED_TYPES_POLICY.createHTML!="function")throw Gp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof re.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Gp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=re.TRUSTED_TYPES_POLICY,T=w.createHTML("")}else w===void 0&&(w=dle(h,i)),w!==null&&typeof T=="string"&&(T=w.createHTML(""));Ui&&Ui(re),yr=re}},Qm=Jt({},[...dC,...hC,...tle]),rd=Jt({},[...pC,...nle]),ww=function(re){let He=b(re);(!He||!He.tagName)&&(He={namespaceURI:Ie,tagName:"template"});const ct=q_(re.tagName),xn=q_(He.tagName);return et[re.namespaceURI]?re.namespaceURI===Ge?He.namespaceURI===oe?ct==="svg":He.namespaceURI===Ee?ct==="svg"&&(xn==="annotation-xml"||Xe[xn]):!!Qm[ct]:re.namespaceURI===Ee?He.namespaceURI===oe?ct==="math":He.namespaceURI===Ge?ct==="math"&&tt[xn]:!!rd[ct]:re.namespaceURI===oe?He.namespaceURI===Ge&&!tt[xn]||He.namespaceURI===Ee&&!Xe[xn]?!1:!rd[ct]&&(Ot[ct]||!Qm[ct]):!!(Lt==="application/xhtml+xml"&&et[re.namespaceURI]):!1},zi=function(re){Hp(t.removed,{element:re});try{b(re).removeChild(re)}catch{_(re)}},id=function(re,He){try{Hp(t.removed,{attribute:He.getAttributeNode(re),from:He})}catch{Hp(t.removed,{attribute:null,from:He})}if(He.removeAttribute(re),re==="is")if(ve||U)try{zi(He)}catch{}else try{He.setAttribute(re,"")}catch{}},ey=function(re){let He=null,ct=null;if(we)re=""+re;else{const nr=ok(re,/^[\r\n\t ]+/);ct=nr&&nr[0]}Lt==="application/xhtml+xml"&&Ie===oe&&(re=''+re+"");const xn=w?w.createHTML(re):re;if(Ie===oe)try{He=new d().parseFromString(xn,Lt)}catch{}if(!He||!He.documentElement){He=C.createDocument(Ie,"template",null);try{He.documentElement.innerHTML=$e?T:xn}catch{}}const Lr=He.body||He.documentElement;return re&&ct&&Lr.insertBefore(n.createTextNode(ct),Lr.childNodes[0]||null),Ie===oe?I.call(He,z?"html":"body")[0]:z?He.documentElement:Lr},ty=function(re){return E.call(re.ownerDocument||re,re,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},gp=function(re){return re instanceof f&&(typeof re.nodeName!="string"||typeof re.textContent!="string"||typeof re.removeChild!="function"||!(re.attributes instanceof c)||typeof re.removeAttribute!="function"||typeof re.setAttribute!="function"||typeof re.namespaceURI!="string"||typeof re.insertBefore!="function"||typeof re.hasChildNodes!="function")},ny=function(re){return typeof s=="function"&&re instanceof s};function Ea(mt,re,He){d0(mt,ct=>{ct.call(t,re,He,yr)})}const ry=function(re){let He=null;if(Ea(P.beforeSanitizeElements,re,null),gp(re))return zi(re),!0;const ct=Pn(re.nodeName);if(Ea(P.uponSanitizeElement,re,{tagName:ct,allowedTags:ye}),re.hasChildNodes()&&!ny(re.firstElementChild)&&Ei(/<[/\w]/g,re.innerHTML)&&Ei(/<[/\w]/g,re.textContent)||re.nodeType===jp.progressingInstruction||H&&re.nodeType===jp.comment&&Ei(/<[/\w]/g,re.data))return zi(re),!0;if(!ye[ct]||je[ct]){if(!je[ct]&&mp(ct)&&(Le.tagNameCheck instanceof RegExp&&Ei(Le.tagNameCheck,ct)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(ct)))return!1;if(Oe&&!Ve[ct]){const xn=b(re)||re.parentNode,Lr=S(re)||re.childNodes;if(Lr&&xn){const nr=Lr.length;for(let ei=nr-1;ei>=0;--ei){const Uo=m(Lr[ei],!0);Uo.__removalCount=(re.__removalCount||0)+1,xn.insertBefore(Uo,y(re))}}}return zi(re),!0}return re instanceof l&&!ww(re)||(ct==="noscript"||ct==="noembed"||ct==="noframes")&&Ei(/<\/no(script|embed|frames)/i,re.innerHTML)?(zi(re),!0):(Be&&re.nodeType===jp.text&&(He=re.textContent,d0([D,k,$],xn=>{He=zp(He,xn," ")}),re.textContent!==He&&(Hp(t.removed,{element:re.cloneNode()}),re.textContent=He)),Ea(P.afterSanitizeElements,re,null),!1)},iy=function(re,He,ct){if(J&&(He==="id"||He==="name")&&(ct in n||ct in nd))return!1;if(!(Se&&!fe[He]&&Ei(W,He))){if(!(Ae&&Ei(N,He))){if(!ke[He]||fe[He]){if(!(mp(re)&&(Le.tagNameCheck instanceof RegExp&&Ei(Le.tagNameCheck,re)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(re))&&(Le.attributeNameCheck instanceof RegExp&&Ei(Le.attributeNameCheck,He)||Le.attributeNameCheck instanceof Function&&Le.attributeNameCheck(He))||He==="is"&&Le.allowCustomizedBuiltInElements&&(Le.tagNameCheck instanceof RegExp&&Ei(Le.tagNameCheck,ct)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(ct))))return!1}else if(!se[He]){if(!Ei(ge,zp(ct,X,""))){if(!((He==="src"||He==="xlink:href"||He==="href")&&re!=="script"&&qse(ct,"data:")===0&&bt[re])){if(!(Te&&!Ei(K,zp(ct,X,"")))){if(ct)return!1}}}}}}return!0},mp=function(re){return re!=="annotation-xml"&&ok(re,ae)},oy=function(re){Ea(P.beforeSanitizeAttributes,re,null);const{attributes:He}=re;if(!He||gp(re))return;const ct={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke,forceKeepAttr:void 0};let xn=He.length;for(;xn--;){const Lr=He[xn],{name:nr,namespaceURI:ei,value:Uo}=Lr,ac=Pn(nr);let Nr=nr==="value"?Uo:Jse(Uo);if(ct.attrName=ac,ct.attrValue=Nr,ct.keepAttr=!0,ct.forceKeepAttr=void 0,Ea(P.uponSanitizeAttribute,re,ct),Nr=ct.attrValue,de&&(ac==="id"||ac==="name")&&(id(nr,re),Nr=_e+Nr),H&&Ei(/((--!?|])>)|<\/(style|title)/i,Nr)){id(nr,re);continue}if(ct.forceKeepAttr||(id(nr,re),!ct.keepAttr))continue;if(!Ne&&Ei(/\/>/i,Nr)){id(nr,re);continue}Be&&d0([D,k,$],_p=>{Nr=zp(Nr,_p," ")});const yp=Pn(re.nodeName);if(iy(yp,ac,Nr)){if(w&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!ei)switch(h.getAttributeType(yp,ac)){case"TrustedHTML":{Nr=w.createHTML(Nr);break}case"TrustedScriptURL":{Nr=w.createScriptURL(Nr);break}}try{ei?re.setAttributeNS(ei,nr,Nr):re.setAttribute(nr,Nr),gp(re)?zi(re):ik(t.removed)}catch{}}}Ea(P.afterSanitizeAttributes,re,null)},xw=function mt(re){let He=null;const ct=ty(re);for(Ea(P.beforeSanitizeShadowDOM,re,null);He=ct.nextNode();)Ea(P.uponSanitizeShadowNode,He,null),ry(He),oy(He),He.content instanceof o&&mt(He.content);Ea(P.afterSanitizeShadowDOM,re,null)};return t.sanitize=function(mt){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=null,ct=null,xn=null,Lr=null;if($e=!mt,$e&&(mt=""),typeof mt!="string"&&!ny(mt))if(typeof mt.toString=="function"){if(mt=mt.toString(),typeof mt!="string")throw Gp("dirty is not a string, aborting")}else throw Gp("toString is not a function");if(!t.isSupported)return mt;if(ue||ns(re),t.removed=[],typeof mt=="string"&&(q=!1),q){if(mt.nodeName){const Uo=Pn(mt.nodeName);if(!ye[Uo]||je[Uo])throw Gp("root node is forbidden and cannot be sanitized in-place")}}else if(mt instanceof s)He=ey(""),ct=He.ownerDocument.importNode(mt,!0),ct.nodeType===jp.element&&ct.nodeName==="BODY"||ct.nodeName==="HTML"?He=ct:He.appendChild(ct);else{if(!ve&&!Be&&!z&&mt.indexOf("<")===-1)return w&&j?w.createHTML(mt):mt;if(He=ey(mt),!He)return ve?null:j?T:""}He&&we&&zi(He.firstChild);const nr=ty(q?mt:He);for(;xn=nr.nextNode();)ry(xn),oy(xn),xn.content instanceof o&&xw(xn.content);if(q)return mt;if(ve){if(U)for(Lr=R.call(He.ownerDocument);He.firstChild;)Lr.appendChild(He.firstChild);else Lr=He;return(ke.shadowroot||ke.shadowrootmode)&&(Lr=M.call(r,Lr,!0)),Lr}let ei=z?He.outerHTML:He.innerHTML;return z&&ye["!doctype"]&&He.ownerDocument&&He.ownerDocument.doctype&&He.ownerDocument.doctype.name&&Ei(KU,He.ownerDocument.doctype.name)&&(ei=" `+ei),Be&&d0([D,k,$],Uo=>{ei=zp(ei,Uo," ")}),w&&j?w.createHTML(ei):ei},t.setConfig=function(){let mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ns(mt),ue=!0},t.clearConfig=function(){yr=null,ue=!1},t.isValidAttribute=function(mt,re,He){yr||ns({});const ct=Pn(mt),xn=Pn(re);return iy(ct,xn,He)},t.addHook=function(mt,re){typeof re=="function"&&Hp(P[mt],re)},t.removeHook=function(mt,re){if(re!==void 0){const He=Kse(P[mt],re);return He===-1?void 0:Zse(P[mt],He,1)[0]}return ik(P[mt])},t.removeHooks=function(mt){P[mt]=[]},t.removeAllHooks=function(){P=fk()},t}var hle=ZU();const ple=["innerHTML"],vle=["src"],dk="data:image/svg+xml,",nR=nt({__name:"ProxyIcon",props:{icon:{},fill:{},size:{}},setup(e){const t=e,n=Ce(()=>({width:(t.size==="small"?Jv.value:Jv.value+4)+"px",marginRight:B_.value-4+"px"})),r=Ce(()=>t.icon.startsWith(dk)),i=Ce(()=>{if(r.value)return hle.sanitize(t.icon.replace(dk,""))});return(o,a)=>r.value?(Y(),te("div",{key:0,class:gt(["inline-block",o.fill||"fill-primary"]),style:pr(n.value),innerHTML:i.value},null,14,ple)):(Y(),te("img",{key:1,style:pr(n.value),src:o.icon},null,12,vle))}}),Bf=nt({__name:"ProxyName",props:{name:{},size:{default:"small"}},setup(e){const t=e,n=Ce(()=>{var r;return(r=Jr.value[t.name])==null?void 0:r.icon});return(r,i)=>(Y(),te("div",{class:gt(["flex shrink-0 items-center gap-1",r.size==="large"?"text-lg font-medium":"text-sm"])},[n.value?(Y(),yt(nR,{key:0,icon:n.value,size:r.size,class:gt(r.size==="large"&&"-mt-[2px]")},null,8,["icon","size","class"])):at("",!0),rt(" "+ie(r.name),1)],2))}}),gle=nt({props:{conn:Object},name:"ConnectionCard",setup(e){const{handlerInfo:t}=tR();return()=>{const n=e.conn,r=n.metadata,i={[ze.Host]:G("span",{class:"text-primary/80 w-80 grow truncate"},[r.host||r.sniffHost||r.destinationIP,rt(":"),r.destinationPort]),[ze.Destination]:G("span",{class:"w-80 grow truncate break-all"},[VU(n)]),[ze.RemoteAddress]:G("span",{class:"w-80 grow truncate break-all"},[n.metadata.remoteDestination||"-"]),[ze.SourceIP]:G("span",{class:"w-40 grow truncate break-all"},[Z1(r.sourceIP)]),[ze.SourcePort]:G("span",{class:"w-20 grow truncate break-all"},[r.sourcePort]),[ze.SniffHost]:G("span",{class:"w-80 grow truncate break-all"},[r.sniffHost||"-"]),[ze.Type]:G("span",{class:"w-60 grow truncate break-all"},[HU(n)]),[ze.Rule]:G("span",{class:"w-80 grow truncate break-all"},[n.rule,n.rulePayload&&G(Ye,null,[rt(": "),n.rulePayload])]),[ze.Process]:G("span",{class:"w-60 grow truncate break-all"},[BU(n)]),[ze.Chains]:G("span",{class:["flex w-80 grow items-center gap-1 truncate break-all",dh.value===tp.REVERSE&&"flex-row-reverse justify-end"]},[G(Bf,{name:mr.last(n.chains)},null),mr.last(n.chains)!==mr.first(n.chains)&&G(Ye,null,[G(Rl,{class:"h-4 w-4 shrink-0"},null),G(Bf,{name:mr.first(n.chains)},null)])]),[ze.Download]:G("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.download),G(Wee,{class:"text-success h-4 w-4"},null)]),[ze.Upload]:G("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.upload),G(Xee,{class:"text-info h-4 w-4"},null)]),[ze.DlSpeed]:G("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.downloadSpeed),rt("/s"),G(sS,{class:"text-success h-4 w-4"},null)]),[ze.UlSpeed]:G("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.uploadSpeed),rt("/s"),G(Rm,{class:"text-info h-4 w-4"},null)]),[ze.ConnectTime]:G("div",{class:"gap-1 whitespace-nowrap"},[TS(n.start)]),[ze.DestinationType]:G("div",{class:"gap-1 whitespace-nowrap"},[UU(n)]),[ze.Close]:G("button",{class:"btn btn-circle btn-xs",onClick:o=>{o.stopPropagation(),wS(n.id)}},[G(Nf,{class:"h-4 w-4"},null)])};return G("div",{class:"card cursor-pointer gap-1 p-1",onClick:()=>t(n)},[to.value.map(o=>G("div",{class:"flex items-center gap-1 text-sm"},[o.map(a=>i[a])]))])}}}),mle={key:0,class:"card m-2 flex-row p-2 text-sm"},yle=nt({__name:"ConnectionCardList",setup(e){const t=Ce(()=>to.value.length*28+4);return(n,r)=>B(Dh).length?(Y(),yt(eR,{key:1,data:B(Dh),size:t.value},{default:qn(({item:i})=>[G(B(gle),{class:"mb-1",conn:i},null,8,["conn"])]),_:1},8,["data","size"])):(Y(),te("div",mle,ie(n.$t("noContent")),1))}}),_le={class:"modal-box relative max-h-[90dvh] overflow-hidden p-0 max-md:max-h-[70dvh]"},ble={method:"dialog"},Sle={class:"btn btn-circle btn-ghost btn-xs absolute top-1 right-1 z-10 outline-hidden"},ip=nt({__name:"DialogWrapper",props:M1({noPadding:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=De(),n=y2(e,"modelValue");return Bt(n,r=>{var i,o;r?(i=t.value)==null||i.showModal():(o=t.value)==null||o.close()}),(r,i)=>(Y(),te("dialog",{ref_key:"modalRef",ref:t,class:"modal",onClose:i[0]||(i[0]=o=>n.value=!1)},[L("div",_le,[L("form",ble,[L("button",Sle,[G(B(Nf),{class:"h-4 w-4"})])]),L("div",{class:gt(["max-h-[90dvh] overflow-y-auto max-md:max-h-[70dvh]",r.noPadding?"p-0":"p-4"])},[yf(r.$slots,"default")],2)]),i[1]||(i[1]=L("form",{method:"dialog",class:"modal-backdrop"},[L("button",null,"close")],-1))],544))}});var q1={d:(e,t)=>{for(var n in t)q1.o(t,n)&&!q1.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},qU={};function hA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nEle});const wt=(hk={computed:()=>Ce,createTextVNode:()=>rt,createVNode:()=>G,defineComponent:()=>nt,reactive:()=>qa,ref:()=>De,watch:()=>Bt,watchEffect:()=>rS},gC={},q1.d(gC,hk),gC),wle=(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])}}),xle=(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)])}}),Cle=(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 hk,gC;function pA(e){return pA=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},pA(e)}function QU(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Xc(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,d=f===void 0?1:f,h=QU(e);if(h==="array"){var v=pk(e.map(function(y,S,b){return Xc(y,"".concat(t,"[").concat(S,"]"),n+1,{index:S,showComma:S!==b.length-1,length:d,type:l})}));return[Xc("[",t,n,{showComma:!1,key:o,length:e.length,type:"arrayStart"})[0]].concat(v,Xc("]",t,n,{showComma:c,length:e.length,type:"arrayEnd"})[0])}if(h==="object"){var m=Object.keys(e),_=pk(m.map(function(y,S,b){return Xc(e[y],/^[a-zA-Z_]\w*$/.test(y)?"".concat(t,".").concat(y):"".concat(t,'["').concat(y,'"]'),n+1,{key:y,showComma:S!==b.length-1,length:d,type:l})}));return[Xc("{",t,n,{showComma:!1,key:o,index:a,length:m.length,type:"objectStart"})[0]].concat(_,Xc("}",t,n,{showComma:c,length:m.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:o,index:a,path:t,showComma:c,length:d,type:l}]}function pk(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=J1(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,J1(r)):n.push(r)}return n}function vA(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(pA(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(o){return vA(o,t)});return t.set(e,n),n}var r={};for(var i in e)r[i]=vA(e[i],t);return t.set(e,r),r}function vk(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 gk(e){for(var t=1;t=b||C.length>=w,I=(E=e.pathCollapsible)===null||E===void 0?void 0:E.call(e,C);return C.type!=="objectStart"&&C.type!=="arrayStart"||!R&&!I?T:Eo(Eo({},T),{},Q1({},C.path,1))},{})},s=(0,wt.reactive)({translateY:0,visibleData:null,hiddenPaths:a(e.deep,e.collapsedNodeLength)}),l=(0,wt.computed)(function(){for(var b=null,w=[],T=o.value.length,C=0;Cb.length?b.length-T:E;R<0&&(R=0);var I=R+T;s.translateY=R*e.itemHeight,s.visibleData=b.filter(function(M,P){return P>=R&&P{var l;return(l=t.value)==null?void 0:l.metadata.destinationIP}),s=Ce(()=>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,q2((c=t.value)==null?void 0:c.metadata.destinationIP).then(f=>{r.value=f}))}}),(l,u)=>(Y(),yt(ip,{modelValue:B(n),"onUpdate:modelValue":u[0]||(u[0]=c=>ht(n)?n.value=c:null),"no-padding":!0},{default:qn(()=>{var c,f,d,h;return[L("div",Ile,[G(B(Ale),{data:B(t),class:"overflow-y-auto px-4"},null,8,["data"]),a.value&&!s.value?(Y(),te("div",Rle,[r.value?(Y(),te(Ye,{key:0},[L("div",Ple,[G(B(Rl),{class:"h-4 w-4 shrink-0"}),L("div",null,ie((c=r.value)==null?void 0:c.ip),1),L("div",null,"( AS"+ie((f=r.value)==null?void 0:f.asn)+" )",1)]),L("div",Mle,[L("div",Ole,[G(B(ete),{class:"h-4 w-4 shrink-0"}),rt(" "+ie((d=r.value)==null?void 0:d.country),1)]),L("div",Dle,[G(B(rte),{class:"h-4 w-4 shrink-0"}),rt(" "+ie((h=r.value)==null?void 0:h.organization),1)])])],64)):at("",!0)])):at("",!0)])]}),_:1},8,["modelValue"]))}});/** * 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 */function Tu(e,t){return typeof e=="function"?e(t):e}function $o(e,t){return n=>{t.setState(r=>({...r,[e]:Tu(n,r[e])}))}}function Eu(e){return e instanceof Function}function Nle(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function tH(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,d=f/16,h=(v,m)=>{for(v=String(v);v.length{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:!1,onChange:r}}function kle(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 Fle(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=d=>{let h=d;for(const m of l.split(".")){var v;h=(v=h)==null?void 0:v[m]}return h}:c=d=>d[s.accessorKey]),!u)throw new Error;let f={id:`${String(u)}`,accessorFn:c,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:At(()=>[!0],()=>{var d;return[f,...(d=f.columns)==null?void 0:d.flatMap(h=>h.getFlatColumns())]},It(e.options,"debugColumns")),getLeafColumns:At(()=>[e._getOrderColumnsFn()],d=>{var h;if((h=f.columns)!=null&&h.length){let v=f.columns.flatMap(m=>m.getLeafColumns());return d(v)}return[f]},It(e.options,"debugColumns"))};for(const d of e._features)d.createColumn==null||d.createColumn(f,e);return f}const ri="debugHeaders";function yk(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 $le={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(d=>d.id===f)).filter(Boolean))!=null?o:[],l=(a=i==null?void 0:i.map(f=>n.find(d=>d.id===f)).filter(Boolean))!=null?a:[],u=n.filter(f=>!(r!=null&&r.includes(f.id))&&!(i!=null&&i.includes(f.id)));return p0(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))),p0(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 p0(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 p0(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.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getLeftLeafHeaders=At(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getRightLeafHeaders=At(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getLeafHeaders=At(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var i,o,a,s,l,u;return[...(i=(o=t[0])==null?void 0:o.headers)!=null?i:[],...(a=(s=n[0])==null?void 0:s.headers)!=null?a:[],...(l=(u=r[0])==null?void 0:u.headers)!=null?l:[]].map(c=>c.getLeafHeaders()).flat()},It(e.options,ri))}};function p0(e,t,n,r){var i,o;let a=0;const s=function(d,h){h===void 0&&(h=1),a=Math.max(a,h),d.filter(v=>v.getIsVisible()).forEach(v=>{var m;(m=v.columns)!=null&&m.length&&s(v.columns,h+1)},0)};s(e);let l=[];const u=(d,h)=>{const v={depth:h,id:[r,`${h}`].filter(Boolean).join("_"),headers:[]},m=[];d.forEach(_=>{const y=[...m].reverse()[0],S=_.column.depth===v.depth;let b,w=!1;if(S&&_.column.parent?b=_.column.parent:(b=_.column,w=!0),y&&(y==null?void 0:y.column)===b)y.subHeaders.push(_);else{const T=yk(n,b,{id:[r,h,b.id,_==null?void 0:_.id].filter(Boolean).join("_"),isPlaceholder:w,placeholderId:w?`${m.filter(C=>C.column===b).length}`:void 0,depth:h,index:m.length});T.subHeaders.push(_),m.push(T)}v.headers.push(_),_.headerGroup=v}),l.push(v),h>0&&u(m,h-1)},c=t.map((d,h)=>yk(n,d,{depth:a,index:h}));u(c,a-1),l.reverse();const f=d=>d.filter(v=>v.column.getIsVisible()).map(v=>{let m=0,_=0,y=[0];v.subHeaders&&v.subHeaders.length?(y=[],f(v.subHeaders).forEach(b=>{let{colSpan:w,rowSpan:T}=b;m+=w,y.push(T)})):m=1;const S=Math.min(...y);return _=_+S,v.colSpan=m,v.rowSpan=_,{colSpan:m,rowSpan:_}});return f((i=(o=l[0])==null?void 0:o.headers)!=null?i:[]),l}const nH=(e,t,n,r,i,o,a)=>{let s={id:t,index:r,original:n,depth:i,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:l=>{if(s._valuesCache.hasOwnProperty(l))return s._valuesCache[l];const u=e.getColumn(l);if(u!=null&&u.accessorFn)return s._valuesCache[l]=u.accessorFn(s.original,r),s._valuesCache[l]},getUniqueValues:l=>{if(s._uniqueValuesCache.hasOwnProperty(l))return s._uniqueValuesCache[l];const u=e.getColumn(l);if(u!=null&&u.accessorFn)return u.columnDef.getUniqueValues?(s._uniqueValuesCache[l]=u.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[l]):(s._uniqueValuesCache[l]=[s.getValue(l)],s._uniqueValuesCache[l])},renderValue:l=>{var u;return(u=s.getValue(l))!=null?u:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>tH(s.subRows,l=>l.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let l=[],u=s;for(;;){const c=u.getParentRow();if(!c)break;l.push(c),u=c}return l.reverse()},getAllCells:At(()=>[e.getAllLeafColumns()],l=>l.map(u=>kle(e,s,u,u.id)),It(e.options,"debugRows")),_getAllCellsByColumnId:At(()=>[s.getAllCells()],l=>l.reduce((u,c)=>(u[c.column.id]=c,u),{}),It(e.options,"debugRows"))};for(let l=0;l{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},rH=(e,t,n)=>{var r,i;const o=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((i=e.getValue(t))==null||(i=i.toString())==null||(i=i.toLowerCase())==null)&&i.includes(o))};rH.autoRemove=e=>Za(e);const iH=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};iH.autoRemove=e=>Za(e);const oH=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};oH.autoRemove=e=>Za(e);const aH=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};aH.autoRemove=e=>Za(e);const sH=(e,t,n)=>!n.some(r=>{var i;return!((i=e.getValue(t))!=null&&i.includes(r))});sH.autoRemove=e=>Za(e)||!(e!=null&&e.length);const lH=(e,t,n)=>n.some(r=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(r)});lH.autoRemove=e=>Za(e)||!(e!=null&&e.length);const uH=(e,t,n)=>e.getValue(t)===n;uH.autoRemove=e=>Za(e);const cH=(e,t,n)=>e.getValue(t)==n;cH.autoRemove=e=>Za(e);const rR=(e,t,n)=>{let[r,i]=n;const o=e.getValue(t);return o>=r&&o<=i};rR.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,i=typeof n!="number"?parseFloat(n):n,o=t===null||Number.isNaN(r)?-1/0:r,a=n===null||Number.isNaN(i)?1/0:i;if(o>a){const s=o;o=a,a=s}return[o,a]};rR.autoRemove=e=>Za(e)||Za(e[0])&&Za(e[1]);const il={includesString:rH,includesStringSensitive:iH,equalsString:oH,arrIncludes:aH,arrIncludesAll:sH,arrIncludesSome:lH,equals:uH,weakEquals:cH,inNumberRange:rR};function Za(e){return e==null||e===""}const Vle={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:$o("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?il.includesString:typeof r=="number"?il.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?il.equals:Array.isArray(r)?il.arrIncludes:il.weakEquals},e.getFilterFn=()=>{var n,r;return Eu(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:il[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const i=e.getFilterFn(),o=r==null?void 0:r.find(c=>c.id===e.id),a=Tu(n,o?o.value:void 0);if(_k(i,a,e)){var s;return(s=r==null?void 0:r.filter(c=>c.id!==e.id))!=null?s:[]}const l={id:e.id,value:a};if(o){var u;return(u=r==null?void 0:r.map(c=>c.id===e.id?l:c))!=null?u:[]}return r!=null&&r.length?[...r,l]:[l]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=i=>{var o;return(o=Tu(t,i))==null?void 0:o.filter(a=>{const s=n.find(l=>l.id===a.id);if(s){const l=s.getFilterFn();if(_k(l,a.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function _k(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const Ule=(e,t,n)=>n.reduce((r,i)=>{const o=i.getValue(e);return r+(typeof o=="number"?o:0)},0),Hle=(e,t,n)=>{let r;return n.forEach(i=>{const o=i.getValue(e);o!=null&&(r>o||r===void 0&&o>=o)&&(r=o)}),r},zle=(e,t,n)=>{let r;return n.forEach(i=>{const o=i.getValue(e);o!=null&&(r=o)&&(r=o)}),r},Gle=(e,t,n)=>{let r,i;return n.forEach(o=>{const a=o.getValue(e);a!=null&&(r===void 0?a>=a&&(r=i=a):(r>a&&(r=a),i{let n=0,r=0;if(t.forEach(i=>{let o=i.getValue(e);o!=null&&(o=+o)>=o&&(++n,r+=o)}),n)return r/n},jle=(e,t)=>{if(!t.length)return;const n=t.map(o=>o.getValue(e));if(!Nle(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),i=n.sort((o,a)=>o-a);return n.length%2!==0?i[r]:(i[r-1]+i[r])/2},Xle=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),Yle=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,Kle=(e,t)=>t.length,mC={sum:Ule,min:Hle,max:zle,extent:Gle,mean:Wle,median:jle,unique:Xle,uniqueCount:Yle,count:Kle},Zle={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:$o("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return mC.sum;if(Object.prototype.toString.call(r)==="[object Date]")return mC.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Eu(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:mC[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=n.subRows)!=null&&i.length)}}};function qle(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(o=>!t.includes(o.id));return n==="remove"?r:[...t.map(o=>e.find(a=>a.id===o)).filter(Boolean),...r]}const Jle={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:$o("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=At(n=>[rg(t,n)],n=>n.findIndex(r=>r.id===e.id),It(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return((r=rg(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=rg(t,n);return((r=i[i.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=At(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>i=>{let o=[];if(!(t!=null&&t.length))o=i;else{const a=[...t],s=[...i];for(;s.length&&a.length;){const l=a.shift(),u=s.findIndex(c=>c.id===l);u>-1&&o.push(s.splice(u,1)[0])}o=[...o,...s]}return qle(o,n,r)},It(e.options,"debugTable"))}},yC=()=>({left:[],right:[]}),Qle={getInitialState:e=>({columnPinning:yC(),...e}),getDefaultOptions:e=>({onColumnPinningChange:$o("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(i=>i.id).filter(Boolean);t.setColumnPinning(i=>{var o,a;if(n==="right"){var s,l;return{left:((s=i==null?void 0:i.left)!=null?s:[]).filter(f=>!(r!=null&&r.includes(f))),right:[...((l=i==null?void 0:i.right)!=null?l:[]).filter(f=>!(r!=null&&r.includes(f))),...r]}}if(n==="left"){var u,c;return{left:[...((u=i==null?void 0:i.left)!=null?u:[]).filter(f=>!(r!=null&&r.includes(f))),...r],right:((c=i==null?void 0:i.right)!=null?c:[]).filter(f=>!(r!=null&&r.includes(f)))}}return{left:((o=i==null?void 0:i.left)!=null?o:[]).filter(f=>!(r!=null&&r.includes(f))),right:((a=i==null?void 0:i.right)!=null?a:[]).filter(f=>!(r!=null&&r.includes(f)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var i,o,a;return((i=r.columnDef.enablePinning)!=null?i:!0)&&((o=(a=t.options.enableColumnPinning)!=null?a:t.options.enablePinning)!=null?o:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(s=>s.id),{left:r,right:i}=t.getState().columnPinning,o=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>i==null?void 0:i.includes(s));return o?"left":a?"right":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(r=r[i])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,i)=>{const o=[...r??[],...i??[]];return n.filter(a=>!o.includes(a.column.id))},It(t.options,"debugRows")),e.getLeftVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"left"})),It(t.options,"debugRows")),e.getRightVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"right"})),It(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?yC():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:yC())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var i,o;return!!((i=r.left)!=null&&i.length||(o=r.right)!=null&&o.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),It(e.options,"debugColumns")),e.getRightLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),It(e.options,"debugColumns")),e.getCenterLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(o=>!i.includes(o.id))},It(e.options,"debugColumns"))}},v0={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},_C=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),eue={getDefaultColumnDef:()=>v0,getInitialState:e=>({columnSizing:{},columnSizingInfo:_C(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:$o("columnSizing",e),onColumnSizingInfoChange:$o("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const o=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:v0.minSize,(r=o??e.columnDef.size)!=null?r:v0.size),(i=e.columnDef.maxSize)!=null?i:v0.maxSize)},e.getStart=At(n=>[n,rg(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((i,o)=>i+o.getSize(),0),It(t.options,"debugColumns")),e.getAfter=At(n=>[n,rg(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((i,o)=>i+o.getSize(),0),It(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...i}=n;return i})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=i=>{if(i.subHeaders.length)i.subHeaders.forEach(r);else{var o;n+=(o=i.column.getSize())!=null?o:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=r==null?void 0:r.getCanResize();return o=>{if(!r||!i||(o.persist==null||o.persist(),bC(o)&&o.touches&&o.touches.length>1))return;const a=e.getSize(),s=e?e.getLeafHeaders().map(y=>[y.column.id,y.column.getSize()]):[[r.id,r.getSize()]],l=bC(o)?Math.round(o.touches[0].clientX):o.clientX,u={},c=(y,S)=>{typeof S=="number"&&(t.setColumnSizingInfo(b=>{var w,T;const C=t.options.columnResizeDirection==="rtl"?-1:1,E=(S-((w=b==null?void 0:b.startOffset)!=null?w:0))*C,R=Math.max(E/((T=b==null?void 0:b.startSize)!=null?T:0),-.999999);return b.columnSizingStart.forEach(I=>{let[M,P]=I;u[M]=Math.round(Math.max(P+P*R,0)*100)/100}),{...b,deltaOffset:E,deltaPercentage:R}}),(t.options.columnResizeMode==="onChange"||y==="end")&&t.setColumnSizing(b=>({...b,...u})))},f=y=>c("move",y),d=y=>{c("end",y),t.setColumnSizingInfo(S=>({...S,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},h=n||typeof document<"u"?document:null,v={moveHandler:y=>f(y.clientX),upHandler:y=>{h==null||h.removeEventListener("mousemove",v.moveHandler),h==null||h.removeEventListener("mouseup",v.upHandler),d(y.clientX)}},m={moveHandler:y=>(y.cancelable&&(y.preventDefault(),y.stopPropagation()),f(y.touches[0].clientX),!1),upHandler:y=>{var S;h==null||h.removeEventListener("touchmove",m.moveHandler),h==null||h.removeEventListener("touchend",m.upHandler),y.cancelable&&(y.preventDefault(),y.stopPropagation()),d((S=y.touches[0])==null?void 0:S.clientX)}},_=tue()?{passive:!1}:!1;bC(o)?(h==null||h.addEventListener("touchmove",m.moveHandler,_),h==null||h.addEventListener("touchend",m.upHandler,_)):(h==null||h.addEventListener("mousemove",v.moveHandler,_),h==null||h.addEventListener("mouseup",v.upHandler,_)),t.setColumnSizingInfo(y=>({...y,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?_C():(n=e.initialState.columnSizingInfo)!=null?n:_C())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0}}};let g0=null;function tue(){if(typeof g0=="boolean")return g0;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return g0=e,g0}function bC(e){return e.type==="touchstart"}const nue={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:$o("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return(n=i.length?i.some(o=>o.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=At(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),It(t.options,"debugRows")),e.getVisibleCells=At(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,i)=>[...n,...r,...i],It(t.options,"debugRows"))},createTable:e=>{const t=(n,r)=>At(()=>[r(),r().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(o=>o.getIsVisible==null?void 0:o.getIsVisible()),It(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,o)=>({...i,[o.id]:n||!(o.getCanHide!=null&&o.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function rg(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const rue={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},iue={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:$o("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,o;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&((o=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?o:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>il.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Eu(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:il[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},oue={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:$o("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var i,o;e.setExpanded(r?{}:(i=(o=e.initialState)==null?void 0:o.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(o=>{const a=o.split(".");r=Math.max(r,a.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const o=r===!0?!0:!!(r!=null&&r[e.id]);let a={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(s=>{a[s]=!0}):a=r,n=(i=n)!=null?i:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:s,...l}=a;return l}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,i;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},gA=0,mA=10,SC=()=>({pageIndex:gA,pageSize:mA}),aue={getInitialState:e=>({...e,pagination:{...SC(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:$o("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const i=o=>Tu(r,o);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=r=>{var i;e.setPagination(r?SC():(i=e.initialState.pagination)!=null?i:SC())},e.setPageIndex=r=>{e.setPagination(i=>{let o=Tu(r,i.pageIndex);const a=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,a)),{...i,pageIndex:o}})},e.resetPageIndex=r=>{var i,o;e.setPageIndex(r?gA:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageIndex)!=null?i:gA)},e.resetPageSize=r=>{var i,o;e.setPageSize(r?mA:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageSize)!=null?i:mA)},e.setPageSize=r=>{e.setPagination(i=>{const o=Math.max(1,Tu(r,i.pageSize)),a=i.pageSize*i.pageIndex,s=Math.floor(a/o);return{...i,pageIndex:s,pageSize:o}})},e.setPageCount=r=>e.setPagination(i=>{var o;let a=Tu(r,(o=e.options.pageCount)!=null?o:-1);return typeof a=="number"&&(a=Math.max(-1,a)),{...i,pageCount:a}}),e.getPageOptions=At(()=>[e.getPageCount()],r=>{let i=[];return r&&r>0&&(i=[...new Array(r)].fill(null).map((o,a)=>a)),i},It(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},wC=()=>({top:[],bottom:[]}),sue={getInitialState:e=>({rowPinning:wC(),...e}),getDefaultOptions:e=>({onRowPinningChange:$o("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const o=r?e.getLeafRows().map(l=>{let{id:u}=l;return u}):[],a=i?e.getParentRows().map(l=>{let{id:u}=l;return u}):[],s=new Set([...a,e.id,...o]);t.setRowPinning(l=>{var u,c;if(n==="bottom"){var f,d;return{top:((f=l==null?void 0:l.top)!=null?f:[]).filter(m=>!(s!=null&&s.has(m))),bottom:[...((d=l==null?void 0:l.bottom)!=null?d:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)]}}if(n==="top"){var h,v;return{top:[...((h=l==null?void 0:l.top)!=null?h:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)],bottom:((v=l==null?void 0:l.bottom)!=null?v:[]).filter(m=>!(s!=null&&s.has(m)))}}return{top:((u=l==null?void 0:l.top)!=null?u:[]).filter(m=>!(s!=null&&s.has(m))),bottom:((c=l==null?void 0:l.bottom)!=null?c:[]).filter(m=>!(s!=null&&s.has(m)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return typeof r=="function"?r(e):(n=r??i)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>i==null?void 0:i.includes(s));return o?"top":a?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const o=(n=i==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(a=>{let{id:s}=a;return s});return(r=o==null?void 0:o.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?wC():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:wC())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var i,o;return!!((i=r.top)!=null&&i.length||(o=r.bottom)!=null&&o.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(a=>{const s=e.getRow(a,!0);return s.getIsAllParentsExpanded()?s:null}):(n??[]).map(a=>t.find(s=>s.id===a))).filter(Boolean).map(a=>({...a,position:r}))},e.getTopRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),It(e.options,"debugRows")),e.getBottomRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),It(e.options,"debugRows")),e.getCenterRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const i=new Set([...n??[],...r??[]]);return t.filter(o=>!i.has(o.id))},It(e.options,"debugRows"))}},lue={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:$o("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(o=>{o.getCanSelect()&&(r[o.id]=!0)}):i.forEach(o=>{delete r[o.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(o=>{yA(i,o.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=At(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?xC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getFilteredSelectedRowModel=At(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?xC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getGroupedSelectedRowModel=At(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?xC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(i=>i.getCanSelect()&&!n[i.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(i=>!n[i.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(o=>{var a;if(n=typeof n<"u"?n:!i,e.getCanSelect()&&i===n)return o;const s={...o};return yA(s,e.id,n,(a=r==null?void 0:r.selectChildren)!=null?a:!0,t),s})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return iR(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return _A(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return _A(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var i;n&&e.toggleSelected((i=r.target)==null?void 0:i.checked)}}}},yA=(e,t,n,r,i)=>{var o;const a=i.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(o=a.subRows)!=null&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach(s=>yA(e,s.id,n,r,i))};function xC(e,t){const n=e.getState().rowSelection,r=[],i={},o=function(a,s){return a.map(l=>{var u;const c=iR(l,n);if(c&&(r.push(l),i[l.id]=l),(u=l.subRows)!=null&&u.length&&(l={...l,subRows:o(l.subRows)}),c)return l}).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function iR(e,t){var n;return(n=t[e.id])!=null?n:!1}function _A(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let i=!0,o=!1;return e.subRows.forEach(a=>{if(!(o&&!i)&&(a.getCanSelect()&&(iR(a,t)?o=!0:i=!1),a.subRows&&a.subRows.length)){const s=_A(a,t);s==="all"?o=!0:(s==="some"&&(o=!0),i=!1)}}),i?"all":o?"some":!1}const bA=/([0-9]+)/gm,uue=(e,t,n)=>fH(Gu(e.getValue(n)).toLowerCase(),Gu(t.getValue(n)).toLowerCase()),cue=(e,t,n)=>fH(Gu(e.getValue(n)),Gu(t.getValue(n))),fue=(e,t,n)=>oR(Gu(e.getValue(n)).toLowerCase(),Gu(t.getValue(n)).toLowerCase()),due=(e,t,n)=>oR(Gu(e.getValue(n)),Gu(t.getValue(n))),hue=(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:roR(e.getValue(n),t.getValue(n));function oR(e,t){return e===t?0:e>t?1:-1}function Gu(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function fH(e,t){const n=e.split(bA).filter(Boolean),r=t.split(bA).filter(Boolean);for(;n.length&&r.length;){const i=n.shift(),o=r.shift(),a=parseInt(i,10),s=parseInt(o,10),l=[a,s].sort();if(isNaN(l[0])){if(i>o)return 1;if(o>i)return-1;continue}if(isNaN(l[1]))return isNaN(a)?-1:1;if(a>s)return 1;if(s>a)return-1}return n.length-r.length}const Xp={alphanumeric:uue,alphanumericCaseSensitive:cue,text:fue,textCaseSensitive:due,datetime:hue,basic:pue},vue={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:$o("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const i of n){const o=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(o)==="[object Date]")return Xp.datetime;if(typeof o=="string"&&(r=!0,o.split(bA).length>1))return Xp.alphanumeric}return r?Xp.text:Xp.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Eu(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Xp[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),o=typeof n<"u"&&n!==null;t.setSorting(a=>{const s=a==null?void 0:a.find(h=>h.id===e.id),l=a==null?void 0:a.findIndex(h=>h.id===e.id);let u=[],c,f=o?n:i==="desc";if(a!=null&&a.length&&e.getCanMultiSort()&&r?s?c="toggle":c="add":a!=null&&a.length&&l!==a.length-1?c="replace":s?c="toggle":c="replace",c==="toggle"&&(o||i||(c="remove")),c==="add"){var d;u=[...a,{id:e.id,desc:f}],u.splice(0,u.length-((d=t.options.maxMultiSortColCount)!=null?d:Number.MAX_SAFE_INTEGER))}else c==="toggle"?u=a.map(h=>h.id===e.id?{...h,desc:f}:h):c==="remove"?u=a.filter(h=>h.id!==e.id):u=[{id:e.id,desc:f}];return u})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?a!==o&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(i=t.options.enableMultiRemove)!=null)||i)?!1:a==="desc"?"asc":"desc":o},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(i=>i.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},gue=[$le,nue,Jle,Qle,Ble,Vle,rue,iue,vue,Zle,oue,aue,sue,lue,eue];function mue(e){var t,n;const r=[...gue,...(t=e._features)!=null?t:[]];let i={_features:r};const o=i._features.reduce((d,h)=>Object.assign(d,h.getDefaultOptions==null?void 0:h.getDefaultOptions(i)),{}),a=d=>i.options.mergeOptions?i.options.mergeOptions(o,d):{...o,...d};let l={...{},...(n=e.initialState)!=null?n:{}};i._features.forEach(d=>{var h;l=(h=d.getInitialState==null?void 0:d.getInitialState(l))!=null?h:l});const u=[];let c=!1;const f={_features:r,options:{...o,...e},initialState:l,_queue:d=>{u.push(d),c||(c=!0,Promise.resolve().then(()=>{for(;u.length;)u.shift()();c=!1}).catch(h=>setTimeout(()=>{throw h})))},reset:()=>{i.setState(i.initialState)},setOptions:d=>{const h=Tu(d,i.options);i.options=a(h)},getState:()=>i.options.state,setState:d=>{i.options.onStateChange==null||i.options.onStateChange(d)},_getRowId:(d,h,v)=>{var m;return(m=i.options.getRowId==null?void 0:i.options.getRowId(d,h,v))!=null?m:`${v?[v.id,h].join("."):h}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(d,h)=>{let v=(h?i.getPrePaginationRowModel():i.getRowModel()).rowsById[d];if(!v&&(v=i.getCoreRowModel().rowsById[d],!v))throw new Error;return v},_getDefaultColumnDef:At(()=>[i.options.defaultColumn],d=>{var h;return d=(h=d)!=null?h:{},{header:v=>{const m=v.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:v=>{var m,_;return(m=(_=v.renderValue())==null||_.toString==null?void 0:_.toString())!=null?m:null},...i._features.reduce((v,m)=>Object.assign(v,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...d}},It(e,"debugColumns")),_getColumnDefs:()=>i.options.columns,getAllColumns:At(()=>[i._getColumnDefs()],d=>{const h=function(v,m,_){return _===void 0&&(_=0),v.map(y=>{const S=Fle(i,y,_,m),b=y;return S.columns=b.columns?h(b.columns,S,_+1):[],S})};return h(d)},It(e,"debugColumns")),getAllFlatColumns:At(()=>[i.getAllColumns()],d=>d.flatMap(h=>h.getFlatColumns()),It(e,"debugColumns")),_getAllFlatColumnsById:At(()=>[i.getAllFlatColumns()],d=>d.reduce((h,v)=>(h[v.id]=v,h),{}),It(e,"debugColumns")),getAllLeafColumns:At(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(d,h)=>{let v=d.flatMap(m=>m.getLeafColumns());return h(v)},It(e,"debugColumns")),getColumn:d=>i._getAllFlatColumnsById()[d]};Object.assign(i,f);for(let d=0;dAt(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(i,o,a){o===void 0&&(o=0);const s=[];for(let u=0;ue._autoResetPageIndex()))}function _ue(){return e=>At(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(t,n,r)=>!n.rows.length||t!==!0&&!Object.keys(t??{}).length||!r?n:bue(n),It(e.options,"debugTable"))}function bue(e){const t=[],n=r=>{var i;t.push(r),(i=r.subRows)!=null&&i.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Sue(){return e=>At(()=>[e.getState().grouping,e.getPreGroupedRowModel()],(t,n)=>{if(!n.rows.length||!t.length)return n.rows.forEach(l=>{l.depth=0,l.parentId=void 0}),n;const r=t.filter(l=>e.getColumn(l)),i=[],o={},a=function(l,u,c){if(u===void 0&&(u=0),u>=r.length)return l.map(v=>(v.depth=u,i.push(v),o[v.id]=v,v.subRows&&(v.subRows=a(v.subRows,u+1,v.id)),v));const f=r[u],d=wue(l,f);return Array.from(d.entries()).map((v,m)=>{let[_,y]=v,S=`${f}:${_}`;S=c?`${c}>${S}`:S;const b=a(y,u+1,S);b.forEach(C=>{C.parentId=S});const w=u?tH(y,C=>C.subRows):y,T=nH(e,S,w[0].original,m,u,void 0,c);return Object.assign(T,{groupingColumnId:f,groupingValue:_,subRows:b,leafRows:w,getValue:C=>{if(r.includes(C)){if(T._valuesCache.hasOwnProperty(C))return T._valuesCache[C];if(y[0]){var E;T._valuesCache[C]=(E=y[0].getValue(C))!=null?E:void 0}return T._valuesCache[C]}if(T._groupingValuesCache.hasOwnProperty(C))return T._groupingValuesCache[C];const R=e.getColumn(C),I=R==null?void 0:R.getAggregationFn();if(I)return T._groupingValuesCache[C]=I(C,w,y),T._groupingValuesCache[C]}}),b.forEach(C=>{i.push(C),o[C.id]=C}),T})},s=a(n.rows,0);return s.forEach(l=>{i.push(l),o[l.id]=l}),{rows:s,flatRows:i,rowsById:o}},It(e.options,"debugTable","getGroupedRowModel",()=>{e._queue(()=>{e._autoResetExpanded(),e._autoResetPageIndex()})}))}function wue(e,t){const n=new Map;return e.reduce((r,i)=>{const o=`${i.getGroupingValue(t)}`,a=r.get(o);return a?a.push(i):r.set(o,[i]),r},n)}function xue(){return e=>At(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,i=[],o=r.filter(l=>{var u;return(u=e.getColumn(l.id))==null?void 0:u.getCanSort()}),a={};o.forEach(l=>{const u=e.getColumn(l.id);u&&(a[l.id]={sortUndefined:u.columnDef.sortUndefined,invertSorting:u.columnDef.invertSorting,sortingFn:u.getSortingFn()})});const s=l=>{const u=l.map(c=>({...c}));return u.sort((c,f)=>{for(let h=0;h{var f;i.push(c),(f=c.subRows)!=null&&f.length&&(c.subRows=s(c.subRows))}),u};return{rows:s(n.rows),flatRows:i,rowsById:n.rowsById}},It(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/** * 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 */function m0(){return!0}const Cue=Symbol("merge-proxy"),Tue={get(e,t,n){return t===Cue?n:e.get(t)},has(e,t){return e.has(t)},set:m0,deleteProperty:m0,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:m0,deleteProperty:m0}},ownKeys(e){return e.keys()}};function CC(e){return"value"in e?e.value:e}function Ev(){for(var e=arguments.length,t=new Array(e),n=0;n=0;i--){const o=CC(t[i])[r];if(o!==void 0)return o}},has(r){for(let i=t.length-1;i>=0;i--)if(r in CC(t[i]))return!0;return!1},keys(){const r=[];for(let i=0;i()=>typeof e.render=="function"||typeof e.render=="object"?ca(e.render,e.props):e.render});function bk(e){return Ev(e,{data:B(e.data)})}function Eue(e){const t=ht(e.data),n=Ev({state:{},onStateChange:()=>{},renderFallbackValue:null,mergeOptions(o,a){return t?{...o,...a}:Ev(o,a)}},t?bk(e):e),r=mue(n);if(t){const o=bi(e.data);Bt(o,()=>{r.setState(a=>({...a,data:o.value}))},{immediate:!0})}const i=De(r.initialState);return rS(()=>{r.setOptions(o=>{var a;const s=new Proxy({},{get:(l,u)=>i.value[u]});return Ev(o,t?bk(e):e,{state:Ev(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 aR="-",Aue=e=>{const t=Rue(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(aR);return s[0]===""&&s.length!==1&&s.shift(),dH(s,t)||Iue(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},dH=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?dH(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(aR);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Sk=/^\[(.+)\]$/,Iue=e=>{if(Sk.test(e)){const t=Sk.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Rue=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)SA(n[i],r,i,t);return r},SA=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:wk(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(Pue(i)){SA(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{SA(a,wk(t,o),n,r)})})},wk=(e,t)=>{let n=e;return t.split(aR).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Pue=e=>e.isThemeGetter,Mue=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)}}},wA="!",xA=":",Oue=xA.length,Due=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let a=0,s=0,l=0,u;for(let v=0;vl?u-l:void 0;return{modifiers:o,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}};if(t){const i=t+xA,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},Lue=e=>e.endsWith(wA)?e.substring(0,e.length-1):e.startsWith(wA)?e.substring(1):e,Nue=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}},kue=e=>({cache:Mue(e.cacheSize),parseClassName:Due(e),sortModifiers:Nue(e),...Aue(e)}),Fue=/\s+/,$ue=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(Fue);let l="";for(let u=s.length-1;u>=0;u-=1){const c=s[u],{isExternal:f,modifiers:d,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:m}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let _=!!m,y=r(_?v.substring(0,m):v);if(!y){if(!_){l=c+(l.length>0?" "+l:l);continue}if(y=r(v),!y){l=c+(l.length>0?" "+l:l);continue}_=!1}const S=o(d).join(":"),b=h?S+wA:S,w=b+y;if(a.includes(w))continue;a.push(w);const T=i(y,_);for(let C=0;C0?" "+l:l)}return l};function Bue(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(c),e());return n=kue(u),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=$ue(l,n);return i(l,c),c}return function(){return o(Bue.apply(null,arguments))}}const Fr=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},pH=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vH=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Uue=/^\d+\/\d+$/,Hue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zue=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Gue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Wue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Cd=e=>Uue.test(e),rn=e=>!!e&&!Number.isNaN(Number(e)),yc=e=>!!e&&Number.isInteger(Number(e)),xk=e=>e.endsWith("%")&&rn(e.slice(0,-1)),Zl=e=>Hue.test(e),Xue=()=>!0,Yue=e=>zue.test(e)&&!Gue.test(e),sR=()=>!1,Kue=e=>Wue.test(e),Zue=e=>jue.test(e),que=e=>!lt(e)&&!ut(e),Jue=e=>op(e,yH,sR),lt=e=>pH.test(e),_c=e=>op(e,_H,Yue),EC=e=>op(e,uce,rn),Que=e=>op(e,gH,sR),ece=e=>op(e,mH,Zue),tce=e=>op(e,sR,Kue),ut=e=>vH.test(e),y0=e=>ap(e,_H),nce=e=>ap(e,cce),rce=e=>ap(e,gH),ice=e=>ap(e,yH),oce=e=>ap(e,mH),ace=e=>ap(e,fce,!0),op=(e,t,n)=>{const r=pH.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ap=(e,t,n=!1)=>{const r=vH.exec(e);return r?r[1]?t(r[1]):n:!1},gH=e=>e==="position",sce=new Set(["image","url"]),mH=e=>sce.has(e),lce=new Set(["length","size","percentage"]),yH=e=>lce.has(e),_H=e=>e==="length",uce=e=>e==="number",cce=e=>e==="family-name",fce=e=>e==="shadow",dce=()=>{const e=Fr("color"),t=Fr("font"),n=Fr("text"),r=Fr("font-weight"),i=Fr("tracking"),o=Fr("leading"),a=Fr("breakpoint"),s=Fr("container"),l=Fr("spacing"),u=Fr("radius"),c=Fr("shadow"),f=Fr("inset-shadow"),d=Fr("drop-shadow"),h=Fr("blur"),v=Fr("perspective"),m=Fr("aspect"),_=Fr("ease"),y=Fr("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],w=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],C=()=>[ut,lt,l],E=()=>[Cd,"full","auto",...C()],R=()=>[yc,"none","subgrid",ut,lt],I=()=>["auto",{span:["full",yc,ut,lt]},ut,lt],M=()=>[yc,"auto",ut,lt],P=()=>["auto","min","max","fr",ut,lt],D=()=>["start","end","center","between","around","evenly","stretch","baseline"],k=()=>["start","end","center","stretch"],$=()=>["auto",...C()],W=()=>[Cd,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],N=()=>[e,ut,lt],K=()=>[xk,_c],X=()=>["","none","full",u,ut,lt],ae=()=>["",rn,y0,_c],ge=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Me=()=>["","none",h,ut,lt],ke=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ut,lt],Ue=()=>["none",rn,ut,lt],Le=()=>["none",rn,ut,lt],je=()=>[rn,ut,lt],fe=()=>[Cd,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zl],breakpoint:[Zl],color:[Xue],container:[Zl],"drop-shadow":[Zl],ease:["in","out","in-out"],font:[que],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zl],shadow:[Zl],spacing:["px",rn],text:[Zl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Cd,lt,ut,m]}],container:["container"],columns:[{columns:[rn,lt,ut,s]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...b(),lt,ut]}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[yc,"auto",ut,lt]}],basis:[{basis:[Cd,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[rn,Cd,"auto","initial","none",lt]}],grow:[{grow:["",rn,ut,lt]}],shrink:[{shrink:["",rn,ut,lt]}],order:[{order:[yc,"first","last","none",ut,lt]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...k(),"normal"]}],"justify-self":[{"justify-self":["auto",...k()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...k(),"baseline"]}],"align-self":[{self:["auto",...k(),"baseline"]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...k(),"baseline"]}],"place-self":[{"place-self":["auto",...k()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[s,"screen",...W()]}],"min-w":[{"min-w":[s,"screen","none",...W()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...W()]}],h:[{h:["screen",...W()]}],"min-h":[{"min-h":["screen","none",...W()]}],"max-h":[{"max-h":["screen",...W()]}],"font-size":[{text:["base",n,y0,_c]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ut,EC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xk,lt]}],"font-family":[{font:[nce,lt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,ut,lt]}],"line-clamp":[{"line-clamp":[rn,"none",ut,EC]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",ut,lt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ut,lt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[rn,"from-font","auto",ut,_c]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[rn,"auto",ut,lt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ut,lt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ut,lt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...b(),rce,Que]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",ice,Jue]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},yc,ut,lt],radial:["",ut,lt],conic:[yc,ut,lt]},oce,ece]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:ae()}],"border-w-x":[{"border-x":ae()}],"border-w-y":[{"border-y":ae()}],"border-w-s":[{"border-s":ae()}],"border-w-e":[{"border-e":ae()}],"border-w-t":[{"border-t":ae()}],"border-w-r":[{"border-r":ae()}],"border-w-b":[{"border-b":ae()}],"border-w-l":[{"border-l":ae()}],"divide-x":[{"divide-x":ae()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ae()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[rn,ut,lt]}],"outline-w":[{outline:["",rn,y0,_c]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",c,ace,tce]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",ut,lt,f]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[rn,_c]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":ae()}],"inset-ring-color":[{"inset-ring":N()}],opacity:[{opacity:[rn,ut,lt]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none",ut,lt]}],blur:[{blur:Me()}],brightness:[{brightness:[rn,ut,lt]}],contrast:[{contrast:[rn,ut,lt]}],"drop-shadow":[{"drop-shadow":["","none",d,ut,lt]}],grayscale:[{grayscale:["",rn,ut,lt]}],"hue-rotate":[{"hue-rotate":[rn,ut,lt]}],invert:[{invert:["",rn,ut,lt]}],saturate:[{saturate:[rn,ut,lt]}],sepia:[{sepia:["",rn,ut,lt]}],"backdrop-filter":[{"backdrop-filter":["","none",ut,lt]}],"backdrop-blur":[{"backdrop-blur":Me()}],"backdrop-brightness":[{"backdrop-brightness":[rn,ut,lt]}],"backdrop-contrast":[{"backdrop-contrast":[rn,ut,lt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",rn,ut,lt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[rn,ut,lt]}],"backdrop-invert":[{"backdrop-invert":["",rn,ut,lt]}],"backdrop-opacity":[{"backdrop-opacity":[rn,ut,lt]}],"backdrop-saturate":[{"backdrop-saturate":[rn,ut,lt]}],"backdrop-sepia":[{"backdrop-sepia":["",rn,ut,lt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ut,lt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[rn,"initial",ut,lt]}],ease:[{ease:["linear","initial",_,ut,lt]}],delay:[{delay:[rn,ut,lt]}],animate:[{animate:["none",y,ut,lt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,ut,lt]}],"perspective-origin":[{"perspective-origin":ke()}],rotate:[{rotate:Ue()}],"rotate-x":[{"rotate-x":Ue()}],"rotate-y":[{"rotate-y":Ue()}],"rotate-z":[{"rotate-z":Ue()}],scale:[{scale:Le()}],"scale-x":[{"scale-x":Le()}],"scale-y":[{"scale-y":Le()}],"scale-z":[{"scale-z":Le()}],"scale-3d":["scale-3d"],skew:[{skew:je()}],"skew-x":[{"skew-x":je()}],"skew-y":[{"skew-y":je()}],transform:[{transform:[ut,lt,"","none","gpu","cpu"]}],"transform-origin":[{origin:ke()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ut,lt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ut,lt]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[rn,y0,_c,EC]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},_i=Vue(dce),hce={class:"bg-base-100 sticky -top-2 z-10"},pce=["colSpan","onClick"],vce={class:"flex items-center gap-1"},gce=["onClick"],mce=["onDblclick","onMousedown","onTouchstart"],yce=["onClick"],_ce={key:0,class:"flex items-center"},bce={class:"ml-1"},Sce=nt({__name:"ConnectionTable",setup(e){const{handlerInfo:t}=tR(),n=pt("config/table-column-width",{[ze.Close]:50,[ze.Host]:320,[ze.Chains]:320,[ze.Rule]:200,[ze.Download]:80,[ze.DlSpeed]:80,[ze.Upload]:80,[ze.UlSpeed]:80,[ze.Type]:150,[ze.Process]:150,[ze.SourceIP]:150,[ze.SourcePort]:100,[ze.SniffHost]:200,[ze.Destination]:150,[ze.ConnectTime]:100}),r=Ce(()=>U_.value===fS.MANUAL),{t:i}=Qr(),o=[{header:()=>i(ze.Close),enableSorting:!1,id:ze.Close,cell:({row:b})=>ca("button",{class:"btn btn-xs btn-circle",onClick:w=>{const T=b.original;w.stopPropagation(),wS(T.id)}},[ca(Nf,{class:"h-4 w-4"})])},{header:()=>i(ze.Type),id:ze.Type,accessorFn:b=>HU(b)},{header:()=>i(ze.Process),id:ze.Process,accessorFn:b=>BU(b)},{header:()=>i(ze.Host),id:ze.Host,accessorFn:b=>`${b.metadata.host||b.metadata.sniffHost||b.metadata.destinationIP}:${b.metadata.destinationPort}`},{header:()=>i(ze.SniffHost),id:ze.SniffHost,accessorFn:b=>b.metadata.sniffHost||"-"},{header:()=>i(ze.Rule),id:ze.Rule,accessorFn:b=>b.rulePayload?`${b.rule}: ${b.rulePayload}`:b.rule},{header:()=>i(ze.Chains),id:ze.Chains,accessorFn:cA,cell:({row:b})=>{const w=[],T=b.original.chains;return T.forEach((C,E)=>{w.unshift(ca(Bf,{name:C,size:"small"})),Ei(ze.ConnectTime),enableGrouping:!1,id:ze.ConnectTime,accessorFn:b=>TS(b.start),sortingFn:(b,w)=>po(w.original.start).valueOf()-po(b.original.start).valueOf()},{header:()=>i(ze.DlSpeed),enableGrouping:!1,sortDescFirst:!0,id:ze.DlSpeed,accessorFn:b=>`${Gn(b.downloadSpeed)}/s`,sortingFn:(b,w)=>b.original.downloadSpeed-w.original.downloadSpeed},{header:()=>i(ze.UlSpeed),enableGrouping:!1,sortDescFirst:!0,id:ze.UlSpeed,accessorFn:b=>`${Gn(b.uploadSpeed)}/s`,sortingFn:(b,w)=>b.original.uploadSpeed-w.original.uploadSpeed},{header:()=>i(ze.Download),enableGrouping:!1,sortDescFirst:!0,id:ze.Download,accessorFn:b=>Gn(b.download),sortingFn:(b,w)=>b.original.download-w.original.download},{header:()=>i(ze.Upload),enableGrouping:!1,sortDescFirst:!0,id:ze.Upload,accessorFn:b=>Gn(b.upload),sortingFn:(b,w)=>b.original.upload-w.original.upload},{header:()=>i(ze.SourceIP),id:ze.SourceIP,accessorFn:b=>Z1(b.metadata.sourceIP)},{header:()=>i(ze.SourcePort),id:ze.SourcePort,accessorFn:b=>b.metadata.sourcePort},{header:()=>i(ze.Destination),id:ze.Destination,accessorFn:VU},{header:()=>i(ze.DestinationType),id:ze.DestinationType,accessorFn:UU},{header:()=>i(ze.RemoteAddress),id:ze.RemoteAddress,accessorFn:b=>b.metadata.remoteDestination||"-"}],a=De([]),s=De({}),l=pt("config/table-sorting",[]),u=Eue({get data(){return Dh.value},columns:o,columnResizeMode:"onChange",columnResizeDirection:"ltr",state:{get columnOrder(){return xu.value},get columnVisibility(){return{...Object.fromEntries(Object.values(ze).map(b=>[b,!1])),...Object.fromEntries(xu.value.map(b=>[b,!0]))}},get grouping(){return a.value},get expanded(){return s.value},get sorting(){return l.value},get columnSizing(){return n.value}},onGroupingChange:b=>{Eu(b)?a.value=b(a.value):a.value=b},onExpandedChange:b=>{Eu(b)&&(s.value=b(s.value))},onSortingChange:b=>{Eu(b)?l.value=b(l.value):l.value=b},onColumnSizingChange:b=>{Eu(b)?n.value=b(n.value):n.value=b},getSortedRowModel:xue(),getGroupedRowModel:Sue(),getExpandedRowModel:_ue(),getCoreRowModel:yue()}),c=Ce(()=>u.getRowModel().rows),f=De(null),d=Ce(()=>({count:c.value.length,getScrollElement:()=>f.value,estimateSize:()=>36,overscan:48})),h=WU(d),v=Ce(()=>h.value.getVirtualItems()),m=Ce(()=>h.value.getTotalSize()+24),_={[Ug.SMALL]:"table-xs",[Ug.LARGE]:"table-sm"},y=Ce(()=>_[V_.value]),S=b=>{b.getIsGrouped()?b.getCanExpand()&&b.getToggleExpandedHandler()():t(b.original)};return(b,w)=>(Y(),te("div",{ref_key:"parentRef",ref:f,class:"h-full overflow-y-auto p-2",onTouchstart:w[0]||(w[0]=gr(()=>{},["stop"])),onTouchmove:w[1]||(w[1]=gr(()=>{},["stop"])),onTouchend:w[2]||(w[2]=gr(()=>{},["stop"]))},[L("div",{style:pr({height:`${m.value}px`})},[L("table",{class:gt(["table-zebra table rounded-none shadow-md",y.value,r.value&&"table-fixed"]),style:pr(r.value&&{width:`${B(u).getCenterTotalSize()}px`})},[L("thead",hce,[(Y(!0),te(Ye,null,fn(B(u).getHeaderGroups(),T=>(Y(),te("tr",{key:T.id},[(Y(!0),te(Ye,null,fn(T.headers,C=>(Y(),te("th",{key:C.id,colSpan:C.colSpan,class:gt(["relative",C.column.getCanSort()?"cursor-pointer select-none":""]),style:pr(r.value&&{width:`${C.getSize()}px`}),onClick:E=>{var R;return(R=C.column.getToggleSortingHandler())==null?void 0:R(E)}},[L("div",vce,[C.column.getCanGroup()?(Y(),te("button",{key:0,class:"cursor-pointer",onClick:gr(()=>C.column.getToggleGroupingHandler()(),["stop"])},[C.column.getIsGrouped()?(Y(),yt(B(EL),{key:0,class:"h-4 w-4"})):(Y(),yt(B(AL),{key:1,class:"h-4 w-4"}))],8,gce)):at("",!0),C.isPlaceholder?at("",!0):(Y(),yt(B(TC),{key:1,render:C.column.columnDef.header,props:C.getContext()},null,8,["render","props"])),C.column.getIsSorted()==="asc"?(Y(),yt(B(Rm),{key:2,class:"h-4 w-4"})):at("",!0),C.column.getIsSorted()==="desc"?(Y(),yt(B(sS),{key:3,class:"h-4 w-4"})):at("",!0)]),r.value?(Y(),te("div",{key:0,onDblclick:()=>C.column.resetSize(),onMousedown:E=>C.getResizeHandler()(E),onTouchstart:E=>C.getResizeHandler()(E),class:"resizer bg-neutral absolute top-0 right-0 h-full w-1 cursor-ew-resize"},null,40,mce)):at("",!0)],14,pce))),128))]))),128))]),L("tbody",null,[(Y(!0),te(Ye,null,fn(v.value,(T,C)=>(Y(),te("tr",{key:T.key.toString(),style:pr({height:`${T.size}px`,transform:`translateY(${T.start-C*T.size}px)`}),class:"bg-base-100 hover:bg-primary! hover:text-primary-content cursor-pointer",onClick:E=>S(c.value[T.index])},[(Y(!0),te(Ye,null,fn(c.value[T.index].getVisibleCells(),E=>(Y(),te("td",{key:E.id,class:gt([r.value?"truncate text-sm":B(_i)("text-sm whitespace-nowrap",[B(ze).Download,B(ze).DlSpeed,B(ze).Upload,B(ze).UlSpeed].includes(E.column.id)&&"min-w-20",B(ze).Host===E.column.id&&"max-w-sm truncate",B(ze).Chains===E.column.id&&"max-w-xl truncate")])},[E.column.getIsGrouped()?(Y(),te(Ye,{key:0},[c.value[T.index].getCanExpand()?(Y(),te("div",_ce,[c.value[T.index].getIsExpanded()?(Y(),yt(B(EL),{key:0,class:"mr-1 inline-block h-4 w-4"})):(Y(),yt(B(AL),{key:1,class:"mr-1 inline-block h-4 w-4"})),G(B(TC),{render:E.column.columnDef.cell,props:E.getContext()},null,8,["render","props"]),L("span",bce," ("+ie(c.value[T.index].subRows.length)+") ",1)])):at("",!0)],64)):(Y(),yt(B(TC),{key:1,render:E.getIsAggregated()?E.column.columnDef.aggregatedCell:E.column.columnDef.cell,props:E.getContext()},null,8,["render","props"]))],2))),128))],12,yce))),128))])],6)],4)],544))}}),wce={class:"size-full overflow-x-hidden"},xce=nt({__name:"ConnectionsPage",setup(e){return(t,n)=>(Y(),te("div",wce,[B(Mo)?(Y(),yt(yle,{key:0,class:"overflow-x-hidden p-2"})):(Y(),yt(Sce,{key:1})),G(Lle)]))}});var co="top",Sa="bottom",wa="right",fo="left",lR="auto",Fm=[co,Sa,wa,fo],Nh="start",Zg="end",Cce="clippingParents",bH="viewport",Yp="popper",Tce="reference",Ck=Fm.reduce(function(e,t){return e.concat([t+"-"+Nh,t+"-"+Zg])},[]),SH=[].concat(Fm,[lR]).reduce(function(e,t){return e.concat([t,t+"-"+Nh,t+"-"+Zg])},[]),Ece="beforeRead",Ace="read",Ice="afterRead",Rce="beforeMain",Pce="main",Mce="afterMain",Oce="beforeWrite",Dce="write",Lce="afterWrite",Nce=[Ece,Ace,Ice,Rce,Pce,Mce,Oce,Dce,Lce];function Rs(e){return e?(e.nodeName||"").toLowerCase():null}function Bo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vf(e){var t=Bo(e).Element;return e instanceof t||e instanceof Element}function va(e){var t=Bo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uR(e){if(typeof ShadowRoot>"u")return!1;var t=Bo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kce(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!va(o)||!Rs(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Fce(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!va(i)||!Rs(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const wH={name:"applyStyles",enabled:!0,phase:"write",fn:kce,effect:Fce,requires:["computeStyles"]};function xs(e){return e.split("-")[0]}var Af=Math.max,eb=Math.min,kh=Math.round;function CA(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function xH(){return!/^((?!chrome|android).)*safari/i.test(CA())}function Fh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&va(e)&&(i=e.offsetWidth>0&&kh(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&kh(r.height)/e.offsetHeight||1);var a=Vf(e)?Bo(e):window,s=a.visualViewport,l=!xH()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function cR(e){var t=Fh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function CH(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uR(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pl(e){return Bo(e).getComputedStyle(e)}function $ce(e){return["table","td","th"].indexOf(Rs(e))>=0}function ic(e){return((Vf(e)?e.ownerDocument:e.document)||window.document).documentElement}function ES(e){return Rs(e)==="html"?e:e.assignedSlot||e.parentNode||(uR(e)?e.host:null)||ic(e)}function Tk(e){return!va(e)||Pl(e).position==="fixed"?null:e.offsetParent}function Bce(e){var t=/firefox/i.test(CA()),n=/Trident/i.test(CA());if(n&&va(e)){var r=Pl(e);if(r.position==="fixed")return null}var i=ES(e);for(uR(i)&&(i=i.host);va(i)&&["html","body"].indexOf(Rs(i))<0;){var o=Pl(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function $m(e){for(var t=Bo(e),n=Tk(e);n&&$ce(n)&&Pl(n).position==="static";)n=Tk(n);return n&&(Rs(n)==="html"||Rs(n)==="body"&&Pl(n).position==="static")?t:n||Bce(e)||t}function fR(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ig(e,t,n){return Af(e,eb(t,n))}function Vce(e,t,n){var r=ig(e,t,n);return r>n?n:r}function TH(){return{top:0,right:0,bottom:0,left:0}}function EH(e){return Object.assign({},TH(),e)}function AH(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Uce=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,EH(typeof t!="number"?t:AH(t,Fm))};function Hce(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=xs(n.placement),l=fR(s),u=[fo,wa].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=Uce(i.padding,n),d=cR(o),h=l==="y"?co:fo,v=l==="y"?Sa:wa,m=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],_=a[l]-n.rects.reference[l],y=$m(o),S=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,b=m/2-_/2,w=f[h],T=S-d[c]-f[v],C=S/2-d[c]/2+b,E=ig(w,C,T),R=l;n.modifiersData[r]=(t={},t[R]=E,t.centerOffset=E-C,t)}}function zce(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||CH(t.elements.popper,i)&&(t.elements.arrow=i))}const Gce={name:"arrow",enabled:!0,phase:"main",fn:Hce,effect:zce,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $h(e){return e.split("-")[1]}var Wce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jce(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:kh(n*i)/i||0,y:kh(r*i)/i||0}}function Ek(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,v=a.y,m=v===void 0?0:v,_=typeof c=="function"?c({x:h,y:m}):{x:h,y:m};h=_.x,m=_.y;var y=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),b=fo,w=co,T=window;if(u){var C=$m(n),E="clientHeight",R="clientWidth";if(C===Bo(n)&&(C=ic(n),Pl(C).position!=="static"&&s==="absolute"&&(E="scrollHeight",R="scrollWidth")),C=C,i===co||(i===fo||i===wa)&&o===Zg){w=Sa;var I=f&&C===T&&T.visualViewport?T.visualViewport.height:C[E];m-=I-r.height,m*=l?1:-1}if(i===fo||(i===co||i===Sa)&&o===Zg){b=wa;var M=f&&C===T&&T.visualViewport?T.visualViewport.width:C[R];h-=M-r.width,h*=l?1:-1}}var P=Object.assign({position:s},u&&Wce),D=c===!0?jce({x:h,y:m},Bo(n)):{x:h,y:m};if(h=D.x,m=D.y,l){var k;return Object.assign({},P,(k={},k[w]=S?"0":"",k[b]=y?"0":"",k.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k))}return Object.assign({},P,(t={},t[w]=S?m+"px":"",t[b]=y?h+"px":"",t.transform="",t))}function Xce(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:xs(t.placement),variation:$h(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ek(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ek(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Yce={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xce,data:{}};var _0={passive:!0};function Kce(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Bo(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,_0)}),s&&l.addEventListener("resize",n.update,_0),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,_0)}),s&&l.removeEventListener("resize",n.update,_0)}}const Zce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Kce,data:{}};var qce={left:"right",right:"left",bottom:"top",top:"bottom"};function J_(e){return e.replace(/left|right|bottom|top/g,function(t){return qce[t]})}var Jce={start:"end",end:"start"};function Ak(e){return e.replace(/start|end/g,function(t){return Jce[t]})}function dR(e){var t=Bo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function hR(e){return Fh(ic(e)).left+dR(e).scrollLeft}function Qce(e,t){var n=Bo(e),r=ic(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=xH();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+hR(e),y:l}}function efe(e){var t,n=ic(e),r=dR(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Af(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Af(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+hR(e),l=-r.scrollTop;return Pl(i||n).direction==="rtl"&&(s+=Af(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function pR(e){var t=Pl(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function IH(e){return["html","body","#document"].indexOf(Rs(e))>=0?e.ownerDocument.body:va(e)&&pR(e)?e:IH(ES(e))}function og(e,t){var n;t===void 0&&(t=[]);var r=IH(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Bo(r),a=i?[o].concat(o.visualViewport||[],pR(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(og(ES(a)))}function TA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tfe(e,t){var n=Fh(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ik(e,t,n){return t===bH?TA(Qce(e,n)):Vf(t)?tfe(t,n):TA(efe(ic(e)))}function nfe(e){var t=og(ES(e)),n=["absolute","fixed"].indexOf(Pl(e).position)>=0,r=n&&va(e)?$m(e):e;return Vf(r)?t.filter(function(i){return Vf(i)&&CH(i,r)&&Rs(i)!=="body"}):[]}function rfe(e,t,n,r){var i=t==="clippingParents"?nfe(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=Ik(e,u,r);return l.top=Af(c.top,l.top),l.right=eb(c.right,l.right),l.bottom=eb(c.bottom,l.bottom),l.left=Af(c.left,l.left),l},Ik(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function RH(e){var t=e.reference,n=e.element,r=e.placement,i=r?xs(r):null,o=r?$h(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case co:l={x:a,y:t.y-n.height};break;case Sa:l={x:a,y:t.y+t.height};break;case wa:l={x:t.x+t.width,y:s};break;case fo:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?fR(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case Nh:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Zg:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function qg(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?Cce:s,u=n.rootBoundary,c=u===void 0?bH:u,f=n.elementContext,d=f===void 0?Yp:f,h=n.altBoundary,v=h===void 0?!1:h,m=n.padding,_=m===void 0?0:m,y=EH(typeof _!="number"?_:AH(_,Fm)),S=d===Yp?Tce:Yp,b=e.rects.popper,w=e.elements[v?S:d],T=rfe(Vf(w)?w:w.contextElement||ic(e.elements.popper),l,c,a),C=Fh(e.elements.reference),E=RH({reference:C,element:b,placement:i}),R=TA(Object.assign({},b,E)),I=d===Yp?R:C,M={top:T.top-I.top+y.top,bottom:I.bottom-T.bottom+y.bottom,left:T.left-I.left+y.left,right:I.right-T.right+y.right},P=e.modifiersData.offset;if(d===Yp&&P){var D=P[i];Object.keys(M).forEach(function(k){var $=[wa,Sa].indexOf(k)>=0?1:-1,W=[co,Sa].indexOf(k)>=0?"y":"x";M[k]+=D[W]*$})}return M}function ife(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?SH:l,c=$h(r),f=c?s?Ck:Ck.filter(function(v){return $h(v)===c}):Fm,d=f.filter(function(v){return u.indexOf(v)>=0});d.length===0&&(d=f);var h=d.reduce(function(v,m){return v[m]=qg(e,{placement:m,boundary:i,rootBoundary:o,padding:a})[xs(m)],v},{});return Object.keys(h).sort(function(v,m){return h[v]-h[m]})}function ofe(e){if(xs(e)===lR)return[];var t=J_(e);return[Ak(e),t,Ak(t)]}function afe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,m=n.allowedAutoPlacements,_=t.options.placement,y=xs(_),S=y===_,b=l||(S||!v?[J_(_)]:ofe(_)),w=[_].concat(b).reduce(function(Ue,Le){return Ue.concat(xs(Le)===lR?ife(t,{placement:Le,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:m}):Le)},[]),T=t.rects.reference,C=t.rects.popper,E=new Map,R=!0,I=w[0],M=0;M=0,W=$?"width":"height",N=qg(t,{placement:P,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),K=$?k?wa:fo:k?Sa:co;T[W]>C[W]&&(K=J_(K));var X=J_(K),ae=[];if(o&&ae.push(N[D]<=0),s&&ae.push(N[K]<=0,N[X]<=0),ae.every(function(Ue){return Ue})){I=P,R=!1;break}E.set(P,ae)}if(R)for(var ge=v?3:1,ye=function(Le){var je=w.find(function(fe){var Ae=E.get(fe);if(Ae)return Ae.slice(0,Le).every(function(Se){return Se})});if(je)return I=je,"break"},Me=ge;Me>0;Me--){var ke=ye(Me);if(ke==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const sfe={name:"flip",enabled:!0,phase:"main",fn:afe,requiresIfExists:["offset"],data:{_skip:!1}};function Rk(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pk(e){return[co,wa,Sa,fo].some(function(t){return e[t]>=0})}function lfe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=qg(t,{elementContext:"reference"}),s=qg(t,{altBoundary:!0}),l=Rk(a,r),u=Rk(s,i,o),c=Pk(l),f=Pk(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const ufe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lfe};function cfe(e,t,n){var r=xs(e),i=[fo,co].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[fo,wa].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function ffe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=SH.reduce(function(c,f){return c[f]=cfe(f,t.rects,o),c},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const dfe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ffe};function hfe(e){var t=e.state,n=e.name;t.modifiersData[n]=RH({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const pfe={name:"popperOffsets",enabled:!0,phase:"read",fn:hfe,data:{}};function vfe(e){return e==="x"?"y":"x"}function gfe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,v=n.tetherOffset,m=v===void 0?0:v,_=qg(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),y=xs(t.placement),S=$h(t.placement),b=!S,w=fR(y),T=vfe(w),C=t.modifiersData.popperOffsets,E=t.rects.reference,R=t.rects.popper,I=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,M=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(C){if(o){var k,$=w==="y"?co:fo,W=w==="y"?Sa:wa,N=w==="y"?"height":"width",K=C[w],X=K+_[$],ae=K-_[W],ge=h?-R[N]/2:0,ye=S===Nh?E[N]:R[N],Me=S===Nh?-R[N]:-E[N],ke=t.elements.arrow,Ue=h&&ke?cR(ke):{width:0,height:0},Le=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:TH(),je=Le[$],fe=Le[W],Ae=ig(0,E[N],Ue[N]),Se=b?E[N]/2-ge-Ae-je-M.mainAxis:ye-Ae-je-M.mainAxis,Te=b?-E[N]/2+ge+Ae+fe+M.mainAxis:Me+Ae+fe+M.mainAxis,Ne=t.elements.arrow&&$m(t.elements.arrow),Be=Ne?w==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,H=(k=P==null?void 0:P[w])!=null?k:0,z=K+Se-H-Be,ue=K+Te-H,we=ig(h?eb(X,z):X,K,h?Af(ae,ue):ae);C[w]=we,D[w]=we-K}if(s){var ve,U=w==="x"?co:fo,j=w==="x"?Sa:wa,J=C[T],de=T==="y"?"height":"width",_e=J+_[U],Oe=J-_[j],q=[co,fo].indexOf(y)!==-1,he=(ve=P==null?void 0:P[T])!=null?ve:0,Ve=q?_e:J-E[de]-R[de]-he+M.altAxis,Ze=q?J+E[de]+R[de]-he-M.altAxis:Oe,bt=h&&q?Vce(Ve,J,Ze):ig(h?Ve:_e,J,h?Ze:Oe);C[T]=bt,D[T]=bt-J}t.modifiersData[r]=D}}const mfe={name:"preventOverflow",enabled:!0,phase:"main",fn:gfe,requiresIfExists:["offset"]};function yfe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _fe(e){return e===Bo(e)||!va(e)?dR(e):yfe(e)}function bfe(e){var t=e.getBoundingClientRect(),n=kh(t.width)/e.offsetWidth||1,r=kh(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Sfe(e,t,n){n===void 0&&(n=!1);var r=va(t),i=va(t)&&bfe(t),o=ic(t),a=Fh(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Rs(t)!=="body"||pR(o))&&(s=_fe(t)),va(t)?(l=Fh(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=hR(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function wfe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function xfe(e){var t=wfe(e);return Nce.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Cfe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Tfe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Mk={placement:"bottom",modifiers:[],strategy:"absolute"};function Ok(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function LH(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Dk(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Mfe(e){return e.split(/\s+/).filter(Boolean)}function Zd(e){return[].concat(e)}function Lk(e,t){e.indexOf(t)===-1&&e.push(t)}function Ofe(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Dfe(e){return e.split("-")[0]}function tb(e){return[].slice.call(e)}function Nk(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function ag(){return document.createElement("div")}function AS(e){return["Element","Fragment"].some(function(t){return vR(e,t)})}function Lfe(e){return vR(e,"NodeList")}function Nfe(e){return vR(e,"MouseEvent")}function kfe(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Ffe(e){return AS(e)?[e]:Lfe(e)?tb(e):Array.isArray(e)?e:tb(document.querySelectorAll(e))}function IC(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function kk(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function $fe(e){var t,n=Zd(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Bfe(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,u=Dfe(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,d=u==="top"?c.bottom.y:0,h=u==="right"?c.left.x:0,v=u==="left"?c.right.x:0,m=o.top-r+f>l,_=r-o.bottom-d>l,y=o.left-n+h>l,S=n-o.right-v>l;return m||_||y||S})}function RC(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function Fk(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var gs={isTouch:!1},$k=0;function Vfe(){gs.isTouch||(gs.isTouch=!0,window.performance&&document.addEventListener("mousemove",NH))}function NH(){var e=performance.now();e-$k<20&&(gs.isTouch=!1,document.removeEventListener("mousemove",NH)),$k=e}function Ufe(){var e=document.activeElement;if(kfe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Hfe(){document.addEventListener("touchstart",Vfe,Yc),window.addEventListener("blur",Ufe)}var zfe=typeof window<"u"&&typeof document<"u",Gfe=zfe?!!window.msCrypto:!1,Wfe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},jfe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Xa=Object.assign({appendTo:DH,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Wfe,jfe),Xfe=Object.keys(Xa),Yfe=function(t){var n=Object.keys(t);n.forEach(function(r){Xa[r]=t[r]})};function kH(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=Xa[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function Kfe(e,t){var n=t?Object.keys(kH(Object.assign({},Xa,{plugins:t}))):Xfe,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function Bk(e,t){var n=Object.assign({},t,{content:LH(t.content,[e])},t.ignoreAttributes?{}:Kfe(e,t.plugins));return n.aria=Object.assign({},Xa.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var Zfe=function(){return"innerHTML"};function EA(e,t){e[Zfe()]=t}function Vk(e){var t=ag();return e===!0?t.className=MH:(t.className=OH,AS(e)?t.appendChild(e):EA(t,e)),t}function Uk(e,t){AS(t.content)?(EA(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?EA(e,t.content):e.textContent=t.content)}function AA(e){var t=e.firstElementChild,n=tb(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(PH)}),arrow:n.find(function(r){return r.classList.contains(MH)||r.classList.contains(OH)}),backdrop:n.find(function(r){return r.classList.contains(Pfe)})}}function FH(e){var t=ag(),n=ag();n.className=Rfe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ag();r.className=PH,r.setAttribute("data-state","hidden"),Uk(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=AA(t),l=s.box,u=s.content,c=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Uk(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(l.removeChild(c),l.appendChild(Vk(a.arrow))):l.appendChild(Vk(a.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:i}}FH.$$tippy=!0;var qfe=1,b0=[],PC=[];function Jfe(e,t){var n=Bk(e,Object.assign({},Xa,kH(Nk(t)))),r,i,o,a=!1,s=!1,l=!1,u=!1,c,f,d,h=[],v=Dk(z,n.interactiveDebounce),m,_=qfe++,y=null,S=Ofe(n.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:_,reference:e,popper:ag(),popperInstance:y,props:n,state:b,plugins:S,clearDelayTimeouts:Ve,setProps:Ze,setContent:bt,show:ne,hide:se,hideWithInteractivity:pe,enable:q,disable:he,unmount:Ee,destroy:Ge};if(!n.render)return w;var T=n.render(w),C=T.popper,E=T.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+w.id,w.popper=C,e._tippy=w,C._tippy=w;var R=S.map(function(oe){return oe.fn(w)}),I=e.hasAttribute("aria-expanded");return Ne(),ge(),K(),X("onCreate",[w]),n.showOnCreate&&_e(),C.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&$().addEventListener("mousemove",v)}),w;function M(){var oe=w.props.touch;return Array.isArray(oe)?oe:[oe,0]}function P(){return M()[0]==="hold"}function D(){var oe;return!!((oe=w.props.render)!=null&&oe.$$tippy)}function k(){return m||e}function $(){var oe=k().parentNode;return oe?$fe(oe):document}function W(){return AA(C)}function N(oe){return w.state.isMounted&&!w.state.isVisible||gs.isTouch||c&&c.type==="focus"?0:AC(w.props.delay,oe?0:1,Xa.delay)}function K(oe){oe===void 0&&(oe=!1),C.style.pointerEvents=w.props.interactive&&!oe?"":"none",C.style.zIndex=""+w.props.zIndex}function X(oe,Ie,$e){if($e===void 0&&($e=!0),R.forEach(function(We){We[oe]&&We[oe].apply(We,Ie)}),$e){var et;(et=w.props)[oe].apply(et,Ie)}}function ae(){var oe=w.props.aria;if(oe.content){var Ie="aria-"+oe.content,$e=C.id,et=Zd(w.props.triggerTarget||e);et.forEach(function(We){var Xe=We.getAttribute(Ie);if(w.state.isVisible)We.setAttribute(Ie,Xe?Xe+" "+$e:$e);else{var tt=Xe&&Xe.replace($e,"").trim();tt?We.setAttribute(Ie,tt):We.removeAttribute(Ie)}})}}function ge(){if(!(I||!w.props.aria.expanded)){var oe=Zd(w.props.triggerTarget||e);oe.forEach(function(Ie){w.props.interactive?Ie.setAttribute("aria-expanded",w.state.isVisible&&Ie===k()?"true":"false"):Ie.removeAttribute("aria-expanded")})}}function ye(){$().removeEventListener("mousemove",v),b0=b0.filter(function(oe){return oe!==v})}function Me(oe){if(!(gs.isTouch&&(l||oe.type==="mousedown"))){var Ie=oe.composedPath&&oe.composedPath()[0]||oe.target;if(!(w.props.interactive&&Fk(C,Ie))){if(Zd(w.props.triggerTarget||e).some(function($e){return Fk($e,Ie)})){if(gs.isTouch||w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else X("onClickOutside",[w,oe]);w.props.hideOnClick===!0&&(w.clearDelayTimeouts(),w.hide(),s=!0,setTimeout(function(){s=!1}),w.state.isMounted||je())}}}function ke(){l=!0}function Ue(){l=!1}function Le(){var oe=$();oe.addEventListener("mousedown",Me,!0),oe.addEventListener("touchend",Me,Yc),oe.addEventListener("touchstart",Ue,Yc),oe.addEventListener("touchmove",ke,Yc)}function je(){var oe=$();oe.removeEventListener("mousedown",Me,!0),oe.removeEventListener("touchend",Me,Yc),oe.removeEventListener("touchstart",Ue,Yc),oe.removeEventListener("touchmove",ke,Yc)}function fe(oe,Ie){Se(oe,function(){!w.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&Ie()})}function Ae(oe,Ie){Se(oe,Ie)}function Se(oe,Ie){var $e=W().box;function et(We){We.target===$e&&(RC($e,"remove",et),Ie())}if(oe===0)return Ie();RC($e,"remove",f),RC($e,"add",et),f=et}function Te(oe,Ie,$e){$e===void 0&&($e=!1);var et=Zd(w.props.triggerTarget||e);et.forEach(function(We){We.addEventListener(oe,Ie,$e),h.push({node:We,eventType:oe,handler:Ie,options:$e})})}function Ne(){P()&&(Te("touchstart",H,{passive:!0}),Te("touchend",ue,{passive:!0})),Mfe(w.props.trigger).forEach(function(oe){if(oe!=="manual")switch(Te(oe,H),oe){case"mouseenter":Te("mouseleave",ue);break;case"focus":Te(Gfe?"focusout":"blur",we);break;case"focusin":Te("focusout",we);break}})}function Be(){h.forEach(function(oe){var Ie=oe.node,$e=oe.eventType,et=oe.handler,We=oe.options;Ie.removeEventListener($e,et,We)}),h=[]}function H(oe){var Ie,$e=!1;if(!(!w.state.isEnabled||ve(oe)||s)){var et=((Ie=c)==null?void 0:Ie.type)==="focus";c=oe,m=oe.currentTarget,ge(),!w.state.isVisible&&Nfe(oe)&&b0.forEach(function(We){return We(oe)}),oe.type==="click"&&(w.props.trigger.indexOf("mouseenter")<0||a)&&w.props.hideOnClick!==!1&&w.state.isVisible?$e=!0:_e(oe),oe.type==="click"&&(a=!$e),$e&&!et&&Oe(oe)}}function z(oe){var Ie=oe.target,$e=k().contains(Ie)||C.contains(Ie);if(!(oe.type==="mousemove"&&$e)){var et=de().concat(C).map(function(We){var Xe,tt=We._tippy,Ot=(Xe=tt.popperInstance)==null?void 0:Xe.state;return Ot?{popperRect:We.getBoundingClientRect(),popperState:Ot,props:n}:null}).filter(Boolean);Bfe(et,oe)&&(ye(),Oe(oe))}}function ue(oe){var Ie=ve(oe)||w.props.trigger.indexOf("click")>=0&&a;if(!Ie){if(w.props.interactive){w.hideWithInteractivity(oe);return}Oe(oe)}}function we(oe){w.props.trigger.indexOf("focusin")<0&&oe.target!==k()||w.props.interactive&&oe.relatedTarget&&C.contains(oe.relatedTarget)||Oe(oe)}function ve(oe){return gs.isTouch?P()!==oe.type.indexOf("touch")>=0:!1}function U(){j();var oe=w.props,Ie=oe.popperOptions,$e=oe.placement,et=oe.offset,We=oe.getReferenceClientRect,Xe=oe.moveTransition,tt=D()?AA(C).arrow:null,Ot=We?{getBoundingClientRect:We,contextElement:We.contextElement||k()}:e,Lt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Pn){var yr=Pn.state;if(D()){var nd=W(),Fl=nd.box;["placement","reference-hidden","escaped"].forEach(function(ns){ns==="placement"?Fl.setAttribute("data-placement",yr.placement):yr.attributes.popper["data-popper-"+ns]?Fl.setAttribute("data-"+ns,""):Fl.removeAttribute("data-"+ns)}),yr.attributes.popper={}}}},Nn=[{name:"offset",options:{offset:et}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Xe}},Lt];D()&&tt&&Nn.push({name:"arrow",options:{element:tt,padding:3}}),Nn.push.apply(Nn,(Ie==null?void 0:Ie.modifiers)||[]),w.popperInstance=Ife(Ot,C,Object.assign({},Ie,{placement:$e,onFirstUpdate:d,modifiers:Nn}))}function j(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function J(){var oe=w.props.appendTo,Ie,$e=k();w.props.interactive&&oe===DH||oe==="parent"?Ie=$e.parentNode:Ie=LH(oe,[$e]),Ie.contains(C)||Ie.appendChild(C),w.state.isMounted=!0,U()}function de(){return tb(C.querySelectorAll("[data-tippy-root]"))}function _e(oe){w.clearDelayTimeouts(),oe&&X("onTrigger",[w,oe]),Le();var Ie=N(!0),$e=M(),et=$e[0],We=$e[1];gs.isTouch&&et==="hold"&&We&&(Ie=We),Ie?r=setTimeout(function(){w.show()},Ie):w.show()}function Oe(oe){if(w.clearDelayTimeouts(),X("onUntrigger",[w,oe]),!w.state.isVisible){je();return}if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(oe.type)>=0&&a)){var Ie=N(!1);Ie?i=setTimeout(function(){w.state.isVisible&&w.hide()},Ie):o=requestAnimationFrame(function(){w.hide()})}}function q(){w.state.isEnabled=!0}function he(){w.hide(),w.state.isEnabled=!1}function Ve(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Ze(oe){if(!w.state.isDestroyed){X("onBeforeUpdate",[w,oe]),Be();var Ie=w.props,$e=Bk(e,Object.assign({},Ie,Nk(oe),{ignoreAttributes:!0}));w.props=$e,Ne(),Ie.interactiveDebounce!==$e.interactiveDebounce&&(ye(),v=Dk(z,$e.interactiveDebounce)),Ie.triggerTarget&&!$e.triggerTarget?Zd(Ie.triggerTarget).forEach(function(et){et.removeAttribute("aria-expanded")}):$e.triggerTarget&&e.removeAttribute("aria-expanded"),ge(),K(),E&&E(Ie,$e),w.popperInstance&&(U(),de().forEach(function(et){requestAnimationFrame(et._tippy.popperInstance.forceUpdate)})),X("onAfterUpdate",[w,oe])}}function bt(oe){w.setProps({content:oe})}function ne(){var oe=w.state.isVisible,Ie=w.state.isDestroyed,$e=!w.state.isEnabled,et=gs.isTouch&&!w.props.touch,We=AC(w.props.duration,0,Xa.duration);if(!(oe||Ie||$e||et)&&!k().hasAttribute("disabled")&&(X("onShow",[w],!1),w.props.onShow(w)!==!1)){if(w.state.isVisible=!0,D()&&(C.style.visibility="visible"),K(),Le(),w.state.isMounted||(C.style.transition="none"),D()){var Xe=W(),tt=Xe.box,Ot=Xe.content;IC([tt,Ot],0)}d=function(){var Nn;if(!(!w.state.isVisible||u)){if(u=!0,C.offsetHeight,C.style.transition=w.props.moveTransition,D()&&w.props.animation){var Ta=W(),Pn=Ta.box,yr=Ta.content;IC([Pn,yr],We),kk([Pn,yr],"visible")}ae(),ge(),Lk(PC,w),(Nn=w.popperInstance)==null||Nn.forceUpdate(),X("onMount",[w]),w.props.animation&&D()&&Ae(We,function(){w.state.isShown=!0,X("onShown",[w])})}},J()}}function se(){var oe=!w.state.isVisible,Ie=w.state.isDestroyed,$e=!w.state.isEnabled,et=AC(w.props.duration,1,Xa.duration);if(!(oe||Ie||$e)&&(X("onHide",[w],!1),w.props.onHide(w)!==!1)){if(w.state.isVisible=!1,w.state.isShown=!1,u=!1,a=!1,D()&&(C.style.visibility="hidden"),ye(),je(),K(!0),D()){var We=W(),Xe=We.box,tt=We.content;w.props.animation&&(IC([Xe,tt],et),kk([Xe,tt],"hidden"))}ae(),ge(),w.props.animation?D()&&fe(et,w.unmount):w.unmount()}}function pe(oe){$().addEventListener("mousemove",v),Lk(b0,v),v(oe)}function Ee(){w.state.isVisible&&w.hide(),w.state.isMounted&&(j(),de().forEach(function(oe){oe._tippy.unmount()}),C.parentNode&&C.parentNode.removeChild(C),PC=PC.filter(function(oe){return oe!==w}),w.state.isMounted=!1,X("onHidden",[w]))}function Ge(){w.state.isDestroyed||(w.clearDelayTimeouts(),w.unmount(),Be(),delete e._tippy,w.state.isDestroyed=!0,X("onDestroy",[w]))}}function Bm(e,t){t===void 0&&(t={});var n=Xa.plugins.concat(t.plugins||[]);Hfe();var r=Object.assign({},t,{plugins:n}),i=Ffe(e),o=i.reduce(function(a,s){var l=s&&Jfe(s,r);return l&&a.push(l),a},[]);return AS(e)?o[0]:o}Bm.defaultProps=Xa;Bm.setDefaultProps=Yfe;Bm.currentInput=gs;Object.assign({},wH,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});Bm.setDefaultProps({render:FH});let MC,Ma=null;const Ls=()=>(MC||(MC=document.getElementById("app-content")),{showTip:(n,r,i={})=>{Ma==null||Ma.destroy(),Ma=Bm(n.target,{content:r,placement:"top",animation:"scale",appendTo:MC,allowHTML:!0,showOnCreate:!0,onHidden:()=>{Ma==null||Ma.destroy(),Ma=null},...i})},hideTip:()=>{Ma==null||Ma.hide()}}),Qfe={class:"relative"},ede=["placeholder","name","autocomplete"],Zr=nt({__name:"TextInput",props:M1({placeholder:{},beforeClose:{type:Boolean},name:{},autocomplete:{},clearable:{type:Boolean},menus:{}},{modelValue:{},modelModifiers:{}}),emits:M1(["input","change"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=e,i=y2(e,"modelValue"),o=()=>{i.value=""},{showTip:a,hideTip:s}=Ls(),l=u=>{var f;if(!((f=r.menus)!=null&&f.length))return;const c=document.createElement("div");for(const d of r.menus){const h=document.createElement("div");h.className="cursor-pointer p-1 transition-transform hover:scale-105 hover:text-primary",h.textContent=d,h.addEventListener("click",()=>{i.value=d,s()}),c.appendChild(h)}a(u,c,{theme:"base",placement:"bottom-start",trigger:"click",interactive:!0,arrow:!1})};return(u,c)=>(Y(),te("div",Qfe,[u.beforeClose&&u.clearable?(Y(),yt(B(Nf),{key:0,class:"absolute top-2 right-2 z-10 h-4 w-3 cursor-pointer hover:scale-125",onClick:o})):at("",!0),St(L("input",{"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),type:"text",class:gt(["input input-sm join-item w-full",{"pr-6":u.clearable}]),placeholder:u.placeholder||"",name:u.name||"",autocomplete:u.autocomplete||"",onClick:l,onInput:c[1]||(c[1]=f=>(n("input",i.value||""),B(s)())),onChange:c[2]||(c[2]=f=>n("change",i.value||""))},null,42,ede),[[ki,i.value]]),!u.beforeClose&&u.clearable?(Y(),yt(B(Nf),{key:1,class:"absolute top-2 right-2 z-10 h-4 w-3 cursor-pointer hover:scale-125",onClick:o})):at("",!0)]))}});var Q_={exports:{}},OC={exports:{}},DC={};/** * @vue/compiler-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Bh=Symbol(""),vh=Symbol(""),IS=Symbol(""),Jg=Symbol(""),gR=Symbol(""),Wu=Symbol(""),mR=Symbol(""),yR=Symbol(""),RS=Symbol(""),PS=Symbol(""),sp=Symbol(""),MS=Symbol(""),_R=Symbol(""),OS=Symbol(""),DS=Symbol(""),LS=Symbol(""),NS=Symbol(""),kS=Symbol(""),FS=Symbol(""),bR=Symbol(""),SR=Symbol(""),Vm=Symbol(""),Qg=Symbol(""),$S=Symbol(""),BS=Symbol(""),Vh=Symbol(""),lp=Symbol(""),VS=Symbol(""),nb=Symbol(""),$H=Symbol(""),rb=Symbol(""),em=Symbol(""),BH=Symbol(""),VH=Symbol(""),US=Symbol(""),UH=Symbol(""),HH=Symbol(""),HS=Symbol(""),wR=Symbol(""),Uf={[Bh]:"Fragment",[vh]:"Teleport",[IS]:"Suspense",[Jg]:"KeepAlive",[gR]:"BaseTransition",[Wu]:"openBlock",[mR]:"createBlock",[yR]:"createElementBlock",[RS]:"createVNode",[PS]:"createElementVNode",[sp]:"createCommentVNode",[MS]:"createTextVNode",[_R]:"createStaticVNode",[OS]:"resolveComponent",[DS]:"resolveDynamicComponent",[LS]:"resolveDirective",[NS]:"resolveFilter",[kS]:"withDirectives",[FS]:"renderList",[bR]:"renderSlot",[SR]:"createSlots",[Vm]:"toDisplayString",[Qg]:"mergeProps",[$S]:"normalizeClass",[BS]:"normalizeStyle",[Vh]:"normalizeProps",[lp]:"guardReactiveProps",[VS]:"toHandlers",[nb]:"camelize",[$H]:"capitalize",[rb]:"toHandlerKey",[em]:"setBlockTracking",[BH]:"pushScopeId",[VH]:"popScopeId",[US]:"withCtx",[UH]:"unref",[HH]:"isRef",[HS]:"withMemo",[wR]:"isMemoSame"};function zH(e){Object.getOwnPropertySymbols(e).forEach(t=>{Uf[t]=e[t]})}const tde={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},nde={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"},rde={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ide={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"},Or={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function GH(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Or}}function Uh(e,t,n,r,i,o,a,s=!1,l=!1,u=!1,c=Or){return e&&(s?(e.helper(Wu),e.helper(Gf(e.inSSR,u))):e.helper(zf(e.inSSR,u)),a&&e.helper(kS)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:c}}function Nu(e,t=Or){return{type:17,loc:t,elements:e}}function Oo(e,t=Or){return{type:15,loc:t,properties:e}}function lr(e,t){return{type:16,loc:Or,key:Mt(e)?$t(e,!0):e,value:t}}function $t(e,t=!1,n=Or,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function ode(e,t){return{type:5,loc:t,content:Mt(e)?$t(e,!1,t):e}}function ga(e,t=Or){return{type:8,loc:t,children:e}}function br(e,t=[],n=Or){return{type:14,loc:n,callee:e,arguments:t}}function Hf(e,t=void 0,n=!1,r=!1,i=Or){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function ib(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Or}}function WH(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Or}}function jH(e){return{type:21,body:e,loc:Or}}function ade(e){return{type:22,elements:e,loc:Or}}function sde(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Or}}function lde(e,t){return{type:24,left:e,right:t,loc:Or}}function ude(e){return{type:25,expressions:e,loc:Or}}function cde(e){return{type:26,returns:e,loc:Or}}function zf(e,t){return e||t?RS:PS}function Gf(e,t){return e||t?mR:yR}function zS(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(zf(r,e.isComponent)),t(Wu),t(Gf(r,e.isComponent)))}const Hk=new Uint8Array([123,123]),zk=new Uint8Array([125,125]);function Gk(e){return e>=97&&e<=122||e>=65&&e<=90}function Po(e){return e===32||e===10||e===9||e===12||e===13}function ql(e){return e===47||e===62||Po(e)}function ob(e){const t=new Uint8Array(e.length);for(let n=0;n=0;i--){const o=this.newlines[i];if(t>o){n=i+2,r=t-o;break}}return{column:r,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ql(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Po(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===ii.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const dde={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},hde={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with