@openapi-studio/core 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Main-BD4o1zjI.js","assets/Main-Cy83ExML.css","assets/NotFound-DhLLhllS.js","assets/NotFound-DFzjKBQu.css"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function $r(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?$r(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const lc={run:e=>e()},cc=()=>lc,ti=typeof console.createTask<"u"?console.createTask:cc;function ac(e,t){const n=t.shift(),r=ti(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function uc(e,t){const n=t.shift(),r=ti(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Pr(e,t){for(const n of[...e])n(t)}class fc{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=$r(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=$r(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ac,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(uc,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Pr(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Pr(this._after,o)}):(this._after&&o&&Pr(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function dc(){return new fc}const pc=new Set(["link","style","script","noscript"]),hc=new Set(["title","titleTemplate","script","style","noscript"]),qo=new Set(["base","meta","link","style","script","noscript"]),gc=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),mc=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),yc=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),vc=new Set(["templateParams","htmlAttrs","bodyAttrs"]),bc=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),_c=["name","property","http-equiv"],Sc=new Set(["viewport","description","keywords","robots"]);function ni(e){const t=e.split(":");return t.length?bc.has(t[1]):!1}function Vr(e){const{props:t,tag:n}=e;if(mc.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of _c)if(t[r]!==void 0){const o=t[r],s=o&&typeof o=="string"&&o.includes(":"),i=o&&Sc.has(o),c=!(s||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(hc.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Wo(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Kr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(s=>Kr(s,t));if(o?.constructor===Object){const s={};for(const i of Object.keys(o))s[i]=Kr(o[i],t,i);return s}return o}function Pc(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const s=String(o).trim();if(s)if(e==="style"){const[i,...l]=s.split(":").map(c=>c?c.trim():"");i&&l.length&&n.set(i,l.join(":"))}else s.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(o).trim(),String(s)):r(o))}),n}function ri(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Pc(n,r);return}if(yc.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")return;t.type=l,e.props.type=l,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),s=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";o==="true"||o===""?e.props[n]=s||i?o:!0:!r&&s&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Ec(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=ri({tag:e,props:{}},n);return r.key&&pc.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function wc(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,s)=>{for(let i=0;i<t.length;i++)s=t[i](o,s);return s};e=n(void 0,e);const r=[];return e=Kr(e,n),Object.entries(e||{}).forEach(([o,s])=>{if(s!==void 0)for(const i of Array.isArray(s)?s:[s])r.push(Ec(o,i))}),r.flat()}const zo=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Go={base:-10,title:10},Cc={critical:-8,high:-1,low:2},Jo={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Oc=/@import/,en=e=>e===""||e===!0;function Ac(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Cc[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Jo;if(t.tag in Go)n=Go[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=Jo.meta[s])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);en(t.props.async)?n=o.script.async:t.props.src&&!en(t.props.defer)&&!en(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=o.script.sync:(en(t.props.defer)&&t.props.src&&!en(t.props.async)||s==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Oc.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Yo(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Rc(e={}){const t=dc();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,s=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Yo(i,l),push(l,c){const u={...c||{}};delete u.head;const a=u._index??i._entryCount++,f={_i:a,input:l,options:u},h={_poll(d=!1){i.dirty=!0,!d&&s.add(a),t.callHook("entries:updated",i)},dispose(){r.delete(a)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(a,f),h._poll())}};return h.patch(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);s.size;){const h=s.values().next().value;s.delete(h);const d=r.get(h);if(d){const y={tags:wc(d.input,e.propResolvers||[]).map(v=>Object.assign(v,d.options)),entry:d};await t.callHook("entries:normalize",y),d._tags=y.tags.map((v,I)=>(v._w=Ac(i,v),v._p=(d._i<<10)+I,v._d=Vr(v),v))}}let c=!1;l.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(zo).reduce((h,d)=>{const y=String(d._d||d._p);if(!h.has(y))return h.set(y,d);const v=h.get(y);if((d?.tagDuplicateStrategy||(vc.has(d.tag)?"merge":null)||(d.key&&d.key===v.key?"merge":null))==="merge"){const w={...v.props};Object.entries(d.props).forEach(([R,M])=>w[R]=R==="style"?new Map([...v.props.style||new Map,...M]):R==="class"?new Set([...v.props.class||new Set,...M]):M),h.set(y,{...d,props:w})}else d._p>>10===v._p>>10&&d.tag==="meta"&&ni(y)?(h.set(y,Object.assign([...Array.isArray(v)?v:[v],d],d)),c=!0):(d._w===v._w?d._p>v._p:d?._w<v?._w)&&h.set(y,d);return h},l.tagMap);const u=l.tagMap.get("title"),a=l.tagMap.get("titleTemplate");if(i._title=u?.textContent,a){const h=a?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:d}):(a.tag="title",a.textContent=d)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(zo)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const h of l.tags){const{innerHTML:d,tag:y,props:v}=h;if(gc.has(y)&&!(Object.keys(v).length===0&&!h.innerHTML&&!h.textContent)&&!(y==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(y==="script"&&d){if(String(v.type).endsWith("json")){const I=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=I.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));h._d=Vr(h)}f.push(h)}}return f},invalidate(){for(const l of r.values())s.add(l._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(l=>Yo(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}async function oi(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const s=new Map,i=new Promise(d=>{e.resolveTags().then(y=>{d(y.map(v=>{const I=s.get(v._d)||0,w={tag:v,id:(I?`${v._d}:${I}`:v._d)||Wo(v),shouldRender:!0};return v._d&&ni(v._d)&&s.set(v._d,I+1),w}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const y=n[d]?.children;for(const v of y){const I=v.tagName.toLowerCase();if(!qo.has(I))continue;const w=ri({tag:I,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((R,M)=>(R[M]=v.getAttribute(M),R),{})||{}});if(w.key=v.getAttribute("data-hid")||void 0,w._d=Vr(w)||Wo(w),l.elMap.has(w._d)){let R=1,M=w._d;for(;l.elMap.has(M);)M=`${w._d}:${R++}`;l.elMap.set(M,v)}else l.elMap.set(w._d,v)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function c(d,y,v){const I=`${d}:${y}`;l.sideEffects[I]=v,delete l.pendingSideEffects[I]}function u({id:d,$el:y,tag:v}){const I=v.tag.endsWith("Attrs");l.elMap.set(d,y),I||(v.textContent&&v.textContent!==y.textContent&&(y.textContent=v.textContent),v.innerHTML&&v.innerHTML!==y.innerHTML&&(y.innerHTML=v.innerHTML),c(d,"el",()=>{y?.remove(),l.elMap.delete(d)}));for(const w in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,w))continue;const R=v.props[w];if(w.startsWith("on")&&typeof R=="function"){const T=y?.dataset;if(T&&T[`${w}fired`]){const k=w.slice(0,-5);R.call(y,new Event(k.substring(2)))}y.getAttribute(`data-${w}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:y).addEventListener(w.substring(2),R.bind(y)),y.setAttribute(`data-${w}`,""));continue}const M=`attr:${w}`;if(w==="class"){if(!R)continue;for(const T of R)I&&c(d,`${M}:${T}`,()=>y.classList.remove(T)),!y.classList.contains(T)&&y.classList.add(T)}else if(w==="style"){if(!R)continue;for(const[T,k]of R)c(d,`${M}:${T}`,()=>{y.style.removeProperty(T)}),y.style.setProperty(T,k)}else R!==!1&&R!==null&&(y.getAttribute(w)!==R&&y.setAttribute(w,R===!0?"":String(R)),I&&c(d,M,()=>y.removeAttribute(w)))}}const a=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:y,shouldRender:v,id:I}=d;if(v){if(y.tag==="title"){n.title=y.textContent,c("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(I),d.$el?u(d):qo.has(y.tag)&&a.push(d)}}for(const d of a){const y=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[y]=f[y]||n.createDocumentFragment(),f[y].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xc(e={}){const t=e.domOptions?.render||oi;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Rc({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Ic(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function po(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Kt=[],Qe=()=>{},si=()=>!1,er=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ho=e=>e.startsWith("onUpdate:"),Re=Object.assign,go=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},kc=Object.prototype.hasOwnProperty,ce=(e,t)=>kc.call(e,t),Y=Array.isArray,qt=e=>tr(e)==="[object Map]",ii=e=>tr(e)==="[object Set]",Q=e=>typeof e=="function",ve=e=>typeof e=="string",dt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",li=e=>(pe(e)||Q(e))&&Q(e.then)&&Q(e.catch),ci=Object.prototype.toString,tr=e=>ci.call(e),Tc=e=>tr(e).slice(8,-1),ai=e=>tr(e)==="[object Object]",nr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=po(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Mc=/-\w/g,Be=rr(e=>e.replace(Mc,t=>t.slice(1).toUpperCase())),Lc=/\B([A-Z])/g,Et=rr(e=>e.replace(Lc,"-$1").toLowerCase()),or=rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Er=rr(e=>e?`on${or(e)}`:""),St=(e,t)=>!Object.is(e,t),Fn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ui=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Xo;const sr=()=>Xo||(Xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yo(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ve(r)?Dc(r):yo(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(ve(e)||pe(e))return e}const jc=/;(?![^(]*\))/g,Uc=/:([^]+)/,Nc=/\/\*[^]*?\*\//g;function Dc(e){const t={};return e.replace(Nc,"").split(jc).forEach(n=>{if(n){const r=n.split(Uc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function vo(e){let t="";if(ve(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const r=vo(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Hc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fc=po(Hc);function fi(e){return!!e||e===""}const di=e=>!!(e&&e.__v_isRef===!0),Bc=e=>ve(e)?e:e==null?"":Y(e)||pe(e)&&(e.toString===ci||!Q(e.toString))?di(e)?Bc(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>di(t)?pi(e,t.value):qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[wr(r,s)+" =>"]=o,n),{})}:ii(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wr(n))}:dt(t)?wr(t):pe(t)&&!Y(t)&&!ai(t)?String(t):t,wr=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let we;class hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.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=we;try{return we=this,t()}finally{we=n}}}on(){++this._on===1&&(this.prevScope=we,we=this)}off(){this._on>0&&--this._on===0&&(we=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function gi(e){return new hi(e)}function mi(){return we}function $c(e,t=!1){we&&we.cleanups.push(e)}let de;const Cr=new WeakSet;class yi{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,we&&we.active&&we.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cr.has(this)&&(Cr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Qo(this),_i(this);const t=de,n=$e;de=this,$e=!0;try{return this.fn()}finally{Si(this),de=t,$e=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)So(t);this.deps=this.depsTail=void 0,Qo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qr(this)&&this.run()}get dirty(){return qr(this)}}let vi=0,cn,an;function bi(e,t=!1){if(e.flags|=8,t){e.next=an,an=e;return}e.next=cn,cn=e}function bo(){vi++}function _o(){if(--vi>0)return;if(an){let t=an;for(an=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;cn;){let t=cn;for(cn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function _i(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Si(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),So(r),Vc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function qr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===yn)||(e.globalVersion=yn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qr(e))))return;e.flags|=2;const t=e.dep,n=de,r=$e;de=e,$e=!0;try{_i(e);const o=e.fn(e._value);(t.version===0||St(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{de=n,$e=r,Si(e),e.flags&=-3}}function So(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)So(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $e=!0;const Ei=[];function lt(){Ei.push($e),$e=!1}function ct(){const e=Ei.pop();$e=e===void 0?!0:e}function Qo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let yn=0;class Kc{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 Po{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(!de||!$e||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new Kc(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=r)}return n}trigger(t){this.version++,yn++,this.notify(t)}notify(t){bo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_o()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)wi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Kn=new WeakMap,Tt=Symbol(""),Wr=Symbol(""),vn=Symbol("");function Ce(e,t,n){if($e&&de){let r=Kn.get(e);r||Kn.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Po),o.map=r,o.key=n),o.track()}}function ot(e,t,n,r,o,s){const i=Kn.get(e);if(!i){yn++;return}const l=c=>{c&&c.trigger()};if(bo(),t==="clear")i.forEach(l);else{const c=Y(e),u=c&&nr(n);if(c&&n==="length"){const a=Number(r);i.forEach((f,h)=>{(h==="length"||h===vn||!dt(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(vn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Tt)),qt(e)&&l(i.get(Wr)));break;case"delete":c||(l(i.get(Tt)),qt(e)&&l(i.get(Wr)));break;case"set":qt(e)&&l(i.get(Tt));break}}_o()}function qc(e,t){const n=Kn.get(e);return n&&n.get(t)}function Ht(e){const t=ie(e);return t===e?t:(Ce(t,"iterate",vn),De(e)?t:t.map(Ve))}function ir(e){return Ce(e=ie(e),"iterate",vn),e}function yt(e,t){return at(e)?it(e)?Gt(Ve(t)):Gt(t):Ve(t)}const Wc={__proto__:null,[Symbol.iterator](){return Or(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>Y(t)?Ht(t):t))},entries(){return Or(this,"entries",e=>(e[1]=yt(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(r=>yt(this,r)),arguments)},find(e,t){return tt(this,"find",e,t,n=>yt(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>yt(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ar(this,"includes",e)},indexOf(...e){return Ar(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return Ar(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return tn(this,"pop")},push(...e){return tn(this,"push",e)},reduce(e,...t){return Zo(this,"reduce",e,t)},reduceRight(e,...t){return Zo(this,"reduceRight",e,t)},shift(){return tn(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return tn(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return tn(this,"unshift",e)},values(){return Or(this,"values",e=>yt(this,e))}};function Or(e,t,n){const r=ir(e),o=r[t]();return r!==e&&!De(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const zc=Array.prototype;function tt(e,t,n,r,o,s){const i=ir(e),l=i!==e&&!De(e),c=i[t];if(c!==zc[t]){const f=c.apply(e,s);return l?Ve(f):f}let u=n;i!==e&&(l?u=function(f,h){return n.call(this,yt(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const a=c.call(i,u,r);return l&&o?o(a):a}function Zo(e,t,n,r){const o=ir(e);let s=n;return o!==e&&(De(e)?n.length>3&&(s=function(i,l,c){return n.call(this,i,l,c,e)}):s=function(i,l,c){return n.call(this,i,yt(e,l),c,e)}),o[t](s,...r)}function Ar(e,t,n){const r=ie(e);Ce(r,"iterate",vn);const o=r[t](...n);return(o===-1||o===!1)&&lr(n[0])?(n[0]=ie(n[0]),r[t](...n)):o}function tn(e,t,n=[]){lt(),bo();const r=ie(e)[t].apply(e,n);return _o(),ct(),r}const Gc=po("__proto__,__v_isRef,__isVue"),Ci=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Jc(e){dt(e)||(e=String(e));const t=ie(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?sa:Ii:s?xi:Ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Y(t);if(!o){let c;if(i&&(c=Wc[n]))return c;if(n==="hasOwnProperty")return Jc}const l=Reflect.get(t,n,ye(t)?t:r);if((dt(n)?Ci.has(n):Gc(n))||(o||Ce(t,"get",n),s))return l;if(ye(l)){const c=i&&nr(n)?l:l.value;return o&&pe(c)?Gr(c):c}return pe(l)?o?Gr(l):Cn(l):l}}class Ai extends Oi{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=Y(t)&&nr(n);if(!this._isShallow){const u=at(s);if(!De(r)&&!at(r)&&(s=ie(s),r=ie(r)),!i&&ye(s)&&!ye(r))return u||(s.value=r),!0}const l=i?Number(n)<t.length:ce(t,n),c=Reflect.set(t,n,r,ye(t)?t:o);return t===ie(o)&&(l?St(r,s)&&ot(t,"set",n,r):ot(t,"add",n,r)),c}deleteProperty(t,n){const r=ce(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&ot(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!dt(n)||!Ci.has(n))&&Ce(t,"has",n),r}ownKeys(t){return Ce(t,"iterate",Y(t)?"length":Tt),Reflect.ownKeys(t)}}class Yc extends Oi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xc=new Ai,Qc=new Yc,Zc=new Ai(!0);const zr=e=>e,Un=e=>Reflect.getPrototypeOf(e);function ea(e,t,n){return function(...r){const o=this.__v_raw,s=ie(o),i=qt(s),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=o[e](...r),a=n?zr:t?Gt:Ve;return!t&&Ce(s,"iterate",c?Wr:Tt),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[a(f[0]),a(f[1])]:a(f),done:h}},[Symbol.iterator](){return this}}}}function Nn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ta(e,t){const n={get(o){const s=this.__v_raw,i=ie(s),l=ie(o);e||(St(o,l)&&Ce(i,"get",o),Ce(i,"get",l));const{has:c}=Un(i),u=t?zr:e?Gt:Ve;if(c.call(i,o))return u(s.get(o));if(c.call(i,l))return u(s.get(l));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ce(ie(o),"iterate",Tt),o.size},has(o){const s=this.__v_raw,i=ie(s),l=ie(o);return e||(St(o,l)&&Ce(i,"has",o),Ce(i,"has",l)),o===l?s.has(o):s.has(o)||s.has(l)},forEach(o,s){const i=this,l=i.__v_raw,c=ie(l),u=t?zr:e?Gt:Ve;return!e&&Ce(c,"iterate",Tt),l.forEach((a,f)=>o.call(s,u(a),u(f),i))}};return Re(n,e?{add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear")}:{add(o){!t&&!De(o)&&!at(o)&&(o=ie(o));const s=ie(this);return Un(s).has.call(s,o)||(s.add(o),ot(s,"add",o,o)),this},set(o,s){!t&&!De(s)&&!at(s)&&(s=ie(s));const i=ie(this),{has:l,get:c}=Un(i);let u=l.call(i,o);u||(o=ie(o),u=l.call(i,o));const a=c.call(i,o);return i.set(o,s),u?St(s,a)&&ot(i,"set",o,s):ot(i,"add",o,s),this},delete(o){const s=ie(this),{has:i,get:l}=Un(s);let c=i.call(s,o);c||(o=ie(o),c=i.call(s,o)),l&&l.call(s,o);const u=s.delete(o);return c&&ot(s,"delete",o,void 0),u},clear(){const o=ie(this),s=o.size!==0,i=o.clear();return s&&ot(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ea(o,e,t)}),n}function Eo(e,t){const n=ta(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ce(n,o)&&o in r?n:r,o,s)}const na={get:Eo(!1,!1)},ra={get:Eo(!1,!0)},oa={get:Eo(!0,!1)};const Ri=new WeakMap,xi=new WeakMap,Ii=new WeakMap,sa=new WeakMap;function ia(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function la(e){return e.__v_skip||!Object.isExtensible(e)?0:ia(Tc(e))}function Cn(e){return at(e)?e:wo(e,!1,Xc,na,Ri)}function ki(e){return wo(e,!1,Zc,ra,xi)}function Gr(e){return wo(e,!0,Qc,oa,Ii)}function wo(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=la(e);if(s===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function it(e){return at(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function lr(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Co(e){return!ce(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const Ve=e=>pe(e)?Cn(e):e,Gt=e=>pe(e)?Gr(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function Ae(e){return Ti(e,!1)}function Jr(e){return Ti(e,!0)}function Ti(e,t){return ye(e)?e:new ca(e,t)}class ca{constructor(t,n){this.dep=new Po,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:Ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||De(t)||at(t);t=r?t:ie(t),St(t,n)&&(this._rawValue=t,this._value=r?t:Ve(t),this.dep.trigger())}}function aa(e){e.dep&&e.dep.trigger()}function Mt(e){return ye(e)?e.value:e}const ua={get:(e,t,n)=>t==="__v_raw"?e:Mt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ye(o)&&!ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Mi(e){return it(e)?e:new Proxy(e,ua)}function fa(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=pa(e,n);return t}class da{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ie(t);let o=!0,s=t;if(!Y(t)||!nr(String(n)))do o=!lr(s)||De(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Mt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return qc(this._raw,this._key)}}function pa(e,t,n){return new da(e,t,n)}class ha{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Po(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return bi(this,!0),!0}get value(){const t=this.dep.track();return Pi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ga(e,t,n=!1){let r,o;return Q(e)?r=e:(r=e.get,o=e.set),new ha(r,o,n)}const Dn={},qn=new WeakMap;let It;function ma(e,t=!1,n=It){if(n){let r=qn.get(n);r||qn.set(n,r=[]),r.push(e)}}function ya(e,t,n=ue){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:l,call:c}=n,u=T=>o?T:De(T)||o===!1||o===0?st(T,1):st(T);let a,f,h,d,y=!1,v=!1;if(ye(e)?(f=()=>e.value,y=De(e)):it(e)?(f=()=>u(e),y=!0):Y(e)?(v=!0,y=e.some(T=>it(T)||De(T)),f=()=>e.map(T=>{if(ye(T))return T.value;if(it(T))return u(T);if(Q(T))return c?c(T,2):T()})):Q(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){lt();try{h()}finally{ct()}}const T=It;It=a;try{return c?c(e,3,[d]):e(d)}finally{It=T}}:f=Qe,t&&o){const T=f,k=o===!0?1/0:o;f=()=>st(T(),k)}const I=mi(),w=()=>{a.stop(),I&&I.active&&go(I.effects,a)};if(s&&t){const T=t;t=(...k)=>{T(...k),w()}}let R=v?new Array(e.length).fill(Dn):Dn;const M=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const k=a.run();if(o||y||(v?k.some((Z,z)=>St(Z,R[z])):St(k,R))){h&&h();const Z=It;It=a;try{const z=[k,R===Dn?void 0:v&&R[0]===Dn?[]:R,d];R=k,c?c(t,3,z):t(...z)}finally{It=Z}}}else a.run()};return l&&l(M),a=new yi(f),a.scheduler=i?()=>i(M,!1):M,d=T=>ma(T,!1,a),h=a.onStop=()=>{const T=qn.get(a);if(T){if(c)c(T,4);else for(const k of T)k();qn.delete(a)}},t?r?M(!0):R=a.run():i?i(M.bind(null,!0),!0):a.run(),w.pause=a.pause.bind(a),w.resume=a.resume.bind(a),w.stop=w,w}function st(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))st(e.value,t,n);else if(Y(e))for(let r=0;r<e.length;r++)st(e[r],t,n);else if(ii(e)||qt(e))e.forEach(r=>{st(r,t,n)});else if(ai(e)){for(const r in e)st(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&st(e[r],t,n)}return e}function On(e,t,n,r){try{return r?e(...r):e()}catch(o){cr(o,t,n)}}function et(e,t,n,r){if(Q(e)){const o=On(e,t,n,r);return o&&li(o)&&o.catch(s=>{cr(s,t,n)}),o}if(Y(e)){const o=[];for(let s=0;s<e.length;s++)o.push(et(e[s],t,n,r));return o}}function cr(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ue;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(s){lt(),On(s,null,10,[e,c,u]),ct();return}}va(e,n,o,r,i)}function va(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Te=[];let Ye=-1;const Wt=[];let vt=null,Bt=0;const Li=Promise.resolve();let Wn=null;function Oo(e){const t=Wn||Li;return e?t.then(this?e.bind(this):e):t}function ba(e){let t=Ye+1,n=Te.length;for(;t<n;){const r=t+n>>>1,o=Te[r],s=bn(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Ao(e){if(!(e.flags&1)){const t=bn(e),n=Te[Te.length-1];!n||!(e.flags&2)&&t>=bn(n)?Te.push(e):Te.splice(ba(t),0,e),e.flags|=1,ji()}}function ji(){Wn||(Wn=Li.then(Ni))}function _a(e){Y(e)?Wt.push(...e):vt&&e.id===-1?vt.splice(Bt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1),ji()}function es(e,t,n=Ye+1){for(;n<Te.length;n++){const r=Te[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Te.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ui(e){if(Wt.length){const t=[...new Set(Wt)].sort((n,r)=>bn(n)-bn(r));if(Wt.length=0,vt){vt.push(...t);return}for(vt=t,Bt=0;Bt<vt.length;Bt++){const n=vt[Bt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}vt=null,Bt=0}}const bn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ni(e){try{for(Ye=0;Ye<Te.length;Ye++){const t=Te[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),On(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<Te.length;Ye++){const t=Te[Ye];t&&(t.flags&=-2)}Ye=-1,Te.length=0,Ui(),Wn=null,(Te.length||Wt.length)&&Ni()}}let Ee=null,Di=null;function zn(e){const t=Ee;return Ee=e,Di=e&&e.type.__scopeId||null,t}function Hi(e,t=Ee,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Yn(-1);const s=zn(t);let i;try{i=e(...o)}finally{zn(s),r._d&&Yn(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function jh(e,t){if(Ee===null)return e;const n=dr(Ee),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,l,c=ue]=t[o];s&&(Q(s)&&(s={mounted:s,updated:s}),s.deep&&st(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let c=l.dir[r];c&&(lt(),et(c,n,8,[e.el,l,e,t]),ct())}}function Ze(e,t){if(Oe){let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function be(e,t,n=!1){const r=jo();if(r||Lt){let o=Lt?Lt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function Sa(){return!!(jo()||Lt)}const Pa=Symbol.for("v-scx"),Ea=()=>be(Pa);function wa(e,t){return Ro(e,null,t)}function Pt(e,t,n){return Ro(e,t,n)}function Ro(e,t,n=ue){const{immediate:r,deep:o,flush:s,once:i}=n,l=Re({},n),c=t&&r||!t&&s!=="post";let u;if(En){if(s==="sync"){const d=Ea();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!c){const d=()=>{};return d.stop=Qe,d.resume=Qe,d.pause=Qe,d}}const a=Oe;l.call=(d,y,v)=>et(d,a,y,v);let f=!1;s==="post"?l.scheduler=d=>{Ie(d,a&&a.suspense)}:s!=="sync"&&(f=!0,l.scheduler=(d,y)=>{y?d():Ao(d)}),l.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,a&&(d.id=a.uid,d.i=a))};const h=ya(e,t,l);return En&&(u?u.push(h):c&&h()),h}function Ca(e,t,n){const r=this.proxy,o=ve(e)?e.includes(".")?Fi(r,e):()=>r[e]:e.bind(r,r);let s;Q(t)?s=t:(s=t.handler,n=t);const i=xn(this),l=Ro(o,s.bind(r),n);return i(),l}function Fi(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Bi=Symbol("_vte"),Oa=e=>e.__isTeleport,un=e=>e&&(e.disabled||e.disabled===""),ts=e=>e&&(e.defer||e.defer===""),ns=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yr=(e,t)=>{const n=e&&e.to;return ve(n)?t?t(n):null:n},$i={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,l,c,u){const{mc:a,pc:f,pbc:h,o:{insert:d,querySelector:y,createText:v,createComment:I}}=u,w=un(t.props);let{shapeFlag:R,children:M,dynamicChildren:T}=t;if(e==null){const k=t.el=v(""),Z=t.anchor=v("");d(k,n,r),d(Z,n,r);const z=(p,_)=>{R&16&&a(M,p,_,o,s,i,l,c)},F=()=>{const p=t.target=Yr(t.props,y),_=Vi(p,t,v,d);p&&(i!=="svg"&&ns(p)?i="svg":i!=="mathml"&&rs(p)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(p),w||(z(p,_),Bn(t,!1)))};w&&(z(n,Z),Bn(t,!0)),ts(t.props)?(t.el.__isMounted=!1,Ie(()=>{F(),delete t.el.__isMounted},s)):F()}else{if(ts(t.props)&&e.el.__isMounted===!1){Ie(()=>{$i.process(e,t,n,r,o,s,i,l,c,u)},s);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,Z=t.target=e.target,z=t.targetAnchor=e.targetAnchor,F=un(e.props),p=F?n:Z,_=F?k:z;if(i==="svg"||ns(Z)?i="svg":(i==="mathml"||rs(Z))&&(i="mathml"),T?(h(e.dynamicChildren,T,p,o,s,i,l),Mo(e,t,!0)):c||f(e,t,p,_,o,s,i,l,!1),w)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hn(t,n,k,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const C=t.target=Yr(t.props,y);C&&Hn(t,C,null,u,0)}else F&&Hn(t,Z,z,u,1);Bn(t,w)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:h}=e;if(f&&(o(u),o(a)),s&&o(c),i&16){const d=s||!un(h);for(let y=0;y<l.length;y++){const v=l[y];r(v,t,n,d,!!v.dynamicChildren)}}},move:Hn,hydrate:Aa};function Hn(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:u,props:a}=e,f=s===2;if(f&&r(i,t,n),(!f||un(a))&&c&16)for(let h=0;h<u.length;h++)o(u[h],t,n,2);f&&r(l,t,n)}function Aa(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:u,createText:a}},f){function h(v,I,w,R){I.anchor=f(i(v),I,l(v),n,r,o,s),I.targetStart=w,I.targetAnchor=R}const d=t.target=Yr(t.props,c),y=un(t.props);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(y)h(e,t,v,v&&i(v));else{t.anchor=i(e);let I=v;for(;I;){if(I&&I.nodeType===8){if(I.data==="teleport start anchor")t.targetStart=I;else if(I.data==="teleport anchor"){t.targetAnchor=I,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}I=i(I)}t.targetAnchor||Vi(d,t,a,u),f(v&&i(v),t,d,n,r,o,s)}Bn(t,y)}else y&&t.shapeFlag&16&&h(e,t,e,i(e));return t.anchor&&i(t.anchor)}const Ra=$i;function Bn(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Vi(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[Bi]=s,e&&(r(o,e),r(s,e)),s}const xa=Symbol("_leaveCb");function xo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xo(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 he(e,t){return Q(e)?Re({name:e.name},t,{setup:e}):e}function Ki(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Gn=new WeakMap;function fn(e,t,n,r,o=!1){if(Y(e)){e.forEach((y,v)=>fn(y,t&&(Y(t)?t[v]:t),n,r,o));return}if(zt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&fn(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?dr(r.component):r.el,i=o?null:s,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ue?l.refs={}:l.refs,f=l.setupState,h=ie(f),d=f===ue?si:y=>ce(h,y);if(u!=null&&u!==c){if(os(t),ve(u))a[u]=null,d(u)&&(f[u]=null);else if(ye(u)){u.value=null;const y=t;y.k&&(a[y.k]=null)}}if(Q(c))On(c,l,12,[i,a]);else{const y=ve(c),v=ye(c);if(y||v){const I=()=>{if(e.f){const w=y?d(c)?f[c]:a[c]:c.value;if(o)Y(w)&&go(w,s);else if(Y(w))w.includes(s)||w.push(s);else if(y)a[c]=[s],d(c)&&(f[c]=a[c]);else{const R=[s];c.value=R,e.k&&(a[e.k]=R)}}else y?(a[c]=i,d(c)&&(f[c]=i)):v&&(c.value=i,e.k&&(a[e.k]=i))};if(i){const w=()=>{I(),Gn.delete(e)};w.id=-1,Gn.set(e,w),Ie(w,n)}else os(e),I()}}}function os(e){const t=Gn.get(e);t&&(t.flags|=8,Gn.delete(e))}sr().requestIdleCallback;sr().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,qi=e=>e.type.__isKeepAlive;function Ia(e,t){Wi(e,"a",t)}function ka(e,t){Wi(e,"da",t)}function Wi(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ar(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&Ta(r,t,n,o),o=o.parent}}function Ta(e,t,n,r){const o=ar(t,e,r,!0);Io(()=>{go(r[t],o)},n)}function ar(e,t,n=Oe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{lt();const l=xn(n),c=et(t,n,e,i);return l(),ct(),c});return r?o.unshift(s):o.push(s),s}}const pt=e=>(t,n=Oe)=>{(!En||e==="sp")&&ar(e,(...r)=>t(...r),n)},Ma=pt("bm"),zi=pt("m"),La=pt("bu"),ja=pt("u"),Ua=pt("bum"),Io=pt("um"),Na=pt("sp"),Da=pt("rtg"),Ha=pt("rtc");function Fa(e,t=Oe){ar("ec",e,t)}const Gi="components";function Ba(e,t){return Yi(Gi,e,!0,t)||e}const Ji=Symbol.for("v-ndc");function $a(e){return ve(e)?Yi(Gi,e,!1)||e:e||Ji}function Yi(e,t,n=!0,r=!1){const o=Ee||Oe;if(o){const s=o.type;{const l=Au(s,!1);if(l&&(l===t||l===Be(t)||l===or(Be(t))))return s}const i=ss(o[e]||s[e],t)||ss(o.appContext[e],t);return!i&&r?s:i}}function ss(e,t){return e&&(e[t]||e[Be(t)]||e[or(Be(t))])}function Uh(e,t,n,r){let o;const s=n,i=Y(e);if(i||ve(e)){const l=i&&it(e);let c=!1,u=!1;l&&(c=!De(e),u=at(e),e=ir(e)),o=new Array(e.length);for(let a=0,f=e.length;a<f;a++)o[a]=t(c?u?Gt(Ve(e[a])):Ve(e[a]):e[a],a,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s)}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,s));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];o[c]=t(e[a],a,c,s)}}else o=[];return o}function An(e,t,n={},r,o){if(Ee.ce||Ee.parent&&zt(Ee.parent)&&Ee.parent.ce){const u=Object.keys(n).length>0;return ft(),Sn(Pe,null,[me("slot",n,r)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ft();const i=s&&Xi(s(n)),l=n.key||i&&i.key,c=Sn(Pe,{key:(l&&!dt(l)?l:`_${t}`)+(!i&&r?"_fb":"")},i||[],i&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Xi(e){return e.some(t=>Pn(t)?!(t.type===ut||t.type===Pe&&!Xi(t.children)):!0)?e:null}const Xr=e=>e?vl(e)?dr(e):Xr(e.parent):null,dn=Re(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=>Xr(e.parent),$root:e=>Xr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>el(e),$forceUpdate:e=>e.f||(e.f=()=>{Ao(e.update)}),$nextTick:e=>e.n||(e.n=Oo.bind(e.proxy)),$watch:e=>Ca.bind(e)}),Rr=(e,t)=>e!==ue&&!e.__isScriptSetup&&ce(e,t),Va={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Rr(r,t))return i[t]=1,r[t];if(o!==ue&&ce(o,t))return i[t]=2,o[t];if(ce(s,t))return i[t]=3,s[t];if(n!==ue&&ce(n,t))return i[t]=4,n[t];Qr&&(i[t]=0)}}const u=dn[t];let a,f;if(u)return t==="$attrs"&&Ce(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ue&&ce(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,ce(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Rr(o,t)?(o[t]=n,!0):r!==ue&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},l){let c;return!!(n[l]||e!==ue&&l[0]!=="$"&&ce(e,l)||Rr(t,l)||ce(s,l)||ce(r,l)||ce(dn,l)||ce(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ka(){return Qi().slots}function qa(){return Qi().attrs}function Qi(e){const t=jo();return t.setupContext||(t.setupContext=_l(t))}function is(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qr=!0;function Wa(e){const t=el(e),n=e.proxy,r=e.ctx;Qr=!1,t.beforeCreate&&ls(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:d,updated:y,activated:v,deactivated:I,beforeDestroy:w,beforeUnmount:R,destroyed:M,unmounted:T,render:k,renderTracked:Z,renderTriggered:z,errorCaptured:F,serverPrefetch:p,expose:_,inheritAttrs:C,components:j,directives:O,filters:N}=t;if(u&&za(u,r,null),i)for(const J in i){const te=i[J];Q(te)&&(r[J]=te.bind(n))}if(o){const J=o.call(n,n);pe(J)&&(e.data=Cn(J))}if(Qr=!0,s)for(const J in s){const te=s[J],G=Q(te)?te.bind(n,n):Q(te.get)?te.get.bind(n,n):Qe,re=!Q(te)&&Q(te.set)?te.set.bind(n):Qe,He=ee({get:G,set:re});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>He.value,set:Me=>He.value=Me})}if(l)for(const J in l)Zi(l[J],r,n,J);if(c){const J=Q(c)?c.call(n):c;Reflect.ownKeys(J).forEach(te=>{Ze(te,J[te])})}a&&ls(a,e,"c");function ne(J,te){Y(te)?te.forEach(G=>J(G.bind(n))):te&&J(te.bind(n))}if(ne(Ma,f),ne(zi,h),ne(La,d),ne(ja,y),ne(Ia,v),ne(ka,I),ne(Fa,F),ne(Ha,Z),ne(Da,z),ne(Ua,R),ne(Io,T),ne(Na,p),Y(_))if(_.length){const J=e.exposed||(e.exposed={});_.forEach(te=>{Object.defineProperty(J,te,{get:()=>n[te],set:G=>n[te]=G,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Qe&&(e.render=k),C!=null&&(e.inheritAttrs=C),j&&(e.components=j),O&&(e.directives=O),p&&Ki(e)}function za(e,t,n=Qe){Y(e)&&(e=Zr(e));for(const r in e){const o=e[r];let s;pe(o)?"default"in o?s=be(o.from||r,o.default,!0):s=be(o.from||r):s=be(o),ye(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function ls(e,t,n){et(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zi(e,t,n,r){let o=r.includes(".")?Fi(n,r):()=>n[r];if(ve(e)){const s=t[e];Q(s)&&Pt(o,s)}else if(Q(e))Pt(o,e.bind(n));else if(pe(e))if(Y(e))e.forEach(s=>Zi(s,t,n,r));else{const s=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(s)&&Pt(o,s,e)}}function el(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(u=>Jn(c,u,i,!0)),Jn(c,t,i)),pe(t)&&s.set(t,c),c}function Jn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Jn(e,s,n,!0),o&&o.forEach(i=>Jn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ga[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ga={data:cs,props:as,emits:as,methods:sn,computed:sn,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:sn,directives:sn,watch:Ya,provide:cs,inject:Ja};function cs(e,t){return t?e?function(){return Re(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ja(e,t){return sn(Zr(e),Zr(t))}function Zr(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xe(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?Re(Object.create(null),e,t):t}function as(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:Re(Object.create(null),is(e),is(t??{})):t}function Ya(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=xe(e[r],t[r]);return n}function tl(){return{app:null,config:{isNativeTag:si,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 Xa=0;function Qa(e,t){return function(r,o=null){Q(r)||(r=Re({},r)),o!=null&&!pe(o)&&(o=null);const s=tl(),i=new WeakSet,l=[];let c=!1;const u=s.app={_uid:Xa++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:xu,get config(){return s.config},set config(a){},use(a,...f){return i.has(a)||(a&&Q(a.install)?(i.add(a),a.install(u,...f)):Q(a)&&(i.add(a),a(u,...f))),u},mixin(a){return s.mixins.includes(a)||s.mixins.push(a),u},component(a,f){return f?(s.components[a]=f,u):s.components[a]},directive(a,f){return f?(s.directives[a]=f,u):s.directives[a]},mount(a,f,h){if(!c){const d=u._ceVNode||me(r,o);return d.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),e(d,a,h),c=!0,u._container=a,a.__vue_app__=u,dr(d.component)}},onUnmount(a){l.push(a)},unmount(){c&&(et(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return s.provides[a]=f,u},runWithContext(a){const f=Lt;Lt=u;try{return a()}finally{Lt=f}}};return u}}let Lt=null;const Za=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Be(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function eu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ue;let o=n;const s=t.startsWith("update:"),i=s&&Za(r,t.slice(7));i&&(i.trim&&(o=n.map(a=>ve(a)?a.trim():a)),i.number&&(o=n.map(mo)));let l,c=r[l=Er(t)]||r[l=Er(Be(t))];!c&&s&&(c=r[l=Er(Et(t))]),c&&et(c,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,et(u,e,6,o)}}const tu=new WeakMap;function nl(e,t,n=!1){const r=n?tu:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!Q(e)){const c=u=>{const a=nl(u,t,!0);a&&(l=!0,Re(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!l?(pe(e)&&r.set(e,null),null):(Y(s)?s.forEach(c=>i[c]=null):Re(i,s),pe(e)&&r.set(e,i),i)}function ur(e,t){return!e||!er(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Et(t))||ce(e,t))}function us(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:h,setupState:d,ctx:y,inheritAttrs:v}=e,I=zn(e);let w,R;try{if(n.shapeFlag&4){const T=o||r,k=T;w=Xe(u.call(k,T,a,f,d,h,y)),R=l}else{const T=t;w=Xe(T.length>1?T(f,{attrs:l,slots:i,emit:c}):T(f,null)),R=t.props?l:nu(l)}}catch(T){pn.length=0,cr(T,e,1),w=me(ut)}let M=w;if(R&&v!==!1){const T=Object.keys(R),{shapeFlag:k}=M;T.length&&k&7&&(s&&T.some(ho)&&(R=ru(R,s)),M=Jt(M,R,!1,!0))}return n.dirs&&(M=Jt(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&xo(M,n.transition),w=M,zn(I),w}const nu=e=>{let t;for(const n in e)(n==="class"||n==="style"||er(n))&&((t||(t={}))[n]=e[n]);return t},ru=(e,t)=>{const n={};for(const r in e)(!ho(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ou(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?fs(r,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(i[h]!==r[h]&&!ur(u,h))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?fs(r,i,u):!0:!!i;return!1}function fs(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!ur(n,s))return!0}return!1}function su({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const rl={},ol=()=>Object.create(rl),sl=e=>Object.getPrototypeOf(e)===rl;function iu(e,t,n,r=!1){const o={},s=ol();e.propsDefaults=Object.create(null),il(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:ki(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function lu(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ie(o),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let h=a[f];if(ur(e.emitsOptions,h))continue;const d=t[h];if(c)if(ce(s,h))d!==s[h]&&(s[h]=d,u=!0);else{const y=Be(h);o[y]=eo(c,l,y,d,e,!1)}else d!==s[h]&&(s[h]=d,u=!0)}}}else{il(e,t,o,s)&&(u=!0);let a;for(const f in l)(!t||!ce(t,f)&&((a=Et(f))===f||!ce(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(o[f]=eo(c,l,f,void 0,e,!0)):delete o[f]);if(s!==l)for(const f in s)(!t||!ce(t,f))&&(delete s[f],u=!0)}u&&ot(e.attrs,"set","")}function il(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(ln(c))continue;const u=t[c];let a;o&&ce(o,a=Be(c))?!s||!s.includes(a)?n[a]=u:(l||(l={}))[a]=u:ur(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,i=!0)}if(s){const c=ie(n),u=l||ue;for(let a=0;a<s.length;a++){const f=s[a];n[f]=eo(o,c,f,u[f],e,!ce(u,f))}}return i}function eo(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=ce(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&Q(c)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const a=xn(o);r=u[n]=c.call(null,t),a()}}else r=c;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===Et(n))&&(r=!0))}return r}const cu=new WeakMap;function ll(e,t,n=!1){const r=n?cu:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let c=!1;if(!Q(e)){const a=f=>{c=!0;const[h,d]=ll(f,t,!0);Re(i,h),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!s&&!c)return pe(e)&&r.set(e,Kt),Kt;if(Y(s))for(let a=0;a<s.length;a++){const f=Be(s[a]);ds(f)&&(i[f]=ue)}else if(s)for(const a in s){const f=Be(a);if(ds(f)){const h=s[a],d=i[f]=Y(h)||Q(h)?{type:h}:Re({},h),y=d.type;let v=!1,I=!0;if(Y(y))for(let w=0;w<y.length;++w){const R=y[w],M=Q(R)&&R.name;if(M==="Boolean"){v=!0;break}else M==="String"&&(I=!1)}else v=Q(y)&&y.name==="Boolean";d[0]=v,d[1]=I,(v||ce(d,"default"))&&l.push(f)}}const u=[i,l];return pe(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!ln(e)}const ko=e=>e==="_"||e==="_ctx"||e==="$stable",To=e=>Y(e)?e.map(Xe):[Xe(e)],au=(e,t,n)=>{if(t._n)return t;const r=Hi((...o)=>To(t(...o)),n);return r._c=!1,r},cl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ko(o))continue;const s=e[o];if(Q(s))t[o]=au(o,s,r);else if(s!=null){const i=To(s);t[o]=()=>i}}},al=(e,t)=>{const n=To(t);e.slots.default=()=>n},ul=(e,t,n)=>{for(const r in t)(n||!ko(r))&&(e[r]=t[r])},uu=(e,t,n)=>{const r=e.slots=ol();if(e.vnode.shapeFlag&32){const o=t._;o?(ul(r,t,n),n&&ui(r,"_",o,!0)):cl(t,r)}else t&&al(e,t)},fu=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ue;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:ul(o,t,n):(s=!t.$stable,cl(t,o)),i=t}else t&&(al(e,t),i={default:1});if(s)for(const l in o)!ko(l)&&i[l]==null&&delete o[l]},Ie=mu;function du(e){return pu(e)}function pu(e,t){const n=sr();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:d=Qe,insertStaticContent:y}=e,v=(g,m,b,S=null,A=null,P=null,D=void 0,U=null,L=!!m.dynamicChildren)=>{if(g===m)return;g&&!nn(g,m)&&(S=E(g),Me(g,A,P,!0),g=null),m.patchFlag===-2&&(L=!1,m.dynamicChildren=null);const{type:x,ref:W,shapeFlag:B}=m;switch(x){case Rn:I(g,m,b,S);break;case ut:w(g,m,b,S);break;case Ir:g==null&&R(m,b,S,D);break;case Pe:j(g,m,b,S,A,P,D,U,L);break;default:B&1?k(g,m,b,S,A,P,D,U,L):B&6?O(g,m,b,S,A,P,D,U,L):(B&64||B&128)&&x.process(g,m,b,S,A,P,D,U,L,K)}W!=null&&A?fn(W,g&&g.ref,P,m||g,!m):W==null&&g&&g.ref!=null&&fn(g.ref,null,P,g,!0)},I=(g,m,b,S)=>{if(g==null)r(m.el=l(m.children),b,S);else{const A=m.el=g.el;m.children!==g.children&&u(A,m.children)}},w=(g,m,b,S)=>{g==null?r(m.el=c(m.children||""),b,S):m.el=g.el},R=(g,m,b,S)=>{[g.el,g.anchor]=y(g.children,m,b,S,g.el,g.anchor)},M=({el:g,anchor:m},b,S)=>{let A;for(;g&&g!==m;)A=h(g),r(g,b,S),g=A;r(m,b,S)},T=({el:g,anchor:m})=>{let b;for(;g&&g!==m;)b=h(g),o(g),g=b;o(m)},k=(g,m,b,S,A,P,D,U,L)=>{if(m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),g==null)Z(m,b,S,A,P,D,U,L);else{const x=g.el&&g.el._isVueCE?g.el:null;try{x&&x._beginPatch(),p(g,m,A,P,D,U,L)}finally{x&&x._endPatch()}}},Z=(g,m,b,S,A,P,D,U)=>{let L,x;const{props:W,shapeFlag:B,transition:q,dirs:X}=g;if(L=g.el=i(g.type,P,W&&W.is,W),B&8?a(L,g.children):B&16&&F(g.children,L,null,S,A,xr(g,P),D,U),X&&Ct(g,null,S,"created"),z(L,g,g.scopeId,D,S),W){for(const fe in W)fe!=="value"&&!ln(fe)&&s(L,fe,null,W[fe],P,S);"value"in W&&s(L,"value",null,W.value,P),(x=W.onVnodeBeforeMount)&&Je(x,S,g)}X&&Ct(g,null,S,"beforeMount");const se=hu(A,q);se&&q.beforeEnter(L),r(L,m,b),((x=W&&W.onVnodeMounted)||se||X)&&Ie(()=>{x&&Je(x,S,g),se&&q.enter(L),X&&Ct(g,null,S,"mounted")},A)},z=(g,m,b,S,A)=>{if(b&&d(g,b),S)for(let P=0;P<S.length;P++)d(g,S[P]);if(A){let P=A.subTree;if(m===P||pl(P.type)&&(P.ssContent===m||P.ssFallback===m)){const D=A.vnode;z(g,D,D.scopeId,D.slotScopeIds,A.parent)}}},F=(g,m,b,S,A,P,D,U,L=0)=>{for(let x=L;x<g.length;x++){const W=g[x]=U?bt(g[x]):Xe(g[x]);v(null,W,m,b,S,A,P,D,U)}},p=(g,m,b,S,A,P,D)=>{const U=m.el=g.el;let{patchFlag:L,dynamicChildren:x,dirs:W}=m;L|=g.patchFlag&16;const B=g.props||ue,q=m.props||ue;let X;if(b&&Ot(b,!1),(X=q.onVnodeBeforeUpdate)&&Je(X,b,m,g),W&&Ct(m,g,b,"beforeUpdate"),b&&Ot(b,!0),(B.innerHTML&&q.innerHTML==null||B.textContent&&q.textContent==null)&&a(U,""),x?_(g.dynamicChildren,x,U,b,S,xr(m,A),P):D||te(g,m,U,null,b,S,xr(m,A),P,!1),L>0){if(L&16)C(U,B,q,b,A);else if(L&2&&B.class!==q.class&&s(U,"class",null,q.class,A),L&4&&s(U,"style",B.style,q.style,A),L&8){const se=m.dynamicProps;for(let fe=0;fe<se.length;fe++){const ae=se[fe],Le=B[ae],je=q[ae];(je!==Le||ae==="value")&&s(U,ae,Le,je,A,b)}}L&1&&g.children!==m.children&&a(U,m.children)}else!D&&x==null&&C(U,B,q,b,A);((X=q.onVnodeUpdated)||W)&&Ie(()=>{X&&Je(X,b,m,g),W&&Ct(m,g,b,"updated")},S)},_=(g,m,b,S,A,P,D)=>{for(let U=0;U<m.length;U++){const L=g[U],x=m[U],W=L.el&&(L.type===Pe||!nn(L,x)||L.shapeFlag&198)?f(L.el):b;v(L,x,W,null,S,A,P,D,!0)}},C=(g,m,b,S,A)=>{if(m!==b){if(m!==ue)for(const P in m)!ln(P)&&!(P in b)&&s(g,P,m[P],null,A,S);for(const P in b){if(ln(P))continue;const D=b[P],U=m[P];D!==U&&P!=="value"&&s(g,P,U,D,A,S)}"value"in b&&s(g,"value",m.value,b.value,A)}},j=(g,m,b,S,A,P,D,U,L)=>{const x=m.el=g?g.el:l(""),W=m.anchor=g?g.anchor:l("");let{patchFlag:B,dynamicChildren:q,slotScopeIds:X}=m;X&&(U=U?U.concat(X):X),g==null?(r(x,b,S),r(W,b,S),F(m.children||[],b,W,A,P,D,U,L)):B>0&&B&64&&q&&g.dynamicChildren&&g.dynamicChildren.length===q.length?(_(g.dynamicChildren,q,b,A,P,D,U),(m.key!=null||A&&m===A.subTree)&&Mo(g,m,!0)):te(g,m,b,W,A,P,D,U,L)},O=(g,m,b,S,A,P,D,U,L)=>{m.slotScopeIds=U,g==null?m.shapeFlag&512?A.ctx.activate(m,b,S,D,L):N(m,b,S,A,P,D,L):V(g,m,L)},N=(g,m,b,S,A,P,D)=>{const U=g.component=Eu(g,S,A);if(qi(g)&&(U.ctx.renderer=K),wu(U,!1,D),U.asyncDep){if(A&&A.registerDep(U,ne,D),!g.el){const L=U.subTree=me(ut);w(null,L,m,b),g.placeholder=L.el}}else ne(U,g,m,b,A,P,D)},V=(g,m,b)=>{const S=m.component=g.component;if(ou(g,m,b))if(S.asyncDep&&!S.asyncResolved){J(S,m,b);return}else S.next=m,S.update();else m.el=g.el,S.vnode=m},ne=(g,m,b,S,A,P,D)=>{const U=()=>{if(g.isMounted){let{next:B,bu:q,u:X,parent:se,vnode:fe}=g;{const ze=fl(g);if(ze){B&&(B.el=fe.el,J(g,B,D)),ze.asyncDep.then(()=>{g.isUnmounted||U()});return}}let ae=B,Le;Ot(g,!1),B?(B.el=fe.el,J(g,B,D)):B=fe,q&&Fn(q),(Le=B.props&&B.props.onVnodeBeforeUpdate)&&Je(Le,se,B,fe),Ot(g,!0);const je=us(g),We=g.subTree;g.subTree=je,v(We,je,f(We.el),E(We),g,A,P),B.el=je.el,ae===null&&su(g,je.el),X&&Ie(X,A),(Le=B.props&&B.props.onVnodeUpdated)&&Ie(()=>Je(Le,se,B,fe),A)}else{let B;const{el:q,props:X}=m,{bm:se,m:fe,parent:ae,root:Le,type:je}=g,We=zt(m);Ot(g,!1),se&&Fn(se),!We&&(B=X&&X.onVnodeBeforeMount)&&Je(B,ae,m),Ot(g,!0);{Le.ce&&Le.ce._def.shadowRoot!==!1&&Le.ce._injectChildStyle(je);const ze=g.subTree=us(g);v(null,ze,b,S,g,A,P),m.el=ze.el}if(fe&&Ie(fe,A),!We&&(B=X&&X.onVnodeMounted)){const ze=m;Ie(()=>Je(B,ae,ze),A)}(m.shapeFlag&256||ae&&zt(ae.vnode)&&ae.vnode.shapeFlag&256)&&g.a&&Ie(g.a,A),g.isMounted=!0,m=b=S=null}};g.scope.on();const L=g.effect=new yi(U);g.scope.off();const x=g.update=L.run.bind(L),W=g.job=L.runIfDirty.bind(L);W.i=g,W.id=g.uid,L.scheduler=()=>Ao(W),Ot(g,!0),x()},J=(g,m,b)=>{m.component=g;const S=g.vnode.props;g.vnode=m,g.next=null,lu(g,m.props,S,b),fu(g,m.children,b),lt(),es(g),ct()},te=(g,m,b,S,A,P,D,U,L=!1)=>{const x=g&&g.children,W=g?g.shapeFlag:0,B=m.children,{patchFlag:q,shapeFlag:X}=m;if(q>0){if(q&128){re(x,B,b,S,A,P,D,U,L);return}else if(q&256){G(x,B,b,S,A,P,D,U,L);return}}X&8?(W&16&&Fe(x,A,P),B!==x&&a(b,B)):W&16?X&16?re(x,B,b,S,A,P,D,U,L):Fe(x,A,P,!0):(W&8&&a(b,""),X&16&&F(B,b,S,A,P,D,U,L))},G=(g,m,b,S,A,P,D,U,L)=>{g=g||Kt,m=m||Kt;const x=g.length,W=m.length,B=Math.min(x,W);let q;for(q=0;q<B;q++){const X=m[q]=L?bt(m[q]):Xe(m[q]);v(g[q],X,b,null,A,P,D,U,L)}x>W?Fe(g,A,P,!0,!1,B):F(m,b,S,A,P,D,U,L,B)},re=(g,m,b,S,A,P,D,U,L)=>{let x=0;const W=m.length;let B=g.length-1,q=W-1;for(;x<=B&&x<=q;){const X=g[x],se=m[x]=L?bt(m[x]):Xe(m[x]);if(nn(X,se))v(X,se,b,null,A,P,D,U,L);else break;x++}for(;x<=B&&x<=q;){const X=g[B],se=m[q]=L?bt(m[q]):Xe(m[q]);if(nn(X,se))v(X,se,b,null,A,P,D,U,L);else break;B--,q--}if(x>B){if(x<=q){const X=q+1,se=X<W?m[X].el:S;for(;x<=q;)v(null,m[x]=L?bt(m[x]):Xe(m[x]),b,se,A,P,D,U,L),x++}}else if(x>q)for(;x<=B;)Me(g[x],A,P,!0),x++;else{const X=x,se=x,fe=new Map;for(x=se;x<=q;x++){const Ue=m[x]=L?bt(m[x]):Xe(m[x]);Ue.key!=null&&fe.set(Ue.key,x)}let ae,Le=0;const je=q-se+1;let We=!1,ze=0;const Zt=new Array(je);for(x=0;x<je;x++)Zt[x]=0;for(x=X;x<=B;x++){const Ue=g[x];if(Le>=je){Me(Ue,A,P,!0);continue}let Ge;if(Ue.key!=null)Ge=fe.get(Ue.key);else for(ae=se;ae<=q;ae++)if(Zt[ae-se]===0&&nn(Ue,m[ae])){Ge=ae;break}Ge===void 0?Me(Ue,A,P,!0):(Zt[Ge-se]=x+1,Ge>=ze?ze=Ge:We=!0,v(Ue,m[Ge],b,null,A,P,D,U,L),Le++)}const $o=We?gu(Zt):Kt;for(ae=$o.length-1,x=je-1;x>=0;x--){const Ue=se+x,Ge=m[Ue],Vo=m[Ue+1],Ko=Ue+1<W?Vo.el||dl(Vo):S;Zt[x]===0?v(null,Ge,b,Ko,A,P,D,U,L):We&&(ae<0||x!==$o[ae]?He(Ge,b,Ko,2):ae--)}}},He=(g,m,b,S,A=null)=>{const{el:P,type:D,transition:U,children:L,shapeFlag:x}=g;if(x&6){He(g.component.subTree,m,b,S);return}if(x&128){g.suspense.move(m,b,S);return}if(x&64){D.move(g,m,b,K);return}if(D===Pe){r(P,m,b);for(let B=0;B<L.length;B++)He(L[B],m,b,S);r(g.anchor,m,b);return}if(D===Ir){M(g,m,b);return}if(S!==2&&x&1&&U)if(S===0)U.beforeEnter(P),r(P,m,b),Ie(()=>U.enter(P),A);else{const{leave:B,delayLeave:q,afterLeave:X}=U,se=()=>{g.ctx.isUnmounted?o(P):r(P,m,b)},fe=()=>{P._isLeaving&&P[xa](!0),B(P,()=>{se(),X&&X()})};q?q(P,se,fe):fe()}else r(P,m,b)},Me=(g,m,b,S=!1,A=!1)=>{const{type:P,props:D,ref:U,children:L,dynamicChildren:x,shapeFlag:W,patchFlag:B,dirs:q,cacheIndex:X}=g;if(B===-2&&(A=!1),U!=null&&(lt(),fn(U,null,b,g,!0),ct()),X!=null&&(m.renderCache[X]=void 0),W&256){m.ctx.deactivate(g);return}const se=W&1&&q,fe=!zt(g);let ae;if(fe&&(ae=D&&D.onVnodeBeforeUnmount)&&Je(ae,m,g),W&6)wt(g.component,b,S);else{if(W&128){g.suspense.unmount(b,S);return}se&&Ct(g,null,m,"beforeUnmount"),W&64?g.type.remove(g,m,b,K,S):x&&!x.hasOnce&&(P!==Pe||B>0&&B&64)?Fe(x,m,b,!1,!0):(P===Pe&&B&384||!A&&W&16)&&Fe(L,m,b),S&&Nt(g)}(fe&&(ae=D&&D.onVnodeUnmounted)||se)&&Ie(()=>{ae&&Je(ae,m,g),se&&Ct(g,null,m,"unmounted")},b)},Nt=g=>{const{type:m,el:b,anchor:S,transition:A}=g;if(m===Pe){Dt(b,S);return}if(m===Ir){T(g);return}const P=()=>{o(b),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(g.shapeFlag&1&&A&&!A.persisted){const{leave:D,delayLeave:U}=A,L=()=>D(b,P);U?U(g.el,P,L):L()}else P()},Dt=(g,m)=>{let b;for(;g!==m;)b=h(g),o(g),g=b;o(m)},wt=(g,m,b)=>{const{bum:S,scope:A,job:P,subTree:D,um:U,m:L,a:x}=g;ps(L),ps(x),S&&Fn(S),A.stop(),P&&(P.flags|=8,Me(D,g,m,b)),U&&Ie(U,m),Ie(()=>{g.isUnmounted=!0},m)},Fe=(g,m,b,S=!1,A=!1,P=0)=>{for(let D=P;D<g.length;D++)Me(g[D],m,b,S,A)},E=g=>{if(g.shapeFlag&6)return E(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const m=h(g.anchor||g.el),b=m&&m[Bi];return b?h(b):m};let $=!1;const H=(g,m,b)=>{let S;g==null?m._vnode&&(Me(m._vnode,null,null,!0),S=m._vnode.component):v(m._vnode||null,g,m,null,null,null,b),m._vnode=g,$||($=!0,es(S),Ui(),$=!1)},K={p:v,um:Me,m:He,r:Nt,mt:N,mc:F,pc:te,pbc:_,n:E,o:e};return{render:H,hydrate:void 0,createApp:Qa(H)}}function xr({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 Ot({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mo(e,t,n=!1){const r=e.children,o=t.children;if(Y(r)&&Y(o))for(let s=0;s<r.length;s++){const i=r[s];let l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=bt(o[s]),l.el=i.el),!n&&l.patchFlag!==-2&&Mo(i,l)),l.type===Rn&&(l.patchFlag!==-1?l.el=i.el:l.__elIndex=s+(e.type===Pe?1:0)),l.type===ut&&!l.el&&(l.el=i.el)}}function gu(e){const t=e.slice(),n=[0];let r,o,s,i,l;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<u?s=l+1:i=l;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function fl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fl(t)}function ps(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function dl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?dl(t.subTree):null}const pl=e=>e.__isSuspense;function mu(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):_a(e)}const Pe=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),pn=[];let Ne=null;function ft(e=!1){pn.push(Ne=e?null:[])}function yu(){pn.pop(),Ne=pn[pn.length-1]||null}let _n=1;function Yn(e,t=!1){_n+=e,e<0&&Ne&&t&&(Ne.hasOnce=!0)}function hl(e){return e.dynamicChildren=_n>0?Ne||Kt:null,yu(),_n>0&&Ne&&Ne.push(e),e}function fr(e,t,n,r,o,s){return hl(ml(e,t,n,r,o,s,!0))}function Sn(e,t,n,r,o){return hl(me(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const gl=({key:e})=>e??null,$n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||ye(e)||Q(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function ml(e,t=null,n=null,r=0,o=null,s=e===Pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gl(t),ref:t&&$n(t),scopeId:Di,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ee};return l?(Lo(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),_n>0&&!i&&Ne&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ne.push(c),c}const me=vu;function vu(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Ji)&&(e=ut),Pn(e)){const l=Jt(e,t,!0);return n&&Lo(l,n),_n>0&&!s&&Ne&&(l.shapeFlag&6?Ne[Ne.indexOf(e)]=l:Ne.push(l)),l.patchFlag=-2,l}if(Ru(e)&&(e=e.__vccOpts),t){t=bu(t);let{class:l,style:c}=t;l&&!ve(l)&&(t.class=vo(l)),pe(c)&&(lr(c)&&!Y(c)&&(c=Re({},c)),t.style=yo(c))}const i=ve(e)?1:pl(e)?128:Oa(e)?64:pe(e)?4:Q(e)?2:0;return ml(e,t,n,r,o,i,s,!0)}function bu(e){return e?lr(e)||sl(e)?Re({},e):e:null}function Jt(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:c}=e,u=t?yl(o||{},t):o,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&gl(u),ref:t&&t.ref?n&&s?Y(s)?s.concat($n(t)):[s,$n(t)]:$n(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&xo(a,c.clone(a)),a}function _u(e=" ",t=0){return me(Rn,null,e,t)}function Nh(e="",t=!1){return t?(ft(),Sn(ut,null,e)):me(ut,null,e)}function Xe(e){return e==null||typeof e=="boolean"?me(ut):Y(e)?me(Pe,null,e.slice()):Pn(e)?bt(e):me(Rn,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function Lo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Lo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!sl(t)?t._ctx=Ee:o===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[_u(t)]):n=8);e.children=t,e.shapeFlag|=n}function yl(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=vo([t.class,r.class]));else if(o==="style")t.style=yo([t.style,r.style]);else if(er(o)){const s=t[o],i=r[o];i&&s!==i&&!(Y(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function Je(e,t,n,r=null){et(e,t,7,[n,r])}const Su=tl();let Pu=0;function Eu(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Su,s={uid:Pu++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hi(!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:ll(r,o),emitsOptions:nl(r,o),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:r.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,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 s.ctx={_:s},s.root=t?t.root:s,s.emit=eu.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const jo=()=>Oe||Ee;let Xn,to;{const e=sr(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Xn=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),to=t("__VUE_SSR_SETTERS__",n=>En=n)}const xn=e=>{const t=Oe;return Xn(e),e.scope.on(),()=>{e.scope.off(),Xn(t)}},hs=()=>{Oe&&Oe.scope.off(),Xn(null)};function vl(e){return e.vnode.shapeFlag&4}let En=!1;function wu(e,t=!1,n=!1){t&&to(t);const{props:r,children:o}=e.vnode,s=vl(e);iu(e,r,s,t),uu(e,o,n||t);const i=s?Cu(e,t):void 0;return t&&to(!1),i}function Cu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Va);const{setup:r}=n;if(r){lt();const o=e.setupContext=r.length>1?_l(e):null,s=xn(e),i=On(r,e,0,[e.props,o]),l=li(i);if(ct(),s(),(l||e.sp)&&!zt(e)&&Ki(e),l){if(i.then(hs,hs),t)return i.then(c=>{gs(e,c)}).catch(c=>{cr(c,e,0)});e.asyncDep=i}else gs(e,i)}else bl(e)}function gs(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Mi(t)),bl(e)}function bl(e,t,n){const r=e.type;e.render||(e.render=r.render||Qe);{const o=xn(e);lt();try{Wa(e)}finally{ct(),o()}}}const Ou={get(e,t){return Ce(e,"get",""),e[t]}};function _l(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ou),slots:e.slots,emit:e.emit,expose:t}}function dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mi(Co(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dn)return dn[n](e)},has(t,n){return n in t||n in dn}})):e.proxy}function Au(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Ru(e){return Q(e)&&"__vccOpts"in e}const ee=(e,t)=>ga(e,t,En);function jt(e,t,n){try{Yn(-1);const r=arguments.length;return r===2?pe(t)&&!Y(t)?Pn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),me(e,t,n))}finally{Yn(1)}}const xu="3.5.26";let no;const ms=typeof window<"u"&&window.trustedTypes;if(ms)try{no=ms.createPolicy("vue",{createHTML:e=>e})}catch{}const Sl=no?e=>no.createHTML(e):e=>e,Iu="http://www.w3.org/2000/svg",ku="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,ys=rt&&rt.createElement("template"),Tu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?rt.createElementNS(Iu,e):t==="mathml"?rt.createElementNS(ku,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ys.innerHTML=Sl(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=ys.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Mu=Symbol("_vtc");function Lu(e,t,n){const r=e[Mu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qn=Symbol("_vod"),Pl=Symbol("_vsh"),Dh={name:"show",beforeMount(e,{value:t},{transition:n}){e[Qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):rn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),rn(e,!0),r.enter(e)):r.leave(e,()=>{rn(e,!1)}):rn(e,t))},beforeUnmount(e,{value:t}){rn(e,t)}};function rn(e,t){e.style.display=t?e[Qn]:"none",e[Pl]=!t}const ju=Symbol(""),Uu=/(?:^|;)\s*display\s*:/;function Nu(e,t,n){const r=e.style,o=ve(n);let s=!1;if(n&&!o){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Vn(r,l,"")}else for(const i in t)n[i]==null&&Vn(r,i,"");for(const i in n)i==="display"&&(s=!0),Vn(r,i,n[i])}else if(o){if(t!==n){const i=r[ju];i&&(n+=";"+i),r.cssText=n,s=Uu.test(n)}}else t&&e.removeAttribute("style");Qn in e&&(e[Qn]=s?r.display:"",e[Pl]&&(r.display="none"))}const vs=/\s*!important$/;function Vn(e,t,n){if(Y(n))n.forEach(r=>Vn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Du(e,t);vs.test(n)?e.setProperty(Et(r),n.replace(vs,""),"important"):e[r]=n}}const bs=["Webkit","Moz","ms"],kr={};function Du(e,t){const n=kr[t];if(n)return n;let r=Be(t);if(r!=="filter"&&r in e)return kr[t]=r;r=or(r);for(let o=0;o<bs.length;o++){const s=bs[o]+r;if(s in e)return kr[t]=s}return t}const _s="http://www.w3.org/1999/xlink";function Ss(e,t,n,r,o,s=Fc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(_s,t.slice(6,t.length)):e.setAttributeNS(_s,t,n):n==null||s&&!fi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":dt(n)?String(n):n)}function Ps(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Sl(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=fi(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function $t(e,t,n,r){e.addEventListener(t,n,r)}function Hu(e,t,n,r){e.removeEventListener(t,n,r)}const Es=Symbol("_vei");function Fu(e,t,n,r,o=null){const s=e[Es]||(e[Es]={}),i=s[t];if(r&&i)i.value=r;else{const[l,c]=Bu(t);if(r){const u=s[t]=Ku(r,o);$t(e,l,u,c)}else i&&(Hu(e,l,i,c),s[t]=void 0)}}const ws=/(?:Once|Passive|Capture)$/;function Bu(e){let t;if(ws.test(e)){t={};let r;for(;r=e.match(ws);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let Tr=0;const $u=Promise.resolve(),Vu=()=>Tr||($u.then(()=>Tr=0),Tr=Date.now());function Ku(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;et(qu(r,n.value),t,5,[r])};return n.value=e,n.attached=Vu(),n}function qu(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wu=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Lu(e,r,i):t==="style"?Nu(e,n,r):er(t)?ho(t)||Fu(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zu(e,t,r,i))?(Ps(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ss(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(r))?Ps(e,Be(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ss(e,t,r,i))};function zu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cs(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Cs(t)&&ve(n)?!1:t in e}const Os=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>Fn(t,n):t};function Gu(e){e.target.composing=!0}function As(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mr=Symbol("_assign");function Rs(e,t,n){return t&&(e=e.trim()),n&&(e=mo(e)),e}const Hh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Mr]=Os(o);const s=r||o.props&&o.props.type==="number";$t(e,t?"change":"input",i=>{i.target.composing||e[Mr](Rs(e.value,n,s))}),(n||s)&&$t(e,"change",()=>{e.value=Rs(e.value,n,s)}),t||($t(e,"compositionstart",Gu),$t(e,"compositionend",As),$t(e,"change",As))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Mr]=Os(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?mo(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===c)||(e.value=c))}},Ju=["ctrl","shift","alt","meta"],Yu={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)=>Ju.some(n=>e[`${n}Key`]&&!t.includes(n))},Fh=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const l=Yu[t[i]];if(l&&l(o,t))return}return e(o,...s)}))},Xu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Bh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const s=Et(o.key);if(t.some(i=>i===s||Xu[i]===s))return e(o)}))},Qu=Re({patchProp:Wu},Tu);let xs;function Zu(){return xs||(xs=du(Qu))}const ef=((...e)=>{const t=Zu().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nf(r);if(!o)return;const s=t._component;!Q(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,tf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function tf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nf(e){return ve(e)?document.querySelector(e):e}const rf="usehead";function of(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(rf,e)}}.install}function sf(e={}){const t=xc({domOptions:{render:Ic(()=>oi(t),n=>setTimeout(n,0))},...e});return t.install=of(t),t}const lf="modulepreload",cf=function(e){return"/"+e},Is={},ks=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");o=c(n.map(u=>{if(u=cf(u),u in Is)return;Is[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":lf,a||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),a)return new Promise((d,y)=>{h.addEventListener("load",d),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})};const Vt=typeof document<"u";function El(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function af(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&El(e.default)}const le=Object.assign;function Lr(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ke(o)?o.map(e):e(o)}return n}const hn=()=>{},Ke=Array.isArray;function Ts(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const wl=/#/g,uf=/&/g,ff=/\//g,df=/=/g,pf=/\?/g,Cl=/\+/g,hf=/%5B/g,gf=/%5D/g,Ol=/%5E/g,mf=/%60/g,Al=/%7B/g,yf=/%7C/g,Rl=/%7D/g,vf=/%20/g;function Uo(e){return e==null?"":encodeURI(""+e).replace(yf,"|").replace(hf,"[").replace(gf,"]")}function bf(e){return Uo(e).replace(Al,"{").replace(Rl,"}").replace(Ol,"^")}function ro(e){return Uo(e).replace(Cl,"%2B").replace(vf,"+").replace(wl,"%23").replace(uf,"%26").replace(mf,"`").replace(Al,"{").replace(Rl,"}").replace(Ol,"^")}function _f(e){return ro(e).replace(df,"%3D")}function Sf(e){return Uo(e).replace(wl,"%23").replace(pf,"%3F")}function Pf(e){return Sf(e).replace(ff,"%2F")}function wn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Ef=/\/$/,wf=e=>e.replace(Ef,"");function jr(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,l>0?l:t.length),o=e(s.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Rf(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:wn(i)}}function Cf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ms(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Of(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Yt(t.matched[r],n.matched[o])&&xl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Af(e[n],t[n]))return!1;return!0}function Af(e,t){return Ke(e)?Ls(e,t):Ke(t)?Ls(t,e):e?.valueOf()===t?.valueOf()}function Ls(e,t){return Ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Rf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oo=(function(e){return e.pop="pop",e.push="push",e})({}),Ur=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function xf(e){if(!e)if(Vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wf(e)}const If=/^[^#]+#/;function kf(e,t){return e.replace(If,"#")+t}function Tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pr=()=>({left:window.scrollX,top:window.scrollY});function Mf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Tf(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 js(e,t){return(history.state?history.state.position-t:-1)+e}const so=new Map;function Lf(e,t){so.set(e,t)}function jf(e){const t=so.get(e);return so.delete(e),t}function Uf(e){return typeof e=="string"||e&&typeof e=="object"}function Il(e){return typeof e=="string"||typeof e=="symbol"}let ge=(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 kl=Symbol("");ge.MATCHER_NOT_FOUND+"",ge.NAVIGATION_GUARD_REDIRECT+"",ge.NAVIGATION_ABORTED+"",ge.NAVIGATION_CANCELLED+"",ge.NAVIGATION_DUPLICATED+"";function Xt(e,t){return le(new Error,{type:e,[kl]:!0},t)}function nt(e,t){return e instanceof Error&&kl in e&&(t==null||!!(e.type&t))}const Nf=["params","query","hash"];function Df(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Nf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Hf(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(Cl," "),s=o.indexOf("="),i=wn(s<0?o:o.slice(0,s)),l=s<0?null:wn(o.slice(s+1));if(i in t){let c=t[i];Ke(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Us(e){let t="";for(let n in e){const r=e[n];if(n=_f(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ke(r)?r.map(o=>o&&ro(o)):[r&&ro(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ff(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ke(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Bf=Symbol(""),Ns=Symbol(""),hr=Symbol(""),No=Symbol(""),io=Symbol("");function on(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _t(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(Xt(ge.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Uf(h)?c(Xt(ge.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&r.enterCallbacks[o]===i&&typeof h=="function"&&i.push(h),l())},a=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function Nr(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(El(c)){const u=(c.__vccOpts||c)[t];u&&s.push(_t(u,n,r,i,l,o))}else{let u=c();s.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=af(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&_t(h,n,r,i,l,o)()}))}}return s}function $f(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const l=t.matched[i];l&&(e.matched.find(u=>Yt(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>Yt(u,c))||o.push(c))}return[n,r,o]}let Vf=()=>location.protocol+"//"+location.host;function Tl(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Ms(l,"")}return Ms(n,e)+r+o}function Kf(e,t,n,r){let o=[],s=[],i=null;const l=({state:h})=>{const d=Tl(e,location),y=n.value,v=t.value;let I=0;if(h){if(n.value=d,t.value=h,i&&i===y){i=null;return}I=v?h.position-v.position:0}else r(d);o.forEach(w=>{w(n.value,y,{delta:I,type:oo.pop,direction:I?I>0?Ur.forward:Ur.back:Ur.unknown})})};function c(){i=n.value}function u(h){o.push(h);const d=()=>{const y=o.indexOf(h);y>-1&&o.splice(y,1)};return s.push(d),d}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(le({},h.state,{scroll:pr()}),"")}}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Ds(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pr():null}}function qf(e){const{history:t,location:n}=window,r={value:Tl(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Vf()+e+c;try{t[a?"replaceState":"pushState"](u,"",h),o.value=u}catch(d){console.error(d),n[a?"replace":"assign"](h)}}function i(c,u){s(c,le({},t.state,Ds(o.value.back,c,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=c}function l(c,u){const a=le({},o.value,t.state,{forward:c,scroll:pr()});s(a.current,a,!0),s(c,le({},Ds(r.value,c,null),{position:a.position+1},u),!1),r.value=c}return{location:r,state:o,push:l,replace:i}}function Wf(e){e=xf(e);const t=qf(e),n=Kf(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=le({location:"",base:e,go:r,createHref:kf.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}let kt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var _e=(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})(_e||{});const zf={type:kt.Static,value:""},Gf=/[a-zA-Z0-9_]/;function Jf(e){if(!e)return[[]];if(e==="/")return[[zf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=_e.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,c,u="",a="";function f(){u&&(n===_e.Static?s.push({type:kt.Static,value:u}):n===_e.Param||n===_e.ParamRegExp||n===_e.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:kt.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==_e.ParamRegExp){r=n,n=_e.EscapeNext;continue}switch(n){case _e.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=_e.Param):h();break;case _e.EscapeNext:h(),n=r;break;case _e.Param:c==="("?n=_e.ParamRegExp:Gf.test(c)?h():(f(),n=_e.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case _e.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=_e.ParamRegExpEnd:a+=c;break;case _e.ParamRegExpEnd:f(),n=_e.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===_e.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),o}const Hs="[^/]+?",Yf={sensitive:!1,strict:!1,start:!0,end:!0};var ke=(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})(ke||{});const Xf=/[.+*?^${}()[\]/\\]/g;function Qf(e,t){const n=le({},Yf,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const a=u.length?[]:[ke.Root];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=ke.Segment+(n.sensitive?ke.BonusCaseSensitive:0);if(h.type===kt.Static)f||(o+="/"),o+=h.value.replace(Xf,"\\$&"),d+=ke.Static;else if(h.type===kt.Param){const{value:y,repeatable:v,optional:I,regexp:w}=h;s.push({name:y,repeatable:v,optional:I});const R=w||Hs;if(R!==Hs){d+=ke.BonusCustomRegExp;try{`${R}`}catch(T){throw new Error(`Invalid custom RegExp for param "${y}" (${R}): `+T.message)}}let M=v?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||(M=I&&u.length<2?`(?:/${M})`:"/"+M),I&&(M+="?"),o+=M,d+=ke.Dynamic,I&&(d+=ke.BonusOptional),v&&(d+=ke.BonusRepeatable),R===".*"&&(d+=ke.BonusWildcard)}a.push(d)}r.push(a)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=ke.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let h=1;h<a.length;h++){const d=a[h]||"",y=s[h-1];f[y.name]=d&&y.repeatable?d.split("/"):d}return f}function c(u){let a="",f=!1;for(const h of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const d of h)if(d.type===kt.Static)a+=d.value;else if(d.type===kt.Param){const{value:y,repeatable:v,optional:I}=d,w=y in u?u[y]:"";if(Ke(w)&&!v)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const R=Ke(w)?w.join("/"):w;if(!R)if(I)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);a+=R}}return a||"/"}return{re:i,score:r,keys:s,parse:l,stringify:c}}function Zf(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===ke.Static+ke.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ke.Static+ke.Segment?1:-1:0}function Ml(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Zf(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Fs(r))return 1;if(Fs(o))return-1}return o.length-r.length}function Fs(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ed={strict:!1,end:!0,sensitive:!1};function td(e,t,n){const r=Qf(Jf(e.path),n),o=le(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function nd(e,t){const n=[],r=new Map;t=Ts(ed,t);function o(f){return r.get(f)}function s(f,h,d){const y=!d,v=$s(f);v.aliasOf=d&&d.record;const I=Ts(t,f),w=[v];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of T)w.push($s(le({},v,{components:d?d.record.components:v.components,path:k,aliasOf:d?d.record:v})))}let R,M;for(const T of w){const{path:k}=T;if(h&&k[0]!=="/"){const Z=h.record.path,z=Z[Z.length-1]==="/"?"":"/";T.path=h.record.path+(k&&z+k)}if(R=td(T,h,I),d?d.alias.push(R):(M=M||R,M!==R&&M.alias.push(R),y&&f.name&&!Vs(R)&&i(f.name)),Ll(R)&&c(R),v.children){const Z=v.children;for(let z=0;z<Z.length;z++)s(Z[z],R,d&&d.children[z])}d=d||R}return M?()=>{i(M)}:hn}function i(f){if(Il(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const h=sd(f,n);n.splice(h,0,f),f.record.name&&!Vs(f)&&r.set(f.record.name,f)}function u(f,h){let d,y={},v,I;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Xt(ge.MATCHER_NOT_FOUND,{location:f});I=d.record.name,y=le(Bs(h.params,d.keys.filter(M=>!M.optional).concat(d.parent?d.parent.keys.filter(M=>M.optional):[]).map(M=>M.name)),f.params&&Bs(f.params,d.keys.map(M=>M.name))),v=d.stringify(y)}else if(f.path!=null)v=f.path,d=n.find(M=>M.re.test(v)),d&&(y=d.parse(v),I=d.record.name);else{if(d=h.name?r.get(h.name):n.find(M=>M.re.test(h.path)),!d)throw Xt(ge.MATCHER_NOT_FOUND,{location:f,currentLocation:h});I=d.record.name,y=le({},h.params,f.params),v=d.stringify(y)}const w=[];let R=d;for(;R;)w.unshift(R.record),R=R.parent;return{name:I,path:v,params:y,matched:w,meta:od(w)}}e.forEach(f=>s(f));function a(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:o}}function Bs(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $s(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:rd(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 rd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Vs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function od(e){return e.reduce((t,n)=>le(t,n.meta),{})}function sd(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Ml(e,t[s])<0?r=s:n=s+1}const o=id(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function id(e){let t=e;for(;t=t.parent;)if(Ll(t)&&Ml(e,t)===0)return t}function Ll({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ks(e){const t=be(hr),n=be(No),r=ee(()=>{const c=Mt(e.to);return t.resolve(c)}),o=ee(()=>{const{matched:c}=r.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(Yt.bind(null,a));if(h>-1)return h;const d=qs(c[u-2]);return u>1&&qs(a)===d&&f[f.length-1].path!==d?f.findIndex(Yt.bind(null,c[u-2])):h}),s=ee(()=>o.value>-1&&fd(n.params,r.value.params)),i=ee(()=>o.value>-1&&o.value===n.matched.length-1&&xl(n.params,r.value.params));function l(c={}){if(ud(c)){const u=t[Mt(e.replace)?"replace":"push"](Mt(e.to)).catch(hn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}function ld(e){return e.length===1?e[0]:e}const cd=he({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:Ks,setup(e,{slots:t}){const n=Cn(Ks(e)),{options:r}=be(hr),o=ee(()=>({[Ws(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ws(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ld(t.default(n));return e.custom?s:jt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),ad=cd;function ud(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 fd(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ke(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function qs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ws=(e,t,n)=>e??t??n,dd=he({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=be(io),o=ee(()=>e.route||r.value),s=be(Ns,0),i=ee(()=>{let u=Mt(s);const{matched:a}=o.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=ee(()=>o.value.matched[i.value]);Ze(Ns,ee(()=>i.value+1)),Ze(Bf,l),Ze(io,o);const c=Ae();return Pt(()=>[c.value,l.value,e.name],([u,a,f],[h,d,y])=>{a&&(a.instances[f]=u,d&&d!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=d.leaveGuards),a.updateGuards.size||(a.updateGuards=d.updateGuards))),u&&a&&(!d||!Yt(a,d)||!h)&&(a.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,a=e.name,f=l.value,h=f&&f.components[a];if(!h)return zs(n.default,{Component:h,route:u});const d=f.props[a],y=d?d===!0?u.params:typeof d=="function"?d(u):d:null,I=jt(h,le({},y,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return zs(n.default,{Component:I,route:u})||I}}});function zs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pd=dd;function hd(e){const t=nd(e.routes,e),n=e.parseQuery||Hf,r=e.stringifyQuery||Us,o=e.history,s=on(),i=on(),l=on(),c=Jr(ht);let u=ht;Vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Lr.bind(null,E=>""+E),f=Lr.bind(null,Pf),h=Lr.bind(null,wn);function d(E,$){let H,K;return Il(E)?(H=t.getRecordMatcher(E),K=$):K=E,t.addRoute(K,H)}function y(E){const $=t.getRecordMatcher(E);$&&t.removeRoute($)}function v(){return t.getRoutes().map(E=>E.record)}function I(E){return!!t.getRecordMatcher(E)}function w(E,$){if($=le({},$||c.value),typeof E=="string"){const b=jr(n,E,$.path),S=t.resolve({path:b.path},$),A=o.createHref(b.fullPath);return le(b,S,{params:h(S.params),hash:wn(b.hash),redirectedFrom:void 0,href:A})}let H;if(E.path!=null)H=le({},E,{path:jr(n,E.path,$.path).path});else{const b=le({},E.params);for(const S in b)b[S]==null&&delete b[S];H=le({},E,{params:f(b)}),$.params=f($.params)}const K=t.resolve(H,$),oe=E.hash||"";K.params=a(h(K.params));const g=Cf(r,le({},E,{hash:bf(oe),path:K.path})),m=o.createHref(g);return le({fullPath:g,hash:oe,query:r===Us?Ff(E.query):E.query||{}},K,{redirectedFrom:void 0,href:m})}function R(E){return typeof E=="string"?jr(n,E,c.value.path):le({},E)}function M(E,$){if(u!==E)return Xt(ge.NAVIGATION_CANCELLED,{from:$,to:E})}function T(E){return z(E)}function k(E){return T(le(R(E),{replace:!0}))}function Z(E,$){const H=E.matched[E.matched.length-1];if(H&&H.redirect){const{redirect:K}=H;let oe=typeof K=="function"?K(E,$):K;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=R(oe):{path:oe},oe.params={}),le({query:E.query,hash:E.hash,params:oe.path!=null?{}:E.params},oe)}}function z(E,$){const H=u=w(E),K=c.value,oe=E.state,g=E.force,m=E.replace===!0,b=Z(H,K);if(b)return z(le(R(b),{state:typeof b=="object"?le({},oe,b.state):oe,force:g,replace:m}),$||H);const S=H;S.redirectedFrom=$;let A;return!g&&Of(r,K,H)&&(A=Xt(ge.NAVIGATION_DUPLICATED,{to:S,from:K}),He(K,K,!0,!1)),(A?Promise.resolve(A):_(S,K)).catch(P=>nt(P)?nt(P,ge.NAVIGATION_GUARD_REDIRECT)?P:re(P):te(P,S,K)).then(P=>{if(P){if(nt(P,ge.NAVIGATION_GUARD_REDIRECT))return z(le({replace:m},R(P.to),{state:typeof P.to=="object"?le({},oe,P.to.state):oe,force:g}),$||S)}else P=j(S,K,!0,m,oe);return C(S,K,P),P})}function F(E,$){const H=M(E,$);return H?Promise.reject(H):Promise.resolve()}function p(E){const $=Dt.values().next().value;return $&&typeof $.runWithContext=="function"?$.runWithContext(E):E()}function _(E,$){let H;const[K,oe,g]=$f(E,$);H=Nr(K.reverse(),"beforeRouteLeave",E,$);for(const b of K)b.leaveGuards.forEach(S=>{H.push(_t(S,E,$))});const m=F.bind(null,E,$);return H.push(m),Fe(H).then(()=>{H=[];for(const b of s.list())H.push(_t(b,E,$));return H.push(m),Fe(H)}).then(()=>{H=Nr(oe,"beforeRouteUpdate",E,$);for(const b of oe)b.updateGuards.forEach(S=>{H.push(_t(S,E,$))});return H.push(m),Fe(H)}).then(()=>{H=[];for(const b of g)if(b.beforeEnter)if(Ke(b.beforeEnter))for(const S of b.beforeEnter)H.push(_t(S,E,$));else H.push(_t(b.beforeEnter,E,$));return H.push(m),Fe(H)}).then(()=>(E.matched.forEach(b=>b.enterCallbacks={}),H=Nr(g,"beforeRouteEnter",E,$,p),H.push(m),Fe(H))).then(()=>{H=[];for(const b of i.list())H.push(_t(b,E,$));return H.push(m),Fe(H)}).catch(b=>nt(b,ge.NAVIGATION_CANCELLED)?b:Promise.reject(b))}function C(E,$,H){l.list().forEach(K=>p(()=>K(E,$,H)))}function j(E,$,H,K,oe){const g=M(E,$);if(g)return g;const m=$===ht,b=Vt?history.state:{};H&&(K||m?o.replace(E.fullPath,le({scroll:m&&b&&b.scroll},oe)):o.push(E.fullPath,oe)),c.value=E,He(E,$,H,m),re()}let O;function N(){O||(O=o.listen((E,$,H)=>{if(!wt.listening)return;const K=w(E),oe=Z(K,wt.currentRoute.value);if(oe){z(le(oe,{replace:!0,force:!0}),K).catch(hn);return}u=K;const g=c.value;Vt&&Lf(js(g.fullPath,H.delta),pr()),_(K,g).catch(m=>nt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_CANCELLED)?m:nt(m,ge.NAVIGATION_GUARD_REDIRECT)?(z(le(R(m.to),{force:!0}),K).then(b=>{nt(b,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&!H.delta&&H.type===oo.pop&&o.go(-1,!1)}).catch(hn),Promise.reject()):(H.delta&&o.go(-H.delta,!1),te(m,K,g))).then(m=>{m=m||j(K,g,!1),m&&(H.delta&&!nt(m,ge.NAVIGATION_CANCELLED)?o.go(-H.delta,!1):H.type===oo.pop&&nt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),C(K,g,m)}).catch(hn)}))}let V=on(),ne=on(),J;function te(E,$,H){re(E);const K=ne.list();return K.length?K.forEach(oe=>oe(E,$,H)):console.error(E),Promise.reject(E)}function G(){return J&&c.value!==ht?Promise.resolve():new Promise((E,$)=>{V.add([E,$])})}function re(E){return J||(J=!E,N(),V.list().forEach(([$,H])=>E?H(E):$()),V.reset()),E}function He(E,$,H,K){const{scrollBehavior:oe}=e;if(!Vt||!oe)return Promise.resolve();const g=!H&&jf(js(E.fullPath,0))||(K||!H)&&history.state&&history.state.scroll||null;return Oo().then(()=>oe(E,$,g)).then(m=>m&&Mf(m)).catch(m=>te(m,E,$))}const Me=E=>o.go(E);let Nt;const Dt=new Set,wt={currentRoute:c,listening:!0,addRoute:d,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:v,resolve:w,options:e,push:T,replace:k,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:ne.add,isReady:G,install(E){E.component("RouterLink",ad),E.component("RouterView",pd),E.config.globalProperties.$router=wt,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Mt(c)}),Vt&&!Nt&&c.value===ht&&(Nt=!0,T(o.location).catch(K=>{}));const $={};for(const K in ht)Object.defineProperty($,K,{get:()=>c.value[K],enumerable:!0});E.provide(hr,wt),E.provide(No,ki($)),E.provide(io,c);const H=E.unmount;Dt.add(E),E.unmount=function(){Dt.delete(E),Dt.size<1&&(u=ht,O&&O(),O=null,c.value=ht,Nt=!1,J=!1),H()}}};function Fe(E){return E.reduce(($,H)=>$.then(()=>p(H)),Promise.resolve())}return wt}function $h(){return be(hr)}function Vh(e){return be(No)}function gd(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const md=he({setup(e,{slots:t}){const n=Ae(!1);return zi(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function yd(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function vd(e,t,n,r){const{transformState:o,registerComponents:s=!0,useHead:i=!0,rootContainer:l="#app"}={};async function c(u){const a=ef(e);let f;i&&a.use(f=sf());const h=hd({history:Wf(t.base),...t}),{routes:d}=t;s&&a.component("ClientOnly",md);const y=[],w={app:a,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(y.map(k=>k())),initialState:{},transformState:o,routePath:u};await gd(),w.initialState=o?.(window.__INITIAL_STATE__||{})||yd(window.__INITIAL_STATE__),await n?.(w),a.use(h);let R,M=!0;h.beforeEach((k,Z,z)=>{(M||R&&R===k.path)&&(M=!1,R=k.path,k.meta.state=w.initialState),z()});const T=w.initialState;return{...w,initialState:T}}return(async()=>{const{app:u,router:a}=await c();await a.isReady(),u.mount(l,!0)})(),c}let jl;const gr=e=>jl=e,Ul=Symbol();function lo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var gn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(gn||(gn={}));function bd(){const e=gi(!0),t=e.run(()=>Ae({}));let n=[],r=[];const o=Co({install(s){gr(o),o._a=s,s.provide(Ul,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Nl=()=>{};function Gs(e,t,n,r=Nl){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&mi()&&$c(o),o}function Ft(e,...t){e.forEach(n=>{n(...t)})}const _d=e=>e(),Js=Symbol(),Dr=Symbol();function co(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];lo(o)&&lo(r)&&e.hasOwnProperty(n)&&!ye(r)&&!it(r)?e[n]=co(o,r):e[n]=r}return e}const Sd=Symbol();function Pd(e){return!lo(e)||!Object.prototype.hasOwnProperty.call(e,Sd)}const{assign:mt}=Object;function Ed(e){return!!(ye(e)&&e.effect)}function wd(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=o?o():{});const a=fa(n.state.value[e]);return mt(a,s,Object.keys(i||{}).reduce((f,h)=>(f[h]=Co(ee(()=>{gr(n);const d=n._s.get(e);return i[h].call(d,d)})),f),{}))}return c=Dl(e,u,t,n,r,!0),c}function Dl(e,t,n={},r,o,s){let i;const l=mt({actions:{}},n),c={deep:!0};let u,a,f=new Set,h=new Set,d;const y=r.state.value[e];!s&&!y&&(r.state.value[e]={}),Ae({});let v;function I(F){let p;u=a=!1,typeof F=="function"?(F(r.state.value[e]),p={type:gn.patchFunction,storeId:e,events:d}):(co(r.state.value[e],F),p={type:gn.patchObject,payload:F,storeId:e,events:d});const _=v=Symbol();Oo().then(()=>{v===_&&(u=!0)}),a=!0,Ft(f,p,r.state.value[e])}const w=s?function(){const{state:p}=n,_=p?p():{};this.$patch(C=>{mt(C,_)})}:Nl;function R(){i.stop(),f.clear(),h.clear(),r._s.delete(e)}const M=(F,p="")=>{if(Js in F)return F[Dr]=p,F;const _=function(){gr(r);const C=Array.from(arguments),j=new Set,O=new Set;function N(J){j.add(J)}function V(J){O.add(J)}Ft(h,{args:C,name:_[Dr],store:k,after:N,onError:V});let ne;try{ne=F.apply(this&&this.$id===e?this:k,C)}catch(J){throw Ft(O,J),J}return ne instanceof Promise?ne.then(J=>(Ft(j,J),J)).catch(J=>(Ft(O,J),Promise.reject(J))):(Ft(j,ne),ne)};return _[Js]=!0,_[Dr]=p,_},T={_p:r,$id:e,$onAction:Gs.bind(null,h),$patch:I,$reset:w,$subscribe(F,p={}){const _=Gs(f,F,p.detached,()=>C()),C=i.run(()=>Pt(()=>r.state.value[e],j=>{(p.flush==="sync"?a:u)&&F({storeId:e,type:gn.direct,events:d},j)},mt({},c,p)));return _},$dispose:R},k=Cn(T);r._s.set(e,k);const z=(r._a&&r._a.runWithContext||_d)(()=>r._e.run(()=>(i=gi()).run(()=>t({action:M}))));for(const F in z){const p=z[F];if(ye(p)&&!Ed(p)||it(p))s||(y&&Pd(p)&&(ye(p)?p.value=y[F]:co(p,y[F])),r.state.value[e][F]=p);else if(typeof p=="function"){const _=M(p,F);z[F]=_,l.actions[F]=p}}return mt(k,z),mt(ie(k),z),Object.defineProperty(k,"$state",{get:()=>r.state.value[e],set:F=>{I(p=>{mt(p,F)})}}),r._p.forEach(F=>{mt(k,i.run(()=>F({store:k,app:r._a,pinia:r,options:l})))}),y&&s&&n.hydrate&&n.hydrate(k.$state,y),u=!0,a=!0,k}function Hl(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,l){const c=Sa();return i=i||(c?be(Ul,null):null),i&&gr(i),i=jl,i._s.has(e)||(o?Dl(e,t,r,i):wd(e,r,i)),i._s.get(e)}return s.$id=e,s}var Cd=class Fl extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),Object.setPrototypeOf(this,Fl.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}toString(){return`[${this.name}]
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Main-BvIkHg0T.js","assets/Main-Cy83ExML.css","assets/NotFound-CyjzqNRt.js","assets/NotFound-DFzjKBQu.css"])))=>i.map(i=>d[i]);
2
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function $r(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?$r(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const lc={run:e=>e()},cc=()=>lc,ti=typeof console.createTask<"u"?console.createTask:cc;function ac(e,t){const n=t.shift(),r=ti(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function uc(e,t){const n=t.shift(),r=ti(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Pr(e,t){for(const n of[...e])n(t)}class fc{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=$r(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=$r(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ac,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(uc,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Pr(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Pr(this._after,o)}):(this._after&&o&&Pr(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function dc(){return new fc}const pc=new Set(["link","style","script","noscript"]),hc=new Set(["title","titleTemplate","script","style","noscript"]),qo=new Set(["base","meta","link","style","script","noscript"]),gc=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),mc=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),yc=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),vc=new Set(["templateParams","htmlAttrs","bodyAttrs"]),bc=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),_c=["name","property","http-equiv"],Sc=new Set(["viewport","description","keywords","robots"]);function ni(e){const t=e.split(":");return t.length?bc.has(t[1]):!1}function Vr(e){const{props:t,tag:n}=e;if(mc.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of _c)if(t[r]!==void 0){const o=t[r],s=o&&typeof o=="string"&&o.includes(":"),i=o&&Sc.has(o),c=!(s||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(hc.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Wo(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Kr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(s=>Kr(s,t));if(o?.constructor===Object){const s={};for(const i of Object.keys(o))s[i]=Kr(o[i],t,i);return s}return o}function Pc(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const s=String(o).trim();if(s)if(e==="style"){const[i,...l]=s.split(":").map(c=>c?c.trim():"");i&&l.length&&n.set(i,l.join(":"))}else s.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(o).trim(),String(s)):r(o))}),n}function ri(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Pc(n,r);return}if(yc.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")return;t.type=l,e.props.type=l,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),s=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";o==="true"||o===""?e.props[n]=s||i?o:!0:!r&&s&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Ec(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=ri({tag:e,props:{}},n);return r.key&&pc.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function wc(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,s)=>{for(let i=0;i<t.length;i++)s=t[i](o,s);return s};e=n(void 0,e);const r=[];return e=Kr(e,n),Object.entries(e||{}).forEach(([o,s])=>{if(s!==void 0)for(const i of Array.isArray(s)?s:[s])r.push(Ec(o,i))}),r.flat()}const zo=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Go={base:-10,title:10},Cc={critical:-8,high:-1,low:2},Jo={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Oc=/@import/,en=e=>e===""||e===!0;function Ac(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Cc[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Jo;if(t.tag in Go)n=Go[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=Jo.meta[s])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);en(t.props.async)?n=o.script.async:t.props.src&&!en(t.props.defer)&&!en(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=o.script.sync:(en(t.props.defer)&&t.props.src&&!en(t.props.async)||s==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Oc.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Yo(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Rc(e={}){const t=dc();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,s=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Yo(i,l),push(l,c){const u={...c||{}};delete u.head;const a=u._index??i._entryCount++,f={_i:a,input:l,options:u},h={_poll(d=!1){i.dirty=!0,!d&&s.add(a),t.callHook("entries:updated",i)},dispose(){r.delete(a)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(a,f),h._poll())}};return h.patch(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);s.size;){const h=s.values().next().value;s.delete(h);const d=r.get(h);if(d){const y={tags:wc(d.input,e.propResolvers||[]).map(v=>Object.assign(v,d.options)),entry:d};await t.callHook("entries:normalize",y),d._tags=y.tags.map((v,I)=>(v._w=Ac(i,v),v._p=(d._i<<10)+I,v._d=Vr(v),v))}}let c=!1;l.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(zo).reduce((h,d)=>{const y=String(d._d||d._p);if(!h.has(y))return h.set(y,d);const v=h.get(y);if((d?.tagDuplicateStrategy||(vc.has(d.tag)?"merge":null)||(d.key&&d.key===v.key?"merge":null))==="merge"){const w={...v.props};Object.entries(d.props).forEach(([R,M])=>w[R]=R==="style"?new Map([...v.props.style||new Map,...M]):R==="class"?new Set([...v.props.class||new Set,...M]):M),h.set(y,{...d,props:w})}else d._p>>10===v._p>>10&&d.tag==="meta"&&ni(y)?(h.set(y,Object.assign([...Array.isArray(v)?v:[v],d],d)),c=!0):(d._w===v._w?d._p>v._p:d?._w<v?._w)&&h.set(y,d);return h},l.tagMap);const u=l.tagMap.get("title"),a=l.tagMap.get("titleTemplate");if(i._title=u?.textContent,a){const h=a?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:d}):(a.tag="title",a.textContent=d)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(zo)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const f=[];for(const h of l.tags){const{innerHTML:d,tag:y,props:v}=h;if(gc.has(y)&&!(Object.keys(v).length===0&&!h.innerHTML&&!h.textContent)&&!(y==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(y==="script"&&d){if(String(v.type).endsWith("json")){const I=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=I.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${y}`,"g"),`<\\/${y}`));h._d=Vr(h)}f.push(h)}}return f},invalidate(){for(const l of r.values())s.add(l._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(l=>Yo(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}async function oi(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const s=new Map,i=new Promise(d=>{e.resolveTags().then(y=>{d(y.map(v=>{const I=s.get(v._d)||0,w={tag:v,id:(I?`${v._d}:${I}`:v._d)||Wo(v),shouldRender:!0};return v._d&&ni(v._d)&&s.set(v._d,I+1),w}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const y=n[d]?.children;for(const v of y){const I=v.tagName.toLowerCase();if(!qo.has(I))continue;const w=ri({tag:I,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((R,M)=>(R[M]=v.getAttribute(M),R),{})||{}});if(w.key=v.getAttribute("data-hid")||void 0,w._d=Vr(w)||Wo(w),l.elMap.has(w._d)){let R=1,M=w._d;for(;l.elMap.has(M);)M=`${w._d}:${R++}`;l.elMap.set(M,v)}else l.elMap.set(w._d,v)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function c(d,y,v){const I=`${d}:${y}`;l.sideEffects[I]=v,delete l.pendingSideEffects[I]}function u({id:d,$el:y,tag:v}){const I=v.tag.endsWith("Attrs");l.elMap.set(d,y),I||(v.textContent&&v.textContent!==y.textContent&&(y.textContent=v.textContent),v.innerHTML&&v.innerHTML!==y.innerHTML&&(y.innerHTML=v.innerHTML),c(d,"el",()=>{y?.remove(),l.elMap.delete(d)}));for(const w in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,w))continue;const R=v.props[w];if(w.startsWith("on")&&typeof R=="function"){const T=y?.dataset;if(T&&T[`${w}fired`]){const k=w.slice(0,-5);R.call(y,new Event(k.substring(2)))}y.getAttribute(`data-${w}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:y).addEventListener(w.substring(2),R.bind(y)),y.setAttribute(`data-${w}`,""));continue}const M=`attr:${w}`;if(w==="class"){if(!R)continue;for(const T of R)I&&c(d,`${M}:${T}`,()=>y.classList.remove(T)),!y.classList.contains(T)&&y.classList.add(T)}else if(w==="style"){if(!R)continue;for(const[T,k]of R)c(d,`${M}:${T}`,()=>{y.style.removeProperty(T)}),y.style.setProperty(T,k)}else R!==!1&&R!==null&&(y.getAttribute(w)!==R&&y.setAttribute(w,R===!0?"":String(R)),I&&c(d,M,()=>y.removeAttribute(w)))}}const a=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:y,shouldRender:v,id:I}=d;if(v){if(y.tag==="title"){n.title=y.textContent,c("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(I),d.$el?u(d):qo.has(y.tag)&&a.push(d)}}for(const d of a){const y=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[y]=f[y]||n.createDocumentFragment(),f[y].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xc(e={}){const t=e.domOptions?.render||oi;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Rc({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Ic(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function po(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Kt=[],Qe=()=>{},si=()=>!1,er=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ho=e=>e.startsWith("onUpdate:"),Re=Object.assign,go=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},kc=Object.prototype.hasOwnProperty,ce=(e,t)=>kc.call(e,t),Y=Array.isArray,qt=e=>tr(e)==="[object Map]",ii=e=>tr(e)==="[object Set]",Q=e=>typeof e=="function",ve=e=>typeof e=="string",dt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",li=e=>(pe(e)||Q(e))&&Q(e.then)&&Q(e.catch),ci=Object.prototype.toString,tr=e=>ci.call(e),Tc=e=>tr(e).slice(8,-1),ai=e=>tr(e)==="[object Object]",nr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=po(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Mc=/-\w/g,Be=rr(e=>e.replace(Mc,t=>t.slice(1).toUpperCase())),Lc=/\B([A-Z])/g,Et=rr(e=>e.replace(Lc,"-$1").toLowerCase()),or=rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Er=rr(e=>e?`on${or(e)}`:""),St=(e,t)=>!Object.is(e,t),Fn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ui=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Xo;const sr=()=>Xo||(Xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yo(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ve(r)?Hc(r):yo(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(ve(e)||pe(e))return e}const jc=/;(?![^(]*\))/g,Uc=/:([^]+)/,Nc=/\/\*[^]*?\*\//g;function Hc(e){const t={};return e.replace(Nc,"").split(jc).forEach(n=>{if(n){const r=n.split(Uc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function vo(e){let t="";if(ve(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const r=vo(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Dc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fc=po(Dc);function fi(e){return!!e||e===""}const di=e=>!!(e&&e.__v_isRef===!0),Bc=e=>ve(e)?e:e==null?"":Y(e)||pe(e)&&(e.toString===ci||!Q(e.toString))?di(e)?Bc(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>di(t)?pi(e,t.value):qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[wr(r,s)+" =>"]=o,n),{})}:ii(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wr(n))}:dt(t)?wr(t):pe(t)&&!Y(t)&&!ai(t)?String(t):t,wr=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let we;class hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.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=we;try{return we=this,t()}finally{we=n}}}on(){++this._on===1&&(this.prevScope=we,we=this)}off(){this._on>0&&--this._on===0&&(we=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function gi(e){return new hi(e)}function mi(){return we}function $c(e,t=!1){we&&we.cleanups.push(e)}let de;const Cr=new WeakSet;class yi{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,we&&we.active&&we.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cr.has(this)&&(Cr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Qo(this),_i(this);const t=de,n=$e;de=this,$e=!0;try{return this.fn()}finally{Si(this),de=t,$e=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)So(t);this.deps=this.depsTail=void 0,Qo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qr(this)&&this.run()}get dirty(){return qr(this)}}let vi=0,cn,an;function bi(e,t=!1){if(e.flags|=8,t){e.next=an,an=e;return}e.next=cn,cn=e}function bo(){vi++}function _o(){if(--vi>0)return;if(an){let t=an;for(an=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;cn;){let t=cn;for(cn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function _i(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Si(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),So(r),Vc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function qr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===yn)||(e.globalVersion=yn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qr(e))))return;e.flags|=2;const t=e.dep,n=de,r=$e;de=e,$e=!0;try{_i(e);const o=e.fn(e._value);(t.version===0||St(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{de=n,$e=r,Si(e),e.flags&=-3}}function So(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)So(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $e=!0;const Ei=[];function lt(){Ei.push($e),$e=!1}function ct(){const e=Ei.pop();$e=e===void 0?!0:e}function Qo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let yn=0;class Kc{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 Po{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(!de||!$e||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new Kc(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=r)}return n}trigger(t){this.version++,yn++,this.notify(t)}notify(t){bo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_o()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)wi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Kn=new WeakMap,Tt=Symbol(""),Wr=Symbol(""),vn=Symbol("");function Ce(e,t,n){if($e&&de){let r=Kn.get(e);r||Kn.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Po),o.map=r,o.key=n),o.track()}}function ot(e,t,n,r,o,s){const i=Kn.get(e);if(!i){yn++;return}const l=c=>{c&&c.trigger()};if(bo(),t==="clear")i.forEach(l);else{const c=Y(e),u=c&&nr(n);if(c&&n==="length"){const a=Number(r);i.forEach((f,h)=>{(h==="length"||h===vn||!dt(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(vn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Tt)),qt(e)&&l(i.get(Wr)));break;case"delete":c||(l(i.get(Tt)),qt(e)&&l(i.get(Wr)));break;case"set":qt(e)&&l(i.get(Tt));break}}_o()}function qc(e,t){const n=Kn.get(e);return n&&n.get(t)}function Dt(e){const t=ie(e);return t===e?t:(Ce(t,"iterate",vn),He(e)?t:t.map(Ve))}function ir(e){return Ce(e=ie(e),"iterate",vn),e}function yt(e,t){return at(e)?it(e)?Gt(Ve(t)):Gt(t):Ve(t)}const Wc={__proto__:null,[Symbol.iterator](){return Or(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return Dt(this).concat(...e.map(t=>Y(t)?Dt(t):t))},entries(){return Or(this,"entries",e=>(e[1]=yt(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(r=>yt(this,r)),arguments)},find(e,t){return tt(this,"find",e,t,n=>yt(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>yt(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ar(this,"includes",e)},indexOf(...e){return Ar(this,"indexOf",e)},join(e){return Dt(this).join(e)},lastIndexOf(...e){return Ar(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return tn(this,"pop")},push(...e){return tn(this,"push",e)},reduce(e,...t){return Zo(this,"reduce",e,t)},reduceRight(e,...t){return Zo(this,"reduceRight",e,t)},shift(){return tn(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return tn(this,"splice",e)},toReversed(){return Dt(this).toReversed()},toSorted(e){return Dt(this).toSorted(e)},toSpliced(...e){return Dt(this).toSpliced(...e)},unshift(...e){return tn(this,"unshift",e)},values(){return Or(this,"values",e=>yt(this,e))}};function Or(e,t,n){const r=ir(e),o=r[t]();return r!==e&&!He(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const zc=Array.prototype;function tt(e,t,n,r,o,s){const i=ir(e),l=i!==e&&!He(e),c=i[t];if(c!==zc[t]){const f=c.apply(e,s);return l?Ve(f):f}let u=n;i!==e&&(l?u=function(f,h){return n.call(this,yt(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const a=c.call(i,u,r);return l&&o?o(a):a}function Zo(e,t,n,r){const o=ir(e);let s=n;return o!==e&&(He(e)?n.length>3&&(s=function(i,l,c){return n.call(this,i,l,c,e)}):s=function(i,l,c){return n.call(this,i,yt(e,l),c,e)}),o[t](s,...r)}function Ar(e,t,n){const r=ie(e);Ce(r,"iterate",vn);const o=r[t](...n);return(o===-1||o===!1)&&lr(n[0])?(n[0]=ie(n[0]),r[t](...n)):o}function tn(e,t,n=[]){lt(),bo();const r=ie(e)[t].apply(e,n);return _o(),ct(),r}const Gc=po("__proto__,__v_isRef,__isVue"),Ci=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Jc(e){dt(e)||(e=String(e));const t=ie(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?sa:Ii:s?xi:Ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Y(t);if(!o){let c;if(i&&(c=Wc[n]))return c;if(n==="hasOwnProperty")return Jc}const l=Reflect.get(t,n,ye(t)?t:r);if((dt(n)?Ci.has(n):Gc(n))||(o||Ce(t,"get",n),s))return l;if(ye(l)){const c=i&&nr(n)?l:l.value;return o&&pe(c)?Gr(c):c}return pe(l)?o?Gr(l):Cn(l):l}}class Ai extends Oi{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=Y(t)&&nr(n);if(!this._isShallow){const u=at(s);if(!He(r)&&!at(r)&&(s=ie(s),r=ie(r)),!i&&ye(s)&&!ye(r))return u||(s.value=r),!0}const l=i?Number(n)<t.length:ce(t,n),c=Reflect.set(t,n,r,ye(t)?t:o);return t===ie(o)&&(l?St(r,s)&&ot(t,"set",n,r):ot(t,"add",n,r)),c}deleteProperty(t,n){const r=ce(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&ot(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!dt(n)||!Ci.has(n))&&Ce(t,"has",n),r}ownKeys(t){return Ce(t,"iterate",Y(t)?"length":Tt),Reflect.ownKeys(t)}}class Yc extends Oi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xc=new Ai,Qc=new Yc,Zc=new Ai(!0);const zr=e=>e,Un=e=>Reflect.getPrototypeOf(e);function ea(e,t,n){return function(...r){const o=this.__v_raw,s=ie(o),i=qt(s),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=o[e](...r),a=n?zr:t?Gt:Ve;return!t&&Ce(s,"iterate",c?Wr:Tt),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[a(f[0]),a(f[1])]:a(f),done:h}},[Symbol.iterator](){return this}}}}function Nn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ta(e,t){const n={get(o){const s=this.__v_raw,i=ie(s),l=ie(o);e||(St(o,l)&&Ce(i,"get",o),Ce(i,"get",l));const{has:c}=Un(i),u=t?zr:e?Gt:Ve;if(c.call(i,o))return u(s.get(o));if(c.call(i,l))return u(s.get(l));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ce(ie(o),"iterate",Tt),o.size},has(o){const s=this.__v_raw,i=ie(s),l=ie(o);return e||(St(o,l)&&Ce(i,"has",o),Ce(i,"has",l)),o===l?s.has(o):s.has(o)||s.has(l)},forEach(o,s){const i=this,l=i.__v_raw,c=ie(l),u=t?zr:e?Gt:Ve;return!e&&Ce(c,"iterate",Tt),l.forEach((a,f)=>o.call(s,u(a),u(f),i))}};return Re(n,e?{add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear")}:{add(o){!t&&!He(o)&&!at(o)&&(o=ie(o));const s=ie(this);return Un(s).has.call(s,o)||(s.add(o),ot(s,"add",o,o)),this},set(o,s){!t&&!He(s)&&!at(s)&&(s=ie(s));const i=ie(this),{has:l,get:c}=Un(i);let u=l.call(i,o);u||(o=ie(o),u=l.call(i,o));const a=c.call(i,o);return i.set(o,s),u?St(s,a)&&ot(i,"set",o,s):ot(i,"add",o,s),this},delete(o){const s=ie(this),{has:i,get:l}=Un(s);let c=i.call(s,o);c||(o=ie(o),c=i.call(s,o)),l&&l.call(s,o);const u=s.delete(o);return c&&ot(s,"delete",o,void 0),u},clear(){const o=ie(this),s=o.size!==0,i=o.clear();return s&&ot(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ea(o,e,t)}),n}function Eo(e,t){const n=ta(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ce(n,o)&&o in r?n:r,o,s)}const na={get:Eo(!1,!1)},ra={get:Eo(!1,!0)},oa={get:Eo(!0,!1)};const Ri=new WeakMap,xi=new WeakMap,Ii=new WeakMap,sa=new WeakMap;function ia(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function la(e){return e.__v_skip||!Object.isExtensible(e)?0:ia(Tc(e))}function Cn(e){return at(e)?e:wo(e,!1,Xc,na,Ri)}function ki(e){return wo(e,!1,Zc,ra,xi)}function Gr(e){return wo(e,!0,Qc,oa,Ii)}function wo(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=la(e);if(s===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function it(e){return at(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function lr(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Co(e){return!ce(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const Ve=e=>pe(e)?Cn(e):e,Gt=e=>pe(e)?Gr(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function Ae(e){return Ti(e,!1)}function Jr(e){return Ti(e,!0)}function Ti(e,t){return ye(e)?e:new ca(e,t)}class ca{constructor(t,n){this.dep=new Po,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:Ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||He(t)||at(t);t=r?t:ie(t),St(t,n)&&(this._rawValue=t,this._value=r?t:Ve(t),this.dep.trigger())}}function aa(e){e.dep&&e.dep.trigger()}function Mt(e){return ye(e)?e.value:e}const ua={get:(e,t,n)=>t==="__v_raw"?e:Mt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ye(o)&&!ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Mi(e){return it(e)?e:new Proxy(e,ua)}function fa(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=pa(e,n);return t}class da{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ie(t);let o=!0,s=t;if(!Y(t)||!nr(String(n)))do o=!lr(s)||He(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Mt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return qc(this._raw,this._key)}}function pa(e,t,n){return new da(e,t,n)}class ha{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Po(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return bi(this,!0),!0}get value(){const t=this.dep.track();return Pi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ga(e,t,n=!1){let r,o;return Q(e)?r=e:(r=e.get,o=e.set),new ha(r,o,n)}const Hn={},qn=new WeakMap;let It;function ma(e,t=!1,n=It){if(n){let r=qn.get(n);r||qn.set(n,r=[]),r.push(e)}}function ya(e,t,n=ue){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:l,call:c}=n,u=T=>o?T:He(T)||o===!1||o===0?st(T,1):st(T);let a,f,h,d,y=!1,v=!1;if(ye(e)?(f=()=>e.value,y=He(e)):it(e)?(f=()=>u(e),y=!0):Y(e)?(v=!0,y=e.some(T=>it(T)||He(T)),f=()=>e.map(T=>{if(ye(T))return T.value;if(it(T))return u(T);if(Q(T))return c?c(T,2):T()})):Q(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){lt();try{h()}finally{ct()}}const T=It;It=a;try{return c?c(e,3,[d]):e(d)}finally{It=T}}:f=Qe,t&&o){const T=f,k=o===!0?1/0:o;f=()=>st(T(),k)}const I=mi(),w=()=>{a.stop(),I&&I.active&&go(I.effects,a)};if(s&&t){const T=t;t=(...k)=>{T(...k),w()}}let R=v?new Array(e.length).fill(Hn):Hn;const M=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const k=a.run();if(o||y||(v?k.some((Z,z)=>St(Z,R[z])):St(k,R))){h&&h();const Z=It;It=a;try{const z=[k,R===Hn?void 0:v&&R[0]===Hn?[]:R,d];R=k,c?c(t,3,z):t(...z)}finally{It=Z}}}else a.run()};return l&&l(M),a=new yi(f),a.scheduler=i?()=>i(M,!1):M,d=T=>ma(T,!1,a),h=a.onStop=()=>{const T=qn.get(a);if(T){if(c)c(T,4);else for(const k of T)k();qn.delete(a)}},t?r?M(!0):R=a.run():i?i(M.bind(null,!0),!0):a.run(),w.pause=a.pause.bind(a),w.resume=a.resume.bind(a),w.stop=w,w}function st(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))st(e.value,t,n);else if(Y(e))for(let r=0;r<e.length;r++)st(e[r],t,n);else if(ii(e)||qt(e))e.forEach(r=>{st(r,t,n)});else if(ai(e)){for(const r in e)st(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&st(e[r],t,n)}return e}function On(e,t,n,r){try{return r?e(...r):e()}catch(o){cr(o,t,n)}}function et(e,t,n,r){if(Q(e)){const o=On(e,t,n,r);return o&&li(o)&&o.catch(s=>{cr(s,t,n)}),o}if(Y(e)){const o=[];for(let s=0;s<e.length;s++)o.push(et(e[s],t,n,r));return o}}function cr(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ue;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,c,u)===!1)return}l=l.parent}if(s){lt(),On(s,null,10,[e,c,u]),ct();return}}va(e,n,o,r,i)}function va(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Te=[];let Ye=-1;const Wt=[];let vt=null,Bt=0;const Li=Promise.resolve();let Wn=null;function Oo(e){const t=Wn||Li;return e?t.then(this?e.bind(this):e):t}function ba(e){let t=Ye+1,n=Te.length;for(;t<n;){const r=t+n>>>1,o=Te[r],s=bn(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Ao(e){if(!(e.flags&1)){const t=bn(e),n=Te[Te.length-1];!n||!(e.flags&2)&&t>=bn(n)?Te.push(e):Te.splice(ba(t),0,e),e.flags|=1,ji()}}function ji(){Wn||(Wn=Li.then(Ni))}function _a(e){Y(e)?Wt.push(...e):vt&&e.id===-1?vt.splice(Bt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1),ji()}function es(e,t,n=Ye+1){for(;n<Te.length;n++){const r=Te[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Te.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Ui(e){if(Wt.length){const t=[...new Set(Wt)].sort((n,r)=>bn(n)-bn(r));if(Wt.length=0,vt){vt.push(...t);return}for(vt=t,Bt=0;Bt<vt.length;Bt++){const n=vt[Bt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}vt=null,Bt=0}}const bn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ni(e){try{for(Ye=0;Ye<Te.length;Ye++){const t=Te[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),On(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<Te.length;Ye++){const t=Te[Ye];t&&(t.flags&=-2)}Ye=-1,Te.length=0,Ui(),Wn=null,(Te.length||Wt.length)&&Ni()}}let Ee=null,Hi=null;function zn(e){const t=Ee;return Ee=e,Hi=e&&e.type.__scopeId||null,t}function Di(e,t=Ee,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Yn(-1);const s=zn(t);let i;try{i=e(...o)}finally{zn(s),r._d&&Yn(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function jh(e,t){if(Ee===null)return e;const n=dr(Ee),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,l,c=ue]=t[o];s&&(Q(s)&&(s={mounted:s,updated:s}),s.deep&&st(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let c=l.dir[r];c&&(lt(),et(c,n,8,[e.el,l,e,t]),ct())}}function Ze(e,t){if(Oe){let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function be(e,t,n=!1){const r=jo();if(r||Lt){let o=Lt?Lt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function Sa(){return!!(jo()||Lt)}const Pa=Symbol.for("v-scx"),Ea=()=>be(Pa);function wa(e,t){return Ro(e,null,t)}function Pt(e,t,n){return Ro(e,t,n)}function Ro(e,t,n=ue){const{immediate:r,deep:o,flush:s,once:i}=n,l=Re({},n),c=t&&r||!t&&s!=="post";let u;if(En){if(s==="sync"){const d=Ea();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!c){const d=()=>{};return d.stop=Qe,d.resume=Qe,d.pause=Qe,d}}const a=Oe;l.call=(d,y,v)=>et(d,a,y,v);let f=!1;s==="post"?l.scheduler=d=>{Ie(d,a&&a.suspense)}:s!=="sync"&&(f=!0,l.scheduler=(d,y)=>{y?d():Ao(d)}),l.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,a&&(d.id=a.uid,d.i=a))};const h=ya(e,t,l);return En&&(u?u.push(h):c&&h()),h}function Ca(e,t,n){const r=this.proxy,o=ve(e)?e.includes(".")?Fi(r,e):()=>r[e]:e.bind(r,r);let s;Q(t)?s=t:(s=t.handler,n=t);const i=xn(this),l=Ro(o,s.bind(r),n);return i(),l}function Fi(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Bi=Symbol("_vte"),Oa=e=>e.__isTeleport,un=e=>e&&(e.disabled||e.disabled===""),ts=e=>e&&(e.defer||e.defer===""),ns=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yr=(e,t)=>{const n=e&&e.to;return ve(n)?t?t(n):null:n},$i={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,l,c,u){const{mc:a,pc:f,pbc:h,o:{insert:d,querySelector:y,createText:v,createComment:I}}=u,w=un(t.props);let{shapeFlag:R,children:M,dynamicChildren:T}=t;if(e==null){const k=t.el=v(""),Z=t.anchor=v("");d(k,n,r),d(Z,n,r);const z=(p,_)=>{R&16&&a(M,p,_,o,s,i,l,c)},F=()=>{const p=t.target=Yr(t.props,y),_=Vi(p,t,v,d);p&&(i!=="svg"&&ns(p)?i="svg":i!=="mathml"&&rs(p)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(p),w||(z(p,_),Bn(t,!1)))};w&&(z(n,Z),Bn(t,!0)),ts(t.props)?(t.el.__isMounted=!1,Ie(()=>{F(),delete t.el.__isMounted},s)):F()}else{if(ts(t.props)&&e.el.__isMounted===!1){Ie(()=>{$i.process(e,t,n,r,o,s,i,l,c,u)},s);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,Z=t.target=e.target,z=t.targetAnchor=e.targetAnchor,F=un(e.props),p=F?n:Z,_=F?k:z;if(i==="svg"||ns(Z)?i="svg":(i==="mathml"||rs(Z))&&(i="mathml"),T?(h(e.dynamicChildren,T,p,o,s,i,l),Mo(e,t,!0)):c||f(e,t,p,_,o,s,i,l,!1),w)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dn(t,n,k,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const C=t.target=Yr(t.props,y);C&&Dn(t,C,null,u,0)}else F&&Dn(t,Z,z,u,1);Bn(t,w)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:a,target:f,props:h}=e;if(f&&(o(u),o(a)),s&&o(c),i&16){const d=s||!un(h);for(let y=0;y<l.length;y++){const v=l[y];r(v,t,n,d,!!v.dynamicChildren)}}},move:Dn,hydrate:Aa};function Dn(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:u,props:a}=e,f=s===2;if(f&&r(i,t,n),(!f||un(a))&&c&16)for(let h=0;h<u.length;h++)o(u[h],t,n,2);f&&r(l,t,n)}function Aa(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:u,createText:a}},f){function h(v,I,w,R){I.anchor=f(i(v),I,l(v),n,r,o,s),I.targetStart=w,I.targetAnchor=R}const d=t.target=Yr(t.props,c),y=un(t.props);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(y)h(e,t,v,v&&i(v));else{t.anchor=i(e);let I=v;for(;I;){if(I&&I.nodeType===8){if(I.data==="teleport start anchor")t.targetStart=I;else if(I.data==="teleport anchor"){t.targetAnchor=I,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}I=i(I)}t.targetAnchor||Vi(d,t,a,u),f(v&&i(v),t,d,n,r,o,s)}Bn(t,y)}else y&&t.shapeFlag&16&&h(e,t,e,i(e));return t.anchor&&i(t.anchor)}const Ra=$i;function Bn(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Vi(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[Bi]=s,e&&(r(o,e),r(s,e)),s}const xa=Symbol("_leaveCb");function xo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xo(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 he(e,t){return Q(e)?Re({name:e.name},t,{setup:e}):e}function Ki(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Gn=new WeakMap;function fn(e,t,n,r,o=!1){if(Y(e)){e.forEach((y,v)=>fn(y,t&&(Y(t)?t[v]:t),n,r,o));return}if(zt(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&fn(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?dr(r.component):r.el,i=o?null:s,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ue?l.refs={}:l.refs,f=l.setupState,h=ie(f),d=f===ue?si:y=>ce(h,y);if(u!=null&&u!==c){if(os(t),ve(u))a[u]=null,d(u)&&(f[u]=null);else if(ye(u)){u.value=null;const y=t;y.k&&(a[y.k]=null)}}if(Q(c))On(c,l,12,[i,a]);else{const y=ve(c),v=ye(c);if(y||v){const I=()=>{if(e.f){const w=y?d(c)?f[c]:a[c]:c.value;if(o)Y(w)&&go(w,s);else if(Y(w))w.includes(s)||w.push(s);else if(y)a[c]=[s],d(c)&&(f[c]=a[c]);else{const R=[s];c.value=R,e.k&&(a[e.k]=R)}}else y?(a[c]=i,d(c)&&(f[c]=i)):v&&(c.value=i,e.k&&(a[e.k]=i))};if(i){const w=()=>{I(),Gn.delete(e)};w.id=-1,Gn.set(e,w),Ie(w,n)}else os(e),I()}}}function os(e){const t=Gn.get(e);t&&(t.flags|=8,Gn.delete(e))}sr().requestIdleCallback;sr().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,qi=e=>e.type.__isKeepAlive;function Ia(e,t){Wi(e,"a",t)}function ka(e,t){Wi(e,"da",t)}function Wi(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ar(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&Ta(r,t,n,o),o=o.parent}}function Ta(e,t,n,r){const o=ar(t,e,r,!0);Io(()=>{go(r[t],o)},n)}function ar(e,t,n=Oe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{lt();const l=xn(n),c=et(t,n,e,i);return l(),ct(),c});return r?o.unshift(s):o.push(s),s}}const pt=e=>(t,n=Oe)=>{(!En||e==="sp")&&ar(e,(...r)=>t(...r),n)},Ma=pt("bm"),zi=pt("m"),La=pt("bu"),ja=pt("u"),Ua=pt("bum"),Io=pt("um"),Na=pt("sp"),Ha=pt("rtg"),Da=pt("rtc");function Fa(e,t=Oe){ar("ec",e,t)}const Gi="components";function Ba(e,t){return Yi(Gi,e,!0,t)||e}const Ji=Symbol.for("v-ndc");function $a(e){return ve(e)?Yi(Gi,e,!1)||e:e||Ji}function Yi(e,t,n=!0,r=!1){const o=Ee||Oe;if(o){const s=o.type;{const l=Au(s,!1);if(l&&(l===t||l===Be(t)||l===or(Be(t))))return s}const i=ss(o[e]||s[e],t)||ss(o.appContext[e],t);return!i&&r?s:i}}function ss(e,t){return e&&(e[t]||e[Be(t)]||e[or(Be(t))])}function Uh(e,t,n,r){let o;const s=n,i=Y(e);if(i||ve(e)){const l=i&&it(e);let c=!1,u=!1;l&&(c=!He(e),u=at(e),e=ir(e)),o=new Array(e.length);for(let a=0,f=e.length;a<f;a++)o[a]=t(c?u?Gt(Ve(e[a])):Ve(e[a]):e[a],a,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s)}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,s));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];o[c]=t(e[a],a,c,s)}}else o=[];return o}function An(e,t,n={},r,o){if(Ee.ce||Ee.parent&&zt(Ee.parent)&&Ee.parent.ce){const u=Object.keys(n).length>0;return ft(),Sn(Pe,null,[me("slot",n,r)],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ft();const i=s&&Xi(s(n)),l=n.key||i&&i.key,c=Sn(Pe,{key:(l&&!dt(l)?l:`_${t}`)+(!i&&r?"_fb":"")},i||[],i&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Xi(e){return e.some(t=>Pn(t)?!(t.type===ut||t.type===Pe&&!Xi(t.children)):!0)?e:null}const Xr=e=>e?vl(e)?dr(e):Xr(e.parent):null,dn=Re(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=>Xr(e.parent),$root:e=>Xr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>el(e),$forceUpdate:e=>e.f||(e.f=()=>{Ao(e.update)}),$nextTick:e=>e.n||(e.n=Oo.bind(e.proxy)),$watch:e=>Ca.bind(e)}),Rr=(e,t)=>e!==ue&&!e.__isScriptSetup&&ce(e,t),Va={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Rr(r,t))return i[t]=1,r[t];if(o!==ue&&ce(o,t))return i[t]=2,o[t];if(ce(s,t))return i[t]=3,s[t];if(n!==ue&&ce(n,t))return i[t]=4,n[t];Qr&&(i[t]=0)}}const u=dn[t];let a,f;if(u)return t==="$attrs"&&Ce(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ue&&ce(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,ce(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Rr(o,t)?(o[t]=n,!0):r!==ue&&ce(r,t)?(r[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},l){let c;return!!(n[l]||e!==ue&&l[0]!=="$"&&ce(e,l)||Rr(t,l)||ce(s,l)||ce(r,l)||ce(dn,l)||ce(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ka(){return Qi().slots}function qa(){return Qi().attrs}function Qi(e){const t=jo();return t.setupContext||(t.setupContext=_l(t))}function is(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qr=!0;function Wa(e){const t=el(e),n=e.proxy,r=e.ctx;Qr=!1,t.beforeCreate&&ls(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:d,updated:y,activated:v,deactivated:I,beforeDestroy:w,beforeUnmount:R,destroyed:M,unmounted:T,render:k,renderTracked:Z,renderTriggered:z,errorCaptured:F,serverPrefetch:p,expose:_,inheritAttrs:C,components:j,directives:O,filters:N}=t;if(u&&za(u,r,null),i)for(const J in i){const te=i[J];Q(te)&&(r[J]=te.bind(n))}if(o){const J=o.call(n,n);pe(J)&&(e.data=Cn(J))}if(Qr=!0,s)for(const J in s){const te=s[J],G=Q(te)?te.bind(n,n):Q(te.get)?te.get.bind(n,n):Qe,re=!Q(te)&&Q(te.set)?te.set.bind(n):Qe,De=ee({get:G,set:re});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>De.value,set:Me=>De.value=Me})}if(l)for(const J in l)Zi(l[J],r,n,J);if(c){const J=Q(c)?c.call(n):c;Reflect.ownKeys(J).forEach(te=>{Ze(te,J[te])})}a&&ls(a,e,"c");function ne(J,te){Y(te)?te.forEach(G=>J(G.bind(n))):te&&J(te.bind(n))}if(ne(Ma,f),ne(zi,h),ne(La,d),ne(ja,y),ne(Ia,v),ne(ka,I),ne(Fa,F),ne(Da,Z),ne(Ha,z),ne(Ua,R),ne(Io,T),ne(Na,p),Y(_))if(_.length){const J=e.exposed||(e.exposed={});_.forEach(te=>{Object.defineProperty(J,te,{get:()=>n[te],set:G=>n[te]=G,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Qe&&(e.render=k),C!=null&&(e.inheritAttrs=C),j&&(e.components=j),O&&(e.directives=O),p&&Ki(e)}function za(e,t,n=Qe){Y(e)&&(e=Zr(e));for(const r in e){const o=e[r];let s;pe(o)?"default"in o?s=be(o.from||r,o.default,!0):s=be(o.from||r):s=be(o),ye(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function ls(e,t,n){et(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zi(e,t,n,r){let o=r.includes(".")?Fi(n,r):()=>n[r];if(ve(e)){const s=t[e];Q(s)&&Pt(o,s)}else if(Q(e))Pt(o,e.bind(n));else if(pe(e))if(Y(e))e.forEach(s=>Zi(s,t,n,r));else{const s=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(s)&&Pt(o,s,e)}}function el(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(u=>Jn(c,u,i,!0)),Jn(c,t,i)),pe(t)&&s.set(t,c),c}function Jn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Jn(e,s,n,!0),o&&o.forEach(i=>Jn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ga[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ga={data:cs,props:as,emits:as,methods:sn,computed:sn,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:sn,directives:sn,watch:Ya,provide:cs,inject:Ja};function cs(e,t){return t?e?function(){return Re(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ja(e,t){return sn(Zr(e),Zr(t))}function Zr(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xe(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?Re(Object.create(null),e,t):t}function as(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:Re(Object.create(null),is(e),is(t??{})):t}function Ya(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=xe(e[r],t[r]);return n}function tl(){return{app:null,config:{isNativeTag:si,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 Xa=0;function Qa(e,t){return function(r,o=null){Q(r)||(r=Re({},r)),o!=null&&!pe(o)&&(o=null);const s=tl(),i=new WeakSet,l=[];let c=!1;const u=s.app={_uid:Xa++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:xu,get config(){return s.config},set config(a){},use(a,...f){return i.has(a)||(a&&Q(a.install)?(i.add(a),a.install(u,...f)):Q(a)&&(i.add(a),a(u,...f))),u},mixin(a){return s.mixins.includes(a)||s.mixins.push(a),u},component(a,f){return f?(s.components[a]=f,u):s.components[a]},directive(a,f){return f?(s.directives[a]=f,u):s.directives[a]},mount(a,f,h){if(!c){const d=u._ceVNode||me(r,o);return d.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),e(d,a,h),c=!0,u._container=a,a.__vue_app__=u,dr(d.component)}},onUnmount(a){l.push(a)},unmount(){c&&(et(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,f){return s.provides[a]=f,u},runWithContext(a){const f=Lt;Lt=u;try{return a()}finally{Lt=f}}};return u}}let Lt=null;const Za=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Be(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function eu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ue;let o=n;const s=t.startsWith("update:"),i=s&&Za(r,t.slice(7));i&&(i.trim&&(o=n.map(a=>ve(a)?a.trim():a)),i.number&&(o=n.map(mo)));let l,c=r[l=Er(t)]||r[l=Er(Be(t))];!c&&s&&(c=r[l=Er(Et(t))]),c&&et(c,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,et(u,e,6,o)}}const tu=new WeakMap;function nl(e,t,n=!1){const r=n?tu:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!Q(e)){const c=u=>{const a=nl(u,t,!0);a&&(l=!0,Re(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!l?(pe(e)&&r.set(e,null),null):(Y(s)?s.forEach(c=>i[c]=null):Re(i,s),pe(e)&&r.set(e,i),i)}function ur(e,t){return!e||!er(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Et(t))||ce(e,t))}function us(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:h,setupState:d,ctx:y,inheritAttrs:v}=e,I=zn(e);let w,R;try{if(n.shapeFlag&4){const T=o||r,k=T;w=Xe(u.call(k,T,a,f,d,h,y)),R=l}else{const T=t;w=Xe(T.length>1?T(f,{attrs:l,slots:i,emit:c}):T(f,null)),R=t.props?l:nu(l)}}catch(T){pn.length=0,cr(T,e,1),w=me(ut)}let M=w;if(R&&v!==!1){const T=Object.keys(R),{shapeFlag:k}=M;T.length&&k&7&&(s&&T.some(ho)&&(R=ru(R,s)),M=Jt(M,R,!1,!0))}return n.dirs&&(M=Jt(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&xo(M,n.transition),w=M,zn(I),w}const nu=e=>{let t;for(const n in e)(n==="class"||n==="style"||er(n))&&((t||(t={}))[n]=e[n]);return t},ru=(e,t)=>{const n={};for(const r in e)(!ho(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ou(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?fs(r,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;f<a.length;f++){const h=a[f];if(i[h]!==r[h]&&!ur(u,h))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?fs(r,i,u):!0:!!i;return!1}function fs(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!ur(n,s))return!0}return!1}function su({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const rl={},ol=()=>Object.create(rl),sl=e=>Object.getPrototypeOf(e)===rl;function iu(e,t,n,r=!1){const o={},s=ol();e.propsDefaults=Object.create(null),il(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:ki(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function lu(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ie(o),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f<a.length;f++){let h=a[f];if(ur(e.emitsOptions,h))continue;const d=t[h];if(c)if(ce(s,h))d!==s[h]&&(s[h]=d,u=!0);else{const y=Be(h);o[y]=eo(c,l,y,d,e,!1)}else d!==s[h]&&(s[h]=d,u=!0)}}}else{il(e,t,o,s)&&(u=!0);let a;for(const f in l)(!t||!ce(t,f)&&((a=Et(f))===f||!ce(t,a)))&&(c?n&&(n[f]!==void 0||n[a]!==void 0)&&(o[f]=eo(c,l,f,void 0,e,!0)):delete o[f]);if(s!==l)for(const f in s)(!t||!ce(t,f))&&(delete s[f],u=!0)}u&&ot(e.attrs,"set","")}function il(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(ln(c))continue;const u=t[c];let a;o&&ce(o,a=Be(c))?!s||!s.includes(a)?n[a]=u:(l||(l={}))[a]=u:ur(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,i=!0)}if(s){const c=ie(n),u=l||ue;for(let a=0;a<s.length;a++){const f=s[a];n[f]=eo(o,c,f,u[f],e,!ce(u,f))}}return i}function eo(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=ce(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&Q(c)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const a=xn(o);r=u[n]=c.call(null,t),a()}}else r=c;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===Et(n))&&(r=!0))}return r}const cu=new WeakMap;function ll(e,t,n=!1){const r=n?cu:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let c=!1;if(!Q(e)){const a=f=>{c=!0;const[h,d]=ll(f,t,!0);Re(i,h),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!s&&!c)return pe(e)&&r.set(e,Kt),Kt;if(Y(s))for(let a=0;a<s.length;a++){const f=Be(s[a]);ds(f)&&(i[f]=ue)}else if(s)for(const a in s){const f=Be(a);if(ds(f)){const h=s[a],d=i[f]=Y(h)||Q(h)?{type:h}:Re({},h),y=d.type;let v=!1,I=!0;if(Y(y))for(let w=0;w<y.length;++w){const R=y[w],M=Q(R)&&R.name;if(M==="Boolean"){v=!0;break}else M==="String"&&(I=!1)}else v=Q(y)&&y.name==="Boolean";d[0]=v,d[1]=I,(v||ce(d,"default"))&&l.push(f)}}const u=[i,l];return pe(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!ln(e)}const ko=e=>e==="_"||e==="_ctx"||e==="$stable",To=e=>Y(e)?e.map(Xe):[Xe(e)],au=(e,t,n)=>{if(t._n)return t;const r=Di((...o)=>To(t(...o)),n);return r._c=!1,r},cl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ko(o))continue;const s=e[o];if(Q(s))t[o]=au(o,s,r);else if(s!=null){const i=To(s);t[o]=()=>i}}},al=(e,t)=>{const n=To(t);e.slots.default=()=>n},ul=(e,t,n)=>{for(const r in t)(n||!ko(r))&&(e[r]=t[r])},uu=(e,t,n)=>{const r=e.slots=ol();if(e.vnode.shapeFlag&32){const o=t._;o?(ul(r,t,n),n&&ui(r,"_",o,!0)):cl(t,r)}else t&&al(e,t)},fu=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ue;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:ul(o,t,n):(s=!t.$stable,cl(t,o)),i=t}else t&&(al(e,t),i={default:1});if(s)for(const l in o)!ko(l)&&i[l]==null&&delete o[l]},Ie=mu;function du(e){return pu(e)}function pu(e,t){const n=sr();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:d=Qe,insertStaticContent:y}=e,v=(g,m,b,S=null,A=null,P=null,H=void 0,U=null,L=!!m.dynamicChildren)=>{if(g===m)return;g&&!nn(g,m)&&(S=E(g),Me(g,A,P,!0),g=null),m.patchFlag===-2&&(L=!1,m.dynamicChildren=null);const{type:x,ref:W,shapeFlag:B}=m;switch(x){case Rn:I(g,m,b,S);break;case ut:w(g,m,b,S);break;case Ir:g==null&&R(m,b,S,H);break;case Pe:j(g,m,b,S,A,P,H,U,L);break;default:B&1?k(g,m,b,S,A,P,H,U,L):B&6?O(g,m,b,S,A,P,H,U,L):(B&64||B&128)&&x.process(g,m,b,S,A,P,H,U,L,K)}W!=null&&A?fn(W,g&&g.ref,P,m||g,!m):W==null&&g&&g.ref!=null&&fn(g.ref,null,P,g,!0)},I=(g,m,b,S)=>{if(g==null)r(m.el=l(m.children),b,S);else{const A=m.el=g.el;m.children!==g.children&&u(A,m.children)}},w=(g,m,b,S)=>{g==null?r(m.el=c(m.children||""),b,S):m.el=g.el},R=(g,m,b,S)=>{[g.el,g.anchor]=y(g.children,m,b,S,g.el,g.anchor)},M=({el:g,anchor:m},b,S)=>{let A;for(;g&&g!==m;)A=h(g),r(g,b,S),g=A;r(m,b,S)},T=({el:g,anchor:m})=>{let b;for(;g&&g!==m;)b=h(g),o(g),g=b;o(m)},k=(g,m,b,S,A,P,H,U,L)=>{if(m.type==="svg"?H="svg":m.type==="math"&&(H="mathml"),g==null)Z(m,b,S,A,P,H,U,L);else{const x=g.el&&g.el._isVueCE?g.el:null;try{x&&x._beginPatch(),p(g,m,A,P,H,U,L)}finally{x&&x._endPatch()}}},Z=(g,m,b,S,A,P,H,U)=>{let L,x;const{props:W,shapeFlag:B,transition:q,dirs:X}=g;if(L=g.el=i(g.type,P,W&&W.is,W),B&8?a(L,g.children):B&16&&F(g.children,L,null,S,A,xr(g,P),H,U),X&&Ct(g,null,S,"created"),z(L,g,g.scopeId,H,S),W){for(const fe in W)fe!=="value"&&!ln(fe)&&s(L,fe,null,W[fe],P,S);"value"in W&&s(L,"value",null,W.value,P),(x=W.onVnodeBeforeMount)&&Je(x,S,g)}X&&Ct(g,null,S,"beforeMount");const se=hu(A,q);se&&q.beforeEnter(L),r(L,m,b),((x=W&&W.onVnodeMounted)||se||X)&&Ie(()=>{x&&Je(x,S,g),se&&q.enter(L),X&&Ct(g,null,S,"mounted")},A)},z=(g,m,b,S,A)=>{if(b&&d(g,b),S)for(let P=0;P<S.length;P++)d(g,S[P]);if(A){let P=A.subTree;if(m===P||pl(P.type)&&(P.ssContent===m||P.ssFallback===m)){const H=A.vnode;z(g,H,H.scopeId,H.slotScopeIds,A.parent)}}},F=(g,m,b,S,A,P,H,U,L=0)=>{for(let x=L;x<g.length;x++){const W=g[x]=U?bt(g[x]):Xe(g[x]);v(null,W,m,b,S,A,P,H,U)}},p=(g,m,b,S,A,P,H)=>{const U=m.el=g.el;let{patchFlag:L,dynamicChildren:x,dirs:W}=m;L|=g.patchFlag&16;const B=g.props||ue,q=m.props||ue;let X;if(b&&Ot(b,!1),(X=q.onVnodeBeforeUpdate)&&Je(X,b,m,g),W&&Ct(m,g,b,"beforeUpdate"),b&&Ot(b,!0),(B.innerHTML&&q.innerHTML==null||B.textContent&&q.textContent==null)&&a(U,""),x?_(g.dynamicChildren,x,U,b,S,xr(m,A),P):H||te(g,m,U,null,b,S,xr(m,A),P,!1),L>0){if(L&16)C(U,B,q,b,A);else if(L&2&&B.class!==q.class&&s(U,"class",null,q.class,A),L&4&&s(U,"style",B.style,q.style,A),L&8){const se=m.dynamicProps;for(let fe=0;fe<se.length;fe++){const ae=se[fe],Le=B[ae],je=q[ae];(je!==Le||ae==="value")&&s(U,ae,Le,je,A,b)}}L&1&&g.children!==m.children&&a(U,m.children)}else!H&&x==null&&C(U,B,q,b,A);((X=q.onVnodeUpdated)||W)&&Ie(()=>{X&&Je(X,b,m,g),W&&Ct(m,g,b,"updated")},S)},_=(g,m,b,S,A,P,H)=>{for(let U=0;U<m.length;U++){const L=g[U],x=m[U],W=L.el&&(L.type===Pe||!nn(L,x)||L.shapeFlag&198)?f(L.el):b;v(L,x,W,null,S,A,P,H,!0)}},C=(g,m,b,S,A)=>{if(m!==b){if(m!==ue)for(const P in m)!ln(P)&&!(P in b)&&s(g,P,m[P],null,A,S);for(const P in b){if(ln(P))continue;const H=b[P],U=m[P];H!==U&&P!=="value"&&s(g,P,U,H,A,S)}"value"in b&&s(g,"value",m.value,b.value,A)}},j=(g,m,b,S,A,P,H,U,L)=>{const x=m.el=g?g.el:l(""),W=m.anchor=g?g.anchor:l("");let{patchFlag:B,dynamicChildren:q,slotScopeIds:X}=m;X&&(U=U?U.concat(X):X),g==null?(r(x,b,S),r(W,b,S),F(m.children||[],b,W,A,P,H,U,L)):B>0&&B&64&&q&&g.dynamicChildren&&g.dynamicChildren.length===q.length?(_(g.dynamicChildren,q,b,A,P,H,U),(m.key!=null||A&&m===A.subTree)&&Mo(g,m,!0)):te(g,m,b,W,A,P,H,U,L)},O=(g,m,b,S,A,P,H,U,L)=>{m.slotScopeIds=U,g==null?m.shapeFlag&512?A.ctx.activate(m,b,S,H,L):N(m,b,S,A,P,H,L):V(g,m,L)},N=(g,m,b,S,A,P,H)=>{const U=g.component=Eu(g,S,A);if(qi(g)&&(U.ctx.renderer=K),wu(U,!1,H),U.asyncDep){if(A&&A.registerDep(U,ne,H),!g.el){const L=U.subTree=me(ut);w(null,L,m,b),g.placeholder=L.el}}else ne(U,g,m,b,A,P,H)},V=(g,m,b)=>{const S=m.component=g.component;if(ou(g,m,b))if(S.asyncDep&&!S.asyncResolved){J(S,m,b);return}else S.next=m,S.update();else m.el=g.el,S.vnode=m},ne=(g,m,b,S,A,P,H)=>{const U=()=>{if(g.isMounted){let{next:B,bu:q,u:X,parent:se,vnode:fe}=g;{const ze=fl(g);if(ze){B&&(B.el=fe.el,J(g,B,H)),ze.asyncDep.then(()=>{g.isUnmounted||U()});return}}let ae=B,Le;Ot(g,!1),B?(B.el=fe.el,J(g,B,H)):B=fe,q&&Fn(q),(Le=B.props&&B.props.onVnodeBeforeUpdate)&&Je(Le,se,B,fe),Ot(g,!0);const je=us(g),We=g.subTree;g.subTree=je,v(We,je,f(We.el),E(We),g,A,P),B.el=je.el,ae===null&&su(g,je.el),X&&Ie(X,A),(Le=B.props&&B.props.onVnodeUpdated)&&Ie(()=>Je(Le,se,B,fe),A)}else{let B;const{el:q,props:X}=m,{bm:se,m:fe,parent:ae,root:Le,type:je}=g,We=zt(m);Ot(g,!1),se&&Fn(se),!We&&(B=X&&X.onVnodeBeforeMount)&&Je(B,ae,m),Ot(g,!0);{Le.ce&&Le.ce._def.shadowRoot!==!1&&Le.ce._injectChildStyle(je);const ze=g.subTree=us(g);v(null,ze,b,S,g,A,P),m.el=ze.el}if(fe&&Ie(fe,A),!We&&(B=X&&X.onVnodeMounted)){const ze=m;Ie(()=>Je(B,ae,ze),A)}(m.shapeFlag&256||ae&&zt(ae.vnode)&&ae.vnode.shapeFlag&256)&&g.a&&Ie(g.a,A),g.isMounted=!0,m=b=S=null}};g.scope.on();const L=g.effect=new yi(U);g.scope.off();const x=g.update=L.run.bind(L),W=g.job=L.runIfDirty.bind(L);W.i=g,W.id=g.uid,L.scheduler=()=>Ao(W),Ot(g,!0),x()},J=(g,m,b)=>{m.component=g;const S=g.vnode.props;g.vnode=m,g.next=null,lu(g,m.props,S,b),fu(g,m.children,b),lt(),es(g),ct()},te=(g,m,b,S,A,P,H,U,L=!1)=>{const x=g&&g.children,W=g?g.shapeFlag:0,B=m.children,{patchFlag:q,shapeFlag:X}=m;if(q>0){if(q&128){re(x,B,b,S,A,P,H,U,L);return}else if(q&256){G(x,B,b,S,A,P,H,U,L);return}}X&8?(W&16&&Fe(x,A,P),B!==x&&a(b,B)):W&16?X&16?re(x,B,b,S,A,P,H,U,L):Fe(x,A,P,!0):(W&8&&a(b,""),X&16&&F(B,b,S,A,P,H,U,L))},G=(g,m,b,S,A,P,H,U,L)=>{g=g||Kt,m=m||Kt;const x=g.length,W=m.length,B=Math.min(x,W);let q;for(q=0;q<B;q++){const X=m[q]=L?bt(m[q]):Xe(m[q]);v(g[q],X,b,null,A,P,H,U,L)}x>W?Fe(g,A,P,!0,!1,B):F(m,b,S,A,P,H,U,L,B)},re=(g,m,b,S,A,P,H,U,L)=>{let x=0;const W=m.length;let B=g.length-1,q=W-1;for(;x<=B&&x<=q;){const X=g[x],se=m[x]=L?bt(m[x]):Xe(m[x]);if(nn(X,se))v(X,se,b,null,A,P,H,U,L);else break;x++}for(;x<=B&&x<=q;){const X=g[B],se=m[q]=L?bt(m[q]):Xe(m[q]);if(nn(X,se))v(X,se,b,null,A,P,H,U,L);else break;B--,q--}if(x>B){if(x<=q){const X=q+1,se=X<W?m[X].el:S;for(;x<=q;)v(null,m[x]=L?bt(m[x]):Xe(m[x]),b,se,A,P,H,U,L),x++}}else if(x>q)for(;x<=B;)Me(g[x],A,P,!0),x++;else{const X=x,se=x,fe=new Map;for(x=se;x<=q;x++){const Ue=m[x]=L?bt(m[x]):Xe(m[x]);Ue.key!=null&&fe.set(Ue.key,x)}let ae,Le=0;const je=q-se+1;let We=!1,ze=0;const Zt=new Array(je);for(x=0;x<je;x++)Zt[x]=0;for(x=X;x<=B;x++){const Ue=g[x];if(Le>=je){Me(Ue,A,P,!0);continue}let Ge;if(Ue.key!=null)Ge=fe.get(Ue.key);else for(ae=se;ae<=q;ae++)if(Zt[ae-se]===0&&nn(Ue,m[ae])){Ge=ae;break}Ge===void 0?Me(Ue,A,P,!0):(Zt[Ge-se]=x+1,Ge>=ze?ze=Ge:We=!0,v(Ue,m[Ge],b,null,A,P,H,U,L),Le++)}const $o=We?gu(Zt):Kt;for(ae=$o.length-1,x=je-1;x>=0;x--){const Ue=se+x,Ge=m[Ue],Vo=m[Ue+1],Ko=Ue+1<W?Vo.el||dl(Vo):S;Zt[x]===0?v(null,Ge,b,Ko,A,P,H,U,L):We&&(ae<0||x!==$o[ae]?De(Ge,b,Ko,2):ae--)}}},De=(g,m,b,S,A=null)=>{const{el:P,type:H,transition:U,children:L,shapeFlag:x}=g;if(x&6){De(g.component.subTree,m,b,S);return}if(x&128){g.suspense.move(m,b,S);return}if(x&64){H.move(g,m,b,K);return}if(H===Pe){r(P,m,b);for(let B=0;B<L.length;B++)De(L[B],m,b,S);r(g.anchor,m,b);return}if(H===Ir){M(g,m,b);return}if(S!==2&&x&1&&U)if(S===0)U.beforeEnter(P),r(P,m,b),Ie(()=>U.enter(P),A);else{const{leave:B,delayLeave:q,afterLeave:X}=U,se=()=>{g.ctx.isUnmounted?o(P):r(P,m,b)},fe=()=>{P._isLeaving&&P[xa](!0),B(P,()=>{se(),X&&X()})};q?q(P,se,fe):fe()}else r(P,m,b)},Me=(g,m,b,S=!1,A=!1)=>{const{type:P,props:H,ref:U,children:L,dynamicChildren:x,shapeFlag:W,patchFlag:B,dirs:q,cacheIndex:X}=g;if(B===-2&&(A=!1),U!=null&&(lt(),fn(U,null,b,g,!0),ct()),X!=null&&(m.renderCache[X]=void 0),W&256){m.ctx.deactivate(g);return}const se=W&1&&q,fe=!zt(g);let ae;if(fe&&(ae=H&&H.onVnodeBeforeUnmount)&&Je(ae,m,g),W&6)wt(g.component,b,S);else{if(W&128){g.suspense.unmount(b,S);return}se&&Ct(g,null,m,"beforeUnmount"),W&64?g.type.remove(g,m,b,K,S):x&&!x.hasOnce&&(P!==Pe||B>0&&B&64)?Fe(x,m,b,!1,!0):(P===Pe&&B&384||!A&&W&16)&&Fe(L,m,b),S&&Nt(g)}(fe&&(ae=H&&H.onVnodeUnmounted)||se)&&Ie(()=>{ae&&Je(ae,m,g),se&&Ct(g,null,m,"unmounted")},b)},Nt=g=>{const{type:m,el:b,anchor:S,transition:A}=g;if(m===Pe){Ht(b,S);return}if(m===Ir){T(g);return}const P=()=>{o(b),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(g.shapeFlag&1&&A&&!A.persisted){const{leave:H,delayLeave:U}=A,L=()=>H(b,P);U?U(g.el,P,L):L()}else P()},Ht=(g,m)=>{let b;for(;g!==m;)b=h(g),o(g),g=b;o(m)},wt=(g,m,b)=>{const{bum:S,scope:A,job:P,subTree:H,um:U,m:L,a:x}=g;ps(L),ps(x),S&&Fn(S),A.stop(),P&&(P.flags|=8,Me(H,g,m,b)),U&&Ie(U,m),Ie(()=>{g.isUnmounted=!0},m)},Fe=(g,m,b,S=!1,A=!1,P=0)=>{for(let H=P;H<g.length;H++)Me(g[H],m,b,S,A)},E=g=>{if(g.shapeFlag&6)return E(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const m=h(g.anchor||g.el),b=m&&m[Bi];return b?h(b):m};let $=!1;const D=(g,m,b)=>{let S;g==null?m._vnode&&(Me(m._vnode,null,null,!0),S=m._vnode.component):v(m._vnode||null,g,m,null,null,null,b),m._vnode=g,$||($=!0,es(S),Ui(),$=!1)},K={p:v,um:Me,m:De,r:Nt,mt:N,mc:F,pc:te,pbc:_,n:E,o:e};return{render:D,hydrate:void 0,createApp:Qa(D)}}function xr({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 Ot({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mo(e,t,n=!1){const r=e.children,o=t.children;if(Y(r)&&Y(o))for(let s=0;s<r.length;s++){const i=r[s];let l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=bt(o[s]),l.el=i.el),!n&&l.patchFlag!==-2&&Mo(i,l)),l.type===Rn&&(l.patchFlag!==-1?l.el=i.el:l.__elIndex=s+(e.type===Pe?1:0)),l.type===ut&&!l.el&&(l.el=i.el)}}function gu(e){const t=e.slice(),n=[0];let r,o,s,i,l;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<u?s=l+1:i=l;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function fl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fl(t)}function ps(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function dl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?dl(t.subTree):null}const pl=e=>e.__isSuspense;function mu(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):_a(e)}const Pe=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),pn=[];let Ne=null;function ft(e=!1){pn.push(Ne=e?null:[])}function yu(){pn.pop(),Ne=pn[pn.length-1]||null}let _n=1;function Yn(e,t=!1){_n+=e,e<0&&Ne&&t&&(Ne.hasOnce=!0)}function hl(e){return e.dynamicChildren=_n>0?Ne||Kt:null,yu(),_n>0&&Ne&&Ne.push(e),e}function fr(e,t,n,r,o,s){return hl(ml(e,t,n,r,o,s,!0))}function Sn(e,t,n,r,o){return hl(me(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const gl=({key:e})=>e??null,$n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||ye(e)||Q(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function ml(e,t=null,n=null,r=0,o=null,s=e===Pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gl(t),ref:t&&$n(t),scopeId:Hi,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ee};return l?(Lo(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),_n>0&&!i&&Ne&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ne.push(c),c}const me=vu;function vu(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Ji)&&(e=ut),Pn(e)){const l=Jt(e,t,!0);return n&&Lo(l,n),_n>0&&!s&&Ne&&(l.shapeFlag&6?Ne[Ne.indexOf(e)]=l:Ne.push(l)),l.patchFlag=-2,l}if(Ru(e)&&(e=e.__vccOpts),t){t=bu(t);let{class:l,style:c}=t;l&&!ve(l)&&(t.class=vo(l)),pe(c)&&(lr(c)&&!Y(c)&&(c=Re({},c)),t.style=yo(c))}const i=ve(e)?1:pl(e)?128:Oa(e)?64:pe(e)?4:Q(e)?2:0;return ml(e,t,n,r,o,i,s,!0)}function bu(e){return e?lr(e)||sl(e)?Re({},e):e:null}function Jt(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:c}=e,u=t?yl(o||{},t):o,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&gl(u),ref:t&&t.ref?n&&s?Y(s)?s.concat($n(t)):[s,$n(t)]:$n(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&xo(a,c.clone(a)),a}function _u(e=" ",t=0){return me(Rn,null,e,t)}function Nh(e="",t=!1){return t?(ft(),Sn(ut,null,e)):me(ut,null,e)}function Xe(e){return e==null||typeof e=="boolean"?me(ut):Y(e)?me(Pe,null,e.slice()):Pn(e)?bt(e):me(Rn,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function Lo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Lo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!sl(t)?t._ctx=Ee:o===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[_u(t)]):n=8);e.children=t,e.shapeFlag|=n}function yl(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=vo([t.class,r.class]));else if(o==="style")t.style=yo([t.style,r.style]);else if(er(o)){const s=t[o],i=r[o];i&&s!==i&&!(Y(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function Je(e,t,n,r=null){et(e,t,7,[n,r])}const Su=tl();let Pu=0;function Eu(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Su,s={uid:Pu++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hi(!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:ll(r,o),emitsOptions:nl(r,o),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:r.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,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 s.ctx={_:s},s.root=t?t.root:s,s.emit=eu.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const jo=()=>Oe||Ee;let Xn,to;{const e=sr(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Xn=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),to=t("__VUE_SSR_SETTERS__",n=>En=n)}const xn=e=>{const t=Oe;return Xn(e),e.scope.on(),()=>{e.scope.off(),Xn(t)}},hs=()=>{Oe&&Oe.scope.off(),Xn(null)};function vl(e){return e.vnode.shapeFlag&4}let En=!1;function wu(e,t=!1,n=!1){t&&to(t);const{props:r,children:o}=e.vnode,s=vl(e);iu(e,r,s,t),uu(e,o,n||t);const i=s?Cu(e,t):void 0;return t&&to(!1),i}function Cu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Va);const{setup:r}=n;if(r){lt();const o=e.setupContext=r.length>1?_l(e):null,s=xn(e),i=On(r,e,0,[e.props,o]),l=li(i);if(ct(),s(),(l||e.sp)&&!zt(e)&&Ki(e),l){if(i.then(hs,hs),t)return i.then(c=>{gs(e,c)}).catch(c=>{cr(c,e,0)});e.asyncDep=i}else gs(e,i)}else bl(e)}function gs(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=Mi(t)),bl(e)}function bl(e,t,n){const r=e.type;e.render||(e.render=r.render||Qe);{const o=xn(e);lt();try{Wa(e)}finally{ct(),o()}}}const Ou={get(e,t){return Ce(e,"get",""),e[t]}};function _l(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ou),slots:e.slots,emit:e.emit,expose:t}}function dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mi(Co(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dn)return dn[n](e)},has(t,n){return n in t||n in dn}})):e.proxy}function Au(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Ru(e){return Q(e)&&"__vccOpts"in e}const ee=(e,t)=>ga(e,t,En);function jt(e,t,n){try{Yn(-1);const r=arguments.length;return r===2?pe(t)&&!Y(t)?Pn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),me(e,t,n))}finally{Yn(1)}}const xu="3.5.26";let no;const ms=typeof window<"u"&&window.trustedTypes;if(ms)try{no=ms.createPolicy("vue",{createHTML:e=>e})}catch{}const Sl=no?e=>no.createHTML(e):e=>e,Iu="http://www.w3.org/2000/svg",ku="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,ys=rt&&rt.createElement("template"),Tu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?rt.createElementNS(Iu,e):t==="mathml"?rt.createElementNS(ku,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ys.innerHTML=Sl(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=ys.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Mu=Symbol("_vtc");function Lu(e,t,n){const r=e[Mu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qn=Symbol("_vod"),Pl=Symbol("_vsh"),Hh={name:"show",beforeMount(e,{value:t},{transition:n}){e[Qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):rn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),rn(e,!0),r.enter(e)):r.leave(e,()=>{rn(e,!1)}):rn(e,t))},beforeUnmount(e,{value:t}){rn(e,t)}};function rn(e,t){e.style.display=t?e[Qn]:"none",e[Pl]=!t}const ju=Symbol(""),Uu=/(?:^|;)\s*display\s*:/;function Nu(e,t,n){const r=e.style,o=ve(n);let s=!1;if(n&&!o){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Vn(r,l,"")}else for(const i in t)n[i]==null&&Vn(r,i,"");for(const i in n)i==="display"&&(s=!0),Vn(r,i,n[i])}else if(o){if(t!==n){const i=r[ju];i&&(n+=";"+i),r.cssText=n,s=Uu.test(n)}}else t&&e.removeAttribute("style");Qn in e&&(e[Qn]=s?r.display:"",e[Pl]&&(r.display="none"))}const vs=/\s*!important$/;function Vn(e,t,n){if(Y(n))n.forEach(r=>Vn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Hu(e,t);vs.test(n)?e.setProperty(Et(r),n.replace(vs,""),"important"):e[r]=n}}const bs=["Webkit","Moz","ms"],kr={};function Hu(e,t){const n=kr[t];if(n)return n;let r=Be(t);if(r!=="filter"&&r in e)return kr[t]=r;r=or(r);for(let o=0;o<bs.length;o++){const s=bs[o]+r;if(s in e)return kr[t]=s}return t}const _s="http://www.w3.org/1999/xlink";function Ss(e,t,n,r,o,s=Fc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(_s,t.slice(6,t.length)):e.setAttributeNS(_s,t,n):n==null||s&&!fi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":dt(n)?String(n):n)}function Ps(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Sl(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=fi(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function $t(e,t,n,r){e.addEventListener(t,n,r)}function Du(e,t,n,r){e.removeEventListener(t,n,r)}const Es=Symbol("_vei");function Fu(e,t,n,r,o=null){const s=e[Es]||(e[Es]={}),i=s[t];if(r&&i)i.value=r;else{const[l,c]=Bu(t);if(r){const u=s[t]=Ku(r,o);$t(e,l,u,c)}else i&&(Du(e,l,i,c),s[t]=void 0)}}const ws=/(?:Once|Passive|Capture)$/;function Bu(e){let t;if(ws.test(e)){t={};let r;for(;r=e.match(ws);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let Tr=0;const $u=Promise.resolve(),Vu=()=>Tr||($u.then(()=>Tr=0),Tr=Date.now());function Ku(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;et(qu(r,n.value),t,5,[r])};return n.value=e,n.attached=Vu(),n}function qu(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wu=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Lu(e,r,i):t==="style"?Nu(e,n,r):er(t)?ho(t)||Fu(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zu(e,t,r,i))?(Ps(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ss(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(r))?Ps(e,Be(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ss(e,t,r,i))};function zu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cs(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Cs(t)&&ve(n)?!1:t in e}const Os=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>Fn(t,n):t};function Gu(e){e.target.composing=!0}function As(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mr=Symbol("_assign");function Rs(e,t,n){return t&&(e=e.trim()),n&&(e=mo(e)),e}const Dh={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Mr]=Os(o);const s=r||o.props&&o.props.type==="number";$t(e,t?"change":"input",i=>{i.target.composing||e[Mr](Rs(e.value,n,s))}),(n||s)&&$t(e,"change",()=>{e.value=Rs(e.value,n,s)}),t||($t(e,"compositionstart",Gu),$t(e,"compositionend",As),$t(e,"change",As))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Mr]=Os(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?mo(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===c)||(e.value=c))}},Ju=["ctrl","shift","alt","meta"],Yu={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)=>Ju.some(n=>e[`${n}Key`]&&!t.includes(n))},Fh=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const l=Yu[t[i]];if(l&&l(o,t))return}return e(o,...s)}))},Xu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Bh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const s=Et(o.key);if(t.some(i=>i===s||Xu[i]===s))return e(o)}))},Qu=Re({patchProp:Wu},Tu);let xs;function Zu(){return xs||(xs=du(Qu))}const ef=((...e)=>{const t=Zu().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=nf(r);if(!o)return;const s=t._component;!Q(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,tf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function tf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nf(e){return ve(e)?document.querySelector(e):e}const rf="usehead";function of(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(rf,e)}}.install}function sf(e={}){const t=xc({domOptions:{render:Ic(()=>oi(t),n=>setTimeout(n,0))},...e});return t.install=of(t),t}const lf="modulepreload",cf=function(e){return"/"+e},Is={},ks=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");o=c(n.map(u=>{if(u=cf(u),u in Is)return;Is[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":lf,a||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),a)return new Promise((d,y)=>{h.addEventListener("load",d),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})};const Vt=typeof document<"u";function El(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function af(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&El(e.default)}const le=Object.assign;function Lr(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ke(o)?o.map(e):e(o)}return n}const hn=()=>{},Ke=Array.isArray;function Ts(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const wl=/#/g,uf=/&/g,ff=/\//g,df=/=/g,pf=/\?/g,Cl=/\+/g,hf=/%5B/g,gf=/%5D/g,Ol=/%5E/g,mf=/%60/g,Al=/%7B/g,yf=/%7C/g,Rl=/%7D/g,vf=/%20/g;function Uo(e){return e==null?"":encodeURI(""+e).replace(yf,"|").replace(hf,"[").replace(gf,"]")}function bf(e){return Uo(e).replace(Al,"{").replace(Rl,"}").replace(Ol,"^")}function ro(e){return Uo(e).replace(Cl,"%2B").replace(vf,"+").replace(wl,"%23").replace(uf,"%26").replace(mf,"`").replace(Al,"{").replace(Rl,"}").replace(Ol,"^")}function _f(e){return ro(e).replace(df,"%3D")}function Sf(e){return Uo(e).replace(wl,"%23").replace(pf,"%3F")}function Pf(e){return Sf(e).replace(ff,"%2F")}function wn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Ef=/\/$/,wf=e=>e.replace(Ef,"");function jr(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,l>0?l:t.length),o=e(s.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Rf(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:wn(i)}}function Cf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ms(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Of(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Yt(t.matched[r],n.matched[o])&&xl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Af(e[n],t[n]))return!1;return!0}function Af(e,t){return Ke(e)?Ls(e,t):Ke(t)?Ls(t,e):e?.valueOf()===t?.valueOf()}function Ls(e,t){return Ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Rf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let oo=(function(e){return e.pop="pop",e.push="push",e})({}),Ur=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function xf(e){if(!e)if(Vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wf(e)}const If=/^[^#]+#/;function kf(e,t){return e.replace(If,"#")+t}function Tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pr=()=>({left:window.scrollX,top:window.scrollY});function Mf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Tf(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 js(e,t){return(history.state?history.state.position-t:-1)+e}const so=new Map;function Lf(e,t){so.set(e,t)}function jf(e){const t=so.get(e);return so.delete(e),t}function Uf(e){return typeof e=="string"||e&&typeof e=="object"}function Il(e){return typeof e=="string"||typeof e=="symbol"}let ge=(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 kl=Symbol("");ge.MATCHER_NOT_FOUND+"",ge.NAVIGATION_GUARD_REDIRECT+"",ge.NAVIGATION_ABORTED+"",ge.NAVIGATION_CANCELLED+"",ge.NAVIGATION_DUPLICATED+"";function Xt(e,t){return le(new Error,{type:e,[kl]:!0},t)}function nt(e,t){return e instanceof Error&&kl in e&&(t==null||!!(e.type&t))}const Nf=["params","query","hash"];function Hf(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Nf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Df(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(Cl," "),s=o.indexOf("="),i=wn(s<0?o:o.slice(0,s)),l=s<0?null:wn(o.slice(s+1));if(i in t){let c=t[i];Ke(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Us(e){let t="";for(let n in e){const r=e[n];if(n=_f(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ke(r)?r.map(o=>o&&ro(o)):[r&&ro(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ff(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ke(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Bf=Symbol(""),Ns=Symbol(""),hr=Symbol(""),No=Symbol(""),io=Symbol("");function on(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _t(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(Xt(ge.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Uf(h)?c(Xt(ge.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&r.enterCallbacks[o]===i&&typeof h=="function"&&i.push(h),l())},a=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function Nr(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(El(c)){const u=(c.__vccOpts||c)[t];u&&s.push(_t(u,n,r,i,l,o))}else{let u=c();s.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=af(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&_t(h,n,r,i,l,o)()}))}}return s}function $f(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const l=t.matched[i];l&&(e.matched.find(u=>Yt(u,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>Yt(u,c))||o.push(c))}return[n,r,o]}let Vf=()=>location.protocol+"//"+location.host;function Tl(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Ms(l,"")}return Ms(n,e)+r+o}function Kf(e,t,n,r){let o=[],s=[],i=null;const l=({state:h})=>{const d=Tl(e,location),y=n.value,v=t.value;let I=0;if(h){if(n.value=d,t.value=h,i&&i===y){i=null;return}I=v?h.position-v.position:0}else r(d);o.forEach(w=>{w(n.value,y,{delta:I,type:oo.pop,direction:I?I>0?Ur.forward:Ur.back:Ur.unknown})})};function c(){i=n.value}function u(h){o.push(h);const d=()=>{const y=o.indexOf(h);y>-1&&o.splice(y,1)};return s.push(d),d}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(le({},h.state,{scroll:pr()}),"")}}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Hs(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pr():null}}function qf(e){const{history:t,location:n}=window,r={value:Tl(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Vf()+e+c;try{t[a?"replaceState":"pushState"](u,"",h),o.value=u}catch(d){console.error(d),n[a?"replace":"assign"](h)}}function i(c,u){s(c,le({},t.state,Hs(o.value.back,c,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=c}function l(c,u){const a=le({},o.value,t.state,{forward:c,scroll:pr()});s(a.current,a,!0),s(c,le({},Hs(r.value,c,null),{position:a.position+1},u),!1),r.value=c}return{location:r,state:o,push:l,replace:i}}function Wf(e){e=xf(e);const t=qf(e),n=Kf(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=le({location:"",base:e,go:r,createHref:kf.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}let kt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var _e=(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})(_e||{});const zf={type:kt.Static,value:""},Gf=/[a-zA-Z0-9_]/;function Jf(e){if(!e)return[[]];if(e==="/")return[[zf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=_e.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,c,u="",a="";function f(){u&&(n===_e.Static?s.push({type:kt.Static,value:u}):n===_e.Param||n===_e.ParamRegExp||n===_e.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:kt.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==_e.ParamRegExp){r=n,n=_e.EscapeNext;continue}switch(n){case _e.Static:c==="/"?(u&&f(),i()):c===":"?(f(),n=_e.Param):h();break;case _e.EscapeNext:h(),n=r;break;case _e.Param:c==="("?n=_e.ParamRegExp:Gf.test(c)?h():(f(),n=_e.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case _e.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=_e.ParamRegExpEnd:a+=c;break;case _e.ParamRegExpEnd:f(),n=_e.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===_e.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),o}const Ds="[^/]+?",Yf={sensitive:!1,strict:!1,start:!0,end:!0};var ke=(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})(ke||{});const Xf=/[.+*?^${}()[\]/\\]/g;function Qf(e,t){const n=le({},Yf,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const a=u.length?[]:[ke.Root];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=ke.Segment+(n.sensitive?ke.BonusCaseSensitive:0);if(h.type===kt.Static)f||(o+="/"),o+=h.value.replace(Xf,"\\$&"),d+=ke.Static;else if(h.type===kt.Param){const{value:y,repeatable:v,optional:I,regexp:w}=h;s.push({name:y,repeatable:v,optional:I});const R=w||Ds;if(R!==Ds){d+=ke.BonusCustomRegExp;try{`${R}`}catch(T){throw new Error(`Invalid custom RegExp for param "${y}" (${R}): `+T.message)}}let M=v?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||(M=I&&u.length<2?`(?:/${M})`:"/"+M),I&&(M+="?"),o+=M,d+=ke.Dynamic,I&&(d+=ke.BonusOptional),v&&(d+=ke.BonusRepeatable),R===".*"&&(d+=ke.BonusWildcard)}a.push(d)}r.push(a)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=ke.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(u){const a=u.match(i),f={};if(!a)return null;for(let h=1;h<a.length;h++){const d=a[h]||"",y=s[h-1];f[y.name]=d&&y.repeatable?d.split("/"):d}return f}function c(u){let a="",f=!1;for(const h of e){(!f||!a.endsWith("/"))&&(a+="/"),f=!1;for(const d of h)if(d.type===kt.Static)a+=d.value;else if(d.type===kt.Param){const{value:y,repeatable:v,optional:I}=d,w=y in u?u[y]:"";if(Ke(w)&&!v)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const R=Ke(w)?w.join("/"):w;if(!R)if(I)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);a+=R}}return a||"/"}return{re:i,score:r,keys:s,parse:l,stringify:c}}function Zf(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===ke.Static+ke.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ke.Static+ke.Segment?1:-1:0}function Ml(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Zf(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Fs(r))return 1;if(Fs(o))return-1}return o.length-r.length}function Fs(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ed={strict:!1,end:!0,sensitive:!1};function td(e,t,n){const r=Qf(Jf(e.path),n),o=le(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function nd(e,t){const n=[],r=new Map;t=Ts(ed,t);function o(f){return r.get(f)}function s(f,h,d){const y=!d,v=$s(f);v.aliasOf=d&&d.record;const I=Ts(t,f),w=[v];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of T)w.push($s(le({},v,{components:d?d.record.components:v.components,path:k,aliasOf:d?d.record:v})))}let R,M;for(const T of w){const{path:k}=T;if(h&&k[0]!=="/"){const Z=h.record.path,z=Z[Z.length-1]==="/"?"":"/";T.path=h.record.path+(k&&z+k)}if(R=td(T,h,I),d?d.alias.push(R):(M=M||R,M!==R&&M.alias.push(R),y&&f.name&&!Vs(R)&&i(f.name)),Ll(R)&&c(R),v.children){const Z=v.children;for(let z=0;z<Z.length;z++)s(Z[z],R,d&&d.children[z])}d=d||R}return M?()=>{i(M)}:hn}function i(f){if(Il(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const h=sd(f,n);n.splice(h,0,f),f.record.name&&!Vs(f)&&r.set(f.record.name,f)}function u(f,h){let d,y={},v,I;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Xt(ge.MATCHER_NOT_FOUND,{location:f});I=d.record.name,y=le(Bs(h.params,d.keys.filter(M=>!M.optional).concat(d.parent?d.parent.keys.filter(M=>M.optional):[]).map(M=>M.name)),f.params&&Bs(f.params,d.keys.map(M=>M.name))),v=d.stringify(y)}else if(f.path!=null)v=f.path,d=n.find(M=>M.re.test(v)),d&&(y=d.parse(v),I=d.record.name);else{if(d=h.name?r.get(h.name):n.find(M=>M.re.test(h.path)),!d)throw Xt(ge.MATCHER_NOT_FOUND,{location:f,currentLocation:h});I=d.record.name,y=le({},h.params,f.params),v=d.stringify(y)}const w=[];let R=d;for(;R;)w.unshift(R.record),R=R.parent;return{name:I,path:v,params:y,matched:w,meta:od(w)}}e.forEach(f=>s(f));function a(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:o}}function Bs(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $s(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:rd(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 rd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Vs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function od(e){return e.reduce((t,n)=>le(t,n.meta),{})}function sd(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Ml(e,t[s])<0?r=s:n=s+1}const o=id(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function id(e){let t=e;for(;t=t.parent;)if(Ll(t)&&Ml(e,t)===0)return t}function Ll({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ks(e){const t=be(hr),n=be(No),r=ee(()=>{const c=Mt(e.to);return t.resolve(c)}),o=ee(()=>{const{matched:c}=r.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(Yt.bind(null,a));if(h>-1)return h;const d=qs(c[u-2]);return u>1&&qs(a)===d&&f[f.length-1].path!==d?f.findIndex(Yt.bind(null,c[u-2])):h}),s=ee(()=>o.value>-1&&fd(n.params,r.value.params)),i=ee(()=>o.value>-1&&o.value===n.matched.length-1&&xl(n.params,r.value.params));function l(c={}){if(ud(c)){const u=t[Mt(e.replace)?"replace":"push"](Mt(e.to)).catch(hn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}function ld(e){return e.length===1?e[0]:e}const cd=he({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:Ks,setup(e,{slots:t}){const n=Cn(Ks(e)),{options:r}=be(hr),o=ee(()=>({[Ws(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ws(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ld(t.default(n));return e.custom?s:jt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),ad=cd;function ud(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 fd(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ke(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function qs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ws=(e,t,n)=>e??t??n,dd=he({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=be(io),o=ee(()=>e.route||r.value),s=be(Ns,0),i=ee(()=>{let u=Mt(s);const{matched:a}=o.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=ee(()=>o.value.matched[i.value]);Ze(Ns,ee(()=>i.value+1)),Ze(Bf,l),Ze(io,o);const c=Ae();return Pt(()=>[c.value,l.value,e.name],([u,a,f],[h,d,y])=>{a&&(a.instances[f]=u,d&&d!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=d.leaveGuards),a.updateGuards.size||(a.updateGuards=d.updateGuards))),u&&a&&(!d||!Yt(a,d)||!h)&&(a.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,a=e.name,f=l.value,h=f&&f.components[a];if(!h)return zs(n.default,{Component:h,route:u});const d=f.props[a],y=d?d===!0?u.params:typeof d=="function"?d(u):d:null,I=jt(h,le({},y,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return zs(n.default,{Component:I,route:u})||I}}});function zs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pd=dd;function hd(e){const t=nd(e.routes,e),n=e.parseQuery||Df,r=e.stringifyQuery||Us,o=e.history,s=on(),i=on(),l=on(),c=Jr(ht);let u=ht;Vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Lr.bind(null,E=>""+E),f=Lr.bind(null,Pf),h=Lr.bind(null,wn);function d(E,$){let D,K;return Il(E)?(D=t.getRecordMatcher(E),K=$):K=E,t.addRoute(K,D)}function y(E){const $=t.getRecordMatcher(E);$&&t.removeRoute($)}function v(){return t.getRoutes().map(E=>E.record)}function I(E){return!!t.getRecordMatcher(E)}function w(E,$){if($=le({},$||c.value),typeof E=="string"){const b=jr(n,E,$.path),S=t.resolve({path:b.path},$),A=o.createHref(b.fullPath);return le(b,S,{params:h(S.params),hash:wn(b.hash),redirectedFrom:void 0,href:A})}let D;if(E.path!=null)D=le({},E,{path:jr(n,E.path,$.path).path});else{const b=le({},E.params);for(const S in b)b[S]==null&&delete b[S];D=le({},E,{params:f(b)}),$.params=f($.params)}const K=t.resolve(D,$),oe=E.hash||"";K.params=a(h(K.params));const g=Cf(r,le({},E,{hash:bf(oe),path:K.path})),m=o.createHref(g);return le({fullPath:g,hash:oe,query:r===Us?Ff(E.query):E.query||{}},K,{redirectedFrom:void 0,href:m})}function R(E){return typeof E=="string"?jr(n,E,c.value.path):le({},E)}function M(E,$){if(u!==E)return Xt(ge.NAVIGATION_CANCELLED,{from:$,to:E})}function T(E){return z(E)}function k(E){return T(le(R(E),{replace:!0}))}function Z(E,$){const D=E.matched[E.matched.length-1];if(D&&D.redirect){const{redirect:K}=D;let oe=typeof K=="function"?K(E,$):K;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=R(oe):{path:oe},oe.params={}),le({query:E.query,hash:E.hash,params:oe.path!=null?{}:E.params},oe)}}function z(E,$){const D=u=w(E),K=c.value,oe=E.state,g=E.force,m=E.replace===!0,b=Z(D,K);if(b)return z(le(R(b),{state:typeof b=="object"?le({},oe,b.state):oe,force:g,replace:m}),$||D);const S=D;S.redirectedFrom=$;let A;return!g&&Of(r,K,D)&&(A=Xt(ge.NAVIGATION_DUPLICATED,{to:S,from:K}),De(K,K,!0,!1)),(A?Promise.resolve(A):_(S,K)).catch(P=>nt(P)?nt(P,ge.NAVIGATION_GUARD_REDIRECT)?P:re(P):te(P,S,K)).then(P=>{if(P){if(nt(P,ge.NAVIGATION_GUARD_REDIRECT))return z(le({replace:m},R(P.to),{state:typeof P.to=="object"?le({},oe,P.to.state):oe,force:g}),$||S)}else P=j(S,K,!0,m,oe);return C(S,K,P),P})}function F(E,$){const D=M(E,$);return D?Promise.reject(D):Promise.resolve()}function p(E){const $=Ht.values().next().value;return $&&typeof $.runWithContext=="function"?$.runWithContext(E):E()}function _(E,$){let D;const[K,oe,g]=$f(E,$);D=Nr(K.reverse(),"beforeRouteLeave",E,$);for(const b of K)b.leaveGuards.forEach(S=>{D.push(_t(S,E,$))});const m=F.bind(null,E,$);return D.push(m),Fe(D).then(()=>{D=[];for(const b of s.list())D.push(_t(b,E,$));return D.push(m),Fe(D)}).then(()=>{D=Nr(oe,"beforeRouteUpdate",E,$);for(const b of oe)b.updateGuards.forEach(S=>{D.push(_t(S,E,$))});return D.push(m),Fe(D)}).then(()=>{D=[];for(const b of g)if(b.beforeEnter)if(Ke(b.beforeEnter))for(const S of b.beforeEnter)D.push(_t(S,E,$));else D.push(_t(b.beforeEnter,E,$));return D.push(m),Fe(D)}).then(()=>(E.matched.forEach(b=>b.enterCallbacks={}),D=Nr(g,"beforeRouteEnter",E,$,p),D.push(m),Fe(D))).then(()=>{D=[];for(const b of i.list())D.push(_t(b,E,$));return D.push(m),Fe(D)}).catch(b=>nt(b,ge.NAVIGATION_CANCELLED)?b:Promise.reject(b))}function C(E,$,D){l.list().forEach(K=>p(()=>K(E,$,D)))}function j(E,$,D,K,oe){const g=M(E,$);if(g)return g;const m=$===ht,b=Vt?history.state:{};D&&(K||m?o.replace(E.fullPath,le({scroll:m&&b&&b.scroll},oe)):o.push(E.fullPath,oe)),c.value=E,De(E,$,D,m),re()}let O;function N(){O||(O=o.listen((E,$,D)=>{if(!wt.listening)return;const K=w(E),oe=Z(K,wt.currentRoute.value);if(oe){z(le(oe,{replace:!0,force:!0}),K).catch(hn);return}u=K;const g=c.value;Vt&&Lf(js(g.fullPath,D.delta),pr()),_(K,g).catch(m=>nt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_CANCELLED)?m:nt(m,ge.NAVIGATION_GUARD_REDIRECT)?(z(le(R(m.to),{force:!0}),K).then(b=>{nt(b,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&!D.delta&&D.type===oo.pop&&o.go(-1,!1)}).catch(hn),Promise.reject()):(D.delta&&o.go(-D.delta,!1),te(m,K,g))).then(m=>{m=m||j(K,g,!1),m&&(D.delta&&!nt(m,ge.NAVIGATION_CANCELLED)?o.go(-D.delta,!1):D.type===oo.pop&&nt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),C(K,g,m)}).catch(hn)}))}let V=on(),ne=on(),J;function te(E,$,D){re(E);const K=ne.list();return K.length?K.forEach(oe=>oe(E,$,D)):console.error(E),Promise.reject(E)}function G(){return J&&c.value!==ht?Promise.resolve():new Promise((E,$)=>{V.add([E,$])})}function re(E){return J||(J=!E,N(),V.list().forEach(([$,D])=>E?D(E):$()),V.reset()),E}function De(E,$,D,K){const{scrollBehavior:oe}=e;if(!Vt||!oe)return Promise.resolve();const g=!D&&jf(js(E.fullPath,0))||(K||!D)&&history.state&&history.state.scroll||null;return Oo().then(()=>oe(E,$,g)).then(m=>m&&Mf(m)).catch(m=>te(m,E,$))}const Me=E=>o.go(E);let Nt;const Ht=new Set,wt={currentRoute:c,listening:!0,addRoute:d,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:v,resolve:w,options:e,push:T,replace:k,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:ne.add,isReady:G,install(E){E.component("RouterLink",ad),E.component("RouterView",pd),E.config.globalProperties.$router=wt,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Mt(c)}),Vt&&!Nt&&c.value===ht&&(Nt=!0,T(o.location).catch(K=>{}));const $={};for(const K in ht)Object.defineProperty($,K,{get:()=>c.value[K],enumerable:!0});E.provide(hr,wt),E.provide(No,ki($)),E.provide(io,c);const D=E.unmount;Ht.add(E),E.unmount=function(){Ht.delete(E),Ht.size<1&&(u=ht,O&&O(),O=null,c.value=ht,Nt=!1,J=!1),D()}}};function Fe(E){return E.reduce(($,D)=>$.then(()=>p(D)),Promise.resolve())}return wt}function $h(){return be(hr)}function Vh(e){return be(No)}function gd(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}const md=he({setup(e,{slots:t}){const n=Ae(!1);return zi(()=>n.value=!0),()=>n.value?t.default&&t.default({}):t.placeholder&&t.placeholder({})}});function yd(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function vd(e,t,n,r){const{transformState:o,registerComponents:s=!0,useHead:i=!0,rootContainer:l="#app"}={};async function c(u){const a=ef(e);let f;i&&a.use(f=sf());const h=hd({history:Wf(t.base),...t}),{routes:d}=t;s&&a.component("ClientOnly",md);const y=[],w={app:a,head:f,isClient:!0,router:h,routes:d,onSSRAppRendered:()=>{},triggerOnSSRAppRendered:()=>Promise.all(y.map(k=>k())),initialState:{},transformState:o,routePath:u};await gd(),w.initialState=o?.(window.__INITIAL_STATE__||{})||yd(window.__INITIAL_STATE__),await n?.(w),a.use(h);let R,M=!0;h.beforeEach((k,Z,z)=>{(M||R&&R===k.path)&&(M=!1,R=k.path,k.meta.state=w.initialState),z()});const T=w.initialState;return{...w,initialState:T}}return(async()=>{const{app:u,router:a}=await c();await a.isReady(),u.mount(l,!0)})(),c}let jl;const gr=e=>jl=e,Ul=Symbol();function lo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var gn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(gn||(gn={}));function bd(){const e=gi(!0),t=e.run(()=>Ae({}));let n=[],r=[];const o=Co({install(s){gr(o),o._a=s,s.provide(Ul,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Nl=()=>{};function Gs(e,t,n,r=Nl){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&mi()&&$c(o),o}function Ft(e,...t){e.forEach(n=>{n(...t)})}const _d=e=>e(),Js=Symbol(),Hr=Symbol();function co(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];lo(o)&&lo(r)&&e.hasOwnProperty(n)&&!ye(r)&&!it(r)?e[n]=co(o,r):e[n]=r}return e}const Sd=Symbol();function Pd(e){return!lo(e)||!Object.prototype.hasOwnProperty.call(e,Sd)}const{assign:mt}=Object;function Ed(e){return!!(ye(e)&&e.effect)}function wd(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=o?o():{});const a=fa(n.state.value[e]);return mt(a,s,Object.keys(i||{}).reduce((f,h)=>(f[h]=Co(ee(()=>{gr(n);const d=n._s.get(e);return i[h].call(d,d)})),f),{}))}return c=Hl(e,u,t,n,r,!0),c}function Hl(e,t,n={},r,o,s){let i;const l=mt({actions:{}},n),c={deep:!0};let u,a,f=new Set,h=new Set,d;const y=r.state.value[e];!s&&!y&&(r.state.value[e]={}),Ae({});let v;function I(F){let p;u=a=!1,typeof F=="function"?(F(r.state.value[e]),p={type:gn.patchFunction,storeId:e,events:d}):(co(r.state.value[e],F),p={type:gn.patchObject,payload:F,storeId:e,events:d});const _=v=Symbol();Oo().then(()=>{v===_&&(u=!0)}),a=!0,Ft(f,p,r.state.value[e])}const w=s?function(){const{state:p}=n,_=p?p():{};this.$patch(C=>{mt(C,_)})}:Nl;function R(){i.stop(),f.clear(),h.clear(),r._s.delete(e)}const M=(F,p="")=>{if(Js in F)return F[Hr]=p,F;const _=function(){gr(r);const C=Array.from(arguments),j=new Set,O=new Set;function N(J){j.add(J)}function V(J){O.add(J)}Ft(h,{args:C,name:_[Hr],store:k,after:N,onError:V});let ne;try{ne=F.apply(this&&this.$id===e?this:k,C)}catch(J){throw Ft(O,J),J}return ne instanceof Promise?ne.then(J=>(Ft(j,J),J)).catch(J=>(Ft(O,J),Promise.reject(J))):(Ft(j,ne),ne)};return _[Js]=!0,_[Hr]=p,_},T={_p:r,$id:e,$onAction:Gs.bind(null,h),$patch:I,$reset:w,$subscribe(F,p={}){const _=Gs(f,F,p.detached,()=>C()),C=i.run(()=>Pt(()=>r.state.value[e],j=>{(p.flush==="sync"?a:u)&&F({storeId:e,type:gn.direct,events:d},j)},mt({},c,p)));return _},$dispose:R},k=Cn(T);r._s.set(e,k);const z=(r._a&&r._a.runWithContext||_d)(()=>r._e.run(()=>(i=gi()).run(()=>t({action:M}))));for(const F in z){const p=z[F];if(ye(p)&&!Ed(p)||it(p))s||(y&&Pd(p)&&(ye(p)?p.value=y[F]:co(p,y[F])),r.state.value[e][F]=p);else if(typeof p=="function"){const _=M(p,F);z[F]=_,l.actions[F]=p}}return mt(k,z),mt(ie(k),z),Object.defineProperty(k,"$state",{get:()=>r.state.value[e],set:F=>{I(p=>{mt(p,F)})}}),r._p.forEach(F=>{mt(k,i.run(()=>F({store:k,app:r._a,pinia:r,options:l})))}),y&&s&&n.hydrate&&n.hydrate(k.$state,y),u=!0,a=!0,k}function Dl(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,l){const c=Sa();return i=i||(c?be(Ul,null):null),i&&gr(i),i=jl,i._s.has(e)||(o?Hl(e,t,r,i):wd(e,r,i)),i._s.get(e)}return s.$id=e,s}var Cd=class Fl extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),Object.setPrototypeOf(this,Fl.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}toString(){return`[${this.name}]
3
3
  Message:${this.message}`}static formatMessage(t,n,r,o){const s="Clerk:",i=new RegExp(s.replace(" ","\\s*"),"i");return n=n.replace(i,""),n=`${s} ${n.trim()}
4
4
 
5
5
  (code="${r}")
6
6
 
7
7
  `,o&&(n+=`
8
8
 
9
- Docs: ${o}`),n}};const Od=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function Bl({packageName:e,customMessages:t}){let n=e;function r(s,i){if(!i)return`${n}: ${s}`;let l=s;const c=s.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const u of c){const a=(i[u[1]]||"").toString();l=l.replace(`{{${u[1]}}}`,a)}return`${n}: ${l}`}const o={...Od,...t};return{setPackageName({packageName:s}){return typeof s=="string"&&(n=s),this},setMessages({customMessages:s}){return Object.assign(o,s||{}),this},throwInvalidPublishableKeyError(s){throw new Error(r(o.InvalidPublishableKeyErrorMessage,s))},throwInvalidProxyUrl(s){throw new Error(r(o.InvalidProxyUrlErrorMessage,s))},throwMissingPublishableKeyError(){throw new Error(r(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(r(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(s){throw new Error(r(o.MissingClerkProvider,s))},throw(s){throw new Error(r(s))}}}var ao=class $l extends Cd{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(t,n){super({...n,message:t}),Object.setPrototypeOf(this,$l.prototype)}},qe=Bl({packageName:"@clerk/vue"});function Ad(e){qe.setMessages(e).setPackageName(e)}const Rd={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},xd=new Set(["first_factor","second_factor","multi_factor"]),Id=new Set(["strict_mfa","strict","moderate","lax"]),kd=e=>typeof e=="number"&&e>0,Td=e=>xd.has(e),Md=e=>Id.has(e),Hr=e=>e.replace(/^(org:)*/,"org:"),Ld=(e,t)=>{const{orgId:n,orgRole:r,orgPermissions:o}=t;return!e.role&&!e.permission||!n||!r||!o?null:e.permission?o.includes(Hr(e.permission)):e.role?Hr(r)===Hr(e.role):null},Ys=(e,t)=>{const{org:n,user:r}=Ud(e),[o,s]=t.split(":"),i=s||o;return o==="org"?n.includes(i):o==="user"?r.includes(i):[...n,...r].includes(i)},jd=(e,t)=>{const{features:n,plans:r}=t;return e.feature&&n?Ys(n,e.feature):e.plan&&r?Ys(r,e.plan):null},Ud=e=>{const t=e?e.split(",").map(n=>n.trim()):[];return{org:t.filter(n=>n.split(":")[0].includes("o")).map(n=>n.split(":")[1]),user:t.filter(n=>n.split(":")[0].includes("u")).map(n=>n.split(":")[1])}},Nd=e=>{if(!e)return!1;const t=o=>typeof o=="string"?Rd[o]:o,n=typeof e=="string"&&Md(e),r=typeof e=="object"&&Td(e.level)&&kd(e.afterMinutes);return n||r?t.bind(null,e):!1},Dd=(e,{factorVerificationAge:t})=>{if(!e.reverification||!t)return null;const n=Nd(e.reverification);if(!n)return null;const{level:r,afterMinutes:o}=n(),[s,i]=t,l=s!==-1?o>s:null,c=i!==-1?o>i:null;switch(r){case"first_factor":return l;case"second_factor":return i!==-1?c:l;case"multi_factor":return i===-1?l:l&&c}},Hd=e=>t=>{if(!e.userId)return!1;const n=jd(t,e),r=Ld(t,e),o=Dd(t,e);return[n||r,o].some(s=>s===null)?[n||r,o].some(s=>s===!0):[n||r,o].every(s=>s===!0)},Fd=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:r,orgId:o,orgRole:s,orgSlug:i,signOut:l,getToken:c,has:u,sessionClaims:a},options:{treatPendingAsSignedOut:f=!0}})=>{if(e===void 0&&n===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:e,sessionClaims:void 0,userId:n,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:l,getToken:c};if(e===null&&n===null)return{isLoaded:!0,isSignedIn:!1,sessionId:e,userId:n,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:l,getToken:c};if(f&&t==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:l,getToken:c};if(e&&a&&n&&o&&s)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:a,userId:n,actor:r||null,orgId:o,orgRole:s,orgSlug:i||null,has:u,signOut:l,getToken:c};if(e&&a&&n&&!o)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:a,userId:n,actor:r||null,orgId:null,orgRole:null,orgSlug:null,has:u,signOut:l,getToken:c}};var Vl=Symbol("clerk"),Kl=Symbol("UserButton"),Do=Symbol("UserButton.MenuItems"),mr=Symbol("UserProfile"),yr=Symbol("OrganizationProfile");function Ho(e){const t=be(Vl);return t||qe.throw(`${e} can only be used when the Vue plugin is installed. Learn more: https://clerk.com/docs/reference/vue/clerk-plugin`)}var Ut=()=>{const{clerk:e}=Ho("useClerk");return e},Bd=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,$d="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",Vd="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",Kd="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",qd="Missing requirements. <UserButton.Link /> component requires props: href, label and slots: labelIcon.",Wd="Missing requirements. <UserButton.Action /> component requires props: label and slots: labelIcon.",zd="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",Gd=e=>`Missing requirements. <${e}.Page /> component requires props: url, label and slots: labelIcon and a default slot for page content`,Jd=e=>`Missing requirements. <${e}.Link /> component requires the following props: url, label and slots: labelIcon.`,Yd="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Xd="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Qd="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",Zd="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",ep=(e,t)=>e?e[0].type===Rn?jt("button",e):e:jt("button",t),tp=(e,t)=>Array.isArray(e)?e.length>1?qe.throw(Bd(t)):e[0]:e;function np(e){const t={};for(const n in e.value)t[n]=ee(()=>e.value[n]);return t}function ql(e){return new Promise(t=>{Pt(e,n=>{n?.loaded&&t(n)},{immediate:!0})})}function rp(e){return async t=>{const n=await ql(e);return n.session?n.session.getToken(t):null}}function op(e){return async(...t)=>(await ql(e)).signOut(...t)}var Fo=(e={})=>{const{clerk:t,authCtx:n}=Ho("useAuth"),r=rp(t),o=op(t),s=ee(()=>{const{userId:i,orgId:l,orgRole:c,orgPermissions:u,sessionClaims:a,factorVerificationAge:f}=n.value,h=Hd({userId:i,orgId:l,orgRole:c,orgPermissions:u,factorVerificationAge:f,features:a?.fea||"",plans:a?.pla||""}),d=Fd({authObject:{...n.value,getToken:r,signOut:o,has:h},options:{treatPendingAsSignedOut:e.treatPendingAsSignedOut}});return d||qe.throw($d)});return np(s)},In=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const sp=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],Wl=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,zl="pk_live_",ip="pk_test_";function Gl(e){if(!e.endsWith("$"))return!1;const t=e.slice(0,-1);return t.includes("$")?!1:t.includes(".")}function Xs(e,t={}){if(e=e||"",!e||!Qs(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!Qs(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(zl)?"production":"development";let r;try{r=Wl(e.split("_")[2])}catch{if(t.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Gl(r)){if(t.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=r.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:n,frontendApi:o}}function Qs(e=""){try{if(!(e.startsWith(zl)||e.startsWith(ip)))return!1;const t=e.split("_");if(t.length!==3)return!1;const n=t[2];return n?Gl(Wl(n)):!1}catch{return!1}}function lp(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let r=e.get(n);return r===void 0&&(r=sp.some(o=>n.endsWith(o)),e.set(n,r)),r}}}const cp={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},ap=100,Jl=async e=>new Promise(t=>setTimeout(t,e)),Yl=(e,t)=>t?e*(1+Math.random()):e,up=e=>{let t=0;const n=()=>{const r=e.initialDelay,o=e.factor;let s=r*Math.pow(o,t);return s=Yl(s,e.jitter),Math.min(e.maxDelayBetweenRetries||s,s)};return async()=>{await Jl(n()),t++}},fp=async(e,t={})=>{let n=0;const{shouldRetry:r,initialDelay:o,maxDelayBetweenRetries:s,factor:i,retryImmediately:l,jitter:c,onBeforeRetry:u}={...cp,...t},a=up({initialDelay:o,maxDelayBetweenRetries:s,factor:i,jitter:c});for(;;)try{return await e()}catch(f){if(n++,!r(f,n))throw f;u&&await u(n),l&&n===1?await Jl(Yl(ap,c)):await a()}},dp="loadScript cannot be called when document does not exist",pp="loadScript cannot be called without a src";async function hp(e="",t){const{async:n,defer:r,beforeLoad:o,crossOrigin:s,nonce:i}=t||{};return fp(()=>new Promise((c,u)=>{e||u(new Error(pp)),(!document||!document.body)&&u(new Error(dp));const a=document.createElement("script");s&&a.setAttribute("crossorigin",s),a.async=n||!1,a.defer=r||!1,a.addEventListener("load",()=>{a.remove(),c(a)}),a.addEventListener("error",f=>{a.remove(),u(f.error??new Error(`failed to load script: ${e}`))}),a.src=e,a.nonce=i,o?.(a),document.body.appendChild(a)}),{shouldRetry:(c,u)=>u<=5})}function gp(e){return e?mp(e)||Xl(e):!0}function mp(e){return/^http(s)?:\/\//.test(e||"")}function Xl(e){return e.startsWith("/")}function yp(e){return e?Xl(e)?new URL(e,window.location.origin).toString():e:""}function vp(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}const bp=(e,t="5.117.0")=>{if(e)return e;const n=_p(t);return n?n==="snapshot"?"5.117.0":n:Sp(t)},_p=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],Sp=e=>e.trim().replace(/^v/,"").split(".")[0],Ql="failed_to_load_clerk_js",Pp="failed_to_load_clerk_js_timeout",uo="Failed to load Clerk",{isDevOrStagingUrl:Ep}=lp(),Zl=Bl({packageName:"@clerk/shared"});function wp(e){Zl.setPackageName({packageName:e})}function fo(){if(typeof window>"u"||!window.Clerk)return!1;const e=window.Clerk;return typeof e=="object"&&typeof e.load=="function"}function Cp(e){if(typeof window>"u"||!window.performance)return!1;const t=performance.getEntriesByName(e,"resource");if(t.length===0)return!1;const n=t[t.length-1];return n.transferSize===0&&n.decodedBodySize===0&&(n.responseEnd===0||n.responseEnd>0&&n.responseStart>0||"responseStatus"in n&&(n.responseStatus>=400||n.responseStatus===0))}function Zs(e,t){return new Promise((n,r)=>{let o=!1;const s=(a,f)=>{clearTimeout(a),clearInterval(f)};t?.addEventListener("error",()=>{s(c,u),r(new ao(uo,{code:Ql}))});const i=()=>{o||fo()&&(o=!0,s(c,u),n(null))},c=setTimeout(()=>{o||(o=!0,s(c,u),fo()?n(null):r(new ao(uo,{code:Pp})))},e);i();const u=setInterval(()=>{if(o){clearInterval(u);return}i()},100)})}const Op=async e=>{const t=e?.scriptLoadTimeout??15e3;if(fo())return null;if(!e?.publishableKey)return Zl.throwMissingPublishableKeyError(),null;const n=Ap(e),r=document.querySelector("script[data-clerk-js-script]");if(r)if(Cp(n))r.remove();else try{return await Zs(t,r),null}catch{r.remove()}const o=Zs(t);return hp(n,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:xp(e)}).catch(s=>{throw new ao(uo+(s.message?`, ${s.message}`:""),{code:Ql,cause:s})}),o},Ap=e=>{const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:r,proxyUrl:o,domain:s,publishableKey:i}=e;if(t)return t;let l="";o&&gp(o)?l=yp(o).replace(/http(s)?:\/\//,""):s&&!Ep(Xs(i)?.frontendApi||"")?l=vp(s):l=Xs(i)?.frontendApi||"";const c=n?`${n.replace(/\.+$/,"")}.`:"",u=bp(r);return`https://${l}/npm/@clerk/clerk-js@${u}/dist/clerk.${c}browser.js`},Rp=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},xp=e=>t=>{const n=Rp(e);for(const r in n)t.setAttribute(r,n[r])},Ip=()=>{try{return!1}catch{}return!1},mn=e=>{Ip()&&console.error(`Clerk: ${e}`)};function kp(){return typeof window<"u"}const Tp=(e,t,n)=>!e&&n?Mp(n):Lp(t),Mp=e=>{const t=e.userId,n=e.user,r=e.sessionId,o=e.sessionStatus,s=e.sessionClaims;return{userId:t,user:n,sessionId:r,session:e.session,sessionStatus:o,sessionClaims:s,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},Lp=e=>{const t=e.user?e.user.id:e.user,n=e.user,r=e.session?e.session.id:e.session,o=e.session,s=e.session?.status,i=e.session?e.session.lastActiveToken?.jwt?.claims:null,l=e.session?e.session.factorVerificationAge:null,c=o?.actor,u=e.organization,a=e.organization?e.organization.id:e.organization,f=u?.slug,h=u&&n?.organizationMemberships?.find(y=>y.organization.id===a),d=h&&h.permissions;return{userId:t,user:n,sessionId:r,session:o,sessionStatus:s,sessionClaims:i,organization:u,orgId:a,orgRole:h&&h.role,orgSlug:f,orgPermissions:d,actor:c,factorVerificationAge:l}};var vr=e=>{const t=Ut();Pt(t,n=>{n?.loaded&&e(n)},{immediate:!0})},jp=he(({treatPendingAsSignedOut:e},{slots:t})=>{const{userId:n}=Fo({treatPendingAsSignedOut:e});return()=>n.value?t.default?.():null});Object.defineProperty(jp,"props",{value:["treatPendingAsSignedOut"]});var Up=he(({treatPendingAsSignedOut:e},{slots:t})=>{const{userId:n}=Fo({treatPendingAsSignedOut:e});return()=>n.value===null?t.default?.():null});Object.defineProperty(Up,"props",{value:["treatPendingAsSignedOut"]});var Np=he((e,{slots:t})=>{const n=Ut();return()=>n.value?.loaded?t.default?.():null}),Dp=he(e=>{const{sessionCtx:t,clientCtx:n}=Ho("RedirectToSignIn");return vr(r=>{const o=n.value?.signedInSessions&&n.value.signedInSessions.length>0;t.value===null&&o?r.redirectToAfterSignOut():r.redirectToSignIn(e)}),()=>null});Object.defineProperty(Dp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Hp=he(e=>(vr(t=>{t.redirectToSignUp(e)}),()=>null));Object.defineProperty(Hp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Fp=he(e=>(vr(t=>{t.redirectToTasks(e)}),()=>null));Object.defineProperty(Fp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Bp=he(e=>(vr(t=>{t.handleRedirectCallback(e)}),()=>null));Object.defineProperty(Bp,"props",{value:["transferable","signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl","signInUrl","signUpUrl","firstFactorUrl","secondFactorUrl","resetPasswordUrl","continueSignUpUrl","verifyEmailAddressUrl","verifyPhoneNumberUrl","reloadResource"]});var $p=he((e,{slots:t})=>{const{isLoaded:n,has:r,userId:o}=Fo({treatPendingAsSignedOut:e.treatPendingAsSignedOut});return()=>n.value?o.value?typeof e.condition=="function"?e.condition(r.value)?t.default?.():t.fallback?.():e.role||e.permission||e.feature||e.plan?r.value?.(e)?t.default?.():t.fallback?.():t.default?.():t.fallback?.():null});Object.defineProperty($p,"props",{value:["condition","role","permission","feature","plan","treatPendingAsSignedOut"]});var kn=he(e=>()=>[...e?.customPagesPortals??[],...e?.customMenuItemsPortals??[]]);Object.defineProperty(kn,"props",{value:["customPagesPortals","customMenuItemsPortals"]});var br=he({props:{mount:{type:Function,required:!1},unmount:{type:Function,required:!1},open:{type:Function,required:!1},close:{type:Function,required:!1},updateProps:{type:Function,required:!1},props:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Ae(null);let n=!1;return wa(()=>{!t.value||n||(e.mount&&e.mount(t.value,e.props),e.open&&e.open(e.props),n=!0)}),Pt(()=>e.props,r=>{n&&e.updateProps&&t.value&&e.updateProps({node:t.value,props:r})},{deep:!0}),Io(()=>{n&&t.value&&(e.unmount&&e.unmount(t.value),e.close&&e.close())}),()=>jt(Np,()=>jt("div",{ref:t}))}}),Vp=he({__name:"OrganizationProfile",props:{path:{type:null,required:!1},routing:{type:String,required:!1},afterLeaveOrganizationUrl:{type:String,required:!1},appearance:{type:Object,required:!1},__experimental_startPath:{type:String,required:!1},apiKeysProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customPages:o,customPagesPortals:s,addCustomPage:i}=nc(),l=ee(()=>({...n,customPages:o.value}));Ze(yr,{addCustomPage:i});const c={props:n,clerk:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function Kp(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountOrganizationProfile,unmount:r.clerk?.unmountOrganizationProfile,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var qp=In(Vp,[["render",Kp],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue"]]),Tn=he((e,{slots:t})=>{const n=be(yr);return n?(n.addCustomPage({props:e,slots:t,component:Tn}),()=>null):qe.throw(Qd)},{name:"OrganizationProfilePage"});Object.defineProperty(Tn,"props",{value:["label","url"]});var Mn=he((e,{slots:t})=>{const n=be(yr);return n?(n.addCustomPage({props:e,slots:t,component:Mn}),()=>null):qe.throw(Zd)},{name:"OrganizationProfileLink"});Object.defineProperty(Mn,"props",{value:["url","label"]});Object.assign(qp,{Page:Tn,Link:Mn});var Zn=(e,t)=>!!e&&Wp(e)&&e.name===t.name,Wp=e=>"name"in e&&"setup"in e;function zp(){return Math.random().toString(36).substring(2,7)}var ec=()=>{const e=Ae([]);return{portals:ee(()=>e.value.map(o=>jt(Ra,{to:o.el},o.slot()))),mount:(o,s)=>{const i=zp();o.setAttribute("data-clerk-mount-id",i),e.value.push({id:i,el:o,slot:s})},unmount:o=>{const s=o?.getAttribute("data-clerk-mount-id");if(s){const i=e.value.findIndex(l=>l.id===s);i!==-1&&e.value.splice(i,1)}}}},tc=()=>{const{customPages:e,customPagesPortals:t,addCustomPage:n}=rc({reorderItemsLabels:["account","security","billing","apiKeys"],PageComponent:Ln,LinkComponent:jn,componentName:"UserProfile"});return{customPages:e,customPagesPortals:t,addCustomPage:o=>n(o)}},nc=()=>{const{customPages:e,customPagesPortals:t,addCustomPage:n}=rc({reorderItemsLabels:["general","members","billing","apiKeys"],PageComponent:Tn,LinkComponent:Mn,componentName:"OrganizationProfile"});return{customPages:e,customPagesPortals:t,addCustomPage:o=>n(o)}},rc=e=>{const t=Ae([]),{portals:n,mount:r,unmount:o}=ec(),{PageComponent:s,LinkComponent:i,reorderItemsLabels:l,componentName:c}=e;return{customPages:t,customPagesPortals:n,addCustomPage:a=>{const{props:f,slots:h,component:d}=a,{label:y,url:v}=f;if(Zn(d,s))if(Gp(f,h,l))t.value.push({label:y});else if(Jp(f,h))t.value.push({label:y,url:v,mountIcon(I){r(I,h.labelIcon)},unmountIcon:o,mount(I){r(I,h.default)},unmount:o});else{mn(Gd(c));return}if(Zn(d,i))if(Yp(f,h))t.value.push({label:y,url:v,mountIcon(I){r(I,h.labelIcon)},unmountIcon:o});else{mn(Jd(c));return}}}},Gp=(e,t,n)=>{const{label:r,url:o}=e,{default:s,labelIcon:i}=t;return!s&&!o&&!i&&n.some(l=>l===r)},Jp=(e,t)=>{const{label:n,url:r}=e,{default:o,labelIcon:s}=t;return!!o&&!!r&&!!s&&!!n},Yp=(e,t)=>{const{label:n,url:r}=e,{default:o,labelIcon:s}=t;return!o&&!!r&&!!s&&!!n},Xp=he({__name:"UserProfile",props:{path:{type:null,required:!1},routing:{type:String,required:!1},appearance:{type:Object,required:!1},additionalOAuthScopes:{type:Object,required:!1},__experimental_startPath:{type:String,required:!1},apiKeysProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customPages:o,customPagesPortals:s,addCustomPage:i}=tc(),l=ee(()=>({...n,customPages:o.value}));Ze(mr,{addCustomPage:i});const c={props:n,clerk:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function Qp(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountUserProfile,unmount:r.clerk?.unmountUserProfile,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var Zp=In(Xp,[["render",Qp],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/UserProfile/UserProfile.vue"]]),Ln=he((e,{slots:t})=>{const n=be(mr);return n?(n.addCustomPage({props:e,slots:t,component:Ln}),()=>null):qe.throw(Yd)},{name:"UserProfilePage"});Object.defineProperty(Ln,"props",{value:["label","url"]});var jn=he((e,{slots:t})=>{const n=be(mr);return n?(n.addCustomPage({props:e,slots:t,component:jn}),()=>null):qe.throw(Xd)},{name:"UserProfileLink"});Object.defineProperty(jn,"props",{value:["url","label"]});Object.assign(Zp,{Page:Ln,Link:jn});var eh=he({__name:"OrganizationSwitcher",props:{createOrganizationUrl:{type:null,required:!1},createOrganizationMode:{type:String,required:!1},organizationProfileUrl:{type:null,required:!1},organizationProfileMode:{type:String,required:!1},defaultOpen:{type:Boolean,required:!1},hidePersonal:{type:Boolean,required:!1},afterSwitchOrganizationUrl:{type:String,required:!1},afterCreateOrganizationUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterSelectOrganizationUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterSelectPersonalUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterLeaveOrganizationUrl:{type:String,required:!1},skipInvitationScreen:{type:Boolean,required:!1},hideSlug:{type:Boolean,required:!1},appearance:{type:Object,required:!1},organizationProfileProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=Ut(),r=e,{customPages:o,customPagesPortals:s,addCustomPage:i}=nc(),l=ee(()=>({...r,organizationProfileProps:{...r.organizationProfileProps||{},customPages:o.value}}));Ze(yr,{addCustomPage:i});const c={clerk:n,props:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function th(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountOrganizationSwitcher,unmount:r.clerk?.unmountOrganizationSwitcher,"update-props":r.clerk?.__unstable__updateProps,props:r.finalProps},null,8,["mount","unmount","update-props","props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var nh=In(eh,[["render",th],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/OrganizationSwitcher/OrganizationSwitcher.vue"]]);Object.assign(nh,{OrganizationProfilePage:Tn,OrganizationProfileLink:Mn});var rh=()=>{const e=Ae([]),{portals:t,mount:n,unmount:r}=ec(),o=["manageAccount","signOut"];function s(i){const{props:l,component:c,slots:u}=i,{label:a,onClick:f,open:h,href:d}=l;if(Zn(c,_r))if(oh(l,u,o))e.value.push({label:a});else if(sh(l,u)){const y={label:a,mountIcon(v){n(v,u.labelIcon)},unmountIcon:r};if(f!==void 0)e.value.push({...y,onClick:f,open:h});else if(h!==void 0)e.value.push({...y,open:h.startsWith("/")?h:`/${h}`});else{mn("Custom menu item must have either onClick or open property");return}}else{mn(Wd);return}if(Zn(c,Sr))if(ih(l,u))e.value.push({label:a,href:d,mountIcon(y){n(y,u.labelIcon)},unmountIcon:r});else{mn(qd);return}}return{customMenuItems:e,customMenuItemsPortals:t,addCustomMenuItem:s}},oh=(e,t,n)=>{const{label:r,onClick:o}=e,{labelIcon:s}=t;return!o&&!s&&n.some(i=>i===r)},sh=(e,t)=>{const{label:n,onClick:r,open:o}=e,{labelIcon:s}=t;return!!s&&!!n&&(typeof r=="function"||typeof o=="string")},ih=(e,t)=>{const{label:n,href:r}=e,{labelIcon:o}=t;return!!r&&!!o&&!!n},lh=he({__name:"UserButton",props:{userProfileUrl:{type:null,required:!1},userProfileMode:{type:String,required:!1},showName:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},__experimental_asStandalone:{type:[Boolean,Function],required:!1},afterSignOutUrl:{type:String,required:!1},afterMultiSessionSingleSignOutUrl:{type:String,required:!1},signInUrl:{type:String,required:!1},afterSwitchSessionUrl:{type:String,required:!1},appearance:{type:Object,required:!1},userProfileProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customMenuItems:o,customMenuItemsPortals:s,addCustomMenuItem:i}=rh(),{customPages:l,customPagesPortals:c,addCustomPage:u}=tc(),a=ee(()=>({...n,userProfileProps:{...n.userProfileProps||{},customPages:l.value},customMenuItems:o.value}));Ze(Kl,{addCustomMenuItem:i}),Ze(mr,{addCustomPage:u});const f={props:n,clerk:r,customMenuItems:o,customMenuItemsPortals:s,addCustomMenuItem:i,customPages:l,customPagesPortals:c,addCustomPage:u,finalProps:a,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}});function ch(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountUserButton,unmount:r.clerk?.unmountUserButton,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals,"custom-menu-items-portals":r.customMenuItemsPortals},null,8,["custom-pages-portals","custom-menu-items-portals"]),An(e.$slots,"default")],64)}var ah=In(lh,[["render",ch],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/UserButton/UserButton.vue"]]),uh=he((e,{slots:t})=>{const n=be(Kl);return n?(Ze(Do,n),()=>t.default?.()):qe.throw(zd)}),_r=he((e,{slots:t})=>{const n=be(Do);return n?(n.addCustomMenuItem({props:e,slots:t,component:_r}),()=>null):qe.throw(Vd)},{name:"MenuAction"});Object.defineProperty(_r,"props",{value:["label","onClick","open"]});var Sr=he((e,{slots:t})=>{const n=be(Do);return n?(n.addCustomMenuItem({props:e,slots:t,component:Sr}),()=>null):qe.throw(Kd)},{name:"MenuLink"});Object.defineProperty(Sr,"props",{value:["href","label"]});var Kh=Object.assign(ah,{MenuItems:uh,Action:_r,Link:Sr,UserProfilePage:Ln,UserProfileLink:jn}),fh=he({__name:"SignInButton",props:{mode:{type:String,required:!1},appearance:{type:Object,required:!1},fallbackRedirectUrl:{type:[String,null],required:!1},forceRedirectUrl:{type:[String,null],required:!1},signUpForceRedirectUrl:{type:[String,null],required:!1},signUpFallbackRedirectUrl:{type:[String,null],required:!1},initialValues:{type:Object,required:!1},withSignUp:{type:Boolean,required:!1},oauthFlow:{type:String,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),o=Ka(),s=qa();function i(){const u=ep(o.default?.({}),"Sign in");return tp(u,"SignInButton")}function l(){const{mode:u,...a}=n;if(u==="modal")return r.value?.openSignIn({...a,appearance:n.appearance});const{withSignUp:f,...h}=a;r.value?.redirectToSignIn({...h,signInFallbackRedirectUrl:n.fallbackRedirectUrl,signInForceRedirectUrl:n.forceRedirectUrl})}const c={props:n,clerk:r,slots:o,attrs:s,getChildComponent:i,clickHandler:l};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function dh(e,t,n,r,o,s){return ft(),Sn($a(r.getChildComponent),yl(r.attrs,{onClick:r.clickHandler}),{default:Hi(()=>[An(e.$slots,"default")]),_:3},16)}var qh=In(fh,[["render",dh],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/SignInButton.vue"]]),ph={name:"@clerk/vue",version:"1.17.6",environment:"production"},hh={install(e,t){const{initialState:n}=t||{},r=Jr(!1),o=Jr(null),s=Ae({client:void 0,session:void 0,user:void 0,organization:void 0}),i={...t,sdkMetadata:t.sdkMetadata||ph};kp()&&Op(i).then(async()=>{if(!window.Clerk)throw new Error("Failed to download latest ClerkJS. Contact support@clerk.com.");o.value=window.Clerk,await window.Clerk.load(i),r.value=!0,o.value.addListener(d=>{s.value=d}),aa(o)});const l=ee(()=>Tp(r.value,s.value,n)),c=ee(()=>{const{sessionId:d,userId:y,orgId:v,actor:I,orgRole:w,orgSlug:R,orgPermissions:M,sessionStatus:T,sessionClaims:k,factorVerificationAge:Z}=l.value;return{sessionId:d,userId:y,actor:I,orgId:v,orgRole:w,orgSlug:R,orgPermissions:M,sessionStatus:T,sessionClaims:k,factorVerificationAge:Z}}),u=ee(()=>s.value.client),a=ee(()=>l.value.user),f=ee(()=>l.value.session),h=ee(()=>l.value.organization);e.provide(Vl,{clerk:o,authCtx:c,clientCtx:u,sessionCtx:f,userCtx:a,organizationCtx:h})}};Ad({packageName:"@clerk/vue"});wp("@clerk/vue");function oc(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Fr={exports:{}};const Qt=e=>({...e,__type:"prebuilt_appearance"}),gh=Object.freeze(Object.defineProperty({__proto__:null,experimental_createTheme:Qt},Symbol.toStringTag,{value:"Module"})),mh=oc(gh),sc=Qt({name:"dark",variables:{colorBackground:"#212126",colorNeutral:"white",colorPrimary:"#ffffff",colorPrimaryForeground:"black",colorForeground:"white",colorInputForeground:"white",colorInput:"#26262B"},elements:{providerIcon__apple:{filter:"invert(1)"},providerIcon__github:{filter:"invert(1)"},providerIcon__okx_wallet:{filter:"invert(1)"},providerIcon__vercel:{filter:"invert(1)"},activeDeviceIcon:{"--cl-chassis-bottom":"#d2d2d2","--cl-chassis-back":"#e6e6e6","--cl-chassis-screen":"#e6e6e6","--cl-screen":"#111111"}}}),yh=Qt({name:"shadesOfPurple",baseTheme:sc,variables:{colorBackground:"#3f3c77",colorPrimary:"#f8d80d",colorPrimaryForeground:"#38375f",colorInputForeground:"#a1fdfe",colorShimmer:"rgba(161,253,254,0.36)"}}),gt={boxShadow:"3px 3px 0px #000",border:"2px solid #000","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:active":{boxShadow:"2px 2px 0px #000",transform:"translate(1px)"}},At={boxShadow:"3px 3px 0px #000",border:"2px solid #000"},vh=Qt({name:"neobrutalism",simpleStyles:!0,variables:{colorPrimary:"#DF1B1B",colorShimmer:"rgba(255,255,255,0.64)",fontWeight:{normal:500,medium:600,bold:700}},elements:{cardBox:{boxShadow:"7px 7px 0px #000",border:"3px solid #000"},card:{borderRadius:"0"},headerSubtitle:{color:"#212126"},alternativeMethodsBlockButton:gt,socialButtonsIconButton:{...gt},selectButton:{...gt,...At,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"}},socialButtonsBlockButton:{...gt,color:"#212126"},profileSectionPrimaryButton:gt,profileSectionItem:{color:"#212126"},avatarImageActionsUpload:gt,menuButton:At,menuList:At,formButtonPrimary:gt,navbarButton:gt,formFieldAction:{fontWeight:"700"},formFieldInput:{...At,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:hover":{...At,transform:"scale(1.01)"}},table:At,tableHead:{color:"#212126"},dividerLine:{background:"#000"},dividerText:{fontWeight:"700",color:"#212126"},footer:{background:"#fff","& div":{color:"#212126"}},footerActionText:{color:"#212126"},footerActionLink:{fontWeight:"700",borderBottom:"3px solid","&:focus":{boxShadow:"none"}},actionCard:{...At},badge:{border:"1px solid #000",background:"#fff",color:"#212126"}}}),bh=Qt({name:"shadcn",cssLayerName:"components",variables:{colorBackground:"var(--card)",colorDanger:"var(--destructive)",colorForeground:"var(--card-foreground)",colorInput:"var(--input)",colorInputForeground:"var(--card-foreground)",colorModalBackdrop:"var(--color-black)",colorMuted:"var(--muted)",colorMutedForeground:"var(--muted-foreground)",colorNeutral:"var(--foreground)",colorPrimary:"var(--primary)",colorPrimaryForeground:"var(--primary-foreground)",colorRing:"var(--ring)",fontWeight:{normal:"var(--font-weight-normal)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-semibold)"}},elements:{input:"bg-transparent dark:bg-input/30",cardBox:"shadow-sm border",popoverBox:"shadow-sm border",button:{'&[data-variant="solid"]::after':{display:"none"}},providerIcon__apple:"dark:invert",providerIcon__github:"dark:invert",providerIcon__okx_wallet:"dark:invert",providerIcon__vercel:"dark:invert"}}),_h=Qt({name:"simple",simpleStyles:!0}),Sh=Object.freeze(Object.defineProperty({__proto__:null,dark:sc,experimental__simple:_h,neobrutalism:vh,shadcn:bh,shadesOfPurple:yh},Symbol.toStringTag,{value:"Module"})),Ph=oc(Sh);var ei;function Eh(){return ei||(ei=1,(function(e){var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(u,a,f,h)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of r(a))!o.call(u,d)&&d!==f&&t(u,d,{get:()=>a[d],enumerable:!(h=n(a,d))||h.enumerable});return u},i=(u,a,f)=>(s(u,a,"default"),f&&s(f,a,"default")),l=u=>s(t({},"__esModule",{value:!0}),u),c={};e.exports=l(c),i(c,mh,e.exports),i(c,Ph,e.exports)})(Fr)),Fr.exports}var wh=Eh();const Ch=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Oh={};function Ah(e,t){const n=Ba("RouterView");return ft(),Sn(n)}const Rh=Ch(Oh,[["render",Ah]]),xh=[{path:"/",name:"main",component:()=>ks(()=>import("./Main-BD4o1zjI.js"),__vite__mapDeps([0,1]))},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>ks(()=>import("./NotFound-DhLLhllS.js"),__vite__mapDeps([2,3]))}],Ih="o-s-",Se={CLERK_PUBLISHABLE_KEY:"clerk-publishable-key",SERVICE_HOSTS:"service-hosts",SELECTED_SERVICE_HOST_ID:"selected-service-host-id",SIDEBAR_COLLAPSED:"sidebar-collapsed",EXAMPLES_SIDEBAR_COLLAPSED:"examples-sidebar-collapsed",ENDPOINTS_SIDEBAR_WIDTH:"endpoints-sidebar-width",EXAMPLES_SIDEBAR_WIDTH:"examples-sidebar-width"};function Bo(e){return Ih+e}function Rt(e,t){try{const n=localStorage.getItem(Bo(e));return n===null?t:JSON.parse(n)}catch(n){return console.error(`Failed to parse localStorage item "${e}":`,n),t}}function xt(e,t){try{localStorage.setItem(Bo(e),JSON.stringify(t))}catch(n){console.error(`Failed to save localStorage item "${e}":`,n)}}function Br(e){try{localStorage.removeItem(Bo(e))}catch(t){console.error(`Failed to remove localStorage item "${e}":`,t)}}function kh(){function e(k){k.trim()?xt(Se.CLERK_PUBLISHABLE_KEY,k.trim()):t()}function t(){Br(Se.CLERK_PUBLISHABLE_KEY)}function n(){return Rt(Se.CLERK_PUBLISHABLE_KEY,"")}function r(){const k=n();return!!(k&&k.trim())}function o(){return r()}function s(){return Rt(Se.SERVICE_HOSTS,[])}function i(k){xt(Se.SERVICE_HOSTS,k)}function l(k){const Z=s(),z=Z.findIndex(F=>F.baseUrl===k.baseUrl);z>=0?Z[z]=k:Z.push(k),i(Z)}function c(k){const z=s().filter(p=>p.id!==k);i(z),u()===k&&f()}function u(){return Rt(Se.SELECTED_SERVICE_HOST_ID,null)}function a(k){k?xt(Se.SELECTED_SERVICE_HOST_ID,k):Br(Se.SELECTED_SERVICE_HOST_ID)}function f(){Br(Se.SELECTED_SERVICE_HOST_ID)}function h(){const k=u();return k&&s().find(z=>z.id===k)||null}function d(){return Rt(Se.SIDEBAR_COLLAPSED,!1)}function y(k){xt(Se.SIDEBAR_COLLAPSED,k)}function v(){return Rt(Se.EXAMPLES_SIDEBAR_COLLAPSED,!1)}function I(k){xt(Se.EXAMPLES_SIDEBAR_COLLAPSED,k)}function w(){return Rt(Se.ENDPOINTS_SIDEBAR_WIDTH,500)}function R(k){xt(Se.ENDPOINTS_SIDEBAR_WIDTH,k)}function M(){return Rt(Se.EXAMPLES_SIDEBAR_WIDTH,400)}function T(k){xt(Se.EXAMPLES_SIDEBAR_WIDTH,k)}return{saveClerkPublishableKey:e,clearClerkPublishableKey:t,getClerkPublishableKey:n,hasClerkPublishableKey:r,hasSavedClerkPublishableKey:o,getServiceHosts:s,saveServiceHosts:i,addServiceHost:l,removeServiceHost:c,getSelectedServiceHostId:u,setSelectedServiceHostId:a,clearSelectedServiceHostId:f,getSelectedServiceHost:h,loadSidebarCollapsed:d,saveSidebarCollapsed:y,loadExamplesSidebarCollapsed:v,saveExamplesSidebarCollapsed:I,loadEndpointsSidebarWidth:w,saveEndpointsSidebarWidth:R,loadExamplesSidebarWidth:M,saveExamplesSidebarWidth:T}}function Th(){const e=Ae(null),t=()=>{e.value=null},n=()=>"/openapi-studio-config.json";return{config:e,loadConfigJson:async()=>{const o=n();try{const s=await fetch(o);if(s.ok){const i=await s.json();console.log(`Loaded config from ${o}`),e.value=i}}catch(s){console.log(`Failed to load config from ${o}:`,s),e.value=null}},clearConfigCache:t,getConfigJsonPath:n}}function Mh(){return{isServiceHostPickerEnabled:!0,isClerkPublishableKeyChangeEnabled:!0,isClerkEnabled:!0}}const Lh=Hl("openapi",()=>{const e=ic(),t=Ae(null),n=Ae(!0),r=Ae(null),o=ee(()=>e.openApiSpecUrl||""),s=ee(()=>{if(!t.value)return[];const p=[];for(const[_,C]of Object.entries(t.value.paths))if(C)for(const j of["get","post","put","patch","delete"]){const O=C[j];O&&p.push({path:_,method:j.toUpperCase(),operation:O})}return p.sort((_,C)=>_.path!==C.path?_.path.localeCompare(C.path):_.method.localeCompare(C.method))}),i=ee(()=>{if(!t.value?.components?.securitySchemes)return[];const p=[];for(const[_,C]of Object.entries(t.value.components.securitySchemes))C&&typeof C=="object"&&!("$ref"in C)&&p.push({name:_,scheme:C});return p}),l=ee(()=>t.value?.info?.title||"OpenAPI Studio"),c=ee(()=>t.value?.info?.description||null),u=ee(()=>t.value?.info?.version||null);async function a(p){n.value=!0,r.value=null,console.log("loadSpec",p,o.value);try{const _=p||o.value,C=await fetch(_);if(!C.ok)throw new Error(`Failed to fetch OpenAPI spec: ${C.statusText}`);t.value=await C.json()}catch(_){console.log(_),r.value=_ instanceof Error?_.message:"Failed to load OpenAPI spec"}finally{n.value=!1}}function f(p,_){const C=(typeof p=="string"?p:p.$ref).replace("#/","").split("/");let j=_;for(const O of C)if(j&&typeof j=="object"&&O in j)j=j[O];else return null;return j}function h(p){if(!p||typeof p!="object")return null;if("$ref"in p&&p.$ref){if(!t.value)return null;const _=f(p.$ref,t.value);return _&&typeof _=="object"&&"name"in _&&"in"in _?_:null}return"name"in p&&"in"in p?p:null}function d(p,_){if(!p||typeof p!="object")return null;if("$ref"in p&&p.$ref){const O=f(p.$ref,_);return!O||typeof O!="object"?null:d(O,_)}if("example"in p&&p.example!==void 0)return p.example;if("enum"in p&&p.enum&&p.enum.length>0)return p.enum[0];const C=p,j=C.type||(C.anyOf?"anyOf":C.oneOf?"oneOf":C.allOf?"allOf":"object");switch(j){case"string":if("format"in C)switch(C.format){case"date":return"2024-01-01";case"date-time":return"2024-01-01T00:00:00Z";case"email":return"example@example.com";case"uri":return"https://example.com";case"uuid":return"123e4567-e89b-12d3-a456-426614174000"}return"default"in C&&C.default!==void 0?C.default:"string";case"number":case"integer":return"default"in C&&C.default!==void 0?C.default:0;case"boolean":return"default"in C&&C.default!==void 0?C.default:!1;case"array":if("items"in p&&p.items){const N=d(p.items,_);return p.minItems&&p.minItems>0?Array(p.minItems).fill(N):[N]}return[];case"object":const O={};if("properties"in p&&p.properties)for(const[N,V]of Object.entries(p.properties))"required"in p&&p.required&&p.required.includes(N)?O[N]=d(V,_):"required"in p||(O[N]=d(V,_));return O;case"anyOf":return"anyOf"in p&&p.anyOf&&p.anyOf.length>0?d(p.anyOf[0],_):{};case"oneOf":return"oneOf"in p&&p.oneOf&&p.oneOf.length>0?d(p.oneOf[0],_):{};case"allOf":if("allOf"in p&&p.allOf){const N={};for(const V of p.allOf){const ne=d(V,_);typeof ne=="object"&&ne!==null&&!Array.isArray(ne)&&Object.assign(N,ne)}return N}return{};default:return null}}function y(p,_,C=new Set,j=0,O){if(!p||typeof p!="object")return"";const N=" ".repeat(j);let V="";if("$ref"in p&&p.$ref){if(C.has(p.$ref))return`${N}${O||""} → ${p.$ref.split("/").pop()} ⚠ circular
9
+ Docs: ${o}`),n}};const Od=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function Bl({packageName:e,customMessages:t}){let n=e;function r(s,i){if(!i)return`${n}: ${s}`;let l=s;const c=s.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const u of c){const a=(i[u[1]]||"").toString();l=l.replace(`{{${u[1]}}}`,a)}return`${n}: ${l}`}const o={...Od,...t};return{setPackageName({packageName:s}){return typeof s=="string"&&(n=s),this},setMessages({customMessages:s}){return Object.assign(o,s||{}),this},throwInvalidPublishableKeyError(s){throw new Error(r(o.InvalidPublishableKeyErrorMessage,s))},throwInvalidProxyUrl(s){throw new Error(r(o.InvalidProxyUrlErrorMessage,s))},throwMissingPublishableKeyError(){throw new Error(r(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(r(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(s){throw new Error(r(o.MissingClerkProvider,s))},throw(s){throw new Error(r(s))}}}var ao=class $l extends Cd{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(t,n){super({...n,message:t}),Object.setPrototypeOf(this,$l.prototype)}},qe=Bl({packageName:"@clerk/vue"});function Ad(e){qe.setMessages(e).setPackageName(e)}const Rd={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},xd=new Set(["first_factor","second_factor","multi_factor"]),Id=new Set(["strict_mfa","strict","moderate","lax"]),kd=e=>typeof e=="number"&&e>0,Td=e=>xd.has(e),Md=e=>Id.has(e),Dr=e=>e.replace(/^(org:)*/,"org:"),Ld=(e,t)=>{const{orgId:n,orgRole:r,orgPermissions:o}=t;return!e.role&&!e.permission||!n||!r||!o?null:e.permission?o.includes(Dr(e.permission)):e.role?Dr(r)===Dr(e.role):null},Ys=(e,t)=>{const{org:n,user:r}=Ud(e),[o,s]=t.split(":"),i=s||o;return o==="org"?n.includes(i):o==="user"?r.includes(i):[...n,...r].includes(i)},jd=(e,t)=>{const{features:n,plans:r}=t;return e.feature&&n?Ys(n,e.feature):e.plan&&r?Ys(r,e.plan):null},Ud=e=>{const t=e?e.split(",").map(n=>n.trim()):[];return{org:t.filter(n=>n.split(":")[0].includes("o")).map(n=>n.split(":")[1]),user:t.filter(n=>n.split(":")[0].includes("u")).map(n=>n.split(":")[1])}},Nd=e=>{if(!e)return!1;const t=o=>typeof o=="string"?Rd[o]:o,n=typeof e=="string"&&Md(e),r=typeof e=="object"&&Td(e.level)&&kd(e.afterMinutes);return n||r?t.bind(null,e):!1},Hd=(e,{factorVerificationAge:t})=>{if(!e.reverification||!t)return null;const n=Nd(e.reverification);if(!n)return null;const{level:r,afterMinutes:o}=n(),[s,i]=t,l=s!==-1?o>s:null,c=i!==-1?o>i:null;switch(r){case"first_factor":return l;case"second_factor":return i!==-1?c:l;case"multi_factor":return i===-1?l:l&&c}},Dd=e=>t=>{if(!e.userId)return!1;const n=jd(t,e),r=Ld(t,e),o=Hd(t,e);return[n||r,o].some(s=>s===null)?[n||r,o].some(s=>s===!0):[n||r,o].every(s=>s===!0)},Fd=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:r,orgId:o,orgRole:s,orgSlug:i,signOut:l,getToken:c,has:u,sessionClaims:a},options:{treatPendingAsSignedOut:f=!0}})=>{if(e===void 0&&n===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:e,sessionClaims:void 0,userId:n,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:l,getToken:c};if(e===null&&n===null)return{isLoaded:!0,isSignedIn:!1,sessionId:e,userId:n,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:l,getToken:c};if(f&&t==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:l,getToken:c};if(e&&a&&n&&o&&s)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:a,userId:n,actor:r||null,orgId:o,orgRole:s,orgSlug:i||null,has:u,signOut:l,getToken:c};if(e&&a&&n&&!o)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:a,userId:n,actor:r||null,orgId:null,orgRole:null,orgSlug:null,has:u,signOut:l,getToken:c}};var Vl=Symbol("clerk"),Kl=Symbol("UserButton"),Ho=Symbol("UserButton.MenuItems"),mr=Symbol("UserProfile"),yr=Symbol("OrganizationProfile");function Do(e){const t=be(Vl);return t||qe.throw(`${e} can only be used when the Vue plugin is installed. Learn more: https://clerk.com/docs/reference/vue/clerk-plugin`)}var Ut=()=>{const{clerk:e}=Do("useClerk");return e},Bd=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,$d="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",Vd="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",Kd="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",qd="Missing requirements. <UserButton.Link /> component requires props: href, label and slots: labelIcon.",Wd="Missing requirements. <UserButton.Action /> component requires props: label and slots: labelIcon.",zd="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",Gd=e=>`Missing requirements. <${e}.Page /> component requires props: url, label and slots: labelIcon and a default slot for page content`,Jd=e=>`Missing requirements. <${e}.Link /> component requires the following props: url, label and slots: labelIcon.`,Yd="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Xd="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",Qd="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",Zd="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",ep=(e,t)=>e?e[0].type===Rn?jt("button",e):e:jt("button",t),tp=(e,t)=>Array.isArray(e)?e.length>1?qe.throw(Bd(t)):e[0]:e;function np(e){const t={};for(const n in e.value)t[n]=ee(()=>e.value[n]);return t}function ql(e){return new Promise(t=>{Pt(e,n=>{n?.loaded&&t(n)},{immediate:!0})})}function rp(e){return async t=>{const n=await ql(e);return n.session?n.session.getToken(t):null}}function op(e){return async(...t)=>(await ql(e)).signOut(...t)}var Fo=(e={})=>{const{clerk:t,authCtx:n}=Do("useAuth"),r=rp(t),o=op(t),s=ee(()=>{const{userId:i,orgId:l,orgRole:c,orgPermissions:u,sessionClaims:a,factorVerificationAge:f}=n.value,h=Dd({userId:i,orgId:l,orgRole:c,orgPermissions:u,factorVerificationAge:f,features:a?.fea||"",plans:a?.pla||""}),d=Fd({authObject:{...n.value,getToken:r,signOut:o,has:h},options:{treatPendingAsSignedOut:e.treatPendingAsSignedOut}});return d||qe.throw($d)});return np(s)},In=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const sp=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],Wl=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,zl="pk_live_",ip="pk_test_";function Gl(e){if(!e.endsWith("$"))return!1;const t=e.slice(0,-1);return t.includes("$")?!1:t.includes(".")}function Xs(e,t={}){if(e=e||"",!e||!Qs(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!Qs(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(zl)?"production":"development";let r;try{r=Wl(e.split("_")[2])}catch{if(t.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Gl(r)){if(t.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=r.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:n,frontendApi:o}}function Qs(e=""){try{if(!(e.startsWith(zl)||e.startsWith(ip)))return!1;const t=e.split("_");if(t.length!==3)return!1;const n=t[2];return n?Gl(Wl(n)):!1}catch{return!1}}function lp(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let r=e.get(n);return r===void 0&&(r=sp.some(o=>n.endsWith(o)),e.set(n,r)),r}}}const cp={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},ap=100,Jl=async e=>new Promise(t=>setTimeout(t,e)),Yl=(e,t)=>t?e*(1+Math.random()):e,up=e=>{let t=0;const n=()=>{const r=e.initialDelay,o=e.factor;let s=r*Math.pow(o,t);return s=Yl(s,e.jitter),Math.min(e.maxDelayBetweenRetries||s,s)};return async()=>{await Jl(n()),t++}},fp=async(e,t={})=>{let n=0;const{shouldRetry:r,initialDelay:o,maxDelayBetweenRetries:s,factor:i,retryImmediately:l,jitter:c,onBeforeRetry:u}={...cp,...t},a=up({initialDelay:o,maxDelayBetweenRetries:s,factor:i,jitter:c});for(;;)try{return await e()}catch(f){if(n++,!r(f,n))throw f;u&&await u(n),l&&n===1?await Jl(Yl(ap,c)):await a()}},dp="loadScript cannot be called when document does not exist",pp="loadScript cannot be called without a src";async function hp(e="",t){const{async:n,defer:r,beforeLoad:o,crossOrigin:s,nonce:i}=t||{};return fp(()=>new Promise((c,u)=>{e||u(new Error(pp)),(!document||!document.body)&&u(new Error(dp));const a=document.createElement("script");s&&a.setAttribute("crossorigin",s),a.async=n||!1,a.defer=r||!1,a.addEventListener("load",()=>{a.remove(),c(a)}),a.addEventListener("error",f=>{a.remove(),u(f.error??new Error(`failed to load script: ${e}`))}),a.src=e,a.nonce=i,o?.(a),document.body.appendChild(a)}),{shouldRetry:(c,u)=>u<=5})}function gp(e){return e?mp(e)||Xl(e):!0}function mp(e){return/^http(s)?:\/\//.test(e||"")}function Xl(e){return e.startsWith("/")}function yp(e){return e?Xl(e)?new URL(e,window.location.origin).toString():e:""}function vp(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}const bp=(e,t="5.117.0")=>{if(e)return e;const n=_p(t);return n?n==="snapshot"?"5.117.0":n:Sp(t)},_p=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],Sp=e=>e.trim().replace(/^v/,"").split(".")[0],Ql="failed_to_load_clerk_js",Pp="failed_to_load_clerk_js_timeout",uo="Failed to load Clerk",{isDevOrStagingUrl:Ep}=lp(),Zl=Bl({packageName:"@clerk/shared"});function wp(e){Zl.setPackageName({packageName:e})}function fo(){if(typeof window>"u"||!window.Clerk)return!1;const e=window.Clerk;return typeof e=="object"&&typeof e.load=="function"}function Cp(e){if(typeof window>"u"||!window.performance)return!1;const t=performance.getEntriesByName(e,"resource");if(t.length===0)return!1;const n=t[t.length-1];return n.transferSize===0&&n.decodedBodySize===0&&(n.responseEnd===0||n.responseEnd>0&&n.responseStart>0||"responseStatus"in n&&(n.responseStatus>=400||n.responseStatus===0))}function Zs(e,t){return new Promise((n,r)=>{let o=!1;const s=(a,f)=>{clearTimeout(a),clearInterval(f)};t?.addEventListener("error",()=>{s(c,u),r(new ao(uo,{code:Ql}))});const i=()=>{o||fo()&&(o=!0,s(c,u),n(null))},c=setTimeout(()=>{o||(o=!0,s(c,u),fo()?n(null):r(new ao(uo,{code:Pp})))},e);i();const u=setInterval(()=>{if(o){clearInterval(u);return}i()},100)})}const Op=async e=>{const t=e?.scriptLoadTimeout??15e3;if(fo())return null;if(!e?.publishableKey)return Zl.throwMissingPublishableKeyError(),null;const n=Ap(e),r=document.querySelector("script[data-clerk-js-script]");if(r)if(Cp(n))r.remove();else try{return await Zs(t,r),null}catch{r.remove()}const o=Zs(t);return hp(n,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:xp(e)}).catch(s=>{throw new ao(uo+(s.message?`, ${s.message}`:""),{code:Ql,cause:s})}),o},Ap=e=>{const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:r,proxyUrl:o,domain:s,publishableKey:i}=e;if(t)return t;let l="";o&&gp(o)?l=yp(o).replace(/http(s)?:\/\//,""):s&&!Ep(Xs(i)?.frontendApi||"")?l=vp(s):l=Xs(i)?.frontendApi||"";const c=n?`${n.replace(/\.+$/,"")}.`:"",u=bp(r);return`https://${l}/npm/@clerk/clerk-js@${u}/dist/clerk.${c}browser.js`},Rp=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},xp=e=>t=>{const n=Rp(e);for(const r in n)t.setAttribute(r,n[r])},Ip=()=>{try{return!1}catch{}return!1},mn=e=>{Ip()&&console.error(`Clerk: ${e}`)};function kp(){return typeof window<"u"}const Tp=(e,t,n)=>!e&&n?Mp(n):Lp(t),Mp=e=>{const t=e.userId,n=e.user,r=e.sessionId,o=e.sessionStatus,s=e.sessionClaims;return{userId:t,user:n,sessionId:r,session:e.session,sessionStatus:o,sessionClaims:s,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},Lp=e=>{const t=e.user?e.user.id:e.user,n=e.user,r=e.session?e.session.id:e.session,o=e.session,s=e.session?.status,i=e.session?e.session.lastActiveToken?.jwt?.claims:null,l=e.session?e.session.factorVerificationAge:null,c=o?.actor,u=e.organization,a=e.organization?e.organization.id:e.organization,f=u?.slug,h=u&&n?.organizationMemberships?.find(y=>y.organization.id===a),d=h&&h.permissions;return{userId:t,user:n,sessionId:r,session:o,sessionStatus:s,sessionClaims:i,organization:u,orgId:a,orgRole:h&&h.role,orgSlug:f,orgPermissions:d,actor:c,factorVerificationAge:l}};var vr=e=>{const t=Ut();Pt(t,n=>{n?.loaded&&e(n)},{immediate:!0})},jp=he(({treatPendingAsSignedOut:e},{slots:t})=>{const{userId:n}=Fo({treatPendingAsSignedOut:e});return()=>n.value?t.default?.():null});Object.defineProperty(jp,"props",{value:["treatPendingAsSignedOut"]});var Up=he(({treatPendingAsSignedOut:e},{slots:t})=>{const{userId:n}=Fo({treatPendingAsSignedOut:e});return()=>n.value===null?t.default?.():null});Object.defineProperty(Up,"props",{value:["treatPendingAsSignedOut"]});var Np=he((e,{slots:t})=>{const n=Ut();return()=>n.value?.loaded?t.default?.():null}),Hp=he(e=>{const{sessionCtx:t,clientCtx:n}=Do("RedirectToSignIn");return vr(r=>{const o=n.value?.signedInSessions&&n.value.signedInSessions.length>0;t.value===null&&o?r.redirectToAfterSignOut():r.redirectToSignIn(e)}),()=>null});Object.defineProperty(Hp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Dp=he(e=>(vr(t=>{t.redirectToSignUp(e)}),()=>null));Object.defineProperty(Dp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Fp=he(e=>(vr(t=>{t.redirectToTasks(e)}),()=>null));Object.defineProperty(Fp,"props",{value:["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"]});var Bp=he(e=>(vr(t=>{t.handleRedirectCallback(e)}),()=>null));Object.defineProperty(Bp,"props",{value:["transferable","signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl","signInUrl","signUpUrl","firstFactorUrl","secondFactorUrl","resetPasswordUrl","continueSignUpUrl","verifyEmailAddressUrl","verifyPhoneNumberUrl","reloadResource"]});var $p=he((e,{slots:t})=>{const{isLoaded:n,has:r,userId:o}=Fo({treatPendingAsSignedOut:e.treatPendingAsSignedOut});return()=>n.value?o.value?typeof e.condition=="function"?e.condition(r.value)?t.default?.():t.fallback?.():e.role||e.permission||e.feature||e.plan?r.value?.(e)?t.default?.():t.fallback?.():t.default?.():t.fallback?.():null});Object.defineProperty($p,"props",{value:["condition","role","permission","feature","plan","treatPendingAsSignedOut"]});var kn=he(e=>()=>[...e?.customPagesPortals??[],...e?.customMenuItemsPortals??[]]);Object.defineProperty(kn,"props",{value:["customPagesPortals","customMenuItemsPortals"]});var br=he({props:{mount:{type:Function,required:!1},unmount:{type:Function,required:!1},open:{type:Function,required:!1},close:{type:Function,required:!1},updateProps:{type:Function,required:!1},props:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Ae(null);let n=!1;return wa(()=>{!t.value||n||(e.mount&&e.mount(t.value,e.props),e.open&&e.open(e.props),n=!0)}),Pt(()=>e.props,r=>{n&&e.updateProps&&t.value&&e.updateProps({node:t.value,props:r})},{deep:!0}),Io(()=>{n&&t.value&&(e.unmount&&e.unmount(t.value),e.close&&e.close())}),()=>jt(Np,()=>jt("div",{ref:t}))}}),Vp=he({__name:"OrganizationProfile",props:{path:{type:null,required:!1},routing:{type:String,required:!1},afterLeaveOrganizationUrl:{type:String,required:!1},appearance:{type:Object,required:!1},__experimental_startPath:{type:String,required:!1},apiKeysProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customPages:o,customPagesPortals:s,addCustomPage:i}=nc(),l=ee(()=>({...n,customPages:o.value}));Ze(yr,{addCustomPage:i});const c={props:n,clerk:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function Kp(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountOrganizationProfile,unmount:r.clerk?.unmountOrganizationProfile,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var qp=In(Vp,[["render",Kp],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue"]]),Tn=he((e,{slots:t})=>{const n=be(yr);return n?(n.addCustomPage({props:e,slots:t,component:Tn}),()=>null):qe.throw(Qd)},{name:"OrganizationProfilePage"});Object.defineProperty(Tn,"props",{value:["label","url"]});var Mn=he((e,{slots:t})=>{const n=be(yr);return n?(n.addCustomPage({props:e,slots:t,component:Mn}),()=>null):qe.throw(Zd)},{name:"OrganizationProfileLink"});Object.defineProperty(Mn,"props",{value:["url","label"]});Object.assign(qp,{Page:Tn,Link:Mn});var Zn=(e,t)=>!!e&&Wp(e)&&e.name===t.name,Wp=e=>"name"in e&&"setup"in e;function zp(){return Math.random().toString(36).substring(2,7)}var ec=()=>{const e=Ae([]);return{portals:ee(()=>e.value.map(o=>jt(Ra,{to:o.el},o.slot()))),mount:(o,s)=>{const i=zp();o.setAttribute("data-clerk-mount-id",i),e.value.push({id:i,el:o,slot:s})},unmount:o=>{const s=o?.getAttribute("data-clerk-mount-id");if(s){const i=e.value.findIndex(l=>l.id===s);i!==-1&&e.value.splice(i,1)}}}},tc=()=>{const{customPages:e,customPagesPortals:t,addCustomPage:n}=rc({reorderItemsLabels:["account","security","billing","apiKeys"],PageComponent:Ln,LinkComponent:jn,componentName:"UserProfile"});return{customPages:e,customPagesPortals:t,addCustomPage:o=>n(o)}},nc=()=>{const{customPages:e,customPagesPortals:t,addCustomPage:n}=rc({reorderItemsLabels:["general","members","billing","apiKeys"],PageComponent:Tn,LinkComponent:Mn,componentName:"OrganizationProfile"});return{customPages:e,customPagesPortals:t,addCustomPage:o=>n(o)}},rc=e=>{const t=Ae([]),{portals:n,mount:r,unmount:o}=ec(),{PageComponent:s,LinkComponent:i,reorderItemsLabels:l,componentName:c}=e;return{customPages:t,customPagesPortals:n,addCustomPage:a=>{const{props:f,slots:h,component:d}=a,{label:y,url:v}=f;if(Zn(d,s))if(Gp(f,h,l))t.value.push({label:y});else if(Jp(f,h))t.value.push({label:y,url:v,mountIcon(I){r(I,h.labelIcon)},unmountIcon:o,mount(I){r(I,h.default)},unmount:o});else{mn(Gd(c));return}if(Zn(d,i))if(Yp(f,h))t.value.push({label:y,url:v,mountIcon(I){r(I,h.labelIcon)},unmountIcon:o});else{mn(Jd(c));return}}}},Gp=(e,t,n)=>{const{label:r,url:o}=e,{default:s,labelIcon:i}=t;return!s&&!o&&!i&&n.some(l=>l===r)},Jp=(e,t)=>{const{label:n,url:r}=e,{default:o,labelIcon:s}=t;return!!o&&!!r&&!!s&&!!n},Yp=(e,t)=>{const{label:n,url:r}=e,{default:o,labelIcon:s}=t;return!o&&!!r&&!!s&&!!n},Xp=he({__name:"UserProfile",props:{path:{type:null,required:!1},routing:{type:String,required:!1},appearance:{type:Object,required:!1},additionalOAuthScopes:{type:Object,required:!1},__experimental_startPath:{type:String,required:!1},apiKeysProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customPages:o,customPagesPortals:s,addCustomPage:i}=tc(),l=ee(()=>({...n,customPages:o.value}));Ze(mr,{addCustomPage:i});const c={props:n,clerk:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function Qp(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountUserProfile,unmount:r.clerk?.unmountUserProfile,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var Zp=In(Xp,[["render",Qp],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/UserProfile/UserProfile.vue"]]),Ln=he((e,{slots:t})=>{const n=be(mr);return n?(n.addCustomPage({props:e,slots:t,component:Ln}),()=>null):qe.throw(Yd)},{name:"UserProfilePage"});Object.defineProperty(Ln,"props",{value:["label","url"]});var jn=he((e,{slots:t})=>{const n=be(mr);return n?(n.addCustomPage({props:e,slots:t,component:jn}),()=>null):qe.throw(Xd)},{name:"UserProfileLink"});Object.defineProperty(jn,"props",{value:["url","label"]});Object.assign(Zp,{Page:Ln,Link:jn});var eh=he({__name:"OrganizationSwitcher",props:{createOrganizationUrl:{type:null,required:!1},createOrganizationMode:{type:String,required:!1},organizationProfileUrl:{type:null,required:!1},organizationProfileMode:{type:String,required:!1},defaultOpen:{type:Boolean,required:!1},hidePersonal:{type:Boolean,required:!1},afterSwitchOrganizationUrl:{type:String,required:!1},afterCreateOrganizationUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterSelectOrganizationUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterSelectPersonalUrl:{type:[Function,Object],required:!1,skipCheck:!0},afterLeaveOrganizationUrl:{type:String,required:!1},skipInvitationScreen:{type:Boolean,required:!1},hideSlug:{type:Boolean,required:!1},appearance:{type:Object,required:!1},organizationProfileProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=Ut(),r=e,{customPages:o,customPagesPortals:s,addCustomPage:i}=nc(),l=ee(()=>({...r,organizationProfileProps:{...r.organizationProfileProps||{},customPages:o.value}}));Ze(yr,{addCustomPage:i});const c={clerk:n,props:r,customPages:o,customPagesPortals:s,addCustomPage:i,finalProps:l,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function th(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountOrganizationSwitcher,unmount:r.clerk?.unmountOrganizationSwitcher,"update-props":r.clerk?.__unstable__updateProps,props:r.finalProps},null,8,["mount","unmount","update-props","props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals},null,8,["custom-pages-portals"]),An(e.$slots,"default")],64)}var nh=In(eh,[["render",th],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/OrganizationSwitcher/OrganizationSwitcher.vue"]]);Object.assign(nh,{OrganizationProfilePage:Tn,OrganizationProfileLink:Mn});var rh=()=>{const e=Ae([]),{portals:t,mount:n,unmount:r}=ec(),o=["manageAccount","signOut"];function s(i){const{props:l,component:c,slots:u}=i,{label:a,onClick:f,open:h,href:d}=l;if(Zn(c,_r))if(oh(l,u,o))e.value.push({label:a});else if(sh(l,u)){const y={label:a,mountIcon(v){n(v,u.labelIcon)},unmountIcon:r};if(f!==void 0)e.value.push({...y,onClick:f,open:h});else if(h!==void 0)e.value.push({...y,open:h.startsWith("/")?h:`/${h}`});else{mn("Custom menu item must have either onClick or open property");return}}else{mn(Wd);return}if(Zn(c,Sr))if(ih(l,u))e.value.push({label:a,href:d,mountIcon(y){n(y,u.labelIcon)},unmountIcon:r});else{mn(qd);return}}return{customMenuItems:e,customMenuItemsPortals:t,addCustomMenuItem:s}},oh=(e,t,n)=>{const{label:r,onClick:o}=e,{labelIcon:s}=t;return!o&&!s&&n.some(i=>i===r)},sh=(e,t)=>{const{label:n,onClick:r,open:o}=e,{labelIcon:s}=t;return!!s&&!!n&&(typeof r=="function"||typeof o=="string")},ih=(e,t)=>{const{label:n,href:r}=e,{labelIcon:o}=t;return!!r&&!!o&&!!n},lh=he({__name:"UserButton",props:{userProfileUrl:{type:null,required:!1},userProfileMode:{type:String,required:!1},showName:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},__experimental_asStandalone:{type:[Boolean,Function],required:!1},afterSignOutUrl:{type:String,required:!1},afterMultiSessionSingleSignOutUrl:{type:String,required:!1},signInUrl:{type:String,required:!1},afterSwitchSessionUrl:{type:String,required:!1},appearance:{type:Object,required:!1},userProfileProps:{type:Object,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),{customMenuItems:o,customMenuItemsPortals:s,addCustomMenuItem:i}=rh(),{customPages:l,customPagesPortals:c,addCustomPage:u}=tc(),a=ee(()=>({...n,userProfileProps:{...n.userProfileProps||{},customPages:l.value},customMenuItems:o.value}));Ze(Kl,{addCustomMenuItem:i}),Ze(mr,{addCustomPage:u});const f={props:n,clerk:r,customMenuItems:o,customMenuItemsPortals:s,addCustomMenuItem:i,customPages:l,customPagesPortals:c,addCustomPage:u,finalProps:a,get ClerkHostRenderer(){return br},get CustomPortalsRenderer(){return kn}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}});function ch(e,t,n,r,o,s){return ft(),fr(Pe,null,[me(r.ClerkHostRenderer,{mount:r.clerk?.mountUserButton,unmount:r.clerk?.unmountUserButton,props:r.finalProps,"update-props":r.clerk?.__unstable__updateProps},null,8,["mount","unmount","props","update-props"]),me(r.CustomPortalsRenderer,{"custom-pages-portals":r.customPagesPortals,"custom-menu-items-portals":r.customMenuItemsPortals},null,8,["custom-pages-portals","custom-menu-items-portals"]),An(e.$slots,"default")],64)}var ah=In(lh,[["render",ch],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/ui-components/UserButton/UserButton.vue"]]),uh=he((e,{slots:t})=>{const n=be(Kl);return n?(Ze(Ho,n),()=>t.default?.()):qe.throw(zd)}),_r=he((e,{slots:t})=>{const n=be(Ho);return n?(n.addCustomMenuItem({props:e,slots:t,component:_r}),()=>null):qe.throw(Vd)},{name:"MenuAction"});Object.defineProperty(_r,"props",{value:["label","onClick","open"]});var Sr=he((e,{slots:t})=>{const n=be(Ho);return n?(n.addCustomMenuItem({props:e,slots:t,component:Sr}),()=>null):qe.throw(Kd)},{name:"MenuLink"});Object.defineProperty(Sr,"props",{value:["href","label"]});var Kh=Object.assign(ah,{MenuItems:uh,Action:_r,Link:Sr,UserProfilePage:Ln,UserProfileLink:jn}),fh=he({__name:"SignInButton",props:{mode:{type:String,required:!1},appearance:{type:Object,required:!1},fallbackRedirectUrl:{type:[String,null],required:!1},forceRedirectUrl:{type:[String,null],required:!1},signUpForceRedirectUrl:{type:[String,null],required:!1},signUpFallbackRedirectUrl:{type:[String,null],required:!1},initialValues:{type:Object,required:!1},withSignUp:{type:Boolean,required:!1},oauthFlow:{type:String,required:!1}},setup(e,{expose:t}){t();const n=e,r=Ut(),o=Ka(),s=qa();function i(){const u=ep(o.default?.({}),"Sign in");return tp(u,"SignInButton")}function l(){const{mode:u,...a}=n;if(u==="modal")return r.value?.openSignIn({...a,appearance:n.appearance});const{withSignUp:f,...h}=a;r.value?.redirectToSignIn({...h,signInFallbackRedirectUrl:n.fallbackRedirectUrl,signInForceRedirectUrl:n.forceRedirectUrl})}const c={props:n,clerk:r,slots:o,attrs:s,getChildComponent:i,clickHandler:l};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function dh(e,t,n,r,o,s){return ft(),Sn($a(r.getChildComponent),yl(r.attrs,{onClick:r.clickHandler}),{default:Di(()=>[An(e.$slots,"default")]),_:3},16)}var qh=In(fh,[["render",dh],["__file","/home/runner/work/javascript/javascript/packages/vue/src/components/SignInButton.vue"]]),ph={name:"@clerk/vue",version:"1.17.6",environment:"production"},hh={install(e,t){const{initialState:n}=t||{},r=Jr(!1),o=Jr(null),s=Ae({client:void 0,session:void 0,user:void 0,organization:void 0}),i={...t,sdkMetadata:t.sdkMetadata||ph};kp()&&Op(i).then(async()=>{if(!window.Clerk)throw new Error("Failed to download latest ClerkJS. Contact support@clerk.com.");o.value=window.Clerk,await window.Clerk.load(i),r.value=!0,o.value.addListener(d=>{s.value=d}),aa(o)});const l=ee(()=>Tp(r.value,s.value,n)),c=ee(()=>{const{sessionId:d,userId:y,orgId:v,actor:I,orgRole:w,orgSlug:R,orgPermissions:M,sessionStatus:T,sessionClaims:k,factorVerificationAge:Z}=l.value;return{sessionId:d,userId:y,actor:I,orgId:v,orgRole:w,orgSlug:R,orgPermissions:M,sessionStatus:T,sessionClaims:k,factorVerificationAge:Z}}),u=ee(()=>s.value.client),a=ee(()=>l.value.user),f=ee(()=>l.value.session),h=ee(()=>l.value.organization);e.provide(Vl,{clerk:o,authCtx:c,clientCtx:u,sessionCtx:f,userCtx:a,organizationCtx:h})}};Ad({packageName:"@clerk/vue"});wp("@clerk/vue");function oc(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Fr={exports:{}};const Qt=e=>({...e,__type:"prebuilt_appearance"}),gh=Object.freeze(Object.defineProperty({__proto__:null,experimental_createTheme:Qt},Symbol.toStringTag,{value:"Module"})),mh=oc(gh),sc=Qt({name:"dark",variables:{colorBackground:"#212126",colorNeutral:"white",colorPrimary:"#ffffff",colorPrimaryForeground:"black",colorForeground:"white",colorInputForeground:"white",colorInput:"#26262B"},elements:{providerIcon__apple:{filter:"invert(1)"},providerIcon__github:{filter:"invert(1)"},providerIcon__okx_wallet:{filter:"invert(1)"},providerIcon__vercel:{filter:"invert(1)"},activeDeviceIcon:{"--cl-chassis-bottom":"#d2d2d2","--cl-chassis-back":"#e6e6e6","--cl-chassis-screen":"#e6e6e6","--cl-screen":"#111111"}}}),yh=Qt({name:"shadesOfPurple",baseTheme:sc,variables:{colorBackground:"#3f3c77",colorPrimary:"#f8d80d",colorPrimaryForeground:"#38375f",colorInputForeground:"#a1fdfe",colorShimmer:"rgba(161,253,254,0.36)"}}),gt={boxShadow:"3px 3px 0px #000",border:"2px solid #000","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:active":{boxShadow:"2px 2px 0px #000",transform:"translate(1px)"}},At={boxShadow:"3px 3px 0px #000",border:"2px solid #000"},vh=Qt({name:"neobrutalism",simpleStyles:!0,variables:{colorPrimary:"#DF1B1B",colorShimmer:"rgba(255,255,255,0.64)",fontWeight:{normal:500,medium:600,bold:700}},elements:{cardBox:{boxShadow:"7px 7px 0px #000",border:"3px solid #000"},card:{borderRadius:"0"},headerSubtitle:{color:"#212126"},alternativeMethodsBlockButton:gt,socialButtonsIconButton:{...gt},selectButton:{...gt,...At,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"}},socialButtonsBlockButton:{...gt,color:"#212126"},profileSectionPrimaryButton:gt,profileSectionItem:{color:"#212126"},avatarImageActionsUpload:gt,menuButton:At,menuList:At,formButtonPrimary:gt,navbarButton:gt,formFieldAction:{fontWeight:"700"},formFieldInput:{...At,transition:"all 0.2s ease-in-out","&:focus":{boxShadow:"4px 4px 0px #000",border:"2px solid #000",transform:"scale(1.01)"},"&:hover":{...At,transform:"scale(1.01)"}},table:At,tableHead:{color:"#212126"},dividerLine:{background:"#000"},dividerText:{fontWeight:"700",color:"#212126"},footer:{background:"#fff","& div":{color:"#212126"}},footerActionText:{color:"#212126"},footerActionLink:{fontWeight:"700",borderBottom:"3px solid","&:focus":{boxShadow:"none"}},actionCard:{...At},badge:{border:"1px solid #000",background:"#fff",color:"#212126"}}}),bh=Qt({name:"shadcn",cssLayerName:"components",variables:{colorBackground:"var(--card)",colorDanger:"var(--destructive)",colorForeground:"var(--card-foreground)",colorInput:"var(--input)",colorInputForeground:"var(--card-foreground)",colorModalBackdrop:"var(--color-black)",colorMuted:"var(--muted)",colorMutedForeground:"var(--muted-foreground)",colorNeutral:"var(--foreground)",colorPrimary:"var(--primary)",colorPrimaryForeground:"var(--primary-foreground)",colorRing:"var(--ring)",fontWeight:{normal:"var(--font-weight-normal)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-semibold)"}},elements:{input:"bg-transparent dark:bg-input/30",cardBox:"shadow-sm border",popoverBox:"shadow-sm border",button:{'&[data-variant="solid"]::after':{display:"none"}},providerIcon__apple:"dark:invert",providerIcon__github:"dark:invert",providerIcon__okx_wallet:"dark:invert",providerIcon__vercel:"dark:invert"}}),_h=Qt({name:"simple",simpleStyles:!0}),Sh=Object.freeze(Object.defineProperty({__proto__:null,dark:sc,experimental__simple:_h,neobrutalism:vh,shadcn:bh,shadesOfPurple:yh},Symbol.toStringTag,{value:"Module"})),Ph=oc(Sh);var ei;function Eh(){return ei||(ei=1,(function(e){var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s=(u,a,f,h)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of r(a))!o.call(u,d)&&d!==f&&t(u,d,{get:()=>a[d],enumerable:!(h=n(a,d))||h.enumerable});return u},i=(u,a,f)=>(s(u,a,"default"),f&&s(f,a,"default")),l=u=>s(t({},"__esModule",{value:!0}),u),c={};e.exports=l(c),i(c,mh,e.exports),i(c,Ph,e.exports)})(Fr)),Fr.exports}var wh=Eh();const Ch=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Oh={};function Ah(e,t){const n=Ba("RouterView");return ft(),Sn(n)}const Rh=Ch(Oh,[["render",Ah]]),xh=[{path:"/",name:"main",component:()=>ks(()=>import("./Main-BvIkHg0T.js"),__vite__mapDeps([0,1]))},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>ks(()=>import("./NotFound-CyjzqNRt.js"),__vite__mapDeps([2,3]))}],Ih="o-s-",Se={CLERK_PUBLISHABLE_KEY:"clerk-publishable-key",SERVICE_HOSTS:"service-hosts",SELECTED_SERVICE_HOST_ID:"selected-service-host-id",SIDEBAR_COLLAPSED:"sidebar-collapsed",EXAMPLES_SIDEBAR_COLLAPSED:"examples-sidebar-collapsed",ENDPOINTS_SIDEBAR_WIDTH:"endpoints-sidebar-width",EXAMPLES_SIDEBAR_WIDTH:"examples-sidebar-width"};function Bo(e){return Ih+e}function Rt(e,t){try{const n=localStorage.getItem(Bo(e));return n===null?t:JSON.parse(n)}catch(n){return console.error(`Failed to parse localStorage item "${e}":`,n),t}}function xt(e,t){try{localStorage.setItem(Bo(e),JSON.stringify(t))}catch(n){console.error(`Failed to save localStorage item "${e}":`,n)}}function Br(e){try{localStorage.removeItem(Bo(e))}catch(t){console.error(`Failed to remove localStorage item "${e}":`,t)}}function kh(){function e(k){k.trim()?xt(Se.CLERK_PUBLISHABLE_KEY,k.trim()):t()}function t(){Br(Se.CLERK_PUBLISHABLE_KEY)}function n(){return Rt(Se.CLERK_PUBLISHABLE_KEY,"")}function r(){const k=n();return!!(k&&k.trim())}function o(){return r()}function s(){return Rt(Se.SERVICE_HOSTS,[])}function i(k){xt(Se.SERVICE_HOSTS,k)}function l(k){const Z=s(),z=Z.findIndex(F=>F.baseUrl===k.baseUrl);z>=0?Z[z]=k:Z.push(k),i(Z)}function c(k){const z=s().filter(p=>p.id!==k);i(z),u()===k&&f()}function u(){return Rt(Se.SELECTED_SERVICE_HOST_ID,null)}function a(k){k?xt(Se.SELECTED_SERVICE_HOST_ID,k):Br(Se.SELECTED_SERVICE_HOST_ID)}function f(){Br(Se.SELECTED_SERVICE_HOST_ID)}function h(){const k=u();return k&&s().find(z=>z.id===k)||null}function d(){return Rt(Se.SIDEBAR_COLLAPSED,!1)}function y(k){xt(Se.SIDEBAR_COLLAPSED,k)}function v(){return Rt(Se.EXAMPLES_SIDEBAR_COLLAPSED,!1)}function I(k){xt(Se.EXAMPLES_SIDEBAR_COLLAPSED,k)}function w(){return Rt(Se.ENDPOINTS_SIDEBAR_WIDTH,500)}function R(k){xt(Se.ENDPOINTS_SIDEBAR_WIDTH,k)}function M(){return Rt(Se.EXAMPLES_SIDEBAR_WIDTH,400)}function T(k){xt(Se.EXAMPLES_SIDEBAR_WIDTH,k)}return{saveClerkPublishableKey:e,clearClerkPublishableKey:t,getClerkPublishableKey:n,hasClerkPublishableKey:r,hasSavedClerkPublishableKey:o,getServiceHosts:s,saveServiceHosts:i,addServiceHost:l,removeServiceHost:c,getSelectedServiceHostId:u,setSelectedServiceHostId:a,clearSelectedServiceHostId:f,getSelectedServiceHost:h,loadSidebarCollapsed:d,saveSidebarCollapsed:y,loadExamplesSidebarCollapsed:v,saveExamplesSidebarCollapsed:I,loadEndpointsSidebarWidth:w,saveEndpointsSidebarWidth:R,loadExamplesSidebarWidth:M,saveExamplesSidebarWidth:T}}function Th(){const e=Ae(null),t=()=>{e.value=null},n=()=>"/openapi-studio-config.json";return{config:e,loadConfigJson:async()=>{const o=n();try{const s=await fetch(o);if(s.ok){const i=await s.json();console.log(`Loaded config from ${o}`),e.value=i}}catch(s){console.log(`Failed to load config from ${o}:`,s),e.value=null}},clearConfigCache:t,getConfigJsonPath:n}}function Mh(){return{isServiceHostPickerEnabled:!0,isClerkPublishableKeyChangeEnabled:!0,isClerkEnabled:!0}}const Lh=Dl("openapi",()=>{const e=ic(),t=Ae(null),n=Ae(!0),r=Ae(null),o=ee(()=>e.openApiSpecUrl||""),s=ee(()=>{if(!t.value)return[];const p=[];for(const[_,C]of Object.entries(t.value.paths))if(C)for(const j of["get","post","put","patch","delete"]){const O=C[j];O&&p.push({path:_,method:j.toUpperCase(),operation:O})}return p.sort((_,C)=>_.path!==C.path?_.path.localeCompare(C.path):_.method.localeCompare(C.method))}),i=ee(()=>{if(!t.value?.components?.securitySchemes)return[];const p=[];for(const[_,C]of Object.entries(t.value.components.securitySchemes))C&&typeof C=="object"&&!("$ref"in C)&&p.push({name:_,scheme:C});return p}),l=ee(()=>t.value?.info?.title||"OpenAPI Studio"),c=ee(()=>t.value?.info?.description||null),u=ee(()=>t.value?.info?.version||null);async function a(p){n.value=!0,r.value=null,console.log("loadSpec",p,o.value);try{const _=p||o.value,C=await fetch(_);if(!C.ok)throw new Error(`Failed to fetch OpenAPI spec: ${C.statusText}`);t.value=await C.json()}catch(_){console.log(_),r.value=_ instanceof Error?_.message:"Failed to load OpenAPI spec"}finally{n.value=!1}}function f(p,_){const C=(typeof p=="string"?p:p.$ref).replace("#/","").split("/");let j=_;for(const O of C)if(j&&typeof j=="object"&&O in j)j=j[O];else return null;return j}function h(p){if(!p||typeof p!="object")return null;if("$ref"in p&&p.$ref){if(!t.value)return null;const _=f(p.$ref,t.value);return _&&typeof _=="object"&&"name"in _&&"in"in _?_:null}return"name"in p&&"in"in p?p:null}function d(p,_){if(!p||typeof p!="object")return null;if("$ref"in p&&p.$ref){const O=f(p.$ref,_);return!O||typeof O!="object"?null:d(O,_)}if("example"in p&&p.example!==void 0)return p.example;if("enum"in p&&p.enum&&p.enum.length>0)return p.enum[0];const C=p,j=C.type||(C.anyOf?"anyOf":C.oneOf?"oneOf":C.allOf?"allOf":"object");switch(j){case"string":if("format"in C)switch(C.format){case"date":return"2024-01-01";case"date-time":return"2024-01-01T00:00:00Z";case"email":return"example@example.com";case"uri":return"https://example.com";case"uuid":return"123e4567-e89b-12d3-a456-426614174000"}return"default"in C&&C.default!==void 0?C.default:"string";case"number":case"integer":return"default"in C&&C.default!==void 0?C.default:0;case"boolean":return"default"in C&&C.default!==void 0?C.default:!1;case"array":if("items"in p&&p.items){const N=d(p.items,_);return p.minItems&&p.minItems>0?Array(p.minItems).fill(N):[N]}return[];case"object":const O={};if("properties"in p&&p.properties)for(const[N,V]of Object.entries(p.properties))"required"in p&&p.required&&p.required.includes(N)?O[N]=d(V,_):"required"in p||(O[N]=d(V,_));return O;case"anyOf":return"anyOf"in p&&p.anyOf&&p.anyOf.length>0?d(p.anyOf[0],_):{};case"oneOf":return"oneOf"in p&&p.oneOf&&p.oneOf.length>0?d(p.oneOf[0],_):{};case"allOf":if("allOf"in p&&p.allOf){const N={};for(const V of p.allOf){const ne=d(V,_);typeof ne=="object"&&ne!==null&&!Array.isArray(ne)&&Object.assign(N,ne)}return N}return{};default:return null}}function y(p,_,C=new Set,j=0,O){if(!p||typeof p!="object")return"";const N=" ".repeat(j);let V="";if("$ref"in p&&p.$ref){if(C.has(p.$ref))return`${N}${O||""} → ${p.$ref.split("/").pop()} ⚠ circular
10
10
  `;C.add(p.$ref);const G=f(p.$ref,_);if(!G||typeof G!="object")return C.delete(p.$ref),`${N}${O||""} → ${p.$ref.split("/").pop()} (invalid)
11
11
  `;const re=p.$ref.split("/").pop()||"Unknown";return O!==void 0?(V+=`${N}${O} → ${re}
12
12
  `,V+=y(G,_,C,j,void 0)):(V+=`${N}→ ${re}
13
- `,V+=y(G,_,C,j,void 0)),C.delete(p.$ref),V}const ne=G=>{if(G.type==="array"&&G.items)return`Array<${ne(G.items)}>`;if(G.type){let re=G.type;return G.format&&(re=`${G.type}(${G.format})`),G.enum&&(re=`${re} | ${G.enum.map(He=>JSON.stringify(He)).join(" | ")}`),re}return G.allOf?"allOf":G.anyOf?"anyOf":G.oneOf?"oneOf":"object"},J=ne(p),te=O&&"required"in p&&p.required&&Array.isArray(p.required)&&p.required.includes(O);if(O!==void 0?(V+=`${N}${O}${te?"*":""}: ${J}`,"description"in p&&p.description&&(V+=` // ${p.description}`),V+=`
13
+ `,V+=y(G,_,C,j,void 0)),C.delete(p.$ref),V}const ne=G=>{if(G.type==="array"&&G.items)return`Array<${ne(G.items)}>`;if(G.type){let re=G.type;return G.format&&(re=`${G.type}(${G.format})`),G.enum&&(re=`${re} | ${G.enum.map(De=>JSON.stringify(De)).join(" | ")}`),re}return G.allOf?"allOf":G.anyOf?"anyOf":G.oneOf?"oneOf":"object"},J=ne(p),te=O&&"required"in p&&p.required&&Array.isArray(p.required)&&p.required.includes(O);if(O!==void 0?(V+=`${N}${O}${te?"*":""}: ${J}`,"description"in p&&p.description&&(V+=` // ${p.description}`),V+=`
14
14
  `):j===0&&"properties"in p&&(V+=`${N}{
15
15
  `),"properties"in p&&p.properties){for(const[G,re]of Object.entries(p.properties))V+=y(re,_,C,j+1,G);j===0&&"type"in p&&p.type==="object"&&(V+=`${N}}
16
16
  `)}if("items"in p&&p.items&&"type"in p&&p.type==="array"&&("properties"in p.items||"$ref"in p.items)&&(V+=`${N} items:
@@ -18,4 +18,4 @@ Docs: ${o}`),n}};const Od=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyU
18
18
  `,V+=y(G,_,C,j+2)}),"anyOf"in p&&p.anyOf&&p.anyOf.forEach((G,re)=>{V+=`${N} anyOf[${re}]:
19
19
  `,V+=y(G,_,C,j+2)}),"oneOf"in p&&p.oneOf&&p.oneOf.forEach((G,re)=>{V+=`${N} oneOf[${re}]:
20
20
  `,V+=y(G,_,C,j+2)}),O){const G=[];"pattern"in p&&p.pattern&&G.push(`pattern: ${p.pattern}`),"default"in p&&p.default!==void 0&&G.push(`default: ${JSON.stringify(p.default)}`),"minLength"in p&&p.minLength!==void 0&&G.push(`minLength: ${p.minLength}`),"maxLength"in p&&p.maxLength!==void 0&&G.push(`maxLength: ${p.maxLength}`),"minimum"in p&&p.minimum!==void 0&&G.push(`min: ${p.minimum}`),"maximum"in p&&p.maximum!==void 0&&G.push(`max: ${p.maximum}`),G.length>0&&(V+=`${N} (${G.join(", ")})
21
- `)}return V}function v(p,_,C,j=new Set){if(!(!p||typeof p!="object")){if("$ref"in p&&p.$ref){if(j.has(p.$ref))return;j.add(p.$ref);const O=f(p.$ref,_);if(!O||typeof O!="object"){j.delete(p.$ref);return}const N=p.$ref.split("/").pop()||"Unknown";C.has(p.$ref)||C.set(p.$ref,{name:N,schema:O}),v(O,_,C,j),j.delete(p.$ref);return}if("properties"in p&&p.properties)for(const O of Object.values(p.properties))v(O,_,C,j);"items"in p&&p.items&&v(p.items,_,C,j),"allOf"in p&&p.allOf&&p.allOf.forEach(O=>v(O,_,C,j)),"anyOf"in p&&p.anyOf&&p.anyOf.forEach(O=>v(O,_,C,j)),"oneOf"in p&&p.oneOf&&p.oneOf.forEach(O=>v(O,_,C,j))}}function I(p,_){if(!t.value||!p||!_)return null;const C=t.value.paths[p];if(!C)return null;const j=_.toLowerCase();return C[j]||null}function w(p){if(!p||!t.value)return null;let _=p.requestBody;if(!_||typeof _!="object")return null;if("$ref"in _&&_.$ref){const j=f(_.$ref,t.value);if(!j||typeof j!="object")return null;_=j}if(!_||!("content"in _)||!_.content)return null;const C=_.content["application/json"];return!C||!C.schema?null:C.schema}function R(p){if(!p||!t.value)return null;const _=w(p);return _?d(_,t.value):null}function M(p,_=!0){if(!p||!t.value)return null;const C=p.responses;if(!C||typeof C!="object")return null;const j=["200","201","202","204"];let O;if(_){for(const V of j)if(C&&V in C){O=C[V];break}}if(!O&&C){const V=Object.keys(C)[0];V&&(O=C[V])}if(!O||typeof O!="object")return null;if("$ref"in O&&O.$ref){const V=f(O.$ref,t.value);if(!V||typeof V!="object")return null;O=V}if(!O||typeof O!="object"||!("content"in O)||!O.content)return null;const N=O.content["application/json"];return!N||!N.schema?null:d(N.schema,t.value)}function T(p){if(!p||!t.value)return[];const _=p.responses;if(!_||typeof _!="object")return[];const C=[];for(const[j,O]of Object.entries(_)){let N=O;if(N&&typeof N=="object"&&"$ref"in N&&N.$ref){const re=f(N.$ref,t.value);if(!re||typeof re!="object")continue;N=re}if(!N||typeof N!="object")continue;const V="description"in N&&N.description||"No description";let ne=null,J;if("content"in N&&N.content){const re=N.content["application/json"];re&&re.schema&&(J=re.schema,ne=d(re.schema,t.value))}const te=parseInt(j),G=!isNaN(te)&&te>=200&&te<300;C.push({code:j,description:V,example:ne,schema:J,isSuccess:G})}return C.sort((j,O)=>{if(j.isSuccess!==O.isSuccess)return j.isSuccess?-1:1;const N=parseInt(j.code),V=parseInt(O.code);return!isNaN(N)&&!isNaN(V)?N-V:j.code.localeCompare(O.code)})}function k(p){if(!p||!t.value)return[];const _=new Map,C=w(p);if(C&&v(C,t.value,_),p.responses)for(const j of Object.values(p.responses)){let O=j;if(O&&typeof O=="object"&&"$ref"in O&&O.$ref){const N=f(O.$ref,t.value);N&&typeof N=="object"&&(O=N)}if(O&&typeof O=="object"&&"content"in O&&O.content){const N=O.content["application/json"];N&&N.schema&&v(N.schema,t.value,_)}}if(p.parameters)for(const j of p.parameters){const O=h(j);O&&O.schema&&v(O.schema,t.value,_)}return Array.from(_.values()).sort((j,O)=>j.name.localeCompare(O.name))}function Z(p){return t.value?!!(p.security&&p.security.length>0||t.value.security&&t.value.security.length>0):!1}function z(p){if(!t.value?.components?.securitySchemes)return[];const _=new Set,C=[];if(p.security&&p.security.length>0){for(const j of p.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}else if(t.value.security&&t.value.security.length>0){for(const j of t.value.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}return C}function F(p){if(!p||!t.value?.components?.securitySchemes)return[];const _=new Set,C=[];if(p.security&&p.security.length>0){for(const j of p.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}return C}if(t.value.security&&t.value.security.length>0){for(const j of t.value.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}return C}return{openApiSpec:t,loading:n,error:r,openApiSpecUrl:o,endpoints:s,securitySchemes:i,openApiTitle:l,openApiDescription:c,openApiVersion:u,loadSpec:a,resolveReference:f,resolveParameter:h,generateExampleFromSchema:d,formatSchemaForDisplay:y,getSelectedEndpoint:I,getRequestBodySchema:w,getExampleFromRequestBody:R,getExampleFromResponse:M,getAllResponseExamples:T,getEndpointSchemaReferences:k,endpointRequiresSecurity:Z,getRequiredSecuritySchemes:z,getAvailableSecuritySchemes:F}}),ic=Hl("config",()=>{const e=kh(),t=Th(),n=Mh(),r=Lh(),o=Ae([]),s=Ae(null),i=Ae(!1),l=ee(()=>{const F={env:{serviceHost:void 0,clerkPublishableKey:void 0,openApiSpecUrl:void 0},json:t.config.value??{},localStorage:{...s.value?{serviceHost:s.value.baseUrl}:{},...s.value?{clerkPublishableKey:s.value.clerkPublishableKey}:{},...s.value?{openApiSpecUrl:s.value.openApiPath}:{}}},p={...F.env,...F.json,...F.localStorage};return p.serviceHost&&!p.openApiSpecUrl&&(p.openApiSpecUrl=new URL("openapi.json",p.serviceHost).href),console.log("configMap",F),console.log("merged",p),p}),c=ee(()=>l.value.serviceHost??null),u=ee(()=>l.value.clerkPublishableKey??null),a=ee(()=>l.value.openApiSpecUrl??null),f=ee(()=>!!c.value?.trim()),h=async()=>{await t.loadConfigJson(),await d()},d=async()=>{await y(),await v()},y=async()=>{o.value=e.getServiceHosts();const F=e.getSelectedServiceHostId();F&&F!==s.value?.id&&(s.value=o.value.find(p=>p.id===F)||null)},v=async()=>{if(!i.value)if(a.value){i.value=!0;try{await r.loadSpec()}finally{i.value=!1}}else r.loading=!1,r.openApiSpec=null,r.error=null},I=async F=>{s.value=o.value.find(p=>p.id===F)||null,e.setSelectedServiceHostId(F),await d()},w=async F=>{o.value.push(F),e.addServiceHost(F),await d()},R=async F=>{o.value=o.value.filter(p=>p.id!==F),e.removeServiceHost(F),s.value?.id===F&&(s.value=null,e.setSelectedServiceHostId(null)),await d()},M=F=>{const p=s.value;if(!p)return;const _={...p,clerkPublishableKey:F.trim()||void 0};e.addServiceHost(_);const C=o.value.findIndex(j=>j.id===p.id);C>=0&&(o.value[C]=_)},T=()=>{M("")},k=ee(()=>n.isServiceHostPickerEnabled),Z=ee(()=>n.isClerkEnabled),z=ee(()=>n.isClerkPublishableKeyChangeEnabled);return{serviceHosts:o,selectedServiceHost:s,serviceHost:c,clerkPublishableKey:u,openApiSpecUrl:a,hasServiceHost:f,config:l,initialize:h,reload:d,loadConfigFromLocalStorage:y,loadOpenApiSpec:v,selectHost:I,addHost:w,removeHost:R,saveClerkPublishableKeyForSelectedHost:M,clearClerkPublishableKeyForSelectedHost:T,isServiceHostPickerEnabled:k,isClerkEnabled:Z,isClerkPublishableKeyChangeEnabled:z}});vd(Rh,{routes:xh},async({app:e})=>{const t=bd();e.use(t);const n=ic();if(await n.initialize(),n.isClerkEnabled){const r=n.clerkPublishableKey;r&&e.use(hh,{publishableKey:r,appearance:{theme:wh.dark}})}});export{Bh as A,Ch as B,Lh as C,Fo as D,Sn as E,Pe as F,_u as G,Th as H,$h as I,Vh as J,kh as K,Hi as L,Dh as M,qh as S,Kh as U,ks as _,Nh as a,vo as b,fr as c,he as d,Ae as e,ee as f,Cn as g,Pt as h,be as i,zi as j,Oo as k,Ua as l,jt as m,yo as n,ft as o,Hl as p,ml as q,An as r,me as s,Bc as t,ic as u,Mt as v,Fh as w,Uh as x,jh as y,Hh as z};
21
+ `)}return V}function v(p,_,C,j=new Set){if(!(!p||typeof p!="object")){if("$ref"in p&&p.$ref){if(j.has(p.$ref))return;j.add(p.$ref);const O=f(p.$ref,_);if(!O||typeof O!="object"){j.delete(p.$ref);return}const N=p.$ref.split("/").pop()||"Unknown";C.has(p.$ref)||C.set(p.$ref,{name:N,schema:O}),v(O,_,C,j),j.delete(p.$ref);return}if("properties"in p&&p.properties)for(const O of Object.values(p.properties))v(O,_,C,j);"items"in p&&p.items&&v(p.items,_,C,j),"allOf"in p&&p.allOf&&p.allOf.forEach(O=>v(O,_,C,j)),"anyOf"in p&&p.anyOf&&p.anyOf.forEach(O=>v(O,_,C,j)),"oneOf"in p&&p.oneOf&&p.oneOf.forEach(O=>v(O,_,C,j))}}function I(p,_){if(!t.value||!p||!_)return null;const C=t.value.paths[p];if(!C)return null;const j=_.toLowerCase();return C[j]||null}function w(p){if(!p||!t.value)return null;let _=p.requestBody;if(!_||typeof _!="object")return null;if("$ref"in _&&_.$ref){const j=f(_.$ref,t.value);if(!j||typeof j!="object")return null;_=j}if(!_||!("content"in _)||!_.content)return null;const C=_.content["application/json"];return!C||!C.schema?null:C.schema}function R(p){if(!p||!t.value)return null;const _=w(p);return _?d(_,t.value):null}function M(p,_=!0){if(!p||!t.value)return null;const C=p.responses;if(!C||typeof C!="object")return null;const j=["200","201","202","204"];let O;if(_){for(const V of j)if(C&&V in C){O=C[V];break}}if(!O&&C){const V=Object.keys(C)[0];V&&(O=C[V])}if(!O||typeof O!="object")return null;if("$ref"in O&&O.$ref){const V=f(O.$ref,t.value);if(!V||typeof V!="object")return null;O=V}if(!O||typeof O!="object"||!("content"in O)||!O.content)return null;const N=O.content["application/json"];return!N||!N.schema?null:d(N.schema,t.value)}function T(p){if(!p||!t.value)return[];const _=p.responses;if(!_||typeof _!="object")return[];const C=[];for(const[j,O]of Object.entries(_)){let N=O;if(N&&typeof N=="object"&&"$ref"in N&&N.$ref){const re=f(N.$ref,t.value);if(!re||typeof re!="object")continue;N=re}if(!N||typeof N!="object")continue;const V="description"in N&&N.description||"No description";let ne=null,J;if("content"in N&&N.content){const re=N.content["application/json"];re&&re.schema&&(J=re.schema,ne=d(re.schema,t.value))}const te=parseInt(j),G=!isNaN(te)&&te>=200&&te<300;C.push({code:j,description:V,example:ne,schema:J,isSuccess:G})}return C.sort((j,O)=>{if(j.isSuccess!==O.isSuccess)return j.isSuccess?-1:1;const N=parseInt(j.code),V=parseInt(O.code);return!isNaN(N)&&!isNaN(V)?N-V:j.code.localeCompare(O.code)})}function k(p){if(!p||!t.value)return[];const _=new Map,C=w(p);if(C&&v(C,t.value,_),p.responses)for(const j of Object.values(p.responses)){let O=j;if(O&&typeof O=="object"&&"$ref"in O&&O.$ref){const N=f(O.$ref,t.value);N&&typeof N=="object"&&(O=N)}if(O&&typeof O=="object"&&"content"in O&&O.content){const N=O.content["application/json"];N&&N.schema&&v(N.schema,t.value,_)}}if(p.parameters)for(const j of p.parameters){const O=h(j);O&&O.schema&&v(O.schema,t.value,_)}return Array.from(_.values()).sort((j,O)=>j.name.localeCompare(O.name))}function Z(p){return t.value?!!(p.security&&p.security.length>0||t.value.security&&t.value.security.length>0):!1}function z(p){if(!t.value?.components?.securitySchemes)return[];const _=new Set,C=[];if(p.security&&p.security.length>0){for(const j of p.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}else if(t.value.security&&t.value.security.length>0){for(const j of t.value.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}return C}function F(p){if(!p||!t.value?.components?.securitySchemes)return[];const _=new Set,C=[];if(p.security&&p.security.length>0){for(const j of p.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}return C}if(t.value.security&&t.value.security.length>0){for(const j of t.value.security)for(const O in j)if(!_.has(O)){_.add(O);const N=i.value.find(V=>V.name===O);N&&C.push(N)}}return C}return{openApiSpec:t,loading:n,error:r,openApiSpecUrl:o,endpoints:s,securitySchemes:i,openApiTitle:l,openApiDescription:c,openApiVersion:u,loadSpec:a,resolveReference:f,resolveParameter:h,generateExampleFromSchema:d,formatSchemaForDisplay:y,getSelectedEndpoint:I,getRequestBodySchema:w,getExampleFromRequestBody:R,getExampleFromResponse:M,getAllResponseExamples:T,getEndpointSchemaReferences:k,endpointRequiresSecurity:Z,getRequiredSecuritySchemes:z,getAvailableSecuritySchemes:F}}),ic=Dl("config",()=>{const e=kh(),t=Th(),n=Mh(),r=Lh(),o=Ae([]),s=Ae(null),i=Ae(!1),l=ee(()=>{const F={env:{defaultServiceHostToWindowOrigin:!1,serviceHost:void 0,clerkPublishableKey:void 0,openApiSpecUrl:void 0},json:t.config.value??{},localStorage:{...s.value?{serviceHost:s.value.baseUrl}:{},...s.value?{clerkPublishableKey:s.value.clerkPublishableKey}:{},...s.value?{openApiSpecUrl:s.value.openApiPath}:{}}},p={...F.env,...F.json,...F.localStorage};return p.defaultServiceHostToWindowOrigin&&(p.serviceHost=window.location.origin),p.serviceHost&&!p.openApiSpecUrl&&(p.openApiSpecUrl=new URL("openapi.json",p.serviceHost).href),console.log("configMap",F),console.log("merged",p),p}),c=ee(()=>l.value.serviceHost??null),u=ee(()=>l.value.clerkPublishableKey??null),a=ee(()=>l.value.openApiSpecUrl??null),f=ee(()=>!!c.value?.trim()),h=async()=>{await t.loadConfigJson(),await d()},d=async()=>{await y(),await v()},y=async()=>{o.value=e.getServiceHosts();const F=e.getSelectedServiceHostId();F&&F!==s.value?.id&&(s.value=o.value.find(p=>p.id===F)||null)},v=async()=>{if(!i.value)if(a.value){i.value=!0;try{await r.loadSpec()}finally{i.value=!1}}else r.loading=!1,r.openApiSpec=null,r.error=null},I=async F=>{s.value=o.value.find(p=>p.id===F)||null,e.setSelectedServiceHostId(F),await d()},w=async F=>{o.value.push(F),e.addServiceHost(F),await d()},R=async F=>{o.value=o.value.filter(p=>p.id!==F),e.removeServiceHost(F),s.value?.id===F&&(s.value=null,e.setSelectedServiceHostId(null)),await d()},M=F=>{const p=s.value;if(!p)return;const _={...p,clerkPublishableKey:F.trim()||void 0};e.addServiceHost(_);const C=o.value.findIndex(j=>j.id===p.id);C>=0&&(o.value[C]=_)},T=()=>{M("")},k=ee(()=>n.isServiceHostPickerEnabled&&!l.value.defaultServiceHostToWindowOrigin),Z=ee(()=>n.isClerkEnabled),z=ee(()=>n.isClerkPublishableKeyChangeEnabled);return{serviceHosts:o,selectedServiceHost:s,serviceHost:c,clerkPublishableKey:u,openApiSpecUrl:a,hasServiceHost:f,config:l,initialize:h,reload:d,loadConfigFromLocalStorage:y,loadOpenApiSpec:v,selectHost:I,addHost:w,removeHost:R,saveClerkPublishableKeyForSelectedHost:M,clearClerkPublishableKeyForSelectedHost:T,isServiceHostPickerEnabled:k,isClerkEnabled:Z,isClerkPublishableKeyChangeEnabled:z}});vd(Rh,{routes:xh},async({app:e})=>{const t=bd();e.use(t);const n=ic();if(await n.initialize(),n.isClerkEnabled){const r=n.clerkPublishableKey;r&&e.use(hh,{publishableKey:r,appearance:{theme:wh.dark}})}});export{Bh as A,Ch as B,Lh as C,Fo as D,Sn as E,Pe as F,_u as G,Th as H,$h as I,Vh as J,kh as K,Di as L,Hh as M,qh as S,Kh as U,ks as _,Nh as a,vo as b,fr as c,he as d,Ae as e,ee as f,Cn as g,Pt as h,be as i,zi as j,Oo as k,Ua as l,jt as m,yo as n,ft as o,Dl as p,ml as q,An as r,me as s,Bc as t,ic as u,Mt as v,Fh as w,Uh as x,jh as y,Dh as z};