Adds an optional web dashboard served by OpenGFW itself, enabled with a new `web` section in the config file. Backend (web package, decoupled from engine/io so it builds on any OS): - hub.go collects statistics off the engine logger callbacks: atomic counters, two ring-buffered time series (10s and 1min buckets), top N hosts/blocked destinations/rules/analyzers, and a 512 entry event buffer fanned out to connected clients over SSE. Slow clients drop frames instead of blocking the engine. - api.go exposes /api/v1 for info, meta, metrics, events, the SSE stream and ruleset read/validate/replace. - auth.go implements password login with in-memory session tokens and login rate limiting. Mutating endpoints require the bearer token (the session cookie is only accepted for GET), which makes them CSRF-safe. - cmd/web.go implements the rule manager: rules are compiled before anything is written, the file is replaced atomically and the engine is hot reloaded. The SIGHUP handler now shares that same path. - web/devserver serves the UI with synthetic traffic for frontend work on machines where the engine itself cannot be built. Frontend (web/frontend, Vue 3 + Vite + Tailwind CSS v4 + Reka UI): dashboard, live event feed with analyzer property inspection, visual and YAML rule editors, analyzer overview and settings. Responsive down to phone sizes with a bottom tab bar and bottom-sheet dialogs, plus light/dark themes and English/Chinese translations. The built UI in web/dist is committed and embedded with go:embed so that `go build` works without Node; CI builds the frontend and checks that the committed output is up to date. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
107 lines
166 KiB
JavaScript
107 lines
166 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardView-BnrlcswN.js","assets/format-B6sc_rZ4.js","assets/EventItem.vue_vue_type_script_setup_true_lang-DS497KtL.js","assets/Badge.vue_vue_type_script_setup_true_lang--8bF8KCa.js","assets/PageHeader.vue_vue_type_script_setup_true_lang-CDyKzgiP.js","assets/CardTitle.vue_vue_type_script_setup_true_lang-BcE23HB-.js","assets/Skeleton.vue_vue_type_script_setup_true_lang-C9uTg8Ty.js","assets/TabsTrigger.vue_vue_type_script_setup_true_lang-DTNukDpV.js","assets/Collection-D-pf6tmY.js","assets/EventsView-DvVZcEec.js","assets/Modal.vue_vue_type_script_setup_true_lang-gNNtNPLv.js","assets/Select.vue_vue_type_script_setup_true_lang-C15l-n0X.js","assets/RulesView-SxOStRNP.js","assets/AnalyzersView-CHLlPReV.js","assets/SettingsView-CQy8Fv4M.js"])))=>i.map(i=>d[i]);
|
||
var Ba=Object.defineProperty;var Ga=(e,t,n)=>t in e?Ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var To=(e,t,n)=>Ga(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
||
* @vue/shared v3.5.40
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Jr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},vn=[],xt=()=>{},Fi=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ps=e=>e.startsWith("onUpdate:"),Ae=Object.assign,Yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ha=Object.prototype.hasOwnProperty,ue=(e,t)=>Ha.call(e,t),U=Array.isArray,yn=e=>ts(e)==="[object Map]",ji=e=>ts(e)==="[object Set]",Po=e=>ts(e)==="[object Date]",q=e=>typeof e=="function",ye=e=>typeof e=="string",et=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",Bi=e=>(ae(e)||q(e))&&q(e.then)&&q(e.catch),Gi=Object.prototype.toString,ts=e=>Gi.call(e),$a=e=>ts(e).slice(8,-1),Hi=e=>ts(e)==="[object Object]",Os=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jn=Jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Is=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ua=/-\w/g,$e=Is(e=>e.replace(Ua,t=>t.slice(1).toUpperCase())),Wa=/\B([A-Z])/g,Yt=Is(e=>e.replace(Wa,"-$1").toLowerCase()),Ns=Is(e=>e.charAt(0).toUpperCase()+e.slice(1)),er=Is(e=>e?`on${Ns(e)}`:""),rt=(e,t)=>!Object.is(e,t),tr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},$i=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ka=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qa=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let Oo;const Ms=()=>Oo||(Oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ye(s)?Xa(s):Ls(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ye(e)||ae(e))return e}const Ja=/;(?![^(]*\))/g,Ya=/:([^]+)/,Qa=/\/\*[^]*?\*\//g;function Xa(e){const t={};return e.replace(Qa,"").split(Ja).forEach(n=>{if(n){const s=n.split(Ya);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ue(e){let t="";if(ye(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=Ue(e[n]);s&&(t+=s+" ")}else if(ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function om(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ye(t)&&(e.class=Ue(t)),n&&(e.style=Ls(n)),e}const Za="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ec=Jr(Za);function Ui(e){return!!e||e===""}function tc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Qr(e[s],t[s]);return n}function Qr(e,t){if(e===t)return!0;let n=Po(e),s=Po(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=et(e),s=et(t),n||s)return e===t;if(n=U(e),s=U(t),n||s)return n&&s?tc(e,t):!1;if(n=ae(e),s=ae(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Qr(e[i],t[i]))return!1}}return String(e)===String(t)}const Wi=e=>!!(e&&e.__v_isRef===!0),Le=e=>ye(e)?e:e==null?"":U(e)||ae(e)&&(e.toString===Gi||!q(e.toString))?Wi(e)?Le(e.value):JSON.stringify(e,Ki,2):String(e),Ki=(e,t)=>Wi(t)?Ki(e,t.value):yn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[nr(s,o)+" =>"]=r,n),{})}:ji(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>nr(n))}:et(t)?nr(t):ae(t)&&!U(t)&&!Hi(t)?String(t):t,nr=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.40
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Re;class qi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Re&&(Re.active?(this.parent=Re,this.index=(Re.scopes||(Re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=Re;try{return Re=this,t()}finally{Re=n}}}on(){++this._on===1&&(this.prevScope=Re,Re=this)}off(){if(this._on>0&&--this._on===0){if(Re===this)Re=this.prevScope;else{let t=Re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ji(e){return new qi(e)}function Yi(){return Re}function nc(e,t=!1){Re&&Re.cleanups.push(e)}let ve;const sr=new WeakSet;class Qi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Re&&(Re.active?Re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,sr.has(this)&&(sr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Io(this),el(this);const t=ve,n=ot;ve=this,ot=!0;try{return this.fn()}finally{tl(this),ve=t,ot=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)eo(t);this.deps=this.depsTail=void 0,Io(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?sr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){wr(this)&&this.run()}get dirty(){return wr(this)}}let Xi=0,Bn,Gn;function Zi(e,t=!1){if(e.flags|=8,t){e.next=Gn,Gn=e;return}e.next=Bn,Bn=e}function Xr(){Xi++}function Zr(){if(--Xi>0)return;if(Gn){let t=Gn;for(Gn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bn;){let t=Bn;for(Bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function el(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function tl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),eo(s),sc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function wr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(nl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function nl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kn)||(e.globalVersion=Kn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!wr(e))))return;e.flags|=2;const t=e.dep,n=ve,s=ot;ve=e,ot=!0;try{el(e);const r=e.fn(e._value);(t.version===0||rt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ve=n,ot=s,tl(e),e.flags&=-3}}function eo(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)eo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function sc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ot=!0;const sl=[];function Lt(){sl.push(ot),ot=!1}function Dt(){const e=sl.pop();ot=e===void 0?!0:e}function Io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ve;ve=void 0;try{t()}finally{ve=n}}}let Kn=0;class rc{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 Ds{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ve||!ot||ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ve)n=this.activeLink=new rc(ve,this),ve.deps?(n.prevDep=ve.depsTail,ve.depsTail.nextDep=n,ve.depsTail=n):ve.deps=ve.depsTail=n,rl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ve.depsTail,n.nextDep=void 0,ve.depsTail.nextDep=n,ve.depsTail=n,ve.deps===n&&(ve.deps=s)}return n}trigger(t){this.version++,Kn++,this.notify(t)}notify(t){Xr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Zr()}}}function rl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)rl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ms=new WeakMap,ln=Symbol(""),Sr=Symbol(""),qn=Symbol("");function De(e,t,n){if(ot&&ve){let s=ms.get(e);s||ms.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ds),r.map=s,r.key=n),r.track()}}function Pt(e,t,n,s,r,o){const i=ms.get(e);if(!i){Kn++;return}const l=a=>{a&&a.trigger()};if(Xr(),t==="clear")i.forEach(l);else{const a=U(e),c=a&&Os(n);if(a&&n==="length"){const u=Number(s);i.forEach((f,h)=>{(h==="length"||h===qn||!et(h)&&h>=u)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(qn)),t){case"add":a?c&&l(i.get("length")):(l(i.get(ln)),yn(e)&&l(i.get(Sr)));break;case"delete":a||(l(i.get(ln)),yn(e)&&l(i.get(Sr)));break;case"set":yn(e)&&l(i.get(ln));break}}Zr()}function oc(e,t){const n=ms.get(e);return n&&n.get(t)}function pn(e){const t=ie(e);return t===e?t:(De(t,"iterate",qn),Xe(e)?t:t.map(lt))}function zs(e){return De(e=ie(e),"iterate",qn),e}function yt(e,t){return zt(e)?En(an(e)?lt(t):t):lt(t)}const ic={__proto__:null,[Symbol.iterator](){return rr(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return pn(this).concat(...e.map(t=>U(t)?pn(t):t))},entries(){return rr(this,"entries",e=>(e[1]=yt(this,e[1]),e))},every(e,t){return Et(this,"every",e,t,void 0,arguments)},filter(e,t){return Et(this,"filter",e,t,n=>n.map(s=>yt(this,s)),arguments)},find(e,t){return Et(this,"find",e,t,n=>yt(this,n),arguments)},findIndex(e,t){return Et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Et(this,"findLast",e,t,n=>yt(this,n),arguments)},findLastIndex(e,t){return Et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Et(this,"forEach",e,t,void 0,arguments)},includes(...e){return or(this,"includes",e)},indexOf(...e){return or(this,"indexOf",e)},join(e){return pn(this).join(e)},lastIndexOf(...e){return or(this,"lastIndexOf",e)},map(e,t){return Et(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return No(this,"reduce",e,t)},reduceRight(e,...t){return No(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return Et(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(this,"splice",e)},toReversed(){return pn(this).toReversed()},toSorted(e){return pn(this).toSorted(e)},toSpliced(...e){return pn(this).toSpliced(...e)},unshift(...e){return Pn(this,"unshift",e)},values(){return rr(this,"values",e=>yt(this,e))}};function rr(e,t,n){const s=zs(e),r=s[t]();return s!==e&&!Xe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const lc=Array.prototype;function Et(e,t,n,s,r,o){const i=zs(e),l=i!==e&&!Xe(e),a=i[t];if(a!==lc[t]){const f=a.apply(e,o);return l?lt(f):f}let c=n;i!==e&&(l?c=function(f,h){return n.call(this,yt(e,f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const u=a.call(i,c,s);return l&&r?r(u):u}function No(e,t,n,s){const r=zs(e),o=r!==e&&!Xe(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(c,u,f){return l&&(l=!1,c=yt(e,c)),n.call(this,c,yt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const a=r[t](i,...s);return l?yt(e,a):a}function or(e,t,n){const s=ie(e);De(s,"iterate",qn);const r=s[t](...n);return(r===-1||r===!1)&&Bs(n[0])?(n[0]=ie(n[0]),s[t](...n)):r}function Pn(e,t,n=[]){Lt(),Xr();const s=ie(e)[t].apply(e,n);return Zr(),Dt(),s}const ac=Jr("__proto__,__v_isRef,__isVue"),ol=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function cc(e){et(e)||(e=String(e));const t=ie(this);return De(t,"has",e),t.hasOwnProperty(e)}class il{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?dl:fl:o?ul:cl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=U(t);if(!r){let a;if(i&&(a=ic[n]))return a;if(n==="hasOwnProperty")return cc}const l=Reflect.get(t,n,Oe(t)?t:s);if((et(n)?ol.has(n):ac(n))||(r||De(t,"get",n),o))return l;if(Oe(l)){const a=i&&Os(n)?l:l.value;return r&&ae(a)?Ar(a):a}return ae(l)?r?Ar(l):Fs(l):l}}class ll extends il{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=U(t)&&Os(n);if(!this._isShallow){const c=zt(o);if(!Xe(s)&&!zt(s)&&(o=ie(o),s=ie(s)),!i&&Oe(o)&&!Oe(s))return c||(o.value=s),!0}const l=i?Number(n)<t.length:ue(t,n),a=Reflect.set(t,n,s,Oe(t)?t:r);return t===ie(r)&&a&&(l?rt(s,o)&&Pt(t,"set",n,s):Pt(t,"add",n,s)),a}deleteProperty(t,n){const s=ue(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Pt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!ol.has(n))&&De(t,"has",n),s}ownKeys(t){return De(t,"iterate",U(t)?"length":ln),Reflect.ownKeys(t)}}class al extends il{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const uc=new ll,fc=new al,dc=new ll(!0),pc=new al(!0),Er=e=>e,rs=e=>Reflect.getPrototypeOf(e);function hc(e,t,n){return function(...s){const r=this.__v_raw,o=ie(r),i=yn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?Er:t?En:lt;return!t&&De(o,"iterate",a?Sr:ln),Ae(Object.create(c),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:l?[u(f[0]),u(f[1])]:u(f),done:h}}})}}function os(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function mc(e,t){const n={get(r){const o=this.__v_raw,i=ie(o),l=ie(r);e||(rt(r,l)&&De(i,"get",r),De(i,"get",l));const{has:a}=rs(i),c=t?Er:e?En:lt;if(a.call(i,r))return c(o.get(r));if(a.call(i,l))return c(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&De(ie(r),"iterate",ln),r.size},has(r){const o=this.__v_raw,i=ie(o),l=ie(r);return e||(rt(r,l)&&De(i,"has",r),De(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=ie(l),c=t?Er:e?En:lt;return!e&&De(a,"iterate",ln),l.forEach((u,f)=>r.call(o,c(u),c(f),i))}};return Ae(n,e?{add:os("add"),set:os("set"),delete:os("delete"),clear:os("clear")}:{add(r){const o=ie(this),i=rs(o),l=ie(r),a=!t&&!Xe(r)&&!zt(r)?l:r;return i.has.call(o,a)||rt(r,a)&&i.has.call(o,r)||rt(l,a)&&i.has.call(o,l)||(o.add(a),Pt(o,"add",a,a)),this},set(r,o){!t&&!Xe(o)&&!zt(o)&&(o=ie(o));const i=ie(this),{has:l,get:a}=rs(i);let c=l.call(i,r);c||(r=ie(r),c=l.call(i,r));const u=a.call(i,r);return i.set(r,o),c?rt(o,u)&&Pt(i,"set",r,o):Pt(i,"add",r,o),this},delete(r){const o=ie(this),{has:i,get:l}=rs(o);let a=i.call(o,r);a||(r=ie(r),a=i.call(o,r)),l&&l.call(o,r);const c=o.delete(r);return a&&Pt(o,"delete",r,void 0),c},clear(){const r=ie(this),o=r.size!==0,i=r.clear();return o&&Pt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=hc(r,e,t)}),n}function Vs(e,t){const n=mc(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ue(n,r)&&r in s?n:s,r,o)}const gc={get:Vs(!1,!1)},bc={get:Vs(!1,!0)},vc={get:Vs(!0,!1)},yc={get:Vs(!0,!0)},cl=new WeakMap,ul=new WeakMap,fl=new WeakMap,dl=new WeakMap;function _c(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fs(e){return zt(e)?e:js(e,!1,uc,gc,cl)}function pl(e){return js(e,!1,dc,bc,ul)}function Ar(e){return js(e,!0,fc,vc,fl)}function im(e){return js(e,!0,pc,yc,dl)}function js(e,t,n,s,r){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=_c($a(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function an(e){return zt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function Xe(e){return!!(e&&e.__v_isShallow)}function Bs(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function xc(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&$i(e,"__v_skip",!0),e}const lt=e=>ae(e)?Fs(e):e,En=e=>ae(e)?Ar(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function Ze(e){return hl(e,!1)}function to(e){return hl(e,!0)}function hl(e,t){return Oe(e)?e:new wc(e,t)}class wc{constructor(t,n){this.dep=new Ds,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:lt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Xe(t)||zt(t);t=s?t:ie(t),rt(t,n)&&(this._rawValue=t,this._value=s?t:lt(t),this.dep.trigger())}}function Sc(e){e.dep&&e.dep.trigger()}function B(e){return Oe(e)?e.value:e}function It(e){return q(e)?e():B(e)}const Ec={get:(e,t,n)=>t==="__v_raw"?e:B(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Oe(r)&&!Oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ml(e){return an(e)?e:new Proxy(e,Ec)}class Ac{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ds,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Cc(e){return new Ac(e)}function lm(e){const t=U(e)?new Array(e.length):{};for(const n in e)t[n]=gl(e,n);return t}class kc{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=et(n)?n:String(n),this._raw=ie(t);let r=!0,o=t;if(!U(t)||et(this._key)||!Os(this._key))do r=!Bs(o)||Xe(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=B(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Oe(this._raw[this._key])){const n=this._object[this._key];if(Oe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return oc(this._raw,this._key)}}class Rc{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 am(e,t,n){return Oe(e)?e:q(e)?new Rc(e):ae(e)&&arguments.length>1?gl(e,t,n):Ze(e)}function gl(e,t,n){return new kc(e,t,n)}class Tc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ds(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ve!==this)return Zi(this,!0),!0}get value(){const t=this.dep.track();return nl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pc(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Tc(s,r,n)}const is={},gs=new WeakMap;let nn;function Oc(e,t=!1,n=nn){if(n){let s=gs.get(n);s||gs.set(n,s=[]),s.push(e)}}function Ic(e,t,n=ge){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,c=T=>r?T:Xe(T)||r===!1||r===0?Ot(T,1):Ot(T);let u,f,h,m,E=!1,x=!1;if(Oe(e)?(f=()=>e.value,E=Xe(e)):an(e)?(f=()=>c(e),E=!0):U(e)?(x=!0,E=e.some(T=>an(T)||Xe(T)),f=()=>e.map(T=>{if(Oe(T))return T.value;if(an(T))return c(T);if(q(T))return a?a(T,2):T()})):q(e)?t?f=a?()=>a(e,2):e:f=()=>{if(h){Lt();try{h()}finally{Dt()}}const T=nn;nn=u;try{return a?a(e,3,[m]):e(m)}finally{nn=T}}:f=xt,t&&r){const T=f,J=r===!0?1/0:r;f=()=>Ot(T(),J)}const k=Yi(),I=()=>{u.stop(),k&&k.active&&Yr(k.effects,u)};if(o&&t){const T=t;t=(...J)=>{const Y=T(...J);return I(),Y}}let _=x?new Array(e.length).fill(is):is;const M=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const J=u.run();if(T||r||E||(x?J.some((Y,j)=>rt(Y,_[j])):rt(J,_))){h&&h();const Y=nn;nn=u;try{const j=[J,_===is?void 0:x&&_[0]===is?[]:_,m];_=J,a?a(t,3,j):t(...j)}finally{nn=Y}}}else u.run()};return l&&l(M),u=new Qi(f),u.scheduler=i?()=>i(M,!1):M,m=T=>Oc(T,!1,u),h=u.onStop=()=>{const T=gs.get(u);if(T){if(a)a(T,4);else for(const J of T)J();gs.delete(u)}},t?s?M(!0):_=u.run():i?i(M.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function Ot(e,t=1/0,n){if(t<=0||!ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Oe(e))Ot(e.value,t,n);else if(U(e))for(let s=0;s<e.length;s++)Ot(e[s],t,n);else if(ji(e)||yn(e))e.forEach(s=>{Ot(s,t,n)});else if(Hi(e)){for(const s in e)Ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ot(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.40
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function ns(e,t,n,s){try{return s?e(...s):e()}catch(r){Gs(r,t,n)}}function nt(e,t,n,s){if(q(e)){const r=ns(e,t,n,s);return r&&Bi(r)&&r.catch(o=>{Gs(o,t,n)}),r}if(U(e)){const r=[];for(let o=0;o<e.length;o++)r.push(nt(e[o],t,n,s));return r}}function Gs(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ge;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(o){Lt(),ns(o,null,10,[e,a,c]),Dt();return}}Nc(e,n,r,s,i)}function Nc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ge=[];let bt=-1;const _n=[];let Ut=null,hn=0;const bl=Promise.resolve();let bs=null;function no(e){const t=bs||bl;return e?t.then(this?e.bind(this):e):t}function Mc(e){let t=bt+1,n=Ge.length;for(;t<n;){const s=t+n>>>1,r=Ge[s],o=Jn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function so(e){if(!(e.flags&1)){const t=Jn(e),n=Ge[Ge.length-1];!n||!(e.flags&2)&&t>=Jn(n)?Ge.push(e):Ge.splice(Mc(t),0,e),e.flags|=1,vl()}}function vl(){bs||(bs=bl.then(_l))}function Lc(e){U(e)?_n.push(...e):Ut&&e.id===-1?Ut.splice(hn+1,0,e):e.flags&1||(_n.push(e),e.flags|=1),vl()}function Mo(e,t,n=bt+1){for(;n<Ge.length;n++){const s=Ge[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ge.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function yl(e){if(_n.length){const t=[...new Set(_n)].sort((n,s)=>Jn(n)-Jn(s));if(_n.length=0,Ut){Ut.push(...t);return}for(Ut=t,hn=0;hn<Ut.length;hn++){const n=Ut[hn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ut=null,hn=0}}const Jn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _l(e){try{for(bt=0;bt<Ge.length;bt++){const t=Ge[bt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ns(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bt<Ge.length;bt++){const t=Ge[bt];t&&(t.flags&=-2)}bt=-1,Ge.length=0,yl(),bs=null,(Ge.length||_n.length)&&_l()}}let Me=null,xl=null;function vs(e){const t=Me;return Me=e,xl=e&&e.type.__scopeId||null,t}function Ye(e,t=Me,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&xs(-1);const o=vs(t),i=Mt.length;let l;try{l=e(...r)}finally{for(let a=Mt.length;a>i;a--)uo();vs(o),s._d&&xs(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function cm(e,t){if(Me===null)return e;const n=Js(Me),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=ge]=t[r];o&&(q(o)&&(o={mounted:o,updated:o}),o.deep&&Ot(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Xt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Lt(),nt(a,n,8,[e.el,l,e,t]),Dt())}}function ds(e,t){if(Ve){let n=Ve.provides;const s=Ve.parent&&Ve.parent.provides;s===n&&(n=Ve.provides=Object.create(s)),n[e]=t}}function it(e,t,n=!1){const s=fn();if(s||wn){let r=wn?wn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&q(t)?t.call(s&&s.proxy):t}}const Dc=Symbol.for("v-scx"),zc=()=>it(Dc);function um(e,t){return Hs(e,null,t)}function fm(e,t){return Hs(e,null,{flush:"post"})}function Nt(e,t,n){return Hs(e,t,n)}function Hs(e,t,n=ge){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ae({},n),a=t&&s||!t&&o!=="post";let c;if(Xn){if(o==="sync"){const m=zc();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=xt,m.resume=xt,m.pause=xt,m}}const u=Ve;l.call=(m,E,x)=>nt(m,u,E,x);let f=!1;o==="post"?l.scheduler=m=>{je(m,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,E)=>{E?m():so(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const h=Ic(e,t,l);return Xn&&(c?c.push(h):a&&h()),h}function Vc(e,t,n){const s=this.proxy,r=ye(e)?e.includes(".")?wl(s,e):()=>s[e]:e.bind(s,s);let o;q(t)?o=t:(o=t.handler,n=t);const i=ss(this),l=Hs(r,o.bind(s),n);return i(),l}function wl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Ht=new WeakMap,Sl=Symbol("_vte"),Fc=e=>e.__isTeleport,sn=e=>e&&(e.disabled||e.disabled===""),jc=e=>e&&(e.defer||e.defer===""),Lo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Do=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cr=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},Bc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,a,c){const{mc:u,pc:f,pbc:h,o:{insert:m,querySelector:E,createText:x,createComment:k,parentNode:I}}=c,_=sn(t.props);let{dynamicChildren:M}=t;const T=(j,C,N)=>{j.shapeFlag&16&&u(j.children,C,N,r,o,i,l,a)},J=(j=t)=>{const C=sn(j.props),N=j.target=Cr(j.props,E),Z=kr(N,j,x,m);N&&(i!=="svg"&&Lo(N)?i="svg":i!=="mathml"&&Do(N)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(N),C||(T(j,N,Z),zn(j,!1)))},Y=j=>{const C=()=>{if(Ht.get(j)===C){if(Ht.delete(j),sn(j.props)){const N=I(j.el)||n;T(j,N,j.anchor),zn(j,!0)}J(j)}};Ht.set(j,C),je(C,o)};if(e==null){const j=t.el=x(""),C=t.anchor=x("");if(m(j,n,s),m(C,n,s),jc(t.props)||o&&o.pendingBranch){Y(t);return}_&&(T(t,n,C),zn(t,!0)),J()}else{t.el=e.el;const j=t.anchor=e.anchor,C=Ht.get(e);if(C){C.flags|=8,Ht.delete(e),Y(t);return}t.targetStart=e.targetStart;const N=t.target=e.target,Z=t.targetAnchor=e.targetAnchor,ne=sn(e.props),L=ne?n:N,te=ne?j:Z;if(i==="svg"||Lo(N)?i="svg":(i==="mathml"||Do(N))&&(i="mathml"),M?(h(e.dynamicChildren,M,L,r,o,i,l),co(e,t,!0)):a||f(e,t,L,te,r,o,i,l,!1),_)ne?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ls(t,n,j,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const be=Cr(t.props,E);be&&(t.target=be,ls(t,be,null,c,0))}else ne&&ls(t,N,Z,c,1);zn(t,_)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:h}=e,m=sn(h),E=o||!m,x=Ht.get(e);if(x&&(x.flags|=8,Ht.delete(e)),f&&(r(c),r(u)),o&&r(a),!x&&(m||f)&&i&16)for(let k=0;k<l.length;k++){const I=l[k];s(I,t,n,E,!!I.dynamicChildren)}},move:ls,hydrate:Gc};function ls(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:c,props:u}=e,f=o===2;if(f&&s(i,t,n),!Ht.has(e)&&(!f||sn(u))&&a&16)for(let h=0;h<c.length;h++)r(c[h],t,n,2);f&&s(l,t,n)}function Gc(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:c,createText:u}},f){function h(k,I){let _=I;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,k._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}}function m(k,I){I.anchor=f(i(k),I,l(k),n,s,r,o)}const E=t.target=Cr(t.props,a),x=sn(t.props);if(E){const k=E._lpa||E.firstChild;t.shapeFlag&16&&(x?(m(e,t),h(E,k),t.targetAnchor||kr(E,t,u,c,l(e)===E?e:null)):(t.anchor=i(e),h(E,k),t.targetAnchor||kr(E,t,u,c),f(k&&i(k),t,E,n,s,r,o))),zn(t,x)}else x&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const dm=Bc;function zn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function kr(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Sl]=i,e&&(s(o,e,r),s(i,e,r)),i}const vt=Symbol("_leaveCb"),On=Symbol("_enterCb");function Hc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Us(()=>{e.isMounted=!0}),oo(()=>{e.isUnmounting=!0}),e}const tt=[Function,Array],$c={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tt,onEnter:tt,onAfterEnter:tt,onEnterCancelled:tt,onBeforeLeave:tt,onLeave:tt,onAfterLeave:tt,onLeaveCancelled:tt,onBeforeAppear:tt,onAppear:tt,onAfterAppear:tt,onAppearCancelled:tt};function Uc(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Rr(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:E,onLeaveCancelled:x,onBeforeAppear:k,onAppear:I,onAfterAppear:_,onAppearCancelled:M}=t,T=String(e.key),J=Uc(n,e),Y=(N,Z)=>{N&&nt(N,s,9,Z)},j=(N,Z)=>{const ne=Z[1];Y(N,Z),U(N)?N.every(L=>L.length<=1)&&ne():N.length<=1&&ne()},C={mode:i,persisted:l,beforeEnter(N){let Z=a;if(!n.isMounted)if(o)Z=k||a;else return;N[vt]&&N[vt](!0);const ne=J[T];ne&&mn(e,ne)&&ne.el[vt]&&ne.el[vt](),Y(Z,[N])},enter(N){if(J[T]===e)return;let Z=c,ne=u,L=f;if(!n.isMounted)if(o)Z=I||c,ne=_||u,L=M||f;else return;let te=!1;N[On]=Se=>{te||(te=!0,Se?Y(L,[N]):Y(ne,[N]),C.delayedLeave&&C.delayedLeave(),N[On]=void 0)};const be=N[On].bind(null,!1);Z?j(Z,[N,be]):be()},leave(N,Z){const ne=String(e.key);if(N[On]&&N[On](!0),n.isUnmounting)return Z();Y(h,[N]);let L=!1;N[vt]=be=>{L||(L=!0,Z(),be?Y(x,[N]):Y(E,[N]),N[vt]=void 0,J[ne]===e&&delete J[ne])};const te=N[vt].bind(null,!1);J[ne]=e,m?j(m,[N,te]):te()},clone(N){return Rr(N,t,n,s)}};return C}function Yn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yn(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 El(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Pe?(i.patchFlag&128&&r++,s=s.concat(El(i.children,t,l))):(t||i.type!==at)&&s.push(l!=null?Jt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function We(e,t){return q(e)?Ae({name:e.name},t,{setup:e}):e}function pm(){const e=fn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Al(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ys=new WeakMap;function Hn(e,t,n,s,r=!1){if(U(e)){e.forEach((x,k)=>Hn(x,t&&(U(t)?t[k]:t),n,s,r));return}if(xn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Hn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Js(s.component):s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ge?l.refs={}:l.refs,f=l.setupState,h=ie(f),m=f===ge?Fi:x=>zo(u,x)?!1:ue(h,x),E=(x,k)=>!(k&&zo(u,k));if(c!=null&&c!==a){if(Vo(t),ye(c))u[c]=null,m(c)&&(f[c]=null);else if(Oe(c)){const x=t;E(c,x.k)&&(c.value=null),x.k&&(u[x.k]=null)}}if(q(a))ns(a,l,12,[i,u]);else{const x=ye(a),k=Oe(a);if(x||k){const I=()=>{if(e.f){const _=x?m(a)?f[a]:u[a]:E()||!e.k?a.value:u[e.k];if(r)U(_)&&Yr(_,o);else if(U(_))_.includes(o)||_.push(o);else if(x)u[a]=[o],m(a)&&(f[a]=u[a]);else{const M=[o];E(a,e.k)&&(a.value=M),e.k&&(u[e.k]=M)}}else x?(u[a]=i,m(a)&&(f[a]=i)):k&&(E(a,e.k)&&(a.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{I(),ys.delete(e)};_.id=-1,ys.set(e,_),je(_,n)}else Vo(e),I()}}}function Vo(e){const t=ys.get(e);t&&(t.flags|=8,ys.delete(e))}Ms().requestIdleCallback;Ms().cancelIdleCallback;const xn=e=>!!e.type.__asyncLoader,Cl=e=>e.type.__isKeepAlive;function Wc(e,t){kl(e,"a",t)}function Kc(e,t){kl(e,"da",t)}function kl(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($s(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Cl(r.parent.vnode)&&qc(s,t,n,r),r=r.parent}}function qc(e,t,n,s){const r=$s(t,e,s,!0);io(()=>{Yr(s[t],r)},n)}function $s(e,t,n=Ve,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Lt();const l=ss(n),a=nt(t,n,e,i);return l(),Dt(),a});return s?r.unshift(o):r.push(o),o}}const Ft=e=>(t,n=Ve)=>{(!Xn||e==="sp")&&$s(e,(...s)=>t(...s),n)},Jc=Ft("bm"),Us=Ft("m"),Yc=Ft("bu"),ro=Ft("u"),oo=Ft("bum"),io=Ft("um"),Qc=Ft("sp"),Xc=Ft("rtg"),Zc=Ft("rtc");function eu(e,t=Ve){$s("ec",e,t)}const tu="components",Rl=Symbol.for("v-ndc");function ir(e){return ye(e)?nu(tu,e,!1)||e:e||Rl}function nu(e,t,n=!0,s=!1){const r=Me||Ve;if(r){const o=r.type;{const l=Vu(o,!1);if(l&&(l===t||l===$e(t)||l===Ns($e(t))))return o}const i=Fo(r[e]||o[e],t)||Fo(r.appContext[e],t);return!i&&s?o:i}}function Fo(e,t){return e&&(e[t]||e[$e(t)]||e[Ns($e(t))])}function Tr(e,t,n,s){let r;const o=n,i=U(e);if(i||ye(e)){const l=i&&an(e);let a=!1,c=!1;l&&(a=!Xe(e),c=zt(e),e=zs(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(a?c?En(lt(e[u])):lt(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(ae(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];r[a]=t(e[u],u,a,o)}}else r=[];return r}function Ws(e,t,n={},s,r,o){if(Me.ce||Me.parent&&xn(Me.parent)&&Me.parent.ce){const c=n,u=Object.keys(c).length>0;return t!=="default"&&(c.name=t),fe(),ze(Pe,null,[de("slot",c,s&&s())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=Mt.length;fe();let a;try{const c=i&&Tl(i(n)),u=n.key||o||c&&c.key;a=ze(Pe,{key:(u&&!et(u)?u:`_${t}`)+(!c&&s?"_fb":"")},c||(s?s():[]),c&&e._===1?64:-2)}catch(c){for(let u=Mt.length;u>l;u--)uo();throw c}finally{i&&i._c&&(i._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function Tl(e){return e.some(t=>Qn(t)?!(t.type===at||t.type===Pe&&!Tl(t.children)):!0)?e:null}const Pr=e=>e?ql(e)?Js(e):Pr(e.parent):null,$n=Ae(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=>Pr(e.parent),$root:e=>Pr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ol(e),$forceUpdate:e=>e.f||(e.f=()=>{so(e.update)}),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>Vc.bind(e)}),lr=(e,t)=>e!==ge&&!e.__isScriptSetup&&ue(e,t),su={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(lr(s,t))return i[t]=1,s[t];if(r!==ge&&ue(r,t))return i[t]=2,r[t];if(ue(o,t))return i[t]=3,o[t];if(n!==ge&&ue(n,t))return i[t]=4,n[t];Ir&&(i[t]=0)}}const c=$n[t];let u,f;if(c)return t==="$attrs"&&De(e.attrs,"get",""),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ge&&ue(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,ue(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return lr(r,t)?(r[t]=n,!0):s!==ge&&ue(s,t)?(s[t]=n,!0):ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||e!==ge&&l[0]!=="$"&&ue(e,l)||lr(t,l)||ue(o,l)||ue(s,l)||ue($n,l)||ue(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Or(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hm(e,t){const n=Or(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?U(r)||q(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}let Ir=!0;function ru(e){const t=Ol(e),n=e.proxy,s=e.ctx;Ir=!1,t.beforeCreate&&jo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:m,updated:E,activated:x,deactivated:k,beforeDestroy:I,beforeUnmount:_,destroyed:M,unmounted:T,render:J,renderTracked:Y,renderTriggered:j,errorCaptured:C,serverPrefetch:N,expose:Z,inheritAttrs:ne,components:L,directives:te,filters:be}=t;if(c&&ou(c,s,null),i)for(const ee in i){const se=i[ee];q(se)&&(s[ee]=se.bind(n))}if(r){const ee=r.call(n,n);ae(ee)&&(e.data=Fs(ee))}if(Ir=!0,o)for(const ee in o){const se=o[ee],Ke=q(se)?se.bind(n,n):q(se.get)?se.get.bind(n,n):xt,G=!q(se)&&q(se.set)?se.set.bind(n):xt,qe=we({get:Ke,set:G});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>qe.value,set:Ie=>qe.value=Ie})}if(l)for(const ee in l)Pl(l[ee],s,n,ee);if(a){const ee=q(a)?a.call(n):a;Reflect.ownKeys(ee).forEach(se=>{ds(se,ee[se])})}u&&jo(u,e,"c");function re(ee,se){U(se)?se.forEach(Ke=>ee(Ke.bind(n))):se&&ee(se.bind(n))}if(re(Jc,f),re(Us,h),re(Yc,m),re(ro,E),re(Wc,x),re(Kc,k),re(eu,C),re(Zc,Y),re(Xc,j),re(oo,_),re(io,T),re(Qc,N),U(Z))if(Z.length){const ee=e.exposed||(e.exposed={});Z.forEach(se=>{Object.defineProperty(ee,se,{get:()=>n[se],set:Ke=>n[se]=Ke,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===xt&&(e.render=J),ne!=null&&(e.inheritAttrs=ne),L&&(e.components=L),te&&(e.directives=te),N&&Al(e)}function ou(e,t,n=xt){U(e)&&(e=Nr(e));for(const s in e){const r=e[s];let o;ae(r)?"default"in r?o=it(r.from||s,r.default,!0):o=it(r.from||s):o=it(r),Oe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function jo(e,t,n){nt(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pl(e,t,n,s){let r=s.includes(".")?wl(n,s):()=>n[s];if(ye(e)){const o=t[e];q(o)&&Nt(r,o)}else if(q(e))Nt(r,e.bind(n));else if(ae(e))if(U(e))e.forEach(o=>Pl(o,t,n,s));else{const o=q(e.handler)?e.handler.bind(n):t[e.handler];q(o)&&Nt(r,o,e)}}function Ol(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>_s(a,c,i,!0)),_s(a,t,i)),ae(t)&&o.set(t,a),a}function _s(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&_s(e,o,n,!0),r&&r.forEach(i=>_s(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=iu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const iu={data:Bo,props:Go,emits:Go,methods:Vn,computed:Vn,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Vn,directives:Vn,watch:au,provide:Bo,inject:lu};function Bo(e,t){return t?e?function(){return Ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function lu(e,t){return Vn(Nr(e),Nr(t))}function Nr(e){if(U(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Fe(e,t){return e?[...new Set([].concat(e,t))]:t}function Vn(e,t){return e?Ae(Object.create(null),e,t):t}function Go(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Or(e),Or(t??{})):t}function au(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const s in t)n[s]=Fe(e[s],t[s]);return n}function Il(){return{app:null,config:{isNativeTag:Fi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let cu=0;function uu(e,t){return function(s,r=null){q(s)||(s=Ae({},s)),r!=null&&!ae(r)&&(r=null);const o=Il(),i=new WeakSet,l=[];let a=!1;const c=o.app={_uid:cu++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Bu,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&q(u.install)?(i.add(u),u.install(c,...f)):q(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,h){if(!a){const m=c._ceVNode||de(s,r);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(m,u,h),a=!0,c._container=u,u.__vue_app__=c,Js(m.component)}},onUnmount(u){l.push(u)},unmount(){a&&(nt(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=wn;wn=c;try{return u()}finally{wn=f}}};return c}}let wn=null;const fu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$e(t)}Modifiers`]||e[`${Yt(t)}Modifiers`];function du(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;let r=n;const o=t.startsWith("update:"),i=o&&fu(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ye(u)?u.trim():u)),i.number&&(r=n.map(Ka)));let l,a=s[l=er(t)]||s[l=er($e(t))];!a&&o&&(a=s[l=er(Yt(t))]),a&&nt(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,nt(c,e,6,r)}}const pu=new WeakMap;function Nl(e,t,n=!1){const s=n?pu:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!q(e)){const a=c=>{const u=Nl(c,t,!0);u&&(l=!0,Ae(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ae(e)&&s.set(e,null),null):(U(o)?o.forEach(a=>i[a]=null):Ae(i,o),ae(e)&&s.set(e,i),i)}function Ks(e,t){return!e||!Ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,Yt(t))||ue(e,t))}function Ho(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:f,data:h,setupState:m,ctx:E,inheritAttrs:x}=e,k=vs(e);let I,_;try{if(n.shapeFlag&4){const T=r||s,J=T;I=_t(c.call(J,T,u,f,m,h,E)),_=l}else{const T=t;I=_t(T.length>1?T(f,{attrs:l,slots:i,emit:a}):T(f,null)),_=t.props?l:hu(l)}}catch(T){Mt.length=0,Gs(T,e,1),I=de(at)}let M=I;if(_&&x!==!1){const T=Object.keys(_),{shapeFlag:J}=M;T.length&&J&7&&(o&&T.some(Ps)&&(_=mu(_,o)),M=Jt(M,_,!1,!0))}return n.dirs&&(M=Jt(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&Yn(M,n.transition),I=M,vs(k),I}const hu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ts(n))&&((t||(t={}))[n]=e[n]);return t},mu=(e,t)=>{const n={};for(const s in e)(!Ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?$o(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(Ml(i,s,h)&&!Ks(c,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?$o(s,i,c):!0:!!i;return!1}function $o(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(Ml(t,e,o)&&!Ks(n,o))return!0}return!1}function Ml(e,t,n){const s=e[n],r=t[n];return n==="style"&&ae(s)&&ae(r)?!Qr(s,r):s!==r}function bu({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Ll={},Dl=()=>Object.create(Ll),zl=e=>Object.getPrototypeOf(e)===Ll;function vu(e,t,n,s=!1){const r={},o=Dl();e.propsDefaults=Object.create(null),Vl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:pl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function yu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ie(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(Ks(e.emitsOptions,h))continue;const m=t[h];if(a)if(ue(o,h))m!==o[h]&&(o[h]=m,c=!0);else{const E=$e(h);r[E]=Mr(a,l,E,m,e,!1)}else m!==o[h]&&(o[h]=m,c=!0)}}}else{Vl(e,t,r,o)&&(c=!0);let u;for(const f in l)(!t||!ue(t,f)&&((u=Yt(f))===f||!ue(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=Mr(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!ue(t,f))&&(delete o[f],c=!0)}c&&Pt(e.attrs,"set","")}function Vl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(jn(a))continue;const c=t[a];let u;r&&ue(r,u=$e(a))?!o||!o.includes(u)?n[u]=c:(l||(l={}))[u]=c:Ks(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,i=!0)}if(o){const a=ie(n),c=l||ge;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Mr(r,a,f,c[f],e,!ue(c,f))}}return i}function Mr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ue(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&q(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=ss(r);s=c[n]=a.call(null,t),u()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Yt(n))&&(s=!0))}return s}const _u=new WeakMap;function Fl(e,t,n=!1){const s=n?_u:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!q(e)){const u=f=>{a=!0;const[h,m]=Fl(f,t,!0);Ae(i,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return ae(e)&&s.set(e,vn),vn;if(U(o))for(let u=0;u<o.length;u++){const f=$e(o[u]);Uo(f)&&(i[f]=ge)}else if(o)for(const u in o){const f=$e(u);if(Uo(f)){const h=o[u],m=i[f]=U(h)||q(h)?{type:h}:Ae({},h),E=m.type;let x=!1,k=!0;if(U(E))for(let I=0;I<E.length;++I){const _=E[I],M=q(_)&&_.name;if(M==="Boolean"){x=!0;break}else M==="String"&&(k=!1)}else x=q(E)&&E.name==="Boolean";m[0]=x,m[1]=k,(x||ue(m,"default"))&&l.push(f)}}const c=[i,l];return ae(e)&&s.set(e,c),c}function Uo(e){return e[0]!=="$"&&!jn(e)}const lo=e=>e==="_"||e==="_ctx"||e==="$stable",ao=e=>U(e)?e.map(_t):[_t(e)],xu=(e,t,n)=>{if(t._n)return t;const s=Ye((...r)=>ao(t(...r)),n);return s._c=!1,s},jl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(lo(r))continue;const o=e[r];if(q(o))t[r]=xu(r,o,s);else if(o!=null){const i=ao(o);t[r]=()=>i}}},Bl=(e,t)=>{const n=ao(t);e.slots.default=()=>n},Gl=(e,t,n)=>{for(const s in t)(n||!lo(s))&&(e[s]=t[s])},wu=(e,t,n)=>{const s=e.slots=Dl();if(e.vnode.shapeFlag&32){const r=t._;r?(Gl(s,t,n),n&&$i(s,"_",r,!0)):jl(t,s)}else t&&Bl(e,t)},Su=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Gl(r,t,n):(o=!t.$stable,jl(t,r)),i=t}else t&&(Bl(e,t),i={default:1});if(o)for(const l in r)!lo(l)&&i[l]==null&&delete r[l]},je=Ru;function Eu(e){return Au(e)}function Au(e,t){const n=Ms();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:m=xt,insertStaticContent:E}=e,x=(d,p,g,y=null,w=null,b=null,O=void 0,P=null,R=!!p.dynamicChildren)=>{if(d===p)return;d&&!mn(d,p)&&(y=v(d),Ie(d,w,b,!0),d=null),p.patchFlag===-2&&(R=!1,p.dynamicChildren=null);const{type:S,ref:W,shapeFlag:D}=p;switch(S){case qs:k(d,p,g,y);break;case at:I(d,p,g,y);break;case cr:d==null&&_(p,g,y,O);break;case Pe:L(d,p,g,y,w,b,O,P,R);break;default:D&1?J(d,p,g,y,w,b,O,P,R):D&6?te(d,p,g,y,w,b,O,P,R):(D&64||D&128)&&S.process(d,p,g,y,w,b,O,P,R,H)}W!=null&&w?Hn(W,d&&d.ref,b,p||d,!p):W==null&&d&&d.ref!=null&&Hn(d.ref,null,b,d,!0)},k=(d,p,g,y)=>{if(d==null)s(p.el=l(p.children),g,y);else{const w=p.el=d.el;p.children!==d.children&&c(w,p.children)}},I=(d,p,g,y)=>{d==null?s(p.el=a(p.children||""),g,y):p.el=d.el},_=(d,p,g,y)=>{[d.el,d.anchor]=E(d.children,p,g,y,d.el,d.anchor)},M=({el:d,anchor:p},g,y)=>{let w;for(;d&&d!==p;)w=h(d),s(d,g,y),d=w;s(p,g,y)},T=({el:d,anchor:p})=>{let g;for(;d&&d!==p;)g=h(d),r(d),d=g;r(p)},J=(d,p,g,y,w,b,O,P,R)=>{if(p.type==="svg"?O="svg":p.type==="math"&&(O="mathml"),d==null)Y(p,g,y,w,b,O,P,R);else{const S=d.el&&d.el._isVueCE?d.el:null;try{S&&S._beginPatch(),N(d,p,w,b,O,P,R)}finally{S&&S._endPatch()}}},Y=(d,p,g,y,w,b,O,P)=>{let R,S;const{props:W,shapeFlag:D,transition:$,dirs:K}=d;if(R=d.el=i(d.type,b,W&&W.is,W),D&8?u(R,d.children):D&16&&C(d.children,R,null,y,w,ar(d,b),O,P),K&&Xt(d,null,y,"created"),j(R,d,d.scopeId,O,y),W){for(const me in W)me!=="value"&&!jn(me)&&o(R,me,null,W[me],b,y);"value"in W&&o(R,"value",null,W.value,b),(S=W.onVnodeBeforeMount)&&ht(S,y,d)}K&&Xt(d,null,y,"beforeMount");const oe=Cu(w,$);oe&&$.beforeEnter(R),s(R,p,g),((S=W&&W.onVnodeMounted)||oe||K)&&je(()=>{try{S&&ht(S,y,d),oe&&$.enter(R),K&&Xt(d,null,y,"mounted")}finally{}},w)},j=(d,p,g,y,w)=>{if(g&&m(d,g),y)for(let b=0;b<y.length;b++)m(d,y[b]);if(w){let b=w.subTree;if(p===b||Ul(b.type)&&(b.ssContent===p||b.ssFallback===p)){const O=w.vnode;j(d,O,O.scopeId,O.slotScopeIds,w.parent)}}},C=(d,p,g,y,w,b,O,P,R=0)=>{for(let S=R;S<d.length;S++){const W=d[S]=P?Tt(d[S]):_t(d[S]);x(null,W,p,g,y,w,b,O,P)}},N=(d,p,g,y,w,b,O)=>{const P=p.el=d.el;let{patchFlag:R,dynamicChildren:S,dirs:W}=p;R|=d.patchFlag&16;const D=d.props||ge,$=p.props||ge;let K;if(g&&Zt(g,!1),(K=$.onVnodeBeforeUpdate)&&ht(K,g,p,d),W&&Xt(p,d,g,"beforeUpdate"),g&&Zt(g,!0),S&&(!d.dynamicChildren||d.dynamicChildren.length!==S.length)&&(R=0,O=!1,S=null),(D.innerHTML&&$.innerHTML==null||D.textContent&&$.textContent==null)&&u(P,""),S?Z(d.dynamicChildren,S,P,g,y,ar(p,w),b):O||se(d,p,P,null,g,y,ar(p,w),b,!1),R>0){if(R&16)ne(P,D,$,g,w);else if(R&2&&D.class!==$.class&&o(P,"class",null,$.class,w),R&4&&o(P,"style",D.style,$.style,w),R&8){const oe=p.dynamicProps;for(let me=0;me<oe.length;me++){const he=oe[me],Ee=D[he],Ne=$[he];(Ne!==Ee||he==="value")&&o(P,he,Ee,Ne,w,g)}}R&1&&d.children!==p.children&&u(P,p.children)}else!O&&S==null&&ne(P,D,$,g,w);((K=$.onVnodeUpdated)||W)&&je(()=>{K&&ht(K,g,p,d),W&&Xt(p,d,g,"updated")},y)},Z=(d,p,g,y,w,b,O)=>{for(let P=0;P<p.length;P++){const R=d[P],S=p[P],W=R.el&&(R.type===Pe||!mn(R,S)||R.shapeFlag&198)?f(R.el):g;x(R,S,W,null,y,w,b,O,!0)}},ne=(d,p,g,y,w)=>{if(p!==g){if(p!==ge)for(const b in p)!jn(b)&&!(b in g)&&o(d,b,p[b],null,w,y);for(const b in g){if(jn(b))continue;const O=g[b],P=p[b];O!==P&&b!=="value"&&o(d,b,P,O,w,y)}"value"in g&&o(d,"value",p.value,g.value,w)}},L=(d,p,g,y,w,b,O,P,R)=>{const S=p.el=d?d.el:l(""),W=p.anchor=d?d.anchor:l("");let{patchFlag:D,dynamicChildren:$,slotScopeIds:K}=p;K&&(P=P?P.concat(K):K),d==null?(s(S,g,y),s(W,g,y),C(p.children||[],g,W,w,b,O,P,R)):D>0&&D&64&&$&&d.dynamicChildren&&d.dynamicChildren.length===$.length?(Z(d.dynamicChildren,$,g,w,b,O,P),(p.key!=null||w&&p===w.subTree)&&co(d,p,!0)):se(d,p,g,W,w,b,O,P,R)},te=(d,p,g,y,w,b,O,P,R)=>{p.slotScopeIds=P,d==null?p.shapeFlag&512?w.ctx.activate(p,g,y,O,R):be(p,g,y,w,b,O,R):Se(d,p,R)},be=(d,p,g,y,w,b,O)=>{const P=d.component=Nu(d,y,w);if(Cl(d)&&(P.ctx.renderer=H),Mu(P,!1,O),P.asyncDep){if(w&&w.registerDep(P,re,O),!d.el){const R=P.subTree=de(at);I(null,R,p,g),d.placeholder=R.el}}else re(P,d,p,g,w,b,O)},Se=(d,p,g)=>{const y=p.component=d.component;if(gu(d,p,g))if(y.asyncDep&&!y.asyncResolved){ee(y,p,g);return}else y.next=p,y.update();else p.el=d.el,y.vnode=p},re=(d,p,g,y,w,b,O)=>{const P=()=>{if(d.isMounted){let{next:D,bu:$,u:K,parent:oe,vnode:me}=d;{const dt=Hl(d);if(dt){D&&(D.el=me.el,ee(d,D,O)),dt.asyncDep.then(()=>{je(()=>{d.isUnmounted||S()},w)});return}}let he=D,Ee;Zt(d,!1),D?(D.el=me.el,ee(d,D,O)):D=me,$&&tr($),(Ee=D.props&&D.props.onVnodeBeforeUpdate)&&ht(Ee,oe,D,me),Zt(d,!0);const Ne=Ho(d),ft=d.subTree;d.subTree=Ne,x(ft,Ne,f(ft.el),v(ft),d,w,b),D.el=Ne.el,he===null&&bu(d,Ne.el),K&&je(K,w),(Ee=D.props&&D.props.onVnodeUpdated)&&je(()=>ht(Ee,oe,D,me),w)}else{let D;const{el:$,props:K}=p,{bm:oe,m:me,parent:he,root:Ee,type:Ne}=d,ft=xn(p);Zt(d,!1),oe&&tr(oe),!ft&&(D=K&&K.onVnodeBeforeMount)&&ht(D,he,p),Zt(d,!0);{Ee.ce&&Ee.ce._hasShadowRoot()&&Ee.ce._injectChildStyle(Ne,d.parent?d.parent.type:void 0);const dt=d.subTree=Ho(d);x(null,dt,g,y,d,w,b),p.el=dt.el}if(me&&je(me,w),!ft&&(D=K&&K.onVnodeMounted)){const dt=p;je(()=>ht(D,he,dt),w)}(p.shapeFlag&256||he&&xn(he.vnode)&&he.vnode.shapeFlag&256)&&d.a&&je(d.a,w),d.isMounted=!0,p=g=y=null}};d.scope.on();const R=d.effect=new Qi(P);d.scope.off();const S=d.update=R.run.bind(R),W=d.job=R.runIfDirty.bind(R);W.i=d,W.id=d.uid,R.scheduler=()=>so(W),Zt(d,!0),S()},ee=(d,p,g)=>{p.component=d;const y=d.vnode.props;d.vnode=p,d.next=null,yu(d,p.props,y,g),Su(d,p.children,g),Lt(),Mo(d),Dt()},se=(d,p,g,y,w,b,O,P,R=!1)=>{const S=d&&d.children,W=d?d.shapeFlag:0,D=p.children,{patchFlag:$,shapeFlag:K}=p;if($>0){if($&128){G(S,D,g,y,w,b,O,P,R);return}else if($&256){Ke(S,D,g,y,w,b,O,P,R);return}}K&8?(W&16&&pe(S,w,b),D!==S&&u(g,D)):W&16?K&16?G(S,D,g,y,w,b,O,P,R):pe(S,w,b,!0):(W&8&&u(g,""),K&16&&C(D,g,y,w,b,O,P,R))},Ke=(d,p,g,y,w,b,O,P,R)=>{d=d||vn,p=p||vn;const S=d.length,W=p.length,D=Math.min(S,W);let $;for($=0;$<D;$++){const K=p[$]=R?Tt(p[$]):_t(p[$]);x(d[$],K,g,null,w,b,O,P,R)}S>W?pe(d,w,b,!0,!1,D):C(p,g,y,w,b,O,P,R,D)},G=(d,p,g,y,w,b,O,P,R)=>{let S=0;const W=p.length;let D=d.length-1,$=W-1;for(;S<=D&&S<=$;){const K=d[S],oe=p[S]=R?Tt(p[S]):_t(p[S]);if(mn(K,oe))x(K,oe,g,null,w,b,O,P,R);else break;S++}for(;S<=D&&S<=$;){const K=d[D],oe=p[$]=R?Tt(p[$]):_t(p[$]);if(mn(K,oe))x(K,oe,g,null,w,b,O,P,R);else break;D--,$--}if(S>D){if(S<=$){const K=$+1,oe=K<W?p[K].el:y;for(;S<=$;)x(null,p[S]=R?Tt(p[S]):_t(p[S]),g,oe,w,b,O,P,R),S++}}else if(S>$)for(;S<=D;)Ie(d[S],w,b,!0),S++;else{const K=S,oe=S,me=new Map;for(S=oe;S<=$;S++){const Je=p[S]=R?Tt(p[S]):_t(p[S]);Je.key!=null&&me.set(Je.key,S)}let he,Ee=0;const Ne=$-oe+1;let ft=!1,dt=0;const Tn=new Array(Ne);for(S=0;S<Ne;S++)Tn[S]=0;for(S=K;S<=D;S++){const Je=d[S];if(Ee>=Ne){Ie(Je,w,b,!0);continue}let pt;if(Je.key!=null)pt=me.get(Je.key);else for(he=oe;he<=$;he++)if(Tn[he-oe]===0&&mn(Je,p[he])){pt=he;break}pt===void 0?Ie(Je,w,b,!0):(Tn[pt-oe]=S+1,pt>=dt?dt=pt:ft=!0,x(Je,p[pt],g,null,w,b,O,P,R),Ee++)}const Co=ft?ku(Tn):vn;for(he=Co.length-1,S=Ne-1;S>=0;S--){const Je=oe+S,pt=p[Je],ko=p[Je+1],Ro=Je+1<W?ko.el||$l(ko):y;Tn[S]===0?x(null,pt,g,Ro,w,b,O,P,R):ft&&(he<0||S!==Co[he]?qe(pt,g,Ro,2):he--)}}},qe=(d,p,g,y,w=null)=>{const{el:b,type:O,transition:P,children:R,shapeFlag:S}=d;if(S&6){qe(d.component.subTree,p,g,y);return}if(S&128){d.suspense.move(p,g,y);return}if(S&64){O.move(d,p,g,H);return}if(O===Pe){s(b,p,g);for(let D=0;D<R.length;D++)qe(R[D],p,g,y);s(d.anchor,p,g);return}if(O===cr){M(d,p,g);return}if(y!==2&&S&1&&P)if(y===0)P.persisted&&!b[vt]?s(b,p,g):(P.beforeEnter(b),s(b,p,g),je(()=>P.enter(b),w));else{const{leave:D,delayLeave:$,afterLeave:K}=P,oe=()=>{d.ctx.isUnmounted?r(b):s(b,p,g)},me=()=>{const he=b._isLeaving||!!b[vt];b._isLeaving&&b[vt](!0),P.persisted&&!he?oe():D(b,()=>{oe(),K&&K()})};$?$(b,oe,me):me()}else s(b,p,g)},Ie=(d,p,g,y=!1,w=!1)=>{const{type:b,props:O,ref:P,children:R,dynamicChildren:S,shapeFlag:W,patchFlag:D,dirs:$,cacheIndex:K,memo:oe}=d;if(D===-2&&(w=!1),P!=null&&(Lt(),Hn(P,null,g,d,!0),Dt()),K!=null&&(p.renderCache[K]=void 0),W&256){p.ctx.deactivate(d);return}const me=W&1&&$,he=!xn(d);let Ee;if(he&&(Ee=O&&O.onVnodeBeforeUnmount)&&ht(Ee,p,d),W&6)_e(d.component,g,y);else{if(W&128){d.suspense.unmount(g,y);return}me&&Xt(d,null,p,"beforeUnmount"),W&64?d.type.remove(d,p,g,H,y):S&&!S.hasOnce&&(b!==Pe||D>0&&D&64)?pe(S,p,g,!1,!0):(b===Pe&&D&384||!w&&W&16)&&pe(R,p,g),y&&St(d)}const Ne=oe!=null&&K==null;(he&&(Ee=O&&O.onVnodeUnmounted)||me||Ne)&&je(()=>{Ee&&ht(Ee,p,d),me&&Xt(d,null,p,"unmounted"),Ne&&(d.el=null)},g)},St=d=>{const{type:p,el:g,anchor:y,transition:w}=d;if(p===Pe){ut(g,y);return}if(p===cr){T(d);return}const b=()=>{r(g),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:O,delayLeave:P}=w,R=()=>O(g,b);P?P(d.el,b,R):R()}else b()},ut=(d,p)=>{let g;for(;d!==p;)g=h(d),r(d),d=g;r(p)},_e=(d,p,g)=>{const{bum:y,scope:w,job:b,subTree:O,um:P,m:R,a:S}=d;Wo(R),Wo(S),y&&tr(y),w.stop(),b&&(b.flags|=8,Ie(O,d,p,g)),P&&je(P,p),je(()=>{d.isUnmounted=!0},p)},pe=(d,p,g,y=!1,w=!1,b=0)=>{for(let O=b;O<d.length;O++)Ie(d[O],p,g,y,w)},v=d=>{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),g=p&&p[Sl];return g?h(g):p};let z=!1;const A=(d,p,g)=>{let y;d==null?p._vnode&&(Ie(p._vnode,null,null,!0),y=p._vnode.component):x(p._vnode||null,d,p,null,null,null,g),p._vnode=d,z||(z=!0,Mo(y),yl(),z=!1)},H={p:x,um:Ie,m:qe,r:St,mt:be,mc:C,pc:se,pbc:Z,n:v,o:e};return{render:A,hydrate:void 0,createApp:uu(A)}}function ar({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 Zt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Cu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function co(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Tt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&co(i,l)),l.type===qs&&(l.patchFlag===-1&&(l=r[o]=Tt(l)),l.el=i.el),l.type===at&&!l.el&&(l.el=i.el)}}function ku(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<c?o=l+1:i=l;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Hl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hl(t)}function Wo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function $l(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?$l(t.subTree):null}const Ul=e=>e.__isSuspense;function Ru(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):Lc(e)}const Pe=Symbol.for("v-fgt"),qs=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),cr=Symbol.for("v-stc"),Mt=[];let He=null;function fe(e=!1){Mt.push(He=e?null:[])}function uo(){Mt.pop(),He=Mt[Mt.length-1]||null}let An=1;function xs(e,t=!1){An+=e,e<0&&He&&t&&(He.hasOnce=!0)}function Wl(e){return e.dynamicChildren=An>0?He||vn:null,uo(),An>0&&He&&He.push(e),e}function Qe(e,t,n,s,r,o){return Wl(le(e,t,n,s,r,o,!0))}function ze(e,t,n,s,r){return Wl(de(e,t,n,s,r,!0))}function Qn(e){return e?e.__v_isVNode===!0:!1}function mn(e,t){return e.type===t.type&&e.key===t.key}const Kl=({key:e})=>e??null,ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||Oe(e)||q(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,s=0,r=null,o=e===Pe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kl(t),ref:t&&ps(t),scopeId:xl,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Me};return l?(Ss(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ye(n)?8:16),An>0&&!i&&He&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&He.push(a),a}const de=Tu;function Tu(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Rl)&&(e=at),Qn(e)){const l=Jt(e,t,!0);return n&&Ss(l,n),An>0&&!o&&He&&(l.shapeFlag&6?He[He.indexOf(e)]=l:He.push(l)),l.patchFlag=-2,l}if(Fu(e)&&(e=e.__vccOpts),t){t=Pu(t);let{class:l,style:a}=t;l&&!ye(l)&&(t.class=Ue(l)),ae(a)&&(Bs(a)&&!U(a)&&(a=Ae({},a)),t.style=Ls(a))}const i=ye(e)?1:Ul(e)?128:Fc(e)?64:ae(e)?4:q(e)?2:0;return le(e,t,n,s,r,i,o,!0)}function Pu(e){return e?Bs(e)||zl(e)?Ae({},e):e:null}function Jt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,c=t?fo(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Kl(c),ref:t&&t.ref?n&&o?U(o)?o.concat(ps(t)):[o,ps(t)]:ps(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Yn(u,a.clone(u)),u}function Sn(e=" ",t=0){return de(qs,null,e,t)}function ws(e="",t=!1){return t?(fe(),ze(at,null,e)):de(at,null,e)}function _t(e){return e==null||typeof e=="boolean"?de(at):U(e)?de(Pe,null,e.slice()):Qn(e)?Tt(e):de(qs,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function Ss(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ss(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!zl(t)?t._ctx=Me:r===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(q(t)){if(s&65){Ss(e,{default:t});return}t={default:t,_ctx:Me},n=32}else t=String(t),s&64?(n=16,t=[Sn(t)]):n=8;e.children=t,e.shapeFlag|=n}function fo(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ue([t.class,s.class]));else if(r==="style")t.style=Ls([t.style,s.style]);else if(Ts(r)){const o=t[r],i=s[r];i&&o!==i&&!(U(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Ps(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function ht(e,t,n,s=null){nt(e,t,7,[n,s])}const Ou=Il();let Iu=0;function Nu(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Ou,o={uid:Iu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fl(s,r),emitsOptions:Nl(s,r),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:s.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=du.bind(null,o),e.ce&&e.ce(o),o}let Ve=null;const fn=()=>Ve||Me;let Es,Lr;{const e=Ms(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Es=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Lr=t("__VUE_SSR_SETTERS__",n=>Xn=n)}const ss=e=>{const t=Ve;return Es(e),e.scope.on(),()=>{e.scope.off(),Es(t)}},Ko=()=>{Ve&&Ve.scope.off(),Es(null)};function ql(e){return e.vnode.shapeFlag&4}let Xn=!1;function Mu(e,t=!1,n=!1){t&&Lr(t);const{props:s,children:r}=e.vnode,o=ql(e);vu(e,s,o,t),wu(e,r,n||t);const i=o?Lu(e,t):void 0;return t&&Lr(!1),i}function Lu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,su);const{setup:s}=n;if(s){Lt();const r=e.setupContext=s.length>1?zu(e):null,o=ss(e),i=ns(s,e,0,[e.props,r]),l=Bi(i);if(Dt(),o(),(l||e.sp)&&!xn(e)&&Al(e),l){if(i.then(Ko,Ko),t)return i.then(a=>{qo(e,a)}).catch(a=>{Gs(a,e,0)});e.asyncDep=i}else qo(e,i)}else Jl(e)}function qo(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=ml(t)),Jl(e)}function Jl(e,t,n){const s=e.type;e.render||(e.render=s.render||xt);{const r=ss(e);Lt();try{ru(e)}finally{Dt(),r()}}}const Du={get(e,t){return De(e,"get",""),e[t]}};function zu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Du),slots:e.slots,emit:e.emit,expose:t}}function Js(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ml(xc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $n)return $n[n](e)},has(t,n){return n in t||n in $n}})):e.proxy}function Vu(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Fu(e){return q(e)&&"__vccOpts"in e}const we=(e,t)=>Pc(e,t,Xn);function qt(e,t,n){try{xs(-1);const s=arguments.length;return s===2?ae(t)&&!U(t)?Qn(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Qn(n)&&(n=[n]),de(e,t,n))}finally{xs(1)}}function mm(e,t,n,s){const r=n[s];if(r&&ju(r,e))return r;const o=t();return o.memo=e.slice(),o.cacheIndex=s,n[s]=o}function ju(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(rt(n[s],t[s]))return!1;return An>0&&He&&He.push(e),!0}const Bu="3.5.40";/**
|
||
* @vue/runtime-dom v3.5.40
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Dr;const Jo=typeof window<"u"&&window.trustedTypes;if(Jo)try{Dr=Jo.createPolicy("vue",{createHTML:e=>e})}catch{}const Yl=Dr?e=>Dr.createHTML(e):e=>e,Gu="http://www.w3.org/2000/svg",Hu="http://www.w3.org/1998/Math/MathML",Rt=typeof document<"u"?document:null,Yo=Rt&&Rt.createElement("template"),$u={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Rt.createElementNS(Gu,e):t==="mathml"?Rt.createElementNS(Hu,e):n?Rt.createElement(e,{is:n}):Rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Rt.createTextNode(e),createComment:e=>Rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Yo.innerHTML=Yl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Yo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jt="transition",In="animation",Cn=Symbol("_vtc"),Ql={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},Uu=Ae({},$c,Ql),en=(e,t=[])=>{U(e)?e.forEach(n=>n(...t)):e&&e(...t)},Qo=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function Wu(e){const t={};for(const L in e)L in Ql||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,E=Ku(r),x=E&&E[0],k=E&&E[1],{onBeforeEnter:I,onEnter:_,onEnterCancelled:M,onLeave:T,onLeaveCancelled:J,onBeforeAppear:Y=I,onAppear:j=_,onAppearCancelled:C=M}=t,N=(L,te,be,Se)=>{L._enterCancelled=Se,$t(L,te?u:l),$t(L,te?c:i),be&&be()},Z=(L,te)=>{L._isLeaving=!1,$t(L,f),$t(L,m),$t(L,h),te&&te()},ne=L=>(te,be)=>{const Se=L?j:_,re=()=>N(te,L,be);en(Se,[te,re]),Xo(()=>{$t(te,L?a:o),gt(te,L?u:l),Qo(Se)||Zo(te,s,x,re)})};return Ae(t,{onBeforeEnter(L){en(I,[L]),gt(L,o),gt(L,i)},onBeforeAppear(L){en(Y,[L]),gt(L,a),gt(L,c)},onEnter:ne(!1),onAppear:ne(!0),onLeave(L,te){L._isLeaving=!0;const be=()=>Z(L,te);gt(L,f),L._enterCancelled?(gt(L,h),zr(L)):(zr(L),gt(L,h)),Xo(()=>{L._isLeaving&&($t(L,f),gt(L,m),Qo(T)||Zo(L,s,k,be))}),en(T,[L,be])},onEnterCancelled(L){N(L,!1,void 0,!0),en(M,[L])},onAppearCancelled(L){N(L,!0,void 0,!0),en(C,[L])},onLeaveCancelled(L){Z(L),en(J,[L])}})}function Ku(e){if(e==null)return null;if(ae(e))return[ur(e.enter),ur(e.leave)];{const t=ur(e);return[t,t]}}function ur(e){return qa(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Cn]||(e[Cn]=new Set)).add(t)}function $t(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Cn];n&&(n.delete(t),n.size||(e[Cn]=void 0))}function Xo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qu=0;function Zo(e,t,n,s){const r=e._endId=++qu,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Xl(e,t);if(!i)return s();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,h),o()},h=m=>{m.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,h)}function Xl(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${jt}Delay`),o=s(`${jt}Duration`),i=ei(r,o),l=s(`${In}Delay`),a=s(`${In}Duration`),c=ei(l,a);let u=null,f=0,h=0;t===jt?i>0&&(u=jt,f=i,h=o.length):t===In?c>0&&(u=In,f=c,h=a.length):(f=Math.max(i,c),u=f>0?i>c?jt:In:null,h=u?u===jt?o.length:a.length:0);const m=u===jt&&/\b(?:transform|all)(?:,|$)/.test(s(`${jt}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:m}}function ei(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ti(n)+ti(e[s])))}function ti(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function zr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ju(e,t,n){const s=e[Cn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const As=Symbol("_vod"),po=Symbol("_vsh"),gm={name:"show",beforeMount(e,{value:t},{transition:n}){e[As]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Nn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Nn(e,!0),s.enter(e)):s.leave(e,()=>{Nn(e,!1)}):Nn(e,t))},beforeUnmount(e,{value:t}){Nn(e,t)}};function Nn(e,t){e.style.display=t?e[As]:"none",e[po]=!t}const Yu=Symbol(""),Qu=/(?:^|;)\s*display\s*:/;function Xu(e,t,n){const s=e.style,r=ye(n);let o=!1;if(n&&!r){if(t)if(ye(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Fn(s,l,"")}else for(const i in t)n[i]==null&&Fn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?ef(e,i,!ye(t)&&t?t[i]:void 0,l)||Fn(s,i,l):Fn(s,i,"")}}else if(r){if(t!==n){const i=s[Yu];i&&(n+=";"+i),s.cssText=n,o=Qu.test(n)}}else t&&e.removeAttribute("style");As in e&&(e[As]=o?s.display:"",e[po]&&(s.display="none"))}const ni=/\s*!important$/;function Fn(e,t,n){if(U(n))n.forEach(s=>Fn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Zu(e,t);ni.test(n)?e.setProperty(Yt(s),n.replace(ni,""),"important"):e[s]=n}}const si=["Webkit","Moz","ms"],fr={};function Zu(e,t){const n=fr[t];if(n)return n;let s=$e(t);if(s!=="filter"&&s in e)return fr[t]=s;s=Ns(s);for(let r=0;r<si.length;r++){const o=si[r]+s;if(o in e)return fr[t]=o}return t}function ef(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ye(s)&&n===s}const ri="http://www.w3.org/1999/xlink";function oi(e,t,n,s,r,o=ec(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ri,t.slice(6,t.length)):e.setAttributeNS(ri,t,n):n==null||o&&!Ui(n)?e.removeAttribute(t):e.setAttribute(t,o?"":et(n)?String(n):n)}function ii(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Yl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ui(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function tf(e,t,n,s){e.addEventListener(t,n,s)}function nf(e,t,n,s){e.removeEventListener(t,n,s)}const li=Symbol("_vei");function sf(e,t,n,s,r=null){const o=e[li]||(e[li]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=lf(t);if(s){const c=o[t]=uf(s,r);tf(e,l,c,a)}else i&&(nf(e,l,i,a),o[t]=void 0)}}const rf=/(Once|Passive|Capture)$/,of=/^on:?(?:Once|Passive|Capture)$/;function lf(e){let t,n;for(;(n=e.match(rf))&&!of.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let dr=0;const af=Promise.resolve(),cf=()=>dr||(af.then(()=>dr=0),dr=Date.now());function uf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(U(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let a=0;a<i.length&&!s._stopped;a++){const c=i[a];c&&nt(c,t,5,l)}}else nt(r,t,5,[s])};return n.value=e,n.attached=cf(),n}const ai=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ff=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ju(e,s,i):t==="style"?Xu(e,n,s):Ts(t)?Ps(t)||sf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):df(e,t,s,i))?(ii(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&oi(e,t,s,i,o,t!=="value")):e._isVueCE&&(pf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ye(s)))?ii(e,$e(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),oi(e,t,s,i))};function df(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ai(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ai(t)&&ye(n)?!1:t in e}function pf(e,t){const n=e._def.props;if(!n)return!1;const s=$e(t);return Array.isArray(n)?n.some(r=>$e(r)===s):Object.keys(n).some(r=>$e(r)===s)}const Zl=new WeakMap,ea=new WeakMap,Cs=Symbol("_moveCb"),ci=Symbol("_enterCb"),hf=e=>(delete e.props.mode,e),mf=hf({name:"TransitionGroup",props:Ae({},Uu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=fn(),s=Hc();let r,o;return ro(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!_f(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(bf),r.forEach(vf);const l=r.filter(yf);zr(n.vnode.el),l.forEach(a=>{const c=a.el,u=c.style;gt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Cs]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[Cs]=null,$t(c,i))};c.addEventListener("transitionend",f)}),r=[]}),()=>{const i=ie(e),l=Wu(i);let a=i.tag||Pe;if(r=[],o)for(let c=0;c<o.length;c++){const u=o[c];u.el&&u.el instanceof Element&&!u.el[po]&&(r.push(u),Yn(u,Rr(u,l,s,n)),Zl.set(u,ta(u.el)))}o=t.default?El(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&Yn(u,Rr(u,l,s,n))}return de(a,null,o)}}}),gf=mf;function bf(e){const t=e.el;t[Cs]&&t[Cs](),t[ci]&&t[ci]()}function vf(e){ea.set(e,ta(e.el))}function yf(e){const t=Zl.get(e),n=ea.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el,i=o.style,l=o.getBoundingClientRect();let a=1,c=1;return o.offsetWidth&&(a=l.width/o.offsetWidth),o.offsetHeight&&(c=l.height/o.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(a-1)<.01&&(a=1),Math.abs(c-1)<.01&&(c=1),i.transform=i.webkitTransform=`translate(${s/a}px,${r/c}px)`,i.transitionDuration="0s",e}}function ta(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function _f(e,t,n){const s=e.cloneNode(),r=e[Cn];r&&r.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Xl(s);return o.removeChild(s),i}const xf=["ctrl","shift","alt","meta"],wf={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)=>xf.some(n=>e[`${n}Key`]&&!t.includes(n))},Sf=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=wf[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Ef={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=Yt(r.key);if(t.some(i=>i===o||Ef[i]===o))return e(r)}))},Af=Ae({patchProp:ff},$u);let ui;function Cf(){return ui||(ui=Eu(Af))}const kf=((...e)=>{const t=Cf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Tf(s);if(!r)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Rf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Rf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tf(e){return ye(e)?document.querySelector(e):e}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const gn=typeof document<"u";function na(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&na(e.default)}const ce=Object.assign;function pr(e,t){const n={};for(const s in t){const r=t[s];n[s]=ct(r)?r.map(e):e(r)}return n}const Un=()=>{},ct=Array.isArray;function fi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const sa=/#/g,Of=/&/g,If=/\//g,Nf=/=/g,Mf=/\?/g,ra=/\+/g,Lf=/%5B/g,Df=/%5D/g,oa=/%5E/g,zf=/%60/g,ia=/%7B/g,Vf=/%7C/g,la=/%7D/g,Ff=/%20/g;function ho(e){return e==null?"":encodeURI(""+e).replace(Vf,"|").replace(Lf,"[").replace(Df,"]")}function jf(e){return ho(e).replace(ia,"{").replace(la,"}").replace(oa,"^")}function Vr(e){return ho(e).replace(ra,"%2B").replace(Ff,"+").replace(sa,"%23").replace(Of,"%26").replace(zf,"`").replace(ia,"{").replace(la,"}").replace(oa,"^")}function Bf(e){return Vr(e).replace(Nf,"%3D")}function Gf(e){return ho(e).replace(sa,"%23").replace(Mf,"%3F")}function Hf(e){return Gf(e).replace(If,"%2F")}function Zn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $f=/\/$/,Uf=e=>e.replace($f,"");function hr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Jf(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Zn(i)}}function Wf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function di(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&kn(t.matched[s],n.matched[r])&&aa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function aa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!qf(e[n],t[n]))return!1;return!0}function qf(e,t){return ct(e)?pi(e,t):ct(t)?pi(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function pi(e,t){return ct(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Jf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Fr=(function(e){return e.pop="pop",e.push="push",e})({}),mr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Yf(e){if(!e)if(gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uf(e)}const Qf=/^[^#]+#/;function Xf(e,t){return e.replace(Qf,"#")+t}function Zf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ys=()=>({left:window.scrollX,top:window.scrollY});function ed(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Zf(r,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 hi(e,t){return(history.state?history.state.position-t:-1)+e}const jr=new Map;function td(e,t){jr.set(e,t)}function nd(e){const t=jr.get(e);return jr.delete(e),t}function sd(e){return typeof e=="string"||e&&typeof e=="object"}function ca(e){return typeof e=="string"||typeof e=="symbol"}let xe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const ua=Symbol("");xe.MATCHER_NOT_FOUND+"",xe.NAVIGATION_GUARD_REDIRECT+"",xe.NAVIGATION_ABORTED+"",xe.NAVIGATION_CANCELLED+"",xe.NAVIGATION_DUPLICATED+"";function Rn(e,t){return ce(new Error,{type:e,[ua]:!0},t)}function At(e,t){return e instanceof Error&&ua in e&&(t==null||!!(e.type&t))}const rd=["params","query","hash"];function od(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of rd)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function id(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(ra," "),o=r.indexOf("="),i=Zn(o<0?r:r.slice(0,o)),l=o<0?null:Zn(r.slice(o+1));if(i in t){let a=t[i];ct(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function mi(e){let t="";for(let n in e){const s=e[n];if(n=Bf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ct(s)?s.map(r=>r&&Vr(r)):[s&&Vr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ld(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ct(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const ad=Symbol(""),gi=Symbol(""),Qs=Symbol(""),mo=Symbol(""),Br=Symbol("");function Mn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Wt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=h=>{h===!1?a(Rn(xe.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):sd(h)?a(Rn(xe.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},u=o(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>a(h))})}function gr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(na(a)){const c=(a.__vccOpts||a)[t];c&&o.push(Wt(c,n,s,i,l,r))}else{let c=a();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Pf(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&Wt(h,n,s,i,l,r)()}))}}return o}function cd(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(c=>kn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>kn(c,a))||r.push(a))}return[n,s,r]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let ud=()=>location.protocol+"//"+location.host;function fa(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),di(l,"")}return di(n,e)+s+r}function fd(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const m=fa(e,location),E=n.value,x=t.value;let k=0;if(h){if(n.value=m,t.value=h,i&&i===E){i=null;return}k=x?h.position-x.position:0}else s(m);r.forEach(I=>{I(n.value,E,{delta:k,type:Fr.pop,direction:k?k>0?mr.forward:mr.back:mr.unknown})})};function a(){i=n.value}function c(h){r.push(h);const m=()=>{const E=r.indexOf(h);E>-1&&r.splice(E,1)};return o.push(m),m}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(ce({},h.state,{scroll:Ys()}),"")}}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,listen:c,destroy:f}}function bi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ys():null}}function dd(e){const{history:t,location:n}=window,s={value:fa(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:ud()+e+a;try{t[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](h)}}function i(a,c){o(a,ce({},t.state,bi(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=ce({},r.value,t.state,{forward:a,scroll:Ys()});o(u.current,u,!0),o(a,ce({},bi(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function pd(e){e=Yf(e);const t=dd(e),n=fd(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ce({location:"",base:e,go:s,createHref:Xf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let rn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ke=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ke||{});const hd={type:rn.Static,value:""},md=/[a-zA-Z0-9_]/;function gd(e){if(!e)return[[]];if(e==="/")return[[hd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=ke.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===ke.Static?o.push({type:rn.Static,value:c}):n===ke.Param||n===ke.ParamRegExp||n===ke.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:rn.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==ke.ParamRegExp){s=n,n=ke.EscapeNext;continue}switch(n){case ke.Static:a==="/"?(c&&f(),i()):a===":"?(f(),n=ke.Param):h();break;case ke.EscapeNext:h(),n=s;break;case ke.Param:a==="("?n=ke.ParamRegExp:md.test(a)?h():(f(),n=ke.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case ke.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=ke.ParamRegExpEnd:u+=a;break;case ke.ParamRegExpEnd:f(),n=ke.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===ke.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}const vi="[^/]+?",bd={sensitive:!1,strict:!1,start:!0,end:!0};var Be=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Be||{});const vd=/[.+*?^${}()[\]/\\]/g;function yd(e,t){const n=ce({},bd,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[Be.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let m=Be.Segment+(n.sensitive?Be.BonusCaseSensitive:0);if(h.type===rn.Static)f||(r+="/"),r+=h.value.replace(vd,"\\$&"),m+=Be.Static;else if(h.type===rn.Param){const{value:E,repeatable:x,optional:k,regexp:I}=h;o.push({name:E,repeatable:x,optional:k});const _=I||vi;if(_!==vi){m+=Be.BonusCustomRegExp;try{`${_}`}catch(T){throw new Error(`Invalid custom RegExp for param "${E}" (${_}): `+T.message)}}let M=x?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(M=k&&c.length<2?`(?:/${M})`:"/"+M),k&&(M+="?"),r+=M,m+=Be.Dynamic,k&&(m+=Be.BonusOptional),x&&(m+=Be.BonusRepeatable),_===".*"&&(m+=Be.BonusWildcard)}u.push(m)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Be.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let h=1;h<u.length;h++){const m=u[h]||"",E=o[h-1];f[E.name]=m&&E.repeatable?m.split("/"):m}return f}function a(c){let u="",f=!1;for(const h of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const m of h)if(m.type===rn.Static)u+=m.value;else if(m.type===rn.Param){const{value:E,repeatable:x,optional:k}=m,I=E in c?c[E]:"";if(ct(I)&&!x)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const _=ct(I)?I.join("/"):I;if(!_)if(k)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${E}"`);u+=_}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function _d(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Be.Static+Be.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Be.Static+Be.Segment?1:-1:0}function da(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=_d(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(yi(s))return 1;if(yi(r))return-1}return r.length-s.length}function yi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xd={strict:!1,end:!0,sensitive:!1};function wd(e,t,n){const s=yd(gd(e.path),n),r=ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Sd(e,t){const n=[],s=new Map;t=fi(xd,t);function r(f){return s.get(f)}function o(f,h,m){const E=!m,x=xi(f);x.aliasOf=m&&m.record;const k=fi(t,f),I=[x];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const J of T)I.push(xi(ce({},x,{components:m?m.record.components:x.components,path:J,aliasOf:m?m.record:x})))}let _,M;for(const T of I){const{path:J}=T;if(h&&J[0]!=="/"){const Y=h.record.path,j=Y[Y.length-1]==="/"?"":"/";T.path=h.record.path+(J&&j+J)}if(_=wd(T,h,k),m?m.alias.push(_):(M=M||_,M!==_&&M.alias.push(_),E&&f.name&&!wi(_)&&i(f.name)),pa(_)&&a(_),x.children){const Y=x.children;for(let j=0;j<Y.length;j++)o(Y[j],_,m&&m.children[j])}m=m||_}return M?()=>{i(M)}:Un}function i(f){if(ca(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const h=Cd(f,n);n.splice(h,0,f),f.record.name&&!wi(f)&&s.set(f.record.name,f)}function c(f,h){let m,E={},x,k;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw Rn(xe.MATCHER_NOT_FOUND,{location:f});k=m.record.name,E=ce(_i(h.params,m.keys.filter(M=>!M.optional).concat(m.parent?m.parent.keys.filter(M=>M.optional):[]).map(M=>M.name)),f.params&&_i(f.params,m.keys.map(M=>M.name))),x=m.stringify(E)}else if(f.path!=null)x=f.path,m=n.find(M=>M.re.test(x)),m&&(E=m.parse(x),k=m.record.name);else{if(m=h.name?s.get(h.name):n.find(M=>M.re.test(h.path)),!m)throw Rn(xe.MATCHER_NOT_FOUND,{location:f,currentLocation:h});k=m.record.name,E=ce({},h.params,f.params),x=m.stringify(E)}const I=[];let _=m;for(;_;)I.unshift(_.record),_=_.parent;return{name:k,path:x,params:E,matched:I,meta:Ad(I)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function _i(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function xi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ed(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 Ed(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function wi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ad(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Cd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;da(e,t[o])<0?s=o:n=o+1}const r=kd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function kd(e){let t=e;for(;t=t.parent;)if(pa(t)&&da(e,t)===0)return t}function pa({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Si(e){const t=it(Qs),n=it(mo),s=we(()=>{const a=B(e.to);return t.resolve(a)}),r=we(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(kn.bind(null,u));if(h>-1)return h;const m=Ei(a[c-2]);return c>1&&Ei(u)===m&&f[f.length-1].path!==m?f.findIndex(kn.bind(null,a[c-2])):h}),o=we(()=>r.value>-1&&Od(n.params,s.value.params)),i=we(()=>r.value>-1&&r.value===n.matched.length-1&&aa(n.params,s.value.params));function l(a={}){if(Pd(a)){const c=t[B(e.replace)?"replace":"push"](B(e.to)).catch(Un);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Rd(e){return e.length===1?e[0]:e}const Td=We({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"},viewTransition:Boolean},useLink:Si,setup(e,{slots:t}){const n=Fs(Si(e)),{options:s}=it(Qs),r=we(()=>({[Ai(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ai(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Rd(t.default(n));return e.custom?o:qt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Gr=Td;function Pd(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 Od(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ct(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Ei(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ai=(e,t,n)=>e??t??n,Id=We({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=it(Br),r=we(()=>e.route||s.value),o=it(gi,0),i=we(()=>{let c=B(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=we(()=>r.value.matched[i.value]);ds(gi,we(()=>i.value+1)),ds(ad,l),ds(Br,r);const a=Ze();return Nt(()=>[a.value,l.value,e.name],([c,u,f],[h,m,E])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!kn(u,m)||!h)&&(u.enterCallbacks[f]||[]).forEach(x=>x(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,h=f&&f.components[u];if(!h)return Ci(n.default,{Component:h,route:c});const m=f.props[u],E=m?m===!0?c.params:typeof m=="function"?m(c):m:null,k=qt(h,ce({},E,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return Ci(n.default,{Component:k,route:c})||k}}});function Ci(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const go=Id;function Nd(e){const t=Sd(e.routes,e),n=e.parseQuery||id,s=e.stringifyQuery||mi,r=e.history,o=Mn(),i=Mn(),l=Mn(),a=to(Bt);let c=Bt;gn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=pr.bind(null,v=>""+v),f=pr.bind(null,Hf),h=pr.bind(null,Zn);function m(v,z){let A,H;return ca(v)?(A=t.getRecordMatcher(v),H=z):H=v,t.addRoute(H,A)}function E(v){const z=t.getRecordMatcher(v);z&&t.removeRoute(z)}function x(){return t.getRoutes().map(v=>v.record)}function k(v){return!!t.getRecordMatcher(v)}function I(v,z){if(z=ce({},z||a.value),typeof v=="string"){const g=hr(n,v,z.path),y=t.resolve({path:g.path},z),w=r.createHref(g.fullPath);return ce(g,y,{params:h(y.params),hash:Zn(g.hash),redirectedFrom:void 0,href:w})}let A;if(v.path!=null)A=ce({},v,{path:hr(n,v.path,z.path).path});else{const g=ce({},v.params);for(const y in g)g[y]==null&&delete g[y];A=ce({},v,{params:f(g)}),z.params=f(z.params)}const H=t.resolve(A,z),Q=v.hash||"";H.params=u(h(H.params));const d=Wf(s,ce({},v,{hash:jf(Q),path:H.path})),p=r.createHref(d);return ce({fullPath:d,hash:Q,query:s===mi?ld(v.query):v.query||{}},H,{redirectedFrom:void 0,href:p})}function _(v){return typeof v=="string"?hr(n,v,a.value.path):ce({},v)}function M(v,z){if(c!==v)return Rn(xe.NAVIGATION_CANCELLED,{from:z,to:v})}function T(v){return j(v)}function J(v){return T(ce(_(v),{replace:!0}))}function Y(v,z){const A=v.matched[v.matched.length-1];if(A&&A.redirect){const{redirect:H}=A;let Q=typeof H=="function"?H(v,z):H;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=_(Q):{path:Q},Q.params={}),ce({query:v.query,hash:v.hash,params:Q.path!=null?{}:v.params},Q)}}function j(v,z){const A=c=I(v),H=a.value,Q=v.state,d=v.force,p=v.replace===!0,g=Y(A,H);if(g)return j(ce(_(g),{state:typeof g=="object"?ce({},Q,g.state):Q,force:d,replace:p}),z||A);const y=A;y.redirectedFrom=z;let w;return!d&&Kf(s,H,A)&&(w=Rn(xe.NAVIGATION_DUPLICATED,{to:y,from:H}),qe(H,H,!0,!1)),(w?Promise.resolve(w):Z(y,H)).catch(b=>At(b)?At(b,xe.NAVIGATION_GUARD_REDIRECT)?b:G(b):se(b,y,H)).then(b=>{if(b){if(At(b,xe.NAVIGATION_GUARD_REDIRECT))return j(ce({replace:p},_(b.to),{state:typeof b.to=="object"?ce({},Q,b.to.state):Q,force:d}),z||y)}else b=L(y,H,!0,p,Q);return ne(y,H,b),b})}function C(v,z){const A=M(v,z);return A?Promise.reject(A):Promise.resolve()}function N(v){const z=ut.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(v):v()}function Z(v,z){let A;const[H,Q,d]=cd(v,z);A=gr(H.reverse(),"beforeRouteLeave",v,z);for(const g of H)g.leaveGuards.forEach(y=>{A.push(Wt(y,v,z))});const p=C.bind(null,v,z);return A.push(p),pe(A).then(()=>{A=[];for(const g of o.list())A.push(Wt(g,v,z));return A.push(p),pe(A)}).then(()=>{A=gr(Q,"beforeRouteUpdate",v,z);for(const g of Q)g.updateGuards.forEach(y=>{A.push(Wt(y,v,z))});return A.push(p),pe(A)}).then(()=>{A=[];for(const g of d)if(g.beforeEnter)if(ct(g.beforeEnter))for(const y of g.beforeEnter)A.push(Wt(y,v,z));else A.push(Wt(g.beforeEnter,v,z));return A.push(p),pe(A)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),A=gr(d,"beforeRouteEnter",v,z,N),A.push(p),pe(A))).then(()=>{A=[];for(const g of i.list())A.push(Wt(g,v,z));return A.push(p),pe(A)}).catch(g=>At(g,xe.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function ne(v,z,A){l.list().forEach(H=>N(()=>H(v,z,A)))}function L(v,z,A,H,Q){const d=M(v,z);if(d)return d;const p=z===Bt,g=gn?history.state:{};A&&(H||p?r.replace(v.fullPath,ce({scroll:p&&g&&g.scroll},Q)):r.push(v.fullPath,Q)),a.value=v,qe(v,z,A,p),G()}let te;function be(){te||(te=r.listen((v,z,A)=>{if(!_e.listening)return;const H=I(v),Q=Y(H,_e.currentRoute.value);if(Q){j(ce(Q,{replace:!0,force:!0}),H).catch(Un);return}c=H;const d=a.value;gn&&td(hi(d.fullPath,A.delta),Ys()),Z(H,d).catch(p=>At(p,xe.NAVIGATION_ABORTED|xe.NAVIGATION_CANCELLED)?p:At(p,xe.NAVIGATION_GUARD_REDIRECT)?(j(ce(_(p.to),{force:!0}),H).then(g=>{At(g,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&!A.delta&&A.type===Fr.pop&&r.go(-1,!1)}).catch(Un),Promise.reject()):(A.delta&&r.go(-A.delta,!1),se(p,H,d))).then(p=>{p=p||L(H,d,!1),p&&(A.delta&&!At(p,xe.NAVIGATION_CANCELLED)?r.go(-A.delta,!1):A.type===Fr.pop&&At(p,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ne(H,d,p)}).catch(Un)}))}let Se=Mn(),re=Mn(),ee;function se(v,z,A){G(v);const H=re.list();return H.length?H.forEach(Q=>Q(v,z,A)):console.error(v),Promise.reject(v)}function Ke(){return ee&&a.value!==Bt?Promise.resolve():new Promise((v,z)=>{Se.add([v,z])})}function G(v){return ee||(ee=!v,be(),Se.list().forEach(([z,A])=>v?A(v):z()),Se.reset()),v}function qe(v,z,A,H){const{scrollBehavior:Q}=e;if(!gn||!Q)return Promise.resolve();const d=!A&&nd(hi(v.fullPath,0))||(H||!A)&&history.state&&history.state.scroll||null;return no().then(()=>Q(v,z,d)).then(p=>p&&ed(p)).catch(p=>se(p,v,z))}const Ie=v=>r.go(v);let St;const ut=new Set,_e={currentRoute:a,listening:!0,addRoute:m,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:x,resolve:I,options:e,push:T,replace:J,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:re.add,isReady:Ke,install(v){v.component("RouterLink",Gr),v.component("RouterView",go),v.config.globalProperties.$router=_e,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>B(a)}),gn&&!St&&a.value===Bt&&(St=!0,T(r.location).catch(H=>{}));const z={};for(const H in Bt)Object.defineProperty(z,H,{get:()=>a.value[H],enumerable:!0});v.provide(Qs,_e),v.provide(mo,pl(z)),v.provide(Br,a);const A=v.unmount;ut.add(v),v.unmount=function(){ut.delete(v),ut.size<1&&(c=Bt,te&&te(),te=null,a.value=Bt,St=!1,ee=!1),A()}}};function pe(v){return v.reduce((z,A)=>z.then(()=>N(A)),Promise.resolve())}return _e}function Md(){return it(Qs)}function ha(e){return it(mo)}/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ld=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var as={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Dd=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:s,iconNode:r,name:o,class:i,...l},{slots:a})=>qt("svg",{...as,width:e||as.width,height:e||as.height,stroke:s||as.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${Ld(o??"icon")}`],...l},[...r.map(c=>qt(...c)),...a.default?[a.default()]:[]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const st=(e,t)=>(n,{slots:s})=>qt(Dd,{...n,iconNode:t,name:e},s);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zd=st("ActivityIcon",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Vd=st("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Fd=st("LayoutDashboardIcon",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const jd=st("ListFilterIcon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Bd=st("LoaderCircleIcon",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Gd=st("LockKeyholeIcon",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Hd=st("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $d=st("RadioIcon",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ud=st("Settings2Icon",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Wd=st("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Kd=st("TriangleAlertIcon",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
||
* @license lucide-vue-next v0.469.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qd=st("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),es=Ze([]);let Jd=1;function br(e,t,n){const s=Jd++;es.value=[...es.value,{id:s,title:e,description:n,variant:t}],window.setTimeout(()=>bo(s),t==="error"?6e3:3500)}function bo(e){es.value=es.value.filter(t=>t.id!==e)}const Yd={info:(e,t)=>br(e,"default",t),success:(e,t)=>br(e,"success",t),error:(e,t)=>br(e,"error",t)};function Qd(){return{toasts:es,toast:Yd,dismiss:bo}}function ma(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=ma(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function ga(){for(var e,t,n=0,s="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=ma(e))&&(s&&(s+=" "),s+=t);return s}const Xd=(e,t)=>{const n=new Array(e.length+t.length);for(let s=0;s<e.length;s++)n[s]=e[s];for(let s=0;s<t.length;s++)n[e.length+s]=t[s];return n},Zd=(e,t)=>({classGroupId:e,validator:t}),ba=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),ks="-",ki=[],ep="arbitrary..",tp=e=>{const t=sp(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return np(i);const l=i.split(ks),a=l[0]===""&&l.length>1?1:0;return va(l,a,t)},getConflictingClassGroupIds:(i,l)=>{if(l){const a=s[i],c=n[i];return a?c?Xd(c,a):a:c||ki}return n[i]||ki}}},va=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const c=va(e,t+1,o);if(c)return c}const i=n.validators;if(i===null)return;const l=t===0?e.join(ks):e.slice(t).join(ks),a=i.length;for(let c=0;c<a;c++){const u=i[c];if(u.validator(l))return u.classGroupId}},np=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),s=t.slice(0,n);return s?ep+s:void 0})(),sp=e=>{const{theme:t,classGroups:n}=e;return rp(n,t)},rp=(e,t)=>{const n=ba();for(const s in e){const r=e[s];vo(r,n,s,t)}return n},vo=(e,t,n,s)=>{const r=e.length;for(let o=0;o<r;o++){const i=e[o];op(i,t,n,s)}},op=(e,t,n,s)=>{if(typeof e=="string"){ip(e,t,n);return}if(typeof e=="function"){lp(e,t,n,s);return}ap(e,t,n,s)},ip=(e,t,n)=>{const s=e===""?t:ya(t,e);s.classGroupId=n},lp=(e,t,n,s)=>{if(cp(e)){vo(e(s),t,n,s);return}t.validators===null&&(t.validators=[]),t.validators.push(Zd(n,e))},ap=(e,t,n,s)=>{const r=Object.entries(e),o=r.length;for(let i=0;i<o;i++){const[l,a]=r[i];vo(a,ya(t,l),n,s)}},ya=(e,t)=>{let n=e;const s=t.split(ks),r=s.length;for(let o=0;o<r;o++){const i=s[o];let l=n.nextPart.get(i);l||(l=ba(),n.nextPart.set(i,l)),n=l}return n},cp=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,up=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),s=Object.create(null);const r=(o,i)=>{n[o]=i,t++,t>e&&(t=0,s=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=s[o])!==void 0)return r(o,i),i},set(o,i){o in n?n[o]=i:r(o,i)}}},Hr="!",Ri=":",fp=[],Ti=(e,t,n,s,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:s,isExternal:r}),dp=e=>{const{prefix:t,experimentalParseClassName:n}=e;let s=r=>{const o=[];let i=0,l=0,a=0,c;const u=r.length;for(let x=0;x<u;x++){const k=r[x];if(i===0&&l===0){if(k===Ri){o.push(r.slice(a,x)),a=x+1;continue}if(k==="/"){c=x;continue}}k==="["?i++:k==="]"?i--:k==="("?l++:k===")"&&l--}const f=o.length===0?r:r.slice(a);let h=f,m=!1;f.endsWith(Hr)?(h=f.slice(0,-1),m=!0):f.startsWith(Hr)&&(h=f.slice(1),m=!0);const E=c&&c>a?c-a:void 0;return Ti(o,m,h,E)};if(t){const r=t+Ri,o=s;s=i=>i.startsWith(r)?o(i.slice(r.length)):Ti(fp,!1,i,void 0,!0)}if(n){const r=s;s=o=>n({className:o,parseClassName:r})}return s},pp=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,s)=>{t.set(n,1e6+s)}),n=>{const s=[];let r=[];for(let o=0;o<n.length;o++){const i=n[o],l=i[0]==="[",a=t.has(i);l||a?(r.length>0&&(r.sort(),s.push(...r),r=[]),s.push(i)):r.push(i)}return r.length>0&&(r.sort(),s.push(...r)),s}},hp=e=>({cache:up(e.cacheSize),parseClassName:dp(e),sortModifiers:pp(e),postfixLookupClassGroupIds:mp(e),...tp(e)}),mp=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let s=0;s<n.length;s++)t[n[s]]=!0;return t},gp=/\s+/,bp=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r,sortModifiers:o,postfixLookupClassGroupIds:i}=t,l=[],a=e.trim().split(gp);let c="";for(let u=a.length-1;u>=0;u-=1){const f=a[u],{isExternal:h,modifiers:m,hasImportantModifier:E,baseClassName:x,maybePostfixModifierPosition:k}=n(f);if(h){c=f+(c.length>0?" "+c:c);continue}let I=!!k,_;if(I){const j=x.substring(0,k);_=s(j);const C=_&&i[_]?s(x):void 0;C&&C!==_&&(_=C,I=!1)}else _=s(x);if(!_){if(!I){c=f+(c.length>0?" "+c:c);continue}if(_=s(x),!_){c=f+(c.length>0?" "+c:c);continue}I=!1}const M=m.length===0?"":m.length===1?m[0]:o(m).join(":"),T=E?M+Hr:M,J=T+_;if(l.indexOf(J)>-1)continue;l.push(J);const Y=r(_,I);for(let j=0;j<Y.length;++j){const C=Y[j];l.push(T+C)}c=f+(c.length>0?" "+c:c)}return c},vp=(...e)=>{let t=0,n,s,r="";for(;t<e.length;)(n=e[t++])&&(s=_a(n))&&(r&&(r+=" "),r+=s);return r},_a=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=_a(e[s]))&&(n&&(n+=" "),n+=t);return n},yp=(e,...t)=>{let n,s,r,o;const i=a=>{const c=t.reduce((u,f)=>f(u),e());return n=hp(c),s=n.cache.get,r=n.cache.set,o=l,l(a)},l=a=>{const c=s(a);if(c)return c;const u=bp(a,n);return r(a,u),u};return o=i,(...a)=>o(vp(...a))},_p=[],Ce=e=>{const t=n=>n[e]||_p;return t.isThemeGetter=!0,t},xa=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,wa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xp=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,wp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Sp=/\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$/,Ep=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ap=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Gt=e=>xp.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),mt=e=>!!e&&Number.isInteger(Number(e)),vr=e=>e.endsWith("%")&&X(e.slice(0,-1)),Ct=e=>wp.test(e),Sa=()=>!0,kp=e=>Sp.test(e)&&!Ep.test(e),yo=()=>!1,Rp=e=>Ap.test(e),Tp=e=>Cp.test(e),Pp=e=>!V(e)&&!F(e),Op=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Ip=e=>Qt(e,Ca,yo),V=e=>xa.test(e),tn=e=>Qt(e,ka,kp),Pi=e=>Qt(e,jp,X),Np=e=>Qt(e,Ta,Sa),Mp=e=>Qt(e,Ra,yo),Oi=e=>Qt(e,Ea,yo),Lp=e=>Qt(e,Aa,Tp),cs=e=>Qt(e,Pa,Rp),F=e=>wa.test(e),Ln=e=>dn(e,ka),Dp=e=>dn(e,Ra),Ii=e=>dn(e,Ea),zp=e=>dn(e,Ca),Vp=e=>dn(e,Aa),us=e=>dn(e,Pa,!0),Fp=e=>dn(e,Ta,!0),Qt=(e,t,n)=>{const s=xa.exec(e);return s?s[1]?t(s[1]):n(s[2]):!1},dn=(e,t,n=!1)=>{const s=wa.exec(e);return s?s[1]?t(s[1]):n:!1},Ea=e=>e==="position"||e==="percentage",Aa=e=>e==="image"||e==="url",Ca=e=>e==="length"||e==="size"||e==="bg-size",ka=e=>e==="length",jp=e=>e==="number",Ra=e=>e==="family-name",Ta=e=>e==="number"||e==="weight",Pa=e=>e==="shadow",Bp=()=>{const e=Ce("color"),t=Ce("font"),n=Ce("text"),s=Ce("font-weight"),r=Ce("tracking"),o=Ce("leading"),i=Ce("breakpoint"),l=Ce("container"),a=Ce("spacing"),c=Ce("radius"),u=Ce("shadow"),f=Ce("inset-shadow"),h=Ce("text-shadow"),m=Ce("drop-shadow"),E=Ce("blur"),x=Ce("perspective"),k=Ce("aspect"),I=Ce("ease"),_=Ce("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...T(),F,V],Y=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],C=()=>[F,V,a],N=()=>[Gt,"full","auto",...C()],Z=()=>[mt,"none","subgrid",F,V],ne=()=>["auto",{span:["full",mt,F,V]},mt,F,V],L=()=>[mt,"auto",F,V],te=()=>["auto","min","max","fr",F,V],be=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Se=()=>["start","end","center","stretch","center-safe","end-safe"],re=()=>["auto",...C()],ee=()=>[Gt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],se=()=>[Gt,"screen","full","dvw","lvw","svw","min","max","fit",...C()],Ke=()=>[Gt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],G=()=>[e,F,V],qe=()=>[...T(),Ii,Oi,{position:[F,V]}],Ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],St=()=>["auto","cover","contain",zp,Ip,{size:[F,V]}],ut=()=>[vr,Ln,tn],_e=()=>["","none","full",c,F,V],pe=()=>["",X,Ln,tn],v=()=>["solid","dashed","dotted","double"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[X,vr,Ii,Oi],H=()=>["","none",E,F,V],Q=()=>["none",X,F,V],d=()=>["none",X,F,V],p=()=>[X,F,V],g=()=>[Gt,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ct],breakpoint:[Ct],color:[Sa],container:[Ct],"drop-shadow":[Ct],ease:["in","out","in-out"],font:[Pp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ct],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ct],shadow:[Ct],spacing:["px",X],text:[Ct],"text-shadow":[Ct],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Gt,V,F,k]}],container:["container"],"container-type":[{"@container":["","normal","size",F,V]}],"container-named":[Op],columns:[{columns:[X,V,F,l]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:J()}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{"inset-s":N(),start:N()}],end:[{"inset-e":N(),end:N()}],"inset-bs":[{"inset-bs":N()}],"inset-be":[{"inset-be":N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[mt,"auto",F,V]}],basis:[{basis:[Gt,"full","auto",l,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[X,Gt,"auto","initial","none",V]}],grow:[{grow:["",X,F,V]}],shrink:[{shrink:["",X,F,V]}],order:[{order:[mt,"first","last","none",F,V]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...be(),"normal"]}],"justify-items":[{"justify-items":[...Se(),"normal"]}],"justify-self":[{"justify-self":["auto",...Se()]}],"align-content":[{content:["normal",...be()]}],"align-items":[{items:[...Se(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Se(),{baseline:["","last"]}]}],"place-content":[{"place-content":be()}],"place-items":[{"place-items":[...Se(),"baseline"]}],"place-self":[{"place-self":["auto",...Se()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:re()}],mx:[{mx:re()}],my:[{my:re()}],ms:[{ms:re()}],me:[{me:re()}],mbs:[{mbs:re()}],mbe:[{mbe:re()}],mt:[{mt:re()}],mr:[{mr:re()}],mb:[{mb:re()}],ml:[{ml:re()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],"inline-size":[{inline:["auto",...se()]}],"min-inline-size":[{"min-inline":["auto",...se()]}],"max-inline-size":[{"max-inline":["none",...se()]}],"block-size":[{block:["auto",...Ke()]}],"min-block-size":[{"min-block":["auto",...Ke()]}],"max-block-size":[{"max-block":["none",...Ke()]}],w:[{w:[l,"screen",...ee()]}],"min-w":[{"min-w":[l,"screen","none",...ee()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...ee()]}],h:[{h:["screen","lh",...ee()]}],"min-h":[{"min-h":["screen","lh","none",...ee()]}],"max-h":[{"max-h":["screen","lh",...ee()]}],"font-size":[{text:["base",n,Ln,tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,Fp,Np]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vr,V]}],"font-family":[{font:[Dp,Mp,t]}],"font-features":[{"font-features":[V]}],"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:[r,F,V]}],"line-clamp":[{"line-clamp":[X,"none",F,Pi]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",F,V]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",F,V]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...v(),"wavy"]}],"text-decoration-thickness":[{decoration:[X,"from-font","auto",F,tn]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[X,"auto",F,V]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[mt,F,V]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F,V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",F,V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:qe()}],"bg-repeat":[{bg:Ie()}],"bg-size":[{bg:St()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},mt,F,V],radial:["",F,V],conic:[mt,F,V]},Vp,Lp]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ut()}],"gradient-via-pos":[{via:ut()}],"gradient-to-pos":[{to:ut()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:_e()}],"rounded-s":[{"rounded-s":_e()}],"rounded-e":[{"rounded-e":_e()}],"rounded-t":[{"rounded-t":_e()}],"rounded-r":[{"rounded-r":_e()}],"rounded-b":[{"rounded-b":_e()}],"rounded-l":[{"rounded-l":_e()}],"rounded-ss":[{"rounded-ss":_e()}],"rounded-se":[{"rounded-se":_e()}],"rounded-ee":[{"rounded-ee":_e()}],"rounded-es":[{"rounded-es":_e()}],"rounded-tl":[{"rounded-tl":_e()}],"rounded-tr":[{"rounded-tr":_e()}],"rounded-br":[{"rounded-br":_e()}],"rounded-bl":[{"rounded-bl":_e()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-bs":[{"border-bs":pe()}],"border-w-be":[{"border-be":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...v(),"hidden","none"]}],"divide-style":[{divide:[...v(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...v(),"none","hidden"]}],"outline-offset":[{"outline-offset":[X,F,V]}],"outline-w":[{outline:["",X,Ln,tn]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",u,us,cs]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",f,us,cs]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[X,tn]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",h,us,cs]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[X,F,V]}],"mix-blend":[{"mix-blend":[...z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":z()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[F,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:qe()}],"mask-repeat":[{mask:Ie()}],"mask-size":[{mask:St()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",F,V]}],filter:[{filter:["","none",F,V]}],blur:[{blur:H()}],brightness:[{brightness:[X,F,V]}],contrast:[{contrast:[X,F,V]}],"drop-shadow":[{"drop-shadow":["","none",m,us,cs]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",X,F,V]}],"hue-rotate":[{"hue-rotate":[X,F,V]}],invert:[{invert:["",X,F,V]}],saturate:[{saturate:[X,F,V]}],sepia:[{sepia:["",X,F,V]}],"backdrop-filter":[{"backdrop-filter":["","none",F,V]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[X,F,V]}],"backdrop-contrast":[{"backdrop-contrast":[X,F,V]}],"backdrop-grayscale":[{"backdrop-grayscale":["",X,F,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,F,V]}],"backdrop-invert":[{"backdrop-invert":["",X,F,V]}],"backdrop-opacity":[{"backdrop-opacity":[X,F,V]}],"backdrop-saturate":[{"backdrop-saturate":[X,F,V]}],"backdrop-sepia":[{"backdrop-sepia":["",X,F,V]}],"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",F,V]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[X,"initial",F,V]}],ease:[{ease:["linear","initial",I,F,V]}],delay:[{delay:[X,F,V]}],animate:[{animate:["none",_,F,V]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,F,V]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:Q()}],"rotate-x":[{"rotate-x":Q()}],"rotate-y":[{"rotate-y":Q()}],"rotate-z":[{"rotate-z":Q()}],scale:[{scale:d()}],"scale-x":[{"scale-x":d()}],"scale-y":[{"scale-y":d()}],"scale-z":[{"scale-z":d()}],"scale-3d":["scale-3d"],skew:[{skew:p()}],"skew-x":[{"skew-x":p()}],"skew-y":[{"skew-y":p()}],transform:[{transform:[F,V,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:g()}],"translate-x":[{"translate-x":g()}],"translate-y":[{"translate-y":g()}],"translate-z":[{"translate-z":g()}],"translate-none":["translate-none"],zoom:[{zoom:[mt,F,V]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",F,V]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":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",F,V]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[X,Ln,tn,Pi]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Gp=yp(Bp);function wt(...e){return Gp(ga(e))}const Hp={class:"pointer-events-none fixed inset-x-0 top-0 z-100 flex flex-col items-center gap-2 p-3 sm:top-auto sm:right-0 sm:bottom-0 sm:left-auto sm:items-end sm:p-4"},$p={class:"min-w-0 flex-1"},Up={class:"text-sm font-medium"},Wp={key:0,class:"text-muted-foreground mt-0.5 text-xs break-words"},Kp=["onClick"],qp=We({__name:"Toaster",setup(e){const{toasts:t}=Qd();return(n,s)=>(fe(),Qe("div",Hp,[de(gf,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0 -translate-y-2 sm:translate-y-2","leave-active-class":"transition duration-150 ease-in absolute","leave-to-class":"opacity-0 scale-95"},{default:Ye(()=>[(fe(!0),Qe(Pe,null,Tr(B(t),r=>(fe(),Qe("div",{key:r.id,class:Ue(B(wt)("bg-popover text-popover-foreground pointer-events-auto flex w-full max-w-sm items-start gap-2.5 rounded-lg border p-3 shadow-lg",r.variant==="error"&&"border-block/40",r.variant==="success"&&"border-allow/40"))},[r.variant==="success"?(fe(),ze(B(Vd),{key:0,class:"text-allow mt-0.5 size-4 shrink-0"})):r.variant==="error"?(fe(),ze(B(Kd),{key:1,class:"text-block mt-0.5 size-4 shrink-0"})):ws("",!0),le("div",$p,[le("p",Up,Le(r.title),1),r.description?(fe(),Qe("p",Wp,Le(r.description),1)):ws("",!0)]),le("button",{type:"button",class:"text-muted-foreground hover:text-foreground -m-1 p-1",onClick:o=>B(bo)(r.id)},[de(B(qd),{class:"size-3.5"})],8,Kp)],2))),128))]),_:1})]))}}),Jp=We({__name:"App",setup(e){return(t,n)=>(fe(),Qe(Pe,null,[de(B(go)),de(qp)],64))}}),Oa="/api/v1",$r="opengfw.token";class hs extends Error{constructor(n,s){super(s);To(this,"status");this.status=n}}let bn=localStorage.getItem($r)??"";const Ur=new Set,Vt={get token(){return bn},get authenticated(){return bn!==""},set(e){bn=e,localStorage.setItem($r,e)},clear(){bn="",localStorage.removeItem($r)},onUnauthorized(e){return Ur.add(e),()=>Ur.delete(e)}};async function kt(e,t={}){const n=new Headers(t.headers);bn&&n.set("Authorization",`Bearer ${bn}`),t.body&&n.set("Content-Type","application/json");let s;try{s=await fetch(Oa+e,{...t,headers:n,credentials:"same-origin"})}catch{throw new hs(0,"network error")}if(s.status===401)throw Vt.clear(),Ur.forEach(i=>i()),new hs(401,"unauthorized");const r=await s.text(),o=r?JSON.parse(r):null;if(!s.ok){const i=o&&typeof o=="object"&&"error"in o?String(o.error):`request failed (${s.status})`;throw new hs(s.status,i)}return o}const Wr={async login(e){const t=await kt("/login",{method:"POST",body:JSON.stringify({password:e})});Vt.set(t.token)},async logout(){try{await kt("/logout",{method:"POST"})}finally{Vt.clear()}},info:()=>kt("/info"),meta:()=>kt("/meta"),metrics:()=>kt("/metrics"),events:(e=200)=>kt(`/events?limit=${e}`),rules:()=>kt("/rules"),saveRules:e=>kt("/rules",{method:"PUT",body:JSON.stringify(e)}),validateRules:e=>kt("/rules/validate",{method:"POST",body:JSON.stringify(e)})},Yp=`${Oa}/live`,Kr=500,Xs=Ze(null),un=to([]),on=Ze("closed");let Kt=null,qr,fs=1e3;function Qp(e){const t=[e,...un.value];t.length>Kr&&(t.length=Kr),un.value=t}async function Ia(){try{const[e,t]=await Promise.all([Wr.metrics(),Wr.events(Kr)]);Xs.value=e,un.value.length===0&&(un.value=t.events??[])}catch{}}function Na(){if(Kt||!Vt.authenticated)return;on.value="connecting";const e=new EventSource(Yp);Kt=e,e.addEventListener("open",()=>{on.value="open",fs=1e3}),e.addEventListener("metrics",t=>{try{Xs.value=JSON.parse(t.data),on.value="open"}catch{}}),e.addEventListener("event",t=>{try{Qp(JSON.parse(t.data))}catch{}}),e.addEventListener("error",()=>{e.close(),Kt===e&&(Kt=null),on.value="closed",window.clearTimeout(qr),qr=window.setTimeout(()=>{Vt.authenticated&&Na()},fs),fs=Math.min(fs*2,15e3)})}function Ma(){Vt.authenticated&&(Ia(),Na())}function _o(){window.clearTimeout(qr),Kt==null||Kt.close(),Kt=null,on.value="closed",Xs.value=null,un.value=[]}function Xp(){un.value=[]}function Zp(){return{metrics:Xs,events:un,status:on,connected:we(()=>on.value==="open"),startLive:Ma,stopLive:_o,clearEvents:Xp,refresh:Ia}}const eh="modulepreload",th=function(e){return"/"+e},Ni={},Dn=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(c=>{if(c=th(c),c in Ni)return;Ni[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":eh,u||(h.as="script"),h.crossOrigin="",h.href=c,a&&h.setAttribute("nonce",a),document.head.appendChild(h),u)return new Promise((m,E)=>{h.addEventListener("load",m),h.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},nh={app:{name:"OpenGFW",tagline:"Network filtering and analysis"},nav:{dashboard:"Dashboard",events:"Events",rules:"Rules",analyzers:"Analyzers",settings:"Settings"},common:{save:"Save",saving:"Saving…",cancel:"Cancel",close:"Close",refresh:"Refresh",search:"Search",loading:"Loading…",empty:"Nothing here yet",error:"Error",retry:"Retry",delete:"Delete",edit:"Edit",add:"Add",apply:"Apply",copy:"Copy",copied:"Copied",enabled:"Enabled",disabled:"Disabled",all:"All",unknown:"Unknown",total:"Total",live:"Live",offline:"Disconnected",connecting:"Connecting…",back:"Back",more:"More"},login:{title:"Sign in",subtitle:"Enter the web UI password from your config file",password:"Password",submit:"Sign in",failed:"Sign in failed",hint:"Set it with web.secret in config.yaml"},dashboard:{title:"Dashboard",subtitle:"Live overview of the engine",uptime:"Uptime",workers:"Workers",streams:"Streams",blocked:"Blocked",allowed:"Allowed",modified:"Modified",errors:"Errors",traffic:"Traffic",trafficDesc:"New streams and verdicts over time",range10m:"10 min",range1h:"1 hour",protocols:"Protocols",verdicts:"Verdicts",topHosts:"Top hosts",topHostsDesc:"Seen in TLS SNI, HTTP Host and DNS queries",topBlocked:"Blocked destinations",topRules:"Triggered rules",recent:"Recent events",viewAll:"View all",noTraffic:"No traffic seen yet",tcp:"TCP",udp:"UDP"},events:{title:"Events",subtitle:"Live feed of verdicts, rule logs and errors",pause:"Pause",resume:"Resume",paused:"Paused",clear:"Clear",filterAction:"Verdict",filterProto:"Protocol",filterKind:"Type",searchPlaceholder:"Search IP, host or rule…",empty:"Waiting for events…",emptyFiltered:"No event matches the filter",detail:"Event detail",stream:"Stream",source:"Source",destination:"Destination",host:"Host",rule:"Rule",props:"Analyzer properties",noProps:"No analyzer properties",copyJson:"Copy JSON",buffered:"{n} new"},rules:{title:"Rules",subtitle:"Rules are matched top to bottom; the first match wins",count:"{n} rules",file:"Rule file",add:"New rule",editTitle:"Edit rule",addTitle:"New rule",name:"Name",namePlaceholder:"block-google-dns",action:"Action",actionNone:"None (log only)",log:"Log matches",expr:"Expression",exprPlaceholder:'dns != nil && dns.qr && any(dns.questions, {.name endsWith "example.com"})',modifier:"Modifier",modifierArgs:"Modifier arguments (JSON)",visual:"Visual",yaml:"YAML",validate:"Validate",valid:"Rules are valid",invalid:"Invalid rules",save:"Save & apply",saved:"Rules applied to the running engine",unsaved:"Unsaved changes",discard:"Discard",deleteConfirm:'Delete rule "{name}"?',moveUp:"Move up",moveDown:"Move down",empty:"No rules yet. Everything is accepted.",nameRequired:"A name is required",exprRequired:"An expression is required",hint:"Saving writes the rule file and hot reloads the engine."},analyzers:{title:"Analyzers",subtitle:"Protocol analyzers compiled into this build",hits:"Streams analyzed",modifiers:"Modifiers",modifiersDesc:"Available for rules with the modify action",functions:"Rule functions",functionsDesc:"Built-in functions usable in expressions",used:"In use",idle:"Idle"},settings:{title:"Settings",subtitle:"Appearance and instance information",appearance:"Appearance",theme:"Theme",themeLight:"Light",themeDark:"Dark",themeSystem:"System",language:"Language",instance:"Instance",version:"Version",platform:"Platform",goVersion:"Go version",hostname:"Hostname",ruleFile:"Rule file",engineConfig:"Engine configuration",ioQueueSize:"NFQueue size",ioLocal:"Local mode",ioRST:"Send RST",workers:"Workers",workerQueueSize:"Worker queue size",udpMaxStreams:"Max UDP streams",geoip:"GeoIP database",geosite:"GeoSite database",auto:"Auto",session:"Session",logout:"Sign out",docs:"Documentation"},action:{allow:"Allow",block:"Block",drop:"Drop",modify:"Modify",maybe:"Maybe",log:"Log",error:"Error"}},sh={app:{name:"OpenGFW",tagline:"网络过滤与分析"},nav:{dashboard:"概览",events:"事件",rules:"规则",analyzers:"解析器",settings:"设置"},common:{save:"保存",saving:"保存中…",cancel:"取消",close:"关闭",refresh:"刷新",search:"搜索",loading:"加载中…",empty:"暂无数据",error:"错误",retry:"重试",delete:"删除",edit:"编辑",add:"添加",apply:"应用",copy:"复制",copied:"已复制",enabled:"已启用",disabled:"已禁用",all:"全部",unknown:"未知",total:"总计",live:"实时",offline:"连接断开",connecting:"连接中…",back:"返回",more:"更多"},login:{title:"登录",subtitle:"请输入配置文件中设置的 Web UI 密码",password:"密码",submit:"登录",failed:"登录失败",hint:"在 config.yaml 的 web.secret 中设置"},dashboard:{title:"概览",subtitle:"引擎实时运行状态",uptime:"运行时长",workers:"工作线程",streams:"连接数",blocked:"已拦截",allowed:"已放行",modified:"已修改",errors:"错误",traffic:"流量趋势",trafficDesc:"新建连接与判定结果随时间变化",range10m:"10 分钟",range1h:"1 小时",protocols:"协议分布",verdicts:"判定分布",topHosts:"热门域名",topHostsDesc:"来自 TLS SNI、HTTP Host 与 DNS 查询",topBlocked:"被拦截的目标",topRules:"命中的规则",recent:"最近事件",viewAll:"查看全部",noTraffic:"暂未捕获到流量",tcp:"TCP",udp:"UDP"},events:{title:"事件",subtitle:"判定结果、规则日志与错误的实时推送",pause:"暂停",resume:"继续",paused:"已暂停",clear:"清空",filterAction:"判定",filterProto:"协议",filterKind:"类型",searchPlaceholder:"搜索 IP、域名或规则…",empty:"等待事件中…",emptyFiltered:"没有符合筛选条件的事件",detail:"事件详情",stream:"连接",source:"来源",destination:"目标",host:"域名",rule:"规则",props:"解析器属性",noProps:"无解析器属性",copyJson:"复制 JSON",buffered:"{n} 条新事件"},rules:{title:"规则",subtitle:"规则自上而下匹配,命中第一条即生效",count:"{n} 条规则",file:"规则文件",add:"新建规则",editTitle:"编辑规则",addTitle:"新建规则",name:"名称",namePlaceholder:"block-google-dns",action:"动作",actionNone:"无(仅记录日志)",log:"记录日志",expr:"表达式",exprPlaceholder:'dns != nil && dns.qr && any(dns.questions, {.name endsWith "example.com"})',modifier:"修改器",modifierArgs:"修改器参数(JSON)",visual:"可视化",yaml:"YAML",validate:"校验",valid:"规则校验通过",invalid:"规则不合法",save:"保存并应用",saved:"规则已热加载到运行中的引擎",unsaved:"有未保存的修改",discard:"放弃修改",deleteConfirm:"确定删除规则「{name}」?",moveUp:"上移",moveDown:"下移",empty:"暂无规则,所有流量都会放行。",nameRequired:"请填写名称",exprRequired:"请填写表达式",hint:"保存后将写入规则文件并热加载引擎。"},analyzers:{title:"解析器",subtitle:"当前版本内置的协议解析器",hits:"已解析连接",modifiers:"修改器",modifiersDesc:"可用于 modify 动作的规则",functions:"规则函数",functionsDesc:"表达式中可用的内置函数",used:"使用中",idle:"空闲"},settings:{title:"设置",subtitle:"外观与实例信息",appearance:"外观",theme:"主题",themeLight:"浅色",themeDark:"深色",themeSystem:"跟随系统",language:"语言",instance:"实例信息",version:"版本",platform:"平台",goVersion:"Go 版本",hostname:"主机名",ruleFile:"规则文件",engineConfig:"引擎配置",ioQueueSize:"NFQueue 队列大小",ioLocal:"本机模式",ioRST:"发送 RST",workers:"工作线程数",workerQueueSize:"工作线程队列大小",udpMaxStreams:"UDP 最大连接数",geoip:"GeoIP 数据库",geosite:"GeoSite 数据库",auto:"自动",session:"会话",logout:"退出登录",docs:"文档"},action:{allow:"放行",block:"拦截",drop:"丢弃",modify:"修改",maybe:"待定",log:"日志",error:"错误"}},La="opengfw.lang",Mi={en:nh,zh:sh};function rh(){const e=localStorage.getItem(La);return e==="en"||e==="zh"?e:navigator.language.toLowerCase().startsWith("zh")?"zh":"en"}const Zs=Ze(rh());function Li(e,t){const n=t.split(".").reduce((s,r)=>{if(s&&typeof s=="object")return s[r]},e);return typeof n=="string"?n:void 0}function Te(e,t){const n=Li(Mi[Zs.value],e)??Li(Mi.en,e)??e;return t?n.replace(/\{(\w+)\}/g,(s,r)=>t[r]===void 0?`{${r}}`:String(t[r])):n}function oh(e){Zs.value=e,localStorage.setItem(La,e),document.documentElement.lang=e==="zh"?"zh-CN":"en"}function ih(){return{t:Te,lang:we(()=>Zs.value),setLang:oh}}document.documentElement.lang=Zs.value==="zh"?"zh-CN":"en";const Di=We({__name:"StatusPill",setup(e){const{status:t}=Zp(),n=we(()=>{switch(t.value){case"open":return Te("common.live");case"connecting":return Te("common.connecting");default:return Te("common.offline")}});return(s,r)=>(fe(),Qe("span",{class:Ue(B(wt)("inline-flex items-center gap-1.5 rounded-full border px-2 py-0.5 text-[11px] font-medium",B(t)==="open"?"border-allow/30 bg-allow/10 text-allow":B(t)==="connecting"?"border-drop/30 bg-drop/10 text-drop":"border-block/30 bg-block/10 text-block"))},[le("span",{class:Ue(B(wt)("size-1.5 rounded-full",B(t)==="open"?"bg-allow animate-pulse-dot":B(t)==="connecting"?"bg-drop animate-pulse-dot":"bg-block"))},null,2),Sn(" "+Le(n.value),1)],2))}}),Da="opengfw.theme",yr=localStorage.getItem(Da),cn=Ze(yr==="light"||yr==="dark"?yr:"system"),za=window.matchMedia("(prefers-color-scheme: dark)");function Va(e){return e==="dark"||e==="system"&&za.matches}const Wn=Ze(Va(cn.value));function xo(){var e;Wn.value=Va(cn.value),document.documentElement.classList.toggle("dark",Wn.value),(e=document.querySelector('meta[name="theme-color"]'))==null||e.setAttribute("content",Wn.value?"#09090b":"#ffffff")}Nt(cn,e=>{localStorage.setItem(Da,e),xo()});za.addEventListener("change",()=>{cn.value==="system"&&xo()});xo();function lh(){return{theme:cn,isDark:we(()=>Wn.value),setTheme:e=>{cn.value=e},toggle:()=>{cn.value=Wn.value?"light":"dark"}}}const ah={class:"bg-background min-h-dvh"},ch={class:"bg-card/40 fixed inset-y-0 left-0 z-40 hidden w-56 flex-col border-r px-3 py-4 md:flex lg:w-60"},uh={class:"flex items-center gap-2 px-2 pb-4"},fh={class:"min-w-0"},dh={class:"truncate text-sm font-semibold"},ph={class:"text-muted-foreground truncate text-[11px]"},hh={class:"flex flex-1 flex-col gap-0.5"},mh={class:"px-2 pt-3"},gh={class:"flex min-h-dvh flex-col md:pl-56 lg:pl-60"},bh={class:"bg-background/85 safe-top sticky top-0 z-30 border-b backdrop-blur-md md:hidden"},vh={class:"flex h-12 items-center justify-between gap-3 px-4"},yh={class:"truncate text-sm font-semibold"},_h={class:"flex-1 px-4 pt-4 pb-24 sm:px-6 sm:pt-6 md:pb-8"},xh={class:"bg-background/90 safe-bottom fixed inset-x-0 bottom-0 z-40 border-t backdrop-blur-md md:hidden"},wh={class:"grid grid-cols-5"},Sh={class:"truncate"},Eh=We({__name:"AppShell",setup(e){const t=ha(),n=we(()=>[{to:"/",label:Te("nav.dashboard"),icon:Fd},{to:"/events",label:Te("nav.events"),icon:$d},{to:"/rules",label:Te("nav.rules"),icon:jd},{to:"/analyzers",label:Te("nav.analyzers"),icon:zd},{to:"/settings",label:Te("nav.settings"),icon:Ud}]),s=we(()=>{const r=n.value.find(o=>o.to===t.path);return(r==null?void 0:r.label)??Te("app.name")});return Us(Ma),io(_o),(r,o)=>(fe(),Qe("div",ah,[le("aside",ch,[le("div",uh,[o[0]||(o[0]=le("div",{class:"bg-primary text-primary-foreground flex size-8 items-center justify-center rounded-lg font-bold"}," G ",-1)),le("div",fh,[le("p",dh,Le(B(Te)("app.name")),1),le("p",ph,Le(B(Te)("app.tagline")),1)])]),le("nav",hh,[(fe(!0),Qe(Pe,null,Tr(n.value,i=>(fe(),ze(B(Gr),{key:i.to,to:i.to,class:Ue(B(wt)("flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-sm font-medium transition-colors",B(t).path===i.to?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"))},{default:Ye(()=>[(fe(),ze(ir(i.icon),{class:"size-4 shrink-0"})),Sn(" "+Le(i.label),1)]),_:2},1032,["to","class"]))),128))]),le("div",mh,[de(Di)])]),le("div",gh,[le("header",bh,[le("div",vh,[le("span",yh,Le(s.value),1),de(Di)])]),le("main",_h,[de(B(go),null,{default:Ye(({Component:i})=>[(fe(),ze(ir(i),{class:"animate-fade-in"}))]),_:1})])]),le("nav",xh,[le("div",wh,[(fe(!0),Qe(Pe,null,Tr(n.value,i=>(fe(),ze(B(Gr),{key:i.to,to:i.to,class:Ue(B(wt)("flex flex-col items-center gap-0.5 py-2 text-[10px] font-medium transition-colors",B(t).path===i.to?"text-foreground":"text-muted-foreground"))},{default:Ye(()=>[(fe(),ze(ir(i.icon),{class:Ue(B(wt)("size-5",B(t).path===i.to&&"text-primary"))},null,8,["class"])),le("span",Sh,Le(i.label),1)]),_:2},1032,["to","class"]))),128))])])]))}}),zi=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Vi=ga,Ah=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Vi(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:o}=t,i=Object.keys(r).map(c=>{const u=n==null?void 0:n[c],f=o==null?void 0:o[c];if(u===null)return null;const h=zi(u)||zi(f);return r[c][h]}),l=n&&Object.entries(n).reduce((c,u)=>{let[f,h]=u;return h===void 0||(c[f]=h),c},{}),a=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((c,u)=>{let{class:f,className:h,...m}=u;return Object.entries(m).every(E=>{let[x,k]=E;return Array.isArray(k)?k.includes({...o,...l}[x]):{...o,...l}[x]===k})?[...c,f,h]:c},[]);return Vi(e,i,a,n==null?void 0:n.class,n==null?void 0:n.className)};function wo(e,t){return Yi()?(nc(e,t),!0):!1}function vm(e){let t=!1,n;const s=Ji(!0);return((...r)=>(t||(n=s.run(()=>e(...r)),t=!0),n))}const So=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ch=e=>typeof e<"u",kh=Object.prototype.toString,Rh=e=>kh.call(e)==="[object Object]",ym=Th();function Th(){var e,t,n;return So&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function _r(e){return Array.isArray(e)?e:[e]}function Ph(e){return fn()}function _m(e){if(!So)return e;let t=0,n,s;const r=()=>{t-=1,s&&t<=0&&(s.stop(),n=void 0,s=void 0)};return((...o)=>(t+=1,s||(s=Ji(!0),n=s.run(()=>e(...o))),wo(r),n))}function xm(e,t=1e4){return Cc((n,s)=>{let r=It(e),o;const i=()=>setTimeout(()=>{r=It(e),s()},It(t));return wo(()=>{clearTimeout(o)}),{get(){return n(),r},set(l){r=l,s(),clearTimeout(o),o=i()}}})}function wm(e,t){Ph()&&oo(e,t)}function Oh(e,t,n){return Nt(e,t,{...n,immediate:!0})}const Eo=So?window:void 0;function Rs(e){var t;const n=It(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function Ih(...e){const t=(s,r,o,i)=>(s.addEventListener(r,o,i),()=>s.removeEventListener(r,o,i)),n=we(()=>{const s=_r(It(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return Oh(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(o=>Rs(o)))!==null&&s!==void 0?s:[Eo].filter(o=>o!=null),_r(It(n.value?e[1]:e[0])),_r(B(n.value?e[2]:e[1])),It(n.value?e[3]:e[2])]},([s,r,o,i],l,a)=>{if(!(s!=null&&s.length)||!(r!=null&&r.length)||!(o!=null&&o.length))return;const c=Rh(i)?{...i}:i,u=s.flatMap(f=>r.flatMap(h=>o.map(m=>t(f,h,m,c))));a(()=>{u.forEach(f=>f())})},{flush:"post"})}function Nh(){const e=to(!1),t=fn();return t&&Us(()=>{e.value=!0},t),e}function Mh(e){const t=Nh();return we(()=>(t.value,!!e()))}function Lh(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Sm(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Eo,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=s,a=Lh(t);return Ih(r,o,u=>{u.repeat&&It(l)||a(u)&&n(u)},i)}function Dh(e){return JSON.parse(JSON.stringify(e))}function Em(e,t,n={}){const{window:s=Eo,...r}=n;let o;const i=Mh(()=>s&&"ResizeObserver"in s),l=()=>{o&&(o.disconnect(),o=void 0)},a=Nt(we(()=>{const u=It(e);return Array.isArray(u)?u.map(f=>Rs(f)):[Rs(u)]}),u=>{if(l(),i.value&&s){o=new ResizeObserver(t);for(const f of u)f&&o.observe(f,r)}},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return wo(c),{isSupported:i,stop:c}}function Am(e,t,n,s={}){var r,o;const{clone:i=!1,passive:l=!1,eventName:a,deep:c=!1,defaultValue:u,shouldEmit:f}=s,h=fn(),m=n||(h==null?void 0:h.emit)||(h==null||(r=h.$emit)===null||r===void 0?void 0:r.bind(h))||(h==null||(o=h.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(h==null?void 0:h.proxy));let E=a;t||(t="modelValue"),E=E||`update:${t.toString()}`;const x=_=>i?typeof i=="function"?i(_):Dh(_):_,k=()=>Ch(e[t])?x(e[t]):u,I=_=>{f?f(_)&&m(E,_):m(E,_)};if(l){const _=Ze(k());let M=!1;return Nt(()=>e[t],T=>{M||(M=!0,_.value=x(T),no(()=>M=!1))}),Nt(_,T=>{!M&&(T!==e[t]||c)&&I(T)},{deep:c}),_}else return we({get(){return k()},set(_){I(_)}})}function Fa(e){return e?e.flatMap(t=>t.type===Pe?Fa(t.children):[t]):[]}function zh(){const e=fn(),t=Ze(),n=we(()=>s());ro(()=>{n.value!==s()&&Sc(t)});function s(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Rs(t)}const r=Object.assign({},e.exposed),o={};for(const l in e.props)Object.defineProperty(o,l,{enumerable:!0,configurable:!0,get:()=>e.props[l]});if(Object.keys(r).length>0)for(const l in r)Object.defineProperty(o,l,{enumerable:!0,configurable:!0,get:()=>r[l]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(l){if(t.value=l,!!l&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>l instanceof Element?l:l.$el}),!(l instanceof Element)&&!Object.hasOwn(l,"$el"))){const a=l.$.exposed,c=Object.assign({},o);for(const u in a)Object.defineProperty(c,u,{enumerable:!0,configurable:!0,get:()=>a[u]});e.exposed=c}}return{forwardRef:i,currentRef:t,currentElement:n}}const Vh=We({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var a;if(!n.default)return null;const s=Fa(n.default()),r=s.findIndex(c=>c.type!==at);if(r===-1)return s;const o=s[r];(a=o.props)==null||delete a.ref;const i=o.props?fo(t,o.props):t,l=Jt({...o,props:{}},i);return s.length===1?l:(s[r]=l,s)}}}),Fh=["area","img","input"],ja=We({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const s=e.asChild?"template":e.as;return typeof s=="string"&&Fh.includes(s)?()=>qt(s,t):s!=="template"?()=>qt(e.as,t,{default:n.default}):()=>qt(Vh,t,{default:n.default})}});var jh=We({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return zh(),(n,s)=>(fe(),ze(B(ja),fo(t,{onMousedown:s[0]||(s[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:Ye(()=>[Ws(n.$slots,"default")]),_:3},16))}}),Bh=jh;const Gh=Ah("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow,background-color] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/40 focus-visible:border-ring active:scale-[0.98] select-none",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/30",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 text-[13px]",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8 rounded-md"}},defaultVariants:{variant:"default",size:"default"}}),xr=We({__name:"Button",props:{asChild:{type:Boolean},as:{default:"button"},variant:{},size:{},class:{}},setup(e){const t=e;return(n,s)=>(fe(),ze(B(ja),{as:t.as,"as-child":t.asChild,class:Ue(B(wt)(B(Gh)({variant:t.variant,size:t.size}),t.class))},{default:Ye(()=>[Ws(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),Hh=We({__name:"Card",props:{class:{}},setup(e){const t=e;return(n,s)=>(fe(),Qe("div",{class:Ue(B(wt)("bg-card text-card-foreground rounded-xl border shadow-sm transition-colors",t.class))},[Ws(n.$slots,"default")],2))}}),$h=["value"],Uh=We({__name:"Input",props:{class:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(fe(),Qe("input",{value:n.modelValue,class:Ue(B(wt)("border-input bg-background flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none sm:text-sm","placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground","focus-visible:border-ring focus-visible:ring-ring/40 focus-visible:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50",n.class)),onInput:o[0]||(o[0]=i=>s("update:modelValue",i.target.value))},null,42,$h))}}),Wh=We({__name:"Label",props:{class:{},for:{}},setup(e){const t=e;return(n,s)=>(fe(),ze(B(Bh),{for:t.for,class:Ue(B(wt)("flex items-center gap-2 text-sm leading-none font-medium select-none",t.class))},{default:Ye(()=>[Ws(n.$slots,"default")]),_:3},8,["for","class"]))}}),Kh={class:"bg-background flex min-h-dvh flex-col"},qh={class:"flex items-center justify-end gap-1 p-3"},Jh={class:"flex flex-1 items-center justify-center px-4 pb-16"},Yh={class:"mb-6 flex flex-col items-center text-center"},Qh={class:"bg-primary text-primary-foreground mb-3 flex size-11 items-center justify-center rounded-xl"},Xh={class:"text-lg font-semibold tracking-tight"},Zh={class:"text-muted-foreground mt-1 text-sm"},em={class:"flex flex-col gap-2"},tm={key:0,class:"text-destructive text-sm"},nm={class:"text-muted-foreground mt-4 text-center text-xs"},sm=We({__name:"LoginView",setup(e){const t=Md(),n=ha(),{lang:s,setLang:r}=ih(),{isDark:o,toggle:i}=lh(),l=Ze(""),a=Ze(!1),c=Ze("");async function u(){if(!a.value){a.value=!0,c.value="";try{await Wr.login(l.value);const f=n.query.redirect;await t.replace(typeof f=="string"?f:"/")}catch(f){c.value=f instanceof hs?f.message:Te("login.failed")}finally{a.value=!1}}}return(f,h)=>(fe(),Qe("div",Kh,[le("div",qh,[de(B(xr),{variant:"ghost",size:"sm",onClick:h[0]||(h[0]=m=>B(r)(B(s)==="zh"?"en":"zh"))},{default:Ye(()=>[Sn(Le(B(s)==="zh"?"EN":"中文"),1)]),_:1}),de(B(xr),{variant:"ghost",size:"icon-sm","aria-label":B(Te)("settings.theme"),onClick:B(i)},{default:Ye(()=>[B(o)?(fe(),ze(B(Hd),{key:0,class:"size-4"})):(fe(),ze(B(Wd),{key:1,class:"size-4"}))]),_:1},8,["aria-label","onClick"])]),le("div",Jh,[de(B(Hh),{class:"animate-slide-up w-full max-w-sm p-6"},{default:Ye(()=>[le("div",Yh,[le("div",Qh,[de(B(Gd),{class:"size-5"})]),le("h1",Xh,Le(B(Te)("app.name")),1),le("p",Zh,Le(B(Te)("login.subtitle")),1)]),le("form",{class:"flex flex-col gap-3",onSubmit:Sf(u,["prevent"])},[le("div",em,[de(B(Wh),{for:"password"},{default:Ye(()=>[Sn(Le(B(Te)("login.password")),1)]),_:1}),de(B(Uh),{id:"password",modelValue:l.value,"onUpdate:modelValue":h[1]||(h[1]=m=>l.value=m),type:"password",autocomplete:"current-password",autofocus:"",disabled:a.value},null,8,["modelValue","disabled"])]),c.value?(fe(),Qe("p",tm,Le(c.value),1)):ws("",!0),de(B(xr),{type:"submit",class:"mt-1 w-full",disabled:a.value||!l.value},{default:Ye(()=>[a.value?(fe(),ze(B(Bd),{key:0,class:"size-4 animate-spin"})):ws("",!0),Sn(" "+Le(B(Te)("login.submit")),1)]),_:1},8,["disabled"])],32),le("p",nm,Le(B(Te)("login.hint")),1)]),_:1})])]))}}),Ao=Nd({history:pd(),routes:[{path:"/login",name:"login",component:sm,meta:{public:!0}},{path:"/",component:Eh,children:[{path:"",name:"dashboard",component:()=>Dn(()=>import("./DashboardView-BnrlcswN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))},{path:"events",name:"events",component:()=>Dn(()=>import("./EventsView-DvVZcEec.js"),__vite__mapDeps([9,2,3,1,4,10,8,11]))},{path:"rules",name:"rules",component:()=>Dn(()=>import("./RulesView-SxOStRNP.js"),__vite__mapDeps([12,4,3,10,8,11,7]))},{path:"analyzers",name:"analyzers",component:()=>Dn(()=>import("./AnalyzersView-CHLlPReV.js"),__vite__mapDeps([13,4,3,5,6,1]))},{path:"settings",name:"settings",component:()=>Dn(()=>import("./SettingsView-CQy8Fv4M.js"),__vite__mapDeps([14,4,5,11,8]))}]},{path:"/:pathMatch(.*)*",redirect:"/"}]});Ao.beforeEach(e=>!e.meta.public&&!Vt.authenticated?{name:"login",query:e.fullPath==="/"?void 0:{redirect:e.fullPath}}:e.name==="login"&&Vt.authenticated?{name:"dashboard"}:!0);Vt.onUnauthorized(()=>{_o(),Ao.replace({name:"login"})});kf(Jp).use(Ao).mount("#app");export{qd as $,Xp as A,fn as B,fo as C,lm as D,Am as E,Pe as F,zh as G,Ws as H,bm as I,Sf as J,Us as K,oo as L,Wr as M,hs as N,Vd as O,ja as P,Bd as Q,Wh as R,io as S,Kd as T,no as U,to as V,cm as W,gm as X,om as Y,Pu as Z,Hh as _,Qe as a,Ah as a0,lh as a1,ih as a2,_o as a3,Wd as a4,Hd as a5,wm as a6,_m as a7,So as a8,ym as a9,Vh as aA,xc as aB,Ih as aa,er as ab,$e as ac,um as ad,It as ae,Rs as af,am as ag,xm as ah,Eo as ai,Fa as aj,qt as ak,Sm as al,Fs as am,vm as an,dm as ao,Nh as ap,fm as aq,im as ar,Yi as as,nc as at,mm as au,hm as av,Em as aw,it as ax,ds as ay,pm as az,le as b,st as c,We as d,Ue as e,wt as f,we as g,ze as h,ir as i,ws as j,Sn as k,Te as l,Ze as m,Ls as n,fe as o,de as p,Zp as q,Tr as r,xr as s,Le as t,B as u,Md as v,Ye as w,Nt as x,Uh as y,Yd as z};
|