Files
notxia.github.io/_nuxt/DQdgVD25.js
2024-04-22 18:30:59 +00:00

76 lines
324 KiB
JavaScript
Raw Blame History

function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["./GoQoWGRD.js","./BbsWmYJV.js","./BSopobDh.js","./about.Qgb6cIti.css","./k1ITBh2K.js","./DnOIdwrH.js","./BkgAnIXZ.js","./Bb4UmfnV.js","./resume.BPaN6Kc6.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function hi(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Re={},Hn=[],mt=()=>{},Ed=()=>!1,kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pi=e=>e.startsWith("onUpdate:"),He=Object.assign,gi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wd=Object.prototype.hasOwnProperty,ge=(e,t)=>wd.call(e,t),oe=Array.isArray,Bn=e=>Ar(e)==="[object Map]",Pc=e=>Ar(e)==="[object Set]",Sd=e=>Ar(e)==="[object RegExp]",le=e=>typeof e=="function",Oe=e=>typeof e=="string",nr=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Tc=e=>(Le(e)||le(e))&&le(e.then)&&le(e.catch),Lc=Object.prototype.toString,Ar=e=>Lc.call(e),Cd=e=>Ar(e).slice(8,-1),Rc=e=>Ar(e)==="[object Object]",mi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Un=hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Is=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bd=/-(\w)/g,Ot=Is(e=>e.replace(bd,(t,n)=>n?n.toUpperCase():"")),Pd=/\B([A-Z])/g,rr=Is(e=>e.replace(Pd,"-$1").toLowerCase()),Os=Is(e=>e.charAt(0).toUpperCase()+e.slice(1)),so=Is(e=>e?`on${Os(e)}`:""),on=(e,t)=>!Object.is(e,t),ur=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},us=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Td=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kc=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let ua;const Ac=()=>ua||(ua=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vi(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Oe(s)?Ad(s):vi(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Oe(e)||Le(e))return e}const Ld=/;(?![^(]*\))/g,Rd=/:([^]+)/,kd=/\/\*[^]*?\*\//g;function Ad(e){const t={};return e.replace(kd,"").split(Ld).forEach(n=>{if(n){const s=n.split(Rd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ns(e){let t="";if(Oe(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const s=Ns(e[n]);s&&(t+=s+" ")}else if(Le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Id="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Od=hi(Id);function Ic(e){return!!e||e===""}const Ae=e=>Oe(e)?e:e==null?"":oe(e)||Le(e)&&(e.toString===Lc||!le(e.toString))?JSON.stringify(e,Oc,2):String(e),Oc=(e,t)=>t&&t.__v_isRef?Oc(e,t.value):Bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[oo(s,r)+" =>"]=o,n),{})}:Pc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>oo(n))}:nr(t)?oo(t):Le(t)&&!oe(t)&&!Rc(t)?String(t):t,oo=(e,t="")=>{var n;return nr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ut;class Nc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ut,!t&&ut&&(this.index=(ut.scopes||(ut.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ut;try{return ut=this,t()}finally{ut=n}}}on(){ut=this}off(){ut=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function yi(e){return new Nc(e)}function Nd(e,t=ut){t&&t.active&&t.effects.push(e)}function _i(){return ut}function Mc(e){ut&&ut.cleanups.push(e)}let _n;class xi{constructor(t,n,s,o){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Nd(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Pn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Md(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Tn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=nn,n=_n;try{return nn=!0,_n=this,this._runnings++,fa(this),this.fn()}finally{da(this),this._runnings--,_n=n,nn=t}}stop(){var t;this.active&&(fa(this),da(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Md(e){return e.value}function fa(e){e._trackId++,e._depsLength=0}function da(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Dc(e.deps[t],e);e.deps.length=e._depsLength}}function Dc(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let nn=!0,bo=0;const Fc=[];function Pn(){Fc.push(nn),nn=!1}function Tn(){const e=Fc.pop();nn=e===void 0?!0:e}function Ei(){bo++}function wi(){for(bo--;!bo&&Po.length;)Po.shift()()}function $c(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Dc(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Po=[];function Hc(e,t,n){Ei();for(const s of e.keys()){let o;s._dirtyLevel<t&&(o??(o=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(o??(o=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&Po.push(s.scheduler)))}wi()}const Bc=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},fs=new WeakMap,xn=Symbol(""),To=Symbol("");function it(e,t,n){if(nn&&_n){let s=fs.get(e);s||fs.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Bc(()=>s.delete(n))),$c(_n,o)}}function Ht(e,t,n,s,o,r){const i=fs.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&oe(e)){const a=Number(s);i.forEach((f,u)=>{(u==="length"||!nr(u)&&u>=a)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":oe(e)?mi(n)&&l.push(i.get("length")):(l.push(i.get(xn)),Bn(e)&&l.push(i.get(To)));break;case"delete":oe(e)||(l.push(i.get(xn)),Bn(e)&&l.push(i.get(To)));break;case"set":Bn(e)&&l.push(i.get(xn));break}Ei();for(const a of l)a&&Hc(a,4);wi()}function Dd(e,t){var n;return(n=fs.get(e))==null?void 0:n.get(t)}const Fd=hi("__proto__,__v_isRef,__isVue"),Uc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nr)),ha=$d();function $d(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=me(this);for(let r=0,i=this.length;r<i;r++)it(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(me)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Pn(),Ei();const s=me(this)[t].apply(this,n);return wi(),Tn(),s}}),e}function Hd(e){const t=me(this);return it(t,"has",e),t.hasOwnProperty(e)}class Vc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?zd:Gc:r?Kc:Wc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=oe(t);if(!o){if(i&&ge(ha,n))return Reflect.get(ha,n,s);if(n==="hasOwnProperty")return Hd}const l=Reflect.get(t,n,s);return(nr(n)?Uc.has(n):Fd(n))||(o||it(t,"get",n),r)?l:$e(l)?i&&mi(n)?l:l.value:Le(l)?o?Xc(l):Bt(l):l}}class jc extends Vc{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const a=Sn(r);if(!ds(s)&&!Sn(s)&&(r=me(r),s=me(s)),!oe(t)&&$e(r)&&!$e(s))return a?!1:(r.value=s,!0)}const i=oe(t)&&mi(n)?Number(n)<t.length:ge(t,n),l=Reflect.set(t,n,s,o);return t===me(o)&&(i?on(s,r)&&Ht(t,"set",n,s):Ht(t,"add",n,s)),l}deleteProperty(t,n){const s=ge(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&Ht(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!nr(n)||!Uc.has(n))&&it(t,"has",n),s}ownKeys(t){return it(t,"iterate",oe(t)?"length":xn),Reflect.ownKeys(t)}}class Bd extends Vc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ud=new jc,Vd=new Bd,jd=new jc(!0),Si=e=>e,Ms=e=>Reflect.getPrototypeOf(e);function jr(e,t,n=!1,s=!1){e=e.__v_raw;const o=me(e),r=me(t);n||(on(t,r)&&it(o,"get",t),it(o,"get",r));const{has:i}=Ms(o),l=s?Si:n?Pi:_r;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function Wr(e,t=!1){const n=this.__v_raw,s=me(n),o=me(e);return t||(on(e,o)&&it(s,"has",e),it(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Kr(e,t=!1){return e=e.__v_raw,!t&&it(me(e),"iterate",xn),Reflect.get(e,"size",e)}function pa(e){e=me(e);const t=me(this);return Ms(t).has.call(t,e)||(t.add(e),Ht(t,"add",e,e)),this}function ga(e,t){t=me(t);const n=me(this),{has:s,get:o}=Ms(n);let r=s.call(n,e);r||(e=me(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?on(t,i)&&Ht(n,"set",e,t):Ht(n,"add",e,t),this}function ma(e){const t=me(this),{has:n,get:s}=Ms(t);let o=n.call(t,e);o||(e=me(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Ht(t,"delete",e,void 0),r}function va(){const e=me(this),t=e.size!==0,n=e.clear();return t&&Ht(e,"clear",void 0,void 0),n}function Gr(e,t){return function(s,o){const r=this,i=r.__v_raw,l=me(i),a=t?Si:e?Pi:_r;return!e&&it(l,"iterate",xn),i.forEach((f,u)=>s.call(o,a(f),a(u),r))}}function Xr(e,t,n){return function(...s){const o=this.__v_raw,r=me(o),i=Bn(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=o[e](...s),u=n?Si:t?Pi:_r;return!t&&it(r,"iterate",a?To:xn),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:l?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function Wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Wd(){const e={get(r){return jr(this,r)},get size(){return Kr(this)},has:Wr,add:pa,set:ga,delete:ma,clear:va,forEach:Gr(!1,!1)},t={get(r){return jr(this,r,!1,!0)},get size(){return Kr(this)},has:Wr,add:pa,set:ga,delete:ma,clear:va,forEach:Gr(!1,!0)},n={get(r){return jr(this,r,!0)},get size(){return Kr(this,!0)},has(r){return Wr.call(this,r,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:Gr(!0,!1)},s={get(r){return jr(this,r,!0,!0)},get size(){return Kr(this,!0)},has(r){return Wr.call(this,r,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:Gr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Xr(r,!1,!1),n[r]=Xr(r,!0,!1),t[r]=Xr(r,!1,!0),s[r]=Xr(r,!0,!0)}),[e,n,t,s]}const[Kd,Gd,Xd,Yd]=Wd();function Ci(e,t){const n=t?e?Yd:Xd:e?Gd:Kd;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ge(n,o)&&o in s?n:s,o,r)}const Jd={get:Ci(!1,!1)},qd={get:Ci(!1,!0)},Qd={get:Ci(!0,!1)},Wc=new WeakMap,Kc=new WeakMap,Gc=new WeakMap,zd=new WeakMap;function Zd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eh(e){return e.__v_skip||!Object.isExtensible(e)?0:Zd(Cd(e))}function Bt(e){return Sn(e)?e:bi(e,!1,Ud,Jd,Wc)}function Ir(e){return bi(e,!1,jd,qd,Kc)}function Xc(e){return bi(e,!0,Vd,Qd,Gc)}function bi(e,t,n,s,o){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=eh(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Vn(e){return Sn(e)?Vn(e.__v_raw):!!(e&&e.__v_isReactive)}function Sn(e){return!!(e&&e.__v_isReadonly)}function ds(e){return!!(e&&e.__v_isShallow)}function Yc(e){return Vn(e)||Sn(e)}function me(e){const t=e&&e.__v_raw;return t?me(t):e}function Jc(e){return Object.isExtensible(e)&&us(e,"__v_skip",!0),e}const _r=e=>Le(e)?Bt(e):e,Pi=e=>Le(e)?Xc(e):e;class qc{constructor(t,n,s,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new xi(()=>t(this._value),()=>fr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=me(this);return(!t._cacheable||t.effect.dirty)&&on(t._value,t._value=t.effect.run())&&fr(t,4),Ti(t),t.effect._dirtyLevel>=2&&fr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function th(e,t,n=!1){let s,o;const r=le(e);return r?(s=e,o=mt):(s=e.get,o=e.set),new qc(s,o,r||!o,n)}function Ti(e){var t;nn&&_n&&(e=me(e),$c(_n,(t=e.dep)!=null?t:e.dep=Bc(()=>e.dep=void 0,e instanceof qc?e:void 0)))}function fr(e,t=4,n){e=me(e);const s=e.dep;s&&Hc(s,t)}function $e(e){return!!(e&&e.__v_isRef===!0)}function we(e){return Qc(e,!1)}function Gn(e){return Qc(e,!0)}function Qc(e,t){return $e(e)?e:new nh(e,t)}class nh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:me(t),this._value=n?t:_r(t)}get value(){return Ti(this),this._value}set value(t){const n=this.__v_isShallow||ds(t)||Sn(t);t=n?t:me(t),on(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:_r(t),fr(this,4))}}function ne(e){return $e(e)?e.value:e}const rh={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return $e(o)&&!$e(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function zc(e){return Vn(e)?e:new Proxy(e,rh)}class sh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Ti(this),()=>fr(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function oh(e){return new sh(e)}class ih{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Dd(me(this._object),this._key)}}class ah{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Zc(e,t,n){return $e(e)?e:le(e)?new ah(e):Le(e)&&arguments.length>1?lh(e,t,n):we(e)}function lh(e,t,n){const s=e[t];return $e(s)?s:new ih(e,t,n)}/**
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function rn(e,t,n,s){try{return s?e(...s):e()}catch(o){Or(o,t,n)}}function yt(e,t,n,s){if(le(e)){const r=rn(e,t,n,s);return r&&Tc(r)&&r.catch(i=>{Or(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(yt(e[r],t,n,s));return o}function Or(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const f=r.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,i,l)===!1)return}r=r.parent}const a=t.appContext.config.errorHandler;if(a){rn(a,null,10,[e,i,l]);return}}ch(e,n,o,s)}function ch(e,t,n,s=!0){console.error(e)}let xr=!1,Lo=!1;const Je=[];let kt=0;const jn=[];let qt=null,vn=0;const eu=Promise.resolve();let Li=null;function an(e){const t=Li||eu;return e?t.then(this?e.bind(this):e):t}function uh(e){let t=kt+1,n=Je.length;for(;t<n;){const s=t+n>>>1,o=Je[s],r=Er(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function Ri(e){(!Je.length||!Je.includes(e,xr&&e.allowRecurse?kt+1:kt))&&(e.id==null?Je.push(e):Je.splice(uh(e.id),0,e),tu())}function tu(){!xr&&!Lo&&(Lo=!0,Li=eu.then(nu))}function fh(e){const t=Je.indexOf(e);t>kt&&Je.splice(t,1)}function Ro(e){oe(e)?jn.push(...e):(!qt||!qt.includes(e,e.allowRecurse?vn+1:vn))&&jn.push(e),tu()}function ya(e,t,n=xr?kt+1:0){for(;n<Je.length;n++){const s=Je[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;Je.splice(n,1),n--,s()}}}function hs(e){if(jn.length){const t=[...new Set(jn)].sort((n,s)=>Er(n)-Er(s));if(jn.length=0,qt){qt.push(...t);return}for(qt=t,vn=0;vn<qt.length;vn++)qt[vn]();qt=null,vn=0}}const Er=e=>e.id==null?1/0:e.id,dh=(e,t)=>{const n=Er(e)-Er(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function nu(e){Lo=!1,xr=!0,Je.sort(dh);try{for(kt=0;kt<Je.length;kt++){const t=Je[kt];t&&t.active!==!1&&rn(t,null,14)}}finally{kt=0,Je.length=0,hs(),xr=!1,Li=null,(Je.length||jn.length)&&nu()}}function hh(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Re;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:d}=s[u]||Re;d&&(o=n.map(c=>Oe(c)?c.trim():c)),h&&(o=n.map(Td))}let l,a=s[l=so(t)]||s[l=so(Ot(t))];!a&&r&&(a=s[l=so(rr(t))]),a&&yt(a,e,6,o);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,yt(f,e,6,o)}}function ru(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!le(e)){const a=f=>{const u=ru(f,t,!0);u&&(l=!0,He(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(Le(e)&&s.set(e,null),null):(oe(r)?r.forEach(a=>i[a]=null):He(i,r),Le(e)&&s.set(e,i),i)}function Ds(e,t){return!e||!kr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,rr(t))||ge(e,t))}let Fe=null,su=null;function ps(e){const t=Fe;return Fe=e,su=e&&e.type.__scopeId||null,t}function ln(e,t=Fe,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Aa(-1);const r=ps(t);let i;try{i=e(...o)}finally{ps(r),s._d&&Aa(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function io(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:a,emit:f,render:u,renderCache:h,data:d,setupState:c,ctx:p,inheritAttrs:g}=e;let y,v;const S=ps(e);try{if(n.shapeFlag&4){const _=o||s,m=_;y=pt(u.call(m,_,h,r,c,d,p)),v=a}else{const _=t;y=pt(_.length>1?_(r,{attrs:a,slots:l,emit:f}):_(r,null)),v=t.props?a:gh(a)}}catch(_){hr.length=0,Or(_,e,1),y=Ie(Ze)}let E=y;if(v&&g!==!1){const _=Object.keys(v),{shapeFlag:m}=E;_.length&&m&7&&(i&&_.some(pi)&&(v=mh(v,i)),E=Ut(E,v))}return n.dirs&&(E=Ut(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),y=E,ps(S),y}function ph(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(Yn(o)){if(o.type!==Ze||o.children==="v-if"){if(n)return;n=o}}else return}return n}const gh=e=>{let t;for(const n in e)(n==="class"||n==="style"||kr(n))&&((t||(t={}))[n]=e[n]);return t},mh=(e,t)=>{const n={};for(const s in e)(!pi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function vh(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?_a(s,i,f):!!i;if(a&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==s[d]&&!Ds(f,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?_a(s,i,f):!0:!!i;return!1}function _a(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Ds(n,r))return!0}return!1}function ki({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ai="components";function yh(e,t){return iu(Ai,e,!0,t)||e}const ou=Symbol.for("v-ndc");function _h(e){return Oe(e)?iu(Ai,e,!1)||e:e||ou}function iu(e,t,n=!0,s=!1){const o=Fe||Be;if(o){const r=o.type;if(e===Ai){const l=$o(r,!1);if(l&&(l===t||l===Ot(t)||l===Os(Ot(t))))return r}const i=xa(o[e]||r[e],t)||xa(o.appContext[e],t);return!i&&s?r:i}}function xa(e,t){return e&&(e[t]||e[Ot(t)]||e[Os(Ot(t))])}const au=e=>e.__isSuspense;let ko=0;const xh={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,l,a,f){if(e==null)Eh(t,n,s,o,r,i,l,a,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}wh(e,t,n,s,o,i,l,a,f)}},hydrate:Sh,create:Oi,normalize:Ch},Ii=xh;function wr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Eh(e,t,n,s,o,r,i,l,a){const{p:f,o:{createElement:u}}=a,h=u("div"),d=e.suspense=Oi(e,o,s,t,h,n,r,i,l,a);f(null,d.pendingBranch=e.ssContent,h,null,s,d,r,i),d.deps>0?(wr(e,"onPending"),wr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,i),Wn(d,e.ssFallback)):d.resolve(!1,!0)}function wh(e,t,n,s,o,r,i,l,{p:a,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:y,isHydrating:v}=h;if(g)h.pendingBranch=d,St(d,g)?(a(g,d,h.hiddenContainer,null,o,h,r,i,l),h.deps<=0?h.resolve():y&&(v||(a(p,c,n,s,o,null,r,i,l),Wn(h,c)))):(h.pendingId=ko++,v?(h.isHydrating=!1,h.activeBranch=g):f(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),y?(a(null,d,h.hiddenContainer,null,o,h,r,i,l),h.deps<=0?h.resolve():(a(p,c,n,s,o,null,r,i,l),Wn(h,c))):p&&St(d,p)?(a(p,d,n,s,o,h,r,i,l),h.resolve(!0)):(a(null,d,h.hiddenContainer,null,o,h,r,i,l),h.deps<=0&&h.resolve()));else if(p&&St(d,p))a(p,d,n,s,o,h,r,i,l),Wn(h,d);else if(wr(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=ko++,a(null,d,h.hiddenContainer,null,o,h,r,i,l),h.deps<=0)h.resolve();else{const{timeout:S,pendingId:E}=h;S>0?setTimeout(()=>{h.pendingId===E&&h.fallback(c)},S):S===0&&h.fallback(c)}}function Oi(e,t,n,s,o,r,i,l,a,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:y}}=f;let v;const S=bh(e);S&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const E=e.props?kc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:ko++,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,P=!1){const{vnode:b,activeBranch:T,pendingBranch:L,pendingId:A,effects:R,parentComponent:O,container:U}=m;let H=!1;m.isHydrating?m.isHydrating=!1:x||(H=T&&L.transition&&L.transition.mode==="out-in",H&&(T.transition.afterLeave=()=>{A===m.pendingId&&(d(L,U,r===_?p(T):r,0),Ro(R))}),T&&(g(T.el)!==m.hiddenContainer&&(r=p(T)),c(T,O,m,!0)),H||d(L,U,r,0)),Wn(m,L),m.pendingBranch=null,m.isInFallback=!1;let $=m.parent,V=!1;for(;$;){if($.pendingBranch){$.effects.push(...R),V=!0;break}$=$.parent}!V&&!H&&Ro(R),m.effects=[],S&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),wr(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:P,activeBranch:b,parentComponent:T,container:L,namespace:A}=m;wr(P,"onFallback");const R=p(b),O=()=>{m.isInFallback&&(h(null,x,L,R,T,null,A,l,a),Wn(m,x))},U=x.transition&&x.transition.mode==="out-in";U&&(b.transition.afterLeave=O),m.isInFallback=!0,c(b,T,null,!0),U||O()},move(x,P,b){m.activeBranch&&d(m.activeBranch,x,P,b),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,P){const b=!!m.pendingBranch;b&&m.deps++;const T=x.vnode.el;x.asyncDep.catch(L=>{Or(L,x,0)}).then(L=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:A}=x;Fo(x,L,!1),T&&(A.el=T);const R=!T&&x.subTree.el;P(x,A,g(T||x.subTree.el),T?null:p(x.subTree),m,i,a),R&&y(R),ki(x,A.el),b&&--m.deps===0&&m.resolve()})},unmount(x,P){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,P),m.pendingBranch&&c(m.pendingBranch,n,x,P)}};return m}function Sh(e,t,n,s,o,r,i,l,a){const f=t.suspense=Oi(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,l,!0),u=a(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function Ch(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ea(s?n.default:n),e.ssFallback=s?Ea(n.fallback):Ie(Ze)}function Ea(e){let t;if(le(e)){const n=Xn&&e._c;n&&(e._d=!1,Ee()),e=e(),n&&(e._d=!0,t=vt,Au())}return oe(e)&&(e=ph(e)),e=pt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function lu(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}function Wn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,s&&s.subTree===n&&(s.vnode.el=o,ki(s,o))}function bh(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Ph=Symbol.for("v-scx"),Th=()=>qe(Ph);function Lh(e,t){return Ni(e,null,t)}const Yr={};function st(e,t,n){return Ni(e,t,n)}function Ni(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:l}=Re){if(t&&r){const x=t;t=(...P)=>{x(...P),m()}}const a=Be,f=x=>s===!0?x:yn(x,s===!1?1:void 0);let u,h=!1,d=!1;if($e(e)?(u=()=>e.value,h=ds(e)):Vn(e)?(u=()=>f(e),h=!0):oe(e)?(d=!0,h=e.some(x=>Vn(x)||ds(x)),u=()=>e.map(x=>{if($e(x))return x.value;if(Vn(x))return f(x);if(le(x))return rn(x,a,2)})):le(e)?t?u=()=>rn(e,a,2):u=()=>(c&&c(),yt(e,a,3,[p])):u=mt,t&&s){const x=u;u=()=>yn(x())}let c,p=x=>{c=E.onStop=()=>{rn(x,a,4),c=E.onStop=void 0}},g;if(Us)if(p=mt,t?n&&yt(t,a,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const x=Th();g=x.__watcherHandles||(x.__watcherHandles=[])}else return mt;let y=d?new Array(e.length).fill(Yr):Yr;const v=()=>{if(!(!E.active||!E.dirty))if(t){const x=E.run();(s||h||(d?x.some((P,b)=>on(P,y[b])):on(x,y)))&&(c&&c(),yt(t,a,3,[x,y===Yr?void 0:d&&y[0]===Yr?[]:y,p]),y=x)}else E.run()};v.allowRecurse=!!t;let S;o==="sync"?S=v:o==="post"?S=()=>Ve(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),S=()=>Ri(v));const E=new xi(u,mt,S),_=_i(),m=()=>{E.stop(),_&&gi(_.effects,E)};return t?n?v():y=E.run():o==="post"?Ve(E.run.bind(E),a&&a.suspense):E.run(),g&&g.push(m),m}function Rh(e,t,n){const s=this.proxy,o=Oe(e)?e.includes(".")?cu(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=Mr(this),l=Ni(o,r.bind(s),n);return i(),l}function cu(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function yn(e,t,n=0,s){if(!Le(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),$e(e))yn(e.value,t,n,s);else if(oe(e))for(let o=0;o<e.length;o++)yn(e[o],t,n,s);else if(Pc(e)||Bn(e))e.forEach(o=>{yn(o,t,n,s)});else if(Rc(e))for(const o in e)yn(e[o],t,n,s);return e}function SE(e,t){if(Fe===null)return e;const n=Vs(Fe)||Fe.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,l,a=Re]=t[o];r&&(le(r)&&(r={mounted:r,updated:r}),r.deep&&yn(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Rt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let a=l.dir[s];a&&(Pn(),yt(a,n,8,[e.el,l,e,t]),Tn())}}const Qt=Symbol("_leaveCb"),Jr=Symbol("_enterCb");function kh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Nr(()=>{e.isUnmounting=!0}),e}const ht=[Function,Array],uu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ht,onEnter:ht,onAfterEnter:ht,onEnterCancelled:ht,onBeforeLeave:ht,onLeave:ht,onAfterLeave:ht,onLeaveCancelled:ht,onBeforeAppear:ht,onAppear:ht,onAfterAppear:ht,onAppearCancelled:ht},Ah={name:"BaseTransition",props:uu,setup(e,{slots:t}){const n=Ln(),s=kh();return()=>{const o=t.default&&du(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const d of o)if(d.type!==Ze){r=d;break}}const i=me(e),{mode:l}=i;if(s.isLeaving)return ao(r);const a=wa(r);if(!a)return ao(r);const f=Ao(a,i,s,n);gs(a,f);const u=n.subTree,h=u&&wa(u);if(h&&h.type!==Ze&&!St(a,h)){const d=Ao(h,i,s,n);if(gs(h,d),l==="out-in")return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ao(r);l==="in-out"&&a.type!==Ze&&(d.delayLeave=(c,p,g)=>{const y=fu(s,h);y[String(h.key)]=h,c[Qt]=()=>{p(),c[Qt]=void 0,delete f.delayedLeave},f.delayedLeave=g})}return r}}},Ih=Ah;function fu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ao(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:c,onLeaveCancelled:p,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:S}=t,E=String(e.key),_=fu(n,e),m=(b,T)=>{b&&yt(b,s,9,T)},x=(b,T)=>{const L=T[1];m(b,T),oe(b)?b.every(A=>A.length<=1)&&L():b.length<=1&&L()},P={mode:r,persisted:i,beforeEnter(b){let T=l;if(!n.isMounted)if(o)T=g||l;else return;b[Qt]&&b[Qt](!0);const L=_[E];L&&St(e,L)&&L.el[Qt]&&L.el[Qt](),m(T,[b])},enter(b){let T=a,L=f,A=u;if(!n.isMounted)if(o)T=y||a,L=v||f,A=S||u;else return;let R=!1;const O=b[Jr]=U=>{R||(R=!0,U?m(A,[b]):m(L,[b]),P.delayedLeave&&P.delayedLeave(),b[Jr]=void 0)};T?x(T,[b,O]):O()},leave(b,T){const L=String(e.key);if(b[Jr]&&b[Jr](!0),n.isUnmounting)return T();m(h,[b]);let A=!1;const R=b[Qt]=O=>{A||(A=!0,T(),O?m(p,[b]):m(c,[b]),b[Qt]=void 0,_[L]===e&&delete _[L])};_[L]=e,d?x(d,[b,R]):R()},clone(b){return Ao(b,t,n,s)}};return P}function ao(e){if(Fs(e))return e=Ut(e),e.children=null,e}function wa(e){return Fs(e)?e.children?e.children[0]:void 0:e}function gs(e,t){e.shapeFlag&6&&e.component?gs(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 du(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Xe?(i.patchFlag&128&&o++,s=s.concat(du(i.children,t,l))):(t||i.type!==Ze)&&s.push(l!=null?Ut(i,{key:l}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function We(e,t){return le(e)?He({name:e.name},t,{setup:e}):e}const En=e=>!!e.type.__asyncLoader,Fs=e=>e.type.__isKeepAlive,Oh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ln(),s=n.ctx;if(!s.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const o=new Map,r=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:f,um:u,o:{createElement:h}}}=s,d=h("div");s.activate=(S,E,_,m,x)=>{const P=S.component;f(S,E,_,0,l),a(P.vnode,S,E,_,P,l,m,S.slotScopeIds,x),Ve(()=>{P.isDeactivated=!1,P.a&&ur(P.a);const b=S.props&&S.props.onVnodeMounted;b&&tt(b,P.parent,S)},l)},s.deactivate=S=>{const E=S.component;f(S,d,null,1,l),Ve(()=>{E.da&&ur(E.da);const _=S.props&&S.props.onVnodeUnmounted;_&&tt(_,E.parent,S),E.isDeactivated=!0},l)};function c(S){lo(S),u(S,n,l,!0)}function p(S){o.forEach((E,_)=>{const m=$o(E.type);m&&(!S||!S(m))&&g(_)})}function g(S){const E=o.get(S);!i||!St(E,i)?c(E):i&&lo(i),o.delete(S),r.delete(S)}st(()=>[e.include,e.exclude],([S,E])=>{S&&p(_=>lr(S,_)),E&&p(_=>!lr(E,_))},{flush:"post",deep:!0});let y=null;const v=()=>{y!=null&&o.set(y,co(n.subTree))};return xt(v),mu(v),Nr(()=>{o.forEach(S=>{const{subTree:E,suspense:_}=n,m=co(E);if(S.type===m.type&&S.key===m.key){lo(m);const x=m.component.da;x&&Ve(x,_);return}c(S)})}),()=>{if(y=null,!t.default)return null;const S=t.default(),E=S[0];if(S.length>1)return i=null,S;if(!Yn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let _=co(E);const m=_.type,x=$o(En(_)?_.type.__asyncResolved||{}:m),{include:P,exclude:b,max:T}=e;if(P&&(!x||!lr(P,x))||b&&x&&lr(b,x))return i=_,E;const L=_.key==null?m:_.key,A=o.get(L);return _.el&&(_=Ut(_),E.shapeFlag&128&&(E.ssContent=_)),y=L,A?(_.el=A.el,_.component=A.component,_.transition&&gs(_,_.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=_,au(E.type)?E:_}}},Nh=Oh;function lr(e,t){return oe(e)?e.some(n=>lr(n,t)):Oe(e)?e.split(",").includes(t):Sd(e)?e.test(t):!1}function hu(e,t){gu(e,"a",t)}function pu(e,t){gu(e,"da",t)}function gu(e,t,n=Be){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($s(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Fs(o.parent.vnode)&&Mh(s,t,n,o),o=o.parent}}function Mh(e,t,n,s){const o=$s(t,e,s,!0);Mi(()=>{gi(s[t],o)},n)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function co(e){return e.shapeFlag&128?e.ssContent:e}function $s(e,t,n=Be,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Pn();const l=Mr(n),a=yt(t,n,e,i);return l(),Tn(),a});return s?o.unshift(r):o.push(r),r}}const Vt=e=>(t,n=Be)=>(!Us||e==="sp")&&$s(e,(...s)=>t(...s),n),Dh=Vt("bm"),xt=Vt("m"),Fh=Vt("bu"),mu=Vt("u"),Nr=Vt("bum"),Mi=Vt("um"),$h=Vt("sp"),Hh=Vt("rtg"),Bh=Vt("rtc");function vu(e,t=Be){$s("ec",e,t)}function CE(e,t,n,s){let o;const r=n&&n[s];if(oe(e)||Oe(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(Le(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const f=i[l];o[l]=t(e[f],f,l,r&&r[l])}}else o=[];return n&&(n[s]=o),o}function bE(e,t,n={},s,o){if(Fe.isCE||Fe.parent&&En(Fe.parent)&&Fe.parent.isCE)return t!=="default"&&(n.name=t),Ie("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),Ee();const i=r&&yu(r(n)),l=Ye(Xe,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function yu(e){return e.some(t=>Yn(t)?!(t.type===Ze||t.type===Xe&&!yu(t.children)):!0)?e:null}const Io=e=>e?Mu(e)?Vs(e)||e.proxy:Io(e.parent):null,dr=He(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=>Io(e.parent),$root:e=>Io(e.root),$emit:e=>e.emit,$options:e=>Di(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ri(e.update)}),$nextTick:e=>e.n||(e.n=an.bind(e.proxy)),$watch:e=>Rh.bind(e)}),uo=(e,t)=>e!==Re&&!e.__isScriptSetup&&ge(e,t),Uh={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;let f;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(uo(s,t))return i[t]=1,s[t];if(o!==Re&&ge(o,t))return i[t]=2,o[t];if((f=e.propsOptions[0])&&ge(f,t))return i[t]=3,r[t];if(n!==Re&&ge(n,t))return i[t]=4,n[t];Oo&&(i[t]=0)}}const u=dr[t];let h,d;if(u)return t==="$attrs"&&it(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Re&&ge(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ge(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return uo(o,t)?(o[t]=n,!0):s!==Re&&ge(s,t)?(s[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==Re&&ge(e,i)||uo(t,i)||(l=r[0])&&ge(l,i)||ge(s,i)||ge(dr,i)||ge(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sa(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Oo=!0;function Vh(e){const t=Di(e),n=e.proxy,s=e.ctx;Oo=!1,t.beforeCreate&&Ca(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:y,beforeDestroy:v,beforeUnmount:S,destroyed:E,unmounted:_,render:m,renderTracked:x,renderTriggered:P,errorCaptured:b,serverPrefetch:T,expose:L,inheritAttrs:A,components:R,directives:O,filters:U}=t;if(f&&jh(f,s,null),i)for(const V in i){const W=i[V];le(W)&&(s[V]=W.bind(n))}if(o){const V=o.call(n,n);Le(V)&&(e.data=Bt(V))}if(Oo=!0,r)for(const V in r){const W=r[V],ae=le(W)?W.bind(n,n):le(W.get)?W.get.bind(n,n):mt,de=!le(W)&&le(W.set)?W.set.bind(n):mt,fe=Pe({get:ae,set:de});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>fe.value,set:re=>fe.value=re})}if(l)for(const V in l)_u(l[V],s,n,V);if(a){const V=le(a)?a.call(n):a;Reflect.ownKeys(V).forEach(W=>{sn(W,V[W])})}u&&Ca(u,e,"c");function $(V,W){oe(W)?W.forEach(ae=>V(ae.bind(n))):W&&V(W.bind(n))}if($(Dh,h),$(xt,d),$(Fh,c),$(mu,p),$(hu,g),$(pu,y),$(vu,b),$(Bh,x),$(Hh,P),$(Nr,S),$(Mi,_),$($h,T),oe(L))if(L.length){const V=e.exposed||(e.exposed={});L.forEach(W=>{Object.defineProperty(V,W,{get:()=>n[W],set:ae=>n[W]=ae})})}else e.exposed||(e.exposed={});m&&e.render===mt&&(e.render=m),A!=null&&(e.inheritAttrs=A),R&&(e.components=R),O&&(e.directives=O)}function jh(e,t,n=mt){oe(e)&&(e=No(e));for(const s in e){const o=e[s];let r;Le(o)?"default"in o?r=qe(o.from||s,o.default,!0):r=qe(o.from||s):r=qe(o),$e(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Ca(e,t,n){yt(oe(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _u(e,t,n,s){const o=s.includes(".")?cu(n,s):()=>n[s];if(Oe(e)){const r=t[e];le(r)&&st(o,r)}else if(le(e))st(o,e.bind(n));else if(Le(e))if(oe(e))e.forEach(r=>_u(r,t,n,s));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&st(o,r,e)}}function Di(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(f=>ms(a,f,i,!0)),ms(a,t,i)),Le(t)&&r.set(t,a),a}function ms(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&ms(e,r,n,!0),o&&o.forEach(i=>ms(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Wh[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Wh={data:ba,props:Pa,emits:Pa,methods:cr,computed:cr,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:cr,directives:cr,watch:Gh,provide:ba,inject:Kh};function ba(e,t){return t?e?function(){return He(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function Kh(e,t){return cr(No(e),No(t))}function No(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qe(e,t){return e?[...new Set([].concat(e,t))]:t}function cr(e,t){return e?He(Object.create(null),e,t):t}function Pa(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:He(Object.create(null),Sa(e),Sa(t??{})):t}function Gh(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const s in t)n[s]=Qe(e[s],t[s]);return n}function xu(){return{app:null,config:{isNativeTag:Ed,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 Xh=0;function Yh(e,t){return function(s,o=null){le(s)||(s=He({},s)),o!=null&&!Le(o)&&(o=null);const r=xu(),i=new WeakSet;let l=!1;const a=r.app={_uid:Xh++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Fu,get config(){return r.config},set config(f){},use(f,...u){return i.has(f)||(f&&le(f.install)?(i.add(f),f.install(a,...u)):le(f)&&(i.add(f),f(a,...u))),a},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),a},component(f,u){return u?(r.components[f]=u,a):r.components[f]},directive(f,u){return u?(r.directives[f]=u,a):r.directives[f]},mount(f,u,h){if(!l){const d=Ie(s,o);return d.appContext=r,h===!0?h="svg":h===!1&&(h=void 0),u&&t?t(d,f):e(d,f,h),l=!0,a._container=f,f.__vue_app__=a,Vs(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(f,u){return r.provides[f]=u,a},runWithContext(f){const u=Kn;Kn=a;try{return f()}finally{Kn=u}}};return a}}let Kn=null;function sn(e,t){if(Be){let n=Be.provides;const s=Be.parent&&Be.parent.provides;s===n&&(n=Be.provides=Object.create(s)),n[e]=t}}function qe(e,t,n=!1){const s=Be||Fe;if(s||Kn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Kn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&le(t)?t.call(s&&s.proxy):t}}function Eu(){return!!(Be||Fe||Kn)}function Jh(e,t,n,s=!1){const o={},r={};us(r,Hs,1),e.propsDefaults=Object.create(null),wu(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Ir(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function qh(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=me(o),[a]=e.propsOptions;let f=!1;if((s||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(Ds(e.emitsOptions,d))continue;const c=t[d];if(a)if(ge(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=Ot(d);o[p]=Mo(a,l,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{wu(e,t,o,r)&&(f=!0);let u;for(const h in l)(!t||!ge(t,h)&&((u=rr(h))===h||!ge(t,u)))&&(a?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=Mo(a,l,h,void 0,e,!0)):delete o[h]);if(r!==l)for(const h in r)(!t||!ge(t,h))&&(delete r[h],f=!0)}f&&Ht(e,"set","$attrs")}function wu(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Un(a))continue;const f=t[a];let u;o&&ge(o,u=Ot(a))?!r||!r.includes(u)?n[u]=f:(l||(l={}))[u]=f:Ds(e.emitsOptions,a)||(!(a in s)||f!==s[a])&&(s[a]=f,i=!0)}if(r){const a=me(n),f=l||Re;for(let u=0;u<r.length;u++){const h=r[u];n[h]=Mo(o,a,h,f[h],e,!ge(f,h))}}return i}function Mo(e,t,n,s,o,r){const i=e[n];if(i!=null){const l=ge(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&le(a)){const{propsDefaults:f}=o;if(n in f)s=f[n];else{const u=Mr(o);s=f[n]=a.call(null,t),u()}}else s=a}i[0]&&(r&&!l?s=!1:i[1]&&(s===""||s===rr(n))&&(s=!0))}return s}function Su(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},l=[];let a=!1;if(!le(e)){const u=h=>{a=!0;const[d,c]=Su(h,t,!0);He(i,d),c&&l.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return Le(e)&&s.set(e,Hn),Hn;if(oe(r))for(let u=0;u<r.length;u++){const h=Ot(r[u]);Ta(h)&&(i[h]=Re)}else if(r)for(const u in r){const h=Ot(u);if(Ta(h)){const d=r[u],c=i[h]=oe(d)||le(d)?{type:d}:He({},d);if(c){const p=ka(Boolean,c.type),g=ka(String,c.type);c[0]=p>-1,c[1]=g<0||p<g,(p>-1||ge(c,"default"))&&l.push(h)}}}const f=[i,l];return Le(e)&&s.set(e,f),f}function Ta(e){return e[0]!=="$"&&!Un(e)}function La(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ra(e,t){return La(e)===La(t)}function ka(e,t){return oe(t)?t.findIndex(n=>Ra(n,e)):le(t)&&Ra(t,e)?0:-1}const Cu=e=>e[0]==="_"||e==="$stable",Fi=e=>oe(e)?e.map(pt):[pt(e)],Qh=(e,t,n)=>{if(t._n)return t;const s=ln((...o)=>Fi(t(...o)),n);return s._c=!1,s},bu=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Cu(o))continue;const r=e[o];if(le(r))t[o]=Qh(o,r,s);else if(r!=null){const i=Fi(r);t[o]=()=>i}}},Pu=(e,t)=>{const n=Fi(t);e.slots.default=()=>n},zh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=me(t),us(t,"_",n)):bu(t,e.slots={})}else e.slots={},t&&Pu(e,t);us(e.slots,Hs,1)},Zh=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Re;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(He(o,t),!n&&l===1&&delete o._):(r=!t.$stable,bu(t,o)),i=t}else t&&(Pu(e,t),i={default:1});if(r)for(const l in o)!Cu(l)&&i[l]==null&&delete o[l]};function vs(e,t,n,s,o=!1){if(oe(e)){e.forEach((d,c)=>vs(d,t&&(oe(t)?t[c]:t),n,s,o));return}if(En(s)&&!o)return;const r=s.shapeFlag&4?Vs(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:a}=e,f=t&&t.r,u=l.refs===Re?l.refs={}:l.refs,h=l.setupState;if(f!=null&&f!==a&&(Oe(f)?(u[f]=null,ge(h,f)&&(h[f]=null)):$e(f)&&(f.value=null)),le(a))rn(a,l,12,[i,u]);else{const d=Oe(a),c=$e(a);if(d||c){const p=()=>{if(e.f){const g=d?ge(h,a)?h[a]:u[a]:a.value;o?oe(g)&&gi(g,r):oe(g)?g.includes(r)||g.push(r):d?(u[a]=[r],ge(h,a)&&(h[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ge(h,a)&&(h[a]=i)):c&&(a.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,Ve(p,n)):p()}}}let Kt=!1;const ep=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",tp=e=>e.namespaceURI.includes("MathML"),qr=e=>{if(ep(e))return"svg";if(tp(e))return"mathml"},Qr=e=>e.nodeType===8;function np(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:l,insert:a,createComment:f}}=e,u=(E,_)=>{if(!_.hasChildNodes()){n(null,E,_),hs(),_._vnode=E;return}Kt=!1,h(_.firstChild,E,null,null,null),hs(),_._vnode=E,Kt&&console.error("Hydration completed but contains mismatches.")},h=(E,_,m,x,P,b=!1)=>{const T=Qr(E)&&E.data==="[",L=()=>g(E,_,m,x,P,T),{type:A,ref:R,shapeFlag:O,patchFlag:U}=_;let H=E.nodeType;_.el=E,U===-2&&(b=!1,_.dynamicChildren=null);let $=null;switch(A){case Cn:H!==3?_.children===""?(a(_.el=o(""),i(E),E),$=E):$=L():(E.data!==_.children&&(Kt=!0,E.data=_.children),$=r(E));break;case Ze:S(E)?($=r(E),v(_.el=E.content.firstChild,E,m)):H!==8||T?$=L():$=r(E);break;case ss:if(T&&(E=r(E),H=E.nodeType),H===1||H===3){$=E;const V=!_.children.length;for(let W=0;W<_.staticCount;W++)V&&(_.children+=$.nodeType===1?$.outerHTML:$.data),W===_.staticCount-1&&(_.anchor=$),$=r($);return T?r($):$}else L();break;case Xe:T?$=p(E,_,m,x,P,b):$=L();break;default:if(O&1)(H!==1||_.type.toLowerCase()!==E.tagName.toLowerCase())&&!S(E)?$=L():$=d(E,_,m,x,P,b);else if(O&6){_.slotScopeIds=P;const V=i(E);if(T?$=y(E):Qr(E)&&E.data==="teleport start"?$=y(E,E.data,"teleport end"):$=r(E),t(_,V,null,m,x,qr(V),b),En(_)){let W;T?(W=Ie(Xe),W.anchor=$?$.previousSibling:V.lastChild):W=E.nodeType===3?Bs(""):Ie("div"),W.el=E,_.component.subTree=W}}else O&64?H!==8?$=L():$=_.type.hydrate(E,_,m,x,P,b,e,c):O&128&&($=_.type.hydrate(E,_,m,x,qr(i(E)),P,b,e,h))}return R!=null&&vs(R,null,x,_),$},d=(E,_,m,x,P,b)=>{b=b||!!_.dynamicChildren;const{type:T,props:L,patchFlag:A,shapeFlag:R,dirs:O,transition:U}=_,H=T==="input"||T==="option";if(H||A!==-1){O&&Rt(_,null,m,"created");let $=!1;if(S(E)){$=Lu(x,U)&&m&&m.vnode.props&&m.vnode.props.appear;const W=E.content.firstChild;$&&U.beforeEnter(W),v(W,E,m),_.el=E=W}if(R&16&&!(L&&(L.innerHTML||L.textContent))){let W=c(E.firstChild,_,E,m,x,P,b);for(;W;){Kt=!0;const ae=W;W=W.nextSibling,l(ae)}}else R&8&&E.textContent!==_.children&&(Kt=!0,E.textContent=_.children);if(L)if(H||!b||A&48)for(const W in L)(H&&(W.endsWith("value")||W==="indeterminate")||kr(W)&&!Un(W)||W[0]===".")&&s(E,W,null,L[W],void 0,void 0,m);else L.onClick&&s(E,"onClick",null,L.onClick,void 0,void 0,m);let V;(V=L&&L.onVnodeBeforeMount)&&tt(V,m,_),O&&Rt(_,null,m,"beforeMount"),((V=L&&L.onVnodeMounted)||O||$)&&lu(()=>{V&&tt(V,m,_),$&&U.enter(E),O&&Rt(_,null,m,"mounted")},x)}return E.nextSibling},c=(E,_,m,x,P,b,T)=>{T=T||!!_.dynamicChildren;const L=_.children,A=L.length;for(let R=0;R<A;R++){const O=T?L[R]:L[R]=pt(L[R]);if(E)E=h(E,O,x,P,b,T);else{if(O.type===Cn&&!O.children)continue;Kt=!0,n(null,O,m,null,x,P,qr(m),b)}}return E},p=(E,_,m,x,P,b)=>{const{slotScopeIds:T}=_;T&&(P=P?P.concat(T):T);const L=i(E),A=c(r(E),_,L,m,x,P,b);return A&&Qr(A)&&A.data==="]"?r(_.anchor=A):(Kt=!0,a(_.anchor=f("]"),L,A),A)},g=(E,_,m,x,P,b)=>{if(Kt=!0,_.el=null,b){const A=y(E);for(;;){const R=r(E);if(R&&R!==A)l(R);else break}}const T=r(E),L=i(E);return l(E),n(null,_,L,T,m,x,qr(L),P),T},y=(E,_="[",m="]")=>{let x=0;for(;E;)if(E=r(E),E&&Qr(E)&&(E.data===_&&x++,E.data===m)){if(x===0)return r(E);x--}return E},v=(E,_,m)=>{const x=_.parentNode;x&&x.replaceChild(E,_);let P=m;for(;P;)P.vnode.el===_&&(P.vnode.el=P.subTree.el=E),P=P.parent},S=E=>E.nodeType===1&&E.tagName.toLowerCase()==="template";return[u,h]}const Ve=lu;function rp(e){return Tu(e)}function sp(e){return Tu(e,np)}function Tu(e,t){const n=Ac();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=mt,insertStaticContent:p}=e,g=(w,C,k,I=null,N=null,B=null,G=void 0,K=null,Y=!!C.dynamicChildren)=>{if(w===C)return;w&&!St(w,C)&&(I=D(w),re(w,N,B,!0),w=null),C.patchFlag===-2&&(Y=!1,C.dynamicChildren=null);const{type:j,ref:z,shapeFlag:te}=C;switch(j){case Cn:y(w,C,k,I);break;case Ze:v(w,C,k,I);break;case ss:w==null&&S(C,k,I,G);break;case Xe:R(w,C,k,I,N,B,G,K,Y);break;default:te&1?m(w,C,k,I,N,B,G,K,Y):te&6?O(w,C,k,I,N,B,G,K,Y):(te&64||te&128)&&j.process(w,C,k,I,N,B,G,K,Y,Z)}z!=null&&N&&vs(z,w&&w.ref,B,C||w,!C)},y=(w,C,k,I)=>{if(w==null)s(C.el=l(C.children),k,I);else{const N=C.el=w.el;C.children!==w.children&&f(N,C.children)}},v=(w,C,k,I)=>{w==null?s(C.el=a(C.children||""),k,I):C.el=w.el},S=(w,C,k,I)=>{[w.el,w.anchor]=p(w.children,C,k,I,w.el,w.anchor)},E=({el:w,anchor:C},k,I)=>{let N;for(;w&&w!==C;)N=d(w),s(w,k,I),w=N;s(C,k,I)},_=({el:w,anchor:C})=>{let k;for(;w&&w!==C;)k=d(w),o(w),w=k;o(C)},m=(w,C,k,I,N,B,G,K,Y)=>{C.type==="svg"?G="svg":C.type==="math"&&(G="mathml"),w==null?x(C,k,I,N,B,G,K,Y):T(w,C,N,B,G,K,Y)},x=(w,C,k,I,N,B,G,K)=>{let Y,j;const{props:z,shapeFlag:te,transition:q,dirs:M}=w;if(Y=w.el=i(w.type,B,z&&z.is,z),te&8?u(Y,w.children):te&16&&b(w.children,Y,null,I,N,fo(w,B),G,K),M&&Rt(w,null,I,"created"),P(Y,w,w.scopeId,G,I),z){for(const ee in z)ee!=="value"&&!Un(ee)&&r(Y,ee,null,z[ee],B,w.children,I,N,ce);"value"in z&&r(Y,"value",null,z.value,B),(j=z.onVnodeBeforeMount)&&tt(j,I,w)}M&&Rt(w,null,I,"beforeMount");const F=Lu(N,q);F&&q.beforeEnter(Y),s(Y,C,k),((j=z&&z.onVnodeMounted)||F||M)&&Ve(()=>{j&&tt(j,I,w),F&&q.enter(Y),M&&Rt(w,null,I,"mounted")},N)},P=(w,C,k,I,N)=>{if(k&&c(w,k),I)for(let B=0;B<I.length;B++)c(w,I[B]);if(N){let B=N.subTree;if(C===B){const G=N.vnode;P(w,G,G.scopeId,G.slotScopeIds,N.parent)}}},b=(w,C,k,I,N,B,G,K,Y=0)=>{for(let j=Y;j<w.length;j++){const z=w[j]=K?zt(w[j]):pt(w[j]);g(null,z,C,k,I,N,B,G,K)}},T=(w,C,k,I,N,B,G)=>{const K=C.el=w.el;let{patchFlag:Y,dynamicChildren:j,dirs:z}=C;Y|=w.patchFlag&16;const te=w.props||Re,q=C.props||Re;let M;if(k&&dn(k,!1),(M=q.onVnodeBeforeUpdate)&&tt(M,k,C,w),z&&Rt(C,w,k,"beforeUpdate"),k&&dn(k,!0),j?L(w.dynamicChildren,j,K,k,I,fo(C,N),B):G||W(w,C,K,null,k,I,fo(C,N),B,!1),Y>0){if(Y&16)A(K,C,te,q,k,I,N);else if(Y&2&&te.class!==q.class&&r(K,"class",null,q.class,N),Y&4&&r(K,"style",te.style,q.style,N),Y&8){const F=C.dynamicProps;for(let ee=0;ee<F.length;ee++){const ie=F[ee],Te=te[ie],Ke=q[ie];(Ke!==Te||ie==="value")&&r(K,ie,Te,Ke,N,w.children,k,I,ce)}}Y&1&&w.children!==C.children&&u(K,C.children)}else!G&&j==null&&A(K,C,te,q,k,I,N);((M=q.onVnodeUpdated)||z)&&Ve(()=>{M&&tt(M,k,C,w),z&&Rt(C,w,k,"updated")},I)},L=(w,C,k,I,N,B,G)=>{for(let K=0;K<C.length;K++){const Y=w[K],j=C[K],z=Y.el&&(Y.type===Xe||!St(Y,j)||Y.shapeFlag&70)?h(Y.el):k;g(Y,j,z,null,I,N,B,G,!0)}},A=(w,C,k,I,N,B,G)=>{if(k!==I){if(k!==Re)for(const K in k)!Un(K)&&!(K in I)&&r(w,K,k[K],null,G,C.children,N,B,ce);for(const K in I){if(Un(K))continue;const Y=I[K],j=k[K];Y!==j&&K!=="value"&&r(w,K,j,Y,G,C.children,N,B,ce)}"value"in I&&r(w,"value",k.value,I.value,G)}},R=(w,C,k,I,N,B,G,K,Y)=>{const j=C.el=w?w.el:l(""),z=C.anchor=w?w.anchor:l("");let{patchFlag:te,dynamicChildren:q,slotScopeIds:M}=C;M&&(K=K?K.concat(M):M),w==null?(s(j,k,I),s(z,k,I),b(C.children||[],k,z,N,B,G,K,Y)):te>0&&te&64&&q&&w.dynamicChildren?(L(w.dynamicChildren,q,k,N,B,G,K),(C.key!=null||N&&C===N.subTree)&&Ru(w,C,!0)):W(w,C,k,z,N,B,G,K,Y)},O=(w,C,k,I,N,B,G,K,Y)=>{C.slotScopeIds=K,w==null?C.shapeFlag&512?N.ctx.activate(C,k,I,G,Y):U(C,k,I,N,B,G,Y):H(w,C,Y)},U=(w,C,k,I,N,B,G)=>{const K=w.component=fp(w,I,N);if(Fs(w)&&(K.ctx.renderer=Z),dp(K),K.asyncDep){if(N&&N.registerDep(K,$),!w.el){const Y=K.subTree=Ie(Ze);v(null,Y,C,k)}}else $(K,w,C,k,N,B,G)},H=(w,C,k)=>{const I=C.component=w.component;if(vh(w,C,k))if(I.asyncDep&&!I.asyncResolved){V(I,C,k);return}else I.next=C,fh(I.update),I.effect.dirty=!0,I.update();else C.el=w.el,I.vnode=C},$=(w,C,k,I,N,B,G)=>{const K=()=>{if(w.isMounted){let{next:z,bu:te,u:q,parent:M,vnode:F}=w;{const at=ku(w);if(at){z&&(z.el=F.el,V(w,z,G)),at.asyncDep.then(()=>{w.isUnmounted||K()});return}}let ee=z,ie;dn(w,!1),z?(z.el=F.el,V(w,z,G)):z=F,te&&ur(te),(ie=z.props&&z.props.onVnodeBeforeUpdate)&&tt(ie,M,z,F),dn(w,!0);const Te=io(w),Ke=w.subTree;w.subTree=Te,g(Ke,Te,h(Ke.el),D(Ke),w,N,B),z.el=Te.el,ee===null&&ki(w,Te.el),q&&Ve(q,N),(ie=z.props&&z.props.onVnodeUpdated)&&Ve(()=>tt(ie,M,z,F),N)}else{let z;const{el:te,props:q}=C,{bm:M,m:F,parent:ee}=w,ie=En(C);if(dn(w,!1),M&&ur(M),!ie&&(z=q&&q.onVnodeBeforeMount)&&tt(z,ee,C),dn(w,!0),te&&_e){const Te=()=>{w.subTree=io(w),_e(te,w.subTree,w,N,null)};ie?C.type.__asyncLoader().then(()=>!w.isUnmounted&&Te()):Te()}else{const Te=w.subTree=io(w);g(null,Te,k,I,w,N,B),C.el=Te.el}if(F&&Ve(F,N),!ie&&(z=q&&q.onVnodeMounted)){const Te=C;Ve(()=>tt(z,ee,Te),N)}(C.shapeFlag&256||ee&&En(ee.vnode)&&ee.vnode.shapeFlag&256)&&w.a&&Ve(w.a,N),w.isMounted=!0,C=k=I=null}},Y=w.effect=new xi(K,mt,()=>Ri(j),w.scope),j=w.update=()=>{Y.dirty&&Y.run()};j.id=w.uid,dn(w,!0),j()},V=(w,C,k)=>{C.component=w;const I=w.vnode.props;w.vnode=C,w.next=null,qh(w,C.props,I,k),Zh(w,C.children,k),Pn(),ya(w),Tn()},W=(w,C,k,I,N,B,G,K,Y=!1)=>{const j=w&&w.children,z=w?w.shapeFlag:0,te=C.children,{patchFlag:q,shapeFlag:M}=C;if(q>0){if(q&128){de(j,te,k,I,N,B,G,K,Y);return}else if(q&256){ae(j,te,k,I,N,B,G,K,Y);return}}M&8?(z&16&&ce(j,N,B),te!==j&&u(k,te)):z&16?M&16?de(j,te,k,I,N,B,G,K,Y):ce(j,N,B,!0):(z&8&&u(k,""),M&16&&b(te,k,I,N,B,G,K,Y))},ae=(w,C,k,I,N,B,G,K,Y)=>{w=w||Hn,C=C||Hn;const j=w.length,z=C.length,te=Math.min(j,z);let q;for(q=0;q<te;q++){const M=C[q]=Y?zt(C[q]):pt(C[q]);g(w[q],M,k,null,N,B,G,K,Y)}j>z?ce(w,N,B,!0,!1,te):b(C,k,I,N,B,G,K,Y,te)},de=(w,C,k,I,N,B,G,K,Y)=>{let j=0;const z=C.length;let te=w.length-1,q=z-1;for(;j<=te&&j<=q;){const M=w[j],F=C[j]=Y?zt(C[j]):pt(C[j]);if(St(M,F))g(M,F,k,null,N,B,G,K,Y);else break;j++}for(;j<=te&&j<=q;){const M=w[te],F=C[q]=Y?zt(C[q]):pt(C[q]);if(St(M,F))g(M,F,k,null,N,B,G,K,Y);else break;te--,q--}if(j>te){if(j<=q){const M=q+1,F=M<z?C[M].el:I;for(;j<=q;)g(null,C[j]=Y?zt(C[j]):pt(C[j]),k,F,N,B,G,K,Y),j++}}else if(j>q)for(;j<=te;)re(w[j],N,B,!0),j++;else{const M=j,F=j,ee=new Map;for(j=F;j<=q;j++){const lt=C[j]=Y?zt(C[j]):pt(C[j]);lt.key!=null&&ee.set(lt.key,j)}let ie,Te=0;const Ke=q-F+1;let at=!1,Vr=0;const Rn=new Array(Ke);for(j=0;j<Ke;j++)Rn[j]=0;for(j=M;j<=te;j++){const lt=w[j];if(Te>=Ke){re(lt,N,B,!0);continue}let Pt;if(lt.key!=null)Pt=ee.get(lt.key);else for(ie=F;ie<=q;ie++)if(Rn[ie-F]===0&&St(lt,C[ie])){Pt=ie;break}Pt===void 0?re(lt,N,B,!0):(Rn[Pt-F]=j+1,Pt>=Vr?Vr=Pt:at=!0,g(lt,C[Pt],k,null,N,B,G,K,Y),Te++)}const la=at?op(Rn):Hn;for(ie=la.length-1,j=Ke-1;j>=0;j--){const lt=F+j,Pt=C[lt],ca=lt+1<z?C[lt+1].el:I;Rn[j]===0?g(null,Pt,k,ca,N,B,G,K,Y):at&&(ie<0||j!==la[ie]?fe(Pt,k,ca,2):ie--)}}},fe=(w,C,k,I,N=null)=>{const{el:B,type:G,transition:K,children:Y,shapeFlag:j}=w;if(j&6){fe(w.component.subTree,C,k,I);return}if(j&128){w.suspense.move(C,k,I);return}if(j&64){G.move(w,C,k,Z);return}if(G===Xe){s(B,C,k);for(let te=0;te<Y.length;te++)fe(Y[te],C,k,I);s(w.anchor,C,k);return}if(G===ss){E(w,C,k);return}if(I!==2&&j&1&&K)if(I===0)K.beforeEnter(B),s(B,C,k),Ve(()=>K.enter(B),N);else{const{leave:te,delayLeave:q,afterLeave:M}=K,F=()=>s(B,C,k),ee=()=>{te(B,()=>{F(),M&&M()})};q?q(B,F,ee):ee()}else s(B,C,k)},re=(w,C,k,I=!1,N=!1)=>{const{type:B,props:G,ref:K,children:Y,dynamicChildren:j,shapeFlag:z,patchFlag:te,dirs:q}=w;if(K!=null&&vs(K,null,k,w,!0),z&256){C.ctx.deactivate(w);return}const M=z&1&&q,F=!En(w);let ee;if(F&&(ee=G&&G.onVnodeBeforeUnmount)&&tt(ee,C,w),z&6)De(w.component,k,I);else{if(z&128){w.suspense.unmount(k,I);return}M&&Rt(w,null,C,"beforeUnmount"),z&64?w.type.remove(w,C,k,N,Z,I):j&&(B!==Xe||te>0&&te&64)?ce(j,C,k,!1,!0):(B===Xe&&te&384||!N&&z&16)&&ce(Y,C,k),I&&Se(w)}(F&&(ee=G&&G.onVnodeUnmounted)||M)&&Ve(()=>{ee&&tt(ee,C,w),M&&Rt(w,null,C,"unmounted")},k)},Se=w=>{const{type:C,el:k,anchor:I,transition:N}=w;if(C===Xe){ye(k,I);return}if(C===ss){_(w);return}const B=()=>{o(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(w.shapeFlag&1&&N&&!N.persisted){const{leave:G,delayLeave:K}=N,Y=()=>G(k,B);K?K(w.el,B,Y):Y()}else B()},ye=(w,C)=>{let k;for(;w!==C;)k=d(w),o(w),w=k;o(C)},De=(w,C,k)=>{const{bum:I,scope:N,update:B,subTree:G,um:K}=w;I&&ur(I),N.stop(),B&&(B.active=!1,re(G,w,C,k)),K&&Ve(K,C),Ve(()=>{w.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},ce=(w,C,k,I=!1,N=!1,B=0)=>{for(let G=B;G<w.length;G++)re(w[G],C,k,I,N)},D=w=>w.shapeFlag&6?D(w.component.subTree):w.shapeFlag&128?w.suspense.next():d(w.anchor||w.el);let X=!1;const J=(w,C,k)=>{w==null?C._vnode&&re(C._vnode,null,null,!0):g(C._vnode||null,w,C,null,null,null,k),X||(X=!0,ya(),hs(),X=!1),C._vnode=w},Z={p:g,um:re,m:fe,r:Se,mt:U,mc:b,pc:W,pbc:L,n:D,o:e};let ue,_e;return t&&([ue,_e]=t(Z)),{render:J,hydrate:ue,createApp:Yh(J,ue)}}function fo({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 dn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ru(e,t,n=!1){const s=e.children,o=t.children;if(oe(s)&&oe(o))for(let r=0;r<s.length;r++){const i=s[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=zt(o[r]),l.el=i.el),n||Ru(i,l)),l.type===Cn&&(l.el=i.el)}}function op(e){const t=e.slice(),n=[0];let s,o,r,i,l;const a=e.length;for(s=0;s<a;s++){const f=e[s];if(f!==0){if(o=n[n.length-1],e[o]<f){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<f?r=l+1:i=l;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function ku(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ku(t)}const ip=e=>e.__isTeleport,Xe=Symbol.for("v-fgt"),Cn=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),ss=Symbol.for("v-stc"),hr=[];let vt=null;function Ee(e=!1){hr.push(vt=e?null:[])}function Au(){hr.pop(),vt=hr[hr.length-1]||null}let Xn=1;function Aa(e){Xn+=e}function Iu(e){return e.dynamicChildren=Xn>0?vt||Hn:null,Au(),Xn>0&&vt&&vt.push(e),e}function ot(e,t,n,s,o,r){return Iu(se(e,t,n,s,o,r,!0))}function Ye(e,t,n,s,o){return Iu(Ie(e,t,n,s,o,!0))}function Yn(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Hs="__vInternal",Ou=({key:e})=>e??null,os=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||$e(e)||le(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,s=0,o=null,r=e===Xe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ou(t),ref:t&&os(t),scopeId:su,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Fe};return l?($i(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Oe(n)?8:16),Xn>0&&!i&&vt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&vt.push(a),a}const Ie=ap;function ap(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===ou)&&(e=Ze),Yn(e)){const l=Ut(e,t,!0);return n&&$i(l,n),Xn>0&&!r&&vt&&(l.shapeFlag&6?vt[vt.indexOf(e)]=l:vt.push(l)),l.patchFlag|=-2,l}if(mp(e)&&(e=e.__vccOpts),t){t=lp(t);let{class:l,style:a}=t;l&&!Oe(l)&&(t.class=Ns(l)),Le(a)&&(Yc(a)&&!oe(a)&&(a=He({},a)),t.style=vi(a))}const i=Oe(e)?1:au(e)?128:ip(e)?64:Le(e)?4:le(e)?2:0;return se(e,t,n,s,o,i,r,!0)}function lp(e){return e?Yc(e)||Hs in e?He({},e):e:null}function Ut(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?Nu(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ou(l),ref:t&&t.ref?n&&o?oe(o)?o.concat(os(t)):[o,os(t)]:os(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bs(e=" ",t=0){return Ie(Cn,null,e,t)}function nt(e="",t=!1){return t?(Ee(),Ye(Ze,null,e)):Ie(Ze,null,e)}function pt(e){return e==null||typeof e=="boolean"?Ie(Ze):oe(e)?Ie(Xe,null,e.slice()):typeof e=="object"?zt(e):Ie(Cn,null,String(e))}function zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function $i(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),$i(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Hs in t)?t._ctx=Fe:o===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),s&64?(n=16,t=[Bs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nu(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Ns([t.class,s.class]));else if(o==="style")t.style=vi([t.style,s.style]);else if(kr(o)){const r=t[o],i=s[o];i&&r!==i&&!(oe(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function tt(e,t,n,s=null){yt(e,t,7,[n,s])}const cp=xu();let up=0;function fp(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||cp,r={uid:up++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Nc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Su(s,o),emitsOptions:ru(s,o),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:s.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=hh.bind(null,r),e.ce&&e.ce(r),r}let Be=null;const Ln=()=>Be||Fe;let ys,Do;{const e=Ac(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};ys=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),Do=t("__VUE_SSR_SETTERS__",n=>Us=n)}const Mr=e=>{const t=Be;return ys(e),e.scope.on(),()=>{e.scope.off(),ys(t)}},Ia=()=>{Be&&Be.scope.off(),ys(null)};function Mu(e){return e.vnode.shapeFlag&4}let Us=!1;function dp(e,t=!1){t&&Do(t);const{props:n,children:s}=e.vnode,o=Mu(e);Jh(e,n,o,t),zh(e,s);const r=o?hp(e,t):void 0;return t&&Do(!1),r}function hp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Jc(new Proxy(e.ctx,Uh));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?gp(e):null,r=Mr(e);Pn();const i=rn(s,e,0,[e.props,o]);if(Tn(),r(),Tc(i)){if(i.then(Ia,Ia),t)return i.then(l=>{Fo(e,l,t)}).catch(l=>{Or(l,e,0)});e.asyncDep=i}else Fo(e,i,t)}else Du(e,t)}function Fo(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=zc(t)),Du(e,n)}let Oa;function Du(e,t,n){const s=e.type;if(!e.render){if(!t&&Oa&&!s.render){const o=s.template||Di(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,f=He(He({isCustomElement:r,delimiters:l},i),a);s.render=Oa(o,f)}}e.render=s.render||mt}{const o=Mr(e);Pn();try{Vh(e)}finally{Tn(),o()}}}function pp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return it(e,"get","$attrs"),t[n]}}))}function gp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return pp(e)},slots:e.slots,emit:e.emit,expose:t}}function Vs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zc(Jc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dr)return dr[n](e)},has(t,n){return n in t||n in dr}}))}function $o(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function mp(e){return le(e)&&"__vccOpts"in e}const Pe=(e,t)=>th(e,t,Us);function je(e,t,n){const s=arguments.length;return s===2?Le(t)&&!oe(t)?Yn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Yn(n)&&(n=[n]),Ie(e,t,n))}const Fu="3.4.21";/**
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const vp="http://www.w3.org/2000/svg",yp="http://www.w3.org/1998/Math/MathML",Zt=typeof document<"u"?document:null,Na=Zt&&Zt.createElement("template"),_p={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?Zt.createElementNS(vp,e):t==="mathml"?Zt.createElementNS(yp,e):Zt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Zt.createTextNode(e),createComment:e=>Zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Na.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Na.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gt="transition",sr="animation",Sr=Symbol("_vtc"),js=(e,{slots:t})=>je(Ih,xp(e),t);js.displayName="Transition";const $u={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};js.props=He({},uu,$u);const hn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ma=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function xp(e){const t={};for(const R in e)R in $u||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=Ep(o),g=p&&p[0],y=p&&p[1],{onBeforeEnter:v,onEnter:S,onEnterCancelled:E,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=v,onAppear:P=S,onAppearCancelled:b=E}=t,T=(R,O,U)=>{pn(R,O?u:l),pn(R,O?f:i),U&&U()},L=(R,O)=>{R._isLeaving=!1,pn(R,h),pn(R,c),pn(R,d),O&&O()},A=R=>(O,U)=>{const H=R?P:S,$=()=>T(O,R,U);hn(H,[O,$]),Da(()=>{pn(O,R?a:r),Xt(O,R?u:l),Ma(H)||Fa(O,s,g,$)})};return He(t,{onBeforeEnter(R){hn(v,[R]),Xt(R,r),Xt(R,i)},onBeforeAppear(R){hn(x,[R]),Xt(R,a),Xt(R,f)},onEnter:A(!1),onAppear:A(!0),onLeave(R,O){R._isLeaving=!0;const U=()=>L(R,O);Xt(R,h),Cp(),Xt(R,d),Da(()=>{R._isLeaving&&(pn(R,h),Xt(R,c),Ma(_)||Fa(R,s,y,U))}),hn(_,[R,U])},onEnterCancelled(R){T(R,!1),hn(E,[R])},onAppearCancelled(R){T(R,!0),hn(b,[R])},onLeaveCancelled(R){L(R),hn(m,[R])}})}function Ep(e){if(e==null)return null;if(Le(e))return[ho(e.enter),ho(e.leave)];{const t=ho(e);return[t,t]}}function ho(e){return kc(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Sr]||(e[Sr]=new Set)).add(t)}function pn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Sr];n&&(n.delete(t),n.size||(e[Sr]=void 0))}function Da(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wp=0;function Fa(e,t,n,s){const o=e._endId=++wp,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:a}=Sp(e,t);if(!i)return s();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,d),r()},d=c=>{c.target===e&&++u>=a&&h()};setTimeout(()=>{u<a&&h()},l+1),e.addEventListener(f,d)}function Sp(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${Gt}Delay`),r=s(`${Gt}Duration`),i=$a(o,r),l=s(`${sr}Delay`),a=s(`${sr}Duration`),f=$a(l,a);let u=null,h=0,d=0;t===Gt?i>0&&(u=Gt,h=i,d=r.length):t===sr?f>0&&(u=sr,h=f,d=a.length):(h=Math.max(i,f),u=h>0?i>f?Gt:sr:null,d=u?u===Gt?r.length:a.length:0);const c=u===Gt&&/\b(transform|all)(,|$)/.test(s(`${Gt}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function $a(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ha(n)+Ha(e[s])))}function Ha(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Cp(){return document.body.offsetHeight}function bp(e,t,n){const s=e[Sr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _s=Symbol("_vod"),Hu=Symbol("_vsh"),PE={beforeMount(e,{value:t},{transition:n}){e[_s]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):or(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),or(e,!0),s.enter(e)):s.leave(e,()=>{or(e,!1)}):or(e,t))},beforeUnmount(e,{value:t}){or(e,t)}};function or(e,t){e.style.display=t?e[_s]:"none",e[Hu]=!t}const Pp=Symbol(""),Tp=/(^|;)\s*display\s*:/;function Lp(e,t,n){const s=e.style,o=Oe(n);let r=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&is(s,l,"")}else for(const i in t)n[i]==null&&is(s,i,"");for(const i in n)i==="display"&&(r=!0),is(s,i,n[i])}else if(o){if(t!==n){const i=s[Pp];i&&(n+=";"+i),s.cssText=n,r=Tp.test(n)}}else t&&e.removeAttribute("style");_s in e&&(e[_s]=r?s.display:"",e[Hu]&&(s.display="none"))}const Ba=/\s*!important$/;function is(e,t,n){if(oe(n))n.forEach(s=>is(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Rp(e,t);Ba.test(n)?e.setProperty(rr(s),n.replace(Ba,""),"important"):e[s]=n}}const Ua=["Webkit","Moz","ms"],po={};function Rp(e,t){const n=po[t];if(n)return n;let s=Ot(t);if(s!=="filter"&&s in e)return po[t]=s;s=Os(s);for(let o=0;o<Ua.length;o++){const r=Ua[o]+s;if(r in e)return po[t]=r}return t}const Va="http://www.w3.org/1999/xlink";function kp(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Va,t.slice(6,t.length)):e.setAttributeNS(Va,t,n);else{const r=Od(t);n==null||r&&!Ic(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function Ap(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const f=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(f!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Ic(n):n==null&&f==="string"?(n="",a=!0):f==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Ip(e,t,n,s){e.addEventListener(t,n,s)}function Op(e,t,n,s){e.removeEventListener(t,n,s)}const ja=Symbol("_vei");function Np(e,t,n,s,o=null){const r=e[ja]||(e[ja]={}),i=r[t];if(s&&i)i.value=s;else{const[l,a]=Mp(t);if(s){const f=r[t]=$p(s,o);Ip(e,l,f,a)}else i&&(Op(e,l,i,a),r[t]=void 0)}}const Wa=/(?:Once|Passive|Capture)$/;function Mp(e){let t;if(Wa.test(e)){t={};let s;for(;s=e.match(Wa);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rr(e.slice(2)),t]}let go=0;const Dp=Promise.resolve(),Fp=()=>go||(Dp.then(()=>go=0),go=Date.now());function $p(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;yt(Hp(s,n.value),t,5,[s])};return n.value=e,n.attached=Fp(),n}function Hp(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Ka=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Bp=(e,t,n,s,o,r,i,l,a)=>{const f=o==="svg";t==="class"?bp(e,s,f):t==="style"?Lp(e,n,s):kr(t)?pi(t)||Np(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Up(e,t,s,f))?Ap(e,t,s,r,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kp(e,t,s,f))};function Up(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ka(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ka(t)&&Oe(n)?!1:t in e}const Bu=He({patchProp:Bp},_p);let pr,Ga=!1;function Vp(){return pr||(pr=rp(Bu))}function jp(){return pr=Ga?pr:sp(Bu),Ga=!0,pr}const Wp=(...e)=>{const t=Vp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Vu(s);if(!o)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Uu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Kp=(...e)=>{const t=jp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Vu(s);if(o)return n(o,!0,Uu(o))},t};function Uu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vu(e){return Oe(e)?document.querySelector(e):e}const Gp=/#/g,Xp=/&/g,Yp=/\//g,Jp=/=/g,Hi=/\+/g,qp=/%5e/gi,Qp=/%60/gi,zp=/%7c/gi,Zp=/%20/gi;function eg(e){return encodeURI(""+e).replace(zp,"|")}function Ho(e){return eg(typeof e=="string"?e:JSON.stringify(e)).replace(Hi,"%2B").replace(Zp,"+").replace(Gp,"%23").replace(Xp,"%26").replace(Qp,"`").replace(qp,"^").replace(Yp,"%2F")}function mo(e){return Ho(e).replace(Jp,"%3D")}function xs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function tg(e){return xs(e.replace(Hi," "))}function ng(e){return xs(e.replace(Hi," "))}function Bi(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=tg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=ng(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function rg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${mo(e)}=${Ho(n)}`).join("&"):`${mo(e)}=${Ho(t)}`:mo(e)}function sg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>rg(t,e[t])).filter(Boolean).join("&")}const og=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ig=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ag=/^([/\\]\s*){2,}[^/\\]/,lg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,cg=/\/$|\/\?|\/#/,ug=/^\.?\//;function Et(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?og.test(e):ig.test(e)||(t.acceptRelative?ag.test(e):!1)}function fg(e){return!!e&&lg.test(e)}function Bo(e="",t){return t?cg.test(e):e.endsWith("/")}function Dr(e="",t){if(!t)return(Bo(e)?e.slice(0,-1):e)||"/";if(!Bo(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Cr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Bo(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function dg(e=""){return e.startsWith("/")}function Xa(e=""){return dg(e)?e:"/"+e}function hg(e,t){if(Wu(t)||Et(e))return e;const n=Dr(t);return e.startsWith(n)?e:Fr(n,e)}function Ya(e,t){if(Wu(t))return e;const n=Dr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function ju(e,t){const n=$r(e),s={...Bi(n.search),...t};return n.search=sg(s),gg(n)}function Wu(e){return!e||e==="/"}function pg(e){return e&&e!=="/"}function Fr(e,...t){let n=e||"";for(const s of t.filter(o=>pg(o)))if(n){const o=s.replace(ug,"");n=Cr(n)+o}else n=s;return n}function Ku(...e){var i,l,a,f;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[h,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(s.length===1&&Et(s[0]))continue;s.pop(),o--;continue}if(h===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+d;continue}s.push(d),o++}}let r=s.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!r.startsWith("/")?r="/"+r:(a=n[0])!=null&&a.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*o)+r,(f=n[n.length-1])!=null&&f.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function Uo(e,t,n={}){return n.trailingSlash||(e=Cr(e),t=Cr(t)),n.leadingSlash||(e=Xa(e),t=Xa(t)),n.encoding||(e=xs(e),t=xs(t)),e===t}const Gu=Symbol.for("ufo:protocolRelative");function $r(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(!Et(e,{acceptRelative:!0}))return t?$r(t+e):Vo(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",l=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:f,hash:u}=Vo(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:a,search:f,hash:u,[Gu]:!s}}function Vo(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function gg(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[Gu]?(e.protocol||"")+"//":"")+o+r+t+n+s}const mg=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Es=mg().app,vg=()=>Es.baseURL,yg=()=>Es.buildAssetsDir,Ui=(...e)=>Ku(Xu(),yg(),...e),Xu=(...e)=>{const t=Es.cdnURL||Es.baseURL;return e.length?Ku(t,...e):t};globalThis.__buildAssetsURL=Ui,globalThis.__publicAssetsURL=Xu;const _g=/"(?:_|\\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*:/,xg=/"(?: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*:/,Eg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function wg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Sg(e);return}return t}function Sg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function br(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 s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!Eg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(_g.test(e)||xg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,wg)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}class Cg extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function bg(e){var a,f,u,h,d;const t=((a=e.error)==null?void 0:a.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",s=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,l=new Cg(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(l,c,{get(){return e[c]}});for(const[c,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,c,{get(){return e.response&&e.response[p]}});return l}const Pg=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ja(e="GET"){return Pg.has(e.toUpperCase())}function Tg(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 Lg=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Rg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function kg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Rg.test(t)?"json":Lg.has(t)||t.startsWith("text/")?"text":"blob"}function Ag(e,t,n=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new n((t==null?void 0:t.headers)||{});for(const[o,r]of new n((e==null?void 0:e.headers)||{}))s.headers.set(o,r)}return s}const Ig=new Set([408,409,425,429,500,502,503,504]),Og=new Set([101,204,205,304]);function Yu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=Ja(l.options.method)?0:1;const h=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(h):Ig.has(h))){const d=l.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(l.request,{...l.options,retry:u-1})}}const f=bg(l);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(a,f={}){var c;const u={request:a,options:Ag(f,e.defaults,n),response:void 0,error:void 0};u.options.method=(c=u.options.method)==null?void 0:c.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=hg(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ju(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Ja(u.options.method)&&(Tg(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 p=new s;h=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{h&&clearTimeout(h)}if(u.response.body&&!Og.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||kg(u.response.headers.get("content-type")||"");switch(p){case"json":{const g=await u.response.text(),y=u.options.parseResponse||br;u.response._data=y(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(a,f){return(await r(a,f))._data};return i.raw=r,i.native=(...l)=>t(...l),i.create=(l={})=>Yu({...e,defaults:{...e.defaults,...l}}),i}const Vi=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")}(),Ng=Vi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Mg=Vi.Headers,Dg=Vi.AbortController,Fg=Yu({fetch:Ng,Headers:Mg,AbortController:Dg}),$g=Fg;globalThis.$fetch||(globalThis.$fetch=$g.create({baseURL:vg()}));function jo(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?jo(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const Hg={run:e=>e()},Bg=()=>Hg,Ju=typeof console.createTask<"u"?console.createTask:Bg;function Ug(e,t){const n=t.shift(),s=Ju(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Vg(e,t){const n=t.shift(),s=Ju(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function vo(e,t){for(const n of[...e])n(t)}class jg{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,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} 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 s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=jo(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=jo(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Ug,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Vg,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&vo(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&vo(this._after,o)}):(this._after&&o&&vo(this._after,o),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 qu(){return new jg}function Wg(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(o&&t===void 0){const i=o.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,l)=>{l||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{s(i),t=i;try{return o?o.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},f=()=>t===i?a:void 0;Wo.add(f);try{const u=o?o.run(i,l):l();return n||(t=void 0),await u}finally{Wo.delete(f)}}}}function Kg(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Wg({...e,...s})),t[n],t[n]}}}const ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},qa="__unctx__",Gg=ws[qa]||(ws[qa]=Kg()),Xg=(e,t={})=>Gg.get(e,t),Qa="__unctx_async_handlers__",Wo=ws[Qa]||(ws[Qa]=new Set);function At(e){const t=[];for(const o of Wo){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const Qu=Xg("nuxt-app",{asyncContext:!1}),Yg="__nuxt_plugin";function Jg(e){let t=0;const n={_scope:yi(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:Bt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>zg(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=qu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,r)=>{const i="$"+o;zr(n,i,r),zr(n.vueApp.config.globalProperties,i,r)},zr(n.vueApp,"$nuxt",n),zr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||ve;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=Bt(n.payload.config);return n.provide("config",s),n}async function qg(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Qg(e,t){const n=[],s=[],o=[],r=[];let i=0;async function l(a){var u;const f=((u=a.dependsOn)==null?void 0:u.filter(h=>t.some(d=>d._name===h)&&!n.includes(h)))??[];if(f.length>0)s.push([new Set(f),a]);else{const h=qg(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(s.map(async([d,c])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(i++,await l(c)))})))});a.parallel?o.push(h.catch(d=>r.push(d))):await h}}for(const a of t)await l(a);if(await Promise.all(o),i)for(let a=0;a<i;a++)await Promise.all(o);if(r.length)throw r[0]}function jt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Yg]:!0,_name:t})}function zg(e,t,n){const s=()=>n?t(...n):t();return Qu.set(e),e.vueApp.runWithContext(s)}function Zg(){var t;let e;return Eu()&&(e=(t=Ln())==null?void 0:t.appContext.app.$nuxt),e=e||Qu.tryUse(),e||null}function ve(){const e=Zg();if(!e)throw new Error("[nuxt] instance unavailable");return e}function ft(e){return ve().$config}function zr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Zr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function em(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||rm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let l=e.indexOf(";",r);if(l===-1)l=e.length;else if(l<i){r=e.lastIndexOf(";",i-1)+1;continue}const a=e.slice(r,i).trim();if(n[a]===void 0){let f=e.slice(i+1,l).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[a]=nm(f,o)}r=l+1}return n}function za(e,t,n){const s=n||{},o=s.encode||sm;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!Zr.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!Zr.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(s.maxAge!==void 0&&s.maxAge!==null){const l=s.maxAge-0;if(Number.isNaN(l)||!Number.isFinite(l))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(l)}if(s.domain){if(!Zr.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!Zr.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!tm(s.expires)||Number.isNaN(s.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(i+="; HttpOnly"),s.secure&&(i+="; Secure"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():s.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(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.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 s.partitioned&&(i+="; Partitioned"),i}function tm(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function nm(e,t){try{return t(e)}catch{return e}}function rm(e){return e.includes("%")?decodeURIComponent(e):e}function sm(e){return encodeURIComponent(e)}const Za=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 el(e,t){t?t={...Za,...t}:t=Za;const n=zu(t);return n.dispatch(e),n.toString()}const om=Object.freeze(["prototype","__proto__","constructor"]);function zu(e){let t="",n=new Map;const s=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const r=Object.prototype.toString.call(o);let i="";const l=r.length;l<10?i="unknown:["+r+"]":i=r.slice(8,l-1),i=i.toLowerCase();let a=null;if((a=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+a+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return s("buffer:"),s(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let f=Object.keys(o);e.unorderedObjects&&(f=f.sort());let u=[];e.respectType!==!1&&!tl(o)&&(u=om),e.excludeKeys&&(f=f.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),s("object:"+(f.length+u.length)+":");const h=d=>{this.dispatch(d),s(":"),e.excludeValues||this.dispatch(o[d]),s(",")};for(const d of f)h(d);for(const d of u)h(d)}},array(o,r){if(r=r===void 0?e.unorderedArrays!==!1:r,s("array:"+o.length+":"),!r||o.length<=1){for(const a of o)this.dispatch(a);return}const i=new Map,l=o.map(a=>{const f=zu(e);f.dispatch(a);for(const[u,h]of f.getContext())i.set(u,h);return f.toString()});return n=i,l.sort(),this.array(l,!1)},date(o){return s("date:"+o.toJSON())},symbol(o){return s("symbol:"+o.toString())},unkown(o,r){if(s(r),!!o&&(s(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return s("error:"+o.toString())},boolean(o){return s("bool:"+o)},string(o){s("string:"+o.length+":"),s(o)},function(o){s("fn:"),tl(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return s("number:"+o)},xml(o){return s("xml:"+o.toString())},null(){return s("Null")},undefined(){return s("Undefined")},regexp(o){return s("regex:"+o.toString())},uint8array(o){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return s("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return s("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return s("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return s("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return s("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return s("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return s("url:"+o.toString())},map(o){s("map:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},set(o){s("set:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},file(o){return s("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return s("domwindow")},bigint(o){return s("bigint:"+o.toString())},process(){return s("process")},timer(){return s("timer")},pipe(){return s("pipe")},tcp(){return s("tcp")},udp(){return s("udp")},tty(){return s("tty")},statwatcher(){return s("statwatcher")},securecontext(){return s("securecontext")},connection(){return s("connection")},zlib(){return s("zlib")},context(){return s("context")},nodescript(){return s("nodescript")},httpparser(){return s("httpparser")},dataview(){return s("dataview")},signal(){return s("signal")},fsevent(){return s("fsevent")},tlswrap(){return s("tlswrap")}}}const Zu="[native code] }",im=Zu.length;function tl(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-im)===Zu}function am(e,t,n={}){return e===t||el(e,n)===el(t,n)}function lm(e,t){return{ctx:{table:e},matchAll:n=>tf(n,e,t)}}function ef(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,ef(o)])):new Map(Object.entries(e[n]));return t}function cm(e){return lm(ef(e))}function tf(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of nl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of nl(t.dynamic))if(e.startsWith(r+"/")){const l="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...tf(l,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function nl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function yo(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 Ko(e,t,n=".",s){if(!yo(t))return Ko(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:yo(i)&&yo(o[r])?o[r]=Ko(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function nf(e){return(...t)=>t.reduce((n,s)=>Ko(n,s,"",e),{})}const rf=nf(),um=nf((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function fm(e,t){try{return t in e}catch{return!1}}var dm=Object.defineProperty,hm=(e,t,n)=>t in e?dm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mn=(e,t,n)=>(hm(e,typeof t!="symbol"?t+"":t,n),n);class Go extends Error{constructor(t,n={}){super(t,n),mn(this,"statusCode",500),mn(this,"fatal",!1),mn(this,"unhandled",!1),mn(this,"statusMessage"),mn(this,"data"),mn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Yo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}mn(Go,"__h3_error__",!0);function Xo(e){if(typeof e=="string")return new Go(e);if(pm(e))return e;const t=new Go(e.message??e.statusMessage??"",{cause:e.cause||e});if(fm(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=Yo(e.statusCode,t.statusCode):e.status&&(t.statusCode=Yo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;sf(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 pm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gm=/[^\u0009\u0020-\u007E]/g;function sf(e=""){return e.replace(gm,"")}function Yo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const of=Symbol("layout-meta"),Hr=Symbol("route"),dt=()=>{var e;return(e=ve())==null?void 0:e.$router},Ws=()=>Eu()?qe(Hr,ve()._route):ve()._route;const mm=(e,t,n={})=>{const s=ve(),o=n.global||typeof e!="string",r=typeof e!="string"?e:t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?s._middleware.global.push(r):s._middleware.named[e]=r},vm=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!0}return!1},af=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ju(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:a={}}=t.open,f=Object.entries(a).filter(([u,h])=>h!==void 0).map(([u,h])=>`${u.toLowerCase()}=${h}`).join(", ");open(n,l,f)}return Promise.resolve()}const s=(t==null?void 0:t.external)||Et(n,{acceptRelative:!0});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 l=$r(n).protocol;if(l&&fg(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=vm();if(!s&&o)return e;const r=dt(),i=ve();return s?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?r.replace(e):r.push(e)},lf="__nuxt_error",Ks=()=>Zc(ve().payload,"error"),$n=e=>{const t=Gs(e);try{const n=ve(),s=Ks();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},ym=async(e={})=>{const t=ve(),n=Ks();t.callHook("app:error:cleared",e),e.redirect&&await dt().replace(e.redirect),n.value=null},_m=e=>!!e&&typeof e=="object"&&lf in e,Gs=e=>{const t=Xo(e);return Object.defineProperty(t,lf,{value:!0,configurable:!1,writable:!1}),t},xm="modulepreload",Em=function(e,t){return e[0]==="."?new URL(e,t).href:e},rl={},wm=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Em(a,s),a in rl)return;rl[a]=!0;const f=a.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const p=r[c];if(p.href===a&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":xm,f||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((c,p)=>{d.addEventListener("load",c),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},Ge=(...e)=>wm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Sm=-1,Cm=-2,bm=-3,Pm=-4,Tm=-5,Lm=-6;function Rm(e,t){return km(JSON.parse(e),t)}function km(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function o(r,i=!1){if(r===Sm)return;if(r===bm)return NaN;if(r===Pm)return 1/0;if(r===Tm)return-1/0;if(r===Lm)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const l=n[r];if(!l||typeof l!="object")s[r]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],f=t==null?void 0:t[a];if(f)return s[r]=f(o(l[1]));switch(a){case"Date":s[r]=new Date(l[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<l.length;c+=1)u.add(o(l[c]));break;case"Map":const h=new Map;s[r]=h;for(let c=1;c<l.length;c+=2)h.set(o(l[c]),o(l[c+1]));break;case"RegExp":s[r]=new RegExp(l[1],l[2]);break;case"Object":s[r]=Object(l[1]);break;case"BigInt":s[r]=BigInt(l[1]);break;case"null":const d=Object.create(null);s[r]=d;for(let c=1;c<l.length;c+=2)d[l[c]]=o(l[c+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);s[r]=a;for(let f=0;f<l.length;f+=1){const u=l[f];u!==Cm&&(a[f]=o(u))}}else{const a={};s[r]=a;for(const f in l){const u=l[f];a[f]=o(u)}}return s[r]}return o(0)}function Am(e){return Array.isArray(e)?e:[e]}const Im=["title","titleTemplate","script","style","noscript"],as=["base","meta","link","style","script","noscript"],Om=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Nm=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],cf=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Mm=typeof window<"u";function ji(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 sl(e){return e._h||ji(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function uf(e,t){const{props:n,tag:s}=e;if(Nm.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];s==="meta"&&o.push("name","property","http-equiv");for(const r of o)if(typeof n[r]<"u"){const i=String(n[r]);return t&&!t(i)?!1:`${s}:${r}:${i}`}return!1}function ol(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Dm(e,t,n){const s={tag:e,props:await ff(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return cf.forEach(o=>{const r=typeof s.props[o]<"u"?s.props[o]:n[o];typeof r<"u"&&((!["innerHTML","textContent","children"].includes(o)||Im.includes(s.tag))&&(s[o==="children"?"innerHTML":o]=r),delete s.props[o])}),s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function Fm(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,o])=>e==="style"?`${s}:${o}`:s)),(Array.isArray(t)?t.join(n):t).split(n).filter(s=>s.trim()).filter(Boolean).join(n)}async function ff(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Fm(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!cf.includes(n)){const s=String(e[n]),o=n.startsWith("data-");s==="true"||s===""?e[n]=o?"true":!0:e[n]||(o&&s==="false"?e[n]="false":delete e[n])}}return e}const $m=10;async function Hm(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&Om.includes(n)).forEach(([n,s])=>{const o=Am(s);t.push(...o.map(r=>Dm(n,r,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<$m)+s,n))}const il={base:-10,title:10},al={critical:-80,high:-10,low:20};function Ss(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in il&&(t=il[e.tag]),typeof n=="string"&&n in al?t+al[n]:t)}const Bm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ll=["onload","onerror","onabort","onprogress","onloadstart"],Yt="%separator";function ls(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let l;return["s","pageTitle"].includes(i)?l=t.pageTitle:i.includes(".")?l=i.split(".").reduce((a,f)=>a&&a[f]||void 0,t):l=t[i],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const l=s(i.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(a,f)=>`${l}${f}`).trim())}),e.includes(Yt)&&(e.endsWith(Yt)&&(e=e.slice(0,-Yt.length).trim()),e.startsWith(Yt)&&(e=e.slice(Yt.length).trim()),e=e.replace(new RegExp(`\\${Yt}\\s*\\${Yt}`,"g"),Yt),e=ls(e,{separator:n},n)),e}async function df(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;const o=(await e.resolveTags()).map(h=>({tag:h,id:as.includes(h.tag)?sl(h):h.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const h of["body","head"]){const d=(u=n[h])==null?void 0:u.children,c=[];for(const p of[...d].filter(g=>as.includes(g.tagName.toLowerCase()))){const g={tag:p.tagName.toLowerCase(),props:await ff(p.getAttributeNames().reduce((S,E)=>({...S,[E]:p.getAttribute(E)}),{})),innerHTML:p.innerHTML};let y=1,v=uf(g);for(;v&&c.find(S=>S._d===v);)v=`${v}:${y++}`;g._d=v||void 0,c.push(g),r.elMap[p.getAttribute("data-hid")||sl(g)]=p}}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(h,d,c){const p=`${h}:${d}`;r.sideEffects[p]=c,delete r.pendingSideEffects[p]}function l({id:h,$el:d,tag:c}){const p=c.tag.endsWith("Attrs");r.elMap[h]=d,p||(["textContent","innerHTML"].forEach(g=>{c[g]&&c[g]!==d[g]&&(d[g]=c[g])}),i(h,"el",()=>{var g;(g=r.elMap[h])==null||g.remove(),delete r.elMap[h]}));for(const[g,y]of Object.entries(c._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((c.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),y.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(c.props).forEach(([g,y])=>{const v=`attr:${g}`;if(g==="class")for(const S of(y||"").split(" ").filter(Boolean))p&&i(h,`${v}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(g==="style")for(const S of(y||"").split(";").filter(Boolean)){const[E,..._]=S.split(":").map(m=>m.trim());i(h,`${v}:${S}:${E}`,()=>{d.style.removeProperty(E)}),d.style.setProperty(E,_.join(":"))}else d.getAttribute(g)!==y&&d.setAttribute(g,y===!0?"":String(y)),p&&i(h,v,()=>d.removeAttribute(g))})}const a=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of o){const{tag:d,shouldRender:c,id:p}=h;if(c){if(d.tag==="title"){n.title=d.textContent;continue}h.$el=h.$el||r.elMap[p],h.$el?l(h):as.includes(d.tag)&&a.push(h)}}for(const h of a){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(h.$el)}for(const h of o)await e.hooks.callHook("dom:renderTag",h,n,i);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose),Object.values(r.pendingSideEffects).forEach(h=>h()),e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Um(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await df(e,t),delete e._domUpdatePromise,s()}))}function Vm(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){Um(r,e)}}}}}const jm=["templateParams","htmlAttrs","bodyAttrs"],Wm={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=uf(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const o=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,r=t[o];if(r){let l=s==null?void 0:s.tagDuplicateStrategy;if(!l&&jm.includes(s.tag)&&(l="merge"),l==="merge"){const a=r.props;["class","style"].forEach(f=>{a[f]&&(s.props[f]?(f==="style"&&!a[f].endsWith(";")&&(a[f]+=";"),s.props[f]=`${a[f]} ${s.props[f]}`):s.props[f]=a[f])}),t[o].props={...a,...s.props};return}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);return}else if(Ss(s)>Ss(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(as.includes(s.tag)&&i===0){delete t[o];return}t[o]=s});const n=[];Object.values(t).forEach(s=>{const o=s._duped;delete s._duped,n.push(s),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},Km={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Gm=["script","link","bodyAttrs"],Xm=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(s=>Gm.includes(s.tag)))Object.entries(n.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"&&(e.ssr&&ll.includes(s)?n.props[s]=`this.dataset.${s}fired = true`:delete n.props[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ji(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var s,o;for(const r of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>ll.some(l=>`${l}fired`===i))){const i=r.replace("fired","");(o=(s=n._eventHandlers)==null?void 0:s[i])==null||o.call(t,new Event(i.replace("on","")))}}}}),Ym=["link","style","script","noscript"],Jm={hooks:{"tag:normalise":({tag:e})=>{e.key&&Ym.includes(e.tag)&&(e.props["data-hid"]=e._h=ji(e.key))}}},qm={hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(o=>o._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of Bm)for(const o of e.tags.filter(r=>typeof r.tagPriority=="string"&&r.tagPriority.startsWith(n))){const r=t(o.tagPriority.replace(n,""));typeof r<"u"&&(o._p=r+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>Ss(n)-Ss(s))}}},Qm={meta:"content",link:"href",htmlAttrs:"lang"},zm=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,s=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),r=o!==-1?n[o].props:{},i=r.separator||"|";delete r.separator,r.pageTitle=ls(r.pageTitle||s||"",r,i);for(const a of n.filter(f=>f.processTemplateParams!==!1)){const f=Qm[a.tag];f&&typeof a.props[f]=="string"?a.props[f]=ls(a.props[f],r,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=ls(a[u],r,i))})}e._templateParams=r,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Zm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const s=t.findIndex(o=>o.tag==="title");if(s!==-1&&n!==-1){const o=ol(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=ol(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},ev={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let hf;function tv(e={}){const t=nv(e);return t.use(Vm()),hf=t}function cl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function nv(e={}){const t=qu();t.addHooks(e.hooks||{}),e.document=e.document||(Mm?document:void 0);const n=!e.document,s=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,r=[];const i=[],l={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(a){const f=typeof a=="function"?a(l):a;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),cl(f.mode,n)&&t.addHooks(f.hooks||{}))},push(a,f){f==null||delete f.head;const u={_i:o++,input:a,...f};return cl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),t.callHook("entries:updated",l),s()},patch(h){r=r.map(d=>(d._i===u._i&&(d.input=u.input=h),d)),s()}}},async resolveTags(){const a={tags:[],entries:[...r]};await t.callHook("entries:resolve",a);for(const f of a.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const h of await Hm(f)){const d={tag:h,entry:f,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[Wm,Km,Xm,Jm,qm,zm,Zm,ev,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function rv(){return hf}const sv=Fu.startsWith("3");function ov(e){return typeof e=="function"?e():ne(e)}function Cs(e,t=""){if(e instanceof Promise)return e;const n=ov(e);return!e||!n?n:Array.isArray(n)?n.map(s=>Cs(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,ne(o)]:[s,Cs(o,s)])):n}const iv={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Cs(t.input)}}},pf="usehead";function av(e){return{install(n){sv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(pf,e))}}.install}function lv(e={}){e.domDelayFn=e.domDelayFn||(n=>an(()=>setTimeout(()=>n(),0)));const t=tv(e);return t.use(iv),t.install=av(t),t}const Jo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qo="__unhead_injection_handler__";function cv(e){Jo[qo]=e}function uv(){if(qo in Jo)return Jo[qo]();const e=qe(pf);return e||rv()}function ul(e,t={}){const n=t.head||uv();if(n)return n.ssr?n.push(e,t):fv(n,e,t)}function fv(e,t,n={}){const s=we(!1),o=we({});Lh(()=>{o.value=s.value?{}:Cs(t)});const r=e.push(o.value,n);return st(o,l=>{r.patch(l)}),Ln()&&(Nr(()=>{r.dispose()}),pu(()=>{s.value=!0}),hu(()=>{s.value=!1})),r}function Lt(e){if(typeof e!="object")return e;var t,n,s=Object.prototype.toString.call(e);if(s==="[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(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Lt(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Lt(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(Lt(r),Lt(o))}),n):s==="[object Date]"?new Date(+e):s==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):s==="[object DataView]"?new e.constructor(Lt(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const dv={nuxt:{buildId:"54f4c686-514c-4664-b696-6580bbf360e0"}},hv=um(dv);function gf(){const e=ve();return e._appConfig||(e._appConfig=Bt(hv)),e._appConfig}const pv=!1,Qo=!1,gv=!1,mv={componentName:"NuxtLink"},vv="#__nuxt";let cs,mf;function yv(){var t;const e=(t=gf().nuxt)==null?void 0:t.buildId;return cs=$fetch(Ui(`builds/meta/${e}.json`)),cs.then(n=>{mf=cm(n.matcher)}),cs}function Xs(){return cs||yv()}async function Wi(e){return await Xs(),rf({},...mf.matchAll(e).reverse())}function fl(e,t={}){const n=xv(e,t),s=ve(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=Ev(e).then(r=>r?vf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const _v="_payload.json";function xv(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Et(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():(o=gf().nuxt)==null?void 0:o.buildId);return Fr(ft().app.baseURL,n.pathname,_v+(s?`?${s}`:""))}async function vf(e){const t=fetch(e).then(n=>n.text().then(yf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ev(e=Ws().path){if(e=Dr(e),(await Xs()).prerendered.includes(e))return!0;const n=await Wi(e);return!!n.prerender&&!n.redirect}let es=null;async function wv(){if(es)return es;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await yf(e.textContent||""),n=e.dataset.src?await vf(e.dataset.src):void 0;return es={...t,...n,...window.__NUXT__},es}async function yf(e){return await Rm(e,ve()._payloadRevivers)}function Sv(e,t){ve()._payloadRevivers[e]=t}const dl={NuxtError:e=>Gs(e),EmptyShallowRef:e=>Gn(e==="_"?void 0:e==="0n"?BigInt(0):br(e)),EmptyRef:e=>we(e==="_"?void 0:e==="0n"?BigInt(0):br(e)),ShallowRef:e=>Gn(e),ShallowReactive:e=>Ir(e),Ref:e=>we(e),Reactive:e=>Bt(e)},Cv=jt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in dl)Sv(s,dl[s]);Object.assign(e.payload,([t,n]=At(()=>e.runWithContext(wv)),t=await t,n(),t)),window.__NUXT__=e.payload}}),bv=[],Pv=jt({name:"nuxt:head",enforce:"pre",setup(e){const t=lv({plugins:bv});cv(()=>ve().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await df(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
* vue-router v4.3.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Dn=typeof document<"u";function Tv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function _o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Ct(o)?o.map(e):e(o)}return n}const gr=()=>{},Ct=Array.isArray,_f=/#/g,Lv=/&/g,Rv=/\//g,kv=/=/g,Av=/\?/g,xf=/\+/g,Iv=/%5B/g,Ov=/%5D/g,Ef=/%5E/g,Nv=/%60/g,wf=/%7B/g,Mv=/%7C/g,Sf=/%7D/g,Dv=/%20/g;function Ki(e){return encodeURI(""+e).replace(Mv,"|").replace(Iv,"[").replace(Ov,"]")}function Fv(e){return Ki(e).replace(wf,"{").replace(Sf,"}").replace(Ef,"^")}function zo(e){return Ki(e).replace(xf,"%2B").replace(Dv,"+").replace(_f,"%23").replace(Lv,"%26").replace(Nv,"`").replace(wf,"{").replace(Sf,"}").replace(Ef,"^")}function $v(e){return zo(e).replace(kv,"%3D")}function Hv(e){return Ki(e).replace(_f,"%23").replace(Av,"%3F")}function Bv(e){return e==null?"":Hv(e).replace(Rv,"%2F")}function Pr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Uv=/\/$/,Vv=e=>e.replace(Uv,"");function xo(e,t,n="/"){let s,o={},r="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),r=t.slice(a+1,l>-1?l:t.length),o=e(r)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Gv(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Pr(i)}}function jv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wv(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Jn(t.matched[s],n.matched[o])&&Cf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Jn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Kv(e[n],t[n]))return!1;return!0}function Kv(e,t){return Ct(e)?pl(e,t):Ct(t)?pl(t,e):e===t}function pl(e,t){return Ct(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Gv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}var Tr;(function(e){e.pop="pop",e.push="push"})(Tr||(Tr={}));var mr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mr||(mr={}));function Xv(e){if(!e)if(Dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vv(e)}const Yv=/^[^#]+#/;function Jv(e,t){return e.replace(Yv,"#")+t}function qv(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ys=()=>({left:window.scrollX,top:window.scrollY});function Qv(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=qv(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function gl(e,t){return(history.state?history.state.position-t:-1)+e}const Zo=new Map;function zv(e,t){Zo.set(e,t)}function Zv(e){const t=Zo.get(e);return Zo.delete(e),t}let ey=()=>location.protocol+"//"+location.host;function bf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let l=o.includes(e.slice(r))?e.slice(r).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),hl(a,"")}return hl(n,e)+s+o}function ty(e,t,n,s){let o=[],r=[],i=null;const l=({state:d})=>{const c=bf(e,location),p=n.value,g=t.value;let y=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}y=g?d.position-g.position:0}else s(c);o.forEach(v=>{v(n.value,p,{delta:y,type:Tr.pop,direction:y?y>0?mr.forward:mr.back:mr.unknown})})};function a(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(Ce({},d.state,{scroll:Ys()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:f,destroy:h}}function ml(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Ys():null}}function ny(e){const{history:t,location:n}=window,s={value:bf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:ey()+e+a;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(a,f){const u=Ce({},t.state,ml(o.value.back,a,o.value.forward,!0),f,{position:o.value.position});r(a,u,!0),s.value=a}function l(a,f){const u=Ce({},o.value,t.state,{forward:a,scroll:Ys()});r(u.current,u,!0);const h=Ce({},ml(s.value,a,null),{position:u.position+1},f);r(a,h,!1),s.value=a}return{location:s,state:o,push:l,replace:i}}function Pf(e){e=Xv(e);const t=ny(e),n=ty(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ce({location:"",base:e,go:s,createHref:Jv.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ry(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Pf(e)}function sy(e){return typeof e=="string"||e&&typeof e=="object"}function Tf(e){return typeof e=="string"||typeof e=="symbol"}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Lf=Symbol("");var vl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(vl||(vl={}));function qn(e,t){return Ce(new Error,{type:e,[Lf]:!0},t)}function Nt(e,t){return e instanceof Error&&Lf in e&&(t==null||!!(e.type&t))}const yl="[^/]+?",oy={sensitive:!1,strict:!1,start:!0,end:!0},iy=/[.+*?^${}()[\]/\\]/g;function ay(e,t){const n=Ce({},oy,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=40+(n.sensitive?.25:0);if(d.type===0)h||(o+="/"),o+=d.value.replace(iy,"\\$&"),c+=40;else if(d.type===1){const{value:p,repeatable:g,optional:y,regexp:v}=d;r.push({name:p,repeatable:g,optional:y});const S=v||yl;if(S!==yl){c+=10;try{new RegExp(`(${S})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${S}): `+_.message)}}let E=g?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;h||(E=y&&f.length<2?`(?:/${E})`:"/"+E),y&&(E+="?"),o+=E,c+=20,y&&(c+=-8),g&&(c+=-20),S===".*"&&(c+=-50)}u.push(c)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(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 a(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:y}=c,v=p in f?f[p]:"";if(Ct(v)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const S=Ct(v)?v.join("/"):v;if(!S)if(y)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=S}}return u||"/"}return{re:i,score:s,keys:r,parse:l,stringify:a}}function ly(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function cy(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=ly(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(_l(s))return 1;if(_l(o))return-1}return o.length-s.length}function _l(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const uy={type:0,value:""},fy=/[a-zA-Z0-9_]/;function dy(e){if(!e)return[[]];if(e==="/")return[[uy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let l=0,a,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(f&&h(),i()):a===":"?(h(),n=1):d();break;case 4:d(),n=s;break;case 1:a==="("?n=2:fy.test(a)?d():(h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),o}function hy(e,t,n){const s=ay(dy(e.path),n),o=Ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function py(e,t){const n=[],s=new Map;t=wl({strict:!1,end:!0,sensitive:!1},t);function o(u){return s.get(u)}function r(u,h,d){const c=!d,p=gy(u);p.aliasOf=d&&d.record;const g=wl(t,u),y=[p];if("alias"in u){const E=typeof u.alias=="string"?[u.alias]:u.alias;for(const _ of E)y.push(Ce({},p,{components:d?d.record.components:p.components,path:_,aliasOf:d?d.record:p}))}let v,S;for(const E of y){const{path:_}=E;if(h&&_[0]!=="/"){const m=h.record.path,x=m[m.length-1]==="/"?"":"/";E.path=h.record.path+(_&&x+_)}if(v=hy(E,h,g),d?d.alias.push(v):(S=S||v,S!==v&&S.alias.push(v),c&&u.name&&!El(v)&&i(u.name)),p.children){const m=p.children;for(let x=0;x<m.length;x++)r(m[x],v,d&&d.children[x])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&a(v)}return S?()=>{i(S)}:gr}function i(u){if(Tf(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let h=0;for(;h<n.length&&cy(u,n[h])>=0&&(u.record.path!==n[h].record.path||!Rf(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!El(u)&&s.set(u.record.name,u)}function f(u,h){let d,c={},p,g;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw qn(1,{location:u});g=d.record.name,c=Ce(xl(h.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),u.params&&xl(u.params,d.keys.map(S=>S.name))),p=d.stringify(c)}else if(u.path!=null)p=u.path,d=n.find(S=>S.re.test(p)),d&&(c=d.parse(p),g=d.record.name);else{if(d=h.name?s.get(h.name):n.find(S=>S.re.test(h.path)),!d)throw qn(1,{location:u,currentLocation:h});g=d.record.name,c=Ce({},h.params,u.params),p=d.stringify(c)}const y=[];let v=d;for(;v;)y.unshift(v.record),v=v.parent;return{name:g,path:p,params:c,matched:y,meta:vy(y)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:f,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function xl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function gy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:my(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function my(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function El(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vy(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function wl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Rf(e,t){return t.children.some(n=>n===e||Rf(e,n))}function yy(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(xf," "),i=r.indexOf("="),l=Pr(i<0?r:r.slice(0,i)),a=i<0?null:Pr(r.slice(i+1));if(l in t){let f=t[l];Ct(f)||(f=t[l]=[f]),f.push(a)}else t[l]=a}return t}function Sl(e){let t="";for(let n in e){const s=e[n];if(n=$v(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ct(s)?s.map(r=>r&&zo(r)):[s&&zo(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function _y(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ct(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const xy=Symbol(""),Cl=Symbol(""),Gi=Symbol(""),Xi=Symbol(""),ei=Symbol("");function ir(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function en(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const f=d=>{d===!1?a(qn(4,{from:n,to:t})):d instanceof Error?a(d):sy(d)?a(qn(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),l())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>a(d))})}function Eo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ey(a)){const u=(a.__vccOpts||a)[t];u&&r.push(en(u,n,s,i,l,o))}else{let f=a();r.push(()=>f.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=Tv(u)?u.default:u;i.components[l]=h;const c=(h.__vccOpts||h)[t];return c&&en(c,n,s,i,l,o)()}))}}return r}function Ey(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bl(e){const t=qe(Gi),n=qe(Xi),s=Pe(()=>t.resolve(ne(e.to))),o=Pe(()=>{const{matched:a}=s.value,{length:f}=a,u=a[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(Jn.bind(null,u));if(d>-1)return d;const c=Pl(a[f-2]);return f>1&&Pl(u)===c&&h[h.length-1].path!==c?h.findIndex(Jn.bind(null,a[f-2])):d}),r=Pe(()=>o.value>-1&&by(n.params,s.value.params)),i=Pe(()=>o.value>-1&&o.value===n.matched.length-1&&Cf(n.params,s.value.params));function l(a={}){return Cy(a)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(gr):Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:r,isExactActive:i,navigate:l}}const wy=We({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=Bt(bl(e)),{options:s}=qe(Gi),o=Pe(()=>({[Tl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Tl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Sy=wy;function Cy(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 by(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Ct(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Pl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tl=(e,t,n)=>e??t??n,Py=We({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=qe(ei),o=Pe(()=>e.route||s.value),r=qe(Cl,0),i=Pe(()=>{let f=ne(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),l=Pe(()=>o.value.matched[i.value]);sn(Cl,Pe(()=>i.value+1)),sn(xy,l),sn(ei,o);const a=we();return st(()=>[a.value,l.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||!Jn(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=l.value,d=h&&h.components[u];if(!d)return Ll(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,y=je(d,Ce({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return Ll(n.default,{Component:y,route:f})||y}}});function Ll(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const kf=Py;function Ty(e){const t=py(e.routes,e),n=e.parseQuery||yy,s=e.stringifyQuery||Sl,o=e.history,r=ir(),i=ir(),l=ir(),a=Gn(wt);let f=wt;Dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_o.bind(null,D=>""+D),h=_o.bind(null,Bv),d=_o.bind(null,Pr);function c(D,X){let J,Z;return Tf(D)?(J=t.getRecordMatcher(D),Z=X):Z=D,t.addRoute(Z,J)}function p(D){const X=t.getRecordMatcher(D);X&&t.removeRoute(X)}function g(){return t.getRoutes().map(D=>D.record)}function y(D){return!!t.getRecordMatcher(D)}function v(D,X){if(X=Ce({},X||a.value),typeof D=="string"){const C=xo(n,D,X.path),k=t.resolve({path:C.path},X),I=o.createHref(C.fullPath);return Ce(C,k,{params:d(k.params),hash:Pr(C.hash),redirectedFrom:void 0,href:I})}let J;if(D.path!=null)J=Ce({},D,{path:xo(n,D.path,X.path).path});else{const C=Ce({},D.params);for(const k in C)C[k]==null&&delete C[k];J=Ce({},D,{params:h(C)}),X.params=h(X.params)}const Z=t.resolve(J,X),ue=D.hash||"";Z.params=u(d(Z.params));const _e=jv(s,Ce({},D,{hash:Fv(ue),path:Z.path})),w=o.createHref(_e);return Ce({fullPath:_e,hash:ue,query:s===Sl?_y(D.query):D.query||{}},Z,{redirectedFrom:void 0,href:w})}function S(D){return typeof D=="string"?xo(n,D,a.value.path):Ce({},D)}function E(D,X){if(f!==D)return qn(8,{from:X,to:D})}function _(D){return P(D)}function m(D){return _(Ce(S(D),{replace:!0}))}function x(D){const X=D.matched[D.matched.length-1];if(X&&X.redirect){const{redirect:J}=X;let Z=typeof J=="function"?J(D):J;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=S(Z):{path:Z},Z.params={}),Ce({query:D.query,hash:D.hash,params:Z.path!=null?{}:D.params},Z)}}function P(D,X){const J=f=v(D),Z=a.value,ue=D.state,_e=D.force,w=D.replace===!0,C=x(J);if(C)return P(Ce(S(C),{state:typeof C=="object"?Ce({},ue,C.state):ue,force:_e,replace:w}),X||J);const k=J;k.redirectedFrom=X;let I;return!_e&&Wv(s,Z,J)&&(I=qn(16,{to:k,from:Z}),fe(Z,Z,!0,!1)),(I?Promise.resolve(I):L(k,Z)).catch(N=>Nt(N)?Nt(N,2)?N:de(N):W(N,k,Z)).then(N=>{if(N){if(Nt(N,2))return P(Ce({replace:w},S(N.to),{state:typeof N.to=="object"?Ce({},ue,N.to.state):ue,force:_e}),X||k)}else N=R(k,Z,!0,w,ue);return A(k,Z,N),N})}function b(D,X){const J=E(D,X);return J?Promise.reject(J):Promise.resolve()}function T(D){const X=ye.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(D):D()}function L(D,X){let J;const[Z,ue,_e]=Ly(D,X);J=Eo(Z.reverse(),"beforeRouteLeave",D,X);for(const C of Z)C.leaveGuards.forEach(k=>{J.push(en(k,D,X))});const w=b.bind(null,D,X);return J.push(w),ce(J).then(()=>{J=[];for(const C of r.list())J.push(en(C,D,X));return J.push(w),ce(J)}).then(()=>{J=Eo(ue,"beforeRouteUpdate",D,X);for(const C of ue)C.updateGuards.forEach(k=>{J.push(en(k,D,X))});return J.push(w),ce(J)}).then(()=>{J=[];for(const C of _e)if(C.beforeEnter)if(Ct(C.beforeEnter))for(const k of C.beforeEnter)J.push(en(k,D,X));else J.push(en(C.beforeEnter,D,X));return J.push(w),ce(J)}).then(()=>(D.matched.forEach(C=>C.enterCallbacks={}),J=Eo(_e,"beforeRouteEnter",D,X,T),J.push(w),ce(J))).then(()=>{J=[];for(const C of i.list())J.push(en(C,D,X));return J.push(w),ce(J)}).catch(C=>Nt(C,8)?C:Promise.reject(C))}function A(D,X,J){l.list().forEach(Z=>T(()=>Z(D,X,J)))}function R(D,X,J,Z,ue){const _e=E(D,X);if(_e)return _e;const w=X===wt,C=Dn?history.state:{};J&&(Z||w?o.replace(D.fullPath,Ce({scroll:w&&C&&C.scroll},ue)):o.push(D.fullPath,ue)),a.value=D,fe(D,X,J,w),de()}let O;function U(){O||(O=o.listen((D,X,J)=>{if(!De.listening)return;const Z=v(D),ue=x(Z);if(ue){P(Ce(ue,{replace:!0}),Z).catch(gr);return}f=Z;const _e=a.value;Dn&&zv(gl(_e.fullPath,J.delta),Ys()),L(Z,_e).catch(w=>Nt(w,12)?w:Nt(w,2)?(P(w.to,Z).then(C=>{Nt(C,20)&&!J.delta&&J.type===Tr.pop&&o.go(-1,!1)}).catch(gr),Promise.reject()):(J.delta&&o.go(-J.delta,!1),W(w,Z,_e))).then(w=>{w=w||R(Z,_e,!1),w&&(J.delta&&!Nt(w,8)?o.go(-J.delta,!1):J.type===Tr.pop&&Nt(w,20)&&o.go(-1,!1)),A(Z,_e,w)}).catch(gr)}))}let H=ir(),$=ir(),V;function W(D,X,J){de(D);const Z=$.list();return Z.length?Z.forEach(ue=>ue(D,X,J)):console.error(D),Promise.reject(D)}function ae(){return V&&a.value!==wt?Promise.resolve():new Promise((D,X)=>{H.add([D,X])})}function de(D){return V||(V=!D,U(),H.list().forEach(([X,J])=>D?J(D):X()),H.reset()),D}function fe(D,X,J,Z){const{scrollBehavior:ue}=e;if(!Dn||!ue)return Promise.resolve();const _e=!J&&Zv(gl(D.fullPath,0))||(Z||!J)&&history.state&&history.state.scroll||null;return an().then(()=>ue(D,X,_e)).then(w=>w&&Qv(w)).catch(w=>W(w,D,X))}const re=D=>o.go(D);let Se;const ye=new Set,De={currentRoute:a,listening:!0,addRoute:c,removeRoute:p,hasRoute:y,getRoutes:g,resolve:v,options:e,push:_,replace:m,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:r.add,beforeResolve:i.add,afterEach:l.add,onError:$.add,isReady:ae,install(D){const X=this;D.component("RouterLink",Sy),D.component("RouterView",kf),D.config.globalProperties.$router=X,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(a)}),Dn&&!Se&&a.value===wt&&(Se=!0,_(o.location).catch(ue=>{}));const J={};for(const ue in wt)Object.defineProperty(J,ue,{get:()=>a.value[ue],enumerable:!0});D.provide(Gi,X),D.provide(Xi,Ir(J)),D.provide(ei,a);const Z=D.unmount;ye.add(D),D.unmount=function(){ye.delete(D),ye.size<1&&(f=wt,O&&O(),O=null,a.value=wt,Se=!1,V=!1),Z()}}};function ce(D){return D.reduce((X,J)=>X.then(()=>T(J)),Promise.resolve())}return De}function Ly(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const l=t.matched[i];l&&(e.matched.find(f=>Jn(f,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>Jn(f,a))||o.push(a))}return[n,s,o]}function Ry(){return qe(Xi)}const ky=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),ti=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&ky(e.route,n));return typeof s=="function"?s(e.route):s},Ay=(e,t)=>({default:()=>e?je(Nh,e===!0?{}:e,t):t});function Yi(e){return Array.isArray(e)?e:[e]}const kn=null,An=null,In=null,On=null,Nn=null,Rl=[{name:"about___en",path:"/en/about",meta:{},alias:[],redirect:kn==null?void 0:kn.redirect,component:()=>Ge(()=>import("./GoQoWGRD.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",meta:{},alias:[],redirect:kn==null?void 0:kn.redirect,component:()=>Ge(()=>import("./GoQoWGRD.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",meta:{},alias:[],redirect:An==null?void 0:An.redirect,component:()=>Ge(()=>import("./k1ITBh2K.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",meta:{},alias:[],redirect:An==null?void 0:An.redirect,component:()=>Ge(()=>import("./k1ITBh2K.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",meta:{},alias:[],redirect:In==null?void 0:In.redirect,component:()=>Ge(()=>import("./DnOIdwrH.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",meta:{},alias:[],redirect:In==null?void 0:In.redirect,component:()=>Ge(()=>import("./DnOIdwrH.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",meta:{},alias:[],redirect:On==null?void 0:On.redirect,component:()=>Ge(()=>import("./BkgAnIXZ.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",meta:{},alias:[],redirect:On==null?void 0:On.redirect,component:()=>Ge(()=>import("./BkgAnIXZ.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",meta:{},alias:[],redirect:Nn==null?void 0:Nn.redirect,component:()=>Ge(()=>import("./Bb4UmfnV.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",meta:{},alias:[],redirect:Nn==null?void 0:Nn.redirect,component:()=>Ge(()=>import("./Bb4UmfnV.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)}],Af=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?je(e,t,n):(s=n.default)==null?void 0:s.call(n)}});function kl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function Iy(e,t){return e===t||t===wt?!1:kl(e)!==kl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const Oy={scrollBehavior(e,t,n){var f;const s=ve(),o=((f=dt().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&&Iy(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:Al(e.hash),behavior:o}:!1;const l=u=>!!(u.meta.pageTransition??Qo),a=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(a,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Al(e.hash),behavior:o}),u(r)})})}};function Al(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Ny={hashMode:!1,scrollBehaviorType:"auto"},ct={...Ny,...Oy},My=async e=>{var a;let t,n;if(!((a=e.meta)!=null&&a.validate))return;const s=ve(),o=dt();if(([t,n]=At(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Gs({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=o.beforeResolve(f=>{if(l(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>$n(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Dy=async e=>{let t,n;const s=([t,n]=At(()=>Wi(e.path)),t=await t,n(),t);if(s.redirect)return Et(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},Fy=[My,Dy],vr={};function $y(e,t,n){const{pathname:s,search:o,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),Ya(u,"")}const l=Ya(s,e),a=!n||Uo(l,n,{trailingSlash:!0})?l:n;return a+(a.includes("?")?"":o)+r}const Hy=jt({name:"nuxt:router",enforce:"pre",async setup(e){var g,y;let t,n,s=ft().app.baseURL;ct.hashMode&&!s.includes("#")&&(s+="#");const o=((g=ct.history)==null?void 0:g.call(ct,s))??(ct.hashMode?ry(s):Pf(s)),r=((y=ct.routes)==null?void 0:y.call(ct,Rl))??Rl;let i;const l=$y(s,window.location,e.payload.path),a=Ty({...ct,scrollBehavior:(v,S,E)=>{if(S===wt){i=E;return}if(ct.scrollBehavior){if(a.options.scrollBehavior=ct.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return ct.scrollBehavior(v,wt,i||E)}},history:o,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const f=Gn(a.currentRoute.value);a.afterEach((v,S)=>{f.value=S}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>f.value});const u=Gn(a.resolve(l)),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((v,S)=>{var E,_,m,x;((_=(E=v.matched[0])==null?void 0:E.components)==null?void 0:_.default)===((x=(m=S.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const v in u.value)Object.defineProperty(d,v,{get:()=>u.value[v]});e._route=Ir(d),e._middleware=e._middleware||{global:[],named:{}};const c=Ks();try{[t,n]=At(()=>a.isReady()),await t,n()}catch(v){[t,n]=At(()=>e.runWithContext(()=>$n(v))),await t,n()}const p=e.payload.state._layout;return a.beforeEach(async(v,S)=>{var E;await e.callHook("page:loading:start"),v.meta=Bt(v.meta),e.isHydrating&&p&&!Sn(v.meta.layout)&&(v.meta.layout=p),e._processingMiddleware=!0;{const _=new Set([...Fy,...e._middleware.global]);for(const m of v.matched){const x=m.meta.middleware;if(x)for(const P of Yi(x))_.add(P)}{const m=await e.runWithContext(()=>Wi(v.path));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((E=vr[m])==null?void 0:E.call(vr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const P=await e.runWithContext(()=>x(v,S));if(!e.payload.serverRendered&&e.isHydrating&&(P===!1||P instanceof Error)){const b=P||Xo({statusCode:404,statusMessage:`Page Not Found: ${l}`});return await e.runWithContext(()=>$n(b)),!1}if(P!==!0&&(P||P===!1))return P}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(v,S,E)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(ym),E&&await e.callHook("page:loading:end"),v.matched.length===0&&await e.runWithContext(()=>$n(Xo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`,data:{path:v.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const v=a.resolve(l);"name"in v&&(v.name=void 0),await a.replace({...v,force:!0}),a.options.scrollBehavior=ct.scrollBehavior}catch(v){await e.runWithContext(()=>$n(v))}}),{provide:{router:a}}}}),ni=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),By=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ji=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ni(e)}):ni(e)},Uy=jt({name:"nuxt:payload",setup(e){dt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await fl(t.path);s&&Object.assign(e.static.data,s.data)}),Ji(()=>{var t;e.hooks.hook("link:prefetch",async n=>{$r(n).protocol||await fl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Xs,1e3)})}}),Vy=jt(e=>{let t;async function n(){const s=await Xs();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Ui("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}Ji(()=>{t=setTimeout(n,1e3*60*60)})}),jy=jt({name:"nuxt:global-components"}),tn={},Wy=jt({name:"nuxt:prefetch",setup(e){const t=dt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof tn[s]=="function"&&await tn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Et(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=Yi(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof vr[i]=="function"&&vr[i]();o&&typeof tn[o]=="function"&&tn[o]()})}});/*!
* shared v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const bs=typeof window<"u",cn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ky=(e,t,n)=>Gy({l:e,k:t,s:n}),Gy=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ue=e=>typeof e=="number"&&isFinite(e),Xy=e=>Of(e)==="[object Date]",Ps=e=>Of(e)==="[object RegExp]",Js=e=>pe(e)&&Object.keys(e).length===0,Me=Object.assign;let Il;const qi=()=>Il||(Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ol(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Yy=Object.prototype.hasOwnProperty;function Ts(e,t){return Yy.call(e,t)}const Ne=Array.isArray,be=e=>typeof e=="function",Q=e=>typeof e=="string",ke=e=>typeof e=="boolean",Jy=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",qy=e=>he(e)&&be(e.then)&&be(e.catch),If=Object.prototype.toString,Of=e=>If.call(e),pe=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Qy=e=>e==null?"":Ne(e)||pe(e)&&e.toString===If?JSON.stringify(e,null,2):String(e);function Qi(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function zi(e){let t=e;return()=>++t}function zy(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ts=e=>!he(e)||Ne(e);function wn(e,t){if(ts(e)||ts(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:o}=n.pop();Object.keys(s).forEach(r=>{ts(s[r])||ts(o[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]})})}}/*!
* message-compiler v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function Zy(e,t,n){return{line:e,column:t,offset:n}}function ri(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const xe={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 qs(e,t,n={}){const{domain:s,messages:o,args:r}=n,i=e,l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=s,l}function e0(e){throw e}const Mt=" ",t0="\r",ze=`
`,n0="\u2028",r0="\u2029";function s0(e){const t=e;let n=0,s=1,o=1,r=0;const i=P=>t[P]===t0&&t[P+1]===ze,l=P=>t[P]===ze,a=P=>t[P]===r0,f=P=>t[P]===n0,u=P=>i(P)||l(P)||a(P)||f(P),h=()=>n,d=()=>s,c=()=>o,p=()=>r,g=P=>i(P)||a(P)||f(P)?ze:t[P],y=()=>g(n),v=()=>g(n+r);function S(){return r=0,u(n)&&(s++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,s=1,o=1,r=0}function m(P=0){r=P}function x(){const P=n+r;for(;P!==n;)S();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:y,currentPeek:v,next:S,peek:E,reset:_,resetPeek:m,skipToPeek:x}}const Jt=void 0,o0=".",Nl="'",i0="tokenizer";function a0(e,t={}){const n=t.location!==!1,s=s0(e),o=()=>s.index(),r=()=>Zy(s.line(),s.column(),s.index()),i=r(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>a,{onError:u}=t;function h(w,C,k,...I){const N=f();if(C.column+=k,C.offset+=k,u){const B=n?ri(N.startLoc,C):null,G=qs(w,B,{domain:i0,args:I});u(G)}}function d(w,C,k){w.endLoc=r(),w.currentType=C;const I={type:C};return n&&(I.loc=ri(w.startLoc,w.endLoc)),k!=null&&(I.value=k),I}const c=w=>d(w,14);function p(w,C){return w.currentChar()===C?(w.next(),C):(h(xe.EXPECTED_TOKEN,r(),0,C),"")}function g(w){let C="";for(;w.currentPeek()===Mt||w.currentPeek()===ze;)C+=w.currentPeek(),w.peek();return C}function y(w){const C=g(w);return w.skipToPeek(),C}function v(w){if(w===Jt)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function S(w){if(w===Jt)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function E(w,C){const{currentType:k}=C;if(k!==2)return!1;g(w);const I=v(w.currentPeek());return w.resetPeek(),I}function _(w,C){const{currentType:k}=C;if(k!==2)return!1;g(w);const I=w.currentPeek()==="-"?w.peek():w.currentPeek(),N=S(I);return w.resetPeek(),N}function m(w,C){const{currentType:k}=C;if(k!==2)return!1;g(w);const I=w.currentPeek()===Nl;return w.resetPeek(),I}function x(w,C){const{currentType:k}=C;if(k!==8)return!1;g(w);const I=w.currentPeek()===".";return w.resetPeek(),I}function P(w,C){const{currentType:k}=C;if(k!==9)return!1;g(w);const I=v(w.currentPeek());return w.resetPeek(),I}function b(w,C){const{currentType:k}=C;if(!(k===8||k===12))return!1;g(w);const I=w.currentPeek()===":";return w.resetPeek(),I}function T(w,C){const{currentType:k}=C;if(k!==10)return!1;const I=()=>{const B=w.currentPeek();return B==="{"?v(w.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===Mt||!B?!1:B===ze?(w.peek(),I()):v(B)},N=I();return w.resetPeek(),N}function L(w){g(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function A(w){const C=g(w),k=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:k,hasSpace:C.length>0}}function R(w,C=!0){const k=(N=!1,B="",G=!1)=>{const K=w.currentPeek();return K==="{"?B==="%"?!1:N:K==="@"||!K?B==="%"?!0:N:K==="%"?(w.peek(),k(N,"%",!0)):K==="|"?B==="%"||G?!0:!(B===Mt||B===ze):K===Mt?(w.peek(),k(!0,Mt,G)):K===ze?(w.peek(),k(!0,ze,G)):!0},I=k();return C&&w.resetPeek(),I}function O(w,C){const k=w.currentChar();return k===Jt?Jt:C(k)?(w.next(),k):null}function U(w){return O(w,k=>{const I=k.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36})}function H(w){return O(w,k=>{const I=k.charCodeAt(0);return I>=48&&I<=57})}function $(w){return O(w,k=>{const I=k.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102})}function V(w){let C="",k="";for(;C=H(w);)k+=C;return k}function W(w){y(w);const C=w.currentChar();return C!=="%"&&h(xe.EXPECTED_TOKEN,r(),0,C),w.next(),"%"}function ae(w){let C="";for(;;){const k=w.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(R(w))C+=k,w.next();else break;else if(k===Mt||k===ze)if(R(w))C+=k,w.next();else{if(L(w))break;C+=k,w.next()}else C+=k,w.next()}return C}function de(w){y(w);let C="",k="";for(;C=U(w);)k+=C;return w.currentChar()===Jt&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),k}function fe(w){y(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${V(w)}`):C+=V(w),w.currentChar()===Jt&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),C}function re(w){y(w),p(w,"'");let C="",k="";const I=B=>B!==Nl&&B!==ze;for(;C=O(w,I);)C==="\\"?k+=Se(w):k+=C;const N=w.currentChar();return N===ze||N===Jt?(h(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),N===ze&&(w.next(),p(w,"'")),k):(p(w,"'"),k)}function Se(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return ye(w,C,4);case"U":return ye(w,C,6);default:return h(xe.UNKNOWN_ESCAPE_SEQUENCE,r(),0,C),""}}function ye(w,C,k){p(w,C);let I="";for(let N=0;N<k;N++){const B=$(w);if(!B){h(xe.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${C}${I}${w.currentChar()}`);break}I+=B}return`\\${C}${I}`}function De(w){y(w);let C="",k="";const I=N=>N!=="{"&&N!=="}"&&N!==Mt&&N!==ze;for(;C=O(w,I);)k+=C;return k}function ce(w){let C="",k="";for(;C=U(w);)k+=C;return k}function D(w){const C=(k=!1,I)=>{const N=w.currentChar();return N==="{"||N==="%"||N==="@"||N==="|"||N==="("||N===")"||!N||N===Mt?I:N===ze||N===o0?(I+=N,w.next(),C(k,I)):(I+=N,w.next(),C(!0,I))};return C(!1,"")}function X(w){y(w);const C=p(w,"|");return y(w),C}function J(w,C){let k=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(xe.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),w.next(),k=d(C,2,"{"),y(w),C.braceNest++,k;case"}":return C.braceNest>0&&C.currentType===2&&h(xe.EMPTY_PLACEHOLDER,r(),0),w.next(),k=d(C,3,"}"),C.braceNest--,C.braceNest>0&&y(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),k;case"@":return C.braceNest>0&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),k=Z(w,C)||c(C),C.braceNest=0,k;default:{let N=!0,B=!0,G=!0;if(L(w))return C.braceNest>0&&h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),k=d(C,1,X(w)),C.braceNest=0,C.inLinked=!1,k;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(xe.UNTERMINATED_CLOSING_BRACE,r(),0),C.braceNest=0,ue(w,C);if(N=E(w,C))return k=d(C,5,de(w)),y(w),k;if(B=_(w,C))return k=d(C,6,fe(w)),y(w),k;if(G=m(w,C))return k=d(C,7,re(w)),y(w),k;if(!N&&!B&&!G)return k=d(C,13,De(w)),h(xe.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,k.value),y(w),k;break}}return k}function Z(w,C){const{currentType:k}=C;let I=null;const N=w.currentChar();switch((k===8||k===9||k===12||k===10)&&(N===ze||N===Mt)&&h(xe.INVALID_LINKED_FORMAT,r(),0),N){case"@":return w.next(),I=d(C,8,"@"),C.inLinked=!0,I;case".":return y(w),w.next(),d(C,9,".");case":":return y(w),w.next(),d(C,10,":");default:return L(w)?(I=d(C,1,X(w)),C.braceNest=0,C.inLinked=!1,I):x(w,C)||b(w,C)?(y(w),Z(w,C)):P(w,C)?(y(w),d(C,12,ce(w))):T(w,C)?(y(w),N==="{"?J(w,C)||I:d(C,11,D(w))):(k===8&&h(xe.INVALID_LINKED_FORMAT,r(),0),C.braceNest=0,C.inLinked=!1,ue(w,C))}}function ue(w,C){let k={type:14};if(C.braceNest>0)return J(w,C)||c(C);if(C.inLinked)return Z(w,C)||c(C);switch(w.currentChar()){case"{":return J(w,C)||c(C);case"}":return h(xe.UNBALANCED_CLOSING_BRACE,r(),0),w.next(),d(C,3,"}");case"@":return Z(w,C)||c(C);default:{if(L(w))return k=d(C,1,X(w)),C.braceNest=0,C.inLinked=!1,k;const{isModulo:N,hasSpace:B}=A(w);if(N)return B?d(C,0,ae(w)):d(C,4,W(w));if(R(w))return d(C,0,ae(w));break}}return k}function _e(){const{currentType:w,offset:C,startLoc:k,endLoc:I}=a;return a.lastType=w,a.lastOffset=C,a.lastStartLoc=k,a.lastEndLoc=I,a.offset=o(),a.startLoc=r(),s.currentChar()===Jt?d(a,14):ue(s,a)}return{nextToken:_e,currentOffset:o,currentPosition:r,context:f}}const l0="parser",c0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function u0(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"<22>"}}}function f0(e={}){const t=e.location!==!1,{onError:n}=e;function s(v,S,E,_,...m){const x=v.currentPosition();if(x.offset+=_,x.column+=_,n){const P=t?ri(E,x):null,b=qs(S,P,{domain:l0,args:m});n(b)}}function o(v,S,E){const _={type:v};return t&&(_.start=S,_.end=S,_.loc={start:E,end:E}),_}function r(v,S,E,_){_&&(v.type=_),t&&(v.end=S,v.loc&&(v.loc.end=E))}function i(v,S){const E=v.context(),_=o(3,E.offset,E.startLoc);return _.value=S,r(_,v.currentOffset(),v.currentPosition()),_}function l(v,S){const E=v.context(),{lastOffset:_,lastStartLoc:m}=E,x=o(5,_,m);return x.index=parseInt(S,10),v.nextToken(),r(x,v.currentOffset(),v.currentPosition()),x}function a(v,S){const E=v.context(),{lastOffset:_,lastStartLoc:m}=E,x=o(4,_,m);return x.key=S,v.nextToken(),r(x,v.currentOffset(),v.currentPosition()),x}function f(v,S){const E=v.context(),{lastOffset:_,lastStartLoc:m}=E,x=o(9,_,m);return x.value=S.replace(c0,u0),v.nextToken(),r(x,v.currentOffset(),v.currentPosition()),x}function u(v){const S=v.nextToken(),E=v.context(),{lastOffset:_,lastStartLoc:m}=E,x=o(8,_,m);return S.type!==12?(s(v,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),x.value="",r(x,_,m),{nextConsumeToken:S,node:x}):(S.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Tt(S)),x.value=S.value||"",r(x,v.currentOffset(),v.currentPosition()),{node:x})}function h(v,S){const E=v.context(),_=o(7,E.offset,E.startLoc);return _.value=S,r(_,v.currentOffset(),v.currentPosition()),_}function d(v){const S=v.context(),E=o(6,S.offset,S.startLoc);let _=v.nextToken();if(_.type===9){const m=u(v);E.modifier=m.node,_=m.nextConsumeToken||v.nextToken()}switch(_.type!==10&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(_)),_=v.nextToken(),_.type===2&&(_=v.nextToken()),_.type){case 11:_.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(_)),E.key=h(v,_.value||"");break;case 5:_.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(_)),E.key=a(v,_.value||"");break;case 6:_.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(_)),E.key=l(v,_.value||"");break;case 7:_.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(_)),E.key=f(v,_.value||"");break;default:{s(v,xe.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const m=v.context(),x=o(7,m.offset,m.startLoc);return x.value="",r(x,m.offset,m.startLoc),E.key=x,r(E,m.offset,m.startLoc),{nextConsumeToken:_,node:E}}}return r(E,v.currentOffset(),v.currentPosition()),{node:E}}function c(v){const S=v.context(),E=S.currentType===1?v.currentOffset():S.offset,_=S.currentType===1?S.endLoc:S.startLoc,m=o(2,E,_);m.items=[];let x=null;do{const T=x||v.nextToken();switch(x=null,T.type){case 0:T.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(T)),m.items.push(i(v,T.value||""));break;case 6:T.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(T)),m.items.push(l(v,T.value||""));break;case 5:T.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(T)),m.items.push(a(v,T.value||""));break;case 7:T.value==null&&s(v,xe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Tt(T)),m.items.push(f(v,T.value||""));break;case 8:{const L=d(v);m.items.push(L.node),x=L.nextConsumeToken||null;break}}}while(S.currentType!==14&&S.currentType!==1);const P=S.currentType===1?S.lastOffset:v.currentOffset(),b=S.currentType===1?S.lastEndLoc:v.currentPosition();return r(m,P,b),m}function p(v,S,E,_){const m=v.context();let x=_.items.length===0;const P=o(1,S,E);P.cases=[],P.cases.push(_);do{const b=c(v);x||(x=b.items.length===0),P.cases.push(b)}while(m.currentType!==14);return x&&s(v,xe.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),r(P,v.currentOffset(),v.currentPosition()),P}function g(v){const S=v.context(),{offset:E,startLoc:_}=S,m=c(v);return S.currentType===14?m:p(v,E,_,m)}function y(v){const S=a0(v,Me({},e)),E=S.context(),_=o(0,E.offset,E.startLoc);return t&&_.loc&&(_.loc.source=v),_.body=g(S),e.onCacheKey&&(_.cacheKey=e.onCacheKey(v)),E.currentType!==14&&s(S,xe.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,v[E.offset]||""),r(_,S.currentOffset(),S.currentPosition()),_}return{parse:y}}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 d0(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Ml(e,t){for(let n=0;n<e.length;n++)Zi(e[n],t)}function Zi(e,t){switch(e.type){case 1:Ml(e.cases,t),t.helper("plural");break;case 2:Ml(e.items,t);break;case 6:{Zi(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 h0(e,t={}){const n=d0(e);n.helper("normalize"),e.body&&Zi(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function p0(e){const t=e.body;return t.type===2?Dl(t):t.cases.forEach(n=>Dl(n)),e}function Dl(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 s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Qi(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Fn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Fn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Fn(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Fn(n[s]);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;Fn(t.key),t.k=t.key,delete t.key,t.modifier&&(Fn(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 g0(e,t){const{sourceMap:n,filename:s,breakLineCode:o,needIndent:r}=t,i=t.location!==!1,l={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};i&&e.loc&&(l.source=e.loc.source);const a=()=>l;function f(y,v){l.code+=y}function u(y,v=!0){const S=v?o:"";f(r?S+" ".repeat(y):S)}function h(y=!0){const v=++l.indentLevel;y&&u(v)}function d(y=!0){const v=--l.indentLevel;y&&u(v)}function c(){u(l.indentLevel)}return{context:a,push:f,indent:h,deindent:d,newline:c,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function m0(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Qn(e,t.key),t.modifier?(e.push(", "),Qn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function v0(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const o=t.items.length;for(let r=0;r<o&&(Qn(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function y0(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const o=t.cases.length;for(let r=0;r<o&&(Qn(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function _0(e,t){t.body?Qn(e,t.body):e.push("null")}function Qn(e,t){const{helper:n}=e;switch(t.type){case 0:_0(e,t);break;case 1:y0(e,t);break;case 2:v0(e,t);break;case 6:m0(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 x0=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",s=Q(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=g0(e,{mode:n,filename:s,sourceMap:o,breakLineCode:r,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${Qi(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),a.newline()),a.push("return "),Qn(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:f,map:u}=a.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function E0(e,t={}){const n=Me({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,l=f0(n).parse(e);return s?(r&&p0(l),o&&Fn(l),{ast:l,code:""}):(h0(l,n),x0(l,n))}/*!
* core-base v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function w0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qi().__INTLIFY_PROD_DEVTOOLS__=!1)}const un=[];un[0]={w:[0],i:[3,0],"[":[4],o:[7]};un[1]={w:[1],".":[2],"[":[4],o:[7]};un[2]={w:[2],i:[3,0],0:[3,0]};un[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};un[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};un[5]={"'":[4,0],o:8,l:[5,0]};un[6]={'"':[4,0],o:8,l:[6,0]};const S0=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function C0(e){return S0.test(e)}function b0(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 P0(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 T0(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:C0(t)?b0(t):"*"+t}function L0(e){const t=[];let n=-1,s=0,o=0,r,i,l,a,f,u,h;const d=[];d[0]=()=>{i===void 0?i=l:i+=l},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,s=4,d[0]();else{if(o=0,i===void 0||(i=T0(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,l="\\"+p,d[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(a=P0(r),h=un[s],f=h[a]||h.l||8,f===8||(s=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(l=r,u()===!1))))return;if(s===7)return t}}const Fl=new Map;function R0(e,t){return he(e)?e[t]:null}function k0(e,t){if(!he(e))return null;let n=Fl.get(t);if(n||(n=L0(t),n&&Fl.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=o[n[r]];if(i===void 0||be(o))return null;o=i,r++}return o}const A0=e=>e,I0=e=>"",O0="text",N0=e=>e.length===0?"":Qi(e),M0=Qy;function $l(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function D0(e){const t=Ue(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ue(e.named.count)||Ue(e.named.n))?Ue(e.named.count)?e.named.count:Ue(e.named.n)?e.named.n:t:t}function F0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function $0(e={}){const t=e.locale,n=D0(e),s=he(e.pluralRules)&&Q(t)&&be(e.pluralRules[t])?e.pluralRules[t]:$l,o=he(e.pluralRules)&&Q(t)&&be(e.pluralRules[t])?$l:void 0,r=v=>v[s(n,v.length,o)],i=e.list||[],l=v=>i[v],a=e.named||{};Ue(e.pluralIndex)&&F0(n,a);const f=v=>a[v];function u(v){const S=be(e.messages)?e.messages(v):he(e.messages)?e.messages[v]:!1;return S||(e.parent?e.parent.message(v):I0)}const h=v=>e.modifiers?e.modifiers[v]:A0,d=pe(e.processor)&&be(e.processor.normalize)?e.processor.normalize:N0,c=pe(e.processor)&&be(e.processor.interpolate)?e.processor.interpolate:M0,p=pe(e.processor)&&Q(e.processor.type)?e.processor.type:O0,y={list:l,named:f,plural:r,linked:(v,...S)=>{const[E,_]=S;let m="text",x="";S.length===1?he(E)?(x=E.modifier||x,m=E.type||m):Q(E)&&(x=E||x):S.length===2&&(Q(E)&&(x=E||x),Q(_)&&(m=_||m));const P=u(v)(y),b=m==="vnode"&&Ne(P)&&x?P[0]:P;return x?h(x)(b,m):b},message:u,type:p,interpolate:c,normalize:d,values:Me({},i,a)};return y}let Lr=null;function H0(e){Lr=e}function B0(e,t,n){Lr&&Lr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const U0=V0("function:translate");function V0(e){return t=>Lr&&Lr.emit(e,t)}const j0={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Nf=xe.__EXTEND_POINT__,gn=zi(Nf),It={INVALID_ARGUMENT:Nf,INVALID_DATE_ARGUMENT:gn(),INVALID_ISO_DATE_ARGUMENT:gn(),NOT_SUPPORT_NON_STRING_MESSAGE:gn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:gn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:gn(),NOT_SUPPORT_LOCALE_TYPE:gn(),__EXTEND_POINT__:gn()};function $t(e){return qs(e,null,void 0)}function ea(e,t){return t.locale!=null?Hl(t.locale):Hl(e.locale)}let wo;function Hl(e){if(Q(e))return e;if(be(e)){if(e.resolvedOnce&&wo!=null)return wo;if(e.constructor.name==="Function"){const t=e();if(qy(t))throw $t(It.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wo=t}else throw $t(It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $t(It.NOT_SUPPORT_LOCALE_TYPE)}function W0(e,t,n){return[...new Set([n,...Ne(t)?t:he(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Mf(e,t,n){const s=Q(n)?n:Ls,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;Ne(i);)i=Bl(r,i,t);const l=Ne(t)||!pe(t)?t:t.default?t.default:null;i=Q(l)?[l]:l,Ne(i)&&Bl(r,i,!1),o.__localeChainCache.set(s,r)}return r}function Bl(e,t,n){let s=!0;for(let o=0;o<t.length&&ke(s);o++){const r=t[o];Q(r)&&(s=K0(e,t[o],n))}return s}function K0(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=G0(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function G0(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Ne(n)||pe(n))&&n[o]&&(s=n[o])}return s}const X0="9.10.2",Qs=-1,Ls="en-US",Ul="",Vl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Y0(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Vl(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?Vl(e.children):e}}let Df;function J0(e){Df=e}let Ff;function q0(e){Ff=e}let $f;function Q0(e){$f=e}let Hf=null;const z0=e=>{Hf=e},Z0=()=>Hf;let Bf=null;const jl=e=>{Bf=e},e_=()=>Bf;let Wl=0;function t_(e={}){const t=be(e.onWarn)?e.onWarn:zy,n=Q(e.version)?e.version:X0,s=Q(e.locale)||be(e.locale)?e.locale:Ls,o=be(s)?Ls:s,r=Ne(e.fallbackLocale)||pe(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:{[o]:{}},l=pe(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},a=pe(e.numberFormats)?e.numberFormats:{[o]:{}},f=Me({},e.modifiers||{},Y0()),u=e.pluralRules||{},h=be(e.missing)?e.missing:null,d=ke(e.missingWarn)||Ps(e.missingWarn)?e.missingWarn:!0,c=ke(e.fallbackWarn)||Ps(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,y=be(e.postTranslation)?e.postTranslation:null,v=pe(e.processor)?e.processor:null,S=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,_=be(e.messageCompiler)?e.messageCompiler:Df,m=be(e.messageResolver)?e.messageResolver:Ff||R0,x=be(e.localeFallbacker)?e.localeFallbacker:$f||W0,P=he(e.fallbackContext)?e.fallbackContext:void 0,b=e,T=he(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,L=he(b.__numberFormatters)?b.__numberFormatters:new Map,A=he(b.__meta)?b.__meta:{};Wl++;const R={version:n,cid:Wl,locale:s,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:y,processor:v,warnHtmlMessage:S,escapeParameter:E,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:P,onWarn:t,__meta:A};return R.datetimeFormats=l,R.numberFormats=a,R.__datetimeFormatters=T,R.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&B0(R,n,A),R}function ta(e,t,n,s,o){const{missing:r,onWarn:i}=e;if(r!==null){const l=r(e,n,t,o);return Q(l)?l:t}else return t}function ar(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function So(e){return n=>n_(n,e)}function n_(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,o=s.c||s.cases;return e.plural(o.reduce((r,i)=>[...r,Kl(e,i)],[]))}else return Kl(e,n)}function Kl(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((o,r)=>[...o,si(e,r)],[]);return e.normalize(s)}}function si(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,o=s.m||s.modifier;return e.linked(si(e,s.k||s.key),o?si(e,o):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const r_=e=>e;let ns=Object.create(null);const zn=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function s_(e,t={}){let n=!1;const s=t.onError||e0;return t.onError=o=>{n=!0,s(o)},{...E0(e,t),detectError:n}}function o_(e,t){if(Q(e)){ke(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||r_)(e),o=ns[s];if(o)return o;const{ast:r,detectError:i}=s_(e,{...t,location:!1,jit:!0}),l=So(r);return i?l:ns[s]=l}else{const n=e.cacheKey;if(n){const s=ns[n];return s||(ns[n]=So(e))}else return So(e)}}const Gl=()=>"",gt=e=>be(e);function Xl(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:l}=e,[a,f]=oi(...t),u=ke(f.missingWarn)?f.missingWarn:e.missingWarn,h=ke(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=ke(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Q(f.default)||ke(f.default)?ke(f.default)?r?a:()=>a:f.default:n?r?a:()=>a:"",g=n||p!=="",y=ea(e,f);d&&i_(f);let[v,S,E]=c?[a,y,l[y]||{}]:Uf(e,a,y,i,h,u),_=v,m=a;if(!c&&!(Q(_)||zn(_)||gt(_))&&g&&(_=p,m=_),!c&&(!(Q(_)||zn(_)||gt(_))||!Q(S)))return o?Qs:a;let x=!1;const P=()=>{x=!0},b=gt(_)?_:Vf(e,a,S,_,m,P);if(x)return _;const T=c_(e,S,E,f),L=$0(T),A=a_(e,b,L),R=s?s(A,a):A;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Q(a)?a:gt(_)?_.key:"",locale:S||(gt(_)?_.locale:""),format:Q(_)?_:gt(_)?_.source:"",message:R};O.meta=Me({},e.__meta,Z0()||{}),U0(O)}return R}function i_(e){Ne(e.list)?e.list=e.list.map(t=>Q(t)?Ol(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=Ol(e.named[t]))})}function Uf(e,t,n,s,o,r){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:f}=e,u=f(e,s,n);let h={},d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||{},(c=a(h,t))===null&&(c=h[t]),!(Q(c)||zn(c)||gt(c)));g++){const y=ta(e,t,d,r,p);y!==t&&(c=y)}return[c,d,h]}function Vf(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:l}=e;if(gt(s)){const f=s;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>s;return f.locale=n,f.key=t,f}const a=i(s,l_(e,n,o,s,l,r));return a.locale=n,a.key=t,a.source=s,a}function a_(e,t,n){return t(n)}function oi(...e){const[t,n,s]=e,o={};if(!Q(t)&&!Ue(t)&&!gt(t)&&!zn(t))throw $t(It.INVALID_ARGUMENT);const r=Ue(t)?String(t):(gt(t),t);return Ue(n)?o.plural=n:Q(n)?o.default=n:pe(n)&&!Js(n)?o.named=n:Ne(n)&&(o.list=n),Ue(s)?o.plural=s:Q(s)?o.default=s:pe(s)&&Me(o,s),[r,o]}function l_(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>Ky(t,n,i)}}function c_(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=Uf(u,c,t,l,a,f);p=i(g,c)}if(Q(p)||zn(p)){let g=!1;const v=Vf(e,c,t,p,c,()=>{g=!0});return g?Gl:v}else return gt(p)?p:Gl}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),Ue(s.plural)&&(d.pluralIndex=s.plural),d}function Yl(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[a,f,u,h]=ii(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ea(e,u),g=i(e,o,p);if(!Q(a)||a==="")return new Intl.DateTimeFormat(p,h).format(f);let y={},v,S=null;const E="datetime format";for(let x=0;x<g.length&&(v=g[x],y=n[v]||{},S=y[a],!pe(S));x++)ta(e,a,v,d,E);if(!pe(S)||!Q(v))return s?Qs:a;let _=`${v}__${a}`;Js(h)||(_=`${_}__${JSON.stringify(h)}`);let m=l.get(_);return m||(m=new Intl.DateTimeFormat(v,Me({},S,h)),l.set(_,m)),c?m.formatToParts(f):m.format(f)}const jf=["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,s,o]=e,r={};let i={},l;if(Q(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw $t(It.INVALID_ISO_DATE_ARGUMENT);const f=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(f);try{l.toISOString()}catch{throw $t(It.INVALID_ISO_DATE_ARGUMENT)}}else if(Xy(t)){if(isNaN(t.getTime()))throw $t(It.INVALID_DATE_ARGUMENT);l=t}else if(Ue(t))l=t;else throw $t(It.INVALID_ARGUMENT);return Q(n)?r.key=n:pe(n)&&Object.keys(n).forEach(a=>{jf.includes(a)?i[a]=n[a]:r[a]=n[a]}),Q(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",l,r,i]}function Jl(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function ql(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:l}=e,[a,f,u,h]=ai(...t),d=ke(u.missingWarn)?u.missingWarn:e.missingWarn;ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ea(e,u),g=i(e,o,p);if(!Q(a)||a==="")return new Intl.NumberFormat(p,h).format(f);let y={},v,S=null;const E="number format";for(let x=0;x<g.length&&(v=g[x],y=n[v]||{},S=y[a],!pe(S));x++)ta(e,a,v,d,E);if(!pe(S)||!Q(v))return s?Qs:a;let _=`${v}__${a}`;Js(h)||(_=`${_}__${JSON.stringify(h)}`);let m=l.get(_);return m||(m=new Intl.NumberFormat(v,Me({},S,h)),l.set(_,m)),c?m.formatToParts(f):m.format(f)}const Wf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ai(...e){const[t,n,s,o]=e,r={};let i={};if(!Ue(t))throw $t(It.INVALID_ARGUMENT);const l=t;return Q(n)?r.key=n:pe(n)&&Object.keys(n).forEach(a=>{Wf.includes(a)?i[a]=n[a]:r[a]=n[a]}),Q(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",l,r,i]}function Ql(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}w0();/*!
* vue-i18n v9.10.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const u_="9.10.2";function f_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qi().__INTLIFY_PROD_DEVTOOLS__=!1)}const Kf=j0.__EXTEND_POINT__,Dt=zi(Kf);Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt(),Dt();const Gf=It.__EXTEND_POINT__,et=zi(Gf),_t={UNEXPECTED_RETURN_TYPE:Gf,INVALID_ARGUMENT:et(),MUST_BE_CALL_SETUP_TOP:et(),NOT_INSTALLED:et(),NOT_AVAILABLE_IN_LEGACY_MODE:et(),REQUIRED_VALUE:et(),INVALID_VALUE:et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:et(),NOT_INSTALLED_WITH_PROVIDE:et(),UNEXPECTED_ERROR:et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:et(),BRIDGE_SUPPORT_VUE_2_ONLY:et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:et(),__EXTEND_POINT__:et()};function bt(e,...t){return qs(e,null,void 0)}const li=cn("__translateVNode"),ci=cn("__datetimeParts"),ui=cn("__numberParts"),d_=cn("__setPluralRules"),h_=cn("__injectWithOption"),fi=cn("__dispose");function Rr(e){if(!he(e))return e;for(const t in e)if(Ts(e,t))if(!t.includes("."))he(e[t])&&Rr(e[t]);else{const n=t.split("."),s=n.length-1;let o=e,r=!1;for(let i=0;i<s;i++){if(n[i]in o||(o[n[i]]={}),!he(o[n[i]])){r=!0;break}o=o[n[i]]}r||(o[n[s]]=e[t],delete e[t]),he(o[n[s]])&&Rr(o[n[s]])}return e}function Xf(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:Ne(s)?{}:{[e]:{}};if(Ne(s)&&s.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:f}=l;a?(i[a]=i[a]||{},wn(f,i[a])):wn(f,i)}else Q(l)&&wn(JSON.parse(l),i)}),o==null&&r)for(const l in i)Ts(i,l)&&Rr(i[l]);return i}function Yf(e){return e.type}function p_(e,t,n){let s=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=Xf(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function zl(e){return Ie(Cn,null,e,0)}const Zl="__INTLIFY_META__",ec=()=>[],g_=()=>!1;let tc=0;function nc(e){return(t,n,s,o)=>e(n,s,Ln()||void 0,o)}const m_=()=>{const e=Ln();let t=null;return e&&(t=Yf(e)[Zl])?{[Zl]:t}:null};function Jf(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=bs?we:Gn,l=!!e.translateExistCompatible;let a=ke(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&a?n.locale.value:Q(e.locale)?e.locale:Ls),u=i(n&&a?n.fallbackLocale.value:Q(e.fallbackLocale)||Ne(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(Xf(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:ke(e.missingWarn)||Ps(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:ke(e.fallbackWarn)||Ps(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,S=be(e.missing)?e.missing:null,E=be(e.missing)?nc(e.missing):null,_=be(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const P=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,T;T=(()=>{o&&jl(null);const M={version:u_,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:P,pluralRules:b,missing:E===null?void 0:E,missingWarn:p,fallbackWarn:g,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:x,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 F=t_(M);return o&&jl(F),F})(),ar(T,f.value,u.value);function A(){return[f.value,u.value,h.value,d.value,c.value]}const R=Pe({get:()=>f.value,set:M=>{f.value=M,T.locale=f.value}}),O=Pe({get:()=>u.value,set:M=>{u.value=M,T.fallbackLocale=u.value,ar(T,f.value,M)}}),U=Pe(()=>h.value),H=Pe(()=>d.value),$=Pe(()=>c.value);function V(){return be(_)?_:null}function W(M){_=M,T.postTranslation=M}function ae(){return S}function de(M){M!==null&&(E=nc(M)),S=M,T.missing=E}const fe=(M,F,ee,ie,Te,Ke)=>{A();let at;try{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=n?e_():void 0),at=M(T)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(ee!=="translate exists"&&Ue(at)&&at===Qs||ee==="translate exists"&&!at){const[Vr,Rn]=F();return n&&y?ie(n):Te(Vr)}else{if(Ke(at))return at;throw bt(_t.UNEXPECTED_RETURN_TYPE)}};function re(...M){return fe(F=>Reflect.apply(Xl,null,[F,...M]),()=>oi(...M),"translate",F=>Reflect.apply(F.t,F,[...M]),F=>F,F=>Q(F))}function Se(...M){const[F,ee,ie]=M;if(ie&&!he(ie))throw bt(_t.INVALID_ARGUMENT);return re(F,ee,Me({resolvedMessage:!0},ie||{}))}function ye(...M){return fe(F=>Reflect.apply(Yl,null,[F,...M]),()=>ii(...M),"datetime format",F=>Reflect.apply(F.d,F,[...M]),()=>Ul,F=>Q(F))}function De(...M){return fe(F=>Reflect.apply(ql,null,[F,...M]),()=>ai(...M),"number format",F=>Reflect.apply(F.n,F,[...M]),()=>Ul,F=>Q(F))}function ce(M){return M.map(F=>Q(F)||Ue(F)||ke(F)?zl(String(F)):F)}const X={normalize:ce,interpolate:M=>M,type:"vnode"};function J(...M){return fe(F=>{let ee;const ie=F;try{ie.processor=X,ee=Reflect.apply(Xl,null,[ie,...M])}finally{ie.processor=null}return ee},()=>oi(...M),"translate",F=>F[li](...M),F=>[zl(F)],F=>Ne(F))}function Z(...M){return fe(F=>Reflect.apply(ql,null,[F,...M]),()=>ai(...M),"number format",F=>F[ui](...M),ec,F=>Q(F)||Ne(F))}function ue(...M){return fe(F=>Reflect.apply(Yl,null,[F,...M]),()=>ii(...M),"datetime format",F=>F[ci](...M),ec,F=>Q(F)||Ne(F))}function _e(M){b=M,T.pluralRules=b}function w(M,F){return fe(()=>{if(!M)return!1;const ee=Q(F)?F:f.value,ie=I(ee),Te=T.messageResolver(ie,M);return l?Te!=null:zn(Te)||gt(Te)||Q(Te)},()=>[M],"translate exists",ee=>Reflect.apply(ee.te,ee,[M,F]),g_,ee=>ke(ee))}function C(M){let F=null;const ee=Mf(T,u.value,f.value);for(let ie=0;ie<ee.length;ie++){const Te=h.value[ee[ie]]||{},Ke=T.messageResolver(Te,M);if(Ke!=null){F=Ke;break}}return F}function k(M){const F=C(M);return F??(n?n.tm(M)||{}:{})}function I(M){return h.value[M]||{}}function N(M,F){if(r){const ee={[M]:F};for(const ie in ee)Ts(ee,ie)&&Rr(ee[ie]);F=ee[M]}h.value[M]=F,T.messages=h.value}function B(M,F){h.value[M]=h.value[M]||{};const ee={[M]:F};if(r)for(const ie in ee)Ts(ee,ie)&&Rr(ee[ie]);F=ee[M],wn(F,h.value[M]),T.messages=h.value}function G(M){return d.value[M]||{}}function K(M,F){d.value[M]=F,T.datetimeFormats=d.value,Jl(T,M,F)}function Y(M,F){d.value[M]=Me(d.value[M]||{},F),T.datetimeFormats=d.value,Jl(T,M,F)}function j(M){return c.value[M]||{}}function z(M,F){c.value[M]=F,T.numberFormats=c.value,Ql(T,M,F)}function te(M,F){c.value[M]=Me(c.value[M]||{},F),T.numberFormats=c.value,Ql(T,M,F)}tc++,n&&bs&&(st(n.locale,M=>{a&&(f.value=M,T.locale=M,ar(T,f.value,u.value))}),st(n.fallbackLocale,M=>{a&&(u.value=M,T.fallbackLocale=M,ar(T,f.value,u.value))}));const q={id:tc,locale:R,fallbackLocale:O,get inheritLocale(){return a},set inheritLocale(M){a=M,M&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,ar(T,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:U,get modifiers(){return P},get pluralRules(){return b||{}},get isGlobal(){return o},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 y},set fallbackRoot(M){y=M},get fallbackFormat(){return v},set fallbackFormat(M){v=M,T.fallbackFormat=v},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,T.warnHtmlMessage=M},get escapeParameter(){return x},set escapeParameter(M){x=M,T.escapeParameter=M},t:re,getLocaleMessage:I,setLocaleMessage:N,mergeLocaleMessage:B,getPostTranslationHandler:V,setPostTranslationHandler:W,getMissingHandler:ae,setMissingHandler:de,[d_]:_e};return q.datetimeFormats=H,q.numberFormats=$,q.rt=Se,q.te=w,q.tm=k,q.d=ye,q.n=De,q.getDateTimeFormat=G,q.setDateTimeFormat=K,q.mergeDateTimeFormat=Y,q.getNumberFormat=j,q.setNumberFormat=z,q.mergeNumberFormat=te,q[h_]=s,q[li]=J,q[ci]=ue,q[ui]=Z,q}const na={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function v_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Xe?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function qf(e){return Xe}const y_=We({name:"i18n-t",props:Me({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ue(e)||!isNaN(e)}},na),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||zs({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Q(e.plural)?+e.plural:e.plural);const l=v_(t,r),a=o[li](e.keypath,l,i),f=Me({},s),u=Q(e.tag)||he(e.tag)?e.tag:qf();return je(u,f,a)}}}),rc=y_;function __(e){return Ne(e)&&!Q(e[0])}function Qf(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),Q(e.format)?i.key=e.format:he(e.format)&&(Q(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Me({},d,{[c]:e.format[c]}):d,{}));const a=s(e.value,i,l);let f=[i.key];Ne(a)?f=a.map((d,c)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:c,parts:a}):[d.value];return __(g)&&(g[0].key=`${d.type}-${c}`),g}):Q(a)&&(f=[a]);const u=Me({},r),h=Q(e.tag)||he(e.tag)?e.tag:qf();return je(h,u,f)}}const x_=We({name:"i18n-n",props:Me({value:{type:Number,required:!0},format:{type:[String,Object]}},na),setup(e,t){const n=e.i18n||zs({useScope:"parent",__useComponent:!0});return Qf(e,t,Wf,(...s)=>n[ui](...s))}}),sc=x_,E_=We({name:"i18n-d",props:Me({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},na),setup(e,t){const n=e.i18n||zs({useScope:"parent",__useComponent:!0});return Qf(e,t,jf,(...s)=>n[ci](...s))}}),oc=E_;function w_(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function S_(e){const t=i=>{const{instance:l,modifiers:a,value:f}=i;if(!l||!l.$)throw bt(_t.UNEXPECTED_ERROR);const u=w_(e,l.$),h=ic(f);return[Reflect.apply(u.t,u,[...ac(h)]),u]};return{created:(i,l)=>{const[a,f]=t(l);bs&&e.global===f&&(i.__i18nWatcher=st(f.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=f,i.textContent=a},unmounted:i=>{bs&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,f=ic(l);i.textContent=Reflect.apply(a.t,a,[...ac(f)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function ic(e){if(Q(e))return{path:e};if(pe(e)){if(!("path"in e))throw bt(_t.REQUIRED_VALUE,"path");return e}else throw bt(_t.INVALID_VALUE)}function ac(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},l=s||{};return Q(n)&&(i.locale=n),Ue(o)&&(i.plural=o),Ue(r)&&(i.plural=r),[t,l,i]}function C_(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(ke(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":rc.name,"I18nT"].forEach(i=>e.component(i,rc)),[sc.name,"I18nN"].forEach(i=>e.component(i,sc)),[oc.name,"I18nD"].forEach(i=>e.component(i,oc))),e.directive("t",S_(t))}const b_=cn("global-vue-i18n");function P_(e={},t){const n=ke(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=T_(e),l=cn("");function a(h){return o.get(h)||null}function f(h,d){o.set(h,d)}function u(h){o.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return s},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,h),pe(c[0])){const y=c[0];h.__composerExtend=y.__composerExtend,h.__vueI18nExtend=y.__vueI18nExtend}let p=null;n&&(p=M_(d,h.global)),C_(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:a,__setInstance:f,__deleteInstance:u};return h}}function zs(e={}){const t=Ln();if(t==null)throw bt(_t.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw bt(_t.NOT_INSTALLED);const n=L_(t),s=k_(n),o=Yf(t),r=R_(e,o);if(r==="global")return p_(s,e,o),s;if(r==="parent"){let a=A_(n,t,e.__useComponent);return a==null&&(a=s),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Me({},e);"__i18n"in o&&(a.__i18n=o.__i18n),s&&(a.__root=s),l=Jf(a),i.__composerExtend&&(l[fi]=i.__composerExtend(l)),O_(i,t,l),i.__setInstance(t,l)}return l}function T_(e,t,n){const s=yi();{const o=s.run(()=>Jf(e));if(o==null)throw bt(_t.UNEXPECTED_ERROR);return[s,o]}}function L_(e){{const t=qe(e.isCE?b_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw bt(e.isCE?_t.NOT_INSTALLED_WITH_PROVIDE:_t.UNEXPECTED_ERROR);return t}}function R_(e,t){return Js(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function k_(e){return e.mode==="composition"?e.global:e.global.__composer}function A_(e,t,n=!1){let s=null;const o=t.root;let r=I_(t,n);for(;r!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(r)),s!=null||o===r)break;r=r.parent}return s}function I_(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function O_(e,t,n){xt(()=>{},t),Mi(()=>{const s=n;e.__deleteInstance(t);const o=s[fi];o&&(o(),delete s[fi])},t)}const N_=["locale","fallbackLocale","availableLocales"],lc=["t","rt","d","n","tm","te"];function M_(e,t){const n=Object.create(null);return N_.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw bt(_t.UNEXPECTED_ERROR);const i=$e(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,lc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw bt(_t.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,lc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}f_();J0(o_);q0(k0);Q0(Mf);if(__INTLIFY_PROD_DEVTOOLS__){const e=qi();e.__INTLIFY__=!0,H0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const bn=["en","it"],Rs={en:[{key:"../locales/en-US/general.ts",load:()=>Ge(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>Ge(()=>import("./DQbX4iEc.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>Ge(()=>import("./oIL6t1dq.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>Ge(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>Ge(()=>import("./BhsK5Nxi.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>Ge(()=>import("./C1ipSjr7.js"),[],import.meta.url),cache:!0}]},D_=[],Zs=[{code:"en",iso:"en-US",name:"English",files:[{path:"locales/en-US/general.ts"},{path:"locales/en-US/projects.ts"},{path:"locales/en-US/resume.ts"}]},{code:"it",iso:"it-IT",name:"Italiano",files:[{path:"locales/it-IT/general.ts"},{path:"locales/it-IT/projects.ts"},{path:"locales/it-IT/resume.ts"}]}],zf="@nuxtjs/i18n",F_=!1,$_="nuxtI18n",H_="i18n_redirected",cc="nuxt-i18n-slp",yr=new Map;async function B_(e,t){const n={messages:{}};for(const s of e){const{default:o}=await s(),r=typeof o=="function"?await t.runWithContext(async()=>await o()):o;wn(r,n)}return n}function Zf(e,t){let n=[];if(Ne(e))n=e;else if(he(e)){const s=[...t,"default"];for(const o of s)e[o]&&(n=[...n,...e[o].filter(Boolean)])}else Q(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function U_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:l}=n;if(l&&i){const f=Zf(i,[s,o]);await Promise.all(f.map(u=>uc(u,t,e)))}const a=l?[...new Set().add(s).add(o)]:r;return await Promise.all(a.map(f=>uc(f,t,e))),e}async function V_(e,{key:t,load:n}){let s=null;try{const o=await n().then(r=>r.default||r);be(o)?s=await o(e):(s=o,s!=null&&yr&&yr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function ks(e,t,n){const s=t[e];if(s==null){console.warn("Could not find messages for locale code: "+e);return}const o={};for(const r of s){let i=null;yr&&yr.has(r.key)&&r.cache?i=yr.get(r.key):i=await V_(e,r),i!=null&&wn(i,o)}n(e,o)}async function uc(e,t,n){await ks(e,t,(o,r)=>{const i=n[o]||{};wn(r,i),n[o]=i})}const j_={path:"/",watch:!0,decode:e=>br(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},W_=void 0;function K_(e,t){var a;const n={...j_,...t},s=fc(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const r=o!==void 0&&o<=0,i=Lt(r?void 0:s[e]??((a=n.default)==null?void 0:a.call(n))),l=o&&!r?Y_(i,o,n.watch&&n.watch!=="shallow"):we(i);{let f=null;try{!W_&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||am(l.value,s[e])||(X_(e,l.value,n),s[e]=Lt(l.value),f==null||f.postMessage({value:n.encode(l.value)}))},h=c=>{var g;const p=c.refresh?(g=fc(n))==null?void 0:g[e]:n.decode(c.value);d=!0,s[e]=l.value=p,an(()=>{d=!1})};let d=!1;_i()&&Mc(()=>{d=!0,u(),f==null||f.close()}),f&&(f.onmessage=({data:c})=>h(c)),n.watch?st(l,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return l}function fc(e={}){return em(document.cookie,e)}function G_(e,t,n={}){return t==null?za(e,t,{...n,maxAge:-1}):za(e,t,n)}function X_(e,t,n={}){document.cookie=G_(e,t,n)}const dc=2147483647;function Y_(e,t,n){let s,o,r=0;const i=n?we(e):{value:e};return _i()&&Mc(()=>{o==null||o(),clearTimeout(s)}),oh((l,a)=>{n&&(o=st(i,a));function f(){clearTimeout(s);const u=t-r,h=u<dc?u:dc;s=setTimeout(()=>{if(r+=h,r<t)return f();i.value=void 0,a()},h)}return{get(){return l(),i.value},set(u){f(),i.value=u,a()}}})}const J_=typeof window<"u";function q_(e){e=e||[];const t=[];for(const n of e)Q(n)?t.push({code:n}):t.push(n);return t}function Q_(e){return e!=null&&"global"in e&&"mode"in e}function z_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&$e(e.locale)}function ed(e){return e!=null&&"__composer"in e}function fn(e){return Q_(e)?e.global:e}function Zn(e){const t=fn(e);return z_(t)?t:ed(t)?t.__composer:t}function eo(e){return ne(fn(e).locale)}function Z_(e){return ne(fn(e).locales)}function ex(e){return ne(fn(e).localeCodes)}function td(e,t){const n=fn(e);$e(n.locale)?n.locale.value=t:n.locale=t}function nd(e){return Q(e)?e:Jy(e)?e.toString():"(null)"}function hc(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r}){let i=nd(e)+(s==="no_prefix"?"":o+t);return t===n&&s==="prefix_and_default"&&(i+=o+r),i}function pc(e,t){return be(e)?e(t):e}function tx(e,t){const n=[];for(const[s,o]of t.entries()){const r=e.find(i=>i.iso.toLowerCase()===o.toLowerCase());if(r){n.push({code:r.code,score:1-s/t.length});break}}for(const[s,o]of t.entries()){const r=o.split("-")[0].toLowerCase(),i=e.find(l=>l.iso.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const nx=tx;function rx(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const sx=rx;function ox(e,t,{matcher:n=nx,comparer:s=sx}={}){const o=[];for(const i of e){const{code:l}=i,a=i.iso||l;o.push({code:l,iso:a})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function As(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const ix="$s";function rd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o=ix+n,r=ve(),i=Zc(r.payload.state,o);if(i.value===void 0&&s){const l=s();if($e(l))return r.payload.state[o]=l,l;i.value=l}return i}function ax(e,t){return[e.slice(0,t),e.slice(t)]}function lx(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:l,redirectedFrom:a,matched:f}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:l,matched:f,redirectedFrom:a}}function cx({router:e},t,n,s){var f,u;if(n!=="prefix")return e.resolve(t);const[o,r]=ax(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,l=(u=(f=e.options)==null?void 0:f.routes)==null?void 0:u.find(h=>h.path===i);if(l==null)return t;const a=Me({},t,l);return a.path=i,e.resolve(a)}const ux=new Set(["prefix_and_default","prefix_except_default"]);function fx(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&ux.has(s))&&s!=="no_prefix"}const dx=fx;function er(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=ne(t);return s==null||!s.name?void 0:nd(s.name).split(n)[0]}function to(e,t,n){var o;if(typeof t=="string"&&Et(t,{acceptRelative:!0}))return t;const s=no(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function ra(e,t,n){return no(e,t,n)??void 0}function hx(e,t,n){return no(e,t,n)??void 0}function no(e,t,n){const{router:s,i18n:o}=e,r=n||eo(o),{routesNameSeparator:i,defaultLocale:l,defaultLocaleRouteNameSuffix:a,strategy:f,trailingSlash:u}=e.runtimeConfig.public.i18n,h=Lx(e.runtimeConfig);let d;if(Q(t))if(t[0]==="/"){const{pathname:g,search:y,hash:v}=Vo(t),S=Bi(y);d={path:g,query:S,hash:v}}else d={name:t};else d=t;let c=Me({},d);if((g=>"path"in g&&!!g.path&&!("name"in g))(c)){const g=cx(e,c,f,r),y=er(e,g);Q(y)?(c={name:hc(y,r,{defaultLocale:l,strategy:f,routesNameSeparator:i,defaultLocaleRouteNameSuffix:a}),params:g.params,query:g.query,hash:g.hash},c.state=g.state):(h({currentLocale:r,defaultLocale:l,strategy:f})&&(c.path=`/${r}${c.path}`),c.path=u?Cr(c.path,!0):Dr(c.path,!0))}else!c.name&&!("path"in c)&&(c.name=er(e,s.currentRoute.value)),c.name=hc(c.name,r,{defaultLocale:l,strategy:f,routesNameSeparator:i,defaultLocaleRouteNameSuffix:a});try{const g=s.resolve(c);return g.name?g:s.resolve(t)}catch(g){if(typeof g=="object"&&"type"in g&&g.type===1)return null}}const px=e=>e;function gx(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ne(e.metaState.value);const n=t.meta||{};return((s=ne(n))==null?void 0:s[$_])||{}}function tr(e,t,n){const s=n??e.router.currentRoute.value,o=er(e,s);if(!o)return"";const r=Rx(e.runtimeConfig),i=lx(s),l=gx(e,s)[t],a={...i,name:o,params:{...i.params,...l}},f=to(e,a,t);return r(f,t)}function sd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=ft().public.i18n,r=Zn(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(ne(r.locales)==null||ne(r.baseUrl)==null)return i;const l=eo(e.i18n),a=Z_(e.i18n),f=q_(a).find(d=>d.code===l)||{code:l},u=f.iso,h=f.dir||o;return t&&(i.htmlAttrs.dir=h),n&&l&&ne(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...mx(e,ne(a),s),...vx(e,s,n)),i.meta.push(...yx(e,s,n),..._x(f,u,s),...xx(ne(a),u,s))),i}function sa(){const e=Zn(ve().$i18n);return ne(e.baseUrl)}function mx(e,t,n){const s=sa(),{defaultLocale:o,strategy:r}=ft().public.i18n,i=[];if(r==="no_prefix")return i;const l=new Map;for(const a of t){const f=a.iso;if(!f){console.warn("Locale ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(a.isCatchallLocale||!l.has(u))&&l.set(u,a),l.set(f,a)}for(const[a,f]of l.entries()){const u=tr(e,f.code);u&&i.push({[n]:`i18n-alt-${a}`,rel:"alternate",href:di(u,s),hreflang:a})}if(o){const a=tr(e,o);a&&i.push({[n]:"i18n-xd",rel:"alternate",href:di(a,s),hreflang:"x-default"})}return i}function od(e,t,n){const s=e.router.currentRoute.value,o=ra(e,{...s,path:void 0,name:er(e,s)});if(!o)return"";let r=di(o.path,t);const i=he(n)&&n.canonicalQueries||[],l=o.query,a=new URLSearchParams;for(const u of i)if(u in l){const h=l[u];Ne(h)?h.forEach(d=>a.append(u,d||"")):a.append(u,h||"")}const f=a.toString();return f&&(r=`${r}?${f}`),r}function vx(e,t,n){const s=sa(),o=od(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function yx(e,t,n){const s=sa(),o=od(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function _x(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:id(t)}]}function xx(e,t,n){return e.filter(o=>o.iso&&o.iso!==t).map(o=>({[n]:`i18n-og-alt-${o.iso}`,property:"og:locale:alternate",content:id(o.iso)}))}function id(e){return(e||"").replace(/-/g,"_")}function di(e,t){return e.match(/^https?:\/\//)?e:t+e}function Ex(e,t){return Br(e,"setLocale",t)}function wx(e,t){return Br(e,"setLocaleCookie",t)}function ad(e,t,n){return Br(e,"mergeLocaleMessage",t,n)}function Sx(e,t,n,s,o){return Br(e,"onBeforeLanguageSwitch",t,n,s,o)}function Cx(e,t,n){return Br(e,"onLanguageSwitched",t,n)}function oa(e){return{i18n:e??ve().$i18n,router:dt(),runtimeConfig:ft(),metaState:rd("nuxt-i18n-meta",()=>({}))}}async function gc(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,l=Ur(n),a=ve(),f=eo(t),u=ex(t);function h(c=f){l===!1||!l.useCookie||r||wx(t,c)}if(!e||!s&&o||f===e)return h(),!1;const d=await Sx(t,f,e,s,a);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=Ax(t,"fallbackLocale"),p=(g,y)=>ad(t,g,y);if(c){const g=Zf(c,[e]);await Promise.all(g.map(y=>ks(y,Rs,p)))}await ks(e,Rs,p)}return r?!1:(h(e),td(t,e),await Cx(t,f,e),!0)}function mc(e,t,n,s,o,r){const{strategy:i,defaultLocale:l,differentDomains:a}=r,f=Ur(r),u=be(s)?s():s,{ssg:h,callType:d,firstAccess:c,localeCookie:p}=o,{locale:g,stat:y,reason:v,from:S}=f?fd(e,n,o,u):ud;if(v==="detect_ignore_on_ssg")return u;if((S==="navigator_or_header"||S==="cookie"||S==="fallback")&&g)return g;let E=g;return E||(a?E=Mx(Zs,i,e):i!=="no_prefix"?E=t(e):f||(E=u)),!E&&f&&f.useCookie&&(E=p||""),E||(E=l||""),E}function vc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ve(),r=oa(),{strategy:i,differentDomains:l}=r.runtimeConfig.public.i18n;let a="";const{fullPath:f}=e.to;if(!l&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(f,t);Q(u)&&u&&!Uo(u,f)&&!u.startsWith("//")&&(a=e.from&&e.from.fullPath===u?"":u)}if((l||!0)&&n(e.to)!==t){const u=tr(r,t,e.to);Q(u)&&u&&!Uo(u,f)&&!u.startsWith("//")&&(a=u)}return a}function bx(e){return he(e)&&"path"in e&&"statusCode"in e}const Px=()=>rd(zf+":redirect",()=>"");function yc(e,t){return af(e,{redirectCode:t})}async function _c(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:l,differentDomains:a,skipSettingLocaleOnNavigate:f}=s.$config.public.i18n;let{redirectPath:u}=e;if(i.path==="/"&&l)return Q(l)?u="/"+l:bx(l)&&(u="/"+l.path,t=l.statusCode),u=s.$localePath(u,r),yc(u,t);if(!(f&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(h=>{o.__resolvePendingLocalePromise=h}),!n))){if(a){const h=Px();h.value&&h.value!==u&&(h.value="",window.location.assign(u))}else if(u)return yc(u,t)}}function Tx(e,t){Mn(e,"$i18n",fn(t)),Mn(e,"$getRouteBaseName",rt(er)),Mn(e,"$localePath",rt(to)),Mn(e,"$localeRoute",rt(ra)),Mn(e,"$switchLocalePath",rt(tr)),Mn(e,"$localeHead",rt(sd))}function Lx(e=ft()){return t=>dx(t)&&!e.public.i18n.differentDomains}function Rx(e=ft()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=dd(n);return s?Fr(s,t):t}else return px(t)}}function kx(){return()=>{const e=ve(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(be(t))return t(e);const o=be(n)?n():n;if(s&&o){const r=dd(o);if(r)return r}return t}}function ld(e){return zf+" "+e}function Br(e,t,...n){const s=fn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function Ax(e,t){const n=fn(e);return ne(n[t])}function Mn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function rt(e,t=oa()){return(...n)=>e(t,...n)}function cd(){let e;return navigator.languages&&(e=ox(Zs,navigator.languages)),e}function Ix(){const e=Ur(),t=e&&e.cookieKey||H_,n=new Date,s={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&&(s.domain=e.cookieDomain),K_(t,s)}function rs(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(bn.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function Ox(e,t,n){n===!1||!n.useCookie||(e.value=t)}const ud={locale:"",stat:!1,reason:"unknown",from:"unknown"};function fd(e,t,n,s=""){const{strategy:o}=ft().public.i18n,{ssg:r,callType:i,firstAccess:l,localeCookie:a}=n;if(o==="no_prefix"&&r==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!l)return{locale:o==="no_prefix"?s:"",stat:!1,reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=Ur(),c=Q(e)?e:e.path;if(o!=="no_prefix"){if(f==="root"){if(c!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(f==="no prefix"&&!u&&c.match(As(bn)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let p="unknown",g,y;h&&(y=g=a,p="cookie"),y||(y=cd(),p="navigator_or_header");const v=y||d;!y&&d&&(p="fallback");const S=s||t;if(v&&(!h||u||!g)){if(o==="no_prefix")return{locale:v,stat:!0,from:p};if(i==="setup"&&v!==S)return{locale:v,stat:!0,from:p};if(u){const E=c==="/",_=f==="all",m=f==="no prefix"&&!c.match(As(bn));if(E||_||m)return{locale:v,stat:!0,from:p}}}return r==="ssg_setup"&&v?{locale:v,stat:!0,from:p}:(p==="navigator_or_header"||p==="cookie")&&v?{locale:v,stat:!0,from:p}:{locale:"",stat:!1,reason:"not_found_match"}}function Nx(){let e;return e=window.location.host,e}function Mx(e,t,n){let s=Nx()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let l=i.domain;return Et(i.domain)&&(l=i.domain.replace(/(http|https):\/\//,"")),l===s}return!1});if(r.length===1)o=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(ld("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=he(n)?n.path:Q(n)?n:"";if(i&&i!==""){const l=i.match(As(r.map(a=>a.code)));l&&l.length>1&&(o=r.find(a=>a.code===l[1]))}}o||(o=r.find(i=>i.domainDefault))}if(o)return o.code;s=""}return s}function dd(e){var r,i;const n=ft().public.i18n,s=Zs.find(l=>l.code===e),o=((i=(r=n==null?void 0:n.locales)==null?void 0:r[e])==null?void 0:i.domain)??(s==null?void 0:s.domain);if(o){if(Et(o,{strict:!0}))return o;let l;return l=new URL(window.location.origin).protocol,l+"//"+o}console.warn(ld("Could not find domain name for locale "+e))}const Ur=(e=ft().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;function Dx(){return rt(to)}function Fx(){return rt(tr)}function $x(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=yi(),l=e.install;return e.install=(a,...f)=>{const u=Ux(f[0])?Me({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const y=Zn(e);g.locales=Pe(()=>y.locales.value),g.localeCodes=Pe(()=>y.localeCodes.value),g.baseUrl=Pe(()=>y.baseUrl.value);let v;return be(h)&&(v=Reflect.apply(h,u,[g])),()=>{v&&v()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=y=>{xc(y,o.onExtendVueI18n);let v;return be(g)&&(v=Reflect.apply(g,u,[y])),()=>{v&&v()}}}f[0]=u,Reflect.apply(l,e,[a,...f]);const d=Zn(e);i.run(()=>{Hx(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&ed(e.global)&&xc(e.global,o.onExtendVueI18n)});const c=a,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&Bx(p,d,o.onExtendExportedGlobal),u.inject){const g=oa(e);a.mixin({methods:{getRouteBaseName:rt(er,g),resolveRoute:rt(no,g),localePath:rt(to,g),localeRoute:rt(ra,g),localeLocation:rt(hx,g),switchLocalePath:rt(tr,g),localeHead:rt(sd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function Hx(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=we(n),l=we(s),a=we("");e.locales=Pe(()=>i.value),e.localeCodes=Pe(()=>l.value),e.baseUrl=Pe(()=>a.value),J_?st(e.locale,()=>{a.value=pc(o,r)},{immediate:!0}):a.value=pc(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function hd(e,t,n){const s=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&s.push(n(e));for(const o of s)for(const[r,i]of Object.entries(o))Object.defineProperty(t,r,i)}function Bx(e,t,n){hd(t,e,n)}function xc(e,t){const n=Zn(e);hd(n,e,t)}function Ux(e){return he(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}async function pd(e,t=dt()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>pd(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var l;return(l=i.components)==null?void 0:l.default}).filter(i=>typeof i=="function");for(const i of r){const l=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}function Vx(e={}){const t=e.path||window.location.pathname;let n={};try{n=br(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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jx=Symbol.for("nuxt:client-only"),ro=We({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=we(!1);return xt(()=>{s.value=!0}),sn(jx,!0),o=>{var a;if(s.value)return(a=t.default)==null?void 0:a.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=o.fallback||o.placeholder||"",l=o.fallbackTag||o.placeholderTag||"span";return ot(l,n,i)}}}),Wx=(...e)=>e.find(t=>t!==void 0);function Kx(e){const t=e.componentName||"NuxtLink";function n(s,o){if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return Ec(s,e.trailingSlash);const r="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:Ec(r,e.trailingSlash)}}return We({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(s,{slots:o}){const r=dt(),i=ft(),l=Pe(()=>{const p=s.to||s.href||"";return n(p,r.resolve)}),a=Pe(()=>typeof l.value=="string"&&Et(l.value,{acceptRelative:!0})),f=Pe(()=>s.target&&s.target!=="_self"),u=Pe(()=>s.external||f.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),h=we(!1),d=we(null),c=p=>{var g;d.value=s.custom?(g=p==null?void 0:p.$el)==null?void 0:g.nextElementSibling:p==null?void 0:p.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Yx()){const g=ve();let y,v=null;xt(()=>{const S=Xx();Ji(()=>{y=ni(()=>{var E;(E=d==null?void 0:d.value)!=null&&E.tagName&&(v=S.observe(d.value,async()=>{v==null||v(),v=null;const _=typeof l.value=="string"?l.value:r.resolve(l.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",_).catch(()=>{}),!u.value&&pd(l.value,r).catch(()=>{})]),h.value=!0}))})})}),Nr(()=>{y&&By(y),v==null||v(),v=null})}return()=>{var v,S;if(!u.value){const E={ref:c,to:l.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(h.value&&(E.class=s.prefetchedClass||e.prefetchedClass),E.rel=s.rel||void 0),je(yh("RouterLink"),E,o.default)}const p=typeof l.value=="object"?((v=r.resolve(l.value))==null?void 0:v.href)??null:l.value&&!s.external&&!a.value?n(Fr(i.app.baseURL,l.value),r.resolve):l.value||null,g=s.target||null,y=Wx(s.noRel?"":s.rel,e.externalRelAttribute,a.value||f.value?"noopener noreferrer":"")||null;if(s.custom){if(!o.default)return null;const E=()=>af(p,{replace:s.replace,external:s.external});return o.default({href:p,navigate:E,get route(){if(!p)return;const _=$r(p);return{path:_.pathname,fullPath:_.pathname,get query(){return Bi(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:y,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return je("a",{ref:d,href:p,rel:y,target:g},(S=o.default)==null?void 0:S.call(o))}}})}const Gx=Kx(mv);function Ec(e,t){const n=t==="append"?Cr:Dr;return Et(e)&&!e.startsWith("http")?e:n(e,!0)}function Xx(){const e=ve();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const f=n.get(a.target);(a.isIntersecting||a.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:s}}function Yx(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function Jx(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=ft().public.i18n,n=`(${bn.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=As(bn);return l=>{if(he(l)){if(l.name){const f=(Q(l.name)?l.name:l.name.toString()).match(o);if(f&&f.length>1)return f[1]}else if(l.path){const a=l.path.match(r);if(a&&a.length>1)return a[1]}}else if(Q(l)){const a=l.match(r);if(a&&a.length>1)return a[1]}return""}}const qx=jt({name:"i18n:plugin",parallel:F_,async setup(e){let t,n;const s=Ws(),{vueApp:o}=e,r=e,i={...r.$config.public.i18n};i.baseUrl=kx();const l=Ur(),a=([t,n]=At(()=>B_(D_,ve())),t=await t,n(),t);a.messages=a.messages||{},a.fallbackLocale=a.fallbackLocale??!1;const f=Jx(),u=_=>_||a.locale||"en-US",h=Ix();let d=mc(s,f,a.locale,u(i.defaultLocale),{ssg:i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:rs(h,l,i.defaultLocale)},i);a.messages=([t,n]=At(()=>U_(a.messages,Rs,{localeCodes:bn,initialLocale:d,lazy:i.lazy,defaultLocale:i.defaultLocale,fallbackLocale:a.fallbackLocale})),t=await t,n(),t),d=u(d);const c=P_({...a,locale:d});let p=!0;const g=_=>d!==_&&p;let y=!0;const v=()=>y;v()&&i.strategy==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:_,stat:m,reason:x,from:P}=l?fd(s,a.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:rs(h,l,i.defaultLocale)},d):ud;Ex(c,_),y=!1}),$x(c,{locales:i.configLocales,localeCodes:bn,baseUrl:i.baseUrl,context:r,hooks:{onExtendComposer(_){_.strategy=i.strategy,_.localeProperties=Pe(()=>Zs.find(m=>m.code===_.locale.value)||{code:_.locale.value}),_.setLocale=async m=>{const x=g(m);await gc(m,c,i,x)&&x&&(p=!1);const b=await r.runWithContext(()=>vc({route:{to:s},targetLocale:m,routeLocaleGetter:f}));await r.runWithContext(async()=>await _c({nuxtApp:r,i18n:c,redirectPath:b,locale:m,route:s},{enableNavigate:!0}))},_.loadLocaleMessages=async m=>{await ks(m,Rs,(P,b)=>ad(c,P,b))},_.differentDomains=i.differentDomains,_.defaultLocale=i.defaultLocale,_.getBrowserLocale=()=>cd(),_.getLocaleCookie=()=>rs(h,l,i.defaultLocale),_.setLocaleCookie=m=>Ox(h,m,l),_.onBeforeLanguageSwitch=(m,x,P,b)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:m,newLocale:x,initialSetup:P,context:b}),_.onLanguageSwitched=(m,x)=>e.callHook("i18n:localeSwitched",{oldLocale:m,newLocale:x}),_.finalizePendingLocaleChange=async()=>{c.__pendingLocale&&(td(c,c.__pendingLocale),c.__resolvePendingLocalePromise&&await c.__resolvePendingLocalePromise(),c.__pendingLocale=void 0)},_.waitForPendingLocaleChange=async()=>{c.__pendingLocale&&c.__pendingLocalePromise&&await c.__pendingLocalePromise}},onExtendExportedGlobal(_){return{strategy:{get(){return _.strategy}},localeProperties:{get(){return _.localeProperties.value}},setLocale:{get(){return async m=>Reflect.apply(_.setLocale,_,[m])}},differentDomains:{get(){return _.differentDomains}},defaultLocale:{get(){return _.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(_.getBrowserLocale,_,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(_.getLocaleCookie,_,[])}},setLocaleCookie:{get(){return m=>Reflect.apply(_.setLocaleCookie,_,[m])}},onBeforeLanguageSwitch:{get(){return(m,x,P,b)=>Reflect.apply(_.onBeforeLanguageSwitch,_,[m,x,P,b])}},onLanguageSwitched:{get(){return(m,x)=>Reflect.apply(_.onLanguageSwitched,_,[m,x])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(_.finalizePendingLocaleChange,_,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(_.waitForPendingLocaleChange,_,[])}}}},onExtendVueI18n(_){return{strategy:{get(){return _.strategy}},localeProperties:{get(){return _.localeProperties.value}},setLocale:{get(){return async m=>Reflect.apply(_.setLocale,_,[m])}},loadLocaleMessages:{get(){return async m=>Reflect.apply(_.loadLocaleMessages,_,[m])}},differentDomains:{get(){return _.differentDomains}},defaultLocale:{get(){return _.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(_.getBrowserLocale,_,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(_.getLocaleCookie,_,[])}},setLocaleCookie:{get(){return m=>Reflect.apply(_.setLocaleCookie,_,[m])}},onBeforeLanguageSwitch:{get(){return(m,x,P,b)=>Reflect.apply(_.onBeforeLanguageSwitch,_,[m,x,P,b])}},onLanguageSwitched:{get(){return(m,x)=>Reflect.apply(_.onLanguageSwitched,_,[m,x])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(_.finalizePendingLocaleChange,_,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(_.waitForPendingLocaleChange,_,[])}}}}}});const S={__composerExtend:_=>{const m=Zn(c);return _.strategy=m.strategy,_.localeProperties=Pe(()=>m.localeProperties.value),_.setLocale=m.setLocale,_.differentDomains=m.differentDomains,_.getBrowserLocale=m.getBrowserLocale,_.getLocaleCookie=m.getLocaleCookie,_.setLocaleCookie=m.setLocaleCookie,_.onBeforeLanguageSwitch=m.onBeforeLanguageSwitch,_.onLanguageSwitched=m.onLanguageSwitched,_.finalizePendingLocaleChange=m.finalizePendingLocaleChange,_.waitForPendingLocaleChange=m.waitForPendingLocaleChange,()=>{}}};if(o.use(c,S),Tx(r,c),i.experimental.switchLocalePathLinkSSR===!0){const _=Fx(),m=new RegExp([`<!--${cc}-\\[(\\w+)\\]-->`,".+?",`<!--/${cc}-->`].join(""),"g");e.hook("app:rendered",x=>{var P;((P=x.renderResult)==null?void 0:P.html)!=null&&(x.renderResult.html=x.renderResult.html.replaceAll(m,(b,T)=>b.replace(/href="([^"]+)"/,`href="${_(T??"")}"`)))})}let E=0;mm("locale-changing",async(_,m)=>{let x,P;const b=mc(_,f,a.locale,()=>eo(c)||u(i.defaultLocale),{ssg:v()&&i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:E===0,localeCookie:rs(h,l,i.defaultLocale)},i),T=g(b);([x,P]=At(()=>gc(b,c,i,T)),x=await x,P(),x)&&T&&(p=!1);const A=([x,P]=At(()=>r.runWithContext(()=>vc({route:{to:_,from:m},targetLocale:b,routeLocaleGetter:i.strategy==="no_prefix"?()=>b:f,calledWithRouting:!0}))),x=await x,P(),x);return E++,[x,P]=At(()=>r.runWithContext(async()=>_c({nuxtApp:r,i18n:c,redirectPath:A,locale:b,route:_}))),x=await x,P(),x},{global:!0})}}),Qx=jt({name:"nuxt:chunk-reload",setup(e){const t=dt(),n=ft(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const l="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Fr(n.app.baseURL,r.fullPath);Vx({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),zx=[Cv,Pv,Hy,Uy,Vy,jy,Wy,qx,Qx],Zx=We({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,s={};for(const o in e.route)Object.defineProperty(s,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return sn(Hr,Ir(s)),()=>je(e.vnode,{ref:e.vnodeRef})}}),e1=We({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const s=ve(),o=we(),r=qe(Hr,null);let i;n({pageRef:o});const l=qe(of,null);let a;const f=s.deferHydration();if(s.isHydrating){const u=s.hooks.hookOnce("app:error",f);dt().beforeEach(u)}return e.pageKey&&st(()=>e.pageKey,(u,h)=>{u!==h&&s.callHook("page:loading:start")}),()=>je(kf,{name:e.name,route:e.route,...t},{default:u=>{const h=n1(r,u.route,u.Component),d=r&&r.matched.length===u.route.matched.length;if(!u.Component){if(a&&!d)return a;f();return}if(a&&l&&!l.isCurrent(u.route))return a;if(h&&r&&(!l||l!=null&&l.isCurrent(r)))return d?a:null;const c=ti(u,e.pageKey);!s.isHydrating&&!r1(r,u.route,u.Component)&&i===c&&s.callHook("page:loading:end"),i=c;const p=!!(e.transition??u.route.meta.pageTransition??Qo),g=p&&t1([e.transition,u.route.meta.pageTransition,Qo,{onAfterLeave:()=>{s.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),y=e.keepalive??u.route.meta.keepalive??gv;return a=Af(js,p&&g,Ay(y,je(Ii,{suspensible:!0,onPending:()=>s.callHook("page:start",u.Component),onResolve:()=>{an(()=>s.callHook("page:finish",u.Component).then(()=>s.callHook("page:loading:end")).finally(f))}},{default:()=>{const v=je(Zx,{key:c||void 0,vnode:u.Component,route:u.route,renderKey:c||void 0,trackRootNodes:p,vnodeRef:o});return y&&(v.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),v}}))).default(),a}})}});function t1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Yi(n.onAfterLeave):void 0}));return rf(...t)}function n1(e,t,n){if(!e)return!1;const s=t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)});return!s||s===-1?!1:t.matched.slice(0,s).some((o,r)=>{var i,l,a;return((i=o.components)==null?void 0:i.default)!==((a=(l=e.matched[r])==null?void 0:l.components)==null?void 0:a.default)})||n&&ti({route:t,Component:n})!==ti({route:e,Component:n})}function r1(e,t,n){return e?t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const s1=We({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await tn[e.name]().then(s=>s.default||s);return()=>je(n,e.layoutProps,t.slots)}}),o1=We({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ve(),s=qe(Hr),o=s===Ws()?Ry():s,r=Pe(()=>{let a=ne(e.name)??o.meta.layout??"default";return a&&!(a in tn)&&e.fallback&&(a=ne(e.fallback)),a}),i=we();t.expose({layoutRef:i});const l=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",l);dt().beforeEach(a)}return()=>{const a=r.value&&r.value in tn,f=o.meta.layoutTransition??pv;return Af(js,a&&f,{default:()=>je(Ii,{suspensible:!0,onResolve:()=>{an(l)}},{default:()=>je(i1,{layoutProps:Nu(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),i1=We({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&&sn(of,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in tn)?(o=(s=t.slots).default)==null?void 0:o.call(s):je(s1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});function wc(){return localStorage.getItem("cookie")==null}function a1(){localStorage.setItem("cookie","accept")}function l1(){localStorage.setItem("cookie","refuse")}const gd=["cookie","future","change-something","picture-bright","picture-nolights"];function c1(e){if(!gd.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 ia(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Sc(){return ia().length}function u1(){return gd.length}function TE(e){return e[Math.floor(Math.random()*e.length)]}function md(e,t){return Math.random()*(t-e)+e}function f1(e,t){return Math.floor(md(e,t))}var Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vd={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(s,o){e.exports=o()})(Co,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,l){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:l})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var a in r)o.d(l,a,(function(f){return r[f]}).bind(null,a));return l},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,l){var a,f;typeof l=="boolean"?(a=2,f=l):(a=1,f=!0);for(var u=a;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]||{},o.extend(i[d],f,h[d])):i[d]=h[d]}return i},o.clone=function(i,l){return o.extend({},l,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var l=[];for(var a in i)l.push(a);return l},o.values=function(i){var l=[];if(Object.keys){for(var a=Object.keys(i),f=0;f<a.length;f++)l.push(i[a[f]]);return l}for(var u in i)l.push(i[u]);return l},o.get=function(i,l,a,f){l=l.split(".").slice(a,f);for(var u=0;u<l.length;u+=1)i=i[l[u]];return i},o.set=function(i,l,a,f,u){var h=l.split(".").slice(f,u);return o.get(i,l,0,-1)[h[h.length-1]]=a,a},o.shuffle=function(i){for(var l=i.length-1;l>0;l--){var a=Math.floor(o.random()*(l+1)),f=i[l];i[l]=i[a],i[a]=f}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,l,a){return i<l?l:i>a?a:i},o.sign=function(i){return i<0?-1:1},o.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-o._nowStartTime},o.random=function(i,l){return i=typeof i<"u"?i:0,l=typeof l<"u"?l:1,i+r()*(l-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.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)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,l,a){i[l]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",a)},i[l])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,l){if(i.indexOf)return i.indexOf(l);for(var a=0;a<i.length;a++)if(i[a]===l)return a;return-1},o.map=function(i,l){if(i.map)return i.map(l);for(var a=[],f=0;f<i.length;f+=1)a.push(l(i[f]));return a},o.topologicalSort=function(i){var l=[],a=[],f=[];for(var u in i)!a[u]&&!f[u]&&o._topologicalSort(u,a,f,i,l);return l},o._topologicalSort=function(i,l,a,f,u){var h=f[i]||[];a[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];a[c]||l[c]||o._topologicalSort(c,l,a,f,u)}a[i]=!1,l[i]=!0,u.push(i)},o.chain=function(){for(var i=[],l=0;l<arguments.length;l+=1){var a=arguments[l];a._chained?i.push.apply(i,a._chained):i.push(a)}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},o.chainPathBefore=function(i,l,a){return o.set(i,l,o.chain(a,o.get(i,l)))},o.chainPathAfter=function(i,l,a){return o.set(i,l,o.chain(o.get(i,l),a))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Co<"u"&&(i=Co.decomp)}catch{i=null}return i}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&o.update(i,r),i},o.update=function(r,i,l){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var a=0;a<i.length;a++){var f=i[a];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)}l&&(l.x>0?r.max.x+=l.x:r.min.x+=l.x,l.y>0?r.max.y+=l.y:r.min.y+=l.y)},o.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},o.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},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var l=r.max.x-r.min.x,a=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+l,r.min.y=i.y,r.max.y=i.y+a}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,l){var a=Math.cos(i),f=Math.sin(i);l||(l={});var u=r.x*a-r.y*f;return l.y=r.x*f+r.y*a,l.x=u,l},o.rotateAbout=function(r,i,l,a){var f=Math.cos(i),u=Math.sin(i);a||(a={});var h=l.x+((r.x-l.x)*f-(r.y-l.y)*u);return a.y=l.y+((r.x-l.x)*u+(r.y-l.y)*f),a.x=h,a},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,l){return(i.x-r.x)*(l.y-r.y)-(i.y-r.y)*(l.x-r.x)},o.add=function(r,i,l){return l||(l={}),l.x=r.x+i.x,l.y=r.y+i.y,l},o.sub=function(r,i,l){return l||(l={}),l.x=r.x-i.x,l.y=r.y-i.y,l},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),l=o(0);(function(){r.create=function(a,f){for(var u=[],h=0;h<a.length;h++){var d=a[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(a,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return a.replace(u,function(d,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(a){for(var f=r.area(a,!0),u={x:0,y:0},h,d,c,p=0;p<a.length;p++)c=(p+1)%a.length,h=i.cross(a[p],a[c]),d=i.mult(i.add(a[p],a[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(a){for(var f={x:0,y:0},u=0;u<a.length;u++)f.x+=a[u].x,f.y+=a[u].y;return i.div(f,a.length)},r.area=function(a,f){for(var u=0,h=a.length-1,d=0;d<a.length;d++)u+=(a[h].x-a[d].x)*(a[h].y+a[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(a,f){for(var u=0,h=0,d=a,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(a,f,u){u=typeof u<"u"?u:1;var h=a.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)a[p].x+=d,a[p].y+=c;return a},r.rotate=function(a,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=a.length,y,v,S,E;for(E=0;E<g;E++)y=a[E],v=y.x-c,S=y.y-p,y.x=c+(v*h-S*d),y.y=p+(v*d+S*h);return a}},r.contains=function(a,f){for(var u=f.x,h=f.y,d=a.length,c=a[d-1],p,g=0;g<d;g++){if(p=a[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(a,f,u,h){if(f===1&&u===1)return a;h=h||r.centre(a);for(var d,c,p=0;p<a.length;p++)d=a[p],c=i.sub(d,h),a[p].x=h.x+c.x*f,a[p].y=h.y+c.y*u;return a},r.chamfer=function(a,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<a.length;p++){var g=a[p-1>=0?p-1:a.length-1],y=a[p],v=a[(p+1)%a.length],S=f[p<f.length?p:f.length-1];if(S===0){c.push(y);continue}var E=i.normalise({x:y.y-g.y,y:g.x-y.x}),_=i.normalise({x:v.y-y.y,y:y.x-v.x}),m=Math.sqrt(2*Math.pow(S,2)),x=i.mult(l.clone(E),S),P=i.normalise(i.mult(i.add(E,_),.5)),b=i.sub(y,i.mult(P,m)),T=u;u===-1&&(T=Math.pow(S,.32)*1.75),T=l.clamp(T,h,d),T%2===1&&(T+=1);for(var L=Math.acos(i.dot(E,_)),A=L/T,R=0;R<T;R++)c.push(i.add(i.rotate(x,A*R),b))}return c},r.clockwiseSort=function(a){var f=r.mean(a);return a.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),a},r.isConvex=function(a){var f=0,u=a.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=(a[d].x-a[h].x)*(a[c].y-a[d].y),p-=(a[d].y-a[h].y)*(a[c].x-a[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(a){var f=[],u=[],h,d;for(a=a.slice(0),a.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<a.length;d+=1){for(h=a[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=a.length-1;d>=0;d-=1){for(h=a[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,s,o){var r={};n.exports=r;var i=o(3),l=o(2),a=o(7),f=o(0),u=o(1),h=o(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||l.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"]),y=c.isStatic?"#555":"#ccc",v=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||y,c.render.lineWidth=c.render.lineWidth||v,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 y;typeof p=="string"&&(y=p,p={},p[y]=g);for(y in p)if(Object.prototype.hasOwnProperty.call(p,y))switch(g=p[y],y){case"isStatic":r.setStatic(c,g);break;case"isSleeping":a.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[y]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var y=c.parts[g];y.isStatic=p,p?(y._original={restitution:y.restitution,friction:y.friction,mass:y.mass,inertia:y.inertia,density:y.density,inverseMass:y.inverseMass,inverseInertia:y.inverseInertia},y.restitution=0,y.friction=1,y.mass=y.inertia=y.density=1/0,y.inverseMass=y.inverseInertia=0,y.positionPrev.x=y.position.x,y.positionPrev.y=y.position.y,y.anglePrev=y.angle,y.angularVelocity=0,y.speed=0,y.angularSpeed=0,y.motion=0):y._original&&(y.restitution=y._original.restitution,y.friction=y._original.friction,y.mass=y._original.mass,y.inertia=y._original.inertia,y.density=y._original.density,y.inverseMass=y._original.inverseMass,y.inverseInertia=y._original.inverseInertia,y._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 y;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,y=0;y<p.length;y++){var v=p[y];v!==c&&(v.parent=c,c.parts.push(v))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var S=[];for(y=0;y<p.length;y++)S=S.concat(p[y].vertices);i.clockwiseSort(S);var E=i.hull(S),_=i.centre(E);r.setVertices(c,E),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 y=l.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=y.x,c.velocity.y=y.y,c.speed=l.magnitude(y)):(c.positionPrev.x+=y.x,c.positionPrev.y+=y.y);for(var v=0;v<c.parts.length;v++){var S=c.parts[v];S.position.x+=y.x,S.position.y+=y.y,i.translate(S.vertices,y),u.update(S.bounds,S.vertices,c.velocity)}},r.setAngle=function(c,p,g){var y=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=y,c.angularSpeed=Math.abs(y)):c.anglePrev+=y;for(var v=0;v<c.parts.length;v++){var S=c.parts[v];S.angle+=y,i.rotate(S.vertices,y,c.position),h.rotate(S.axes,y),u.update(S.bounds,S.vertices,c.velocity),v>0&&l.rotateAbout(S.position,y,c.position,S.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=l.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 l.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,l.mult(l.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,l.add(c.position,p),g)},r.rotate=function(c,p,g,y){if(!g)r.setAngle(c,c.angle+p,y);else{var v=Math.cos(p),S=Math.sin(p),E=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(E*v-_*S),y:g.y+(E*S+_*v)},y),r.setAngle(c,c.angle+p,y)}},r.scale=function(c,p,g,y){var v=0,S=0;y=y||c.position;for(var E=0;E<c.parts.length;E++){var _=c.parts[E];i.scale(_.vertices,p,g,y),_.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}),E>0&&(v+=_.area,S+=_.inertia),_.position.x=y.x+(_.position.x-y.x)*p,_.position.y=y.y+(_.position.y-y.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=v,c.isStatic||(r.setMass(c,c.density*v),r.setInertia(c,S))),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,y=r._timeCorrection?p/(c.deltaTime||p):1,v=1-c.frictionAir*(p/f._baseDelta),S=(c.position.x-c.positionPrev.x)*y,E=(c.position.y-c.positionPrev.y)*y;c.velocity.x=S*v+c.force.x/c.mass*g,c.velocity.y=E*v+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)*v*y+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&&l.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 y={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=y.x*g.y-y.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 y=c.parts[g],v=y.mass!==1/0?y.mass:1;p.mass+=v,p.area+=y.area,p.inertia+=y.inertia,p.centre=l.add(p.centre,l.mult(y.position,v))}return p.centre=l.div(p.centre,p.mass),p}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.on=function(l,a,f){for(var u=a.split(" "),h,d=0;d<u.length;d++)h=u[d],l.events=l.events||{},l.events[h]=l.events[h]||[],l.events[h].push(f);return f},r.off=function(l,a,f){if(!a){l.events={};return}typeof a=="function"&&(f=a,a=i.keys(l.events).join(" "));for(var u=a.split(" "),h=0;h<u.length;h++){var d=l.events[u[h]],c=[];if(f&&d)for(var p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);l.events[u[h]]=c}},r.trigger=function(l,a,f){var u,h,d,c,p=l.events;if(p&&i.keys(p).length>0){f||(f={}),u=a.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=l;for(var y=0;y<d.length;y++)d[y].apply(l,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),l=o(0),a=o(1),f=o(4);(function(){r.create=function(u){return l.extend({id:l.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){l.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=l.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=l.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=l.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=l.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),y=c?r.allBodies(u):u.bodies,v=0;v<y.length;v++){var S=y[v],E=S.position.x-d.x,_=S.position.y-d.y;f.setPosition(S,{x:d.x+(E*p-_*g),y:d.y+(E*g+_*p)}),f.rotate(S,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,y=0;y<g.length;y++){var v=g[y],S=v.position.x-c.x,E=v.position.y-c.y;f.setPosition(v,{x:c.x+S*h,y:c.y+E*d}),f.scale(v,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 a.create(d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),l=o(5),a=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(f,u){for(var h=u/a._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var p=f[c],g=i.getSpeed(p),y=i.getAngularSpeed(p),v=g*g+y*y;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var S=Math.min(p.motion,v),E=Math.max(p.motion,v);p.motion=r._minBias*S+(1-r._minBias)*E,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 y=p.isSleeping&&!p.isStatic?p:g,v=y===p?g:p;!y.isStatic&&v.motion>u&&r.set(y,!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||l.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&l.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),l=o(9);(function(){var a=[],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[l.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 y;f.overlap<u.overlap?y=f:y=u;var v=g.normal,S=g.supports,E=y.axis,_=E.x,m=E.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(v.x=_,v.y=m):(v.x=-_,v.y=-m),g.tangent.x=-v.y,g.tangent.y=v.x,g.depth=y.overlap,g.penetration.x=v.x*g.depth,g.penetration.y=v.y*g.depth;var x=r._findSupports(h,d,v,1),P=0;if(i.contains(h.vertices,x[0])&&(S[P++]=x[0]),i.contains(h.vertices,x[1])&&(S[P++]=x[1]),P<2){var b=r._findSupports(d,h,v,-1);i.contains(d.vertices,b[0])&&(S[P++]=b[0]),P<2&&i.contains(d.vertices,b[1])&&(S[P++]=b[1])}return P===0&&(S[P++]=x[0]),S.length=P,g},r._overlapAxes=function(h,d,c,p){var g=d.length,y=c.length,v=d[0].x,S=d[0].y,E=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,P=0,b,T,L,A,R,O;for(R=0;R<m;R++){var U=p[R],H=U.x,$=U.y,V=v*H+S*$,W=E*H+_*$,ae=V,de=W;for(O=1;O<g;O+=1)A=d[O].x*H+d[O].y*$,A>ae?ae=A:A<V&&(V=A);for(O=1;O<y;O+=1)A=c[O].x*H+c[O].y*$,A>de?de=A:A<W&&(W=A);if(T=ae-W,L=de-V,b=T<L?T:L,b<x&&(x=b,P=R,b<=0))break}h.axis=p[P],h.overlap=x},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,y=1;y<d.length;y+=1){var v=d[y].x*c.x+d[y].y*c.y;v>g?g=v:v<p&&(p=v)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,y=g.length,v=h.position.x,S=h.position.y,E=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,P,b,T,L;for(L=0;L<y;L+=1)P=g[L],T=E*(v-P.x)+_*(S-P.y),T<m&&(m=T,x=P);return b=g[(y+x.index-1)%y],m=E*(v-b.x)+_*(S-b.y),P=g[(x.index+1)%y],E*(v-P.x)+_*(S-P.y)<m?(a[0]=x,a[1]=P,a):(a[0]=x,a[1]=b,a)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(l,a){var f=l.bodyA,u=l.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:l,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.isSensor||u.isSensor,timeCreated:a,timeUpdated:a,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,l,a),h},r.update=function(l,a,f){var u=l.contacts,h=a.supports,d=l.activeContacts,c=a.parentA,p=a.parentB,g=c.vertices.length;l.isActive=!0,l.timeUpdated=f,l.collision=a,l.separation=a.depth,l.inverseMass=c.inverseMass+p.inverseMass,l.friction=c.friction<p.friction?c.friction:p.friction,l.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,l.restitution=c.restitution>p.restitution?c.restitution:p.restitution,l.slop=c.slop>p.slop?c.slop:p.slop,a.pair=l,d.length=0;for(var y=0;y<h.length;y++){var v=h[y],S=v.body===c?v.index:g+v.index,E=u[S];E?d.push(E):d.push(u[S]=i.create(v))}},r.setActive=function(l,a,f){a?(l.isActive=!0,l.timeUpdated=f):(l.isActive=!1,l.activeContacts.length=0)},r.id=function(l,a){return l.id<a.id?"A"+l.id+"B"+a.id:"A"+a.id+"B"+l.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),l=o(2),a=o(7),f=o(1),u=o(11),h=o(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?l.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?l.add(c.bodyB.position,c.pointB):c.pointB,y=l.magnitude(l.sub(p,g));c.length=typeof c.length<"u"?c.length:y,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 v={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(v.type="pin",v.anchors=!1):c.stiffness<.9&&(v.type="spring"),c.render=h.extend(v,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 y=d[g],v=!y.bodyA||y.bodyA&&y.bodyA.isStatic,S=!y.bodyB||y.bodyB&&y.bodyB.isStatic;(v||S)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)y=d[g],v=!y.bodyA||y.bodyA&&y.bodyA.isStatic,S=!y.bodyB||y.bodyB&&y.bodyB.isStatic,!v&&!S&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,y=d.pointA,v=d.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(l.rotate(y,p.angle-d.angleA,y),d.angleA=p.angle),g&&!g.isStatic&&(l.rotate(v,g.angle-d.angleB,v),d.angleB=g.angle);var S=y,E=v;if(p&&(S=l.add(p.position,y)),g&&(E=l.add(g.position,v)),!(!S||!E)){var _=l.sub(S,E),m=l.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,P=d.stiffness>=1||d.length===0,b=P?d.stiffness*c:d.stiffness*c*c,T=d.damping*c,L=l.mult(_,x*b),A=(p?p.inverseMass:0)+(g?g.inverseMass:0),R=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=A+R,U,H,$,V,W;if(T>0){var ae=l.create();$=l.div(_,m),W=l.sub(g&&l.sub(g.position,g.positionPrev)||ae,p&&l.sub(p.position,p.positionPrev)||ae),V=l.dot($,W)}p&&!p.isStatic&&(H=p.inverseMass/A,p.constraintImpulse.x-=L.x*H,p.constraintImpulse.y-=L.y*H,p.position.x-=L.x*H,p.position.y-=L.y*H,T>0&&(p.positionPrev.x-=T*$.x*V*H,p.positionPrev.y-=T*$.y*V*H),U=l.cross(y,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=U,p.angle-=U),g&&!g.isStatic&&(H=g.inverseMass/A,g.constraintImpulse.x+=L.x*H,g.constraintImpulse.y+=L.y*H,g.position.x+=L.x*H,g.position.y+=L.y*H,T>0&&(g.positionPrev.x+=T*$.x*V*H,g.positionPrev.y+=T*$.y*V*H),U=l.cross(v,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=U,g.angle+=U)}}},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)){a.set(p,!1);for(var y=0;y<p.parts.length;y++){var v=p.parts[y];i.translate(v.vertices,g),y>0&&(v.position.x+=g.x,v.position.y+=g.y),g.angle!==0&&(i.rotate(v.vertices,g.angle,p.position),u.rotate(v.axes,g.angle),y>0&&l.rotateAbout(v.position,g.angle,p.position,v.position)),f.update(v.bounds,v.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,s,o){var r={};n.exports=r;var i=o(2),l=o(0);(function(){r.fromVertices=function(a){for(var f={},u=0;u<a.length;u++){var h=(u+1)%a.length,d=i.normalise({x:a[h].y-a[u].y,y:a[u].x-a[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return l.values(f)},r.rotate=function(a,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<a.length;d++){var c=a[d],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),l=o(0),a=o(4),f=o(1),u=o(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var y={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 v=g.chamfer;y.vertices=i.chamfer(y.vertices,v.radius,v.quality,v.qualityMin,v.qualityMax),delete g.chamfer}return a.create(l.extend({},y,g))},r.trapezoid=function(h,d,c,p,g,y){y=y||{},g*=.5;var v=(1-g*2)*c,S=c*g,E=S+v,_=E+S,m;g<.5?m="L 0 0 L "+S+" "+-p+" L "+E+" "+-p+" L "+_+" 0":m="L 0 0 L "+E+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(y.chamfer){var P=y.chamfer;x.vertices=i.chamfer(x.vertices,P.radius,P.quality,P.qualityMin,P.qualityMax),delete y.chamfer}return a.create(l.extend({},x,y))},r.circle=function(h,d,c,p,g){p=p||{};var y={label:"Circle Body",circleRadius:c};g=g||25;var v=Math.ceil(Math.max(10,Math.min(g,c)));return v%2===1&&(v+=1),r.polygon(h,d,v,c,l.extend({},y,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var y=2*Math.PI/c,v="",S=y*.5,E=0;E<c;E+=1){var _=S+E*y,m=Math.cos(_)*p,x=Math.sin(_)*p;v+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var P={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(v)};if(g.chamfer){var b=g.chamfer;P.vertices=i.chamfer(P.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete g.chamfer}return a.create(l.extend({},P,g))},r.fromVertices=function(h,d,c,p,g,y,v,S){var E=l.getDecomp(),_,m,x,P,b,T,L,A,R,O,U;for(_=!!(E&&E.quickDecomp),p=p||{},x=[],g=typeof g<"u"?g:!1,y=typeof y<"u"?y:.01,v=typeof v<"u"?v:10,S=typeof S<"u"?S:.01,l.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(T=c[O],P=i.isConvex(T),b=!P,b&&!_&&l.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),P||!_)P?T=i.clockwiseSort(T):T=i.hull(T),x.push({position:{x:h,y:d},vertices:T});else{var H=T.map(function(ce){return[ce.x,ce.y]});E.makeCCW(H),y!==!1&&E.removeCollinearPoints(H,y),S!==!1&&E.removeDuplicatePoints&&E.removeDuplicatePoints(H,S);var $=E.quickDecomp(H);for(L=0;L<$.length;L++){var V=$[L],W=V.map(function(ce){return{x:ce[0],y:ce[1]}});v>0&&i.area(W)<v||x.push({position:i.centre(W),vertices:W})}}for(L=0;L<x.length;L++)x[L]=a.create(l.extend(x[L],p));if(g){var ae=5;for(L=0;L<x.length;L++){var de=x[L];for(A=L+1;A<x.length;A++){var fe=x[A];if(f.overlaps(de.bounds,fe.bounds)){var re=de.vertices,Se=fe.vertices;for(R=0;R<de.vertices.length;R++)for(U=0;U<fe.vertices.length;U++){var ye=u.magnitudeSquared(u.sub(re[(R+1)%re.length],Se[U])),De=u.magnitudeSquared(u.sub(re[R],Se[(U+1)%Se.length]));ye<ae&&De<ae&&(re[R].isInternal=!0,Se[U].isInternal=!0)}}}}}return x.length>1?(m=a.create(l.extend({parts:x.slice(0)},p)),a.setPosition(m,{x:h,y:d}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),l=o(8);(function(){r.create=function(a){var f={bodies:[],pairs:null};return i.extend(f,a)},r.setBodies=function(a,f){a.bodies=f.slice(0)},r.clear=function(a){a.bodies=[]},r.collisions=function(a){var f=[],u=a.pairs,h=a.bodies,d=h.length,c=r.canCollide,p=l.collides,g,y;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var v=h[g],S=v.bounds,E=v.bounds.max.x,_=v.bounds.max.y,m=v.bounds.min.y,x=v.isStatic||v.isSleeping,P=v.parts.length,b=P===1;for(y=g+1;y<d;y++){var T=h[y],L=T.bounds;if(L.min.x>E)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(T.isStatic||T.isSleeping))&&c(v.collisionFilter,T.collisionFilter)){var A=T.parts.length;if(b&&A===1){var R=p(v,T,u);R&&f.push(R)}else for(var O=P>1?1:0,U=A>1?1:0,H=O;H<P;H++)for(var $=v.parts[H],S=$.bounds,V=U;V<A;V++){var W=T.parts[V],L=W.bounds;if(!(S.min.x>L.max.x||S.max.x<L.min.x||S.max.y<L.min.y||S.min.y>L.max.y)){var R=p($,W,u);R&&f.push(R)}}}}}return f},r.canCollide=function(a,f){return a.group===f.group&&a.group!==0?a.group>0:(a.mask&f.category)!==0&&(f.mask&a.category)!==0},r._compareBoundsX=function(a,f){return a.bounds.min.x-f.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(l){var a={};return l||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),a.element=l||document.body,a.absolute={x:0,y:0},a.position={x:0,y:0},a.mousedownPosition={x:0,y:0},a.mouseupPosition={x:0,y:0},a.offset={x:0,y:0},a.scale={x:1,y:1},a.wheelDelta=0,a.button=-1,a.pixelRatio=parseInt(a.element.getAttribute("data-pixel-ratio"),10)||1,a.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},a.mousemove=function(f){var u=r._getRelativeMousePosition(f,a.element,a.pixelRatio),h=f.changedTouches;h&&(a.button=0,f.preventDefault()),a.absolute.x=u.x,a.absolute.y=u.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,a.sourceEvents.mousemove=f},a.mousedown=function(f){var u=r._getRelativeMousePosition(f,a.element,a.pixelRatio),h=f.changedTouches;h?(a.button=0,f.preventDefault()):a.button=f.button,a.absolute.x=u.x,a.absolute.y=u.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,a.mousedownPosition.x=a.position.x,a.mousedownPosition.y=a.position.y,a.sourceEvents.mousedown=f},a.mouseup=function(f){var u=r._getRelativeMousePosition(f,a.element,a.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),a.button=-1,a.absolute.x=u.x,a.absolute.y=u.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,a.mouseupPosition.x=a.position.x,a.mouseupPosition.y=a.position.y,a.sourceEvents.mouseup=f},a.mousewheel=function(f){a.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(a,a.element),a},r.setElement=function(l,a){l.element=a,a.addEventListener("mousemove",l.mousemove),a.addEventListener("mousedown",l.mousedown),a.addEventListener("mouseup",l.mouseup),a.addEventListener("mousewheel",l.mousewheel),a.addEventListener("DOMMouseScroll",l.mousewheel),a.addEventListener("touchmove",l.mousemove),a.addEventListener("touchstart",l.mousedown),a.addEventListener("touchend",l.mouseup)},r.clearSourceEvents=function(l){l.sourceEvents.mousemove=null,l.sourceEvents.mousedown=null,l.sourceEvents.mouseup=null,l.sourceEvents.mousewheel=null,l.wheelDelta=0},r.setOffset=function(l,a){l.offset.x=a.x,l.offset.y=a.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},r.setScale=function(l,a){l.scale.x=a.x,l.scale.y=a.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},r._getRelativeMousePosition=function(l,a,f){var u=a.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=l.changedTouches,g,y;return p?(g=p[0].pageX-u.left-d,y=p[0].pageY-u.top-c):(g=l.pageX-u.left-d,y=l.pageY-u.top-c),{x:g/(a.clientWidth/(a.width||a.clientWidth)*f),y:y/(a.clientHeight/(a.height||a.clientHeight)*f)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(l){if(r.isPlugin(l)||i.warn("Plugin.register:",r.toString(l),"does not implement all required fields."),l.name in r._registry){var a=r._registry[l.name],f=r.versionParse(l.version).number,u=r.versionParse(a.version).number;f>u?(i.warn("Plugin.register:",r.toString(a),"was upgraded to",r.toString(l)),r._registry[l.name]=l):f<u?i.warn("Plugin.register:",r.toString(a),"can not be downgraded to",r.toString(l)):l!==a&&i.warn("Plugin.register:",r.toString(l),"is already registered to different plugin object")}else r._registry[l.name]=l;return l},r.resolve=function(l){return r._registry[r.dependencyParse(l).name]},r.toString=function(l){return typeof l=="string"?l:(l.name||"anonymous")+"@"+(l.version||l.range||"0.0.0")},r.isPlugin=function(l){return l&&l.name&&l.version&&l.install},r.isUsed=function(l,a){return l.used.indexOf(a)>-1},r.isFor=function(l,a){var f=l.for&&r.dependencyParse(l.for);return!l.for||a.name===f.name&&r.versionSatisfies(a.version,f.range)},r.use=function(l,a){if(l.uses=(l.uses||[]).concat(a||[]),l.uses.length===0){i.warn("Plugin.use:",r.toString(l),"does not specify any dependencies to install.");return}for(var f=r.dependencies(l),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==l.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);continue}r.isUsed(l,c.name)||(r.isFor(c,l)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(l)+"."),c._warned=!0),c.install?c.install(l):(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)),l.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(l,a){var f=r.dependencyParse(l),u=f.name;if(a=a||{},!(u in a)){l=r.resolve(l)||l,a[u]=i.map(l.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,l._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),l._warned=!0),c.name});for(var h=0;h<a[u].length;h+=1)r.dependencies(a[u][h],a);return a}},r.dependencyParse=function(l){if(i.isString(l)){var a=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return a.test(l)||i.warn("Plugin.dependencyParse:",l,"is not a valid dependency string."),{name:l.split("@")[0],range:l.split("@")[1]||"*"}}return{name:l.name,range:l.range||l.version}},r.versionParse=function(l){var a=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;a.test(l)||i.warn("Plugin.versionParse:",l,"is not a valid version or range.");var f=a.exec(l),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:l,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(l,a){a=a||"*";var f=r.versionParse(a),u=r.versionParse(l);if(f.isRange){if(f.operator==="*"||l==="*")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 l===a||l==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),l=o(18),a=o(13),f=o(19),u=o(5),h=o(6),d=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var y={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}},v=c.extend(y,g);return v.world=g.world||h.create({label:"World"}),v.pairs=g.pairs||f.create(),v.detector=g.detector||a.create(),v.grid={buckets:[]},v.world.gravity=v.gravity,v.broadphase=v.grid,v.metrics={},v},r.update=function(g,y){var v=c.now(),S=g.world,E=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,P;y=typeof y<"u"?y:c._baseDelta,y*=m.timeScale,m.timestamp+=y,m.lastDelta=y;var b={timestamp:m.timestamp,delta:y};u.trigger(g,"beforeUpdate",b);var T=h.allBodies(S),L=h.allConstraints(S);for(S.isModified&&(a.setBodies(E,T),h.setModified(S,!1,!1,!0)),g.enableSleeping&&i.update(T,y),r._bodiesApplyGravity(T,g.gravity),y>0&&r._bodiesUpdate(T,y),d.preSolveAll(T),P=0;P<g.constraintIterations;P++)d.solveAll(L,y);d.postSolveAll(T),E.pairs=g.pairs;var A=a.collisions(E);f.update(_,A,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var R=c.clamp(20/g.positionIterations,0,1);for(l.preSolvePosition(_.list),P=0;P<g.positionIterations;P++)l.solvePosition(_.list,y,R);for(l.postSolvePosition(T),d.preSolveAll(T),P=0;P<g.constraintIterations;P++)d.solveAll(L,y);for(d.postSolveAll(T),l.preSolveVelocity(_.list),P=0;P<g.velocityIterations;P++)l.solveVelocity(_.list,y);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",b),g.timing.lastElapsed=c.now()-v,g},r.merge=function(g,y){if(c.extend(g,y),y.world){g.world=y.world,r.clear(g);for(var v=h.allBodies(g.world),S=0;S<v.length;S++){var E=v[S];i.set(E,!1),E.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),a.clear(g.detector)},r._bodiesClearForces=function(g){for(var y=g.length,v=0;v<y;v++){var S=g[v];S.force.x=0,S.force.y=0,S.torque=0}},r._bodiesApplyGravity=function(g,y){var v=typeof y.scale<"u"?y.scale:.001,S=g.length;if(!(y.x===0&&y.y===0||v===0))for(var E=0;E<S;E++){var _=g[E];_.isStatic||_.isSleeping||(_.force.y+=_.mass*y.y*v,_.force.x+=_.mass*y.x*v)}},r._bodiesUpdate=function(g,y){for(var v=g.length,S=0;S<v;S++){var E=g[S];E.isStatic||E.isSleeping||p.update(E,y)}},r._bodiesUpdateVelocities=function(g){for(var y=g.length,v=0;v<y;v++)p.updateVelocities(g[v])}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),l=o(0),a=o(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,y,v,S,E,_=r._positionDampen*(h||1),m=l.clamp(u/l._baseDelta,0,1),x=f.length;for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,y=p.parentB,v=p.normal,c.separation=v.x*(y.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+v.y*(y.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,y=p.parentB,v=p.normal,E=c.separation-c.slop*m,(g.isStatic||y.isStatic)&&(E*=2),g.isStatic||g.isSleeping||(S=_/g.totalContacts,g.positionImpulse.x+=v.x*E*S,g.positionImpulse.y+=v.y*E*S),y.isStatic||y.isSleeping||(S=_/y.totalContacts,y.positionImpulse.x-=v.x*E*S,y.positionImpulse.y-=v.y*E*S))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=a.update,p=0;p<h;p++){var g=f[p],y=g.positionImpulse,v=y.x,S=y.y,E=g.velocity;if(g.totalContacts=0,v!==0||S!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,y),c(m.bounds,m.vertices,E),m.position.x+=v,m.position.y+=S}g.positionPrev.x+=v,g.positionPrev.y+=S,v*E.x+S*E.y<0?(y.x=0,y.y=0):(y.x*=u,y.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,y=c.collision,v=y.parentA,S=y.parentB,E=y.normal,_=y.tangent;for(d=0;d<g;d++){var m=p[d],x=m.vertex,P=m.normalImpulse,b=m.tangentImpulse;if(P!==0||b!==0){var T=E.x*P+_.x*b,L=E.y*P+_.y*b;v.isStatic||v.isSleeping||(v.positionPrev.x+=T*v.inverseMass,v.positionPrev.y+=L*v.inverseMass,v.anglePrev+=v.inverseInertia*((x.x-v.position.x)*L-(x.y-v.position.y)*T)),S.isStatic||S.isSleeping||(S.positionPrev.x-=T*S.inverseMass,S.positionPrev.y-=L*S.inverseMass,S.anglePrev-=S.inverseInertia*((x.x-S.position.x)*L-(x.y-S.position.y)*T))}}}}},r.solveVelocity=function(f,u){var h=u/l._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,y=r._frictionNormalMultiplier*h,v=r._frictionMaxStatic,S=f.length,E,_,m,x;for(m=0;m<S;m++){var P=f[m];if(!(!P.isActive||P.isSensor)){var b=P.collision,T=b.parentA,L=b.parentB,A=T.velocity,R=L.velocity,O=b.normal.x,U=b.normal.y,H=b.tangent.x,$=b.tangent.y,V=P.activeContacts,W=V.length,ae=1/W,de=T.inverseMass+L.inverseMass,fe=P.friction*P.frictionStatic*y;for(A.x=T.position.x-T.positionPrev.x,A.y=T.position.y-T.positionPrev.y,R.x=L.position.x-L.positionPrev.x,R.y=L.position.y-L.positionPrev.y,T.angularVelocity=T.angle-T.anglePrev,L.angularVelocity=L.angle-L.anglePrev,x=0;x<W;x++){var re=V[x],Se=re.vertex,ye=Se.x-T.position.x,De=Se.y-T.position.y,ce=Se.x-L.position.x,D=Se.y-L.position.y,X=A.x-De*T.angularVelocity,J=A.y+ye*T.angularVelocity,Z=R.x-D*L.angularVelocity,ue=R.y+ce*L.angularVelocity,_e=X-Z,w=J-ue,C=O*_e+U*w,k=H*_e+$*w,I=P.separation+C,N=Math.min(I,1);N=I<0?0:N;var B=N*fe;k<-B||k>B?(_=k>0?k:-k,E=P.friction*(k>0?1:-1)*c,E<-_?E=-_:E>_&&(E=_)):(E=k,_=v);var G=ye*U-De*O,K=ce*U-D*O,Y=ae/(de+T.inverseInertia*G*G+L.inverseInertia*K*K),j=(1+P.restitution)*C*Y;if(E*=Y,C<p)re.normalImpulse=0;else{var z=re.normalImpulse;re.normalImpulse+=j,re.normalImpulse>0&&(re.normalImpulse=0),j=re.normalImpulse-z}if(k<-g||k>g)re.tangentImpulse=0;else{var te=re.tangentImpulse;re.tangentImpulse+=E,re.tangentImpulse<-_&&(re.tangentImpulse=-_),re.tangentImpulse>_&&(re.tangentImpulse=_),E=re.tangentImpulse-te}var q=O*j+H*E,M=U*j+$*E;T.isStatic||T.isSleeping||(T.positionPrev.x+=q*T.inverseMass,T.positionPrev.y+=M*T.inverseMass,T.anglePrev+=(ye*M-De*q)*T.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=q*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(ce*M-D*q)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),l=o(0);(function(){r.create=function(a){return l.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},a)},r.update=function(a,f,u){var h=a.list,d=h.length,c=a.table,p=f.length,g=a.collisionStart,y=a.collisionEnd,v=a.collisionActive,S,E,_,m;for(g.length=0,y.length=0,v.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)S=f[m],_=S.pair,_?(_.isActive?v.push(_):g.push(_),i.update(_,S,u),_.confirmedActive=!0):(_=i.create(S,u),c[_.id]=_,g.push(_),h.push(_));var x=[];for(d=h.length,m=0;m<d;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),y.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&x.push(m));for(m=0;m<x.length;m++)E=x[m]-m,_=h[E],h.splice(E,1),delete c[_.id]},r.clear=function(a){return a.table={},a.list.length=0,a.collisionStart.length=0,a.collisionActive.length=0,a.collisionEnd.length=0,a}})()},function(n,s,o){var r=n.exports=o(21);r.Axes=o(11),r.Bodies=o(12),r.Body=o(4),r.Bounds=o(1),r.Collision=o(8),r.Common=o(0),r.Composite=o(6),r.Composites=o(22),r.Constraint=o(10),r.Contact=o(16),r.Detector=o(13),r.Engine=o(17),r.Events=o(5),r.Grid=o(23),r.Mouse=o(14),r.MouseConstraint=o(24),r.Pair=o(9),r.Pairs=o(19),r.Plugin=o(15),r.Query=o(25),r.Render=o(26),r.Resolver=o(18),r.Runner=o(27),r.SAT=o(28),r.Sleeping=o(7),r.Svg=o(29),r.Vector=o(2),r.Vertices=o(3),r.World=o(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,o){var r={};n.exports=r;var i=o(15),l=o(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(a,f){return a=a.replace(/^Matter./,""),l.chainPathBefore(r,a,f)},r.after=function(a,f){return a=a.replace(/^Matter./,""),l.chainPathAfter(r,a,f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),l=o(10),a=o(0),f=o(4),u=o(12),h=a.deprecated;(function(){r.stack=function(d,c,p,g,y,v,S){for(var E=i.create({label:"Stack"}),_=d,m=c,x,P=0,b=0;b<g;b++){for(var T=0,L=0;L<p;L++){var A=S(_,m,L,b,x,P);if(A){var R=A.bounds.max.y-A.bounds.min.y,O=A.bounds.max.x-A.bounds.min.x;R>T&&(T=R),f.translate(A,{x:O*.5,y:R*.5}),_=A.bounds.max.x+y,i.addBody(E,A),x=A,P+=1}else _+=y}m+=T+v,_=d}return E},r.chain=function(d,c,p,g,y,v){for(var S=d.bodies,E=1;E<S.length;E++){var _=S[E-1],m=S[E],x=_.bounds.max.y-_.bounds.min.y,P=_.bounds.max.x-_.bounds.min.x,b=m.bounds.max.y-m.bounds.min.y,T=m.bounds.max.x-m.bounds.min.x,L={bodyA:_,pointA:{x:P*c,y:x*p},bodyB:m,pointB:{x:T*g,y:b*y}},A=a.extend(L,v);i.addConstraint(d,l.create(A))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,y){var v=d.bodies,S,E,_,m,x;for(S=0;S<p;S++){for(E=1;E<c;E++)_=v[E-1+S*c],m=v[E+S*c],i.addConstraint(d,l.create(a.extend({bodyA:_,bodyB:m},y)));if(S>0)for(E=0;E<c;E++)_=v[E+(S-1)*c],m=v[E+S*c],i.addConstraint(d,l.create(a.extend({bodyA:_,bodyB:m},y))),g&&E>0&&(x=v[E-1+(S-1)*c],i.addConstraint(d,l.create(a.extend({bodyA:x,bodyB:m},y)))),g&&E<c-1&&(x=v[E+1+(S-1)*c],i.addConstraint(d,l.create(a.extend({bodyA:x,bodyB:m},y))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,y,v,S){return r.stack(d,c,p,g,y,v,function(E,_,m,x,P,b){var T=Math.min(g,Math.ceil(p/2)),L=P?P.bounds.max.x-P.bounds.min.x:0;if(!(x>T)){x=T-x;var A=x,R=p-1-x;if(!(m<A||m>R)){b===1&&f.translate(P,{x:(m+(p%2===1?1:-1))*L,y:0});var O=P?m*L:0;return S(d+O+m*y,_,m,x,P,b)}}})},r.newtonsCradle=function(d,c,p,g,y){for(var v=i.create({label:"Newtons Cradle"}),S=0;S<p;S++){var E=1.9,_=u.circle(d+S*(g*E),c+y,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=l.create({pointA:{x:d+S*(g*E),y:c},bodyB:_});i.addBody(v,_),i.addConstraint(v,m)}return v},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,y){var v=f.nextGroup(!0),S=20,E=-p*.5+S,_=p*.5-S,m=0,x=i.create({label:"Car"}),P=u.rectangle(d,c,p,g,{collisionFilter:{group:v},chamfer:{radius:g*.5},density:2e-4}),b=u.circle(d+E,c+m,y,{collisionFilter:{group:v},friction:.8}),T=u.circle(d+_,c+m,y,{collisionFilter:{group:v},friction:.8}),L=l.create({bodyB:P,pointB:{x:E,y:m},bodyA:b,stiffness:1,length:0}),A=l.create({bodyB:P,pointB:{x:_,y:m},bodyA:T,stiffness:1,length:0});return i.addBody(x,P),i.addBody(x,b),i.addBody(x,T),i.addConstraint(x,L),i.addConstraint(x,A),x},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,y,v,S,E,_,m){_=a.extend({inertia:1/0},_),m=a.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,p,g,y,v,function(P,b){return u.circle(P,b,E,_)});return r.mesh(x,p,g,S,m),x.label="Soft Body",x},h(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,s,o){var r={};n.exports=r;var i=o(9),l=o(0),a=l.deprecated;(function(){r.create=function(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return l.extend(u,f)},r.update=function(f,u,h,d){var c,p,g,y=h.world,v=f.buckets,S,E,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(y.bounds&&(m.bounds.max.x<y.bounds.min.x||m.bounds.min.x>y.bounds.max.x||m.bounds.max.y<y.bounds.min.y||m.bounds.min.y>y.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var P=r._regionUnion(x,m.region);for(p=P.startCol;p<=P.endCol;p++)for(g=P.startRow;g<=P.endRow;g++){E=r._getBucketId(p,g),S=v[E];var b=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,T=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!b&&T&&T&&S&&r._bucketRemoveBody(f,S,m),(m.region===x||b&&!T||d)&&(S||(S=r._createBucket(v,E)),r._bucketAddBody(f,S,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},a(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},a(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 y=u[g];if(!(h.id===y.id||h.isStatic&&y.isStatic)){var v=c(h,y),S=d[v];S?S[2]+=1:d[v]=[h,y,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(l.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var y=d[c(h,u[p])];y&&(y[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=l.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,s,o){var r={};n.exports=r;var i=o(3),l=o(7),a=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,y){var v=(g?g.mouse:null)||(y?y.mouse:null);v||(g&&g.render&&g.render.canvas?v=a.create(g.render.canvas):y&&y.element?v=a.create(y.element):(v=a.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var S=h.create({label:"Mouse Constraint",pointA:v.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),E={type:"mouseConstraint",mouse:v,element:null,body:null,constraint:S,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(E,y);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,y){var v=g.mouse,S=g.constraint,E=g.body;if(v.button===0){if(S.bodyB)l.set(S.bodyB,!1),S.pointA=v.position;else for(var _=0;_<y.length;_++)if(E=y[_],p.contains(E.bounds,v.position)&&u.canCollide(E.collisionFilter,g.collisionFilter))for(var m=E.parts.length>1?1:0;m<E.parts.length;m++){var x=E.parts[m];if(i.contains(x.vertices,v.position)){S.pointA=v.position,S.bodyB=g.body=E,S.pointB={x:v.position.x-E.position.x,y:v.position.y-E.position.y},S.angleB=E.angle,l.set(E,!1),f.trigger(g,"startdrag",{mouse:v,body:E});break}}}else S.bodyB=g.body=null,S.pointB=null,E&&f.trigger(g,"enddrag",{mouse:v,body:E})},r._triggerEvents=function(g){var y=g.mouse,v=y.sourceEvents;v.mousemove&&f.trigger(g,"mousemove",{mouse:y}),v.mousedown&&f.trigger(g,"mousedown",{mouse:y}),v.mouseup&&f.trigger(g,"mouseup",{mouse:y}),a.clearSourceEvents(y)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),l=o(8),a=o(1),f=o(12),u=o(3);(function(){r.collides=function(h,d){for(var c=[],p=d.length,g=h.bounds,y=l.collides,v=a.overlaps,S=0;S<p;S++){var E=d[S],_=E.parts.length,m=_===1?0:1;if(v(E.bounds,g))for(var x=m;x<_;x++){var P=E.parts[x];if(v(P.bounds,g)){var b=y(P,h);if(b){c.push(b);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),y=i.magnitude(i.sub(d,c)),v=(c.x+d.x)*.5,S=(c.y+d.y)*.5,E=f.rectangle(v,S,y,p,{angle:g}),_=r.collides(E,h),m=0;m<_.length;m+=1){var x=_[m];x.body=x.bodyB=x.bodyA}return _},r.region=function(h,d,c){for(var p=[],g=0;g<h.length;g++){var y=h[g],v=a.overlaps(y.bounds,d);(v&&!c||!v&&c)&&p.push(y)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(a.contains(g.bounds,d))for(var y=g.parts.length===1?0:1;y<g.parts.length;y++){var v=g.parts[y];if(a.contains(v.bounds,d)&&u.contains(v.vertices,d)){c.push(g);break}}}return c}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),l=o(0),a=o(6),f=o(1),u=o(5),h=o(2),d=o(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(l.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var x={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}},P=l.extend(x,m);return P.canvas&&(P.canvas.width=P.options.width||P.canvas.width,P.canvas.height=P.options.height||P.canvas.height),P.mouse=m.mouse,P.engine=m.engine,P.canvas=P.canvas||v(P.options.width,P.options.height),P.context=P.canvas.getContext("2d"),P.textures={},P.bounds=P.bounds||{min:{x:0,y:0},max:{x:P.canvas.width,y:P.canvas.height}},P.controller=r,P.options.showBroadphase=!1,P.options.pixelRatio!==1&&r.setPixelRatio(P,P.options.pixelRatio),l.isElement(P.element)&&P.element.appendChild(P.canvas),P},r.run=function(m){(function x(P){m.frameRequestId=c(x),g(m,P),r.world(m,P),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,P),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,P)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,x){var P=m.options,b=m.canvas;x==="auto"&&(x=S(b)),P.pixelRatio=x,b.setAttribute("data-pixel-ratio",x),b.width=P.width*x,b.height=P.height*x,b.style.width=P.width+"px",b.style.height=P.height+"px"},r.lookAt=function(m,x,P,b){b=typeof b<"u"?b:!0,x=l.isArray(x)?x:[x],P=P||{x:0,y:0};for(var T={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<x.length;L+=1){var A=x[L],R=A.bounds?A.bounds.min:A.min||A.position||A,O=A.bounds?A.bounds.max:A.max||A.position||A;R&&O&&(R.x<T.min.x&&(T.min.x=R.x),O.x>T.max.x&&(T.max.x=O.x),R.y<T.min.y&&(T.min.y=R.y),O.y>T.max.y&&(T.max.y=O.y))}var U=T.max.x-T.min.x+2*P.x,H=T.max.y-T.min.y+2*P.y,$=m.canvas.height,V=m.canvas.width,W=V/$,ae=U/H,de=1,fe=1;ae>W?fe=ae/W:de=W/ae,m.options.hasBounds=!0,m.bounds.min.x=T.min.x,m.bounds.max.x=T.min.x+U*de,m.bounds.min.y=T.min.y,m.bounds.max.y=T.min.y+H*fe,b&&(m.bounds.min.x+=U*.5-U*de*.5,m.bounds.max.x+=U*.5-U*de*.5,m.bounds.min.y+=H*.5-H*fe*.5,m.bounds.max.y+=H*.5-H*fe*.5),m.bounds.min.x-=P.x,m.bounds.max.x-=P.x,m.bounds.min.y-=P.y,m.bounds.max.y-=P.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 x=m.bounds.max.x-m.bounds.min.x,P=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,T=P/m.options.height;m.context.setTransform(m.options.pixelRatio/b,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,x){var P=l.now(),b=m.engine,T=b.world,L=m.canvas,A=m.context,R=m.options,O=m.timing,U=a.allBodies(T),H=a.allConstraints(T),$=R.wireframes?R.wireframeBackground:R.background,V=[],W=[],ae,de={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",de),m.currentBackground!==$&&_(m,$),A.globalCompositeOperation="source-in",A.fillStyle="transparent",A.fillRect(0,0,L.width,L.height),A.globalCompositeOperation="source-over",R.hasBounds){for(ae=0;ae<U.length;ae++){var fe=U[ae];f.overlaps(fe.bounds,m.bounds)&&V.push(fe)}for(ae=0;ae<H.length;ae++){var re=H[ae],Se=re.bodyA,ye=re.bodyB,De=re.pointA,ce=re.pointB;Se&&(De=h.add(Se.position,re.pointA)),ye&&(ce=h.add(ye.position,re.pointB)),!(!De||!ce)&&(f.contains(m.bounds,De)||f.contains(m.bounds,ce))&&W.push(re)}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 W=H,V=U,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!R.wireframes||b.enableSleeping&&R.showSleeping?r.bodies(m,V,A):(R.showConvexHulls&&r.bodyConvexHulls(m,V,A),r.bodyWireframes(m,V,A)),R.showBounds&&r.bodyBounds(m,V,A),(R.showAxes||R.showAngleIndicator)&&r.bodyAxes(m,V,A),R.showPositions&&r.bodyPositions(m,V,A),R.showVelocity&&r.bodyVelocity(m,V,A),R.showIds&&r.bodyIds(m,V,A),R.showSeparations&&r.separations(m,b.pairs.list,A),R.showCollisions&&r.collisions(m,b.pairs.list,A),R.showVertexNumbers&&r.vertexNumbers(m,V,A),R.showMousePosition&&r.mousePosition(m,m.mouse,A),r.constraints(W,A),R.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",de),O.lastElapsed=l.now()-P},r.stats=function(m,x,P){for(var b=m.engine,T=b.world,L=a.allBodies(T),A=0,R=55,O=44,U=0,H=0,$=0;$<L.length;$+=1)A+=L[$].parts.length;var V={Part:A,Body:L.length,Cons:a.allConstraints(T).length,Comp:a.allComposites(T).length,Pair:b.pairs.list.length};x.fillStyle="#0e0f19",x.fillRect(U,H,R*5.5,O),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var W in V){var ae=V[W];x.fillStyle="#aaa",x.fillText(W,U+R,H+8),x.fillStyle="#eee",x.fillText(ae,U+R,H+26),U+=R}},r.performance=function(m,x){var P=m.engine,b=m.timing,T=b.deltaHistory,L=b.elapsedHistory,A=b.timestampElapsedHistory,R=b.engineDeltaHistory,O=b.engineElapsedHistory,U=P.timing.lastDelta,H=y(T),$=y(L),V=y(R),W=y(O),ae=y(A),de=ae/H||0,fe=1e3/H||0,re=4,Se=12,ye=60,De=34,ce=10,D=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Se*4+ye*5+22,De),r.status(x,ce,D,ye,re,T.length,Math.round(fe)+" fps",fe/r._goodFps,function(X){return T[X]/H-1}),r.status(x,ce+Se+ye,D,ye,re,R.length,U.toFixed(2)+" dt",r._goodDelta/U,function(X){return R[X]/V-1}),r.status(x,ce+(Se+ye)*2,D,ye,re,O.length,W.toFixed(2)+" ut",1-W/r._goodFps,function(X){return O[X]/W-1}),r.status(x,ce+(Se+ye)*3,D,ye,re,L.length,$.toFixed(2)+" rt",1-$/r._goodFps,function(X){return L[X]/$-1}),r.status(x,ce+(Se+ye)*4,D,ye,re,A.length,de.toFixed(2)+" x",de*de*de,function(X){return(A[X]/T[X]/de||0)-1})},r.status=function(m,x,P,b,T,L,A,R,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,P+7,b,1),m.beginPath(),m.moveTo(x,P+7-T*l.clamp(.4*O(0),-2,2));for(var U=0;U<b;U+=1)m.lineTo(x+U,P+7-(U<L?T*l.clamp(.4*O(U),-2,2):0));m.stroke(),m.fillStyle="hsl("+l.clamp(25+95*R,0,120)+",100%,60%)",m.fillRect(x,P-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(A,x+b,P-5)},r.constraints=function(m,x){for(var P=x,b=0;b<m.length;b++){var T=m[b];if(!(!T.render.visible||!T.pointA||!T.pointB)){var L=T.bodyA,A=T.bodyB,R,O;if(L?R=h.add(L.position,T.pointA):R=T.pointA,T.render.type==="pin")P.beginPath(),P.arc(R.x,R.y,3,0,2*Math.PI),P.closePath();else{if(A?O=h.add(A.position,T.pointB):O=T.pointB,P.beginPath(),P.moveTo(R.x,R.y),T.render.type==="spring")for(var U=h.sub(O,R),H=h.perp(h.normalise(U)),$=Math.ceil(l.clamp(T.length/5,12,20)),V,W=1;W<$;W+=1)V=W%2===0?1:-1,P.lineTo(R.x+U.x*(W/$)+H.x*V*4,R.y+U.y*(W/$)+H.y*V*4);P.lineTo(O.x,O.y)}T.render.lineWidth&&(P.lineWidth=T.render.lineWidth,P.strokeStyle=T.render.strokeStyle,P.stroke()),T.render.anchors&&(P.fillStyle=T.render.strokeStyle,P.beginPath(),P.arc(R.x,R.y,3,0,2*Math.PI),P.arc(O.x,O.y,3,0,2*Math.PI),P.closePath(),P.fill())}}},r.bodies=function(m,x,P){var b=P;m.engine;var T=m.options,L=T.showInternalEdges||!T.wireframes,A,R,O,U;for(O=0;O<x.length;O++)if(A=x[O],!!A.render.visible){for(U=A.parts.length>1?1:0;U<A.parts.length;U++)if(R=A.parts[U],!!R.render.visible){if(T.showSleeping&&A.isSleeping?b.globalAlpha=.5*R.render.opacity:R.render.opacity!==1&&(b.globalAlpha=R.render.opacity),R.render.sprite&&R.render.sprite.texture&&!T.wireframes){var H=R.render.sprite,$=E(m,H.texture);b.translate(R.position.x,R.position.y),b.rotate(R.angle),b.drawImage($,$.width*-H.xOffset*H.xScale,$.height*-H.yOffset*H.yScale,$.width*H.xScale,$.height*H.yScale),b.rotate(-R.angle),b.translate(-R.position.x,-R.position.y)}else{if(R.circleRadius)b.beginPath(),b.arc(R.position.x,R.position.y,R.circleRadius,0,2*Math.PI);else{b.beginPath(),b.moveTo(R.vertices[0].x,R.vertices[0].y);for(var V=1;V<R.vertices.length;V++)!R.vertices[V-1].isInternal||L?b.lineTo(R.vertices[V].x,R.vertices[V].y):b.moveTo(R.vertices[V].x,R.vertices[V].y),R.vertices[V].isInternal&&!L&&b.moveTo(R.vertices[(V+1)%R.vertices.length].x,R.vertices[(V+1)%R.vertices.length].y);b.lineTo(R.vertices[0].x,R.vertices[0].y),b.closePath()}T.wireframes?(b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()):(b.fillStyle=R.render.fillStyle,R.render.lineWidth&&(b.lineWidth=R.render.lineWidth,b.strokeStyle=R.render.strokeStyle,b.stroke()),b.fill())}b.globalAlpha=1}}},r.bodyWireframes=function(m,x,P){var b=P,T=m.options.showInternalEdges,L,A,R,O,U;for(b.beginPath(),R=0;R<x.length;R++)if(L=x[R],!!L.render.visible)for(U=L.parts.length>1?1:0;U<L.parts.length;U++){for(A=L.parts[U],b.moveTo(A.vertices[0].x,A.vertices[0].y),O=1;O<A.vertices.length;O++)!A.vertices[O-1].isInternal||T?b.lineTo(A.vertices[O].x,A.vertices[O].y):b.moveTo(A.vertices[O].x,A.vertices[O].y),A.vertices[O].isInternal&&!T&&b.moveTo(A.vertices[(O+1)%A.vertices.length].x,A.vertices[(O+1)%A.vertices.length].y);b.lineTo(A.vertices[0].x,A.vertices[0].y)}b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()},r.bodyConvexHulls=function(m,x,P){var b=P,T,L,A;for(b.beginPath(),L=0;L<x.length;L++)if(T=x[L],!(!T.render.visible||T.parts.length===1)){for(b.moveTo(T.vertices[0].x,T.vertices[0].y),A=1;A<T.vertices.length;A++)b.lineTo(T.vertices[A].x,T.vertices[A].y);b.lineTo(T.vertices[0].x,T.vertices[0].y)}b.lineWidth=1,b.strokeStyle="rgba(255,255,255,0.2)",b.stroke()},r.vertexNumbers=function(m,x,P){var b=P,T,L,A;for(T=0;T<x.length;T++){var R=x[T].parts;for(A=R.length>1?1:0;A<R.length;A++){var O=R[A];for(L=0;L<O.vertices.length;L++)b.fillStyle="rgba(255,255,255,0.2)",b.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,x,P){var b=P;b.fillStyle="rgba(255,255,255,0.8)",b.fillText(x.position.x+" "+x.position.y,x.position.x+5,x.position.y-5)},r.bodyBounds=function(m,x,P){var b=P;m.engine;var T=m.options;b.beginPath();for(var L=0;L<x.length;L++){var A=x[L];if(A.render.visible)for(var R=x[L].parts,O=R.length>1?1:0;O<R.length;O++){var U=R[O];b.rect(U.bounds.min.x,U.bounds.min.y,U.bounds.max.x-U.bounds.min.x,U.bounds.max.y-U.bounds.min.y)}}T.wireframes?b.strokeStyle="rgba(255,255,255,0.08)":b.strokeStyle="rgba(0,0,0,0.1)",b.lineWidth=1,b.stroke()},r.bodyAxes=function(m,x,P){var b=P;m.engine;var T=m.options,L,A,R,O;for(b.beginPath(),A=0;A<x.length;A++){var U=x[A],H=U.parts;if(U.render.visible)if(T.showAxes)for(R=H.length>1?1:0;R<H.length;R++)for(L=H[R],O=0;O<L.axes.length;O++){var $=L.axes[O];b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+$.x*20,L.position.y+$.y*20)}else for(R=H.length>1?1:0;R<H.length;R++)for(L=H[R],O=0;O<L.axes.length;O++)b.moveTo(L.position.x,L.position.y),b.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?(b.strokeStyle="indianred",b.lineWidth=1):(b.strokeStyle="rgba(255, 255, 255, 0.4)",b.globalCompositeOperation="overlay",b.lineWidth=2),b.stroke(),b.globalCompositeOperation="source-over"},r.bodyPositions=function(m,x,P){var b=P;m.engine;var T=m.options,L,A,R,O;for(b.beginPath(),R=0;R<x.length;R++)if(L=x[R],!!L.render.visible)for(O=0;O<L.parts.length;O++)A=L.parts[O],b.arc(A.position.x,A.position.y,3,0,2*Math.PI,!1),b.closePath();for(T.wireframes?b.fillStyle="indianred":b.fillStyle="rgba(0,0,0,0.5)",b.fill(),b.beginPath(),R=0;R<x.length;R++)L=x[R],L.render.visible&&(b.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),b.closePath());b.fillStyle="rgba(255,165,0,0.8)",b.fill()},r.bodyVelocity=function(m,x,P){var b=P;b.beginPath();for(var T=0;T<x.length;T++){var L=x[T];if(L.render.visible){var A=i.getVelocity(L);b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+A.x,L.position.y+A.y)}}b.lineWidth=3,b.strokeStyle="cornflowerblue",b.stroke()},r.bodyIds=function(m,x,P){var b=P,T,L;for(T=0;T<x.length;T++)if(x[T].render.visible){var A=x[T].parts;for(L=A.length>1?1:0;L<A.length;L++){var R=A[L];b.font="12px Arial",b.fillStyle="rgba(255,255,255,0.5)",b.fillText(R.id,R.position.x+10,R.position.y-10)}}},r.collisions=function(m,x,P){var b=P,T=m.options,L,A,R,O;for(b.beginPath(),R=0;R<x.length;R++)if(L=x[R],!!L.isActive)for(A=L.collision,O=0;O<L.activeContacts.length;O++){var U=L.activeContacts[O],H=U.vertex;b.rect(H.x-1.5,H.y-1.5,3.5,3.5)}for(T.wireframes?b.fillStyle="rgba(255,255,255,0.7)":b.fillStyle="orange",b.fill(),b.beginPath(),R=0;R<x.length;R++)if(L=x[R],!!L.isActive&&(A=L.collision,L.activeContacts.length>0)){var $=L.activeContacts[0].vertex.x,V=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&($=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,V=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),A.bodyB===A.supports[0].body||A.bodyA.isStatic===!0?b.moveTo($-A.normal.x*8,V-A.normal.y*8):b.moveTo($+A.normal.x*8,V+A.normal.y*8),b.lineTo($,V)}T.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,P){var b=P,T=m.options,L,A,R,O,U;for(b.beginPath(),U=0;U<x.length;U++)if(L=x[U],!!L.isActive){A=L.collision,R=A.bodyA,O=A.bodyB;var H=1;!O.isStatic&&!R.isStatic&&(H=.5),O.isStatic&&(H=0),b.moveTo(O.position.x,O.position.y),b.lineTo(O.position.x-A.penetration.x*H,O.position.y-A.penetration.y*H),H=1,!O.isStatic&&!R.isStatic&&(H=.5),R.isStatic&&(H=0),b.moveTo(R.position.x,R.position.y),b.lineTo(R.position.x+A.penetration.x*H,R.position.y+A.penetration.y*H)}T.wireframes?b.strokeStyle="rgba(255,165,0,0.5)":b.strokeStyle="orange",b.stroke()},r.inspector=function(m,x){m.engine;var P=m.selected,b=m.render,T=b.options,L;if(T.hasBounds){var A=b.bounds.max.x-b.bounds.min.x,R=b.bounds.max.y-b.bounds.min.y,O=A/b.options.width,U=R/b.options.height;x.scale(1/O,1/U),x.translate(-b.bounds.min.x,-b.bounds.min.y)}for(var H=0;H<P.length;H++){var $=P[H].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),$.type){case"body":L=$.bounds,x.beginPath(),x.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)),x.closePath(),x.stroke();break;case"constraint":var V=$.pointA;$.bodyA&&(V=$.pointB),x.beginPath(),x.arc(V.x,V.y,10,0,2*Math.PI),x.closePath(),x.stroke();break}x.setLineDash([]),x.translate(-.5,-.5)}m.selectStart!==null&&(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.6)",x.fillStyle="rgba(255,165,0,0.1)",L=m.selectBounds,x.beginPath(),x.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)),x.closePath(),x.stroke(),x.fill(),x.translate(-.5,-.5)),T.hasBounds&&x.setTransform(1,0,0,1,0,0)};var g=function(m,x){var P=m.engine,b=m.timing,T=b.historySize,L=P.timing.timestamp;b.delta=x-b.lastTime||r._goodDelta,b.lastTime=x,b.timestampElapsed=L-b.lastTimestamp||0,b.lastTimestamp=L,b.deltaHistory.unshift(b.delta),b.deltaHistory.length=Math.min(b.deltaHistory.length,T),b.engineDeltaHistory.unshift(P.timing.lastDelta),b.engineDeltaHistory.length=Math.min(b.engineDeltaHistory.length,T),b.timestampElapsedHistory.unshift(b.timestampElapsed),b.timestampElapsedHistory.length=Math.min(b.timestampElapsedHistory.length,T),b.engineElapsedHistory.unshift(P.timing.lastElapsed),b.engineElapsedHistory.length=Math.min(b.engineElapsedHistory.length,T),b.elapsedHistory.unshift(b.lastElapsed),b.elapsedHistory.length=Math.min(b.elapsedHistory.length,T)},y=function(m){for(var x=0,P=0;P<m.length;P+=1)x+=m[P];return x/m.length||0},v=function(m,x){var P=document.createElement("canvas");return P.width=m,P.height=x,P.oncontextmenu=function(){return!1},P.onselectstart=function(){return!1},P},S=function(m){var x=m.getContext("2d"),P=window.devicePixelRatio||1,b=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return P/b},E=function(m,x){var P=m.textures[x];return P||(P=m.textures[x]=new Image,P.src=x,P)},_=function(m,x){var P=x;/(jpg|gif|png)$/.test(x)&&(P="url("+x+")"),m.canvas.style.background=P,m.canvas.style.backgroundSize="contain",m.currentBackground=x}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),l=o(17),a=o(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(a.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=a.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,y;d.isFixed?y=d.delta:(y=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(y),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),y=Math.min.apply(null,d.deltaHistory),y=y<d.deltaMin?d.deltaMin:y,y=y>d.deltaMax?d.deltaMax:y,d.delta=y);var v={timestamp:g.timestamp};i.trigger(d,"beforeTick",v),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",v),i.trigger(d,"beforeUpdate",v),l.update(c,y),i.trigger(d,"afterUpdate",v),i.trigger(d,"afterTick",v)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),l=o(0),a=l.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},a(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(l,a){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,y,v,S,E=[],_,m,x=0,P=0,b=0;a=a||15;var T=function(A,R,O){var U=O%2===1&&O>1;if(!v||A!=v.x||R!=v.y){v&&U?(_=v.x,m=v.y):(_=0,m=0);var H={x:_+A,y:m+R};(U||!v)&&(v=H),E.push(H),P=_+A,b=m+R}},L=function(A){var R=A.pathSegTypeAsLetter.toUpperCase();if(R!=="Z"){switch(R){case"M":case"L":case"T":case"C":case"S":case"Q":P=A.x,b=A.y;break;case"H":P=A.x;break;case"V":b=A.y;break}T(P,b,A.pathSegType)}};for(r._svgPathToAbsolute(l),h=l.getTotalLength(),p=[],f=0;f<l.pathSegList.numberOfItems;f+=1)p.push(l.pathSegList.getItem(f));for(g=p.concat();x<h;){if(S=l.getPathSegAtLength(x),c=p[S],c!=y){for(;g.length&&g[0]!=c;)L(g.shift());y=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=l.getPointAtLength(x),T(d.x,d.y,0);break}x+=a}for(f=0,u=g.length;f<u;++f)L(g[f]);return E},r._svgPathToAbsolute=function(l){for(var a,f,u,h,d,c,p=l.pathSegList,g=0,y=0,v=p.numberOfItems,S=0;S<v;++S){var E=p.getItem(S),_=E.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in E&&(g=E.x),"y"in E&&(y=E.y);else switch("x1"in E&&(u=g+E.x1),"x2"in E&&(d=g+E.x2),"y1"in E&&(h=y+E.y1),"y2"in E&&(c=y+E.y2),"x"in E&&(g+=E.x),"y"in E&&(y+=E.y),_){case"m":p.replaceItem(l.createSVGPathSegMovetoAbs(g,y),S);break;case"l":p.replaceItem(l.createSVGPathSegLinetoAbs(g,y),S);break;case"h":p.replaceItem(l.createSVGPathSegLinetoHorizontalAbs(g),S);break;case"v":p.replaceItem(l.createSVGPathSegLinetoVerticalAbs(y),S);break;case"c":p.replaceItem(l.createSVGPathSegCurvetoCubicAbs(g,y,u,h,d,c),S);break;case"s":p.replaceItem(l.createSVGPathSegCurvetoCubicSmoothAbs(g,y,d,c),S);break;case"q":p.replaceItem(l.createSVGPathSegCurvetoQuadraticAbs(g,y,u,h),S);break;case"t":p.replaceItem(l.createSVGPathSegCurvetoQuadraticSmoothAbs(g,y),S);break;case"a":p.replaceItem(l.createSVGPathSegArcAbs(g,y,E.r1,E.r2,E.angle,E.largeArcFlag,E.sweepFlag),S);break;case"z":case"Z":g=a,y=f;break}(_=="M"||_=="m")&&(a=g,f=y)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(6);o(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}()}])})})(vd);var Ft=vd.exports;const yd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href,d1={key:0,class:"w-full h-full"},h1=["width","height"],p1={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"},g1={class:"text-sm"},m1={class:"text-xs"},v1={class:"flex justify-end mt-2 text-sm"},y1=We({__name:"Cookie",setup(e){const t=we(null),n=we(null),s=we(!0),o=we(0),r=we(0);let i=null;xt(async()=>{s.value=wc(),o.value=f(),r.value=u(),wc()&&(await an(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function l(){a1(),s.value=!1}function a(){l1(),s.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=f(),r.value=u()}function d(){if(!i){i=Ft.Engine.create();let g=Ft.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});Ft.Render.run(g),Ft.Runner.run(Ft.Runner.create(),i)}h()}function c(){if(c1("cookie"),!i)return;let g=Ft.Bodies.circle(f1(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:yd,xScale:.08,yScale:.08}}});Ft.Composite.add(i.world,[g]);const y=.02*g.mass;Ft.Body.applyForce(g,g.position,{x:y*(g.position.x>f()/2?-1:1),y:-y*md(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Ft.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,y)=>{const v=ro;return Ee(),Ye(v,null,{default:ln(()=>[ne(s)?(Ee(),ot("div",d1,[se("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[se("canvas",{ref_key:"canvas_cookie",ref:n,width:ne(o),height:ne(r)},null,8,h1)],512),se("div",p1,[se("p",g1,Ae(g.$t("cookie policy title")),1),se("div",m1,[se("span",null,[Bs(Ae(g.$t("cookie policy"))+" ",1),se("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),se("div",v1,[se("button",{onClick:a,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Ae(g.$t("reject")),1),se("button",{onClick:l,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)])):nt("",!0)]),_:1})}}}),aa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},_1={},x1={class:"flex justify-center text-sm"},E1=se("div",{class:"flex items-center justify-center"},[se("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[se("img",{src:yd,alt:"",class:"h-full w-full"})])],-1),w1={class:"flex-1 ml-2"},S1={class:"font-bold text-base"};function C1(e,t){return Ee(),ot("div",x1,[E1,se("div",w1,[se("p",S1,Ae(e.$t("cookie.title")),1),se("p",null,Ae(e.$t("cookie.description")),1)])])}const b1=aa(_1,[["render",C1]]),P1=""+new URL("future.Byi108RQ.png",import.meta.url).href,T1={},L1={class:"flex text-sm"},R1=se("div",{class:"flex items-center justify-center"},[se("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[se("img",{src:P1,alt:"",class:"h-full w-full"})])],-1),k1={class:"flex-1 ml-2"},A1={class:"font-bold text-base"};function I1(e,t){return Ee(),ot("div",L1,[R1,se("div",k1,[se("p",A1,Ae(e.$t("future.title")),1),se("p",null,Ae(e.$t("future.description")),1)])])}const O1=aa(T1,[["render",I1]]),N1="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",M1={},D1={class:"flex text-sm"},F1=se("div",{class:"flex items-center justify-center"},[se("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[se("img",{src:N1,alt:"",class:"h-full w-full dark:invert"})])],-1),$1={class:"flex-1 ml-2"},H1={class:"font-bold text-base"};function B1(e,t){return Ee(),ot("div",D1,[F1,se("div",$1,[se("p",H1,Ae(e.$t("something.title")),1),se("p",null,Ae(e.$t("something.description")),1)])])}const U1=aa(M1,[["render",B1]]),V1=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,j1={class:"flex text-sm"},W1=se("div",{class:"flex items-center justify-center"},[se("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[se("img",{src:V1,alt:"",class:"h-full w-full"})])],-1),K1={class:"flex-1 ml-2"},G1={class:"font-bold text-base"},X1={key:0},Y1={key:1},J1=We({__name:"PictureBrightEgg",setup(e){const t=we(!1);return xt(()=>{t.value=ia().includes("picture-nolights")}),(n,s)=>{const o=ro;return Ee(),Ye(o,null,{default:ln(()=>[se("div",j1,[W1,se("div",K1,[se("p",G1,Ae(n.$t("bright.title")),1),ne(t)?nt("",!0):(Ee(),ot("p",X1,Ae(n.$t("bright.description")),1)),ne(t)?(Ee(),ot("p",Y1,Ae(n.$t("bright_either.description")),1)):nt("",!0)])])]),_:1})}}}),q1=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,Q1={class:"flex text-sm"},z1=se("div",{class:"flex items-center justify-center"},[se("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[se("img",{src:q1,alt:"",class:"h-full w-full"})])],-1),Z1={class:"flex-1 ml-2"},eE={class:"font-bold text-base"},tE={key:0},nE={key:1},rE=We({__name:"PictureNoLightEgg",setup(e){const t=we(!1);return xt(()=>{t.value=ia().includes("picture-bright")}),(n,s)=>{const o=ro;return Ee(),Ye(o,null,{default:ln(()=>[se("div",Q1,[z1,se("div",Z1,[se("p",eE,Ae(n.$t("dark.title")),1),ne(t)?nt("",!0):(Ee(),ot("p",tE,Ae(n.$t("dark.description")),1)),ne(t)?(Ee(),ot("p",nE,Ae(n.$t("dark_either.description")),1)):nt("",!0)])])]),_:1})}}}),sE={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},oE={class:"flex text-sm"},iE={class:"flex-1"},aE={class:"mt-1 text-center"},lE={key:0},cE={key:1},uE=We({__name:"EastereggBanner",setup(e,{expose:t}){const n=we(!1),s=we(""),o=we(u1()),r=we(0);xt(()=>{r.value=Sc()});let i=null;function l(f){s.value=f,r.value=Sc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{a()},7e3)}function a(){n.value=!1}return t({show:l}),(f,u)=>{const h=b1,d=O1,c=U1,p=J1,g=rE,y=ro;return Ee(),Ye(y,null,{default:ln(()=>[ne(n)?(Ee(),ot("div",sE,[se("div",{class:Ns(`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 ${ne(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:a},[se("div",oE,[se("div",iE,[ne(s)==="cookie"?(Ee(),Ye(h,{key:0})):nt("",!0),ne(s)==="future"?(Ee(),Ye(d,{key:1})):nt("",!0),ne(s)==="change-something"?(Ee(),Ye(c,{key:2})):nt("",!0),ne(s)==="picture-bright"?(Ee(),Ye(p,{key:3})):nt("",!0),ne(s)==="picture-nolights"?(Ee(),Ye(g,{key:4})):nt("",!0),se("div",aE,[ne(r)!=ne(o)?(Ee(),ot("p",lE,Ae(ne(r))+"/"+Ae(ne(o))+" "+Ae(f.$t("easter eggs found")),1)):nt("",!0),ne(r)===ne(o)?(Ee(),ot("p",cE,Ae(f.$t("all easter eggs found")),1)):nt("",!0)])])])],2)])):nt("",!0)]),_:1})}}});function _d(){return localStorage.getItem("theme")??"dark"}function fE(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function LE(){fE(_d()==="dark"?"light":"dark")}function xd(e){switch(e||(e=_d()),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 dE={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},hE={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},pE={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},gE={__name:"app",setup(e){const{locale:t}=zs(),n=we(),s=we(!1);return xt(()=>{xd(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),ul({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),st(t,o=>{ul({htmlAttrs:{lang:o}})}),(o,r)=>{const i=e1,l=o1,a=y1,f=uE;return ne(s)?(Ee(),ot("div",dE,[se("div",hE,[se("div",pE,[Ie(l,null,{default:ln(()=>[Ie(i)]),_:1})])]),Ie(a),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):nt("",!0)}}},mE=gE,vE=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,yE={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"}},_E={class:"text-2xl md:text-4xl text-center"},xE=se("img",{src:vE,class:"mx-auto my-2",alt:""},null,-1),EE=We({__name:"error",setup(e){const t=Dx();return xt(()=>{xd()}),(n,s)=>{const o=Gx;return Ee(),ot("div",yE,[se("div",null,[se("p",_E,Ae(n.$t("wrong directions")),1),xE,Ie(o,{to:ne(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:ln(()=>[Bs(Ae(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),wE={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);dt().beforeEach(l)}const o=!1;sn(Hr,Ws()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const r=Ks();vu((l,a,f)=>{if(n.hooks.callHook("vue:error",l,a,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),_m(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>$n(l)),!1});const i=!1;return(l,a)=>(Ee(),Ye(Ii,{onResolve:ne(s)},{default:ln(()=>[ne(r)?(Ee(),Ye(ne(EE),{key:0,error:ne(r)},null,8,["error"])):ne(i)?(Ee(),Ye(ne(t),{key:1,context:ne(i)},null,8,["context"])):ne(o)?(Ee(),Ye(_h(ne(o)),{key:2})):(Ee(),Ye(ne(mE),{key:3}))]),_:1},8,["onResolve"]))}},Cc=wE;let bc;{let e;bc=async function(){var i,l;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Kp(Cc):Wp(Cc),o=Jg({vueApp:s});async function r(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Gs(a)}s.config.errorHandler=r;try{await Qg(o,zx)}catch(a){r(a)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(vv),await o.hooks.callHook("app:mounted",s),await an()}catch(a){r(a)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=bc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{vi as A,LE as B,xd as C,Fx as D,Gx as E,Xe as F,Dx as G,dt as H,aa as _,Ws as a,c1 as b,Ee as c,We as d,ot as e,se as f,_d as g,ne as h,nt as i,ul as j,Pe as k,st as l,Ie as m,ln as n,xt as o,Bs as p,TE as q,we as r,bE as s,Ae as t,zs as u,PE as v,SE as w,CE as x,Ye as y,Ns as z};