Files
tajniak81 d6956395c8 Rebrand CommGate to gsmnode and adopt new design system
Rename the whole project from CommGate to gsmnode and re-skin every
surface onto the new signal-green + ink design system (Space Grotesk /
IBM Plex Sans / JetBrains Mono, flat surfaces, two-arrow routing mark,
lowercase gsm+node wordmark).

- Web App + API panel: rewrite token layer, gn-* utilities, data-gsm-theme,
  new logo/favicon assets; both builds verified.
- Phone App (Flutter): green theme, new mark/wordmark widgets, adaptive
  launcher icons; rename Android applicationId/package to app.gsmnode.phone;
  bump AGP to 8.6.0 and google_fonts to 8.1.0; debug APK build verified.
- API Server (Go): panel routes, User-Agent, health service id, branding.
- Home Assistant Plugin: rename integration domain sms_gateway to gsmnode
  (folder, DOMAIN, services, entity ids, classes); py_compile verified.
- Update all READMEs; add .gitignore (excludes Design/, build artifacts).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 08:53:14 +02:00

73 lines
70 KiB
JavaScript

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ns(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const B={},nt=[],Pe=()=>{},Vn=()=>!1,ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ns=e=>e.startsWith("onUpdate:"),te=Object.assign,Ws=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Qr=Object.prototype.hasOwnProperty,$=(e,t)=>Qr.call(e,t),M=Array.isArray,rt=e=>Ft(e)==="[object Map]",Bn=e=>Ft(e)==="[object Set]",an=e=>Ft(e)==="[object Date]",I=e=>typeof e=="function",J=e=>typeof e=="string",Me=e=>typeof e=="symbol",H=e=>e!==null&&typeof e=="object",kn=e=>(H(e)||I(e))&&I(e.then)&&I(e.catch),Gn=Object.prototype.toString,Ft=e=>Gn.call(e),ei=e=>Ft(e).slice(8,-1),qn=e=>Ft(e)==="[object Object]",Ks=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yt=Ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},ti=/-\w/g,de=rs(e=>e.replace(ti,t=>t.slice(1).toUpperCase())),si=/\B([A-Z])/g,Qe=rs(e=>e.replace(si,"-$1").toLowerCase()),Jn=rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=rs(e=>e?`on${Jn(e)}`:""),Ee=(e,t)=>!Object.is(e,t),ps=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},zn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let dn;const is=()=>dn||(dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Us(e){if(M(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=J(n)?li(n):Us(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(J(e)||H(e))return e}const ri=/;(?![^(]*\))/g,ii=/:([^]+)/,oi=/\/\*[^]*?\*\//g;function li(e){const t={};return e.replace(oi,"").split(ri).forEach(s=>{if(s){const n=s.split(ii);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Dt(e){let t="";if(J(e))t=e;else if(M(e))for(let s=0;s<e.length;s++){const n=Dt(e[s]);n&&(t+=n+" ")}else if(H(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const ci="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",fi=Ns(ci);function Yn(e){return!!e||e===""}function ui(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Vs(e[n],t[n]);return s}function Vs(e,t){if(e===t)return!0;let s=an(e),n=an(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Me(e),n=Me(t),s||n)return e===t;if(s=M(e),n=M(t),s||n)return s&&n?ui(e,t):!1;if(s=H(e),n=H(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Vs(e[o],t[o]))return!1}}return String(e)===String(t)}const Xn=e=>!!(e&&e.__v_isRef===!0),Ae=e=>J(e)?e:e==null?"":M(e)||H(e)&&(e.toString===Gn||!I(e.toString))?Xn(e)?Ae(e.value):JSON.stringify(e,Zn,2):String(e),Zn=(e,t)=>Xn(t)?Zn(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[gs(n,i)+" =>"]=r,s),{})}:Bn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>gs(s))}:Me(t)?gs(t):H(t)&&!M(t)&&!qn(t)?String(t):t,gs=(e,t="")=>{var s;return Me(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Z;class ai{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&&Z&&(Z.active?(this.parent=Z,this.index=(Z.scopes||(Z.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Z;try{return Z=this,t()}finally{Z=s}}}on(){++this._on===1&&(this.prevScope=Z,Z=this)}off(){if(this._on>0&&--this._on===0){if(Z===this)Z=this.prevScope;else{let t=Z;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 s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 di(){return Z}let V;const ms=new WeakSet;class Qn{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,Z&&(Z.active?Z.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ms.has(this)&&(ms.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hn(this),sr(this);const t=V,s=he;V=this,he=!0;try{return this.fn()}finally{nr(this),V=t,he=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,hn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ms.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Es(this)&&this.run()}get dirty(){return Es(this)}}let er=0,xt,vt;function tr(e,t=!1){if(e.flags|=8,t){e.next=vt,vt=e;return}e.next=xt,xt=e}function Bs(){er++}function ks(){if(--er>0)return;if(vt){let t=vt;for(vt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;xt;){let t=xt;for(xt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function sr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function nr(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Gs(n),hi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Es(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(rr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function rr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ot)||(e.globalVersion=Ot,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Es(e))))return;e.flags|=2;const t=e.dep,s=V,n=he;V=e,he=!0;try{sr(e);const r=e.fn(e._value);(t.version===0||Ee(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{V=s,he=n,nr(e),e.flags&=-3}}function Gs(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function hi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let he=!0;const ir=[];function Ie(){ir.push(he),he=!1}function Re(){const e=ir.pop();he=e===void 0?!0:e}function hn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=V;V=void 0;try{t()}finally{V=s}}}let Ot=0;class pi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qs{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(!V||!he||V===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==V)s=this.activeLink=new pi(V,this),V.deps?(s.prevDep=V.depsTail,V.depsTail.nextDep=s,V.depsTail=s):V.deps=V.depsTail=s,or(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=V.depsTail,s.nextDep=void 0,V.depsTail.nextDep=s,V.depsTail=s,V.deps===s&&(V.deps=n)}return s}trigger(t){this.version++,Ot++,this.notify(t)}notify(t){Bs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ks()}}}function or(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)or(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const As=new WeakMap,Xe=Symbol(""),Os=Symbol(""),Pt=Symbol("");function Q(e,t,s){if(he&&V){let n=As.get(e);n||As.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new qs),r.map=n,r.key=s),r.track()}}function je(e,t,s,n,r,i){const o=As.get(e);if(!o){Ot++;return}const l=f=>{f&&f.trigger()};if(Bs(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&Ks(s);if(f&&s==="length"){const a=Number(n);o.forEach((h,w)=>{(w==="length"||w===Pt||!Me(w)&&w>=a)&&l(h)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Pt)),t){case"add":f?d&&l(o.get("length")):(l(o.get(Xe)),rt(e)&&l(o.get(Os)));break;case"delete":f||(l(o.get(Xe)),rt(e)&&l(o.get(Os)));break;case"set":rt(e)&&l(o.get(Xe));break}}ks()}function et(e){const t=j(e);return t===e?t:(Q(t,"iterate",Pt),ue(e)?t:t.map(pe))}function os(e){return Q(e=j(e),"iterate",Pt),e}function Te(e,t){return $e(e)?ct(Ze(e)?pe(t):t):pe(t)}const gi={__proto__:null,[Symbol.iterator](){return _s(this,Symbol.iterator,e=>Te(this,e))},concat(...e){return et(this).concat(...e.map(t=>M(t)?et(t):t))},entries(){return _s(this,"entries",e=>(e[1]=Te(this,e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,s=>s.map(n=>Te(this,n)),arguments)},find(e,t){return Fe(this,"find",e,t,s=>Te(this,s),arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,s=>Te(this,s),arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return bs(this,"includes",e)},indexOf(...e){return bs(this,"indexOf",e)},join(e){return et(this).join(e)},lastIndexOf(...e){return bs(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return pt(this,"pop")},push(...e){return pt(this,"push",e)},reduce(e,...t){return pn(this,"reduce",e,t)},reduceRight(e,...t){return pn(this,"reduceRight",e,t)},shift(){return pt(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return pt(this,"splice",e)},toReversed(){return et(this).toReversed()},toSorted(e){return et(this).toSorted(e)},toSpliced(...e){return et(this).toSpliced(...e)},unshift(...e){return pt(this,"unshift",e)},values(){return _s(this,"values",e=>Te(this,e))}};function _s(e,t,s){const n=os(e),r=n[t]();return n!==e&&!ue(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const mi=Array.prototype;function Fe(e,t,s,n,r,i){const o=os(e),l=o!==e&&!ue(e),f=o[t];if(f!==mi[t]){const h=f.apply(e,i);return l?pe(h):h}let d=s;o!==e&&(l?d=function(h,w){return s.call(this,Te(e,h),w,e)}:s.length>2&&(d=function(h,w){return s.call(this,h,w,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function pn(e,t,s,n){const r=os(e),i=r!==e&&!ue(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,h){return l&&(l=!1,d=Te(e,d)),s.call(this,d,Te(e,a),h,e)}):s.length>3&&(o=function(d,a,h){return s.call(this,d,a,h,e)}));const f=r[t](o,...n);return l?Te(e,f):f}function bs(e,t,s){const n=j(e);Q(n,"iterate",Pt);const r=n[t](...s);return(r===-1||r===!1)&&Xs(s[0])?(s[0]=j(s[0]),n[t](...s)):r}function pt(e,t,s=[]){Ie(),Bs();const n=j(e)[t].apply(e,s);return ks(),Re(),n}const _i=Ns("__proto__,__v_isRef,__isVue"),lr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Me));function bi(e){Me(e)||(e=String(e));const t=j(this);return Q(t,"has",e),t.hasOwnProperty(e)}class cr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Oi:dr:i?ar:ur).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=gi[s]))return f;if(s==="hasOwnProperty")return bi}const l=Reflect.get(t,s,ee(t)?t:n);if((Me(s)?lr.has(s):_i(s))||(r||Q(t,"get",s),i))return l;if(ee(l)){const f=o&&Ks(s)?l:l.value;return r&&H(f)?Ms(f):f}return H(l)?r?Ms(l):zs(l):l}}class fr extends cr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&Ks(s);if(!this._isShallow){const d=$e(i);if(!ue(n)&&!$e(n)&&(i=j(i),n=j(n)),!o&&ee(i)&&!ee(n))return d||(i.value=n),!0}const l=o?Number(s)<t.length:$(t,s),f=Reflect.set(t,s,n,ee(t)?t:r);return t===j(r)&&f&&(l?Ee(n,i)&&je(t,"set",s,n):je(t,"add",s,n)),f}deleteProperty(t,s){const n=$(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&je(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Me(s)||!lr.has(s))&&Q(t,"has",s),n}ownKeys(t){return Q(t,"iterate",M(t)?"length":Xe),Reflect.ownKeys(t)}}class yi extends cr{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const xi=new fr,vi=new yi,Si=new fr(!0);const Ps=e=>e,Ut=e=>Reflect.getPrototypeOf(e);function wi(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=rt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?Ps:t?ct:pe;return!t&&Q(i,"iterate",f?Os:Xe),te(Object.create(d),{next(){const{value:h,done:w}=d.next();return w?{value:h,done:w}:{value:l?[a(h[0]),a(h[1])]:a(h),done:w}}})}}function Vt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ti(e,t){const s={get(r){const i=this.__v_raw,o=j(i),l=j(r);e||(Ee(r,l)&&Q(o,"get",r),Q(o,"get",l));const{has:f}=Ut(o),d=t?Ps:e?ct:pe;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&Q(j(r),"iterate",Xe),r.size},has(r){const i=this.__v_raw,o=j(i),l=j(r);return e||(Ee(r,l)&&Q(o,"has",r),Q(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=j(l),d=t?Ps:e?ct:pe;return!e&&Q(f,"iterate",Xe),l.forEach((a,h)=>r.call(i,d(a),d(h),o))}};return te(s,e?{add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear")}:{add(r){const i=j(this),o=Ut(i),l=j(r),f=!t&&!ue(r)&&!$e(r)?l:r;return o.has.call(i,f)||Ee(r,f)&&o.has.call(i,r)||Ee(l,f)&&o.has.call(i,l)||(i.add(f),je(i,"add",f,f)),this},set(r,i){!t&&!ue(i)&&!$e(i)&&(i=j(i));const o=j(this),{has:l,get:f}=Ut(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Ee(i,a)&&je(o,"set",r,i):je(o,"add",r,i),this},delete(r){const i=j(this),{has:o,get:l}=Ut(i);let f=o.call(i,r);f||(r=j(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&je(i,"delete",r,void 0),d},clear(){const r=j(this),i=r.size!==0,o=r.clear();return i&&je(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=wi(r,e,t)}),s}function Js(e,t){const s=Ti(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get($(s,r)&&r in n?s:n,r,i)}const Ci={get:Js(!1,!1)},Ei={get:Js(!1,!0)},Ai={get:Js(!0,!1)};const ur=new WeakMap,ar=new WeakMap,dr=new WeakMap,Oi=new WeakMap;function Pi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zs(e){return $e(e)?e:Ys(e,!1,xi,Ci,ur)}function Mi(e){return Ys(e,!1,Si,Ei,ar)}function Ms(e){return Ys(e,!0,vi,Ai,dr)}function Ys(e,t,s,n,r){if(!H(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Pi(ei(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function Ze(e){return $e(e)?Ze(e.__v_raw):!!(e&&e.__v_isReactive)}function $e(e){return!!(e&&e.__v_isReadonly)}function ue(e){return!!(e&&e.__v_isShallow)}function Xs(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Ii(e){return!$(e,"__v_skip")&&Object.isExtensible(e)&&zn(e,"__v_skip",!0),e}const pe=e=>H(e)?zs(e):e,ct=e=>H(e)?Ms(e):e;function ee(e){return e?e.__v_isRef===!0:!1}function mt(e){return Ri(e,!1)}function Ri(e,t){return ee(e)?e:new Fi(e,t)}class Fi{constructor(t,s){this.dep=new qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:pe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ue(t)||$e(t);t=n?t:j(t),Ee(t,s)&&(this._rawValue=t,this._value=n?t:pe(t),this.dep.trigger())}}function We(e){return ee(e)?e.value:e}const Di={get:(e,t,s)=>t==="__v_raw"?e:We(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ee(r)&&!ee(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function hr(e){return Ze(e)?e:new Proxy(e,Di)}class Li{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ot-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&V!==this)return tr(this,!0),!0}get value(){const t=this.dep.track();return rr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ji(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new Li(n,r,s)}const Bt={},qt=new WeakMap;let Ye;function $i(e,t=!1,s=Ye){if(s){let n=qt.get(s);n||qt.set(s,n=[]),n.push(e)}}function Hi(e,t,s=B){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=A=>r?A:ue(A)||r===!1||r===0?Ue(A,1):Ue(A);let a,h,w,T,D=!1,P=!1;if(ee(e)?(h=()=>e.value,D=ue(e)):Ze(e)?(h=()=>d(e),D=!0):M(e)?(P=!0,D=e.some(A=>Ze(A)||ue(A)),h=()=>e.map(A=>{if(ee(A))return A.value;if(Ze(A))return d(A);if(I(A))return f?f(A,2):A()})):I(e)?t?h=f?()=>f(e,2):e:h=()=>{if(w){Ie();try{w()}finally{Re()}}const A=Ye;Ye=a;try{return f?f(e,3,[T]):e(T)}finally{Ye=A}}:h=Pe,t&&r){const A=h,Y=r===!0?1/0:r;h=()=>Ue(A(),Y)}const G=di(),W=()=>{a.stop(),G&&G.active&&Ws(G.effects,a)};if(i&&t){const A=t;t=(...Y)=>{const me=A(...Y);return W(),me}}let F=P?new Array(e.length).fill(Bt):Bt;const k=A=>{if(!(!(a.flags&1)||!a.dirty&&!A))if(t){const Y=a.run();if(A||r||D||(P?Y.some((me,_e)=>Ee(me,F[_e])):Ee(Y,F))){w&&w();const me=Ye;Ye=a;try{const _e=[Y,F===Bt?void 0:P&&F[0]===Bt?[]:F,T];F=Y,f?f(t,3,_e):t(..._e)}finally{Ye=me}}}else a.run()};return l&&l(k),a=new Qn(h),a.scheduler=o?()=>o(k,!1):k,T=A=>$i(A,!1,a),w=a.onStop=()=>{const A=qt.get(a);if(A){if(f)f(A,4);else for(const Y of A)Y();qt.delete(a)}},t?n?k(!0):F=a.run():o?o(k.bind(null,!0),!0):a.run(),W.pause=a.pause.bind(a),W.resume=a.resume.bind(a),W.stop=W,W}function Ue(e,t=1/0,s){if(t<=0||!H(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ee(e))Ue(e.value,t,s);else if(M(e))for(let n=0;n<e.length;n++)Ue(e[n],t,s);else if(Bn(e)||rt(e))e.forEach(n=>{Ue(n,t,s)});else if(qn(e)){for(const n in e)Ue(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ue(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Lt(e,t,s,n){try{return n?e(...n):e()}catch(r){ls(r,t,s)}}function ge(e,t,s,n){if(I(e)){const r=Lt(e,t,s,n);return r&&kn(r)&&r.catch(i=>{ls(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i<e.length;i++)r.push(ge(e[i],t,s,n));return r}}function ls(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||B;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,f,d)===!1)return}l=l.parent}if(i){Ie(),Lt(i,null,10,[e,f,d]),Re();return}}Ni(e,s,r,n,o)}function Ni(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const re=[];let we=-1;const it=[];let Ke=null,st=0;const pr=Promise.resolve();let Jt=null;function Wi(e){const t=Jt||pr;return e?t.then(this?e.bind(this):e):t}function Ki(e){let t=we+1,s=re.length;for(;t<s;){const n=t+s>>>1,r=re[n],i=Mt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Zs(e){if(!(e.flags&1)){const t=Mt(e),s=re[re.length-1];!s||!(e.flags&2)&&t>=Mt(s)?re.push(e):re.splice(Ki(t),0,e),e.flags|=1,gr()}}function gr(){Jt||(Jt=pr.then(_r))}function Ui(e){M(e)?it.push(...e):Ke&&e.id===-1?Ke.splice(st+1,0,e):e.flags&1||(it.push(e),e.flags|=1),gr()}function gn(e,t,s=we+1){for(;s<re.length;s++){const n=re[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;re.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function mr(e){if(it.length){const t=[...new Set(it)].sort((s,n)=>Mt(s)-Mt(n));if(it.length=0,Ke){Ke.push(...t);return}for(Ke=t,st=0;st<Ke.length;st++){const s=Ke[st];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ke=null,st=0}}const Mt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _r(e){try{for(we=0;we<re.length;we++){const t=re[we];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Lt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;we<re.length;we++){const t=re[we];t&&(t.flags&=-2)}we=-1,re.length=0,mr(),Jt=null,(re.length||it.length)&&_r()}}let Oe=null,br=null;function zt(e){const t=Oe;return Oe=e,br=e&&e.type.__scopeId||null,t}function Vi(e,t=Oe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Zt(-1);const i=zt(t);let o;try{o=e(...r)}finally{zt(i),n._d&&Zt(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Je(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[n];f&&(Ie(),ge(f,s,8,[e.el,l,e,t]),Re())}}function Bi(e,t){if(ie){let s=ie.provides;const n=ie.parent&&ie.parent.provides;n===s&&(s=ie.provides=Object.create(n)),s[e]=t}}function St(e,t,s=!1){const n=Bo();if(n||ot){let r=ot?ot._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&I(t)?t.call(n&&n.proxy):t}}const ki=Symbol.for("v-scx"),Gi=()=>St(ki);function ys(e,t,s){return yr(e,t,s)}function yr(e,t,s=B){const{immediate:n,deep:r,flush:i,once:o}=s,l=te({},s),f=t&&n||!t&&i!=="post";let d;if(Rt){if(i==="sync"){const T=Gi();d=T.__watcherHandles||(T.__watcherHandles=[])}else if(!f){const T=()=>{};return T.stop=Pe,T.resume=Pe,T.pause=Pe,T}}const a=ie;l.call=(T,D,P)=>ge(T,a,D,P);let h=!1;i==="post"?l.scheduler=T=>{le(T,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(T,D)=>{D?T():Zs(T)}),l.augmentJob=T=>{t&&(T.flags|=4),h&&(T.flags|=2,a&&(T.id=a.uid,T.i=a))};const w=Hi(e,t,l);return Rt&&(d?d.push(w):f&&w()),w}function qi(e,t,s){const n=this.proxy,r=J(e)?e.includes(".")?xr(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=jt(this),l=yr(r,i.bind(n),s);return o(),l}function xr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Ji=Symbol("_vte"),zi=e=>e.__isTeleport,xs=Symbol("_leaveCb");function Qs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qs(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 vr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Yt=new WeakMap;function wt(e,t,s,n,r=!1){if(M(e)){e.forEach((P,G)=>wt(P,t&&(M(t)?t[G]:t),s,n,r));return}if(Tt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&wt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?nn(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===B?l.refs={}:l.refs,h=l.setupState,w=j(h),T=h===B?Vn:P=>mn(a,P)?!1:$(w,P),D=(P,G)=>!(G&&mn(a,G));if(d!=null&&d!==f){if(_n(t),J(d))a[d]=null,T(d)&&(h[d]=null);else if(ee(d)){const P=t;D(d,P.k)&&(d.value=null),P.k&&(a[P.k]=null)}}if(I(f)){Ie();try{Lt(f,l,12,[o,a])}finally{Re()}}else{const P=J(f),G=ee(f);if(P||G){const W=()=>{if(e.f){const F=P?T(f)?h[f]:a[f]:D()||!e.k?f.value:a[e.k];if(r)M(F)&&Ws(F,i);else if(M(F))F.includes(i)||F.push(i);else if(P)a[f]=[i],T(f)&&(h[f]=a[f]);else{const k=[i];D(f,e.k)&&(f.value=k),e.k&&(a[e.k]=k)}}else P?(a[f]=o,T(f)&&(h[f]=o)):G&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const F=()=>{W(),Yt.delete(e)};F.id=-1,Yt.set(e,F),le(F,s)}else _n(e),W()}}}function _n(e){const t=Yt.get(e);t&&(t.flags|=8,Yt.delete(e))}is().requestIdleCallback;is().cancelIdleCallback;const Tt=e=>!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function Yi(e,t){wr(e,"a",t)}function Xi(e,t){wr(e,"da",t)}function wr(e,t,s=ie){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(cs(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Sr(r.parent.vnode)&&Zi(n,t,s,r),r=r.parent}}function Zi(e,t,s,n){const r=cs(t,e,n,!0);en(()=>{Ws(n[t],r)},s)}function cs(e,t,s=ie,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ie();const l=jt(s),f=ge(t,s,e,o);return l(),Re(),f});return n?r.unshift(i):r.push(i),i}}const He=e=>(t,s=ie)=>{(!Rt||e==="sp")&&cs(e,(...n)=>t(...n),s)},Qi=He("bm"),Tr=He("m"),eo=He("bu"),to=He("u"),so=He("bum"),en=He("um"),no=He("sp"),ro=He("rtg"),io=He("rtc");function oo(e,t=ie){cs("ec",e,t)}const lo=Symbol.for("v-ndc");function co(e,t,s,n){let r;const i=s,o=M(e);if(o||J(e)){const l=o&&Ze(e);let f=!1,d=!1;l&&(f=!ue(e),d=$e(e),e=os(e)),r=new Array(e.length);for(let a=0,h=e.length;a<h;a++)r[a]=t(f?d?ct(pe(e[a])):pe(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(H(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const Is=e=>e?Br(e)?nn(e):Is(e.parent):null,Ct=te(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=>Is(e.parent),$root:e=>Is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Er(e),$forceUpdate:e=>e.f||(e.f=()=>{Zs(e.update)}),$nextTick:e=>e.n||(e.n=Wi.bind(e.proxy)),$watch:e=>qi.bind(e)}),vs=(e,t)=>e!==B&&!e.__isScriptSetup&&$(e,t),fo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(vs(n,t))return o[t]=1,n[t];if(r!==B&&$(r,t))return o[t]=2,r[t];if($(i,t))return o[t]=3,i[t];if(s!==B&&$(s,t))return o[t]=4,s[t];Rs&&(o[t]=0)}}const d=Ct[t];let a,h;if(d)return t==="$attrs"&&Q(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==B&&$(s,t))return o[t]=4,s[t];if(h=f.config.globalProperties,$(h,t))return h[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return vs(r,t)?(r[t]=s,!0):n!==B&&$(n,t)?(n[t]=s,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==B&&l[0]!=="$"&&$(e,l)||vs(t,l)||$(i,l)||$(n,l)||$(Ct,l)||$(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:$(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function bn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Rs=!0;function uo(e){const t=Er(e),s=e.proxy,n=e.ctx;Rs=!1,t.beforeCreate&&yn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:h,mounted:w,beforeUpdate:T,updated:D,activated:P,deactivated:G,beforeDestroy:W,beforeUnmount:F,destroyed:k,unmounted:A,render:Y,renderTracked:me,renderTriggered:_e,errorCaptured:Ne,serverPrefetch:$t,expose:ke,inheritAttrs:ut,components:Ht,directives:Nt,filters:as}=t;if(d&&ao(d,n,null),o)for(const q in o){const U=o[q];I(U)&&(n[q]=U.bind(s))}if(r){const q=r.call(s,s);H(q)&&(e.data=zs(q))}if(Rs=!0,i)for(const q in i){const U=i[q],Ge=I(U)?U.bind(s,s):I(U.get)?U.get.bind(s,s):Pe,Wt=!I(U)&&I(U.set)?U.set.bind(s):Pe,qe=Gr({get:Ge,set:Wt});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>qe.value,set:be=>qe.value=be})}if(l)for(const q in l)Cr(l[q],n,s,q);if(f){const q=I(f)?f.call(s):f;Reflect.ownKeys(q).forEach(U=>{Bi(U,q[U])})}a&&yn(a,e,"c");function se(q,U){M(U)?U.forEach(Ge=>q(Ge.bind(s))):U&&q(U.bind(s))}if(se(Qi,h),se(Tr,w),se(eo,T),se(to,D),se(Yi,P),se(Xi,G),se(oo,Ne),se(io,me),se(ro,_e),se(so,F),se(en,A),se(no,$t),M(ke))if(ke.length){const q=e.exposed||(e.exposed={});ke.forEach(U=>{Object.defineProperty(q,U,{get:()=>s[U],set:Ge=>s[U]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===Pe&&(e.render=Y),ut!=null&&(e.inheritAttrs=ut),Ht&&(e.components=Ht),Nt&&(e.directives=Nt),$t&&vr(e)}function ao(e,t,s=Pe){M(e)&&(e=Fs(e));for(const n in e){const r=e[n];let i;H(r)?"default"in r?i=St(r.from||n,r.default,!0):i=St(r.from||n):i=St(r),ee(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function yn(e,t,s){ge(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Cr(e,t,s,n){let r=n.includes(".")?xr(s,n):()=>s[n];if(J(e)){const i=t[e];I(i)&&ys(r,i)}else if(I(e))ys(r,e.bind(s));else if(H(e))if(M(e))e.forEach(i=>Cr(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&ys(r,i,e)}}function Er(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>Xt(f,d,o,!0)),Xt(f,t,o)),H(t)&&i.set(t,f),f}function Xt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Xt(e,i,s,!0),r&&r.forEach(o=>Xt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=ho[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ho={data:xn,props:vn,emits:vn,methods:_t,computed:_t,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:_t,directives:_t,watch:go,provide:xn,inject:po};function xn(e,t){return t?e?function(){return te(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function po(e,t){return _t(Fs(e),Fs(t))}function Fs(e){if(M(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ne(e,t){return e?[...new Set([].concat(e,t))]:t}function _t(e,t){return e?te(Object.create(null),e,t):t}function vn(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:te(Object.create(null),bn(e),bn(t??{})):t}function go(e,t){if(!e)return t;if(!t)return e;const s=te(Object.create(null),e);for(const n in t)s[n]=ne(e[n],t[n]);return s}function Ar(){return{app:null,config:{isNativeTag:Vn,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 mo=0;function _o(e,t){return function(n,r=null){I(n)||(n=te({},n)),r!=null&&!H(r)&&(r=null);const i=Ar(),o=new WeakSet,l=[];let f=!1;const d=i.app={_uid:mo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Yo,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(d,...h)):I(a)&&(o.add(a),a(d,...h))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,h){return h?(i.components[a]=h,d):i.components[a]},directive(a,h){return h?(i.directives[a]=h,d):i.directives[a]},mount(a,h,w){if(!f){const T=d._ceVNode||oe(n,r);return T.appContext=i,w===!0?w="svg":w===!1&&(w=void 0),e(T,a,w),f=!0,d._container=a,a.__vue_app__=d,nn(T.component)}},onUnmount(a){l.push(a)},unmount(){f&&(ge(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,h){return i.provides[a]=h,d},runWithContext(a){const h=ot;ot=d;try{return a()}finally{ot=h}}};return d}}let ot=null;const bo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${de(t)}Modifiers`]||e[`${Qe(t)}Modifiers`];function yo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||B;let r=s;const i=t.startsWith("update:"),o=i&&bo(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>J(a)?a.trim():a)),o.number&&(r=s.map(ni)));let l,f=n[l=hs(t)]||n[l=hs(de(t))];!f&&i&&(f=n[l=hs(Qe(t))]),f&&ge(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ge(d,e,6,r)}}const xo=new WeakMap;function Or(e,t,s=!1){const n=s?xo:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!I(e)){const f=d=>{const a=Or(d,t,!0);a&&(l=!0,te(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(H(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):te(o,i),H(e)&&n.set(e,o),o)}function fs(e,t){return!e||!ss(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Qe(t))||$(e,t))}function Sn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:h,data:w,setupState:T,ctx:D,inheritAttrs:P}=e,G=zt(e);let W,F;try{if(s.shapeFlag&4){const A=r||n,Y=A;W=Ce(d.call(Y,A,a,h,T,w,D)),F=l}else{const A=t;W=Ce(A.length>1?A(h,{attrs:l,slots:o,emit:f}):A(h,null)),F=t.props?l:vo(l)}}catch(A){Et.length=0,ls(A,e,1),W=oe(Be)}let k=W;if(F&&P!==!1){const A=Object.keys(F),{shapeFlag:Y}=k;A.length&&Y&7&&(i&&A.some(ns)&&(F=So(F,i)),k=ft(k,F,!1,!0))}return s.dirs&&(k=ft(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(s.dirs):s.dirs),s.transition&&Qs(k,s.transition),W=k,zt(G),W}const vo=e=>{let t;for(const s in e)(s==="class"||s==="style"||ss(s))&&((t||(t={}))[s]=e[s]);return t},So=(e,t)=>{const s={};for(const n in e)(!ns(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function wo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?wn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const w=a[h];if(Pr(o,n,w)&&!fs(d,w))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?wn(n,o,d):!0:!!o;return!1}function wn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(Pr(t,e,i)&&!fs(s,i))return!0}return!1}function Pr(e,t,s){const n=e[s],r=t[s];return s==="style"&&H(n)&&H(r)?!Vs(n,r):n!==r}function To({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Mr={},Ir=()=>Object.create(Mr),Rr=e=>Object.getPrototypeOf(e)===Mr;function Co(e,t,s,n=!1){const r={},i=Ir();e.propsDefaults=Object.create(null),Fr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Mi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Eo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=j(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let w=a[h];if(fs(e.emitsOptions,w))continue;const T=t[w];if(f)if($(i,w))T!==i[w]&&(i[w]=T,d=!0);else{const D=de(w);r[D]=Ds(f,l,D,T,e,!1)}else T!==i[w]&&(i[w]=T,d=!0)}}}else{Fr(e,t,r,i)&&(d=!0);let a;for(const h in l)(!t||!$(t,h)&&((a=Qe(h))===h||!$(t,a)))&&(f?s&&(s[h]!==void 0||s[a]!==void 0)&&(r[h]=Ds(f,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!$(t,h))&&(delete i[h],d=!0)}d&&je(e.attrs,"set","")}function Fr(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(yt(f))continue;const d=t[f];let a;r&&$(r,a=de(f))?!i||!i.includes(a)?s[a]=d:(l||(l={}))[a]=d:fs(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(i){const f=j(s),d=l||B;for(let a=0;a<i.length;a++){const h=i[a];s[h]=Ds(r,f,h,d[h],e,!$(d,h))}}return o}function Ds(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=$(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&I(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=jt(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===Qe(s))&&(n=!0))}return n}const Ao=new WeakMap;function Dr(e,t,s=!1){const n=s?Ao:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!I(e)){const a=h=>{f=!0;const[w,T]=Dr(h,t,!0);te(o,w),T&&l.push(...T)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return H(e)&&n.set(e,nt),nt;if(M(i))for(let a=0;a<i.length;a++){const h=de(i[a]);Tn(h)&&(o[h]=B)}else if(i)for(const a in i){const h=de(a);if(Tn(h)){const w=i[a],T=o[h]=M(w)||I(w)?{type:w}:te({},w),D=T.type;let P=!1,G=!0;if(M(D))for(let W=0;W<D.length;++W){const F=D[W],k=I(F)&&F.name;if(k==="Boolean"){P=!0;break}else k==="String"&&(G=!1)}else P=I(D)&&D.name==="Boolean";T[0]=P,T[1]=G,(P||$(T,"default"))&&l.push(h)}}const d=[o,l];return H(e)&&n.set(e,d),d}function Tn(e){return e[0]!=="$"&&!yt(e)}const tn=e=>e==="_"||e==="_ctx"||e==="$stable",sn=e=>M(e)?e.map(Ce):[Ce(e)],Oo=(e,t,s)=>{if(t._n)return t;const n=Vi((...r)=>sn(t(...r)),s);return n._c=!1,n},Lr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(tn(r))continue;const i=e[r];if(I(i))t[r]=Oo(r,i,n);else if(i!=null){const o=sn(i);t[r]=()=>o}}},jr=(e,t)=>{const s=sn(t);e.slots.default=()=>s},$r=(e,t,s)=>{for(const n in t)(s||!tn(n))&&(e[n]=t[n])},Po=(e,t,s)=>{const n=e.slots=Ir();if(e.vnode.shapeFlag&32){const r=t._;r?($r(n,t,s),s&&zn(n,"_",r,!0)):Lr(t,n)}else t&&jr(e,t)},Mo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=B;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:$r(r,t,s):(i=!t.$stable,Lr(t,r)),o=t}else t&&(jr(e,t),o={default:1});if(i)for(const l in r)!tn(l)&&o[l]==null&&delete r[l]},le=Lo;function Io(e){return Ro(e)}function Ro(e,t){const s=is();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:h,nextSibling:w,setScopeId:T=Pe,insertStaticContent:D}=e,P=(c,u,p,b=null,_=null,g=null,v=void 0,x=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!gt(c,u)&&(b=Kt(c),be(c,_,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:S}=u;switch(m){case us:G(c,u,p,b);break;case Be:W(c,u,p,b);break;case ws:c==null&&F(u,p,b,v);break;case ae:Ht(c,u,p,b,_,g,v,x,y);break;default:S&1?Y(c,u,p,b,_,g,v,x,y):S&6?Nt(c,u,p,b,_,g,v,x,y):(S&64||S&128)&&m.process(c,u,p,b,_,g,v,x,y,dt)}E!=null&&_?wt(E,c&&c.ref,g,u||c,!u):E==null&&c&&c.ref!=null&&wt(c.ref,null,g,c,!0)},G=(c,u,p,b)=>{if(c==null)n(u.el=l(u.children),p,b);else{const _=u.el=c.el;u.children!==c.children&&d(_,u.children)}},W=(c,u,p,b)=>{c==null?n(u.el=f(u.children||""),p,b):u.el=c.el},F=(c,u,p,b)=>{[c.el,c.anchor]=D(c.children,u,p,b,c.el,c.anchor)},k=({el:c,anchor:u},p,b)=>{let _;for(;c&&c!==u;)_=w(c),n(c,p,b),c=_;n(u,p,b)},A=({el:c,anchor:u})=>{let p;for(;c&&c!==u;)p=w(c),r(c),c=p;r(u)},Y=(c,u,p,b,_,g,v,x,y)=>{if(u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),c==null)me(u,p,b,_,g,v,x,y);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),$t(c,u,_,g,v,x,y)}finally{m&&m._endPatch()}}},me=(c,u,p,b,_,g,v,x)=>{let y,m;const{props:E,shapeFlag:S,transition:C,dirs:O}=c;if(y=c.el=o(c.type,g,E&&E.is,E),S&8?a(y,c.children):S&16&&Ne(c.children,y,null,b,_,Ss(c,g),v,x),O&&Je(c,null,b,"created"),_e(y,c,c.scopeId,v,b),E){for(const K in E)K!=="value"&&!yt(K)&&i(y,K,null,E[K],g,b);"value"in E&&i(y,"value",null,E.value,g),(m=E.onVnodeBeforeMount)&&Se(m,b,c)}O&&Je(c,null,b,"beforeMount");const R=Fo(_,C);R&&C.beforeEnter(y),n(y,u,p),((m=E&&E.onVnodeMounted)||R||O)&&le(()=>{try{m&&Se(m,b,c),R&&C.enter(y),O&&Je(c,null,b,"mounted")}finally{}},_)},_e=(c,u,p,b,_)=>{if(p&&T(c,p),b)for(let g=0;g<b.length;g++)T(c,b[g]);if(_){let g=_.subTree;if(u===g||Kr(g.type)&&(g.ssContent===u||g.ssFallback===u)){const v=_.vnode;_e(c,v,v.scopeId,v.slotScopeIds,_.parent)}}},Ne=(c,u,p,b,_,g,v,x,y=0)=>{for(let m=y;m<c.length;m++){const E=c[m]=x?Le(c[m]):Ce(c[m]);P(null,E,u,p,b,_,g,v,x)}},$t=(c,u,p,b,_,g,v)=>{const x=u.el=c.el;let{patchFlag:y,dynamicChildren:m,dirs:E}=u;y|=c.patchFlag&16;const S=c.props||B,C=u.props||B;let O;if(p&&ze(p,!1),(O=C.onVnodeBeforeUpdate)&&Se(O,p,u,c),E&&Je(u,c,p,"beforeUpdate"),p&&ze(p,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(y=0,v=!1,m=null),(S.innerHTML&&C.innerHTML==null||S.textContent&&C.textContent==null)&&a(x,""),m?ke(c.dynamicChildren,m,x,p,b,Ss(u,_),g):v||U(c,u,x,null,p,b,Ss(u,_),g,!1),y>0){if(y&16)ut(x,S,C,p,_);else if(y&2&&S.class!==C.class&&i(x,"class",null,C.class,_),y&4&&i(x,"style",S.style,C.style,_),y&8){const R=u.dynamicProps;for(let K=0;K<R.length;K++){const N=R[K],z=S[N],X=C[N];(X!==z||N==="value")&&i(x,N,z,X,_,p)}}y&1&&c.children!==u.children&&a(x,u.children)}else!v&&m==null&&ut(x,S,C,p,_);((O=C.onVnodeUpdated)||E)&&le(()=>{O&&Se(O,p,u,c),E&&Je(u,c,p,"updated")},b)},ke=(c,u,p,b,_,g,v)=>{for(let x=0;x<u.length;x++){const y=c[x],m=u[x],E=y.el&&(y.type===ae||!gt(y,m)||y.shapeFlag&198)?h(y.el):p;P(y,m,E,null,b,_,g,v,!0)}},ut=(c,u,p,b,_)=>{if(u!==p){if(u!==B)for(const g in u)!yt(g)&&!(g in p)&&i(c,g,u[g],null,_,b);for(const g in p){if(yt(g))continue;const v=p[g],x=u[g];v!==x&&g!=="value"&&i(c,g,x,v,_,b)}"value"in p&&i(c,"value",u.value,p.value,_)}},Ht=(c,u,p,b,_,g,v,x,y)=>{const m=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:C,slotScopeIds:O}=u;O&&(x=x?x.concat(O):O),c==null?(n(m,p,b),n(E,p,b),Ne(u.children||[],p,E,_,g,v,x,y)):S>0&&S&64&&C&&c.dynamicChildren&&c.dynamicChildren.length===C.length?(ke(c.dynamicChildren,C,p,_,g,v,x),(u.key!=null||_&&u===_.subTree)&&Hr(c,u,!0)):U(c,u,p,E,_,g,v,x,y)},Nt=(c,u,p,b,_,g,v,x,y)=>{u.slotScopeIds=x,c==null?u.shapeFlag&512?_.ctx.activate(u,p,b,v,y):as(u,p,b,_,g,v,y):rn(c,u,y)},as=(c,u,p,b,_,g,v)=>{const x=c.component=Vo(c,b,_);if(Sr(c)&&(x.ctx.renderer=dt),ko(x,!1,v),x.asyncDep){if(_&&_.registerDep(x,se,v),!c.el){const y=x.subTree=oe(Be);W(null,y,u,p),c.placeholder=y.el}}else se(x,c,u,p,_,g,v)},rn=(c,u,p)=>{const b=u.component=c.component;if(wo(c,u,p))if(b.asyncDep&&!b.asyncResolved){q(b,u,p);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,p,b,_,g,v)=>{const x=()=>{if(c.isMounted){let{next:S,bu:C,u:O,parent:R,vnode:K}=c;{const xe=Nr(c);if(xe){S&&(S.el=K.el,q(c,S,v)),xe.asyncDep.then(()=>{le(()=>{c.isUnmounted||m()},_)});return}}let N=S,z;ze(c,!1),S?(S.el=K.el,q(c,S,v)):S=K,C&&ps(C),(z=S.props&&S.props.onVnodeBeforeUpdate)&&Se(z,R,S,K),ze(c,!0);const X=Sn(c),ye=c.subTree;c.subTree=X,P(ye,X,h(ye.el),Kt(ye),c,_,g),S.el=X.el,N===null&&To(c,X.el),O&&le(O,_),(z=S.props&&S.props.onVnodeUpdated)&&le(()=>Se(z,R,S,K),_)}else{let S;const{el:C,props:O}=u,{bm:R,m:K,parent:N,root:z,type:X}=c,ye=Tt(u);ze(c,!1),R&&ps(R),!ye&&(S=O&&O.onVnodeBeforeMount)&&Se(S,N,u),ze(c,!0);{z.ce&&z.ce._hasShadowRoot()&&z.ce._injectChildStyle(X,c.parent?c.parent.type:void 0);const xe=c.subTree=Sn(c);P(null,xe,p,b,c,_,g),u.el=xe.el}if(K&&le(K,_),!ye&&(S=O&&O.onVnodeMounted)){const xe=u;le(()=>Se(S,N,xe),_)}(u.shapeFlag&256||N&&Tt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,_),c.isMounted=!0,u=p=b=null}};c.scope.on();const y=c.effect=new Qn(x);c.scope.off();const m=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Zs(E),ze(c,!0),m()},q=(c,u,p)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Eo(c,u.props,b,p),Mo(c,u.children,p),Ie(),gn(c),Re()},U=(c,u,p,b,_,g,v,x,y=!1)=>{const m=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:C,shapeFlag:O}=u;if(C>0){if(C&128){Wt(m,S,p,b,_,g,v,x,y);return}else if(C&256){Ge(m,S,p,b,_,g,v,x,y);return}}O&8?(E&16&&at(m,_,g),S!==m&&a(p,S)):E&16?O&16?Wt(m,S,p,b,_,g,v,x,y):at(m,_,g,!0):(E&8&&a(p,""),O&16&&Ne(S,p,b,_,g,v,x,y))},Ge=(c,u,p,b,_,g,v,x,y)=>{c=c||nt,u=u||nt;const m=c.length,E=u.length,S=Math.min(m,E);let C;for(C=0;C<S;C++){const O=u[C]=y?Le(u[C]):Ce(u[C]);P(c[C],O,p,null,_,g,v,x,y)}m>E?at(c,_,g,!0,!1,S):Ne(u,p,b,_,g,v,x,y,S)},Wt=(c,u,p,b,_,g,v,x,y)=>{let m=0;const E=u.length;let S=c.length-1,C=E-1;for(;m<=S&&m<=C;){const O=c[m],R=u[m]=y?Le(u[m]):Ce(u[m]);if(gt(O,R))P(O,R,p,null,_,g,v,x,y);else break;m++}for(;m<=S&&m<=C;){const O=c[S],R=u[C]=y?Le(u[C]):Ce(u[C]);if(gt(O,R))P(O,R,p,null,_,g,v,x,y);else break;S--,C--}if(m>S){if(m<=C){const O=C+1,R=O<E?u[O].el:b;for(;m<=C;)P(null,u[m]=y?Le(u[m]):Ce(u[m]),p,R,_,g,v,x,y),m++}}else if(m>C)for(;m<=S;)be(c[m],_,g,!0),m++;else{const O=m,R=m,K=new Map;for(m=R;m<=C;m++){const ce=u[m]=y?Le(u[m]):Ce(u[m]);ce.key!=null&&K.set(ce.key,m)}let N,z=0;const X=C-R+1;let ye=!1,xe=0;const ht=new Array(X);for(m=0;m<X;m++)ht[m]=0;for(m=O;m<=S;m++){const ce=c[m];if(z>=X){be(ce,_,g,!0);continue}let ve;if(ce.key!=null)ve=K.get(ce.key);else for(N=R;N<=C;N++)if(ht[N-R]===0&&gt(ce,u[N])){ve=N;break}ve===void 0?be(ce,_,g,!0):(ht[ve-R]=m+1,ve>=xe?xe=ve:ye=!0,P(ce,u[ve],p,null,_,g,v,x,y),z++)}const cn=ye?Do(ht):nt;for(N=cn.length-1,m=X-1;m>=0;m--){const ce=R+m,ve=u[ce],fn=u[ce+1],un=ce+1<E?fn.el||Wr(fn):b;ht[m]===0?P(null,ve,p,un,_,g,v,x,y):ye&&(N<0||m!==cn[N]?qe(ve,p,un,2):N--)}}},qe=(c,u,p,b,_=null)=>{const{el:g,type:v,transition:x,children:y,shapeFlag:m}=c;if(m&6){qe(c.component.subTree,u,p,b);return}if(m&128){c.suspense.move(u,p,b);return}if(m&64){v.move(c,u,p,dt);return}if(v===ae){n(g,u,p);for(let S=0;S<y.length;S++)qe(y[S],u,p,b);n(c.anchor,u,p);return}if(v===ws){k(c,u,p);return}if(b!==2&&m&1&&x)if(b===0)x.persisted&&!g[xs]?n(g,u,p):(x.beforeEnter(g),n(g,u,p),le(()=>x.enter(g),_));else{const{leave:S,delayLeave:C,afterLeave:O}=x,R=()=>{c.ctx.isUnmounted?r(g):n(g,u,p)},K=()=>{const N=g._isLeaving||!!g[xs];g._isLeaving&&g[xs](!0),x.persisted&&!N?R():S(g,()=>{R(),O&&O()})};C?C(g,R,K):K()}else n(g,u,p)},be=(c,u,p,b=!1,_=!1)=>{const{type:g,props:v,ref:x,children:y,dynamicChildren:m,shapeFlag:E,patchFlag:S,dirs:C,cacheIndex:O,memo:R}=c;if(S===-2&&(_=!1),x!=null&&(Ie(),wt(x,null,p,c,!0),Re()),O!=null&&(u.renderCache[O]=void 0),E&256){u.ctx.deactivate(c);return}const K=E&1&&C,N=!Tt(c);let z;if(N&&(z=v&&v.onVnodeBeforeUnmount)&&Se(z,u,c),E&6)Zr(c.component,p,b);else{if(E&128){c.suspense.unmount(p,b);return}K&&Je(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,p,dt,b):m&&!m.hasOnce&&(g!==ae||S>0&&S&64)?at(m,u,p,!1,!0):(g===ae&&S&384||!_&&E&16)&&at(y,u,p),b&&on(c)}const X=R!=null&&O==null;(N&&(z=v&&v.onVnodeUnmounted)||K||X)&&le(()=>{z&&Se(z,u,c),K&&Je(c,null,u,"unmounted"),X&&(c.el=null)},p)},on=c=>{const{type:u,el:p,anchor:b,transition:_}=c;if(u===ae){Xr(p,b);return}if(u===ws){A(c);return}const g=()=>{r(p),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:v,delayLeave:x}=_,y=()=>v(p,g);x?x(c.el,g,y):y()}else g()},Xr=(c,u)=>{let p;for(;c!==u;)p=w(c),r(c),c=p;r(u)},Zr=(c,u,p)=>{const{bum:b,scope:_,job:g,subTree:v,um:x,m:y,a:m}=c;Cn(y),Cn(m),b&&ps(b),_.stop(),g&&(g.flags|=8,be(v,c,u,p)),x&&le(x,u),le(()=>{c.isUnmounted=!0},u)},at=(c,u,p,b=!1,_=!1,g=0)=>{for(let v=g;v<c.length;v++)be(c[v],u,p,b,_)},Kt=c=>{if(c.shapeFlag&6)return Kt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),p=u&&u[Ji];return p?w(p):u};let ds=!1;const ln=(c,u,p)=>{let b;c==null?u._vnode&&(be(u._vnode,null,null,!0),b=u._vnode.component):P(u._vnode||null,c,u,null,null,null,p),u._vnode=c,ds||(ds=!0,gn(b),mr(),ds=!1)},dt={p:P,um:be,m:qe,r:on,mt:as,mc:Ne,pc:U,pbc:ke,n:Kt,o:e};return{render:ln,hydrate:void 0,createApp:_o(ln)}}function Ss({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function ze({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Fo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hr(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Le(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Hr(o,l)),l.type===us&&(l.patchFlag===-1&&(l=r[i]=Le(l)),l.el=o.el),l.type===Be&&!l.el&&(l.el=o.el)}}function Do(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<d?i=l+1:o=l;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Nr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nr(t)}function Cn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Wr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Wr(t.subTree):null}const Kr=e=>e.__isSuspense;function Lo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Ui(e)}const ae=Symbol.for("v-fgt"),us=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),ws=Symbol.for("v-stc"),Et=[];let fe=null;function Ve(e=!1){Et.push(fe=e?null:[])}function jo(){Et.pop(),fe=Et[Et.length-1]||null}let It=1;function Zt(e,t=!1){It+=e,e<0&&fe&&t&&(fe.hasOnce=!0)}function Ur(e){return e.dynamicChildren=It>0?fe||nt:null,jo(),It>0&&fe&&fe.push(e),e}function At(e,t,s,n,r,i){return Ur(L(e,t,s,n,r,i,!0))}function Ls(e,t,s,n,r){return Ur(oe(e,t,s,n,r,!0))}function Qt(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const Vr=({key:e})=>e??null,kt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ee(e)||I(e)?{i:Oe,r:e,k:t,f:!!s}:e:null);function L(e,t=null,s=null,n=0,r=null,i=e===ae?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vr(t),ref:t&&kt(t),scopeId:br,slotScopeIds:null,children:s,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:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return l?(es(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=J(s)?8:16),It>0&&!o&&fe&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&fe.push(f),f}const oe=$o;function $o(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===lo)&&(e=Be),Qt(e)){const l=ft(e,t,!0);return s&&es(l,s),It>0&&!i&&fe&&(l.shapeFlag&6?fe[fe.indexOf(e)]=l:fe.push(l)),l.patchFlag=-2,l}if(zo(e)&&(e=e.__vccOpts),t){t=Ho(t);let{class:l,style:f}=t;l&&!J(l)&&(t.class=Dt(l)),H(f)&&(Xs(f)&&!M(f)&&(f=te({},f)),t.style=Us(f))}const o=J(e)?1:Kr(e)?128:zi(e)?64:H(e)?4:I(e)?2:0;return L(e,t,s,n,r,o,i,!0)}function Ho(e){return e?Xs(e)||Rr(e)?te({},e):e:null}function ft(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?Wo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Vr(d),ref:t&&t.ref?s&&i?M(i)?i.concat(kt(t)):[i,kt(t)]:kt(t):i,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!==ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Qs(a,f.clone(a)),a}function Gt(e=" ",t=0){return oe(us,null,e,t)}function No(e="",t=!1){return t?(Ve(),Ls(Be,null,e)):oe(Be,null,e)}function Ce(e){return e==null||typeof e=="boolean"?oe(Be):M(e)?oe(ae,null,e.slice()):Qt(e)?Le(e):oe(us,null,String(e))}function Le(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ft(e)}function es(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),es(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Rr(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(I(t)){if(n&65){es(e,{default:t});return}t={default:t,_ctx:Oe},s=32}else t=String(t),n&64?(s=16,t=[Gt(t)]):s=8;e.children=t,e.shapeFlag|=s}function Wo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Dt([t.class,n.class]));else if(r==="style")t.style=Us([t.style,n.style]);else if(ss(r)){const i=t[r],o=n[r];o&&i!==o&&!(M(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!ns(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function Se(e,t,s,n=null){ge(e,t,7,[s,n])}const Ko=Ar();let Uo=0;function Vo(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Ko,i={uid:Uo++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ai(!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:Dr(n,r),emitsOptions:Or(n,r),emit:null,emitted:null,propsDefaults:B,inheritAttrs:n.inheritAttrs,ctx:B,data:B,props:B,attrs:B,slots:B,refs:B,setupState:B,setupContext:null,suspense:s,suspenseId:s?s.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=yo.bind(null,i),e.ce&&e.ce(i),i}let ie=null;const Bo=()=>ie||Oe;let ts,js;{const e=is(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};ts=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),js=t("__VUE_SSR_SETTERS__",s=>Rt=s)}const jt=e=>{const t=ie;return ts(e),e.scope.on(),()=>{e.scope.off(),ts(t)}},En=()=>{ie&&ie.scope.off(),ts(null)};function Br(e){return e.vnode.shapeFlag&4}let Rt=!1;function ko(e,t=!1,s=!1){t&&js(t);const{props:n,children:r}=e.vnode,i=Br(e);Co(e,n,i,t),Po(e,r,s||t);const o=i?Go(e,t):void 0;return t&&js(!1),o}function Go(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fo);const{setup:n}=s;if(n){Ie();const r=e.setupContext=n.length>1?Jo(e):null,i=jt(e),o=Lt(n,e,0,[e.props,r]),l=kn(o);if(Re(),i(),(l||e.sp)&&!Tt(e)&&vr(e),l){if(o.then(En,En),t)return o.then(f=>{An(e,f)}).catch(f=>{ls(f,e,0)});e.asyncDep=o}else An(e,o)}else kr(e)}function An(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:H(t)&&(e.setupState=hr(t)),kr(e)}function kr(e,t,s){const n=e.type;e.render||(e.render=n.render||Pe);{const r=jt(e);Ie();try{uo(e)}finally{Re(),r()}}}const qo={get(e,t){return Q(e,"get",""),e[t]}};function Jo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,qo),slots:e.slots,emit:e.emit,expose:t}}function nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hr(Ii(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ct)return Ct[s](e)},has(t,s){return s in t||s in Ct}})):e.proxy}function zo(e){return I(e)&&"__vccOpts"in e}const Gr=(e,t)=>ji(e,t,Rt);function $s(e,t,s){try{Zt(-1);const n=arguments.length;return n===2?H(t)&&!M(t)?Qt(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Qt(s)&&(s=[s]),oe(e,t,s))}finally{Zt(1)}}const Yo="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Hs;const On=typeof window<"u"&&window.trustedTypes;if(On)try{Hs=On.createPolicy("vue",{createHTML:e=>e})}catch{}const qr=Hs?e=>Hs.createHTML(e):e=>e,Xo="http://www.w3.org/2000/svg",Zo="http://www.w3.org/1998/Math/MathML",De=typeof document<"u"?document:null,Pn=De&&De.createElement("template"),Qo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?De.createElementNS(Xo,e):t==="mathml"?De.createElementNS(Zo,e):s?De.createElement(e,{is:s}):De.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>De.createTextNode(e),createComment:e=>De.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>De.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Pn.innerHTML=qr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Pn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},el=Symbol("_vtc");function tl(e,t,s){const n=e[el];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Mn=Symbol("_vod"),sl=Symbol("_vsh"),nl=Symbol(""),rl=/(?:^|;)\s*display\s*:/;function il(e,t,s){const n=e.style,r=J(s);let i=!1;if(s&&!r){if(t)if(J(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&bt(n,l,"")}else for(const o in t)s[o]==null&&bt(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?ll(e,o,!J(t)&&t?t[o]:void 0,l)||bt(n,o,l):bt(n,o,"")}}else if(r){if(t!==s){const o=n[nl];o&&(s+=";"+o),n.cssText=s,i=rl.test(s)}}else t&&e.removeAttribute("style");Mn in e&&(e[Mn]=i?n.display:"",e[sl]&&(n.display="none"))}const In=/\s*!important$/;function bt(e,t,s){if(M(s))s.forEach(n=>bt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ol(e,t);In.test(s)?e.setProperty(Qe(n),s.replace(In,""),"important"):e[n]=s}}const Rn=["Webkit","Moz","ms"],Ts={};function ol(e,t){const s=Ts[t];if(s)return s;let n=de(t);if(n!=="filter"&&n in e)return Ts[t]=n;n=Jn(n);for(let r=0;r<Rn.length;r++){const i=Rn[r]+n;if(i in e)return Ts[t]=i}return t}function ll(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&J(n)&&s===n}const Fn="http://www.w3.org/1999/xlink";function Dn(e,t,s,n,r,i=fi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Fn,t.slice(6,t.length)):e.setAttributeNS(Fn,t,s):s==null||i&&!Yn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Me(s)?String(s):s)}function Ln(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?qr(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Yn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function cl(e,t,s,n){e.addEventListener(t,s,n)}function fl(e,t,s,n){e.removeEventListener(t,s,n)}const jn=Symbol("_vei");function ul(e,t,s,n,r=null){const i=e[jn]||(e[jn]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=hl(t);if(n){const d=i[t]=ml(n,r);cl(e,l,d,f)}else o&&(fl(e,l,o,f),i[t]=void 0)}}const al=/(Once|Passive|Capture)$/,dl=/^on:?(?:Once|Passive|Capture)$/;function hl(e){let t,s;for(;(s=e.match(al))&&!dl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Qe(e.slice(2)),t]}let Cs=0;const pl=Promise.resolve(),gl=()=>Cs||(pl.then(()=>Cs=0),Cs=Date.now());function ml(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(M(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const d=o[f];d&&ge(d,t,5,l)}}else ge(r,t,5,[n])};return s.value=e,s.attached=gl(),s}const $n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_l=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?tl(e,n,o):t==="style"?il(e,s,n):ss(t)?ns(t)||ul(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bl(e,t,n,o))?(Ln(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dn(e,t,n,o,i,t!=="value")):e._isVueCE&&(yl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?Ln(e,de(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Dn(e,t,n,o))};function bl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&$n(t)&&I(s));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 $n(t)&&J(s)?!1:t in e}function yl(e,t){const s=e._def.props;if(!s)return!1;const n=de(t);return Array.isArray(s)?s.some(r=>de(r)===n):Object.keys(s).some(r=>de(r)===n)}const xl=te({patchProp:_l},Qo);let Hn;function vl(){return Hn||(Hn=Io(xl))}const Sl=((...e)=>{const t=vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Tl(n);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,wl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function wl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Tl(e){return J(e)?document.querySelector(e):e}/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Nn=e=>e==="";/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cl=(...e)=>e.filter((t,s,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===s).join(" ").trim();/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wn=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const El=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,s,n)=>n?n.toUpperCase():s.toLowerCase());/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Al=e=>{const t=El(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var tt={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 v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ol=Symbol("lucide-icons");function Pl(){return St(Ol,{})}/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ml=({name:e,iconNode:t,absoluteStrokeWidth:s,"absolute-stroke-width":n,strokeWidth:r,"stroke-width":i,size:o,color:l,...f},{slots:d})=>{const{size:a,color:h,strokeWidth:w=2,absoluteStrokeWidth:T=!1,class:D=""}=Pl(),P=Gr(()=>{const G=Nn(s)||Nn(n)||s===!0||n===!0||T===!0,W=r||i||w||tt["stroke-width"];return G?Number(W)*24/Number(o??a??tt.width):W});return $s("svg",{...tt,...f,width:o??a??tt.width,height:o??a??tt.height,stroke:l??h??tt.stroke,"stroke-width":P.value,class:Cl("lucide",D,...e?[`lucide-${Wn(Al(e))}-icon`,`lucide-${Wn(e)}`]:["lucide-icon"])},[...t.map(G=>$s(...G)),...d.default?[d.default()]:[]])};/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jr=(e,t)=>(s,{slots:n,attrs:r})=>$s(Ml,{...r,...s,iconNode:t,name:e},n.default?{default:n.default}:void 0);/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Il=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Rl=Jr("moon",Il);/**
* @license @lucide/vue v1.23.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fl=[["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"}]],Dl=Jr("sun",Fl),zr="gsmnode-theme";function Ll(){try{return localStorage.getItem(zr)==="dark"?"dark":"light"}catch{return"light"}}const lt=mt(Ll());function Yr(e){lt.value=e,document.documentElement.setAttribute("data-gsm-theme",e);try{localStorage.setItem(zr,e)}catch{}}function Kn(){Yr(lt.value==="dark"?"light":"dark")}Yr(lt.value);const jl={class:"overflow-hidden rounded-lg border border-subtle bg-card shadow-xs"},$l={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},Hl={class:"text-base font-semibold text-primary"},Nl={class:"gn-eyebrow"},Wl={class:"w-full text-left text-sm"},Kl={class:"border-t border-subtle px-5 py-2.5 font-mono text-xs whitespace-nowrap"},Ul={class:"text-primary"},Vl={class:"border-t border-subtle px-5 py-2.5 text-secondary"},Un={__name:"EndpointTable",props:{title:String,auth:String,endpoints:Array},setup(e){const t={GET:"text-success",POST:"text-brand-text",PATCH:"text-warning",DELETE:"text-danger"};return(s,n)=>(Ve(),At("div",jl,[L("div",$l,[L("div",Hl,Ae(e.title),1),L("span",Nl,Ae(e.auth),1)]),L("table",Wl,[n[0]||(n[0]=L("thead",null,[L("tr",{class:"gn-eyebrow"},[L("th",{class:"px-5 py-2.5 font-medium"},"Endpoint"),L("th",{class:"px-5 py-2.5 font-medium"},"Description")])],-1)),L("tbody",null,[(Ve(!0),At(ae,null,co(e.endpoints,r=>(Ve(),At("tr",{key:r.method+r.path,class:"transition-colors hover:bg-sunken"},[L("td",Kl,[L("span",{class:Dt(["font-semibold",t[r.method]])},Ae(r.method),3),L("span",Ul,Ae(r.path),1)]),L("td",Vl,Ae(r.desc),1)]))),128))])])]))}},Bl={class:"mx-auto flex max-w-3xl flex-col gap-6 px-6 pt-12 pb-16"},kl={class:"flex items-center gap-4"},Gl=["src"],ql=["title"],Jl={class:"rounded-lg border border-subtle bg-card shadow-sm"},zl={class:"flex items-center justify-between border-b border-subtle px-5 py-4"},Yl={class:"flex flex-wrap items-center gap-x-6 gap-y-2 px-5 py-4 font-mono text-xs text-secondary"},Xl={__name:"App",setup(e){const t=mt("checking"),s=mt(null),n=mt(null),r=mt(null);let i=null;async function o(){const a=performance.now();try{const h=await fetch("/api/health");n.value=Math.round(performance.now()-a),s.value=h.status,t.value=h.ok?"ok":"error"}catch{n.value=null,s.value=null,t.value="unreachable"}r.value=new Date}Tr(()=>{o(),i=setInterval(o,1e4)}),en(()=>clearInterval(i));const l={checking:{label:"checking",cls:"bg-sunken text-secondary"},ok:{label:"operational",cls:"bg-success-tint text-success"},error:{label:"error",cls:"bg-danger-tint text-danger"},unreachable:{label:"unreachable",cls:"bg-danger-tint text-danger"}},f=[{method:"POST",path:"/api/auth/login",desc:"Exchange email + password for a JWT"},{method:"GET",path:"/api/devices",desc:"List registered gateway devices"},{method:"DELETE",path:"/api/devices/{id}",desc:"Remove a device"},{method:"POST",path:"/api/messages",desc:"Queue an outbound SMS"},{method:"GET",path:"/api/messages",desc:"Outbound message history"},{method:"POST",path:"/api/calls",desc:"Queue an outbound phone call"},{method:"GET",path:"/api/inbox",desc:"Messages received by your devices"},{method:"GET",path:"/api/webhooks",desc:"List webhook subscriptions"},{method:"POST",path:"/api/webhooks",desc:"Register a webhook"}],d=[{method:"POST",path:"/api/mobile/v1/device",desc:"Register this phone as a gateway"},{method:"GET",path:"/api/mobile/v1/messages",desc:"Pull pending messages to send"},{method:"PATCH",path:"/api/mobile/v1/messages/{id}",desc:"Report sent / delivered / failed"},{method:"POST",path:"/api/mobile/v1/inbox",desc:"Push a received SMS"},{method:"POST",path:"/api/mobile/v1/ping",desc:"Device heartbeat"}];return(a,h)=>(Ve(),At("div",Bl,[L("div",kl,[L("img",{src:We(lt)==="dark"?"/gsmnode-horizontal-white.png":"/gsmnode-horizontal.png",alt:"gsmnode",class:"h-8"},null,8,Gl),h[2]||(h[2]=L("span",{class:"gn-eyebrow mt-1.5"},"API server",-1)),h[3]||(h[3]=L("div",{class:"flex-1"},null,-1)),L("button",{class:"gn-btn-sec gn-btn-sm",title:We(lt)==="dark"?"Switch to light theme":"Switch to dark theme",onClick:h[0]||(h[0]=(...w)=>We(Kn)&&We(Kn)(...w))},[We(lt)==="dark"?(Ve(),Ls(We(Dl),{key:0,class:"h-4 w-4"})):(Ve(),Ls(We(Rl),{key:1,class:"h-4 w-4"})),h[1]||(h[1]=Gt(" Theme ",-1))],8,ql)]),L("div",Jl,[L("div",zl,[h[5]||(h[5]=L("div",{class:"text-base font-semibold text-primary"},"Status",-1)),L("span",{class:Dt(["inline-flex items-center gap-1.5 rounded-sm px-2.5 py-1 font-mono text-xs font-medium",l[t.value].cls])},[h[4]||(h[4]=L("span",{class:"h-1.5 w-1.5 rounded-full bg-current"},null,-1)),Gt(" "+Ae(l[t.value].label),1),t.value==="error"?(Ve(),At(ae,{key:0},[Gt(Ae(s.value),1)],64)):No("",!0)],2)]),L("div",Yl,[h[6]||(h[6]=L("span",null,"GET /api/health",-1)),L("span",null,Ae(n.value!==null?n.value+"ms":"—"),1),L("span",null,Ae(r.value?"checked "+r.value.toLocaleTimeString():"—"),1)])]),oe(Un,{title:"Client API",auth:"Bearer JWT",endpoints:f}),oe(Un,{title:"Mobile API",auth:"Device token",endpoints:d}),h[7]||(h[7]=L("p",{class:"text-center font-mono text-[11px] text-muted"}," gsmnode — turn any Android phone into an SMS gateway. ",-1))]))}};Sl(Xl).mount("#app");