17 lines
292 KiB
JavaScript
17 lines
292 KiB
JavaScript
function vi(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Ce={},Sn=[],dt=()=>{},Bd=()=>!1,zd=/^on[^a-z]/,kr=e=>zd.test(e),bi=e=>e.startsWith("onUpdate:"),$e=Object.assign,wi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vd=Object.prototype.hasOwnProperty,he=(e,t)=>Vd.call(e,t),re=Array.isArray,Rn=e=>Or(e)==="[object Map]",Rl=e=>Or(e)==="[object Set]",Ud=e=>Or(e)==="[object RegExp]",ie=e=>typeof e=="function",xe=e=>typeof e=="string",Ei=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",Ti=e=>Te(e)&&ie(e.then)&&ie(e.catch),Il=Object.prototype.toString,Or=e=>Il.call(e),Kd=e=>Or(e).slice(8,-1),kl=e=>Or(e)==="[object Object]",Ci=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cr=vi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$o=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wd=/-(\w)/g,bt=$o(e=>e.replace(Wd,(t,n)=>n?n.toUpperCase():"")),qd=/\B([A-Z])/g,bn=$o(e=>e.replace(qd,"-$1").toLowerCase()),No=$o(e=>e.charAt(0).toUpperCase()+e.slice(1)),ns=$o(e=>e?`on${No(e)}`:""),vr=(e,t)=>!Object.is(e,t),In=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},co=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ol=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let va;const Ps=()=>va||(va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vn(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=xe(r)?Yd(r):Vn(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(xe(e))return e;if(Te(e))return e}}const Qd=/;(?![^(]*\))/g,Jd=/:([^]+)/,Gd=/\/\*[^]*?\*\//g;function Yd(e){const t={};return e.replace(Gd,"").split(Qd).forEach(n=>{if(n){const r=n.split(Jd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ue(e){let t="";if(xe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const r=Ue(e[n]);r&&(t+=r+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Xd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!xe(t)&&(e.class=Ue(t)),n&&(e.style=Vn(n)),e}const Zd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",eh=vi(Zd);function Ll(e){return!!e||e===""}const It=e=>xe(e)?e:e==null?"":re(e)||Te(e)&&(e.toString===Il||!ie(e.toString))?JSON.stringify(e,$l,2):String(e),$l=(e,t)=>t&&t.__v_isRef?$l(e,t.value):Rn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Rl(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!re(t)&&!kl(t)?String(t):t;let Xe;class Nl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!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,this._active=!1}}}function th(e){return new Nl(e)}function nh(e,t=Xe){t&&t.active&&t.effects.push(e)}function Mo(){return Xe}function Un(e){Xe&&Xe.cleanups.push(e)}const Pi=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ml=e=>(e.w&Jt)>0,Dl=e=>(e.n&Jt)>0,rh=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Jt},oh=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];Ml(o)&&!Dl(o)?o.delete(e):t[n++]=o,o.w&=~Jt,o.n&=~Jt}t.length=n}},lo=new WeakMap;let nr=0,Jt=1;const xs=30;let ut;const pn=Symbol(""),As=Symbol("");class xi{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,nh(this,r)}run(){if(!this.active)return this.fn();let t=ut,n=Ut;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ut,ut=this,Ut=!0,Jt=1<<++nr,nr<=xs?rh(this):ba(this),this.fn()}finally{nr<=xs&&oh(this),Jt=1<<--nr,ut=this.parent,Ut=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ut===this?this.deferStop=!0:this.active&&(ba(this),this.onStop&&this.onStop(),this.active=!1)}}function ba(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ut=!0;const Fl=[];function Kn(){Fl.push(Ut),Ut=!1}function Wn(){const e=Fl.pop();Ut=e===void 0?!0:e}function Qe(e,t,n){if(Ut&&ut){let r=lo.get(e);r||lo.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Pi()),jl(o)}}function jl(e,t){let n=!1;nr<=xs?Dl(e)||(e.n|=Jt,n=!Ml(e)):n=!e.has(ut),n&&(e.add(ut),ut.deps.push(e))}function kt(e,t,n,r,o,s){const i=lo.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&re(e)){const c=Number(r);i.forEach((l,u)=>{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":re(e)?Ci(n)&&a.push(i.get("length")):(a.push(i.get(pn)),Rn(e)&&a.push(i.get(As)));break;case"delete":re(e)||(a.push(i.get(pn)),Rn(e)&&a.push(i.get(As)));break;case"set":Rn(e)&&a.push(i.get(pn));break}if(a.length===1)a[0]&&Ss(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Ss(Pi(c))}}function Ss(e,t){const n=re(e)?e:[...e];for(const r of n)r.computed&&wa(r);for(const r of n)r.computed||wa(r)}function wa(e,t){(e!==ut||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function sh(e,t){var n;return(n=lo.get(e))==null?void 0:n.get(t)}const ih=vi("__proto__,__v_isRef,__isVue"),Hl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ei)),ah=Ai(),ch=Ai(!1,!0),lh=Ai(!0),Ea=uh();function uh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=pe(this);for(let s=0,i=this.length;s<i;s++)Qe(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(pe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Kn();const r=pe(this)[t].apply(this,n);return Wn(),r}}),e}function fh(e){const t=pe(this);return Qe(t,"has",e),t.hasOwnProperty(e)}function Ai(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?Ah:Kl:t?Ul:Vl).get(r))return r;const i=re(r);if(!e){if(i&&he(Ea,o))return Reflect.get(Ea,o,s);if(o==="hasOwnProperty")return fh}const a=Reflect.get(r,o,s);return(Ei(o)?Hl.has(o):ih(o))||(e||Qe(r,"get",o),t)?a:Le(a)?i&&Ci(o)?a:a.value:Te(a)?e?Ii(a):tt(a):a}}const dh=Bl(),hh=Bl(!0);function Bl(e=!1){return function(n,r,o,s){let i=n[r];if(gn(i)&&Le(i)&&!Le(o))return!1;if(!e&&(!uo(o)&&!gn(o)&&(i=pe(i),o=pe(o)),!re(n)&&Le(i)&&!Le(o)))return i.value=o,!0;const a=re(n)&&Ci(r)?Number(r)<n.length:he(n,r),c=Reflect.set(n,r,o,s);return n===pe(s)&&(a?vr(o,i)&&kt(n,"set",r,o):kt(n,"add",r,o)),c}}function ph(e,t){const n=he(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&kt(e,"delete",t,void 0),r}function mh(e,t){const n=Reflect.has(e,t);return(!Ei(t)||!Hl.has(t))&&Qe(e,"has",t),n}function gh(e){return Qe(e,"iterate",re(e)?"length":pn),Reflect.ownKeys(e)}const zl={get:ah,set:dh,deleteProperty:ph,has:mh,ownKeys:gh},yh={get:lh,set(e,t){return!0},deleteProperty(e,t){return!0}},_h=$e({},zl,{get:ch,set:hh}),Si=e=>e,Do=e=>Reflect.getPrototypeOf(e);function jr(e,t,n=!1,r=!1){e=e.__v_raw;const o=pe(e),s=pe(t);n||(t!==s&&Qe(o,"get",t),Qe(o,"get",s));const{has:i}=Do(o),a=r?Si:n?Oi:br;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Hr(e,t=!1){const n=this.__v_raw,r=pe(n),o=pe(e);return t||(e!==o&&Qe(r,"has",e),Qe(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Br(e,t=!1){return e=e.__v_raw,!t&&Qe(pe(e),"iterate",pn),Reflect.get(e,"size",e)}function Ta(e){e=pe(e);const t=pe(this);return Do(t).has.call(t,e)||(t.add(e),kt(t,"add",e,e)),this}function Ca(e,t){t=pe(t);const n=pe(this),{has:r,get:o}=Do(n);let s=r.call(n,e);s||(e=pe(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?vr(t,i)&&kt(n,"set",e,t):kt(n,"add",e,t),this}function Pa(e){const t=pe(this),{has:n,get:r}=Do(t);let o=n.call(t,e);o||(e=pe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&kt(t,"delete",e,void 0),s}function xa(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&kt(e,"clear",void 0,void 0),n}function zr(e,t){return function(r,o){const s=this,i=s.__v_raw,a=pe(i),c=t?Si:e?Oi:br;return!e&&Qe(a,"iterate",pn),i.forEach((l,u)=>r.call(o,c(l),c(u),s))}}function Vr(e,t,n){return function(...r){const o=this.__v_raw,s=pe(o),i=Rn(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?Si:t?Oi:br;return!t&&Qe(s,"iterate",c?As:pn),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Mt(e){return function(...t){return e==="delete"?!1:this}}function vh(){const e={get(s){return jr(this,s)},get size(){return Br(this)},has:Hr,add:Ta,set:Ca,delete:Pa,clear:xa,forEach:zr(!1,!1)},t={get(s){return jr(this,s,!1,!0)},get size(){return Br(this)},has:Hr,add:Ta,set:Ca,delete:Pa,clear:xa,forEach:zr(!1,!0)},n={get(s){return jr(this,s,!0)},get size(){return Br(this,!0)},has(s){return Hr.call(this,s,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:zr(!0,!1)},r={get(s){return jr(this,s,!0,!0)},get size(){return Br(this,!0)},has(s){return Hr.call(this,s,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:zr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Vr(s,!1,!1),n[s]=Vr(s,!0,!1),t[s]=Vr(s,!1,!0),r[s]=Vr(s,!0,!0)}),[e,n,t,r]}const[bh,wh,Eh,Th]=vh();function Ri(e,t){const n=t?e?Th:Eh:e?wh:bh;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(he(n,o)&&o in r?n:r,o,s)}const Ch={get:Ri(!1,!1)},Ph={get:Ri(!1,!0)},xh={get:Ri(!0,!1)},Vl=new WeakMap,Ul=new WeakMap,Kl=new WeakMap,Ah=new WeakMap;function Sh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rh(e){return e.__v_skip||!Object.isExtensible(e)?0:Sh(Kd(e))}function tt(e){return gn(e)?e:ki(e,!1,zl,Ch,Vl)}function Kt(e){return ki(e,!1,_h,Ph,Ul)}function Ii(e){return ki(e,!0,yh,xh,Kl)}function ki(e,t,n,r,o){if(!Te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Rh(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function kn(e){return gn(e)?kn(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function uo(e){return!!(e&&e.__v_isShallow)}function Wl(e){return kn(e)||gn(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function ql(e){return co(e,"__v_skip",!0),e}const br=e=>Te(e)?tt(e):e,Oi=e=>Te(e)?Ii(e):e;function Ql(e){Ut&&ut&&(e=pe(e),jl(e.dep||(e.dep=Pi())))}function Jl(e,t){e=pe(e);const n=e.dep;n&&Ss(n)}function Le(e){return!!(e&&e.__v_isRef===!0)}function le(e){return Gl(e,!1)}function Rt(e){return Gl(e,!0)}function Gl(e,t){return Le(e)?e:new Ih(e,t)}class Ih{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:br(t)}get value(){return Ql(this),this._value}set value(t){const n=this.__v_isShallow||uo(t)||gn(t);t=n?t:pe(t),vr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:br(t),Jl(this))}}function M(e){return Le(e)?e.value:e}const kh={get:(e,t,n)=>M(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Yl(e){return kn(e)?e:new Proxy(e,kh)}function sP(e){const t=re(e)?new Array(e.length):{};for(const n in e)t[n]=Xl(e,n);return t}class Oh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sh(pe(this._object),this._key)}}class Lh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Li(e,t,n){return Le(e)?e:ie(e)?new Lh(e):Te(e)&&arguments.length>1?Xl(e,t,n):le(e)}function Xl(e,t,n){const r=e[t];return Le(r)?r:new Oh(e,t,n)}class $h{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new xi(t,()=>{this._dirty||(this._dirty=!0,Jl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=pe(this);return Ql(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Nh(e,t,n=!1){let r,o;const s=ie(e);return s?(r=e,o=dt):(r=e.get,o=e.set),new $h(r,o,s||!o,n)}function Wt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){qn(s,t,n)}return o}function it(e,t,n,r){if(ie(e)){const s=Wt(e,t,n,r);return s&&Ti(s)&&s.catch(i=>{qn(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(it(e[s],t,n,r));return o}function qn(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=n;for(;s;){const l=s.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](e,i,a)===!1)return}s=s.parent}const c=t.appContext.config.errorHandler;if(c){Wt(c,null,10,[e,i,a]);return}}Mh(e,n,o,r)}function Mh(e,t,n,r=!0){console.error(e)}let wr=!1,Rs=!1;const Fe=[];let _t=0;const On=[];let At=null,ln=0;const Zl=Promise.resolve();let $i=null;function wt(e){const t=$i||Zl;return e?t.then(this?e.bind(this):e):t}function Dh(e){let t=_t+1,n=Fe.length;for(;t<n;){const r=t+n>>>1;Er(Fe[r])<e?t=r+1:n=r}return t}function Fo(e){(!Fe.length||!Fe.includes(e,wr&&e.allowRecurse?_t+1:_t))&&(e.id==null?Fe.push(e):Fe.splice(Dh(e.id),0,e),eu())}function eu(){!wr&&!Rs&&(Rs=!0,$i=Zl.then(nu))}function Fh(e){const t=Fe.indexOf(e);t>_t&&Fe.splice(t,1)}function tu(e){re(e)?On.push(...e):(!At||!At.includes(e,e.allowRecurse?ln+1:ln))&&On.push(e),eu()}function Aa(e,t=wr?_t+1:0){for(;t<Fe.length;t++){const n=Fe[t];n&&n.pre&&(Fe.splice(t,1),t--,n())}}function fo(e){if(On.length){const t=[...new Set(On)];if(On.length=0,At){At.push(...t);return}for(At=t,At.sort((n,r)=>Er(n)-Er(r)),ln=0;ln<At.length;ln++)At[ln]();At=null,ln=0}}const Er=e=>e.id==null?1/0:e.id,jh=(e,t)=>{const n=Er(e)-Er(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function nu(e){Rs=!1,wr=!0,Fe.sort(jh);const t=dt;try{for(_t=0;_t<Fe.length;_t++){const n=Fe[_t];n&&n.active!==!1&&Wt(n,null,14)}}finally{_t=0,Fe.length=0,fo(),wr=!1,$i=null,(Fe.length||On.length)&&nu()}}function Hh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ce;d&&(o=n.map(h=>xe(h)?h.trim():h)),f&&(o=n.map(Cs))}let a,c=r[a=ns(t)]||r[a=ns(bt(t))];!c&&s&&(c=r[a=ns(bn(t))]),c&&it(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,it(l,e,6,o)}}function ru(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ie(e)){const c=l=>{const u=ru(l,t,!0);u&&(a=!0,$e(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(Te(e)&&r.set(e,null),null):(re(s)?s.forEach(c=>i[c]=null):$e(i,s),Te(e)&&r.set(e,i),i)}function jo(e,t){return!e||!kr(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,bn(t))||he(e,t))}let Me=null,Ho=null;function ho(e){const t=Me;return Me=e,Ho=e&&e.type.__scopeId||null,t}function ou(e){Ho=e}function su(){Ho=null}function nt(e,t=Me,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ba(-1);const s=ho(t);let i;try{i=e(...o)}finally{ho(s),r._d&&Ba(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function rs(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=e;let _,g;const y=ho(e);try{if(n.shapeFlag&4){const v=o||r;_=ot(u.call(v,v,f,s,h,d,m)),g=c}else{const v=t;_=ot(v.length>1?v(s,{attrs:c,slots:a,emit:l}):v(s,null)),g=t.props?c:zh(c)}}catch(v){fr.length=0,qn(v,e,1),_=ae(Ke)}let w=_;if(g&&p!==!1){const v=Object.keys(g),{shapeFlag:x}=w;v.length&&x&7&&(i&&v.some(bi)&&(g=Vh(g,i)),w=Ot(w,g))}return n.dirs&&(w=Ot(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),_=w,ho(y),_}function Bh(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(jn(r)){if(r.type!==Ke||r.children==="v-if"){if(t)return;t=r}}else return}return t}const zh=e=>{let t;for(const n in e)(n==="class"||n==="style"||kr(n))&&((t||(t={}))[n]=e[n]);return t},Vh=(e,t)=>{const n={};for(const r in e)(!bi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Uh(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Sa(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!jo(l,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Sa(r,i,l):!0:!!i;return!1}function Sa(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]&&!jo(n,s))return!0}return!1}function Ni({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const iu=e=>e.__isSuspense,Kh={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){e==null?Wh(t,n,r,o,s,i,a,c,l):qh(e,t,n,r,o,i,a,c,l)},hydrate:Qh,create:Mi,normalize:Jh},au=Kh;function Tr(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function Wh(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=Mi(e,o,r,t,f,n,s,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Tr(e,"onPending"),Tr(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),Ln(d,e.ssFallback)):d.resolve(!1,!0)}function qh(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:_,isHydrating:g}=f;if(p)f.pendingBranch=d,ft(d,p)?(c(p,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():_&&(c(m,h,n,r,o,null,s,i,a),Ln(f,h))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=p):l(p,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),_?(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(m,h,n,r,o,null,s,i,a),Ln(f,h))):m&&ft(d,m)?(c(m,d,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(m&&ft(d,m))c(m,d,n,r,o,f,s,i,a),Ln(f,d);else if(Tr(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:w}=f;y>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},y):y===0&&f.fallback(h)}}function Mi(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:d,um:h,n:m,o:{parentNode:p,remove:_}}=l;let g;const y=Gh(e);y&&t!=null&&t.pendingBranch&&(g=t.pendingId,t.deps++);const w=e.props?Ol(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,A=!1){const{vnode:I,activeBranch:R,pendingBranch:B,pendingId:$,effects:O,parentComponent:C,container:T}=v;if(v.isHydrating)v.isHydrating=!1;else if(!x){const W=R&&B.transition&&B.transition.mode==="out-in";W&&(R.transition.afterLeave=()=>{$===v.pendingId&&d(B,T,G,0)});let{anchor:G}=v;R&&(G=m(R),h(R,C,v,!0)),W||d(B,T,G,0)}Ln(v,B),v.pendingBranch=null,v.isInFallback=!1;let S=v.parent,J=!1;for(;S;){if(S.pendingBranch){S.effects.push(...O),J=!0;break}S=S.parent}J||tu(O),v.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),Tr(I,"onResolve")},fallback(x){if(!v.pendingBranch)return;const{vnode:A,activeBranch:I,parentComponent:R,container:B,isSVG:$}=v;Tr(A,"onFallback");const O=m(I),C=()=>{v.isInFallback&&(f(null,x,B,O,R,null,$,a,c),Ln(v,x))},T=x.transition&&x.transition.mode==="out-in";T&&(I.transition.afterLeave=C),v.isInFallback=!0,h(I,R,null,!0),T||C()},move(x,A,I){v.activeBranch&&d(v.activeBranch,x,A,I),v.container=x},next(){return v.activeBranch&&m(v.activeBranch)},registerDep(x,A){const I=!!v.pendingBranch;I&&v.deps++;const R=x.vnode.el;x.asyncDep.catch(B=>{qn(B,x,0)}).then(B=>{if(x.isUnmounted||v.isUnmounted||v.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:$}=x;Ms(x,B,!1),R&&($.el=R);const O=!R&&x.subTree.el;A(x,$,p(R||x.subTree.el),R?null:m(x.subTree),v,i,c),O&&_(O),Ni(x,$.el),I&&--v.deps===0&&v.resolve()})},unmount(x,A){v.isUnmounted=!0,v.activeBranch&&h(v.activeBranch,n,x,A),v.pendingBranch&&h(v.pendingBranch,n,x,A)}};return v}function Qh(e,t,n,r,o,s,i,a,c){const l=t.suspense=Mi(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function Jh(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ra(r?n.default:n),e.ssFallback=r?Ra(n.fallback):ae(Ke)}function Ra(e){let t;if(ie(e)){const n=Fn&&e._c;n&&(e._d=!1,K()),e=e(),n&&(e._d=!0,t=st,Nu())}return re(e)&&(e=Bh(e)),e=ot(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cu(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):tu(e)}function Ln(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Ni(r,o))}function Gh(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Yh(e,t){return Bo(e,null,t)}function Xh(e,t){return Bo(e,null,{flush:"post"})}const Ur={};function ve(e,t,n){return Bo(e,t,n)}function Bo(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=Ce){var a;const c=Mo()===((a=Oe)==null?void 0:a.scope)?Oe:null;let l,u=!1,f=!1;if(Le(e)?(l=()=>e.value,u=uo(e)):kn(e)?(l=()=>e,r=!0):re(e)?(f=!0,u=e.some(v=>kn(v)||uo(v)),l=()=>e.map(v=>{if(Le(v))return v.value;if(kn(v))return hn(v);if(ie(v))return Wt(v,c,2)})):ie(e)?t?l=()=>Wt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),it(e,c,3,[h])}:l=dt,t&&r){const v=l;l=()=>hn(v())}let d,h=v=>{d=y.onStop=()=>{Wt(v,c,4)}},m;if(Hn)if(h=dt,t?n&&it(t,c,3,[l(),f?[]:void 0,h]):l(),o==="sync"){const v=Vp();m=v.__watcherHandles||(v.__watcherHandles=[])}else return dt;let p=f?new Array(e.length).fill(Ur):Ur;const _=()=>{if(y.active)if(t){const v=y.run();(r||u||(f?v.some((x,A)=>vr(x,p[A])):vr(v,p)))&&(d&&d(),it(t,c,3,[v,p===Ur?void 0:f&&p[0]===Ur?[]:p,h]),p=v)}else y.run()};_.allowRecurse=!!t;let g;o==="sync"?g=_:o==="post"?g=()=>De(_,c&&c.suspense):(_.pre=!0,c&&(_.id=c.uid),g=()=>Fo(_));const y=new xi(l,g);t?n?_():p=y.run():o==="post"?De(y.run.bind(y),c&&c.suspense):y.run();const w=()=>{y.stop(),c&&c.scope&&wi(c.scope.effects,y)};return m&&m.push(w),w}function Zh(e,t,n){const r=this.proxy,o=xe(e)?e.includes(".")?lu(r,e):()=>r[e]:e.bind(r,r);let s;ie(t)?s=t:(s=t.handler,n=t);const i=Oe;Gt(this);const a=Bo(o,s.bind(r),n);return i?Gt(i):qt(),a}function lu(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}}function hn(e,t){if(!Te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Le(e))hn(e.value,t);else if(re(e))for(let n=0;n<e.length;n++)hn(e[n],t);else if(Rl(e)||Rn(e))e.forEach(n=>{hn(n,t)});else if(kl(e))for(const n in e)hn(e[n],t);return e}function uu(e,t){const n=Me;if(n===null)return e;const r=Ko(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,a,c,l=Ce]=t[s];i&&(ie(i)&&(i={mounted:i,updated:i}),i.deep&&hn(a),o.push({dir:i,instance:r,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function yt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let c=a.dir[r];c&&(Kn(),it(c,n,8,[e.el,a,e,t]),Wn())}}function ep(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xt(()=>{e.isMounted=!0}),Qn(()=>{e.isUnmounting=!0}),e}const rt=[Function,Array],fu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rt,onEnter:rt,onAfterEnter:rt,onEnterCancelled:rt,onBeforeLeave:rt,onLeave:rt,onAfterLeave:rt,onLeaveCancelled:rt,onBeforeAppear:rt,onAppear:rt,onAfterAppear:rt,onAppearCancelled:rt},tp={name:"BaseTransition",props:fu,setup(e,{slots:t}){const n=pt(),r=ep();let o;return()=>{const s=t.default&&hu(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const p of s)if(p.type!==Ke){i=p;break}}const a=pe(e),{mode:c}=a;if(r.isLeaving)return os(i);const l=Ia(i);if(!l)return os(i);const u=Is(l,a,r,n);po(l,u);const f=n.subTree,d=f&&Ia(f);let h=!1;const{getTransitionKey:m}=l.type;if(m){const p=m();o===void 0?o=p:p!==o&&(o=p,h=!0)}if(d&&d.type!==Ke&&(!ft(l,d)||h)){const p=Is(d,a,r,n);if(po(d,p),c==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},os(i);c==="in-out"&&l.type!==Ke&&(p.delayLeave=(_,g,y)=>{const w=du(r,d);w[String(d.key)]=d,_._leaveCb=()=>{g(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},np=tp;function du(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Is(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:p,onAppear:_,onAfterAppear:g,onAppearCancelled:y}=t,w=String(e.key),v=du(n,e),x=(R,B)=>{R&&it(R,r,9,B)},A=(R,B)=>{const $=B[1];x(R,B),re(R)?R.every(O=>O.length<=1)&&$():R.length<=1&&$()},I={mode:s,persisted:i,beforeEnter(R){let B=a;if(!n.isMounted)if(o)B=p||a;else return;R._leaveCb&&R._leaveCb(!0);const $=v[w];$&&ft(e,$)&&$.el._leaveCb&&$.el._leaveCb(),x(B,[R])},enter(R){let B=c,$=l,O=u;if(!n.isMounted)if(o)B=_||c,$=g||l,O=y||u;else return;let C=!1;const T=R._enterCb=S=>{C||(C=!0,S?x(O,[R]):x($,[R]),I.delayedLeave&&I.delayedLeave(),R._enterCb=void 0)};B?A(B,[R,T]):T()},leave(R,B){const $=String(e.key);if(R._enterCb&&R._enterCb(!0),n.isUnmounting)return B();x(f,[R]);let O=!1;const C=R._leaveCb=T=>{O||(O=!0,B(),T?x(m,[R]):x(h,[R]),R._leaveCb=void 0,v[$]===e&&delete v[$])};v[$]=e,d?A(d,[R,C]):C()},clone(R){return Is(R,t,n,r)}};return I}function os(e){if(Lr(e))return e=Ot(e),e.children=null,e}function Ia(e){return Lr(e)?e.children?e.children[0]:void 0:e}function po(e,t){e.shapeFlag&6&&e.component?po(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 hu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Pe?(i.patchFlag&128&&o++,r=r.concat(hu(i.children,t,a))):(t||i.type!==Ke)&&r.push(a!=null?Ot(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Re(e,t){return ie(e)?(()=>$e({name:e.name},t,{setup:e}))():e}const mn=e=>!!e.type.__asyncLoader;function j(e){ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((p,_)=>{a(m,()=>p(f()),()=>_(m),u+1)});throw m}).then(m=>h!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),l=m,m)))};return Re({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=Oe;if(l)return()=>ss(l,h);const m=y=>{c=null,qn(y,h,13,!r)};if(i&&h.suspense||Hn)return d().then(y=>()=>ss(y,h)).catch(y=>(m(y),()=>r?ae(r,{error:y}):null));const p=le(!1),_=le(),g=le(!!o);return o&&setTimeout(()=>{g.value=!1},o),s!=null&&setTimeout(()=>{if(!p.value&&!_.value){const y=new Error(`Async component timed out after ${s}ms.`);m(y),_.value=y}},s),d().then(()=>{p.value=!0,h.parent&&Lr(h.parent.vnode)&&Fo(h.parent.update)}).catch(y=>{m(y),_.value=y}),()=>{if(p.value&&l)return ss(l,h);if(_.value&&r)return ae(r,{error:_.value});if(n&&!g.value)return ae(n)}}})}function ss(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ae(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Lr=e=>e.type.__isKeepAlive,rp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=pt(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(y,w,v,x,A)=>{const I=y.component;l(y,w,v,0,a),c(I.vnode,y,w,v,I,a,x,y.slotScopeIds,A),De(()=>{I.isDeactivated=!1,I.a&&In(I.a);const R=y.props&&y.props.onVnodeMounted;R&&qe(R,I.parent,y)},a)},r.deactivate=y=>{const w=y.component;l(y,d,null,1,a),De(()=>{w.da&&In(w.da);const v=y.props&&y.props.onVnodeUnmounted;v&&qe(v,w.parent,y),w.isDeactivated=!0},a)};function h(y){is(y),u(y,n,a,!0)}function m(y){o.forEach((w,v)=>{const x=Ds(w.type);x&&(!y||!y(x))&&p(v)})}function p(y){const w=o.get(y);!i||!ft(w,i)?h(w):i&&is(i),o.delete(y),s.delete(y)}ve(()=>[e.include,e.exclude],([y,w])=>{y&&m(v=>rr(y,v)),w&&m(v=>!rr(w,v))},{flush:"post",deep:!0});let _=null;const g=()=>{_!=null&&o.set(_,as(n.subTree))};return Xt(g),_u(g),Qn(()=>{o.forEach(y=>{const{subTree:w,suspense:v}=n,x=as(w);if(y.type===x.type&&y.key===x.key){is(x);const A=x.component.da;A&&De(A,v);return}h(y)})}),()=>{if(_=null,!t.default)return null;const y=t.default(),w=y[0];if(y.length>1)return i=null,y;if(!jn(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let v=as(w);const x=v.type,A=Ds(mn(v)?v.type.__asyncResolved||{}:x),{include:I,exclude:R,max:B}=e;if(I&&(!A||!rr(I,A))||R&&A&&rr(R,A))return i=v,w;const $=v.key==null?x:v.key,O=o.get($);return v.el&&(v=Ot(v),w.shapeFlag&128&&(w.ssContent=v)),_=$,O?(v.el=O.el,v.component=O.component,v.transition&&po(v,v.transition),v.shapeFlag|=512,s.delete($),s.add($)):(s.add($),B&&s.size>parseInt(B,10)&&p(s.values().next().value)),v.shapeFlag|=256,i=v,iu(w.type)?w:v}}},op=rp;function rr(e,t){return re(e)?e.some(n=>rr(n,t)):xe(e)?e.split(",").includes(t):Ud(e)?e.test(t):!1}function pu(e,t){gu(e,"a",t)}function mu(e,t){gu(e,"da",t)}function gu(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(zo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Lr(o.parent.vnode)&&sp(r,t,n,o),o=o.parent}}function sp(e,t,n,r){const o=zo(t,e,r,!0);Cr(()=>{wi(r[t],o)},n)}function is(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function as(e){return e.shapeFlag&128?e.ssContent:e}function zo(e,t,n=Oe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kn(),Gt(n);const a=it(t,n,e,i);return qt(),Wn(),a});return r?o.unshift(s):o.push(s),s}}const $t=e=>(t,n=Oe)=>(!Hn||e==="sp")&&zo(e,(...r)=>t(...r),n),yu=$t("bm"),Xt=$t("m"),ip=$t("bu"),_u=$t("u"),Qn=$t("bum"),Cr=$t("um"),ap=$t("sp"),cp=$t("rtg"),lp=$t("rtc");function vu(e,t=Oe){zo("ec",e,t)}const Di="components";function up(e,t){return wu(Di,e,!0,t)||e}const bu=Symbol.for("v-ndc");function Vo(e){return xe(e)?wu(Di,e,!1)||e:e||bu}function wu(e,t,n=!0,r=!1){const o=Me||Oe;if(o){const s=o.type;if(e===Di){const a=Ds(s,!1);if(a&&(a===t||a===bt(t)||a===No(bt(t))))return s}const i=ka(o[e]||s[e],t)||ka(o.appContext[e],t);return!i&&r?s:i}}function ka(e,t){return e&&(e[t]||e[bt(t)]||e[No(bt(t))])}function Mn(e,t,n,r){let o;const s=n&&n[r];if(re(e)||xe(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(Te(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;a<c;a++){const l=i[a];o[a]=t(e[l],l,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function Fi(e,t,n={},r,o){if(Me.isCE||Me.parent&&mn(Me.parent)&&Me.parent.isCE)return t!=="default"&&(n.name=t),ae("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),K();const i=s&&Eu(s(n)),a=de(Pe,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Eu(e){return e.some(t=>jn(t)?!(t.type===Ke||t.type===Pe&&!Eu(t.children)):!0)?e:null}const ks=e=>e?ju(e)?Ko(e)||e.proxy:ks(e.parent):null,lr=$e(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=>ks(e.parent),$root:e=>ks(e.root),$emit:e=>e.emit,$options:e=>ji(e),$forceUpdate:e=>e.f||(e.f=()=>Fo(e.update)),$nextTick:e=>e.n||(e.n=wt.bind(e.proxy)),$watch:e=>Zh.bind(e)}),cs=(e,t)=>e!==Ce&&!e.__isScriptSetup&&he(e,t),fp={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;let l;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(cs(r,t))return i[t]=1,r[t];if(o!==Ce&&he(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&he(l,t))return i[t]=3,s[t];if(n!==Ce&&he(n,t))return i[t]=4,n[t];Os&&(i[t]=0)}}const u=lr[t];let f,d;if(u)return t==="$attrs"&&Qe(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&he(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,he(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return cs(o,t)?(o[t]=n,!0):r!==Ce&&he(r,t)?(r[t]=n,!0):he(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,propsOptions:s}},i){let a;return!!n[i]||e!==Ce&&he(e,i)||cs(t,i)||(a=s[0])&&he(a,i)||he(r,i)||he(lr,i)||he(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function iP(){return dp().slots}function dp(){const e=pt();return e.setupContext||(e.setupContext=Bu(e))}function Oa(e){return re(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Tu(e){const t=pt();let n=e();return qt(),Ti(n)&&(n=n.catch(r=>{throw Gt(t),r})),[n,()=>Gt(t)]}let Os=!0;function hp(e){const t=ji(e),n=e.proxy,r=e.ctx;Os=!1,t.beforeCreate&&La(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:_,beforeDestroy:g,beforeUnmount:y,destroyed:w,unmounted:v,render:x,renderTracked:A,renderTriggered:I,errorCaptured:R,serverPrefetch:B,expose:$,inheritAttrs:O,components:C,directives:T,filters:S}=t;if(l&&pp(l,r,null),i)for(const G in i){const X=i[G];ie(X)&&(r[G]=X.bind(n))}if(o){const G=o.call(n,n);Te(G)&&(e.data=tt(G))}if(Os=!0,s)for(const G in s){const X=s[G],ge=ie(X)?X.bind(n,n):ie(X.get)?X.get.bind(n,n):dt,be=!ie(X)&&ie(X.set)?X.set.bind(n):dt,Se=ee({get:ge,set:be});Object.defineProperty(r,G,{enumerable:!0,configurable:!0,get:()=>Se.value,set:Ae=>Se.value=Ae})}if(a)for(const G in a)Cu(a[G],r,n,G);if(c){const G=ie(c)?c.call(n):c;Reflect.ownKeys(G).forEach(X=>{$n(X,G[X])})}u&&La(u,e,"c");function W(G,X){re(X)?X.forEach(ge=>G(ge.bind(n))):X&&G(X.bind(n))}if(W(yu,f),W(Xt,d),W(ip,h),W(_u,m),W(pu,p),W(mu,_),W(vu,R),W(lp,A),W(cp,I),W(Qn,y),W(Cr,v),W(ap,B),re($))if($.length){const G=e.exposed||(e.exposed={});$.forEach(X=>{Object.defineProperty(G,X,{get:()=>n[X],set:ge=>n[X]=ge})})}else e.exposed||(e.exposed={});x&&e.render===dt&&(e.render=x),O!=null&&(e.inheritAttrs=O),C&&(e.components=C),T&&(e.directives=T)}function pp(e,t,n=dt){re(e)&&(e=Ls(e));for(const r in e){const o=e[r];let s;Te(o)?"default"in o?s=je(o.from||r,o.default,!0):s=je(o.from||r):s=je(o),Le(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function La(e,t,n){it(re(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Cu(e,t,n,r){const o=r.includes(".")?lu(n,r):()=>n[r];if(xe(e)){const s=t[e];ie(s)&&ve(o,s)}else if(ie(e))ve(o,e.bind(n));else if(Te(e))if(re(e))e.forEach(s=>Cu(s,t,n,r));else{const s=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(s)&&ve(o,s,e)}}function ji(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>mo(c,l,i,!0)),mo(c,t,i)),Te(t)&&s.set(t,c),c}function mo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&mo(e,s,n,!0),o&&o.forEach(i=>mo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=mp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const mp={data:$a,props:Na,emits:Na,methods:or,computed:or,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:or,directives:or,watch:yp,provide:$a,inject:gp};function $a(e,t){return t?e?function(){return $e(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function gp(e,t){return or(Ls(e),Ls(t))}function Ls(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ve(e,t){return e?[...new Set([].concat(e,t))]:t}function or(e,t){return e?$e(Object.create(null),e,t):t}function Na(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:$e(Object.create(null),Oa(e),Oa(t??{})):t}function yp(e,t){if(!e)return t;if(!t)return e;const n=$e(Object.create(null),e);for(const r in t)n[r]=Ve(e[r],t[r]);return n}function Pu(){return{app:null,config:{isNativeTag:Bd,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 _p=0;function vp(e,t){return function(r,o=null){ie(r)||(r=$e({},r)),o!=null&&!Te(o)&&(o=null);const s=Pu(),i=new Set;let a=!1;const c=s.app={_uid:_p++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:zu,get config(){return s.config},set config(l){},use(l,...u){return i.has(l)||(l&&ie(l.install)?(i.add(l),l.install(c,...u)):ie(l)&&(i.add(l),l(c,...u))),c},mixin(l){return s.mixins.includes(l)||s.mixins.push(l),c},component(l,u){return u?(s.components[l]=u,c):s.components[l]},directive(l,u){return u?(s.directives[l]=u,c):s.directives[l]},mount(l,u,f){if(!a){const d=ae(r,o);return d.appContext=s,u&&t?t(d,l):e(d,l,f),a=!0,c._container=l,l.__vue_app__=c,Ko(d.component)||d.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,u){return s.provides[l]=u,c},runWithContext(l){Pr=c;try{return l()}finally{Pr=null}}};return c}}let Pr=null;function $n(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 je(e,t,n=!1){const r=Oe||Me;if(r||Pr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Pr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ie(t)?t.call(r&&r.proxy):t}}function xu(){return!!(Oe||Me||Pr)}function bp(e,t,n,r=!1){const o={},s={};co(s,Uo,1),e.propsDefaults=Object.create(null),Au(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Kt(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function wp(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=pe(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(jo(e.emitsOptions,d))continue;const h=t[d];if(c)if(he(s,d))h!==s[d]&&(s[d]=h,l=!0);else{const m=bt(d);o[m]=$s(c,a,m,h,e,!1)}else h!==s[d]&&(s[d]=h,l=!0)}}}else{Au(e,t,o,s)&&(l=!0);let u;for(const f in a)(!t||!he(t,f)&&((u=bn(f))===f||!he(t,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=$s(c,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!he(t,f))&&(delete s[f],l=!0)}l&&kt(e,"set","$attrs")}function Au(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(cr(c))continue;const l=t[c];let u;o&&he(o,u=bt(c))?!s||!s.includes(u)?n[u]=l:(a||(a={}))[u]=l:jo(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,i=!0)}if(s){const c=pe(n),l=a||Ce;for(let u=0;u<s.length;u++){const f=s[u];n[f]=$s(o,c,f,l[f],e,!he(l,f))}}return i}function $s(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=he(i,"default");if(a&&r===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ie(c)){const{propsDefaults:l}=o;n in l?r=l[n]:(Gt(o),r=l[n]=c.call(null,t),qt())}else r=c}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===bn(n))&&(r=!0))}return r}function Su(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let c=!1;if(!ie(e)){const u=f=>{c=!0;const[d,h]=Su(f,t,!0);$e(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return Te(e)&&r.set(e,Sn),Sn;if(re(s))for(let u=0;u<s.length;u++){const f=bt(s[u]);Ma(f)&&(i[f]=Ce)}else if(s)for(const u in s){const f=bt(u);if(Ma(f)){const d=s[u],h=i[f]=re(d)||ie(d)?{type:d}:$e({},d);if(h){const m=ja(Boolean,h.type),p=ja(String,h.type);h[0]=m>-1,h[1]=p<0||m<p,(m>-1||he(h,"default"))&&a.push(f)}}}const l=[i,a];return Te(e)&&r.set(e,l),l}function Ma(e){return e[0]!=="$"}function Da(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Fa(e,t){return Da(e)===Da(t)}function ja(e,t){return re(t)?t.findIndex(n=>Fa(n,e)):ie(t)&&Fa(t,e)?0:-1}const Ru=e=>e[0]==="_"||e==="$stable",Hi=e=>re(e)?e.map(ot):[ot(e)],Ep=(e,t,n)=>{if(t._n)return t;const r=nt((...o)=>Hi(t(...o)),n);return r._c=!1,r},Iu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ru(o))continue;const s=e[o];if(ie(s))t[o]=Ep(o,s,r);else if(s!=null){const i=Hi(s);t[o]=()=>i}}},ku=(e,t)=>{const n=Hi(t);e.slots.default=()=>n},Tp=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),co(t,"_",n)):Iu(t,e.slots={})}else e.slots={},t&&ku(e,t);co(e.slots,Uo,1)},Cp=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ce;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:($e(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Iu(t,o)),i=t}else t&&(ku(e,t),i={default:1});if(s)for(const a in o)!Ru(a)&&!(a in i)&&delete o[a]};function go(e,t,n,r,o=!1){if(re(e)){e.forEach((d,h)=>go(d,t&&(re(t)?t[h]:t),n,r,o));return}if(mn(r)&&!o)return;const s=r.shapeFlag&4?Ko(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===Ce?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(xe(l)?(u[l]=null,he(f,l)&&(f[l]=null)):Le(l)&&(l.value=null)),ie(c))Wt(c,a,12,[i,u]);else{const d=xe(c),h=Le(c);if(d||h){const m=()=>{if(e.f){const p=d?he(f,c)?f[c]:u[c]:c.value;o?re(p)&&wi(p,s):re(p)?p.includes(s)||p.push(s):d?(u[c]=[s],he(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,he(f,c)&&(f[c]=i)):h&&(c.value=i,e.k&&(u[e.k]=i))};i?(m.id=-1,De(m,n)):m()}}}let Dt=!1;const Kr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Wr=e=>e.nodeType===8;function Pp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),fo(),y._vnode=g;return}Dt=!1,f(y.firstChild,g,null,null,null),fo(),y._vnode=g,Dt&&console.error("Hydration completed but contains mismatches.")},f=(g,y,w,v,x,A=!1)=>{const I=Wr(g)&&g.data==="[",R=()=>p(g,y,w,v,x,I),{type:B,ref:$,shapeFlag:O,patchFlag:C}=y;let T=g.nodeType;y.el=g,C===-2&&(A=!1,y.dynamicChildren=null);let S=null;switch(B){case Dn:T!==3?y.children===""?(c(y.el=o(""),i(g),g),S=g):S=R():(g.data!==y.children&&(Dt=!0,g.data=y.children),S=s(g));break;case Ke:T!==8||I?S=R():S=s(g);break;case Nn:if(I&&(g=s(g),T=g.nodeType),T===1||T===3){S=g;const J=!y.children.length;for(let W=0;W<y.staticCount;W++)J&&(y.children+=S.nodeType===1?S.outerHTML:S.data),W===y.staticCount-1&&(y.anchor=S),S=s(S);return I?s(S):S}else R();break;case Pe:I?S=m(g,y,w,v,x,A):S=R();break;default:if(O&1)T!==1||y.type.toLowerCase()!==g.tagName.toLowerCase()?S=R():S=d(g,y,w,v,x,A);else if(O&6){y.slotScopeIds=x;const J=i(g);if(t(y,J,null,w,v,Kr(J),A),S=I?_(g):s(g),S&&Wr(S)&&S.data==="teleport end"&&(S=s(S)),mn(y)){let W;I?(W=ae(Pe),W.anchor=S?S.previousSibling:J.lastChild):W=g.nodeType===3?$r(""):ae("div"),W.el=g,y.component.subTree=W}}else O&64?T!==8?S=R():S=y.type.hydrate(g,y,w,v,x,A,e,h):O&128&&(S=y.type.hydrate(g,y,w,v,Kr(i(g)),x,A,e,f))}return $!=null&&go($,null,v,y),S},d=(g,y,w,v,x,A)=>{A=A||!!y.dynamicChildren;const{type:I,props:R,patchFlag:B,shapeFlag:$,dirs:O}=y,C=I==="input"&&O||I==="option";if(C||B!==-1){if(O&&yt(y,null,w,"created"),R)if(C||!A||B&48)for(const S in R)(C&&S.endsWith("value")||kr(S)&&!cr(S))&&r(g,S,null,R[S],!1,void 0,w);else R.onClick&&r(g,"onClick",null,R.onClick,!1,void 0,w);let T;if((T=R&&R.onVnodeBeforeMount)&&qe(T,w,y),O&&yt(y,null,w,"beforeMount"),((T=R&&R.onVnodeMounted)||O)&&cu(()=>{T&&qe(T,w,y),O&&yt(y,null,w,"mounted")},v),$&16&&!(R&&(R.innerHTML||R.textContent))){let S=h(g.firstChild,y,g,w,v,x,A);for(;S;){Dt=!0;const J=S;S=S.nextSibling,a(J)}}else $&8&&g.textContent!==y.children&&(Dt=!0,g.textContent=y.children)}return g.nextSibling},h=(g,y,w,v,x,A,I)=>{I=I||!!y.dynamicChildren;const R=y.children,B=R.length;for(let $=0;$<B;$++){const O=I?R[$]:R[$]=ot(R[$]);if(g)g=f(g,O,v,x,A,I);else{if(O.type===Dn&&!O.children)continue;Dt=!0,n(null,O,w,null,v,x,Kr(w),A)}}return g},m=(g,y,w,v,x,A)=>{const{slotScopeIds:I}=y;I&&(x=x?x.concat(I):I);const R=i(g),B=h(s(g),y,R,w,v,x,A);return B&&Wr(B)&&B.data==="]"?s(y.anchor=B):(Dt=!0,c(y.anchor=l("]"),R,B),B)},p=(g,y,w,v,x,A)=>{if(Dt=!0,y.el=null,A){const B=_(g);for(;;){const $=s(g);if($&&$!==B)a($);else break}}const I=s(g),R=i(g);return a(g),n(null,y,R,I,w,v,Kr(R),x),I},_=g=>{let y=0;for(;g;)if(g=s(g),g&&Wr(g)&&(g.data==="["&&y++,g.data==="]")){if(y===0)return s(g);y--}return g};return[u,f]}const De=cu;function xp(e){return Ou(e)}function Ap(e){return Ou(e,Pp)}function Ou(e,t){const n=Ps();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dt,insertStaticContent:m}=e,p=(b,E,P,k=null,N=null,F=null,q=!1,z=null,V=!!E.dynamicChildren)=>{if(b===E)return;b&&!ft(b,E)&&(k=L(b),Ae(b,N,F,!0),b=null),E.patchFlag===-2&&(V=!1,E.dynamicChildren=null);const{type:H,ref:te,shapeFlag:Y}=E;switch(H){case Dn:_(b,E,P,k);break;case Ke:g(b,E,P,k);break;case Nn:b==null&&y(E,P,k,q);break;case Pe:C(b,E,P,k,N,F,q,z,V);break;default:Y&1?x(b,E,P,k,N,F,q,z,V):Y&6?T(b,E,P,k,N,F,q,z,V):(Y&64||Y&128)&&H.process(b,E,P,k,N,F,q,z,V,U)}te!=null&&N&&go(te,b&&b.ref,F,E||b,!E)},_=(b,E,P,k)=>{if(b==null)r(E.el=a(E.children),P,k);else{const N=E.el=b.el;E.children!==b.children&&l(N,E.children)}},g=(b,E,P,k)=>{b==null?r(E.el=c(E.children||""),P,k):E.el=b.el},y=(b,E,P,k)=>{[b.el,b.anchor]=m(b.children,E,P,k,b.el,b.anchor)},w=({el:b,anchor:E},P,k)=>{let N;for(;b&&b!==E;)N=d(b),r(b,P,k),b=N;r(E,P,k)},v=({el:b,anchor:E})=>{let P;for(;b&&b!==E;)P=d(b),o(b),b=P;o(E)},x=(b,E,P,k,N,F,q,z,V)=>{q=q||E.type==="svg",b==null?A(E,P,k,N,F,q,z,V):B(b,E,N,F,q,z,V)},A=(b,E,P,k,N,F,q,z)=>{let V,H;const{type:te,props:Y,shapeFlag:ne,transition:ce,dirs:fe}=b;if(V=b.el=i(b.type,F,Y&&Y.is,Y),ne&8?u(V,b.children):ne&16&&R(b.children,V,null,k,N,F&&te!=="foreignObject",q,z),fe&&yt(b,null,k,"created"),I(V,b,b.scopeId,q,k),Y){for(const we in Y)we!=="value"&&!cr(we)&&s(V,we,null,Y[we],F,b.children,k,N,Ie);"value"in Y&&s(V,"value",null,Y.value),(H=Y.onVnodeBeforeMount)&&qe(H,k,b)}fe&&yt(b,null,k,"beforeMount");const Ee=(!N||N&&!N.pendingBranch)&&ce&&!ce.persisted;Ee&&ce.beforeEnter(V),r(V,E,P),((H=Y&&Y.onVnodeMounted)||Ee||fe)&&De(()=>{H&&qe(H,k,b),Ee&&ce.enter(V),fe&&yt(b,null,k,"mounted")},N)},I=(b,E,P,k,N)=>{if(P&&h(b,P),k)for(let F=0;F<k.length;F++)h(b,k[F]);if(N){let F=N.subTree;if(E===F){const q=N.vnode;I(b,q,q.scopeId,q.slotScopeIds,N.parent)}}},R=(b,E,P,k,N,F,q,z,V=0)=>{for(let H=V;H<b.length;H++){const te=b[H]=z?Bt(b[H]):ot(b[H]);p(null,te,E,P,k,N,F,q,z)}},B=(b,E,P,k,N,F,q)=>{const z=E.el=b.el;let{patchFlag:V,dynamicChildren:H,dirs:te}=E;V|=b.patchFlag&16;const Y=b.props||Ce,ne=E.props||Ce;let ce;P&&nn(P,!1),(ce=ne.onVnodeBeforeUpdate)&&qe(ce,P,E,b),te&&yt(E,b,P,"beforeUpdate"),P&&nn(P,!0);const fe=N&&E.type!=="foreignObject";if(H?$(b.dynamicChildren,H,z,P,k,fe,F):q||X(b,E,z,null,P,k,fe,F,!1),V>0){if(V&16)O(z,E,Y,ne,P,k,N);else if(V&2&&Y.class!==ne.class&&s(z,"class",null,ne.class,N),V&4&&s(z,"style",Y.style,ne.style,N),V&8){const Ee=E.dynamicProps;for(let we=0;we<Ee.length;we++){const ke=Ee[we],lt=Y[ke],wn=ne[ke];(wn!==lt||ke==="value")&&s(z,ke,lt,wn,N,b.children,P,k,Ie)}}V&1&&b.children!==E.children&&u(z,E.children)}else!q&&H==null&&O(z,E,Y,ne,P,k,N);((ce=ne.onVnodeUpdated)||te)&&De(()=>{ce&&qe(ce,P,E,b),te&&yt(E,b,P,"updated")},k)},$=(b,E,P,k,N,F,q)=>{for(let z=0;z<E.length;z++){const V=b[z],H=E[z],te=V.el&&(V.type===Pe||!ft(V,H)||V.shapeFlag&70)?f(V.el):P;p(V,H,te,null,k,N,F,q,!0)}},O=(b,E,P,k,N,F,q)=>{if(P!==k){if(P!==Ce)for(const z in P)!cr(z)&&!(z in k)&&s(b,z,P[z],null,q,E.children,N,F,Ie);for(const z in k){if(cr(z))continue;const V=k[z],H=P[z];V!==H&&z!=="value"&&s(b,z,H,V,q,E.children,N,F,Ie)}"value"in k&&s(b,"value",P.value,k.value)}},C=(b,E,P,k,N,F,q,z,V)=>{const H=E.el=b?b.el:a(""),te=E.anchor=b?b.anchor:a("");let{patchFlag:Y,dynamicChildren:ne,slotScopeIds:ce}=E;ce&&(z=z?z.concat(ce):ce),b==null?(r(H,P,k),r(te,P,k),R(E.children,P,te,N,F,q,z,V)):Y>0&&Y&64&&ne&&b.dynamicChildren?($(b.dynamicChildren,ne,P,N,F,q,z),(E.key!=null||N&&E===N.subTree)&&Bi(b,E,!0)):X(b,E,P,te,N,F,q,z,V)},T=(b,E,P,k,N,F,q,z,V)=>{E.slotScopeIds=z,b==null?E.shapeFlag&512?N.ctx.activate(E,P,k,q,V):S(E,P,k,N,F,q,V):J(b,E,V)},S=(b,E,P,k,N,F,q)=>{const z=b.component=Dp(b,k,N);if(Lr(b)&&(z.ctx.renderer=U),Fp(z),z.asyncDep){if(N&&N.registerDep(z,W),!b.el){const V=z.subTree=ae(Ke);g(null,V,E,P)}return}W(z,b,E,P,N,F,q)},J=(b,E,P)=>{const k=E.component=b.component;if(Uh(b,E,P))if(k.asyncDep&&!k.asyncResolved){G(k,E,P);return}else k.next=E,Fh(k.update),k.update();else E.el=b.el,k.vnode=E},W=(b,E,P,k,N,F,q)=>{const z=()=>{if(b.isMounted){let{next:te,bu:Y,u:ne,parent:ce,vnode:fe}=b,Ee=te,we;nn(b,!1),te?(te.el=fe.el,G(b,te,q)):te=fe,Y&&In(Y),(we=te.props&&te.props.onVnodeBeforeUpdate)&&qe(we,ce,te,fe),nn(b,!0);const ke=rs(b),lt=b.subTree;b.subTree=ke,p(lt,ke,f(lt.el),L(lt),b,N,F),te.el=ke.el,Ee===null&&Ni(b,ke.el),ne&&De(ne,N),(we=te.props&&te.props.onVnodeUpdated)&&De(()=>qe(we,ce,te,fe),N)}else{let te;const{el:Y,props:ne}=E,{bm:ce,m:fe,parent:Ee}=b,we=mn(E);if(nn(b,!1),ce&&In(ce),!we&&(te=ne&&ne.onVnodeBeforeMount)&&qe(te,Ee,E),nn(b,!0),Y&&ye){const ke=()=>{b.subTree=rs(b),ye(Y,b.subTree,b,N,null)};we?E.type.__asyncLoader().then(()=>!b.isUnmounted&&ke()):ke()}else{const ke=b.subTree=rs(b);p(null,ke,P,k,b,N,F),E.el=ke.el}if(fe&&De(fe,N),!we&&(te=ne&&ne.onVnodeMounted)){const ke=E;De(()=>qe(te,Ee,ke),N)}(E.shapeFlag&256||Ee&&mn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&b.a&&De(b.a,N),b.isMounted=!0,E=P=k=null}},V=b.effect=new xi(z,()=>Fo(H),b.scope),H=b.update=()=>V.run();H.id=b.uid,nn(b,!0),H()},G=(b,E,P)=>{E.component=b;const k=b.vnode.props;b.vnode=E,b.next=null,wp(b,E.props,k,P),Cp(b,E.children,P),Kn(),Aa(),Wn()},X=(b,E,P,k,N,F,q,z,V=!1)=>{const H=b&&b.children,te=b?b.shapeFlag:0,Y=E.children,{patchFlag:ne,shapeFlag:ce}=E;if(ne>0){if(ne&128){be(H,Y,P,k,N,F,q,z,V);return}else if(ne&256){ge(H,Y,P,k,N,F,q,z,V);return}}ce&8?(te&16&&Ie(H,N,F),Y!==H&&u(P,Y)):te&16?ce&16?be(H,Y,P,k,N,F,q,z,V):Ie(H,N,F,!0):(te&8&&u(P,""),ce&16&&R(Y,P,k,N,F,q,z,V))},ge=(b,E,P,k,N,F,q,z,V)=>{b=b||Sn,E=E||Sn;const H=b.length,te=E.length,Y=Math.min(H,te);let ne;for(ne=0;ne<Y;ne++){const ce=E[ne]=V?Bt(E[ne]):ot(E[ne]);p(b[ne],ce,P,null,N,F,q,z,V)}H>te?Ie(b,N,F,!0,!1,Y):R(E,P,k,N,F,q,z,V,Y)},be=(b,E,P,k,N,F,q,z,V)=>{let H=0;const te=E.length;let Y=b.length-1,ne=te-1;for(;H<=Y&&H<=ne;){const ce=b[H],fe=E[H]=V?Bt(E[H]):ot(E[H]);if(ft(ce,fe))p(ce,fe,P,null,N,F,q,z,V);else break;H++}for(;H<=Y&&H<=ne;){const ce=b[Y],fe=E[ne]=V?Bt(E[ne]):ot(E[ne]);if(ft(ce,fe))p(ce,fe,P,null,N,F,q,z,V);else break;Y--,ne--}if(H>Y){if(H<=ne){const ce=ne+1,fe=ce<te?E[ce].el:k;for(;H<=ne;)p(null,E[H]=V?Bt(E[H]):ot(E[H]),P,fe,N,F,q,z,V),H++}}else if(H>ne)for(;H<=Y;)Ae(b[H],N,F,!0),H++;else{const ce=H,fe=H,Ee=new Map;for(H=fe;H<=ne;H++){const Ye=E[H]=V?Bt(E[H]):ot(E[H]);Ye.key!=null&&Ee.set(Ye.key,H)}let we,ke=0;const lt=ne-fe+1;let wn=!1,ga=0;const Gn=new Array(lt);for(H=0;H<lt;H++)Gn[H]=0;for(H=ce;H<=Y;H++){const Ye=b[H];if(ke>=lt){Ae(Ye,N,F,!0);continue}let mt;if(Ye.key!=null)mt=Ee.get(Ye.key);else for(we=fe;we<=ne;we++)if(Gn[we-fe]===0&&ft(Ye,E[we])){mt=we;break}mt===void 0?Ae(Ye,N,F,!0):(Gn[mt-fe]=H+1,mt>=ga?ga=mt:wn=!0,p(Ye,E[mt],P,null,N,F,q,z,V),ke++)}const ya=wn?Sp(Gn):Sn;for(we=ya.length-1,H=lt-1;H>=0;H--){const Ye=fe+H,mt=E[Ye],_a=Ye+1<te?E[Ye+1].el:k;Gn[H]===0?p(null,mt,P,_a,N,F,q,z,V):wn&&(we<0||H!==ya[we]?Se(mt,P,_a,2):we--)}}},Se=(b,E,P,k,N=null)=>{const{el:F,type:q,transition:z,children:V,shapeFlag:H}=b;if(H&6){Se(b.component.subTree,E,P,k);return}if(H&128){b.suspense.move(E,P,k);return}if(H&64){q.move(b,E,P,U);return}if(q===Pe){r(F,E,P);for(let Y=0;Y<V.length;Y++)Se(V[Y],E,P,k);r(b.anchor,E,P);return}if(q===Nn){w(b,E,P);return}if(k!==2&&H&1&&z)if(k===0)z.beforeEnter(F),r(F,E,P),De(()=>z.enter(F),N);else{const{leave:Y,delayLeave:ne,afterLeave:ce}=z,fe=()=>r(F,E,P),Ee=()=>{Y(F,()=>{fe(),ce&&ce()})};ne?ne(F,fe,Ee):Ee()}else r(F,E,P)},Ae=(b,E,P,k=!1,N=!1)=>{const{type:F,props:q,ref:z,children:V,dynamicChildren:H,shapeFlag:te,patchFlag:Y,dirs:ne}=b;if(z!=null&&go(z,null,P,b,!0),te&256){E.ctx.deactivate(b);return}const ce=te&1&&ne,fe=!mn(b);let Ee;if(fe&&(Ee=q&&q.onVnodeBeforeUnmount)&&qe(Ee,E,b),te&6)Et(b.component,P,k);else{if(te&128){b.suspense.unmount(P,k);return}ce&&yt(b,null,E,"beforeUnmount"),te&64?b.type.remove(b,E,P,N,U,k):H&&(F!==Pe||Y>0&&Y&64)?Ie(H,E,P,!1,!0):(F===Pe&&Y&384||!N&&te&16)&&Ie(V,E,P),k&&Ne(b)}(fe&&(Ee=q&&q.onVnodeUnmounted)||ce)&&De(()=>{Ee&&qe(Ee,E,b),ce&&yt(b,null,E,"unmounted")},P)},Ne=b=>{const{type:E,el:P,anchor:k,transition:N}=b;if(E===Pe){ze(P,k);return}if(E===Nn){v(b);return}const F=()=>{o(P),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(b.shapeFlag&1&&N&&!N.persisted){const{leave:q,delayLeave:z}=N,V=()=>q(P,F);z?z(b.el,F,V):V()}else F()},ze=(b,E)=>{let P;for(;b!==E;)P=d(b),o(b),b=P;o(E)},Et=(b,E,P)=>{const{bum:k,scope:N,update:F,subTree:q,um:z}=b;k&&In(k),N.stop(),F&&(F.active=!1,Ae(q,b,E,P)),z&&De(z,E),De(()=>{b.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Ie=(b,E,P,k=!1,N=!1,F=0)=>{for(let q=F;q<b.length;q++)Ae(b[q],E,P,k,N)},L=b=>b.shapeFlag&6?L(b.component.subTree):b.shapeFlag&128?b.suspense.next():d(b.anchor||b.el),Q=(b,E,P)=>{b==null?E._vnode&&Ae(E._vnode,null,null,!0):p(E._vnode||null,b,E,null,null,null,P),Aa(),fo(),E._vnode=b},U={p,um:Ae,m:Se,r:Ne,mt:S,mc:R,pc:X,pbc:$,n:L,o:e};let Z,ye;return t&&([Z,ye]=t(U)),{render:Q,hydrate:Z,createApp:vp(Q,Z)}}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bi(e,t,n=!1){const r=e.children,o=t.children;if(re(r)&&re(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Bt(o[s]),a.el=i.el),n||Bi(i,a)),a.type===Dn&&(a.el=i.el)}}function Sp(e){const t=e.slice(),n=[0];let r,o,s,i,a;const c=e.length;for(r=0;r<c;r++){const l=e[r];if(l!==0){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<l?s=a+1:i=a;l<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}const Rp=e=>e.__isTeleport,ur=e=>e&&(e.disabled||e.disabled===""),Ha=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ns=(e,t)=>{const n=e&&e.to;return xe(n)?t?t(n):null:n},Ip={__isTeleport:!0,process(e,t,n,r,o,s,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:p,createComment:_}}=l,g=ur(t.props);let{shapeFlag:y,children:w,dynamicChildren:v}=t;if(e==null){const x=t.el=p(""),A=t.anchor=p("");h(x,n,r),h(A,n,r);const I=t.target=Ns(t.props,m),R=t.targetAnchor=p("");I&&(h(R,I),i=i||Ha(I));const B=($,O)=>{y&16&&u(w,$,O,o,s,i,a,c)};g?B(n,A):I&&B(I,R)}else{t.el=e.el;const x=t.anchor=e.anchor,A=t.target=e.target,I=t.targetAnchor=e.targetAnchor,R=ur(e.props),B=R?n:A,$=R?x:I;if(i=i||Ha(A),v?(d(e.dynamicChildren,v,B,o,s,i,a),Bi(e,t,!0)):c||f(e,t,B,$,o,s,i,a,!1),g)R||qr(t,n,x,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Ns(t.props,m);O&&qr(t,O,null,l,0)}else R&&qr(t,A,I,l,1)}$u(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),(i||!ur(d))&&(s(l),a&16))for(let h=0;h<c.length;h++){const m=c[h];o(m,t,n,!0,!!m.dynamicChildren)}},move:qr,hydrate:kp};function qr(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:u}=e,f=s===2;if(f&&r(i,t,n),(!f||ur(u))&&c&16)for(let d=0;d<l.length;d++)o(l[d],t,n,2);f&&r(a,t,n)}function kp(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:c}},l){const u=t.target=Ns(t.props,c);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(ur(t.props))t.anchor=l(i(e),t,a(e),n,r,o,s),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}l(f,t,u,n,r,o,s)}$u(t)}return t.anchor&&i(t.anchor)}const Lu=Ip;function $u(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Pe=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Nn=Symbol.for("v-stc"),fr=[];let st=null;function K(e=!1){fr.push(st=e?null:[])}function Nu(){fr.pop(),st=fr[fr.length-1]||null}let Fn=1;function Ba(e){Fn+=e}function Mu(e){return e.dynamicChildren=Fn>0?st||Sn:null,Nu(),Fn>0&&st&&st.push(e),e}function ue(e,t,n,r,o,s){return Mu(oe(e,t,n,r,o,s,!0))}function de(e,t,n,r,o){return Mu(ae(e,t,n,r,o,!0))}function jn(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const Uo="__vInternal",Du=({key:e})=>e??null,eo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Le(e)||ie(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,r=0,o=null,s=e===Pe?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Du(t),ref:t&&eo(t),scopeId:Ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Me};return a?(zi(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=xe(n)?8:16),Fn>0&&!i&&st&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&st.push(c),c}const ae=Op;function Op(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===bu)&&(e=Ke),jn(e)){const a=Ot(e,t,!0);return n&&zi(a,n),Fn>0&&!s&&st&&(a.shapeFlag&6?st[st.indexOf(e)]=a:st.push(a)),a.patchFlag|=-2,a}if(Bp(e)&&(e=e.__vccOpts),t){t=Fu(t);let{class:a,style:c}=t;a&&!xe(a)&&(t.class=Ue(a)),Te(c)&&(Wl(c)&&!re(c)&&(c=$e({},c)),t.style=Vn(c))}const i=xe(e)?1:iu(e)?128:Rp(e)?64:Te(e)?4:ie(e)?2:0;return oe(e,t,n,r,o,i,s,!0)}function Fu(e){return e?Wl(e)||Uo in e?$e({},e):e:null}function Ot(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?$p(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Du(a),ref:t&&t.ref?n&&o?re(o)?o.concat(eo(t)):[o,eo(t)]:eo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $r(e=" ",t=0){return ae(Dn,null,e,t)}function Lp(e,t){const n=ae(Nn,null,e);return n.staticCount=t,n}function He(e="",t=!1){return t?(K(),de(Ke,null,e)):ae(Ke,null,e)}function ot(e){return e==null||typeof e=="boolean"?ae(Ke):re(e)?ae(Pe,null,e.slice()):typeof e=="object"?Bt(e):ae(Dn,null,String(e))}function Bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function zi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),zi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Uo in t)?t._ctx=Me:o===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Me},n=32):(t=String(t),r&64?(n=16,t=[$r(t)]):n=8);e.children=t,e.shapeFlag|=n}function $p(...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=Ue([t.class,r.class]));else if(o==="style")t.style=Vn([t.style,r.style]);else if(kr(o)){const s=t[o],i=r[o];i&&s!==i&&!(re(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function qe(e,t,n,r=null){it(e,t,7,[n,r])}const Np=Pu();let Mp=0;function Dp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Np,s={uid:Mp++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Su(r,o),emitsOptions:ru(r,o),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:r.inheritAttrs,ctx:Ce,data:Ce,props:Ce,attrs:Ce,slots:Ce,refs:Ce,setupState:Ce,setupContext:null,attrsProxy:null,slotsProxy: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=Hh.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const pt=()=>Oe||Me;let Vi,En,za="__VUE_INSTANCE_SETTERS__";(En=Ps()[za])||(En=Ps()[za]=[]),En.push(e=>Oe=e),Vi=e=>{En.length>1?En.forEach(t=>t(e)):En[0](e)};const Gt=e=>{Vi(e),e.scope.on()},qt=()=>{Oe&&Oe.scope.off(),Vi(null)};function ju(e){return e.vnode.shapeFlag&4}let Hn=!1;function Fp(e,t=!1){Hn=t;const{props:n,children:r}=e.vnode,o=ju(e);bp(e,n,o,t),Tp(e,r);const s=o?jp(e,t):void 0;return Hn=!1,s}function jp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ql(new Proxy(e.ctx,fp));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Bu(e):null;Gt(e),Kn();const s=Wt(r,e,0,[e.props,o]);if(Wn(),qt(),Ti(s)){if(s.then(qt,qt),t)return s.then(i=>{Ms(e,i,t)}).catch(i=>{qn(i,e,0)});e.asyncDep=s}else Ms(e,s,t)}else Hu(e,t)}function Ms(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Te(t)&&(e.setupState=Yl(t)),Hu(e,n)}let Va;function Hu(e,t,n){const r=e.type;if(!e.render){if(!t&&Va&&!r.render){const o=r.template||ji(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=$e($e({isCustomElement:s,delimiters:a},i),c);r.render=Va(o,l)}}e.render=r.render||dt}Gt(e),Kn(),hp(e),Wn(),qt()}function Hp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Qe(e,"get","$attrs"),t[n]}}))}function Bu(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Hp(e)},slots:e.slots,emit:e.emit,expose:t}}function Ko(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yl(ql(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in lr)return lr[n](e)},has(t,n){return n in t||n in lr}}))}function Ds(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Bp(e){return ie(e)&&"__vccOpts"in e}const ee=(e,t)=>Nh(e,t,Hn);function et(e,t,n){const r=arguments.length;return r===2?Te(t)&&!re(t)?jn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&jn(n)&&(n=[n]),ae(e,t,n))}const zp=Symbol.for("v-scx"),Vp=()=>je(zp),zu="3.3.4",Up="http://www.w3.org/2000/svg",un=typeof document<"u"?document:null,Ua=un&&un.createElement("template"),Kp={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?un.createElementNS(Up,e):un.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>un.createTextNode(e),createComment:e=>un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>un.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{Ua.innerHTML=r?`<svg>${e}</svg>`:e;const a=Ua.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Wp(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function qp(e,t,n){const r=e.style,o=xe(n);if(n&&!o){if(t&&!xe(t))for(const s in t)n[s]==null&&Fs(r,s,"");for(const s in n)Fs(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Ka=/\s*!important$/;function Fs(e,t,n){if(re(n))n.forEach(r=>Fs(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Qp(e,t);Ka.test(n)?e.setProperty(bn(r),n.replace(Ka,""),"important"):e[r]=n}}const Wa=["Webkit","Moz","ms"],ls={};function Qp(e,t){const n=ls[t];if(n)return n;let r=bt(t);if(r!=="filter"&&r in e)return ls[t]=r;r=No(r);for(let o=0;o<Wa.length;o++){const s=Wa[o]+r;if(s in e)return ls[t]=s}return t}const qa="http://www.w3.org/1999/xlink";function Jp(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(qa,t.slice(6,t.length)):e.setAttributeNS(qa,t,n);else{const s=eh(t);n==null||s&&!Ll(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Gp(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";l!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ll(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function Cn(e,t,n,r){e.addEventListener(t,n,r)}function Yp(e,t,n,r){e.removeEventListener(t,n,r)}function Xp(e,t,n,r,o=null){const s=e._vei||(e._vei={}),i=s[t];if(r&&i)i.value=r;else{const[a,c]=Zp(t);if(r){const l=s[t]=nm(r,o);Cn(e,a,l,c)}else i&&(Yp(e,a,i,c),s[t]=void 0)}}const Qa=/(?:Once|Passive|Capture)$/;function Zp(e){let t;if(Qa.test(e)){t={};let r;for(;r=e.match(Qa);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bn(e.slice(2)),t]}let us=0;const em=Promise.resolve(),tm=()=>us||(em.then(()=>us=0),us=Date.now());function nm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;it(rm(r,n.value),t,5,[r])};return n.value=e,n.attached=tm(),n}function rm(e,t){if(re(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 Ja=/^on[a-z]/,om=(e,t,n,r,o=!1,s,i,a,c)=>{t==="class"?Wp(e,r,o):t==="style"?qp(e,n,r):kr(t)?bi(t)||Xp(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sm(e,t,r,o))?Gp(e,t,r,s,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Jp(e,t,r,o))};function sm(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Ja.test(t)&&ie(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ja.test(t)&&xe(n)?!1:t in e}function aP(e){const t=pt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Hs(s,o))},r=()=>{const o=e(t.proxy);js(t.subTree,o),n(o)};Xh(r),Xt(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Cr(()=>o.disconnect())})}function js(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{js(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Hs(e.el,t);else if(e.type===Pe)e.children.forEach(n=>js(n,t));else if(e.type===Nn){let{el:n,anchor:r}=e;for(;n&&(Hs(n,t),n!==r);)n=n.nextSibling}}function Hs(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Ft="transition",Yn="animation",Ui=(e,{slots:t})=>et(np,im(e),t);Ui.displayName="Transition";const Vu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ui.props=$e({},fu,Vu);const rn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ga=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function im(e){const t={};for(const C in e)C in Vu||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=am(o),p=m&&m[0],_=m&&m[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:w,onLeave:v,onLeaveCancelled:x,onBeforeAppear:A=g,onAppear:I=y,onAppearCancelled:R=w}=t,B=(C,T,S)=>{on(C,T?u:a),on(C,T?l:i),S&&S()},$=(C,T)=>{C._isLeaving=!1,on(C,f),on(C,h),on(C,d),T&&T()},O=C=>(T,S)=>{const J=C?I:y,W=()=>B(T,C,S);rn(J,[T,W]),Ya(()=>{on(T,C?c:s),jt(T,C?u:a),Ga(J)||Xa(T,r,p,W)})};return $e(t,{onBeforeEnter(C){rn(g,[C]),jt(C,s),jt(C,i)},onBeforeAppear(C){rn(A,[C]),jt(C,c),jt(C,l)},onEnter:O(!1),onAppear:O(!0),onLeave(C,T){C._isLeaving=!0;const S=()=>$(C,T);jt(C,f),um(),jt(C,d),Ya(()=>{C._isLeaving&&(on(C,f),jt(C,h),Ga(v)||Xa(C,r,_,S))}),rn(v,[C,S])},onEnterCancelled(C){B(C,!1),rn(w,[C])},onAppearCancelled(C){B(C,!0),rn(R,[C])},onLeaveCancelled(C){$(C),rn(x,[C])}})}function am(e){if(e==null)return null;if(Te(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return Ol(e)}function jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function on(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ya(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let cm=0;function Xa(e,t,n,r){const o=e._endId=++cm,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=lm(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},a+1),e.addEventListener(l,d)}function lm(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Ft}Delay`),s=r(`${Ft}Duration`),i=Za(o,s),a=r(`${Yn}Delay`),c=r(`${Yn}Duration`),l=Za(a,c);let u=null,f=0,d=0;t===Ft?i>0&&(u=Ft,f=i,d=s.length):t===Yn?l>0&&(u=Yn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?Ft:Yn:null,d=u?u===Ft?s.length:c.length:0);const h=u===Ft&&/\b(transform|all)(,|$)/.test(r(`${Ft}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Za(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ec(n)+ec(e[r])))}function ec(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function um(){return document.body.offsetHeight}const tc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return re(t)?n=>In(t,n):t};function fm(e){e.target.composing=!0}function nc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dm={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=tc(o);const s=r||o.props&&o.props.type==="number";Cn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Cs(a)),e._assign(a)}),n&&Cn(e,"change",()=>{e.value=e.value.trim()}),t||(Cn(e,"compositionstart",fm),Cn(e,"compositionend",nc),Cn(e,"change",nc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=tc(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&Cs(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},hm=["ctrl","shift","alt","meta"],pm={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)=>hm.some(n=>e[`${n}Key`]&&!t.includes(n))},sr=(e,t)=>(n,...r)=>{for(let o=0;o<t.length;o++){const s=pm[t[o]];if(s&&s(n,t))return}return e(n,...r)},mm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ds=(e,t)=>n=>{if(!("key"in n))return;const r=bn(n.key);if(t.some(o=>o===r||mm[o]===r))return e(n)},gm={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xn(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),Xn(e,!0),r.enter(e)):r.leave(e,()=>{Xn(e,!1)}):Xn(e,t))},beforeUnmount(e,{value:t}){Xn(e,t)}};function Xn(e,t){e.style.display=t?e._vod:"none"}const Uu=$e({patchProp:om},Kp);let dr,rc=!1;function ym(){return dr||(dr=xp(Uu))}function _m(){return dr=rc?dr:Ap(Uu),rc=!0,dr}const vm=(...e)=>{const t=ym().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Ku(r);if(!o)return;const s=t._component;!ie(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},bm=(...e)=>{const t=_m().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Ku(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ku(e){return xe(e)?document.querySelector(e):e}const wm=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Em=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Tm=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Cm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Pm(e);return}return t}function Pm(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function xr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Tm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(wm.test(e)||Em.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Cm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const xm=/#/g,Am=/&/g,Sm=/=/g,Ki=/\+/g,Rm=/%5e/gi,Im=/%60/gi,km=/%7c/gi,Om=/%20/gi;function Lm(e){return encodeURI(""+e).replace(km,"|")}function Bs(e){return Lm(typeof e=="string"?e:JSON.stringify(e)).replace(Ki,"%2B").replace(Om,"+").replace(xm,"%23").replace(Am,"%26").replace(Im,"`").replace(Rm,"^")}function hs(e){return Bs(e).replace(Sm,"%3D")}function yo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function $m(e){return yo(e.replace(Ki," "))}function Nm(e){return yo(e.replace(Ki," "))}function Wu(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=$m(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=Nm(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function Mm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${hs(e)}=${Bs(n)}`).join("&"):`${hs(e)}=${Bs(t)}`:hs(e)}function Dm(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Mm(t,e[t])).filter(Boolean).join("&")}const Fm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,jm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Hm=/^([/\\]\s*){2,}[^/\\]/;function Yt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Fm.test(e):jm.test(e)||(t.acceptRelative?Hm.test(e):!1)}const Bm=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function zm(e){return!!e&&Bm.test(e)}const Vm=/\/$|\/\?/;function zs(e="",t=!1){return t?Vm.test(e):e.endsWith("/")}function yn(e="",t=!1){if(!t)return(zs(e)?e.slice(0,-1):e)||"/";if(!zs(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function _o(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(zs(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function Um(e=""){return e.startsWith("/")}function Vs(e=""){return Um(e)?e:"/"+e}function qu(e,t){if(Ju(t)||Yt(e))return e;const n=yn(t);return e.startsWith(n)?e:Zt(n,e)}function oc(e,t){if(Ju(t))return e;const n=yn(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Qu(e,t){const n=Nr(e),r={...Wu(n.search),...t};return n.search=Dm(r),Qm(n)}function Ju(e){return!e||e==="/"}function Km(e){return e&&e!=="/"}const Wm=/^\.?\//;function Zt(e,...t){let n=e||"";for(const r of t.filter(o=>Km(o)))if(n){const o=r.replace(Wm,"");n=_o(n)+o}else n=r;return n}function qm(e,t,n={}){return n.trailingSlash||(e=_o(e),t=_o(t)),n.leadingSlash||(e=Vs(e),t=Vs(t)),n.encoding||(e=yo(e),t=yo(t)),e===t}function Nr(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,d=""]=n;return{protocol:f,pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Yt(e,{acceptRelative:!0}))return t?Nr(t+e):sc(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=sc(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:c,search:l,hash:u}}function sc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Qm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+o+s+t+n+r}class Jm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Gm(e){var c,l,u,f,d;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,a=new Jm(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[m]}});return a}const Ym=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ic(e="GET"){return Ym.has(e.toUpperCase())}function Xm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Zm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),eg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function tg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return eg.test(t)?"json":Zm.has(t)||t.startsWith("text/")?"text":"blob"}function ng(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const rg=new Set([408,409,425,429,500,502,503,504]),og=new Set([101,204,205,304]);function Gu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let u;typeof a.options.retry=="number"?u=a.options.retry:u=ic(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):rg.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const l=Gm(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(c,l={}){var d;const u={request:c,options:ng(l,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=qu(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Qu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&ic(u.options.method)&&(Xm(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const h=new r;setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!og.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||tg(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),p=u.options.parseResponse||xr;u.response._data=p(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(c,l){return(await s(c,l))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>Gu({...e,defaults:{...e.defaults,...a}}),i}const Wi=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),sg=Wi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),ig=Wi.Headers,ag=Wi.AbortController,cg=Gu({fetch:sg,Headers:ig,AbortController:ag}),lg=cg,ug=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},vo=ug().app,fg=()=>vo.baseURL,dg=()=>vo.buildAssetsDir,hg=(...e)=>Zt(Yu(),dg(),...e),Yu=(...e)=>{const t=vo.cdnURL||vo.baseURL;return e.length?Zt(t,...e):t};globalThis.__buildAssetsURL=hg,globalThis.__publicAssetsURL=Yu;function Us(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Us(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const pg={run:e=>e()},mg=()=>pg,Xu=typeof console.createTask<"u"?console.createTask:mg;function gg(e,t){const n=t.shift(),r=Xu(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function yg(e,t){const n=t.shift(),r=Xu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ps(e,t){for(const n of[...e])n(t)}class _g{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=Us(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=Us(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(gg,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(yg,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ps(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&ps(this._after,o)}):(this._after&&o&&ps(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 Zu(){return new _g}function vg(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Ks.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Ks.delete(l)}}}}function bg(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=vg({...e,...r})),t[n],t[n]}}}const bo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ac="__unctx__",wg=bo[ac]||(bo[ac]=bg()),Eg=(e,t={})=>wg.get(e,t),cc="__unctx_async_handlers__",Ks=bo[cc]||(bo[cc]=new Set);function Ar(e){const t=[];for(const o of Ks){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const ef=Eg("nuxt-app",{asyncContext:!1}),Tg="__nuxt_plugin";function Cg(e){let t=0;const n={_scope:th(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.0"},get vue(){return n.vueApp.version}},payload:tt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>tf(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Zu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;Qr(n,i,s),Qr(n.vueApp.config.globalProperties,i,s)},Qr(n.vueApp,"$nuxt",n),Qr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||me;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=tt(n.payload.config);return n.provide("config",r),n}async function Pg(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function xg(e,t){const n=[],r=[];for(const o of t){const s=Pg(e,o);o.parallel?n.push(s.catch(i=>r.push(i))):await s}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function Ge(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Tg]:!0}))}function tf(e,t,n){const r=()=>n?t(...n):t();return ef.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function me(){var t;let e;if(xu()&&(e=(t=pt())==null?void 0:t.appContext.app.$nuxt),e=e||ef.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Je(){return me().$config}function Qr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Ag="modulepreload",Sg=function(e,t){return e[0]==="."?new URL(e,t).href:e},lc={},Rg=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Sg(s,r),s in lc)return;lc[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Ag,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},D=(...e)=>Rg(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Ig=-1,kg=-2,Og=-3,Lg=-4,$g=-5,Ng=-6;function Mg(e,t){return Dg(JSON.parse(e),t)}function Dg(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===Ig)return;if(s===Og)return NaN;if(s===Lg)return 1/0;if(s===$g)return-1/0;if(s===Ng)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[s]=l(o(a[1]));switch(c){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let h=1;h<a.length;h+=1)u.add(o(a[h]));break;case"Map":const f=new Map;r[s]=f;for(let h=1;h<a.length;h+=2)f.set(o(a[h]),o(a[h+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=o(a[h+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);r[s]=c;for(let l=0;l<a.length;l+=1){const u=a[l];u!==kg&&(c[l]=o(u))}}else{const c={};r[s]=c;for(const l in a){const u=a[l];c[l]=o(u)}}return r[s]}return o(0)}function Fg(e){return Array.isArray(e)?e:[e]}const jg=["title","titleTemplate","script","style","noscript"],to=["base","meta","link","style","script","noscript"],Hg=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Bg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],nf=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],zg=typeof window<"u";function rf(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function uc(e){return e._h||rf(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function of(e,t){const{props:n,tag:r}=e;if(Bg.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function fc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Vg(e,t,n){const r={tag:e,props:await sf(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return nf.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent"].includes(o)||jg.includes(r.tag))&&(r[o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.props.children&&(r.innerHTML=r.props.children,delete r.props.children),r.tag==="script"&&(typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)&&(r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Ug(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function sf(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=Ug(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!nf.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Kg=10;async function Wg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Hg.includes(n)).forEach(([n,r])=>{const o=Fg(r);t.push(...o.map(s=>Vg(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Kg)+r,n))}const dc={base:-10,title:10},hc={critical:-80,high:-10,low:20};function wo(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in dc&&(t=dc[e.tag]),typeof n=="string"&&n in hc?t+hc[n]:t)}const qg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Ht="%separator";function an(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((c,l)=>c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(Ht)&&(e.endsWith(Ht)&&(e=e.slice(0,-Ht.length).trim()),e.startsWith(Ht)&&(e=e.slice(Ht.length).trim()),e=e.replace(new RegExp(`\\${Ht}\\s*\\${Ht}`,"g"),Ht),e=an(e,{separator:n},n)),e}async function Qg(e){const t={tag:e.tagName.toLowerCase(),props:await sf(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=of(t),t}async function af(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:to.includes(f.tag)?uc(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const h of[...d].filter(m=>to.includes(m.tagName.toLowerCase())))s.elMap[h.getAttribute("data-hid")||uc(await Qg(h))]=h}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,h){const m=`${f}:${d}`;s.sideEffects[m]=h,delete s.pendingSideEffects[m]}function a({id:f,$el:d,tag:h}){const m=h.tag.endsWith("Attrs");s.elMap[f]=d,m||(["textContent","innerHTML"].forEach(p=>{h[p]&&h[p]!==d[p]&&(d[p]=h[p])}),i(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(h.props).forEach(([p,_])=>{const g=`attr:${p}`;if(p==="class")for(const y of(_||"").split(" ").filter(Boolean))m&&i(f,`${g}:${y}`,()=>d.classList.remove(y)),!d.classList.contains(y)&&d.classList.add(y);else d.getAttribute(p)!==_&&d.setAttribute(p,_===!0?"":String(_)),m&&i(f,g,()=>d.removeAttribute(p))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:m}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[m],f.$el?a(f):to.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Jg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await af(e,t),delete e._domUpdatePromise,r()}))}function Gg(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){Jg(s,e)}}}}}const Yg=["templateParams","htmlAttrs","bodyAttrs"],Xg={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=of(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Yg.includes(r.tag)&&(a="merge"),a==="merge"){const c=s.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[o].props={...c,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(wo(r)>wo(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(to.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Zg={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},pc=["script","link","bodyAttrs"];function mc(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?n[r]=o:t[r]=o}),{props:t,eventHandlers:n}}const ey={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!pc.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=mc(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!pc.includes(t.tag))return t;const{props:n,eventHandlers:r}=mc(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,s])=>{const i=`${e.tag._d||e.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(c))return;const l=s;e.$el.setAttribute(c,""),r.addEventListener(a,l),e.entry&&n(e.id,i,()=>{r.removeEventListener(a,l),e.$el.removeAttribute(c)})})}}},ty=["link","style","script","noscript"],ny={hooks:{"tag:normalise":({tag:e})=>{e.key&&ty.includes(e.tag)&&(e.props["data-hid"]=e._h=rf(e.key))}}},ry={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of qg)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>wo(n)-wo(r))}}},oy={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(a=>a.tag==="title"))==null?void 0:i.textContent,r=t.findIndex(a=>a.tag==="templateParams"),o=r!==-1?t[r].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=an(o.pageTitle||n||"",o,s);for(const a of t)a.processTemplateParams!==!1&&(["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string"?a.textContent=an(a.textContent,o,s):a.tag==="meta"&&typeof a.props.content=="string"?a.props.content=an(a.props.content,o,s):a.tag==="link"&&typeof a.props.href=="string"?a.props.href=an(a.props.href,o,s):a.processTemplateParams===!0&&(a.innerHTML?a.innerHTML=an(a.innerHTML,o,s):a.textContent&&(a.textContent=an(a.textContent,o,s))));e.tags=t.filter(a=>a.tag!=="templateParams")}}},sy={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=fc(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=fc(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let cf;function iy(e={}){const t=ay(e);return t.use(Gg()),cf=t}function gc(e,t){return!e||e==="server"&&t||e==="client"&&!t}function ay(e={}){const t=Zu();t.addHooks(e.hooks||{}),e.document=e.document||(zg?document:void 0);const n=!e.document;e.plugins=[Xg,Zg,ey,ny,ry,oy,sy,...(e==null?void 0:e.plugins)||[]];const r=()=>{i.dirty=!0,t.callHook("entries:updated",i)};let o=0,s=[];const i={dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(a){const c=typeof a=="function"?a(i):a;gc(c.mode,n)&&t.addHooks(c.hooks||{})},push(a,c){c==null||delete c.head;const l={_i:o++,input:a,...c};return gc(l.mode,n)&&(s.push(l),r()),{dispose(){s=s.filter(u=>u._i!==l._i),t.callHook("entries:updated",i),r()},patch(u){s=s.map(f=>(f._i===l._i&&(f.input=l.input=u),f)),r()}}},async resolveTags(){const a={tags:[],entries:[...s]};await t.callHook("entries:resolve",a);for(const c of a.entries){const l=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(l):l),c.resolvedInput)for(const u of await Wg(c)){const f={tag:u,entry:c,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>i.use(a)),i.hooks.callHook("init",i),i}function cy(){return cf}const ly=zu.startsWith("3");function uy(e){return typeof e=="function"?e():M(e)}function Eo(e,t=""){if(e instanceof Promise)return e;const n=uy(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Eo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,M(o)]:[r,Eo(o,r)])):n}const fy={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Eo(t.input)}}},lf="usehead";function dy(e){return{install(n){ly&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(lf,e))}}.install}function hy(e={}){e.domDelayFn=e.domDelayFn||(n=>wt(()=>setTimeout(()=>n(),0)));const t=iy(e);return t.use(fy),t.install=dy(t),t}const Ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qs="__unhead_injection_handler__";function py(e){Ws[qs]=e}function my(){if(qs in Ws)return Ws[qs]();const e=je(lf);return e||cy()}function To(e,t={}){const n=t.head||my();if(n)return n.ssr?n.push(e,t):gy(n,e,t)}function gy(e,t,n={}){const r=le(!1),o=le({});Yh(()=>{o.value=r.value?{}:Eo(t)});const s=e.push(o.value,n);return ve(o,a=>{s.patch(a)}),pt()&&(Qn(()=>{s.dispose()}),mu(()=>{r.value=!0}),pu(()=>{r.value=!1})),s}function yy(e){return{ctx:{table:e},matchAll:t=>ff(t,e)}}function uf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,uf(o)])):new Map(Object.entries(e[n]));return t}function _y(e){return yy(uf(e))}function ff(e,t){const n=[];for(const[o,s]of yc(t.wildcard))e.startsWith(o)&&n.push(s);for(const[o,s]of yc(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...ff(i,s))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function yc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ms(e){return e!==null&&typeof e=="object"}function Qs(e,t,n=".",r){if(!ms(t))return Qs(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:ms(i)&&ms(o[s])?o[s]=Qs(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function df(e){return(...t)=>t.reduce((n,r)=>Qs(n,r,"",e),{})}const hr=df(),vy=df((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0}),Jr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function by(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||Ty;let s=0;for(;s<e.length;){const i=e.indexOf("=",s);if(i===-1)break;let a=e.indexOf(";",s);if(a===-1)a=e.length;else if(a<i){s=e.lastIndexOf(";",i-1)+1;continue}const c=e.slice(s,i).trim();if(n[c]===void 0){let l=e.slice(i+1,a).trim();l.codePointAt(0)===34&&(l=l.slice(1,-1)),n[c]=Ey(l,o)}s=a+1}return n}function _c(e,t,n){const r=n||{},o=r.encode||Cy;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!Jr.test(e))throw new TypeError("argument name is invalid");const s=o(t);if(s&&!Jr.test(s))throw new TypeError("argument val is invalid");let i=e+"="+s;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(r.domain){if(!Jr.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!Jr.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!wy(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}function wy(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Ey(e,t){try{return t(e)}catch{return e}}function Ty(e){return e.includes("%")?decodeURIComponent(e):e}function Cy(e){return encodeURIComponent(e)}function Py(e,t){try{return t in e}catch{return!1}}var xy=Object.defineProperty,Ay=(e,t,n)=>t in e?xy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t,n)=>(Ay(e,typeof t!="symbol"?t+"":t,n),n);class Js extends Error{constructor(t,n={}){super(t,n),cn(this,"statusCode",500),cn(this,"fatal",!1),cn(this,"unhandled",!1),cn(this,"statusMessage"),cn(this,"data"),cn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ys(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=hf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}cn(Js,"__h3_error__",!0);function Gs(e){if(typeof e=="string")return new Js(e);if(Sy(e))return e;const t=new Js(e.message??e.statusMessage??"",{cause:e.cause||e});if(Py(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ys(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ys(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;hf(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Sy(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Ry=/[^\u0009\u0020-\u007E]/g;function hf(e=""){return e.replace(Ry,"")}function Ys(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Iy=Symbol("layout-meta"),Wo=Symbol("route"),ct=()=>{var e;return(e=me())==null?void 0:e.$router},at=()=>xu()?je(Wo,me()._route):me()._route;/*! @__NO_SIDE_EFFECTS__ */const ky=(e,t,n={})=>{const r=me(),o=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(s):r._middleware.named[e]=s},Oy=()=>{try{if(me()._processingMiddleware)return!0}catch{return!0}return!1},pf=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Qu(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,l)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Yt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Nr(n).protocol;if(a&&zm(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Oy();if(!r&&o)return e;const s=ct(),i=me();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},qo=()=>Li(me().payload,"error"),An=e=>{const t=Qo(e);try{const n=me(),r=qo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Ly=async(e={})=>{const t=me(),n=qo();t.callHook("app:error:cleared",e),e.redirect&&await ct().replace(e.redirect),n.value=null},$y=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Qo=e=>{const t=Gs(e);return t.__nuxt_error=!0,t},Xs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Ny=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),qi=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Xs(e)}):Xs(e)},cP=!1,Zs=!1,My=!1,Dy={componentName:"NuxtLink"},Fy={deep:!0},jy="#__nuxt";function Hy(...e){var h;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const s=me(),i=()=>null,a=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??i,o.getCachedData=o.getCachedData??a,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??Fy.deep;const c=()=>![null,void 0].includes(o.getCachedData(n));if(!s._asyncData[n]||!o.immediate){(h=s.payload._errors)[n]??(h[n]=null);const m=o.deep?le:Rt;s._asyncData[n]={data:m(o.getCachedData(n)??o.default()),pending:le(!c()),error:Li(s.payload._errors,n),status:le("idle")}}const l={...s._asyncData[n]};l.refresh=l.execute=(m={})=>{if(s._asyncDataPromises[n]){if(m.dedupe===!1)return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((m._initial||s.isHydrating&&m._initial!==!1)&&c())return Promise.resolve(o.getCachedData(n));l.pending.value=!0,l.status.value="pending";const p=new Promise((_,g)=>{try{_(r(s))}catch(y){g(y)}}).then(_=>{if(p.cancelled)return s._asyncDataPromises[n];let g=_;o.transform&&(g=o.transform(_)),o.pick&&(g=zy(g,o.pick)),l.data.value=g,l.error.value=null,l.status.value="success"}).catch(_=>{if(p.cancelled)return s._asyncDataPromises[n];l.error.value=_,l.data.value=M(o.default()),l.status.value="error"}).finally(()=>{p.cancelled||(l.pending.value=!1,s.payload.data[n]=l.data.value,l.error.value&&(s.payload._errors[n]=Qo(l.error.value)),delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=p,s._asyncDataPromises[n]};const u=()=>l.refresh({_initial:!0}),f=o.server!==!1&&s.payload.serverRendered;{const m=pt();if(m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const _=m._nuxtOnBeforeMountCbs;m&&(yu(()=>{_.forEach(g=>{g()}),_.splice(0,_.length)}),Cr(()=>_.splice(0,_.length)))}l.error.value||f&&s.isHydrating&&c()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):m&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?m._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&ve(o.watch,()=>l.refresh());const p=s.hook("app:data:refresh",async _=>{(!_||_.includes(n))&&await l.refresh()});m&&Cr(p)}const d=Promise.resolve(s._asyncDataPromises[n]).then(()=>l);return Object.assign(d,l),d}function By(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r,o]=e;return Hy(n,r,{...o,lazy:!0},null)}function zy(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Vy="$s";function St(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Vy+n,s=me(),i=Li(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(Le(a))return s.payload.state[o]=a,a;i.value=a}return i}const vc=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function Uy(e,t){t?t={...vc,...t}:t=vc;const n=mf(t);return n.dispatch(e),n.toString()}const Ky=Object.freeze(["prototype","__proto__","constructor"]);function mf(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let c=null;if((c=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let l=Object.keys(o);e.unorderedObjects&&(l=l.sort());let u=[];e.respectType!==!1&&!bc(o)&&(u=Ky),e.excludeKeys&&(l=l.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(l.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of l)f(d);for(const d of u)f(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const c of o)this.dispatch(c);return}const i=new Map,a=o.map(c=>{const l=mf(e);l.dispatch(c);for(const[u,f]of l.getContext())i.set(u,f);return l.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),bc(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const gf="[native code] }",Wy=gf.length;function bc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Wy)===gf}class Qt{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||qy).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Qt([...this.words])}}const qy={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},Qy={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const o=e.words[r>>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let c=0;c<4&&r*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},Jy={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Qt(n,t)}},Gy={parse(e){return Jy.parse(unescape(encodeURIComponent(e)))}};class Yy{constructor(){this._data=new Qt,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Qt,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Gy.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=s}return new Qt(n,s)}}class Xy extends Yy{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const wc=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Zy=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],sn=[];class e_ extends Xy{constructor(){super(...arguments),this._hash=new Qt([...wc])}reset(){super.reset(),this._hash=new Qt([...wc])}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],s=r[1],i=r[2],a=r[3],c=r[4],l=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)sn[d]=t[n+d]|0;else{const w=sn[d-15],v=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,x=sn[d-2],A=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;sn[d]=v+sn[d-7]+A+sn[d-16]}const h=c&l^~c&u,m=o&s^o&i^s&i,p=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),_=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),g=f+_+h+Zy[d]+sn[d],y=p+m;f=u,u=l,l=c,c=a+g|0,a=i,i=s,s=o,o=g+y|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function t_(e){return new e_().finalize(e).toString(Qy)}function Co(e,t={}){const n=typeof e=="string"?e:Uy(e,t);return t_(n).slice(0,10)}const n_={path:"/",watch:!0,decode:e=>xr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function no(e,t){var s;const n={...n_,...t},r=r_(n)||{},o=le(r[e]??((s=n.default)==null?void 0:s.call(n)));{const i=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),a=()=>{s_(e,o.value,n),i==null||i.postMessage(n.encode(o.value))};let c=!1;Mo()&&Un(()=>{c=!0,a(),i==null||i.close()}),i&&(i.onmessage=l=>{c=!0,o.value=n.decode(l.data),wt(()=>{c=!1})}),n.watch?ve(o,()=>{c||a()},{deep:n.watch!=="shallow"}):a()}return o}function r_(e={}){return by(document.cookie,e)}function o_(e,t,n={}){return t==null?_c(e,t,{...n,maxAge:-1}):_c(e,t,n)}function s_(e,t,n={}){document.cookie=o_(e,t,n)}const i_=async e=>{const t=me();e=Array.isArray(e)?e:[e],await Promise.all(e.map(n=>c_(t.vueApp._context.components[n])))},a_=e=>i_(e);function c_(e){if(e!=null&&e.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function yf(e,t=ct()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>yf(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function l_(e={}){const t=e.path||window.location.pathname;let n={};try{n=xr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const u_=(...e)=>e.find(t=>t!==void 0),f_="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function d_(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const s=e.trailingSlash==="append"?_o:yn;if(typeof r=="string")return s(r,!0);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:s(i,!0)}};return Re({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=ct(),i=ee(()=>{const f=r.to||r.href||"";return n(f,s.resolve)}),a=ee(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Yt(i.value,{acceptRelative:!0})),c=le(!1),l=le(null),u=f=>{var d;l.value=r.custom?(d=f==null?void 0:f.$el)==null?void 0:d.nextElementSibling:f==null?void 0:f.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!p_()){const d=me();let h,m=null;Xt(()=>{const p=h_();qi(()=>{h=Xs(()=>{var _;(_=l==null?void 0:l.value)!=null&&_.tagName&&(m=p.observe(l.value,async()=>{m==null||m(),m=null;const g=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",g).catch(()=>{}),!a.value&&yf(i.value,s).catch(()=>{})]),c.value=!0}))})})}),Qn(()=>{h&&Ny(h),m==null||m(),m=null})}return()=>{var p,_;if(!a.value){const g={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(g.class=r.prefetchedClass||e.prefetchedClass),g.rel=r.rel),et(up("RouterLink"),g,o.default)}const f=typeof i.value=="object"?((p=s.resolve(i.value))==null?void 0:p.href)??null:i.value||null,d=r.target||null,h=r.noRel?null:u_(r.rel,e.externalRelAttribute,f?f_:"")||null,m=()=>pf(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:m,get route(){if(!f)return;const g=Nr(f);return{path:g.pathname,fullPath:g.pathname,get query(){return Wu(g.search)},hash:g.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:et("a",{ref:l,href:f,rel:h,target:d},(_=o.default)==null?void 0:_.call(o))}}})}const Mr=d_(Dy);function h_(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function p_(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const m_={docus:{title:"Nuxt Mongoose",description:"A Nuxt module for simplifying the use of Mongoose in your project.",image:"/cover.jpg",socials:{twitter:"arash_sheyda",github:"arashsheyda/nuxt-mongoose"},github:{dir:"docs/content",branch:"main",repo:"nuxt-mongoose",owner:"arashsheyda",edit:!0},aside:{level:1,collapsed:!1,exclude:[]},header:{logo:!0,showLinkIcon:!0,exclude:[]},footer:{iconLinks:[{href:"https://nuxt.com",icon:"simple-icons:nuxtdotjs"}]}}},g_={docus:{title:"Docus",description:"The best place to start your documentation.",url:"https://docus.dev",image:"https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png",socials:{},layout:"default",header:{title:"",logo:!1,showLinkIcon:!1,fluid:!1,exclude:[]},aside:{level:0,collapsed:!1,exclude:[]},footer:{credits:{icon:"IconDocus",text:"Powered by Docus",href:"https://docus.dev"},textLinks:[],iconLinks:[],fluid:!1},github:{dir:void 0,branch:void 0,repo:void 0,owner:void 0,edit:!1}}},y_={prose:{copyButton:{iconCopy:"ph:copy",iconCopied:"ph:check"},headings:{icon:"ph:link"}}},__={},v_={nuxt:{buildId:"947b052c-2b4c-4198-a68b-1b0a1cabad5a"}},b_=vy(m_,g_,y_,__,v_);function Qi(){const e=me();return e._appConfig||(e._appConfig=tt(b_)),e._appConfig}let ro,_f;function w_(){var n;const e=Je(),t=(n=Qi().nuxt)==null?void 0:n.buildId;return ro=$fetch(Zt(e.app.cdnURL||e.app.baseURL,e.app.buildAssetsDir,`builds/meta/${t}.json`)),ro.then(r=>{_f=_y(r.matcher)}),ro}function Jo(){return ro||w_()}async function vf(e){return await Jo(),hr({},..._f.matchAll(e).reverse())}function Ec(e,t={}){const n=E_(e,t),r=me(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=T_().then(s=>s?bf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Tc="json";function E_(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Yt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Zt(Je().app.baseURL,n.pathname,r?`_payload.${r}.${Tc}`:`_payload.${Tc}`)}async function bf(e){const t=fetch(e).then(n=>n.text().then(wf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function T_(e=at().path){if(me().payload.prerenderedAt||(await Jo()).prerendered.includes(e))return!0;const r=await vf(e);return!!r.prerender&&!r.redirect}let Gr=null;async function C_(){if(Gr)return Gr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=wf(e.textContent||""),n=e.dataset.src?await bf(e.dataset.src):void 0;return Gr={...t,...n,...window.__NUXT__},Gr}function wf(e){return Mg(e,me()._payloadRevivers)}function P_(e,t){me()._payloadRevivers[e]=t}const Cc={NuxtError:e=>Qo(e),EmptyShallowRef:e=>Rt(e==="_"?void 0:e==="0n"?BigInt(0):xr(e)),EmptyRef:e=>le(e==="_"?void 0:e==="0n"?BigInt(0):xr(e)),ShallowRef:e=>Rt(e),ShallowReactive:e=>Kt(e),Ref:e=>le(e),Reactive:e=>tt(e)},x_=Ge({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Cc)P_(r,Cc[r]);Object.assign(e.payload,([t,n]=Ar(()=>e.runWithContext(C_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),A_=[],S_=Ge({name:"nuxt:head",enforce:"pre",setup(e){const t=hy({plugins:A_});py(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await af(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
|
|
* vue-router v4.2.5
|
|
* (c) 2023 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Pn=typeof window<"u";function R_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const _e=Object.assign;function gs(e,t){const n={};for(const r in t){const o=t[r];n[r]=ht(o)?o.map(e):e(o)}return n}const pr=()=>{},ht=Array.isArray,I_=/\/$/,k_=e=>e.replace(I_,"");function ys(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=N_(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function O_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function L_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Bn(t.matched[r],n.matched[o])&&Ef(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ef(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!$_(e[n],t[n]))return!1;return!0}function $_(e,t){return ht(e)?xc(e,t):ht(t)?xc(t,e):e===t}function xc(e,t){return ht(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function N_(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,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Sr;(function(e){e.pop="pop",e.push="push"})(Sr||(Sr={}));var mr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mr||(mr={}));function M_(e){if(!e)if(Pn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),k_(e)}const D_=/^[^#]+#/;function F_(e,t){return e.replace(D_,"#")+t}function j_(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 Go=()=>({left:window.pageXOffset,top:window.pageYOffset});function H_(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=j_(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ac(e,t){return(history.state?history.state.position-t:-1)+e}const ei=new Map;function B_(e,t){ei.set(e,t)}function z_(e){const t=ei.get(e);return ei.delete(e),t}let V_=()=>location.protocol+"//"+location.host;function Tf(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Pc(c,"")}return Pc(n,e)+r+o}function U_(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=Tf(e,location),m=n.value,p=t.value;let _=0;if(d){if(n.value=h,t.value=d,i&&i===m){i=null;return}_=p?d.position-p.position:0}else r(h);o.forEach(g=>{g(n.value,m,{delta:_,type:Sr.pop,direction:_?_>0?mr.forward:mr.back:mr.unknown})})};function c(){i=n.value}function l(d){o.push(d);const h=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(_e({},d.state,{scroll:Go()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function Sc(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Go():null}}function K_(e){const{history:t,location:n}=window,r={value:Tf(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,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:V_()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(c,l){const u=_e({},t.state,Sc(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});s(c,u,!0),r.value=c}function a(c,l){const u=_e({},o.value,t.state,{forward:c,scroll:Go()});s(u.current,u,!0);const f=_e({},Sc(r.value,c,null),{position:u.position+1},l);s(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function Cf(e){e=M_(e);const t=K_(e),n=U_(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=_e({location:"",base:e,go:r,createHref:F_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function W_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Cf(e)}function q_(e){return typeof e=="string"||e&&typeof e=="object"}function Pf(e){return typeof e=="string"||typeof e=="symbol"}const gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xf=Symbol("");var Rc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Rc||(Rc={}));function zn(e,t){return _e(new Error,{type:e,[xf]:!0},t)}function Tt(e,t){return e instanceof Error&&xf in e&&(t==null||!!(e.type&t))}const Ic="[^/]+?",Q_={sensitive:!1,strict:!1,start:!0,end:!0},J_=/[.+*?^${}()[\]/\\]/g;function G_(e,t){const n=_e({},Q_,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;f<l.length;f++){const d=l[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(J_,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:p,optional:_,regexp:g}=d;s.push({name:m,repeatable:p,optional:_});const y=g||Ic;if(y!==Ic){h+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${m}" (${y}): `+v.message)}}let w=p?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(w=_&&l.length<2?`(?:/${w})`:"/"+w),_&&(w+="?"),o+=w,h+=20,_&&(h+=-8),p&&(h+=-20),y===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(l){const u=l.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",m=s[d-1];f[m.name]=h&&m.repeatable?h.split("/"):h}return f}function c(l){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:p,optional:_}=h,g=m in l?l[m]:"";if(ht(g)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const y=ht(g)?g.join("/"):g;if(!y)if(_)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);u+=y}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:c}}function Y_(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function X_(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Y_(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(kc(r))return 1;if(kc(o))return-1}return o.length-r.length}function kc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Z_={type:0,value:""},ev=/[a-zA-Z0-9_]/;function tv(e){if(!e)return[[]];if(e==="/")return[[Z_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===0?s.push({type:0,value:l}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(l&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:ev.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),f(),i(),o}function nv(e,t,n){const r=G_(tv(e.path),n),o=_e(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function rv(e,t){const n=[],r=new Map;t=$c({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,f,d){const h=!d,m=ov(u);m.aliasOf=d&&d.record;const p=$c(t,u),_=[m];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const v of w)_.push(_e({},m,{components:d?d.record.components:m.components,path:v,aliasOf:d?d.record:m}))}let g,y;for(const w of _){const{path:v}=w;if(f&&v[0]!=="/"){const x=f.record.path,A=x[x.length-1]==="/"?"":"/";w.path=f.record.path+(v&&A+v)}if(g=nv(w,f,p),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&u.name&&!Lc(g)&&i(u.name)),m.children){const x=m.children;for(let A=0;A<x.length;A++)s(x[A],g,d&&d.children[A])}d=d||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&c(g)}return y?()=>{i(y)}:pr}function i(u){if(Pf(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f<n.length&&X_(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Af(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Lc(u)&&r.set(u.record.name,u)}function l(u,f){let d,h={},m,p;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw zn(1,{location:u});p=d.record.name,h=_e(Oc(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Oc(u.params,d.keys.map(y=>y.name))),m=d.stringify(h)}else if("path"in u)m=u.path,d=n.find(y=>y.re.test(m)),d&&(h=d.parse(m),p=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw zn(1,{location:u,currentLocation:f});p=d.record.name,h=_e({},f.params,u.params),m=d.stringify(h)}const _=[];let g=d;for(;g;)_.unshift(g.record),g=g.parent;return{name:p,path:m,params:h,matched:_,meta:iv(_)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Oc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ov(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:sv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function sv(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 Lc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function iv(e){return e.reduce((t,n)=>_e(t,n.meta),{})}function $c(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Af(e,t){return t.children.some(n=>n===e||Af(e,n))}const Sf=/#/g,av=/&/g,cv=/\//g,lv=/=/g,uv=/\?/g,Rf=/\+/g,fv=/%5B/g,dv=/%5D/g,If=/%5E/g,hv=/%60/g,kf=/%7B/g,pv=/%7C/g,Of=/%7D/g,mv=/%20/g;function Ji(e){return encodeURI(""+e).replace(pv,"|").replace(fv,"[").replace(dv,"]")}function gv(e){return Ji(e).replace(kf,"{").replace(Of,"}").replace(If,"^")}function ti(e){return Ji(e).replace(Rf,"%2B").replace(mv,"+").replace(Sf,"%23").replace(av,"%26").replace(hv,"`").replace(kf,"{").replace(Of,"}").replace(If,"^")}function yv(e){return ti(e).replace(lv,"%3D")}function _v(e){return Ji(e).replace(Sf,"%23").replace(uv,"%3F")}function vv(e){return e==null?"":_v(e).replace(cv,"%2F")}function Po(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function bv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Rf," "),i=s.indexOf("="),a=Po(i<0?s:s.slice(0,i)),c=i<0?null:Po(s.slice(i+1));if(a in t){let l=t[a];ht(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Nc(e){let t="";for(let n in e){const r=e[n];if(n=yv(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ht(r)?r.map(s=>s&&ti(s)):[r&&ti(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function wv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ht(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Ev=Symbol(""),Mc=Symbol(""),Gi=Symbol(""),Yi=Symbol(""),ni=Symbol("");function Zn(){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 zt(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(zn(4,{from:n,to:t})):f instanceof Error?a(f):q_(f)?a(zn(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function _s(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Tv(a)){const l=(a.__vccOpts||a)[t];l&&o.push(zt(l,n,r,s,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=R_(l)?l.default:l;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&zt(d,n,r,s,i)()}))}}return o}function Tv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Dc(e){const t=je(Gi),n=je(Yi),r=ee(()=>t.resolve(M(e.to))),o=ee(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Bn.bind(null,u));if(d>-1)return d;const h=Fc(c[l-2]);return l>1&&Fc(u)===h&&f[f.length-1].path!==h?f.findIndex(Bn.bind(null,c[l-2])):d}),s=ee(()=>o.value>-1&&Av(n.params,r.value.params)),i=ee(()=>o.value>-1&&o.value===n.matched.length-1&&Ef(n.params,r.value.params));function a(c={}){return xv(c)?t[M(e.replace)?"replace":"push"](M(e.to)).catch(pr):Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Cv=Re({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dc,setup(e,{slots:t}){const n=tt(Dc(e)),{options:r}=je(Gi),o=ee(()=>({[jc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Pv=Cv;function xv(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 Av(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(!ht(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Fc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jc=(e,t,n)=>e??t??n,Sv=Re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=je(ni),o=ee(()=>e.route||r.value),s=je(Mc,0),i=ee(()=>{let l=M(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=ee(()=>o.value.matched[i.value]);$n(Mc,ee(()=>i.value+1)),$n(Ev,a),$n(ni,o);const c=le();return ve(()=>[c.value,a.value,e.name],([l,u,f],[d,h,m])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!Bn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Hc(n.default,{Component:d,route:l});const h=f.props[u],m=h?h===!0?l.params:typeof h=="function"?h(l):h:null,_=et(d,_e({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Hc(n.default,{Component:_,route:l})||_}}});function Hc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lf=Sv;function Rv(e){const t=rv(e.routes,e),n=e.parseQuery||bv,r=e.stringifyQuery||Nc,o=e.history,s=Zn(),i=Zn(),a=Zn(),c=Rt(gt);let l=gt;Pn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=gs.bind(null,L=>""+L),f=gs.bind(null,vv),d=gs.bind(null,Po);function h(L,Q){let U,Z;return Pf(L)?(U=t.getRecordMatcher(L),Z=Q):Z=L,t.addRoute(Z,U)}function m(L){const Q=t.getRecordMatcher(L);Q&&t.removeRoute(Q)}function p(){return t.getRoutes().map(L=>L.record)}function _(L){return!!t.getRecordMatcher(L)}function g(L,Q){if(Q=_e({},Q||c.value),typeof L=="string"){const P=ys(n,L,Q.path),k=t.resolve({path:P.path},Q),N=o.createHref(P.fullPath);return _e(P,k,{params:d(k.params),hash:Po(P.hash),redirectedFrom:void 0,href:N})}let U;if("path"in L)U=_e({},L,{path:ys(n,L.path,Q.path).path});else{const P=_e({},L.params);for(const k in P)P[k]==null&&delete P[k];U=_e({},L,{params:f(P)}),Q.params=f(Q.params)}const Z=t.resolve(U,Q),ye=L.hash||"";Z.params=u(d(Z.params));const b=O_(r,_e({},L,{hash:gv(ye),path:Z.path})),E=o.createHref(b);return _e({fullPath:b,hash:ye,query:r===Nc?wv(L.query):L.query||{}},Z,{redirectedFrom:void 0,href:E})}function y(L){return typeof L=="string"?ys(n,L,c.value.path):_e({},L)}function w(L,Q){if(l!==L)return zn(8,{from:Q,to:L})}function v(L){return I(L)}function x(L){return v(_e(y(L),{replace:!0}))}function A(L){const Q=L.matched[L.matched.length-1];if(Q&&Q.redirect){const{redirect:U}=Q;let Z=typeof U=="function"?U(L):U;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=y(Z):{path:Z},Z.params={}),_e({query:L.query,hash:L.hash,params:"path"in Z?{}:L.params},Z)}}function I(L,Q){const U=l=g(L),Z=c.value,ye=L.state,b=L.force,E=L.replace===!0,P=A(U);if(P)return I(_e(y(P),{state:typeof P=="object"?_e({},ye,P.state):ye,force:b,replace:E}),Q||U);const k=U;k.redirectedFrom=Q;let N;return!b&&L_(r,Z,U)&&(N=zn(16,{to:k,from:Z}),Se(Z,Z,!0,!1)),(N?Promise.resolve(N):$(k,Z)).catch(F=>Tt(F)?Tt(F,2)?F:be(F):X(F,k,Z)).then(F=>{if(F){if(Tt(F,2))return I(_e({replace:E},y(F.to),{state:typeof F.to=="object"?_e({},ye,F.to.state):ye,force:b}),Q||k)}else F=C(k,Z,!0,E,ye);return O(k,Z,F),F})}function R(L,Q){const U=w(L,Q);return U?Promise.reject(U):Promise.resolve()}function B(L){const Q=ze.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(L):L()}function $(L,Q){let U;const[Z,ye,b]=Iv(L,Q);U=_s(Z.reverse(),"beforeRouteLeave",L,Q);for(const P of Z)P.leaveGuards.forEach(k=>{U.push(zt(k,L,Q))});const E=R.bind(null,L,Q);return U.push(E),Ie(U).then(()=>{U=[];for(const P of s.list())U.push(zt(P,L,Q));return U.push(E),Ie(U)}).then(()=>{U=_s(ye,"beforeRouteUpdate",L,Q);for(const P of ye)P.updateGuards.forEach(k=>{U.push(zt(k,L,Q))});return U.push(E),Ie(U)}).then(()=>{U=[];for(const P of b)if(P.beforeEnter)if(ht(P.beforeEnter))for(const k of P.beforeEnter)U.push(zt(k,L,Q));else U.push(zt(P.beforeEnter,L,Q));return U.push(E),Ie(U)}).then(()=>(L.matched.forEach(P=>P.enterCallbacks={}),U=_s(b,"beforeRouteEnter",L,Q),U.push(E),Ie(U))).then(()=>{U=[];for(const P of i.list())U.push(zt(P,L,Q));return U.push(E),Ie(U)}).catch(P=>Tt(P,8)?P:Promise.reject(P))}function O(L,Q,U){a.list().forEach(Z=>B(()=>Z(L,Q,U)))}function C(L,Q,U,Z,ye){const b=w(L,Q);if(b)return b;const E=Q===gt,P=Pn?history.state:{};U&&(Z||E?o.replace(L.fullPath,_e({scroll:E&&P&&P.scroll},ye)):o.push(L.fullPath,ye)),c.value=L,Se(L,Q,U,E),be()}let T;function S(){T||(T=o.listen((L,Q,U)=>{if(!Et.listening)return;const Z=g(L),ye=A(Z);if(ye){I(_e(ye,{replace:!0}),Z).catch(pr);return}l=Z;const b=c.value;Pn&&B_(Ac(b.fullPath,U.delta),Go()),$(Z,b).catch(E=>Tt(E,12)?E:Tt(E,2)?(I(E.to,Z).then(P=>{Tt(P,20)&&!U.delta&&U.type===Sr.pop&&o.go(-1,!1)}).catch(pr),Promise.reject()):(U.delta&&o.go(-U.delta,!1),X(E,Z,b))).then(E=>{E=E||C(Z,b,!1),E&&(U.delta&&!Tt(E,8)?o.go(-U.delta,!1):U.type===Sr.pop&&Tt(E,20)&&o.go(-1,!1)),O(Z,b,E)}).catch(pr)}))}let J=Zn(),W=Zn(),G;function X(L,Q,U){be(L);const Z=W.list();return Z.length?Z.forEach(ye=>ye(L,Q,U)):console.error(L),Promise.reject(L)}function ge(){return G&&c.value!==gt?Promise.resolve():new Promise((L,Q)=>{J.add([L,Q])})}function be(L){return G||(G=!L,S(),J.list().forEach(([Q,U])=>L?U(L):Q()),J.reset()),L}function Se(L,Q,U,Z){const{scrollBehavior:ye}=e;if(!Pn||!ye)return Promise.resolve();const b=!U&&z_(Ac(L.fullPath,0))||(Z||!U)&&history.state&&history.state.scroll||null;return wt().then(()=>ye(L,Q,b)).then(E=>E&&H_(E)).catch(E=>X(E,L,Q))}const Ae=L=>o.go(L);let Ne;const ze=new Set,Et={currentRoute:c,listening:!0,addRoute:h,removeRoute:m,hasRoute:_,getRoutes:p,resolve:g,options:e,push:v,replace:x,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:W.add,isReady:ge,install(L){const Q=this;L.component("RouterLink",Pv),L.component("RouterView",Lf),L.config.globalProperties.$router=Q,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>M(c)}),Pn&&!Ne&&c.value===gt&&(Ne=!0,v(o.location).catch(ye=>{}));const U={};for(const ye in gt)Object.defineProperty(U,ye,{get:()=>c.value[ye],enumerable:!0});L.provide(Gi,Q),L.provide(Yi,Kt(U)),L.provide(ni,c);const Z=L.unmount;ze.add(L),L.unmount=function(){ze.delete(L),ze.size<1&&(l=gt,T&&T(),T=null,c.value=gt,Ne=!1,G=!1),Z()}}};function Ie(L){return L.reduce((Q,U)=>Q.then(()=>B(U)),Promise.resolve())}return Et}function Iv(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(l=>Bn(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>Bn(l,c))||o.push(c))}return[n,r,o]}function lP(){return je(Yi)}const Bc=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>D(()=>import("./document-driven.c3e8c9e0.js"),["./document-driven.c3e8c9e0.js","./DocumentDrivenEmpty.303eb2de.js","./ContentRenderer.30455ab1.js","./ContentRendererMarkdown.vue.ea4c879e.js","./DocumentDrivenNotFound.391e2b50.js","./ButtonLink.3699c0a8.js","./slot.508dd9de.js","./node.676c5e99.js","./ButtonLink.fbbb4bce.css","./DocumentDrivenNotFound.80d08f8a.css"],import.meta.url).then(e=>e.default||e)}],kv={scrollBehavior(e,t,n){if(!history.state.stop){if(history.state.smooth)return{el:history.state.smooth,behavior:"smooth"};if(e.hash){const r=document.querySelector(e.hash);if(!r)return;const{marginTop:o}=getComputedStyle(r),s=parseInt(o);return{top:document.querySelector(e.hash).offsetTop-s,behavior:"smooth"}}return n||{top:0}}}},Ov={scrollBehavior(e,t,n){var l;const r=me(),o=((l=ct().options)==null?void 0:l.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&Lv(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:zc(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??Zs),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(c,async()=>{await wt(),e.hash&&(s={el:e.hash,top:zc(e.hash),behavior:o}),u(s)})})}};function zc(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Lv(e,t){return t.path!==e.path||JSON.stringify(e.params)!==JSON.stringify(t.params)}const $v={},We={...$v,...Ov,...kv},Nv=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=me(),o=ct();if(([t,n]=Ar(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Qo({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>An(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Mv=async e=>{let t,n;const r=([t,n]=Ar(()=>vf(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},Dv=[Nv,Mv],gr={};function Fv(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const l=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(l);return u[0]!=="/"&&(u="/"+u),oc(u,"")}const a=oc(r,e),c=!n||qm(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":o)+s}const jv=Ge({name:"nuxt:router",enforce:"pre",async setup(e){var p,_;let t,n,r=Je().app.baseURL;We.hashMode&&!r.includes("#")&&(r+="#");const o=((p=We.history)==null?void 0:p.call(We,r))??(We.hashMode?W_(r):Cf(r)),s=((_=We.routes)==null?void 0:_.call(We,Bc))??Bc;let i;const a=Fv(r,window.location,e.payload.path),c=Rv({...We,scrollBehavior:(g,y,w)=>{var v;if(y===gt){i=w;return}return c.options.scrollBehavior=We.scrollBehavior,(v=We.scrollBehavior)==null?void 0:v.call(We,g,gt,i||w)},history:o,routes:s});e.vueApp.use(c);const l=Rt(c.currentRoute.value);c.afterEach((g,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Rt(c.resolve(a)),f=()=>{u.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((g,y)=>{var w,v,x,A;((v=(w=g.matched[0])==null?void 0:w.components)==null?void 0:v.default)===((A=(x=y.matched[0])==null?void 0:x.components)==null?void 0:A.default)&&f()});const d={};for(const g in u.value)Object.defineProperty(d,g,{get:()=>u.value[g]});e._route=Kt(d),e._middleware=e._middleware||{global:[],named:{}};const h=qo();try{[t,n]=Ar(()=>c.isReady()),await t,n()}catch(g){[t,n]=Ar(()=>e.runWithContext(()=>An(g))),await t,n()}const m=e.payload.state._layout;return c.beforeEach(async(g,y)=>{var w;g.meta=tt(g.meta),e.isHydrating&&m&&!gn(g.meta.layout)&&(g.meta.layout=m),e._processingMiddleware=!0;{const v=new Set([...Dv,...e._middleware.global]);for(const x of g.matched){const A=x.meta.middleware;if(A)if(Array.isArray(A))for(const I of A)v.add(I);else v.add(A)}for(const x of v){const A=typeof x=="string"?e._middleware.named[x]||await((w=gr[x])==null?void 0:w.call(gr).then(R=>R.default||R)):x;if(!A)throw new Error(`Unknown route middleware: '${x}'.`);const I=await e.runWithContext(()=>A(g,y));if(!e.payload.serverRendered&&e.isHydrating&&(I===!1||I instanceof Error)){const R=I||Gs({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>An(R)),!1}if(I!==!0&&(I||I===!1))return I}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(g,y,w)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ly),g.matched.length===0&&await e.runWithContext(()=>An(Gs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${g.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=We.scrollBehavior}catch(g){await e.runWithContext(()=>An(g))}}),{provide:{router:c}}}}),Hv=Ge({name:"nuxt:payload",setup(e){ct().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ec(t.path);r&&Object.assign(e.static.data,r.data)}),qi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Nr(n).protocol||await Ec(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Jo,1e3)})}}),Bv=j(()=>D(()=>import("./Illustration.748600b7.js"),[],import.meta.url).then(e=>e.default)),zv=j(()=>D(()=>Promise.resolve().then(()=>g1),void 0,import.meta.url).then(e=>e.default)),Vv=j(()=>D(()=>Promise.resolve().then(()=>I1),void 0,import.meta.url).then(e=>e.default)),Uv=j(()=>D(()=>Promise.resolve().then(()=>GC),void 0,import.meta.url).then(e=>e.default)),Kv=j(()=>D(()=>Promise.resolve().then(()=>zC),void 0,import.meta.url).then(e=>e.default)),Wv=j(()=>D(()=>Promise.resolve().then(()=>u1),void 0,import.meta.url).then(e=>e.default)),qv=j(()=>D(()=>Promise.resolve().then(()=>E1),void 0,import.meta.url).then(e=>e.default)),Qv=j(()=>D(()=>Promise.resolve().then(()=>P1),void 0,import.meta.url).then(e=>e.default)),Jv=j(()=>D(()=>Promise.resolve().then(()=>eP),void 0,import.meta.url).then(e=>e.default)),Gv=j(()=>D(()=>Promise.resolve().then(()=>Uw),void 0,import.meta.url).then(e=>e.default)),Yv=j(()=>D(()=>Promise.resolve().then(()=>AC),void 0,import.meta.url).then(e=>e.default)),Xv=j(()=>D(()=>Promise.resolve().then(()=>e1),void 0,import.meta.url).then(e=>e.default)),Zv=j(()=>D(()=>import("./DocumentDrivenNotFound.391e2b50.js"),["./DocumentDrivenNotFound.391e2b50.js","./ButtonLink.3699c0a8.js","./slot.508dd9de.js","./node.676c5e99.js","./ButtonLink.fbbb4bce.css","./DocumentDrivenNotFound.80d08f8a.css"],import.meta.url).then(e=>e.default)),eb=j(()=>D(()=>import("./Ellipsis.d4ff888a.js"),["./Ellipsis.d4ff888a.js","./Ellipsis.bfeb50ae.css"],import.meta.url).then(e=>e.default)),tb=j(()=>D(()=>Promise.resolve().then(()=>$C),void 0,import.meta.url).then(e=>e.default)),nb=j(()=>D(()=>import("./DocsAside.5a1c6e35.js"),["./DocsAside.5a1c6e35.js","./DocsAside.87da0993.css"],import.meta.url).then(e=>e.default)),rb=j(()=>D(()=>Promise.resolve().then(()=>i1),void 0,import.meta.url).then(e=>e.default)),ob=j(()=>D(()=>import("./DocsPageBottom.3809a2d6.js"),["./DocsPageBottom.3809a2d6.js","./ProseA.d2f1b482.js","./ProseA.baee409d.css","./EditOnLink.vue.004010ce.js","./DocsPageBottom.7b6a5c0e.css"],import.meta.url).then(e=>e.default)),sb=j(()=>D(()=>import("./DocsPageLayout.dcc4995e.js"),["./DocsPageLayout.dcc4995e.js","./DocsAside.5a1c6e35.js","./DocsAside.87da0993.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./Alert.acb23532.js","./slot.508dd9de.js","./node.676c5e99.js","./Alert.3f59c93a.css","./DocsPageBottom.3809a2d6.js","./ProseA.d2f1b482.js","./ProseA.baee409d.css","./EditOnLink.vue.004010ce.js","./DocsPageBottom.7b6a5c0e.css","./DocsPrevNext.ab66fcdd.js","./DocsPrevNext.c7bc0e2e.css","./DocsToc.a3d138bf.js","./DocsTocLinks.b71f1ce5.js","./DocsTocLinks.133324e9.css","./DocsToc.0eb97c63.css","./DocsPageLayout.f3f1287b.css"],import.meta.url).then(e=>e.default)),ib=j(()=>D(()=>import("./DocsPrevNext.ab66fcdd.js"),["./DocsPrevNext.ab66fcdd.js","./DocsPrevNext.c7bc0e2e.css"],import.meta.url).then(e=>e.default)),ab=j(()=>D(()=>import("./DocsToc.a3d138bf.js"),["./DocsToc.a3d138bf.js","./DocsTocLinks.b71f1ce5.js","./DocsTocLinks.133324e9.css","./DocsToc.0eb97c63.css"],import.meta.url).then(e=>e.default)),cb=j(()=>D(()=>import("./DocsTocLinks.b71f1ce5.js"),["./DocsTocLinks.b71f1ce5.js","./DocsTocLinks.133324e9.css"],import.meta.url).then(e=>e.default)),lb=j(()=>D(()=>import("./EditOnLink.83a951f9.js"),["./EditOnLink.83a951f9.js","./EditOnLink.vue.004010ce.js"],import.meta.url).then(e=>e.default)),ub=j(()=>D(()=>import("./SourceLink.809a7338.js"),["./SourceLink.809a7338.js","./ProseP.57bba1ef.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),fb=j(()=>D(()=>import("./ProseA.d2f1b482.js"),["./ProseA.d2f1b482.js","./ProseA.baee409d.css"],import.meta.url).then(e=>e.default)),db=j(()=>D(()=>import("./ProseBlockquote.2259bc62.js"),["./ProseBlockquote.2259bc62.js","./ProseBlockquote.3d074d56.css"],import.meta.url).then(e=>e.default)),hb=j(()=>D(()=>import("./ProseCode.ffed09a4.js"),["./ProseCode.ffed09a4.js","./ProseCode.585625f1.css"],import.meta.url).then(e=>e.default)),pb=j(()=>D(()=>import("./ProseCodeInline.559ee39e.js"),["./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css"],import.meta.url).then(e=>e.default)),mb=j(()=>D(()=>import("./ProseEm.300db7e7.js"),["./ProseEm.300db7e7.js","./ProseEm.35a26f4d.css"],import.meta.url).then(e=>e.default)),gb=j(()=>D(()=>import("./ProseH1.0c6ef6e7.js"),["./ProseH1.0c6ef6e7.js","./ProseH1.6d63403c.css"],import.meta.url).then(e=>e.default)),yb=j(()=>D(()=>import("./ProseH2.40e74196.js"),["./ProseH2.40e74196.js","./ProseH2.3a63b076.css"],import.meta.url).then(e=>e.default)),_b=j(()=>D(()=>import("./ProseH3.1986fb9e.js"),["./ProseH3.1986fb9e.js","./ProseH3.36490a89.css"],import.meta.url).then(e=>e.default)),vb=j(()=>D(()=>import("./ProseH4.ecd43099.js"),["./ProseH4.ecd43099.js","./ProseH4.695d67d4.css"],import.meta.url).then(e=>e.default)),bb=j(()=>D(()=>import("./ProseH5.634f539c.js"),["./ProseH5.634f539c.js","./ProseH5.f9f79c75.css"],import.meta.url).then(e=>e.default)),wb=j(()=>D(()=>import("./ProseH6.5b694629.js"),["./ProseH6.5b694629.js","./ProseH6.0f2b6efc.css"],import.meta.url).then(e=>e.default)),Eb=j(()=>D(()=>import("./ProseHr.b30cb59a.js"),["./ProseHr.b30cb59a.js","./ProseHr.51db3351.css"],import.meta.url).then(e=>e.default)),Tb=j(()=>D(()=>import("./ProseImg.da3b7b45.js"),["./ProseImg.da3b7b45.js","./ProseImg.eeea4224.css"],import.meta.url).then(e=>e.default)),Cb=j(()=>D(()=>import("./ProseLi.85cdf048.js"),["./ProseLi.85cdf048.js","./ProseLi.a0b5f8a8.css"],import.meta.url).then(e=>e.default)),Pb=j(()=>D(()=>import("./ProseOl.f6d7b02a.js"),["./ProseOl.f6d7b02a.js","./ProseOl.9d704e97.css"],import.meta.url).then(e=>e.default)),xb=j(()=>D(()=>import("./ProseP.57bba1ef.js"),["./ProseP.57bba1ef.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),Ab=j(()=>D(()=>import("./ProseStrong.5b525e6d.js"),["./ProseStrong.5b525e6d.js","./ProseStrong.b01d4b3b.css"],import.meta.url).then(e=>e.default)),Sb=j(()=>D(()=>import("./ProseTable.f6435de2.js"),["./ProseTable.f6435de2.js","./ProseTable.d34ed667.css"],import.meta.url).then(e=>e.default)),Rb=j(()=>D(()=>import("./ProseTbody.2a86abfe.js"),[],import.meta.url).then(e=>e.default)),Ib=j(()=>D(()=>import("./ProseTd.d1d8afb4.js"),["./ProseTd.d1d8afb4.js","./ProseTd.0e1894f1.css"],import.meta.url).then(e=>e.default)),kb=j(()=>D(()=>import("./ProseTh.b7463bce.js"),["./ProseTh.b7463bce.js","./ProseTh.f6b542b5.css"],import.meta.url).then(e=>e.default)),Ob=j(()=>D(()=>import("./ProseThead.e6d073ba.js"),["./ProseThead.e6d073ba.js","./ProseThead.01a5506b.css"],import.meta.url).then(e=>e.default)),Lb=j(()=>D(()=>import("./ProseTr.bb31d4ad.js"),["./ProseTr.bb31d4ad.js","./ProseTr.a14ca635.css"],import.meta.url).then(e=>e.default)),$b=j(()=>D(()=>import("./ProseUl.df378c79.js"),["./ProseUl.df378c79.js","./ProseUl.0edd7272.css"],import.meta.url).then(e=>e.default)),Nb=j(()=>D(()=>import("./Alert.acb23532.js"),["./Alert.acb23532.js","./slot.508dd9de.js","./node.676c5e99.js","./Alert.3f59c93a.css"],import.meta.url).then(e=>e.default)),Mb=j(()=>D(()=>import("./Badge.67483764.js"),["./Badge.67483764.js","./slot.508dd9de.js","./node.676c5e99.js","./Badge.42d7c2cc.css"],import.meta.url).then(e=>e.default)),Db=j(()=>D(()=>import("./ButtonLink.3699c0a8.js"),["./ButtonLink.3699c0a8.js","./slot.508dd9de.js","./node.676c5e99.js","./ButtonLink.fbbb4bce.css"],import.meta.url).then(e=>e.default)),Fb=j(()=>D(()=>import("./Callout.ae6490ed.js"),["./Callout.ae6490ed.js","./slot.508dd9de.js","./node.676c5e99.js","./Callout.9ccc5fc7.css"],import.meta.url).then(e=>e.default)),jb=j(()=>D(()=>import("./CodeBlock.f752b6ab.js"),["./CodeBlock.f752b6ab.js","./CodeBlock.59aa3aac.css"],import.meta.url).then(e=>e.default)),Hb=j(()=>D(()=>import("./CodeGroup.b3d17bf5.js"),["./CodeGroup.b3d17bf5.js","./TabsHeader.de307734.js","./TabsHeader.9772e669.css","./CodeGroup.80c16736.css"],import.meta.url).then(e=>e.default)),Bb=j(()=>D(()=>Promise.resolve().then(()=>MC),void 0,import.meta.url).then(e=>e.default)),zb=j(()=>D(()=>import("./CopyButton.ed694c5c.js"),[],import.meta.url).then(e=>e.default)),Vb=j(()=>D(()=>import("./List.63bf3516.js"),["./List.63bf3516.js","./MDCSlot.598d191f.js","./node.676c5e99.js","./List.b6e2b412.css"],import.meta.url).then(e=>e.default)),Ub=j(()=>D(()=>import("./NuxtImg.0d8d8b63.js"),["./NuxtImg.0d8d8b63.js","./NuxtImg.vue.e06efeeb.js"],import.meta.url).then(e=>e.default)),Kb=j(()=>D(()=>import("./Props.f3c441ef.js"),["./Props.f3c441ef.js","./ProseTh.b7463bce.js","./ProseTh.f6b542b5.css","./ProseTr.bb31d4ad.js","./ProseTr.a14ca635.css","./ProseThead.e6d073ba.js","./ProseThead.01a5506b.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./ProseTd.d1d8afb4.js","./ProseTd.0e1894f1.css","./ProseTbody.2a86abfe.js","./ProseTable.f6435de2.js","./ProseTable.d34ed667.css"],import.meta.url).then(e=>e.default)),Wb=j(()=>D(()=>import("./Sandbox.5d0e713b.js"),["./Sandbox.5d0e713b.js","./TabsHeader.de307734.js","./TabsHeader.9772e669.css","./Sandbox.39c8cc7f.css"],import.meta.url).then(e=>e.default)),qb=j(()=>D(()=>import("./TabsHeader.de307734.js"),["./TabsHeader.de307734.js","./TabsHeader.9772e669.css"],import.meta.url).then(e=>e.default)),Qb=j(()=>D(()=>import("./Terminal.9043c098.js"),["./Terminal.9043c098.js","./Terminal.42b767a3.css"],import.meta.url).then(e=>e.default)),Jb=j(()=>D(()=>import("./VideoPlayer.21f0571c.js"),["./VideoPlayer.21f0571c.js","./NuxtImg.vue.e06efeeb.js","./VideoPlayer.a3c8d999.css"],import.meta.url).then(e=>e.default)),Gb=j(()=>D(()=>import("./IconCodeSandBox.59fc968b.js"),[],import.meta.url).then(e=>e.default)),Yb=j(()=>D(()=>import("./IconDocus.d0a59acc.js"),[],import.meta.url).then(e=>e.default)),Xb=j(()=>D(()=>import("./IconNuxt.84cd7de9.js"),[],import.meta.url).then(e=>e.default)),Zb=j(()=>D(()=>import("./IconNuxtContent.84cd7de9.js"),[],import.meta.url).then(e=>e.default)),e0=j(()=>D(()=>import("./IconNuxtLabs.5d1babf5.js"),[],import.meta.url).then(e=>e.default)),t0=j(()=>D(()=>import("./IconNuxtStudio.0b96f32c.js"),["./IconNuxtStudio.0b96f32c.js","./IconNuxtStudio.134194fc.css"],import.meta.url).then(e=>e.default)),n0=j(()=>D(()=>import("./IconStackBlitz.3739905d.js"),[],import.meta.url).then(e=>e.default)),r0=j(()=>D(()=>import("./IconVueTelescope.d8b74302.js"),[],import.meta.url).then(e=>e.default)),o0=j(()=>D(()=>import("./BlockHero.26a6fd4e.js"),["./BlockHero.26a6fd4e.js","./ButtonLink.3699c0a8.js","./slot.508dd9de.js","./node.676c5e99.js","./ButtonLink.fbbb4bce.css","./Terminal.9043c098.js","./Terminal.42b767a3.css","./VideoPlayer.21f0571c.js","./NuxtImg.vue.e06efeeb.js","./VideoPlayer.a3c8d999.css","./BlockHero.ac292f84.css"],import.meta.url).then(e=>e.default)),s0=j(()=>D(()=>import("./Card.97becad6.js"),["./Card.97becad6.js","./slot.508dd9de.js","./node.676c5e99.js","./Card.19125003.css"],import.meta.url).then(e=>e.default)),i0=j(()=>D(()=>import("./CardGrid.7fdaec98.js"),["./CardGrid.7fdaec98.js","./slot.508dd9de.js","./node.676c5e99.js","./CardGrid.6c4a60d8.css"],import.meta.url).then(e=>e.default)),a0=j(()=>D(()=>import("./VoltaBoard.3079fe4c.js"),["./VoltaBoard.3079fe4c.js","./VoltaBoard.a5d6b336.css"],import.meta.url).then(e=>e.default)),c0=j(()=>D(()=>import("./ComponentPlayground.8decca5d.js"),["./ComponentPlayground.8decca5d.js","./ComponentPlaygroundData.dc08b6a5.js","./TabsHeader.de307734.js","./TabsHeader.9772e669.css","./ComponentPlaygroundProps.e7f5fd02.js","./ProseH4.ecd43099.js","./ProseH4.695d67d4.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./Badge.67483764.js","./slot.508dd9de.js","./node.676c5e99.js","./Badge.42d7c2cc.css","./ProseP.57bba1ef.js","./ProseP.b99f89cd.css","./ComponentPlaygroundProps.cfed3f4b.css","./ComponentPlaygroundSlots.vue.e6e8c968.js","./ComponentPlaygroundTokens.vue.0835830b.js","./ComponentPlaygroundData.6ea837a1.css","./ComponentPlayground.98fc8bdc.css"],import.meta.url).then(e=>e.default)),l0=j(()=>D(()=>import("./ComponentPlaygroundData.dc08b6a5.js"),["./ComponentPlaygroundData.dc08b6a5.js","./TabsHeader.de307734.js","./TabsHeader.9772e669.css","./ComponentPlaygroundProps.e7f5fd02.js","./ProseH4.ecd43099.js","./ProseH4.695d67d4.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./Badge.67483764.js","./slot.508dd9de.js","./node.676c5e99.js","./Badge.42d7c2cc.css","./ProseP.57bba1ef.js","./ProseP.b99f89cd.css","./ComponentPlaygroundProps.cfed3f4b.css","./ComponentPlaygroundSlots.vue.e6e8c968.js","./ComponentPlaygroundTokens.vue.0835830b.js","./ComponentPlaygroundData.6ea837a1.css"],import.meta.url).then(e=>e.default)),u0=j(()=>D(()=>import("./ComponentPlaygroundProps.e7f5fd02.js"),["./ComponentPlaygroundProps.e7f5fd02.js","./ProseH4.ecd43099.js","./ProseH4.695d67d4.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./Badge.67483764.js","./slot.508dd9de.js","./node.676c5e99.js","./Badge.42d7c2cc.css","./ProseP.57bba1ef.js","./ProseP.b99f89cd.css","./ComponentPlaygroundProps.cfed3f4b.css"],import.meta.url).then(e=>e.default)),f0=j(()=>D(()=>import("./ComponentPlaygroundSlots.ddf5ad07.js"),["./ComponentPlaygroundSlots.ddf5ad07.js","./ComponentPlaygroundSlots.vue.e6e8c968.js"],import.meta.url).then(e=>e.default)),d0=j(()=>D(()=>import("./ComponentPlaygroundTokens.8bf258ae.js"),["./ComponentPlaygroundTokens.8bf258ae.js","./ComponentPlaygroundTokens.vue.0835830b.js"],import.meta.url).then(e=>e.default)),h0=j(()=>D(()=>import("./PreviewLayout.e9d0f553.js"),["./PreviewLayout.e9d0f553.js","./PreviewLayout.32d37be1.css"],import.meta.url).then(e=>e.default)),p0=j(()=>D(()=>import("./TokensPlayground.679a5a79.js"),[],import.meta.url).then(e=>e.default)),m0=j(()=>D(()=>import("./ContentDoc.e0cb5f2c.js"),["./ContentDoc.e0cb5f2c.js","./ContentRenderer.30455ab1.js","./ContentRendererMarkdown.vue.ea4c879e.js","./ContentQuery.4f686ca1.js"],import.meta.url).then(e=>e.default)),g0=j(()=>D(()=>import("./ContentList.689c4f2e.js"),["./ContentList.689c4f2e.js","./ContentQuery.4f686ca1.js"],import.meta.url).then(e=>e.default)),y0=j(()=>D(()=>import("./ContentNavigation.1eb24ffe.js"),[],import.meta.url).then(e=>e.default)),_0=j(()=>D(()=>import("./ContentQuery.4f686ca1.js"),[],import.meta.url).then(e=>e.default)),v0=j(()=>D(()=>import("./ContentRenderer.30455ab1.js"),["./ContentRenderer.30455ab1.js","./ContentRendererMarkdown.vue.ea4c879e.js"],import.meta.url).then(e=>e.default)),b0=j(()=>D(()=>import("./ContentRendererMarkdown.fa4d8713.js"),["./ContentRendererMarkdown.fa4d8713.js","./ContentRendererMarkdown.vue.ea4c879e.js"],import.meta.url).then(e=>e.default)),w0=j(()=>D(()=>import("./ContentSlot.9decccd4.js"),["./ContentSlot.9decccd4.js","./MDCSlot.598d191f.js","./node.676c5e99.js"],import.meta.url).then(e=>e.default)),E0=j(()=>D(()=>import("./DocumentDrivenEmpty.303eb2de.js"),[],import.meta.url).then(e=>e.default)),T0=j(()=>D(()=>import("./Markdown.c157f1c1.js"),["./Markdown.c157f1c1.js","./ContentSlot.9decccd4.js","./MDCSlot.598d191f.js","./node.676c5e99.js"],import.meta.url).then(e=>e.default)),C0=j(()=>D(()=>import("./ProsePre.aa94fcae.js"),["./ProsePre.aa94fcae.js","./ProseCode.ffed09a4.js","./ProseCode.585625f1.css","./ProsePre.e63e49c6.css"],import.meta.url).then(e=>e.default)),P0=j(()=>D(()=>Promise.resolve().then(()=>XE),void 0,import.meta.url).then(e=>e.default)),x0=j(()=>D(()=>import("./IconCSS.34da18eb.js"),["./IconCSS.34da18eb.js","./IconCSS.8da48618.css"],import.meta.url).then(e=>e.default)),A0=[["Illustration",Bv],["Logo",zv],["AppDocSearch",Vv],["AppFooter",Uv],["AppHeader",Kv],["AppHeaderDialog",Wv],["AppHeaderLogo",qv],["AppHeaderNavigation",Qv],["AppLayout",Jv],["AppLoadingBar",Gv],["AppSearch",Yv],["AppSocialIcons",Xv],["DocumentDrivenNotFound",Zv],["Ellipsis",eb],["ThemeSelect",tb],["DocsAside",nb],["DocsAsideTree",rb],["DocsPageBottom",ob],["DocsPageLayout",sb],["DocsPrevNext",ib],["DocsToc",ab],["DocsTocLinks",cb],["EditOnLink",lb],["SourceLink",ub],["ProseA",fb],["ProseBlockquote",db],["ProseCode",hb],["ProseCodeInline",pb],["ProseEm",mb],["ProseH1",gb],["ProseH2",yb],["ProseH3",_b],["ProseH4",vb],["ProseH5",bb],["ProseH6",wb],["ProseHr",Eb],["ProseImg",Tb],["ProseLi",Cb],["ProseOl",Pb],["ProseP",xb],["ProseStrong",Ab],["ProseTable",Sb],["ProseTbody",Rb],["ProseTd",Ib],["ProseTh",kb],["ProseThead",Ob],["ProseTr",Lb],["ProseUl",$b],["Alert",Nb],["Badge",Mb],["ButtonLink",Db],["Callout",Fb],["CodeBlock",jb],["CodeGroup",Hb],["Container",Bb],["CopyButton",zb],["List",Vb],["NuxtImg",Ub],["Props",Kb],["Sandbox",Wb],["TabsHeader",qb],["Terminal",Qb],["VideoPlayer",Jb],["IconCodeSandBox",Gb],["IconDocus",Yb],["IconNuxt",Xb],["IconNuxtContent",Zb],["IconNuxtLabs",e0],["IconNuxtStudio",t0],["IconStackBlitz",n0],["IconVueTelescope",r0],["BlockHero",o0],["Card",s0],["CardGrid",i0],["VoltaBoard",a0],["ComponentPlayground",c0],["ComponentPlaygroundData",l0],["ComponentPlaygroundProps",u0],["ComponentPlaygroundSlots",f0],["ComponentPlaygroundTokens",d0],["PreviewLayout",h0],["TokensPlayground",p0],["ContentDoc",m0],["ContentList",g0],["ContentNavigation",y0],["ContentQuery",_0],["ContentRenderer",v0],["ContentRendererMarkdown",b0],["MDCSlot",w0],["DocumentDrivenEmpty",E0],["Markdown",T0],["ProsePre",C0],["Icon",P0],["IconCSS",x0]],S0=Ge({name:"nuxt:global-components",setup(e){for(const[t,n]of A0)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),ir={default:()=>D(()=>import("./default.5944fb32.js"),["./default.5944fb32.js","./DocsPageLayout.dcc4995e.js","./DocsAside.5a1c6e35.js","./DocsAside.87da0993.css","./ProseCodeInline.559ee39e.js","./ProseCodeInline.873c7ac7.css","./Alert.acb23532.js","./slot.508dd9de.js","./node.676c5e99.js","./Alert.3f59c93a.css","./DocsPageBottom.3809a2d6.js","./ProseA.d2f1b482.js","./ProseA.baee409d.css","./EditOnLink.vue.004010ce.js","./DocsPageBottom.7b6a5c0e.css","./DocsPrevNext.ab66fcdd.js","./DocsPrevNext.c7bc0e2e.css","./DocsToc.a3d138bf.js","./DocsTocLinks.b71f1ce5.js","./DocsTocLinks.133324e9.css","./DocsToc.0eb97c63.css","./DocsPageLayout.f3f1287b.css"],import.meta.url).then(e=>e.default||e),page:()=>D(()=>import("./page.5d128e65.js"),["./page.5d128e65.js","./page.f2767ca5.css"],import.meta.url).then(e=>e.default||e)},R0=Ge({name:"nuxt:prefetch",setup(e){const t=ct();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof ir[r]=="function"&&await ir[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,c,l;if(Yt(n))return;const r=t.resolve(n);if(!r)return;const o=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let s=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(l=r==null?void 0:r.meta)==null?void 0:l.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof gr[u]=="function"&&gr[u]();o&&typeof ir[o]=="function"&&ir[o]()})}}),I0=["Illustration","Logo","AppDocSearch","AppFooter","AppHeader","AppHeaderDialog","AppHeaderLogo","AppHeaderNavigation","AppLayout","AppLoadingBar","AppSearch","AppSocialIcons","DocumentDrivenNotFound","Ellipsis","ThemeSelect","DocsAside","DocsAsideTree","DocsPageBottom","DocsPageLayout","DocsPrevNext","DocsToc","DocsTocLinks","EditOnLink","SourceLink","ProseA","ProseBlockquote","ProseCode","ProseCodeInline","ProseEm","ProseH1","ProseH2","ProseH3","ProseH4","ProseH5","ProseH6","ProseHr","ProseImg","ProseLi","ProseOl","ProseP","ProseStrong","ProseTable","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","ProseCodeCopyButton","Alert","Badge","ButtonLink","Callout","CodeBlock","CodeGroup","Container","CopyButton","List","NuxtImg","Props","Sandbox","TabsHeader","Terminal","VideoPlayer","IconCodeSandBox","IconDocus","IconNuxt","IconNuxtContent","IconNuxtLabs","IconNuxtStudio","IconStackBlitz","IconVueTelescope","BlockHero","Card","CardGrid","VoltaBoard","ComponentPlayground","ComponentPlaygroundData","ComponentPlaygroundProps","ComponentPlaygroundSlots","ComponentPlaygroundTokens","PreviewLayout","TokensPlayground","ContentPreviewMode","ContentDoc","ContentList","ContentNavigation","ContentQuery","ContentRenderer","ContentRendererMarkdown","MDCSlot","DocumentDrivenEmpty","Markdown","ProsePre","NuxtWelcome","NuxtLayout","NuxtErrorBoundary","ClientOnly","DevOnly","ServerPlaceholder","NuxtLink","NuxtLoadingIndicator","NuxtPicture","ColorScheme","MDC","MDCRenderer","MDCSlot","Icon","IconCSS","NuxtPage","NoScript","Link","Base","Title","Meta","Style","Head","Html","Body"],k0=/\d/,O0=["-","_","/","."];function L0(e=""){if(!k0.test(e))return e.toUpperCase()===e}function $f(e,t){const n=t??O0,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const c=n.includes(a);if(c===!0){r.push(o),o="",s=void 0;continue}const l=L0(a);if(i===!1){if(s===!1&&l===!0){r.push(o),o=a,s=l;continue}if(s===!0&&l===!1&&o.length>1){const u=o[o.length-1];r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=l;continue}}o+=a,s=l,i=c}return r.push(o),r}function $0(e){return e?e[0].toUpperCase()+e.slice(1):""}function N0(e){return e?(Array.isArray(e)?e:$f(e)).map(t=>$0(t)).join(""):""}function ri(e,t){return e?(Array.isArray(e)?e:$f(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const xn=()=>{const e=St("dd-pages",()=>Rt(Kt({}))),t=St("dd-surrounds",()=>Rt(Kt({}))),n=St("dd-navigation"),r=St("dd-globals",()=>Rt(Kt({})));return{pages:e,surrounds:t,navigation:n,globals:r}},Dr=()=>{const{navigation:e,pages:t,surrounds:n,globals:r}=xn(),o=ee(()=>yn(at().path)),s=ee(()=>t.value[o.value]),i=ee(()=>n.value[o.value]),a=ee(()=>{var h,m;return(m=(h=s==null?void 0:s.value)==null?void 0:h.body)==null?void 0:m.toc}),c=ee(()=>{var h;return(h=s.value)==null?void 0:h._type}),l=ee(()=>{var h;return(h=s.value)==null?void 0:h.excerpt}),u=ee(()=>{var h;return(h=s.value)==null?void 0:h.layout}),f=ee(()=>{var h;return(h=i.value)==null?void 0:h[1]}),d=ee(()=>{var h;return(h=i.value)==null?void 0:h[0]});return{globals:r,navigation:e,surround:i,page:s,excerpt:l,toc:a,type:c,layout:u,next:f,prev:d}},Nf=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=Nf(t);if(n)return n}},Mf=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=Mf(e,n.children);if(r)return r}}},Df=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=Df(e,n.children);if(r)return r}}},M0=(e,t,n)=>{let r;const o=(s,i)=>{for(const a of i)if(!(s!=="/"&&a._path==="/")){if(s!=null&&s.startsWith(a._path)&&a[t]&&(r=a[t]),a._path===s)return;a.children&&o(s,a.children)}};return o(e,n),r},Xi=()=>({navBottomLink:Nf,navDirFromPath:Mf,navPageFromPath:Df,navKeyFromPath:M0});function Zi(e){return JSON.stringify(e,D0)}function D0(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const Ff=e=>{let t=Zi(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},ea=()=>({isEnabled:()=>{const r=at().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||no("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>no("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{no("previewToken").value=r,at().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),xo=e=>qu(e,Je().public.content.api.baseURL),jf=()=>{const{experimental:e}=Je().public.content;return e.clientDB?!0:ea().isEnabled()},Vc=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),ta=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),uP=e=>t=>e&&e.length?ta(t,n=>!e.includes(n)):t,fP=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),Hf=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},dP=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Hf(e);return ta(t,o=>!r.includes(o)&&!n.includes(o[0]))},hP=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Hf(e);return ta(t,o=>r.includes(o)||n.includes(o[0]))},pP=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[Vc(s,o),Vc(i,o)].map(c=>{if(c!==null)return c instanceof Date?c.toISOString():c});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},mP=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},Ct=e=>Array.isArray(e)?e:[void 0,null].includes(e)?[]:[e],F0=["sort","where","only","without"];function j0(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=F0.includes(i)?Ct(t.initialParams[i]):t.initialParams[i];const r=(i,a=c=>c)=>(...c)=>(n[i]=a(...c),s),o=i=>{var a;return t.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(a=i.dirConfig)==null?void 0:a._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},s={params:()=>({...n,...n.where?{where:[...Ct(n.where)]}:{},...n.sort?{sort:[...Ct(n.sort)]}:{}}),only:r("only",Ct),without:r("without",Ct),where:r("where",i=>[...Ct(n.where),...Ct(i)]),sort:r("sort",i=>[...Ct(n.sort),...Ct(i)]),limit:r("limit",i=>parseInt(String(i),10)),skip:r("skip",i=>parseInt(String(i),10)),find:()=>e(s).then(o),findOne:()=>e(r("first")(!0)).then(o),count:()=>e(r("count")(!0)).then(o),locale:i=>s.where({_locale:i}),withSurround:r("surround",(i,a)=>({query:i,...a})),withDirConfig:()=>r("dirConfig")(!0)};return t.legacy&&(s.findSurround=(i,a)=>s.withSurround(i,a).find().then(o)),s}const H0=()=>async e=>{const{content:t}=Je().public,n=e.params(),r=t.experimental.stripQueryParameters?xo(`/query/${`${Co(n)}.${t.integrity}`}/${Ff(n)}.json`):xo(`/query/${Co(n)}.${t.integrity}.json`);if(jf())return(await D(()=>import("./client-db.bc68c902.js"),[],import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:Zi(n),previewToken:ea().getPreviewToken()}});if(typeof o=="string"&&o.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return o};function oo(e,...t){const{content:n}=Je().public,r=j0(H0(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=Vs(Zt(e,...t)));const s=r.params;return r.params=()=>{var a,c,l;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:yn(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((l=(c=i.where)==null?void 0:c.find(f=>f._locale))!=null&&l._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const B0=async e=>{const{content:t}=Je().public;typeof(e==null?void 0:e.params)!="function"&&(e=oo(e));const n=e.params(),r=t.experimental.stripQueryParameters?xo(`/navigation/${`${Co(n)}.${t.integrity}`}/${Ff(n)}.json`):xo(`/navigation/${Co(n)}.${t.integrity}.json`);if(jf())return(await D(()=>import("./client-db.bc68c902.js"),[],import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:Zi(n),previewToken:ea().getPreviewToken()}});if(typeof o=="string"&&o.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return o},z0=Ge(e=>{var l,u,f,d;const t=(u=(l=Je())==null?void 0:l.public)==null?void 0:u.content.documentDriven,n=(d=(f=Je())==null?void 0:f.public)==null?void 0:d.content.experimental.clientDB,{navigation:r,pages:o,globals:s,surrounds:i}=xn(),a=(h,m,p,_)=>{var g;if(m&&(m!=null&&m.layout))return m.layout;if(h.matched.length&&((g=h.matched[0].meta)!=null&&g.layout))return h.matched[0].meta.layout;if(p&&m){const{navKeyFromPath:y}=Xi(),w=y(m._path,"layout",p);if(w)return w}if(t.layoutFallbacks&&_){let y;for(const w of t.layoutFallbacks)if(_[w]&&_[w].layout){y=_[w].layout;break}if(y)return y}return"default"},c=async(h,m=!1)=>{e.callHook("content:document-driven:start",{route:h,dedup:m});const p=h.meta.documentDriven||{};if(h.meta.documentDriven===!1)return;const _=yn(h.path),g=[];if(t.navigation&&p.navigation!==!1){const y=()=>{const{navigation:w}=xn();return w.value&&!m?w.value:B0().then(v=>(w.value=v,v)).catch(()=>null)};g.push(y)}else g.push(()=>Promise.resolve(null));if(t.globals){const y=()=>{const{globals:w}=xn();if(typeof t.globals=="object"&&Array.isArray(t.globals)){console.log("Globals must be a list of keys with QueryBuilderParams as a value.");return}return Promise.all(Object.entries(t.globals).map(([v,x])=>{if(!m&&w.value[v])return w.value[v];let A="findOne";return x!=null&&x.type&&(A=x.type),oo(x)[A]().catch(()=>null)})).then(v=>v.reduce((x,A,I)=>{const R=Object.keys(t.globals)[I];return x[R]=A,x},{}))};g.push(y)}else g.push(()=>Promise.resolve(null));if(t.page&&p.page!==!1){let y={_path:_};typeof p.page=="string"&&(y={_path:p.page}),typeof p.page=="object"&&(y=p.page);const w=()=>{const{pages:v}=xn();return!m&&v.value[_]&&v.value[_]._path===_?v.value[_]:oo().where(y).findOne().catch(()=>null)};g.push(w)}else g.push(()=>Promise.resolve(null));if(t.surround&&p.surround!==!1){let y=_;["string","object"].includes(typeof p.page)&&(y=p.page),["string","object"].includes(typeof p.surround)&&(y=p.surround);const w=()=>{const{surrounds:v}=xn();return!m&&v.value[_]?v.value[_]:oo().where({_partial:{$not:!0},navigation:{$not:!1}}).without(["body"]).findSurround(y).catch(()=>null)};g.push(w)}else g.push(()=>Promise.resolve(null));return await Promise.all(g.map(y=>y())).then(async([y,w,v,x])=>{var I,R;y&&(r.value=y),w&&(s.value=w),x&&(i.value[_]=x);const A=(v==null?void 0:v.redirect)||((R=(I=v==null?void 0:v._dir)==null?void 0:I.navigation)==null?void 0:R.redirect);if(A)return o.value[_]=v,A;if(v){const B=a(h,v,y,w),$=ir[B];$&&typeof $=="function"&&await $(),h.meta.layout=B,v.layout=B}o.value[_]=v,await e.callHook("content:document-driven:finish",{route:h,dedup:m,page:v,navigation:y,globals:w,surround:x})})};{const h=ct();e.hook("link:prefetch",m=>{if(!(m in o.value)&&!Yt(m)){const p=h.resolve(m);p.matched.length>0&&c(p)}}),e.hooks.hook("content:document-driven:finish",({page:m})=>{var p;(p=m==null?void 0:m.body)!=null&&p.children&&Bf(m.body.children)})}ky(async(h,m)=>{if(!n&&h.path===m.path){if(!h.meta.layout){const _=yn(h.path);o.value[_]&&(h.meta.layout=o.value[_].layout)}return}const p=await c(h,!1);if(p)return Yt(p)?tf(e,pf,[p,{external:!0}]):p}),e.hook("app:data:refresh",async()=>await c(at(),!0))});function Bf(e){for(const t of e)if(t.children&&Bf(t.children),t.type==="element"&&t.tag){const n=N0(t.tag);for(const r of["Prose"+n,n])I0.includes(r)&&a_(r)}}let na=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const zf=new RegExp("\\{([^}]+)\\}","g"),V0="@dark",U0="@light",K0="@initial";function Uc(e,t,n,r="."){typeof t=="string"&&(t=t.split(r));const o=t.length-1;for(let i=0;i<o;++i){const a=t[i];e=e[a]??(e[a]={})}const s=t[o];e[s]=n}function Ao(e,t,n="."){typeof t=="string"&&(t=t.split(n));const r=t.length-1;for(let s=0;s<r;++s){const i=t[s];e=e[i]??(e[i]={})}const o=t[r];return e[o]}function Vf(e,t,n=[]){let r={};if(e.value)r=t(e,r,n);else for(const o in e)e[o]&&typeof e[o]=="object"&&(r[o]=Vf(e[o],t,[...n,o]));return r}function Uf(e,t,n=!1){let r={};if(e.value)r=e;else for(const o in e){if(o==="$schema"){n||(r[o]=e[o]);continue}if(o==="utils"){r[o]=e[o];continue}if(e[o]&&(typeof e[o]=="string"||typeof e[o]=="number"||typeof e[o]=="boolean"||typeof e[o]=="symbol"||typeof e[o]=="bigint"))r[o]={value:e[o]};else if(e[o]&&typeof e[o]=="object"){const s=Object.keys(e[o]);if(s.includes("initial")&&s.some(i=>t.includes(i))){r[o]={value:e[o]};continue}r[o]=Uf(e[o],t,n)}}return r}function W0(e={},t={}){const n={key:"attributes.variable",onNotFound:!1,...t};function r(o=void 0,s){if(!o)return M(e);const i={...n,...s},{key:a,onNotFound:c}=i,l=Ao(M(e),o);if(!l&&typeof c=="function"){c(o,i);return}return a?l&&(l[a]?l[a]:Ao(l,a)):l}return r.bind(this)}function Kf(e){return Array.isArray(e)&&(e=e.join("-")),e.charAt(0)==="{"&&e.charAt(e.length-1)==="}"&&(e=e.substr(1,e.length-2)),`--${e.split(".").join("-")}`}function q0(e,t,n,r,o=[],s,i){var c;const a=J0(e,t,r,s,i);return a||((c=s==null?void 0:s.utils)!=null&&c[e]?typeof s.utils[e]=="function"?s.utils[e](t):t?s.utils[e]:{}:(t=Q0(e,t,o,s,i),{[e]:t}))}function Q0(e,t,n,r,o){return(Array.isArray(t)||typeof t=="string"||typeof t=="number")&&(Array.isArray(t)?t=t.map(s=>Kc(e,s,n,r,o)).join(","):t=Kc(e,t,n,r,o)),t}function Kc(e,t,n,r,o){return typeof t=="number"?t:(t.match(zf)&&(t=Wf(e,t,n,r,o)),t==="{}"?"":t)}function Wf(e,t,n,r,o){return typeof t!="string"||(t=t.replace(zf,(s,i)=>{const a=Kf(i),c=`var(${a})`;if(n.includes(a))return c;const l=r.$tokens(i,{key:void 0,loc:o}),u=typeof l=="string"?l:(l==null?void 0:l.variable)||(l==null?void 0:l.value);return u||c})),t}function J0(e,t,n,r,o){if(e.startsWith("@")){const s=a=>{a=r.options.colorSchemeMode==="class"?`:root.${a}`:`@media (prefers-color-scheme: ${a})`;const c=a.startsWith("@media");return r!=null&&r.runtime?{"@media":{[a]:t}}:{[c?a:`${a} &`]:t}};if(e===V0)return s("dark");if(e===U0)return s("light");if(e===K0){const a=r.$tokens("media.initial",{key:"value",onNotFound:!1,loc:o});return{[`@media${a?` ${a}`:""}`]:t}}const i=r.$tokens("media",{key:void 0,loc:o});if(i){const a=e.replace("@","");if(i[a])return{[`@media ${i[a].value}`]:t}}return{[e]:t}}}function G0(e,t,n,r){var i;let o="";if(e==="dark"||e==="light")r==="class"?o=`:root.${e}`:o=`(prefers-color-scheme: ${e})`;else if(e!=="initial"&&n){const a=(i=n==null?void 0:n.media)==null?void 0:i[e];a&&(o=a.value)}let s;return o?o.startsWith(".")?s=`@media { :root${o} {`:o.startsWith(":root")?s=`@media { ${o} {`:s=`@media ${o} { :root {`:s="@media { :root {",`${`${`${s}--pinceau-mq: ${String(e)}; ${t}`} } }`}
|
|
`}const Wc=/\s*,\s*(?![^()]*\))/,Y0=(e,t)=>e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):`${r} ${o}`)),n),[]),{prototype:{toString:X0}}=Object,Z0=(e,t=void 0)=>{const n=new WeakSet,r=(s,i,a,c,l,u,f)=>{for(let d=0;d<a.length;++d)n.has(a[d])||(n.add(a[d]),s+=`${a[d]}{`);return i.length&&!n.has(i)&&(n.add(i),s+=`${i}{`),u?c=`${c} `:f?c=`${c}:`:c=`${ri(c)}:`,s+=`${c+String(l)};`,s},o=(s,i,a,c,l)=>{let u="";for(const f in s){const d=f.charCodeAt(0)===64,h=f.charCodeAt(0)===45&&f.charCodeAt(1)===45;for(const m of d&&Array.isArray(s[f])?s[f]:[s[f]]){if(t&&(f!==c||m!==l)){const _=t(f,m,s,i);if(_!==null){u+=typeof _=="object"&&_?o(_,i,a,f,m):_??"";continue}}if(typeof m=="object"&&m&&m.toString===X0){n.has(i)&&(n.delete(i),u+="}");const _=Object(f);let g;d?(g=i,u+=o(m,g,a.concat(_))):(g=i.length?Y0(i,f.split(Wc)):f.split(Wc),u+=o(m,g,a)),n.has(_)&&(n.delete(_),u+="}"),n.has(g)&&(n.delete(g),u+="}")}else u=r(u,i,a,f,m,d,h)}}return u};return o(e,[],[])},qf=".phy[--]";function ew(e,t={},n,r){const o=le(),s=le(t),i={},a=(m,p)=>Z0(m,(_,g,y,w)=>q0(_,g,y,w,[],{$tokens:e,utils:s.value,options:{colorSchemeMode:n,runtime:!0}},p));function c(){const m=globalThis||window;let p,_;if(m&&m.document){const g=`pinceau-runtime${r?`-${r}`:""}`,y=m.document;if(p=y.querySelector(`style#${g}`),!p){const w=y.createElement("style");w.id=g,w.type="text/css",p=y.head.appendChild(w)}_=y.querySelector(`style#pinceau-runtime-hydratable${r?`-${r}`:""}`)}return o.value=(p==null?void 0:p.sheet)||tw(),_?l(_):void 0}function l(m){var _,g;const p={};for(const y of Object.entries(((_=m==null?void 0:m.sheet)==null?void 0:_.cssRules)||((g=o.value)==null?void 0:g.cssRules)||{})){const[w,v]=y,x=nw(v);if(!x||!x.uid)continue;p[x.uid]||(p[x.uid]={});const A=o.value.insertRule(v.cssText,Number(w));p[x.uid][x.type]=o.value.cssRules.item(A)}return m&&m.remove(),p}function u(){return o.value?Object.entries(o.value.cssRules).reduce((m,[,p])=>(m+=`${p==null?void 0:p.cssText} `||"",m),""):""}function f(m,p,_,g,y){if(!Object.keys(_).length)return;const w=a({"@media":{[qf]:{"--puid":`${m}-${p}`},..._}},y);if(!w)return;g&&d(g);const v=o.value.insertRule(w);return o.value.cssRules[v]}function d(m){const p=Object.values(o.value.cssRules).indexOf(m);if(!(typeof p>"u"||isNaN(p)))try{o.value.deleteRule(p)}catch{}}const h=c();return{stringify:a,cache:i,pushDeclaration:f,deleteRule:d,sheet:o,toString:u,hydratableRules:h}}function tw(){return{cssRules:[],insertRule(e,t=this.cssRules.length){return this.cssRules.splice(t,1,{cssText:e}),t},deleteRule(e){delete this.cssRules[e]}}}function nw(e){const t=e.cssRules&&e.cssRules.length?Object.entries(e==null?void 0:e.cssRules).find(([s,i])=>i.selectorText===qf):void 0;if(!t)return;const n=/--puid:(.*)?-(c|v|p)?/m,[,r,o]=t[1].cssText.match(n);if(r)return{uid:r,type:o}}function rw(e,t,n){var a,c,l;let r;const o=(a=e==null?void 0:e.vnode)==null?void 0:a.el;o&&o.classList?o.classList.forEach(u=>{r||u.startsWith("pc-")&&(r=u.split("pc-")[1])}):r=na(6);const s=(l=(c=e==null?void 0:e.vnode)==null?void 0:c.type)==null?void 0:l.__scopeId,i={uid:r,componentId:s?`[${s}]`:"",uniqueClassName:`pc-${r}`};return t.value.c=i.uniqueClassName,ee(()=>i)}function ow(e,t={},n){const r=le(),o=le(e||{});t=Object.assign({key:"variable"},t||{});const s=W0(o,t);let i={};c();function a(p){var _;for(const g of p.styleSheets)if((_=g==null?void 0:g.ownerNode)!=null&&_.textContent.includes("--pinceau-mq"))return g.ownerNode}function c(){var _;const p=globalThis||window;if(p&&p.document){let g=document.querySelector("#pinceau-theme");g||(g=a(document)),r.value=g==null?void 0:g.sheet,r.value&&l((_=r.value)==null?void 0:_.cssRules)}}function l(p){i={},Object.entries(p||{}).forEach(([_,g])=>{var w,v;if((g==null?void 0:g.type)!==4&&!((w=g==null?void 0:g.cssText)!=null&&w.includes("--pinceau-mq")))return!1;let y="initial";(v=g.cssText.match(/--([\w-]+)\s*:\s*(.+?);/gm))==null||v.forEach(x=>{var B;const[A,I]=x.replace(";","").split(/:\s(.*)/s);if(A==="--pinceau-mq"){if(y=I,!i[I]){const $=(B=Object.entries((g==null?void 0:g.cssRules)||{}).find(([O,C])=>C==null?void 0:C.cssText.includes(`--pinceau-mq: ${I}`)))==null?void 0:B[1];$&&(i[I]=$)}return}const R=[...A.substring(2).split("-")];Uc(o.value,R,h(R,I,A,y))})})}function u(p){var y;const _=Array.from(new Set(["dark","light",...Object.keys((p==null?void 0:p.media)||{}),...Object.keys(((y=o.value)==null?void 0:y.media)||{})])),g=Uf(p||{},_,!0);Vf(g,(w,v,x)=>f(x,w.value))}function f(p,_,g="initial"){var v;if(typeof _=="object"){Object.entries(_).forEach(([x,A])=>f(p,A,x));return}const y=Kf(p);i!=null&&i[g]||m(g);const w=Wf(void 0,_,[],{$tokens:s});Uc(o.value,p,h(p,w,y,g)),(v=i==null?void 0:i[g])==null||v.style.setProperty(y,w)}function d(p){return ee({get(){return Ao(o.value,`${p}.value`)},set(_){f(p,_)}})}function h(p,_,g,y="initial"){const w={value:_,variable:`var(${g})`},v=Ao(o.value,p);return v&&!g.startsWith("--media")&&(typeof(v==null?void 0:v.value)=="object"?w.value={...v.value,[y]:_}:w.value={initial:v.value,[y]:_}),w}function m(p){if(i!=null&&i[p])return i==null?void 0:i[p];const _=G0(p,"",o.value,n),g=r.value.insertRule(_,r.value.cssRules.length);return i[p]=r.value.cssRules.item(g).cssRules[0],i[p]}return{$tokens:s,updateToken:f,updateTheme:u,reactiveToken:d,resolveStylesheet:c,theme:o}}function sw(e,t,n,r){var s,i;let o=(i=(s=n.hydratableRules)==null?void 0:s[e.value.uid])==null?void 0:i.c;ve(()=>t,a=>{a=iw(e.value,a),o=n.pushDeclaration(e.value.uid,"c",a,o,{...r,type:"c"})},{immediate:!o,deep:!0}),Un(()=>o&&n.deleteRule(o))}function iw(e,t){const n={},r=`.${e.uniqueClassName}${e.componentId}`;if(t&&Object.keys(t).length){n[r]=n[r]||{};for(const[o,s]of Object.entries(t)){const i=M(s);if(o==="css"){n[r]=Object.assign(n[r],i);continue}if(typeof i=="object")for(const[a,c]of Object.entries(i)){const l=M(c);if(!l)continue;a==="initial"&&(n[r]||(n[r]={}),n[r]||(n[r]={}),n[r][`--${o}`]=l);const u=`@${a}`;n[u]||(n[u]={}),n[u][r]||(n[u][r]={}),n[u][r][`--${ri(o)}`]=l}else{const a=M(i);a&&(n[r][`--${ri(o)}`]=a)}}}return n}const aw=(e,t,n,r,o,s)=>{var l,u;let i=(u=(l=r.hydratableRules)==null?void 0:l[e.value.uid])==null?void 0:u.v;const a=ee(()=>t?lw(e.value,n,t):{}),c=le([]);return ve(a,({cacheId:f,variantsProps:d})=>{let h;if(r.cache[f]){const m=r.cache[f];i=m.rule,h=m.variantClass,m!=null&&m.classes&&(c.value=m.classes),m.count++}else{h=`pv-${na(6)}`;const{declaration:m,classes:p}=cw(h,e.value,t,d);c.value=p,i=r.pushDeclaration(e.value.uid,"v",m,void 0,{...s,type:"v"}),r.cache[f]={rule:i,variantClass:h,classes:p,count:1}}o.value.v=h},{immediate:!0}),Un(()=>{var h;const f=a==null?void 0:a.value,d=(h=r.cache)==null?void 0:h[f.cacheId];d&&(d.count--,d.count<=0&&(r.deleteRule(d.rule),delete r.cache[f.cacheId]))}),{variantsClasses:c}};function cw(e,t,n,r){var i,a;let o=[];const s={};if(r&&Object.keys(r).length){const c=`.${e}`;for(const[l,u]of Object.entries(r))if(typeof u=="object")for(const[f,d]of Object.entries(u)){const h=(d==null?void 0:d.toString())||d,m=n[l][h];if(!m)continue;if(s[c]||(s[c]={}),typeof m=="string"||Array.isArray(m)||m!=null&&m.$class){const _=typeof m=="string"||Array.isArray(m)?m:m.$class;o=[...o,...typeof _=="string"?_.split(" "):_],delete m.$class}f==="initial"&&(s[c]||(s[c]={}),s[c]=hr(s[c],m));const p=`@${f}`;s[p]||(s[p]={}),s[p][c]||(s[p][c]={}),s[p][c]=hr(s[p][c],m)}else{const f=((i=u==null?void 0:u.toString)==null?void 0:i.call(u))||u,d=(a=n==null?void 0:n[l])==null?void 0:a[f];if(!d)continue;s[c]||(s[c]={}),s[c]=hr(s[c],d)}}return{declaration:s,classes:o}}function lw(e,t,n){if(!t||!n)return{};let r=e.componentId;const o=Object.entries(t).reduce((s,[i,a])=>(n[i]&&(typeof a=="object"?Object.entries(a).forEach(([c,l])=>r+=`${i}:${c}:${l}|`):r+=`${i}:${a}|`,s[i]=a),s),{});return{cacheId:r,variantsProps:o}}function uw(e,t,n,r){var i,a;let o=(a=(i=n.hydratableRules)==null?void 0:i[e.value.uid])==null?void 0:a.p;const s=ee(()=>t==null?void 0:t.css);ve(s,c=>{c=fw(e.value,c),o&&n.deleteRule(o),o=n.pushDeclaration(e.value.uid,"p",c,o,{...r,type:"c"})},{immediate:!o}),Un(()=>o&&n.deleteRule(o))}function fw(e,t){const n={};if(t){const r=`.${e.uniqueClassName}${e.componentId}`;n[r]=Object.assign(n[r]||{},t)}return n}const dw={theme:{},utils:{},tokensHelperConfig:{},multiApp:!1,colorSchemeMode:"media",dev:!1},hw={install(e,t){t=Object.assign(dw,t);const{theme:n,tokensHelperConfig:r,dev:o,multiApp:s,colorSchemeMode:i,utils:a}=t,c=ow(n,r,i),l=s?na(6):void 0,u=ew(c.$tokens,a,i,l);function f(d={},h,m){const p=pt();let _;const g=le({v:"",c:""}),y=rw(p,g);m&&Object.keys(m).length>0&&sw(y,m,u,_);let w;if(h&&Object.keys(h).length>0){const{variantsClasses:v}=aw(y,h,d,u,g,_);w=v}return d!=null&&d.css&&Object.keys(d==null?void 0:d.css).length>0&&uw(y,d,u,_),{$pinceau:ee(()=>{var v;return[g.value.v,g.value.c,(v=w==null?void 0:w.value)==null?void 0:v.join(" ")].join(" ")})}}e.config.globalProperties.$pinceauRuntime=f,e.config.globalProperties.$pinceauTheme=c,e.config.globalProperties.$pinceauSsr={get:()=>u.toString()},e.provide("pinceauRuntime",f),e.provide("pinceauTheme",c)}};function pw(e,t,n){return je("pinceauRuntime")(e,t,n)}function gP(){return je("pinceauTheme")}function yP(e,t=!1){return{type:[String,Object],default:e,required:t}}const mw=e=>({marginTop:e,marginBottom:e}),gw=e=>({marginLeft:e,marginRight:e}),yw=e=>({paddingTop:e,paddingBottom:e}),_w=e=>({paddingLeft:e,paddingRight:e}),vw={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},bw=e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),ww=e=>({fontSize:`{text.${e}.fontSize}`,lineHeight:`{text.${e}.lineHeight}`}),Ew=e=>({color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`,borderColor:`{elements.state.${e}.borderColor.primary} !important`,":deep(p code)":{color:`{elements.state.${e}.color.secondary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(code)":{color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(a code)":{borderColor:`{elements.state.${e}.borderColor.primary} !important`},":deep(a)":{borderColor:"currentColor",code:{backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`},"&:hover":{color:`{elements.state.${e}.color.secondary} !important`,borderColor:"currentColor !important",code:{backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`,color:`{elements.state.${e}.color.secondary} !important`,borderColor:`{elements.state.${e}.borderColor.secondary} !important`}}}}),Tw={my:mw,mx:gw,py:yw,px:_w,truncate:vw,lineClamp:bw,text:ww,stateColors:Ew},Cw=Ge(async e=>e.vueApp.use(hw,{colorSchemeMode:"class",utils:Tw})),Pw="__NUXT_COLOR_MODE__",xw="ColorScheme",Aw="theme",Sw="nuxt-color-mode",Pt=window[Pw],Rw=Ge(e=>{const t=St("color-mode",()=>tt({preference:Pt.preference,value:Pt.value,unknown:!1,forced:!1})).value;To({htmlAttrs:{[`data-${Aw}`]:ee(()=>t.value)}}),ct().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Pt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Pt.getColorScheme())}))}ve(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=Pt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(Sw,o))},{immediate:!0}),ve(()=>t.value,(o,s)=>{Pt.removeColorScheme(s),Pt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Pt.preference,t.value=Pt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Iw=Ge(e=>{const t=Je().public.studio||{},n=at(),r=no("previewToken",{sameSite:"none",secure:!0}),o=St("studio-client-db",()=>null);async function s(){const i=await D(()=>import("./useStudio.a01a36c4.js"),["./useStudio.a01a36c4.js","./useStudio.ee2c383f.css"],import.meta.url).then(l=>l.useStudio),{mountPreviewUI:a,initiateIframeCommunication:c}=i();a(),c()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}}),kw=Ge({name:"nuxt:chunk-reload",setup(e){const t=ct(),n=Je(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:Zt(n.app.baseURL,s.fullPath);l_({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),Ow=Ge(e=>{let t;const n=Je();async function r(){const o=await Jo();t&&clearTimeout(t),t=setTimeout(r,1e3*60*60);const s=await $fetch(Zt(n.app.cdnURL||n.app.baseURL,n.app.buildAssetsDir,"builds/latest.json"));s.id!==o.id&&e.hooks.callHook("app:manifest:update",s)}qi(()=>{t=setTimeout(r,1e3*60*60)})}),Lw=Ge(e=>{const t=le(!1),n=()=>t.value=!0,r=()=>t.value=!1,o=()=>t.value=!t.value;return e.$router.afterEach(()=>setTimeout(r,50)),ve(t,s=>{const i=document.documentElement;s?i.style.overflow="hidden":setTimeout(()=>{i.style.overflow=""},100)},{immediate:!0}),{provide:{menu:{visible:t,close:r,open:n,toggle:o}}}}),$w=Ge(()=>{navigator&&navigator.userAgent&&navigator.userAgent.match(/Win[a-z0-9]*;/)&&document.documentElement.classList.add("docus-scrollbars")}),Nw=[x_,S_,jv,Hv,S0,R0,z0,Cw,Rw,Iw,kw,Ow,Lw,$w],Mw=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),oi=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&Mw(e.route,n));return typeof r=="function"?r(e.route):r},Dw=(e,t)=>({default:()=>e?et(op,e===!0?{}:e,t):t}),Fw=Re({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return $n(Wo,Kt(r)),()=>et(e.vnode,{ref:e.vnodeRef})}}),jw=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?et(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),Hw=Re({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=me(),o=le(),s=je(Wo,null);n({pageRef:o});const i=je(Iy,null);let a;const c=r.deferHydration();return()=>et(Lf,{name:e.name,route:e.route,...t},{default:l=>{const u=Vw(s,l.route,l.Component),f=s&&s.matched.length===l.route.matched.length;if(!l.Component){if(a&&!f)return a;c();return}if(a&&i&&!i.isCurrent(l.route))return a;if(u&&s&&(!i||i!=null&&i.isCurrent(s)))return f?a:null;const d=oi(l,e.pageKey),h=!!(e.transition??l.route.meta.pageTransition??Zs),m=h&&zw([e.transition,l.route.meta.pageTransition,Zs,{onAfterLeave:()=>{r.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return a=jw(Ui,h&&m,Dw(e.keepalive??l.route.meta.keepalive??My,et(au,{suspensible:!0,onPending:()=>r.callHook("page:start",l.Component),onResolve:()=>{wt(()=>r.callHook("page:finish",l.Component).finally(c))}},{default:()=>et(Fw,{key:d,vnode:l.Component,route:l.route,renderKey:d,trackRootNodes:h,vnodeRef:o})}))).default(),a}})}});function Bw(e){return Array.isArray(e)?e:e?[e]:[]}function zw(e){const t=e.map(n=>({...n,onAfterLeave:Bw(n.onAfterLeave)}));return hr(...t)}function Vw(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,c;return((i=o.components)==null?void 0:i.default)!==((c=(a=e.matched[s])==null?void 0:a.components)==null?void 0:c.default)})||n&&oi({route:t,Component:n})!==oi({route:e,Component:n})}const Qf={__name:"AppLoadingBar",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3}},setup(e){const t=e,n=me(),r=tt({percent:0,show:!1,canSucceed:!0});let o=null,s=null,i;function a(){o&&clearInterval(o),s&&clearTimeout(s),o=null}function c(){r.show||(a(),r.percent=0,r.canSucceed=!0,t.throttle?s=setTimeout(d,t.throttle):d())}function l(h){r.percent=Math.min(100,Math.floor(r.percent+h))}function u(){r.percent=100,f()}function f(){a(),setTimeout(()=>{r.show=!1,setTimeout(()=>{r.percent=0},400)},500)}function d(){r.show=!0,i=1e4/Math.floor(t.duration),o=setInterval(()=>{l(i)},100)}return n.hook("content:middleware:start",c),n.hook("page:start",c),n.hook("page:finish",u),Qn(()=>a),(h,m)=>(K(),ue("div",{class:Ue(["nuxt-progress",{"nuxt-progress-failed":!M(r).canSucceed}]),style:Vn({width:`${M(r).percent}%`,left:M(r).left,opacity:M(r).show?1:0,backgroundSize:`${100/M(r).percent*100}% auto`})},null,6))}},Uw=Object.freeze(Object.defineProperty({__proto__:null,default:Qf},Symbol.toStringTag,{value:"Module"})),Jf=Object.freeze({left:0,top:0,width:16,height:16}),Gf=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ra=Object.freeze({...Jf,...Gf});Object.freeze({...ra,body:"",hidden:!1});({...Jf});const Yf=Object.freeze({width:null,height:null}),Xf=Object.freeze({...Yf,...Gf});function Kw(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in Yf?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Ww=/[\s,]+/;function qw(e,t){t.split(Ww).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Qw(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Jw=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Gw=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qc(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Jw);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Gw.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const Yw=e=>e==="unset"||e==="undefined"||e==="none";function Xw(e,t){const n={...ra,...e},r={...Xf,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const p=[],_=m.hFlip,g=m.vFlip;let y=m.rotate;_?g?y+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):g&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let w;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:w=o.height/2+o.top,p.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,p.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}y%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),p.length&&(s='<g transform="'+p.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=qc(f,c/l)):(u=i==="auto"?c:i,f=a===null?qc(u,l/c):a==="auto"?l:a);const d={},h=(m,p)=>{Yw(p)||(d[m]=p.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:s}}const Zw=/\sid="(\S+)"/g,eE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let tE=0;function nE(e,t=eE){const n=[];let r;for(;r=Zw.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(tE++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function rE(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function oE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function sE(e){return"data:image/svg+xml,"+oE(e)}function iE(e){return'url("'+sE(e)+'")'}const Qc={...Xf,inline:!1},aE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},cE={display:"inline-block"},si={backgroundColor:"currentColor"},Zf={backgroundColor:"transparent"},Jc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Gc={webkitMask:si,mask:si,background:Zf};for(const e in Gc){const t=Gc[e];for(const n in Jc)t[e+n]=Jc[n]}const so={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";so[e+"-flip"]=t,so[e.slice(0,1)+"-flip"]=t,so[e+"Flip"]=t});function Yc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const lE=(e,t)=>{const n=Kw(Qc,t),r={...aE},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const _=t[p];if(_!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&qw(n,_);break;case"color":s.color=_;break;case"rotate":typeof _=="string"?n[p]=Qw(_):typeof _=="number"&&(n[p]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete r["aria-hidden"];break;default:{const g=so[p];g?(_===!0||_==="true"||_===1)&&(n[g]=!0):Qc[p]===void 0&&(r[p]=_)}}}const c=Xw(e,n),l=c.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,l);let p=0,_=t.id;return typeof _=="string"&&(_=_.replace(/-/g,"_")),r.innerHTML=nE(c.body,_?()=>_+"ID"+p++:"iconifyVue"),et("svg",r)}const{body:u,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),m=rE(u,{...l,width:f+"",height:d+""});return r.style={...s,"--svg":iE(m),width:Yc(l.width),height:Yc(l.height),...cE,...h?si:Zf,...a},et("span",r)},uE=Object.create(null),fE=Re({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?uE[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:lE({...ra,...n},e)}}),yr=/^[a-z0-9]+(-[a-z0-9]+)*$/,Yo=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!io(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!io(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!io(a,n)?null:a}return null},io=(e,t)=>e?!!((e.provider===""||e.provider.match(yr))&&(t&&e.prefix===""||e.prefix.match(yr))&&e.name.match(yr)):!1,ed=Object.freeze({left:0,top:0,width:16,height:16}),So=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),oa=Object.freeze({...ed,...So}),ii=Object.freeze({...oa,body:"",hidden:!1});function dE(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Xc(e,t){const n=dE(e,t);for(const r in ii)r in So?r in e&&!(r in n)&&(n[r]=So[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function hE(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function pE(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Xc(r[a]||o[a],s)}return i(t),n.forEach(i),Xc(e,s)}function td(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=hE(e);for(const o in r){const s=r[o];s&&(t(o,pE(e,o,s)),n.push(o))}return n}const mE={provider:"",aliases:{},not_found:{},...ed};function vs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function nd(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!vs(e,mE))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(yr)||typeof s.body!="string"||!vs(s,ii))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(yr)||typeof i!="string"||!n[i]&&!r[i]||!vs(s,ii))return null}return t}const Zc=Object.create(null);function gE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function _n(e,t){const n=Zc[e]||(Zc[e]=Object.create(null));return n[t]||(n[t]=gE(e,t))}function sa(e,t){return nd(t)?td(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function yE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Rr=!1;function rd(e){return typeof e=="boolean"&&(Rr=e),Rr}function _E(e){const t=typeof e=="string"?Yo(e,!0,Rr):e;if(t){const n=_n(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function vE(e,t){const n=Yo(e,!0,Rr);if(!n)return!1;const r=_n(n.provider,n.prefix);return yE(r,n.name,t)}function bE(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Rr&&!t&&!e.prefix){let o=!1;return nd(e)&&(e.prefix="",td(e,(s,i)=>{i&&vE(s,i)&&(o=!0)})),o}const n=e.prefix;if(!io({provider:t,prefix:n,name:"a"}))return!1;const r=_n(t,n);return!!sa(r,e)}const wE=Object.freeze({width:null,height:null}),EE=Object.freeze({...wE,...So});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const ai=Object.create(null);function TE(e,t){ai[e]=t}function ci(e){return ai[e]||ai[""]}function ia(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const aa=Object.create(null),er=["https://api.simplesvg.com","https://api.unisvg.com"],ao=[];for(;er.length>0;)er.length===1||Math.random()>.5?ao.push(er.shift()):ao.push(er.pop());aa[""]=ia({resources:["https://api.iconify.design"].concat(ao)});function CE(e,t){const n=ia(t);return n===null?!1:(aa[e]=n,!0)}function ca(e){return aa[e]}const PE=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let el=PE();function xE(e,t){const n=ca(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function AE(e){return e===404}const SE=(e,t,n)=>{const r=[],o=xE(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function RE(e){if(typeof e=="string"){const t=ca(e);if(t)return t.path}return"/"}const IE=(e,t,n)=>{if(!el){n("abort",424);return}let r=RE(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;el(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(AE(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},kE={prepare:SE,send:IE};function OE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=_n(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function od(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function LE(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||od([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let $E=0;function NE(e,t,n){const r=$E++,o=od.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function ME(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Yo(o,t,n):o;s&&r.push(s)}),r}var DE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function FE(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let A=e.resources.slice(0);for(i=[];A.length>1;){const I=Math.floor(Math.random()*A.length);i.push(A[I]),A=A.slice(0,I).concat(A.slice(I+1))}i=i.concat(A)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function m(){f&&(clearTimeout(f),f=null)}function p(){c==="pending"&&(c="aborted"),m(),d.forEach(A=>{A.status==="pending"&&(A.status="aborted")}),d=[]}function _(A,I){I&&(h=[]),typeof A=="function"&&h.push(A)}function g(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:_,abort:p}}function y(){c="failed",h.forEach(A=>{A(void 0,u)})}function w(){d.forEach(A=>{A.status==="pending"&&(A.status="aborted")}),d=[]}function v(A,I,R){const B=I!=="success";switch(d=d.filter($=>$!==A),c){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=R,y();return}if(B){u=R,d.length||(i.length?x():y());return}if(m(),w(),!e.random){const $=e.resources.indexOf(A.resource);$!==-1&&$!==e.index&&(e.index=$)}c="completed",h.forEach($=>{$(R)})}function x(){if(c!=="pending")return;m();const A=i.shift();if(A===void 0){if(d.length){f=setTimeout(()=>{m(),c==="pending"&&(w(),y())},e.timeout);return}y();return}const I={status:"pending",resource:A,callback:(R,B)=>{v(I,R,B)}};d.push(I),l++,f=setTimeout(x,e.rotate),n(A,t,I.callback)}return setTimeout(x),g}function sd(e){const t={...DE,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=FE(t,a,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function tl(){}const bs=Object.create(null);function jE(e){if(!bs[e]){const t=ca(e);if(!t)return;const n=sd(t),r={config:t,redundancy:n};bs[e]=r}return bs[e]}function HE(e,t,n){let r,o;if(typeof e=="string"){const s=ci(e);if(!s)return n(void 0,424),tl;o=s.send;const i=jE(e);i&&(r=i.redundancy)}else{const s=ia(e);if(s){r=sd(s);const i=e.resources?e.resources[0]:"",a=ci(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),tl):r.query(t,o,n)().abort}const nl="iconify2",Ir="iconify",id=Ir+"-count",rl=Ir+"-version",ad=36e5,BE=168;function li(e,t){try{return e.getItem(t)}catch{}}function la(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ol(e,t){try{e.removeItem(t)}catch{}}function ui(e,t){return la(e,id,t.toString())}function fi(e){return parseInt(li(e,id))||0}const Xo={local:!0,session:!0},cd={local:new Set,session:new Set};let ua=!1;function zE(e){ua=e}let Yr=typeof window>"u"?{}:window;function ld(e){const t=e+"Storage";try{if(Yr&&Yr[t]&&typeof Yr[t].length=="number")return Yr[t]}catch{}Xo[e]=!1}function ud(e,t){const n=ld(e);if(!n)return;const r=li(n,rl);if(r!==nl){if(r){const a=fi(n);for(let c=0;c<a;c++)ol(n,Ir+c.toString())}la(n,rl,nl),ui(n,0);return}const o=Math.floor(Date.now()/ad)-BE,s=a=>{const c=Ir+a.toString(),l=li(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}ol(n,c)}};let i=fi(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ui(n,i)):cd[e].add(a))}function fd(){if(!ua){zE(!0);for(const e in Xo)ud(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=_n(r,o);if(!sa(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function VE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Xo)ud(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function UE(e,t){ua||fd();function n(r){let o;if(!Xo[r]||!(o=ld(r)))return;const s=cd[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=fi(o),!ui(o,i+1))return;const a={cached:Math.floor(Date.now()/ad),provider:e.provider,data:t};return la(o,Ir+i.toString(),JSON.stringify(a))}t.lastModified&&!VE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function sl(){}function KE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,LE(e)}))}function WE(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ci(n)))return;s.prepare(n,r,o).forEach(a=>{HE(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=sa(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),UE(e,c)}catch(l){console.error(l)}KE(e)})})}))}const qE=(e,t)=>{const n=ME(e,!0,rd()),r=OE(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,sl)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(_n(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=_n(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[l][u].push(f))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&WE(c,o[l][u])}),t?NE(t,r,s):sl},QE=e=>new Promise((t,n)=>{const r=typeof e=="string"?Yo(e,!0):e;if(!r){n(e);return}qE([r||e],o=>{if(o.length&&r){const s=_E(r);if(s){t({...oa,...s});return}}n(e)})});({...EE});const il={backgroundColor:"currentColor"},JE={backgroundColor:"transparent"},al={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cl={webkitMask:il,mask:il,background:JE};for(const e in cl){const t=cl[e];for(const n in al)t[e+n]=al[n]}const ws={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ws[e+"-flip"]=t,ws[e.slice(0,1)+"-flip"]=t,ws[e+"Flip"]=t});rd(!0);TE("",kE);if(typeof document<"u"&&typeof window<"u"){fd();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!bE(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;CE(n,o)||console.error(r)}catch{console.error(r)}}}}({...oa});const GE=["width","height"],YE=Re({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){var m;let t,n;const r=e,o=me(),s=Qi();(m=s==null?void 0:s.nuxtIcon)!=null&&m.aliases;const i=St("icons",()=>({})),a=le(!1),c=ee(()=>{var p;return(((p=s.nuxtIcon)==null?void 0:p.aliases)||{})[r.name]||r.name}),l=ee(()=>{var p;return(p=i.value)==null?void 0:p[c.value]}),u=ee(()=>o.vueApp.component(c.value)),f=ee(()=>{var _,g,y;if(!r.size&&typeof((_=s.nuxtIcon)==null?void 0:_.size)=="boolean"&&!((g=s.nuxtIcon)!=null&&g.size))return;const p=r.size||((y=s.nuxtIcon)==null?void 0:y.size)||"1em";return String(Number(p))===p?`${p}px`:p}),d=ee(()=>{var p;return((p=s==null?void 0:s.nuxtIcon)==null?void 0:p.class)??"icon"});async function h(){var p;u.value||(p=i.value)!=null&&p[c.value]||(a.value=!0,i.value[c.value]=await QE(c.value).catch(()=>{}),a.value=!1)}return ve(()=>c.value,h),!u.value&&([t,n]=Tu(()=>h()),t=await t,n()),(p,_)=>M(a)?(K(),ue("span",{key:0,class:Ue(M(d)),width:M(f),height:M(f)},null,10,GE)):M(l)?(K(),de(M(fE),{key:1,icon:M(l),class:Ue(M(d)),width:M(f),height:M(f)},null,8,["icon","class","width","height"])):M(u)?(K(),de(Vo(M(u)),{key:2,class:Ue(M(d)),width:M(f),height:M(f)},null,8,["class","width","height"])):(K(),ue("span",{key:3,class:Ue(M(d)),style:Vn({fontSize:M(f),lineHeight:M(f),width:M(f),height:M(f)})},It(e.name),7))}});const Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Nt=Be(YE,[["__scopeId","data-v-121c6e7d"]]),XE=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"})),en=()=>{const e=ee(()=>{var l;return((l=Qi())==null?void 0:l.docus)||{}}),{navPageFromPath:t,navDirFromPath:n,navKeyFromPath:r}=Xi(),{navigation:o,page:s}=Dr(),i=at(),a=ee(()=>{var m,p,_,g,y,w,v,x,A,I,R;const l=((m=e==null?void 0:e.value)==null?void 0:m.titleTemplate)||r((p=s==null?void 0:s.value)==null?void 0:p._path,"titleTemplate",o.value||[])||`%s · ${((_=e==null?void 0:e.value)==null?void 0:_.title)||"Docus"}`,u=((g=e==null?void 0:e.value)==null?void 0:g.main)||{},f=((y=e==null?void 0:e.value)==null?void 0:y.header)||{},d=((w=e==null?void 0:e.value)==null?void 0:w.aside)||{},h=((v=e==null?void 0:e.value)==null?void 0:v.footer)||{};return{...e.value,titleTemplate:l,main:{...u,...r(i.path,"main",o.value||[]),...(x=s.value)==null?void 0:x.main},header:{...f,...r(i.path,"header",o.value||[]),...(A=s.value)==null?void 0:A.header},aside:{...d,...r(i.path,"aside",o.value||[]),...(I=s.value)==null?void 0:I.aside},footer:{...h,...r(i.path,"footer",o.value||[]),...(R=s.value)==null?void 0:R.footer}}});return{tree:ee(()=>{var h,m,p,_,g;let l=o.value||[];const u=i.path,f=((m=(h=a==null?void 0:a.value)==null?void 0:h.aside)==null?void 0:m.level)||0,d=((_=(p=a==null?void 0:a.value)==null?void 0:p.aside)==null?void 0:_.exclude)||[];if(f){const w=u.split("/").splice(0,1+f).join("/");l=n(w,l)||[],Array.isArray(l)||(l=[l])}if(l.length===0){if(l=t(((g=s.value)==null?void 0:g._path)||"/",o.value||[]),!l)return[];Array.isArray(l)||(l=[l])}return l.filter(y=>!d.includes(y._path))}),config:a}},ZE=Re({__name:"AppSocialIcons",setup(e){const t=["twitter","facebook","instagram","tiktok","youtube","github","medium"],{config:n}=en(),r=ee(()=>Object.entries(n.value.socials||{}).map(([o,s])=>typeof s=="object"?s:typeof s=="string"&&s&&t.includes(o)?{href:/^https?:\/\//.test(s)?s:`https://${o}.com/${s}`,icon:`fa-brands:${o}`,label:s,rel:"noopener noreferrer"}:null).filter(Boolean));return(o,s)=>{const i=Nt,a=Mr;return K(!0),ue(Pe,null,Mn(M(r),c=>(K(),de(a,{key:c.label,rel:c.rel,title:c.label,"aria-label":c.label,href:c.href,target:"_blank"},{default:nt(()=>[c.icon?(K(),de(i,{key:0,name:c.icon},null,8,["name"])):He("",!0)]),_:2},1032,["rel","title","aria-label","href"]))),128)}}});const Zo=Be(ZE,[["__scopeId","data-v-98a2f273"]]),e1=Object.freeze(Object.defineProperty({__proto__:null,default:Zo},Symbol.toStringTag,{value:"Module"})),t1={class:"docs-aside-tree"},n1=["onClick"],r1={class:"content"},o1={class:"content"},s1=Re({__name:"DocsAsideTree",props:{links:{type:Array,default:()=>[]},level:{type:Number,default:0},max:{type:Number,default:null},parent:{type:Object,default:null}},setup(e){var l;const t=e,n=at(),{config:r}=en(),o=St(`docus-docs-aside-collapse-map-${((l=t.parent)==null?void 0:l._path)||"/"}`,()=>t.level===0?{}:t.links.filter(u=>!!u.children).reduce((u,f)=>(u[f._path]=!0,u),{})),s=u=>n.path===u._path,i=u=>{var f,d,h,m;if(u.children){if(typeof o.value[u._path]<"u")return o.value[u._path];if([!0,!1].includes((f=u==null?void 0:u.aside)==null?void 0:f.collapsed))return u.aside.collapsed;if(u!=null&&u.collapsed)return u==null?void 0:u.collapsed;if((h=(d=r==null?void 0:r.value)==null?void 0:d.aside)!=null&&h.collapsed)return(m=r.value.aside)==null?void 0:m.collapsed}return!1},a=u=>o.value[u._path]=!i(u),c=ee(()=>t.links.some(u=>u.children));return(u,f)=>{const d=Nt,h=Mr,m=fa;return K(),ue("ul",t1,[(K(!0),ue(Pe,null,Mn(e.links,p=>{var _,g,y,w,v;return K(),ue("li",{key:p._path,class:Ue({"has-parent-icon":(_=e.parent)==null?void 0:_.icon,"has-children":e.level>0&&p.children,bordered:e.level>0||!M(c),active:s(p)})},[p.children?(K(),ue("button",{key:0,class:"title-collapsible-button",onClick:x=>a(p)},[oe("span",r1,[(g=p==null?void 0:p.navigation)!=null&&g.icon||p.icon?(K(),de(d,{key:0,name:((y=p==null?void 0:p.navigation)==null?void 0:y.icon)||p.icon,class:"icon"},null,8,["name"])):He("",!0),oe("span",null,It(((w=p==null?void 0:p.navigation)==null?void 0:w.title)||p.title||p._path),1)]),oe("span",null,[ae(d,{name:i(p)?"lucide:chevrons-up-down":"lucide:chevrons-down-up",class:"collapsible-icon"},null,8,["name"])])],8,n1)):(K(),de(h,{key:1,to:p.redirect?p.redirect:p._path,class:Ue(["link",{padded:e.level>0||!M(c),active:s(p)}]),exact:p.exact},{default:nt(()=>{var x,A,I;return[oe("span",o1,[(x=p==null?void 0:p.navigation)!=null&&x.icon||p.icon?(K(),de(d,{key:0,name:((A=p==null?void 0:p.navigation)==null?void 0:A.icon)||p.icon,class:"icon"},null,8,["name"])):He("",!0),oe("span",null,It(((I=p==null?void 0:p.navigation)==null?void 0:I.title)||p.title||p._path),1)])]}),_:2},1032,["to","exact","class"])),(v=p.children)!=null&&v.length&&(e.max===null||e.level+1<e.max)?uu((K(),de(m,{key:2,links:p.children,level:e.level+1,parent:p,max:e.max,class:"recursive"},null,8,["links","level","parent","max"])),[[gm,!i(p)]]):He("",!0)],2)}),128))])}}});const fa=Be(s1,[["__scopeId","data-v-6a80224d"]]),i1=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),dd=()=>{const{$menu:e}=me();return e},a1={class:"wrapper"},c1={class:"icons"},l1=Re({__name:"AppHeaderDialog",setup(e){const{navigation:t}=Dr(),{config:n}=en(),r=le(!1),o=ee(()=>{var c;return((c=n.value.aside)==null?void 0:c.exclude)||[]}),s=ee(()=>(t.value||[]).filter(c=>!o.value.includes(c._path))),{close:i,open:a}=dd();return ve(r,c=>c?a():i()),(c,l)=>{const u=Nt,f=Zo,d=fa;return K(),ue(Pe,null,[oe("button",{"aria-label":"Menu",onClick:l[0]||(l[0]=h=>r.value=!0)},[ae(u,{name:"heroicons-outline:menu","aria-hidden":"”true”"})]),(K(),de(Lu,{to:"body"},[M(r)?(K(),ue("nav",{key:0,class:"dialog",onClick:l[3]||(l[3]=h=>r.value=!1)},[oe("div",{onClick:l[2]||(l[2]=sr(()=>{},["stop"]))},[oe("div",a1,[oe("button",{"aria-label":"Menu",onClick:l[1]||(l[1]=h=>r.value=!1)},[ae(u,{name:"heroicons-outline:x","aria-hidden":"”true”"})]),oe("div",c1,[ae(f)])]),ae(d,{links:M(s)},null,8,["links"])])])):He("",!0)]))],64)}}});const hd=Be(l1,[["__scopeId","data-v-fe4a81d0"]]),u1=Object.freeze(Object.defineProperty({__proto__:null,default:hd},Symbol.toStringTag,{value:"Module"}));const f1={},d1={id:"NuxtMongooseLogo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 235.5 33.2"},h1=Lp('<rect width="32" height="32" rx="7.5" style="fill:#023430;"></rect><path d="M21.4,13.4C20.1,7.6,17.3,6.1,16.6,5a10.1,10.1,0,0,1-.7-1.5,1.6,1.6,0,0,1-.6,1.2,14.1,14.1,0,0,0-4.9,10.5c-.3,6.1,4.5,9.9,5.1,10.3a1.4,1.4,0,0,0,1.4-.2,12.1,12.1,0,0,0,4.5-11.9" style="fill:#10aa50;"></path><path d="M16.1,22.2a17.8,17.8,0,0,1-.5,3.3s.2,1.5.3,3h.5a30.6,30.6,0,0,1,.5-3.2C16.3,25,16.1,23.6,16.1,22.2Z" style="fill:#b8c4c2;"></path><path d="M16.9,25.3c-.6-.3-.8-1.7-.8-3.1s.2-4.3.1-6.5,0-10.7-.3-12.1L16.6,5c.7,1.1,3.5,2.6,4.8,8.4A12,12,0,0,1,16.9,25.3Z" style="fill:#12924f;"></path><text transform="translate(32.8 25.6)" style="font-size:25.818214416503906px;font-family:var(--font-sans);font-weight:700;"><tspan fill="currentColor" x="4" y="0">Nuxt</tspan><tspan x="67.8" y="0" style="fill:#10aa50;">Mongoose</tspan></text>',5),p1=[h1];function m1(e,t){return K(),ue("svg",d1,p1)}const pd=Be(f1,[["render",m1]]),g1=Object.freeze(Object.defineProperty({__proto__:null,default:pd},Symbol.toStringTag,{value:"Module"})),y1={key:0,class:"logo"},_1=["src"],v1=["src"],b1={key:1,class:"title"},w1=Re({__name:"AppHeaderLogo",setup(e){const{config:t}=en(),n=ee(()=>{var o;return((o=t.value.header)==null?void 0:o.logo)||!1}),r=ee(()=>{var o;return((o=t.value.header)==null?void 0:o.title)||t.value.title});return(o,s)=>{const i=pd,a=Mr;return K(),de(a,{class:"navbar-logo",to:"/","aria-label":M(r)},{default:nt(()=>[M(n)?(K(),ue("span",y1,[typeof M(n)=="string"?(K(),de(Vo(M(n)),{key:0})):M(n).light&&M(n).dark?(K(),ue(Pe,{key:1},[oe("img",{src:M(n).light,alt:"",class:"light-img"},null,8,_1),oe("img",{src:M(n).dark,alt:"",class:"dark-img"},null,8,v1)],64)):M(n)?(K(),de(i,{key:2})):He("",!0)])):(K(),ue("span",b1,It(M(r)),1))]),_:1},8,["aria-label"])}}});const md=Be(w1,[["__scopeId","data-v-a73b4fbb"]]),E1=Object.freeze(Object.defineProperty({__proto__:null,default:md},Symbol.toStringTag,{value:"Module"})),T1={key:0},C1=Re({__name:"AppHeaderNavigation",setup(e){const t=at(),{navBottomLink:n}=Xi(),{navigation:r}=Dr(),{config:o}=en(),s=ee(()=>{var l;return!!((l=o.value.aside)!=null&&l.level)}),i=ee(()=>{var l;return((l=o.value.header)==null?void 0:l.exclude)||[]}),a=ee(()=>(r.value||[]).filter(l=>!i.value.includes(l._path))),c=l=>l.exact?t.fullPath===l._path:t.fullPath.startsWith(l._path);return(l,u)=>{const f=Nt,d=Mr;return M(s)?(K(),ue("nav",T1,[oe("ul",null,[(K(!0),ue(Pe,null,Mn(M(a),h=>(K(),ue("li",{key:h._path},[ae(d,{class:Ue(["link",{active:c(h)}]),to:h.redirect?h.redirect:M(n)(h)},{default:nt(()=>{var m,p;return[h.icon&&((p=(m=M(o))==null?void 0:m.header)!=null&&p.showLinkIcon)?(K(),de(f,{key:0,name:h.icon},null,8,["name"])):He("",!0),$r(" "+It(h.title),1)]}),_:2},1032,["to","class"])]))),128))])])):He("",!0)}}});const gd=Be(C1,[["__scopeId","data-v-28b5eb10"]]),P1=Object.freeze(Object.defineProperty({__proto__:null,default:gd},Symbol.toStringTag,{value:"Module"})),yd=()=>{const{$docSearch:e}=me();return e||{hasDocSearch:le(!1)}},_d=e=>(ou("data-v-a63fbc21"),e=e(),su(),e),x1={class:"content"},A1=_d(()=>oe("span",null,"Search",-1)),S1=_d(()=>oe("span",null,[oe("kbd",null,"⌘"),oe("kbd",null,"K")],-1)),R1=Re({__name:"AppDocSearch",setup(e){const{element:t}=yd(),n=()=>t.value.querySelector("button").click();return(r,o)=>{const s=Nt;return K(),ue("button",{type:"button","aria-label":"Search",onClick:n},[oe("span",x1,[ae(s,{name:"heroicons-outline:search"}),A1,S1])])}}});const vd=Be(R1,[["__scopeId","data-v-a63fbc21"]]),I1=Object.freeze(Object.defineProperty({__proto__:null,default:vd},Symbol.toStringTag,{value:"Module"}));function Lt(e){return Array.isArray?Array.isArray(e):Ed(e)==="[object Array]"}const k1=1/0;function O1(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-k1?"-0":t}function L1(e){return e==null?"":O1(e)}function vt(e){return typeof e=="string"}function bd(e){return typeof e=="number"}function $1(e){return e===!0||e===!1||N1(e)&&Ed(e)=="[object Boolean]"}function wd(e){return typeof e=="object"}function N1(e){return wd(e)&&e!==null}function Ze(e){return e!=null}function Es(e){return!e.trim().length}function Ed(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const M1="Incorrect 'index' type",D1=e=>`Invalid value for key ${e}`,F1=e=>`Pattern length exceeds max of ${e}.`,j1=e=>`Missing ${e} property in key`,H1=e=>`Property 'weight' in key '${e}' must be a positive integer`,ll=Object.prototype.hasOwnProperty;class B1{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=Td(r);n+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Td(e){let t=null,n=null,r=null,o=1,s=null;if(vt(e)||Lt(e))r=e,t=ul(e),n=di(e);else{if(!ll.call(e,"name"))throw new Error(j1("name"));const i=e.name;if(r=i,ll.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(H1(i));t=ul(i),n=di(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function ul(e){return Lt(e)?e:e.split(".")}function di(e){return Lt(e)?e.join("."):e}function z1(e,t){let n=[],r=!1;const o=(s,i,a)=>{if(Ze(s))if(!i[a])n.push(s);else{let c=i[a];const l=s[c];if(!Ze(l))return;if(a===i.length-1&&(vt(l)||bd(l)||$1(l)))n.push(L1(l));else if(Lt(l)){r=!0;for(let u=0,f=l.length;u<f;u+=1)o(l[u],i,a+1)}else i.length&&o(l,i,a+1)}};return o(e,vt(t)?t.split("."):t,0),r?n:n[0]}const V1={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},U1={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},K1={location:0,threshold:.6,distance:100},W1={useExtendedSearch:!1,getFn:z1,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var se={...U1,...V1,...K1,...W1};const q1=/[^ ]+/g;function Q1(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(q1).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(s,a),a},clear(){n.clear()}}}class da{constructor({getFn:t=se.getFn,fieldNormWeight:n=se.fieldNormWeight}={}){this.norm=Q1(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,vt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();vt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Ze(t)||Es(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Ze(i)){if(Lt(i)){let a=[];const c=[{nestedArrIndex:-1,value:i}];for(;c.length;){const{nestedArrIndex:l,value:u}=c.pop();if(Ze(u))if(vt(u)&&!Es(u)){let f={v:u,i:l,n:this.norm.get(u)};a.push(f)}else Lt(u)&&u.forEach((f,d)=>{c.push({nestedArrIndex:d,value:f})})}r.$[s]=a}else if(vt(i)&&!Es(i)){let a={v:i,n:this.norm.get(i)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Cd(e,t,{getFn:n=se.getFn,fieldNormWeight:r=se.fieldNormWeight}={}){const o=new da({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(Td)),o.setSources(t),o.create(),o}function J1(e,{getFn:t=se.getFn,fieldNormWeight:n=se.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new da({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function Xr(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=se.distance,ignoreLocation:s=se.ignoreLocation}={}){const i=t/e.length;if(s)return i;const a=Math.abs(r-n);return o?i+a/o:a?1:i}function G1(e=[],t=se.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let a=e[s];a&&r===-1?r=s:!a&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const fn=32;function Y1(e,t,n,{location:r=se.location,distance:o=se.distance,threshold:s=se.threshold,findAllMatches:i=se.findAllMatches,minMatchCharLength:a=se.minMatchCharLength,includeMatches:c=se.includeMatches,ignoreLocation:l=se.ignoreLocation}={}){if(t.length>fn)throw new Error(F1(fn));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=s,m=d;const p=a>1||c,_=p?Array(f):[];let g;for(;(g=e.indexOf(t,m))>-1;){let I=Xr(t,{currentLocation:g,expectedLocation:d,distance:o,ignoreLocation:l});if(h=Math.min(I,h),m=g+u,p){let R=0;for(;R<u;)_[g+R]=1,R+=1}}m=-1;let y=[],w=1,v=u+f;const x=1<<u-1;for(let I=0;I<u;I+=1){let R=0,B=v;for(;R<B;)Xr(t,{errors:I,currentLocation:d+B,expectedLocation:d,distance:o,ignoreLocation:l})<=h?R=B:v=B,B=Math.floor((v-R)/2+R);v=B;let $=Math.max(1,d-B+1),O=i?f:Math.min(d+B,f)+u,C=Array(O+2);C[O+1]=(1<<I)-1;for(let S=O;S>=$;S-=1){let J=S-1,W=n[e.charAt(J)];if(p&&(_[J]=+!!W),C[S]=(C[S+1]<<1|1)&W,I&&(C[S]|=(y[S+1]|y[S])<<1|1|y[S+1]),C[S]&x&&(w=Xr(t,{errors:I,currentLocation:J,expectedLocation:d,distance:o,ignoreLocation:l}),w<=h)){if(h=w,m=J,m<=d)break;$=Math.max(1,2*d-m)}}if(Xr(t,{errors:I+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:l})>h)break;y=C}const A={isMatch:m>=0,score:Math.max(.001,w)};if(p){const I=G1(_,a);I.length?c&&(A.indices=I):A.isMatch=!1}return A}function X1(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Pd{constructor(t,{location:n=se.location,threshold:r=se.threshold,distance:o=se.distance,includeMatches:s=se.includeMatches,findAllMatches:i=se.findAllMatches,minMatchCharLength:a=se.minMatchCharLength,isCaseSensitive:c=se.isCaseSensitive,ignoreLocation:l=se.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,h)=>{this.chunks.push({pattern:d,alphabet:X1(d),startIndex:h})},f=this.pattern.length;if(f>fn){let d=0;const h=f%fn,m=f-h;for(;d<m;)u(this.pattern.substr(d,fn),d),d+=fn;if(h){const p=f-fn;u(this.pattern.substr(p),p)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let m={isMatch:!0,score:0};return r&&(m.indices=[[0,t.length-1]]),m}const{location:o,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:m,alphabet:p,startIndex:_})=>{const{isMatch:g,score:y,indices:w}=Y1(t,m,p,{location:o+_,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});g&&(d=!0),f+=y,g&&w&&(u=[...u,...w])});let h={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(h.indices=u),h}}class tn{constructor(t){this.pattern=t}static isMultiMatch(t){return fl(t,this.multiRegex)}static isSingleMatch(t){return fl(t,this.singleRegex)}search(){}}function fl(e,t){const n=e.match(t);return n?n[1]:null}class Z1 extends tn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class eT extends tn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class tT extends tn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class nT extends tn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class rT extends tn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class oT extends tn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class xd extends tn{constructor(t,{location:n=se.location,threshold:r=se.threshold,distance:o=se.distance,includeMatches:s=se.includeMatches,findAllMatches:i=se.findAllMatches,minMatchCharLength:a=se.minMatchCharLength,isCaseSensitive:c=se.isCaseSensitive,ignoreLocation:l=se.ignoreLocation}={}){super(t),this._bitapSearch=new Pd(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Ad extends tn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const hi=[Z1,Ad,tT,nT,oT,rT,eT,xd],dl=hi.length,sT=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,iT="|";function aT(e,t={}){return e.split(iT).map(n=>{let r=n.trim().split(sT).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const a=r[s];let c=!1,l=-1;for(;!c&&++l<dl;){const u=hi[l];let f=u.isMultiMatch(a);f&&(o.push(new u(f,t)),c=!0)}if(!c)for(l=-1;++l<dl;){const u=hi[l];let f=u.isSingleMatch(a);if(f){o.push(new u(f,t));break}}}return o})}const cT=new Set([xd.type,Ad.type]);class lT{constructor(t,{isCaseSensitive:n=se.isCaseSensitive,includeMatches:r=se.includeMatches,minMatchCharLength:o=se.minMatchCharLength,ignoreLocation:s=se.ignoreLocation,findAllMatches:i=se.findAllMatches,location:a=se.location,threshold:c=se.threshold,distance:l=se.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:o,findAllMatches:i,ignoreLocation:s,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=aT(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let s=0,i=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const u=n[c];i.length=0,s=0;for(let f=0,d=u.length;f<d;f+=1){const h=u[f],{isMatch:m,indices:p,score:_}=h.search(t);if(m){if(s+=1,a+=_,r){const g=h.constructor.type;cT.has(g)?i=[...i,...p]:i.push(p)}}else{a=0,s=0,i.length=0;break}}if(s){let f={isMatch:!0,score:a/s};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const pi=[];function uT(...e){pi.push(...e)}function mi(e,t){for(let n=0,r=pi.length;n<r;n+=1){let o=pi[n];if(o.condition(e,t))return new o(e,t)}return new Pd(e,t)}const Ro={AND:"$and",OR:"$or"},gi={PATH:"$path",PATTERN:"$val"},yi=e=>!!(e[Ro.AND]||e[Ro.OR]),fT=e=>!!e[gi.PATH],dT=e=>!Lt(e)&&wd(e)&&!yi(e),hl=e=>({[Ro.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Sd(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=fT(o);if(!i&&s.length>1&&!yi(o))return r(hl(o));if(dT(o)){const c=i?o[gi.PATH]:s[0],l=i?o[gi.PATTERN]:o[c];if(!vt(l))throw new Error(D1(c));const u={keyId:di(c),pattern:l};return n&&(u.searcher=mi(l,t)),u}let a={children:[],operator:s[0]};return s.forEach(c=>{const l=o[c];Lt(l)&&l.forEach(u=>{a.children.push(r(u))})}),a};return yi(e)||(e=hl(e)),r(e)}function hT(e,{ignoreFieldNorm:t=se.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const a=o?o.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:s))}),n.score=r})}function pT(e,t){const n=e.matches;t.matches=[],Ze(n)&&n.forEach(r=>{if(!Ze(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function mT(e,t){t.score=e.score}function gT(e,t,{includeMatches:n=se.includeMatches,includeScore:r=se.includeScore}={}){const o=[];return n&&o.push(pT),r&&o.push(mT),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(c=>{c(s,a)}),a})}class Jn{constructor(t,n={},r){this.options={...se,...n},this.options.useExtendedSearch,this._keyStore=new B1(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof da))throw new Error(M1);this._myIndex=n||Cd(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Ze(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:a}=this.options;let c=vt(t)?vt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return hT(c,{ignoreFieldNorm:a}),s&&c.sort(i),bd(n)&&n>-1&&(c=c.slice(0,n)),gT(c,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=mi(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:a})=>{if(!Ze(s))return;const{isMatch:c,score:l,indices:u}=n.searchIn(s);c&&o.push({item:s,idx:i,matches:[{score:l,value:s,norm:a,indices:u}]})}),o}_searchLogical(t){const n=Sd(t,this.options),r=(a,c,l)=>{if(!a.children){const{keyId:f,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(c,f),searcher:d});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const h=a.children[f],m=r(h,c,l);if(m.length)u.push(...m);else if(a.operator===Ro.AND)return[]}return u},o=this._myIndex.records,s={},i=[];return o.forEach(({$:a,i:c})=>{if(Ze(a)){let l=r(n,a,c);l.length&&(s[c]||(s[c]={idx:c,item:a,matches:[]},i.push(s[c])),l.forEach(({matches:u})=>{s[c].matches.push(...u)}))}}),i}_searchObjectList(t){const n=mi(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:a})=>{if(!Ze(i))return;let c=[];r.forEach((l,u)=>{c.push(...this._findMatches({key:l,value:i[u],searcher:n}))}),c.length&&s.push({idx:a,item:i,matches:c})}),s}_findMatches({key:t,value:n,searcher:r}){if(!Ze(n))return[];let o=[];if(Lt(n))n.forEach(({v:s,i,n:a})=>{if(!Ze(s))return;const{isMatch:c,score:l,indices:u}=r.searchIn(s);c&&o.push({score:l,key:t,value:s,idx:i,norm:a,indices:u})});else{const{v:s,n:i}=n,{isMatch:a,score:c,indices:l}=r.searchIn(s);a&&o.push({score:c,key:t,value:s,norm:i,indices:l})}return o}}Jn.version="6.6.2";Jn.createIndex=Cd;Jn.parseIndex=J1;Jn.config=se;Jn.parseQuery=Sd;uT(lT);function yT(e){return Mo()?(Un(e),!0):!1}function xt(e){return typeof e=="function"?e():M(e)}function _T(e,t,n){const r=()=>{var i,a;return new Jn((i=xt(t))!=null?i:[],(a=xt(n))==null?void 0:a.fuseOptions)},o=le(r());ve(()=>{var i;return(i=xt(n))==null?void 0:i.fuseOptions},()=>{o.value=r()},{deep:!0}),ve(()=>xt(t),i=>{o.value.setCollection(i)},{deep:!0});const s=ee(()=>{const i=xt(n);if(i!=null&&i.matchAllWhenSearchEmpty&&!xt(e))return xt(t).map((c,l)=>({item:c,refIndex:l}));const a=i==null?void 0:i.resultLimit;return o.value.search(xt(e),a?{limit:a}:void 0)});return{fuse:o,results:s}}function vT(e){var t;const n=xt(e);return(t=n==null?void 0:n.$el)!=null?t:n}/*!
|
|
* tabbable 6.2.0
|
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
*/var Rd=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Io=Rd.join(","),Id=typeof Element>"u",vn=Id?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ko=!Id&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Oo=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),s=o===""||o==="true",i=s||n&&t&&e(t.parentNode);return i},bT=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},kd=function(t,n,r){if(Oo(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Io));return n&&vn.call(t,Io)&&o.unshift(t),o=o.filter(r),o},Od=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var i=s.shift();if(!Oo(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),c=a.length?a:i.children,l=e(c,!0,r);r.flatten?o.push.apply(o,l):o.push({scopeParent:i,candidates:l})}else{var u=vn.call(i,Io);u&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Oo(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&d){var h=e(f===!0?i.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:i,candidates:h})}else s.unshift.apply(s,i.children)}}return o},Ld=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},dn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||bT(t))&&!Ld(t)?0:t.tabIndex},wT=function(t,n){var r=dn(t);return r<0&&n&&!Ld(t)?0:r},ET=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},$d=function(t){return t.tagName==="INPUT"},TT=function(t){return $d(t)&&t.type==="hidden"},CT=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},PT=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},xT=function(t){if(!t.name)return!0;var n=t.form||ko(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var s=PT(o,t.form);return!s||s===t},AT=function(t){return $d(t)&&t.type==="radio"},ST=function(t){return AT(t)&&!xT(t)},RT=function(t){var n,r=t&&ko(t),o=(n=r)===null||n===void 0?void 0:n.host,s=!1;if(r&&r!==t){var i,a,c;for(s=!!((i=o)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!s&&o;){var l,u,f;r=ko(o),o=(l=r)===null||l===void 0?void 0:l.host,s=!!((u=o)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return s},pl=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},IT=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=vn.call(t,"details>summary:first-of-type"),i=s?t.parentElement:t;if(vn.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var c=t.parentElement,l=ko(t);if(c&&!c.shadowRoot&&o(c)===!0)return pl(t);t.assignedSlot?t=t.assignedSlot:!c&&l!==t.ownerDocument?t=l.host:t=c}t=a}if(RT(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return pl(t);return!1},kT=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return vn.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Lo=function(t,n){return!(n.disabled||Oo(n)||TT(n)||IT(n,t)||CT(n)||kT(n))},_i=function(t,n){return!(ST(n)||dn(n)<0||!Lo(t,n))},OT=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},LT=function e(t){var n=[],r=[];return t.forEach(function(o,s){var i=!!o.scopeParent,a=i?o.scopeParent:o,c=wT(a,i),l=i?e(o.candidates):a;c===0?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:s,tabIndex:c,item:o,isScope:i,content:l})}),r.sort(ET).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(n)},$T=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Od([t],n.includeContainer,{filter:_i.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:OT}):r=kd(t,n.includeContainer,_i.bind(null,n)),LT(r)},NT=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Od([t],n.includeContainer,{filter:Lo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=kd(t,n.includeContainer,Lo.bind(null,n)),r},Tn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return vn.call(t,Io)===!1?!1:_i(n,t)},MT=Rd.concat("iframe").join(","),Ts=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return vn.call(t,MT)===!1?!1:Lo(n,t)};/*!
|
|
* focus-trap 7.5.4
|
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
*/function ml(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ml(Object(n),!0).forEach(function(r){DT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ml(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DT(e,t,n){return t=jT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jT(e){var t=FT(e,"string");return typeof t=="symbol"?t:String(t)}var yl={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},HT=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},BT=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},_r=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},zT=function(t){return _r(t)&&!t.shiftKey},VT=function(t){return _r(t)&&t.shiftKey},_l=function(t){return setTimeout(t,0)},vl=function(t,n){var r=-1;return t.every(function(o,s){return n(o)?(r=s,!1):!0}),r},tr=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,r):t},Zr=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},UT=[],KT=function(t,n){var r=(n==null?void 0:n.document)||document,o=(n==null?void 0:n.trapStack)||UT,s=gl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:zT,isKeyBackward:VT},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,c=function(C,T,S){return C&&C[T]!==void 0?C[T]:s[S||T]},l=function(C,T){var S=typeof(T==null?void 0:T.composedPath)=="function"?T.composedPath():void 0;return i.containerGroups.findIndex(function(J){var W=J.container,G=J.tabbableNodes;return W.contains(C)||(S==null?void 0:S.includes(W))||G.find(function(X){return X===C})})},u=function(C){var T=s[C];if(typeof T=="function"){for(var S=arguments.length,J=new Array(S>1?S-1:0),W=1;W<S;W++)J[W-1]=arguments[W];T=T.apply(void 0,J)}if(T===!0&&(T=void 0),!T){if(T===void 0||T===!1)return T;throw new Error("`".concat(C,"` was specified but was not a node, or did not return a node"))}var G=T;if(typeof T=="string"&&(G=r.querySelector(T),!G))throw new Error("`".concat(C,"` as selector refers to no known node"));return G},f=function(){var C=u("initialFocus");if(C===!1)return!1;if(C===void 0||!Ts(C,s.tabbableOptions))if(l(r.activeElement)>=0)C=r.activeElement;else{var T=i.tabbableGroups[0],S=T&&T.firstTabbableNode;C=S||u("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},d=function(){if(i.containerGroups=i.containers.map(function(C){var T=$T(C,s.tabbableOptions),S=NT(C,s.tabbableOptions),J=T.length>0?T[0]:void 0,W=T.length>0?T[T.length-1]:void 0,G=S.find(function(be){return Tn(be)}),X=S.slice().reverse().find(function(be){return Tn(be)}),ge=!!T.find(function(be){return dn(be)>0});return{container:C,tabbableNodes:T,focusableNodes:S,posTabIndexesFound:ge,firstTabbableNode:J,lastTabbableNode:W,firstDomTabbableNode:G,lastDomTabbableNode:X,nextTabbableNode:function(Se){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ne=T.indexOf(Se);return Ne<0?Ae?S.slice(S.indexOf(Se)+1).find(function(ze){return Tn(ze)}):S.slice(0,S.indexOf(Se)).reverse().find(function(ze){return Tn(ze)}):T[Ne+(Ae?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(C){return C.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(C){return C.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function O(C){var T=C.activeElement;if(T)return T.shadowRoot&&T.shadowRoot.activeElement!==null?O(T.shadowRoot):T},m=function O(C){if(C!==!1&&C!==h(document)){if(!C||!C.focus){O(f());return}C.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=C,HT(C)&&C.select()}},p=function(C){var T=u("setReturnFocus",C);return T||(T===!1?!1:C)},_=function(C){var T=C.target,S=C.event,J=C.isBackward,W=J===void 0?!1:J;T=T||Zr(S),d();var G=null;if(i.tabbableGroups.length>0){var X=l(T,S),ge=X>=0?i.containerGroups[X]:void 0;if(X<0)W?G=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:G=i.tabbableGroups[0].firstTabbableNode;else if(W){var be=vl(i.tabbableGroups,function(Ie){var L=Ie.firstTabbableNode;return T===L});if(be<0&&(ge.container===T||Ts(T,s.tabbableOptions)&&!Tn(T,s.tabbableOptions)&&!ge.nextTabbableNode(T,!1))&&(be=X),be>=0){var Se=be===0?i.tabbableGroups.length-1:be-1,Ae=i.tabbableGroups[Se];G=dn(T)>=0?Ae.lastTabbableNode:Ae.lastDomTabbableNode}else _r(S)||(G=ge.nextTabbableNode(T,!1))}else{var Ne=vl(i.tabbableGroups,function(Ie){var L=Ie.lastTabbableNode;return T===L});if(Ne<0&&(ge.container===T||Ts(T,s.tabbableOptions)&&!Tn(T,s.tabbableOptions)&&!ge.nextTabbableNode(T))&&(Ne=X),Ne>=0){var ze=Ne===i.tabbableGroups.length-1?0:Ne+1,Et=i.tabbableGroups[ze];G=dn(T)>=0?Et.firstTabbableNode:Et.firstDomTabbableNode}else _r(S)||(G=ge.nextTabbableNode(T))}}else G=u("fallbackFocus");return G},g=function(C){var T=Zr(C);if(!(l(T,C)>=0)){if(tr(s.clickOutsideDeactivates,C)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}tr(s.allowOutsideClick,C)||C.preventDefault()}},y=function(C){var T=Zr(C),S=l(T,C)>=0;if(S||T instanceof Document)S&&(i.mostRecentlyFocusedNode=T);else{C.stopImmediatePropagation();var J,W=!0;if(i.mostRecentlyFocusedNode)if(dn(i.mostRecentlyFocusedNode)>0){var G=l(i.mostRecentlyFocusedNode),X=i.containerGroups[G].tabbableNodes;if(X.length>0){var ge=X.findIndex(function(be){return be===i.mostRecentlyFocusedNode});ge>=0&&(s.isKeyForward(i.recentNavEvent)?ge+1<X.length&&(J=X[ge+1],W=!1):ge-1>=0&&(J=X[ge-1],W=!1))}}else i.containerGroups.some(function(be){return be.tabbableNodes.some(function(Se){return dn(Se)>0})})||(W=!1);else W=!1;W&&(J=_({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),m(J||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},w=function(C){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=C;var S=_({event:C,isBackward:T});S&&(_r(C)&&C.preventDefault(),m(S))},v=function(C){if(BT(C)&&tr(s.escapeDeactivates,C)!==!1){C.preventDefault(),a.deactivate();return}(s.isKeyForward(C)||s.isKeyBackward(C))&&w(C,s.isKeyBackward(C))},x=function(C){var T=Zr(C);l(T,C)>=0||tr(s.clickOutsideDeactivates,C)||tr(s.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())},A=function(){if(i.active)return yl.activateTrap(o,a),i.delayInitialFocusTimer=s.delayInitialFocus?_l(function(){m(f())}):m(f()),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",x,{capture:!0,passive:!1}),r.addEventListener("keydown",v,{capture:!0,passive:!1}),a},I=function(){if(i.active)return r.removeEventListener("focusin",y,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",x,!0),r.removeEventListener("keydown",v,!0),a},R=function(C){var T=C.some(function(S){var J=Array.from(S.removedNodes);return J.some(function(W){return W===i.mostRecentlyFocusedNode})});T&&m(f())},B=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(R):void 0,$=function(){B&&(B.disconnect(),i.active&&!i.paused&&i.containers.map(function(C){B.observe(C,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(C){if(i.active)return this;var T=c(C,"onActivate"),S=c(C,"onPostActivate"),J=c(C,"checkCanFocusTrap");J||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,T==null||T();var W=function(){J&&d(),A(),$(),S==null||S()};return J?(J(i.containers.concat()).then(W,W),this):(W(),this)},deactivate:function(C){if(!i.active)return this;var T=gl({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},C);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,I(),i.active=!1,i.paused=!1,$(),yl.deactivateTrap(o,a);var S=c(T,"onDeactivate"),J=c(T,"onPostDeactivate"),W=c(T,"checkCanReturnFocus"),G=c(T,"returnFocus","returnFocusOnDeactivate");S==null||S();var X=function(){_l(function(){G&&m(p(i.nodeFocusedBeforeActivation)),J==null||J()})};return G&&W?(W(p(i.nodeFocusedBeforeActivation)).then(X,X),this):(X(),this)},pause:function(C){if(i.paused||!i.active)return this;var T=c(C,"onPause"),S=c(C,"onPostPause");return i.paused=!0,T==null||T(),I(),$(),S==null||S(),this},unpause:function(C){if(!i.paused||!i.active)return this;var T=c(C,"onUnpause"),S=c(C,"onPostUnpause");return i.paused=!1,T==null||T(),d(),A(),$(),S==null||S(),this},updateContainerElements:function(C){var T=[].concat(C).filter(Boolean);return i.containers=T.map(function(S){return typeof S=="string"?r.querySelector(S):S}),i.active&&d(),$(),this}},a.updateContainerElements(t),a};function WT(e,t={}){let n;const{immediate:r,...o}=t,s=le(!1),i=le(!1),a=f=>n&&n.activate(f),c=f=>n&&n.deactivate(f),l=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return ve(()=>vT(e),f=>{f&&(n=KT(f,{...o,onActivate(){s.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){s.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),yT(()=>c()),{hasFocus:s,isPaused:i,activate:a,deactivate:c,pause:l,unpause:u}}var bl;const es=typeof window<"u",qT=e=>typeof e<"u",QT=e=>typeof e=="function",JT=e=>typeof e=="string",ha=()=>{},GT=es&&((bl=window==null?void 0:window.navigator)==null?void 0:bl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ts(e){return typeof e=="function"?e():M(e)}function YT(e){return e}function Nd(e){return Mo()?(Un(e),!0):!1}function XT(e,t=!0){pt()?Xt(e):t?e():wt(e)}function ZT(e,t,n={}){const{immediate:r=!0}=n,o=le(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function c(...l){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...l)},ts(t))}return r&&(o.value=!0,es&&c()),Nd(a),{isPending:Ii(o),start:c,stop:a}}function ar(e){var t;const n=ts(e);return(t=n==null?void 0:n.$el)!=null?t:n}const pa=es?window:void 0,eC=es?window.navigator:void 0;function Vt(...e){let t,n,r,o;if(JT(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=pa):[t,n,r,o]=e,!t)return ha;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),c=ve(()=>[ar(t),ts(o)],([u,f])=>{i(),u&&s.push(...n.flatMap(d=>r.map(h=>a(u,d,h,f))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return Nd(l),l}let wl=!1;function _P(e,t,n={}){const{window:r=pa,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return;GT&&!wl&&(wl=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",ha)));let a=!0;const c=d=>o.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===d.target||d.composedPath().includes(m));{const m=ar(h);return m&&(d.target===m||d.composedPath().includes(m))}}),u=[Vt(r,"click",d=>{const h=ar(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!c(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),Vt(r,"pointerdown",d=>{const h=ar(e);h&&(a=!d.composedPath().includes(h)&&!c(d))},{passive:!0}),i&&Vt(r,"blur",d=>{var h;const m=ar(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(d)})].filter(Boolean);return()=>u.forEach(d=>d())}function tC(e,t=!1){const n=le(),r=()=>n.value=!!e();return r(),XT(r,t),n}function vP(e={}){const{navigator:t=eC,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=["copy","cut"],a=tC(()=>t&&"clipboard"in t),c=ee(()=>a.value||s),l=le(""),u=le(!1),f=ZT(()=>u.value=!1,o);function d(){a.value?t.clipboard.readText().then(_=>{l.value=_}):l.value=p()}if(c.value&&n)for(const _ of i)Vt(_,d);async function h(_=ts(r)){c.value&&_!=null&&(a.value?await t.clipboard.writeText(_):m(_),l.value=_,u.value=!0,f.start())}function m(_){const g=document.createElement("textarea");g.value=_??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function p(){var _,g,y;return(y=(g=(_=document==null?void 0:document.getSelection)==null?void 0:_.call(document))==null?void 0:g.toString())!=null?y:""}return{isSupported:c,text:l,copied:u,copy:h}}function nC(e){return JSON.parse(JSON.stringify(e))}const El=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tl="__vueuse_ssr_handlers__";El[Tl]=El[Tl]||{};const rC={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function oC(e={}){const{reactive:t=!1,target:n=pa,aliasMap:r=rC,passive:o=!0,onEventFired:s=ha}=e,i=tt(new Set),a={toJSON(){return{}},current:i},c=t?tt(a):a,l=new Set,u=new Set;function f(p,_){p in c&&(t?c[p]=_:c[p].value=_)}function d(){i.clear();for(const p of u)f(p,!1)}function h(p,_){var g,y;const w=(g=p.key)==null?void 0:g.toLowerCase(),x=[(y=p.code)==null?void 0:y.toLowerCase(),w].filter(Boolean);w&&(_?i.add(w):i.delete(w));for(const A of x)u.add(A),f(A,_);w==="meta"&&!_?(l.forEach(A=>{i.delete(A),f(A,!1)}),l.clear()):typeof p.getModifierState=="function"&&p.getModifierState("Meta")&&_&&[...i,...x].forEach(A=>l.add(A))}Vt(n,"keydown",p=>(h(p,!0),s(p)),{passive:o}),Vt(n,"keyup",p=>(h(p,!1),s(p)),{passive:o}),Vt("blur",d,{passive:!0}),Vt("focus",d,{passive:!0});const m=new Proxy(c,{get(p,_,g){if(typeof _!="string")return Reflect.get(p,_,g);if(_=_.toLowerCase(),_ in r&&(_=r[_]),!(_ in c))if(/[+_-]/.test(_)){const w=_.split(/[+_-]/g).map(v=>v.trim());c[_]=ee(()=>w.every(v=>M(m[v])))}else c[_]=le(!1);const y=Reflect.get(p,_,g);return t?M(y):y}});return m}var Cl;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Cl||(Cl={}));var sC=Object.defineProperty,Pl=Object.getOwnPropertySymbols,iC=Object.prototype.hasOwnProperty,aC=Object.prototype.propertyIsEnumerable,xl=(e,t,n)=>t in e?sC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cC=(e,t)=>{for(var n in t||(t={}))iC.call(t,n)&&xl(e,n,t[n]);if(Pl)for(var n of Pl(t))aC.call(t,n)&&xl(e,n,t[n]);return e};const lC={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};cC({linear:YT},lC);function bP(e,t,n,r={}){var o,s,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:u=!1,defaultValue:f}=r,d=pt(),h=n||(d==null?void 0:d.emit)||((o=d==null?void 0:d.$emit)==null?void 0:o.bind(d))||((i=(s=d==null?void 0:d.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(d==null?void 0:d.proxy));let m=l;t||(t="modelValue"),m=l||m||`update:${t.toString()}`;const p=g=>a?QT(a)?a(g):nC(g):g,_=()=>qT(e[t])?p(e[t]):f;if(c){const g=_(),y=le(g);return ve(()=>e[t],w=>y.value=p(w)),ve(y,w=>{(w!==e[t]||u)&&h(m,w)},{deep:u}),y}else return ee({get(){return _()},set(g){h(m,g)}})}const Fr=e=>(ou("data-v-b86f73c8"),e=e(),su(),e),uC={class:"content"},fC=Fr(()=>oe("span",null,"Search",-1)),dC=Fr(()=>oe("span",null,[oe("kbd",null,"⌘"),oe("kbd",null,"K")],-1)),hC={class:"search-input"},pC=["onKeydown"],mC=["id","onMouseenter"],gC={class:"search-result-content-wrapper"},yC={class:"search-result-content-head"},_C={key:2},vC=Fr(()=>oe("span",{class:"arrow",innerHTML:"→"},null,-1)),bC={key:0,class:"search-result-content-preview"},wC=Fr(()=>oe("span",null,"“",-1)),EC=["innerHTML"],TC=Fr(()=>oe("span",null,"“",-1)),CC={key:1,class:"search-results empty"},PC={key:2,class:"search-results empty"},xC=Re({__name:"AppSearch",props:{fuse:{type:Object,default:()=>({fuseOptions:{keys:["title","description","keywords","body"],ignoreLocation:!0,threshold:0,includeMatches:!0,includeScore:!0},matchAllWhenSearchEmpty:!0})}},async setup(e){let t,n;const r=e,o=le(""),s=le(),i=le(),a=le(),c=le(-1),l=le(!1),{close:u,open:f}=dd(),{activate:d,deactivate:h}=WT(s),{navigation:m}=Dr(),{meta_K:p,Escape:_}=oC(),{data:g}=([t,n]=Tu(()=>By("search-api",()=>$fetch("/api/search",{parseResponse:JSON.parse}))),t=await t,n(),t),{results:y}=_T(o,g,r.fuse);function w($,O,C){for(const T of $){if(T._path===O)return{directoryTitle:C.title,directoryIcon:C.icon};if(T.children){const S=w(T.children,O,T);if(S)return S}}}function v($){let O;for(const C of m.value)if(C.children){const T=w(C.children,$,C);T&&(O=T)}return O}function x($,O){const{indices:C,value:T}=O||{indices:[],value:""};if($===T)return"";let S="",J=0;C.forEach(G=>{const X=G[1]+1,ge=X-G[0]>=o.value.length;S+=[T.substring(J,G[0]),ge&&"<mark>",T.substring(G[0],X),ge&&"</mark>"].filter(Boolean).join(""),J=X}),S+=T.substring(J);const W=S.indexOf("<mark>");return W>60&&(S=`${S.substring(W-60)}`),`${S}”`}function A(){c.value===-1?c.value=0:c.value===y.value.length-1||(c.value=c.value+1)}function I(){c.value===-1?c.value=y.value.length-1:c.value===0||(c.value=c.value-1)}function R($){var T,S;const O=(S=(T=y==null?void 0:y.value)==null?void 0:T[$])==null?void 0:S.item,C=O==null?void 0:O.path;C&&(l.value=!1,ct().push(C))}function B(){var $,O;o.value?(o.value="",c.value=-1,(O=($=i.value)==null?void 0:$.focus)==null||O.call($)):l.value=!1}return Xt(()=>{const $=at();$.query.q&&(l.value=!0,o.value=$.query.q)}),ve(c,$=>{var C,T,S,J;const O=(S=(T=(C=y==null?void 0:y.value)==null?void 0:C[$])==null?void 0:T.item)==null?void 0:S.id;O&&((J=document.querySelector(`[id="${O}"]`))==null||J.scrollIntoView({block:"nearest"}))}),ve(o,$=>{c.value=0}),ve(l,$=>{$?(f(),wt(()=>{d()})):(o.value="",c.value=-1,h(),u())}),ve(p,$=>{$&&(l.value=!l.value)}),ve(_,()=>{l.value&&(l.value=!1)}),($,O)=>{const C=Nt;return K(),ue(Pe,null,[oe("button",{type:"button","aria-label":"Search",onClick:O[0]||(O[0]=T=>l.value=!0)},[oe("span",uC,[ae(C,{name:"heroicons-outline:search"}),fC,dC])]),(K(),de(Lu,{to:"body"},[M(l)?(K(),ue("div",{key:0,ref_key:"searchContentRef",ref:s,class:"search-content",onClick:O[5]||(O[5]=T=>l.value=!1)},[oe("div",{class:"search-window",onClick:O[4]||(O[4]=sr(()=>{},["stop"]))},[oe("div",hC,[ae(C,{name:"heroicons-outline:search",class:"search-icon"}),uu(oe("input",{ref_key:"searchInputRef",ref:i,"onUpdate:modelValue":O[1]||(O[1]=T=>Le(o)?o.value=T:null),type:"text",placeholder:"Search documentation",onKeydown:[ds(sr(I,["prevent"]),["up"]),ds(sr(A,["prevent"]),["down"]),O[2]||(O[2]=ds(T=>R(M(c)),["enter"]))]},null,40,pC),[[dm,M(o)]]),oe("button",{class:"close-button",onClick:B},[ae(C,{name:"heroicons:x-mark",class:"close-icon"})])]),M(y).length>0?(K(),ue("div",{key:0,ref_key:"resultsAreaRef",ref:a,class:"search-results"},[(K(!0),ue(Pe,null,Mn(M(y),(T,S)=>{var J,W,G,X,ge,be,Se,Ae,Ne,ze;return K(),ue("div",{id:T.item.id,key:T.item.id,class:Ue(["search-result",{selected:M(c)===S}]),onClick:O[3]||(O[3]=Et=>R(M(c))),onMouseenter:sr(Et=>c.value=S,["prevent"])},[oe("div",gC,[oe("div",yC,[(W=v((J=T==null?void 0:T.item)==null?void 0:J.path))!=null&&W.directoryIcon?(K(),de(C,{key:0,name:(X=v((G=T==null?void 0:T.item)==null?void 0:G.path))==null?void 0:X.directoryIcon},null,8,["name"])):(K(),de(C,{key:1,name:"solar:documents-bold-duotone"})),(be=v((ge=T==null?void 0:T.item)==null?void 0:ge.path))!=null&&be.directoryTitle?(K(),ue("span",_C,[$r(It((Ae=v((Se=T==null?void 0:T.item)==null?void 0:Se.path))==null?void 0:Ae.directoryTitle)+" ",1),vC])):He("",!0),oe("span",null,It(T.item.title),1)]),(Ne=T==null?void 0:T.matches)!=null&&Ne[0]?(K(),ue("p",bC,[wC,oe("span",{innerHTML:`${x(M(o),(ze=T==null?void 0:T.matches)==null?void 0:ze[0])}`},null,8,EC),TC])):He("",!0)])],42,mC)}),128))],512)):M(o)?(K(),ue("div",PC," No results found. Try another query ")):(K(),ue("div",CC," Type your query to search docs "))])],512)):He("",!0)]))],64)}}});const Md=Be(xC,[["__scopeId","data-v-b86f73c8"]]),AC=Object.freeze(Object.defineProperty({__proto__:null,default:Md},Symbol.toStringTag,{value:"Module"})),SC=Re({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=le(!1);return Xt(()=>{r.value=!0}),o=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return ue(a,n,i)}}}),RC={name:xw,props:{placeholder:String,tag:{type:String,default:"span"}}};function IC(e,t,n,r,o,s){const i=SC;return K(),de(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:nt(()=>[Fi(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const kC=Be(RC,[["render",IC]]),OC=()=>St("color-mode").value,LC=Re({__name:"ThemeSelect",setup(e){const t=OC(),n=()=>{const r=["system","light","dark"],s=(r.indexOf(t.preference)+1)%r.length;t.preference=r[s]};return(r,o)=>{const s=Nt,i=kC;return K(),ue("button",{"aria-label":"Color Mode",onClick:n},[ae(i,{placeholder:"..."},{default:nt(()=>[M(t).preference==="dark"?(K(),de(s,{key:0,name:"uil:moon"})):M(t).preference==="light"?(K(),de(s,{key:1,name:"uil:sun"})):(K(),de(s,{key:2,name:"uil:desktop"}))]),_:1})])}}});const Dd=Be(LC,[["__scopeId","data-v-99459e99"]]),$C=Object.freeze(Object.defineProperty({__proto__:null,default:Dd},Symbol.toStringTag,{value:"Module"})),NC=Re({__name:"Container",props:{as:{type:String,required:!1,default:"div"},padded:{required:!1,type:[Boolean,Object],default:!0},fluid:{required:!1,type:[Boolean,Object],default:!1}},setup(e){const t=e,n={padded:{true:{px:"{elements.container.padding.mobile}","@xs":{px:"{elements.container.padding.xs}"},"@sm":{px:"{elements.container.padding.sm}"},"@md":{px:"{elements.container.padding.md}"}}},fluid:{true:{},false:{maxWidth:"{elements.container.maxWidth}"}}},{$pinceau:r}=pw(t,n,void 0);return(o,s)=>(K(),de(Vo(e.as),{class:Ue(["container",[M(r)]])},{default:nt(()=>[Fi(o.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}});const ma=Be(NC,[["__scopeId","data-v-89ccd14e"]]),MC=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"})),DC={class:"section left"},FC={class:"section center"},jC={class:"section right"},HC={class:"social-icons"},BC=Re({__name:"AppHeader",props:{},setup(e){const{config:t}=en(),{navigation:n}=Dr(),{hasDocSearch:r}=yd(),o=ee(()=>{var s,i,a,c;return((s=n.value)==null?void 0:s.length)>1||((c=(a=(i=n.value)==null?void 0:i[0])==null?void 0:a.children)==null?void 0:c.length)});return(s,i)=>{var p,_;const a=hd,c=md,l=gd,u=vd,f=Md,d=Dd,h=Zo,m=ma;return K(),ue("header",{class:Ue({"has-dialog":M(o)})},[ae(m,{fluid:(_=(p=M(t))==null?void 0:p.header)==null?void 0:_.fluid},{default:nt(()=>[oe("div",DC,[M(o)?(K(),de(a,{key:0})):He("",!0),ae(c)]),oe("div",FC,[M(o)?(K(),de(c,{key:0})):He("",!0),ae(l)]),oe("div",jC,[M(r)?(K(),de(u,{key:0})):(K(),de(f,{key:1,fuse:M(t).fuse},null,8,["fuse"])),ae(d),oe("div",HC,[ae(h)])])]),_:1},8,["fluid"])],2)}}});const Fd=Be(BC,[["__scopeId","data-v-29ffb222"]]),zC=Object.freeze(Object.defineProperty({__proto__:null,default:Fd},Symbol.toStringTag,{value:"Module"})),VC={class:"left"},UC=["href"],KC={key:1},WC={class:"center"},qC={class:"right"},QC=["aria-label","href","rel"],JC=Re({__name:"AppFooter",setup(e){const{config:t}=en(),n=le(null),r=ee(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.iconLinks)||[]}),o=ee(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.textLinks)||[]}),s=ee(()=>{var a;return Object.entries(((a=t.value)==null?void 0:a.socials)||{}).filter(([,c])=>c).length}),i=ee(()=>n.value?s.value:0);return(a,c)=>{var h,m;const l=Nt,u=Mr,f=Zo,d=ma;return K(),ue("footer",null,[ae(d,{fluid:(m=(h=M(t))==null?void 0:h.footer)==null?void 0:m.fluid,padded:"",class:"footer-container"},{default:nt(()=>{var p,_,g,y,w,v,x,A,I,R,B,$,O,C;return[oe("div",VC,[(_=(p=M(t))==null?void 0:p.footer)!=null&&_.credits?(K(),ue("a",{key:0,href:((w=(y=(g=M(t))==null?void 0:g.footer)==null?void 0:y.credits)==null?void 0:w.href)||"#",rel:"noopener",target:"_blank"},[(A=(x=(v=M(t))==null?void 0:v.footer)==null?void 0:x.credits)!=null&&A.icon?(K(),de(l,{key:0,name:(B=(R=(I=M(t))==null?void 0:I.footer)==null?void 0:R.credits)==null?void 0:B.icon,class:"left-icon"},null,8,["name"])):He("",!0),(C=(O=($=M(t))==null?void 0:$.footer)==null?void 0:O.credits)!=null&&C.text?(K(),ue("p",KC,It(M(t).footer.credits.text),1)):He("",!0)],8,UC)):He("",!0)]),oe("div",WC,[(K(!0),ue(Pe,null,Mn(M(o),T=>(K(),de(u,{key:T.href,class:"text-link","aria-label":T.text,href:T.href,target:(T==null?void 0:T.target)||"_self",rel:(T==null?void 0:T.rel)||"noopener noreferrer"},{default:nt(()=>[$r(It(T.text),1)]),_:2},1032,["aria-label","href","target","rel"]))),128))]),oe("div",qC,[(K(!0),ue(Pe,null,Mn(M(r).slice(0,6-M(i)),T=>(K(),ue("a",{key:T.label,class:"icon-link","aria-label":T.label,href:T.href,target:"_blank",rel:(T==null?void 0:T.rel)||"noopener noreferrer"},[ae(l,{name:T.icon},null,8,["name"])],8,QC))),128)),ae(f,{ref_key:"socialIcons",ref:n},null,512)])]}),_:1},8,["fluid"])])}}});const jd=Be(JC,[["__scopeId","data-v-9a78671f"]]),GC=Object.freeze(Object.defineProperty({__proto__:null,default:jd},Symbol.toStringTag,{value:"Module"})),YC=(e,t=at())=>{const n=M(e),r=Je();ve(()=>M(e),(s=n)=>{if(!t.path||!s)return;const i=Object.assign({},(s==null?void 0:s.head)||{});i.meta=[...i.meta||[]],i.link=[...i.link||[]];const a=i.title||(s==null?void 0:s.title);a&&(i.title=a),r.public.content.host;const c=(i==null?void 0:i.description)||(s==null?void 0:s.description);c&&i.meta.filter(l=>l.name==="description").length===0&&i.meta.push({name:"description",content:c}),i!=null&&i.image||(s==null||s.image),wt(()=>To(i))},{immediate:!0})},XC={class:"app-layout"},ZC=Re({__name:"AppLayout",setup(e){const{config:t}=en();return To({titleTemplate:t.value.titleTemplate,meta:[{name:"twitter:card",content:"summary_large_image"}]}),ve(()=>t.value.titleTemplate,()=>To({titleTemplate:t.value.titleTemplate})),YC(t.value),(n,r)=>{const o=Qf,s=Fd,i=jd;return K(),ue("div",XC,[ae(o),ae(s),oe("main",null,[Fi(n.$slots,"default",{},void 0,!0)]),ae(i)])}}});const Hd=Be(ZC,[["__scopeId","data-v-405cf49f"]]),eP=Object.freeze(Object.defineProperty({__proto__:null,default:Hd},Symbol.toStringTag,{value:"Module"})),tP={};function nP(e,t){const n=Hw,r=Hd;return K(),de(r,null,{default:nt(()=>[ae(n)]),_:1})}const rP=Be(tP,[["render",nP]]),oP={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=o?j(()=>D(()=>import("./error-404.f464eadd.js"),["./error-404.f464eadd.js","./error-404.7910d5ca.css"],import.meta.url).then(f=>f.default||f)):j(()=>D(()=>import("./error-500.325846d8.js"),["./error-500.325846d8.js","./error-500.1db01289.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(K(),de(M(u),Xd(Fu({statusCode:M(r),statusMessage:M(s),description:M(i),stack:M(a)})),null,16))}},Al={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),r=n.deferHydration(),o=!1;$n(Wo,at()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const s=qo();vu((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),$y(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>An(a)),!1});const i=!1;return(a,c)=>(K(),de(au,{onResolve:M(r)},{default:nt(()=>[M(s)?(K(),de(M(oP),{key:0,error:M(s)},null,8,["error"])):M(i)?(K(),de(M(t),{key:1,context:M(i)},null,8,["context"])):M(o)?(K(),de(Vo(M(o)),{key:2})):(K(),de(M(rP),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=lg.create({baseURL:fg()}));let Sl;{let e;Sl=async function(){var s,i;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?bm(Al):vm(Al),o=Cg({vueApp:r});try{await xg(o,Nw)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(jy),await o.hooks.callHook("app:mounted",r),await wt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return r},e=Sl().catch(t=>{console.error("Error while mounting app:",t)})}export{Fi as $,xn as A,pe as B,To as C,$r as D,Mr as E,Pe as F,je as G,lP as H,ee as I,M as J,ir as K,cP as L,jw as M,et as N,$p as O,Wo as P,wt as Q,$n as R,au as S,Ui as T,Iy as U,Dr as V,YC as W,de as X,Lp as Y,pw as Z,D as _,Cr as a,ve as a0,iP as a1,up as a2,N0 as a3,Dn as a4,ri as a5,xr as a6,ea as a7,yP as a8,Nt as a9,aP as aA,Vc as aB,mP as aC,Ct as aD,uP as aE,pP as aF,fP as aG,dP as aH,hP as aI,j0 as aJ,en as aa,fa as ab,Zt as ac,Qn as ad,ma as ae,$0 as af,Xi as ag,yu as ah,Mn as ai,sr as aj,vP as ak,_P as al,qu as am,uu as an,gm as ao,pt as ap,Hy as aq,OC as ar,bP as as,Le as at,gP as au,_o as av,sP as aw,Co as ax,B0 as ay,Vn as az,K as b,ue as c,Re as d,oe as e,He as f,ae as g,no as h,su as i,me as j,Be as k,Je as l,St as m,Ue as n,Xt as o,ou as p,oo as q,le as r,at as s,It as t,ct as u,tf as v,nt as w,Qi as x,hr as y,vm as z};
|