Files
notxia.github.io/_nuxt/BrpLSyOP.js
2024-12-07 18:42:40 +00:00

72 lines
340 KiB
JavaScript
Raw Blame History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DFZnbOZD.js","./B9j6LFLJ.js","./nnTCvW76.js","./about.DQ3KPf58.css","./CT6aAYpw.js","./qxmAZhPz.js","./DVv9LIDQ.js","./BWQrY8bD.js","./resume.CQXCUcRb.css"])))=>i.map(i=>d[i]);
/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function $i(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},qn=[],Bt=()=>{},eh=()=>!1,Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hi=e=>e.startsWith("onUpdate:"),je=Object.assign,Ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},th=Object.prototype.hasOwnProperty,be=(e,t)=>th.call(e,t),ae=Array.isArray,Qn=e=>Kr(e)==="[object Map]",Bc=e=>Kr(e)==="[object Set]",nh=e=>Kr(e)==="[object RegExp]",le=e=>typeof e=="function",Ne=e=>typeof e=="string",en=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Vc=e=>(ke(e)||le(e))&&le(e.then)&&le(e.catch),jc=Object.prototype.toString,Kr=e=>jc.call(e),rh=e=>Kr(e).slice(8,-1),Wc=e=>Kr(e)==="[object Object]",Bi=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zn=$i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ws=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},sh=/-(\w)/g,wt=Ws(e=>e.replace(sh,(t,n)=>n?n.toUpperCase():"")),oh=/\B([A-Z])/g,$n=Ws(e=>e.replace(oh,"-$1").toLowerCase()),Ks=Ws(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=Ws(e=>e?`on${Ks(e)}`:""),fn=(e,t)=>!Object.is(e,t),_r=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kc=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},ih=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gc=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Ta;const Gs=()=>Ta||(Ta=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vi(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Ne(o)?uh(o):Vi(o);if(s)for(const r in s)t[r]=s[r]}return t}else if(Ne(e)||ke(e))return e}const ah=/;(?![^(]*\))/g,lh=/:([^]+)/,ch=/\/\*[^]*?\*\//g;function uh(e){const t={};return e.replace(ch,"").split(ah).forEach(n=>{if(n){const o=n.split(lh);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ys(e){let t="";if(Ne(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const o=Ys(e[n]);o&&(t+=o+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const fh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dh=$i(fh);function Yc(e){return!!e||e===""}const Xc=e=>!!(e&&e.__v_isRef===!0),Ae=e=>Ne(e)?e:e==null?"":ae(e)||ke(e)&&(e.toString===jc||!le(e.toString))?Xc(e)?Ae(e.value):JSON.stringify(e,Jc,2):String(e),Jc=(e,t)=>Xc(t)?Jc(e,t.value):Qn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[wo(o,r)+" =>"]=s,n),{})}:Bc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wo(n))}:en(t)?wo(t):ke(t)&&!ae(t)&&!Wc(t)?String(t):t,wo=(e,t="")=>{var n;return en(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let it;class qc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=it;try{return it=this,t()}finally{it=n}}}on(){it=this}off(){it=this.parent}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function ji(e){return new qc(e)}function Xs(){return it}function Go(e,t=!1){it&&it.cleanups.push(e)}let Re;const bo=new WeakSet;class Qc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bo.has(this)&&(bo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Pa(this),eu(this);const t=Re,n=It;Re=this,It=!0;try{return this.fn()}finally{tu(this),Re=t,It=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gi(t);this.deps=this.depsTail=void 0,Pa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yo(this)&&this.run()}get dirty(){return Yo(this)}}let zc=0,xr,Er;function Zc(e,t=!1){if(e.flags|=8,t){e.next=Er,Er=e;return}e.next=xr,xr=e}function Wi(){zc++}function Ki(){if(--zc>0)return;if(Er){let t=Er;for(Er=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;xr;){let t=xr;for(xr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function eu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function tu(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Gi(o),hh(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function Yo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(nu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function nu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kr))return;e.globalVersion=kr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Yo(e)){e.flags&=-3;return}const n=Re,o=It;Re=e,It=!0;try{eu(e);const s=e.fn(e._value);(t.version===0||fn(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Re=n,It=o,tu(e),e.flags&=-3}}function Gi(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Gi(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let It=!0;const ru=[];function mn(){ru.push(It),It=!1}function vn(){const e=ru.pop();It=e===void 0?!0:e}function Pa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let kr=0;class ph{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Js{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Re||!It||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new ph(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,su(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=o)}return n}trigger(t){this.version++,kr++,this.notify(t)}notify(t){Wi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ki()}}}function su(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)su(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Es=new WeakMap,On=Symbol(""),Xo=Symbol(""),Ar=Symbol("");function et(e,t,n){if(It&&Re){let o=Es.get(e);o||Es.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new Js),s.map=o,s.key=n),s.track()}}function Jt(e,t,n,o,s,r){const i=Es.get(e);if(!i){kr++;return}const a=l=>{l&&l.trigger()};if(Wi(),t==="clear")i.forEach(a);else{const l=ae(e),f=l&&Bi(n);if(l&&n==="length"){const u=Number(o);i.forEach((h,d)=>{(d==="length"||d===Ar||!en(d)&&d>=u)&&a(h)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Ar)),t){case"add":l?f&&a(i.get("length")):(a(i.get(On)),Qn(e)&&a(i.get(Xo)));break;case"delete":l||(a(i.get(On)),Qn(e)&&a(i.get(Xo)));break;case"set":Qn(e)&&a(i.get(On));break}}Ki()}function gh(e,t){const n=Es.get(e);return n&&n.get(t)}function Vn(e){const t=ve(e);return t===e?t:(et(t,"iterate",Ar),Et(e)?t:t.map(tt))}function qs(e){return et(e=ve(e),"iterate",Ar),e}const mh={__proto__:null,[Symbol.iterator](){return So(this,Symbol.iterator,tt)},concat(...e){return Vn(this).concat(...e.map(t=>ae(t)?Vn(t):t))},entries(){return So(this,"entries",e=>(e[1]=tt(e[1]),e))},every(e,t){return Vt(this,"every",e,t,void 0,arguments)},filter(e,t){return Vt(this,"filter",e,t,n=>n.map(tt),arguments)},find(e,t){return Vt(this,"find",e,t,tt,arguments)},findIndex(e,t){return Vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Vt(this,"findLast",e,t,tt,arguments)},findLastIndex(e,t){return Vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Co(this,"includes",e)},indexOf(...e){return Co(this,"indexOf",e)},join(e){return Vn(this).join(e)},lastIndexOf(...e){return Co(this,"lastIndexOf",e)},map(e,t){return Vt(this,"map",e,t,void 0,arguments)},pop(){return dr(this,"pop")},push(...e){return dr(this,"push",e)},reduce(e,...t){return La(this,"reduce",e,t)},reduceRight(e,...t){return La(this,"reduceRight",e,t)},shift(){return dr(this,"shift")},some(e,t){return Vt(this,"some",e,t,void 0,arguments)},splice(...e){return dr(this,"splice",e)},toReversed(){return Vn(this).toReversed()},toSorted(e){return Vn(this).toSorted(e)},toSpliced(...e){return Vn(this).toSpliced(...e)},unshift(...e){return dr(this,"unshift",e)},values(){return So(this,"values",tt)}};function So(e,t,n){const o=qs(e),s=o[t]();return o!==e&&!Et(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=n(r.value)),r}),s}const vh=Array.prototype;function Vt(e,t,n,o,s,r){const i=qs(e),a=i!==e&&!Et(e),l=i[t];if(l!==vh[t]){const h=l.apply(e,r);return a?tt(h):h}let f=n;i!==e&&(a?f=function(h,d){return n.call(this,tt(h),d,e)}:n.length>2&&(f=function(h,d){return n.call(this,h,d,e)}));const u=l.call(i,f,o);return a&&s?s(u):u}function La(e,t,n,o){const s=qs(e);let r=n;return s!==e&&(Et(e)?n.length>3&&(r=function(i,a,l){return n.call(this,i,a,l,e)}):r=function(i,a,l){return n.call(this,i,tt(a),l,e)}),s[t](r,...o)}function Co(e,t,n){const o=ve(e);et(o,"iterate",Ar);const s=o[t](...n);return(s===-1||s===!1)&&Ji(n[0])?(n[0]=ve(n[0]),o[t](...n)):s}function dr(e,t,n=[]){mn(),Wi();const o=ve(e)[t].apply(e,n);return Ki(),vn(),o}const yh=$i("__proto__,__v_isRef,__isVue"),ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(en));function _h(e){en(e)||(e=String(e));const t=ve(this);return et(t,"has",e),t.hasOwnProperty(e)}class iu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?Rh:uu:r?cu:lu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ae(t);if(!s){let l;if(i&&(l=mh[n]))return l;if(n==="hasOwnProperty")return _h}const a=Reflect.get(t,n,De(t)?t:o);return(en(n)?ou.has(n):yh(n))||(s||et(t,"get",n),r)?a:De(a)?i&&Bi(n)?a:a.value:ke(a)?s?fu(a):yn(a):a}}class au extends iu{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const l=gn(r);if(!Et(o)&&!gn(o)&&(r=ve(r),o=ve(o)),!ae(t)&&De(r)&&!De(o))return l?!1:(r.value=o,!0)}const i=ae(t)&&Bi(n)?Number(n)<t.length:be(t,n),a=Reflect.set(t,n,o,De(t)?t:s);return t===ve(s)&&(i?fn(o,r)&&Jt(t,"set",n,o):Jt(t,"add",n,o)),a}deleteProperty(t,n){const o=be(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&Jt(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!en(n)||!ou.has(n))&&et(t,"has",n),o}ownKeys(t){return et(t,"iterate",ae(t)?"length":On),Reflect.ownKeys(t)}}class xh extends iu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Eh=new au,wh=new xh,bh=new au(!0);const Jo=e=>e,es=e=>Reflect.getPrototypeOf(e);function Sh(e,t,n){return function(...o){const s=this.__v_raw,r=ve(s),i=Qn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=s[e](...o),u=n?Jo:t?qo:tt;return!t&&et(r,"iterate",l?Xo:On),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ch(e,t){const n={get(s){const r=this.__v_raw,i=ve(r),a=ve(s);e||(fn(s,a)&&et(i,"get",s),et(i,"get",a));const{has:l}=es(i),f=t?Jo:e?qo:tt;if(l.call(i,s))return f(r.get(s));if(l.call(i,a))return f(r.get(a));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&et(ve(s),"iterate",On),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,i=ve(r),a=ve(s);return e||(fn(s,a)&&et(i,"has",s),et(i,"has",a)),s===a?r.has(s):r.has(s)||r.has(a)},forEach(s,r){const i=this,a=i.__v_raw,l=ve(a),f=t?Jo:e?qo:tt;return!e&&et(l,"iterate",On),a.forEach((u,h)=>s.call(r,f(u),f(h),i))}};return je(n,e?{add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear")}:{add(s){!t&&!Et(s)&&!gn(s)&&(s=ve(s));const r=ve(this);return es(r).has.call(r,s)||(r.add(s),Jt(r,"add",s,s)),this},set(s,r){!t&&!Et(r)&&!gn(r)&&(r=ve(r));const i=ve(this),{has:a,get:l}=es(i);let f=a.call(i,s);f||(s=ve(s),f=a.call(i,s));const u=l.call(i,s);return i.set(s,r),f?fn(r,u)&&Jt(i,"set",s,r):Jt(i,"add",s,r),this},delete(s){const r=ve(this),{has:i,get:a}=es(r);let l=i.call(r,s);l||(s=ve(s),l=i.call(r,s)),a&&a.call(r,s);const f=r.delete(s);return l&&Jt(r,"delete",s,void 0),f},clear(){const s=ve(this),r=s.size!==0,i=s.clear();return r&&Jt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Sh(s,e,t)}),n}function Yi(e,t){const n=Ch(e,t);return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(be(n,s)&&s in o?n:o,s,r)}const Th={get:Yi(!1,!1)},Ph={get:Yi(!1,!0)},Lh={get:Yi(!0,!1)};const lu=new WeakMap,cu=new WeakMap,uu=new WeakMap,Rh=new WeakMap;function kh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ah(e){return e.__v_skip||!Object.isExtensible(e)?0:kh(rh(e))}function yn(e){return gn(e)?e:Xi(e,!1,Eh,Th,lu)}function Qt(e){return Xi(e,!1,bh,Ph,cu)}function fu(e){return Xi(e,!0,wh,Lh,uu)}function Xi(e,t,n,o,s){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=Ah(e);if(i===0)return e;const a=new Proxy(e,i===2?o:n);return s.set(e,a),a}function Nn(e){return gn(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function Et(e){return!!(e&&e.__v_isShallow)}function Ji(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Ih(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&Kc(e,"__v_skip",!0),e}const tt=e=>ke(e)?yn(e):e,qo=e=>ke(e)?fu(e):e;function De(e){return e?e.__v_isRef===!0:!1}function Ce(e){return du(e,!1)}function tr(e){return du(e,!0)}function du(e,t){return De(e)?e:new Oh(e,t)}class Oh{constructor(t,n){this.dep=new Js,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:tt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Et(t)||gn(t);t=o?t:ve(t),fn(t,n)&&(this._rawValue=t,this._value=o?t:tt(t),this.dep.trigger())}}function te(e){return De(e)?e.value:e}const Nh={get:(e,t,n)=>t==="__v_raw"?e:te(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function hu(e){return Nn(e)?e:new Proxy(e,Nh)}class Mh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Js,{get:o,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dh(e){return new Mh(e)}class Fh{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return gh(ve(this._object),this._key)}}class $h{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function pu(e,t,n){return De(e)?e:le(e)?new $h(e):ke(e)&&arguments.length>1?Hh(e,t,n):Ce(e)}function Hh(e,t,n){const o=e[t];return De(o)?o:new Fh(e,t,n)}class Uh{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Js(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return Zc(this,!0),!0}get value(){const t=this.dep.track();return nu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Bh(e,t,n=!1){let o,s;return le(e)?o=e:(o=e.get,s=e.set),new Uh(o,s,n)}const ns={},ws=new WeakMap;let An;function Vh(e,t=!1,n=An){if(n){let o=ws.get(n);o||ws.set(n,o=[]),o.push(e)}}function jh(e,t,n=Le){const{immediate:o,deep:s,once:r,scheduler:i,augmentJob:a,call:l}=n,f=_=>s?_:Et(_)||s===!1||s===0?qt(_,1):qt(_);let u,h,d,c,p=!1,g=!1;if(De(e)?(h=()=>e.value,p=Et(e)):Nn(e)?(h=()=>f(e),p=!0):ae(e)?(g=!0,p=e.some(_=>Nn(_)||Et(_)),h=()=>e.map(_=>{if(De(_))return _.value;if(Nn(_))return f(_);if(le(_))return l?l(_,2):_()})):le(e)?t?h=l?()=>l(e,2):e:h=()=>{if(d){mn();try{d()}finally{vn()}}const _=An;An=u;try{return l?l(e,3,[c]):e(c)}finally{An=_}}:h=Bt,t&&s){const _=h,m=s===!0?1/0:s;h=()=>qt(_(),m)}const v=Xs(),x=()=>{u.stop(),v&&v.active&&Ui(v.effects,u)};if(r&&t){const _=t;t=(...m)=>{_(...m),x()}}let w=g?new Array(e.length).fill(ns):ns;const y=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const m=u.run();if(s||p||(g?m.some((E,b)=>fn(E,w[b])):fn(m,w))){d&&d();const E=An;An=u;try{const b=[m,w===ns?void 0:g&&w[0]===ns?[]:w,c];l?l(t,3,b):t(...b),w=m}finally{An=E}}}else u.run()};return a&&a(y),u=new Qc(h),u.scheduler=i?()=>i(y,!1):y,c=_=>Vh(_,!1,u),d=u.onStop=()=>{const _=ws.get(u);if(_){if(l)l(_,4);else for(const m of _)m();ws.delete(u)}},t?o?y(!0):w=u.run():i?i(y.bind(null,!0),!0):u.run(),x.pause=u.pause.bind(u),x.resume=u.resume.bind(u),x.stop=x,x}function qt(e,t=1/0,n){if(t<=0||!ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,De(e))qt(e.value,t,n);else if(ae(e))for(let o=0;o<e.length;o++)qt(e[o],t,n);else if(Bc(e)||Qn(e))e.forEach(o=>{qt(o,t,n)});else if(Wc(e)){for(const o in e)qt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&qt(e[o],t,n)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Gr(e,t,n,o){try{return o?e(...o):e()}catch(s){Yr(s,t,n)}}function Ot(e,t,n,o){if(le(e)){const s=Gr(e,t,n,o);return s&&Vc(s)&&s.catch(r=>{Yr(r,t,n)}),s}if(ae(e)){const s=[];for(let r=0;r<e.length;r++)s.push(Ot(e[r],t,n,o));return s}}function Yr(e,t,n,o=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,l,f)===!1)return}a=a.parent}if(r){mn(),Gr(r,null,10,[e,l,f]),vn();return}}Wh(e,n,s,o,i)}function Wh(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}const at=[];let $t=-1;const Zn=[];let sn=null,Gn=0;const gu=Promise.resolve();let bs=null;function _n(e){const t=bs||gu;return e?t.then(this?e.bind(this):e):t}function Kh(e){let t=$t+1,n=at.length;for(;t<n;){const o=t+n>>>1,s=at[o],r=Ir(s);r<e||r===e&&s.flags&2?t=o+1:n=o}return t}function qi(e){if(!(e.flags&1)){const t=Ir(e),n=at[at.length-1];!n||!(e.flags&2)&&t>=Ir(n)?at.push(e):at.splice(Kh(t),0,e),e.flags|=1,mu()}}function mu(){bs||(bs=gu.then(vu))}function Qo(e){ae(e)?Zn.push(...e):sn&&e.id===-1?sn.splice(Gn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),mu()}function Ra(e,t,n=$t+1){for(;n<at.length;n++){const o=at[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;at.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Ss(e){if(Zn.length){const t=[...new Set(Zn)].sort((n,o)=>Ir(n)-Ir(o));if(Zn.length=0,sn){sn.push(...t);return}for(sn=t,Gn=0;Gn<sn.length;Gn++){const n=sn[Gn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}sn=null,Gn=0}}const Ir=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vu(e){try{for($t=0;$t<at.length;$t++){const t=at[$t];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Gr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$t<at.length;$t++){const t=at[$t];t&&(t.flags&=-2)}$t=-1,at.length=0,Ss(),bs=null,(at.length||Zn.length)&&vu()}}let Ke=null,yu=null;function Cs(e){const t=Ke;return Ke=e,yu=e&&e.type.__scopeId||null,t}function xn(e,t=Ke,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Va(-1);const r=Cs(t);let i;try{i=e(...s)}finally{Cs(r),o._d&&Va(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Tw(e,t){if(Ke===null)return e;const n=no(Ke),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,a,l=Le]=t[s];r&&(le(r)&&(r={mounted:r,updated:r}),r.deep&&qt(i),o.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ht(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];r&&(a.oldValue=r[i].value);let l=a.dir[o];l&&(mn(),Ot(l,n,8,[e.el,a,e,t]),vn())}}const Gh=Symbol("_vte"),_u=e=>e.__isTeleport,on=Symbol("_leaveCb"),rs=Symbol("_enterCb");function Yh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return St(()=>{e.isMounted=!0}),Xr(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],xu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},Eu=e=>{const t=e.subTree;return t.component?Eu(t.component):t},Xh={name:"BaseTransition",props:xu,setup(e,{slots:t}){const n=Hn(),o=Yh();return()=>{const s=t.default&&Su(t.default(),!0);if(!s||!s.length)return;const r=wu(s),i=ve(e),{mode:a}=i;if(o.isLeaving)return To(r);const l=ka(r);if(!l)return To(r);let f=zo(l,i,o,n,h=>f=h);l.type!==We&&nr(l,f);let u=n.subTree&&ka(n.subTree);if(u&&u.type!==We&&!Rt(l,u)&&Eu(n).type!==We){let h=zo(u,i,o,n);if(nr(u,h),a==="out-in"&&l.type!==We)return o.isLeaving=!0,h.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},To(r);a==="in-out"&&l.type!==We?h.delayLeave=(d,c,p)=>{const g=bu(o,u);g[String(u.key)]=u,d[on]=()=>{c(),d[on]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{p(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function wu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==We){t=n;break}}return t}const Jh=Xh;function bu(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function zo(e,t,n,o,s){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:x,onAfterAppear:w,onAppearCancelled:y}=t,_=String(e.key),m=bu(n,e),E=(T,L)=>{T&&Ot(T,o,9,L)},b=(T,L)=>{const P=L[1];E(T,L),ae(T)?T.every(C=>C.length<=1)&&P():T.length<=1&&P()},S={mode:i,persisted:a,beforeEnter(T){let L=l;if(!n.isMounted)if(r)L=v||l;else return;T[on]&&T[on](!0);const P=m[_];P&&Rt(e,P)&&P.el[on]&&P.el[on](),E(L,[T])},enter(T){let L=f,P=u,C=h;if(!n.isMounted)if(r)L=x||f,P=w||u,C=y||h;else return;let O=!1;const $=T[rs]=F=>{O||(O=!0,F?E(C,[T]):E(P,[T]),S.delayedLeave&&S.delayedLeave(),T[rs]=void 0)};L?b(L,[T,$]):$()},leave(T,L){const P=String(e.key);if(T[rs]&&T[rs](!0),n.isUnmounting)return L();E(d,[T]);let C=!1;const O=T[on]=$=>{C||(C=!0,L(),$?E(g,[T]):E(p,[T]),T[on]=void 0,m[P]===e&&delete m[P])};m[P]=e,c?b(c,[T,O]):O()},clone(T){const L=zo(T,t,n,o,s);return s&&s(L),L}};return S}function To(e){if(Qs(e))return e=Zt(e),e.children=null,e}function ka(e){if(!Qs(e))return _u(e.type)&&e.children?wu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function nr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,nr(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 Su(e,t=!1,n){let o=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Ye?(i.patchFlag&128&&s++,o=o.concat(Su(i.children,t,a))):(t||i.type!==We)&&o.push(a!=null?Zt(i,{key:a}):i)}if(s>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ze(e,t){return le(e)?je({name:e.name},t,{setup:e}):e}function Cu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Or(e,t,n,o,s=!1){if(ae(e)){e.forEach((p,g)=>Or(p,t&&(ae(t)?t[g]:t),n,o,s));return}if(dn(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Or(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?no(o.component):o.el,i=s?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,h=a.setupState,d=ve(h),c=h===Le?()=>!1:p=>be(d,p);if(f!=null&&f!==l&&(Ne(f)?(u[f]=null,c(f)&&(h[f]=null)):De(f)&&(f.value=null)),le(l))Gr(l,a,12,[i,u]);else{const p=Ne(l),g=De(l);if(p||g){const v=()=>{if(e.f){const x=p?c(l)?h[l]:u[l]:l.value;s?ae(x)&&Ui(x,r):ae(x)?x.includes(r)||x.push(r):p?(u[l]=[r],c(l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,c(l)&&(h[l]=i)):g&&(l.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,qe(v,n)):v()}}}let Aa=!1;const jn=()=>{Aa||(console.error("Hydration completed but contains mismatches."),Aa=!0)},qh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Qh=e=>e.namespaceURI.includes("MathML"),ss=e=>{if(e.nodeType===1){if(qh(e))return"svg";if(Qh(e))return"mathml"}},os=e=>e.nodeType===8;function zh(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),Ss(),_._vnode=y;return}h(_.firstChild,y,null,null,null),Ss(),_._vnode=y},h=(y,_,m,E,b,S=!1)=>{S=S||!!_.dynamicChildren;const T=os(y)&&y.data==="[",L=()=>g(y,_,m,E,b,T),{type:P,ref:C,shapeFlag:O,patchFlag:$}=_;let F=y.nodeType;_.el=y,$===-2&&(S=!1,_.dynamicChildren=null);let U=null;switch(P){case pn:F!==3?_.children===""?(l(_.el=s(""),i(y),y),U=y):U=L():(y.data!==_.children&&(jn(),y.data=_.children),U=r(y));break;case We:w(y)?(U=r(y),x(_.el=y.content.firstChild,y,m)):F!==8||T?U=L():U=r(y);break;case br:if(T&&(y=r(y),F=y.nodeType),F===1||F===3){U=y;const j=!_.children.length;for(let Y=0;Y<_.staticCount;Y++)j&&(_.children+=U.nodeType===1?U.outerHTML:U.data),Y===_.staticCount-1&&(_.anchor=U),U=r(U);return T?r(U):U}else L();break;case Ye:T?U=p(y,_,m,E,b,S):U=L();break;default:if(O&1)(F!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!w(y)?U=L():U=d(y,_,m,E,b,S);else if(O&6){_.slotScopeIds=b;const j=i(y);if(T?U=v(y):os(y)&&y.data==="teleport start"?U=v(y,y.data,"teleport end"):U=r(y),t(_,j,null,m,E,ss(j),S),dn(_)&&!_.type.__asyncResolved){let Y;T?(Y=Ie(Ye),Y.anchor=U?U.previousSibling:j.lastChild):Y=y.nodeType===3?to(""):Ie("div"),Y.el=y,_.component.subTree=Y}}else O&64?F!==8?U=L():U=_.type.hydrate(y,_,m,E,b,S,e,c):O&128&&(U=_.type.hydrate(y,_,m,E,ss(i(y)),b,S,e,h))}return C!=null&&Or(C,null,E,_),U},d=(y,_,m,E,b,S)=>{S=S||!!_.dynamicChildren;const{type:T,props:L,patchFlag:P,shapeFlag:C,dirs:O,transition:$}=_,F=T==="input"||T==="option";if(F||P!==-1){O&&Ht(_,null,m,"created");let U=!1;if(w(y)){U=Xu(null,$)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;U&&$.beforeEnter(Y),x(Y,y,m),_.el=y=Y}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let Y=c(y.firstChild,_,y,m,E,b,S);for(;Y;){is(y,1)||jn();const se=Y;Y=Y.nextSibling,a(se)}}else if(C&8){let Y=_.children;Y[0]===`
`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(Y=Y.slice(1)),y.textContent!==Y&&(is(y,0)||jn(),y.textContent=_.children)}if(L){if(F||!S||P&48){const Y=y.tagName.includes("-");for(const se in L)(F&&(se.endsWith("value")||se==="indeterminate")||Wr(se)&&!zn(se)||se[0]==="."||Y)&&o(y,se,null,L[se],void 0,m)}else if(L.onClick)o(y,"onClick",null,L.onClick,void 0,m);else if(P&4&&Nn(L.style))for(const Y in L.style)L.style[Y]}let j;(j=L&&L.onVnodeBeforeMount)&&ut(j,m,_),O&&Ht(_,null,m,"beforeMount"),((j=L&&L.onVnodeMounted)||O||U)&&ef(()=>{j&&ut(j,m,_),U&&$.enter(y),O&&Ht(_,null,m,"mounted")},E)}return y.nextSibling},c=(y,_,m,E,b,S,T)=>{T=T||!!_.dynamicChildren;const L=_.children,P=L.length;for(let C=0;C<P;C++){const O=T?L[C]:L[C]=vt(L[C]),$=O.type===pn;y?($&&!T&&C+1<P&&vt(L[C+1]).type===pn&&(l(s(y.data.slice(O.children.length)),m,r(y)),y.data=O.children),y=h(y,O,E,b,S,T)):$&&!O.children?l(O.el=s(""),m):(is(m,1)||jn(),n(null,O,m,null,E,b,ss(m),S))}return y},p=(y,_,m,E,b,S)=>{const{slotScopeIds:T}=_;T&&(b=b?b.concat(T):T);const L=i(y),P=c(r(y),_,L,m,E,b,S);return P&&os(P)&&P.data==="]"?r(_.anchor=P):(jn(),l(_.anchor=f("]"),L,P),P)},g=(y,_,m,E,b,S)=>{if(is(y.parentElement,1)||jn(),_.el=null,S){const P=v(y);for(;;){const C=r(y);if(C&&C!==P)a(C);else break}}const T=r(y),L=i(y);return a(y),n(null,_,L,T,m,E,ss(L),b),m&&(m.vnode.el=_.el,eo(m,_.el)),T},v=(y,_="[",m="]")=>{let E=0;for(;y;)if(y=r(y),y&&os(y)&&(y.data===_&&E++,y.data===m)){if(E===0)return r(y);E--}return y},x=(y,_,m)=>{const E=_.parentNode;E&&E.replaceChild(y,_);let b=m;for(;b;)b.vnode.el===_&&(b.vnode.el=b.subTree.el=y),b=b.parent},w=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[u,h]}const Ia="data-allow-mismatch",Zh={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function is(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ia);)e=e.parentElement;const n=e&&e.getAttribute(Ia);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:n.split(",").includes(Zh[t])}}Gs().requestIdleCallback;Gs().cancelIdleCallback;const dn=e=>!!e.type.__asyncLoader,Qs=e=>e.type.__isKeepAlive,ep={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Hn(),o=n.ctx;if(!o.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const s=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:h}}}=o,d=h("div");o.activate=(w,y,_,m,E)=>{const b=w.component;f(w,y,_,0,a),l(b.vnode,w,y,_,b,a,m,w.slotScopeIds,E),qe(()=>{b.isDeactivated=!1,b.a&&_r(b.a);const S=w.props&&w.props.onVnodeMounted;S&&ut(S,b.parent,w)},a)},o.deactivate=w=>{const y=w.component;Ps(y.m),Ps(y.a),f(w,d,null,1,a),qe(()=>{y.da&&_r(y.da);const _=w.props&&w.props.onVnodeUnmounted;_&&ut(_,y.parent,w),y.isDeactivated=!0},a)};function c(w){Po(w),u(w,n,a,!0)}function p(w){s.forEach((y,_)=>{const m=ii(y.type);m&&!w(m)&&g(_)})}function g(w){const y=s.get(w);y&&(!i||!Rt(y,i))?c(y):i&&Po(i),s.delete(w),r.delete(w)}pt(()=>[e.include,e.exclude],([w,y])=>{w&&p(_=>vr(w,_)),y&&p(_=>!vr(y,_))},{flush:"post",deep:!0});let v=null;const x=()=>{v!=null&&(Ls(n.subTree.type)?qe(()=>{s.set(v,as(n.subTree))},n.subTree.suspense):s.set(v,as(n.subTree)))};return St(x),Ru(x),Xr(()=>{s.forEach(w=>{const{subTree:y,suspense:_}=n,m=as(y);if(w.type===m.type&&w.key===m.key){Po(m);const E=m.component.da;E&&qe(E,_);return}c(w)})}),()=>{if(v=null,!t.default)return i=null;const w=t.default(),y=w[0];if(w.length>1)return i=null,w;if(!Fn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=as(y);if(_.type===We)return i=null,_;const m=_.type,E=ii(dn(_)?_.type.__asyncResolved||{}:m),{include:b,exclude:S,max:T}=e;if(b&&(!E||!vr(b,E))||S&&E&&vr(S,E))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,P=s.get(L);return _.el&&(_=Zt(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,P?(_.el=P.el,_.component=P.component,_.transition&&nr(_,_.transition),_.shapeFlag|=512,r.delete(L),r.add(L)):(r.add(L),T&&r.size>parseInt(T,10)&&g(r.values().next().value)),_.shapeFlag|=256,i=_,Ls(y.type)?y:_}}},tp=ep;function vr(e,t){return ae(e)?e.some(n=>vr(n,t)):Ne(e)?e.split(",").includes(t):nh(e)?(e.lastIndex=0,e.test(t)):!1}function Tu(e,t){Lu(e,"a",t)}function Pu(e,t){Lu(e,"da",t)}function Lu(e,t,n=Xe){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(zs(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Qs(s.parent.vnode)&&np(o,t,n,s),s=s.parent}}function np(e,t,n,o){const s=zs(t,e,o,!0);Qi(()=>{Ui(o[t],s)},n)}function Po(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function as(e){return e.shapeFlag&128?e.ssContent:e}function zs(e,t,n=Xe,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{mn();const a=Jr(n),l=Ot(t,n,e,i);return a(),vn(),l});return o?s.unshift(r):s.push(r),r}}const tn=e=>(t,n=Xe)=>{(!Mr||e==="sp")&&zs(e,(...o)=>t(...o),n)},rp=tn("bm"),St=tn("m"),sp=tn("bu"),Ru=tn("u"),Xr=tn("bum"),Qi=tn("um"),op=tn("sp"),ip=tn("rtg"),ap=tn("rtc");function ku(e,t=Xe){zs("ec",e,t)}const Au="components";function Oa(e,t){return Ou(Au,e,!0,t)||e}const Iu=Symbol.for("v-ndc");function lp(e){return Ne(e)?Ou(Au,e,!1)||e:e||Iu}function Ou(e,t,n=!0,o=!1){const s=Ke||Xe;if(s){const r=s.type;{const a=ii(r,!1);if(a&&(a===t||a===wt(t)||a===Ks(wt(t))))return r}const i=Na(s[e]||r[e],t)||Na(s.appContext[e],t);return!i&&o?r:i}}function Na(e,t){return e&&(e[t]||e[wt(t)]||e[Ks(wt(t))])}function Pw(e,t,n,o){let s;const r=n,i=ae(e);if(i||Ne(e)){const a=i&&Nn(e);let l=!1;a&&(l=!Et(e),e=qs(e)),s=new Array(e.length);for(let f=0,u=e.length;f<u;f++)s[f]=t(l?tt(e[f]):e[f],f,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,r)}else if(ke(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,f=a.length;l<f;l++){const u=a[l];s[l]=t(e[u],u,l,r)}}else s=[];return s}function Lw(e,t,n={},o,s){if(Ke.ce||Ke.parent&&dn(Ke.parent)&&Ke.parent.ce)return ye(),Qe(Ye,null,[Ie("slot",n,o)],64);let r=e[t];r&&r._c&&(r._d=!1),ye();const i=r&&Nu(r(n)),a=n.key||i&&i.key,l=Qe(Ye,{key:(a&&!en(a)?a:`_${t}`)+(!i&&o?"_fb":"")},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Nu(e){return e.some(t=>Fn(t)?!(t.type===We||t.type===Ye&&!Nu(t.children)):!0)?e:null}const Zo=e=>e?of(e)?no(e):Zo(e.parent):null,wr=je(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=>Zo(e.parent),$root:e=>Zo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zi(e),$forceUpdate:e=>e.f||(e.f=()=>{qi(e.update)}),$nextTick:e=>e.n||(e.n=_n.bind(e.proxy)),$watch:e=>Rp.bind(e)}),Lo=(e,t)=>e!==Le&&!e.__isScriptSetup&&be(e,t),cp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:i,type:a,appContext:l}=e;let f;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Lo(o,t))return i[t]=1,o[t];if(s!==Le&&be(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&be(f,t))return i[t]=3,r[t];if(n!==Le&&be(n,t))return i[t]=4,n[t];ei&&(i[t]=0)}}const u=wr[t];let h,d;if(u)return t==="$attrs"&&et(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Le&&be(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,be(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return Lo(s,t)?(s[t]=n,!0):o!==Le&&be(o,t)?(o[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},i){let a;return!!n[i]||e!==Le&&be(e,i)||Lo(t,i)||(a=r[0])&&be(a,i)||be(o,i)||be(wr,i)||be(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ma(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ei=!0;function up(e){const t=zi(e),n=e.proxy,o=e.ctx;ei=!1,t.beforeCreate&&Da(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:x,beforeUnmount:w,destroyed:y,unmounted:_,render:m,renderTracked:E,renderTriggered:b,errorCaptured:S,serverPrefetch:T,expose:L,inheritAttrs:P,components:C,directives:O,filters:$}=t;if(f&&fp(f,o,null),i)for(const j in i){const Y=i[j];le(Y)&&(o[j]=Y.bind(n))}if(s){const j=s.call(n,n);ke(j)&&(e.data=yn(j))}if(ei=!0,r)for(const j in r){const Y=r[j],se=le(Y)?Y.bind(n,n):le(Y.get)?Y.get.bind(n,n):Bt,fe=!le(Y)&&le(Y.set)?Y.set.bind(n):Bt,ue=ge({get:se,set:fe});Object.defineProperty(o,j,{enumerable:!0,configurable:!0,get:()=>ue.value,set:ne=>ue.value=ne})}if(a)for(const j in a)Mu(a[j],o,n,j);if(l){const j=le(l)?l.call(n):l;Reflect.ownKeys(j).forEach(Y=>{hn(Y,j[Y])})}u&&Da(u,e,"c");function U(j,Y){ae(Y)?Y.forEach(se=>j(se.bind(n))):Y&&j(Y.bind(n))}if(U(rp,h),U(St,d),U(sp,c),U(Ru,p),U(Tu,g),U(Pu,v),U(ku,S),U(ap,E),U(ip,b),U(Xr,w),U(Qi,_),U(op,T),ae(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(j,Y,{get:()=>n[Y],set:se=>n[Y]=se})})}else e.exposed||(e.exposed={});m&&e.render===Bt&&(e.render=m),P!=null&&(e.inheritAttrs=P),C&&(e.components=C),O&&(e.directives=O),T&&Cu(e)}function fp(e,t,n=Bt){ae(e)&&(e=ti(e));for(const o in e){const s=e[o];let r;ke(s)?"default"in s?r=nt(s.from||o,s.default,!0):r=nt(s.from||o):r=nt(s),De(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[o]=r}}function Da(e,t,n){Ot(ae(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mu(e,t,n,o){let s=o.includes(".")?Qu(n,o):()=>n[o];if(Ne(e)){const r=t[e];le(r)&&pt(s,r)}else if(le(e))pt(s,e.bind(n));else if(ke(e))if(ae(e))e.forEach(r=>Mu(r,t,n,o));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&pt(s,r,e)}}function zi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!s.length&&!n&&!o?l=t:(l={},s.length&&s.forEach(f=>Ts(l,f,i,!0)),Ts(l,t,i)),ke(t)&&r.set(t,l),l}function Ts(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&Ts(e,r,n,!0),s&&s.forEach(i=>Ts(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=dp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const dp={data:Fa,props:$a,emits:$a,methods:yr,computed:yr,beforeCreate:st,created:st,beforeMount:st,mounted:st,beforeUpdate:st,updated:st,beforeDestroy:st,beforeUnmount:st,destroyed:st,unmounted:st,activated:st,deactivated:st,errorCaptured:st,serverPrefetch:st,components:yr,directives:yr,watch:pp,provide:Fa,inject:hp};function Fa(e,t){return t?e?function(){return je(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function hp(e,t){return yr(ti(e),ti(t))}function ti(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function st(e,t){return e?[...new Set([].concat(e,t))]:t}function yr(e,t){return e?je(Object.create(null),e,t):t}function $a(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:je(Object.create(null),Ma(e),Ma(t??{})):t}function pp(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const o in t)n[o]=st(e[o],t[o]);return n}function Du(){return{app:null,config:{isNativeTag:eh,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 gp=0;function mp(e,t){return function(o,s=null){le(o)||(o=je({},o)),s!=null&&!ke(s)&&(s=null);const r=Du(),i=new WeakSet,a=[];let l=!1;const f=r.app={_uid:gp++,_component:o,_props:s,_container:null,_context:r,_instance:null,version:lf,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(f,...h)):le(u)&&(i.add(u),u(f,...h))),f},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),f},component(u,h){return h?(r.components[u]=h,f):r.components[u]},directive(u,h){return h?(r.directives[u]=h,f):r.directives[u]},mount(u,h,d){if(!l){const c=f._ceVNode||Ie(o,s);return c.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),h&&t?t(c,u):e(c,u,d),l=!0,f._container=u,u.__vue_app__=f,no(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Ot(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,h){return r.provides[u]=h,f},runWithContext(u){const h=Mn;Mn=f;try{return u()}finally{Mn=h}}};return f}}let Mn=null;function hn(e,t){if(Xe){let n=Xe.provides;const o=Xe.parent&&Xe.parent.provides;o===n&&(n=Xe.provides=Object.create(o)),n[e]=t}}function nt(e,t,n=!1){const o=Xe||Ke;if(o||Mn){const s=Mn?Mn._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&le(t)?t.call(o&&o.proxy):t}}function Fu(){return!!(Xe||Ke||Mn)}const $u={},Hu=()=>Object.create($u),Uu=e=>Object.getPrototypeOf(e)===$u;function vp(e,t,n,o=!1){const s={},r=Hu();e.propsDefaults=Object.create(null),Bu(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=o?s:Qt(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function yp(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,a=ve(s),[l]=e.propsOptions;let f=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];if(Zs(e.emitsOptions,d))continue;const c=t[d];if(l)if(be(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=wt(d);s[p]=ni(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{Bu(e,t,s,r)&&(f=!0);let u;for(const h in a)(!t||!be(t,h)&&((u=$n(h))===h||!be(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(s[h]=ni(l,a,h,void 0,e,!0)):delete s[h]);if(r!==a)for(const h in r)(!t||!be(t,h))&&(delete r[h],f=!0)}f&&Jt(e.attrs,"set","")}function Bu(e,t,n,o){const[s,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(zn(l))continue;const f=t[l];let u;s&&be(s,u=wt(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:Zs(e.emitsOptions,l)||(!(l in o)||f!==o[l])&&(o[l]=f,i=!0)}if(r){const l=ve(n),f=a||Le;for(let u=0;u<r.length;u++){const h=r[u];n[h]=ni(s,l,h,f[h],e,!be(f,h))}}return i}function ni(e,t,n,o,s,r){const i=e[n];if(i!=null){const a=be(i,"default");if(a&&o===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:f}=s;if(n in f)o=f[n];else{const u=Jr(s);o=f[n]=l.call(null,t),u()}}else o=l;s.ce&&s.ce._setProp(n,o)}i[0]&&(r&&!a?o=!1:i[1]&&(o===""||o===$n(n))&&(o=!0))}return o}const _p=new WeakMap;function Vu(e,t,n=!1){const o=n?_p:t.propsCache,s=o.get(e);if(s)return s;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=h=>{l=!0;const[d,c]=Vu(h,t,!0);je(i,d),c&&a.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return ke(e)&&o.set(e,qn),qn;if(ae(r))for(let u=0;u<r.length;u++){const h=wt(r[u]);Ha(h)&&(i[h]=Le)}else if(r)for(const u in r){const h=wt(u);if(Ha(h)){const d=r[u],c=i[h]=ae(d)||le(d)?{type:d}:je({},d),p=c.type;let g=!1,v=!0;if(ae(p))for(let x=0;x<p.length;++x){const w=p[x],y=le(w)&&w.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(v=!1)}else g=le(p)&&p.name==="Boolean";c[0]=g,c[1]=v,(g||be(c,"default"))&&a.push(h)}}const f=[i,a];return ke(e)&&o.set(e,f),f}function Ha(e){return e[0]!=="$"&&!zn(e)}const ju=e=>e[0]==="_"||e==="$stable",Zi=e=>ae(e)?e.map(vt):[vt(e)],xp=(e,t,n)=>{if(t._n)return t;const o=xn((...s)=>Zi(t(...s)),n);return o._c=!1,o},Wu=(e,t,n)=>{const o=e._ctx;for(const s in e){if(ju(s))continue;const r=e[s];if(le(r))t[s]=xp(s,r,o);else if(r!=null){const i=Zi(r);t[s]=()=>i}}},Ku=(e,t)=>{const n=Zi(t);e.slots.default=()=>n},Gu=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Ep=(e,t,n)=>{const o=e.slots=Hu();if(e.vnode.shapeFlag&32){const s=t._;s?(Gu(o,t,n),n&&Kc(o,"_",s,!0)):Wu(t,o)}else t&&Ku(e,t)},wp=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,i=Le;if(o.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:Gu(s,t,n):(r=!t.$stable,Wu(t,s)),i=t}else t&&(Ku(e,t),i={default:1});if(r)for(const a in s)!ju(a)&&i[a]==null&&delete s[a]},qe=ef;function bp(e){return Yu(e)}function Sp(e){return Yu(e,zh)}function Yu(e,t){const n=Gs();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=Bt,insertStaticContent:p}=e,g=(A,I,D,W=null,B=null,X=null,Q=void 0,R=null,k=!!I.dynamicChildren)=>{if(A===I)return;A&&!Rt(A,I)&&(W=V(A),ne(A,B,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:N,ref:K,shapeFlag:J}=I;switch(N){case pn:v(A,I,D,W);break;case We:x(A,I,D,W);break;case br:A==null&&w(I,D,W,Q);break;case Ye:C(A,I,D,W,B,X,Q,R,k);break;default:J&1?m(A,I,D,W,B,X,Q,R,k):J&6?O(A,I,D,W,B,X,Q,R,k):(J&64||J&128)&&N.process(A,I,D,W,B,X,Q,R,k,ee)}K!=null&&B&&Or(K,A&&A.ref,X,I||A,!I)},v=(A,I,D,W)=>{if(A==null)o(I.el=a(I.children),D,W);else{const B=I.el=A.el;I.children!==A.children&&f(B,I.children)}},x=(A,I,D,W)=>{A==null?o(I.el=l(I.children||""),D,W):I.el=A.el},w=(A,I,D,W)=>{[A.el,A.anchor]=p(A.children,I,D,W,A.el,A.anchor)},y=({el:A,anchor:I},D,W)=>{let B;for(;A&&A!==I;)B=d(A),o(A,D,W),A=B;o(I,D,W)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=d(A),s(A),A=D;s(I)},m=(A,I,D,W,B,X,Q,R,k)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),A==null?E(I,D,W,B,X,Q,R,k):T(A,I,B,X,Q,R,k)},E=(A,I,D,W,B,X,Q,R)=>{let k,N;const{props:K,shapeFlag:J,transition:G,dirs:M}=A;if(k=A.el=i(A.type,X,K&&K.is,K),J&8?u(k,A.children):J&16&&S(A.children,k,null,W,B,Ro(A,X),Q,R),M&&Ht(A,null,W,"created"),b(k,A,A.scopeId,Q,W),K){for(const re in K)re!=="value"&&!zn(re)&&r(k,re,null,K[re],X,W);"value"in K&&r(k,"value",null,K.value,X),(N=K.onVnodeBeforeMount)&&ut(N,W,A)}M&&Ht(A,null,W,"beforeMount");const H=Xu(B,G);H&&G.beforeEnter(k),o(k,I,D),((N=K&&K.onVnodeMounted)||H||M)&&qe(()=>{N&&ut(N,W,A),H&&G.enter(k),M&&Ht(A,null,W,"mounted")},B)},b=(A,I,D,W,B)=>{if(D&&c(A,D),W)for(let X=0;X<W.length;X++)c(A,W[X]);if(B){let X=B.subTree;if(I===X||Ls(X.type)&&(X.ssContent===I||X.ssFallback===I)){const Q=B.vnode;b(A,Q,Q.scopeId,Q.slotScopeIds,B.parent)}}},S=(A,I,D,W,B,X,Q,R,k=0)=>{for(let N=k;N<A.length;N++){const K=A[N]=R?an(A[N]):vt(A[N]);g(null,K,I,D,W,B,X,Q,R)}},T=(A,I,D,W,B,X,Q)=>{const R=I.el=A.el;let{patchFlag:k,dynamicChildren:N,dirs:K}=I;k|=A.patchFlag&16;const J=A.props||Le,G=I.props||Le;let M;if(D&&Cn(D,!1),(M=G.onVnodeBeforeUpdate)&&ut(M,D,I,A),K&&Ht(I,A,D,"beforeUpdate"),D&&Cn(D,!0),(J.innerHTML&&G.innerHTML==null||J.textContent&&G.textContent==null)&&u(R,""),N?L(A.dynamicChildren,N,R,D,W,Ro(I,B),X):Q||Y(A,I,R,null,D,W,Ro(I,B),X,!1),k>0){if(k&16)P(R,J,G,D,B);else if(k&2&&J.class!==G.class&&r(R,"class",null,G.class,B),k&4&&r(R,"style",J.style,G.style,B),k&8){const H=I.dynamicProps;for(let re=0;re<H.length;re++){const oe=H[re],Me=J[oe],Fe=G[oe];(Fe!==Me||oe==="value")&&r(R,oe,Me,Fe,B,D)}}k&1&&A.children!==I.children&&u(R,I.children)}else!Q&&N==null&&P(R,J,G,D,B);((M=G.onVnodeUpdated)||K)&&qe(()=>{M&&ut(M,D,I,A),K&&Ht(I,A,D,"updated")},W)},L=(A,I,D,W,B,X,Q)=>{for(let R=0;R<I.length;R++){const k=A[R],N=I[R],K=k.el&&(k.type===Ye||!Rt(k,N)||k.shapeFlag&70)?h(k.el):D;g(k,N,K,null,W,B,X,Q,!0)}},P=(A,I,D,W,B)=>{if(I!==D){if(I!==Le)for(const X in I)!zn(X)&&!(X in D)&&r(A,X,I[X],null,B,W);for(const X in D){if(zn(X))continue;const Q=D[X],R=I[X];Q!==R&&X!=="value"&&r(A,X,R,Q,B,W)}"value"in D&&r(A,"value",I.value,D.value,B)}},C=(A,I,D,W,B,X,Q,R,k)=>{const N=I.el=A?A.el:a(""),K=I.anchor=A?A.anchor:a("");let{patchFlag:J,dynamicChildren:G,slotScopeIds:M}=I;M&&(R=R?R.concat(M):M),A==null?(o(N,D,W),o(K,D,W),S(I.children||[],D,K,B,X,Q,R,k)):J>0&&J&64&&G&&A.dynamicChildren?(L(A.dynamicChildren,G,D,B,X,Q,R),(I.key!=null||B&&I===B.subTree)&&Ju(A,I,!0)):Y(A,I,D,K,B,X,Q,R,k)},O=(A,I,D,W,B,X,Q,R,k)=>{I.slotScopeIds=R,A==null?I.shapeFlag&512?B.ctx.activate(I,D,W,Q,k):$(I,D,W,B,X,Q,k):F(A,I,k)},$=(A,I,D,W,B,X,Q)=>{const R=A.component=Gp(A,W,B);if(Qs(A)&&(R.ctx.renderer=ee),Yp(R,!1,Q),R.asyncDep){if(B&&B.registerDep(R,U,Q),!A.el){const k=R.subTree=Ie(We);x(null,k,I,D)}}else U(R,A,I,D,B,X,Q)},F=(A,I,D)=>{const W=I.component=A.component;if(Mp(A,I,D))if(W.asyncDep&&!W.asyncResolved){j(W,I,D);return}else W.next=I,W.update();else I.el=A.el,W.vnode=I},U=(A,I,D,W,B,X,Q)=>{const R=()=>{if(A.isMounted){let{next:J,bu:G,u:M,parent:H,vnode:re}=A;{const rt=qu(A);if(rt){J&&(J.el=re.el,j(A,J,Q)),rt.asyncDep.then(()=>{A.isUnmounted||R()});return}}let oe=J,Me;Cn(A,!1),J?(J.el=re.el,j(A,J,Q)):J=re,G&&_r(G),(Me=J.props&&J.props.onVnodeBeforeUpdate)&&ut(Me,H,J,re),Cn(A,!0);const Fe=ko(A),Ge=A.subTree;A.subTree=Fe,g(Ge,Fe,h(Ge.el),V(Ge),A,B,X),J.el=Fe.el,oe===null&&eo(A,Fe.el),M&&qe(M,B),(Me=J.props&&J.props.onVnodeUpdated)&&qe(()=>ut(Me,H,J,re),B)}else{let J;const{el:G,props:M}=I,{bm:H,m:re,parent:oe,root:Me,type:Fe}=A,Ge=dn(I);if(Cn(A,!1),H&&_r(H),!Ge&&(J=M&&M.onVnodeBeforeMount)&&ut(J,oe,I),Cn(A,!0),G&&xe){const rt=()=>{A.subTree=ko(A),xe(G,A.subTree,A,B,null)};Ge&&Fe.__asyncHydrate?Fe.__asyncHydrate(G,A,rt):rt()}else{Me.ce&&Me.ce._injectChildStyle(Fe);const rt=A.subTree=ko(A);g(null,rt,D,W,A,B,X),I.el=rt.el}if(re&&qe(re,B),!Ge&&(J=M&&M.onVnodeMounted)){const rt=I;qe(()=>ut(J,oe,rt),B)}(I.shapeFlag&256||oe&&dn(oe.vnode)&&oe.vnode.shapeFlag&256)&&A.a&&qe(A.a,B),A.isMounted=!0,I=D=W=null}};A.scope.on();const k=A.effect=new Qc(R);A.scope.off();const N=A.update=k.run.bind(k),K=A.job=k.runIfDirty.bind(k);K.i=A,K.id=A.uid,k.scheduler=()=>qi(K),Cn(A,!0),N()},j=(A,I,D)=>{I.component=A;const W=A.vnode.props;A.vnode=I,A.next=null,yp(A,I.props,W,D),wp(A,I.children,D),mn(),Ra(A),vn()},Y=(A,I,D,W,B,X,Q,R,k=!1)=>{const N=A&&A.children,K=A?A.shapeFlag:0,J=I.children,{patchFlag:G,shapeFlag:M}=I;if(G>0){if(G&128){fe(N,J,D,W,B,X,Q,R,k);return}else if(G&256){se(N,J,D,W,B,X,Q,R,k);return}}M&8?(K&16&&de(N,B,X),J!==N&&u(D,J)):K&16?M&16?fe(N,J,D,W,B,X,Q,R,k):de(N,B,X,!0):(K&8&&u(D,""),M&16&&S(J,D,W,B,X,Q,R,k))},se=(A,I,D,W,B,X,Q,R,k)=>{A=A||qn,I=I||qn;const N=A.length,K=I.length,J=Math.min(N,K);let G;for(G=0;G<J;G++){const M=I[G]=k?an(I[G]):vt(I[G]);g(A[G],M,D,null,B,X,Q,R,k)}N>K?de(A,B,X,!0,!1,J):S(I,D,W,B,X,Q,R,k,J)},fe=(A,I,D,W,B,X,Q,R,k)=>{let N=0;const K=I.length;let J=A.length-1,G=K-1;for(;N<=J&&N<=G;){const M=A[N],H=I[N]=k?an(I[N]):vt(I[N]);if(Rt(M,H))g(M,H,D,null,B,X,Q,R,k);else break;N++}for(;N<=J&&N<=G;){const M=A[J],H=I[G]=k?an(I[G]):vt(I[G]);if(Rt(M,H))g(M,H,D,null,B,X,Q,R,k);else break;J--,G--}if(N>J){if(N<=G){const M=G+1,H=M<K?I[M].el:W;for(;N<=G;)g(null,I[N]=k?an(I[N]):vt(I[N]),D,H,B,X,Q,R,k),N++}}else if(N>G)for(;N<=J;)ne(A[N],B,X,!0),N++;else{const M=N,H=N,re=new Map;for(N=H;N<=G;N++){const mt=I[N]=k?an(I[N]):vt(I[N]);mt.key!=null&&re.set(mt.key,N)}let oe,Me=0;const Fe=G-H+1;let Ge=!1,rt=0;const Bn=new Array(Fe);for(N=0;N<Fe;N++)Bn[N]=0;for(N=M;N<=J;N++){const mt=A[N];if(Me>=Fe){ne(mt,B,X,!0);continue}let Ft;if(mt.key!=null)Ft=re.get(mt.key);else for(oe=H;oe<=G;oe++)if(Bn[oe-H]===0&&Rt(mt,I[oe])){Ft=oe;break}Ft===void 0?ne(mt,B,X,!0):(Bn[Ft-H]=N+1,Ft>=rt?rt=Ft:Ge=!0,g(mt,I[Ft],D,null,B,X,Q,R,k),Me++)}const Sa=Ge?Cp(Bn):qn;for(oe=Sa.length-1,N=Fe-1;N>=0;N--){const mt=H+N,Ft=I[mt],Ca=mt+1<K?I[mt+1].el:W;Bn[N]===0?g(null,Ft,D,Ca,B,X,Q,R,k):Ge&&(oe<0||N!==Sa[oe]?ue(Ft,D,Ca,2):oe--)}}},ue=(A,I,D,W,B=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:N}=A;if(N&6){ue(A.component.subTree,I,D,W);return}if(N&128){A.suspense.move(I,D,W);return}if(N&64){Q.move(A,I,D,ee);return}if(Q===Ye){o(X,I,D);for(let J=0;J<k.length;J++)ue(k[J],I,D,W);o(A.anchor,I,D);return}if(Q===br){y(A,I,D);return}if(W!==2&&N&1&&R)if(W===0)R.beforeEnter(X),o(X,I,D),qe(()=>R.enter(X),B);else{const{leave:J,delayLeave:G,afterLeave:M}=R,H=()=>o(X,I,D),re=()=>{J(X,()=>{H(),M&&M()})};G?G(X,H,re):re()}else o(X,I,D)},ne=(A,I,D,W=!1,B=!1)=>{const{type:X,props:Q,ref:R,children:k,dynamicChildren:N,shapeFlag:K,patchFlag:J,dirs:G,cacheIndex:M}=A;if(J===-2&&(B=!1),R!=null&&Or(R,null,D,A,!0),M!=null&&(I.renderCache[M]=void 0),K&256){I.ctx.deactivate(A);return}const H=K&1&&G,re=!dn(A);let oe;if(re&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ut(oe,I,A),K&6)Be(A.component,D,W);else{if(K&128){A.suspense.unmount(D,W);return}H&&Ht(A,null,I,"beforeUnmount"),K&64?A.type.remove(A,I,D,ee,W):N&&!N.hasOnce&&(X!==Ye||J>0&&J&64)?de(N,I,D,!1,!0):(X===Ye&&J&384||!B&&K&16)&&de(k,I,D),W&&Te(A)}(re&&(oe=Q&&Q.onVnodeUnmounted)||H)&&qe(()=>{oe&&ut(oe,I,A),H&&Ht(A,null,I,"unmounted")},D)},Te=A=>{const{type:I,el:D,anchor:W,transition:B}=A;if(I===Ye){_e(D,W);return}if(I===br){_(A);return}const X=()=>{s(D),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(A.shapeFlag&1&&B&&!B.persisted){const{leave:Q,delayLeave:R}=B,k=()=>Q(D,X);R?R(A.el,X,k):k()}else X()},_e=(A,I)=>{let D;for(;A!==I;)D=d(A),s(A),A=D;s(I)},Be=(A,I,D)=>{const{bum:W,scope:B,job:X,subTree:Q,um:R,m:k,a:N}=A;Ps(k),Ps(N),W&&_r(W),B.stop(),X&&(X.flags|=8,ne(Q,A,I,D)),R&&qe(R,I),qe(()=>{A.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},de=(A,I,D,W=!1,B=!1,X=0)=>{for(let Q=X;Q<A.length;Q++)ne(A[Q],I,D,W,B)},V=A=>{if(A.shapeFlag&6)return V(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const I=d(A.anchor||A.el),D=I&&I[Gh];return D?d(D):I};let q=!1;const z=(A,I,D)=>{A==null?I._vnode&&ne(I._vnode,null,null,!0):g(I._vnode||null,A,I,null,null,null,D),I._vnode=A,q||(q=!0,Ra(),Ss(),q=!1)},ee={p:g,um:ne,m:ue,r:Te,mt:$,mc:S,pc:Y,pbc:L,n:V,o:e};let he,xe;return t&&([he,xe]=t(ee)),{render:z,hydrate:he,createApp:mp(z,he)}}function Ro({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Cn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ju(e,t,n=!1){const o=e.children,s=t.children;if(ae(o)&&ae(s))for(let r=0;r<o.length;r++){const i=o[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=an(s[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Ju(i,a)),a.type===pn&&(a.el=i.el)}}function Cp(e){const t=e.slice(),n=[0];let o,s,r,i,a;const l=e.length;for(o=0;o<l;o++){const f=e[o];if(f!==0){if(s=n[n.length-1],e[s]<f){t[o]=s,n.push(o);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<f?r=a+1:i=a;f<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function qu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qu(t)}function Ps(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Tp=Symbol.for("v-scx"),Pp=()=>nt(Tp);function Lp(e,t){return ea(e,null,t)}function pt(e,t,n){return ea(e,t,n)}function ea(e,t,n=Le){const{immediate:o,deep:s,flush:r,once:i}=n,a=je({},n),l=t&&o||!t&&r!=="post";let f;if(Mr){if(r==="sync"){const c=Pp();f=c.__watcherHandles||(c.__watcherHandles=[])}else if(!l){const c=()=>{};return c.stop=Bt,c.resume=Bt,c.pause=Bt,c}}const u=Xe;a.call=(c,p,g)=>Ot(c,u,p,g);let h=!1;r==="post"?a.scheduler=c=>{qe(c,u&&u.suspense)}:r!=="sync"&&(h=!0,a.scheduler=(c,p)=>{p?c():qi(c)}),a.augmentJob=c=>{t&&(c.flags|=4),h&&(c.flags|=2,u&&(c.id=u.uid,c.i=u))};const d=jh(e,t,a);return Mr&&(f?f.push(d):l&&d()),d}function Rp(e,t,n){const o=this.proxy,s=Ne(e)?e.includes(".")?Qu(o,e):()=>o[e]:e.bind(o,o);let r;le(t)?r=t:(r=t.handler,n=t);const i=Jr(this),a=ea(s,r.bind(o),n);return i(),a}function Qu(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}const kp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${wt(t)}Modifiers`]||e[`${$n(t)}Modifiers`];function Ap(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Le;let s=n;const r=t.startsWith("update:"),i=r&&kp(o,t.slice(7));i&&(i.trim&&(s=n.map(u=>Ne(u)?u.trim():u)),i.number&&(s=n.map(ih)));let a,l=o[a=Eo(t)]||o[a=Eo(wt(t))];!l&&r&&(l=o[a=Eo($n(t))]),l&&Ot(l,e,6,s);const f=o[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ot(f,e,6,s)}}function zu(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let i={},a=!1;if(!le(e)){const l=f=>{const u=zu(f,t,!0);u&&(a=!0,je(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(ke(e)&&o.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):je(i,r),ke(e)&&o.set(e,i),i)}function Zs(e,t){return!e||!Wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,$n(t))||be(e,t))}function ko(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:i,attrs:a,emit:l,render:f,renderCache:u,props:h,data:d,setupState:c,ctx:p,inheritAttrs:g}=e,v=Cs(e);let x,w;try{if(n.shapeFlag&4){const _=s||o,m=_;x=vt(f.call(m,_,u,h,c,d,p)),w=a}else{const _=t;x=vt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),w=t.props?a:Op(a)}}catch(_){Sr.length=0,Yr(_,e,1),x=Ie(We)}let y=x;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Hi)&&(w=Np(w,r)),y=Zt(y,w,!1,!0))}return n.dirs&&(y=Zt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&nr(y,n.transition),x=y,Cs(v),x}function Ip(e,t=!0){let n;for(let o=0;o<e.length;o++){const s=e[o];if(Fn(s)){if(s.type!==We||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Op=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},Np=(e,t)=>{const n={};for(const o in e)(!Hi(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Mp(e,t,n){const{props:o,children:s,component:r}=e,{props:i,children:a,patchFlag:l}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Ua(o,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==o[d]&&!Zs(f,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:o===i?!1:o?i?Ua(o,i,f):!0:!!i;return!1}function Ua(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const r=o[s];if(t[r]!==e[r]&&!Zs(n,r))return!0}return!1}function eo({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ls=e=>e.__isSuspense;let ri=0;const Dp={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,r,i,a,l,f){if(e==null)Fp(t,n,o,s,r,i,a,l,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$p(e,t,n,o,s,i,a,l,f)}},hydrate:Hp,normalize:Up},ta=Dp;function Nr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Fp(e,t,n,o,s,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=Zu(e,s,o,t,h,n,r,i,a,l);f(null,d.pendingBranch=e.ssContent,h,null,o,d,r,i),d.deps>0?(Nr(e,"onPending"),Nr(e,"onFallback"),f(null,e.ssFallback,t,n,o,null,r,i),er(d,e.ssFallback)):d.resolve(!1,!0)}function $p(e,t,n,o,s,r,i,a,{p:l,um:f,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:x}=h;if(g)h.pendingBranch=d,Rt(d,g)?(l(g,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0?h.resolve():v&&(x||(l(p,c,n,o,s,null,r,i,a),er(h,c)))):(h.pendingId=ri++,x?(h.isHydrating=!1,h.activeBranch=g):f(g,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,o,s,null,r,i,a),er(h,c))):p&&Rt(d,p)?(l(p,d,n,o,s,h,r,i,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&Rt(d,p))l(p,d,n,o,s,h,r,i,a),er(h,d);else if(Nr(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=ri++,l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:w,pendingId:y}=h;w>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},w):w===0&&h.fallback(c)}}function Zu(e,t,n,o,s,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=f;let x;const w=Bp(e);w&&t&&t.pendingBranch&&(x=t.pendingId,t.deps++);const y=e.props?Gc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:o,hiddenContainer:s,deps:0,pendingId:ri++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,b=!1){const{vnode:S,activeBranch:T,pendingBranch:L,pendingId:P,effects:C,parentComponent:O,container:$}=m;let F=!1;m.isHydrating?m.isHydrating=!1:E||(F=T&&L.transition&&L.transition.mode==="out-in",F&&(T.transition.afterLeave=()=>{P===m.pendingId&&(d(L,$,r===_?p(T):r,0),Qo(C))}),T&&(g(T.el)===$&&(r=p(T)),c(T,O,m,!0)),F||d(L,$,r,0)),er(m,L),m.pendingBranch=null,m.isInFallback=!1;let U=m.parent,j=!1;for(;U;){if(U.pendingBranch){U.effects.push(...C),j=!0;break}U=U.parent}!j&&!F&&Qo(C),m.effects=[],w&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!b&&t.resolve()),Nr(S,"onResolve")},fallback(E){if(!m.pendingBranch)return;const{vnode:b,activeBranch:S,parentComponent:T,container:L,namespace:P}=m;Nr(b,"onFallback");const C=p(S),O=()=>{m.isInFallback&&(h(null,E,L,C,T,null,P,a,l),er(m,E))},$=E.transition&&E.transition.mode==="out-in";$&&(S.transition.afterLeave=O),m.isInFallback=!0,c(S,T,null,!0),$||O()},move(E,b,S){m.activeBranch&&d(m.activeBranch,E,b,S),m.container=E},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(E,b,S){const T=!!m.pendingBranch;T&&m.deps++;const L=E.vnode.el;E.asyncDep.catch(P=>{Yr(P,E,0)}).then(P=>{if(E.isUnmounted||m.isUnmounted||m.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:C}=E;oi(E,P,!1),L&&(C.el=L);const O=!L&&E.subTree.el;b(E,C,g(L||E.subTree.el),L?null:p(E.subTree),m,i,S),O&&v(O),eo(E,C.el),T&&--m.deps===0&&m.resolve()})},unmount(E,b){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,E,b),m.pendingBranch&&c(m.pendingBranch,n,E,b)}};return m}function Hp(e,t,n,o,s,r,i,a,l){const f=t.suspense=Zu(t,o,n,e.parentNode,document.createElement("div"),null,s,r,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function Up(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Ba(o?n.default:n),e.ssFallback=o?Ba(n.fallback):Ie(We)}function Ba(e){let t;if(le(e)){const n=rr&&e._c;n&&(e._d=!1,ye()),e=e(),n&&(e._d=!0,t=ht,tf())}return ae(e)&&(e=Ip(e)),e=vt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ef(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Qo(e)}function er(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,o&&o.subTree===n&&(o.vnode.el=s,eo(o,s))}function Bp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ye=Symbol.for("v-fgt"),pn=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),br=Symbol.for("v-stc"),Sr=[];let ht=null;function ye(e=!1){Sr.push(ht=e?null:[])}function tf(){Sr.pop(),ht=Sr[Sr.length-1]||null}let rr=1;function Va(e,t=!1){rr+=e,e<0&&ht&&t&&(ht.hasOnce=!0)}function nf(e){return e.dynamicChildren=rr>0?ht||qn:null,tf(),rr>0&&ht&&ht.push(e),e}function lt(e,t,n,o,s,r){return nf(ie(e,t,n,o,s,r,!0))}function Qe(e,t,n,o,s){return nf(Ie(e,t,n,o,s,!0))}function Fn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const rf=({key:e})=>e??null,ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||De(e)||le(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,o=0,s=null,r=e===Ye?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rf(t),ref:t&&ms(t),scopeId:yu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ke};return a?(na(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),rr>0&&!i&&ht&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ht.push(l),l}const Ie=Vp;function Vp(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===Iu)&&(e=We),Fn(e)){const a=Zt(e,t,!0);return n&&na(a,n),rr>0&&!r&&ht&&(a.shapeFlag&6?ht[ht.indexOf(e)]=a:ht.push(a)),a.patchFlag=-2,a}if(Qp(e)&&(e=e.__vccOpts),t){t=jp(t);let{class:a,style:l}=t;a&&!Ne(a)&&(t.class=Ys(a)),ke(l)&&(Ji(l)&&!ae(l)&&(l=je({},l)),t.style=Vi(l))}const i=Ne(e)?1:Ls(e)?128:_u(e)?64:ke(e)?4:le(e)?2:0;return ie(e,t,n,o,s,i,r,!0)}function jp(e){return e?Ji(e)||Uu(e)?je({},e):e:null}function Zt(e,t,n=!1,o=!1){const{props:s,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?sf(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&rf(f),ref:t&&t.ref?n&&r?ae(r)?r.concat(ms(t)):[r,ms(t)]:ms(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&nr(u,l.clone(u)),u}function to(e=" ",t=0){return Ie(pn,null,e,t)}function Rw(e,t){const n=Ie(br,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(ye(),Qe(We,null,e)):Ie(We,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(We):ae(e)?Ie(Ye,null,e.slice()):Fn(e)?an(e):Ie(pn,null,String(e))}function an(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function na(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),na(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Uu(t)?t._ctx=Ke:s===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),o&64?(n=16,t=[to(t)]):n=8);e.children=t,e.shapeFlag|=n}function sf(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=Ys([t.class,o.class]));else if(s==="style")t.style=Vi([t.style,o.style]);else if(Wr(s)){const r=t[s],i=o[s];i&&r!==i&&!(ae(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=o[s])}return t}function ut(e,t,n,o=null){Ot(e,t,7,[n,o])}const Wp=Du();let Kp=0;function Gp(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Wp,r={uid:Kp++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Vu(o,s),emitsOptions:zu(o,s),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:o.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Ap.bind(null,r),e.ce&&e.ce(r),r}let Xe=null;const Hn=()=>Xe||Ke;let Rs,si;{const e=Gs(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};Rs=t("__VUE_INSTANCE_SETTERS__",n=>Xe=n),si=t("__VUE_SSR_SETTERS__",n=>Mr=n)}const Jr=e=>{const t=Xe;return Rs(e),e.scope.on(),()=>{e.scope.off(),Rs(t)}},ja=()=>{Xe&&Xe.scope.off(),Rs(null)};function of(e){return e.vnode.shapeFlag&4}let Mr=!1;function Yp(e,t=!1,n=!1){t&&si(t);const{props:o,children:s}=e.vnode,r=of(e);vp(e,o,r,t),Ep(e,s,n);const i=r?Xp(e,t):void 0;return t&&si(!1),i}function Xp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cp);const{setup:o}=n;if(o){mn();const s=e.setupContext=o.length>1?qp(e):null,r=Jr(e),i=Gr(o,e,0,[e.props,s]),a=Vc(i);if(vn(),r(),(a||e.sp)&&!dn(e)&&Cu(e),a){if(i.then(ja,ja),t)return i.then(l=>{oi(e,l,t)}).catch(l=>{Yr(l,e,0)});e.asyncDep=i}else oi(e,i,t)}else af(e,t)}function oi(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=hu(t)),af(e,n)}let Wa;function af(e,t,n){const o=e.type;if(!e.render){if(!t&&Wa&&!o.render){const s=o.template||zi(e).template;if(s){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,f=je(je({isCustomElement:r,delimiters:a},i),l);o.render=Wa(s,f)}}e.render=o.render||Bt}{const s=Jr(e);mn();try{up(e)}finally{vn(),s()}}}const Jp={get(e,t){return et(e,"get",""),e[t]}};function qp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Jp),slots:e.slots,emit:e.emit,expose:t}}function no(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hu(Ih(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wr)return wr[n](e)},has(t,n){return n in t||n in wr}})):e.proxy}function ii(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Qp(e){return le(e)&&"__vccOpts"in e}const ge=(e,t)=>Bh(e,t,Mr);function Je(e,t,n){const o=arguments.length;return o===2?ke(t)&&!ae(t)?Fn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Fn(n)&&(n=[n]),Ie(e,t,n))}const lf="3.5.13";/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ai;const Ka=typeof window<"u"&&window.trustedTypes;if(Ka)try{ai=Ka.createPolicy("vue",{createHTML:e=>e})}catch{}const cf=ai?e=>ai.createHTML(e):e=>e,zp="http://www.w3.org/2000/svg",Zp="http://www.w3.org/1998/Math/MathML",Xt=typeof document<"u"?document:null,Ga=Xt&&Xt.createElement("template"),eg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Xt.createElementNS(zp,e):t==="mathml"?Xt.createElementNS(Zp,e):n?Xt.createElement(e,{is:n}):Xt.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Xt.createTextNode(e),createComment:e=>Xt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Ga.innerHTML=cf(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=Ga.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nn="transition",hr="animation",Dr=Symbol("_vtc"),uf={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},tg=je({},xu,uf),ng=e=>(e.displayName="Transition",e.props=tg,e),ff=ng((e,{slots:t})=>Je(Jh,rg(e),t)),Tn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ya=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function rg(e){const t={};for(const C in e)C in uf||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=sg(s),g=p&&p[0],v=p&&p[1],{onBeforeEnter:x,onEnter:w,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:E=x,onAppear:b=w,onAppearCancelled:S=y}=t,T=(C,O,$,F)=>{C._enterCancelled=F,Pn(C,O?u:a),Pn(C,O?f:i),$&&$()},L=(C,O)=>{C._isLeaving=!1,Pn(C,h),Pn(C,c),Pn(C,d),O&&O()},P=C=>(O,$)=>{const F=C?b:w,U=()=>T(O,C,$);Tn(F,[O,U]),Xa(()=>{Pn(O,C?l:r),jt(O,C?u:a),Ya(F)||Ja(O,o,g,U)})};return je(t,{onBeforeEnter(C){Tn(x,[C]),jt(C,r),jt(C,i)},onBeforeAppear(C){Tn(E,[C]),jt(C,l),jt(C,f)},onEnter:P(!1),onAppear:P(!0),onLeave(C,O){C._isLeaving=!0;const $=()=>L(C,O);jt(C,h),C._enterCancelled?(jt(C,d),za()):(za(),jt(C,d)),Xa(()=>{C._isLeaving&&(Pn(C,h),jt(C,c),Ya(_)||Ja(C,o,v,$))}),Tn(_,[C,$])},onEnterCancelled(C){T(C,!1,void 0,!0),Tn(y,[C])},onAppearCancelled(C){T(C,!0,void 0,!0),Tn(S,[C])},onLeaveCancelled(C){L(C),Tn(m,[C])}})}function sg(e){if(e==null)return null;if(ke(e))return[Ao(e.enter),Ao(e.leave)];{const t=Ao(e);return[t,t]}}function Ao(e){return Gc(e)}function jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dr]||(e[Dr]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Dr];n&&(n.delete(t),n.size||(e[Dr]=void 0))}function Xa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let og=0;function Ja(e,t,n,o){const s=e._endId=++og,r=()=>{s===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=ig(e,t);if(!i)return o();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,d),r()},d=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(f,d)}function ig(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),s=o(`${nn}Delay`),r=o(`${nn}Duration`),i=qa(s,r),a=o(`${hr}Delay`),l=o(`${hr}Duration`),f=qa(a,l);let u=null,h=0,d=0;t===nn?i>0&&(u=nn,h=i,d=r.length):t===hr?f>0&&(u=hr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?nn:hr:null,d=u?u===nn?r.length:l.length:0);const c=u===nn&&/\b(transform|all)(,|$)/.test(o(`${nn}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function qa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Qa(n)+Qa(e[o])))}function Qa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function za(){return document.body.offsetHeight}function ag(e,t,n){const o=e[Dr];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ks=Symbol("_vod"),df=Symbol("_vsh"),kw={beforeMount(e,{value:t},{transition:n}){e[ks]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),pr(e,!0),o.enter(e)):o.leave(e,()=>{pr(e,!1)}):pr(e,t))},beforeUnmount(e,{value:t}){pr(e,t)}};function pr(e,t){e.style.display=t?e[ks]:"none",e[df]=!t}const lg=Symbol(""),cg=/(^|;)\s*display\s*:/;function ug(e,t,n){const o=e.style,s=Ne(n);let r=!1;if(n&&!s){if(t)if(Ne(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&vs(o,a,"")}else for(const i in t)n[i]==null&&vs(o,i,"");for(const i in n)i==="display"&&(r=!0),vs(o,i,n[i])}else if(s){if(t!==n){const i=o[lg];i&&(n+=";"+i),o.cssText=n,r=cg.test(n)}}else t&&e.removeAttribute("style");ks in e&&(e[ks]=r?o.display:"",e[df]&&(o.display="none"))}const Za=/\s*!important$/;function vs(e,t,n){if(ae(n))n.forEach(o=>vs(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=fg(e,t);Za.test(n)?e.setProperty($n(o),n.replace(Za,""),"important"):e[o]=n}}const el=["Webkit","Moz","ms"],Io={};function fg(e,t){const n=Io[t];if(n)return n;let o=wt(t);if(o!=="filter"&&o in e)return Io[t]=o;o=Ks(o);for(let s=0;s<el.length;s++){const r=el[s]+o;if(r in e)return Io[t]=r}return t}const tl="http://www.w3.org/1999/xlink";function nl(e,t,n,o,s,r=dh(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(tl,t.slice(6,t.length)):e.setAttributeNS(tl,t,n):n==null||r&&!Yc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":en(n)?String(n):n)}function rl(e,t,n,o,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?cf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Yc(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function dg(e,t,n,o){e.addEventListener(t,n,o)}function hg(e,t,n,o){e.removeEventListener(t,n,o)}const sl=Symbol("_vei");function pg(e,t,n,o,s=null){const r=e[sl]||(e[sl]={}),i=r[t];if(o&&i)i.value=o;else{const[a,l]=gg(t);if(o){const f=r[t]=yg(o,s);dg(e,a,f,l)}else i&&(hg(e,a,i,l),r[t]=void 0)}}const ol=/(?:Once|Passive|Capture)$/;function gg(e){let t;if(ol.test(e)){t={};let o;for(;o=e.match(ol);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$n(e.slice(2)),t]}let Oo=0;const mg=Promise.resolve(),vg=()=>Oo||(mg.then(()=>Oo=0),Oo=Date.now());function yg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Ot(_g(o,n.value),t,5,[o])};return n.value=e,n.attached=vg(),n}function _g(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xg=(e,t,n,o,s,r)=>{const i=s==="svg";t==="class"?ag(e,o,i):t==="style"?ug(e,n,o):Wr(t)?Hi(t)||pg(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Eg(e,t,o,i))?(rl(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nl(e,t,o,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ne(o))?rl(e,wt(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),nl(e,t,o,i))};function Eg(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&il(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return il(t)&&Ne(n)?!1:t in e}const hf=je({patchProp:xg},eg);let Cr,al=!1;function wg(){return Cr||(Cr=bp(hf))}function bg(){return Cr=al?Cr:Sp(hf),al=!0,Cr}const Sg=(...e)=>{const t=wg().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=gf(o);if(!s)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,pf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Cg=(...e)=>{const t=bg().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=gf(o);if(s)return n(s,!0,pf(s))},t};function pf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gf(e){return Ne(e)?document.querySelector(e):e}const Tg=/"(?:_|\\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*:/,Pg=/"(?: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*:/,Lg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Rg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){kg(e);return}return t}function kg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Fr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!Lg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Tg.test(e)||Pg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Rg)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const Ag=/#/g,Ig=/&/g,Og=/\//g,Ng=/=/g,ra=/\+/g,Mg=/%5e/gi,Dg=/%60/gi,Fg=/%7c/gi,$g=/%20/gi;function Hg(e){return encodeURI(""+e).replace(Fg,"|")}function li(e){return Hg(typeof e=="string"?e:JSON.stringify(e)).replace(ra,"%2B").replace($g,"+").replace(Ag,"%23").replace(Ig,"%26").replace(Dg,"`").replace(Mg,"^").replace(Og,"%2F")}function No(e){return li(e).replace(Ng,"%3D")}function As(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ug(e){return As(e.replace(ra," "))}function Bg(e){return As(e.replace(ra," "))}function sa(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const s=Ug(o[1]);if(s==="__proto__"||s==="constructor")continue;const r=Bg(o[2]||"");t[s]===void 0?t[s]=r:Array.isArray(t[s])?t[s].push(r):t[s]=[t[s],r]}return t}function Vg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${No(e)}=${li(n)}`).join("&"):`${No(e)}=${li(t)}`:No(e)}function jg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Vg(t,e[t])).filter(Boolean).join("&")}const Wg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Kg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Gg=/^([/\\]\s*){2,}[^/\\]/,Yg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Xg=/\/$|\/\?|\/#/,Jg=/^\.?\//;function Ct(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Wg.test(e):Kg.test(e)||(t.acceptRelative?Gg.test(e):!1)}function qg(e){return!!e&&Yg.test(e)}function ci(e="",t){return t?Xg.test(e):e.endsWith("/")}function qr(e="",t){if(!t)return(ci(e)?e.slice(0,-1):e)||"/";if(!ci(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),o=e.slice(s));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+o}function $r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ci(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),o=e.slice(s),!n))return o;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+o}function Qg(e=""){return e.startsWith("/")}function ll(e=""){return Qg(e)?e:"/"+e}function zg(e,t){if(vf(t)||Ct(e))return e;const n=qr(t);return e.startsWith(n)?e:Un(n,e)}function cl(e,t){if(vf(t))return e;const n=qr(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function mf(e,t){const n=em(e),o={...sa(n.search),...t};return n.search=jg(o),tm(n)}function vf(e){return!e||e==="/"}function Zg(e){return e&&e!=="/"}function Un(e,...t){let n=e||"";for(const o of t.filter(s=>Zg(s)))if(n){const s=o.replace(Jg,"");n=$r(n)+s}else n=o;return n}function yf(...e){var i,a,l,f;const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[h,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(o.length===1&&Ct(o[0]))continue;o.pop(),s--;continue}if(h===1&&((i=o[o.length-1])!=null&&i.endsWith(":/"))){o[o.length-1]+="/"+d;continue}o.push(d),s++}}let r=o.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*s)+r,(f=n[n.length-1])!=null&&f.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function ui(e,t,n={}){return n.trailingSlash||(e=$r(e),t=$r(t)),n.leadingSlash||(e=ll(e),t=ll(t)),n.encoding||(e=As(e),t=As(t)),e===t}const _f=Symbol.for("ufo:protocolRelative");function em(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,d=""]=n;return{protocol:h.toLowerCase(),pathname:d,href:h+d,auth:"",host:"",search:"",hash:""}}if(!Ct(e,{acceptRelative:!0}))return fi(e);const[,o="",s,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:f,hash:u}=fi(a);return{protocol:o.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:f,hash:u,[_f]:!o}}function fi(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function tm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",s=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[_f]?(e.protocol||"")+"//":"")+s+r+t+n+o}class nm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function rm(e){var l,f,u,h,d;const t=((l=e.error)==null?void 0:l.message)||((f=e.error)==null?void 0:f.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${r}${t?` ${t}`:""}`,a=new nm(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[p]}});return a}const sm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ul(e="GET"){return sm.has(e.toUpperCase())}function om(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 im=new Set(["image/svg","application/xml","application/xhtml","application/html"]),am=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function lm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return am.test(t)?"json":im.has(t)||t.startsWith("text/")?"text":"blob"}function cm(e,t,n,o){const s=um((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,o);let r;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(r={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:r,params:r,headers:s}}function um(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[s,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(s,r);return o}async function ls(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const fm=new Set([408,409,425,429,500,502,503,504]),dm=new Set([101,204,205,304]);function xf(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=ul(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):fm.has(h))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1})}}const f=rm(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){const u={request:l,options:cm(l,f,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await ls(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=zg(u.request,u.options.baseURL)),u.options.query&&(u.request=mf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&ul(u.options.method)&&(om(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")));let h;if(!u.options.signal&&u.options.timeout){const c=new o;h=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,c.abort(p)},u.options.timeout),u.options.signal=c.signal}try{u.response=await t(u.request,u.options)}catch(c){return u.error=c,u.options.onRequestError&&await ls(u,u.options.onRequestError),await s(u)}finally{h&&clearTimeout(h)}if((u.response.body||u.response._bodyInit)&&!dm.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||lm(u.response.headers.get("content-type")||"");switch(c){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Fr;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[c]()}}return u.options.onResponse&&await ls(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await ls(u,u.options.onResponseError),await s(u)):u.response},i=async function(l,f){return(await r(l,f))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={},l={})=>xf({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Is=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")}(),hm=Is.fetch?(...e)=>Is.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),pm=Is.Headers,gm=Is.AbortController,mm=xf({fetch:hm,Headers:pm,AbortController:gm}),vm=mm,ym=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Os=ym().app,_m=()=>Os.baseURL,xm=()=>Os.buildAssetsDir,oa=(...e)=>yf(Ef(),xm(),...e),Ef=(...e)=>{const t=Os.cdnURL||Os.baseURL;return e.length?yf(t,...e):t};globalThis.__buildAssetsURL=oa,globalThis.__publicAssetsURL=Ef;globalThis.$fetch||(globalThis.$fetch=vm.create({baseURL:_m()}));function di(e,t={},n){for(const o in e){const s=e[o],r=n?`${n}:${o}`:o;typeof s=="object"&&s!==null?di(s,t,r):typeof s=="function"&&(t[r]=s)}return t}const Em={run:e=>e()},wm=()=>Em,wf=typeof console.createTask<"u"?console.createTask:wm;function bm(e,t){const n=t.shift(),o=wf(n);return e.reduce((s,r)=>s.then(()=>o.run(()=>r(...t))),Promise.resolve())}function Sm(e,t){const n=t.shift(),o=wf(n);return Promise.all(e.map(s=>o.run(()=>s(...t))))}function Mo(e,t){for(const n of[...e])n(t)}class Cm{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,o={}){if(!t||typeof n!="function")return()=>{};const s=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!o.allowDeprecated){let i=r.message;i||(i=`${s} hook has been deprecated`+(r.to?`, please use ${r.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 o,s=(...r)=>(typeof o=="function"&&o(),o=void 0,s=void 0,n(...r));return o=this.hook(t,s),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const s of o)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=di(t),o=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of o.splice(0,o.length))s()}}removeHooks(t){const n=di(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(bm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Sm,t,...n)}callHookWith(t,n,...o){const s=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Mo(this._before,s);const r=t(n in this._hooks?[...this._hooks[n]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&s&&Mo(this._after,s)}):(this._after&&s&&Mo(this._after,s),r)}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 bf(){return new Cm}function Tm(e={}){let t,n=!1;const o=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),set:(i,a)=>{a||o(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{o(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},f=()=>t===i?l:void 0;hi.add(f);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{hi.delete(f)}}}}function Pm(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=Tm({...e,...o})),t[n],t[n]}}}const Ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fl="__unctx__",Lm=Ns[fl]||(Ns[fl]=Pm()),Rm=(e,t={})=>Lm.get(e,t),dl="__unctx_async_handlers__",hi=Ns[dl]||(Ns[dl]=new Set);function kt(e){const t=[];for(const s of hi){const r=s();r&&t.push(r)}const n=()=>{for(const s of t)s()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(s=>{throw n(),s})),[o,n]}const km=!1,pi=!1,Am=!1,Im={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Om=null,Nm="#__nuxt",Sf="nuxt-app",hl=36e5,Mm="vite:preloadError";function Cf(e=Sf){return Rm(e,{asyncContext:!1})}const Dm="__nuxt_plugin";function Fm(e){var s;let t=0;const n={_id:e.id||Sf||"nuxt-app",_scope:ji(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return n.vueApp.version}},payload:Qt({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:Qt({}),state:yn({}),once:new Set,_errors:Qt({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!Xs()?n._scope.run(()=>pl(n,r)):pl(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Qt({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const i in r)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],r[i]);break;default:n.payload[i]=r[i]}}n.hooks=bf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;cs(n,a,i),cs(n.vueApp.config.globalProperties,a,i)},cs(n.vueApp,"$nuxt",n),cs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Mm,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||me;const r=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",r)}const o=n.payload.config;return n.provide("config",o),n}function $m(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Hm(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function Um(e,t){const n=[],o=[],s=[],r=[];let i=0;async function a(l){var u;const f=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(d=>d._name===h)&&!n.includes(h)))??[];if(f.length>0)o.push([new Set(f),l]);else{const h=Hm(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(o.map(async([d,c])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(c)))})))});l.parallel?s.push(h.catch(d=>r.push(d))):await h}}for(const l of t)$m(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(r.length)throw r[0]}function Dt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Dm]:!0,_name:t})}function pl(e,t,n){const o=()=>t();return Cf(e._id).set(e),e.vueApp.runWithContext(o)}function Bm(e){var n;let t;return Fu()&&(t=(n=Hn())==null?void 0:n.appContext.app.$nuxt),t=t||Cf(e).tryUse(),t||null}function me(e){const t=Bm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function gt(e){return me().$config}function cs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Vm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},s=o.decode||jm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let a=e.indexOf(";",r);if(a===-1)a=e.length;else if(a<i){r=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(r,i).trim();if(o!=null&&o.filter&&!(o!=null&&o.filter(l))){r=a+1;continue}if(n[l]===void 0){let f=e.slice(i+1,a).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[l]=Wm(f,s)}r=a+1}return n}function jm(e){return e.includes("%")?decodeURIComponent(e):e}function Wm(e,t){try{return t(e)}catch{return e}}const us=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function gl(e,t,n){const o=n||{},s=o.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!us.test(e))throw new TypeError("argument name is invalid");const r=s(t);if(r&&!us.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(o.maxAge!==void 0&&o.maxAge!==null){const a=o.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(o.domain){if(!us.test(o.domain))throw new TypeError("option domain is invalid");i+="; Domain="+o.domain}if(o.path){if(!us.test(o.path))throw new TypeError("option path is invalid");i+="; Path="+o.path}if(o.expires){if(!Km(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.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(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.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 o.partitioned&&(i+="; Partitioned"),i}function Km(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const ml=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 vl(e,t){t?t={...ml,...t}:t=ml;const n=Tf(t);return n.dispatch(e),n.toString()}const Gm=Object.freeze(["prototype","__proto__","constructor"]);function Tf(e){let t="",n=new Map;const o=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const r=Object.prototype.toString.call(s);let i="";const a=r.length;a<10?i="unknown:["+r+"]":i=r.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return o("buffer:"),o(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let f=Object.keys(s);e.unorderedObjects&&(f=f.sort());let u=[];e.respectType!==!1&&!yl(s)&&(u=Gm),e.excludeKeys&&(f=f.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),o("object:"+(f.length+u.length)+":");const h=d=>{this.dispatch(d),o(":"),e.excludeValues||this.dispatch(s[d]),o(",")};for(const d of f)h(d);for(const d of u)h(d)}},array(s,r){if(r=r===void 0?e.unorderedArrays!==!1:r,o("array:"+s.length+":"),!r||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const f=Tf(e);f.dispatch(l);for(const[u,h]of f.getContext())i.set(u,h);return f.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return o("date:"+s.toJSON())},symbol(s){return o("symbol:"+s.toString())},unkown(s,r){if(o(r),!!s&&(o(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return o("error:"+s.toString())},boolean(s){return o("bool:"+s)},string(s){o("string:"+s.length+":"),o(s)},function(s){o("fn:"),yl(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return o("number:"+s)},xml(s){return o("xml:"+s.toString())},null(){return o("Null")},undefined(){return o("Undefined")},regexp(s){return o("regex:"+s.toString())},uint8array(s){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return o("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return o("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return o("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return o("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return o("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return o("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return o("url:"+s.toString())},map(s){o("map:");const r=[...s];return this.array(r,e.unorderedSets!==!1)},set(s){o("set:");const r=[...s];return this.array(r,e.unorderedSets!==!1)},file(s){return o("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return o("domwindow")},bigint(s){return o("bigint:"+s.toString())},process(){return o("process")},timer(){return o("timer")},pipe(){return o("pipe")},tcp(){return o("tcp")},udp(){return o("udp")},tty(){return o("tty")},statwatcher(){return o("statwatcher")},securecontext(){return o("securecontext")},connection(){return o("connection")},zlib(){return o("zlib")},context(){return o("context")},nodescript(){return o("nodescript")},httpparser(){return o("httpparser")},dataview(){return o("dataview")},signal(){return o("signal")},fsevent(){return o("fsevent")},tlswrap(){return o("tlswrap")}}}const Pf="[native code] }",Ym=Pf.length;function yl(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Ym)===Pf}function Xm(e,t,n={}){return e===t||vl(e,n)===vl(t,n)}function Jm(e,t){return{ctx:{table:e},matchAll:n=>Rf(n,e)}}function Lf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,s])=>[o,Lf(s)])):new Map(Object.entries(e[n]));return t}function qm(e){return Jm(Lf(e))}function Rf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[r,i]of _l(t.wildcard))(e===r||e.startsWith(r+"/"))&&o.push(i);for(const[r,i]of _l(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");o.push(...Rf(a,i))}const s=t.static.get(e);return s&&o.push(s),o.filter(Boolean)}function _l(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Do(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function gi(e,t,n=".",o){if(!Do(t))return gi(e,{},n,o);const s=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(o&&o(s,r,i,n)||(Array.isArray(i)&&Array.isArray(s[r])?s[r]=[...i,...s[r]]:Do(i)&&Do(s[r])?s[r]=gi(i,s[r],(n?`${n}.`:"")+r.toString(),o):s[r]=i))}return s}function Qm(e){return(...t)=>t.reduce((n,o)=>gi(n,o,"",e),{})}const kf=Qm();function zm(e,t){try{return t in e}catch{return!1}}var Zm=Object.defineProperty,ev=(e,t,n)=>t in e?Zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,In=(e,t,n)=>(ev(e,typeof t!="symbol"?t+"":t,n),n);class mi extends Error{constructor(t,n={}){super(t,n),In(this,"statusCode",500),In(this,"fatal",!1),In(this,"unhandled",!1),In(this,"statusMessage"),In(this,"data"),In(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:yi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Af(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}In(mi,"__h3_error__",!0);function vi(e){if(typeof e=="string")return new mi(e);if(tv(e))return e;const t=new mi(e.message??e.statusMessage??"",{cause:e.cause||e});if(zm(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=yi(e.statusCode,t.statusCode):e.status&&(t.statusCode=yi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Af(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 tv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const nv=/[^\u0009\u0020-\u007E]/g;function Af(e=""){return e.replace(nv,"")}function yi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const If=Symbol("layout-meta"),Qr=Symbol("route"),ze=()=>{var e;return(e=me())==null?void 0:e.$router},ro=()=>Fu()?nt(Qr,me()._route):me()._route;const rv=(e,t,n={})=>{const o=me(),s=n.global||typeof e!="string",r=t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?o._middleware.global.push(r):o._middleware.named[e]=r},sv=()=>{try{if(me()._processingMiddleware)return!0}catch{return!1}return!1},Of=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?_i(e):ze().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:f={}}=t.open,u=Object.entries(f).filter(([h,d])=>d!==void 0).map(([h,d])=>`${h.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const o=Ct(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||o;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&qg(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=sv();if(!s&&r)return e;const i=ze(),a=me();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function _i(e){return mf(e.path||"",e.query||{})+(e.hash||"")}const Nf="__nuxt_error",so=()=>pu(me().payload,"error"),Jn=e=>{const t=oo(e);try{const n=me(),o=so();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},ov=async(e={})=>{const t=me(),n=so();t.callHook("app:error:cleared",e),e.redirect&&await ze().replace(e.redirect),n.value=Om},iv=e=>!!e&&typeof e=="object"&&Nf in e,oo=e=>{const t=vi(e);return Object.defineProperty(t,Nf,{value:!0,configurable:!1,writable:!1}),t};function xl(e){const t=lv(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let s=0;s<n.byteLength;s++)o.setUint8(s,t.charCodeAt(s));return n}const av="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function lv(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,o=0;for(let s=0;s<e.length;s++)n<<=6,n|=av.indexOf(e[s]),o+=6,o===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const cv=-1,uv=-2,fv=-3,dv=-4,hv=-5,pv=-6;function gv(e,t){return mv(JSON.parse(e),t)}function mv(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function s(r,i=!1){if(r===cv)return;if(r===fv)return NaN;if(r===dv)return 1/0;if(r===hv)return-1/0;if(r===pv)return-0;if(i)throw new Error("Invalid input");if(r in o)return o[r];const a=n[r];if(!a||typeof a!="object")o[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],f=t==null?void 0:t[l];if(f)return o[r]=f(s(a[1]));switch(l){case"Date":o[r]=new Date(a[1]);break;case"Set":const u=new Set;o[r]=u;for(let c=1;c<a.length;c+=1)u.add(s(a[c]));break;case"Map":const h=new Map;o[r]=h;for(let c=1;c<a.length;c+=2)h.set(s(a[c]),s(a[c+1]));break;case"RegExp":o[r]=new RegExp(a[1],a[2]);break;case"Object":o[r]=Object(a[1]);break;case"BigInt":o[r]=BigInt(a[1]);break;case"null":const d=Object.create(null);o[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=s(a[c+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const c=globalThis[l],p=a[1],g=xl(p),v=new c(g);o[r]=v;break}case"ArrayBuffer":{const c=a[1],p=xl(c);o[r]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);o[r]=l;for(let f=0;f<a.length;f+=1){const u=a[f];u!==uv&&(l[f]=s(u))}}else{const l={};o[r]=l;for(const f in a){const u=a[f];l[f]=s(u)}}return o[r]}return s(0)}const vv=new Set(["title","titleTemplate","script","style","noscript"]),ys=new Set(["base","meta","link","style","script","noscript"]),yv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_v=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Mf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),xv=typeof window<"u";function Ms(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 xi(e){if(e._h)return e._h;if(e._d)return Ms(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Ms(t)}function Ev(e,t){return e instanceof Promise?e.then(t):t(e)}function Ei(e,t,n,o){const s=o||Ff(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(s instanceof Promise)return s.then(i=>Ei(e,t,n,i));const r={tag:e,props:s};for(const i of Mf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||vv.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function wv(e,t){var o;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,r])=>e==="style"?`${s}:${r}`:s)),(o=String(Array.isArray(t)?t.join(n):t))==null?void 0:o.split(n).filter(s=>!!s.trim()).join(n)}function Df(e,t,n,o){for(let s=o;s<n.length;s+=1){const r=n[s];if(r==="class"||r==="style"){e[r]=wv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Df(e,t,n,s)));if(!t&&!Mf.has(r)){const i=String(e[r]),a=r.startsWith("data-");i==="true"||i===""?e[r]=a?"true":!0:e[r]||(a&&i==="false"?e[r]="false":delete e[r])}}}function Ff(e,t=!1){const n=Df(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const bv=10;function $f(e,t,n){for(let o=n;o<t.length;o+=1){const s=t[o];if(s instanceof Promise)return s.then(r=>(t[o]=r,$f(e,t,o)));Array.isArray(s)?e.push(...s):e.push(s)}}function Sv(e){const t=[],n=e.resolvedInput;for(const s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const r=n[s];if(!(r===void 0||!yv.has(s))){if(Array.isArray(r)){for(const i of r)t.push(Ei(s,i,e));continue}t.push(Ei(s,r,e))}}if(t.length===0)return[];const o=[];return Ev($f(o,t,0),()=>o.map((s,r)=>(s._e=e._i,e.mode&&(s._m=e.mode),s._p=(e._i<<bv)+r,s)))}const El=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),wl={base:-10,title:10},bl={critical:-80,high:-10,low:20};function Ds(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in wl&&(n=wl[e.tag]),t&&t in bl?n+bl[t]:n}const Cv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Tv=["name","property","http-equiv"];function Hf(e){const{props:t,tag:n}=e;if(_v.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const o of Tv)if(t[o]!==void 0)return`${n}:${o}:${t[o]}`;return!1}const ln="%separator";function Pv(e,t,n=!1){var s;let o;if(t==="s"||t==="pageTitle")o=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");o=(s=e[t.substring(0,r)])==null?void 0:s[t.substring(r+1)]}else o=e[t];if(o!==void 0)return n?(o||"").replace(/"/g,'\\"'):o||""}const Lv=new RegExp(`${ln}(?:\\s*${ln})*`,"g");function fs(e,t,n,o=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const r=s.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const i=e.includes(ln);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===ln||!r.includes(a))return a;const l=Pv(t,a.slice(1),o);return l!==void 0?l:a}).trim(),i&&(e.endsWith(ln)&&(e=e.slice(0,-ln.length)),e.startsWith(ln)&&(e=e.slice(ln.length)),e=e.replace(Lv,n).trim()),e}function Sl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Uf(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var h;const r=(await e.resolveTags()).map(d=>({tag:d,id:ys.has(d.tag)?xi(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const c of["body","head"]){const p=(h=n[c])==null?void 0:h.children;for(const g of p){const v=g.tagName.toLowerCase();if(!ys.has(v))continue;const x={tag:v,props:await Ff(g.getAttributeNames().reduce((m,E)=>({...m,[E]:g.getAttribute(E)}),{})),innerHTML:g.innerHTML},w=Hf(x);let y=w,_=1;for(;y&&d.has(y);)y=`${w}:${_++}`;y&&(x._d=y,d.add(y)),i.elMap[g.getAttribute("data-hid")||xi(x)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,c,p){const g=`${d}:${c}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:d,$el:c,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[d]=c,g||(p.textContent&&p.textContent!==c.textContent&&(c.textContent=p.textContent),p.innerHTML&&p.innerHTML!==c.innerHTML&&(c.innerHTML=p.innerHTML),a(d,"el",()=>{var v;(v=i.elMap[d])==null||v.remove(),delete i.elMap[d]})),p._eventHandlers)for(const v in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,v)&&c.getAttribute(`data-${v}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:c).addEventListener(v.substring(2),p._eventHandlers[v].bind(c)),c.setAttribute(`data-${v}`,""));for(const v in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,v))continue;const x=p.props[v],w=`attr:${v}`;if(v==="class"){if(!x)continue;for(const y of x.split(" "))g&&a(d,`${w}:${y}`,()=>c.classList.remove(y)),!c.classList.contains(y)&&c.classList.add(y)}else if(v==="style"){if(!x)continue;for(const y of x.split(";")){const _=y.indexOf(":"),m=y.substring(0,_).trim(),E=y.substring(_+1).trim();a(d,`${w}:${m}`,()=>{c.style.removeProperty(m)}),c.style.setProperty(m,E)}}else c.getAttribute(v)!==x&&c.setAttribute(v,x===!0?"":String(x)),g&&a(d,w,()=>c.removeAttribute(v))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of r){const{tag:c,shouldRender:p,id:g}=d;if(p){if(c.tag==="title"){n.title=c.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):ys.has(c.tag)&&f.push(d)}}for(const d of f){const c=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[c]=u[c]||n.createDocumentFragment(),u[c].appendChild(d.$el)}for(const d of r)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Rv(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(o=>n(()=>Uf(e,t).then(()=>{delete e._domDebouncedUpdatePromise,o()})))}function kv(e){return t=>{var o,s;const n=((s=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{Rv(r,e)}}}}}const Av=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Iv={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Hf(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const o of e.tags){const s=(o.key?`${o.tag}:${o.key}`:o._d)||xi(o),r=t[s];if(r){let a=o==null?void 0:o.tagDuplicateStrategy;if(!a&&Av.has(o.tag)&&(a="merge"),a==="merge"){const l=r.props;l.style&&o.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),o.props.style=`${l.style} ${o.props.style}`),l.class&&o.props.class?o.props.class=`${l.class} ${o.props.class}`:l.class&&(o.props.class=l.class),t[s].props={...l,...o.props};continue}else if(o._e===r._e){r._duped=r._duped||[],o._d=`${r._d}:${r._duped.length+1}`,r._duped.push(o);continue}else if(Ds(o)>Ds(r))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&ys.has(o.tag)){delete t[s];continue}t[s]=o}const n=[];for(const o in t){const s=t[o],r=s._duped;n.push(s),r&&(delete s._duped,n.push(...r))}e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},Ov=new Set(["script","link","bodyAttrs"]),Nv=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Ov.has(n.tag))continue;const o=n.props;for(const s in o){if(s[0]!=="o"||s[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,s))continue;const r=o[s];typeof r=="function"&&(e.ssr&&El.has(s)?o[s]=`this.dataset.${s}fired = true`:delete o[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=r)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Ms(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var s,r;const o=t==null?void 0:t.dataset;if(o)for(const i in o){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);El.has(a)&&((r=(s=n._eventHandlers)==null?void 0:s[a])==null||r.call(t,new Event(a.substring(2))))}}}}),Mv=new Set(["link","style","script","noscript"]),Dv={hooks:{"tag:normalise":({tag:e})=>{e.key&&Mv.has(e.tag)&&(e.props["data-hid"]=e._h=Ms(e.key))}}},Fv={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const o of e.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(t[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},$v={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:o,offset:s}of Cv){if(!n.tagPriority.startsWith(o))continue;const r=n.tagPriority.substring(o.length),i=(t=e.tags.find(a=>a._d===r))==null?void 0:t._p;if(i!==void 0){n._p=i+s;break}}e.tags.sort((n,o)=>{const s=Ds(n),r=Ds(o);return s<r?-1:s>r?1:n._p-o._p})}}},Hv={meta:"content",link:"href",htmlAttrs:"lang"},Uv=["innerHTML","textContent"],Bv=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let o;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(o=t.tags.splice(a,1)[0].props,a-=1);const s=o||{},r=s.separator||"|";delete s.separator,s.pageTitle=fs(s.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",s,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=Hv[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=fs(a.props[l],s,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const f of Uv)typeof a[f]=="string"&&(a[f]=fs(a[f],s,r,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=s,e._separator=r},"tags:afterResolve":({tags:t})=>{let n;for(let o=0;o<t.length;o+=1){const s=t[o];s.tag==="title"&&s.processTemplateParams!==!1&&(n=s)}n!=null&&n.textContent&&(n.textContent=fs(n.textContent,e._templateParams,e._separator))}}}),Vv={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,o;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"?n=r:r.tag==="titleTemplate"&&(o=r)}if(o&&n){const s=Sl(o.textContent,n.textContent);s!==null?n.textContent=s||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(o){const s=Sl(o.textContent);s!==null&&(o.textContent=s,o.tag="title",o=void 0)}o&&e.tags.splice(e.tags.indexOf(o),1)}}},jv={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Bf;function Wv(e={}){const t=Kv(e);return t.use(kv()),Bf=t}function Cl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Kv(e={}){const t=bf();t.addHooks(e.hooks||{}),e.document=e.document||(xv?document:void 0);const n=!e.document,o=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const f=typeof l=="function"?l(a):l;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),Cl(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:s++,input:l,...f};return Cl(u.mode,n)&&(r.push(u),o()),{dispose(){r=r.filter(h=>h._i!==u._i),o()},patch(h){for(const d of r)d._i===u._i&&(d.input=u.input=h);o()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const f of l.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const h of await Sv(f)){const d={tag:h,entry:f,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[Iv,Fv,Nv,Dv,$v,Bv,Vv,jv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Gv(){return Bf}const Yv=lf[0]==="3";function Xv(e){return typeof e=="function"?e():te(e)}function Fs(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Xv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Fs(n));if(typeof t=="object"){const n={};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){n[o]=te(t[o]);continue}n[o]=Fs(t[o])}return n}return t}const Jv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Fs(t.input)}}},Vf="usehead";function qv(e){return{install(n){Yv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Vf,e))}}.install}function Qv(e={}){e.domDelayFn=e.domDelayFn||(n=>_n(()=>setTimeout(()=>n(),0)));const t=Wv(e);return t.use(Jv),t.install=qv(t),t}const wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bi="__unhead_injection_handler__";function zv(e){wi[bi]=e}function Zv(){if(bi in wi)return wi[bi]();const e=nt(Vf);return e||Gv()}function Tl(e,t={}){const n=t.head||Zv();if(n)return n.ssr?n.push(e,t):ey(n,e,t)}function ey(e,t,n={}){const o=Ce(!1),s=Ce({});Lp(()=>{s.value=o.value?{}:Fs(t)});const r=e.push(s.value,n);return pt(s,a=>{r.patch(a)}),Hn()&&(Xr(()=>{r.dispose()}),Pu(()=>{o.value=!0}),Tu(()=>{o.value=!1})),r}let _s,xs;function ty(){return _s=$fetch(oa(`builds/meta/${gt().app.buildId}.json`),{responseType:"json"}),_s.then(e=>{xs=qm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),_s}function io(){return _s||ty()}async function ia(e){if(await io(),!xs)return console.error("[nuxt] Error creating app manifest matcher.",xs),{};try{return kf({},...xs.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Pl(e,t={}){const n=await ry(e,t),o=me(),s=o._payloadCache=o._payloadCache||{};return n in s?s[n]||null:(s[n]=Wf(e).then(r=>r?jf(n).then(i=>i||(delete s[n],null)):(s[n]=null,null)),s[n])}const ny="_payload.json";async function ry(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ct(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=gt(),s=t.hash||(t.fresh?Date.now():o.app.buildId),r=o.app.cdnURL,i=r&&await Wf(e)?r:o.app.baseURL;return Un(i,n.pathname,ny+(s?`?${s}`:""))}async function jf(e){const t=fetch(e).then(n=>n.text().then(Kf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Wf(e=ro().path){if(e=qr(e),(await io()).prerendered.includes(e))return!0;const n=await ia(e);return!!n.prerender&&!n.redirect}let Ln=null;async function sy(){var o;if(Ln)return Ln;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Kf(e.textContent||""),n=e.dataset.src?await jf(e.dataset.src):void 0;return Ln={...t,...n,...window.__NUXT__},(o=Ln.config)!=null&&o.public&&(Ln.config.public=yn(Ln.config.public)),Ln}async function Kf(e){return await gv(e,me()._payloadRevivers)}function oy(e,t){me()._payloadRevivers[e]=t}const iy=[["NuxtError",e=>oo(e)],["EmptyShallowRef",e=>tr(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["EmptyRef",e=>Ce(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["ShallowRef",e=>tr(e)],["ShallowReactive",e=>Qt(e)],["Ref",e=>Ce(e)],["Reactive",e=>yn(e)]],ay=Dt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,s]of iy)oy(o,s);Object.assign(e.payload,([t,n]=kt(()=>e.runWithContext(sy)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ly=[],cy=Dt({name:"nuxt:head",enforce:"pre",setup(e){const t=Qv({plugins:ly});zv(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Uf(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*!
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Yn=typeof document<"u";function Gf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Gf(e.default)}const we=Object.assign;function Fo(e,t){const n={};for(const o in t){const s=t[o];n[o]=Nt(s)?s.map(e):e(s)}return n}const Tr=()=>{},Nt=Array.isArray,Yf=/#/g,fy=/&/g,dy=/\//g,hy=/=/g,py=/\?/g,Xf=/\+/g,gy=/%5B/g,my=/%5D/g,Jf=/%5E/g,vy=/%60/g,qf=/%7B/g,yy=/%7C/g,Qf=/%7D/g,_y=/%20/g;function aa(e){return encodeURI(""+e).replace(yy,"|").replace(gy,"[").replace(my,"]")}function xy(e){return aa(e).replace(qf,"{").replace(Qf,"}").replace(Jf,"^")}function Si(e){return aa(e).replace(Xf,"%2B").replace(_y,"+").replace(Yf,"%23").replace(fy,"%26").replace(vy,"`").replace(qf,"{").replace(Qf,"}").replace(Jf,"^")}function Ey(e){return Si(e).replace(hy,"%3D")}function wy(e){return aa(e).replace(Yf,"%23").replace(py,"%3F")}function by(e){return e==null?"":wy(e).replace(dy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Sy=/\/$/,Cy=e=>e.replace(Sy,"");function $o(e,t,n="/"){let o,s={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),s=e(r)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=Ry(o??t,n),{fullPath:o+(r&&"?")+r+i,path:o,query:s,hash:Hr(i)}}function Ty(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ll(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Py(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&sr(t.matched[o],n.matched[s])&&zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ly(e[n],t[n]))return!1;return!0}function Ly(e,t){return Nt(e)?Rl(e,t):Nt(t)?Rl(t,e):e===t}function Rl(e,t){return Nt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Ry(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let r=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(i).join("/")}const Pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Pr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Pr||(Pr={}));function ky(e){if(!e)if(Yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Cy(e)}const Ay=/^[^#]+#/;function Iy(e,t){return e.replace(Ay,"#")+t}function Oy(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const ao=()=>({left:window.scrollX,top:window.scrollY});function Ny(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Oy(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function kl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function My(e,t){Ci.set(e,t)}function Dy(e){const t=Ci.get(e);return Ci.delete(e),t}let Fy=()=>location.protocol+"//"+location.host;function Zf(e,t){const{pathname:n,search:o,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Ll(l,"")}return Ll(n,e)+o+s}function $y(e,t,n,o){let s=[],r=[],i=null;const a=({state:d})=>{const c=Zf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else o(c);s.forEach(x=>{x(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Pr.forward:Pr.back:Pr.unknown})})};function l(){i=n.value}function f(d){s.push(d);const c=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:ao()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function Al(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?ao():null}}function Hy(e){const{history:t,location:n}=window,o={value:Zf(e,n)},s={value:t.state};s.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Fy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),s.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,Al(s.value.back,l,s.value.forward,!0),f,{position:s.value.position});r(l,u,!0),o.value=l}function a(l,f){const u=we({},s.value,t.state,{forward:l,scroll:ao()});r(u.current,u,!0);const h=we({},Al(o.value,l,null),{position:u.position+1},f);r(l,h,!1),o.value=l}return{location:o,state:s,push:a,replace:i}}function ed(e){e=ky(e);const t=Hy(e),n=$y(e,t.state,t.location,t.replace);function o(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=we({location:"",base:e,go:o,createHref:Iy.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Uy(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ed(e)}function By(e){return typeof e=="string"||e&&typeof e=="object"}function td(e){return typeof e=="string"||typeof e=="symbol"}const nd=Symbol("");var Il;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Il||(Il={}));function or(e,t){return we(new Error,{type:e,[nd]:!0},t)}function Wt(e,t){return e instanceof Error&&nd in e&&(t==null||!!(e.type&t))}const Ol="[^/]+?",Vy={sensitive:!1,strict:!1,start:!0,end:!0},jy=/[.+*?^${}()[\]/\\]/g;function Wy(e,t){const n=we({},Vy,t),o=[];let s=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=40+(n.sensitive?.25:0);if(d.type===0)h||(s+="/"),s+=d.value.replace(jy,"\\$&"),c+=40;else if(d.type===1){const{value:p,repeatable:g,optional:v,regexp:x}=d;r.push({name:p,repeatable:g,optional:v});const w=x||Ol;if(w!==Ol){c+=10;try{new RegExp(`(${w})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${w}): `+_.message)}}let y=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(y=v&&f.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),s+=y,c+=20,v&&(c+=-8),g&&(c+=-20),w===".*"&&(c+=-50)}u.push(c)}o.push(u)}if(n.strict&&n.end){const f=o.length-1;o[f][o[f].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(f){const u=f.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",p=r[d-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===0)u+=c.value;else if(c.type===1){const{value:p,repeatable:g,optional:v}=c,x=p in f?f[p]:"";if(Nt(x)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=Nt(x)?x.join("/"):x;if(!w)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=w}}return u||"/"}return{re:i,score:o,keys:r,parse:a,stringify:l}}function Ky(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function rd(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const r=Ky(o[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-o.length)===1){if(Nl(o))return 1;if(Nl(s))return-1}return s.length-o.length}function Nl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gy={type:0,value:""},Yy=/[a-zA-Z0-9_]/;function Xy(e){if(!e)return[[]];if(e==="/")return[[Gy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,o=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),i()):l===":"?(h(),n=1):d();break;case 4:d(),n=o;break;case 1:l==="("?n=2:Yy.test(l)?d():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),s}function Jy(e,t,n){const o=Wy(Xy(e.path),n),s=we(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function qy(e,t){const n=[],o=new Map;t=$l({strict:!1,end:!0,sensitive:!1},t);function s(h){return o.get(h)}function r(h,d,c){const p=!c,g=Dl(h);g.aliasOf=c&&c.record;const v=$l(t,h),x=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)x.push(Dl(we({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g})))}let w,y;for(const _ of x){const{path:m}=_;if(d&&m[0]!=="/"){const E=d.record.path,b=E[E.length-1]==="/"?"":"/";_.path=d.record.path+(m&&b+m)}if(w=Jy(_,d,v),c?c.alias.push(w):(y=y||w,y!==w&&y.alias.push(w),p&&h.name&&!Fl(w)&&i(h.name)),sd(w)&&l(w),g.children){const E=g.children;for(let b=0;b<E.length;b++)r(E[b],w,c&&c.children[b])}c=c||w}return y?()=>{i(y)}:Tr}function i(h){if(td(h)){const d=o.get(h);d&&(o.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&o.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=Zy(h,n);n.splice(d,0,h),h.record.name&&!Fl(h)&&o.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=o.get(h.name),!c)throw or(1,{location:h});v=c.record.name,p=we(Ml(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Ml(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw or(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const x=[];let w=c;for(;w;)x.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:x,meta:zy(x)}}e.forEach(h=>r(h));function u(){n.length=0,o.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function Ml(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Dl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Qy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Qy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Fl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zy(e){return e.reduce((t,n)=>we(t,n.meta),{})}function $l(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Zy(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;rd(e,t[r])<0?o=r:n=r+1}const s=e0(e);return s&&(o=t.lastIndexOf(s,o-1)),o}function e0(e){let t=e;for(;t=t.parent;)if(sd(t)&&rd(e,t)===0)return t}function sd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function t0(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<o.length;++s){const r=o[s].replace(Xf," "),i=r.indexOf("="),a=Hr(i<0?r:r.slice(0,i)),l=i<0?null:Hr(r.slice(i+1));if(a in t){let f=t[a];Nt(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function Hl(e){let t="";for(let n in e){const o=e[n];if(n=Ey(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Nt(o)?o.map(r=>r&&Si(r)):[o&&Si(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function n0(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Nt(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}const r0=Symbol(""),Ul=Symbol(""),la=Symbol(""),ca=Symbol(""),Ti=Symbol("");function gr(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function cn(e,t,n,o,s,r=i=>i()){const i=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(or(4,{from:n,to:t})):d instanceof Error?l(d):By(d)?l(or(2,{from:t,to:d})):(i&&o.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(o&&o.instances[s],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Ho(e,t,n,o,s=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Gf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(cn(u,n,o,i,a,s))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=uy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&cn(c,n,o,i,a,s)()}))}}return r}function Bl(e){const t=nt(la),n=nt(ca),o=ge(()=>{const l=te(e.to);return t.resolve(l)}),s=ge(()=>{const{matched:l}=o.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(sr.bind(null,u));if(d>-1)return d;const c=Vl(l[f-2]);return f>1&&Vl(u)===c&&h[h.length-1].path!==c?h.findIndex(sr.bind(null,l[f-2])):d}),r=ge(()=>s.value>-1&&l0(n.params,o.value.params)),i=ge(()=>s.value>-1&&s.value===n.matched.length-1&&zf(n.params,o.value.params));function a(l={}){if(a0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Tr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:o,href:ge(()=>o.value.href),isActive:r,isExactActive:i,navigate:a}}function s0(e){return e.length===1?e[0]:e}const o0=Ze({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:Bl,setup(e,{slots:t}){const n=yn(Bl(e)),{options:o}=nt(la),s=ge(()=>({[jl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[jl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&s0(t.default(n));return e.custom?r:Je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),i0=o0;function a0(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 l0(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!Nt(s)||s.length!==o.length||o.some((r,i)=>r!==s[i]))return!1}return!0}function Vl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jl=(e,t,n)=>e??t??n,c0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=nt(Ti),s=ge(()=>e.route||o.value),r=nt(Ul,0),i=ge(()=>{let f=te(r);const{matched:u}=s.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=ge(()=>s.value.matched[i.value]);hn(Ul,ge(()=>i.value+1)),hn(r0,a),hn(Ti,s);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!sr(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Wl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Je(d,we({},p,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Wl(n.default,{Component:v,route:f})||v}}});function Wl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const od=c0;function u0(e){const t=qy(e.routes,e),n=e.parseQuery||t0,o=e.stringifyQuery||Hl,s=e.history,r=gr(),i=gr(),a=gr(),l=tr(Pt);let f=Pt;Yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Fo.bind(null,V=>""+V),h=Fo.bind(null,by),d=Fo.bind(null,Hr);function c(V,q){let z,ee;return td(V)?(z=t.getRecordMatcher(V),ee=q):ee=V,t.addRoute(ee,z)}function p(V){const q=t.getRecordMatcher(V);q&&t.removeRoute(q)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function x(V,q){if(q=we({},q||l.value),typeof V=="string"){const I=$o(n,V,q.path),D=t.resolve({path:I.path},q),W=s.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:$o(n,V.path,q.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),q.params=h(q.params)}const ee=t.resolve(z,q),he=V.hash||"";ee.params=u(d(ee.params));const xe=Ty(o,we({},V,{hash:xy(he),path:ee.path})),A=s.createHref(xe);return we({fullPath:xe,hash:he,query:o===Hl?n0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?$o(n,V,l.value.path):we({},V)}function y(V,q){if(f!==V)return or(8,{from:q,to:V})}function _(V){return b(V)}function m(V){return _(we(w(V),{replace:!0}))}function E(V){const q=V.matched[V.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function b(V,q){const z=f=x(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=E(z);if(I)return b(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),q||z);const D=z;D.redirectedFrom=q;let W;return!xe&&Py(o,ee,z)&&(W=or(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Wt(B)?Wt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Wt(B,2))return b(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),q||D)}else B=C(D,ee,!0,A,he);return P(D,ee,B),B})}function S(V,q){const z=y(V,q);return z?Promise.reject(z):Promise.resolve()}function T(V){const q=_e.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(V):V()}function L(V,q){let z;const[ee,he,xe]=f0(V,q);z=Ho(ee.reverse(),"beforeRouteLeave",V,q);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(cn(D,V,q))});const A=S.bind(null,V,q);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(cn(I,V,q));return z.push(A),de(z)}).then(()=>{z=Ho(he,"beforeRouteUpdate",V,q);for(const I of he)I.updateGuards.forEach(D=>{z.push(cn(D,V,q))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Nt(I.beforeEnter))for(const D of I.beforeEnter)z.push(cn(D,V,q));else z.push(cn(I.beforeEnter,V,q));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Ho(xe,"beforeRouteEnter",V,q,T),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(cn(I,V,q));return z.push(A),de(z)}).catch(I=>Wt(I,8)?I:Promise.reject(I))}function P(V,q,z){a.list().forEach(ee=>T(()=>ee(V,q,z)))}function C(V,q,z,ee,he){const xe=y(V,q);if(xe)return xe;const A=q===Pt,I=Yn?history.state:{};z&&(ee||A?s.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):s.push(V.fullPath,he)),l.value=V,ue(V,q,z,A),fe()}let O;function $(){O||(O=s.listen((V,q,z)=>{if(!Be.listening)return;const ee=x(V),he=E(ee);if(he){b(we(he,{replace:!0,force:!0}),ee).catch(Tr);return}f=ee;const xe=l.value;Yn&&My(kl(xe.fullPath,z.delta),ao()),L(ee,xe).catch(A=>Wt(A,12)?A:Wt(A,2)?(b(we(w(A.to),{force:!0}),ee).then(I=>{Wt(I,20)&&!z.delta&&z.type===Ur.pop&&s.go(-1,!1)}).catch(Tr),Promise.reject()):(z.delta&&s.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Wt(A,8)?s.go(-z.delta,!1):z.type===Ur.pop&&Wt(A,20)&&s.go(-1,!1)),P(ee,xe,A)}).catch(Tr)}))}let F=gr(),U=gr(),j;function Y(V,q,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,q,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Pt?Promise.resolve():new Promise((V,q)=>{F.add([V,q])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([q,z])=>V?z(V):q()),F.reset()),V}function ue(V,q,z,ee){const{scrollBehavior:he}=e;if(!Yn||!he)return Promise.resolve();const xe=!z&&Dy(kl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return _n().then(()=>he(V,q,xe)).then(A=>A&&Ny(A)).catch(A=>Y(A,V,q))}const ne=V=>s.go(V);let Te;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:x,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const q=this;V.component("RouterLink",i0),V.component("RouterView",od),V.config.globalProperties.$router=q,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Yn&&!Te&&l.value===Pt&&(Te=!0,_(s.location).catch(he=>{}));const z={};for(const he in Pt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(la,q),V.provide(ca,Qt(z)),V.provide(Ti,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Pt,O&&O(),O=null,l.value=Pt,Te=!1,j=!1),ee()}}};function de(V){return V.reduce((q,z)=>q.then(()=>T(z)),Promise.resolve())}return Be}function f0(e,t){const n=[],o=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(f=>sr(f,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>sr(f,l))||s.push(l))}return[n,o,s]}function d0(e){return nt(ca)}const h0=/(:\w+)\([^)]+\)/g,p0=/(:\w+)[?+*]/g,g0=/:\w+/g,m0=(e,t)=>t.path.replace(h0,"$1").replace(p0,"$1").replace(g0,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),Pi=(e,t)=>{const n=e.route.matched.find(s=>{var r;return((r=s.components)==null?void 0:r.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&m0(e.route,n));return typeof o=="function"?o(e.route):o},v0=(e,t)=>({default:()=>e?Je(tp,e===!0?{}:e,t):t});function ua(e){return Array.isArray(e)?e:[e]}const y0="modulepreload",_0=function(e,t){return new URL(e,t).href},Kl={},$e=function(t,n,o){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(f=>{if(f=_0(f,o),f in Kl)return;Kl[f]=!0;const u=f.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(!!o)for(let p=i.length-1;p>=0;p--){const g=i[p];if(g.href===f&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${h}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":y0,u||(c.as="script"),c.crossOrigin="",c.href=f,l&&c.setAttribute("nonce",l),document.head.appendChild(c),u)return new Promise((p,g)=>{c.addEventListener("load",p),c.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${f}`)))})}))}function r(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})},Uo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./DFZnbOZD.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./DFZnbOZD.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./DFZnbOZD.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./CT6aAYpw.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./CT6aAYpw.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./CT6aAYpw.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./qxmAZhPz.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./qxmAZhPz.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./qxmAZhPz.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./DVv9LIDQ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./DVv9LIDQ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./DVv9LIDQ.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./BWQrY8bD.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./BWQrY8bD.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./BWQrY8bD.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],id=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?Je(e,t,n):(o=n.default)==null?void 0:o.call(n)}}),x0=/(:\w+)\([^)]+\)/g,E0=/(:\w+)[?+*]/g,w0=/:\w+/g;function Gl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(x0,"$1").replace(E0,"$1").replace(w0,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function b0(e,t){return e===t||t===Pt?!1:Gl(e)!==Gl(t)?!0:!e.matched.every((o,s)=>{var r,i;return o.components&&o.components.default===((i=(r=t.matched[s])==null?void 0:r.components)==null?void 0:i.default)})}const S0={scrollBehavior(e,t,n){var f;const o=me(),s=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&b0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Yl(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??pi),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{o.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Yl(e.hash),behavior:s}),u(r)})})}};function Yl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const C0={hashMode:!1,scrollBehaviorType:"auto"},_t={...C0,...S0},T0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const o=me(),s=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=oo({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(f=>{if(a(),f===e){const u=s.afterEach(async()=>{u(),await o.runWithContext(()=>Jn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},P0=async e=>{let t,n;const o=([t,n]=kt(()=>ia(e.path)),t=await t,n(),t);if(o.redirect)return Ct(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},L0=[T0,P0],Lr={};function R0(e,t,n){const{pathname:o,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),cl(u,"")}const a=cl(o,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+r}const k0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,o=gt().app.baseURL;_t.hashMode&&!o.includes("#")&&(o+="#");const s=((v=_t.history)==null?void 0:v.call(_t,o))??(_t.hashMode?Uy(o):ed(o)),r=_t.routes?([t,n]=kt(()=>_t.routes(Uo)),t=await t,n(),t??Uo):Uo;let i;const a=u0({..._t,scrollBehavior:(x,w,y)=>{if(w===Pt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(x,Pt,i||y)}},history:s,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=tr(a.currentRoute.value);a.afterEach((x,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=R0(o,window.location,e.payload.path),u=tr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((x,w)=>{var y,_,m,E;((_=(y=x.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((E=(m=w.matched[0])==null?void 0:m.components)==null?void 0:E.default)&&h()});const d={};for(const x in u.value)Object.defineProperty(d,x,{get:()=>u.value[x],enumerable:!0});e._route=Qt(d),e._middleware=e._middleware||{global:[],named:{}};const c=so();a.afterEach(async(x,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(ov),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(x){[t,n]=kt(()=>e.runWithContext(()=>Jn(x))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(x,w)=>{var y;await e.callHook("page:loading:start"),x.meta=yn(x.meta),e.isHydrating&&g&&!gn(x.meta.layout)&&(x.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...L0,...e._middleware.global]);for(const m of x.matched){const E=m.meta.middleware;if(E)for(const b of ua(E))_.add(b)}{const m=await e.runWithContext(()=>ia(x.path));if(m.appMiddleware)for(const E in m.appMiddleware)m.appMiddleware[E]?_.add(E):_.delete(E)}for(const m of _){const E=typeof m=="string"?e._middleware.named[m]||await((y=Lr[m])==null?void 0:y.call(Lr).then(S=>S.default||S)):m;if(!E)throw new Error(`Unknown route middleware: '${m}'.`);const b=await e.runWithContext(()=>E(x,w));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const S=b||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Jn(S)),!1}if(b!==!0&&(b||b===!1))return b}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(x,w)=>{x.matched.length===0&&await e.runWithContext(()=>Jn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${x.fullPath}`,data:{path:x.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(x){await e.runWithContext(()=>Jn(x))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),A0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),lo=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},I0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await Pl(t.path);o&&Object.assign(e.static.data,o.data)}),lo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Pl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(io,1e3)})}}),O0=Dt(()=>{const e=ze();lo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),N0=Dt(e=>{let t;async function n(){const o=await io();t&&clearTimeout(t),t=setTimeout(n,hl);try{const s=await $fetch(oa("builds/latest.json")+`?${Date.now()}`);s.id!==o.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}lo(()=>{t=setTimeout(n,hl)})});function M0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(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 D0=Dt({name:"nuxt:chunk-reload",setup(e){const t=ze(),n=gt(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function s(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Un(n.app.baseURL,r.fullPath);M0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((r,i)=>{o.has(r)&&s(i)})}}),F0=Dt({name:"nuxt:global-components"}),un={},$0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const o=(s=n==null?void 0:n.meta)==null?void 0:s.layout;o&&typeof un[o]=="function"&&await un[o]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(n))return;const o=t.resolve(n);if(!o)return;const s=o.meta.layout;let r=ua(o.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Lr[i]=="function"&&Lr[i]();s&&typeof un[s]=="function"&&un[s]()})}});/*!
* shared v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const $s=typeof window<"u",En=(e,t=!1)=>t?Symbol.for(e):Symbol(e),H0=(e,t,n)=>U0({l:e,k:t,s:n}),U0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ve=e=>typeof e=="number"&&isFinite(e),B0=e=>ld(e)==="[object Date]",Hs=e=>ld(e)==="[object RegExp]",co=e=>pe(e)&&Object.keys(e).length===0,Ue=Object.assign,V0=Object.create,Pe=(e=null)=>V0(e);let Xl;const fa=()=>Xl||(Xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Pe());function Jl(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const j0=Object.prototype.hasOwnProperty;function At(e,t){return j0.call(e,t)}const He=Array.isArray,Se=e=>typeof e=="function",Z=e=>typeof e=="string",Oe=e=>typeof e=="boolean",W0=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",K0=e=>ce(e)&&Se(e.then)&&Se(e.catch),ad=Object.prototype.toString,ld=e=>ad.call(e),pe=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},G0=e=>e==null?"":He(e)||pe(e)&&e.toString===ad?JSON.stringify(e,null,2):String(e);function da(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}function uo(e){let t=e;return()=>++t}function Y0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ds=e=>!ce(e)||He(e);function Dn(e,t){if(ds(e)||ds(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:s}=n.pop();Object.keys(o).forEach(r=>{r!=="__proto__"&&(ce(o[r])&&!ce(s[r])&&(s[r]=Array.isArray(o[r])?[]:Pe()),ds(s[r])||ds(o[r])?s[r]=o[r]:n.push({src:o[r],des:s[r]}))})}}const ir=["en","it"],Us={en:[{key:"../locales/en-US/general.ts",load:()=>$e(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>$e(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>$e(()=>import("./Dvf9tRwF.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>$e(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>$e(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>$e(()=>import("./DEk7nVrb.js"),[],import.meta.url),cache:!0}]},X0=[],fo=[{code:"en",name:"English",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/resume.ts"}],language:"en-US"},{code:"it",name:"Italiano",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/resume.ts"}],language:"it-IT"}],cd="@nuxtjs/i18n",J0=!1,q0="nuxtI18n",Q0="i18n_redirected",ql="nuxt-i18n-slp",z0=typeof window<"u";function Z0(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function e_(e){return e!=null&&"global"in e&&"mode"in e}function t_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&De(e.locale)}function ud(e){return e!=null&&"__composer"in e}function wn(e){return e_(e)?e.global:e}function ar(e){const t=wn(e);return t_(t)?t:ud(t)?t.__composer:t}function ho(e){return te(wn(e).locale)}function n_(e){return te(wn(e).locales)}function r_(e){return te(wn(e).localeCodes)}function fd(e,t){const n=wn(e);De(n.locale)?n.locale.value=t:n.locale=t}function dd(e){return Z(e)?e:W0(e)?e.toString():"(null)"}function Ql(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:s,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=o!=="no_prefix"||i;let l=dd(e)+(a?s+t:"");return t===n&&o==="prefix_and_default"&&(l+=s+r),l}function zl(e,t){return Se(e)?e(t):e}function s_(e,t){const n=[];for(const[o,s]of t.entries()){const r=e.find(i=>i.language.toLowerCase()===s.toLowerCase());if(r){n.push({code:r.code,score:1-o/t.length});break}}for(const[o,s]of t.entries()){const r=s.split("-")[0].toLowerCase(),i=e.find(a=>a.language.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-o/t.length});break}}return n}const o_=s_;function i_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const a_=i_;function l_(e,t,{matcher:n=o_,comparer:o=a_}={}){const s=[];for(const i of e){const{code:a}=i,l=i.language||a;s.push({code:a,language:l})}const r=n(s,t);return r.length>1&&r.sort(o),r.length?r[0].code:""}function ha(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const Rr=new Map;async function c_(e,t){const n={messages:{}};for(const o of e){const{default:s}=await o(),r=Se(s)?await t.runWithContext(async()=>await s()):s;Dn(r,n)}return n}function hd(e,t){let n=[];if(He(e))n=e;else if(ce(e)){const o=[...t,"default"];for(const s of o)e[s]&&(n=[...n,...e[s].filter(Boolean)])}else Z(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function u_(e,t,n){const{defaultLocale:o,initialLocale:s,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=hd(i,[o,s]);await Promise.all(f.map(u=>Zl(u,t,e)))}const l=a?[...new Set().add(o).add(s)]:r;return await Promise.all(l.map(f=>Zl(f,t,e))),e}async function f_(e,{key:t,load:n}){let o=null;try{const s=await n().then(r=>r.default||r);Se(s)?o=await s(e):(o=s,o!=null&&Rr&&Rr.set(t,o))}catch(s){console.error("Failed locale loading: "+s.message)}return o}async function Bs(e,t,n){const o=t[e];if(o==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const r of o){let i=null;Rr&&Rr.has(r.key)&&r.cache?i=Rr.get(r.key):i=await f_(e,r),i!=null&&Dn(i,s)}n(e,s)}async function Zl(e,t,n){await Bs(e,t,(s,r)=>{const i=n[s]||{};Dn(r,i),n[s]=i})}function d_(e,t){return[e.slice(0,t),e.slice(t)]}function h_(e){const{fullPath:t,query:n,hash:o,name:s,path:r,params:i,meta:a,redirectedFrom:l,matched:f}=e;return{fullPath:t,params:i,query:n,hash:o,name:s,path:r,meta:a,matched:f,redirectedFrom:l}}function p_({router:e},t,n,o){var f,u;if(n!=="prefix")return e.resolve(t);const[s,r]=d_(t.path,1),i=`${s}${o}${r===""?r:`/${r}`}`,a=(u=(f=e.options)==null?void 0:f.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=Ue({},t,a);return l.path=i,e.resolve(l)}const g_=new Set(["prefix_and_default","prefix_except_default"]);function m_(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&g_.has(o))&&o!=="no_prefix"}const v_=m_;function lr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,o=te(t);return o==null||!o.name?void 0:dd(o.name).split(n)[0]}function po(e,t,n){var s;if(typeof t=="string"&&Ct(t,{acceptRelative:!0}))return t;const o=go(e,t,n);return o==null?"":((s=o.redirectedFrom)==null?void 0:s.fullPath)||o.fullPath}function pa(e,t,n){return go(e,t,n)??void 0}function y_(e,t,n){return go(e,t,n)??void 0}function go(e,t,n){const{router:o,i18n:s}=e,r=n||ho(s),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,f=N_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=fi(t),v=sa(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let h=Ue({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(h)){const c=p_(e,h,a,r),p=lr(e,c);Z(p)?(h={name:Ql(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(f({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?$r(h.path,!0):qr(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=lr(e,o.currentRoute.value)),h.name=Ql(h.name,r,e.runtimeConfig.public.i18n);try{const c=o.resolve(h);return c.name?c:o.resolve(t)}catch(c){if(typeof c=="object"&&"type"in c&&c.type===1)return null}}const __=e=>e;function x_(e,t){var o;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((o=te(n))==null?void 0:o[q0])||{}}function cr(e,t,n){const o=n??e.router.currentRoute.value,s=lr(e,o);if(!s)return"";const r=M_(e.runtimeConfig),i=h_(o),a=x_(e,o)[t],l={...i,name:s,params:{...i.params,...a}},f=po(e,l,t);return r(f,t)}function pd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:o="hid"}){const{defaultDirection:s}=gt().public.i18n,r=ar(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=ho(e.i18n),l=n_(e.i18n),f=Z0(l).find(d=>d.code===a)||{code:a},u=f.language,h=f.dir||s;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...E_(e,te(l),o),...w_(e,o,n)),i.meta.push(...b_(e,o,n),...S_(f,u,o),...C_(te(l),u,o))),i}function ga(){const e=me(),t=ar(e.$i18n);return Un(te(t.baseUrl),e.$config.app.baseURL)}function E_(e,t,n){const o=ga(),{defaultLocale:s,strategy:r}=gt().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const f=l.language;if(!f){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=cr(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:Ri(u,o),hreflang:l})}if(s){const l=cr(e,s);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:Ri(l,o),hreflang:"x-default"})}return i}function gd(e,t,n){const o=e.router.currentRoute.value,s=pa(e,{...o,path:void 0,name:lr(e,o)});if(!s)return"";let r=Ri(s.path,t);const i=ce(n)&&n.canonicalQueries||[],a=s.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];He(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function w_(e,t,n){const o=ga(),s=gd(e,o,n);return s?[{[t]:"i18n-can",rel:"canonical",href:s}]:[]}function b_(e,t,n){const o=ga(),s=gd(e,o,n);return s?[{[t]:"i18n-og-url",property:"og:url",content:s}]:[]}function S_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:md(t)}]}function C_(e,t,n){return e.filter(s=>s.language&&s.language!==t).map(s=>({[n]:`i18n-og-alt-${s.language}`,property:"og:locale:alternate",content:md(s.language)}))}function md(e){return(e||"").replace(/-/g,"_")}function Ri(e,t){return e.match(/^https?:\/\//)?e:Un(t,e)}function vd(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=gt().public.i18n,n=`(${ir.join("|")})`,o=`(?:${e}${t})?`,s=new RegExp(`${e}${n}${o}$`,"i"),r=ha(ir);return a=>{if(ce(a)){if(a.name){const f=(Z(a.name)?a.name:a.name.toString()).match(s);if(f&&f.length>1)return f[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}const T_="$s";function yd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const s=T_+n,r=me(),i=pu(r.payload.state,s);if(i.value===void 0&&o){const a=o();if(De(a))return r.payload.state[s]=a,a;i.value=a}return i}function P_(e,t){return zr(e,"setLocale",t)}function L_(e,t){return zr(e,"setLocaleCookie",t)}function _d(e,t,n){return zr(e,"mergeLocaleMessage",t,n)}async function R_(e,t,n,o,s){return zr(e,"onBeforeLanguageSwitch",t,n,o,s)}function k_(e,t,n){return zr(e,"onLanguageSwitched",t,n)}function ma(e){return{i18n:e??me().$i18n,router:ze(),runtimeConfig:gt(),metaState:yd("nuxt-i18n-meta",()=>({}))}}async function ec(e,t,n,o=!1){const{differentDomains:s,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Zr(n),l=me(),f=ho(t),u=r_(t);function h(c=f){a===!1||!a.useCookie||r||L_(t,c)}if(!e||!o&&s||f===e)return h(),!1;const d=await R_(t,f,e,o,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=V_(t,"fallbackLocale"),p=(g,v)=>_d(t,g,v);if(c){const g=hd(c,[e]);await Promise.all(g.map(v=>Bs(v,Us,p)))}await Bs(e,Us,p)}return r?!1:(h(e),fd(t,e),await k_(t,f,e),!0)}function xd(e){return{log:console.log.bind(console,`${e}:`)}}function tc(e,t,n,o,s){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=s,{localeCookie:f}=o,u=Zr(s);xd("detectLocale");const h=Se(n)?n():n,d=Sd(e,o,h);if(d.reason===bd.SSG_IGNORE)return h;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=G_(fo,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&f;return c||(c=p||h||i||""),c}function nc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:o=!1}){const s=me(),r=ma(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:f}=e.to;if(!a&&(o||i!=="no_prefix")&&n(e.to)!==t){const u=s.$switchLocalePath(t)||s.$localePath(f,t);Z(u)&&u&&!ui(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=cr(r,t,e.to);Z(u)&&u&&!ui(u,f)&&!u.startsWith("//")&&(l=u)}return l}function A_(e){return ce(e)&&"path"in e&&"statusCode"in e}const I_=()=>yd(cd+":redirect",()=>"");function Wn(e,t){return Of(e,{redirectCode:t})}async function rc(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:o,i18n:s,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:f,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:d}=o.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:A_(a)&&(c="/"+a.path,t=a.statusCode),c=o.$localePath(c,r),Wn(c,t);if(!(u&&(s.__pendingLocale=r,s.__pendingLocalePromise=new Promise(p=>{s.__resolvePendingLocalePromise=p}),!n))){if(f&&d==="prefix_except_default"){const p=mo(),g=h.find(x=>{var w;return typeof x!="string"?(w=x.defaultForDomains)==null?void 0:w.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return Wn(i.path.replace(`/${v}`,""),t);if(!i.path.startsWith(`/${r}`)&&r!==v){const w=vd()(i.path);return Wn(w!==""?`/${r+i.path.replace(`/${w}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`,t)}else if(c&&i.path!==c)return Wn(c,t);return}if(l){const p=I_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Wn(c,t)}}function O_(e,t){Kn(e,"$i18n",wn(t)),Kn(e,"$getRouteBaseName",dt(lr)),Kn(e,"$localePath",dt(po)),Kn(e,"$localeRoute",dt(pa)),Kn(e,"$switchLocalePath",dt(cr)),Kn(e,"$localeHead",dt(pd))}function N_(e=gt()){return t=>v_(t)&&!e.public.i18n.differentDomains}function M_(e=gt()){return(t,n)=>{if(e.public.i18n.differentDomains){const o=Cd(n);return o?Un(o,t):t}else return __(t)}}function D_(){return()=>{const e=me(),{baseUrl:t,defaultLocale:n,differentDomains:o}=e.$config.public.i18n;if(Se(t))return t(e);const s=Se(n)?n():n;if(o&&s){const r=Cd(s);if(r)return r}return t}}function Lt(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Lt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Lt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Lt(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Lt(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Lt(s))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(s,r){n.set(Lt(r),Lt(s))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(Lt(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const F_={path:"/",watch:!0,decode:e=>Fr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},hs=window.cookieStore;function $_(e,t){var l;const n={...F_,...t};n.filter??(n.filter=f=>f===e);const o=sc(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const r=s!==void 0&&s<=0,i=Lt(r?void 0:o[e]??((l=n.default)==null?void 0:l.call(n))),a=s&&!r?B_(i,s,n.watch&&n.watch!=="shallow"):Ce(i);{let f=null;try{!hs&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Xm(a.value,o[e])||(U_(e,a.value,n),o[e]=Lt(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=sc(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,o[e]=Lt(g),_n(()=>{d=!1})};let d=!1;const c=!!Xs();if(c&&Go(()=>{d=!0,u(),f==null||f.close()}),hs){const p=g=>{const v=g.changed.find(w=>w.name===e),x=g.deleted.find(w=>w.name===e);v&&h({value:v.value}),x&&h({value:null})};hs.addEventListener("change",p),c&&Go(()=>hs.removeEventListener("change",p))}else f&&(f.onmessage=({data:p})=>h(p));n.watch?pt(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function sc(e={}){return Vm(document.cookie,e)}function H_(e,t,n={}){return t==null?gl(e,t,{...n,maxAge:-1}):gl(e,t,n)}function U_(e,t,n={}){document.cookie=H_(e,t,n)}const oc=2147483647;function B_(e,t,n){let o,s,r=0;const i=n?Ce(e):{value:e};return Xs()&&Go(()=>{s==null||s(),clearTimeout(o)}),Dh((a,l)=>{n&&(s=pt(i,l));function f(){r=0,clearTimeout(o);const u=t-r,h=u<oc?u:oc;o=setTimeout(()=>{if(r+=h,r<t)return f();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){f(),i.value=u,l()}}})}function Ed(e){return cd+" "+e}function zr(e,t,...n){const o=wn(e),[s,r]=[o,o[t]];return Reflect.apply(r,s,[...n])}function V_(e,t){const n=wn(e);return te(n[t])}function Kn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function dt(e,t=ma()){return(...n)=>e(t,...n)}function wd(){let e;return navigator.languages&&(e=l_(fo,navigator.languages)),e}function j_(){const e=Zr(),t=e&&e.cookieKey||Q0,n=new Date,o={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(o.domain=e.cookieDomain),$_(t,o)}function Bo(e,t,n){if(t===!1||!t.useCookie)return;const o=e.value??void 0;if(o!=null){if(ir.includes(o))return o;if(n)return e.value=n,n;e.value=void 0}}function W_(e,t,n){n===!1||!n.useCookie||(e.value=t)}var bd=(e=>(e.NOT_FOUND="not_found_match",e.FIRST_ACCESS="first_access_only",e.NO_REDIRECT_ROOT="not_redirect_on_root",e.NO_REDIRECT_NO_PREFIX="not_redirect_on_no_prefix",e.SSG_IGNORE="detect_ignore_on_ssg",e))(bd||{});const K_={locale:""};function Sd(e,t,n=""){xd("detectBrowserLanguage");const o=Zr();if(!o)return K_;const{strategy:s}=gt().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=t;if(s==="no_prefix"&&r==="ssg_ignore")return{locale:"",reason:"detect_ignore_on_ssg"};if(!a)return{locale:s==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=o,c=Z(e)?e:e.path;if(s!=="no_prefix"){if(f==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(f==="no prefix"&&!u&&c.match(ha(ir)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=wd();g||(p="navigator_or_header");const x=g||v,w=x||d||"";return!x&&d&&(p="fallback"),{locale:w,from:p}}function mo(){let e;return e=window.location.host,e}function G_(e,t,n){let o=mo()||"";if(o){let s;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return Ct(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===o}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(o);return!1});if(r.length===1)s=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(Ed("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),s=r[0];else{if(n){const i=ce(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(ha(r.map(l=>l.code)));a&&a.length>1&&(s=r.find(l=>l.code===a[1]))}}s||(s=r.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(o):i.domainDefault))}if(s)return s.code;o=""}return o}function Cd(e){var i,a,l,f,u,h;const t=gt();me();const n=mo(),o=t.public.i18n,s=fo.find(d=>d.code===e),r=((a=(i=o==null?void 0:o.locales)==null?void 0:i[e])==null?void 0:a.domain)||(s==null?void 0:s.domain)||((u=(f=(l=o==null?void 0:o.locales)==null?void 0:l[e])==null?void 0:f.domains)==null?void 0:u.find(d=>d===n))||((h=s==null?void 0:s.domains)==null?void 0:h.find(d=>d===n));if(r){if(Ct(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(Ed("Could not find domain name for locale "+e))}const Zr=(e=gt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
* message-compiler v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function Y_(e,t,n){return{line:e,column:t,offset:n}}function Vs(e,t,n){return{start:e,end:t}}const Td={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function X_(e,t,...n){const s={message:String(e),code:e};return t&&(s.location=t),s}const Ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function vo(e,t,n={}){const{domain:o,messages:s,args:r}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=o,a}function J_(e){throw e}const Kt=" ",q_="\r",ot=`
`,Q_="\u2028",z_="\u2029";function Z_(e){const t=e;let n=0,o=1,s=1,r=0;const i=b=>t[b]===q_&&t[b+1]===ot,a=b=>t[b]===ot,l=b=>t[b]===z_,f=b=>t[b]===Q_,u=b=>i(b)||a(b)||l(b)||f(b),h=()=>n,d=()=>o,c=()=>s,p=()=>r,g=b=>i(b)||l(b)||f(b)?ot:t[b],v=()=>g(n),x=()=>g(n+r);function w(){return r=0,u(n)&&(o++,s=0),i(n)&&n++,n++,s++,t[n]}function y(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,o=1,s=1,r=0}function m(b=0){r=b}function E(){const b=n+r;for(;b!==n;)w();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:x,next:w,peek:y,reset:_,resetPeek:m,skipToPeek:E}}const rn=void 0,ex=".",ic="'",tx="tokenizer";function nx(e,t={}){const n=t.location!==!1,o=Z_(e),s=()=>o.index(),r=()=>Y_(o.line(),o.column(),o.index()),i=r(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>l,{onError:u}=t;function h(R,k,N,...K){const J=f();if(k.column+=N,k.offset+=N,u){const G=n?Vs(J.startLoc,k):null,M=vo(R,G,{domain:tx,args:K});u(M)}}function d(R,k,N){R.endLoc=r(),R.currentType=k;const K={type:k};return n&&(K.loc=Vs(R.startLoc,R.endLoc)),N!=null&&(K.value=N),K}const c=R=>d(R,14);function p(R,k){return R.currentChar()===k?(R.next(),k):(h(Ee.EXPECTED_TOKEN,r(),0,k),"")}function g(R){let k="";for(;R.currentPeek()===Kt||R.currentPeek()===ot;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function x(R){if(R===rn)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function w(R){if(R===rn)return!1;const k=R.charCodeAt(0);return k>=48&&k<=57}function y(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=x(R.currentPeek());return R.resetPeek(),K}function _(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=R.currentPeek()==="-"?R.peek():R.currentPeek(),J=w(K);return R.resetPeek(),J}function m(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=R.currentPeek()===ic;return R.resetPeek(),K}function E(R,k){const{currentType:N}=k;if(N!==8)return!1;g(R);const K=R.currentPeek()===".";return R.resetPeek(),K}function b(R,k){const{currentType:N}=k;if(N!==9)return!1;g(R);const K=x(R.currentPeek());return R.resetPeek(),K}function S(R,k){const{currentType:N}=k;if(!(N===8||N===12))return!1;g(R);const K=R.currentPeek()===":";return R.resetPeek(),K}function T(R,k){const{currentType:N}=k;if(N!==10)return!1;const K=()=>{const G=R.currentPeek();return G==="{"?x(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Kt||!G?!1:G===ot?(R.peek(),K()):C(R,!1)},J=K();return R.resetPeek(),J}function L(R){g(R);const k=R.currentPeek()==="|";return R.resetPeek(),k}function P(R){const k=g(R),N=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:N,hasSpace:k.length>0}}function C(R,k=!0){const N=(J=!1,G="",M=!1)=>{const H=R.currentPeek();return H==="{"?G==="%"?!1:J:H==="@"||!H?G==="%"?!0:J:H==="%"?(R.peek(),N(J,"%",!0)):H==="|"?G==="%"||M?!0:!(G===Kt||G===ot):H===Kt?(R.peek(),N(!0,Kt,M)):H===ot?(R.peek(),N(!0,ot,M)):!0},K=N();return k&&R.resetPeek(),K}function O(R,k){const N=R.currentChar();return N===rn?rn:k(N)?(R.next(),N):null}function $(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function F(R){return O(R,$)}function U(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function j(R){return O(R,U)}function Y(R){const k=R.charCodeAt(0);return k>=48&&k<=57}function se(R){return O(R,Y)}function fe(R){const k=R.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ue(R){return O(R,fe)}function ne(R){let k="",N="";for(;k=se(R);)N+=k;return N}function Te(R){v(R);const k=R.currentChar();return k!=="%"&&h(Ee.EXPECTED_TOKEN,r(),0,k),R.next(),"%"}function _e(R){let k="";for(;;){const N=R.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(C(R))k+=N,R.next();else break;else if(N===Kt||N===ot)if(C(R))k+=N,R.next();else{if(L(R))break;k+=N,R.next()}else k+=N,R.next()}return k}function Be(R){v(R);let k="",N="";for(;k=j(R);)N+=k;return R.currentChar()===rn&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N}function de(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${ne(R)}`):k+=ne(R),R.currentChar()===rn&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==ic&&R!==ot}function q(R){v(R),p(R,"'");let k="",N="";for(;k=O(R,V);)k==="\\"?N+=z(R):N+=k;const K=R.currentChar();return K===ot||K===rn?(h(Ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===ot&&(R.next(),p(R,"'")),N):(p(R,"'"),N)}function z(R){const k=R.currentChar();switch(k){case"\\":case"'":return R.next(),`\\${k}`;case"u":return ee(R,k,4);case"U":return ee(R,k,6);default:return h(Ee.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function ee(R,k,N){p(R,k);let K="";for(let J=0;J<N;J++){const G=ue(R);if(!G){h(Ee.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${K}${R.currentChar()}`);break}K+=G}return`\\${k}${K}`}function he(R){return R!=="{"&&R!=="}"&&R!==Kt&&R!==ot}function xe(R){v(R);let k="",N="";for(;k=O(R,he);)N+=k;return N}function A(R){let k="",N="";for(;k=F(R);)N+=k;return N}function I(R){const k=N=>{const K=R.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===Kt?N:(N+=K,R.next(),k(N))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function W(R,k){let N=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&h(Ee.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),N=d(k,2,"{"),v(R),k.braceNest++,N;case"}":return k.braceNest>0&&k.currentType===2&&h(Ee.EMPTY_PLACEHOLDER,r(),0),R.next(),N=d(k,3,"}"),k.braceNest--,k.braceNest>0&&v(R),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),N;case"@":return k.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N=B(R,k)||c(k),k.braceNest=0,N;default:{let J=!0,G=!0,M=!0;if(L(R))return k.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,X(R,k);if(J=y(R,k))return N=d(k,5,Be(R)),v(R),N;if(G=_(R,k))return N=d(k,6,de(R)),v(R),N;if(M=m(R,k))return N=d(k,7,q(R)),v(R),N;if(!J&&!G&&!M)return N=d(k,13,xe(R)),h(Ee.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,N.value),v(R),N;break}}return N}function B(R,k){const{currentType:N}=k;let K=null;const J=R.currentChar();switch((N===8||N===9||N===12||N===10)&&(J===ot||J===Kt)&&h(Ee.INVALID_LINKED_FORMAT,r(),0),J){case"@":return R.next(),K=d(k,8,"@"),k.inLinked=!0,K;case".":return v(R),R.next(),d(k,9,".");case":":return v(R),R.next(),d(k,10,":");default:return L(R)?(K=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,K):E(R,k)||S(R,k)?(v(R),B(R,k)):b(R,k)?(v(R),d(k,12,A(R))):T(R,k)?(v(R),J==="{"?W(R,k)||K:d(k,11,I(R))):(N===8&&h(Ee.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,X(R,k))}}function X(R,k){let N={type:14};if(k.braceNest>0)return W(R,k)||c(k);if(k.inLinked)return B(R,k)||c(k);switch(R.currentChar()){case"{":return W(R,k)||c(k);case"}":return h(Ee.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),d(k,3,"}");case"@":return B(R,k)||c(k);default:{if(L(R))return N=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;const{isModulo:J,hasSpace:G}=P(R);if(J)return G?d(k,0,_e(R)):d(k,4,Te(R));if(C(R))return d(k,0,_e(R));break}}return N}function Q(){const{currentType:R,offset:k,startLoc:N,endLoc:K}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=N,l.lastEndLoc=K,l.offset=s(),l.startLoc=r(),o.currentChar()===rn?d(l,14):X(o,l)}return{nextToken:Q,currentOffset:s,currentPosition:r,context:f}}const rx="parser",sx=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ox(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"<22>"}}}function ix(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function s(y,_,m,E,...b){const S=y.currentPosition();if(S.offset+=E,S.column+=E,n){const T=t?Vs(m,S):null,L=vo(_,T,{domain:rx,args:b});n(L)}}function r(y,_,m,E,...b){const S=y.currentPosition();if(S.offset+=E,S.column+=E,o){const T=t?Vs(m,S):null;o(X_(_,T,b))}}function i(y,_,m){const E={type:y};return t&&(E.start=_,E.end=_,E.loc={start:m,end:m}),E}function a(y,_,m,E){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),E=i(3,m.offset,m.startLoc);return E.value=_,a(E,y.currentOffset(),y.currentPosition()),E}function f(y,_){const m=y.context(),{lastOffset:E,lastStartLoc:b}=m,S=i(5,E,b);return S.index=parseInt(_,10),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function u(y,_,m){const E=y.context(),{lastOffset:b,lastStartLoc:S}=E,T=i(4,b,S);return T.key=_,m===!0&&(T.modulo=!0),y.nextToken(),a(T,y.currentOffset(),y.currentPosition()),T}function h(y,_){const m=y.context(),{lastOffset:E,lastStartLoc:b}=m,S=i(9,E,b);return S.value=_.replace(sx,ox),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:E,lastStartLoc:b}=m,S=i(8,E,b);return _.type!==12?(s(y,Ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),S.value="",a(S,E,b),{nextConsumeToken:_,node:S}):(_.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Tt(_)),S.value=_.value||"",a(S,y.currentOffset(),y.currentPosition()),{node:S})}function c(y,_){const m=y.context(),E=i(7,m.offset,m.startLoc);return E.value=_,a(E,y.currentOffset(),y.currentPosition()),E}function p(y){const _=y.context(),m=i(6,_.offset,_.startLoc);let E=y.nextToken();if(E.type===9){const b=d(y);m.modifier=b.node,E=b.nextConsumeToken||y.nextToken()}switch(E.type!==10&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(E)),E=y.nextToken(),E.type===2&&(E=y.nextToken()),E.type){case 11:E.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(E)),m.key=c(y,E.value||"");break;case 5:E.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(E)),m.key=u(y,E.value||"");break;case 6:E.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(E)),m.key=f(y,E.value||"");break;case 7:E.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(E)),m.key=h(y,E.value||"");break;default:{s(y,Ee.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const b=y.context(),S=i(7,b.offset,b.startLoc);return S.value="",a(S,b.offset,b.startLoc),m.key=S,a(m,b.offset,b.startLoc),{nextConsumeToken:E,node:m}}}return a(m,y.currentOffset(),y.currentPosition()),{node:m}}function g(y){const _=y.context(),m=_.currentType===1?y.currentOffset():_.offset,E=_.currentType===1?_.endLoc:_.startLoc,b=i(2,m,E);b.items=[];let S=null,T=null;do{const C=S||y.nextToken();switch(S=null,C.type){case 0:C.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(C)),b.items.push(l(y,C.value||""));break;case 6:C.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(C)),b.items.push(f(y,C.value||""));break;case 4:T=!0;break;case 5:C.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(C)),b.items.push(u(y,C.value||"",!!T)),T&&(r(y,Td.USE_MODULO_SYNTAX,_.lastStartLoc,0,Tt(C)),T=null);break;case 7:C.value==null&&s(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Tt(C)),b.items.push(h(y,C.value||""));break;case 8:{const O=p(y);b.items.push(O.node),S=O.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const L=_.currentType===1?_.lastOffset:y.currentOffset(),P=_.currentType===1?_.lastEndLoc:y.currentPosition();return a(b,L,P),b}function v(y,_,m,E){const b=y.context();let S=E.items.length===0;const T=i(1,_,m);T.cases=[],T.cases.push(E);do{const L=g(y);S||(S=L.items.length===0),T.cases.push(L)}while(b.currentType!==14);return S&&s(y,Ee.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(T,y.currentOffset(),y.currentPosition()),T}function x(y){const _=y.context(),{offset:m,startLoc:E}=_,b=g(y);return _.currentType===14?b:v(y,m,E,b)}function w(y){const _=nx(y,Ue({},e)),m=_.context(),E=i(0,m.offset,m.startLoc);return t&&E.loc&&(E.loc.source=y),E.body=x(_),e.onCacheKey&&(E.cacheKey=e.onCacheKey(y)),m.currentType!==14&&s(_,Ee.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(E,_.currentOffset(),_.currentPosition()),E}return{parse:w}}function Tt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ax(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function ac(e,t){for(let n=0;n<e.length;n++)va(e[n],t)}function va(e,t){switch(e.type){case 1:ac(e.cases,t),t.helper("plural");break;case 2:ac(e.items,t);break;case 6:{va(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function lx(e,t={}){const n=ax(e);n.helper("normalize"),e.body&&va(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function cx(e){const t=e.body;return t.type===2?lc(t):t.cases.forEach(n=>lc(n)),e}function lc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=da(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}function Xn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Xn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)Xn(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)Xn(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Xn(t.key),t.k=t.key,delete t.key,t.modifier&&(Xn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function ux(e,t){const{sourceMap:n,filename:o,breakLineCode:s,needIndent:r}=t,i=t.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function f(v,x){a.code+=v}function u(v,x=!0){const w=x?s:"";f(r?w+" ".repeat(v):w)}function h(v=!0){const x=++a.indentLevel;v&&u(x)}function d(v=!0){const x=--a.indentLevel;v&&u(x)}function c(){u(a.indentLevel)}return{context:l,push:f,indent:h,deindent:d,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function fx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ur(e,t.key),t.modifier?(e.push(", "),ur(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function dx(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const s=t.items.length;for(let r=0;r<s&&(ur(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(o()),e.push("])")}function hx(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const s=t.cases.length;for(let r=0;r<s&&(ur(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(o()),e.push("])")}}function px(e,t){t.body?ur(e,t.body):e.push("null")}function ur(e,t){const{helper:n}=e;switch(t.type){case 0:px(e,t);break;case 1:hx(e,t);break;case 2:dx(e,t);break;case 6:fx(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const gx=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",o=Z(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=ux(e,{mode:n,filename:o,sourceMap:s,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${da(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),ur(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:f,map:u}=l.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function mx(e,t={}){const n=Ue({},t),o=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,a=ix(n).parse(e);return o?(r&&cx(a),s&&Xn(a),{ast:a,code:""}):(lx(a,n),gx(a,n))}/*!
* core-base v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function vx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fa().__INTLIFY_PROD_DEVTOOLS__=!1)}const bn=[];bn[0]={w:[0],i:[3,0],"[":[4],o:[7]};bn[1]={w:[1],".":[2],"[":[4],o:[7]};bn[2]={w:[2],i:[3,0],0:[3,0]};bn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};bn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};bn[5]={"'":[4,0],o:8,l:[5,0]};bn[6]={'"':[4,0],o:8,l:[6,0]};const yx=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function _x(e){return yx.test(e)}function xx(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ex(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function wx(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:_x(t)?xx(t):"*"+t}function bx(e){const t=[];let n=-1,o=0,s=0,r,i,a,l,f,u,h;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,o=4,d[0]();else{if(s=0,i===void 0||(i=wx(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=Ex(r),h=bn[o],f=h[l]||h.l||8,f===8||(o=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(a=r,u()===!1))))return;if(o===7)return t}}const cc=new Map;function Sx(e,t){return ce(e)?e[t]:null}function Cx(e,t){if(!ce(e))return null;let n=cc.get(t);if(n||(n=bx(t),n&&cc.set(t,n)),!n)return null;const o=n.length;let s=e,r=0;for(;r<o;){const i=s[n[r]];if(i===void 0||Se(s))return null;s=i,r++}return s}const Tx=e=>e,Px=e=>"",Lx="text",Rx=e=>e.length===0?"":da(e),kx=G0;function uc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ax(e){const t=Ve(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ve(e.named.count)||Ve(e.named.n))?Ve(e.named.count)?e.named.count:Ve(e.named.n)?e.named.n:t:t}function Ix(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ox(e={}){const t=e.locale,n=Ax(e),o=ce(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:uc,s=ce(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?uc:void 0,r=x=>x[o(n,x.length,s)],i=e.list||[],a=x=>i[x],l=e.named||Pe();Ve(e.pluralIndex)&&Ix(n,l);const f=x=>l[x];function u(x){const w=Se(e.messages)?e.messages(x):ce(e.messages)?e.messages[x]:!1;return w||(e.parent?e.parent.message(x):Px)}const h=x=>e.modifiers?e.modifiers[x]:Tx,d=pe(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:Rx,c=pe(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:kx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:Lx,v={list:a,named:f,plural:r,linked:(x,...w)=>{const[y,_]=w;let m="text",E="";w.length===1?ce(y)?(E=y.modifier||E,m=y.type||m):Z(y)&&(E=y||E):w.length===2&&(Z(y)&&(E=y||E),Z(_)&&(m=_||m));const b=u(x)(v),S=m==="vnode"&&He(b)&&E?b[0]:b;return E?h(E)(S,m):S},message:u,type:p,interpolate:c,normalize:d,values:Ue(Pe(),i,l)};return v}let Br=null;function Nx(e){Br=e}function Mx(e,t,n){Br&&Br.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Dx=Fx("function:translate");function Fx(e){return t=>Br&&Br.emit(e,t)}const Pd=Td.__EXTEND_POINT__,Rn=uo(Pd),$x={NOT_FOUND_KEY:Pd,FALLBACK_TO_TRANSLATE:Rn(),CANNOT_FORMAT_NUMBER:Rn(),FALLBACK_TO_NUMBER_FORMAT:Rn(),CANNOT_FORMAT_DATE:Rn(),FALLBACK_TO_DATE_FORMAT:Rn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Rn(),__EXTEND_POINT__:Rn()},Ld=Ee.__EXTEND_POINT__,kn=uo(Ld),Ut={INVALID_ARGUMENT:Ld,INVALID_DATE_ARGUMENT:kn(),INVALID_ISO_DATE_ARGUMENT:kn(),NOT_SUPPORT_NON_STRING_MESSAGE:kn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:kn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:kn(),NOT_SUPPORT_LOCALE_TYPE:kn(),__EXTEND_POINT__:kn()};function zt(e){return vo(e,null,void 0)}function ya(e,t){return t.locale!=null?fc(t.locale):fc(e.locale)}let Vo;function fc(e){if(Z(e))return e;if(Se(e)){if(e.resolvedOnce&&Vo!=null)return Vo;if(e.constructor.name==="Function"){const t=e();if(K0(t))throw zt(Ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Vo=t}else throw zt(Ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw zt(Ut.NOT_SUPPORT_LOCALE_TYPE)}function Hx(e,t,n){return[...new Set([n,...He(t)?t:ce(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Rd(e,t,n){const o=Z(n)?n:js,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(o);if(!r){r=[];let i=[n];for(;He(i);)i=dc(r,i,t);const a=He(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,He(i)&&dc(r,i,!1),s.__localeChainCache.set(o,r)}return r}function dc(e,t,n){let o=!0;for(let s=0;s<t.length&&Oe(o);s++){const r=t[s];Z(r)&&(o=Ux(e,t[s],n))}return o}function Ux(e,t,n){let o;const s=t.split("-");do{const r=s.join("-");o=Bx(e,r,n),s.splice(-1,1)}while(s.length&&o===!0);return o}function Bx(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(He(n)||pe(n))&&n[s]&&(o=n[s])}return o}const Vx="9.14.2",yo=-1,js="en-US",hc="",pc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function jx(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?pc(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?pc(e.children):e}}let kd;function Wx(e){kd=e}let Ad;function Kx(e){Ad=e}let Id;function Gx(e){Id=e}let Od=null;const Yx=e=>{Od=e},Xx=()=>Od;let Nd=null;const gc=e=>{Nd=e},Jx=()=>Nd;let mc=0;function qx(e={}){const t=Se(e.onWarn)?e.onWarn:Y0,n=Z(e.version)?e.version:Vx,o=Z(e.locale)||Se(e.locale)?e.locale:js,s=Se(o)?js:o,r=He(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=pe(e.messages)?e.messages:jo(s),a=pe(e.datetimeFormats)?e.datetimeFormats:jo(s),l=pe(e.numberFormats)?e.numberFormats:jo(s),f=Ue(Pe(),e.modifiers,jx()),u=e.pluralRules||Pe(),h=Se(e.missing)?e.missing:null,d=Oe(e.missingWarn)||Hs(e.missingWarn)?e.missingWarn:!0,c=Oe(e.fallbackWarn)||Hs(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=Se(e.postTranslation)?e.postTranslation:null,x=pe(e.processor)?e.processor:null,w=Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=Se(e.messageCompiler)?e.messageCompiler:kd,m=Se(e.messageResolver)?e.messageResolver:Ad||Sx,E=Se(e.localeFallbacker)?e.localeFallbacker:Id||Hx,b=ce(e.fallbackContext)?e.fallbackContext:void 0,S=e,T=ce(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,L=ce(S.__numberFormatters)?S.__numberFormatters:new Map,P=ce(S.__meta)?S.__meta:{};mc++;const C={version:n,cid:mc,locale:o,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:x,warnHtmlMessage:w,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:E,fallbackContext:b,onWarn:t,__meta:P};return C.datetimeFormats=a,C.numberFormats=l,C.__datetimeFormatters=T,C.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&Mx(C,n,P),C}const jo=e=>({[e]:Pe()});function _a(e,t,n,o,s){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,s);return Z(a)?a:t}else return t}function mr(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Qx(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function zx(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(Qx(e,t[o]))return!0;return!1}function Wo(e){return n=>Zx(n,e)}function Zx(e,t){const n=t1(t);if(n==null)throw Vr(0);if(xa(n)===1){const r=r1(n);return e.plural(r.reduce((i,a)=>[...i,vc(e,a)],[]))}else return vc(e,n)}const e1=["b","body"];function t1(e){return Sn(e,e1)}const n1=["c","cases"];function r1(e){return Sn(e,n1,[])}function vc(e,t){const n=o1(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=a1(t).reduce((s,r)=>[...s,ki(e,r)],[]);return e.normalize(o)}}const s1=["s","static"];function o1(e){return Sn(e,s1)}const i1=["i","items"];function a1(e){return Sn(e,i1,[])}function ki(e,t){const n=xa(t);switch(n){case 3:return ps(t,n);case 9:return ps(t,n);case 4:{const o=t;if(At(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(At(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Vr(n)}case 5:{const o=t;if(At(o,"i")&&Ve(o.i))return e.interpolate(e.list(o.i));if(At(o,"index")&&Ve(o.index))return e.interpolate(e.list(o.index));throw Vr(n)}case 6:{const o=t,s=f1(o),r=h1(o);return e.linked(ki(e,r),s?ki(e,s):void 0,e.type)}case 7:return ps(t,n);case 8:return ps(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const l1=["t","type"];function xa(e){return Sn(e,l1)}const c1=["v","value"];function ps(e,t){const n=Sn(e,c1);if(n)return n;throw Vr(t)}const u1=["m","modifier"];function f1(e){return Sn(e,u1)}const d1=["k","key"];function h1(e){const t=Sn(e,d1);if(t)return t;throw Vr(6)}function Sn(e,t,n){for(let o=0;o<t.length;o++){const s=t[o];if(At(e,s)&&e[s]!=null)return e[s]}return n}function Vr(e){return new Error(`unhandled node type: ${e}`)}const p1=e=>e;let gs=Pe();function fr(e){return ce(e)&&xa(e)===0&&(At(e,"b")||At(e,"body"))}function g1(e,t={}){let n=!1;const o=t.onError||J_;return t.onError=s=>{n=!0,o(s)},{...mx(e,t),detectError:n}}function m1(e,t){if(Z(e)){Oe(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||p1)(e),s=gs[o];if(s)return s;const{ast:r,detectError:i}=g1(e,{...t,location:!1,jit:!0}),a=Wo(r);return i?a:gs[o]=a}else{const n=e.cacheKey;if(n){const o=gs[n];return o||(gs[n]=Wo(e))}else return Wo(e)}}const yc=()=>"",xt=e=>Se(e);function _c(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:s,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=Ai(...t),u=Oe(f.missingWarn)?f.missingWarn:e.missingWarn,h=Oe(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Oe(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Z(f.default)||Oe(f.default)?Oe(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=ya(e,f);d&&v1(f);let[x,w,y]=c?[l,v,a[v]||Pe()]:Md(e,l,v,i,h,u),_=x,m=l;if(!c&&!(Z(_)||fr(_)||xt(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||fr(_)||xt(_))||!Z(w)))return s?yo:l;let E=!1;const b=()=>{E=!0},S=xt(_)?_:Dd(e,l,w,_,m,b);if(E)return _;const T=x1(e,w,y,f),L=Ox(T),P=y1(e,S,L),C=o?o(P,l):P;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:xt(_)?_.key:"",locale:w||(xt(_)?_.locale:""),format:Z(_)?_:xt(_)?_.source:"",message:C};O.meta=Ue({},e.__meta,Xx()||{}),Dx(O)}return C}function v1(e){He(e.list)?e.list=e.list.map(t=>Z(t)?Jl(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Jl(e.named[t]))})}function Md(e,t,n,o,s,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,o,n);let h=Pe(),d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||Pe(),(c=l(h,t))===null&&(c=h[t]),!(Z(c)||fr(c)||xt(c)));g++)if(!zx(d,u)){const v=_a(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function Dd(e,t,n,o,s,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(xt(o)){const f=o;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>o;return f.locale=n,f.key=t,f}const l=i(o,_1(e,n,s,o,a,r));return l.locale=n,l.key=t,l.source=o,l}function y1(e,t,n){return t(n)}function Ai(...e){const[t,n,o]=e,s=Pe();if(!Z(t)&&!Ve(t)&&!xt(t)&&!fr(t))throw zt(Ut.INVALID_ARGUMENT);const r=Ve(t)?String(t):(xt(t),t);return Ve(n)?s.plural=n:Z(n)?s.default=n:pe(n)&&!co(n)?s.named=n:He(n)&&(s.list=n),Ve(o)?s.plural=o:Z(o)?s.default=o:pe(o)&&Ue(s,o),[r,s]}function _1(e,t,n,o,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw r&&r(i),i},onCacheKey:i=>H0(t,n,i)}}function x1(e,t,n,o){const{modifiers:s,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=Md(u,c,t,a,l,f);p=i(g,c)}if(Z(p)||fr(p)){let g=!1;const x=Dd(e,c,t,p,c,()=>{g=!0});return g?yc:x}else return xt(p)?p:yc}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),Ve(o.plural)&&(d.pluralIndex=o.plural),d}function xc(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=Ii(...t),d=Oe(u.missingWarn)?u.missingWarn:e.missingWarn;Oe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ya(e,u),g=i(e,s,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(f);let v={},x,w=null;const y="datetime format";for(let E=0;E<g.length&&(x=g[E],v=n[x]||{},w=v[l],!pe(w));E++)_a(e,l,x,d,y);if(!pe(w)||!Z(x))return o?yo:l;let _=`${x}__${l}`;co(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(x,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const Fd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ii(...e){const[t,n,o,s]=e,r=Pe();let i=Pe(),a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw zt(Ut.INVALID_ISO_DATE_ARGUMENT);const f=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(f);try{a.toISOString()}catch{throw zt(Ut.INVALID_ISO_DATE_ARGUMENT)}}else if(B0(t)){if(isNaN(t.getTime()))throw zt(Ut.INVALID_DATE_ARGUMENT);a=t}else if(Ve(t))a=t;else throw zt(Ut.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Fd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(o)?r.locale=o:pe(o)&&(i=o),pe(s)&&(i=s),[r.key||"",a,r,i]}function Ec(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function wc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=Oi(...t),d=Oe(u.missingWarn)?u.missingWarn:e.missingWarn;Oe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ya(e,u),g=i(e,s,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(f);let v={},x,w=null;const y="number format";for(let E=0;E<g.length&&(x=g[E],v=n[x]||{},w=v[l],!pe(w));E++)_a(e,l,x,d,y);if(!pe(w)||!Z(x))return o?yo:l;let _=`${x}__${l}`;co(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(x,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const $d=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Oi(...e){const[t,n,o,s]=e,r=Pe();let i=Pe();if(!Ve(t))throw zt(Ut.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{$d.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(o)?r.locale=o:pe(o)&&(i=o),pe(s)&&(i=s),[r.key||"",a,r,i]}function bc(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}vx();/*!
* vue-i18n v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const E1="9.14.2";function w1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fa().__INTLIFY_PROD_DEVTOOLS__=!1)}const Hd=$x.__EXTEND_POINT__,Gt=uo(Hd);Gt(),Gt(),Gt(),Gt(),Gt(),Gt(),Gt(),Gt(),Gt();const Ud=Ut.__EXTEND_POINT__,ct=uo(Ud),bt={UNEXPECTED_RETURN_TYPE:Ud,INVALID_ARGUMENT:ct(),MUST_BE_CALL_SETUP_TOP:ct(),NOT_INSTALLED:ct(),NOT_AVAILABLE_IN_LEGACY_MODE:ct(),REQUIRED_VALUE:ct(),INVALID_VALUE:ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ct(),NOT_INSTALLED_WITH_PROVIDE:ct(),UNEXPECTED_ERROR:ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ct(),BRIDGE_SUPPORT_VUE_2_ONLY:ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ct(),__EXTEND_POINT__:ct()};function Mt(e,...t){return vo(e,null,void 0)}const Ni=En("__translateVNode"),Mi=En("__datetimeParts"),Di=En("__numberParts"),b1=En("__setPluralRules"),S1=En("__injectWithOption"),Fi=En("__dispose");function jr(e){if(!ce(e))return e;for(const t in e)if(At(e,t))if(!t.includes("."))ce(e[t])&&jr(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,r=!1;for(let i=0;i<o;i++){if(n[i]in s||(s[n[i]]=Pe()),!ce(s[n[i]])){r=!0;break}s=s[n[i]]}r||(s[n[o]]=e[t],delete e[t]),ce(s[n[o]])&&jr(s[n[o]])}return e}function Bd(e,t){const{messages:n,__i18n:o,messageResolver:s,flatJson:r}=t,i=pe(n)?n:He(o)?Pe():{[e]:Pe()};if(He(o)&&o.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||Pe(),Dn(f,i[l])):Dn(f,i)}else Z(a)&&Dn(JSON.parse(a),i)}),s==null&&r)for(const a in i)At(i,a)&&jr(i[a]);return i}function Vd(e){return e.type}function C1(e,t,n){let o=ce(t.messages)?t.messages:Pe();"__i18nGlobal"in n&&(o=Bd(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(ce(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Sc(e){return Ie(pn,null,e,0)}const Cc="__INTLIFY_META__",Tc=()=>[],T1=()=>!1;let Pc=0;function Lc(e){return(t,n,o,s)=>e(n,o,Hn()||void 0,s)}const P1=()=>{const e=Hn();let t=null;return e&&(t=Vd(e)[Cc])?{[Cc]:t}:null};function jd(e={},t){const{__root:n,__injectWithOption:o}=e,s=n===void 0,r=e.flatJson,i=$s?Ce:tr,a=!!e.translateExistCompatible;let l=Oe(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:js),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||He(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(Bd(f.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[f.value]:{}});let p=n?n.missingWarn:Oe(e.missingWarn)||Hs(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Oe(e.fallbackWarn)||Hs(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Oe(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,w=Se(e.missing)?e.missing:null,y=Se(e.missing)?Lc(e.missing):null,_=Se(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const b=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,T;T=(()=>{s&&gc(null);const M={version:E1,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:b,pluralRules:S,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:x,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};M.datetimeFormats=d.value,M.numberFormats=c.value,M.__datetimeFormatters=pe(T)?T.__datetimeFormatters:void 0,M.__numberFormatters=pe(T)?T.__numberFormatters:void 0;const H=qx(M);return s&&gc(H),H})(),mr(T,f.value,u.value);function P(){return[f.value,u.value,h.value,d.value,c.value]}const C=ge({get:()=>f.value,set:M=>{f.value=M,T.locale=f.value}}),O=ge({get:()=>u.value,set:M=>{u.value=M,T.fallbackLocale=u.value,mr(T,f.value,M)}}),$=ge(()=>h.value),F=ge(()=>d.value),U=ge(()=>c.value);function j(){return Se(_)?_:null}function Y(M){_=M,T.postTranslation=M}function se(){return w}function fe(M){M!==null&&(y=Lc(M)),w=M,T.missing=y}const ue=(M,H,re,oe,Me,Fe)=>{P();let Ge;try{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=n?Jx():void 0),Ge=M(T)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(T.fallbackContext=void 0)}if(re!=="translate exists"&&Ve(Ge)&&Ge===yo||re==="translate exists"&&!Ge){const[rt,Bn]=H();return n&&v?oe(n):Me(rt)}else{if(Fe(Ge))return Ge;throw Mt(bt.UNEXPECTED_RETURN_TYPE)}};function ne(...M){return ue(H=>Reflect.apply(_c,null,[H,...M]),()=>Ai(...M),"translate",H=>Reflect.apply(H.t,H,[...M]),H=>H,H=>Z(H))}function Te(...M){const[H,re,oe]=M;if(oe&&!ce(oe))throw Mt(bt.INVALID_ARGUMENT);return ne(H,re,Ue({resolvedMessage:!0},oe||{}))}function _e(...M){return ue(H=>Reflect.apply(xc,null,[H,...M]),()=>Ii(...M),"datetime format",H=>Reflect.apply(H.d,H,[...M]),()=>hc,H=>Z(H))}function Be(...M){return ue(H=>Reflect.apply(wc,null,[H,...M]),()=>Oi(...M),"number format",H=>Reflect.apply(H.n,H,[...M]),()=>hc,H=>Z(H))}function de(M){return M.map(H=>Z(H)||Ve(H)||Oe(H)?Sc(String(H)):H)}const q={normalize:de,interpolate:M=>M,type:"vnode"};function z(...M){return ue(H=>{let re;const oe=H;try{oe.processor=q,re=Reflect.apply(_c,null,[oe,...M])}finally{oe.processor=null}return re},()=>Ai(...M),"translate",H=>H[Ni](...M),H=>[Sc(H)],H=>He(H))}function ee(...M){return ue(H=>Reflect.apply(wc,null,[H,...M]),()=>Oi(...M),"number format",H=>H[Di](...M),Tc,H=>Z(H)||He(H))}function he(...M){return ue(H=>Reflect.apply(xc,null,[H,...M]),()=>Ii(...M),"datetime format",H=>H[Mi](...M),Tc,H=>Z(H)||He(H))}function xe(M){S=M,T.pluralRules=S}function A(M,H){return ue(()=>{if(!M)return!1;const re=Z(H)?H:f.value,oe=W(re),Me=T.messageResolver(oe,M);return a?Me!=null:fr(Me)||xt(Me)||Z(Me)},()=>[M],"translate exists",re=>Reflect.apply(re.te,re,[M,H]),T1,re=>Oe(re))}function I(M){let H=null;const re=Rd(T,u.value,f.value);for(let oe=0;oe<re.length;oe++){const Me=h.value[re[oe]]||{},Fe=T.messageResolver(Me,M);if(Fe!=null){H=Fe;break}}return H}function D(M){const H=I(M);return H??(n?n.tm(M)||{}:{})}function W(M){return h.value[M]||{}}function B(M,H){if(r){const re={[M]:H};for(const oe in re)At(re,oe)&&jr(re[oe]);H=re[M]}h.value[M]=H,T.messages=h.value}function X(M,H){h.value[M]=h.value[M]||{};const re={[M]:H};if(r)for(const oe in re)At(re,oe)&&jr(re[oe]);H=re[M],Dn(H,h.value[M]),T.messages=h.value}function Q(M){return d.value[M]||{}}function R(M,H){d.value[M]=H,T.datetimeFormats=d.value,Ec(T,M,H)}function k(M,H){d.value[M]=Ue(d.value[M]||{},H),T.datetimeFormats=d.value,Ec(T,M,H)}function N(M){return c.value[M]||{}}function K(M,H){c.value[M]=H,T.numberFormats=c.value,bc(T,M,H)}function J(M,H){c.value[M]=Ue(c.value[M]||{},H),T.numberFormats=c.value,bc(T,M,H)}Pc++,n&&$s&&(pt(n.locale,M=>{l&&(f.value=M,T.locale=M,mr(T,f.value,u.value))}),pt(n.fallbackLocale,M=>{l&&(u.value=M,T.fallbackLocale=M,mr(T,f.value,u.value))}));const G={id:Pc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(M){l=M,M&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,mr(T,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:$,get modifiers(){return b},get pluralRules(){return S||{}},get isGlobal(){return s},get missingWarn(){return p},set missingWarn(M){p=M,T.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(M){g=M,T.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(M){v=M},get fallbackFormat(){return x},set fallbackFormat(M){x=M,T.fallbackFormat=x},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,T.warnHtmlMessage=M},get escapeParameter(){return E},set escapeParameter(M){E=M,T.escapeParameter=M},t:ne,getLocaleMessage:W,setLocaleMessage:B,mergeLocaleMessage:X,getPostTranslationHandler:j,setPostTranslationHandler:Y,getMissingHandler:se,setMissingHandler:fe,[b1]:xe};return G.datetimeFormats=F,G.numberFormats=U,G.rt=Te,G.te=A,G.tm=D,G.d=_e,G.n=Be,G.getDateTimeFormat=Q,G.setDateTimeFormat=R,G.mergeDateTimeFormat=k,G.getNumberFormat=N,G.setNumberFormat=K,G.mergeNumberFormat=J,G[S1]=o,G[Ni]=z,G[Mi]=he,G[Di]=ee,G}const Ea={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function L1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Ye?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},Pe())}function Wd(e){return Ye}const R1=Ze({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ve(e)||!isNaN(e)}},Ea),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||_o({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i=Pe();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=L1(t,r),l=s[Ni](e.keypath,a,i),f=Ue(Pe(),o),u=Z(e.tag)||ce(e.tag)?e.tag:Wd();return Je(u,f,l)}}}),Rc=R1;function k1(e){return He(e)&&!Z(e[0])}function Kd(e,t,n,o){const{slots:s,attrs:r}=t;return()=>{const i={part:!0};let a=Pe();e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:ce(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Ue(Pe(),d,{[c]:e.format[c]}):d,Pe()));const l=o(e.value,i,a);let f=[i.key];He(l)?f=l.map((d,c)=>{const p=s[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return k1(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(f=[l]);const u=Ue(Pe(),r),h=Z(e.tag)||ce(e.tag)?e.tag:Wd();return Je(h,u,f)}}const A1=Ze({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Ea),setup(e,t){const n=e.i18n||_o({useScope:e.scope,__useComponent:!0});return Kd(e,t,$d,(...o)=>n[Di](...o))}}),kc=A1,I1=Ze({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ea),setup(e,t){const n=e.i18n||_o({useScope:e.scope,__useComponent:!0});return Kd(e,t,Fd,(...o)=>n[Mi](...o))}}),Ac=I1;function O1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function N1(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Mt(bt.UNEXPECTED_ERROR);const u=O1(e,a.$),h=Ic(f);return[Reflect.apply(u.t,u,[...Oc(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);$s&&e.global===f&&(i.__i18nWatcher=pt(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{$s&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,f=Ic(a);i.textContent=Reflect.apply(l.t,l,[...Oc(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Ic(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Mt(bt.REQUIRED_VALUE,"path");return e}else throw Mt(bt.INVALID_VALUE)}function Oc(e){const{path:t,locale:n,args:o,choice:s,plural:r}=e,i={},a=o||{};return Z(n)&&(i.locale=n),Ve(s)&&(i.plural=s),Ve(r)&&(i.plural=r),[t,a,i]}function M1(e,t,...n){const o=pe(n[0])?n[0]:{},s=!!o.useI18nComponentName;(Oe(o.globalInstall)?o.globalInstall:!0)&&([s?"i18n":Rc.name,"I18nT"].forEach(i=>e.component(i,Rc)),[kc.name,"I18nN"].forEach(i=>e.component(i,kc)),[Ac.name,"I18nD"].forEach(i=>e.component(i,Ac))),e.directive("t",N1(t))}const D1=En("global-vue-i18n");function F1(e={},t){const n=Oe(e.globalInjection)?e.globalInjection:!0,o=!0,s=new Map,[r,i]=$1(e),a=En("");function l(h){return s.get(h)||null}function f(h,d){s.set(h,d)}function u(h){s.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return o},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=G1(d,h.global)),M1(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function _o(e={}){const t=Hn();if(t==null)throw Mt(bt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Mt(bt.NOT_INSTALLED);const n=H1(t),o=B1(n),s=Vd(t),r=U1(e,s);if(r==="global")return C1(o,e,s),o;if(r==="parent"){let l=V1(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Ue({},e);"__i18n"in s&&(l.__i18n=s.__i18n),o&&(l.__root=o),a=jd(l),i.__composerExtend&&(a[Fi]=i.__composerExtend(a)),W1(i,t,a),i.__setInstance(t,a)}return a}function $1(e,t,n){const o=ji();{const s=o.run(()=>jd(e));if(s==null)throw Mt(bt.UNEXPECTED_ERROR);return[o,s]}}function H1(e){{const t=nt(e.isCE?D1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Mt(e.isCE?bt.NOT_INSTALLED_WITH_PROVIDE:bt.UNEXPECTED_ERROR);return t}}function U1(e,t){return co(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function B1(e){return e.mode==="composition"?e.global:e.global.__composer}function V1(e,t,n=!1){let o=null;const s=t.root;let r=j1(t,n);for(;r!=null;){const i=e;if(e.mode==="composition"&&(o=i.__getInstance(r)),o!=null||s===r)break;r=r.parent}return o}function j1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function W1(e,t,n){St(()=>{},t),Qi(()=>{const o=n;e.__deleteInstance(t);const s=o[Fi];s&&(s(),delete o[Fi])},t)}const K1=["locale","fallbackLocale","availableLocales"],Nc=["t","rt","d","n","tm","te"];function G1(e,t){const n=Object.create(null);return K1.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Mt(bt.UNEXPECTED_ERROR);const i=De(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Nc.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Mt(bt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Nc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}w1();Wx(m1);Kx(Cx);Gx(Rd);if(__INTLIFY_PROD_DEVTOOLS__){const e=fa();e.__INTLIFY__=!0,Nx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Y1(){return dt(po)}function X1(){return dt(cr)}const J1=Dt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=X1(),n=new RegExp([`<!--${ql}-\\[(\\w+)\\]-->`,".+?",`<!--/${ql}-->`].join(""),"g");e.hook("app:rendered",o=>{var s;((s=o.renderResult)==null?void 0:s.html)!=null&&(o.renderResult.html=o.renderResult.html.replaceAll(n,(r,i)=>r.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function q1(e,{locales:t=[],localeCodes:n=[],baseUrl:o="",hooks:s={},context:r={}}={}){const i=ji(),a=e.install;return e.install=(l,...f)=>{const u=Z1(f[0])?Ue({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=ar(e);g.locales=ge(()=>v.locales.value),g.localeCodes=ge(()=>v.localeCodes.value),g.baseUrl=ge(()=>v.baseUrl.value);let x;return Se(h)&&(x=Reflect.apply(h,u,[g])),()=>{x&&x()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Mc(v,s.onExtendVueI18n);let x;return Se(g)&&(x=Reflect.apply(g,u,[v])),()=>{x&&x()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=ar(e);i.run(()=>{Q1(d,{locales:t,localeCodes:n,baseUrl:o,hooks:s,context:r}),e.mode==="legacy"&&ud(e.global)&&Mc(e.global,s.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&z1(p,d,s.onExtendExportedGlobal),u.inject){const g=ma(e);l.mixin({methods:{getRouteBaseName:dt(lr,g),resolveRoute:dt(go,g),localePath:dt(po,g),localeRoute:dt(pa,g),localeLocation:dt(y_,g),switchLocalePath:dt(cr,g),localeHead:dt(pd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function Q1(e,t){const{locales:n,localeCodes:o,baseUrl:s,context:r}=t,i=Ce(n),a=Ce(o),l=Ce("");e.locales=ge(()=>i.value),e.localeCodes=ge(()=>a.value),e.baseUrl=ge(()=>l.value),z0?pt(e.locale,()=>{l.value=zl(s,r)},{immediate:!0}):l.value=zl(s,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Gd(e,t,n){const o=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&o.push(n(e));for(const s of o)for(const[r,i]of Object.entries(s))Object.defineProperty(t,r,i)}function z1(e,t,n){Gd(t,e,n)}function Mc(e,t){const n=ar(e);Gd(n,e,t)}function Z1(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const eE=Dt({name:"i18n:plugin",parallel:J0,async setup(e){let t,n;const o=ro(),{vueApp:s}=e,r=e,i=mo(),{configLocales:a,defaultLocale:l,multiDomainLocales:f,strategy:u}=r.$config.public.i18n,h=a.some(P=>typeof P!="string"&&Array.isArray(P.defaultForDomains));let d;if(l)d=l;else if(h){const P=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));d=(P==null?void 0:P.code)??""}else d="";if(f&&(u==="prefix_except_default"||u==="prefix_and_default")){const P=ze();P.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)P.removeRoute(C.name);else{const F=C.name.toString().replace("___default","");C.name=F}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=D_();const p=Zr(),g=([t,n]=kt(()=>c_(X0,me())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=vd(),x=P=>P||g.locale||"en-US",w=j_();let y=tc(o,v,x(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Bo(w,p,c.defaultLocale)},c);g.messages=([t,n]=kt(()=>u_(g.messages,Us,{localeCodes:ir,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=x(y);const _=F1({...g,locale:y});let m=!0;const E=P=>y!==P&&m;let b=!0;const S=()=>b;if(S()&&c.strategy==="no_prefix"){const P=w.value;e.hook("app:mounted",()=>{const C=Sd(o,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:P},y);P_(_,C.locale),b=!1})}q1(_,{locales:c.configLocales,localeCodes:ir,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(P){P.strategy=c.strategy,P.localeProperties=ge(()=>fo.find(C=>C.code===P.locale.value)||{code:P.locale.value}),P.setLocale=async C=>{const O=E(C);await ec(C,_,c,O)&&O&&(m=!1);const F=await r.runWithContext(()=>nc({route:{to:o},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await rc({nuxtApp:r,i18n:_,redirectPath:F,locale:C,route:o},{enableNavigate:!0}))},P.loadLocaleMessages=async C=>{await Bs(C,Us,($,F)=>_d(_,$,F))},P.differentDomains=c.differentDomains,P.defaultLocale=c.defaultLocale,P.getBrowserLocale=()=>wd(),P.getLocaleCookie=()=>Bo(w,p,c.defaultLocale),P.setLocaleCookie=C=>W_(w,C,p),P.onBeforeLanguageSwitch=(C,O,$,F)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:$,context:F}),P.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),P.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(fd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},P.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,$,F)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,$,F])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}},onExtendVueI18n(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(P.loadLocaleMessages,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,$,F)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,$,F])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}}}});const T={__composerExtend:P=>{const C=ar(_);return P.strategy=C.strategy,P.localeProperties=ge(()=>C.localeProperties.value),P.setLocale=C.setLocale,P.differentDomains=C.differentDomains,P.getBrowserLocale=C.getBrowserLocale,P.getLocaleCookie=C.getLocaleCookie,P.setLocaleCookie=C.setLocaleCookie,P.onBeforeLanguageSwitch=C.onBeforeLanguageSwitch,P.onLanguageSwitched=C.onLanguageSwitched,P.finalizePendingLocaleChange=C.finalizePendingLocaleChange,P.waitForPendingLocaleChange=C.waitForPendingLocaleChange,()=>{}}};s.use(_,T),O_(r,_);let L=0;rv("locale-changing",async(P,C)=>{let O,$;const F=tc(P,v,()=>ho(_)||x(c.defaultLocale),{ssg:S()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:Bo(w,p,c.defaultLocale)},c),U=E(F);([O,$]=kt(()=>ec(F,_,c,U)),O=await O,$(),O)&&U&&(m=!1);const Y=([O,$]=kt(()=>r.runWithContext(()=>nc({route:{to:P,from:C},targetLocale:F,routeLocaleGetter:c.strategy==="no_prefix"?()=>F:v,calledWithRouting:!0}))),O=await O,$(),O);return L++,[O,$]=kt(()=>r.runWithContext(async()=>rc({nuxtApp:r,i18n:_,redirectPath:Y,locale:F,route:P}))),O=await O,$(),O},{global:!0})}}),tE=[ay,cy,k0,I0,O0,N0,D0,F0,$0,J1,eE],nE=Ze({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,o={};for(const s in e.route)Object.defineProperty(o,s,{get:()=>t===e.renderKey?e.route[s]:n[s],enumerable:!0});return hn(Qr,Qt(o)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),rE=Ze({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,slots:n,expose:o}){const s=me(),r=Ce(),i=nt(Qr,null);let a;o({pageRef:r});const l=nt(If,null);let f;const u=s.deferHydration();if(s.isHydrating){const h=s.hooks.hookOnce("app:error",u);ze().beforeEach(h)}return e.pageKey&&pt(()=>e.pageKey,(h,d)=>{h!==d&&s.callHook("page:loading:start")}),()=>Je(od,{name:e.name,route:e.route,...t},{default:h=>{const d=oE(i,h.route,h.Component),c=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(f&&!c)return f;u();return}if(f&&l&&!l.isCurrent(h.route))return f;if(d&&i&&(!l||l!=null&&l.isCurrent(i)))return c?f:null;const p=Pi(h,e.pageKey);!s.isHydrating&&!iE(i,h.route,h.Component)&&a===p&&s.callHook("page:loading:end"),a=p;const g=!!(e.transition??h.route.meta.pageTransition??pi),v=g&&sE([e.transition,h.route.meta.pageTransition,pi,{onAfterLeave:()=>{s.callHook("page:transition:finish",h.Component)}}].filter(Boolean)),x=e.keepalive??h.route.meta.keepalive??Am;return f=id(ff,g&&v,v0(x,Je(ta,{suspensible:!0,onPending:()=>s.callHook("page:start",h.Component),onResolve:()=>{_n(()=>s.callHook("page:finish",h.Component).then(()=>s.callHook("page:loading:end")).finally(u))}},{default:()=>{const w=Je(nE,{key:p||void 0,vnode:n.default?Je(Ye,void 0,n.default(h)):h.Component,route:h.route,renderKey:p||void 0,trackRootNodes:g,vnodeRef:r});return x&&(w.type.name=h.Component.type.name||h.Component.type.__name||"RouteProvider"),w}}))).default(),f}})}});function sE(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?ua(n.onAfterLeave):void 0}));return kf(...t)}function oE(e,t,n){if(!e)return!1;const o=t.matched.findIndex(s=>{var r;return((r=s.components)==null?void 0:r.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((s,r)=>{var i,a,l;return((i=s.components)==null?void 0:i.default)!==((l=(a=e.matched[r])==null?void 0:a.components)==null?void 0:l.default)})||n&&Pi({route:t,Component:n})!==Pi({route:e,Component:n})}function iE(e,t,n){return e?t.matched.findIndex(s=>{var r;return((r=s.components)==null?void 0:r.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const aE=Ze({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Je(un[e.name],e.layoutProps,t.slots)}}),lE=Ze({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=me(),o=nt(Qr),s=o===ro()?d0():o,r=ge(()=>{let l=te(e.name)??s.meta.layout??"default";return l&&!(l in un)&&e.fallback&&(l=te(e.fallback)),l}),i=Ce();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);ze().beforeEach(l)}return()=>{const l=r.value&&r.value in un,f=s.meta.layoutTransition??km;return id(ff,l&&f,{default:()=>Je(ta,{suspensible:!0,onResolve:()=>{_n(a)}},{default:()=>Je(cE,{layoutProps:sf(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),cE=Ze({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&hn(If,{isCurrent:o=>n===(o.meta.layout??"default")}),()=>{var o,s;return!n||typeof n=="string"&&!(n in un)?(s=(o=t.slots).default)==null?void 0:s.call(o):Je(aE,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),uE=Symbol.for("nuxt:client-only"),xo=Ze({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=Ce(!1);return St(()=>{o.value=!0}),hn(uE,!0),s=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return lt(a,n,i)}}});var Ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yd={exports:{}};/*!
* matter-js 0.19.0 by @liabru
* http://brm.io/matter-js/
* License MIT
*
* The MIT License (MIT)
*
* Copyright (c) Liam Brummitt and contributors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/(function(e,t){(function(o,s){e.exports=s()})(Ko,function(){return function(n){var o={};function s(r){if(o[r])return o[r].exports;var i=o[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=n,s.c=o,s.d=function(r,i,a){s.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},s.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},s.t=function(r,i){if(i&1&&(r=s(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)s.d(a,l,(function(f){return r[f]}).bind(null,l));return a},s.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return s.d(i,"a",i),i},s.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},s.p="",s(s.s=20)}([function(n,o){var s={};n.exports=s,function(){s._baseDelta=1e3/60,s._nextId=0,s._seed=0,s._nowStartTime=+new Date,s._warnedOnce={},s._decomp=null,s.extend=function(i,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var d in h)f&&h[d]&&h[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},s.extend(i[d],f,h[d])):i[d]=h[d]}return i},s.clone=function(i,a){return s.extend({},a,i)},s.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},s.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),f=0;f<l.length;f++)a.push(i[l[f]]);return a}for(var u in i)a.push(i[u]);return a},s.get=function(i,a,l,f){a=a.split(".").slice(l,f);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},s.set=function(i,a,l,f,u){var h=a.split(".").slice(f,u);return s.get(i,a,0,-1)[h[h.length-1]]=l,l},s.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(s.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=f}return i},s.choose=function(i){return i[Math.floor(s.random()*i.length)]},s.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},s.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},s.isFunction=function(i){return typeof i=="function"},s.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},s.isString=function(i){return toString.call(i)==="[object String]"},s.clamp=function(i,a,l){return i<a?a:i>l?l:i},s.sign=function(i){return i<0?-1:1},s.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-s._nowStartTime},s.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return s._seed=(s._seed*9301+49297)%233280,s._seed/233280};s.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},s.logLevel=1,s.log=function(){console&&s.logLevel>0&&s.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.info=function(){console&&s.logLevel>0&&s.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.warn=function(){console&&s.logLevel>0&&s.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");s._warnedOnce[i]||(s.warn(i),s._warnedOnce[i]=!0)},s.deprecated=function(i,a,l){i[a]=s.chain(function(){s.warnOnce("🔅 deprecated 🔅",l)},i[a])},s.nextId=function(){return s._nextId++},s.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},s.map=function(i,a){if(i.map)return i.map(a);for(var l=[],f=0;f<i.length;f+=1)l.push(a(i[f]));return l},s.topologicalSort=function(i){var a=[],l=[],f=[];for(var u in i)!l[u]&&!f[u]&&s._topologicalSort(u,l,f,i,a);return a},s._topologicalSort=function(i,a,l,f,u){var h=f[i]||[];l[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];l[c]||a[c]||s._topologicalSort(c,a,l,f,u)}l[i]=!1,a[i]=!0,u.push(i)},s.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var f=function(){for(var u,h=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)h[d]=arguments[d];for(d=0;d<i.length;d+=1){var p=i[d].apply(u,h);typeof p<"u"&&(u=p)}return u};return f._chained=i,f},s.chainPathBefore=function(i,a,l){return s.set(i,a,s.chain(l,s.get(i,a)))},s.chainPathAfter=function(i,a,l){return s.set(i,a,s.chain(s.get(i,a),l))},s.setDecomp=function(i){s._decomp=i},s.getDecomp=function(){var i=s._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Ko<"u"&&(i=Ko.decomp)}catch{i=null}return i}}()},function(n,o){var s={};n.exports=s,function(){s.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&s.update(i,r),i},s.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var f=i[l];f.x>r.max.x&&(r.max.x=f.x),f.x<r.min.x&&(r.min.x=f.x),f.y>r.max.y&&(r.max.y=f.y),f.y<r.min.y&&(r.min.y=f.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},s.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},s.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},s.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},s.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,o){var s={};n.exports=s,function(){s.create=function(r,i){return{x:r||0,y:i||0}},s.clone=function(r){return{x:r.x,y:r.y}},s.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},s.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},s.rotate=function(r,i,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},s.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},s.normalise=function(r){var i=s.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},s.dot=function(r,i){return r.x*i.x+r.y*i.y},s.cross=function(r,i){return r.x*i.y-r.y*i.x},s.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},s.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},s.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},s.mult=function(r,i){return{x:r.x*i,y:r.y*i}},s.div=function(r,i){return{x:r.x/i,y:r.y/i}},s.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},s.neg=function(r){return{x:-r.x,y:-r.y}},s.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},s._temp=[s.create(),s.create(),s.create(),s.create(),s.create(),s.create()]}()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(0);(function(){r.create=function(l,f){for(var u=[],h=0;h<l.length;h++){var d=l[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(d,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,p,g=0;g<d.length;g++)p=(g+1)%d.length,c=Math.abs(i.cross(d[p],d[g])),u+=c*(i.dot(d[p],d[p])+i.dot(d[p],d[g])+i.dot(d[g],d[g])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=l.length,v,x,w,y;for(y=0;y<g;y++)v=l[y],x=v.x-c,w=v.y-p,v.x=c+(x*h-w*d),v.y=p+(x*d+w*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],p,g=0;g<d;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,h),l[p].x=h.x+c.x*f,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],x=l[(p+1)%l.length],w=f[p<f.length?p:f.length-1];if(w===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:x.y-v.y,y:v.x-x.x}),m=Math.sqrt(2*Math.pow(w,2)),E=i.mult(a.clone(y),w),b=i.normalise(i.mult(i.add(y,_),.5)),S=i.sub(v,i.mult(b,m)),T=u;u===-1&&(T=Math.pow(w,.32)*1.75),T=a.clamp(T,h,d),T%2===1&&(T+=1);for(var L=Math.acos(i.dot(y,_)),P=L/T,C=0;C<T;C++)c.push(i.add(i.rotate(E,P*C),S))}return c},r.clockwiseSort=function(l){var f=r.mean(l);return l.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),l},r.isConvex=function(l){var f=0,u=l.length,h,d,c,p;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,p=(l[d].x-l[h].x)*(l[c].y-l[d].y),p-=(l[d].y-l[h].y)*(l[c].x-l[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(2),l=s(7),f=s(0),u=s(1),h=s(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",x=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||x,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];v.isStatic=p,p?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,p){var g=c.inertia/(c.mass/6);c.inertia=g*(p/6),c.inverseInertia=1/c.inertia,c.mass=p,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,p){r.setMass(c,p*c.area),c.density=p},r.setInertia=function(c,p){c.inertia=p,c.inverseInertia=1/c.inertia},r.setVertices=function(c,p){p[0].body===c?c.vertices=p:c.vertices=i.create(p,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var x=p[v];x!==c&&(x.parent=c,c.parts.push(x))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var w=[];for(v=0;v<p.length;v++)w=w.concat(p[v].vertices);i.clockwiseSort(w);var y=i.hull(w),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,p,g){g?(c.positionPrev.x+=p.x,c.positionPrev.y+=p.y,c.position.x+=p.x,c.position.y+=p.y):(c.positionPrev.x=p.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=p.y-(c.position.y-c.positionPrev.y),c.position.x=p.x,c.position.y=p.y)},r.setPosition=function(c,p,g){var v=a.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var x=0;x<c.parts.length;x++){var w=c.parts[x];w.position.x+=v.x,w.position.y+=v.y,i.translate(w.vertices,v),u.update(w.bounds,w.vertices,c.velocity)}},r.setAngle=function(c,p,g){var v=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var x=0;x<c.parts.length;x++){var w=c.parts[x];w.angle+=v,i.rotate(w.vertices,v,c.position),h.rotate(w.axes,v),u.update(w.bounds,w.vertices,c.velocity),x>0&&a.rotateAbout(w.position,v,c.position,w.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var x=Math.cos(p),w=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*x-_*w),y:g.y+(y*w+_*x)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var x=0,w=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,p,g,v),_.axes=h.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(x+=_.area,w+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=x,c.isStatic||(r.setMass(c,c.density*x),r.setInertia(c,w))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,x=1-c.frictionAir*(p/f._baseDelta),w=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=w*x+c.force.x/c.mass*g,c.velocity.y=y*x+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*x*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g<c.parts.length;g++){var v=c.parts[g],x=v.mass!==1/0?v.mass:1;p.mass+=x,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,x))}return p.centre=a.div(p.centre,p.mass),p}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r.on=function(a,l,f){for(var u=l.split(" "),h,d=0;d<u.length;d++)h=u[d],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(f);return f},r.off=function(a,l,f){if(!l){a.events={};return}typeof l=="function"&&(f=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var d=a.events[u[h]],c=[];if(f&&d)for(var p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,p=a.events;if(p&&i.keys(p).length>0){f||(f={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],d=p[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,o,s){var r={};n.exports=r;var i=s(5),a=s(0),l=s(1),f=s(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,h,d,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,h,d,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,d,c)}},r.add=function(u,h){var d=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<d.length;c++){var p=d[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,d){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,d);break;case"constraint":r.removeConstraint(u,g,d);break;case"composite":r.removeComposite(u,g,d);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,d){if(d)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),d=0;d<u.composites.length;d++)h=h.concat(r.allBodies(u.composites[d]));return u.cache&&(u.cache.allBodies=h),h},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),d=0;d<u.composites.length;d++)h=h.concat(r.allConstraints(u.composites[d]));return u.cache&&(u.cache.allConstraints=h),h},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),d=0;d<u.composites.length;d++)h=h.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,d){var c,p;switch(d){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)f.translate(c[p],h);return u},r.rotate=function(u,h,d,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,x=0;x<v.length;x++){var w=v[x],y=w.position.x-d.x,_=w.position.y-d.y;f.setPosition(w,{x:d.x+(y*p-_*g),y:d.y+(y*g+_*p)}),f.rotate(w,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var x=g[v],w=x.position.x-c.x,y=x.position.y-c.y;f.setPosition(x,{x:c.x+w*h,y:c.y+y*d}),f.scale(x,h,d)}return u},r.bounds=function(u){for(var h=r.allBodies(u),d=[],c=0;c<h.length;c+=1){var p=h[c];d.push(p.bounds.min,p.bounds.max)}return l.create(d)}})()},function(n,o,s){var r={};n.exports=r;var i=s(4),a=s(5),l=s(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(f,u){for(var h=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var p=f[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),x=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var w=Math.min(p.motion,x),y=Math.max(p.motion,x);p.motion=r._minBias*w+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;h<f.length;h++){var d=f[h];if(d.isActive){var c=d.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,x=v===p?g:p;!v.isStatic&&x.motion>u&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.id<d.id?h:d,g.bodyB=h.id<d.id?d:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,d=g.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var x=g.normal,w=g.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(x.x=_,x.y=m):(x.x=-_,x.y=-m),g.tangent.x=-x.y,g.tangent.y=x.x,g.depth=v.overlap,g.penetration.x=x.x*g.depth,g.penetration.y=x.y*g.depth;var E=r._findSupports(h,d,x,1),b=0;if(i.contains(h.vertices,E[0])&&(w[b++]=E[0]),i.contains(h.vertices,E[1])&&(w[b++]=E[1]),b<2){var S=r._findSupports(d,h,x,-1);i.contains(d.vertices,S[0])&&(w[b++]=S[0]),b<2&&i.contains(d.vertices,S[1])&&(w[b++]=S[1])}return b===0&&(w[b++]=E[0]),w.length=b,g},r._overlapAxes=function(h,d,c,p){var g=d.length,v=c.length,x=d[0].x,w=d[0].y,y=c[0].x,_=c[0].y,m=p.length,E=Number.MAX_VALUE,b=0,S,T,L,P,C,O;for(C=0;C<m;C++){var $=p[C],F=$.x,U=$.y,j=x*F+w*U,Y=y*F+_*U,se=j,fe=Y;for(O=1;O<g;O+=1)P=d[O].x*F+d[O].y*U,P>se?se=P:P<j&&(j=P);for(O=1;O<v;O+=1)P=c[O].x*F+c[O].y*U,P>fe?fe=P:P<Y&&(Y=P);if(T=se-Y,L=fe-j,S=T<L?T:L,S<E&&(E=S,b=C,S<=0))break}h.axis=p[b],h.overlap=E},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,v=1;v<d.length;v+=1){var x=d[v].x*c.x+d[v].y*c.y;x>g?g=x:x<p&&(p=x)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,v=g.length,x=h.position.x,w=h.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,E,b,S,T,L;for(L=0;L<v;L+=1)b=g[L],T=y*(x-b.x)+_*(w-b.y),T<m&&(m=T,E=b);return S=g[(v+E.index-1)%v],m=y*(x-S.x)+_*(w-S.y),b=g[(E.index+1)%v],y*(x-b.x)+_*(w-b.y)<m?(l[0]=E,l[1]=b,l):(l[0]=E,l[1]=S,l)}})()},function(n,o,s){var r={};n.exports=r;var i=s(16);(function(){r.create=function(a,l){var f=a.bodyA,u=a.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,f){var u=a.contacts,h=l.supports,d=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=f,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v<h.length;v++){var x=h[v],w=x.body===c?x.index:g+x.index,y=u[w];y?d.push(y):d.push(u[w]=i.create(x))}},r.setActive=function(a,l,f){l?(a.isActive=!0,a.timeUpdated=f):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(2),l=s(7),f=s(1),u=s(11),h=s(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(d){var c=d;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var x={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(x.type="pin",x.anchors=!1):c.stiffness<.9&&(x.type="spring"),c.render=h.extend(x,c.render),c},r.preSolveAll=function(d){for(var c=0;c<d.length;c+=1){var p=d[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(d,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],x=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(x||w)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],x=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!x&&!w&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,v=d.pointA,x=d.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-d.angleA,v),d.angleA=p.angle),g&&!g.isStatic&&(a.rotate(x,g.angle-d.angleB,x),d.angleB=g.angle);var w=v,y=x;if(p&&(w=a.add(p.position,v)),g&&(y=a.add(g.position,x)),!(!w||!y)){var _=a.sub(w,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var E=(m-d.length)/m,b=d.stiffness>=1||d.length===0,S=b?d.stiffness*c:d.stiffness*c*c,T=d.damping*c,L=a.mult(_,E*S),P=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=P+C,$,F,U,j,Y;if(T>0){var se=a.create();U=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),j=a.dot(U,Y)}p&&!p.isStatic&&(F=p.inverseMass/P,p.constraintImpulse.x-=L.x*F,p.constraintImpulse.y-=L.y*F,p.position.x-=L.x*F,p.position.y-=L.y*F,T>0&&(p.positionPrev.x-=T*U.x*j*F,p.positionPrev.y-=T*U.y*j*F),$=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=$,p.angle-=$),g&&!g.isStatic&&(F=g.inverseMass/P,g.constraintImpulse.x+=L.x*F,g.constraintImpulse.y+=L.y*F,g.position.x+=L.x*F,g.position.y+=L.y*F,T>0&&(g.positionPrev.x+=T*U.x*j*F,g.positionPrev.y+=T*U.y*j*F),$=a.cross(x,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(d){for(var c=0;c<d.length;c++){var p=d[c],g=p.constraintImpulse;if(!(p.isStatic||g.x===0&&g.y===0&&g.angle===0)){l.set(p,!1);for(var v=0;v<p.parts.length;v++){var x=p.parts[v];i.translate(x.vertices,g),v>0&&(x.position.x+=g.x,x.position.y+=g.y),g.angle!==0&&(i.rotate(x.vertices,g.angle,p.position),u.rotate(x.axes,g.angle),v>0&&a.rotateAbout(x.position,g.angle,p.position,x.position)),f.update(x.bounds,x.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u<l.length;u++){var h=(u+1)%l.length,d=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return a.values(f)},r.rotate=function(l,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<l.length;d++){var c=l[d],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(0),l=s(4),f=s(1),u=s(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var x=g.chamfer;v.vertices=i.chamfer(v.vertices,x.radius,x.quality,x.qualityMin,x.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,d,c,p,g,v){v=v||{},g*=.5;var x=(1-g*2)*c,w=c*g,y=w+x,_=y+w,m;g<.5?m="L 0 0 L "+w+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var E={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(v.chamfer){var b=v.chamfer;E.vertices=i.chamfer(E.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete v.chamfer}return l.create(a.extend({},E,v))},r.circle=function(h,d,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var x=Math.ceil(Math.max(10,Math.min(g,c)));return x%2===1&&(x+=1),r.polygon(h,d,x,c,a.extend({},v,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var v=2*Math.PI/c,x="",w=v*.5,y=0;y<c;y+=1){var _=w+y*v,m=Math.cos(_)*p,E=Math.sin(_)*p;x+="L "+m.toFixed(3)+" "+E.toFixed(3)+" "}var b={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(x)};if(g.chamfer){var S=g.chamfer;b.vertices=i.chamfer(b.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete g.chamfer}return l.create(a.extend({},b,g))},r.fromVertices=function(h,d,c,p,g,v,x,w){var y=a.getDecomp(),_,m,E,b,S,T,L,P,C,O,$;for(_=!!(y&&y.quickDecomp),p=p||{},E=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,x=typeof x<"u"?x:10,w=typeof w<"u"?w:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(T=c[O],b=i.isConvex(T),S=!b,S&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),b||!_)b?T=i.clockwiseSort(T):T=i.hull(T),E.push({position:{x:h,y:d},vertices:T});else{var F=T.map(function(de){return[de.x,de.y]});y.makeCCW(F),v!==!1&&y.removeCollinearPoints(F,v),w!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints(F,w);var U=y.quickDecomp(F);for(L=0;L<U.length;L++){var j=U[L],Y=j.map(function(de){return{x:de[0],y:de[1]}});x>0&&i.area(Y)<x||E.push({position:i.centre(Y),vertices:Y})}}for(L=0;L<E.length;L++)E[L]=l.create(a.extend(E[L],p));if(g){var se=5;for(L=0;L<E.length;L++){var fe=E[L];for(P=L+1;P<E.length;P++){var ue=E[P];if(f.overlaps(fe.bounds,ue.bounds)){var ne=fe.vertices,Te=ue.vertices;for(C=0;C<fe.vertices.length;C++)for($=0;$<ue.vertices.length;$++){var _e=u.magnitudeSquared(u.sub(ne[(C+1)%ne.length],Te[$])),Be=u.magnitudeSquared(u.sub(ne[C],Te[($+1)%Te.length]));_e<se&&Be<se&&(ne[C].isInternal=!0,Te[$].isInternal=!0)}}}}}return E.length>1?(m=l.create(a.extend({parts:E.slice(0)},p)),l.setPosition(m,{x:h,y:d}),m):E[0]}})()},function(n,o,s){var r={};n.exports=r;var i=s(0),a=s(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var x=h[g],w=x.bounds,y=x.bounds.max.x,_=x.bounds.max.y,m=x.bounds.min.y,E=x.isStatic||x.isSleeping,b=x.parts.length,S=b===1;for(v=g+1;v<d;v++){var T=h[v],L=T.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(E&&(T.isStatic||T.isSleeping))&&c(x.collisionFilter,T.collisionFilter)){var P=T.parts.length;if(S&&P===1){var C=p(x,T,u);C&&f.push(C)}else for(var O=b>1?1:0,$=P>1?1:0,F=O;F<b;F++)for(var U=x.parts[F],w=U.bounds,j=$;j<P;j++){var Y=T.parts[j],L=Y.bounds;if(!(w.min.x>L.max.x||w.max.x<L.min.x||w.max.y<L.min.y||w.min.y>L.max.y)){var C=p(U,Y,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,o){var s={};n.exports=s,function(){s.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,o,s){var r={};n.exports=r;var i=s(7),a=s(18),l=s(13),f=s(19),u=s(5),h=s(6),d=s(10),c=s(0),p=s(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},x=c.extend(v,g);return x.world=g.world||h.create({label:"World"}),x.pairs=g.pairs||f.create(),x.detector=g.detector||l.create(),x.grid={buckets:[]},x.world.gravity=x.gravity,x.broadphase=x.grid,x.metrics={},x},r.update=function(g,v){var x=c.now(),w=g.world,y=g.detector,_=g.pairs,m=g.timing,E=m.timestamp,b;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var S={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",S);var T=h.allBodies(w),L=h.allConstraints(w);for(w.isModified&&(l.setBodies(y,T),h.setModified(w,!1,!1,!0)),g.enableSleeping&&i.update(T,v),r._bodiesApplyGravity(T,g.gravity),v>0&&r._bodiesUpdate(T,v),d.preSolveAll(T),b=0;b<g.constraintIterations;b++)d.solveAll(L,v);d.postSolveAll(T),y.pairs=g.pairs;var P=l.collisions(y);f.update(_,P,E),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),b=0;b<g.positionIterations;b++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(T),d.preSolveAll(T),b=0;b<g.constraintIterations;b++)d.solveAll(L,v);for(d.postSolveAll(T),a.preSolveVelocity(_.list),b=0;b<g.velocityIterations;b++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(T),_.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(T),u.trigger(g,"afterUpdate",S),g.timing.lastElapsed=c.now()-x,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var x=h.allBodies(g.world),w=0;w<x.length;w++){var y=x[w];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,x=0;x<v;x++){var w=g[x];w.force.x=0,w.force.y=0,w.torque=0}},r._bodiesApplyGravity=function(g,v){var x=typeof v.scale<"u"?v.scale:.001,w=g.length;if(!(v.x===0&&v.y===0||x===0))for(var y=0;y<w;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*x,_.force.x+=_.mass*v.x*x)}},r._bodiesUpdate=function(g,v){for(var x=g.length,w=0;w<x;w++){var y=g[w];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,x=0;x<v;x++)p.updateVelocities(g[x])}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(0),l=s(1);(function(){r._restingThresh=2,r._restingThreshTangent=Math.sqrt(6),r._positionDampen=.9,r._positionWarming=.8,r._frictionNormalMultiplier=5,r._frictionMaxStatic=Number.MAX_VALUE,r.preSolvePosition=function(f){var u,h,d,c=f.length;for(u=0;u<c;u++)h=f[u],h.isActive&&(d=h.activeContacts.length,h.collision.parentA.totalContacts+=d,h.collision.parentB.totalContacts+=d)},r.solvePosition=function(f,u,h){var d,c,p,g,v,x,w,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),E=f.length;for(d=0;d<E;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,x=p.normal,c.separation=x.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+x.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<E;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,x=p.normal,y=c.separation-c.slop*m,(g.isStatic||v.isStatic)&&(y*=2),g.isStatic||g.isSleeping||(w=_/g.totalContacts,g.positionImpulse.x+=x.x*y*w,g.positionImpulse.y+=x.y*y*w),v.isStatic||v.isSleeping||(w=_/v.totalContacts,v.positionImpulse.x-=x.x*y*w,v.positionImpulse.y-=x.y*y*w))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,p=0;p<h;p++){var g=f[p],v=g.positionImpulse,x=v.x,w=v.y,y=g.velocity;if(g.totalContacts=0,x!==0||w!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=x,m.position.y+=w}g.positionPrev.x+=x,g.positionPrev.y+=w,x*y.x+w*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,x=v.parentA,w=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<g;d++){var m=p[d],E=m.vertex,b=m.normalImpulse,S=m.tangentImpulse;if(b!==0||S!==0){var T=y.x*b+_.x*S,L=y.y*b+_.y*S;x.isStatic||x.isSleeping||(x.positionPrev.x+=T*x.inverseMass,x.positionPrev.y+=L*x.inverseMass,x.anglePrev+=x.inverseInertia*((E.x-x.position.x)*L-(E.y-x.position.y)*T)),w.isStatic||w.isSleeping||(w.positionPrev.x-=T*w.inverseMass,w.positionPrev.y-=L*w.inverseMass,w.anglePrev-=w.inverseInertia*((E.x-w.position.x)*L-(E.y-w.position.y)*T))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,x=r._frictionMaxStatic,w=f.length,y,_,m,E;for(m=0;m<w;m++){var b=f[m];if(!(!b.isActive||b.isSensor)){var S=b.collision,T=S.parentA,L=S.parentB,P=T.velocity,C=L.velocity,O=S.normal.x,$=S.normal.y,F=S.tangent.x,U=S.tangent.y,j=b.activeContacts,Y=j.length,se=1/Y,fe=T.inverseMass+L.inverseMass,ue=b.friction*b.frictionStatic*v;for(P.x=T.position.x-T.positionPrev.x,P.y=T.position.y-T.positionPrev.y,C.x=L.position.x-L.positionPrev.x,C.y=L.position.y-L.positionPrev.y,T.angularVelocity=T.angle-T.anglePrev,L.angularVelocity=L.angle-L.anglePrev,E=0;E<Y;E++){var ne=j[E],Te=ne.vertex,_e=Te.x-T.position.x,Be=Te.y-T.position.y,de=Te.x-L.position.x,V=Te.y-L.position.y,q=P.x-Be*T.angularVelocity,z=P.y+_e*T.angularVelocity,ee=C.x-V*L.angularVelocity,he=C.y+de*L.angularVelocity,xe=q-ee,A=z-he,I=O*xe+$*A,D=F*xe+U*A,W=b.separation+I,B=Math.min(W,1);B=W<0?0:B;var X=B*ue;D<-X||D>X?(_=D>0?D:-D,y=b.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=x);var Q=_e*$-Be*O,R=de*$-V*O,k=se/(fe+T.inverseInertia*Q*Q+L.inverseInertia*R*R),N=(1+b.restitution)*I*k;if(y*=k,I<p)ne.normalImpulse=0;else{var K=ne.normalImpulse;ne.normalImpulse+=N,ne.normalImpulse>0&&(ne.normalImpulse=0),N=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var J=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-J}var G=O*N+F*y,M=$*N+U*y;T.isStatic||T.isSleeping||(T.positionPrev.x+=G*T.inverseMass,T.positionPrev.y+=M*T.inverseMass,T.anglePrev+=(_e*M-Be*G)*T.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(de*M-V*G)*L.inverseInertia)}}}}})()},function(n,o,s){var r={};n.exports=r;var i=s(9),a=s(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,x=l.collisionActive,w,y,_,m;for(g.length=0,v.length=0,x.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)w=f[m],_=w.pair,_?(_.isActive?x.push(_):g.push(_),i.update(_,w,u),_.confirmedActive=!0):(_=i.create(w,u),c[_.id]=_,g.push(_),h.push(_));var E=[];for(d=h.length,m=0;m<d;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),v.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&E.push(m));for(m=0;m<E.length;m++)y=E[m]-m,_=h[y],h.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,o,s){var r=n.exports=s(21);r.Axes=s(11),r.Bodies=s(12),r.Body=s(4),r.Bounds=s(1),r.Collision=s(8),r.Common=s(0),r.Composite=s(6),r.Composites=s(22),r.Constraint=s(10),r.Contact=s(16),r.Detector=s(13),r.Engine=s(17),r.Events=s(5),r.Grid=s(23),r.Mouse=s(14),r.MouseConstraint=s(24),r.Pair=s(9),r.Pairs=s(19),r.Plugin=s(15),r.Query=s(25),r.Render=s(26),r.Resolver=s(18),r.Runner=s(27),r.SAT=s(28),r.Sleeping=s(7),r.Svg=s(29),r.Vector=s(2),r.Vertices=s(3),r.World=s(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,o,s){var r={};n.exports=r;var i=s(15),a=s(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,f)},r.after=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,f)}})()},function(n,o,s){var r={};n.exports=r;var i=s(6),a=s(10),l=s(0),f=s(4),u=s(12),h=l.deprecated;(function(){r.stack=function(d,c,p,g,v,x,w){for(var y=i.create({label:"Stack"}),_=d,m=c,E,b=0,S=0;S<g;S++){for(var T=0,L=0;L<p;L++){var P=w(_,m,L,S,E,b);if(P){var C=P.bounds.max.y-P.bounds.min.y,O=P.bounds.max.x-P.bounds.min.x;C>T&&(T=C),f.translate(P,{x:O*.5,y:C*.5}),_=P.bounds.max.x+v,i.addBody(y,P),E=P,b+=1}else _+=v}m+=T+x,_=d}return y},r.chain=function(d,c,p,g,v,x){for(var w=d.bodies,y=1;y<w.length;y++){var _=w[y-1],m=w[y],E=_.bounds.max.y-_.bounds.min.y,b=_.bounds.max.x-_.bounds.min.x,S=m.bounds.max.y-m.bounds.min.y,T=m.bounds.max.x-m.bounds.min.x,L={bodyA:_,pointA:{x:b*c,y:E*p},bodyB:m,pointB:{x:T*g,y:S*v}},P=l.extend(L,x);i.addConstraint(d,a.create(P))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var x=d.bodies,w,y,_,m,E;for(w=0;w<p;w++){for(y=1;y<c;y++)_=x[y-1+w*c],m=x[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(w>0)for(y=0;y<c;y++)_=x[y+(w-1)*c],m=x[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(E=x[y-1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:E,bodyB:m},v)))),g&&y<c-1&&(E=x[y+1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:E,bodyB:m},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,v,x,w){return r.stack(d,c,p,g,v,x,function(y,_,m,E,b,S){var T=Math.min(g,Math.ceil(p/2)),L=b?b.bounds.max.x-b.bounds.min.x:0;if(!(E>T)){E=T-E;var P=E,C=p-1-E;if(!(m<P||m>C)){S===1&&f.translate(b,{x:(m+(p%2===1?1:-1))*L,y:0});var O=b?m*L:0;return w(d+O+m*v,_,m,E,b,S)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var x=i.create({label:"Newtons Cradle"}),w=0;w<p;w++){var y=1.9,_=u.circle(d+w*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+w*(g*y),y:c},bodyB:_});i.addBody(x,_),i.addConstraint(x,m)}return x},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var x=f.nextGroup(!0),w=20,y=-p*.5+w,_=p*.5-w,m=0,E=i.create({label:"Car"}),b=u.rectangle(d,c,p,g,{collisionFilter:{group:x},chamfer:{radius:g*.5},density:2e-4}),S=u.circle(d+y,c+m,v,{collisionFilter:{group:x},friction:.8}),T=u.circle(d+_,c+m,v,{collisionFilter:{group:x},friction:.8}),L=a.create({bodyB:b,pointB:{x:y,y:m},bodyA:S,stiffness:1,length:0}),P=a.create({bodyB:b,pointB:{x:_,y:m},bodyA:T,stiffness:1,length:0});return i.addBody(E,b),i.addBody(E,S),i.addBody(E,T),i.addConstraint(E,L),i.addConstraint(E,P),E},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,v,x,w,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var E=r.stack(d,c,p,g,v,x,function(b,S){return u.circle(b,S,y,_)});return r.mesh(E,p,g,w,m),E.label="Soft Body",E},h(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,o,s){var r={};n.exports=r;var i=s(9),a=s(0),l=a.deprecated;(function(){r.create=function(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,f)},r.update=function(f,u,h,d){var c,p,g,v=h.world,x=f.buckets,w,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var E=r._getRegion(f,m);if(!m.region||E.id!==m.region.id||d){(!m.region||d)&&(m.region=E);var b=r._regionUnion(E,m.region);for(p=b.startCol;p<=b.endCol;p++)for(g=b.startRow;g<=b.endRow;g++){y=r._getBucketId(p,g),w=x[y];var S=p>=E.startCol&&p<=E.endCol&&g>=E.startRow&&g<=E.endRow,T=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!S&&T&&T&&w&&r._bucketRemoveBody(f,w,m),(m.region===E||S&&!T||d)&&(w||(w=r._createBucket(x,y)),r._bucketAddBody(f,w,m))}m.region=E,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var x=c(h,v),w=d[x];w?w[2]+=1:d[x]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,p=[],g;for(g=0;g<c;g++)u=h[d[g]],u[2]>0?p.push(u):delete h[d[g]];return p}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(7),l=s(14),f=s(5),u=s(13),h=s(10),d=s(6),c=s(0),p=s(1);(function(){r.create=function(g,v){var x=(g?g.mouse:null)||(v?v.mouse:null);x||(g&&g.render&&g.render.canvas?x=l.create(g.render.canvas):v&&v.element?x=l.create(v.element):(x=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var w=h.create({label:"Mouse Constraint",pointA:x.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:x,element:null,body:null,constraint:w,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var x=g.mouse,w=g.constraint,y=g.body;if(x.button===0){if(w.bodyB)a.set(w.bodyB,!1),w.pointA=x.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,x.position)&&u.canCollide(y.collisionFilter,g.collisionFilter))for(var m=y.parts.length>1?1:0;m<y.parts.length;m++){var E=y.parts[m];if(i.contains(E.vertices,x.position)){w.pointA=x.position,w.bodyB=g.body=y,w.pointB={x:x.position.x-y.position.x,y:x.position.y-y.position.y},w.angleB=y.angle,a.set(y,!1),f.trigger(g,"startdrag",{mouse:x,body:y});break}}}else w.bodyB=g.body=null,w.pointB=null,y&&f.trigger(g,"enddrag",{mouse:x,body:y})},r._triggerEvents=function(g){var v=g.mouse,x=v.sourceEvents;x.mousemove&&f.trigger(g,"mousemove",{mouse:v}),x.mousedown&&f.trigger(g,"mousedown",{mouse:v}),x.mouseup&&f.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(8),l=s(1),f=s(12),u=s(3);(function(){r.collides=function(h,d){for(var c=[],p=d.length,g=h.bounds,v=a.collides,x=l.overlaps,w=0;w<p;w++){var y=d[w],_=y.parts.length,m=_===1?0:1;if(x(y.bounds,g))for(var E=m;E<_;E++){var b=y.parts[E];if(x(b.bounds,g)){var S=v(b,h);if(S){c.push(S);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),v=i.magnitude(i.sub(d,c)),x=(c.x+d.x)*.5,w=(c.y+d.y)*.5,y=f.rectangle(x,w,v,p,{angle:g}),_=r.collides(y,h),m=0;m<_.length;m+=1){var E=_[m];E.body=E.bodyB=E.bodyA}return _},r.region=function(h,d,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],x=l.overlaps(v.bounds,d);(x&&!c||!x&&c)&&p.push(v)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,d))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var x=g.parts[v];if(l.contains(x.bounds,d)&&u.contains(x.vertices,d)){c.push(g);break}}}return c}})()},function(n,o,s){var r={};n.exports=r;var i=s(4),a=s(0),l=s(6),f=s(1),u=s(5),h=s(2),d=s(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var E={engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!m.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},b=a.extend(E,m);return b.canvas&&(b.canvas.width=b.options.width||b.canvas.width,b.canvas.height=b.options.height||b.canvas.height),b.mouse=m.mouse,b.engine=m.engine,b.canvas=b.canvas||x(b.options.width,b.options.height),b.context=b.canvas.getContext("2d"),b.textures={},b.bounds=b.bounds||{min:{x:0,y:0},max:{x:b.canvas.width,y:b.canvas.height}},b.controller=r,b.options.showBroadphase=!1,b.options.pixelRatio!==1&&r.setPixelRatio(b,b.options.pixelRatio),a.isElement(b.element)&&b.element.appendChild(b.canvas),b},r.run=function(m){(function E(b){m.frameRequestId=c(E),g(m,b),r.world(m,b),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,b),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,b)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,E){var b=m.options,S=m.canvas;E==="auto"&&(E=w(S)),b.pixelRatio=E,S.setAttribute("data-pixel-ratio",E),S.width=b.width*E,S.height=b.height*E,S.style.width=b.width+"px",S.style.height=b.height+"px"},r.lookAt=function(m,E,b,S){S=typeof S<"u"?S:!0,E=a.isArray(E)?E:[E],b=b||{x:0,y:0};for(var T={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<E.length;L+=1){var P=E[L],C=P.bounds?P.bounds.min:P.min||P.position||P,O=P.bounds?P.bounds.max:P.max||P.position||P;C&&O&&(C.x<T.min.x&&(T.min.x=C.x),O.x>T.max.x&&(T.max.x=O.x),C.y<T.min.y&&(T.min.y=C.y),O.y>T.max.y&&(T.max.y=O.y))}var $=T.max.x-T.min.x+2*b.x,F=T.max.y-T.min.y+2*b.y,U=m.canvas.height,j=m.canvas.width,Y=j/U,se=$/F,fe=1,ue=1;se>Y?ue=se/Y:fe=Y/se,m.options.hasBounds=!0,m.bounds.min.x=T.min.x,m.bounds.max.x=T.min.x+$*fe,m.bounds.min.y=T.min.y,m.bounds.max.y=T.min.y+F*ue,S&&(m.bounds.min.x+=$*.5-$*fe*.5,m.bounds.max.x+=$*.5-$*fe*.5,m.bounds.min.y+=F*.5-F*ue*.5,m.bounds.max.y+=F*.5-F*ue*.5),m.bounds.min.x-=b.x,m.bounds.max.x-=b.x,m.bounds.min.y-=b.y,m.bounds.max.y-=b.y,m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),d.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var E=m.bounds.max.x-m.bounds.min.x,b=m.bounds.max.y-m.bounds.min.y,S=E/m.options.width,T=b/m.options.height;m.context.setTransform(m.options.pixelRatio/S,0,0,m.options.pixelRatio/T,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,E){var b=a.now(),S=m.engine,T=S.world,L=m.canvas,P=m.context,C=m.options,O=m.timing,$=l.allBodies(T),F=l.allConstraints(T),U=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,fe={timestamp:S.timing.timestamp};if(u.trigger(m,"beforeRender",fe),m.currentBackground!==U&&_(m,U),P.globalCompositeOperation="source-in",P.fillStyle="transparent",P.fillRect(0,0,L.width,L.height),P.globalCompositeOperation="source-over",C.hasBounds){for(se=0;se<$.length;se++){var ue=$[se];f.overlaps(ue.bounds,m.bounds)&&j.push(ue)}for(se=0;se<F.length;se++){var ne=F[se],Te=ne.bodyA,_e=ne.bodyB,Be=ne.pointA,de=ne.pointB;Te&&(Be=h.add(Te.position,ne.pointA)),_e&&(de=h.add(_e.position,ne.pointB)),!(!Be||!de)&&(f.contains(m.bounds,Be)||f.contains(m.bounds,de))&&Y.push(ne)}r.startViewTransform(m),m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),d.setOffset(m.mouse,m.bounds.min))}else Y=F,j=$,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!C.wireframes||S.enableSleeping&&C.showSleeping?r.bodies(m,j,P):(C.showConvexHulls&&r.bodyConvexHulls(m,j,P),r.bodyWireframes(m,j,P)),C.showBounds&&r.bodyBounds(m,j,P),(C.showAxes||C.showAngleIndicator)&&r.bodyAxes(m,j,P),C.showPositions&&r.bodyPositions(m,j,P),C.showVelocity&&r.bodyVelocity(m,j,P),C.showIds&&r.bodyIds(m,j,P),C.showSeparations&&r.separations(m,S.pairs.list,P),C.showCollisions&&r.collisions(m,S.pairs.list,P),C.showVertexNumbers&&r.vertexNumbers(m,j,P),C.showMousePosition&&r.mousePosition(m,m.mouse,P),r.constraints(Y,P),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",fe),O.lastElapsed=a.now()-b},r.stats=function(m,E,b){for(var S=m.engine,T=S.world,L=l.allBodies(T),P=0,C=55,O=44,$=0,F=0,U=0;U<L.length;U+=1)P+=L[U].parts.length;var j={Part:P,Body:L.length,Cons:l.allConstraints(T).length,Comp:l.allComposites(T).length,Pair:S.pairs.list.length};E.fillStyle="#0e0f19",E.fillRect($,F,C*5.5,O),E.font="12px Arial",E.textBaseline="top",E.textAlign="right";for(var Y in j){var se=j[Y];E.fillStyle="#aaa",E.fillText(Y,$+C,F+8),E.fillStyle="#eee",E.fillText(se,$+C,F+26),$+=C}},r.performance=function(m,E){var b=m.engine,S=m.timing,T=S.deltaHistory,L=S.elapsedHistory,P=S.timestampElapsedHistory,C=S.engineDeltaHistory,O=S.engineElapsedHistory,$=b.timing.lastDelta,F=v(T),U=v(L),j=v(C),Y=v(O),se=v(P),fe=se/F||0,ue=1e3/F||0,ne=4,Te=12,_e=60,Be=34,de=10,V=69;E.fillStyle="#0e0f19",E.fillRect(0,50,Te*4+_e*5+22,Be),r.status(E,de,V,_e,ne,T.length,Math.round(ue)+" fps",ue/r._goodFps,function(q){return T[q]/F-1}),r.status(E,de+Te+_e,V,_e,ne,C.length,$.toFixed(2)+" dt",r._goodDelta/$,function(q){return C[q]/j-1}),r.status(E,de+(Te+_e)*2,V,_e,ne,O.length,Y.toFixed(2)+" ut",1-Y/r._goodFps,function(q){return O[q]/Y-1}),r.status(E,de+(Te+_e)*3,V,_e,ne,L.length,U.toFixed(2)+" rt",1-U/r._goodFps,function(q){return L[q]/U-1}),r.status(E,de+(Te+_e)*4,V,_e,ne,P.length,fe.toFixed(2)+" x",fe*fe*fe,function(q){return(P[q]/T[q]/fe||0)-1})},r.status=function(m,E,b,S,T,L,P,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(E,b+7,S,1),m.beginPath(),m.moveTo(E,b+7-T*a.clamp(.4*O(0),-2,2));for(var $=0;$<S;$+=1)m.lineTo(E+$,b+7-($<L?T*a.clamp(.4*O($),-2,2):0));m.stroke(),m.fillStyle="hsl("+a.clamp(25+95*C,0,120)+",100%,60%)",m.fillRect(E,b-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(P,E+S,b-5)},r.constraints=function(m,E){for(var b=E,S=0;S<m.length;S++){var T=m[S];if(!(!T.render.visible||!T.pointA||!T.pointB)){var L=T.bodyA,P=T.bodyB,C,O;if(L?C=h.add(L.position,T.pointA):C=T.pointA,T.render.type==="pin")b.beginPath(),b.arc(C.x,C.y,3,0,2*Math.PI),b.closePath();else{if(P?O=h.add(P.position,T.pointB):O=T.pointB,b.beginPath(),b.moveTo(C.x,C.y),T.render.type==="spring")for(var $=h.sub(O,C),F=h.perp(h.normalise($)),U=Math.ceil(a.clamp(T.length/5,12,20)),j,Y=1;Y<U;Y+=1)j=Y%2===0?1:-1,b.lineTo(C.x+$.x*(Y/U)+F.x*j*4,C.y+$.y*(Y/U)+F.y*j*4);b.lineTo(O.x,O.y)}T.render.lineWidth&&(b.lineWidth=T.render.lineWidth,b.strokeStyle=T.render.strokeStyle,b.stroke()),T.render.anchors&&(b.fillStyle=T.render.strokeStyle,b.beginPath(),b.arc(C.x,C.y,3,0,2*Math.PI),b.arc(O.x,O.y,3,0,2*Math.PI),b.closePath(),b.fill())}}},r.bodies=function(m,E,b){var S=b;m.engine;var T=m.options,L=T.showInternalEdges||!T.wireframes,P,C,O,$;for(O=0;O<E.length;O++)if(P=E[O],!!P.render.visible){for($=P.parts.length>1?1:0;$<P.parts.length;$++)if(C=P.parts[$],!!C.render.visible){if(T.showSleeping&&P.isSleeping?S.globalAlpha=.5*C.render.opacity:C.render.opacity!==1&&(S.globalAlpha=C.render.opacity),C.render.sprite&&C.render.sprite.texture&&!T.wireframes){var F=C.render.sprite,U=y(m,F.texture);S.translate(C.position.x,C.position.y),S.rotate(C.angle),S.drawImage(U,U.width*-F.xOffset*F.xScale,U.height*-F.yOffset*F.yScale,U.width*F.xScale,U.height*F.yScale),S.rotate(-C.angle),S.translate(-C.position.x,-C.position.y)}else{if(C.circleRadius)S.beginPath(),S.arc(C.position.x,C.position.y,C.circleRadius,0,2*Math.PI);else{S.beginPath(),S.moveTo(C.vertices[0].x,C.vertices[0].y);for(var j=1;j<C.vertices.length;j++)!C.vertices[j-1].isInternal||L?S.lineTo(C.vertices[j].x,C.vertices[j].y):S.moveTo(C.vertices[j].x,C.vertices[j].y),C.vertices[j].isInternal&&!L&&S.moveTo(C.vertices[(j+1)%C.vertices.length].x,C.vertices[(j+1)%C.vertices.length].y);S.lineTo(C.vertices[0].x,C.vertices[0].y),S.closePath()}T.wireframes?(S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()):(S.fillStyle=C.render.fillStyle,C.render.lineWidth&&(S.lineWidth=C.render.lineWidth,S.strokeStyle=C.render.strokeStyle,S.stroke()),S.fill())}S.globalAlpha=1}}},r.bodyWireframes=function(m,E,b){var S=b,T=m.options.showInternalEdges,L,P,C,O,$;for(S.beginPath(),C=0;C<E.length;C++)if(L=E[C],!!L.render.visible)for($=L.parts.length>1?1:0;$<L.parts.length;$++){for(P=L.parts[$],S.moveTo(P.vertices[0].x,P.vertices[0].y),O=1;O<P.vertices.length;O++)!P.vertices[O-1].isInternal||T?S.lineTo(P.vertices[O].x,P.vertices[O].y):S.moveTo(P.vertices[O].x,P.vertices[O].y),P.vertices[O].isInternal&&!T&&S.moveTo(P.vertices[(O+1)%P.vertices.length].x,P.vertices[(O+1)%P.vertices.length].y);S.lineTo(P.vertices[0].x,P.vertices[0].y)}S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()},r.bodyConvexHulls=function(m,E,b){var S=b,T,L,P;for(S.beginPath(),L=0;L<E.length;L++)if(T=E[L],!(!T.render.visible||T.parts.length===1)){for(S.moveTo(T.vertices[0].x,T.vertices[0].y),P=1;P<T.vertices.length;P++)S.lineTo(T.vertices[P].x,T.vertices[P].y);S.lineTo(T.vertices[0].x,T.vertices[0].y)}S.lineWidth=1,S.strokeStyle="rgba(255,255,255,0.2)",S.stroke()},r.vertexNumbers=function(m,E,b){var S=b,T,L,P;for(T=0;T<E.length;T++){var C=E[T].parts;for(P=C.length>1?1:0;P<C.length;P++){var O=C[P];for(L=0;L<O.vertices.length;L++)S.fillStyle="rgba(255,255,255,0.2)",S.fillText(T+"_"+L,O.position.x+(O.vertices[L].x-O.position.x)*.8,O.position.y+(O.vertices[L].y-O.position.y)*.8)}}},r.mousePosition=function(m,E,b){var S=b;S.fillStyle="rgba(255,255,255,0.8)",S.fillText(E.position.x+" "+E.position.y,E.position.x+5,E.position.y-5)},r.bodyBounds=function(m,E,b){var S=b;m.engine;var T=m.options;S.beginPath();for(var L=0;L<E.length;L++){var P=E[L];if(P.render.visible)for(var C=E[L].parts,O=C.length>1?1:0;O<C.length;O++){var $=C[O];S.rect($.bounds.min.x,$.bounds.min.y,$.bounds.max.x-$.bounds.min.x,$.bounds.max.y-$.bounds.min.y)}}T.wireframes?S.strokeStyle="rgba(255,255,255,0.08)":S.strokeStyle="rgba(0,0,0,0.1)",S.lineWidth=1,S.stroke()},r.bodyAxes=function(m,E,b){var S=b;m.engine;var T=m.options,L,P,C,O;for(S.beginPath(),P=0;P<E.length;P++){var $=E[P],F=$.parts;if($.render.visible)if(T.showAxes)for(C=F.length>1?1:0;C<F.length;C++)for(L=F[C],O=0;O<L.axes.length;O++){var U=L.axes[O];S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+U.x*20,L.position.y+U.y*20)}else for(C=F.length>1?1:0;C<F.length;C++)for(L=F[C],O=0;O<L.axes.length;O++)S.moveTo(L.position.x,L.position.y),S.lineTo((L.vertices[0].x+L.vertices[L.vertices.length-1].x)/2,(L.vertices[0].y+L.vertices[L.vertices.length-1].y)/2)}T.wireframes?(S.strokeStyle="indianred",S.lineWidth=1):(S.strokeStyle="rgba(255, 255, 255, 0.4)",S.globalCompositeOperation="overlay",S.lineWidth=2),S.stroke(),S.globalCompositeOperation="source-over"},r.bodyPositions=function(m,E,b){var S=b;m.engine;var T=m.options,L,P,C,O;for(S.beginPath(),C=0;C<E.length;C++)if(L=E[C],!!L.render.visible)for(O=0;O<L.parts.length;O++)P=L.parts[O],S.arc(P.position.x,P.position.y,3,0,2*Math.PI,!1),S.closePath();for(T.wireframes?S.fillStyle="indianred":S.fillStyle="rgba(0,0,0,0.5)",S.fill(),S.beginPath(),C=0;C<E.length;C++)L=E[C],L.render.visible&&(S.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),S.closePath());S.fillStyle="rgba(255,165,0,0.8)",S.fill()},r.bodyVelocity=function(m,E,b){var S=b;S.beginPath();for(var T=0;T<E.length;T++){var L=E[T];if(L.render.visible){var P=i.getVelocity(L);S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+P.x,L.position.y+P.y)}}S.lineWidth=3,S.strokeStyle="cornflowerblue",S.stroke()},r.bodyIds=function(m,E,b){var S=b,T,L;for(T=0;T<E.length;T++)if(E[T].render.visible){var P=E[T].parts;for(L=P.length>1?1:0;L<P.length;L++){var C=P[L];S.font="12px Arial",S.fillStyle="rgba(255,255,255,0.5)",S.fillText(C.id,C.position.x+10,C.position.y-10)}}},r.collisions=function(m,E,b){var S=b,T=m.options,L,P,C,O;for(S.beginPath(),C=0;C<E.length;C++)if(L=E[C],!!L.isActive)for(P=L.collision,O=0;O<L.activeContacts.length;O++){var $=L.activeContacts[O],F=$.vertex;S.rect(F.x-1.5,F.y-1.5,3.5,3.5)}for(T.wireframes?S.fillStyle="rgba(255,255,255,0.7)":S.fillStyle="orange",S.fill(),S.beginPath(),C=0;C<E.length;C++)if(L=E[C],!!L.isActive&&(P=L.collision,L.activeContacts.length>0)){var U=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(U=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),P.bodyB===P.supports[0].body||P.bodyA.isStatic===!0?S.moveTo(U-P.normal.x*8,j-P.normal.y*8):S.moveTo(U+P.normal.x*8,j+P.normal.y*8),S.lineTo(U,j)}T.wireframes?S.strokeStyle="rgba(255,165,0,0.7)":S.strokeStyle="orange",S.lineWidth=1,S.stroke()},r.separations=function(m,E,b){var S=b,T=m.options,L,P,C,O,$;for(S.beginPath(),$=0;$<E.length;$++)if(L=E[$],!!L.isActive){P=L.collision,C=P.bodyA,O=P.bodyB;var F=1;!O.isStatic&&!C.isStatic&&(F=.5),O.isStatic&&(F=0),S.moveTo(O.position.x,O.position.y),S.lineTo(O.position.x-P.penetration.x*F,O.position.y-P.penetration.y*F),F=1,!O.isStatic&&!C.isStatic&&(F=.5),C.isStatic&&(F=0),S.moveTo(C.position.x,C.position.y),S.lineTo(C.position.x+P.penetration.x*F,C.position.y+P.penetration.y*F)}T.wireframes?S.strokeStyle="rgba(255,165,0,0.5)":S.strokeStyle="orange",S.stroke()},r.inspector=function(m,E){m.engine;var b=m.selected,S=m.render,T=S.options,L;if(T.hasBounds){var P=S.bounds.max.x-S.bounds.min.x,C=S.bounds.max.y-S.bounds.min.y,O=P/S.options.width,$=C/S.options.height;E.scale(1/O,1/$),E.translate(-S.bounds.min.x,-S.bounds.min.y)}for(var F=0;F<b.length;F++){var U=b[F].data;switch(E.translate(.5,.5),E.lineWidth=1,E.strokeStyle="rgba(255,165,0,0.9)",E.setLineDash([1,2]),U.type){case"body":L=U.bounds,E.beginPath(),E.rect(Math.floor(L.min.x-3),Math.floor(L.min.y-3),Math.floor(L.max.x-L.min.x+6),Math.floor(L.max.y-L.min.y+6)),E.closePath(),E.stroke();break;case"constraint":var j=U.pointA;U.bodyA&&(j=U.pointB),E.beginPath(),E.arc(j.x,j.y,10,0,2*Math.PI),E.closePath(),E.stroke();break}E.setLineDash([]),E.translate(-.5,-.5)}m.selectStart!==null&&(E.translate(.5,.5),E.lineWidth=1,E.strokeStyle="rgba(255,165,0,0.6)",E.fillStyle="rgba(255,165,0,0.1)",L=m.selectBounds,E.beginPath(),E.rect(Math.floor(L.min.x),Math.floor(L.min.y),Math.floor(L.max.x-L.min.x),Math.floor(L.max.y-L.min.y)),E.closePath(),E.stroke(),E.fill(),E.translate(-.5,-.5)),T.hasBounds&&E.setTransform(1,0,0,1,0,0)};var g=function(m,E){var b=m.engine,S=m.timing,T=S.historySize,L=b.timing.timestamp;S.delta=E-S.lastTime||r._goodDelta,S.lastTime=E,S.timestampElapsed=L-S.lastTimestamp||0,S.lastTimestamp=L,S.deltaHistory.unshift(S.delta),S.deltaHistory.length=Math.min(S.deltaHistory.length,T),S.engineDeltaHistory.unshift(b.timing.lastDelta),S.engineDeltaHistory.length=Math.min(S.engineDeltaHistory.length,T),S.timestampElapsedHistory.unshift(S.timestampElapsed),S.timestampElapsedHistory.length=Math.min(S.timestampElapsedHistory.length,T),S.engineElapsedHistory.unshift(b.timing.lastElapsed),S.engineElapsedHistory.length=Math.min(S.engineElapsedHistory.length,T),S.elapsedHistory.unshift(S.lastElapsed),S.elapsedHistory.length=Math.min(S.elapsedHistory.length,T)},v=function(m){for(var E=0,b=0;b<m.length;b+=1)E+=m[b];return E/m.length||0},x=function(m,E){var b=document.createElement("canvas");return b.width=m,b.height=E,b.oncontextmenu=function(){return!1},b.onselectstart=function(){return!1},b},w=function(m){var E=m.getContext("2d"),b=window.devicePixelRatio||1,S=E.webkitBackingStorePixelRatio||E.mozBackingStorePixelRatio||E.msBackingStorePixelRatio||E.oBackingStorePixelRatio||E.backingStorePixelRatio||1;return b/S},y=function(m,E){var b=m.textures[E];return b||(b=m.textures[E]=new Image,b.src=E,b)},_=function(m,E){var b=E;/(jpg|gif|png)$/.test(E)&&(b="url("+E+")"),m.canvas.style.background=b,m.canvas.style.backgroundSize="contain",m.currentBackground=E}})()},function(n,o,s){var r={};n.exports=r;var i=s(5),a=s(17),l=s(0);(function(){var f,u;if(typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!f){var h;f=function(d){h=setTimeout(function(){d(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(d){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,d);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),function p(g){d.frameRequestId=f(p),g&&d.enabled&&r.tick(d,c,g)}(),d},r.tick=function(d,c,p){var g=c.timing,v;d.isFixed?v=d.delta:(v=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var x={timestamp:g.timestamp};i.trigger(d,"beforeTick",x),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",x),i.trigger(d,"beforeUpdate",x),a.update(c,v),i.trigger(d,"afterUpdate",x),i.trigger(d,"afterTick",x)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,o,s){var r={};n.exports=r;var i=s(8),a=s(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,o,s){var r={};n.exports=r,s(1);var i=s(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,p,g,v,x,w,y=[],_,m,E=0,b=0,S=0;l=l||15;var T=function(P,C,O){var $=O%2===1&&O>1;if(!x||P!=x.x||C!=x.y){x&&$?(_=x.x,m=x.y):(_=0,m=0);var F={x:_+P,y:m+C};($||!x)&&(x=F),y.push(F),b=_+P,S=m+C}},L=function(P){var C=P.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":b=P.x,S=P.y;break;case"H":b=P.x;break;case"V":S=P.y;break}T(b,S,P.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f<a.pathSegList.numberOfItems;f+=1)p.push(a.pathSegList.getItem(f));for(g=p.concat();E<h;){if(w=a.getPathSegAtLength(E),c=p[w],c!=v){for(;g.length&&g[0]!=c;)L(g.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=a.getPointAtLength(E),T(d.x,d.y,0);break}E+=l}for(f=0,u=g.length;f<u;++f)L(g[f]);return y},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,p=a.pathSegList,g=0,v=0,x=p.numberOfItems,w=0;w<x;++w){var y=p.getItem(w),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(g=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=g+y.x1),"x2"in y&&(d=g+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),w);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),w);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),w);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),w);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,d,c),w);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),w);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),w);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),w);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),w);break;case"z":case"Z":g=l,v=f;break}(_=="M"||_=="m")&&(l=g,f=v)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(6);s(0),function(){r.create=i.create,r.add=i.add,r.remove=i.remove,r.clear=i.clear,r.addComposite=i.addComposite,r.addBody=i.addBody,r.addConstraint=i.addConstraint}()}])})})(Yd);var Yt=Yd.exports;const Xd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href;function Dc(){return localStorage.getItem("cookie")==null}function fE(){localStorage.setItem("cookie","accept")}function dE(){localStorage.setItem("cookie","refuse")}const Jd=["cookie","future","change-something","picture-bright","picture-nolights"];function hE(e){if(!Jd.includes(e))return;let t=new Set(JSON.parse(localStorage.getItem("eastereggs")??"[]"));const n=!t.has(e);t.add(e),localStorage.setItem("eastereggs",JSON.stringify([...t])),n&&document.dispatchEvent(new CustomEvent("easteregg",{detail:e}))}function wa(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Fc(){return wa().length}function pE(){return Jd.length}function Aw(e){return e[Math.floor(Math.random()*e.length)]}function qd(e,t){return Math.random()*(t-e)+e}function gE(e,t){return Math.floor(qd(e,t))}const mE={key:0,class:"w-full h-full"},vE=["width","height"],yE={ref:"banner",class:"fixed bottom-0 left-0 z-50 bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 border rounded w-fit lg:w-1/2 p-3 px-5 m-5"},_E={class:"text-sm"},xE={class:"text-xs"},EE={class:"flex justify-end mt-2 text-sm"},wE=Ze({__name:"Cookie",setup(e){const t=Ce(null),n=Ce(null),o=Ce(!0),s=Ce(0),r=Ce(0);let i=null;St(async()=>{o.value=Dc(),s.value=f(),r.value=u(),Dc()&&(await _n(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){fE(),o.value=!1}function l(){dE(),o.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){s.value=f(),r.value=u()}function d(){if(!i){i=Yt.Engine.create();let g=Yt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});Yt.Render.run(g),Yt.Runner.run(Yt.Runner.create(),i)}h()}function c(){if(hE("cookie"),!i)return;let g=Yt.Bodies.circle(gE(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Xd,xScale:.08,yScale:.08}}});Yt.Composite.add(i.world,[g]);const v=.02*g.mass;Yt.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*qd(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Yt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const x=xo;return ye(),Qe(x,null,{default:xn(()=>[te(o)?(ye(),lt("div",mE,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:te(s),height:te(r)},null,8,vE)],512),ie("div",yE,[ie("p",_E,Ae(g.$t("cookie policy title")),1),ie("div",xE,[ie("span",null,[to(Ae(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),ie("div",EE,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Ae(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Ae(g.$t("accept")),1)])],512)])):ft("",!0)]),_:1})}}}),ba=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},bE={},SE={class:"flex justify-center text-sm"},CE={class:"flex-1 ml-2"},TE={class:"font-bold text-base"};function PE(e,t){return ye(),lt("div",SE,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Xd,alt:"",class:"h-full w-full"})])],-1)),ie("div",CE,[ie("p",TE,Ae(e.$t("cookie.title")),1),ie("p",null,Ae(e.$t("cookie.description")),1)])])}const LE=ba(bE,[["render",PE]]),RE=""+new URL("future.Byi108RQ.png",import.meta.url).href,kE={},AE={class:"flex text-sm"},IE={class:"flex-1 ml-2"},OE={class:"font-bold text-base"};function NE(e,t){return ye(),lt("div",AE,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:RE,alt:"",class:"h-full w-full"})])],-1)),ie("div",IE,[ie("p",OE,Ae(e.$t("future.title")),1),ie("p",null,Ae(e.$t("future.description")),1)])])}const ME=ba(kE,[["render",NE]]),DE="data:image/svg+xml,%3csvg%20width='256'%20height='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3ctitle%3eLayer%201%3c/title%3e%3cpath%20stroke-width='6'%20d='m87.42994,204.96972c0,-1.84579%20-1.14618,-5.51965%20-2.04203,-11.07467c-1.18738,-7.36275%20-1.021,-16.61199%20-1.021,-24.91798c0,-8.30599%203.39199,-15.16636%208.16807,-21.22643c6.29732,-7.99029%2015.72902,-15.76546%2022.46223,-18.45777c7.69972,-3.07879%2016.27282,-3.22853%2022.46223,-3.69155c7.12271,-0.53284%2014.29414,1.84577%2019.39919,5.53732c5.10505,3.69156%2010.79941,12.67733%2014.29414,20.30355c3.70672,8.08883%204.33436,13.80799%206.12607,24.91798c1.18738,7.36277%201.02099,11.99757%201.02099,11.99757c0,0.92287%200,1.84576%200,2.76866c0,0.92289%200,0.92289%200,1.84576c0,0.92289%200.13325,0.32866%20-0.01237,1.98987l0.14409,3.54746'%20id='svg_6'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m76.48487,73.41126c-0.60606,0%20-1.50682,0.49924%20-1.81818,1.81818c-0.27849,1.1797%20-0.46386,3.72864%200,4.84849c0.656,1.58372%202.31743,2.11288%203.63637,2.42424c0.58984,0.13924%202.43787,0.22215%204.24242,0c2.48013,-0.30531%203.35787,-1.24454%203.63636,-2.42424c0.31136,-1.31894%201.21213,-1.81818%201.21213,-3.63637c0,-1.21212%20-0.71097,-2.33498%20-1.21213,-3.0303c-0.79239,-1.09939%20-1.32485,-1.63184%20-2.42424,-2.42424c-0.69531,-0.50115%20-1.81818,-1.21212%20-2.42424,-1.81818c0,0%20-1.21212,0%20-2.42425,0c-1.21212,0%20-1.81818,0%20-2.42424,0.60606l0,0.60606l0,0.60606l0,0.60606'%20id='svg_11'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m171.6364,77.09092c0,0%20-0.60606,1.21212%20-0.60606,2.42424c0,1.21212%200.09227,1.96039%201.21211,2.42424c0.79185,0.328%201.81819,1.21212%202.42426,1.21212c0.60605,0%201.81818,0%202.42424,0c1.21211,0%201.8643,0.23193%202.42424,0c0.79185,-0.328%201.81818,-1.81818%201.81818,-2.42424c0,-1.21212%20-0.46387,-1.91045%200,-3.0303c0.328,-0.79185%200.60606,-1.21212%200.60606,-2.42424c0,-0.60606%20-0.60606,-2.42424%20-1.21211,-3.0303c0,0%20-0.17752,-0.17751%20-0.60606,-0.60606c-0.42856,-0.42855%20-0.60606,-0.60606%20-0.60606,-0.60606c-1.21213,0%20-2.42424,0%20-3.0303,0c-1.81818,0%20-2.51651,0.1422%20-3.63637,0.60606c-0.79185,0.328%20-0.41972,0.71879%20-1.21211,1.81818c-0.50116,0.69532%20-1.21213,1.21212%20-1.21213,3.63637c0,0.60606%200,1.21212%200.60606,1.21212l0,0.60606'%20id='svg_16'%20stroke='%23000'%20fill='none'/%3e%3c/g%3e%3c/svg%3e",FE={},$E={class:"flex text-sm"},HE={class:"flex-1 ml-2"},UE={class:"font-bold text-base"};function BE(e,t){return ye(),lt("div",$E,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:DE,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",HE,[ie("p",UE,Ae(e.$t("something.title")),1),ie("p",null,Ae(e.$t("something.description")),1)])])}const VE=ba(FE,[["render",BE]]),jE=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,WE={class:"flex text-sm"},KE={class:"flex-1 ml-2"},GE={class:"font-bold text-base"},YE={key:0},XE={key:1},JE=Ze({__name:"PictureBrightEgg",setup(e){const t=Ce(!1);return St(()=>{t.value=wa().includes("picture-nolights")}),(n,o)=>{const s=xo;return ye(),Qe(s,null,{default:xn(()=>[ie("div",WE,[o[0]||(o[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:jE,alt:"",class:"h-full w-full"})])],-1)),ie("div",KE,[ie("p",GE,Ae(n.$t("bright.title")),1),te(t)?ft("",!0):(ye(),lt("p",YE,Ae(n.$t("bright.description")),1)),te(t)?(ye(),lt("p",XE,Ae(n.$t("bright_either.description")),1)):ft("",!0)])])]),_:1})}}}),qE=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,QE={class:"flex text-sm"},zE={class:"flex-1 ml-2"},ZE={class:"font-bold text-base"},ew={key:0},tw={key:1},nw=Ze({__name:"PictureNoLightEgg",setup(e){const t=Ce(!1);return St(()=>{t.value=wa().includes("picture-bright")}),(n,o)=>{const s=xo;return ye(),Qe(s,null,{default:xn(()=>[ie("div",QE,[o[0]||(o[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:qE,alt:"",class:"h-full w-full"})])],-1)),ie("div",zE,[ie("p",ZE,Ae(n.$t("dark.title")),1),te(t)?ft("",!0):(ye(),lt("p",ew,Ae(n.$t("dark.description")),1)),te(t)?(ye(),lt("p",tw,Ae(n.$t("dark_either.description")),1)):ft("",!0)])])]),_:1})}}}),rw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},sw={class:"flex text-sm"},ow={class:"flex-1"},iw={class:"mt-1 text-center"},aw={key:0},lw={key:1},cw=Ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ce(!1),o=Ce(""),s=Ce(pE()),r=Ce(0);St(()=>{r.value=Fc()});let i=null;function a(f){o.value=f,r.value=Fc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=LE,d=ME,c=VE,p=JE,g=nw,v=xo;return ye(),Qe(v,null,{default:xn(()=>[te(n)?(ye(),lt("div",rw,[ie("div",{class:Ys(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
transition-opacity ${te(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ie("div",sw,[ie("div",ow,[te(o)==="cookie"?(ye(),Qe(h,{key:0})):ft("",!0),te(o)==="future"?(ye(),Qe(d,{key:1})):ft("",!0),te(o)==="change-something"?(ye(),Qe(c,{key:2})):ft("",!0),te(o)==="picture-bright"?(ye(),Qe(p,{key:3})):ft("",!0),te(o)==="picture-nolights"?(ye(),Qe(g,{key:4})):ft("",!0),ie("div",iw,[te(r)!=te(s)?(ye(),lt("p",aw,Ae(te(r))+"/"+Ae(te(s))+" "+Ae(f.$t("easter eggs found")),1)):ft("",!0),te(r)===te(s)?(ye(),lt("p",lw,Ae(f.$t("all easter eggs found")),1)):ft("",!0)])])])],2)])):ft("",!0)]),_:1})}}});function Qd(){return localStorage.getItem("theme")??"dark"}function uw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function Iw(){uw(Qd()==="dark"?"light":"dark")}function zd(e){switch(e||(e=Qd()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}const fw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},dw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},hw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},pw={__name:"app",setup(e){const{locale:t}=_o(),n=Ce(),o=Ce(!1);return St(()=>{zd(),document.addEventListener("easteregg",s=>{n.value.show(s.detail)}),o.value=!0}),Tl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),pt(t,s=>{Tl({htmlAttrs:{lang:s}})}),(s,r)=>{const i=rE,a=lE,l=wE,f=cw;return te(o)?(ye(),lt("div",fw,[ie("div",dw,[ie("div",hw,[Ie(a,null,{default:xn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):ft("",!0)}}};async function Zd(e,t=ze()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Zd(e,t));t._routePreloaded.add(n);const r=o.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const gw=(...e)=>e.find(t=>t!==void 0);function mw(e){const t=e.componentName||"NuxtLink";function n(s,r){if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return $c(s,e.trailingSlash);const i="path"in s&&s.path!==void 0?s.path:r(s).path;return{...s,name:void 0,path:$c(i,e.trailingSlash)}}function o(s){const r=ze(),i=gt(),a=ge(()=>!!s.target&&s.target!=="_self"),l=ge(()=>{const g=s.to||s.href||"";return typeof g=="string"&&Ct(g,{acceptRelative:!0})}),f=Oa("RouterLink"),u=f&&typeof f!="string"?f.useLink:void 0,h=ge(()=>{if(s.external)return!0;const g=s.to||s.href||"";return typeof g=="object"?!1:g===""||l.value}),d=ge(()=>{const g=s.to||s.href||"";return h.value?g:n(g,r.resolve)}),c=h.value||u==null?void 0:u({...s,to:d}),p=ge(()=>{var g;if(!d.value||l.value)return d.value;if(h.value){const v=typeof d.value=="object"&&"path"in d.value?_i(d.value):d.value,x=typeof v=="object"?r.resolve(v).href:v;return n(x,r.resolve)}return typeof d.value=="object"?((g=r.resolve(d.value))==null?void 0:g.href)??null:n(Un(i.app.baseURL,d.value),r.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:h,href:p,isActive:(c==null?void 0:c.isActive)??ge(()=>d.value===r.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??ge(()=>d.value===r.currentRoute.value.path),route:(c==null?void 0:c.route)??ge(()=>r.resolve(d.value)),async navigate(){await Of(p.value,{replace:s.replace,external:h.value||a.value})}}}return Ze({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},prefetchOn:{type:[String,Object],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}},useLink:o,setup(s,{slots:r}){const i=ze(),{to:a,href:l,navigate:f,isExternal:u,hasTarget:h,isAbsoluteUrl:d}=o(s),c=Ce(!1),p=Ce(null),g=w=>{var y;p.value=s.custom?(y=w==null?void 0:w.$el)==null?void 0:y.nextElementSibling:w==null?void 0:w.$el};function v(w){var y,_;return!c.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===w:((y=s.prefetchOn)==null?void 0:y[w])??((_=e.prefetchOn)==null?void 0:_[w]))&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!xw()}async function x(w=me()){if(c.value)return;c.value=!0;const y=typeof a.value=="string"?a.value:u.value?_i(a.value):i.resolve(a.value).fullPath,_=u.value?new URL(y,window.location.href).href:y;await Promise.all([w.hooks.callHook("link:prefetch",_).catch(()=>{}),!u.value&&!h.value&&Zd(a.value,i).catch(()=>{})])}if(v("visibility")){const w=me();let y,_=null;St(()=>{const m=yw();lo(()=>{y=Li(()=>{var E;(E=p==null?void 0:p.value)!=null&&E.tagName&&(_=m.observe(p.value,async()=>{_==null||_(),_=null,await x(w)}))})})}),Xr(()=>{y&&A0(y),_==null||_(),_=null})}return()=>{var _;if(!u.value&&!h.value){const m={ref:g,to:a.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(v("interaction")&&(m.onPointerenter=x.bind(null,void 0),m.onFocus=x.bind(null,void 0)),c.value&&(m.class=s.prefetchedClass||e.prefetchedClass),m.rel=s.rel||void 0),Je(Oa("RouterLink"),m,r.default)}const w=s.target||null,y=gw(s.noRel?"":s.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return s.custom?r.default?r.default({href:l.value,navigate:f,prefetch:x,get route(){if(!l.value)return;const m=new URL(l.value,window.location.href);return{path:m.pathname,fullPath:m.pathname,get query(){return sa(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:y,target:w,isExternal:u.value||h.value,isActive:!1,isExactActive:!1}):null:Je("a",{ref:p,href:l.value||null,rel:y,target:w},(_=r.default)==null?void 0:_.call(r))}}})}const vw=mw(Im);function $c(e,t){const n=t==="append"?$r:qr;return Ct(e)&&!e.startsWith("http")?e:n(e,!0)}function yw(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,o=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:o}}const _w=/2g/;function xw(){const e=navigator.connection;return!!(e&&(e.saveData||_w.test(e.effectiveType)))}const Ew=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,ww={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50 flex justify-center items-center",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},bw={class:"text-2xl md:text-4xl text-center"},Sw=Ze({__name:"error",setup(e){const t=Y1();return St(()=>{zd()}),(n,o)=>{const s=vw;return ye(),lt("div",ww,[ie("div",null,[ie("p",bw,Ae(n.$t("wrong directions")),1),o[0]||(o[0]=ie("img",{src:Ew,class:"mx-auto my-2",alt:""},null,-1)),Ie(s,{to:te(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:xn(()=>[to(Ae(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Cw={key:0},Hc={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),o=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",o);ze().beforeEach(l)}const s=!1;hn(Qr,ro()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=so(),i=!1;ku((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),iv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Jn(l)),!1});const a=!1;return(l,f)=>(ye(),Qe(ta,{onResolve:te(o)},{default:xn(()=>[te(i)?(ye(),lt("div",Cw)):te(r)?(ye(),Qe(te(Sw),{key:1,error:te(r)},null,8,["error"])):te(a)?(ye(),Qe(te(t),{key:2,context:te(a)},null,8,["context"])):te(s)?(ye(),Qe(lp(te(s)),{key:3})):(ye(),Qe(te(pw),{key:4}))]),_:1},8,["onResolve"]))}};let Uc;{let e;Uc=async function(){var i,a;if(e)return e;const o=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Cg(Hc):Sg(Hc),s=Fm({vueApp:o});async function r(l){await s.callHook("app:error",l),s.payload.error=s.payload.error||oo(l)}o.config.errorHandler=r,s.hook("app:suspense:resolve",()=>{o.config.errorHandler===r&&(o.config.errorHandler=void 0)});try{await Um(s,tE)}catch(l){r(l)}try{await s.hooks.callHook("app:created",o),await s.hooks.callHook("app:beforeMount",o),o.mount(Nm),await s.hooks.callHook("app:mounted",o),await _n()}catch(l){r(l)}return o},e=Uc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Rw as A,Vi as B,Iw as C,zd as D,X1 as E,Ye as F,vw as G,Y1 as H,ze as I,ba as _,ro as a,hE as b,ye as c,Ze as d,lt as e,ie as f,Qd as g,te as h,ft as i,Tl as j,ge as k,pt as l,Ie as m,xn as n,St as o,to as p,Aw as q,Ce as r,Lw as s,Ae as t,_o as u,kw as v,Tw as w,Pw as x,Ys as y,Qe as z};