Forked from hermes-frontend, stripped openclaw/bun specifics: - Auth tokens: openclaw_session -> nyx_session - Vite proxy: localhost:3003 -> localhost:8000 (assay) - Prod WS: wss://assay.loop42.de/ws - Workspace paths: removed openclaw-specific paths - Added missing deps: @heroicons/vue, overlayscrollbars-vue - Branding: title -> nyx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
193 KiB
JavaScript
28 lines
193 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AgentsView-DlISXhse.js","assets/marked.esm-D9eDbhZJ.js","assets/LockClosedIcon-BaCuRZ_8.js","assets/AgentsView-CLYIODGP.css","assets/DevView-lskM9Phs.js","assets/DevView-HyNc2L8o.css","assets/ViewerView-CJchbA_-.js","assets/ViewerView-ExCKplPl.css"])))=>i.map(i=>d[i]);
|
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function Ri(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Re={},Un=[],Lt=()=>{},ua=()=>!1,qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ii=e=>e.startsWith("onUpdate:"),Ye=Object.assign,Pi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jf=Object.prototype.hasOwnProperty,ke=(e,t)=>Jf.call(e,t),fe=Array.isArray,Wn=e=>qs(e)==="[object Map]",zo=e=>qs(e)==="[object Set]",Al=e=>qs(e)==="[object Date]",ve=e=>typeof e=="function",Le=e=>typeof e=="string",At=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",fa=e=>(Oe(e)||ve(e))&&ve(e.then)&&ve(e.catch),da=Object.prototype.toString,qs=e=>da.call(e),Qf=e=>qs(e).slice(8,-1),pa=e=>qs(e)==="[object Object]",Yo=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Os=Ri(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Xf=/-\w/g,bt=Zo(e=>e.replace(Xf,t=>t.slice(1).toUpperCase())),ed=/\B([A-Z])/g,vn=Zo(e=>e.replace(ed,"-$1").toLowerCase()),Jo=Zo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cr=Zo(e=>e?`on${Jo(e)}`:""),dn=(e,t)=>!Object.is(e,t),vo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ha=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let kl;const Qo=()=>kl||(kl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function St(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Le(s)?od(s):St(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Le(e)||Oe(e))return e}const td=/;(?![^(]*\))/g,nd=/:([^]+)/,sd=/\/\*[^]*?\*\//g;function od(e){const t={};return e.replace(sd,"").split(td).forEach(n=>{if(n){const s=n.split(nd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Se(e){let t="";if(Le(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const s=Se(e[n]);s&&(t+=s+" ")}else if(Oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const rd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",id=Ri(rd);function ga(e){return!!e||e===""}function ld(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=zs(e[s],t[s]);return n}function zs(e,t){if(e===t)return!0;let n=Al(e),s=Al(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=At(e),s=At(t),n||s)return e===t;if(n=fe(e),s=fe(t),n||s)return n&&s?ld(e,t):!1;if(n=Oe(e),s=Oe(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const c=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(c&&!l||!c&&l||!zs(e[i],t[i]))return!1}}return String(e)===String(t)}function va(e,t){return e.findIndex(n=>zs(n,t))}const ma=e=>!!(e&&e.__v_isRef===!0),ye=e=>Le(e)?e:e==null?"":fe(e)||Oe(e)&&(e.toString===da||!ve(e.toString))?ma(e)?ye(e.value):JSON.stringify(e,ya,2):String(e),ya=(e,t)=>ma(t)?ya(e,t.value):Wn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Er(s,r)+" =>"]=o,n),{})}:zo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Er(n))}:At(t)?Er(t):Oe(t)&&!fe(t)&&!pa(t)?String(t):t,Er=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Je;class ba{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Je,!t&&Je&&(this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Je;try{return Je=this,t()}finally{Je=n}}}on(){++this._on===1&&(this.prevScope=Je,Je=this)}off(){this._on>0&&--this._on===0&&(Je=this.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){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function _a(e){return new ba(e)}function wa(){return Je}function cd(e,t=!1){Je&&Je.cleanups.push(e)}let Ie;const Ar=new WeakSet;class Sa{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,Je&&Je.active&&Je.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ar.has(this)&&(Ar.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ca(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ol(this),Ea(this);const t=Ie,n=Et;Ie=this,Et=!0;try{return this.fn()}finally{Aa(this),Ie=t,Et=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Li(t);this.deps=this.depsTail=void 0,Ol(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ar.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Jr(this)&&this.run()}get dirty(){return Jr(this)}}let xa=0,Ts,Rs;function Ca(e,t=!1){if(e.flags|=8,t){e.next=Rs,Rs=e;return}e.next=Ts,Ts=e}function Mi(){xa++}function $i(){if(--xa>0)return;if(Rs){let t=Rs;for(Rs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ts;){let t=Ts;for(Ts=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 Ea(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Aa(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Li(s),ad(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function Jr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ka(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ka(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hs)||(e.globalVersion=Hs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Jr(e))))return;e.flags|=2;const t=e.dep,n=Ie,s=Et;Ie=e,Et=!0;try{Ea(e);const o=e.fn(e._value);(t.version===0||dn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ie=n,Et=s,Aa(e),e.flags&=-3}}function Li(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Li(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ad(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Et=!0;const Oa=[];function Xt(){Oa.push(Et),Et=!1}function en(){const e=Oa.pop();Et=e===void 0?!0:e}function Ol(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ie;Ie=void 0;try{t()}finally{Ie=n}}}let Hs=0;class ud{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 Di{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(!Ie||!Et||Ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ie)n=this.activeLink=new ud(Ie,this),Ie.deps?(n.prevDep=Ie.depsTail,Ie.depsTail.nextDep=n,Ie.depsTail=n):Ie.deps=Ie.depsTail=n,Ta(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=Ie.depsTail,n.nextDep=void 0,Ie.depsTail.nextDep=n,Ie.depsTail=n,Ie.deps===n&&(Ie.deps=s)}return n}trigger(t){this.version++,Hs++,this.notify(t)}notify(t){Mi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$i()}}}function Ta(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)Ta(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Eo=new WeakMap,On=Symbol(""),Qr=Symbol(""),Vs=Symbol("");function Qe(e,t,n){if(Et&&Ie){let s=Eo.get(e);s||Eo.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Di),o.map=s,o.key=n),o.track()}}function zt(e,t,n,s,o,r){const i=Eo.get(e);if(!i){Hs++;return}const c=l=>{l&&l.trigger()};if(Mi(),t==="clear")i.forEach(c);else{const l=fe(e),a=l&&Yo(n);if(l&&n==="length"){const u=Number(s);i.forEach((f,p)=>{(p==="length"||p===Vs||!At(p)&&p>=u)&&c(f)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),a&&c(i.get(Vs)),t){case"add":l?a&&c(i.get("length")):(c(i.get(On)),Wn(e)&&c(i.get(Qr)));break;case"delete":l||(c(i.get(On)),Wn(e)&&c(i.get(Qr)));break;case"set":Wn(e)&&c(i.get(On));break}}$i()}function fd(e,t){const n=Eo.get(e);return n&&n.get(t)}function $n(e){const t=Ce(e);return t===e?t:(Qe(t,"iterate",Vs),dt(e)?t:t.map(kt))}function Xo(e){return Qe(e=Ce(e),"iterate",Vs),e}function cn(e,t){return tn(e)?Zn(Qt(e)?kt(t):t):kt(t)}const dd={__proto__:null,[Symbol.iterator](){return kr(this,Symbol.iterator,e=>cn(this,e))},concat(...e){return $n(this).concat(...e.map(t=>fe(t)?$n(t):t))},entries(){return kr(this,"entries",e=>(e[1]=cn(this,e[1]),e))},every(e,t){return Ft(this,"every",e,t,void 0,arguments)},filter(e,t){return Ft(this,"filter",e,t,n=>n.map(s=>cn(this,s)),arguments)},find(e,t){return Ft(this,"find",e,t,n=>cn(this,n),arguments)},findIndex(e,t){return Ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ft(this,"findLast",e,t,n=>cn(this,n),arguments)},findLastIndex(e,t){return Ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return Or(this,"includes",e)},indexOf(...e){return Or(this,"indexOf",e)},join(e){return $n(this).join(e)},lastIndexOf(...e){return Or(this,"lastIndexOf",e)},map(e,t){return Ft(this,"map",e,t,void 0,arguments)},pop(){return gs(this,"pop")},push(...e){return gs(this,"push",e)},reduce(e,...t){return Tl(this,"reduce",e,t)},reduceRight(e,...t){return Tl(this,"reduceRight",e,t)},shift(){return gs(this,"shift")},some(e,t){return Ft(this,"some",e,t,void 0,arguments)},splice(...e){return gs(this,"splice",e)},toReversed(){return $n(this).toReversed()},toSorted(e){return $n(this).toSorted(e)},toSpliced(...e){return $n(this).toSpliced(...e)},unshift(...e){return gs(this,"unshift",e)},values(){return kr(this,"values",e=>cn(this,e))}};function kr(e,t,n){const s=Xo(e),o=s[t]();return s!==e&&!dt(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const pd=Array.prototype;function Ft(e,t,n,s,o,r){const i=Xo(e),c=i!==e&&!dt(e),l=i[t];if(l!==pd[t]){const f=l.apply(e,r);return c?kt(f):f}let a=n;i!==e&&(c?a=function(f,p){return n.call(this,cn(e,f),p,e)}:n.length>2&&(a=function(f,p){return n.call(this,f,p,e)}));const u=l.call(i,a,s);return c&&o?o(u):u}function Tl(e,t,n,s){const o=Xo(e);let r=n;return o!==e&&(dt(e)?n.length>3&&(r=function(i,c,l){return n.call(this,i,c,l,e)}):r=function(i,c,l){return n.call(this,i,cn(e,c),l,e)}),o[t](r,...s)}function Or(e,t,n){const s=Ce(e);Qe(s,"iterate",Vs);const o=s[t](...n);return(o===-1||o===!1)&&er(n[0])?(n[0]=Ce(n[0]),s[t](...n)):o}function gs(e,t,n=[]){Xt(),Mi();const s=Ce(e)[t].apply(e,n);return $i(),en(),s}const hd=Ri("__proto__,__v_isRef,__isVue"),Ra=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At));function gd(e){At(e)||(e=String(e));const t=Ce(this);return Qe(t,"has",e),t.hasOwnProperty(e)}class Ia{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Ed:$a:r?Ma:Na).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=dd[n]))return l;if(n==="hasOwnProperty")return gd}const c=Reflect.get(t,n,Ne(t)?t:s);if((At(n)?Ra.has(n):hd(n))||(o||Qe(t,"get",n),r))return c;if(Ne(c)){const l=i&&Yo(n)?c:c.value;return o&&Oe(l)?ei(l):l}return Oe(c)?o?ei(c):mn(c):c}}class Pa extends Ia{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=fe(t)&&Yo(n);if(!this._isShallow){const a=tn(r);if(!dt(s)&&!tn(s)&&(r=Ce(r),s=Ce(s)),!i&&Ne(r)&&!Ne(s))return a||(r.value=s),!0}const c=i?Number(n)<t.length:ke(t,n),l=Reflect.set(t,n,s,Ne(t)?t:o);return t===Ce(o)&&(c?dn(s,r)&&zt(t,"set",n,s):zt(t,"add",n,s)),l}deleteProperty(t,n){const s=ke(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&zt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!At(n)||!Ra.has(n))&&Qe(t,"has",n),s}ownKeys(t){return Qe(t,"iterate",fe(t)?"length":On),Reflect.ownKeys(t)}}class vd extends Ia{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const md=new Pa,yd=new vd,bd=new Pa(!0);const Xr=e=>e,ro=e=>Reflect.getPrototypeOf(e);function _d(e,t,n){return function(...s){const o=this.__v_raw,r=Ce(o),i=Wn(r),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,a=o[e](...s),u=n?Xr:t?Zn:kt;return!t&&Qe(r,"iterate",l?Qr:On),Ye(Object.create(a),{next(){const{value:f,done:p}=a.next();return p?{value:f,done:p}:{value:c?[u(f[0]),u(f[1])]:u(f),done:p}}})}}function io(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wd(e,t){const n={get(o){const r=this.__v_raw,i=Ce(r),c=Ce(o);e||(dn(o,c)&&Qe(i,"get",o),Qe(i,"get",c));const{has:l}=ro(i),a=t?Xr:e?Zn:kt;if(l.call(i,o))return a(r.get(o));if(l.call(i,c))return a(r.get(c));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Qe(Ce(o),"iterate",On),o.size},has(o){const r=this.__v_raw,i=Ce(r),c=Ce(o);return e||(dn(o,c)&&Qe(i,"has",o),Qe(i,"has",c)),o===c?r.has(o):r.has(o)||r.has(c)},forEach(o,r){const i=this,c=i.__v_raw,l=Ce(c),a=t?Xr:e?Zn:kt;return!e&&Qe(l,"iterate",On),c.forEach((u,f)=>o.call(r,a(u),a(f),i))}};return Ye(n,e?{add:io("add"),set:io("set"),delete:io("delete"),clear:io("clear")}:{add(o){!t&&!dt(o)&&!tn(o)&&(o=Ce(o));const r=Ce(this);return ro(r).has.call(r,o)||(r.add(o),zt(r,"add",o,o)),this},set(o,r){!t&&!dt(r)&&!tn(r)&&(r=Ce(r));const i=Ce(this),{has:c,get:l}=ro(i);let a=c.call(i,o);a||(o=Ce(o),a=c.call(i,o));const u=l.call(i,o);return i.set(o,r),a?dn(r,u)&&zt(i,"set",o,r):zt(i,"add",o,r),this},delete(o){const r=Ce(this),{has:i,get:c}=ro(r);let l=i.call(r,o);l||(o=Ce(o),l=i.call(r,o)),c&&c.call(r,o);const a=r.delete(o);return l&&zt(r,"delete",o,void 0),a},clear(){const o=Ce(this),r=o.size!==0,i=o.clear();return r&&zt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=_d(o,e,t)}),n}function Hi(e,t){const n=wd(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ke(n,o)&&o in s?n:s,o,r)}const Sd={get:Hi(!1,!1)},xd={get:Hi(!1,!0)},Cd={get:Hi(!0,!1)};const Na=new WeakMap,Ma=new WeakMap,$a=new WeakMap,Ed=new WeakMap;function Ad(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kd(e){return e.__v_skip||!Object.isExtensible(e)?0:Ad(Qf(e))}function mn(e){return tn(e)?e:Vi(e,!1,md,Sd,Na)}function La(e){return Vi(e,!1,bd,xd,Ma)}function ei(e){return Vi(e,!0,yd,Cd,$a)}function Vi(e,t,n,s,o){if(!Oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=kd(e);if(r===0)return e;const i=o.get(e);if(i)return i;const c=new Proxy(e,r===2?s:n);return o.set(e,c),c}function Qt(e){return tn(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function tn(e){return!!(e&&e.__v_isReadonly)}function dt(e){return!!(e&&e.__v_isShallow)}function er(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function Fi(e){return!ke(e,"__v_skip")&&Object.isExtensible(e)&&ha(e,"__v_skip",!0),e}const kt=e=>Oe(e)?mn(e):e,Zn=e=>Oe(e)?ei(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function se(e){return Da(e,!1)}function Ao(e){return Da(e,!0)}function Da(e,t){return Ne(e)?e:new Od(e,t)}class Od{constructor(t,n){this.dep=new Di,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:kt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||dt(t)||tn(t);t=s?t:Ce(t),dn(t,n)&&(this._rawValue=t,this._value=s?t:kt(t),this.dep.trigger())}}function p1(e){e.dep&&e.dep.trigger()}function V(e){return Ne(e)?e.value:e}const Td={get:(e,t,n)=>t==="__v_raw"?e:V(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ne(o)&&!Ne(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Ha(e){return Qt(e)?e:new Proxy(e,Td)}function Va(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Fa(e,n);return t}class Rd{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=Ce(t);let o=!0,r=t;if(!fe(t)||!Yo(String(n)))do o=!er(r)||dt(r);while(o&&(r=r.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=V(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ne(this._raw[this._key])){const n=this._object[this._key];if(Ne(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return fd(this._raw,this._key)}}class Id{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 h1(e,t,n){return Ne(e)?e:ve(e)?new Id(e):Oe(e)&&arguments.length>1?Fa(e,t,n):se(e)}function Fa(e,t,n){return new Rd(e,t,n)}class Pd{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Di(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Hs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ie!==this)return Ca(this,!0),!0}get value(){const t=this.dep.track();return ka(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Nd(e,t,n=!1){let s,o;return ve(e)?s=e:(s=e.get,o=e.set),new Pd(s,o,n)}const lo={},ko=new WeakMap;let Sn;function Md(e,t=!1,n=Sn){if(n){let s=ko.get(n);s||ko.set(n,s=[]),s.push(e)}}function $d(e,t,n=Re){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:c,call:l}=n,a=E=>o?E:dt(E)||o===!1||o===0?Yt(E,1):Yt(E);let u,f,p,g,v=!1,w=!1;if(Ne(e)?(f=()=>e.value,v=dt(e)):Qt(e)?(f=()=>a(e),v=!0):fe(e)?(w=!0,v=e.some(E=>Qt(E)||dt(E)),f=()=>e.map(E=>{if(Ne(E))return E.value;if(Qt(E))return a(E);if(ve(E))return l?l(E,2):E()})):ve(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){Xt();try{p()}finally{en()}}const E=Sn;Sn=u;try{return l?l(e,3,[g]):e(g)}finally{Sn=E}}:f=Lt,t&&o){const E=f,k=o===!0?1/0:o;f=()=>Yt(E(),k)}const A=wa(),S=()=>{u.stop(),A&&A.active&&Pi(A.effects,u)};if(r&&t){const E=t;t=(...k)=>{E(...k),S()}}let R=w?new Array(e.length).fill(lo):lo;const H=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(t){const k=u.run();if(o||v||(w?k.some((B,P)=>dn(B,R[P])):dn(k,R))){p&&p();const B=Sn;Sn=u;try{const P=[k,R===lo?void 0:w&&R[0]===lo?[]:R,g];R=k,l?l(t,3,P):t(...P)}finally{Sn=B}}}else u.run()};return c&&c(H),u=new Sa(f),u.scheduler=i?()=>i(H,!1):H,g=E=>Md(E,!1,u),p=u.onStop=()=>{const E=ko.get(u);if(E){if(l)l(E,4);else for(const k of E)k();ko.delete(u)}},t?s?H(!0):R=u.run():i?i(H.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Yt(e,t=1/0,n){if(t<=0||!Oe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ne(e))Yt(e.value,t,n);else if(fe(e))for(let s=0;s<e.length;s++)Yt(e[s],t,n);else if(zo(e)||Wn(e))e.forEach(s=>{Yt(s,t,n)});else if(pa(e)){for(const s in e)Yt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Yt(e[s],t,n)}return e}function Ys(e,t,n,s){try{return s?e(...s):e()}catch(o){Zs(o,t,n)}}function Dt(e,t,n,s){if(ve(e)){const o=Ys(e,t,n,s);return o&&fa(o)&&o.catch(r=>{Zs(r,t,n)}),o}if(fe(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Dt(e[r],t,n,s));return o}}function Zs(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Re;if(t){let c=t.parent;const l=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const u=c.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,a)===!1)return}c=c.parent}if(r){Xt(),Ys(r,null,10,[e,l,a]),en();return}}Ld(e,n,o,s,i)}function Ld(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const nt=[];let It=-1;const Gn=[];let an=null,Dn=0;const Ba=Promise.resolve();let Oo=null;function tr(e){const t=Oo||Ba;return e?t.then(this?e.bind(this):e):t}function Dd(e){let t=It+1,n=nt.length;for(;t<n;){const s=t+n>>>1,o=nt[s],r=Fs(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Bi(e){if(!(e.flags&1)){const t=Fs(e),n=nt[nt.length-1];!n||!(e.flags&2)&&t>=Fs(n)?nt.push(e):nt.splice(Dd(t),0,e),e.flags|=1,ja()}}function ja(){Oo||(Oo=Ba.then(Wa))}function Hd(e){fe(e)?Gn.push(...e):an&&e.id===-1?an.splice(Dn+1,0,e):e.flags&1||(Gn.push(e),e.flags|=1),ja()}function Rl(e,t,n=It+1){for(;n<nt.length;n++){const s=nt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;nt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ua(e){if(Gn.length){const t=[...new Set(Gn)].sort((n,s)=>Fs(n)-Fs(s));if(Gn.length=0,an){an.push(...t);return}for(an=t,Dn=0;Dn<an.length;Dn++){const n=an[Dn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}an=null,Dn=0}}const Fs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Wa(e){try{for(It=0;It<nt.length;It++){const t=nt[It];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ys(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;It<nt.length;It++){const t=nt[It];t&&(t.flags&=-2)}It=-1,nt.length=0,Ua(),Oo=null,(nt.length||Gn.length)&&Wa()}}let qe=null,Ga=null;function To(e){const t=qe;return qe=e,Ga=e&&e.type.__scopeId||null,t}function Pt(e,t=qe,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&No(-1);const r=To(t);let i;try{i=e(...o)}finally{To(r),s._d&&No(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Vd(e,t){if(qe===null)return e;const n=ir(qe),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,c,l=Re]=t[o];r&&(ve(r)&&(r={mounted:r,updated:r}),r.deep&&Yt(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:c,modifiers:l}))}return e}function bn(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const c=o[i];r&&(c.oldValue=r[i].value);let l=c.dir[s];l&&(Xt(),Dt(l,n,8,[e.el,c,e,t]),en())}}function mo(e,t){if(Ke){let n=Ke.provides;const s=Ke.parent&&Ke.parent.provides;s===n&&(n=Ke.provides=Object.create(s)),n[e]=t}}function yt(e,t,n=!1){const s=bu();if(s||Tn){let o=Tn?Tn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ve(t)?t.call(s&&s.proxy):t}}function Fd(){return!!(bu()||Tn)}const Bd=Symbol.for("v-scx"),jd=()=>yt(Bd);function Ud(e,t){return ji(e,null,{flush:"post"})}function ze(e,t,n){return ji(e,t,n)}function ji(e,t,n=Re){const{immediate:s,deep:o,flush:r,once:i}=n,c=Ye({},n),l=t&&s||!t&&r!=="post";let a;if(Qn){if(r==="sync"){const g=jd();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=Lt,g.resume=Lt,g.pause=Lt,g}}const u=Ke;c.call=(g,v,w)=>Dt(g,u,v,w);let f=!1;r==="post"?c.scheduler=g=>{Ze(g,u&&u.suspense)}:r!=="sync"&&(f=!0,c.scheduler=(g,v)=>{v?g():Bi(g)}),c.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=$d(e,t,c);return Qn&&(a?a.push(p):l&&p()),p}function Wd(e,t,n){const s=this.proxy,o=Le(e)?e.includes(".")?Ka(s,e):()=>s[e]:e.bind(s,s);let r;ve(t)?r=t:(r=t.handler,n=t);const i=Qs(this),c=ji(o,r.bind(s),n);return i(),c}function Ka(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const qa=Symbol("_vte"),Gd=e=>e.__isTeleport,Is=e=>e&&(e.disabled||e.disabled===""),Il=e=>e&&(e.defer||e.defer===""),Pl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Nl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ti=(e,t)=>{const n=e&&e.to;return Le(n)?t?t(n):null:n},za={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,c,l,a){const{mc:u,pc:f,pbc:p,o:{insert:g,querySelector:v,createText:w,createComment:A}}=a,S=Is(t.props);let{shapeFlag:R,children:H,dynamicChildren:E}=t;if(e==null){const k=t.el=w(""),B=t.anchor=w("");g(k,n,s),g(B,n,s);const P=(x,N)=>{R&16&&u(H,x,N,o,r,i,c,l)},b=()=>{const x=t.target=ti(t.props,v),N=ni(x,t,w,g);x&&(i!=="svg"&&Pl(x)?i="svg":i!=="mathml"&&Nl(x)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(x),S||(P(x,N),yo(t,!1)))};S&&(P(n,B),yo(t,!0)),Il(t.props)?(t.el.__isMounted=!1,Ze(()=>{b(),delete t.el.__isMounted},r)):b()}else{if(Il(t.props)&&e.el.__isMounted===!1){Ze(()=>{za.process(e,t,n,s,o,r,i,c,l,a)},r);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,B=t.target=e.target,P=t.targetAnchor=e.targetAnchor,b=Is(e.props),x=b?n:B,N=b?k:P;if(i==="svg"||Pl(B)?i="svg":(i==="mathml"||Nl(B))&&(i="mathml"),E?(p(e.dynamicChildren,E,x,o,r,i,c),Yi(e,t,!0)):l||f(e,t,x,N,o,r,i,c,!1),S)b?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):co(t,n,k,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=ti(t.props,v);O&&co(t,O,null,a,0)}else b&&co(t,B,P,a,1);yo(t,S)}},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:c,anchor:l,targetStart:a,targetAnchor:u,target:f,props:p}=e;if(f&&(o(a),o(u)),r&&o(l),i&16){const g=r||!Is(p);for(let v=0;v<c.length;v++){const w=c[v];s(w,t,n,g,!!w.dynamicChildren)}}},move:co,hydrate:Kd};function co(e,t,n,{o:{insert:s},m:o},r=2){r===0&&s(e.targetAnchor,t,n);const{el:i,anchor:c,shapeFlag:l,children:a,props:u}=e,f=r===2;if(f&&s(i,t,n),(!f||Is(u))&&l&16)for(let p=0;p<a.length;p++)o(a[p],t,n,2);f&&s(c,t,n)}function Kd(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:c,querySelector:l,insert:a,createText:u}},f){function p(A,S){let R=S;for(;R;){if(R&&R.nodeType===8){if(R.data==="teleport start anchor")t.targetStart=R;else if(R.data==="teleport anchor"){t.targetAnchor=R,A._lpa=t.targetAnchor&&i(t.targetAnchor);break}}R=i(R)}}function g(A,S){S.anchor=f(i(A),S,c(A),n,s,o,r)}const v=t.target=ti(t.props,l),w=Is(t.props);if(v){const A=v._lpa||v.firstChild;t.shapeFlag&16&&(w?(g(e,t),p(v,A),t.targetAnchor||ni(v,t,u,a,c(e)===v?e:null)):(t.anchor=i(e),p(v,A),t.targetAnchor||ni(v,t,u,a),f(A&&i(A),t,v,n,s,o,r))),yo(t,w)}else w&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const g1=za;function yo(e,t){const n=e.ctx;if(n&&n.ut){let s,o;for(t?(s=e.el,o=e.anchor):(s=e.targetStart,o=e.targetAnchor);s&&s!==o;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function ni(e,t,n,s,o=null){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[qa]=i,e&&(s(r,e,o),s(i,e,o)),i}const qd=Symbol("_leaveCb");function Ui(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ui(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 ht(e,t){return ve(e)?Ye({name:e.name},t,{setup:e}):e}function Wi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ml(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ro=new WeakMap;function Ps(e,t,n,s,o=!1){if(fe(e)){e.forEach((w,A)=>Ps(w,t&&(fe(t)?t[A]:t),n,s,o));return}if(Kn(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ps(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?ir(s.component):s.el,i=o?null:r,{i:c,r:l}=e,a=t&&t.r,u=c.refs===Re?c.refs={}:c.refs,f=c.setupState,p=Ce(f),g=f===Re?ua:w=>Ml(u,w)?!1:ke(p,w),v=(w,A)=>!(A&&Ml(u,A));if(a!=null&&a!==l){if($l(t),Le(a))u[a]=null,g(a)&&(f[a]=null);else if(Ne(a)){const w=t;v(a,w.k)&&(a.value=null),w.k&&(u[w.k]=null)}}if(ve(l))Ys(l,c,12,[i,u]);else{const w=Le(l),A=Ne(l);if(w||A){const S=()=>{if(e.f){const R=w?g(l)?f[l]:u[l]:v()||!e.k?l.value:u[e.k];if(o)fe(R)&&Pi(R,r);else if(fe(R))R.includes(r)||R.push(r);else if(w)u[l]=[r],g(l)&&(f[l]=u[l]);else{const H=[r];v(l,e.k)&&(l.value=H),e.k&&(u[e.k]=H)}}else w?(u[l]=i,g(l)&&(f[l]=i)):A&&(v(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const R=()=>{S(),Ro.delete(e)};R.id=-1,Ro.set(e,R),Ze(R,n)}else $l(e),S()}}}function $l(e){const t=Ro.get(e);t&&(t.flags|=8,Ro.delete(e))}const Ll=e=>e.nodeType===8;Qo().requestIdleCallback;Qo().cancelIdleCallback;function zd(e,t){if(Ll(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Ll(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Kn=e=>!!e.type.__asyncLoader;function Tr(e){ve(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,hydrate:r,timeout:i,suspensible:c=!0,onError:l}=e;let a=null,u,f=0;const p=()=>(f++,a=null,g()),g=()=>{let v;return a||(v=a=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),l)return new Promise((A,S)=>{l(w,()=>A(p()),()=>S(w),f+1)});throw w}).then(w=>v!==a&&a?a:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),u=w,w)))};return ht({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(v,w,A){let S=!1;(w.bu||(w.bu=[])).push(()=>S=!0);const R=()=>{S||A()},H=r?()=>{const E=r(R,k=>zd(v,k));E&&(w.bum||(w.bum=[])).push(E)}:R;u?H():g().then(()=>!w.isUnmounted&&H())},get __asyncResolved(){return u},setup(){const v=Ke;if(Wi(v),u)return()=>ao(u,v);const w=H=>{a=null,Zs(H,v,13,!s)};if(c&&v.suspense||Qn)return g().then(H=>()=>ao(H,v)).catch(H=>(w(H),()=>s?me(s,{error:H}):null));const A=se(!1),S=se(),R=se(!!o);return o&&setTimeout(()=>{R.value=!1},o),i!=null&&setTimeout(()=>{if(!A.value&&!S.value){const H=new Error(`Async component timed out after ${i}ms.`);w(H),S.value=H}},i),g().then(()=>{A.value=!0,v.parent&&Gi(v.parent.vnode)&&v.parent.update()}).catch(H=>{w(H),S.value=H}),()=>{if(A.value&&u)return ao(u,v);if(S.value&&s)return me(s,{error:S.value});if(n&&!R.value)return ao(n,v)}}})}function ao(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=me(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Gi=e=>e.type.__isKeepAlive;function Yd(e,t){Ya(e,"a",t)}function Zd(e,t){Ya(e,"da",t)}function Ya(e,t,n=Ke){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(nr(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Gi(o.parent.vnode)&&Jd(s,t,n,o),o=o.parent}}function Jd(e,t,n,s){const o=nr(t,e,s,!0);Js(()=>{Pi(s[t],o)},n)}function nr(e,t,n=Ke,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Xt();const c=Qs(n),l=Dt(t,n,e,i);return c(),en(),l});return s?o.unshift(r):o.push(r),r}}const sn=e=>(t,n=Ke)=>{(!Qn||e==="sp")&&nr(e,(...s)=>t(...s),n)},Qd=sn("bm"),sr=sn("m"),Xd=sn("bu"),ep=sn("u"),tp=sn("bum"),Js=sn("um"),np=sn("sp"),sp=sn("rtg"),op=sn("rtc");function rp(e,t=Ke){nr("ec",e,t)}const Za="components";function Ki(e,t){return Xa(Za,e,!0,t)||e}const Ja=Symbol.for("v-ndc");function Qa(e){return Le(e)?Xa(Za,e,!1)||e:e||Ja}function Xa(e,t,n=!0,s=!1){const o=qe||Ke;if(o){const r=o.type;{const c=Wp(r,!1);if(c&&(c===t||c===bt(t)||c===Jo(bt(t))))return r}const i=Dl(o[e]||r[e],t)||Dl(o.appContext[e],t);return!i&&s?r:i}}function Dl(e,t){return e&&(e[t]||e[bt(t)]||e[Jo(bt(t))])}function Io(e,t,n,s){let o;const r=n,i=fe(e);if(i||Le(e)){const c=i&&Qt(e);let l=!1,a=!1;c&&(l=!dt(e),a=tn(e),e=Xo(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?a?Zn(kt(e[u])):kt(e[u]):e[u],u,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,r)}else if(Oe(e))if(e[Symbol.iterator])o=Array.from(e,(c,l)=>t(c,l,void 0,r));else{const c=Object.keys(e);o=new Array(c.length);for(let l=0,a=c.length;l<a;l++){const u=c[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function v1(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(fe(s))for(let o=0;o<s.length;o++)e[s[o].name]=s[o].fn;else s&&(e[s.name]=s.key?(...o)=>{const r=s.fn(...o);return r&&(r.key=s.key),r}:s.fn)}return e}function Hl(e,t,n={},s,o){if(qe.ce||qe.parent&&Kn(qe.parent)&&qe.parent.ce){const a=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Y(),De(Ue,null,[me("slot",n,s)],a?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),Y();const i=r&&eu(r(n)),c=n.key||i&&i.key,l=De(Ue,{key:(c&&!At(c)?c:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function eu(e){return e.some(t=>js(t)?!(t.type===nn||t.type===Ue&&!eu(t.children)):!0)?e:null}const si=e=>e?_u(e)?ir(e):si(e.parent):null,Ns=Ye(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=>si(e.parent),$root:e=>si(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>nu(e),$forceUpdate:e=>e.f||(e.f=()=>{Bi(e.update)}),$nextTick:e=>e.n||(e.n=tr.bind(e.proxy)),$watch:e=>Wd.bind(e)}),Rr=(e,t)=>e!==Re&&!e.__isScriptSetup&&ke(e,t),ip={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:c,appContext:l}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Rr(s,t))return i[t]=1,s[t];if(o!==Re&&ke(o,t))return i[t]=2,o[t];if(ke(r,t))return i[t]=3,r[t];if(n!==Re&&ke(n,t))return i[t]=4,n[t];oi&&(i[t]=0)}}const a=Ns[t];let u,f;if(a)return t==="$attrs"&&Qe(e.attrs,"get",""),a(e);if((u=c.__cssModules)&&(u=u[t]))return u;if(n!==Re&&ke(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,ke(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Rr(o,t)?(o[t]=n,!0):s!==Re&&ke(s,t)?(s[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},c){let l;return!!(n[c]||e!==Re&&c[0]!=="$"&&ke(e,c)||Rr(t,c)||ke(r,c)||ke(s,c)||ke(Ns,c)||ke(o.config.globalProperties,c)||(l=i.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vl(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let oi=!0;function lp(e){const t=nu(e),n=e.proxy,s=e.ctx;oi=!1,t.beforeCreate&&Fl(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:c,provide:l,inject:a,created:u,beforeMount:f,mounted:p,beforeUpdate:g,updated:v,activated:w,deactivated:A,beforeDestroy:S,beforeUnmount:R,destroyed:H,unmounted:E,render:k,renderTracked:B,renderTriggered:P,errorCaptured:b,serverPrefetch:x,expose:N,inheritAttrs:O,components:$,directives:X,filters:ee}=t;if(a&&cp(a,s,null),i)for(const Z in i){const ce=i[Z];ve(ce)&&(s[Z]=ce.bind(n))}if(o){const Z=o.call(n,n);Oe(Z)&&(e.data=mn(Z))}if(oi=!0,r)for(const Z in r){const ce=r[Z],de=ve(ce)?ce.bind(n,n):ve(ce.get)?ce.get.bind(n,n):Lt,ge=!ve(ce)&&ve(ce.set)?ce.set.bind(n):Lt,oe=_e({get:de,set:ge});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>oe.value,set:re=>oe.value=re})}if(c)for(const Z in c)tu(c[Z],s,n,Z);if(l){const Z=ve(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(ce=>{mo(ce,Z[ce])})}u&&Fl(u,e,"c");function te(Z,ce){fe(ce)?ce.forEach(de=>Z(de.bind(n))):ce&&Z(ce.bind(n))}if(te(Qd,f),te(sr,p),te(Xd,g),te(ep,v),te(Yd,w),te(Zd,A),te(rp,b),te(op,B),te(sp,P),te(tp,R),te(Js,E),te(np,x),fe(N))if(N.length){const Z=e.exposed||(e.exposed={});N.forEach(ce=>{Object.defineProperty(Z,ce,{get:()=>n[ce],set:de=>n[ce]=de,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Lt&&(e.render=k),O!=null&&(e.inheritAttrs=O),$&&(e.components=$),X&&(e.directives=X),x&&Wi(e)}function cp(e,t,n=Lt){fe(e)&&(e=ri(e));for(const s in e){const o=e[s];let r;Oe(o)?"default"in o?r=yt(o.from||s,o.default,!0):r=yt(o.from||s):r=yt(o),Ne(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Fl(e,t,n){Dt(fe(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function tu(e,t,n,s){let o=s.includes(".")?Ka(n,s):()=>n[s];if(Le(e)){const r=t[e];ve(r)&&ze(o,r)}else if(ve(e))ze(o,e.bind(n));else if(Oe(e))if(fe(e))e.forEach(r=>tu(r,t,n,s));else{const r=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(r)&&ze(o,r,e)}}function nu(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,c=r.get(t);let l;return c?l=c:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(a=>Po(l,a,i,!0)),Po(l,t,i)),Oe(t)&&r.set(t,l),l}function Po(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Po(e,r,n,!0),o&&o.forEach(i=>Po(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const c=ap[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const ap={data:Bl,props:jl,emits:jl,methods:Cs,computed:Cs,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:Cs,directives:Cs,watch:fp,provide:Bl,inject:up};function Bl(e,t){return t?e?function(){return Ye(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function up(e,t){return Cs(ri(e),ri(t))}function ri(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function et(e,t){return e?[...new Set([].concat(e,t))]:t}function Cs(e,t){return e?Ye(Object.create(null),e,t):t}function jl(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:Ye(Object.create(null),Vl(e),Vl(t??{})):t}function fp(e,t){if(!e)return t;if(!t)return e;const n=Ye(Object.create(null),e);for(const s in t)n[s]=et(e[s],t[s]);return n}function su(){return{app:null,config:{isNativeTag:ua,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 dp=0;function pp(e,t){return function(s,o=null){ve(s)||(s=Ye({},s)),o!=null&&!Oe(o)&&(o=null);const r=su(),i=new WeakSet,c=[];let l=!1;const a=r.app={_uid:dp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Kp,get config(){return r.config},set config(u){},use(u,...f){return i.has(u)||(u&&ve(u.install)?(i.add(u),u.install(a,...f)):ve(u)&&(i.add(u),u(a,...f))),a},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),a},component(u,f){return f?(r.components[u]=f,a):r.components[u]},directive(u,f){return f?(r.directives[u]=f,a):r.directives[u]},mount(u,f,p){if(!l){const g=a._ceVNode||me(s,o);return g.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),e(g,u,p),l=!0,a._container=u,u.__vue_app__=a,ir(g.component)}},onUnmount(u){c.push(u)},unmount(){l&&(Dt(c,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(u,f){return r.provides[u]=f,a},runWithContext(u){const f=Tn;Tn=a;try{return u()}finally{Tn=f}}};return a}}let Tn=null;const hp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${bt(t)}Modifiers`]||e[`${vn(t)}Modifiers`];function gp(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Re;let o=n;const r=t.startsWith("update:"),i=r&&hp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Le(u)?u.trim():u)),i.number&&(o=n.map(Ni)));let c,l=s[c=Cr(t)]||s[c=Cr(bt(t))];!l&&r&&(l=s[c=Cr(vn(t))]),l&&Dt(l,e,6,o);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Dt(a,e,6,o)}}const vp=new WeakMap;function ou(e,t,n=!1){const s=n?vp:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},c=!1;if(!ve(e)){const l=a=>{const u=ou(a,t,!0);u&&(c=!0,Ye(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!c?(Oe(e)&&s.set(e,null),null):(fe(r)?r.forEach(l=>i[l]=null):Ye(i,r),Oe(e)&&s.set(e,i),i)}function or(e,t){return!e||!qo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,vn(t))||ke(e,t))}function Ul(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:c,emit:l,render:a,renderCache:u,props:f,data:p,setupState:g,ctx:v,inheritAttrs:w}=e,A=To(e);let S,R;try{if(n.shapeFlag&4){const E=o||s,k=E;S=Mt(a.call(k,E,u,f,g,p,v)),R=c}else{const E=t;S=Mt(E.length>1?E(f,{attrs:c,slots:i,emit:l}):E(f,null)),R=t.props?c:mp(c)}}catch(E){Ms.length=0,Zs(E,e,1),S=me(nn)}let H=S;if(R&&w!==!1){const E=Object.keys(R),{shapeFlag:k}=H;E.length&&k&7&&(r&&E.some(Ii)&&(R=yp(R,r)),H=Jn(H,R,!1,!0))}return n.dirs&&(H=Jn(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&Ui(H,n.transition),S=H,To(A),S}const mp=e=>{let t;for(const n in e)(n==="class"||n==="style"||qo(n))&&((t||(t={}))[n]=e[n]);return t},yp=(e,t)=>{const n={};for(const s in e)(!Ii(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bp(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:c,patchFlag:l}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Wl(s,i,a):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(ru(i,s,p)&&!or(a,p))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:s===i?!1:s?i?Wl(s,i,a):!0:!!i;return!1}function Wl(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(ru(t,e,r)&&!or(n,r))return!0}return!1}function ru(e,t,n){const s=e[n],o=t[n];return n==="style"&&Oe(s)&&Oe(o)?!zs(s,o):s!==o}function _p({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const iu={},lu=()=>Object.create(iu),cu=e=>Object.getPrototypeOf(e)===iu;function wp(e,t,n,s=!1){const o={},r=lu();e.propsDefaults=Object.create(null),au(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:La(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Sp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,c=Ce(o),[l]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(or(e.emitsOptions,p))continue;const g=t[p];if(l)if(ke(r,p))g!==r[p]&&(r[p]=g,a=!0);else{const v=bt(p);o[v]=ii(l,c,v,g,e,!1)}else g!==r[p]&&(r[p]=g,a=!0)}}}else{au(e,t,o,r)&&(a=!0);let u;for(const f in c)(!t||!ke(t,f)&&((u=vn(f))===f||!ke(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ii(l,c,f,void 0,e,!0)):delete o[f]);if(r!==c)for(const f in r)(!t||!ke(t,f))&&(delete r[f],a=!0)}a&&zt(e.attrs,"set","")}function au(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,c;if(t)for(let l in t){if(Os(l))continue;const a=t[l];let u;o&&ke(o,u=bt(l))?!r||!r.includes(u)?n[u]=a:(c||(c={}))[u]=a:or(e.emitsOptions,l)||(!(l in s)||a!==s[l])&&(s[l]=a,i=!0)}if(r){const l=Ce(n),a=c||Re;for(let u=0;u<r.length;u++){const f=r[u];n[f]=ii(o,l,f,a[f],e,!ke(a,f))}}return i}function ii(e,t,n,s,o,r){const i=e[n];if(i!=null){const c=ke(i,"default");if(c&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ve(l)){const{propsDefaults:a}=o;if(n in a)s=a[n];else{const u=Qs(o);s=a[n]=l.call(null,t),u()}}else s=l;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!c?s=!1:i[1]&&(s===""||s===vn(n))&&(s=!0))}return s}const xp=new WeakMap;function uu(e,t,n=!1){const s=n?xp:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},c=[];let l=!1;if(!ve(e)){const u=f=>{l=!0;const[p,g]=uu(f,t,!0);Ye(i,p),g&&c.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Oe(e)&&s.set(e,Un),Un;if(fe(r))for(let u=0;u<r.length;u++){const f=bt(r[u]);Gl(f)&&(i[f]=Re)}else if(r)for(const u in r){const f=bt(u);if(Gl(f)){const p=r[u],g=i[f]=fe(p)||ve(p)?{type:p}:Ye({},p),v=g.type;let w=!1,A=!0;if(fe(v))for(let S=0;S<v.length;++S){const R=v[S],H=ve(R)&&R.name;if(H==="Boolean"){w=!0;break}else H==="String"&&(A=!1)}else w=ve(v)&&v.name==="Boolean";g[0]=w,g[1]=A,(w||ke(g,"default"))&&c.push(f)}}const a=[i,c];return Oe(e)&&s.set(e,a),a}function Gl(e){return e[0]!=="$"&&!Os(e)}const qi=e=>e==="_"||e==="_ctx"||e==="$stable",zi=e=>fe(e)?e.map(Mt):[Mt(e)],Cp=(e,t,n)=>{if(t._n)return t;const s=Pt((...o)=>zi(t(...o)),n);return s._c=!1,s},fu=(e,t,n)=>{const s=e._ctx;for(const o in e){if(qi(o))continue;const r=e[o];if(ve(r))t[o]=Cp(o,r,s);else if(r!=null){const i=zi(r);t[o]=()=>i}}},du=(e,t)=>{const n=zi(t);e.slots.default=()=>n},pu=(e,t,n)=>{for(const s in t)(n||!qi(s))&&(e[s]=t[s])},Ep=(e,t,n)=>{const s=e.slots=lu();if(e.vnode.shapeFlag&32){const o=t._;o?(pu(s,t,n),n&&ha(s,"_",o,!0)):fu(t,s)}else t&&du(e,t)},Ap=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Re;if(s.shapeFlag&32){const c=t._;c?n&&c===1?r=!1:pu(o,t,n):(r=!t.$stable,fu(t,o)),i=t}else t&&(du(e,t),i={default:1});if(r)for(const c in o)!qi(c)&&i[c]==null&&delete o[c]},Ze=Ip;function kp(e){return Op(e)}function Op(e,t){const n=Qo();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:c,createComment:l,setText:a,setElementText:u,parentNode:f,nextSibling:p,setScopeId:g=Lt,insertStaticContent:v}=e,w=(d,h,m,I=null,M=null,L=null,K=void 0,G=null,W=!!h.dynamicChildren)=>{if(d===h)return;d&&!vs(d,h)&&(I=_(d),re(d,M,L,!0),d=null),h.patchFlag===-2&&(W=!1,h.dynamicChildren=null);const{type:F,ref:C,shapeFlag:y}=h;switch(F){case rr:A(d,h,m,I);break;case nn:S(d,h,m,I);break;case Pr:d==null&&R(h,m,I,K);break;case Ue:$(d,h,m,I,M,L,K,G,W);break;default:y&1?k(d,h,m,I,M,L,K,G,W):y&6?X(d,h,m,I,M,L,K,G,W):(y&64||y&128)&&F.process(d,h,m,I,M,L,K,G,W,U)}C!=null&&M?Ps(C,d&&d.ref,L,h||d,!h):C==null&&d&&d.ref!=null&&Ps(d.ref,null,L,d,!0)},A=(d,h,m,I)=>{if(d==null)s(h.el=c(h.children),m,I);else{const M=h.el=d.el;h.children!==d.children&&a(M,h.children)}},S=(d,h,m,I)=>{d==null?s(h.el=l(h.children||""),m,I):h.el=d.el},R=(d,h,m,I)=>{[d.el,d.anchor]=v(d.children,h,m,I,d.el,d.anchor)},H=({el:d,anchor:h},m,I)=>{let M;for(;d&&d!==h;)M=p(d),s(d,m,I),d=M;s(h,m,I)},E=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),o(d),d=m;o(h)},k=(d,h,m,I,M,L,K,G,W)=>{if(h.type==="svg"?K="svg":h.type==="math"&&(K="mathml"),d==null)B(h,m,I,M,L,K,G,W);else{const F=d.el&&d.el._isVueCE?d.el:null;try{F&&F._beginPatch(),x(d,h,M,L,K,G,W)}finally{F&&F._endPatch()}}},B=(d,h,m,I,M,L,K,G)=>{let W,F;const{props:C,shapeFlag:y,transition:z,dirs:ie}=d;if(W=d.el=i(d.type,L,C&&C.is,C),y&8?u(W,d.children):y&16&&b(d.children,W,null,I,M,Ir(d,L),K,G),ie&&bn(d,null,I,"created"),P(W,d,d.scopeId,K,I),C){for(const xe in C)xe!=="value"&&!Os(xe)&&r(W,xe,null,C[xe],L,I);"value"in C&&r(W,"value",null,C.value,L),(F=C.onVnodeBeforeMount)&&Tt(F,I,d)}ie&&bn(d,null,I,"beforeMount");const pe=Tp(M,z);pe&&z.beforeEnter(W),s(W,h,m),((F=C&&C.onVnodeMounted)||pe||ie)&&Ze(()=>{F&&Tt(F,I,d),pe&&z.enter(W),ie&&bn(d,null,I,"mounted")},M)},P=(d,h,m,I,M)=>{if(m&&g(d,m),I)for(let L=0;L<I.length;L++)g(d,I[L]);if(M){let L=M.subTree;if(h===L||vu(L.type)&&(L.ssContent===h||L.ssFallback===h)){const K=M.vnode;P(d,K,K.scopeId,K.slotScopeIds,M.parent)}}},b=(d,h,m,I,M,L,K,G,W=0)=>{for(let F=W;F<d.length;F++){const C=d[F]=G?qt(d[F]):Mt(d[F]);w(null,C,h,m,I,M,L,K,G)}},x=(d,h,m,I,M,L,K)=>{const G=h.el=d.el;let{patchFlag:W,dynamicChildren:F,dirs:C}=h;W|=d.patchFlag&16;const y=d.props||Re,z=h.props||Re;let ie;if(m&&_n(m,!1),(ie=z.onVnodeBeforeUpdate)&&Tt(ie,m,h,d),C&&bn(h,d,m,"beforeUpdate"),m&&_n(m,!0),(y.innerHTML&&z.innerHTML==null||y.textContent&&z.textContent==null)&&u(G,""),F?N(d.dynamicChildren,F,G,m,I,Ir(h,M),L):K||ce(d,h,G,null,m,I,Ir(h,M),L,!1),W>0){if(W&16)O(G,y,z,m,M);else if(W&2&&y.class!==z.class&&r(G,"class",null,z.class,M),W&4&&r(G,"style",y.style,z.style,M),W&8){const pe=h.dynamicProps;for(let xe=0;xe<pe.length;xe++){const we=pe[xe],Ve=y[we],Fe=z[we];(Fe!==Ve||we==="value")&&r(G,we,Ve,Fe,M,m)}}W&1&&d.children!==h.children&&u(G,h.children)}else!K&&F==null&&O(G,y,z,m,M);((ie=z.onVnodeUpdated)||C)&&Ze(()=>{ie&&Tt(ie,m,h,d),C&&bn(h,d,m,"updated")},I)},N=(d,h,m,I,M,L,K)=>{for(let G=0;G<h.length;G++){const W=d[G],F=h[G],C=W.el&&(W.type===Ue||!vs(W,F)||W.shapeFlag&198)?f(W.el):m;w(W,F,C,null,I,M,L,K,!0)}},O=(d,h,m,I,M)=>{if(h!==m){if(h!==Re)for(const L in h)!Os(L)&&!(L in m)&&r(d,L,h[L],null,M,I);for(const L in m){if(Os(L))continue;const K=m[L],G=h[L];K!==G&&L!=="value"&&r(d,L,G,K,M,I)}"value"in m&&r(d,"value",h.value,m.value,M)}},$=(d,h,m,I,M,L,K,G,W)=>{const F=h.el=d?d.el:c(""),C=h.anchor=d?d.anchor:c("");let{patchFlag:y,dynamicChildren:z,slotScopeIds:ie}=h;ie&&(G=G?G.concat(ie):ie),d==null?(s(F,m,I),s(C,m,I),b(h.children||[],m,C,M,L,K,G,W)):y>0&&y&64&&z&&d.dynamicChildren&&d.dynamicChildren.length===z.length?(N(d.dynamicChildren,z,m,M,L,K,G),(h.key!=null||M&&h===M.subTree)&&Yi(d,h,!0)):ce(d,h,m,C,M,L,K,G,W)},X=(d,h,m,I,M,L,K,G,W)=>{h.slotScopeIds=G,d==null?h.shapeFlag&512?M.ctx.activate(h,m,I,K,W):ee(h,m,I,M,L,K,W):ae(d,h,W)},ee=(d,h,m,I,M,L,K)=>{const G=d.component=Vp(d,I,M);if(Gi(d)&&(G.ctx.renderer=U),Fp(G,!1,K),G.asyncDep){if(M&&M.registerDep(G,te,K),!d.el){const W=G.subTree=me(nn);S(null,W,h,m),d.placeholder=W.el}}else te(G,d,h,m,M,L,K)},ae=(d,h,m)=>{const I=h.component=d.component;if(bp(d,h,m))if(I.asyncDep&&!I.asyncResolved){Z(I,h,m);return}else I.next=h,I.update();else h.el=d.el,I.vnode=h},te=(d,h,m,I,M,L,K)=>{const G=()=>{if(d.isMounted){let{next:y,bu:z,u:ie,parent:pe,vnode:xe}=d;{const We=hu(d);if(We){y&&(y.el=xe.el,Z(d,y,K)),We.asyncDep.then(()=>{Ze(()=>{d.isUnmounted||F()},M)});return}}let we=y,Ve;_n(d,!1),y?(y.el=xe.el,Z(d,y,K)):y=xe,z&&vo(z),(Ve=y.props&&y.props.onVnodeBeforeUpdate)&&Tt(Ve,pe,y,xe),_n(d,!0);const Fe=Ul(d),Xe=d.subTree;d.subTree=Fe,w(Xe,Fe,f(Xe.el),_(Xe),d,M,L),y.el=Fe.el,we===null&&_p(d,Fe.el),ie&&Ze(ie,M),(Ve=y.props&&y.props.onVnodeUpdated)&&Ze(()=>Tt(Ve,pe,y,xe),M)}else{let y;const{el:z,props:ie}=h,{bm:pe,m:xe,parent:we,root:Ve,type:Fe}=d,Xe=Kn(h);_n(d,!1),pe&&vo(pe),!Xe&&(y=ie&&ie.onVnodeBeforeMount)&&Tt(y,we,h),_n(d,!0);{Ve.ce&&Ve.ce._hasShadowRoot()&&Ve.ce._injectChildStyle(Fe);const We=d.subTree=Ul(d);w(null,We,m,I,d,M,L),h.el=We.el}if(xe&&Ze(xe,M),!Xe&&(y=ie&&ie.onVnodeMounted)){const We=h;Ze(()=>Tt(y,we,We),M)}(h.shapeFlag&256||we&&Kn(we.vnode)&&we.vnode.shapeFlag&256)&&d.a&&Ze(d.a,M),d.isMounted=!0,h=m=I=null}};d.scope.on();const W=d.effect=new Sa(G);d.scope.off();const F=d.update=W.run.bind(W),C=d.job=W.runIfDirty.bind(W);C.i=d,C.id=d.uid,W.scheduler=()=>Bi(C),_n(d,!0),F()},Z=(d,h,m)=>{h.component=d;const I=d.vnode.props;d.vnode=h,d.next=null,Sp(d,h.props,I,m),Ap(d,h.children,m),Xt(),Rl(d),en()},ce=(d,h,m,I,M,L,K,G,W=!1)=>{const F=d&&d.children,C=d?d.shapeFlag:0,y=h.children,{patchFlag:z,shapeFlag:ie}=h;if(z>0){if(z&128){ge(F,y,m,I,M,L,K,G,W);return}else if(z&256){de(F,y,m,I,M,L,K,G,W);return}}ie&8?(C&16&&ue(F,M,L),y!==F&&u(m,y)):C&16?ie&16?ge(F,y,m,I,M,L,K,G,W):ue(F,M,L,!0):(C&8&&u(m,""),ie&16&&b(y,m,I,M,L,K,G,W))},de=(d,h,m,I,M,L,K,G,W)=>{d=d||Un,h=h||Un;const F=d.length,C=h.length,y=Math.min(F,C);let z;for(z=0;z<y;z++){const ie=h[z]=W?qt(h[z]):Mt(h[z]);w(d[z],ie,m,null,M,L,K,G,W)}F>C?ue(d,M,L,!0,!1,y):b(h,m,I,M,L,K,G,W,y)},ge=(d,h,m,I,M,L,K,G,W)=>{let F=0;const C=h.length;let y=d.length-1,z=C-1;for(;F<=y&&F<=z;){const ie=d[F],pe=h[F]=W?qt(h[F]):Mt(h[F]);if(vs(ie,pe))w(ie,pe,m,null,M,L,K,G,W);else break;F++}for(;F<=y&&F<=z;){const ie=d[y],pe=h[z]=W?qt(h[z]):Mt(h[z]);if(vs(ie,pe))w(ie,pe,m,null,M,L,K,G,W);else break;y--,z--}if(F>y){if(F<=z){const ie=z+1,pe=ie<C?h[ie].el:I;for(;F<=z;)w(null,h[F]=W?qt(h[F]):Mt(h[F]),m,pe,M,L,K,G,W),F++}}else if(F>z)for(;F<=y;)re(d[F],M,L,!0),F++;else{const ie=F,pe=F,xe=new Map;for(F=pe;F<=z;F++){const Ge=h[F]=W?qt(h[F]):Mt(h[F]);Ge.key!=null&&xe.set(Ge.key,F)}let we,Ve=0;const Fe=z-pe+1;let Xe=!1,We=0;const vt=new Array(Fe);for(F=0;F<Fe;F++)vt[F]=0;for(F=ie;F<=y;F++){const Ge=d[F];if(Ve>=Fe){re(Ge,M,L,!0);continue}let ot;if(Ge.key!=null)ot=xe.get(Ge.key);else for(we=pe;we<=z;we++)if(vt[we-pe]===0&&vs(Ge,h[we])){ot=we;break}ot===void 0?re(Ge,M,L,!0):(vt[ot-pe]=F+1,ot>=We?We=ot:Xe=!0,w(Ge,h[ot],m,null,M,L,K,G,W),Ve++)}const Pn=Xe?Rp(vt):Un;for(we=Pn.length-1,F=Fe-1;F>=0;F--){const Ge=pe+F,ot=h[Ge],Nn=h[Ge+1],rt=Ge+1<C?Nn.el||gu(Nn):I;vt[F]===0?w(null,ot,m,rt,M,L,K,G,W):Xe&&(we<0||F!==Pn[we]?oe(ot,m,rt,2):we--)}}},oe=(d,h,m,I,M=null)=>{const{el:L,type:K,transition:G,children:W,shapeFlag:F}=d;if(F&6){oe(d.component.subTree,h,m,I);return}if(F&128){d.suspense.move(h,m,I);return}if(F&64){K.move(d,h,m,U);return}if(K===Ue){s(L,h,m);for(let y=0;y<W.length;y++)oe(W[y],h,m,I);s(d.anchor,h,m);return}if(K===Pr){H(d,h,m);return}if(I!==2&&F&1&&G)if(I===0)G.beforeEnter(L),s(L,h,m),Ze(()=>G.enter(L),M);else{const{leave:y,delayLeave:z,afterLeave:ie}=G,pe=()=>{d.ctx.isUnmounted?o(L):s(L,h,m)},xe=()=>{L._isLeaving&&L[qd](!0),y(L,()=>{pe(),ie&&ie()})};z?z(L,pe,xe):xe()}else s(L,h,m)},re=(d,h,m,I=!1,M=!1)=>{const{type:L,props:K,ref:G,children:W,dynamicChildren:F,shapeFlag:C,patchFlag:y,dirs:z,cacheIndex:ie}=d;if(y===-2&&(M=!1),G!=null&&(Xt(),Ps(G,null,m,d,!0),en()),ie!=null&&(h.renderCache[ie]=void 0),C&256){h.ctx.deactivate(d);return}const pe=C&1&&z,xe=!Kn(d);let we;if(xe&&(we=K&&K.onVnodeBeforeUnmount)&&Tt(we,h,d),C&6)Q(d.component,m,I);else{if(C&128){d.suspense.unmount(m,I);return}pe&&bn(d,null,h,"beforeUnmount"),C&64?d.type.remove(d,h,m,U,I):F&&!F.hasOnce&&(L!==Ue||y>0&&y&64)?ue(F,h,m,!1,!0):(L===Ue&&y&384||!M&&C&16)&&ue(W,h,m),I&&J(d)}(xe&&(we=K&&K.onVnodeUnmounted)||pe)&&Ze(()=>{we&&Tt(we,h,d),pe&&bn(d,null,h,"unmounted")},m)},J=d=>{const{type:h,el:m,anchor:I,transition:M}=d;if(h===Ue){q(m,I);return}if(h===Pr){E(d);return}const L=()=>{o(m),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(d.shapeFlag&1&&M&&!M.persisted){const{leave:K,delayLeave:G}=M,W=()=>K(m,L);G?G(d.el,L,W):W()}else L()},q=(d,h)=>{let m;for(;d!==h;)m=p(d),o(d),d=m;o(h)},Q=(d,h,m)=>{const{bum:I,scope:M,job:L,subTree:K,um:G,m:W,a:F}=d;Kl(W),Kl(F),I&&vo(I),M.stop(),L&&(L.flags|=8,re(K,d,h,m)),G&&Ze(G,h),Ze(()=>{d.isUnmounted=!0},h)},ue=(d,h,m,I=!1,M=!1,L=0)=>{for(let K=L;K<d.length;K++)re(d[K],h,m,I,M)},_=d=>{if(d.shapeFlag&6)return _(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[qa];return m?p(m):h};let D=!1;const j=(d,h,m)=>{let I;d==null?h._vnode&&(re(h._vnode,null,null,!0),I=h._vnode.component):w(h._vnode||null,d,h,null,null,null,m),h._vnode=d,D||(D=!0,Rl(I),Ua(),D=!1)},U={p:w,um:re,m:oe,r:J,mt:ee,mc:b,pc:ce,pbc:N,n:_,o:e};return{render:j,hydrate:void 0,createApp:pp(j)}}function Ir({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 _n({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yi(e,t,n=!1){const s=e.children,o=t.children;if(fe(s)&&fe(o))for(let r=0;r<s.length;r++){const i=s[r];let c=o[r];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[r]=qt(o[r]),c.el=i.el),!n&&c.patchFlag!==-2&&Yi(i,c)),c.type===rr&&(c.patchFlag===-1&&(c=o[r]=qt(c)),c.el=i.el),c.type===nn&&!c.el&&(c.el=i.el)}}function Rp(e){const t=e.slice(),n=[0];let s,o,r,i,c;const l=e.length;for(s=0;s<l;s++){const a=e[s];if(a!==0){if(o=n[n.length-1],e[o]<a){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)c=r+i>>1,e[n[c]]<a?r=c+1:i=c;a<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function hu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hu(t)}function Kl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function gu(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?gu(t.subTree):null}const vu=e=>e.__isSuspense;function Ip(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Hd(e)}const Ue=Symbol.for("v-fgt"),rr=Symbol.for("v-txt"),nn=Symbol.for("v-cmt"),Pr=Symbol.for("v-stc"),Ms=[];let ft=null;function Y(e=!1){Ms.push(ft=e?null:[])}function Pp(){Ms.pop(),ft=Ms[Ms.length-1]||null}let Bs=1;function No(e,t=!1){Bs+=e,e<0&&ft&&t&&(ft.hasOnce=!0)}function mu(e){return e.dynamicChildren=Bs>0?ft||Un:null,Pp(),Bs>0&&ft&&ft.push(e),e}function le(e,t,n,s,o,r){return mu(T(e,t,n,s,o,r,!0))}function De(e,t,n,s,o){return mu(me(e,t,n,s,o,!0))}function js(e){return e?e.__v_isVNode===!0:!1}function vs(e,t){return e.type===t.type&&e.key===t.key}const yu=({key:e})=>e??null,bo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Ne(e)||ve(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function T(e,t=null,n=null,s=0,o=null,r=e===Ue?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yu(t),ref:t&&bo(t),scopeId:Ga,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:qe};return c?(Zi(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Le(n)?8:16),Bs>0&&!i&&ft&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ft.push(l),l}const me=Np;function Np(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ja)&&(e=nn),js(e)){const c=Jn(e,t,!0);return n&&Zi(c,n),Bs>0&&!r&&ft&&(c.shapeFlag&6?ft[ft.indexOf(e)]=c:ft.push(c)),c.patchFlag=-2,c}if(Gp(e)&&(e=e.__vccOpts),t){t=Mp(t);let{class:c,style:l}=t;c&&!Le(c)&&(t.class=Se(c)),Oe(l)&&(er(l)&&!fe(l)&&(l=Ye({},l)),t.style=St(l))}const i=Le(e)?1:vu(e)?128:Gd(e)?64:Oe(e)?4:ve(e)?2:0;return T(e,t,n,s,o,i,r,!0)}function Mp(e){return e?er(e)||cu(e)?Ye({},e):e:null}function Jn(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:c,transition:l}=e,a=t?Lp(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&yu(a),ref:t&&t.ref?n&&r?fe(r)?r.concat(bo(t)):[r,bo(t)]:bo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Ui(u,l.clone(u)),u}function $p(e=" ",t=0){return me(rr,null,e,t)}function be(e="",t=!1){return t?(Y(),De(nn,null,e)):me(nn,null,e)}function Mt(e){return e==null||typeof e=="boolean"?me(nn):fe(e)?me(Ue,null,e.slice()):js(e)?qt(e):me(rr,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function Zi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Zi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!cu(t)?t._ctx=qe:o===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ve(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),s&64?(n=16,t=[$p(t)]):n=8);e.children=t,e.shapeFlag|=n}function Lp(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Se([t.class,s.class]));else if(o==="style")t.style=St([t.style,s.style]);else if(qo(o)){const r=t[o],i=s[o];i&&r!==i&&!(fe(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function Tt(e,t,n,s=null){Dt(e,t,7,[n,s])}const Dp=su();let Hp=0;function Vp(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Dp,r={uid:Hp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ba(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:uu(s,o),emitsOptions:ou(s,o),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:s.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=gp.bind(null,r),e.ce&&e.ce(r),r}let Ke=null;const bu=()=>Ke||qe;let Mo,li;{const e=Qo(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Mo=t("__VUE_INSTANCE_SETTERS__",n=>Ke=n),li=t("__VUE_SSR_SETTERS__",n=>Qn=n)}const Qs=e=>{const t=Ke;return Mo(e),e.scope.on(),()=>{e.scope.off(),Mo(t)}},ql=()=>{Ke&&Ke.scope.off(),Mo(null)};function _u(e){return e.vnode.shapeFlag&4}let Qn=!1;function Fp(e,t=!1,n=!1){t&&li(t);const{props:s,children:o}=e.vnode,r=_u(e);wp(e,s,r,t),Ep(e,o,n||t);const i=r?Bp(e,t):void 0;return t&&li(!1),i}function Bp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ip);const{setup:s}=n;if(s){Xt();const o=e.setupContext=s.length>1?Up(e):null,r=Qs(e),i=Ys(s,e,0,[e.props,o]),c=fa(i);if(en(),r(),(c||e.sp)&&!Kn(e)&&Wi(e),c){if(i.then(ql,ql),t)return i.then(l=>{zl(e,l)}).catch(l=>{Zs(l,e,0)});e.asyncDep=i}else zl(e,i)}else wu(e)}function zl(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)&&(e.setupState=Ha(t)),wu(e)}function wu(e,t,n){const s=e.type;e.render||(e.render=s.render||Lt);{const o=Qs(e);Xt();try{lp(e)}finally{en(),o()}}}const jp={get(e,t){return Qe(e,"get",""),e[t]}};function Up(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,jp),slots:e.slots,emit:e.emit,expose:t}}function ir(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ha(Fi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ns)return Ns[n](e)},has(t,n){return n in t||n in Ns}})):e.proxy}function Wp(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function Gp(e){return ve(e)&&"__vccOpts"in e}const _e=(e,t)=>Nd(e,t,Qn);function Su(e,t,n){try{No(-1);const s=arguments.length;return s===2?Oe(t)&&!fe(t)?js(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&js(n)&&(n=[n]),me(e,t,n))}finally{No(1)}}const Kp="3.5.29";let ci;const Yl=typeof window<"u"&&window.trustedTypes;if(Yl)try{ci=Yl.createPolicy("vue",{createHTML:e=>e})}catch{}const xu=ci?e=>ci.createHTML(e):e=>e,qp="http://www.w3.org/2000/svg",zp="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,Zl=Wt&&Wt.createElement("template"),Yp={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 o=t==="svg"?Wt.createElementNS(qp,e):t==="mathml"?Wt.createElementNS(zp,e):n?Wt.createElement(e,{is:n}):Wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Zl.innerHTML=xu(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const c=Zl.content;if(s==="svg"||s==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Zp=Symbol("_vtc");function Jp(e,t,n){const s=e[Zp];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $o=Symbol("_vod"),Cu=Symbol("_vsh"),m1={name:"show",beforeMount(e,{value:t},{transition:n}){e[$o]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ms(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),ms(e,!0),s.enter(e)):s.leave(e,()=>{ms(e,!1)}):ms(e,t))},beforeUnmount(e,{value:t}){ms(e,t)}};function ms(e,t){e.style.display=t?e[$o]:"none",e[Cu]=!t}const Qp=Symbol(""),Xp=/(?:^|;)\s*display\s*:/;function eh(e,t,n){const s=e.style,o=Le(n);let r=!1;if(n&&!o){if(t)if(Le(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&_o(s,c,"")}else for(const i in t)n[i]==null&&_o(s,i,"");for(const i in n)i==="display"&&(r=!0),_o(s,i,n[i])}else if(o){if(t!==n){const i=s[Qp];i&&(n+=";"+i),s.cssText=n,r=Xp.test(n)}}else t&&e.removeAttribute("style");$o in e&&(e[$o]=r?s.display:"",e[Cu]&&(s.display="none"))}const Jl=/\s*!important$/;function _o(e,t,n){if(fe(n))n.forEach(s=>_o(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=th(e,t);Jl.test(n)?e.setProperty(vn(s),n.replace(Jl,""),"important"):e[s]=n}}const Ql=["Webkit","Moz","ms"],Nr={};function th(e,t){const n=Nr[t];if(n)return n;let s=bt(t);if(s!=="filter"&&s in e)return Nr[t]=s;s=Jo(s);for(let o=0;o<Ql.length;o++){const r=Ql[o]+s;if(r in e)return Nr[t]=r}return t}const Xl="http://www.w3.org/1999/xlink";function ec(e,t,n,s,o,r=id(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Xl,t.slice(6,t.length)):e.setAttributeNS(Xl,t,n):n==null||r&&!ga(n)?e.removeAttribute(t):e.setAttribute(t,r?"":At(n)?String(n):n)}function tc(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xu(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const c=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(c!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ga(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Cn(e,t,n,s){e.addEventListener(t,n,s)}function nh(e,t,n,s){e.removeEventListener(t,n,s)}const nc=Symbol("_vei");function sh(e,t,n,s,o=null){const r=e[nc]||(e[nc]={}),i=r[t];if(s&&i)i.value=s;else{const[c,l]=oh(t);if(s){const a=r[t]=lh(s,o);Cn(e,c,a,l)}else i&&(nh(e,c,i,l),r[t]=void 0)}}const sc=/(?:Once|Passive|Capture)$/;function oh(e){let t;if(sc.test(e)){t={};let s;for(;s=e.match(sc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):vn(e.slice(2)),t]}let Mr=0;const rh=Promise.resolve(),ih=()=>Mr||(rh.then(()=>Mr=0),Mr=Date.now());function lh(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Dt(ch(s,n.value),t,5,[s])};return n.value=e,n.attached=ih(),n}function ch(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const oc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ah=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Jp(e,s,i):t==="style"?eh(e,n,s):qo(t)?Ii(t)||sh(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uh(e,t,s,i))?(tc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ec(e,t,s,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Le(s))?tc(e,bt(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ec(e,t,s,i))};function uh(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&oc(t)&&ve(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return oc(t)&&Le(n)?!1:t in e}const Lo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>vo(t,n):t};function fh(e){e.target.composing=!0}function rc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qn=Symbol("_assign");function ic(e,t,n){return t&&(e=e.trim()),n&&(e=Ni(e)),e}const dh={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[qn]=Lo(o);const r=s||o.props&&o.props.type==="number";Cn(e,t?"change":"input",i=>{i.target.composing||e[qn](ic(e.value,n,r))}),(n||r)&&Cn(e,"change",()=>{e.value=ic(e.value,n,r)}),t||(Cn(e,"compositionstart",fh),Cn(e,"compositionend",rc),Cn(e,"change",rc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[qn]=Lo(i),e.composing)return;const c=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ni(e.value):e.value,l=t??"";c!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===l)||(e.value=l))}},y1={deep:!0,created(e,t,n){e[qn]=Lo(n),Cn(e,"change",()=>{const s=e._modelValue,o=ph(e),r=e.checked,i=e[qn];if(fe(s)){const c=va(s,o),l=c!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const a=[...s];a.splice(c,1),i(a)}}else if(zo(s)){const c=new Set(s);r?c.add(o):c.delete(o),i(c)}else i(Eu(e,r))})},mounted:lc,beforeUpdate(e,t,n){e[qn]=Lo(n),lc(e,t,n)}};function lc(e,{value:t,oldValue:n},s){e._modelValue=t;let o;if(fe(t))o=va(t,s.props.value)>-1;else if(zo(t))o=t.has(s.props.value);else{if(t===n)return;o=zs(t,Eu(e,!0))}e.checked!==o&&(e.checked=o)}function ph(e){return"_value"in e?e._value:e.value}function Eu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const hh=["ctrl","shift","alt","meta"],gh={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)=>hh.some(n=>e[`${n}Key`]&&!t.includes(n))},cc=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...r)=>{for(let i=0;i<t.length;i++){const c=gh[t[i]];if(c&&c(o,t))return}return e(o,...r)}))},vh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},mh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(o=>{if(!("key"in o))return;const r=vn(o.key);if(t.some(i=>i===r||vh[i]===r))return e(o)}))},yh=Ye({patchProp:ah},Yp);let ac;function bh(){return ac||(ac=kp(yh))}const _h=((...e)=>{const t=bh().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Sh(s);if(!o)return;const r=t._component;!ve(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,wh(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function wh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sh(e){return Le(e)?document.querySelector(e):e}let Au;const lr=e=>Au=e,ku=Symbol();function ai(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var $s;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})($s||($s={}));function xh(){const e=_a(!0),t=e.run(()=>se({}));let n=[],s=[];const o=Fi({install(r){lr(o),o._a=r,r.provide(ku,o),r.config.globalProperties.$pinia=o,s.forEach(i=>n.push(i)),s=[]},use(r){return this._a?n.push(r):s.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Ou=()=>{};function uc(e,t,n,s=Ou){e.add(t);const o=()=>{e.delete(t)&&s()};return!n&&wa()&&cd(o),o}function Ln(e,...t){e.forEach(n=>{n(...t)})}const Ch=e=>e(),fc=Symbol(),$r=Symbol();function ui(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];ai(o)&&ai(s)&&e.hasOwnProperty(n)&&!Ne(s)&&!Qt(s)?e[n]=ui(o,s):e[n]=s}return e}const Eh=Symbol();function Ah(e){return!ai(e)||!Object.prototype.hasOwnProperty.call(e,Eh)}const{assign:ln}=Object;function kh(e){return!!(Ne(e)&&e.effect)}function Oh(e,t,n,s){const{state:o,actions:r,getters:i}=t,c=n.state.value[e];let l;function a(){c||(n.state.value[e]=o?o():{});const u=Va(n.state.value[e]);return ln(u,r,Object.keys(i||{}).reduce((f,p)=>(f[p]=Fi(_e(()=>{lr(n);const g=n._s.get(e);return i[p].call(g,g)})),f),{}))}return l=Tu(e,a,t,n,s,!0),l}function Tu(e,t,n={},s,o,r){let i;const c=ln({actions:{}},n),l={deep:!0};let a,u,f=new Set,p=new Set,g;const v=s.state.value[e];!r&&!v&&(s.state.value[e]={});let w;function A(b){let x;a=u=!1,typeof b=="function"?(b(s.state.value[e]),x={type:$s.patchFunction,storeId:e,events:g}):(ui(s.state.value[e],b),x={type:$s.patchObject,payload:b,storeId:e,events:g});const N=w=Symbol();tr().then(()=>{w===N&&(a=!0)}),u=!0,Ln(f,x,s.state.value[e])}const S=r?function(){const{state:x}=n,N=x?x():{};this.$patch(O=>{ln(O,N)})}:Ou;function R(){i.stop(),f.clear(),p.clear(),s._s.delete(e)}const H=(b,x="")=>{if(fc in b)return b[$r]=x,b;const N=function(){lr(s);const O=Array.from(arguments),$=new Set,X=new Set;function ee(Z){$.add(Z)}function ae(Z){X.add(Z)}Ln(p,{args:O,name:N[$r],store:k,after:ee,onError:ae});let te;try{te=b.apply(this&&this.$id===e?this:k,O)}catch(Z){throw Ln(X,Z),Z}return te instanceof Promise?te.then(Z=>(Ln($,Z),Z)).catch(Z=>(Ln(X,Z),Promise.reject(Z))):(Ln($,te),te)};return N[fc]=!0,N[$r]=x,N},E={_p:s,$id:e,$onAction:uc.bind(null,p),$patch:A,$reset:S,$subscribe(b,x={}){const N=uc(f,b,x.detached,()=>O()),O=i.run(()=>ze(()=>s.state.value[e],$=>{(x.flush==="sync"?u:a)&&b({storeId:e,type:$s.direct,events:g},$)},ln({},l,x)));return N},$dispose:R},k=mn(E);s._s.set(e,k);const P=(s._a&&s._a.runWithContext||Ch)(()=>s._e.run(()=>(i=_a()).run(()=>t({action:H}))));for(const b in P){const x=P[b];if(Ne(x)&&!kh(x)||Qt(x))r||(v&&Ah(x)&&(Ne(x)?x.value=v[b]:ui(x,v[b])),s.state.value[e][b]=x);else if(typeof x=="function"){const N=H(x,b);P[b]=N,c.actions[b]=x}}return ln(k,P),ln(Ce(k),P),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:b=>{A(x=>{ln(x,b)})}}),s._p.forEach(b=>{ln(k,i.run(()=>b({store:k,app:s._a,pinia:s,options:c})))}),v&&r&&n.hydrate&&n.hydrate(k.$state,v),a=!0,u=!0,k}function Ru(e,t,n){let s;const o=typeof t=="function";s=o?n:t;function r(i,c){const l=Fd();return i=i||(l?yt(ku,null):null),i&&lr(i),i=Au,i._s.has(e)||(o?Tu(e,t,s,i):Oh(e,s,i)),i._s.get(e)}return r.$id=e,r}const Th="modulepreload",Rh=function(e){return"/"+e},dc={},En=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){let l=function(a){return Promise.all(a.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),c=i?.nonce||i?.getAttribute("nonce");o=l(n.map(a=>{if(a=Rh(a),a in dc)return;dc[a]=!0;const u=a.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${f}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Th,u||(p.as="script"),p.crossOrigin="",p.href=a,c&&p.setAttribute("nonce",c),document.head.appendChild(p),u)return new Promise((g,v)=>{p.addEventListener("load",g),p.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${a}`)))})}))}function r(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return o.then(i=>{for(const c of i||[])c.status==="rejected"&&r(c.reason);return t().catch(r)})};const Hn=typeof document<"u";function Iu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ih(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Iu(e.default)}const Ae=Object.assign;function Lr(e,t){const n={};for(const s in t){const o=t[s];n[s]=Ot(o)?o.map(e):e(o)}return n}const Ls=()=>{},Ot=Array.isArray;function pc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}let $e=(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 Pu=Symbol("");$e.MATCHER_NOT_FOUND+"",$e.NAVIGATION_GUARD_REDIRECT+"",$e.NAVIGATION_ABORTED+"",$e.NAVIGATION_CANCELLED+"",$e.NAVIGATION_DUPLICATED+"";function Xn(e,t){return Ae(new Error,{type:e,[Pu]:!0},t)}function Bt(e,t){return e instanceof Error&&Pu in e&&(t==null||!!(e.type&t))}const Ph=["params","query","hash"];function Nh(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ph)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Mh=Symbol(""),hc=Symbol(""),cr=Symbol(""),Ji=Symbol(""),fi=Symbol("");function $h(){return yt(cr)}function Nu(e){return yt(Ji)}const Mu=/#/g,Lh=/&/g,Dh=/\//g,Hh=/=/g,Vh=/\?/g,$u=/\+/g,Fh=/%5B/g,Bh=/%5D/g,Lu=/%5E/g,jh=/%60/g,Du=/%7B/g,Uh=/%7C/g,Hu=/%7D/g,Wh=/%20/g;function Qi(e){return e==null?"":encodeURI(""+e).replace(Uh,"|").replace(Fh,"[").replace(Bh,"]")}function Gh(e){return Qi(e).replace(Du,"{").replace(Hu,"}").replace(Lu,"^")}function di(e){return Qi(e).replace($u,"%2B").replace(Wh,"+").replace(Mu,"%23").replace(Lh,"%26").replace(jh,"`").replace(Du,"{").replace(Hu,"}").replace(Lu,"^")}function Kh(e){return di(e).replace(Hh,"%3D")}function qh(e){return Qi(e).replace(Mu,"%23").replace(Vh,"%3F")}function zh(e){return qh(e).replace(Dh,"%2F")}function Us(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Yh=/\/$/,Zh=e=>e.replace(Yh,"");function Dr(e,t,n="/"){let s,o={},r="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return l=c>=0&&l>c?-1:l,l>=0&&(s=t.slice(0,l),r=t.slice(l,c>0?c:t.length),o=e(r.slice(1))),c>=0&&(s=s||t.slice(0,c),i=t.slice(c,t.length)),s=eg(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Us(i)}}function Jh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Qh(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&es(t.matched[s],n.matched[o])&&Vu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Xh(e[n],t[n]))return!1;return!0}function Xh(e,t){return Ot(e)?vc(e,t):Ot(t)?vc(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function vc(e,t){return Ot(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function eg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,c;for(i=0;i<s.length;i++)if(c=s[i],c!==".")if(c==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const on={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let pi=(function(e){return e.pop="pop",e.push="push",e})({}),Hr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function tg(e){if(!e)if(Hn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zh(e)}const ng=/^[^#]+#/;function sg(e,t){return e.replace(ng,"#")+t}function og(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 ar=()=>({left:window.scrollX,top:window.scrollY});function rg(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=og(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function mc(e,t){return(history.state?history.state.position-t:-1)+e}const hi=new Map;function ig(e,t){hi.set(e,t)}function lg(e){const t=hi.get(e);return hi.delete(e),t}function cg(e){return typeof e=="string"||e&&typeof e=="object"}function Fu(e){return typeof e=="string"||typeof e=="symbol"}function ag(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 o=n[s].replace($u," "),r=o.indexOf("="),i=Us(r<0?o:o.slice(0,r)),c=r<0?null:Us(o.slice(r+1));if(i in t){let l=t[i];Ot(l)||(l=t[i]=[l]),l.push(c)}else t[i]=c}return t}function yc(e){let t="";for(let n in e){const s=e[n];if(n=Kh(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ot(s)?s.map(o=>o&&di(o)):[s&&di(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ug(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ot(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}function ys(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function un(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((c,l)=>{const a=p=>{p===!1?l(Xn($e.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):cg(p)?l(Xn($e.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[o]===i&&typeof p=="function"&&i.push(p),c())},u=r(()=>e.call(s&&s.instances[o],t,n,a));let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch(p=>l(p))})}function Vr(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const c in i.components){let l=i.components[c];if(!(t!=="beforeRouteEnter"&&!i.instances[c]))if(Iu(l)){const a=(l.__vccOpts||l)[t];a&&r.push(un(a,n,s,i,c,o))}else{let a=l();r.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${c}" at "${i.path}"`);const f=Ih(u)?u.default:u;i.mods[c]=u,i.components[c]=f;const p=(f.__vccOpts||f)[t];return p&&un(p,n,s,i,c,o)()}))}}return r}function fg(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const c=t.matched[i];c&&(e.matched.find(a=>es(a,c))?s.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(a=>es(a,l))||o.push(l))}return[n,s,o]}let dg=()=>location.protocol+"//"+location.host;function Bu(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(i);return c[0]!=="/"&&(c="/"+c),gc(c,"")}return gc(n,e)+s+o}function pg(e,t,n,s){let o=[],r=[],i=null;const c=({state:p})=>{const g=Bu(e,location),v=n.value,w=t.value;let A=0;if(p){if(n.value=g,t.value=p,i&&i===v){i=null;return}A=w?p.position-w.position:0}else s(g);o.forEach(S=>{S(n.value,v,{delta:A,type:pi.pop,direction:A?A>0?Hr.forward:Hr.back:Hr.unknown})})};function l(){i=n.value}function a(p){o.push(p);const g=()=>{const v=o.indexOf(p);v>-1&&o.splice(v,1)};return r.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Ae({},p.state,{scroll:ar()}),"")}}function f(){for(const p of r)p();r=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:a,destroy:f}}function bc(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ar():null}}function hg(e){const{history:t,location:n}=window,s={value:Bu(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,a,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:dg()+e+l;try{t[u?"replaceState":"pushState"](a,"",p),o.value=a}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(l,a){r(l,Ae({},t.state,bc(o.value.back,l,o.value.forward,!0),a,{position:o.value.position}),!0),s.value=l}function c(l,a){const u=Ae({},o.value,t.state,{forward:l,scroll:ar()});r(u.current,u,!0),r(l,Ae({},bc(s.value,l,null),{position:u.position+1},a),!1),s.value=l}return{location:s,state:o,push:c,replace:i}}function gg(e){e=tg(e);const t=hg(e),n=pg(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ae({location:"",base:e,go:s,createHref:sg.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function vg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),gg(e)}let An=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(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})(Be||{});const mg={type:An.Static,value:""},yg=/[a-zA-Z0-9_]/;function bg(e){if(!e)return[[]];if(e==="/")return[[mg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=Be.Static,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let c=0,l,a="",u="";function f(){a&&(n===Be.Static?r.push({type:An.Static,value:a}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),r.push({type:An.Param,value:a,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==Be.ParamRegExp){s=n,n=Be.EscapeNext;continue}switch(n){case Be.Static:l==="/"?(a&&f(),i()):l===":"?(f(),n=Be.Param):p();break;case Be.EscapeNext:p(),n=s;break;case Be.Param:l==="("?n=Be.ParamRegExp:yg.test(l)?p():(f(),n=Be.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case Be.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Be.ParamRegExpEnd:u+=l;break;case Be.ParamRegExpEnd:f(),n=Be.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--,u="";break;default:t("Unknown state");break}}return n===Be.ParamRegExp&&t(`Unfinished custom RegExp for param "${a}"`),f(),i(),o}const _c="[^/]+?",_g={sensitive:!1,strict:!1,start:!0,end:!0};var tt=(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})(tt||{});const wg=/[.+*?^${}()[\]/\\]/g;function Sg(e,t){const n=Ae({},_g,t),s=[];let o=n.start?"^":"";const r=[];for(const a of e){const u=a.length?[]:[tt.Root];n.strict&&!a.length&&(o+="/");for(let f=0;f<a.length;f++){const p=a[f];let g=tt.Segment+(n.sensitive?tt.BonusCaseSensitive:0);if(p.type===An.Static)f||(o+="/"),o+=p.value.replace(wg,"\\$&"),g+=tt.Static;else if(p.type===An.Param){const{value:v,repeatable:w,optional:A,regexp:S}=p;r.push({name:v,repeatable:w,optional:A});const R=S||_c;if(R!==_c){g+=tt.BonusCustomRegExp;try{new RegExp(`(${R})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${v}" (${R}): `+E.message)}}let H=w?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||(H=A&&a.length<2?`(?:/${H})`:"/"+H),A&&(H+="?"),o+=H,g+=tt.Dynamic,A&&(g+=tt.BonusOptional),w&&(g+=tt.BonusRepeatable),R===".*"&&(g+=tt.BonusWildcard)}u.push(g)}s.push(u)}if(n.strict&&n.end){const a=s.length-1;s[a][s[a].length-1]+=tt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function c(a){const u=a.match(i),f={};if(!u)return null;for(let p=1;p<u.length;p++){const g=u[p]||"",v=r[p-1];f[v.name]=g&&v.repeatable?g.split("/"):g}return f}function l(a){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of p)if(g.type===An.Static)u+=g.value;else if(g.type===An.Param){const{value:v,repeatable:w,optional:A}=g,S=v in a?a[v]:"";if(Ot(S)&&!w)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const R=Ot(S)?S.join("/"):S;if(!R)if(A)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);u+=R}}return u||"/"}return{re:i,score:s,keys:r,parse:c,stringify:l}}function xg(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]===tt.Static+tt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function ju(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=xg(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(wc(s))return 1;if(wc(o))return-1}return o.length-s.length}function wc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Cg={strict:!1,end:!0,sensitive:!1};function Eg(e,t,n){const s=Sg(bg(e.path),n),o=Ae(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Ag(e,t){const n=[],s=new Map;t=pc(Cg,t);function o(f){return s.get(f)}function r(f,p,g){const v=!g,w=xc(f);w.aliasOf=g&&g.record;const A=pc(t,f),S=[w];if("alias"in f){const E=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of E)S.push(xc(Ae({},w,{components:g?g.record.components:w.components,path:k,aliasOf:g?g.record:w})))}let R,H;for(const E of S){const{path:k}=E;if(p&&k[0]!=="/"){const B=p.record.path,P=B[B.length-1]==="/"?"":"/";E.path=p.record.path+(k&&P+k)}if(R=Eg(E,p,A),g?g.alias.push(R):(H=H||R,H!==R&&H.alias.push(R),v&&f.name&&!Cc(R)&&i(f.name)),Uu(R)&&l(R),w.children){const B=w.children;for(let P=0;P<B.length;P++)r(B[P],R,g&&g.children[P])}g=g||R}return H?()=>{i(H)}:Ls}function i(f){if(Fu(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function c(){return n}function l(f){const p=Tg(f,n);n.splice(p,0,f),f.record.name&&!Cc(f)&&s.set(f.record.name,f)}function a(f,p){let g,v={},w,A;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw Xn($e.MATCHER_NOT_FOUND,{location:f});A=g.record.name,v=Ae(Sc(p.params,g.keys.filter(H=>!H.optional).concat(g.parent?g.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),f.params&&Sc(f.params,g.keys.map(H=>H.name))),w=g.stringify(v)}else if(f.path!=null)w=f.path,g=n.find(H=>H.re.test(w)),g&&(v=g.parse(w),A=g.record.name);else{if(g=p.name?s.get(p.name):n.find(H=>H.re.test(p.path)),!g)throw Xn($e.MATCHER_NOT_FOUND,{location:f,currentLocation:p});A=g.record.name,v=Ae({},p.params,f.params),w=g.stringify(v)}const S=[];let R=g;for(;R;)S.unshift(R.record),R=R.parent;return{name:A,path:w,params:v,matched:S,meta:Og(S)}}e.forEach(f=>r(f));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:c,getRecordMatcher:o}}function Sc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function xc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kg(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 kg(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 Cc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Og(e){return e.reduce((t,n)=>Ae(t,n.meta),{})}function Tg(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;ju(e,t[r])<0?s=r:n=r+1}const o=Rg(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function Rg(e){let t=e;for(;t=t.parent;)if(Uu(t)&&ju(e,t)===0)return t}function Uu({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ec(e){const t=yt(cr),n=yt(Ji),s=_e(()=>{const l=V(e.to);return t.resolve(l)}),o=_e(()=>{const{matched:l}=s.value,{length:a}=l,u=l[a-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(es.bind(null,u));if(p>-1)return p;const g=Ac(l[a-2]);return a>1&&Ac(u)===g&&f[f.length-1].path!==g?f.findIndex(es.bind(null,l[a-2])):p}),r=_e(()=>o.value>-1&&$g(n.params,s.value.params)),i=_e(()=>o.value>-1&&o.value===n.matched.length-1&&Vu(n.params,s.value.params));function c(l={}){if(Mg(l)){const a=t[V(e.replace)?"replace":"push"](V(e.to)).catch(Ls);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>a),a}return Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:r,isExactActive:i,navigate:c}}function Ig(e){return e.length===1?e[0]:e}const Pg=ht({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:Ec,setup(e,{slots:t}){const n=mn(Ec(e)),{options:s}=yt(cr),o=_e(()=>({[kc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[kc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&Ig(t.default(n));return e.custom?r:Su("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Ng=Pg;function Mg(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 $g(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Ot(o)||o.length!==s.length||s.some((r,i)=>r.valueOf()!==o[i].valueOf()))return!1}return!0}function Ac(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kc=(e,t,n)=>e??t??n,Lg=ht({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=yt(fi),o=_e(()=>e.route||s.value),r=yt(hc,0),i=_e(()=>{let a=V(r);const{matched:u}=o.value;let f;for(;(f=u[a])&&!f.components;)a++;return a}),c=_e(()=>o.value.matched[i.value]);mo(hc,_e(()=>i.value+1)),mo(Mh,c),mo(fi,o);const l=se();return ze(()=>[l.value,c.value,e.name],([a,u,f],[p,g,v])=>{u&&(u.instances[f]=a,g&&g!==u&&a&&a===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!es(u,g)||!p)&&(u.enterCallbacks[f]||[]).forEach(w=>w(a))},{flush:"post"}),()=>{const a=o.value,u=e.name,f=c.value,p=f&&f.components[u];if(!p)return Oc(n.default,{Component:p,route:a});const g=f.props[u],v=g?g===!0?a.params:typeof g=="function"?g(a):g:null,A=Su(p,Ae({},v,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Oc(n.default,{Component:A,route:a})||A}}});function Oc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Dg=Lg;function Hg(e){const t=Ag(e.routes,e),n=e.parseQuery||ag,s=e.stringifyQuery||yc,o=e.history,r=ys(),i=ys(),c=ys(),l=Ao(on);let a=on;Hn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Lr.bind(null,_=>""+_),f=Lr.bind(null,zh),p=Lr.bind(null,Us);function g(_,D){let j,U;return Fu(_)?(j=t.getRecordMatcher(_),U=D):U=_,t.addRoute(U,j)}function v(_){const D=t.getRecordMatcher(_);D&&t.removeRoute(D)}function w(){return t.getRoutes().map(_=>_.record)}function A(_){return!!t.getRecordMatcher(_)}function S(_,D){if(D=Ae({},D||l.value),typeof _=="string"){const m=Dr(n,_,D.path),I=t.resolve({path:m.path},D),M=o.createHref(m.fullPath);return Ae(m,I,{params:p(I.params),hash:Us(m.hash),redirectedFrom:void 0,href:M})}let j;if(_.path!=null)j=Ae({},_,{path:Dr(n,_.path,D.path).path});else{const m=Ae({},_.params);for(const I in m)m[I]==null&&delete m[I];j=Ae({},_,{params:f(m)}),D.params=f(D.params)}const U=t.resolve(j,D),ne=_.hash||"";U.params=u(p(U.params));const d=Jh(s,Ae({},_,{hash:Gh(ne),path:U.path})),h=o.createHref(d);return Ae({fullPath:d,hash:ne,query:s===yc?ug(_.query):_.query||{}},U,{redirectedFrom:void 0,href:h})}function R(_){return typeof _=="string"?Dr(n,_,l.value.path):Ae({},_)}function H(_,D){if(a!==_)return Xn($e.NAVIGATION_CANCELLED,{from:D,to:_})}function E(_){return P(_)}function k(_){return E(Ae(R(_),{replace:!0}))}function B(_,D){const j=_.matched[_.matched.length-1];if(j&&j.redirect){const{redirect:U}=j;let ne=typeof U=="function"?U(_,D):U;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=R(ne):{path:ne},ne.params={}),Ae({query:_.query,hash:_.hash,params:ne.path!=null?{}:_.params},ne)}}function P(_,D){const j=a=S(_),U=l.value,ne=_.state,d=_.force,h=_.replace===!0,m=B(j,U);if(m)return P(Ae(R(m),{state:typeof m=="object"?Ae({},ne,m.state):ne,force:d,replace:h}),D||j);const I=j;I.redirectedFrom=D;let M;return!d&&Qh(s,U,j)&&(M=Xn($e.NAVIGATION_DUPLICATED,{to:I,from:U}),oe(U,U,!0,!1)),(M?Promise.resolve(M):N(I,U)).catch(L=>Bt(L)?Bt(L,$e.NAVIGATION_GUARD_REDIRECT)?L:ge(L):ce(L,I,U)).then(L=>{if(L){if(Bt(L,$e.NAVIGATION_GUARD_REDIRECT))return P(Ae({replace:h},R(L.to),{state:typeof L.to=="object"?Ae({},ne,L.to.state):ne,force:d}),D||I)}else L=$(I,U,!0,h,ne);return O(I,U,L),L})}function b(_,D){const j=H(_,D);return j?Promise.reject(j):Promise.resolve()}function x(_){const D=q.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(_):_()}function N(_,D){let j;const[U,ne,d]=fg(_,D);j=Vr(U.reverse(),"beforeRouteLeave",_,D);for(const m of U)m.leaveGuards.forEach(I=>{j.push(un(I,_,D))});const h=b.bind(null,_,D);return j.push(h),ue(j).then(()=>{j=[];for(const m of r.list())j.push(un(m,_,D));return j.push(h),ue(j)}).then(()=>{j=Vr(ne,"beforeRouteUpdate",_,D);for(const m of ne)m.updateGuards.forEach(I=>{j.push(un(I,_,D))});return j.push(h),ue(j)}).then(()=>{j=[];for(const m of d)if(m.beforeEnter)if(Ot(m.beforeEnter))for(const I of m.beforeEnter)j.push(un(I,_,D));else j.push(un(m.beforeEnter,_,D));return j.push(h),ue(j)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),j=Vr(d,"beforeRouteEnter",_,D,x),j.push(h),ue(j))).then(()=>{j=[];for(const m of i.list())j.push(un(m,_,D));return j.push(h),ue(j)}).catch(m=>Bt(m,$e.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function O(_,D,j){c.list().forEach(U=>x(()=>U(_,D,j)))}function $(_,D,j,U,ne){const d=H(_,D);if(d)return d;const h=D===on,m=Hn?history.state:{};j&&(U||h?o.replace(_.fullPath,Ae({scroll:h&&m&&m.scroll},ne)):o.push(_.fullPath,ne)),l.value=_,oe(_,D,j,h),ge()}let X;function ee(){X||(X=o.listen((_,D,j)=>{if(!Q.listening)return;const U=S(_),ne=B(U,Q.currentRoute.value);if(ne){P(Ae(ne,{replace:!0,force:!0}),U).catch(Ls);return}a=U;const d=l.value;Hn&&ig(mc(d.fullPath,j.delta),ar()),N(U,d).catch(h=>Bt(h,$e.NAVIGATION_ABORTED|$e.NAVIGATION_CANCELLED)?h:Bt(h,$e.NAVIGATION_GUARD_REDIRECT)?(P(Ae(R(h.to),{force:!0}),U).then(m=>{Bt(m,$e.NAVIGATION_ABORTED|$e.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===pi.pop&&o.go(-1,!1)}).catch(Ls),Promise.reject()):(j.delta&&o.go(-j.delta,!1),ce(h,U,d))).then(h=>{h=h||$(U,d,!1),h&&(j.delta&&!Bt(h,$e.NAVIGATION_CANCELLED)?o.go(-j.delta,!1):j.type===pi.pop&&Bt(h,$e.NAVIGATION_ABORTED|$e.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),O(U,d,h)}).catch(Ls)}))}let ae=ys(),te=ys(),Z;function ce(_,D,j){ge(_);const U=te.list();return U.length?U.forEach(ne=>ne(_,D,j)):console.error(_),Promise.reject(_)}function de(){return Z&&l.value!==on?Promise.resolve():new Promise((_,D)=>{ae.add([_,D])})}function ge(_){return Z||(Z=!_,ee(),ae.list().forEach(([D,j])=>_?j(_):D()),ae.reset()),_}function oe(_,D,j,U){const{scrollBehavior:ne}=e;if(!Hn||!ne)return Promise.resolve();const d=!j&&lg(mc(_.fullPath,0))||(U||!j)&&history.state&&history.state.scroll||null;return tr().then(()=>ne(_,D,d)).then(h=>h&&rg(h)).catch(h=>ce(h,_,D))}const re=_=>o.go(_);let J;const q=new Set,Q={currentRoute:l,listening:!0,addRoute:g,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:w,resolve:S,options:e,push:E,replace:k,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:r.add,beforeResolve:i.add,afterEach:c.add,onError:te.add,isReady:de,install(_){_.component("RouterLink",Ng),_.component("RouterView",Dg),_.config.globalProperties.$router=Q,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>V(l)}),Hn&&!J&&l.value===on&&(J=!0,E(o.location).catch(U=>{}));const D={};for(const U in on)Object.defineProperty(D,U,{get:()=>l.value[U],enumerable:!0});_.provide(cr,Q),_.provide(Ji,La(D)),_.provide(fi,l);const j=_.unmount;q.add(_),_.unmount=function(){q.delete(_),q.size<1&&(a=on,X&&X(),X=null,l.value=on,J=!1,Z=!1),j()}}};function ue(_){return _.reduce((D,j)=>D.then(()=>x(j)),Promise.resolve())}return Q}const Vg="0.1.0",Fg={version:Vg};function Wu(e){const t=`${Fg.version}-mney0xcb`,n=_e(()=>e.value.includes("Connected")?"connected":e.value.includes("Connecting")?"connecting":e.value.includes("Error")?"error":"");return{version:t,statusClass:n}}function Xi(){const e=window;return e.__hermes||(e.__hermes={}),e.__hermes}const Gu=Xi();function Es(){return Gu.captureStream||null}function xn(e){Gu.captureStream=e}const Do=se(!1);Ut();function Ut(){const e=Es();Do.value=!!(e&&e.active&&e.getVideoTracks().some(t=>t.readyState==="live")),!Do.value&&e&&(e.getTracks().forEach(t=>t.stop()),xn(null))}function Bg(){async function e(){const o=Es();if(o&&o.active&&(Ut(),Do.value))return{enabled:!0};try{const r=await navigator.mediaDevices.getDisplayMedia({video:{displaySurface:"browser"},preferCurrentTab:!0});return r.getVideoTracks()[0].onended=()=>{xn(null),Ut()},xn(r),Ut(),{enabled:!0}}catch(r){return xn(null),Ut(),{enabled:!1,error:`Capture denied: ${r.message}`}}}function t(){const o=Es();o&&(o.getTracks().forEach(r=>r.stop()),xn(null)),Ut()}async function n(o=.7){Ut();const r=Es();if(!r)return{error:"Capture not enabled -- send enableCapture first"};const i=r.getVideoTracks()[0];if(!i||i.readyState!=="live")return xn(null),Ut(),{error:"Capture stream ended -- re-enable with enableCapture"};const c=document.createElement("video");c.srcObject=r,c.muted=!0,await c.play();const l=document.createElement("canvas");return l.width=c.videoWidth,l.height=c.videoHeight,l.getContext("2d").drawImage(c,0,0),c.pause(),c.srcObject=null,new Promise(a=>{l.toBlob(u=>{if(!u){a({error:"Canvas toBlob failed"});return}const f=new FileReader;f.onloadend=()=>{const p=f.result;a({dataUrl:p,length:p.length})},f.readAsDataURL(u)},"image/jpeg",o)})}function s(){const o=Es();if(!o)return{active:!1,tracks:0,reason:"no stream"};const i=o.getVideoTracks().filter(c=>c.readyState==="live");return!o.active||i.length===0?(xn(null),Ut(),{active:!1,tracks:0,reason:"stream ended"}):{active:!0,tracks:i.length}}return{isActive:Do,enable:e,disable:t,capture:n,healthCheck:s}}const rn=new Map,Tc={mobile:[375,812],tablet:[768,1024],"tablet-landscape":[1024,768],desktop:[1280,800]};function Rc(e,t){return`${e}-breakout-${t}`}function jg(){const e=se(null);async function t(r){const i=sessionStorage.getItem("hermes_takeover_token");if(!i)return{error:"No takeover token active"};const c=r.name||"mobile",l=r.preset||"desktop",a=rn.get(c);a&&!a.closed&&a.close();const u=Math.random().toString(36).slice(2,6),[f,p]=r.w&&r.h?[r.w,r.h]:Tc[l]||Tc.desktop,g=`${f}x${p}`;return new Promise(v=>{e.value={name:c,preset:g,nonce:u,resolve:w=>{if(e.value=null,!w){v({error:"rejected by user"});return}const A=Rc(i,c),S=`${window.location.origin}${window.location.pathname}?breakout_token=${A}#/agents`,R=window.open(S,`hermes_breakout_${c}`,`width=${f},height=${p},resizable=yes,scrollbars=yes`);if(!R){v({error:"popup blocked"});return}rn.set(c,R),v({opened:c,token:A,size:g})}}})}function n(r,i,c){const[l,a]=i.split("x").map(Number),u=Rc(c,r),f=`${window.location.origin}${window.location.pathname}?breakout_token=${u}#/agents`,p=window.open(f,`hermes_breakout_${r}`,`width=${l},height=${a},resizable=yes,scrollbars=yes`);if(!p){alert("Popup blocked -- allow popups for this site");return}rn.set(r,p)}function s(){const r={};for(const[i,c]of rn)r[i]={alive:!c.closed},c.closed&&rn.delete(i);return r}function o(r){const i=rn.get(r.name);return i?(i.closed||i.close(),rn.delete(r.name),{closed:r.name}):{error:`No breakout: ${r.name}`}}return{windows:rn,pendingRequest:e,open:t,openDirect:n,list:s,close:o}}const As="hermes_takeover_token";let uo=sessionStorage.getItem(As)||"";function Ug(e){const t=se(uo),n=Bg(),s=jg();function o(){const b=crypto.randomUUID();return t.value=b,uo=b,sessionStorage.setItem(As,b),e({type:"dev_takeover",token:b}),b}function r(){t.value="",uo="",sessionStorage.removeItem(As)}function i(){const b=new URLSearchParams(window.location.search),x=b.get("breakout_token");if(x){sessionStorage.setItem(As,x),b.delete("breakout_token");const O=b.toString(),$=window.location.pathname+(O?"?"+O:"")+window.location.hash;window.history.replaceState(null,"",$)}const N=sessionStorage.getItem(As);N&&(t.value=N,uo=N,e({type:"dev_takeover",token:N}))}function c(b){const x=document.querySelector(b.selector);if(!x)return{error:`No element: ${b.selector}`};const N=[];let O=x;for(;O&&O!==document.documentElement;){const $=getComputedStyle(O),X=O.getBoundingClientRect();N.push({tag:O.tagName.toLowerCase(),cls:(O.className?.toString()||"").split(" ").filter(Boolean).slice(0,5).join(" "),w:Math.round(X.width),h:Math.round(X.height),l:Math.round(X.left),r:Math.round(X.right),pl:$.paddingLeft,pr:$.paddingRight,ml:$.marginLeft,mr:$.marginRight}),O=O.parentElement}return N}function l(b){const x=document.querySelector(b.selector);if(!x)return{error:`No element: ${b.selector}`};const N=getComputedStyle(x),O=x.getBoundingClientRect(),$=b.props||["padding","margin","width","height","display","flexDirection","overflow","gap"],X={};for(const ee of $)X[ee]=N.getPropertyValue(ee.replace(/[A-Z]/g,ae=>"-"+ae.toLowerCase()));return{...X,boundingRect:{w:Math.round(O.width),h:Math.round(O.height),l:Math.round(O.left),r:Math.round(O.right),t:Math.round(O.top),b:Math.round(O.bottom)}}}function a(){return{w:window.innerWidth,h:window.innerHeight,dpr:window.devicePixelRatio,hash:window.location.hash}}function u(b){return window.location.hash=b.hash,{navigated:b.hash}}function f(){return setTimeout(()=>window.location.reload(),100),{reloading:!0}}function p(b){return window.resizeTo(b.w,b.h),{resized:`${b.w}x${b.h}`}}function g(b){const x=document.querySelectorAll(b.selector),N=b.limit||10;return Array.from(x).slice(0,N).map((O,$)=>{const X=O.getBoundingClientRect();return{i:$,tag:O.tagName.toLowerCase(),cls:(O.className?.toString()||"").split(" ").filter(Boolean).slice(0,5).join(" "),text:(O.textContent||"").slice(0,60),w:Math.round(X.width),h:Math.round(X.height),l:Math.round(X.left),t:Math.round(X.top)}})}function v(b){const x=document.querySelectorAll(b.selector),N=b.index||0,O=x[N];return O?(O.click(),{clicked:b.selector,index:N}):{error:`No element: ${b.selector}[${N}]`}}function w(b){const x=document.querySelector(b.selector);return x?{value:x.value,tag:x.tagName.toLowerCase()}:{error:`No element: ${b.selector}`}}function A(b){const x=document.querySelector(b.selector);return x?(Object.getOwnPropertyDescriptor(x.tagName==="SELECT"?HTMLSelectElement.prototype:HTMLInputElement.prototype,"value")?.set?.call(x,b.value),x.dispatchEvent(new Event("input",{bubbles:!0})),x.dispatchEvent(new Event("change",{bubbles:!0})),{set:b.value,selector:b.selector}):{error:`No element: ${b.selector}`}}function S(b){const x=document.querySelector(b.selector);return x?(x.focus(),x.value=b.text,x.dispatchEvent(new Event("input",{bubbles:!0})),{typed:b.text,selector:b.selector}):{error:`No element: ${b.selector}`}}function R(){return{url:window.location.hash,title:document.title,viewport:{w:window.innerWidth,h:window.innerHeight},body:document.body.innerText.slice(0,2e3)}}function H(b){const x=document.querySelector(b.selector);if(!x)return{error:`No element: ${b.selector}`};const N=x.scrollTop;return b.to!==void 0&&(b.to==="top"?x.scrollTop=0:b.to==="bottom"?x.scrollTop=x.scrollHeight:b.to==="middle"?x.scrollTop=(x.scrollHeight-x.clientHeight)/2:x.scrollTop=b.to),{scrollTop:x.scrollTop,scrollHeight:x.scrollHeight,clientHeight:x.clientHeight,before:N}}function E(b){const x=Xi();if(!x.console?.length&&!x._origConsole)return{error:"Console hook not initialized"};let N=x.console;if(b.level&&(N=N.filter($=>$.l===b.level)),b.pattern){const $=new RegExp(b.pattern,"i");N=N.filter(X=>$.test(X.m))}const O=N.slice(-(b.last||50));return b.clear&&(x.console.length=0),O}const k={boxChain:c,getStyles:l,viewport:a,navigate:u,reload:f,resize:p,querySelector:g,click:v,screenshot:R,getValue:w,setValue:A,typeText:S,scroll:H,getConsole:E,listBreakouts:()=>s.list(),closeBreakout:b=>s.close(b)},B={captureScreen:b=>n.capture(b.quality),enableCapture:()=>n.enable(),openBreakout:b=>s.open(b)};function P(b,x,N,O){const $=k[x];if($){try{const ee=$(N);O({type:"dev_cmd_result",cmdId:b,result:JSON.parse(JSON.stringify(ee??null))})}catch(ee){O({type:"dev_cmd_result",cmdId:b,error:ee.message})}return}const X=B[x];if(X){X(N).then(ee=>{O({type:"dev_cmd_result",cmdId:b,result:JSON.parse(JSON.stringify(ee??null))})}).catch(ee=>{O({type:"dev_cmd_result",cmdId:b,error:ee.message})});return}if(x==="eval"){const ee=N.js;if(!ee){O({type:"dev_cmd_result",cmdId:b,error:"js required"});return}if(!window.confirm(`Dev takeover eval request:
|
|
|
|
${ee.slice(0,500)}
|
|
|
|
Allow?`)){O({type:"dev_cmd_result",cmdId:b,error:"rejected by user"});return}try{const te=new Function("return ("+ee+")")(),Z=te instanceof Element?te.outerHTML.slice(0,500):JSON.parse(JSON.stringify(te??null));O({type:"dev_cmd_result",cmdId:b,result:Z})}catch(te){O({type:"dev_cmd_result",cmdId:b,error:te.message})}return}O({type:"dev_cmd_result",cmdId:b,error:`Unknown command: ${x}`})}return{token:t,capture:n,breakout:s,init:o,revoke:r,reregister:i,dispatch:P}}const He=Xi();let je=He.ws??null,Nt=He.wsPing??null;const Ds=He.wsCbs??[],ts=He.wsBuf??[];let Fr=null,Vn=1e3,Ku=null,gi=null,wo=null,qu=null,Br=null;const ur=He.wsConnected??se(!1),ns=He.wsStatus??se("Disconnected"),el=He.wsUser??se(""),tl=He.wsSid??se(null),Ho=He.wsInit??se(!0);He.wsConnected=ur;He.wsStatus=ns;He.wsUser=el;He.wsSid=tl;He.wsInit=Ho;He.wsCbs=Ds;He.wsBuf=ts;function fr(e){je&&je.readyState===WebSocket.OPEN&&je.send(JSON.stringify(e))}function vi(){return Br||(Br=Ug(fr)),Br}function Ic(){return"wss://assay.loop42.de/ws"}function Wg(){Fr||wo?.value&&(ns.value=`Reconnecting in ${Math.round(Vn/1e3)}s…`,Fr=setTimeout(()=>{Fr=null,wo?.value&&zu(Ku,wo,qu)},Vn),Vn=Math.min(Vn*2,16e3))}function zu(e,t,n,s){if(je&&je.readyState<=WebSocket.OPEN)return;Ku=e,gi=s??null,wo=t,qu=n,Vn=1e3,console.log("WS CONNECT attempt, ws state:",je?.readyState,"url:",Ic());const o=Ic();Ho.value&&(ns.value="Connecting...",Ho.value=!1),je=new WebSocket(o),He.ws=je,je.onopen=()=>{Vn=1e3;const r=e.value,i=localStorage.getItem("nyx_session")||localStorage.getItem("titan_token"),c=gi?.value??"private";je?.send(JSON.stringify(i?{type:"auth",agent:r||"",token:i,mode:c}:{type:"connect",agent:r||"",user:"nico",mode:c})),vi().reregister(),Nt&&clearInterval(Nt),Nt=setInterval(()=>{je?.readyState===WebSocket.OPEN&&je.send(JSON.stringify({type:"ping"}))},3e4),He.wsPing=Nt},je.onmessage=r=>{try{const i=JSON.parse(r.data);if(i.type==="dev_cmd"&&i.cmdId&&i.cmd){vi().dispatch(i.cmdId,i.cmd,i.args||{},fr);return}i.type==="error"&&i.code==="SESSION_TERMINATED"?console.warn("Message bounced: Session terminated."):i.type==="diagnostic"&&(console[i.level]||console.log)(`Backend Diagnostic (${i.level.toUpperCase()}):`,i.message),ts.push(i),Ds.forEach(c=>c(i))}catch(i){console.error("Parse error:",i)}},je.onclose=r=>{Nt&&(clearInterval(Nt),Nt=null),ur.value=!1,ts.length=0,r.code===4001?(t.value=!1,n.value="Session expired. Please log in again.",localStorage.removeItem("nyx_session"),localStorage.removeItem("titan_token"),sessionStorage.removeItem("agent"),ns.value="Logged out",window.location.hash!=="#/login"&&(window.location.hash="#/login")):Wg()},je.onerror=()=>{}}function Gg(){Nt&&(clearInterval(Nt),Nt=null,He.wsPing=null),je&&(je.onclose=null,je.close(),je=null,He.ws=null),ur.value=!1,ns.value="Disconnected",el.value="",tl.value=null,Ho.value=!0}function Kg(){}function qg(e,t){ts.length=0,fr({type:"switch_agent",agent:e,mode:t??gi?.value??"private"})}function zg(){ts.length=0}function Yg(e){return Ds.push(e),()=>{const t=Ds.indexOf(e);t!==-1&&Ds.splice(t,1)}}function Zg(e){ts.forEach(t=>e(t))}function Jg(){return{connected:ur,status:ns,currentUser:el,sessionId:tl,connect:zu,disconnect:Gg,send:fr,switchAgent:qg,sendDeferredAuth:Kg,clearBuffer:zg,onMessage:Yg,replayBuffer:Zg,getTakeover:vi}}let bs=null;function pn(){if(bs!==null)return bs;const e="wss://assay.loop42.de/ws";try{const t=new URL(e);bs=`${t.protocol==="wss:"?"https:":"http:"}//${t.host}`}catch{bs=""}return bs}const Qg=se([]),Xg=(()=>{const e=new URLSearchParams(window.location.hash.split("?")[1]||"").get("agent");if(e)return e;const t=sessionStorage.getItem("agent");return t||""})(),_s=se(Xg),ev=(()=>{const e=new URLSearchParams(window.location.hash.split("?")[1]||"").get("mode");if(e==="public"||e==="private")return e;const t=sessionStorage.getItem("agent_mode");return t==="public"||t==="private"?t:"private"})(),ws=se(ev),Pc=se("titan"),Ss=se([]);function tv(e){const t=Qg,n=_s,s=ws,o=Pc,r=Ss,i=se([]),c=_e(()=>r.value.length===0?t.value:t.value.filter(k=>r.value.includes(k.id)));function l(k){k.agents&&(t.value=k.agents),k.defaultAgent&&(Pc.value=k.defaultAgent),k.allowedAgents&&(Ss.value=k.allowedAgents);const B=new URLSearchParams(window.location.hash.split("?")[1]||""),P=B.get("mode"),b=sessionStorage.getItem("agent_mode");P==="public"||P==="private"?ws.value=P:(b==="public"||b==="private")&&(ws.value=b);const x=B.get("agent"),N=sessionStorage.getItem("agent"),O=x&&Ss.value.includes(x),$=N&&Ss.value.includes(N);O?n.value=x:$&&(n.value=N)}async function a(){try{const k=window.location.protocol==="https:"?"https:":"http:",B=window.location.hostname,P=localStorage.getItem("nyx_session")??"",b=await fetch(`${k}//${B}/agents`,{headers:{Authorization:`Bearer ${P}`}});i.value=await b.json()}catch(k){console.error("Failed to fetch agent models:",k)}}ze([e,Ss],()=>{e.value&&!_s.value&&l({})});const u=se({});let f=null,p=0;async function g(k){const B=localStorage.getItem("nyx_session")??"";if(B)try{const P=pn(),b=await fetch(`${P}/api/channels/${k}`,{headers:{Authorization:`Bearer ${B}`}});if(!b.ok)return;const x=await b.json();u.value={...u.value,[k]:{private:x.private??null,public:x.public??null}}}catch{}}function v(){const k=t.value;k.length&&(p=p%k.length,g(k[p].id),p++)}function w(){f||(p=0,v(),f=setInterval(v,1e3))}function A(){f&&(clearInterval(f),f=null)}function S(k,B){const P=u.value[k];return P?B==="private"?P.private:P.public:null}let R=null;function H(k){R=k}function E(){_s.value&&sessionStorage.setItem("agent",_s.value),sessionStorage.setItem("agent_mode",ws.value)}return ze([_s,ws],E),{allAgents:t,selectedAgent:n,selectedMode:s,defaultAgent:o,allowedAgentIds:r,agentModels:i,filteredAgents:c,channelStates:u,fetchAgentModels:a,updateFromServer:l,getChannelState:S,setCurrentUser:H,startChannelPolling:w,stopChannelPolling:A}}const nv=`
|
|
attribute vec2 a_position;
|
|
uniform float u_aspect;
|
|
void main() {
|
|
vec2 pos = a_position;
|
|
pos.x /= u_aspect;
|
|
gl_Position = vec4(pos, 0, 1);
|
|
gl_PointSize = 7.0;
|
|
}
|
|
`,sv=`
|
|
precision mediump float;
|
|
uniform vec3 u_color;
|
|
void main() {
|
|
float d = distance(gl_PointCoord, vec2(0.5));
|
|
if (d > 0.5) discard;
|
|
float alpha = (0.5 - d) * 2.0;
|
|
gl_FragColor = vec4(u_color, alpha * 0.9);
|
|
}
|
|
`,ov=ht({__name:"WebGLBackground",setup(e){const t=se(),n=se(!1);let s=null,o,r=null;function i(l,a,u){const f=l.createShader(a);return f?(l.shaderSource(f,u),l.compileShader(f),l.getShaderParameter(f,l.COMPILE_STATUS)?f:(console.error(l.getShaderInfoLog(f)),l.deleteShader(f),null)):null}function c(l,a,u){const f=l.createProgram();return f?(l.attachShader(f,a),l.attachShader(f,u),l.linkProgram(f),l.getProgramParameter(f,l.LINK_STATUS)?f:(console.error(l.getProgramInfoLog(f)),null)):null}return sr(()=>{const l=t.value;if(!l||(r=()=>{l.width=window.innerWidth,l.height=window.innerHeight},r(),window.addEventListener("resize",r),s=l.getContext("webgl",{alpha:!0,premultipliedAlpha:!1}),!s))return;const a=s;a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT);const u=i(a,a.VERTEX_SHADER,nv),f=i(a,a.FRAGMENT_SHADER,sv);if(!u||!f)return;const p=c(a,u,f);if(!p)return;const g=a.getAttribLocation(p,"a_position"),v=a.getUniformLocation(p,"u_color"),w=a.getUniformLocation(p,"u_aspect"),A=150,S=new Float32Array(A*2),R=new Float32Array(A*2),H=l.width/l.height;for(let O=0;O<A;O++)S[O*2]=(Math.random()*2-1)*H,S[O*2+1]=Math.random()*2-1,R[O*2]=(Math.random()-.5)*6e-4,R[O*2+1]=(Math.random()-.5)*6e-4;const E=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,E),a.enableVertexAttribArray(g),a.vertexAttribPointer(g,2,a.FLOAT,!1,0,0),a.useProgram(p);const k=getComputedStyle(document.documentElement).getPropertyValue("--secondary").trim();let B=.4,P=.6,b=1;k.startsWith("#")&&k.length>=7&&(B=parseInt(k.slice(1,3),16)/255,P=parseInt(k.slice(3,5),16)/255,b=parseInt(k.slice(5,7),16)/255),a.uniform3f(v,B,P,b);let x=0;function N(){!n.value&&++x>30&&(n.value=!0),a.viewport(0,0,l.width,l.height),a.uniform1f(w,l.width/l.height),a.enable(a.BLEND),a.blendFunc(a.SRC_ALPHA,a.ONE_MINUS_SRC_ALPHA),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT);const O=l.width/l.height;for(let $=0;$<A;$++)S[$*2]+=R[$*2],S[$*2+1]+=R[$*2+1],S[$*2]>O&&(S[$*2]-=2*O),S[$*2]<-O&&(S[$*2]+=2*O),S[$*2+1]>1&&(S[$*2+1]-=2),S[$*2+1]<-1&&(S[$*2+1]+=2);a.bufferData(a.ARRAY_BUFFER,S,a.DYNAMIC_DRAW),a.drawArrays(a.POINTS,0,A),o=requestAnimationFrame(N)}N()}),Js(()=>{cancelAnimationFrame(o),r&&window.removeEventListener("resize",r)}),(l,a)=>(Y(),le("canvas",{ref_key:"canvas",ref:t,class:Se(["webgl-bg",{ready:n.value}])},null,2))}}),ls=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},rv=ls(ov,[["__scopeId","data-v-3b55d999"]]),iv={class:"login-view"},lv={class:"login-card"},cv=["disabled"],av=["disabled"],uv={key:0,class:"login-error"},fv=ht({__name:"LoginView",setup(e){const{isLoggedIn:t,loginToken:n,loginError:s,loggingIn:o,doLogin:r,doLogout:i}=xt;return(c,l)=>(Y(),le("div",iv,[me(rv),T("div",lv,[V(t)?(Y(),le(Ue,{key:0},[l[5]||(l[5]=T("h2",null,"✅ Already signed in",-1)),l[6]||(l[6]=T("p",{class:"login-info"},"You're connected. Head back to chat or sign out below.",-1)),T("button",{onClick:l[0]||(l[0]=a=>V(Jt).push("/agents"))},"Go to Chat"),T("button",{class:"logout-btn",onClick:l[1]||(l[1]=a=>V(i)(V(st).disconnect))},"Sign out")],64)):(Y(),le(Ue,{key:1},[l[7]||(l[7]=T("h2",null,"🔐 Sign in",-1)),l[8]||(l[8]=T("label",{class:"login-label"},"Enter your Login Token",-1)),Vd(T("input",{"onUpdate:modelValue":l[2]||(l[2]=a=>Ne(n)?n.value=a:null),type:"password",placeholder:"Login Token",onKeyup:l[3]||(l[3]=mh((...a)=>V(r)&&V(r)(...a),["enter"])),disabled:V(o),autofocus:""},null,40,cv),[[dh,V(n)]]),T("button",{onClick:l[4]||(l[4]=(...a)=>V(r)&&V(r)(...a)),disabled:V(o)},ye(V(o)?"Connecting...":"Connect"),9,av),V(s)?(Y(),le("div",uv,ye(V(s)),1)):be("",!0)],64))])]))}});function dv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"})])}function pv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"})])}function hv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"})])}const Yu="hermes_theme",gv={titan:dv,eras:hv,loop42:pv},Zu={titan:"Titan",eras:"ERAS",loop42:"loop42"},Ju={titan:null,eras:null,loop42:null},Nc=localStorage.getItem(Yu),Vo=se(Nc==="workhorse"?"loop42":Nc||"loop42"),vv={titan:"/favicon-titan.svg",eras:"/favicon-eras.svg",loop42:"/favicon-loop42.svg"};function Qu(e){e==="titan"?document.documentElement.removeAttribute("data-theme"):document.documentElement.setAttribute("data-theme",e);const t=document.querySelector('link[rel="icon"]');t&&(t.href=vv[e]||"/favicon.svg")}Qu(Vo.value);ze(Vo,e=>{Qu(e),localStorage.setItem(Yu,e)});function nl(){function e(t){Vo.value=t}return{theme:Vo,setTheme:e}}const Jt=Hg({history:vg(),routes:[{path:"/",name:"home",component:()=>En(()=>import("./HomeView-C4cnj5m-.js"),[]),meta:{suffix:"Home"}},{path:"/login",name:"login",component:fv,meta:{suffix:"Login"}},{path:"/agents",name:"agents",component:()=>En(()=>import("./AgentsView-DlISXhse.js"),__vite__mapDeps([0,1,2,3])),meta:{suffix:"Home",requiresSocket:!0}},{path:"/chat",redirect:"/agents"},{path:"/dev",name:"dev",component:()=>En(()=>import("./DevView-lskM9Phs.js"),__vite__mapDeps([4,2,5])),meta:{suffix:"Dev",requiresSocket:!0}},{path:"/viewer",name:"viewer",component:()=>En(()=>import("./ViewerView-CJchbA_-.js"),__vite__mapDeps([6,1,7])),meta:{suffix:"Viewer",requiresSocket:!0}},{path:"/:pathMatch(.*)*",redirect:"/"}]});Jt.afterEach(e=>{const{theme:t}=nl(),n=Zu[t.value]||"Hermes",s=e.meta?.suffix||"";document.title=s?`${n} - ${s}`:n});const fo="nyx_session";function mv(e){const t=se(!!localStorage.getItem(fo)),n=se(""),s=se(""),o=se(!1);async function r(){const c=n.value.trim();if(c){o.value=!0,s.value="";try{const l=await fetch(`${pn()}/api/auth/nonce`);if(!l.ok){s.value="Auth unavailable",o.value=!1;return}const{nonce:a}=await l.json(),u=await fetch(`${pn()}/api/auth`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:c,nonce:a})});if(!u.ok){const p=await u.json().catch(()=>({error:"Login failed"}));s.value=p.error||"Invalid token",o.value=!1;return}const{sessionToken:f}=await u.json();localStorage.removeItem("titan_token"),localStorage.removeItem("nyx_token"),localStorage.setItem(fo,f),sessionStorage.removeItem("agent"),t.value=!0,e(),Jt.push("/chat"),setTimeout(()=>{o.value=!1},500)}catch{s.value="Network error",o.value=!1}}}async function i(c){const l=localStorage.getItem(fo);l&&fetch(`${pn()}/api/auth/logout`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionToken:l})}).catch(()=>{}),c&&c(),localStorage.removeItem(fo),localStorage.removeItem("titan_token"),localStorage.removeItem("nyx_token"),sessionStorage.removeItem("agent"),sessionStorage.removeItem("viewer_auth"),t.value=!1,n.value="",o.value=!1,Jt.push("/")}return{isLoggedIn:t,loginToken:n,loginError:s,loggingIn:o,doLogin:r,doLogout:i}}const sl="viewer_auth",yv=300*1e3;function bv(){try{const e=sessionStorage.getItem(sl);return e?JSON.parse(e):null}catch{return null}}function _v(e){try{sessionStorage.setItem(sl,JSON.stringify(e))}catch{}}function Mc(){sessionStorage.removeItem(sl)}const ol=Ru("viewer",()=>{const e=bv(),t=se(e?.fstoken??""),n=se(e?.roots??[]),s=se(e?.expiresAt??0),o=_e(()=>!!t.value&&Date.now()<s.value);let r=null;async function i(a=!1){if(!(!a&&t.value&&Date.now()<s.value-yv))return r||(r=c().finally(()=>{r=null}),r)}async function c(){const a=localStorage.getItem("nyx_session")||localStorage.getItem("titan_token")||"";if(a)try{const u=await fetch(`${pn()}/api/viewer/token`,{method:"POST",headers:{Authorization:`Bearer ${a}`}});if(!u.ok){t.value="",n.value=[],s.value=0,Mc();return}const p=(await u.json()).fstoken;let g=n.value.length?n.value:["shared","workspace-titan"];try{const w=await fetch(`${pn()}/api/viewer/tree?root=&token=${encodeURIComponent(p)}`);if(w.ok){const A=await w.json();Array.isArray(A.dirs)&&A.dirs.length&&(g=A.dirs)}}catch{}const v=Date.now()+3600*1e3;t.value=p,n.value=g,s.value=v,_v({fstoken:p,roots:g,expiresAt:v})}catch{}}function l(){t.value="",n.value=[],s.value=0,Mc()}return{fstoken:t,roots:n,ready:o,acquire:i,invalidate:l}}),jt=se(localStorage.getItem("viewer_last_path")||""),jr=mn(new Set),st=Jg(),xs=st.getTakeover(),Rn=tv(st.connected);Rn.setCurrentUser(st.currentUser);const xt=mv(()=>{st.connect(Rn.selectedAgent,xt.isLoggedIn,xt.loginError,Rn.selectedMode),ol().acquire()}),rl=Ru("chat",()=>{const e=se([]),t=se("NO_SESSION"),n=se("CONNECTING"),s=_e(()=>n.value!=="SYNCED"?n.value:o.value?"STOP_PENDING":t.value),o=se(!1),r=se(!1),i=se(Math.random().toString(36).slice(2,10)),c=se(null),l=se(null),a=se(""),u=se(null),f=se(""),p=_e(()=>{const C=u.value?.pricing,y=c.value;return!C||!y?0:((y.input_tokens||0)*C.prompt+(y.output_tokens||0)*C.completion)/1e6}),g=se(null),v=se(null),w=_e(()=>e.value.some(C=>C.confirmNew&&!C.confirmed)),A=_e(()=>t.value==="AGENT_RUNNING"||o.value||t.value==="HANDOVER_PENDING");let S=null;function R(C){S=C}function H(){Q(),q(),S?.({type:"new"})}function E(){S?.({type:"handover_request"})}function k(){t.value!=="AGENT_RUNNING"&&!o.value||(g.value=null,o.value=!0,U("Stopping after current turn..."),S?.({type:"stop"}))}function B(){const C=[...e.value].reverse().find(y=>y.confirmNew&&!y.confirmed);C&&(C.confirmed=!0),Q(),q(),S?.({type:"new"})}function P(){const C=[...e.value].reverse().find(y=>y.confirmNew&&!y.confirmed);C&&(C.confirmed=!0,setTimeout(()=>{const y=e.value.findIndex(z=>z===C);y!==-1&&e.value.splice(y,1)},1e3)),S?.({type:"cancel_handover"})}function b(C){t.value=C,C==="AGENT_RUNNING"&&(ge.value=""),(C==="READY"||C==="FRESH")&&(o.value=!1)}function x(C){n.value=C}function N(C){["FRESH","READY","AGENT_RUNNING","HANDOVER_PENDING","HANDOVER_DONE","NO_SESSION"].includes(C)?b(C):["CONNECTING","LOADING_HISTORY","SYNCED","SWITCHING"].includes(C)&&x(C)}function O(){n.value="CONNECTING"}let $=-1;const X=se("");let ee="",ae=null,te=0,Z=!1,ce=-1;const de=se(""),ge=se(""),oe=10,re=_e(()=>{if(n.value!=="SYNCED")switch(n.value){case"CONNECTING":return"⏳ Connecting...";case"LOADING_HISTORY":return"⏳ Loading...";case"SWITCHING":return"🔀 Switching..."}if(o.value)return"⛔ Stopping...";switch(t.value){case"AGENT_RUNNING":return"⚙️ Working...";case"HANDOVER_PENDING":return"📝 Handover...";case"HANDOVER_DONE":return"✅ Handover ready";case"READY":return ge.value?`✓ Ready - ${ge.value}`:"● ✓ Ready";case"FRESH":return"✨ New session";case"RESETTING":return"🔄 Resetting...";case"NO_SESSION":return"○ No session";default:return"● ✓ Ready"}}),J=C=>e.value.slice(-C);function q(){i.value=Math.random().toString(36).slice(2,10),console.log("[ChatStore] Local Session Reset:",i.value),ne()}function Q(){const C=e.value.filter(y=>y.role==="user"||y.role==="assistant").map(y=>({role:y.role,content:y.content,agentId:y.agentId}));if(C.length>0)try{sessionStorage.setItem("hermes_prev_session",JSON.stringify(C))}catch{}}function ue(){try{const C=sessionStorage.getItem("hermes_prev_session");return C?JSON.parse(C):[]}catch{return[]}}function _(){Q(),e.value=[],c.value=null,u.value=null,ne()}function D(C){G()||e.value.length;const y={...C,sessionId:i.value};G()&&C.role==="user"?(e.value.splice($,0,y),$++):e.value.push(y)}function j(C,y){const z=e.value.find(ie=>ie.msgId===C);return z?(Object.assign(z,y),!0):!1}function U(C,y){const z={role:"system",content:C,agentId:y||null,sessionId:i.value};G()?(e.value.splice($,0,z),$++):e.value.push(z)}function ne(){ae!==null&&clearInterval(ae),ae=null,$=-1,ee="",te=0,Z=!0,tr(()=>{Z&&(X.value="",Z=!1)})}function d(C){($===-1||!e.value[$]?.streaming)&&(Z=!1,ne(),e.value.push({role:"assistant",content:"",fullContent:"",usage:null,streaming:!0,agentId:C??null,sessionId:i.value,turnCorrId:v.value??null}),$=e.value.length-1)}function h(C,y){$!==-1&&e.value[$]?.streaming?(ee+=C,e.value[$].fullContent=ee,ae||m()):(d(y),h(C,y))}function m(){ae!==null&&clearInterval(ae),ae=setInterval(()=>{const C=ee.length-te;if(C<=0){console.log("[hermes] typewriter done: charIndex=%d fullLen=%d visibleLen=%d streaming=%s",te,ee.length,X.value.length,e.value[$]?.streaming),ae!==null&&clearInterval(ae),ae=null;return}const y=C>=200?10:C>=50?4:1,z=Math.min(te+y,ee.length);X.value+=ee.slice(te,z),te=z},oe)}function I(C,y,z=!1){if($!==-1&&e.value[$]?.streaming){const ie=e.value[$],pe=(C??ee).replace(/\s*NO_REPLY\s*$/g,"").trim();console.log("[hermes] finalizeAssistantMessage: charIndex=%d fullLen=%d visibleLen=%d finalLen=%d",te,ee.length,X.value.length,pe.length),ae!==null&&(clearInterval(ae),ae=null),X.value=pe,te=pe.length,ie.content=pe,ie.fullContent=pe,y&&(ie.usage=y),z&&(ie.truncated=!0),ie.streaming=!1,console.log("[hermes] post-finalize: msg.content.length=%d msg.streaming=%s idx=%d",ie.content.length,ie.streaming,$),ne()}}function M(C){C&&(de.value+=C,ce===-1&&(e.value.push({role:"thinking",content:de,collapsed:!1}),ce=e.value.length-1))}function L(){ce!==-1&&e.value[ce]&&(e.value[ce].collapsed=!0),ce=-1,de.value=""}function K(C,y,z){if(G()){I(C,z);return}const ie={role:"assistant",content:C.replace(/\s*NO_REPLY\s*$/g,"").trim(),fullContent:C.replace(/\s*NO_REPLY\s*$/g,"").trim(),usage:z||null,streaming:!1,agentId:y??null,sessionId:i.value,turnCorrId:v.value??null};e.value.push(ie)}function G(){return $!==-1&&e.value[$]?.streaming}function W(){return ee.length}function F(){$!==-1&&e.value[$]?.streaming&&(ae!==null&&(clearInterval(ae),ae=null),e.value.splice($,1)),ne()}return{messages:e,activeTurnCorrId:v,sessionKey:f,smState:s,channelState:t,connectionState:n,applySessionState:N,applyChannelState:b,applyConnectionState:x,setConnecting:O,truncatedWarning:r,localSessionId:i,sessionTotalTokens:c,sessionUsage:l,beVersion:a,sessionCost:p,finance:u,smLabel:re,sessionContextHint:ge,streamingMessageVisibleContent:X,visibleMsgs:J,resetLocalSession:q,clearMessages:_,stashMessages:Q,getPreviousSession:ue,pushMessage:D,patchMessage:j,pushSystem:U,startNewAssistantMessage:d,appendAssistantDelta:h,finalizeAssistantMessage:I,createCompleteAssistantMessage:K,appendThinking:M,collapseThinking:L,hasActiveStreamingMessage:G,streamingMessageLength:W,suppressAssistantMessage:F,queuedThought:g,handoverPending:w,isRunning:A,setWsSend:R,newSession:H,handover:E,stop:k,confirmNew:B,stay:P}}),Xu="hermes_dev_flags",Ur={showGrid:!1,showDebugInfo:!1,showHud:!1};function wv(){try{const e=sessionStorage.getItem(Xu);return e?{...Ur,...JSON.parse(e)}:{...Ur}}catch{return{...Ur}}}const ef=mn(wv());ze(ef,e=>{sessionStorage.setItem(Xu,JSON.stringify(e))},{deep:!0});function tf(){return ef}const Sv={key:0,class:"grid-overlay","aria-hidden":"true"},xv=12,Cv=ht({__name:"GridOverlay",setup(e){const t=tf();return(n,s)=>V(t).showGrid?(Y(),le("div",Sv,[(Y(),le(Ue,null,Io(xv,o=>T("div",{class:"grid-col",key:o})),64))])):be("",!0)}}),Ev=ls(Cv,[["__scopeId","data-v-967a780b"]]),Av={key:0,class:"bp-badge","aria-hidden":"true"},kv=ht({__name:"BreakpointBadge",setup(e){const t=tf();return(n,s)=>V(t).showDebugInfo?(Y(),le("div",Av,[...s[0]||(s[0]=[T("span",{class:"sm:hidden"},"xs",-1),T("span",{class:"hidden sm:inline md:hidden"},"sm",-1),T("span",{class:"hidden md:inline lg:hidden"},"md",-1),T("span",{class:"hidden lg:inline"},"lg",-1)])])):be("",!0)}}),Ov=ls(kv,[["__scopeId","data-v-321be928"]]);function Tv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M17 4.25A2.25 2.25 0 0 0 14.75 2h-5.5A2.25 2.25 0 0 0 7 4.25v2a.75.75 0 0 0 1.5 0v-2a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 .75.75v11.5a.75.75 0 0 1-.75.75h-5.5a.75.75 0 0 1-.75-.75v-2a.75.75 0 0 0-1.5 0v2A2.25 2.25 0 0 0 9.25 18h5.5A2.25 2.25 0 0 0 17 15.75V4.25Z","clip-rule":"evenodd"}),T("path",{"fill-rule":"evenodd",d:"M1 10a.75.75 0 0 1 .75-.75h9.546l-1.048-.943a.75.75 0 1 1 1.004-1.114l2.5 2.25a.75.75 0 0 1 0 1.114l-2.5 2.25a.75.75 0 1 1-1.004-1.114l1.048-.943H1.75A.75.75 0 0 1 1 10Z","clip-rule":"evenodd"})])}function $c(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{d:"M3.505 2.365A41.369 41.369 0 0 1 9 2c1.863 0 3.697.124 5.495.365 1.247.167 2.18 1.108 2.435 2.268a4.45 4.45 0 0 0-.577-.069 43.141 43.141 0 0 0-4.706 0C9.229 4.696 7.5 6.727 7.5 8.998v2.24c0 1.413.67 2.735 1.76 3.562l-2.98 2.98A.75.75 0 0 1 5 17.25v-3.443c-.501-.048-1-.106-1.495-.172C2.033 13.438 1 12.162 1 10.72V5.28c0-1.441 1.033-2.717 2.505-2.914Z"}),T("path",{d:"M14 6c-.762 0-1.52.02-2.271.062C10.157 6.148 9 7.472 9 8.998v2.24c0 1.519 1.147 2.839 2.71 2.935.214.013.428.024.642.034.2.009.385.09.518.224l2.35 2.35a.75.75 0 0 0 1.28-.531v-2.07c1.453-.195 2.5-1.463 2.5-2.915V8.998c0-1.526-1.157-2.85-2.729-2.936A41.645 41.645 0 0 0 14 6Z"})])}function nf(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Rv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M11.78 5.22a.75.75 0 0 1 0 1.06L8.06 10l3.72 3.72a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function mi(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Lc(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M6.28 5.22a.75.75 0 0 1 0 1.06L2.56 10l3.72 3.72a.75.75 0 0 1-1.06 1.06L.97 10.53a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0Zm7.44 0a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L17.44 10l-3.72-3.72a.75.75 0 0 1 0-1.06ZM11.377 2.011a.75.75 0 0 1 .612.867l-2.5 14.5a.75.75 0 0 1-1.478-.255l2.5-14.5a.75.75 0 0 1 .866-.612Z","clip-rule":"evenodd"})])}function Iv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{d:"M3 3.5A1.5 1.5 0 0 1 4.5 2h6.879a1.5 1.5 0 0 1 1.06.44l4.122 4.12A1.5 1.5 0 0 1 17 7.622V16.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 3 16.5v-13Z"})])}function Dc(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{d:"M4.75 3A1.75 1.75 0 0 0 3 4.75v2.752l.104-.002h13.792c.035 0 .07 0 .104.002V6.75A1.75 1.75 0 0 0 15.25 5h-3.836a.25.25 0 0 1-.177-.073L9.823 3.513A1.75 1.75 0 0 0 8.586 3H4.75ZM3.104 9a1.75 1.75 0 0 0-1.673 2.265l1.385 4.5A1.75 1.75 0 0 0 4.488 17h11.023a1.75 1.75 0 0 0 1.673-1.235l1.384-4.5A1.75 1.75 0 0 0 16.896 9H3.104Z"})])}function Hc(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{d:"M3.75 3A1.75 1.75 0 0 0 2 4.75v3.26a3.235 3.235 0 0 1 1.75-.51h12.5c.644 0 1.245.188 1.75.51V6.75A1.75 1.75 0 0 0 16.25 5h-4.836a.25.25 0 0 1-.177-.073L9.823 3.513A1.75 1.75 0 0 0 8.586 3H3.75ZM3.75 9A1.75 1.75 0 0 0 2 10.75v4.5c0 .966.784 1.75 1.75 1.75h12.5A1.75 1.75 0 0 0 18 15.25v-4.5A1.75 1.75 0 0 0 16.25 9H3.75Z"})])}function Vc(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{d:"M16.364 3.636a.75.75 0 0 0-1.06 1.06 7.5 7.5 0 0 1 0 10.607.75.75 0 0 0 1.06 1.061 9 9 0 0 0 0-12.728ZM4.697 4.697a.75.75 0 0 0-1.061-1.061 9 9 0 0 0 0 12.728.75.75 0 1 0 1.06-1.06 7.5 7.5 0 0 1 0-10.607Z"}),T("path",{d:"M12.475 6.464a.75.75 0 0 1 1.06 0 5 5 0 0 1 0 7.072.75.75 0 0 1-1.06-1.061 3.5 3.5 0 0 0 0-4.95.75.75 0 0 1 0-1.06ZM7.525 6.464a.75.75 0 0 1 0 1.061 3.5 3.5 0 0 0 0 4.95.75.75 0 0 1-1.06 1.06 5 5 0 0 1 0-7.07.75.75 0 0 1 1.06 0ZM11 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})])}function Pv(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z","clip-rule":"evenodd"})])}function Fc(e,t){return Y(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[T("path",{"fill-rule":"evenodd",d:"M.676 6.941A12.964 12.964 0 0 1 10 3c3.657 0 6.963 1.511 9.324 3.941a.75.75 0 0 1-.008 1.053l-.353.354a.75.75 0 0 1-1.069-.008C15.894 6.28 13.097 5 10 5 6.903 5 4.106 6.28 2.106 8.34a.75.75 0 0 1-1.069.008l-.353-.354a.75.75 0 0 1-.008-1.053Zm2.825 2.833A8.976 8.976 0 0 1 10 7a8.976 8.976 0 0 1 6.499 2.774.75.75 0 0 1-.011 1.049l-.354.354a.75.75 0 0 1-1.072-.012A6.978 6.978 0 0 0 10 9c-1.99 0-3.786.83-5.061 2.165a.75.75 0 0 1-1.073.012l-.354-.354a.75.75 0 0 1-.01-1.05Zm2.82 2.84A4.989 4.989 0 0 1 10 11c1.456 0 2.767.623 3.68 1.614a.75.75 0 0 1-.022 1.039l-.354.354a.75.75 0 0 1-1.085-.026A2.99 2.99 0 0 0 10 13c-.88 0-1.67.377-2.22.981a.75.75 0 0 1-1.084.026l-.354-.354a.75.75 0 0 1-.021-1.039Zm2.795 2.752a1.248 1.248 0 0 1 1.768 0 .75.75 0 0 1 0 1.06l-.354.354a.75.75 0 0 1-1.06 0l-.354-.353a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}const at=(e,t)=>{const{o:n,i:s,u:o}=e;let r=n,i;const c=(u,f)=>{const p=r,g=u,v=f||(s?!s(p,g):p!==g);return(v||o)&&(r=g,i=p),[r,v,i]};return[t?u=>c(t(r,i),u):c,u=>[r,!!u,i]]},Nv=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,ct=Nv?window:{},Fo=Math.max,Mv=Math.min,yi=Math.round,fn=Math.abs,Bc=Math.sign,il=ct.cancelAnimationFrame,dr=ct.requestAnimationFrame,ll=ct.setTimeout,sf=ct.clearTimeout,pr=e=>typeof ct[e]<"u"?ct[e]:void 0,$v=pr("MutationObserver"),jc=pr("IntersectionObserver"),Fn=pr("ResizeObserver"),ks=pr("ScrollTimeline"),cl=e=>e===void 0,hr=e=>e===null,hn=e=>typeof e=="number",cs=e=>typeof e=="string",gr=e=>typeof e=="boolean",wt=e=>typeof e=="function",_t=e=>Array.isArray(e),Bo=e=>typeof e=="object"&&!_t(e)&&!hr(e),al=e=>{const t=!!e&&e.length,n=hn(t)&&t>-1&&t%1==0;return _t(e)||!wt(e)&&n?t>0&&Bo(e)?t-1 in e:!0:!1},Ws=e=>!!e&&e.constructor===Object,jo=e=>e instanceof HTMLElement,vr=e=>e instanceof Element,Uc=()=>performance.now(),Wr=(e,t,n,s,o)=>{let r=0;const i=Uc(),c=Fo(0,n),l=a=>{const u=Uc(),p=u-i>=c,g=a?1:1-(Fo(0,i+c-u)/c||0),v=(t-e)*(wt(o)?o(g,g*c,0,1,c):g)+e,w=p||g===1;s&&s(v,g,w),r=w?0:dr((()=>l()))};return l(),a=>{il(r),a&&l(a)}};function Te(e,t){if(al(e))for(let n=0;n<e.length&&t(e[n],n,e)!==!1;n++);else e&&Te(Object.keys(e),(n=>t(e[n],n,e)));return e}const of=(e,t)=>e.indexOf(t)>=0,ss=(e,t)=>e.concat(t),Me=(e,t,n)=>(!cs(t)&&al(t)?Array.prototype.push.apply(e,t):e.push(t),e),yn=e=>Array.from(e||[]),ul=e=>_t(e)?e:!cs(e)&&al(e)?yn(e):[e],Uo=e=>!!e&&!e.length,Wo=e=>yn(new Set(e)),pt=(e,t,n)=>{Te(e,o=>o?o.apply(void 0,t||[]):!0),n||(e.length=0)},rf="paddingTop",lf="paddingRight",cf="paddingLeft",af="paddingBottom",uf="marginLeft",ff="marginRight",df="marginBottom",fl="overflowX",dl="overflowY",mr="width",yr="height",Zt="visible",Ct="hidden",os="scroll",Lv=e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},br=(e,t,n,s)=>{if(e&&t){let o=!0;return Te(n,(r=>{const i=e[r],c=t[r];i!==c&&(o=!1)})),o}return!1},pf=(e,t)=>br(e,t,["w","h"]),So=(e,t)=>br(e,t,["x","y"]),Dv=(e,t)=>br(e,t,["t","r","b","l"]),he=(e,...t)=>e.bind(0,...t),kn=e=>{let t;const n=e?ll:dr,s=e?sf:il;return[o=>{s(t),t=n((()=>o()),wt(e)?e():e)},()=>s(t)]},Wc=e=>{const t=wt(e)?e():e;if(hn(t)){const n=t?ll:dr,s=t?sf:il;return o=>{const r=n((()=>o()),t);return()=>{s(r)}}}return t&&t._},hf=(e,t)=>{const{p:n,v:s,S:o,m:r}=t||{};let i,c,l,a;const u=function(w){c&&c(),i&&i(),a=c=i=l=void 0,e.apply(this,w)},f=v=>r&&l?r(l,v):v,p=()=>{c&&l&&u(f(l)||l)},g=function(){const w=yn(arguments),A=Wc(n);if(A){const S=typeof o=="function"?o():o,R=Wc(s),E=f(w)||w,k=u.bind(0,E);c&&c(),S&&!a?(k(),a=!0,c=A((()=>a=void 0))):(c=A(k),R&&!i&&(i=R(p))),l=E}else u(w)};return g.O=p,g},gf=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),it=e=>e?Object.keys(e):[],Ee=(e,t,n,s,o,r,i)=>{const c=[t,n,s,o,r,i];return(typeof e!="object"||hr(e))&&!wt(e)&&(e={}),Te(c,(l=>{Te(l,((a,u)=>{const f=l[u];if(e===f)return!0;const p=_t(f);if(f&&Ws(f)){const g=e[u];let v=g;p&&!_t(g)?v=[]:!p&&!Ws(g)&&(v={}),e[u]=Ee(v,f)}else e[u]=p?f.slice():f}))})),e},vf=(e,t)=>Te(Ee({},e),((n,s,o)=>{n===void 0?delete o[s]:n&&Ws(n)&&(o[s]=vf(n))})),pl=e=>!it(e).length,rs=()=>{},mf=(e,t,n)=>Fo(e,Mv(t,n)),In=e=>Wo((_t(e)?e:(e||"").split(" ")).filter((t=>t))),hl=(e,t)=>e&&e.getAttribute(t),Gc=(e,t)=>e&&e.hasAttribute(t),Gt=(e,t,n)=>{Te(In(t),(s=>{e&&e.setAttribute(s,String(n||""))}))},Rt=(e,t)=>{Te(In(t),(n=>e&&e.removeAttribute(n)))},_r=(e,t)=>{const n=In(hl(e,t)),s=he(Gt,e,t),o=(r,i)=>{const c=new Set(n);return Te(In(r),(l=>{c[i](l)})),yn(c).join(" ")};return{C:r=>s(o(r,"delete")),$:r=>s(o(r,"add")),H:r=>{const i=In(r);return i.reduce(((c,l)=>c&&n.includes(l)),i.length>0)}}},yf=(e,t,n)=>(_r(e,t).C(n),he(gl,e,t,n)),gl=(e,t,n)=>(_r(e,t).$(n),he(yf,e,t,n)),Go=(e,t,n,s)=>(s?gl:yf)(e,t,n),vl=(e,t,n)=>_r(e,t).H(n),bf=e=>_r(e,"class"),_f=(e,t)=>{bf(e).C(t)},ml=(e,t)=>(bf(e).$(t),he(_f,e,t)),wf=(e,t)=>{const n=t?vr(t)&&t:document;return n?yn(n.querySelectorAll(e)):[]},Hv=(e,t)=>{const n=t?vr(t)&&t:document;return n&&n.querySelector(e)},bi=(e,t)=>vr(e)&&e.matches(t),Sf=e=>bi(e,"body"),_i=e=>e?yn(e.childNodes):[],Gs=e=>e&&e.parentElement,Bn=(e,t)=>vr(e)&&e.closest(t),wi=e=>document.activeElement,Vv=(e,t,n)=>{const s=Bn(e,t),o=e&&Hv(n,s),r=Bn(o,t)===s;return s&&o?s===e||o===e||r&&Bn(Bn(e,n),t)!==s:!1},is=e=>{Te(ul(e),(t=>{const n=Gs(t);t&&n&&n.removeChild(t)}))},lt=(e,t)=>he(is,e&&t&&Te(ul(t),(n=>{n&&e.appendChild(n)})));let xf;const Fv=()=>xf,Bv=e=>{xf=e},zn=e=>{const t=document.createElement("div");return Gt(t,"class",e),t},Cf=e=>{const t=zn(),n=Fv(),s=e.trim();return t.innerHTML=n?n.createHTML(s):s,Te(_i(t),(o=>is(o)))},Kc=(e,t)=>e.getPropertyValue(t)||e[t]||"",Ef=e=>{const t=e||0;return isFinite(t)?t:0},po=e=>Ef(parseFloat(e||"")),Si=e=>Math.round(e*1e4)/1e4,Af=e=>`${Si(Ef(e))}px`;function Ks(e,t){e&&t&&Te(t,((n,s)=>{try{const o=e.style,r=hr(n)||gr(n)?"":hn(n)?Af(n):n;s.indexOf("--")===0?o.setProperty(s,r):o[s]=r}catch{}}))}function Ht(e,t,n){const s=cs(t);let o=s?"":{};if(e){const r=ct.getComputedStyle(e,n)||e.style;o=s?Kc(r,t):yn(t).reduce(((i,c)=>(i[c]=Kc(r,c),i)),o)}return o}const qc=(e,t,n)=>{const s=t?`${t}-`:"",o=n?`-${n}`:"",r=`${s}top${o}`,i=`${s}right${o}`,c=`${s}bottom${o}`,l=`${s}left${o}`,a=Ht(e,[r,i,c,l]);return{t:po(a[r]),r:po(a[i]),b:po(a[c]),l:po(a[l])}},Gr=(e,t)=>`translate${Bo(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`}`,jv=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),Uv={w:0,h:0},wr=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:Uv,Wv=e=>wr("inner",e||ct),Yn=he(wr,"offset"),kf=he(wr,"client"),Ko=he(wr,"scroll"),yl=e=>{const t=parseFloat(Ht(e,mr))||0,n=parseFloat(Ht(e,yr))||0;return{w:t-yi(t),h:n-yi(n)}},Kr=e=>e.getBoundingClientRect(),Gv=e=>!!e&&jv(e),xi=e=>!!(e&&(e[yr]||e[mr])),Of=(e,t)=>{const n=xi(e);return!xi(t)&&n},zc=(e,t,n,s)=>{Te(In(t),(o=>{e&&e.removeEventListener(o,n,s)}))},Pe=(e,t,n,s)=>{var o;const r=(o=s&&s.I)!=null?o:!0,i=s&&s.A||!1,c=s&&s.T||!1,l={passive:r,capture:i};return he(pt,In(t).map((a=>{const u=c?f=>{zc(e,a,u,i),n&&n(f)}:n;return e&&e.addEventListener(a,u,l),he(zc,e,a,u,i)})))},Tf=e=>e.stopPropagation(),Ci=e=>e.preventDefault(),Rf=e=>Tf(e)||Ci(e),$t=(e,t)=>{const{x:n,y:s}=hn(t)?{x:t,y:t}:t||{};hn(n)&&(e.scrollLeft=n),hn(s)&&(e.scrollTop=s)},ut=e=>({x:e.scrollLeft,y:e.scrollTop}),If=()=>({D:{x:0,y:0},M:{x:0,y:0}}),Kv=(e,t)=>{const{D:n,M:s}=e,{w:o,h:r}=t,i=(f,p,g)=>{let v=Bc(f)*g,w=Bc(p)*g;if(v===w){const A=fn(f),S=fn(p);w=A>S?0:w,v=A<S?0:v}return v=v===w?0:v,[v+0,w+0]},[c,l]=i(n.x,s.x,o),[a,u]=i(n.y,s.y,r);return{D:{x:c,y:a},M:{x:l,y:u}}},qr=({D:e,M:t})=>{const n=(s,o)=>s===0&&s<=o;return{x:n(e.x,t.x),y:n(e.y,t.y)}},Yc=({D:e,M:t},n)=>{const s=(o,r,i)=>mf(0,1,(o-i)/(o-r)||0);return{x:s(e.x,t.x,n.x),y:s(e.y,t.y,n.y)}},Ei=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},Zc=(e,t)=>{Te(ul(t),e)},Ai=e=>{const t=new Map,n=(r,i)=>{if(r){const c=t.get(r);Zc((l=>{c&&c[l?"delete":"clear"](l)}),i)}else t.forEach((c=>{c.clear()})),t.clear()},s=(r,i)=>{if(cs(r)){const a=t.get(r)||new Set;return t.set(r,a),Zc((u=>{wt(u)&&a.add(u)}),i),he(n,r,i)}gr(i)&&i&&n();const c=it(r),l=[];return Te(c,(a=>{const u=r[a];u&&Me(l,s(a,u))})),he(pt,l)},o=(r,i)=>{Te(yn(t.get(r)),(c=>{i&&!Uo(i)?c.apply(0,i):c()}))};return s(e||{}),[s,n,o]},Pf={},Nf={},qv=e=>{Te(e,(t=>Te(t,((n,s)=>{Pf[s]=t[s]}))))},Mf=(e,t,n)=>it(e).map((s=>{const{static:o,instance:r}=e[s],[i,c,l]=n||[],a=n?r:o;if(a){const u=n?a(i,c,t):a(t);return(l||Nf)[s]=u}})),as=e=>Nf[e],zv="__osOptionsValidationPlugin",us="data-overlayscrollbars",xo="os-environment",ho=`${xo}-scrollbar-hidden`,zr=`${us}-initialize`,Co="noClipping",Jc=`${us}-body`,gn=us,Yv="host",Kt=`${us}-viewport`,Zv=fl,Jv=dl,Qv="arrange",$f="measuring",Xv="scrolling",Lf="scrollbarHidden",em="noContent",ki=`${us}-padding`,Qc=`${us}-content`,bl="os-size-observer",tm=`${bl}-appear`,nm=`${bl}-listener`,sm="os-trinsic-observer",om="os-theme-none",gt="os-scrollbar",rm=`${gt}-rtl`,im=`${gt}-horizontal`,lm=`${gt}-vertical`,Df=`${gt}-track`,_l=`${gt}-handle`,cm=`${gt}-visible`,am=`${gt}-cornerless`,Xc=`${gt}-interaction`,ea=`${gt}-unusable`,Oi=`${gt}-auto-hide`,ta=`${Oi}-hidden`,na=`${gt}-wheel`,um=`${Df}-interactive`,fm=`${_l}-interactive`,dm="__osSizeObserverPlugin",pm=(e,t)=>{const{k:n}=t,[s,o]=e("showNativeOverlaidScrollbars");return[s&&n.x&&n.y,o]},jn=e=>e.indexOf(Zt)===0,hm=e=>e.replace(`${Zt}-`,""),Ti=(e,t)=>{if(e==="auto")return t?os:Ct;const n=e||Ct;return[Ct,os,Zt].includes(n)?n:Ct},gm=(e,t)=>{const{overflowX:n,overflowY:s}=Ht(e,[fl,dl]);return{x:Ti(n,t.x),y:Ti(s,t.y)}},wl="__osScrollbarsHidingPlugin",Hf="__osClickScrollPlugin",vm={[Hf]:{static:()=>(e,t,n,s)=>{let o=!1,r=rs;const i=133,c=222,[l,a]=kn(i),u=Math.sign(t),f=n*u,p=f/2,g=S=>1-(1-S)*(1-S),v=(S,R)=>Wr(S,R,c,e,g),w=(S,R)=>Wr(S,t-f,i*R,((H,E,k)=>{e(H),k&&(r=v(H,t))})),A=Wr(0,f,c,((S,R,H)=>{if(e(S),H&&(s(o),!o)){const E=t-S;Math.sign(E-p)===u&&l((()=>{const B=E-f;r=Math.sign(B)===u?w(S,Math.abs(B)/n):v(S,t)}))}}),g);return S=>{o=!0,S&&A(),a(),r()}}}},sa=e=>JSON.stringify(e,((t,n)=>{if(wt(n))throw 0;return n})),oa=(e,t)=>e?`${t}`.split(".").reduce(((n,s)=>n&&gf(n,s)?n[s]:void 0),e):void 0,mm=[0,33],Vf=[33,99],Ff=[222,666,!0],ym={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:mm,resize:null,event:Vf,env:Ff},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Bf=(e,t)=>{const n={},s=ss(it(t),it(e));return Te(s,(o=>{const r=e[o],i=t[o];if(Bo(r)&&Bo(i))Ee(n[o]={},Bf(r,i)),pl(n[o])&&delete n[o];else if(gf(t,o)&&i!==r){let c=!0;if(_t(r)||_t(i))try{sa(r)===sa(i)&&(c=!1)}catch{}c&&(n[o]=i)}})),n},ra=(e,t,n)=>s=>[oa(e,s),n||oa(t,s)!==void 0];let jf;const bm=()=>jf,_m=e=>{jf=e};let Yr;const wm=()=>{const e=(E,k,B)=>{lt(document.body,E),lt(document.body,E);const P=kf(E),b=Yn(E),x=yl(k);return B&&is(E),{x:b.h-P.h+x.h,y:b.w-P.w+x.w}},t=E=>{let k=!1;const B=ml(E,ho);try{k=Ht(E,"scrollbar-width")==="none"||Ht(E,"display","::-webkit-scrollbar")==="none"}catch{}return B(),k},n=`.${xo}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${xo} div{width:200%;height:200%;margin:10px 0}.${ho}{scrollbar-width:none!important}.${ho}::-webkit-scrollbar,.${ho}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,o=Cf(`<div class="${xo}"><div></div><style>${n}</style></div>`)[0],r=o.firstChild,i=o.lastChild,c=bm();c&&(i.nonce=c);const[l,,a]=Ai(),[u,f]=at({o:e(o,r),i:So},he(e,o,r,!0)),[p]=f(),g=t(o),v={x:p.x===0,y:p.y===0},w={elements:{host:null,padding:!g,viewport:E=>g&&Sf(E)&&E,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},A=Ee({},ym),S=he(Ee,{},A),R=he(Ee,{},w),H={P:p,k:v,U:g,J:!!ks,G:he(l,"r"),K:R,Z:E=>Ee(w,E)&&R(),tt:S,nt:E=>Ee(A,E)&&S(),ot:Ee({},w),st:Ee({},A)};if(Rt(o,"style"),is(o),Pe(ct,"resize",(()=>{a("r",[])})),wt(ct.matchMedia)&&!g&&(!v.x||!v.y)){const E=k=>{const B=ct.matchMedia(`(resolution: ${ct.devicePixelRatio}dppx)`);Pe(B,"change",(()=>{k(),E(k)}),{T:!0})};E((()=>{const[k,B]=u();Ee(H.P,k),a("r",[B])}))}return H},Vt=()=>(Yr||(Yr=wm()),Yr),Sm=(e,t,n)=>{let s=!1;const o=n?new WeakMap:!1,r=()=>{s=!0},i=c=>{if(o&&n){const l=n.map((a=>{const[u,f]=a||[];return[f&&u?(c||wf)(u,e):[],f]}));Te(l,(a=>Te(a[0],(u=>{const f=a[1],p=o.get(u)||[];if(e.contains(u)&&f){const v=Pe(u,f,(w=>{s?(v(),o.delete(u)):t(w)}));o.set(u,Me(p,v))}else pt(p),o.delete(u)}))))}};return i(),[r,i]},ia=(e,t,n,s)=>{let o=!1;const{et:r,ct:i,rt:c,it:l,lt:a,ut:u}=s||{},[f,p]=Sm(e,(()=>o&&n(!0)),c),g=r||[],v=i||[],w=ss(g,v),A=(R,H)=>{if(!Uo(H)){const E=a||rs,k=u||rs,B=[],P=[];let b=!1,x=!1;if(Te(H,(N=>{const{attributeName:O,target:$,type:X,oldValue:ee,addedNodes:ae,removedNodes:te}=N,Z=X==="attributes",ce=X==="childList",de=e===$,ge=Z&&O,oe=ge&&hl($,O||""),re=cs(oe)?oe:null,J=ge&&ee!==re,q=of(v,O)&&J;if(t&&(ce||!de)){const Q=Z&&J,ue=Q&&l&&bi($,l),D=(ue?!E($,O,ee,re):!Z||Q)&&!k(N,!!ue,e,s);Te(ae,(j=>Me(B,j))),Te(te,(j=>Me(B,j))),x=x||D}!t&&de&&J&&!E($,O,ee,re)&&(Me(P,O),b=b||q)})),p((N=>Wo(B).reduce(((O,$)=>(Me(O,wf(N,$)),bi($,N)?Me(O,$):O)),[]))),t)return!R&&x&&n(!1),[!1];if(!Uo(P)||b){const N=[Wo(P),b];return R||n.apply(0,N),N}}},S=new $v(he(A,!1));return[()=>(S.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:w,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(f(),S.disconnect(),o=!1)}),()=>{if(o)return A(!0,S.takeRecords())}]};let wn=null;const Uf=(e,t,n)=>{const{ft:s}=n||{},o=as(dm),[r]=at({o:!1,u:!0});return()=>{const i=[],l=Cf(`<div class="${bl}"><div class="${nm}"></div></div>`)[0],a=l.firstChild,u=f=>{const p=_t(f)&&!Uo(f);let g=!1,v=!1;if(p){const w=f[0],[A,,S]=r(w.contentRect),R=xi(A);v=Of(A,S),g=!v&&!R}else v=f===!0;g||t({_t:!0,ft:v})};if(Fn){if(!gr(wn)){const v=new Fn(rs);v.observe(e,{get box(){wn=!0}}),wn=wn||!1,v.disconnect()}const f=hf(u,{p:0,v:0}),p=v=>f(v),g=new Fn(p);if(g.observe(wn?e:a),Me(i,[()=>{g.disconnect()},!wn&<(e,l)]),wn){const v=new Fn(p);v.observe(e,{box:"border-box"}),Me(i,(()=>v.disconnect()))}}else if(o){const[f,p]=o(a,u,s);Me(i,ss([ml(l,tm),Pe(l,"animationstart",f),lt(e,l)],p))}else return rs;return he(pt,i)}},xm=(e,t)=>{let n;const s=l=>l.h===0||l.isIntersecting||l.intersectionRatio>0,o=zn(sm),[r]=at({o:!1}),i=(l,a)=>{if(l){const u=r(s(l)),[,f]=u;return f&&!a&&t(u)&&[u]}},c=(l,a)=>i(a.pop(),l);return[()=>{const l=[];if(jc)n=new jc(he(c,!1),{root:e}),n.observe(o),Me(l,(()=>{n.disconnect()}));else{const a=()=>{const u=Yn(o);i(u)};Me(l,Uf(o,a)()),a()}return he(pt,Me(l,lt(e,o)))},()=>n&&c(!0,n.takeRecords())]},Cm=(e,t,n,s)=>{let o,r,i,c,l,a,u,f;const p=`[${gn}]`,g=`[${Kt}]`,v=["id","class","style","open","wrap","cols","rows"],{dt:w,vt:A,L:S,gt:R,ht:H,V:E,bt:k,wt:B,yt:P,St:b}=e,x=_=>Ht(_,"direction")==="rtl",N=()=>{let _,D,j;const U=hf(s,{p:()=>_,v:()=>D,S:()=>j,m(d,h){const[m]=d,[I]=h;return[ss(it(m),it(I)).reduce(((M,L)=>(M[L]=m[L]||I[L],M)),{})]}}),ne=(d,h)=>{if(_t(h)){const[m,I,M]=h;_=m,D=I,j=M}else hn(h)?(_=h,D=!1,j=!1):(_=!1,D=!1,j=!1);U(d)};return ne.O=U.O,ne},O={Ot:!1,B:x(w)},$=Vt(),X=as(wl),[ee]=at({i:pf,o:{w:0,h:0}},(()=>{const _=X&&X.R(e,t,O,$,n).Y,j=!(k&&E)&&vl(A,gn,Co),U=!E&&B(Qv),ne=U&&ut(R),d=ne&&b(),h=P($f,j),m=U&&_&&_(),I=Ko(S),M=yl(S);return m&&m(),$t(R,ne),d&&d(),j&&h(),{w:I.w+M.w,h:I.h+M.h}})),ae=N(),te=_=>{const D=x(w);Ee(_,{Ct:f!==D}),Ee(O,{B:D}),f=D},Z=(_,D)=>{const[j,U]=_,ne={$t:U};return Ee(O,{Ot:j}),D||s(ne),ne},ce=({_t:_,ft:D})=>{const j=D?s:ae,U={_t:_||D,ft:D};te(U),j(U,r)},de=(_,D)=>{const[,j]=ee(),U={xt:j};return te(U),j&&!D&&ae(U,_?i:o),U},ge=(_,D,j)=>{const U={Ht:D};return te(U),D&&!j&&ae(U,o),U},[oe,re]=H?xm(A,Z):[],J=!E&&Uf(A,ce,{ft:!0}),[q,Q]=ia(A,!1,ge,{ct:v,et:v}),ue=E&&Fn&&new Fn((_=>{const D=_[_.length-1].contentRect;ce({_t:!0,ft:Of(D,u)}),u=D}));return[()=>{ue&&ue.observe(A);const _=J&&J(),D=oe&&oe(),j=q(),U=$.G((ne=>{const[,d]=ee();ae({Et:ne,xt:d,_t:k},c)}));return()=>{ue&&ue.disconnect(),_&&_(),D&&D(),a&&a(),j(),U()}},({zt:_,It:D,At:j})=>{const U={},[ne]=_("update.ignoreMutation"),[d,h]=_("update.attributes"),[m,I]=_("update.elementEvents"),[M,L]=_("update.debounce"),K=I||h,G=D||j,W=F=>wt(ne)&&ne(F);if(K){l&&l(),a&&a();const[F,C]=ia(H||S,!0,de,{et:ss(v,d||[]),rt:m,it:p,ut:(y,z)=>{const{target:ie,attributeName:pe}=y;return(!z&&pe&&!E?Vv(ie,p,g):!1)||!!Bn(ie,`.${gt}`)||!!W(y)}});a=F(),l=C}if(L&&(ae.O(),_t(M)||hn(M)?(o=M,r=!1,i=Vf,c=Ff):Ws(M)?(o=M.mutation,r=M.resize,i=M.event,c=M.env):(o=!1,r=!1,i=!1,c=!1)),G){const F=Q(),C=re&&re(),y=l&&l();F&&Ee(U,ge(F[0],F[1],G)),C&&Ee(U,Z(C[0],G)),y&&Ee(U,de(y[0],G))}return te(U),U},O]},Wf=(e,t)=>wt(t)?t.apply(0,e):t,Em=(e,t,n,s)=>{const o=cl(s)?n:s;return Wf(e,o)||t.apply(0,e)},Gf=(e,t,n,s)=>{const o=cl(s)?n:s,r=Wf(e,o);return!!r&&(jo(r)?r:t.apply(0,e))},Am=(e,t)=>{const{nativeScrollbarsOverlaid:n,body:s}=t||{},{k:o,U:r,K:i}=Vt(),{nativeScrollbarsOverlaid:c,body:l}=i().cancel,a=n??c,u=cl(s)?l:s,f=(o.x||o.y)&&a,p=e&&(hr(u)?!r:u);return!!f||!!p},km=(e,t,n,s)=>{const o="--os-viewport-percent",r="--os-scroll-percent",i="--os-scroll-direction",{K:c}=Vt(),{scrollbars:l}=c(),{slot:a}=l,{dt:u,vt:f,L:p,Tt:g,gt:v,bt:w,V:A}=t,{scrollbars:S}=g?{}:e,{slot:R}=S||{},H=[],E=[],k=[],B=Gf([u,f,p],(()=>A&&w?u:f),a,R),P=oe=>{if(ks){let re=null,J=[];const q=new ks({source:v,axis:oe}),Q=()=>{re&&re.cancel(),re=null};return{kt:_=>{const{Dt:D}=n,j=qr(D)[oe],U=oe==="x",ne=[Gr(0,U),Gr(`calc(-100% + 100cq${U?"w":"h"})`,U)],d=j?ne:ne.reverse();return J[0]===d[0]&&J[1]===d[1]||(J=d,Q(),re=_.Mt.animate({clear:["left"],transform:d},{timeline:q})),Q}}}},b={x:P("x"),y:P("y")},x=()=>{const{Rt:oe,Vt:re}=n,J=(q,Q)=>mf(0,1,q/(q+Q)||0);return{x:J(re.x,oe.x),y:J(re.y,oe.y)}},N=(oe,re,J)=>{const q=J?ml:_f;Te(oe,(Q=>{q(Q.Lt,re)}))},O=(oe,re)=>{Te(oe,(J=>{const[q,Q]=re(J);Ks(q,Q)}))},$=(oe,re,J)=>{const q=gr(J),Q=q?J:!0,ue=q?!J:!0;Q&&N(E,oe,re),ue&&N(k,oe,re)},X=()=>{const oe=x(),re=J=>q=>[q.Lt,{[o]:Si(J)+""}];O(E,re(oe.x)),O(k,re(oe.y))},ee=()=>{if(!ks){const{Dt:oe}=n,re=Yc(oe,ut(v)),J=q=>Q=>[Q.Lt,{[r]:Si(q)+""}];O(E,J(re.x)),O(k,J(re.y))}},ae=()=>{const{Dt:oe}=n,re=qr(oe),J=q=>Q=>[Q.Lt,{[i]:q?"0":"1"}];O(E,J(re.x)),O(k,J(re.y)),ks&&(E.forEach(b.x.kt),k.forEach(b.y.kt))},te=()=>{if(A&&!w){const{Rt:oe,Dt:re}=n,J=qr(re),q=Yc(re,ut(v)),Q=ue=>{const{Lt:_}=ue,D=Gs(_)===p&&_,j=(U,ne,d)=>{const h=ne*U;return Af(d?h:-h)};return[D,D&&{transform:Gr({x:j(q.x,oe.x,J.x),y:j(q.y,oe.y,J.y)})}]};O(E,Q),O(k,Q)}},Z=oe=>{const re=oe?"x":"y",q=zn(`${gt} ${oe?im:lm}`),Q=zn(Df),ue=zn(_l),_={Lt:q,Ut:Q,Mt:ue},D=b[re];return Me(oe?E:k,_),Me(H,[lt(q,Q),lt(Q,ue),he(is,q),D&&D.kt(_),s(_,$,oe)]),_},ce=he(Z,!0),de=he(Z,!1),ge=()=>(lt(B,E[0].Lt),lt(B,k[0].Lt),he(pt,H));return ce(),de(),[{Pt:X,Nt:ee,qt:ae,Bt:te,Ft:$,jt:{Xt:E,Yt:ce,Wt:he(O,E)},Jt:{Xt:k,Yt:de,Wt:he(O,k)}},ge]},Om=(e,t,n,s)=>(o,r,i)=>{const{vt:c,L:l,V:a,gt:u,Gt:f,St:p}=t,{Lt:g,Ut:v,Mt:w}=o,[A,S]=kn(333),[R,H]=kn(444),E=P=>{wt(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:P.x,top:P.y})},k=()=>{const P="pointerup pointercancel lostpointercapture",b=`client${i?"X":"Y"}`,x=i?mr:yr,N=i?"left":"top",O=i?"w":"h",$=i?"x":"y",X=(ae,te)=>Z=>{const{Rt:ce}=n,de=Yn(v)[O]-Yn(w)[O],oe=te*Z/de*ce[$];$t(u,{[$]:ae+oe})},ee=[];return Pe(v,"pointerdown",(ae=>{const te=Bn(ae.target,`.${_l}`)===w,Z=te?w:v,ce=e.scrollbars,de=ce[te?"dragScroll":"clickScroll"],{button:ge,isPrimary:oe,pointerType:re}=ae,{pointers:J}=ce;if(ge===0&&oe&&de&&(J||[]).includes(re)){pt(ee),H();const Q=!te&&(ae.shiftKey||de==="instant"),ue=he(Kr,w),_=he(Kr,v),D=(C,y)=>(C||ue())[N]-(y||_())[N],j=yi(Kr(u)[x])/Yn(u)[O]||1,U=X(ut(u)[$],1/j),ne=ae[b],d=ue(),h=_(),m=d[x],I=D(d,h)+m/2,M=ne-h[N],L=te?0:M-I,K=C=>{pt(F),Z.releasePointerCapture(C.pointerId)},G=te||Q,W=p(),F=[Pe(f,P,K),Pe(f,"selectstart",(C=>Ci(C)),{I:!1}),Pe(v,P,K),G&&Pe(v,"pointermove",(C=>U(L+(C[b]-ne)))),G&&(()=>{const C=ut(u);W();const y=ut(u),z={x:y.x-C.x,y:y.y-C.y};(fn(z.x)>3||fn(z.y)>3)&&(p(),$t(u,C),E(z),R(W))})];if(Z.setPointerCapture(ae.pointerId),Q)U(L);else if(!te){const C=as(Hf);if(C){const y=C(U,L,m,(z=>{z?W():Me(F,W)}));Me(F,y),Me(ee,he(y,!0))}}}}))};let B=!0;return he(pt,[Pe(w,"pointermove pointerleave",s),Pe(g,"pointerenter",(()=>{r(Xc,!0)})),Pe(g,"pointerleave pointercancel",(()=>{r(Xc,!1)})),!a&&Pe(g,"mousedown",(()=>{const P=wi();(Gc(P,Kt)||Gc(P,gn)||P===document.body)&&ll(he(Ei,l),25)})),Pe(g,"wheel",(P=>{const{deltaX:b,deltaY:x,deltaMode:N}=P;B&&N===0&&Gs(g)===c&&E({x:b,y:x}),B=!1,r(na,!0),A((()=>{B=!0,r(na)})),Ci(P)}),{I:!1,A:!0}),Pe(g,"pointerdown",(()=>{const P=Pe(f,"click",(x=>{b(),Rf(x)}),{T:!0,A:!0,I:!1}),b=Pe(f,"pointerup pointercancel",(()=>{b(),setTimeout(P,150)}),{A:!0,I:!0})}),{A:!0,I:!0}),k(),S,H])},Tm=(e,t,n,s,o,r)=>{let i,c,l,a,u,f=rs,p=0;const g=["mouse","pen"],v=J=>g.includes(J.pointerType),[w,A]=kn(),[S,R]=kn(100),[H,E]=kn(100),[k,B]=kn((()=>p)),[P,b]=km(e,o,s,Om(t,o,s,(J=>v(J)&&ce()))),{vt:x,Kt:N,bt:O}=o,{Ft:$,Pt:X,Nt:ee,qt:ae,Bt:te}=P,Z=(J,q)=>{if(B(),J)$(ta);else{const Q=he($,ta,!0);p>0&&!q?k(Q):Q()}},ce=()=>{(l?!i:!a)&&(Z(!0),S((()=>{Z(!1)})))},de=J=>{$(Oi,J,!0),$(Oi,J,!1)},ge=J=>{v(J)&&(i=l,l&&Z(!0))},oe=[B,R,E,A,()=>f(),Pe(x,"pointerover",ge,{T:!0}),Pe(x,"pointerenter",ge),Pe(x,"pointerleave",(J=>{v(J)&&(i=!1,l&&Z(!1))})),Pe(x,"pointermove",(J=>{v(J)&&c&&ce()})),Pe(N,"scroll",(J=>{w((()=>{ee(),ce()})),r(J),te()}))],re=as(wl);return[()=>he(pt,Me(oe,b())),({zt:J,At:q,Qt:Q,Zt:ue})=>{const{tn:_,nn:D,sn:j,en:U}=ue||{},{Ct:ne,ft:d}=Q||{},{B:h}=n,{k:m,U:I}=Vt(),{cn:M,j:L}=s,[K,G]=J("showNativeOverlaidScrollbars"),[W,F]=J("scrollbars.theme"),[C,y]=J("scrollbars.visibility"),[z,ie]=J("scrollbars.autoHide"),[pe,xe]=J("scrollbars.autoHideSuspend"),[we]=J("scrollbars.autoHideDelay"),[Ve,Fe]=J("scrollbars.dragScroll"),[Xe,We]=J("scrollbars.clickScroll"),[vt,Pn]=J("overflow"),Ge=d&&!q,ot=L.x||L.y,Nn=_||D||U||ne||q,rt=j||y||Pn,Sr=K&&m.x&&m.y,fs=!I&&!re,xr=Sr||fs,Mn=(ds,ps,Xs)=>{const eo=ds.includes(os)&&(C===Zt||C==="auto"&&ps===os);return $(cm,eo,Xs),eo};if(p=we,Ge&&(pe&&ot?(de(!1),f(),H((()=>{f=Pe(N,"scroll",he(de,!0),{T:!0})}))):de(!0)),(G||fs)&&$(om,xr),F&&($(u),$(W,!0),u=W),xe&&!pe&&de(!0),ie&&(c=z==="move",l=z==="leave",a=z==="never",Z(a,!0)),Fe&&$(fm,Ve),We&&$(um,!!Xe),rt){const ds=Mn(vt.x,M.x,!0),ps=Mn(vt.y,M.y,!1);$(am,!(ds&&ps))}Nn&&(ee(),X(),te(),U&&ae(),$(ea,!L.x,!0),$(ea,!L.y,!1),$(rm,h&&!O))},{},P]},Rm=e=>{const t=Vt(),{K:n,U:s}=t,{elements:o}=n(),{padding:r,viewport:i,content:c}=o,l=jo(e),a=l?{}:e,{elements:u}=a,{padding:f,viewport:p,content:g}=u||{},v=l?e:a.target,w=Sf(v),A=v.ownerDocument,S=A.documentElement,R=()=>A.defaultView||ct,H=he(Em,[v]),E=he(Gf,[v]),k=he(zn,""),B=he(H,k,i),P=he(E,k,c),b=m=>{const I=Yn(m),M=Ko(m),L=Ht(m,fl),K=Ht(m,dl);return M.w-I.w>0&&!jn(L)||M.h-I.h>0&&!jn(K)},x=B(p),N=x===v,O=N&&w,$=!N&&P(g),X=!N&&x===$,ee=O?S:x,ae=O?ee:v,te=!N&&E(k,r,f),Z=!X&&$,ce=[Z,ee,te,ae].map((m=>jo(m)&&!Gs(m)&&m)),de=m=>m&&of(ce,m),ge=!de(ee)&&b(ee)?ee:v,oe=O?S:ee,J={dt:v,vt:ae,L:ee,rn:te,ht:Z,gt:oe,Kt:O?A:ee,ln:w?S:ge,Gt:A,bt:w,Tt:l,V:N,an:R,wt:m=>vl(ee,Kt,m),yt:(m,I)=>Go(ee,Kt,m,I),St:()=>Go(oe,Kt,Xv,!0)},{dt:q,vt:Q,rn:ue,L:_,ht:D}=J,j=[()=>{Rt(Q,[gn,zr]),Rt(q,zr),w&&Rt(S,[zr,gn])}];let U=_i([D,_,ue,Q,q].find((m=>m&&!de(m))));const ne=O?q:D||_,d=he(pt,j);return[J,()=>{const m=R(),I=wi(),M=F=>{lt(Gs(F),_i(F)),is(F)},L=F=>Pe(F,"focusin focusout focus blur",Rf,{A:!0,I:!1}),K="tabindex",G=hl(_,K),W=L(I);return Gt(Q,gn,N?"":Yv),Gt(ue,ki,""),Gt(_,Kt,""),Gt(D,Qc,""),N||(Gt(_,K,G||"-1"),w&&Gt(S,Jc,"")),lt(ne,U),lt(Q,ue),lt(ue||Q,!N&&_),lt(_,D),Me(j,[W,()=>{const F=wi(),C=de(_),y=C&&F===_?q:F,z=L(y);Rt(ue,ki),Rt(D,Qc),Rt(_,Kt),w&&Rt(S,Jc),G?Gt(_,K,G):Rt(_,K),de(D)&&M(D),C&&M(_),de(ue)&&M(ue),Ei(y),z()}]),s&&!N&&(gl(_,Kt,Lf),Me(j,he(Rt,_,Kt))),Ei(!N&&w&&I===q&&m.top===m?_:I),W(),U=0,d},d]},Im=({ht:e})=>({Qt:t,un:n,At:s})=>{const{$t:o}=t||{},{Ot:r}=n;e&&(o||s)&&Ks(e,{[yr]:r&&"100%"})},Pm=({vt:e,rn:t,L:n,V:s},o)=>{const[r,i]=at({i:Dv,o:qc()},he(qc,e,"padding",""));return({zt:c,Qt:l,un:a,At:u})=>{let[f,p]=i(u);const{U:g}=Vt(),{_t:v,xt:w,Ct:A}=l||{},{B:S}=a,[R,H]=c("paddingAbsolute");(v||p||(u||w))&&([f,p]=r(u));const k=!s&&(H||A||p);if(k){const B=!R||!t&&!g,P=f.r+f.l,b=f.t+f.b,x={[ff]:B&&!S?-P:0,[df]:B?-b:0,[uf]:B&&S?-P:0,top:B?-f.t:0,right:B?S?-f.r:"auto":0,left:B?S?"auto":-f.l:0,[mr]:B&&`calc(100% + ${P}px)`},N={[rf]:B?f.t:0,[lf]:B?f.r:0,[af]:B?f.b:0,[cf]:B?f.l:0};Ks(t||n,x),Ks(n,N),Ee(o,{rn:f,fn:!B,F:t?N:Ee({},x,N)})}return{_n:k}}},Nm=(e,t)=>{const n=Vt(),{vt:s,rn:o,L:r,V:i,Kt:c,gt:l,bt:a,yt:u,an:f}=e,{U:p}=n,g=a&&i,v=he(Fo,0),w={display:()=>!1,direction:q=>q!=="ltr",flexDirection:q=>q.endsWith("-reverse"),writingMode:q=>q!=="horizontal-tb"},A=it(w),S={i:pf,o:{w:0,h:0}},R={i:So,o:{}},H=q=>{u($f,!g&&q)},E=()=>Ht(r,A),k=(q,Q)=>{const ue=!it(q).length,_=!Q&&A.some((G=>{const W=q[G];return cs(W)&&w[G](W)}));if(ue&&!_||!Gv(r))return{D:{x:0,y:0},M:{x:1,y:1}};H(!0);const j=ut(l),U=Pe(c,os,(G=>{const W=ut(l);G.isTrusted&&W.x===j.x&&W.y===j.y&&Tf(G)}),{A:!0,T:!0}),ne=u(em,!0);$t(l,{x:0,y:0}),ne();const d=ut(l),h=Ko(l);$t(l,{x:h.w,y:h.h});const m=ut(l),I={x:m.x-d.x,y:m.y-d.y};$t(l,{x:-h.w,y:-h.h});const M=ut(l),L={x:M.x-d.x,y:M.y-d.y},K={x:fn(I.x)>=fn(L.x)?m.x:M.x,y:fn(I.y)>=fn(L.y)?m.y:M.y};return $t(l,j),dr((()=>U())),{D:d,M:K}},B=(q,Q)=>{const ue=ct.devicePixelRatio%1!==0?1:0,_={w:v(q.w-Q.w),h:v(q.h-Q.h)};return{w:_.w>ue?_.w:0,h:_.h>ue?_.h:0}},P=(q,Q)=>{const ue=(_,D,j,U)=>{const ne=_===Zt?Ct:hm(_),d=jn(_),h=jn(j);return!D&&!U?Ct:d&&h?Zt:d?D&&U?ne:D?Zt:Ct:D?ne:h&&U?Zt:Ct};return{x:ue(Q.x,q.x,Q.y,q.y),y:ue(Q.y,q.y,Q.x,q.x)}},b=q=>{const Q=_=>[Zt,Ct,os].map((D=>J(Ti(D),_))),ue=Q(!0).concat(Q()).join(" ");u(ue),u(it(q).map((_=>J(q[_],_==="x"))).join(" "),!0)},[x,N]=at(S,he(yl,r)),[O,$]=at(S,he(Ko,r)),[X,ee]=at(S),[ae]=at(R),[te,Z]=at(S),[ce]=at(R),[de]=at({i:(q,Q)=>br(q,Q,Wo(ss(it(q),it(Q)))),o:{}}),[ge,oe]=at({i:(q,Q)=>So(q.D,Q.D)&&So(q.M,Q.M),o:If()}),re=as(wl),J=(q,Q)=>`${Q?Zv:Jv}${Lv(q)}`;return({zt:q,Qt:Q,un:ue,At:_},{_n:D})=>{const{_t:j,Ht:U,xt:ne,Ct:d,ft:h,Et:m}=Q||{},I=re&&re.R(e,t,ue,n,q),{X:M,Y:L,W:K}=I||{},[G,W]=pm(q,n),[F,C]=q("overflow"),y=jn(F.x),z=jn(F.y),ie=j||D||ne||d||m||W;let pe=N(_),xe=$(_),we=ee(_),Ve=Z(_);if(W&&p&&u(Lf,!G),ie){vl(s,gn,Co)&&H(!0);const Cl=L&&L(),[to]=pe=x(_),[no]=xe=O(_),so=kf(r),oo=g&&Wv(f()),Zf={w:v(no.w+to.w),h:v(no.h+to.h)},El={w:v((oo?oo.w:so.w+v(so.w-no.w))+to.w),h:v((oo?oo.h:so.h+v(so.h-no.h))+to.h)};Cl&&Cl(),Ve=te(El),we=X(B(Zf,El),_)}const[Fe,Xe]=Ve,[We,vt]=we,[Pn,Ge]=xe,[ot,Nn]=pe,[rt,Sr]=ae({x:We.w>0,y:We.h>0}),fs=y&&z&&(rt.x||rt.y)||y&&rt.x&&!rt.y||z&&rt.y&&!rt.x,xr=D||d||m||Nn||Ge||Xe||vt||C||W||ie||U&&g,[Mn]=q("update.flowDirectionStyles"),[ds,ps]=de(Mn?Mn(r):E(),_),Xs=d||h||ps||Sr||_,[eo,qf]=Xs?ge(k(ds,!!Mn),_):oe();let hs=P(rt,F);H(!1),xr&&(b(hs),hs=gm(r,rt),K&&M&&(M(hs,Pn,ot),Ks(r,K(hs))));const[zf,Yf]=ce(hs);return Go(s,gn,Co,fs),Go(o,ki,Co,fs),Ee(t,{cn:zf,Vt:{x:Fe.w,y:Fe.h},Rt:{x:We.w,y:We.h},j:rt,Dt:Kv(eo,We)}),{sn:Yf,tn:Xe,nn:vt,en:qf||vt}}},Mm=e=>{const[t,n,s]=Rm(e),o={rn:{t:0,r:0,b:0,l:0},fn:!1,F:{[ff]:0,[df]:0,[uf]:0,[rf]:0,[lf]:0,[af]:0,[cf]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},cn:{x:Ct,y:Ct},j:{x:!1,y:!1},Dt:If()},{dt:r,gt:i,V:c,St:l}=t,{U:a,k:u}=Vt(),f=!a&&(u.x||u.y),p=[Im(t),Pm(t,o),Nm(t,o)];return[n,g=>{const v={},A=f&&ut(i),S=A&&l();return Te(p,(R=>{Ee(v,R(g,v)||{})})),$t(i,A),S&&S(),c||$t(r,0),v},o,t,s]},$m=(e,t,n,s,o)=>{let r=!1;const i=ra(t,{}),[c,l,a,u,f]=Mm(e),[p,g,v]=Cm(u,a,i,(E=>{H({},E)})),[w,A,,S]=Tm(e,t,v,a,u,o),R=E=>it(E).some((k=>!!E[k])),H=(E,k)=>{if(n())return!1;const{dn:B,At:P,It:b,pn:x}=E,N=B||{},O=!!P||!r,$={zt:ra(t,N,O),dn:N,At:O};if(x)return A($),!1;const X=k||g(Ee({},$,{It:b})),ee=l(Ee({},$,{un:v,Qt:X}));A(Ee({},$,{Qt:X,Zt:ee}));const ae=R(X),te=R(ee),Z=ae||te||!pl(N)||O;return r=!0,Z&&s(E,{Qt:X,Zt:ee}),Z};return[()=>{const{ln:E,gt:k,St:B}=u,P=ut(E),b=[p(),c(),w()],x=B();return $t(k,P),x(),he(pt,b)},H,()=>({vn:v,gn:a}),{hn:u,bn:S},f]},Sl=new WeakMap,Lm=(e,t)=>{Sl.set(e,t)},Dm=e=>{Sl.delete(e)},Kf=e=>Sl.get(e),mt=(e,t,n)=>{const{tt:s}=Vt(),o=jo(e),r=o?e:e.target,i=Kf(r);if(t&&!i){let c=!1;const l=[],a={},u=N=>{const O=vf(N),$=as(zv);return $?$(O,!0):O},f=Ee({},s(),u(t)),[p,g,v]=Ai(),[w,A,S]=Ai(n),R=(N,O)=>{S(N,O),v(N,O)},[H,E,k,B,P]=$m(e,f,(()=>c),(({dn:N,At:O},{Qt:$,Zt:X})=>{const{_t:ee,Ct:ae,$t:te,xt:Z,Ht:ce,ft:de}=$,{tn:ge,nn:oe,sn:re,en:J}=X;R("updated",[x,{updateHints:{sizeChanged:!!ee,directionChanged:!!ae,heightIntrinsicChanged:!!te,overflowEdgeChanged:!!ge,overflowAmountChanged:!!oe,overflowStyleChanged:!!re,scrollCoordinatesChanged:!!J,contentMutation:!!Z,hostMutation:!!ce,appear:!!de},changedOptions:N||{},force:!!O}])}),(N=>R("scroll",[x,N]))),b=N=>{Dm(r),pt(l),c=!0,R("destroyed",[x,N]),g(),A()},x={options(N,O){if(N){const $=O?s():{},X=Bf(f,Ee($,u(N)));pl(X)||(Ee(f,X),E({dn:X}))}return Ee({},f)},on:w,off:(N,O)=>{N&&O&&A(N,O)},state(){const{vn:N,gn:O}=k(),{B:$}=N,{Vt:X,Rt:ee,cn:ae,j:te,rn:Z,fn:ce,Dt:de}=O;return Ee({},{overflowEdge:X,overflowAmount:ee,overflowStyle:ae,hasOverflow:te,scrollCoordinates:{start:de.D,end:de.M},padding:Z,paddingAbsolute:ce,directionRTL:$,destroyed:c})},elements(){const{dt:N,vt:O,rn:$,L:X,ht:ee,gt:ae,Kt:te}=B.hn,{jt:Z,Jt:ce}=B.bn,de=oe=>{const{Mt:re,Ut:J,Lt:q}=oe;return{scrollbar:q,track:J,handle:re}},ge=oe=>{const{Xt:re,Yt:J}=oe,q=de(re[0]);return Ee({},q,{clone:()=>{const Q=de(J());return E({pn:!0}),Q}})};return Ee({},{target:N,host:O,padding:$||X,viewport:X,content:ee||X,scrollOffsetElement:ae,scrollEventElement:te,scrollbarHorizontal:ge(Z),scrollbarVertical:ge(ce)})},update:N=>E({At:N,It:!0}),destroy:he(b,!1),plugin:N=>a[it(N)[0]]};return Me(l,[P]),Lm(r,x),Mf(Pf,mt,[x,p,a]),Am(B.hn.bt,!o&&e.cancel)?(b(!0),x):(Me(l,H()),R("initialized",[x]),x.update(),x)}return i};mt.plugin=e=>{const t=_t(e),n=t?e:[e],s=n.map((o=>Mf(o,mt)[0]));return qv(n),t?s:s[0]};mt.valid=e=>{const t=e&&e.elements,n=wt(t)&&t();return Ws(n)&&!!Kf(n.target)};mt.env=()=>{const{P:e,k:t,U:n,J:s,ot:o,st:r,K:i,Z:c,tt:l,nt:a}=Vt();return Ee({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:s,staticDefaultInitialization:o,staticDefaultOptions:r,getDefaultInitialization:i,setDefaultInitialization:c,getDefaultOptions:l,setDefaultOptions:a})};mt.nonce=_m;mt.trustedTypePolicy=Bv;const Hm=()=>{if(typeof window>"u"){const a=()=>{};return[a,a]}let e,t;const n=window,s=typeof n.requestIdleCallback=="function",o=n.requestAnimationFrame,r=n.cancelAnimationFrame,i=s?n.requestIdleCallback:o,c=s?n.cancelIdleCallback:r,l=()=>{c(e),r(t)};return[(a,u)=>{l(),e=i(s?()=>{l(),t=o(a)}:a,typeof u=="object"?u:{timeout:2233})},l]},Vm=e=>{let t=null,n,s,o;const r=Ao(e||{}),[i,c]=Hm();return ze(()=>{var l;return V((l=r.value)==null?void 0:l.defer)},l=>{o=l},{deep:!0,immediate:!0}),ze(()=>{var l;return V((l=r.value)==null?void 0:l.options)},l=>{n=l,mt.valid(t)&&t.options(n||{},!0)},{deep:!0,immediate:!0}),ze(()=>{var l;return V((l=r.value)==null?void 0:l.events)},l=>{s=l,mt.valid(t)&&t.on(s||{},!0)},{deep:!0,immediate:!0}),Js(()=>{c(),t?.destroy()}),[l=>{if(mt.valid(t))return t;const a=()=>t=mt(l,n||{},s||{});o?i(a,o):a()},()=>t]},la=ht({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(e,{expose:t,emit:n}){const s=e,o={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:r,options:i,events:c,defer:l}=Va(s),a=Ao(null),u=Ao(null),f=se(),[p,g]=Vm({options:i,events:f,defer:l});return t({osInstance:g,getElement:()=>a.value}),Ud(v=>{const{value:w}=a,{value:A}=u;w&&(p(r.value==="body"?{target:w,cancel:{body:null}}:{target:w,elements:{viewport:A,content:A}}),v(()=>{var S;return(S=g())==null?void 0:S.destroy()}))}),ze(()=>V(c),v=>{const w=v||{};f.value=Object.keys(o).reduce((A,S)=>{const R=w[S];return A[S]=[(...H)=>n(o[S],...H),...(Array.isArray(R)?R:[R]).filter(Boolean)],A},{})},{deep:!0,immediate:!0}),(v,w)=>(Y(),De(Qa(V(r)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:a},{default:Pt(()=>[V(r)==="body"?Hl(v.$slots,"default",{key:0}):(Y(),le("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:u},[Hl(v.$slots,"default")],512))]),_:3},512))}});mt.plugin(vm);const ca={overflow:{x:"hidden"},scrollbars:{clickScroll:!0,autoHide:"never"}},Fm={class:"tree-node"},Bm={key:1,class:"chevron-spacer"},jm={class:"label"},Um={key:1,class:"tree-children"},Wm=["onClick"],Gm={class:"label"},Km=ht({__name:"TreeNode",props:{label:{},path:{},token:{},activePath:{},expandTo:{},depth:{},hideSelf:{type:Boolean},foldersOnly:{type:Boolean}},emits:["select"],setup(e,{emit:t}){const n=e,s=t,o=_e(()=>n.hideSelf?n.depth:n.depth+1),r=se(!1),i=_e(()=>v.value.length>0),c=_e(()=>n.foldersOnly?!i.value:!1),l=ol(),a=_e(()=>jr.has(n.path)),u=se(!1),f=se(!1);let p=null;const g=se(""),v=se([]),w=se([]);function A(){return pn()}async function S(b=!1){if(!u.value){u.value=!0,f.value=!1,p&&clearTimeout(p),p=setTimeout(()=>{f.value=!0},3e3),g.value="";try{const N=`${A()}/api/viewer/tree?root=${encodeURIComponent(n.path)}&token=${encodeURIComponent(n.token)}`,O=await fetch(N);if(O.status===401&&!b)return u.value=!1,l.invalidate(),await l.acquire(!0),S(!0);if(!O.ok)throw new Error(`${O.status} ${O.statusText}`);const $=await O.json();v.value=$.dirs||[],w.value=$.files||[]}catch(x){g.value=x.message||"Failed to load"}finally{u.value=!1,f.value=!1,r.value=!0,p&&(clearTimeout(p),p=null)}}}function R(b){b?jr.add(n.path):jr.delete(n.path)}function H(){const b=!a.value;R(b),b&&!v.value.length&&!w.value.length&&!u.value&&!g.value&&S()}function E(){s("select",n.path)}function k(b){b&&b.startsWith(n.path+"/")&&!a.value&&(R(!0),!v.value.length&&!w.value.length&&S())}const{onMessage:B}=st;let P=null;return sr(()=>{n.hideSelf&&!a.value&&R(!0),((a.value||n.hideSelf)&&!v.value.length&&!w.value.length||n.foldersOnly&&!r.value&&!u.value)&&S(),k(n.expandTo),P=B(b=>{b.type==="viewer_tree_changed"&&b.path===n.path&&a.value&&S()})}),Js(()=>{P&&P()}),ze(()=>n.expandTo,k),(b,x)=>{const N=Ki("TreeNode",!0);return Y(),le("div",Fm,[e.hideSelf?be("",!0):(Y(),le("div",{key:0,class:Se(["tree-row dir-row",{active:e.path===e.activePath,"is-leaf":c.value}]),style:St({paddingLeft:`${e.depth*12+14}px`}),onClick:cc(E,["stop"])},[c.value?(Y(),le("span",Bm)):(Y(),le("span",{key:0,class:"chevron",onClick:cc(H,["stop"])},[a.value?(Y(),De(V(nf),{key:0,class:"icon w-3 h-3"})):(Y(),De(V(mi),{key:1,class:"icon w-3 h-3"}))])),T("span",jm,ye(e.label),1)],6)),a.value||e.hideSelf?(Y(),le("div",Um,[f.value?(Y(),le("div",{key:0,class:"tree-loading",style:St({paddingLeft:`${o.value*12+14}px`})},"…",4)):g.value?(Y(),le("div",{key:1,class:"tree-error",style:St({paddingLeft:`${o.value*12+14}px`})},ye(g.value),5)):(Y(),le(Ue,{key:2},[(Y(!0),le(Ue,null,Io(v.value,O=>(Y(),De(N,{key:e.path+"/"+O,label:O,path:e.path+"/"+O,token:e.token,"active-path":e.activePath,"expand-to":e.expandTo,depth:o.value,"folders-only":e.foldersOnly,onSelect:x[0]||(x[0]=$=>b.$emit("select",$))},null,8,["label","path","token","active-path","expand-to","depth","folders-only"]))),128)),e.foldersOnly?be("",!0):(Y(!0),le(Ue,{key:0},Io(w.value,O=>(Y(),le("div",{key:O.path,class:Se(["tree-row file-row",{active:O.path===e.activePath}]),style:St({paddingLeft:`${o.value*12+14}px`}),onClick:$=>b.$emit("select",O.path)},[me(V(Iv),{class:"icon file-icon w-3 h-3"}),T("span",Gm,ye(O.name),1)],14,Wm))),128)),!u.value&&!v.value.length&&!e.foldersOnly&&!w.value.length?(Y(),le("div",{key:1,class:"tree-empty",style:St({paddingLeft:`${o.value*12+14}px`})},"empty",4)):be("",!0)],64))])):be("",!0)])}}}),qm=ls(Km,[["__scopeId","data-v-ae9a8cbc"]]),zm={class:"file-tree"},Ym=ht({__name:"FileTree",props:{token:{},activePath:{},expandTo:{},roots:{},hideRoot:{type:Boolean},foldersOnly:{type:Boolean}},emits:["select"],setup(e){const t=e,n=_e(()=>(t.roots&&t.roots.length>0?t.roots:["shared","workspace-titan"]).map(s=>({label:s,prefix:s})));return(s,o)=>(Y(),le("div",zm,[(Y(!0),le(Ue,null,Io(n.value,r=>(Y(),De(qm,{key:r.prefix,label:r.label,path:r.prefix,token:e.token,"active-path":e.activePath,"expand-to":e.expandTo,depth:0,"hide-self":e.hideRoot,"folders-only":e.foldersOnly,onSelect:o[0]||(o[0]=i=>s.$emit("select",i))},null,8,["label","path","token","active-path","expand-to","hide-self","folders-only"]))),128))]))}}),aa=ls(Ym,[["__scopeId","data-v-e4eaa1f9"]]),Zm={class:"sidebar-header"},Jm=["title"],Qm=["src"],Xm={class:"sidebar-brand-name"},e0={class:"sidebar-home"},t0=["title"],n0={class:"sidebar-room-name"},s0={key:1,class:"sidebar-room sidebar-room-placeholder"},o0={key:1,class:"sidebar-collapsed-top"},r0=["title"],i0={key:2,class:"sidebar-flex-spacer"},l0={key:0,class:"sidebar-system-content"},c0={class:"sidebar-conn-wrap"},a0={key:0,class:"sidebar-panel"},u0={class:"sidebar-panel-row"},f0={class:"sidebar-panel-row"},d0={class:"sidebar-panel-row"},p0={class:"sidebar-panel-row"},h0={key:0,class:"sidebar-panel"},g0=["title"],v0={key:0,class:"sidebar-panel-copied"},m0={class:"sidebar-panel-row"},y0={class:"sidebar-version-wrap"},b0={class:"sidebar-version-text"},_0={key:0,class:"sidebar-panel sidebar-version-panel"},w0={class:"sidebar-panel-row"},S0={class:"sidebar-panel-row"},x0={class:"sidebar-panel-row"},C0={key:5,class:"sidebar-bottom-section"},E0={class:"sidebar-conn-wrap"},A0=["title"],k0={key:0,class:"sidebar-panel"},O0={class:"sidebar-panel-row"},T0={class:"sidebar-panel-row"},R0={class:"sidebar-panel-row"},I0={class:"sidebar-panel-row"},P0={key:0,class:"sidebar-panel"},N0=["title"],M0={key:0,class:"sidebar-panel-copied"},$0={class:"sidebar-panel-row"},L0={class:"sidebar-version-wrap"},D0=["title"],H0={class:"sidebar-version-text"},V0={key:0,class:"sidebar-panel sidebar-version-panel"},F0={class:"sidebar-panel-row"},B0={class:"sidebar-panel-row"},j0={class:"sidebar-panel-row"},U0={class:"sidebar-bottom"},W0=["title"],G0={key:0,class:"sidebar-user-name"},K0={key:0,class:"sidebar-user-menu"},q0={class:"sidebar-user-menu-header"},z0={key:0},Y0=ht({name:"AppSidebar",__name:"AppSidebar",emits:["logout"],setup(e,{emit:t}){const n=xs.token,s=xs.capture.isActive,o=se(!1),r=se(!1);async function i(){s.value?xs.capture.disable():await xs.capture.enable()}function c(){n.value&&(navigator.clipboard.writeText(n.value),r.value=!0,setTimeout(()=>{r.value=!1},1500))}const l=se(sessionStorage.getItem("sidebar_panel_system")==="true"),a=se(!1),u=_e(()=>o.value||I.value||X.value||a.value);function f(){o.value=!1,I.value=!1,X.value=!1,a.value=!1}function p(){const C=!a.value;f(),C&&(a.value=!0)}function g(){if(!n.value){oe.push("/dev");return}const C=!o.value;f(),C&&(o.value=!0)}function v(){const C=!I.value;f(),C&&(I.value=!0)}function w(){xs.revoke(),f()}const A=_e(()=>U.value.find(C=>C.id===j.value)),S=rl(),R=ol(),H=_e(()=>R.fstoken),E=_e(()=>R.roots),k=se(jt.value.startsWith("shared")),B=se(jt.value.startsWith("workspace"));function P(C){const y=C==="shared"?"shared":b.value;C==="shared"?(k.value=!k.value,k.value&&(B.value=!1,x(y))):(B.value=!B.value,B.value&&(k.value=!1,x(y)))}const b=_e(()=>E.value.find(y=>y.startsWith("workspace"))||"workspace-titan");function x(C){jt.value=C,localStorage.setItem("viewer_last_path",C),oe.push({name:"viewer",query:{path:C}})}const{version:N}=Wu(st.status),O=N.split("-")[0],$="prod",X=se(!1),ee=se(!1);function ae(){const C=!X.value;f(),C&&(X.value=!0)}function te(){const C=`env: ${$}
|
|
fe: ${N}
|
|
be: ${S.beVersion||"unknown"}
|
|
ua: ${navigator.userAgent}`;navigator.clipboard.writeText(C),ee.value=!0,setTimeout(()=>{ee.value=!1},2e3)}const Z=_e(()=>{switch(S.connectionState){case"CONNECTING":return"Connecting...";case"LOADING_HISTORY":return"Loading...";case"SWITCHING":return"Switching...";case"SYNCED":return"Connected";default:return""}}),ce=_e(()=>S.connectionState==="SYNCED"),de=t,ge=Nu(),oe=$h(),{theme:re}=nl(),J=_e(()=>Ju[re.value]),{isLoggedIn:q}=xt,{currentUser:Q,send:ue}=st,{selectedAgent:_,selectedMode:D,defaultAgent:j,allAgents:U}=Rn;function ne(C){return C.role==="owner"?"private":C.modes?.includes("public")?"public":"private"}const d=window.innerWidth<=480,h=window.innerWidth>=1024,m=se(d?!1:h?!0:localStorage.getItem("sidebar_open")!=="false"),I=se(!1);window.matchMedia("(min-width: 1024px)").addEventListener("change",C=>{C.matches&&!m.value?(m.value=!0,localStorage.setItem("sidebar_open","true")):!C.matches&&m.value&&(m.value=!1,localStorage.setItem("sidebar_open","false"))});function L(){m.value=!m.value,localStorage.setItem("sidebar_open",String(m.value))}function K(){window.innerWidth>=1024||(m.value=!1,localStorage.setItem("sidebar_open","false"))}function G(){K(),oe.push({name:"agents",query:{}})}function W(C,y){K();const z=_.value===C&&D.value===y;if(!(z&&ge.name==="agents")){if(z){oe.push({name:"agents",query:{agent:C,mode:y}});return}_.value=C,D.value=y,sessionStorage.setItem("agent",C),sessionStorage.setItem("agent_mode",y),st.connected.value?st.switchAgent(C,y):st.connect(_,xt.isLoggedIn,xt.loginError,D),oe.push({name:"agents",query:{agent:C,mode:y}})}}function F(){I.value=!1,de("logout")}return(C,y)=>{const z=Ki("RouterLink");return Y(),le("aside",{class:Se(["app-sidebar",{"is-collapsed":!m.value}])},[y[34]||(y[34]=T("div",{class:"sidebar-shadow"},null,-1)),T("div",{class:"sidebar-close-target",onClick:K}),T("div",Zm,[T("button",{class:"sidebar-toggle-btn",onClick:L,title:m.value?"Collapse":"Expand"},[m.value?(Y(),De(V(Rv),{key:0,class:"sidebar-chevron-anim w-4 h-4"})):(Y(),De(V(mi),{key:1,class:"sidebar-chevron-anim w-4 h-4"}))],8,Jm),m.value?(Y(),De(z,{key:0,to:"/",class:"sidebar-brand",title:"Home",onClick:K},{default:Pt(()=>[J.value?(Y(),le("img",{key:0,src:J.value,class:"sidebar-brand-logo",alt:"Home"},null,8,Qm)):(Y(),De(Qa(V(gv)[V(re)]),{key:1,class:"sidebar-brand-icon"})),T("span",Xm,ye(V(Zu)[V(re)]),1)]),_:1})):be("",!0)]),V(q)&&m.value?(Y(),le("div",{key:0,class:Se(["sidebar-top-section",{"has-tree":k.value||B.value}])},[T("div",e0,[A.value?(Y(),le("div",{key:0,class:Se(["sidebar-room",[`role-${A.value.role}`,{active:V(_)===A.value.id}]]),onClick:y[0]||(y[0]=ie=>W(A.value.id,ne(A.value))),title:"Chat with "+A.value.name},[T("span",{class:Se(["sidebar-room-dot",`dot-${A.value.role}`])},null,2),T("span",n0,ye(A.value.name),1)],10,t0)):(Y(),le("div",s0,[...y[5]||(y[5]=[T("span",{class:"sidebar-room-dot"},null,-1)])]))]),T("button",{class:Se(["sidebar-link",{active:V(ge).name==="agents"&&!V(ge).query.agent}]),onClick:G},[me(V($c),{class:"w-4 h-4"}),y[6]||(y[6]=T("span",null,"Agents",-1))],2),H.value?(Y(),le("div",{key:0,class:Se(["sidebar-file-section",{"is-open":k.value}])},[T("button",{class:Se(["sidebar-link sidebar-file-toggle",{active:k.value}]),onClick:y[1]||(y[1]=ie=>P("shared"))},[me(V(Hc),{class:"w-4 h-4"}),y[7]||(y[7]=T("span",null,"Shared",-1))],2),k.value?(Y(),De(V(la),{key:0,class:"sidebar-file-scroll",options:V(ca),element:"div"},{default:Pt(()=>[me(aa,{token:H.value,"active-path":V(jt),"expand-to":V(jt),roots:["shared"],"hide-root":!0,"folders-only":!0,onSelect:x},null,8,["token","active-path","expand-to"])]),_:1},8,["options"])):be("",!0)],2)):be("",!0),H.value?(Y(),le("div",{key:1,class:Se(["sidebar-file-section",{"is-open":B.value}])},[T("button",{class:Se(["sidebar-link sidebar-file-toggle",{active:B.value}]),onClick:y[2]||(y[2]=ie=>P("workspace"))},[me(V(Dc),{class:"w-4 h-4"}),y[8]||(y[8]=T("span",null,"Workspace",-1))],2),B.value?(Y(),De(V(la),{key:0,class:"sidebar-file-scroll",options:V(ca),element:"div"},{default:Pt(()=>[me(aa,{token:H.value,"active-path":V(jt),"expand-to":V(jt),roots:[b.value],"hide-root":!0,"folders-only":!0,onSelect:x},null,8,["token","active-path","expand-to","roots"])]),_:1},8,["options"])):be("",!0)],2)):be("",!0)],2)):be("",!0),V(q)&&!m.value?(Y(),le("div",o0,[A.value?(Y(),le("div",{key:0,class:Se(["sidebar-room",[`role-${A.value.role}`,{active:V(_)===A.value.id}]]),onClick:y[3]||(y[3]=ie=>W(A.value.id,ne(A.value))),title:A.value.name},[T("span",{class:Se(["sidebar-room-dot",`dot-${A.value.role}`])},null,2)],10,r0)):be("",!0),T("button",{class:Se(["sidebar-link",{active:V(ge).name==="agents"&&!V(ge).query.agent}]),title:"Agents",onClick:G},[me(V($c),{class:"w-4 h-4"})],2),me(z,{to:{name:"viewer",query:{path:"shared"}},class:Se(["sidebar-link",{active:V(ge).name==="viewer"&&V(jt).startsWith("shared")}]),title:"Shared files"},{default:Pt(()=>[me(V(Hc),{class:"w-4 h-4"})]),_:1},8,["class"]),me(z,{to:{name:"viewer",query:{path:b.value}},class:Se(["sidebar-link",{active:V(ge).name==="viewer"&&V(jt).startsWith("workspace")}]),title:"Workspace files"},{default:Pt(()=>[me(V(Dc),{class:"w-4 h-4"})]),_:1},8,["to","class"])])):be("",!0),V(q)?(Y(),le("div",i0)):be("",!0),u.value?(Y(),le("div",{key:3,class:"sidebar-panel-backdrop",onClick:f})):be("",!0),V(q)&&m.value?(Y(),le("div",{key:4,class:Se(["sidebar-system-section",{collapsed:!l.value}])},[T("button",{class:"sidebar-link sidebar-system-toggle",onClick:y[4]||(y[4]=ie=>{l.value=!l.value,C.sessionStorage.setItem("sidebar_panel_system",String(l.value))})},[l.value?(Y(),De(V(nf),{key:0,class:"w-4 h-4"})):(Y(),De(V(mi),{key:1,class:"w-4 h-4"})),y[9]||(y[9]=T("span",null,"System",-1))]),l.value?(Y(),le("div",l0,[T("div",c0,[T("button",{class:Se(["sidebar-link sidebar-conn-link",{active:ce.value}]),onClick:p},[me(V(Fc),{class:"w-4 h-4"}),T("span",null,ye(Z.value),1)],2),a.value?(Y(),le("div",a0,[y[14]||(y[14]=T("div",{class:"sidebar-panel-header"},"Connection",-1)),T("div",u0,[y[10]||(y[10]=T("span",null,"WebSocket",-1)),T("span",null,ye(V(S).connectionState),1)]),T("div",f0,[y[11]||(y[11]=T("span",null,"Channel",-1)),T("span",null,ye(V(S).channelState),1)]),T("div",d0,[y[12]||(y[12]=T("span",null,"Agent",-1)),T("span",null,ye(V(_)||"none"),1)]),T("div",p0,[y[13]||(y[13]=T("span",null,"Mode",-1)),T("span",null,ye(V(D)),1)])])):be("",!0)]),T("div",{class:Se(["sidebar-takeover-wrap",{active:!!V(n)}])},[T("button",{class:Se(["sidebar-link",{active:!!V(n)}]),onClick:g},[me(V(Vc),{class:"w-4 h-4"}),y[15]||(y[15]=T("span",null,"Takeover",-1))],2),o.value&&V(n)?(Y(),le("div",h0,[y[17]||(y[17]=T("div",{class:"sidebar-panel-header"},"Takeover Token",-1)),T("div",{class:"sidebar-panel-token",onClick:c,title:r.value?"Copied!":"Click to copy"},[T("code",null,ye(V(n)),1),r.value?(Y(),le("span",v0,"Copied!")):be("",!0)],8,g0),T("div",m0,[y[16]||(y[16]=T("span",null,"Capture",-1)),T("span",{style:St({color:V(s)?"var(--success, #22c55e)":"var(--text-dim)"})},ye(V(s)?"ON":"OFF"),5)]),T("button",{class:"sidebar-panel-item",onClick:i},ye(V(s)?"Disable Capture":"Enable Capture"),1),T("button",{class:"sidebar-panel-item",onClick:w},"Revoke")])):be("",!0)],2),me(z,{to:"/dev",class:Se(["sidebar-link",{active:V(ge).name==="dev"}]),onClick:K},{default:Pt(()=>[me(V(Lc),{class:"w-4 h-4"}),y[18]||(y[18]=T("span",null,"dev",-1))]),_:1},8,["class"]),T("div",y0,[T("button",{class:"sidebar-link sidebar-version-link",onClick:ae},[T("span",b0,ye(V(O)),1)]),X.value?(Y(),le("div",_0,[y[22]||(y[22]=T("div",{class:"sidebar-panel-header"},"Version",-1)),T("div",w0,[y[19]||(y[19]=T("span",null,"Frontend",-1)),T("span",null,ye(V(N)),1)]),T("div",S0,[y[20]||(y[20]=T("span",null,"Backend",-1)),T("span",null,ye(V(S).beVersion||"..."),1)]),T("div",x0,[y[21]||(y[21]=T("span",null,"Env",-1)),T("span",null,ye(V($)),1)]),T("button",{class:"sidebar-panel-item",onClick:te},ye(ee.value?"✓ Copied":"Copy details"),1)])):be("",!0)])])):be("",!0)],2)):be("",!0),V(q)&&!m.value?(Y(),le("div",C0,[T("div",E0,[T("button",{class:Se(["sidebar-link sidebar-conn-link",{active:ce.value}]),onClick:p,title:Z.value},[me(V(Fc),{class:"w-4 h-4"})],10,A0),a.value?(Y(),le("div",k0,[y[27]||(y[27]=T("div",{class:"sidebar-panel-header"},"Connection",-1)),T("div",O0,[y[23]||(y[23]=T("span",null,"WebSocket",-1)),T("span",null,ye(V(S).connectionState),1)]),T("div",T0,[y[24]||(y[24]=T("span",null,"Channel",-1)),T("span",null,ye(V(S).channelState),1)]),T("div",R0,[y[25]||(y[25]=T("span",null,"Agent",-1)),T("span",null,ye(V(_)||"none"),1)]),T("div",I0,[y[26]||(y[26]=T("span",null,"Mode",-1)),T("span",null,ye(V(D)),1)])])):be("",!0)]),T("div",{class:Se(["sidebar-takeover-wrap",{active:!!V(n)}])},[T("button",{class:Se(["sidebar-link",{active:!!V(n)}]),onClick:g,title:"Takeover"},[me(V(Vc),{class:"w-4 h-4"})],2),o.value&&V(n)?(Y(),le("div",P0,[y[29]||(y[29]=T("div",{class:"sidebar-panel-header"},"Takeover Token",-1)),T("div",{class:"sidebar-panel-token",onClick:c,title:r.value?"Copied!":"Click to copy"},[T("code",null,ye(V(n)),1),r.value?(Y(),le("span",M0,"Copied!")):be("",!0)],8,N0),T("div",$0,[y[28]||(y[28]=T("span",null,"Capture",-1)),T("span",{style:St({color:V(s)?"var(--success, #22c55e)":"var(--text-dim)"})},ye(V(s)?"ON":"OFF"),5)]),T("button",{class:"sidebar-panel-item",onClick:i},ye(V(s)?"Disable Capture":"Enable Capture"),1),T("button",{class:"sidebar-panel-item",onClick:w},"Revoke")])):be("",!0)],2),me(z,{to:"/dev",class:Se(["sidebar-link",{active:V(ge).name==="dev"}]),title:"Dev",onClick:K},{default:Pt(()=>[me(V(Lc),{class:"w-4 h-4"})]),_:1},8,["class"]),T("div",L0,[T("button",{class:"sidebar-link sidebar-version-link",onClick:ae,title:V(O)},[T("span",H0,ye(V(O)),1)],8,D0),X.value?(Y(),le("div",V0,[y[33]||(y[33]=T("div",{class:"sidebar-panel-header"},"Version",-1)),T("div",F0,[y[30]||(y[30]=T("span",null,"Frontend",-1)),T("span",null,ye(V(N)),1)]),T("div",B0,[y[31]||(y[31]=T("span",null,"Backend",-1)),T("span",null,ye(V(S).beVersion||"..."),1)]),T("div",j0,[y[32]||(y[32]=T("span",null,"Env",-1)),T("span",null,ye(V($)),1)]),T("button",{class:"sidebar-panel-item",onClick:te},ye(ee.value?"✓ Copied":"Copy details"),1)])):be("",!0)])])):be("",!0),T("div",U0,[V(q)?(Y(),le("div",{key:0,class:Se(["sidebar-user-wrap",{open:I.value}])},[T("button",{class:"sidebar-user-btn",onClick:v,title:m.value?"":V(Q)},[me(V(Pv),{class:"w-4 h-4"}),m.value?(Y(),le("span",G0,ye(V(Q)),1)):be("",!0)],8,W0),I.value?(Y(),le("div",K0,[T("div",q0,ye(V(Q)),1),T("button",{class:"sidebar-user-menu-item",onClick:F},"Logout")])):be("",!0)],2)):(Y(),De(z,{key:1,to:"/login",class:"sidebar-link",title:m.value?"":"Sign in"},{default:Pt(()=>[me(V(Tv),{class:"w-4 h-4"}),m.value?(Y(),le("span",z0,"Sign in")):be("",!0)]),_:1},8,["title"]))])],2)}}});function Z0(e){return e.replace(/```[\s\S]*?```/g,"").replace(/`[^`]+`/g,"").replace(/!\[.*?\]\(.*?\)/g,"").replace(/\[([^\]]+)\]\(.*?\)/g,"$1").replace(/#{1,6}\s*/g,"").replace(/[*_~]+/g,"").replace(/\n{2,}/g,". ").replace(/\n/g," ").trim()}function J0(){const e=rl(),t=se("idle"),n=se(null),s=se(0),o=se(0),r=_e(()=>o.value>0?s.value/o.value:0);let i=null;const c=new Map;function l(){return i||(i=new Audio,i.addEventListener("timeupdate",()=>{s.value=i.currentTime}),i.addEventListener("durationchange",()=>{o.value=i.duration||0}),i.addEventListener("ended",()=>{t.value="idle",n.value=null}),i.addEventListener("error",()=>{console.error("[tts] playback error"),t.value="idle",n.value=null})),i}const a=_e(()=>{const E=[];for(let k=0;k<e.messages.length;k++){const B=e.messages[k];B.role==="assistant"&&!B.streaming&&B.content&&E.push({msg:B,index:k})}return E});function u(E){let k=0;for(let B=0;B<E.length;B++)k=(k<<5)-k+E.charCodeAt(B)|0;return String(k)}async function f(E,k){const B=l();B.pause();const P=Z0(E.content||"");if(!P)return;const b=P.slice(0,4096),x=P.slice(0,60)+(P.length>60?"...":"");n.value={msgRef:E,sourceIndex:k,snippet:x,audioUrl:null},s.value=0,o.value=0,t.value="loading";const N=u(b);let O=c.get(N);if(!O)try{const $=localStorage.getItem("nyx_session")||"",X=pn(),ee=await fetch(`${X}/api/tts`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`},body:JSON.stringify({text:b})});if(!ee.ok)throw new Error(`TTS ${ee.status}`);const ae=await ee.json();O=`${X}${ae.url}?token=${encodeURIComponent($)}`,c.set(N,O)}catch($){console.error("[tts]",$),t.value="idle",n.value=null;return}n.value&&(n.value.audioUrl=O),B.src=O;try{await B.play(),t.value="playing"}catch($){console.error("[tts] play failed:",$),t.value="idle",n.value=null}}function p(){i&&t.value==="playing"&&(i.pause(),t.value="paused")}function g(){i&&t.value==="paused"&&(i.play(),t.value="playing")}function v(){i&&(i.pause(),i.removeAttribute("src"),i.load()),t.value="idle",n.value=null,s.value=0,o.value=0}function w(E){i&&o.value>0&&(i.currentTime=E*o.value)}function A(E){if(!n.value)return;const k=a.value,B=k.findIndex(b=>b.msg===n.value.msgRef);if(B<0)return;const P=k[B+E];P&&f(P.msg,P.index)}function S(){A(-1)}function R(){A(1)}function H(E){return n.value?.msgRef===E}return ze(()=>e.localSessionId,()=>{v(),c.clear()}),{state:t,currentTrack:n,currentTime:s,duration:o,progress:r,speakableMessages:a,play:f,pause:p,resume:g,stop:v,seek:w,prev:S,next:R,isPlayingMsg:H}}let Zr=null;function Q0(){return Zr||(Zr=J0()),Zr}const X0={key:0,class:"tts-player-bar"},e1=["title"],t1={key:0,class:"tts-bar-spinner"},n1={key:1,class:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor"},s1={key:2,class:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor"},o1={class:"tts-time"},r1={class:"tts-snippet"},i1=ht({__name:"TtsPlayerBar",setup(e){const t=Q0();function n(){t.state.value==="playing"?t.pause():t.state.value==="paused"&&t.resume()}function s(r){const i=r.currentTarget,c=r.offsetX/i.clientWidth;t.seek(Math.max(0,Math.min(1,c)))}function o(r){if(!r||!isFinite(r))return"0:00";const i=Math.floor(r/60),c=Math.floor(r%60);return`${i}:${c.toString().padStart(2,"0")}`}return(r,i)=>V(t).state.value!=="idle"?(Y(),le("div",X0,[T("button",{class:"tts-nav-btn",onClick:i[0]||(i[0]=c=>V(t).prev()),title:"Previous"},[...i[3]||(i[3]=[T("svg",{class:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor"},[T("path",{d:"M15.707 15.707a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 010 1.414zm-6 0a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 011.414 1.414L5.414 10l4.293 4.293a1 1 0 010 1.414z"})],-1)])]),T("button",{class:"tts-play-btn",onClick:n,title:V(t).state.value==="playing"?"Pause":"Play"},[V(t).state.value==="loading"?(Y(),le("span",t1)):V(t).state.value==="playing"?(Y(),le("svg",n1,[...i[4]||(i[4]=[T("path",{"fill-rule":"evenodd",d:"M5.75 3a.75.75 0 00-.75.75v12.5a.75.75 0 001.5 0V3.75A.75.75 0 005.75 3zm8.5 0a.75.75 0 00-.75.75v12.5a.75.75 0 001.5 0V3.75a.75.75 0 00-.75-.75z","clip-rule":"evenodd"},null,-1)])])):(Y(),le("svg",s1,[...i[5]||(i[5]=[T("path",{d:"M6.3 2.841A1.5 1.5 0 004 4.11V15.89a1.5 1.5 0 002.3 1.269l9.344-5.89a1.5 1.5 0 000-2.538L6.3 2.84z"},null,-1)])]))],8,e1),T("button",{class:"tts-nav-btn",onClick:i[1]||(i[1]=c=>V(t).next()),title:"Next"},[...i[6]||(i[6]=[T("svg",{class:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor"},[T("path",{d:"M4.293 15.707a1 1 0 010-1.414L8.586 10 4.293 5.707a1 1 0 011.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0zm6 0a1 1 0 010-1.414L14.586 10l-4.293-4.293a1 1 0 011.414-1.414l5 5a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0z"})],-1)])]),T("div",{class:"tts-progress",onClick:s},[T("div",{class:"tts-progress-fill",style:St({width:V(t).progress.value*100+"%"})},null,4)]),T("span",o1,ye(o(V(t).currentTime.value))+" / "+ye(o(V(t).duration.value)),1),T("span",r1,ye(V(t).currentTrack.value?.snippet||""),1),T("button",{class:"tts-close-btn",onClick:i[2]||(i[2]=c=>V(t).stop()),title:"Close"},[...i[7]||(i[7]=[T("svg",{class:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor"},[T("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1)])])])):be("",!0)}}),l1=ls(i1,[["__scopeId","data-v-7125b8a5"]]),c1={id:"app",class:"app-container"},a1={class:"app-body"},u1={class:"main-column"},f1={class:"content-area"},d1=ht({__name:"App",setup(e){const t=Tr(()=>En(()=>import("./AgentsView-DlISXhse.js"),__vite__mapDeps([0,1,2,3]))),n=Tr(()=>En(()=>import("./ViewerView-CJchbA_-.js"),__vite__mapDeps([6,1,7]))),s=Tr(()=>En(()=>import("./DevView-lskM9Phs.js"),__vite__mapDeps([4,2,5]))),o=rl(),r=mn({agents:!1,viewer:!1,dev:!1}),i=_e(()=>["agents","viewer","dev"].includes(l.name)),c=se(!1);Jt.isReady().then(()=>{c.value=!0});const l=Nu();Wu(st.status);const{doLogout:a}=xt,{currentUser:u,connected:f,status:p,sessionId:g,disconnect:v,onMessage:w,replayBuffer:A}=st,{selectedAgent:S,updateFromServer:R}=Rn,{theme:H}=nl();function E(){a(v),r.agents=r.viewer=r.dev=!1}function k(){xt.isLoggedIn.value&&!st.connected.value&&st.connect(Rn.selectedAgent,xt.isLoggedIn,xt.loginError,Rn.selectedMode)}Jt.beforeEach(P=>{if(P.meta?.requiresSocket){if(!xt.isLoggedIn.value)return{name:"login"};if(!S.value){const b=P.query?.agent,x=sessionStorage.getItem("agent");b?S.value=b:x&&(S.value=x)}k()}}),Jt.afterEach(P=>{const b=P.name;b in r&&(r[b]=!0)}),ze(f,P=>{P||o.setConnecting()}),w(P=>{P.type==="connection_state"&&P.state&&o.applyConnectionState(P.state),P.type==="channel_state"&&P.state&&o.applyChannelState(P.state)}),A(P=>{P.type==="connection_state"&&P.state&&o.applyConnectionState(P.state),P.type==="channel_state"&&P.state&&o.applyChannelState(P.state)}),ze(H,P=>{const b=Ju[P],x=document.querySelector('link[rel~="icon"]');x&&(x.href=b??"/favicon.ico")});const B=se("");return sr(()=>{w(P=>{P.type==="ready"||P.type==="auth_ok"?(f.value=!0,u.value=P.user,g.value=P.sessionId,p.value="Connected",P.version&&(B.value=P.version,o.beVersion=P.version),R(P),l.path==="/login"&&Jt.push("/agents")):P.type==="cost_update"&&(o.sessionUsage=P.usage,o.sessionCost=P.cost)})}),(P,b)=>{const x=Ki("RouterView");return Y(),le("div",c1,[T("div",a1,[me(Y0,{onLogout:E}),b[0]||(b[0]=T("div",{class:"sidebar-spacer"},null,-1)),T("div",u1,[T("div",f1,[me(l1),r.agents?(Y(),De(V(t),{key:0,class:Se({"view-hidden":V(l).name!=="agents"})},null,8,["class"])):be("",!0),r.viewer?(Y(),De(V(n),{key:1,class:Se({"view-hidden":V(l).name!=="viewer"})},null,8,["class"])):be("",!0),r.dev?(Y(),De(V(s),{key:2,class:Se({"view-hidden":V(l).name!=="dev"})},null,8,["class"])):be("",!0),c.value&&!i.value?(Y(),De(x,{key:3})):be("",!0)]),me(Ev),me(Ov)])])])}}}),go=window.__hermes||(window.__hermes={});if(!go._origConsole){const t=go.console||[],n={log:console.log,warn:console.warn,error:console.error,info:console.info,debug:console.debug};for(const[s,o]of Object.entries(n))console[s]=(...r)=>{t.push({t:Date.now(),l:s,m:r.map(i=>typeof i=="string"?i:JSON.stringify(i)).join(" ")}),t.length>200&&t.splice(0,t.length-200),o.apply(console,r)};go.console=t,go._origConsole=n}const xl=_h(d1);xl.use(xh());xl.use(Jt);xl.mount("#app");export{y1 as $,De as A,Qa as B,Q0 as C,ep as D,nf as E,Ue as F,sr as G,Vd as H,m1 as I,ca as J,St as K,Ne as L,dh as M,h1 as N,Ki as O,la as P,Nu as Q,Jt as R,ol as S,jt as T,$h as U,Dc as V,Hc as W,Iv as X,xs as Y,gv as Z,ls as _,T as a,g1 as a0,nl as a1,tf as a2,Zu as a3,rv as a4,ze as b,le as c,Rn as d,_e as e,Js as f,pn as g,ht as h,Se as i,be as j,Hl as k,me as l,v1 as m,tr as n,Y as o,V as p,xt as q,se as r,Pt as s,p1 as t,rl as u,$p as v,st as w,ye as x,Io as y,cc as z};
|