mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-15 19:22:21 +01:00
71 lines
327 KiB
JavaScript
71 lines
327 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./h915b1FY.js","./DrejAFBV.js","./8K6uCy1V.js","./about.Qgb6cIti.css","./CQYo5bdb.js","./A5OhdjMF.js","./Djz9Xg4k.js","./Cy514VTm.js","./resume.BPaN6Kc6.css"])))=>i.map(i=>d[i]);
|
||
/**
|
||
* @vue/shared v3.4.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function gi(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const Re={},Hn=[],vt=()=>{},Ld=()=>!1,kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mi=e=>e.startsWith("onUpdate:"),je=Object.assign,vi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rd=Object.prototype.hasOwnProperty,ge=(e,t)=>Rd.call(e,t),ie=Array.isArray,Bn=e=>Ar(e)==="[object Map]",Cc=e=>Ar(e)==="[object Set]",kd=e=>Ar(e)==="[object RegExp]",ae=e=>typeof e=="function",Oe=e=>typeof e=="string",cn=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Pc=e=>(Le(e)||ae(e))&&ae(e.then)&&ae(e.catch),Tc=Object.prototype.toString,Ar=e=>Tc.call(e),Ad=e=>Ar(e).slice(8,-1),Lc=e=>Ar(e)==="[object Object]",yi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Un=gi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),As=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Id=/-(\w)/g,Pt=As(e=>e.replace(Id,(t,n)=>n?n.toUpperCase():"")),Od=/\B([A-Z])/g,Rn=As(e=>e.replace(Od,"-$1").toLowerCase()),Is=As(e=>e.charAt(0).toUpperCase()+e.slice(1)),oo=As(e=>e?`on${Is(e)}`:""),an=(e,t)=>!Object.is(e,t),cr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Rc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Nd=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 aa;const Ac=()=>aa||(aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _i(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Oe(s)?$d(s):_i(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Oe(e)||Le(e))return e}const Md=/;(?![^(]*\))/g,Dd=/:([^]+)/,Fd=/\/\*[^]*?\*\//g;function $d(e){const t={};return e.replace(Fd,"").split(Md).forEach(n=>{if(n){const s=n.split(Dd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Os(e){let t="";if(Oe(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const s=Os(e[n]);s&&(t+=s+" ")}else if(Le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Hd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bd=gi(Hd);function Ic(e){return!!e||e===""}const Oc=e=>!!(e&&e.__v_isRef===!0),ke=e=>Oe(e)?e:e==null?"":ie(e)||Le(e)&&(e.toString===Tc||!ae(e.toString))?Oc(e)?ke(e.value):JSON.stringify(e,Nc,2):String(e),Nc=(e,t)=>Oc(t)?Nc(e,t.value):Bn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[io(s,r)+" =>"]=o,n),{})}:Cc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>io(n))}:cn(t)?io(t):Le(t)&&!ie(t)&&!Lc(t)?String(t):t,io=(e,t="")=>{var n;return cn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let ht;class Mc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!t&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ht;try{return ht=this,t()}finally{ht=n}}}on(){ht=this}off(){ht=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 xi(e){return new Mc(e)}function Ud(e,t=ht){t&&t.active&&t.effects.push(e)}function Ns(){return ht}function Co(e){ht&&ht.cleanups.push(e)}let bn;class Ei{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,Ud(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,un();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Vd(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),fn()}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=bn;try{return nn=!0,bn=this,this._runnings++,la(this),this.fn()}finally{ca(this),this._runnings--,bn=n,nn=t}}stop(){this.active&&(la(this),ca(this),this.onStop&&this.onStop(),this.active=!1)}}function Vd(e){return e.value}function la(e){e._trackId++,e._depsLength=0}function ca(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,Po=0;const Fc=[];function un(){Fc.push(nn),nn=!1}function fn(){const e=Fc.pop();nn=e===void 0?!0:e}function wi(){Po++}function Si(){for(Po--;!Po&&To.length;)To.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 To=[];function Hc(e,t,n){wi();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&&To.push(s.scheduler)))}Si()}const Bc=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},us=new WeakMap,Cn=Symbol(""),Lo=Symbol("");function lt(e,t,n){if(nn&&bn){let s=us.get(e);s||us.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Bc(()=>s.delete(n))),$c(bn,o)}}function Vt(e,t,n,s,o,r){const i=us.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ie(e)){const l=Number(s);i.forEach((f,u)=>{(u==="length"||!cn(u)&&u>=l)&&a.push(f)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ie(e)?yi(n)&&a.push(i.get("length")):(a.push(i.get(Cn)),Bn(e)&&a.push(i.get(Lo)));break;case"delete":ie(e)||(a.push(i.get(Cn)),Bn(e)&&a.push(i.get(Lo)));break;case"set":Bn(e)&&a.push(i.get(Cn));break}wi();for(const l of a)l&&Hc(l,4);Si()}function jd(e,t){const n=us.get(e);return n&&n.get(t)}const Wd=gi("__proto__,__v_isRef,__isVue"),Uc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cn)),ua=Kd();function Kd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ve(this);for(let r=0,i=this.length;r<i;r++)lt(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(ve)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){un(),wi();const s=ve(this)[t].apply(this,n);return Si(),fn(),s}}),e}function Gd(e){cn(e)||(e=String(e));const t=ve(this);return lt(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?oh:Gc:r?Kc:Wc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ie(t);if(!o){if(i&&ge(ua,n))return Reflect.get(ua,n,s);if(n==="hasOwnProperty")return Gd}const a=Reflect.get(t,n,s);return(cn(n)?Uc.has(n):Wd(n))||(o||lt(t,"get",n),r)?a:Fe(a)?i&&yi(n)?a:a.value:Le(a)?o?Xc(a):kn(a):a}}class jc extends Vc{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const l=ln(r);if(!Gn(s)&&!ln(s)&&(r=ve(r),s=ve(s)),!ie(t)&&Fe(r)&&!Fe(s))return l?!1:(r.value=s,!0)}const i=ie(t)&&yi(n)?Number(n)<t.length:ge(t,n),a=Reflect.set(t,n,s,o);return t===ve(o)&&(i?an(s,r)&&Vt(t,"set",n,s):Vt(t,"add",n,s)),a}deleteProperty(t,n){const s=ge(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&Vt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!cn(n)||!Uc.has(n))&<(t,"has",n),s}ownKeys(t){return lt(t,"iterate",ie(t)?"length":Cn),Reflect.ownKeys(t)}}class Xd extends Vc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Yd=new jc,Jd=new Xd,qd=new jc(!0);const bi=e=>e,Ms=e=>Reflect.getPrototypeOf(e);function Br(e,t,n=!1,s=!1){e=e.__v_raw;const o=ve(e),r=ve(t);n||(an(t,r)&<(o,"get",t),lt(o,"get",r));const{has:i}=Ms(o),a=s?bi:n?Ti:yr;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Ur(e,t=!1){const n=this.__v_raw,s=ve(n),o=ve(e);return t||(an(e,o)&<(s,"has",e),lt(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Vr(e,t=!1){return e=e.__v_raw,!t&<(ve(e),"iterate",Cn),Reflect.get(e,"size",e)}function fa(e,t=!1){!t&&!Gn(e)&&!ln(e)&&(e=ve(e));const n=ve(this);return Ms(n).has.call(n,e)||(n.add(e),Vt(n,"add",e,e)),this}function da(e,t,n=!1){!n&&!Gn(t)&&!ln(t)&&(t=ve(t));const s=ve(this),{has:o,get:r}=Ms(s);let i=o.call(s,e);i||(e=ve(e),i=o.call(s,e));const a=r.call(s,e);return s.set(e,t),i?an(t,a)&&Vt(s,"set",e,t):Vt(s,"add",e,t),this}function ha(e){const t=ve(this),{has:n,get:s}=Ms(t);let o=n.call(t,e);o||(e=ve(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Vt(t,"delete",e,void 0),r}function pa(){const e=ve(this),t=e.size!==0,n=e.clear();return t&&Vt(e,"clear",void 0,void 0),n}function jr(e,t){return function(s,o){const r=this,i=r.__v_raw,a=ve(i),l=t?bi:e?Ti:yr;return!e&<(a,"iterate",Cn),i.forEach((f,u)=>s.call(o,l(f),l(u),r))}}function Wr(e,t,n){return function(...s){const o=this.__v_raw,r=ve(o),i=Bn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...s),u=n?bi:t?Ti:yr;return!t&<(r,"iterate",l?Lo:Cn),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function Kt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qd(){const e={get(r){return Br(this,r)},get size(){return Vr(this)},has:Ur,add:fa,set:da,delete:ha,clear:pa,forEach:jr(!1,!1)},t={get(r){return Br(this,r,!1,!0)},get size(){return Vr(this)},has:Ur,add(r){return fa.call(this,r,!0)},set(r,i){return da.call(this,r,i,!0)},delete:ha,clear:pa,forEach:jr(!1,!0)},n={get(r){return Br(this,r,!0)},get size(){return Vr(this,!0)},has(r){return Ur.call(this,r,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:jr(!0,!1)},s={get(r){return Br(this,r,!0,!0)},get size(){return Vr(this,!0)},has(r){return Ur.call(this,r,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:jr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Wr(r,!1,!1),n[r]=Wr(r,!0,!1),t[r]=Wr(r,!1,!0),s[r]=Wr(r,!0,!0)}),[e,n,t,s]}const[zd,Zd,eh,th]=Qd();function Ci(e,t){const n=t?e?th:eh:e?Zd:zd;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 nh={get:Ci(!1,!1)},rh={get:Ci(!1,!0)},sh={get:Ci(!0,!1)};const Wc=new WeakMap,Kc=new WeakMap,Gc=new WeakMap,oh=new WeakMap;function ih(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ah(e){return e.__v_skip||!Object.isExtensible(e)?0:ih(Ad(e))}function kn(e){return ln(e)?e:Pi(e,!1,Yd,nh,Wc)}function Bt(e){return Pi(e,!1,qd,rh,Kc)}function Xc(e){return Pi(e,!0,Jd,sh,Gc)}function Pi(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=ah(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function Vn(e){return ln(e)?Vn(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function Gn(e){return!!(e&&e.__v_isShallow)}function Yc(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function lh(e){return Object.isExtensible(e)&&Rc(e,"__v_skip",!0),e}const yr=e=>Le(e)?kn(e):e,Ti=e=>Le(e)?Xc(e):e;class Jc{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 Ei(()=>t(this._value),()=>ur(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=ve(this);return(!t._cacheable||t.effect.dirty)&&an(t._value,t._value=t.effect.run())&&ur(t,4),Li(t),t.effect._dirtyLevel>=2&&ur(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ch(e,t,n=!1){let s,o;const r=ae(e);return r?(s=e,o=vt):(s=e.get,o=e.set),new Jc(s,o,r||!o,n)}function Li(e){var t;nn&&bn&&(e=ve(e),$c(bn,(t=e.dep)!=null?t:e.dep=Bc(()=>e.dep=void 0,e instanceof Jc?e:void 0)))}function ur(e,t=4,n,s){e=ve(e);const o=e.dep;o&&Hc(o,t)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function be(e){return qc(e,!1)}function Xn(e){return qc(e,!0)}function qc(e,t){return Fe(e)?e:new uh(e,t)}class uh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ve(t),this._value=n?t:yr(t)}get value(){return Li(this),this._value}set value(t){const n=this.__v_isShallow||Gn(t)||ln(t);t=n?t:ve(t),an(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:yr(t),ur(this,4))}}function te(e){return Fe(e)?e.value:e}const fh={get:(e,t,n)=>te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Qc(e){return Vn(e)?e:new Proxy(e,fh)}class dh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Li(this),()=>ur(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function hh(e){return new dh(e)}class ph{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 jd(ve(this._object),this._key)}}class gh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zc(e,t,n){return Fe(e)?e:ae(e)?new gh(e):Le(e)&&arguments.length>1?mh(e,t,n):be(e)}function mh(e,t,n){const s=e[t];return Fe(s)?s:new ph(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.35
|
||
* (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){Ir(o,t,n)}}function yt(e,t,n,s){if(ae(e)){const o=rn(e,t,n,s);return o&&Pc(o)&&o.catch(r=>{Ir(r,t,n)}),o}if(ie(e)){const o=[];for(let r=0;r<e.length;r++)o.push(yt(e[r],t,n,s));return o}}function Ir(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=`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,a)===!1)return}r=r.parent}const l=t.appContext.config.errorHandler;if(l){un(),rn(l,null,10,[e,i,a]),fn();return}}vh(e,n,o,s)}function vh(e,t,n,s=!0){console.error(e)}let _r=!1,Ro=!1;const qe=[];let It=0;const jn=[];let qt=null,Sn=0;const Zc=Promise.resolve();let Ri=null;function dn(e){const t=Ri||Zc;return e?t.then(this?e.bind(this):e):t}function yh(e){let t=It+1,n=qe.length;for(;t<n;){const s=t+n>>>1,o=qe[s],r=xr(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function ki(e){(!qe.length||!qe.includes(e,_r&&e.allowRecurse?It+1:It))&&(e.id==null?qe.push(e):qe.splice(yh(e.id),0,e),eu())}function eu(){!_r&&!Ro&&(Ro=!0,Ri=Zc.then(tu))}function _h(e){const t=qe.indexOf(e);t>It&&qe.splice(t,1)}function ko(e){ie(e)?jn.push(...e):(!qt||!qt.includes(e,e.allowRecurse?Sn+1:Sn))&&jn.push(e),eu()}function ga(e,t,n=_r?It+1:0){for(;n<qe.length;n++){const s=qe[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;qe.splice(n,1),n--,s()}}}function fs(e){if(jn.length){const t=[...new Set(jn)].sort((n,s)=>xr(n)-xr(s));if(jn.length=0,qt){qt.push(...t);return}for(qt=t,Sn=0;Sn<qt.length;Sn++){const n=qt[Sn];n.active!==!1&&n()}qt=null,Sn=0}}const xr=e=>e.id==null?1/0:e.id,xh=(e,t)=>{const n=xr(e)-xr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function tu(e){Ro=!1,_r=!0,qe.sort(xh);try{for(It=0;It<qe.length;It++){const t=qe[It];t&&t.active!==!1&&rn(t,t.i,t.i?15:14)}}finally{It=0,qe.length=0,fs(),_r=!1,Ri=null,(qe.length||jn.length)&&tu()}}let $e=null,nu=null;function ds(e){const t=$e;return $e=e,nu=e&&e.type.__scopeId||null,t}function hn(e,t=$e,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ta(-1);const r=ds(t);let i;try{i=e(...o)}finally{ds(r),s._d&&Ta(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function NE(e,t){if($e===null)return e;const n=Us($e),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,a,l=Re]=t[o];r&&(ae(r)&&(r={mounted:r,updated:r}),r.deep&&en(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function At(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let l=a.dir[s];l&&(un(),yt(l,n,8,[e.el,a,e,t]),fn())}}const Qt=Symbol("_leaveCb"),Kr=Symbol("_enterCb");function Eh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Or(()=>{e.isUnmounting=!0}),e}const gt=[Function,Array],ru={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:gt,onEnter:gt,onAfterEnter:gt,onEnterCancelled:gt,onBeforeLeave:gt,onLeave:gt,onAfterLeave:gt,onLeaveCancelled:gt,onBeforeAppear:gt,onAppear:gt,onAfterAppear:gt,onAppearCancelled:gt},su=e=>{const t=e.subTree;return t.component?su(t.component):t},wh={name:"BaseTransition",props:ru,setup(e,{slots:t}){const n=An(),s=Eh();return()=>{const o=t.default&&iu(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const d of o)if(d.type!==Ke){r=d;break}}const i=ve(e),{mode:a}=i;if(s.isLeaving)return ao(r);const l=ma(r);if(!l)return ao(r);let f=Ao(l,i,s,n,d=>f=d);Er(l,f);const u=n.subTree,h=u&&ma(u);if(h&&h.type!==Ke&&!Ct(l,h)&&su(n).type!==Ke){const d=Ao(h,i,s,n);if(Er(h,d),a==="out-in"&&l.type!==Ke)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ao(r);a==="in-out"&&l.type!==Ke&&(d.delayLeave=(c,g,p)=>{const v=ou(s,h);v[String(h.key)]=h,c[Qt]=()=>{g(),c[Qt]=void 0,delete f.delayedLeave},f.delayedLeave=p})}return r}}},Sh=wh;function ou(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,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:c,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:v,onAppear:E,onAfterAppear:S,onAppearCancelled:y}=t,_=String(e.key),m=ou(n,e),x=(C,P)=>{C&&yt(C,s,9,P)},w=(C,P)=>{const A=P[1];x(C,P),ie(C)?C.every(T=>T.length<=1)&&A():C.length<=1&&A()},b={mode:i,persisted:a,beforeEnter(C){let P=l;if(!n.isMounted)if(r)P=v||l;else return;C[Qt]&&C[Qt](!0);const A=m[_];A&&Ct(e,A)&&A.el[Qt]&&A.el[Qt](),x(P,[C])},enter(C){let P=f,A=u,T=h;if(!n.isMounted)if(r)P=E||f,A=S||u,T=y||h;else return;let N=!1;const j=C[Kr]=H=>{N||(N=!0,H?x(T,[C]):x(A,[C]),b.delayedLeave&&b.delayedLeave(),C[Kr]=void 0)};P?w(P,[C,j]):j()},leave(C,P){const A=String(e.key);if(C[Kr]&&C[Kr](!0),n.isUnmounting)return P();x(d,[C]);let T=!1;const N=C[Qt]=j=>{T||(T=!0,P(),j?x(p,[C]):x(g,[C]),C[Qt]=void 0,m[A]===e&&delete m[A])};m[A]=e,c?w(c,[C,N]):N()},clone(C){const P=Ao(C,t,n,s,o);return o&&o(P),P}};return b}function ao(e){if(Ds(e))return e=jt(e),e.children=null,e}function ma(e){if(!Ds(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function Er(e,t){e.shapeFlag&6&&e.component?Er(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 iu(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===We?(i.patchFlag&128&&o++,s=s.concat(iu(i.children,t,a))):(t||i.type!==Ke)&&s.push(a!=null?jt(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Ge(e,t){return ae(e)?je({name:e.name},t,{setup:e}):e}const Pn=e=>!!e.type.__asyncLoader,Ds=e=>e.type.__isKeepAlive,bh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=An(),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 a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:h}}}=s,d=h("div");s.activate=(S,y,_,m,x)=>{const w=S.component;f(S,y,_,0,a),l(w.vnode,S,y,_,w,a,m,S.slotScopeIds,x),He(()=>{w.isDeactivated=!1,w.a&&cr(w.a);const b=S.props&&S.props.onVnodeMounted;b&&rt(b,w.parent,S)},a)},s.deactivate=S=>{const y=S.component;gs(y.m),gs(y.a),f(S,d,null,1,a),He(()=>{y.da&&cr(y.da);const _=S.props&&S.props.onVnodeUnmounted;_&&rt(_,y.parent,S),y.isDeactivated=!0},a)};function c(S){lo(S),u(S,n,a,!0)}function g(S){o.forEach((y,_)=>{const m=Bo(y.type);m&&(!S||!S(m))&&p(_)})}function p(S){const y=o.get(S);!i||!Ct(y,i)?c(y):i&&lo(i),o.delete(S),r.delete(S)}at(()=>[e.include,e.exclude],([S,y])=>{S&&g(_=>ar(S,_)),y&&g(_=>!ar(y,_))},{flush:"post",deep:!0});let v=null;const E=()=>{v!=null&&(Do(n.subTree.type)?He(()=>{o.set(v,Gr(n.subTree))},n.subTree.suspense):o.set(v,Gr(n.subTree)))};return xt(E),uu(E),Or(()=>{o.forEach(S=>{const{subTree:y,suspense:_}=n,m=Gr(y);if(S.type===m.type&&S.key===m.key){lo(m);const x=m.component.da;x&&He(x,_);return}c(S)})}),()=>{if(v=null,!t.default)return null;const S=t.default(),y=S[0];if(S.length>1)return i=null,S;if(!Jn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=Gr(y);const m=_.type,x=Bo(Pn(_)?_.type.__asyncResolved||{}:m),{include:w,exclude:b,max:C}=e;if(w&&(!x||!ar(w,x))||b&&x&&ar(b,x))return i=_,y;const P=_.key==null?m:_.key,A=o.get(P);return _.el&&(_=jt(_),y.shapeFlag&128&&(y.ssContent=_)),v=P,A?(_.el=A.el,_.component=A.component,_.transition&&Er(_,_.transition),_.shapeFlag|=512,r.delete(P),r.add(P)):(r.add(P),C&&r.size>parseInt(C,10)&&p(r.values().next().value)),_.shapeFlag|=256,i=_,Do(y.type)?y:_}}},Ch=bh;function ar(e,t){return ie(e)?e.some(n=>ar(n,t)):Oe(e)?e.split(",").includes(t):kd(e)?e.test(t):!1}function au(e,t){cu(e,"a",t)}function lu(e,t){cu(e,"da",t)}function cu(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(Fs(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Ds(o.parent.vnode)&&Ph(s,t,n,o),o=o.parent}}function Ph(e,t,n,s){const o=Fs(t,e,s,!0);Ai(()=>{vi(s[t],o)},n)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Gr(e){return e.shapeFlag&128?e.ssContent:e}function Fs(e,t,n=Be,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{un();const a=Nr(n),l=yt(t,n,e,i);return a(),fn(),l});return s?o.unshift(r):o.push(r),r}}const Wt=e=>(t,n=Be)=>{(!Bs||e==="sp")&&Fs(e,(...s)=>t(...s),n)},Th=Wt("bm"),xt=Wt("m"),Lh=Wt("bu"),uu=Wt("u"),Or=Wt("bum"),Ai=Wt("um"),Rh=Wt("sp"),kh=Wt("rtg"),Ah=Wt("rtc");function fu(e,t=Be){Fs("ec",e,t)}const du="components";function va(e,t){return pu(du,e,!0,t)||e}const hu=Symbol.for("v-ndc");function Ih(e){return Oe(e)?pu(du,e,!1)||e:e||hu}function pu(e,t,n=!0,s=!1){const o=$e||Be;if(o){const r=o.type;{const a=Bo(r,!1);if(a&&(a===t||a===Pt(t)||a===Is(Pt(t))))return r}const i=ya(o[e]||r[e],t)||ya(o.appContext[e],t);return!i&&s?r:i}}function ya(e,t){return e&&(e[t]||e[Pt(t)]||e[Is(Pt(t))])}function ME(e,t,n,s){let o;const r=n;if(ie(e)||Oe(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,r)}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)}else if(Le(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,r));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const f=i[a];o[a]=t(e[f],f,a,r)}}else o=[];return o}function DE(e,t,n={},s,o){if($e.isCE||$e.parent&&Pn($e.parent)&&$e.parent.isCE)return Ie("slot",n,s);let r=e[t];r&&r._c&&(r._d=!1),we();const i=r&&gu(r(n)),a=Je(We,{key:(n.key||i&&i.key||`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function gu(e){return e.some(t=>Jn(t)?!(t.type===Ke||t.type===We&&!gu(t.children)):!0)?e:null}const Io=e=>e?Bu(e)?Us(e):Io(e.parent):null,fr=je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Io(e.parent),$root:e=>Io(e.root),$emit:e=>e.emit,$options:e=>Ii(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ki(e.update)}),$nextTick:e=>e.n||(e.n=dn.bind(e.proxy)),$watch:e=>sp.bind(e)}),co=(e,t)=>e!==Re&&!e.__isScriptSetup&&ge(e,t),Oh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=e;let f;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(co(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=fr[t];let h,d;if(u)return t==="$attrs"&<(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Re&&ge(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,ge(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return co(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 a;return!!n[i]||e!==Re&&ge(e,i)||co(t,i)||(a=r[0])&&ge(a,i)||ge(s,i)||ge(fr,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 _a(e){return ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Oo=!0;function Nh(e){const t=Ii(e),n=e.proxy,s=e.ctx;Oo=!1,t.beforeCreate&&xa(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:g,activated:p,deactivated:v,beforeDestroy:E,beforeUnmount:S,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:w,errorCaptured:b,serverPrefetch:C,expose:P,inheritAttrs:A,components:T,directives:N,filters:j}=t;if(f&&Mh(f,s,null),i)for(const W in i){const X=i[W];ae(X)&&(s[W]=X.bind(n))}if(o){const W=o.call(n,n);Le(W)&&(e.data=kn(W))}if(Oo=!0,r)for(const W in r){const X=r[W],le=ae(X)?X.bind(n,n):ae(X.get)?X.get.bind(n,n):vt,ue=!ae(X)&&ae(X.set)?X.set.bind(n):vt,ce=me({get:le,set:ue});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ne=>ce.value=ne})}if(a)for(const W in a)mu(a[W],s,n,W);if(l){const W=ae(l)?l.call(n):l;Reflect.ownKeys(W).forEach(X=>{sn(X,W[X])})}u&&xa(u,e,"c");function V(W,X){ie(X)?X.forEach(le=>W(le.bind(n))):X&&W(X.bind(n))}if(V(Th,h),V(xt,d),V(Lh,c),V(uu,g),V(au,p),V(lu,v),V(fu,b),V(Ah,x),V(kh,w),V(Or,S),V(Ai,_),V(Rh,C),ie(P))if(P.length){const W=e.exposed||(e.exposed={});P.forEach(X=>{Object.defineProperty(W,X,{get:()=>n[X],set:le=>n[X]=le})})}else e.exposed||(e.exposed={});m&&e.render===vt&&(e.render=m),A!=null&&(e.inheritAttrs=A),T&&(e.components=T),N&&(e.directives=N)}function Mh(e,t,n=vt){ie(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),Fe(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function xa(e,t,n){yt(ie(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function mu(e,t,n,s){const o=s.includes(".")?Iu(n,s):()=>n[s];if(Oe(e)){const r=t[e];ae(r)&&at(o,r)}else if(ae(e))at(o,e.bind(n));else if(Le(e))if(ie(e))e.forEach(r=>mu(r,t,n,s));else{const r=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(r)&&at(o,r,e)}}function Ii(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(f=>hs(l,f,i,!0)),hs(l,t,i)),Le(t)&&r.set(t,l),l}function hs(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&hs(e,r,n,!0),o&&o.forEach(i=>hs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Dh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Dh={data:Ea,props:wa,emits:wa,methods:lr,computed:lr,beforeCreate:Ze,created:Ze,beforeMount:Ze,mounted:Ze,beforeUpdate:Ze,updated:Ze,beforeDestroy:Ze,beforeUnmount:Ze,destroyed:Ze,unmounted:Ze,activated:Ze,deactivated:Ze,errorCaptured:Ze,serverPrefetch:Ze,components:lr,directives:lr,watch:$h,provide:Ea,inject:Fh};function Ea(e,t){return t?e?function(){return je(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Fh(e,t){return lr(No(e),No(t))}function No(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ze(e,t){return e?[...new Set([].concat(e,t))]:t}function lr(e,t){return e?je(Object.create(null),e,t):t}function wa(e,t){return e?ie(e)&&ie(t)?[...new Set([...e,...t])]:je(Object.create(null),_a(e),_a(t??{})):t}function $h(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const s in t)n[s]=Ze(e[s],t[s]);return n}function vu(){return{app:null,config:{isNativeTag:Ld,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 Hh=0;function Bh(e,t){return function(s,o=null){ae(s)||(s=je({},s)),o!=null&&!Le(o)&&(o=null);const r=vu(),i=new WeakSet;let a=!1;const l=r.app={_uid:Hh++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Vu,get config(){return r.config},set config(f){},use(f,...u){return i.has(f)||(f&&ae(f.install)?(i.add(f),f.install(l,...u)):ae(f)&&(i.add(f),f(l,...u))),l},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),l},component(f,u){return u?(r.components[f]=u,l):r.components[f]},directive(f,u){return u?(r.directives[f]=u,l):r.directives[f]},mount(f,u,h){if(!a){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),a=!0,l._container=f,f.__vue_app__=l,Us(d.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,u){return r.provides[f]=u,l},runWithContext(f){const u=Wn;Wn=l;try{return f()}finally{Wn=u}}};return l}}let Wn=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||$e;if(s||Wn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Wn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ae(t)?t.call(s&&s.proxy):t}}function yu(){return!!(Be||$e||Wn)}const _u={},xu=()=>Object.create(_u),Eu=e=>Object.getPrototypeOf(e)===_u;function Uh(e,t,n,s=!1){const o={},r=xu();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:Bt(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Vh(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ve(o),[l]=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($s(e.emitsOptions,d))continue;const c=t[d];if(l)if(ge(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const g=Pt(d);o[g]=Mo(l,a,g,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 a)(!t||!ge(t,h)&&((u=Rn(h))===h||!ge(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=Mo(l,a,h,void 0,e,!0)):delete o[h]);if(r!==a)for(const h in r)(!t||!ge(t,h))&&(delete r[h],f=!0)}f&&Vt(e.attrs,"set","")}function wu(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Un(l))continue;const f=t[l];let u;o&&ge(o,u=Pt(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:$s(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,i=!0)}if(r){const l=ve(n),f=a||Re;for(let u=0;u<r.length;u++){const h=r[u];n[h]=Mo(o,l,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 a=ge(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ae(l)){const{propsDefaults:f}=o;if(n in f)s=f[n];else{const u=Nr(o);s=f[n]=l.call(null,t),u()}}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Rn(n))&&(s=!0))}return s}const jh=new WeakMap;function Su(e,t,n=!1){const s=n?jh:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!ae(e)){const u=h=>{l=!0;const[d,c]=Su(h,t,!0);je(i,d),c&&a.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Le(e)&&s.set(e,Hn),Hn;if(ie(r))for(let u=0;u<r.length;u++){const h=Pt(r[u]);Sa(h)&&(i[h]=Re)}else if(r)for(const u in r){const h=Pt(u);if(Sa(h)){const d=r[u],c=i[h]=ie(d)||ae(d)?{type:d}:je({},d),g=c.type;let p=!1,v=!0;if(ie(g))for(let E=0;E<g.length;++E){const S=g[E],y=ae(S)&&S.name;if(y==="Boolean"){p=!0;break}else y==="String"&&(v=!1)}else p=ae(g)&&g.name==="Boolean";c[0]=p,c[1]=v,(p||ge(c,"default"))&&a.push(h)}}const f=[i,a];return Le(e)&&s.set(e,f),f}function Sa(e){return e[0]!=="$"&&!Un(e)}const bu=e=>e[0]==="_"||e==="$stable",Oi=e=>ie(e)?e.map(pt):[pt(e)],Wh=(e,t,n)=>{if(t._n)return t;const s=hn((...o)=>Oi(t(...o)),n);return s._c=!1,s},Cu=(e,t,n)=>{const s=e._ctx;for(const o in e){if(bu(o))continue;const r=e[o];if(ae(r))t[o]=Wh(o,r,s);else if(r!=null){const i=Oi(r);t[o]=()=>i}}},Pu=(e,t)=>{const n=Oi(t);e.slots.default=()=>n},Tu=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Kh=(e,t,n)=>{const s=e.slots=xu();if(e.vnode.shapeFlag&32){const o=t._;o?(Tu(s,t,n),n&&Rc(s,"_",o,!0)):Cu(t,s)}else t&&Pu(e,t)},Gh=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Re;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:Tu(o,t,n):(r=!t.$stable,Cu(t,o)),i=t}else t&&(Pu(e,t),i={default:1});if(r)for(const a in o)!bu(a)&&i[a]==null&&delete o[a]};function ps(e,t,n,s,o=!1){if(ie(e)){e.forEach((d,c)=>ps(d,t&&(ie(t)?t[c]:t),n,s,o));return}if(Pn(s)&&!o)return;const r=s.shapeFlag&4?Us(s.component):s.el,i=o?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Re?a.refs={}:a.refs,h=a.setupState;if(f!=null&&f!==l&&(Oe(f)?(u[f]=null,ge(h,f)&&(h[f]=null)):Fe(f)&&(f.value=null)),ae(l))rn(l,a,12,[i,u]);else{const d=Oe(l),c=Fe(l);if(d||c){const g=()=>{if(e.f){const p=d?ge(h,l)?h[l]:u[l]:l.value;o?ie(p)&&vi(p,r):ie(p)?p.includes(r)||p.push(r):d?(u[l]=[r],ge(h,l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,ge(h,l)&&(h[l]=i)):c&&(l.value=i,e.k&&(u[e.k]=i))};i?(g.id=-1,He(g,n)):g()}}}const Xh=Symbol("_vte"),Yh=e=>e.__isTeleport;let ba=!1;const Nn=()=>{ba||(console.error("Hydration completed but contains mismatches."),ba=!0)},Jh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",qh=e=>e.namespaceURI.includes("MathML"),Xr=e=>{if(Jh(e))return"svg";if(qh(e))return"mathml"},Yr=e=>e.nodeType===8;function Qh(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),fs(),_._vnode=y;return}h(_.firstChild,y,null,null,null),fs(),_._vnode=y},h=(y,_,m,x,w,b=!1)=>{b=b||!!_.dynamicChildren;const C=Yr(y)&&y.data==="[",P=()=>p(y,_,m,x,w,C),{type:A,ref:T,shapeFlag:N,patchFlag:j}=_;let H=y.nodeType;_.el=y,j===-2&&(b=!1,_.dynamicChildren=null);let V=null;switch(A){case on:H!==3?_.children===""?(l(_.el=o(""),i(y),y),V=y):V=P():(y.data!==_.children&&(Nn(),y.data=_.children),V=r(y));break;case Ke:S(y)?(V=r(y),E(_.el=y.content.firstChild,y,m)):H!==8||C?V=P():V=r(y);break;case rs:if(C&&(y=r(y),H=y.nodeType),H===1||H===3){V=y;const W=!_.children.length;for(let X=0;X<_.staticCount;X++)W&&(_.children+=V.nodeType===1?V.outerHTML:V.data),X===_.staticCount-1&&(_.anchor=V),V=r(V);return C?r(V):V}else P();break;case We:C?V=g(y,_,m,x,w,b):V=P();break;default:if(N&1)(H!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!S(y)?V=P():V=d(y,_,m,x,w,b);else if(N&6){_.slotScopeIds=w;const W=i(y);if(C?V=v(y):Yr(y)&&y.data==="teleport start"?V=v(y,y.data,"teleport end"):V=r(y),t(_,W,null,m,x,Xr(W),b),Pn(_)){let X;C?(X=Ie(We),X.anchor=V?V.previousSibling:W.lastChild):X=y.nodeType===3?Hs(""):Ie("div"),X.el=y,_.component.subTree=X}}else N&64?H!==8?V=P():V=_.type.hydrate(y,_,m,x,w,b,e,c):N&128&&(V=_.type.hydrate(y,_,m,x,Xr(i(y)),w,b,e,h))}return T!=null&&ps(T,null,x,_),V},d=(y,_,m,x,w,b)=>{b=b||!!_.dynamicChildren;const{type:C,props:P,patchFlag:A,shapeFlag:T,dirs:N,transition:j}=_,H=C==="input"||C==="option";if(H||A!==-1){N&&At(_,null,m,"created");let V=!1;if(S(y)){V=Ru(x,j)&&m&&m.vnode.props&&m.vnode.props.appear;const X=y.content.firstChild;V&&j.beforeEnter(X),E(X,y,m),_.el=y=X}if(T&16&&!(P&&(P.innerHTML||P.textContent))){let X=c(y.firstChild,_,y,m,x,w,b);for(;X;){Nn();const le=X;X=X.nextSibling,a(le)}}else T&8&&y.textContent!==_.children&&(Nn(),y.textContent=_.children);if(P){if(H||!b||A&48)for(const X in P)(H&&(X.endsWith("value")||X==="indeterminate")||kr(X)&&!Un(X)||X[0]===".")&&s(y,X,null,P[X],void 0,m);else if(P.onClick)s(y,"onClick",null,P.onClick,void 0,m);else if(A&4&&Vn(P.style))for(const X in P.style)P.style[X]}let W;(W=P&&P.onVnodeBeforeMount)&&rt(W,m,_),N&&At(_,null,m,"beforeMount"),((W=P&&P.onVnodeMounted)||N||V)&&Mu(()=>{W&&rt(W,m,_),V&&j.enter(y),N&&At(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,w,b,C)=>{C=C||!!_.dynamicChildren;const P=_.children,A=P.length;for(let T=0;T<A;T++){const N=C?P[T]:P[T]=pt(P[T]),j=N.type===on;if(y){if(j&&!C){let H=P[T+1];H&&(H=pt(H)).type===on&&(l(o(y.data.slice(N.children.length)),m,r(y)),y.data=N.children)}y=h(y,N,x,w,b,C)}else j&&!N.children?l(N.el=o(""),m):(Nn(),n(null,N,m,null,x,w,Xr(m),b))}return y},g=(y,_,m,x,w,b)=>{const{slotScopeIds:C}=_;C&&(w=w?w.concat(C):C);const P=i(y),A=c(r(y),_,P,m,x,w,b);return A&&Yr(A)&&A.data==="]"?r(_.anchor=A):(Nn(),l(_.anchor=f("]"),P,A),A)},p=(y,_,m,x,w,b)=>{if(Nn(),_.el=null,b){const A=v(y);for(;;){const T=r(y);if(T&&T!==A)a(T);else break}}const C=r(y),P=i(y);return a(y),n(null,_,P,C,m,x,Xr(P),w),C},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&Yr(y)&&(y.data===_&&x++,y.data===m)){if(x===0)return r(y);x--}return y},E=(y,_,m)=>{const x=_.parentNode;x&&x.replaceChild(y,_);let w=m;for(;w;)w.vnode.el===_&&(w.vnode.el=w.subTree.el=y),w=w.parent},S=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,h]}const He=Mu;function zh(e){return Lu(e)}function Zh(e){return Lu(e,Qh)}function Lu(e,t){const n=Ac();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=vt,insertStaticContent:g}=e,p=(k,I,D,K=null,$=null,Y=null,Q=void 0,L=null,R=!!I.dynamicChildren)=>{if(k===I)return;k&&!Ct(k,I)&&(K=B(k),ne(k,$,Y,!0),k=null),I.patchFlag===-2&&(R=!1,I.dynamicChildren=null);const{type:O,ref:U,shapeFlag:q}=I;switch(O){case on:v(k,I,D,K);break;case Ke:E(k,I,D,K);break;case rs:k==null&&S(I,D,K,Q);break;case We:T(k,I,D,K,$,Y,Q,L,R);break;default:q&1?m(k,I,D,K,$,Y,Q,L,R):q&6?N(k,I,D,K,$,Y,Q,L,R):(q&64||q&128)&&O.process(k,I,D,K,$,Y,Q,L,R,ee)}U!=null&&$&&ps(U,k&&k.ref,Y,I||k,!I)},v=(k,I,D,K)=>{if(k==null)s(I.el=a(I.children),D,K);else{const $=I.el=k.el;I.children!==k.children&&f($,I.children)}},E=(k,I,D,K)=>{k==null?s(I.el=l(I.children||""),D,K):I.el=k.el},S=(k,I,D,K)=>{[k.el,k.anchor]=g(k.children,I,D,K,k.el,k.anchor)},y=({el:k,anchor:I},D,K)=>{let $;for(;k&&k!==I;)$=d(k),s(k,D,K),k=$;s(I,D,K)},_=({el:k,anchor:I})=>{let D;for(;k&&k!==I;)D=d(k),o(k),k=D;o(I)},m=(k,I,D,K,$,Y,Q,L,R)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),k==null?x(I,D,K,$,Y,Q,L,R):C(k,I,$,Y,Q,L,R)},x=(k,I,D,K,$,Y,Q,L)=>{let R,O;const{props:U,shapeFlag:q,transition:G,dirs:M}=k;if(R=k.el=i(k.type,Y,U&&U.is,U),q&8?u(R,k.children):q&16&&b(k.children,R,null,K,$,uo(k,Y),Q,L),M&&At(k,null,K,"created"),w(R,k,k.scopeId,Q,K),U){for(const re in U)re!=="value"&&!Un(re)&&r(R,re,null,U[re],Y,K);"value"in U&&r(R,"value",null,U.value,Y),(O=U.onVnodeBeforeMount)&&rt(O,K,k)}M&&At(k,null,K,"beforeMount");const F=Ru($,G);F&&G.beforeEnter(R),s(R,I,D),((O=U&&U.onVnodeMounted)||F||M)&&He(()=>{O&&rt(O,K,k),F&&G.enter(R),M&&At(k,null,K,"mounted")},$)},w=(k,I,D,K,$)=>{if(D&&c(k,D),K)for(let Y=0;Y<K.length;Y++)c(k,K[Y]);if($){let Y=$.subTree;if(I===Y){const Q=$.vnode;w(k,Q,Q.scopeId,Q.slotScopeIds,$.parent)}}},b=(k,I,D,K,$,Y,Q,L,R=0)=>{for(let O=R;O<k.length;O++){const U=k[O]=L?zt(k[O]):pt(k[O]);p(null,U,I,D,K,$,Y,Q,L)}},C=(k,I,D,K,$,Y,Q)=>{const L=I.el=k.el;let{patchFlag:R,dynamicChildren:O,dirs:U}=I;R|=k.patchFlag&16;const q=k.props||Re,G=I.props||Re;let M;if(D&&vn(D,!1),(M=G.onVnodeBeforeUpdate)&&rt(M,D,I,k),U&&At(I,k,D,"beforeUpdate"),D&&vn(D,!0),(q.innerHTML&&G.innerHTML==null||q.textContent&&G.textContent==null)&&u(L,""),O?P(k.dynamicChildren,O,L,D,K,uo(I,$),Y):Q||X(k,I,L,null,D,K,uo(I,$),Y,!1),R>0){if(R&16)A(L,q,G,D,$);else if(R&2&&q.class!==G.class&&r(L,"class",null,G.class,$),R&4&&r(L,"style",q.style,G.style,$),R&8){const F=I.dynamicProps;for(let re=0;re<F.length;re++){const se=F[re],Te=q[se],Xe=G[se];(Xe!==Te||se==="value")&&r(L,se,Te,Xe,$,D)}}R&1&&k.children!==I.children&&u(L,I.children)}else!Q&&O==null&&A(L,q,G,D,$);((M=G.onVnodeUpdated)||U)&&He(()=>{M&&rt(M,D,I,k),U&&At(I,k,D,"updated")},K)},P=(k,I,D,K,$,Y,Q)=>{for(let L=0;L<I.length;L++){const R=k[L],O=I[L],U=R.el&&(R.type===We||!Ct(R,O)||R.shapeFlag&70)?h(R.el):D;p(R,O,U,null,K,$,Y,Q,!0)}},A=(k,I,D,K,$)=>{if(I!==D){if(I!==Re)for(const Y in I)!Un(Y)&&!(Y in D)&&r(k,Y,I[Y],null,$,K);for(const Y in D){if(Un(Y))continue;const Q=D[Y],L=I[Y];Q!==L&&Y!=="value"&&r(k,Y,L,Q,$,K)}"value"in D&&r(k,"value",I.value,D.value,$)}},T=(k,I,D,K,$,Y,Q,L,R)=>{const O=I.el=k?k.el:a(""),U=I.anchor=k?k.anchor:a("");let{patchFlag:q,dynamicChildren:G,slotScopeIds:M}=I;M&&(L=L?L.concat(M):M),k==null?(s(O,D,K),s(U,D,K),b(I.children||[],D,U,$,Y,Q,L,R)):q>0&&q&64&&G&&k.dynamicChildren?(P(k.dynamicChildren,G,D,$,Y,Q,L),(I.key!=null||$&&I===$.subTree)&&ku(k,I,!0)):X(k,I,D,U,$,Y,Q,L,R)},N=(k,I,D,K,$,Y,Q,L,R)=>{I.slotScopeIds=L,k==null?I.shapeFlag&512?$.ctx.activate(I,D,K,Q,R):j(I,D,K,$,Y,Q,R):H(k,I,R)},j=(k,I,D,K,$,Y,Q)=>{const L=k.component=Ep(k,K,$);if(Ds(k)&&(L.ctx.renderer=ee),wp(L,!1,Q),L.asyncDep){if($&&$.registerDep(L,V,Q),!k.el){const R=L.subTree=Ie(Ke);E(null,R,I,D)}}else V(L,k,I,D,$,Y,Q)},H=(k,I,D)=>{const K=I.component=k.component;if(up(k,I,D))if(K.asyncDep&&!K.asyncResolved){W(K,I,D);return}else K.next=I,_h(K.update),K.effect.dirty=!0,K.update();else I.el=k.el,K.vnode=I},V=(k,I,D,K,$,Y,Q)=>{const L=()=>{if(k.isMounted){let{next:U,bu:q,u:G,parent:M,vnode:F}=k;{const ut=Au(k);if(ut){U&&(U.el=F.el,W(k,U,Q)),ut.asyncDep.then(()=>{k.isUnmounted||L()});return}}let re=U,se;vn(k,!1),U?(U.el=F.el,W(k,U,Q)):U=F,q&&cr(q),(se=U.props&&U.props.onVnodeBeforeUpdate)&&rt(se,M,U,F),vn(k,!0);const Te=fo(k),Xe=k.subTree;k.subTree=Te,p(Xe,Te,h(Xe.el),B(Xe),k,$,Y),U.el=Te.el,re===null&&Mi(k,Te.el),G&&He(G,$),(se=U.props&&U.props.onVnodeUpdated)&&He(()=>rt(se,M,U,F),$)}else{let U;const{el:q,props:G}=I,{bm:M,m:F,parent:re}=k,se=Pn(I);if(vn(k,!1),M&&cr(M),!se&&(U=G&&G.onVnodeBeforeMount)&&rt(U,re,I),vn(k,!0),q&&xe){const Te=()=>{k.subTree=fo(k),xe(q,k.subTree,k,$,null)};se?I.type.__asyncLoader().then(()=>!k.isUnmounted&&Te()):Te()}else{const Te=k.subTree=fo(k);p(null,Te,D,K,k,$,Y),I.el=Te.el}if(F&&He(F,$),!se&&(U=G&&G.onVnodeMounted)){const Te=I;He(()=>rt(U,re,Te),$)}(I.shapeFlag&256||re&&Pn(re.vnode)&&re.vnode.shapeFlag&256)&&k.a&&He(k.a,$),k.isMounted=!0,I=D=K=null}},R=k.effect=new Ei(L,vt,()=>ki(O),k.scope),O=k.update=()=>{R.dirty&&R.run()};O.i=k,O.id=k.uid,vn(k,!0),O()},W=(k,I,D)=>{I.component=k;const K=k.vnode.props;k.vnode=I,k.next=null,Vh(k,I.props,K,D),Gh(k,I.children,D),un(),ga(k),fn()},X=(k,I,D,K,$,Y,Q,L,R=!1)=>{const O=k&&k.children,U=k?k.shapeFlag:0,q=I.children,{patchFlag:G,shapeFlag:M}=I;if(G>0){if(G&128){ue(O,q,D,K,$,Y,Q,L,R);return}else if(G&256){le(O,q,D,K,$,Y,Q,L,R);return}}M&8?(U&16&&fe(O,$,Y),q!==O&&u(D,q)):U&16?M&16?ue(O,q,D,K,$,Y,Q,L,R):fe(O,$,Y,!0):(U&8&&u(D,""),M&16&&b(q,D,K,$,Y,Q,L,R))},le=(k,I,D,K,$,Y,Q,L,R)=>{k=k||Hn,I=I||Hn;const O=k.length,U=I.length,q=Math.min(O,U);let G;for(G=0;G<q;G++){const M=I[G]=R?zt(I[G]):pt(I[G]);p(k[G],M,D,null,$,Y,Q,L,R)}O>U?fe(k,$,Y,!0,!1,q):b(I,D,K,$,Y,Q,L,R,q)},ue=(k,I,D,K,$,Y,Q,L,R)=>{let O=0;const U=I.length;let q=k.length-1,G=U-1;for(;O<=q&&O<=G;){const M=k[O],F=I[O]=R?zt(I[O]):pt(I[O]);if(Ct(M,F))p(M,F,D,null,$,Y,Q,L,R);else break;O++}for(;O<=q&&O<=G;){const M=k[q],F=I[G]=R?zt(I[G]):pt(I[G]);if(Ct(M,F))p(M,F,D,null,$,Y,Q,L,R);else break;q--,G--}if(O>q){if(O<=G){const M=G+1,F=M<U?I[M].el:K;for(;O<=G;)p(null,I[O]=R?zt(I[O]):pt(I[O]),D,F,$,Y,Q,L,R),O++}}else if(O>G)for(;O<=q;)ne(k[O],$,Y,!0),O++;else{const M=O,F=O,re=new Map;for(O=F;O<=G;O++){const ft=I[O]=R?zt(I[O]):pt(I[O]);ft.key!=null&&re.set(ft.key,O)}let se,Te=0;const Xe=G-F+1;let ut=!1,Hr=0;const On=new Array(Xe);for(O=0;O<Xe;O++)On[O]=0;for(O=M;O<=q;O++){const ft=k[O];if(Te>=Xe){ne(ft,$,Y,!0);continue}let kt;if(ft.key!=null)kt=re.get(ft.key);else for(se=F;se<=G;se++)if(On[se-F]===0&&Ct(ft,I[se])){kt=se;break}kt===void 0?ne(ft,$,Y,!0):(On[kt-F]=O+1,kt>=Hr?Hr=kt:ut=!0,p(ft,I[kt],D,null,$,Y,Q,L,R),Te++)}const oa=ut?ep(On):Hn;for(se=oa.length-1,O=Xe-1;O>=0;O--){const ft=F+O,kt=I[ft],ia=ft+1<U?I[ft+1].el:K;On[O]===0?p(null,kt,D,ia,$,Y,Q,L,R):ut&&(se<0||O!==oa[se]?ce(kt,D,ia,2):se--)}}},ce=(k,I,D,K,$=null)=>{const{el:Y,type:Q,transition:L,children:R,shapeFlag:O}=k;if(O&6){ce(k.component.subTree,I,D,K);return}if(O&128){k.suspense.move(I,D,K);return}if(O&64){Q.move(k,I,D,ee);return}if(Q===We){s(Y,I,D);for(let q=0;q<R.length;q++)ce(R[q],I,D,K);s(k.anchor,I,D);return}if(Q===rs){y(k,I,D);return}if(K!==2&&O&1&&L)if(K===0)L.beforeEnter(Y),s(Y,I,D),He(()=>L.enter(Y),$);else{const{leave:q,delayLeave:G,afterLeave:M}=L,F=()=>s(Y,I,D),re=()=>{q(Y,()=>{F(),M&&M()})};G?G(Y,F,re):re()}else s(Y,I,D)},ne=(k,I,D,K=!1,$=!1)=>{const{type:Y,props:Q,ref:L,children:R,dynamicChildren:O,shapeFlag:U,patchFlag:q,dirs:G,cacheIndex:M}=k;if(q===-2&&($=!1),L!=null&&ps(L,null,D,k,!0),M!=null&&(I.renderCache[M]=void 0),U&256){I.ctx.deactivate(k);return}const F=U&1&&G,re=!Pn(k);let se;if(re&&(se=Q&&Q.onVnodeBeforeUnmount)&&rt(se,I,k),U&6)De(k.component,D,K);else{if(U&128){k.suspense.unmount(D,K);return}F&&At(k,null,I,"beforeUnmount"),U&64?k.type.remove(k,I,D,ee,K):O&&!O.hasOnce&&(Y!==We||q>0&&q&64)?fe(O,I,D,!1,!0):(Y===We&&q&384||!$&&U&16)&&fe(R,I,D),K&&Ce(k)}(re&&(se=Q&&Q.onVnodeUnmounted)||F)&&He(()=>{se&&rt(se,I,k),F&&At(k,null,I,"unmounted")},D)},Ce=k=>{const{type:I,el:D,anchor:K,transition:$}=k;if(I===We){_e(D,K);return}if(I===rs){_(k);return}const Y=()=>{o(D),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(k.shapeFlag&1&&$&&!$.persisted){const{leave:Q,delayLeave:L}=$,R=()=>Q(D,Y);L?L(k.el,Y,R):R()}else Y()},_e=(k,I)=>{let D;for(;k!==I;)D=d(k),o(k),k=D;o(I)},De=(k,I,D)=>{const{bum:K,scope:$,update:Y,subTree:Q,um:L,m:R,a:O}=k;gs(R),gs(O),K&&cr(K),$.stop(),Y&&(Y.active=!1,ne(Q,k,I,D)),L&&He(L,I),He(()=>{k.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},fe=(k,I,D,K=!1,$=!1,Y=0)=>{for(let Q=Y;Q<k.length;Q++)ne(k[Q],I,D,K,$)},B=k=>{if(k.shapeFlag&6)return B(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const I=d(k.anchor||k.el),D=I&&I[Xh];return D?d(D):I};let J=!1;const z=(k,I,D)=>{k==null?I._vnode&&ne(I._vnode,null,null,!0):p(I._vnode||null,k,I,null,null,null,D),J||(J=!0,ga(),fs(),J=!1),I._vnode=k},ee={p,um:ne,m:ce,r:Ce,mt:j,mc:b,pc:X,pbc:P,n:B,o:e};let de,xe;return t&&([de,xe]=t(ee)),{render:z,hydrate:de,createApp:Bh(z,de)}}function uo({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 vn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ru(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ku(e,t,n=!1){const s=e.children,o=t.children;if(ie(s)&&ie(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=zt(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&ku(i,a)),a.type===on&&(a.el=i.el)}}function ep(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;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;)a=r+i>>1,e[n[a]]<f?r=a+1:i=a;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 Au(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Au(t)}function gs(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const tp=Symbol.for("v-scx"),np=()=>Qe(tp);function rp(e,t){return Ni(e,null,t)}const Jr={};function at(e,t,n){return Ni(e,t,n)}function Ni(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:a}=Re){if(t&&r){const x=t;t=(...w)=>{x(...w),m()}}const l=Be,f=x=>s===!0?x:en(x,s===!1?1:void 0);let u,h=!1,d=!1;if(Fe(e)?(u=()=>e.value,h=Gn(e)):Vn(e)?(u=()=>f(e),h=!0):ie(e)?(d=!0,h=e.some(x=>Vn(x)||Gn(x)),u=()=>e.map(x=>{if(Fe(x))return x.value;if(Vn(x))return f(x);if(ae(x))return rn(x,l,2)})):ae(e)?t?u=()=>rn(e,l,2):u=()=>(c&&c(),yt(e,l,3,[g])):u=vt,t&&s){const x=u;u=()=>en(x())}let c,g=x=>{c=y.onStop=()=>{rn(x,l,4),c=y.onStop=void 0}},p;if(Bs)if(g=vt,t?n&&yt(t,l,3,[u(),d?[]:void 0,g]):u(),o==="sync"){const x=np();p=x.__watcherHandles||(x.__watcherHandles=[])}else return vt;let v=d?new Array(e.length).fill(Jr):Jr;const E=()=>{if(!(!y.active||!y.dirty))if(t){const x=y.run();(s||h||(d?x.some((w,b)=>an(w,v[b])):an(x,v)))&&(c&&c(),yt(t,l,3,[x,v===Jr?void 0:d&&v[0]===Jr?[]:v,g]),v=x)}else y.run()};E.allowRecurse=!!t;let S;o==="sync"?S=E:o==="post"?S=()=>He(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),S=()=>ki(E));const y=new Ei(u,vt,S),_=Ns(),m=()=>{y.stop(),_&&vi(_.effects,y)};return t?n?E():v=y.run():o==="post"?He(y.run.bind(y),l&&l.suspense):y.run(),p&&p.push(m),m}function sp(e,t,n){const s=this.proxy,o=Oe(e)?e.includes(".")?Iu(s,e):()=>s[e]:e.bind(s,s);let r;ae(t)?r=t:(r=t.handler,n=t);const i=Nr(this),a=Ni(o,r.bind(s),n);return i(),a}function Iu(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 en(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Fe(e))en(e.value,t,n);else if(ie(e))for(let s=0;s<e.length;s++)en(e[s],t,n);else if(Cc(e)||Bn(e))e.forEach(s=>{en(s,t,n)});else if(Lc(e)){for(const s in e)en(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&en(e[s],t,n)}return e}const op=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${Rn(t)}Modifiers`];function ip(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Re;let o=n;const r=t.startsWith("update:"),i=r&&op(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Oe(u)?u.trim():u)),i.number&&(o=n.map(Nd)));let a,l=s[a=oo(t)]||s[a=oo(Pt(t))];!l&&r&&(l=s[a=oo(Rn(t))]),l&&yt(l,e,6,o);const f=s[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yt(f,e,6,o)}}function Ou(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ae(e)){const l=f=>{const u=Ou(f,t,!0);u&&(a=!0,je(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Le(e)&&s.set(e,null),null):(ie(r)?r.forEach(l=>i[l]=null):je(i,r),Le(e)&&s.set(e,i),i)}function $s(e,t){return!e||!kr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,Rn(t))||ge(e,t))}function fo(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:l,render:f,renderCache:u,props:h,data:d,setupState:c,ctx:g,inheritAttrs:p}=e,v=ds(e);let E,S;try{if(n.shapeFlag&4){const _=o||s,m=_;E=pt(f.call(m,_,u,h,c,d,g)),S=a}else{const _=t;E=pt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),S=t.props?a:lp(a)}}catch(_){dr.length=0,Ir(_,e,1),E=Ie(Ke)}let y=E;if(S&&p!==!1){const _=Object.keys(S),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(mi)&&(S=cp(S,r)),y=jt(y,S,!1,!0))}return n.dirs&&(y=jt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),E=y,ds(v),E}function ap(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(Jn(o)){if(o.type!==Ke||o.children==="v-if"){if(n)return;n=o}}else return}return n}const lp=e=>{let t;for(const n in e)(n==="class"||n==="style"||kr(n))&&((t||(t={}))[n]=e[n]);return t},cp=(e,t)=>{const n={};for(const s in e)(!mi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function up(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ca(s,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==s[d]&&!$s(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ca(s,i,f):!0:!!i;return!1}function Ca(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]&&!$s(n,r))return!0}return!1}function Mi({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 Do=e=>e.__isSuspense;let Fo=0;const fp={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,f){if(e==null)dp(t,n,s,o,r,i,a,l,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}hp(e,t,n,s,o,i,a,l,f)}},hydrate:pp,normalize:gp},Di=fp;function wr(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function dp(e,t,n,s,o,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=Nu(e,o,s,t,h,n,r,i,a,l);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),Kn(d,e.ssFallback)):d.resolve(!1,!0)}function hp(e,t,n,s,o,r,i,a,{p:l,um:f,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:v,isHydrating:E}=h;if(p)h.pendingBranch=d,Ct(d,p)?(l(p,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():v&&(E||(l(g,c,n,s,o,null,r,i,a),Kn(h,c)))):(h.pendingId=Fo++,E?(h.isHydrating=!1,h.activeBranch=p):f(p,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():(l(g,c,n,s,o,null,r,i,a),Kn(h,c))):g&&Ct(d,g)?(l(g,d,n,s,o,h,r,i,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0&&h.resolve()));else if(g&&Ct(d,g))l(g,d,n,s,o,h,r,i,a),Kn(h,d);else if(wr(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=Fo++,l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:S,pendingId:y}=h;S>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},S):S===0&&h.fallback(c)}}function Nu(e,t,n,s,o,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:g,o:{parentNode:p,remove:v}}=f;let E;const S=mp(e);S&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=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:Fo++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,w=!1){const{vnode:b,activeBranch:C,pendingBranch:P,pendingId:A,effects:T,parentComponent:N,container:j}=m;let H=!1;m.isHydrating?m.isHydrating=!1:x||(H=C&&P.transition&&P.transition.mode==="out-in",H&&(C.transition.afterLeave=()=>{A===m.pendingId&&(d(P,j,r===_?g(C):r,0),ko(T))}),C&&(p(C.el)!==m.hiddenContainer&&(r=g(C)),c(C,N,m,!0)),H||d(P,j,r,0)),Kn(m,P),m.pendingBranch=null,m.isInFallback=!1;let V=m.parent,W=!1;for(;V;){if(V.pendingBranch){V.effects.push(...T),W=!0;break}V=V.parent}!W&&!H&&ko(T),m.effects=[],S&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),wr(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:w,activeBranch:b,parentComponent:C,container:P,namespace:A}=m;wr(w,"onFallback");const T=g(b),N=()=>{m.isInFallback&&(h(null,x,P,T,C,null,A,a,l),Kn(m,x))},j=x.transition&&x.transition.mode==="out-in";j&&(b.transition.afterLeave=N),m.isInFallback=!0,c(b,C,null,!0),j||N()},move(x,w,b){m.activeBranch&&d(m.activeBranch,x,w,b),m.container=x},next(){return m.activeBranch&&g(m.activeBranch)},registerDep(x,w,b){const C=!!m.pendingBranch;C&&m.deps++;const P=x.vnode.el;x.asyncDep.catch(A=>{Ir(A,x,0)}).then(A=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:T}=x;Ho(x,A,!1),P&&(T.el=P);const N=!P&&x.subTree.el;w(x,T,p(P||x.subTree.el),P?null:g(x.subTree),m,i,b),N&&v(N),Mi(x,T.el),C&&--m.deps===0&&m.resolve()})},unmount(x,w){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,w),m.pendingBranch&&c(m.pendingBranch,n,x,w)}};return m}function pp(e,t,n,s,o,r,i,a,l){const f=t.suspense=Nu(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function gp(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Pa(s?n.default:n),e.ssFallback=s?Pa(n.fallback):Ie(Ke)}function Pa(e){let t;if(ae(e)){const n=Yn&&e._c;n&&(e._d=!1,we()),e=e(),n&&(e._d=!0,t=it,Du())}return ie(e)&&(e=ap(e)),e=pt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Mu(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):ko(e)}function Kn(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,Mi(s,o))}function mp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const We=Symbol.for("v-fgt"),on=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),dr=[];let it=null;function we(e=!1){dr.push(it=e?null:[])}function Du(){dr.pop(),it=dr[dr.length-1]||null}let Yn=1;function Ta(e){Yn+=e,e<0&&it&&(it.hasOnce=!0)}function Fu(e){return e.dynamicChildren=Yn>0?it||Hn:null,Du(),Yn>0&&it&&it.push(e),e}function tt(e,t,n,s,o,r){return Fu(oe(e,t,n,s,o,r,!0))}function Je(e,t,n,s,o){return Fu(Ie(e,t,n,s,o,!0))}function Jn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const $u=({key:e})=>e??null,ss=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Fe(e)||ae(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,s=0,o=null,r=e===We?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$u(t),ref:t&&ss(t),scopeId:nu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return a?(Fi(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),Yn>0&&!i&&it&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&it.push(l),l}const Ie=vp;function vp(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===hu)&&(e=Ke),Jn(e)){const a=jt(e,t,!0);return n&&Fi(a,n),Yn>0&&!r&&it&&(a.shapeFlag&6?it[it.indexOf(e)]=a:it.push(a)),a.patchFlag=-2,a}if(Pp(e)&&(e=e.__vccOpts),t){t=yp(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=Os(a)),Le(l)&&(Yc(l)&&!ie(l)&&(l=je({},l)),t.style=_i(l))}const i=Oe(e)?1:Do(e)?128:Yh(e)?64:Le(e)?4:ae(e)?2:0;return oe(e,t,n,s,o,i,r,!0)}function yp(e){return e?Yc(e)||Eu(e)?je({},e):e:null}function jt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?Hu(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&$u(f),ref:t&&t.ref?n&&r?ie(r)?r.concat(ss(t)):[r,ss(t)]:ss(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jt(e.ssContent),ssFallback:e.ssFallback&&jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Er(u,l.clone(u)),u}function Hs(e=" ",t=0){return Ie(on,null,e,t)}function st(e="",t=!1){return t?(we(),Je(Ke,null,e)):Ie(Ke,null,e)}function pt(e){return e==null||typeof e=="boolean"?Ie(Ke):ie(e)?Ie(We,null,e.slice()):typeof e=="object"?zt(e):Ie(on,null,String(e))}function zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function Fi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Fi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Eu(t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[Hs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hu(...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=Os([t.class,s.class]));else if(o==="style")t.style=_i([t.style,s.style]);else if(kr(o)){const r=t[o],i=s[o];i&&r!==i&&!(ie(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function rt(e,t,n,s=null){yt(e,t,7,[n,s])}const _p=vu();let xp=0;function Ep(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||_p,r={uid:xp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mc(!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:Ou(s,o),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:s.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=ip.bind(null,r),e.ce&&e.ce(r),r}let Be=null;const An=()=>Be||$e;let ms,$o;{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)}};ms=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),$o=t("__VUE_SSR_SETTERS__",n=>Bs=n)}const Nr=e=>{const t=Be;return ms(e),e.scope.on(),()=>{e.scope.off(),ms(t)}},La=()=>{Be&&Be.scope.off(),ms(null)};function Bu(e){return e.vnode.shapeFlag&4}let Bs=!1;function wp(e,t=!1,n=!1){t&&$o(t);const{props:s,children:o}=e.vnode,r=Bu(e);Uh(e,s,r,t),Kh(e,o,n);const i=r?Sp(e,t):void 0;return t&&$o(!1),i}function Sp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Oh);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Cp(e):null,r=Nr(e);un();const i=rn(s,e,0,[e.props,o]);if(fn(),r(),Pc(i)){if(i.then(La,La),t)return i.then(a=>{Ho(e,a,t)}).catch(a=>{Ir(a,e,0)});e.asyncDep=i}else Ho(e,i,t)}else Uu(e,t)}function Ho(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Qc(t)),Uu(e,n)}let Ra;function Uu(e,t,n){const s=e.type;if(!e.render){if(!t&&Ra&&!s.render){const o=s.template||Ii(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,f=je(je({isCustomElement:r,delimiters:a},i),l);s.render=Ra(o,f)}}e.render=s.render||vt}{const o=Nr(e);un();try{Nh(e)}finally{fn(),o()}}}const bp={get(e,t){return lt(e,"get",""),e[t]}};function Cp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bp),slots:e.slots,emit:e.emit,expose:t}}function Us(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qc(lh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fr)return fr[n](e)},has(t,n){return n in t||n in fr}})):e.proxy}function Bo(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Pp(e){return ae(e)&&"__vccOpts"in e}const me=(e,t)=>ch(e,t,Bs);function Ve(e,t,n){const s=arguments.length;return s===2?Le(t)&&!ie(t)?Jn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Jn(n)&&(n=[n]),Ie(e,t,n))}const Vu="3.4.35";/**
|
||
* @vue/runtime-dom v3.4.35
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Tp="http://www.w3.org/2000/svg",Lp="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,ka=Ht&&Ht.createElement("template"),Rp={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"?Ht.createElementNS(Tp,e):t==="mathml"?Ht.createElementNS(Lp,e):n?Ht.createElement(e,{is:n}):Ht.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.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{ka.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=ka.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gt="transition",rr="animation",Sr=Symbol("_vtc"),Vs=(e,{slots:t})=>Ve(Sh,kp(e),t);Vs.displayName="Transition";const ju={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};Vs.props=je({},ru,ju);const yn=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},Aa=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function kp(e){const t={};for(const T in e)T in ju||(t[T]=e[T]);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:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,g=Ap(o),p=g&&g[0],v=g&&g[1],{onBeforeEnter:E,onEnter:S,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=E,onAppear:w=S,onAppearCancelled:b=y}=t,C=(T,N,j)=>{_n(T,N?u:a),_n(T,N?f:i),j&&j()},P=(T,N)=>{T._isLeaving=!1,_n(T,h),_n(T,c),_n(T,d),N&&N()},A=T=>(N,j)=>{const H=T?w:S,V=()=>C(N,T,j);yn(H,[N,V]),Ia(()=>{_n(N,T?l:r),Xt(N,T?u:a),Aa(H)||Oa(N,s,p,V)})};return je(t,{onBeforeEnter(T){yn(E,[T]),Xt(T,r),Xt(T,i)},onBeforeAppear(T){yn(x,[T]),Xt(T,l),Xt(T,f)},onEnter:A(!1),onAppear:A(!0),onLeave(T,N){T._isLeaving=!0;const j=()=>P(T,N);Xt(T,h),Xt(T,d),Np(),Ia(()=>{T._isLeaving&&(_n(T,h),Xt(T,c),Aa(_)||Oa(T,s,v,j))}),yn(_,[T,j])},onEnterCancelled(T){C(T,!1),yn(y,[T])},onAppearCancelled(T){C(T,!0),yn(b,[T])},onLeaveCancelled(T){P(T),yn(m,[T])}})}function Ap(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 _n(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 Ia(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ip=0;function Oa(e,t,n,s){const o=e._endId=++Ip,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Op(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>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(f,d)}function Op(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),o=s(`${Gt}Delay`),r=s(`${Gt}Duration`),i=Na(o,r),a=s(`${rr}Delay`),l=s(`${rr}Duration`),f=Na(a,l);let u=null,h=0,d=0;t===Gt?i>0&&(u=Gt,h=i,d=r.length):t===rr?f>0&&(u=rr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?Gt:rr:null,d=u?u===Gt?r.length:l.length:0);const c=u===Gt&&/\b(transform|all)(,|$)/.test(s(`${Gt}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function Na(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ma(n)+Ma(e[s])))}function Ma(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Np(){return document.body.offsetHeight}function Mp(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 vs=Symbol("_vod"),Wu=Symbol("_vsh"),FE={beforeMount(e,{value:t},{transition:n}){e[vs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):sr(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),sr(e,!0),s.enter(e)):s.leave(e,()=>{sr(e,!1)}):sr(e,t))},beforeUnmount(e,{value:t}){sr(e,t)}};function sr(e,t){e.style.display=t?e[vs]:"none",e[Wu]=!t}const Dp=Symbol(""),Fp=/(^|;)\s*display\s*:/;function $p(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 a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&os(s,a,"")}else for(const i in t)n[i]==null&&os(s,i,"");for(const i in n)i==="display"&&(r=!0),os(s,i,n[i])}else if(o){if(t!==n){const i=s[Dp];i&&(n+=";"+i),s.cssText=n,r=Fp.test(n)}}else t&&e.removeAttribute("style");vs in e&&(e[vs]=r?s.display:"",e[Wu]&&(s.display="none"))}const Da=/\s*!important$/;function os(e,t,n){if(ie(n))n.forEach(s=>os(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Hp(e,t);Da.test(n)?e.setProperty(Rn(s),n.replace(Da,""),"important"):e[s]=n}}const Fa=["Webkit","Moz","ms"],po={};function Hp(e,t){const n=po[t];if(n)return n;let s=Pt(t);if(s!=="filter"&&s in e)return po[t]=s;s=Is(s);for(let o=0;o<Fa.length;o++){const r=Fa[o]+s;if(r in e)return po[t]=r}return t}const $a="http://www.w3.org/1999/xlink";function Ha(e,t,n,s,o,r=Bd(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS($a,t.slice(6,t.length)):e.setAttributeNS($a,t,n):n==null||r&&!Ic(n)?e.removeAttribute(t):e.setAttribute(t,r?"":cn(n)?String(n):n)}function Bp(e,t,n,s){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Ic(n):n==null&&i==="string"?(n="",r=!0):i==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(t)}function Up(e,t,n,s){e.addEventListener(t,n,s)}function Vp(e,t,n,s){e.removeEventListener(t,n,s)}const Ba=Symbol("_vei");function jp(e,t,n,s,o=null){const r=e[Ba]||(e[Ba]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=Wp(t);if(s){const f=r[t]=Xp(s,o);Up(e,a,f,l)}else i&&(Vp(e,a,i,l),r[t]=void 0)}}const Ua=/(?:Once|Passive|Capture)$/;function Wp(e){let t;if(Ua.test(e)){t={};let s;for(;s=e.match(Ua);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rn(e.slice(2)),t]}let go=0;const Kp=Promise.resolve(),Gp=()=>go||(Kp.then(()=>go=0),go=Date.now());function Xp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;yt(Yp(s,n.value),t,5,[s])};return n.value=e,n.attached=Gp(),n}function Yp(e,t){if(ie(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 Va=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Jp=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Mp(e,s,i):t==="style"?$p(e,n,s):kr(t)?mi(t)||jp(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qp(e,t,s,i))?(Bp(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ha(e,t,s,i,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ha(e,t,s,i))};function qp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Va(t)&&ae(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 Va(t)&&Oe(n)?!1:t in e}const Ku=je({patchProp:Jp},Rp);let hr,ja=!1;function Qp(){return hr||(hr=zh(Ku))}function zp(){return hr=ja?hr:Zh(Ku),ja=!0,hr}const Zp=(...e)=>{const t=Qp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Xu(s);if(!o)return;const r=t._component;!ae(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Gu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},eg=(...e)=>{const t=zp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Xu(s);if(o)return n(o,!0,Gu(o))},t};function Gu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xu(e){return Oe(e)?document.querySelector(e):e}const tg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ng=/"(?: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*:/,rg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function sg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){og(e);return}return t}function og(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(!rg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(tg.test(e)||ng.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,sg)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const ig=/#/g,ag=/&/g,lg=/\//g,cg=/=/g,$i=/\+/g,ug=/%5e/gi,fg=/%60/gi,dg=/%7c/gi,hg=/%20/gi;function pg(e){return encodeURI(""+e).replace(dg,"|")}function Uo(e){return pg(typeof e=="string"?e:JSON.stringify(e)).replace($i,"%2B").replace(hg,"+").replace(ig,"%23").replace(ag,"%26").replace(fg,"`").replace(ug,"^").replace(lg,"%2F")}function mo(e){return Uo(e).replace(cg,"%3D")}function ys(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function gg(e){return ys(e.replace($i," "))}function mg(e){return ys(e.replace($i," "))}function Hi(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=gg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=mg(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 vg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${mo(e)}=${Uo(n)}`).join("&"):`${mo(e)}=${Uo(t)}`:mo(e)}function yg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>vg(t,e[t])).filter(Boolean).join("&")}const _g=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,xg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Eg=/^([/\\]\s*){2,}[^/\\]/,wg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Sg=/\/$|\/\?|\/#/,bg=/^\.?\//;function Et(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?_g.test(e):xg.test(e)||(t.acceptRelative?Eg.test(e):!1)}function Cg(e){return!!e&&wg.test(e)}function Vo(e="",t){return t?Sg.test(e):e.endsWith("/")}function Mr(e="",t){if(!t)return(Vo(e)?e.slice(0,-1):e)||"/";if(!Vo(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(Vo(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 Pg(e=""){return e.startsWith("/")}function Wa(e=""){return Pg(e)?e:"/"+e}function Tg(e,t){if(Ju(t)||Et(e))return e;const n=Mr(t);return e.startsWith(n)?e:In(n,e)}function Ka(e,t){if(Ju(t))return e;const n=Mr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Yu(e,t){const n=Rg(e),s={...Hi(n.search),...t};return n.search=yg(s),kg(n)}function Ju(e){return!e||e==="/"}function Lg(e){return e&&e!=="/"}function In(e,...t){let n=e||"";for(const s of t.filter(o=>Lg(o)))if(n){const o=s.replace(bg,"");n=Cr(n)+o}else n=s;return n}function qu(...e){var i,a,l,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?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*o)+r,(f=n[n.length-1])!=null&&f.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function jo(e,t,n={}){return n.trailingSlash||(e=Cr(e),t=Cr(t)),n.leadingSlash||(e=Wa(e),t=Wa(t)),n.encoding||(e=ys(e),t=ys(t)),e===t}const Qu=Symbol.for("ufo:protocolRelative");function Rg(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 Wo(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:f,hash:u}=Wo(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:f,hash:u,[Qu]:!s}}function Wo(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function kg(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[Qu]?(e.protocol||"")+"//":"")+o+r+t+n+s}class Ag extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Ig(e){var l,f,u,h,d;const t=((l=e.error)==null?void 0:l.message)||((f=e.error)==null?void 0:f.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",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}`:""}`,a=new Ag(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,g]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[g]}});return a}const Og=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ga(e="GET"){return Og.has(e.toUpperCase())}function Ng(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 Mg=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Dg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Fg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Dg.test(t)?"json":Mg.has(t)||t.startsWith("text/")?"text":"blob"}function $g(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 Hg=new Set([408,409,425,429,500,502,503,504]),Bg=new Set([101,204,205,304]);function zu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Ga(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):Hg.has(h))){const d=a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1})}}const f=Ig(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){var c;const u={request:l,options:$g(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=Tg(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Yu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Ga(u.options.method)&&(Ng(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 g=new s;h=setTimeout(()=>g.abort(),u.options.timeout),u.options.signal=g.signal}try{u.response=await t(u.request,u.options)}catch(g){return u.error=g,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{h&&clearTimeout(h)}if(u.response.body&&!Bg.has(u.response.status)&&u.options.method!=="HEAD"){const g=(u.options.parseResponse?"json":u.options.responseType)||Fg(u.response.headers.get("content-type")||"");switch(g){case"json":{const p=await u.response.text(),v=u.options.parseResponse||br;u.response._data=v(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[g]()}}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(l,f){return(await r(l,f))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>zu({...e,defaults:{...e.defaults,...a}}),i}const Bi=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")}(),Ug=Bi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Vg=Bi.Headers,jg=Bi.AbortController,Wg=zu({fetch:Ug,Headers:Vg,AbortController:jg}),Kg=Wg,Gg=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},_s=Gg().app,Xg=()=>_s.baseURL,Yg=()=>_s.buildAssetsDir,Ui=(...e)=>qu(Zu(),Yg(),...e),Zu=(...e)=>{const t=_s.cdnURL||_s.baseURL;return e.length?qu(t,...e):t};globalThis.__buildAssetsURL=Ui,globalThis.__publicAssetsURL=Zu;globalThis.$fetch||(globalThis.$fetch=Kg.create({baseURL:Xg()}));function Ko(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Ko(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const Jg={run:e=>e()},qg=()=>Jg,ef=typeof console.createTask<"u"?console.createTask:qg;function Qg(e,t){const n=t.shift(),s=ef(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function zg(e,t){const n=t.shift(),s=ef(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function vo(e,t){for(const n of[...e])n(t)}class Zg{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=Ko(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=Ko(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(Qg,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(zg,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 tf(){return new Zg}function em(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,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},f=()=>t===i?l:void 0;Go.add(f);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Go.delete(f)}}}}function tm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=em({...e,...s})),t[n],t[n]}}}const xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Xa="__unctx__",nm=xs[Xa]||(xs[Xa]=tm()),rm=(e,t={})=>nm.get(e,t),Ya="__unctx_async_handlers__",Go=xs[Ya]||(xs[Ya]=new Set);function Ot(e){const t=[];for(const o of Go){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 sm=!1,Xo=!1,om=!1,im={componentName:"NuxtLink"},am=null,lm="#__nuxt",nf="nuxt-app",Ja=36e5;function rf(e=nf){return rm(e,{asyncContext:!1})}const cm="__nuxt_plugin";function um(e){let t=0;const n={_name:nf,_scope:xi(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.12.4"},get vue(){return n.vueApp.version}},payload:Bt({data:Bt({}),state:kn({}),once:new Set,_errors:Bt({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Ns()?n._scope.run(()=>qa(n,o)):qa(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:Bt({}),_payloadRevivers:{},...e};if(window.__NUXT__)for(const o in window.__NUXT__)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],window.__NUXT__[o]);break;default:n.payload[o]=window.__NUXT__[o]}n.hooks=tf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,r)=>{const i="$"+o;qr(n,i,r),qr(n.vueApp.config.globalProperties,i,r)},qr(n.vueApp,"$nuxt",n),qr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=n.payload.config;return n.provide("config",s),n}function fm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function dm(e,t){if(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 hm(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(l){var u;const f=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(d=>d._name===h)&&!n.includes(h)))??[];if(f.length>0)s.push([new Set(f),l]);else{const h=dm(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(s.map(async([d,c])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(c)))})))});l.parallel?o.push(h.catch(d=>r.push(d))):await h}}for(const l of t)fm(e,l);for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(r.length)throw r[0]}function Rt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[cm]:!0,_name:t})}function qa(e,t,n){const s=()=>t();return rf(e._name).set(e),e.vueApp.runWithContext(s)}function pm(e){var n;let t;return yu()&&(t=(n=An())==null?void 0:n.appContext.app.$nuxt),t=t||rf(e).tryUse(),t||null}function ye(e){const t=pm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ct(e){return ye().$config}function qr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function gm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},o=s.decode||mm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let a=e.indexOf(";",r);if(a===-1)a=e.length;else if(a<i){r=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(r,i).trim();if(s!=null&&s.filter&&!(s!=null&&s.filter(l))){r=a+1;continue}if(n[l]===void 0){let f=e.slice(i+1,a).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[l]=vm(f,o)}r=a+1}return n}function mm(e){return e.includes("%")?decodeURIComponent(e):e}function vm(e,t){try{return t(e)}catch{return e}}const Qr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Qa(e,t,n){const s=n||{},o=s.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!Qr.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!Qr.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(s.maxAge!==void 0&&s.maxAge!==null){const a=s.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(s.domain){if(!Qr.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!Qr.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!ym(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 ym(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}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 Za(e,t){t?t={...za,...t}:t=za;const n=sf(t);return n.dispatch(e),n.toString()}const _m=Object.freeze(["prototype","__proto__","constructor"]);function sf(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 a=r.length;a<10?i="unknown:["+r+"]":i=r.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");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&&!el(o)&&(u=_m),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 l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const f=sf(e);f.dispatch(l);for(const[u,h]of f.getContext())i.set(u,h);return f.toString()});return n=i,a.sort(),this.array(a,!1)},date(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:"),el(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 of="[native code] }",xm=of.length;function el(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-xm)===of}function Em(e,t,n={}){return e===t||Za(e,n)===Za(t,n)}function wm(e,t){return{ctx:{table:e},matchAll:n=>lf(n,e)}}function af(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,af(o)])):new Map(Object.entries(e[n]));return t}function Sm(e){return wm(af(e))}function lf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of tl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of tl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...lf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function tl(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 Yo(e,t,n=".",s){if(!yo(t))return Yo(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]=Yo(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function bm(e){return(...t)=>t.reduce((n,s)=>Yo(n,s,"",e),{})}const cf=bm();function Cm(e,t){try{return t in e}catch{return!1}}var Pm=Object.defineProperty,Tm=(e,t,n)=>t in e?Pm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wn=(e,t,n)=>(Tm(e,typeof t!="symbol"?t+"":t,n),n);class Jo extends Error{constructor(t,n={}){super(t,n),wn(this,"statusCode",500),wn(this,"fatal",!1),wn(this,"unhandled",!1),wn(this,"statusMessage"),wn(this,"data"),wn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Qo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=uf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}wn(Jo,"__h3_error__",!0);function qo(e){if(typeof e=="string")return new Jo(e);if(Lm(e))return e;const t=new Jo(e.message??e.statusMessage??"",{cause:e.cause||e});if(Cm(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=Qo(e.statusCode,t.statusCode):e.status&&(t.statusCode=Qo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;uf(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 Lm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Rm=/[^\u0009\u0020-\u007E]/g;function uf(e=""){return e.replace(Rm,"")}function Qo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ff=Symbol("layout-meta"),Dr=Symbol("route"),ze=()=>{var e;return(e=ye())==null?void 0:e.$router},js=()=>yu()?Qe(Dr,ye()._route):ye()._route;const km=(e,t,n={})=>{const s=ye(),o=n.global||typeof e!="string",r=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},Am=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!1}return!1},df=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?zo(e):ze().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:f={}}=t.open,u=Object.entries(f).filter(([h,d])=>d!==void 0).map(([h,d])=>`${h.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const s=Et(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||s;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Cg(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=Am();if(!o&&r)return e;const i=ze(),a=ye();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function zo(e){return Yu(e.path||"",e.query||{})+(e.hash||"")}const hf="__nuxt_error",Ws=()=>zc(ye().payload,"error"),$n=e=>{const t=Ks(e);try{const n=ye(),s=Ws();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Im=async(e={})=>{const t=ye(),n=Ws();t.callHook("app:error:cleared",e),e.redirect&&await ze().replace(e.redirect),n.value=am},Om=e=>!!e&&typeof e=="object"&&hf in e,Ks=e=>{const t=qo(e);return Object.defineProperty(t,hf,{value:!0,configurable:!1,writable:!1}),t},Nm=-1,Mm=-2,Dm=-3,Fm=-4,$m=-5,Hm=-6;function Bm(e,t){return Um(JSON.parse(e),t)}function Um(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===Nm)return;if(r===Dm)return NaN;if(r===Fm)return 1/0;if(r===$m)return-1/0;if(r===Hm)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],f=t==null?void 0:t[l];if(f)return s[r]=f(o(a[1]));switch(l){case"Date":s[r]=new Date(a[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<a.length;c+=1)u.add(o(a[c]));break;case"Map":const h=new Map;s[r]=h;for(let c=1;c<a.length;c+=2)h.set(o(a[c]),o(a[c+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const d=Object.create(null);s[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=o(a[c+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let f=0;f<a.length;f+=1){const u=a[f];u!==Mm&&(l[f]=o(u))}}else{const l={};s[r]=l;for(const f in a){const u=a[f];l[f]=o(u)}}return s[r]}return o(0)}function Vm(e){return Array.isArray(e)?e:[e]}const jm=["title","titleTemplate","script","style","noscript"],is=["base","meta","link","style","script","noscript"],Wm=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Km=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],pf=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Gm=typeof window<"u";function Vi(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 nl(e){return e._h||Vi(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function gf(e,t){const{props:n,tag:s}=e;if(Km.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`${s}:${r}:${i}`}return!1}function rl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Xm(e,t,n){const s={tag:e,props:await mf(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return pf.forEach(o=>{const r=typeof s.props[o]<"u"?s.props[o]:n[o];typeof r<"u"&&((!["innerHTML","textContent","children"].includes(o)||jm.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 Ym(e,t){var s;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,r])=>e==="style"?`${o}:${r}`:o)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function mf(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Ym(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!pf.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 Jm=10;async function qm(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&Wm.includes(n)).forEach(([n,s])=>{const o=Vm(s);t.push(...o.map(r=>Xm(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<<Jm)+s,n))}const sl={base:-10,title:10},ol={critical:-80,high:-10,low:20};function Es(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 sl&&(t=sl[e.tag]),typeof n=="string"&&n in ol?t+ol[n]:t)}const Qm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],il=["onload","onerror","onabort","onprogress","onloadstart"],Yt="%separator";function as(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,f)=>l&&l[f]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=s(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,f)=>`${a}${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=as(e,{separator:n},n)),e}async function vf(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:is.includes(h.tag)?nl(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 g of[...d].filter(p=>is.includes(p.tagName.toLowerCase()))){const p={tag:g.tagName.toLowerCase(),props:await mf(g.getAttributeNames().reduce((S,y)=>({...S,[y]:g.getAttribute(y)}),{})),innerHTML:g.innerHTML};let v=1,E=gf(p);for(;E&&c.find(S=>S._d===E);)E=`${E}:${v++}`;p._d=E||void 0,c.push(p),r.elMap[g.getAttribute("data-hid")||nl(p)]=g}}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(h,d,c){const g=`${h}:${d}`;r.sideEffects[g]=c,delete r.pendingSideEffects[g]}function a({id:h,$el:d,tag:c}){const g=c.tag.endsWith("Attrs");r.elMap[h]=d,g||(["textContent","innerHTML"].forEach(p=>{c[p]&&c[p]!==d[p]&&(d[p]=c[p])}),i(h,"el",()=>{var p;(p=r.elMap[h])==null||p.remove(),delete r.elMap[h]}));for(const[p,v]of Object.entries(c._eventHandlers||{}))d.getAttribute(`data-${p}`)!==""&&((c.tag==="bodyAttrs"?n.defaultView:d).addEventListener(p.replace("on",""),v.bind(d)),d.setAttribute(`data-${p}`,""));Object.entries(c.props).forEach(([p,v])=>{const E=`attr:${p}`;if(p==="class")for(const S of(v||"").split(" ").filter(Boolean))g&&i(h,`${E}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(p==="style")for(const S of(v||"").split(";").filter(Boolean)){const[y,..._]=S.split(":").map(m=>m.trim());i(h,`${E}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,_.join(":"))}else d.getAttribute(p)!==v&&d.setAttribute(p,v===!0?"":String(v)),g&&i(h,E,()=>d.removeAttribute(p))})}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of o){const{tag:d,shouldRender:c,id:g}=h;if(c){if(d.tag==="title"){n.title=d.textContent;continue}h.$el=h.$el||r.elMap[g],h.$el?a(h):is.includes(d.tag)&&l.push(h)}}for(const h of l){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),a(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 zm(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await vf(e,t),delete e._domUpdatePromise,s()}))}function Zm(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){zm(r,e)}}}}}const ev=["templateParams","htmlAttrs","bodyAttrs"],tv={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=gf(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 a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&ev.includes(s.tag)&&(a="merge"),a==="merge"){const l=r.props;["class","style"].forEach(f=>{l[f]&&(s.props[f]?(f==="style"&&!l[f].endsWith(";")&&(l[f]+=";"),s.props[f]=`${l[f]} ${s.props[f]}`):s.props[f]=l[f])}),t[o].props={...l,...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(Es(s)>Es(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(is.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))}}},nv={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"}})}}},rv=["script","link","bodyAttrs"],sv=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(s=>rv.includes(s.tag)))Object.entries(n.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"&&(e.ssr&&il.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||Vi(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=>il.some(a=>`${a}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","")))}}}}),ov=["link","style","script","noscript"],iv={hooks:{"tag:normalise":({tag:e})=>{e.key&&ov.includes(e.tag)&&(e.props["data-hid"]=e._h=Vi(e.key))}}},av={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 Qm)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)=>Es(n)-Es(s))}}},lv={meta:"content",link:"href",htmlAttrs:"lang"},cv=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,s=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),r=o!==-1?n[o].props:{},i=r.separator||"|";delete r.separator,r.pageTitle=as(r.pageTitle||s||"",r,i);for(const l of n.filter(f=>f.processTemplateParams!==!1)){const f=lv[l.tag];f&&typeof l.props[f]=="string"?l.props[f]=as(l.props[f],r,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=as(l[u],r,i))})}e._templateParams=r,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),uv={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=rl(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=rl(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)}}},fv={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 yf;function dv(e={}){const t=hv(e);return t.use(Zm()),yf=t}function al(e,t){return!e||e==="server"&&t||e==="client"&&!t}function hv(e={}){const t=tf();t.addHooks(e.hooks||{}),e.document=e.document||(Gm?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const f=typeof l=="function"?l(a):l;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),al(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:o++,input:l,...f};return al(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),t.callHook("entries:updated",a),s()},patch(h){r=r.map(d=>(d._i===u._i&&(d.input=u.input=h),d)),s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const f of l.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const h of await qm(f)){const d={tag:h,entry:f,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[tv,nv,sv,iv,av,cv,uv,fv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function pv(){return yf}const gv=Vu.startsWith("3");function mv(e){return typeof e=="function"?e():te(e)}function ws(e,t=""){if(e instanceof Promise)return e;const n=mv(e);return!e||!n?n:Array.isArray(n)?n.map(s=>ws(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,te(o)]:[s,ws(o,s)])):n}const vv={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ws(t.input)}}},_f="usehead";function yv(e){return{install(n){gv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_f,e))}}.install}function _v(e={}){e.domDelayFn=e.domDelayFn||(n=>dn(()=>setTimeout(()=>n(),0)));const t=dv(e);return t.use(vv),t.install=yv(t),t}const Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ei="__unhead_injection_handler__";function xv(e){Zo[ei]=e}function Ev(){if(ei in Zo)return Zo[ei]();const e=Qe(_f);return e||pv()}function ll(e,t={}){const n=t.head||Ev();if(n)return n.ssr?n.push(e,t):wv(n,e,t)}function wv(e,t,n={}){const s=be(!1),o=be({});rp(()=>{o.value=s.value?{}:ws(t)});const r=e.push(o.value,n);return at(o,a=>{r.patch(a)}),An()&&(Or(()=>{r.dispose()}),lu(()=>{s.value=!0}),au(()=>{s.value=!1})),r}let ls,cs;function Sv(){return ls=$fetch(Ui(`builds/meta/${ct().app.buildId}.json`),{responseType:"json"}),ls.then(e=>{cs=Sm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),ls}function Gs(){return ls||Sv()}async function ji(e){if(await Gs(),!cs)return console.error("[nuxt] Error creating app manifest matcher.",cs),{};try{return cf({},...cs.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function cl(e,t={}){const n=await Cv(e,t),s=ye(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=Ef(e).then(r=>r?xf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const bv="_payload.json";async function Cv(e,t={}){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=ct(),o=t.hash||(t.fresh?Date.now():s.app.buildId),r=s.app.cdnURL,i=r&&await Ef(e)?r:s.app.baseURL;return In(i,n.pathname,bv+(o?`?${o}`:""))}async function xf(e){const t=fetch(e).then(n=>n.text().then(wf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ef(e=js().path){if(e=Mr(e),(await Gs()).prerendered.includes(e))return!0;const n=await ji(e);return!!n.prerender&&!n.redirect}let zr=null;async function Pv(){if(zr)return zr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await wf(e.textContent||""),n=e.dataset.src?await xf(e.dataset.src):void 0;return zr={...t,...n,...window.__NUXT__},zr}async function wf(e){return await Bm(e,ye()._payloadRevivers)}function Tv(e,t){ye()._payloadRevivers[e]=t}const ul={NuxtError:e=>Ks(e),EmptyShallowRef:e=>Xn(e==="_"?void 0:e==="0n"?BigInt(0):br(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):br(e)),ShallowRef:e=>Xn(e),ShallowReactive:e=>Bt(e),Ref:e=>be(e),Reactive:e=>kn(e)},Lv=Rt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in ul)Tv(s,ul[s]);Object.assign(e.payload,([t,n]=Ot(()=>e.runWithContext(Pv)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rv=[],kv=Rt({name:"nuxt:head",enforce:"pre",setup(e){const t=_v({plugins:Rv});xv(()=>ye().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await vf(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.4.2
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Dn=typeof document<"u";function Av(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Pe=Object.assign;function _o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Tt(o)?o.map(e):e(o)}return n}const pr=()=>{},Tt=Array.isArray,Sf=/#/g,Iv=/&/g,Ov=/\//g,Nv=/=/g,Mv=/\?/g,bf=/\+/g,Dv=/%5B/g,Fv=/%5D/g,Cf=/%5E/g,$v=/%60/g,Pf=/%7B/g,Hv=/%7C/g,Tf=/%7D/g,Bv=/%20/g;function Wi(e){return encodeURI(""+e).replace(Hv,"|").replace(Dv,"[").replace(Fv,"]")}function Uv(e){return Wi(e).replace(Pf,"{").replace(Tf,"}").replace(Cf,"^")}function ti(e){return Wi(e).replace(bf,"%2B").replace(Bv,"+").replace(Sf,"%23").replace(Iv,"%26").replace($v,"`").replace(Pf,"{").replace(Tf,"}").replace(Cf,"^")}function Vv(e){return ti(e).replace(Nv,"%3D")}function jv(e){return Wi(e).replace(Sf,"%23").replace(Mv,"%3F")}function Wv(e){return e==null?"":jv(e).replace(Ov,"%2F")}function Pr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Kv=/\/$/,Gv=e=>e.replace(Kv,"");function xo(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=qv(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Pr(i)}}function Xv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function fl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Yv(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&qn(t.matched[s],n.matched[o])&&Lf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Lf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Jv(e[n],t[n]))return!1;return!0}function Jv(e,t){return Tt(e)?dl(e,t):Tt(t)?dl(t,e):e===t}function dl(e,t){return Tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function qv(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,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Tr;(function(e){e.pop="pop",e.push="push"})(Tr||(Tr={}));var gr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gr||(gr={}));function Qv(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),Gv(e)}const zv=/^[^#]+#/;function Zv(e,t){return e.replace(zv,"#")+t}function ey(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 Xs=()=>({left:window.scrollX,top:window.scrollY});function ty(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=ey(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 hl(e,t){return(history.state?history.state.position-t:-1)+e}const ni=new Map;function ny(e,t){ni.set(e,t)}function ry(e){const t=ni.get(e);return ni.delete(e),t}let sy=()=>location.protocol+"//"+location.host;function Rf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),fl(l,"")}return fl(n,e)+s+o}function oy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Rf(e,location),g=n.value,p=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===g){i=null;return}v=p?d.position-p.position:0}else s(c);o.forEach(E=>{E(n.value,g,{delta:v,type:Tr.pop,direction:v?v>0?gr.forward:gr.back:gr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const g=o.indexOf(d);g>-1&&o.splice(g,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(Pe({},d.state,{scroll:Xs()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function pl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Xs():null}}function iy(e){const{history:t,location:n}=window,s={value:Rf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:sy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=Pe({},t.state,pl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=Pe({},o.value,t.state,{forward:l,scroll:Xs()});r(u.current,u,!0);const h=Pe({},pl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function kf(e){e=Qv(e);const t=iy(e),n=oy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Pe({location:"",base:e,go:s,createHref:Zv.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 ay(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),kf(e)}function ly(e){return typeof e=="string"||e&&typeof e=="object"}function Af(e){return typeof e=="string"||typeof e=="symbol"}const If=Symbol("");var gl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(gl||(gl={}));function Qn(e,t){return Pe(new Error,{type:e,[If]:!0},t)}function Mt(e,t){return e instanceof Error&&If in e&&(t==null||!!(e.type&t))}const ml="[^/]+?",cy={sensitive:!1,strict:!1,start:!0,end:!0},uy=/[.+*?^${}()[\]/\\]/g;function fy(e,t){const n=Pe({},cy,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(uy,"\\$&"),c+=40;else if(d.type===1){const{value:g,repeatable:p,optional:v,regexp:E}=d;r.push({name:g,repeatable:p,optional:v});const S=E||ml;if(S!==ml){c+=10;try{new RegExp(`(${S})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+_.message)}}let y=p?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;h||(y=v&&f.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,c+=20,v&&(c+=-8),p&&(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 a(f){const u=f.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",g=r[d-1];h[g.name]=c&&g.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===0)u+=c.value;else if(c.type===1){const{value:g,repeatable:p,optional:v}=c,E=g in f?f[g]:"";if(Tt(E)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=Tt(E)?E.join("/"):E;if(!S)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${g}"`);u+=S}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function dy(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 Of(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=dy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(vl(s))return 1;if(vl(o))return-1}return o.length-s.length}function vl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hy={type:0,value:""},py=/[a-zA-Z0-9_]/;function gy(e){if(!e)return[[]];if(e==="/")return[[hy]];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 a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),i()):l===":"?(h(),n=1):d();break;case 4:d(),n=s;break;case 1:l==="("?n=2:py.test(l)?d():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),o}function my(e,t,n){const s=fy(gy(e.path),n),o=Pe(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function vy(e,t){const n=[],s=new Map;t=xl({strict:!1,end:!0,sensitive:!1},t);function o(h){return s.get(h)}function r(h,d,c){const g=!c,p=yy(h);p.aliasOf=c&&c.record;const v=xl(t,h),E=[p];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)E.push(Pe({},p,{components:c?c.record.components:p.components,path:m,aliasOf:c?c.record:p}))}let S,y;for(const _ of E){const{path:m}=_;if(d&&m[0]!=="/"){const x=d.record.path,w=x[x.length-1]==="/"?"":"/";_.path=d.record.path+(m&&w+m)}if(S=my(_,d,v),c?c.alias.push(S):(y=y||S,y!==S&&y.alias.push(S),g&&h.name&&!_l(S)&&i(h.name)),Nf(S)&&l(S),p.children){const x=p.children;for(let w=0;w<x.length;w++)r(x[w],S,c&&c.children[w])}c=c||S}return y?()=>{i(y)}:pr}function i(h){if(Af(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=Ey(h,n);n.splice(d,0,h),h.record.name&&!_l(h)&&s.set(h.record.name,h)}function f(h,d){let c,g={},p,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw Qn(1,{location:h});v=c.record.name,g=Pe(yl(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&yl(h.params,c.keys.map(y=>y.name))),p=c.stringify(g)}else if(h.path!=null)p=h.path,c=n.find(y=>y.re.test(p)),c&&(g=c.parse(p),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw Qn(1,{location:h,currentLocation:d});v=c.record.name,g=Pe({},d.params,h.params),p=c.stringify(g)}const E=[];let S=c;for(;S;)E.unshift(S.record),S=S.parent;return{name:v,path:p,params:g,matched:E,meta:xy(E)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function yl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function yy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:_y(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 _y(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 _l(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xy(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function xl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Ey(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;Of(e,t[r])<0?s=r:n=r+1}const o=wy(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function wy(e){let t=e;for(;t=t.parent;)if(Nf(t)&&Of(e,t)===0)return t}function Nf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Sy(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(bf," "),i=r.indexOf("="),a=Pr(i<0?r:r.slice(0,i)),l=i<0?null:Pr(r.slice(i+1));if(a in t){let f=t[a];Tt(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function El(e){let t="";for(let n in e){const s=e[n];if(n=Vv(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Tt(s)?s.map(r=>r&&ti(r)):[s&&ti(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function by(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Tt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const Cy=Symbol(""),wl=Symbol(""),Ki=Symbol(""),Gi=Symbol(""),ri=Symbol("");function or(){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 Zt(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(Qn(4,{from:n,to:t})):d instanceof Error?l(d):ly(d)?l(Qn(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},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=>l(d))})}function Eo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Py(l)){const u=(l.__vccOpts||l)[t];u&&r.push(Zt(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const h=Av(u)?u.default:u;i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&Zt(c,n,s,i,a,o)()}))}}return r}function Py(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sl(e){const t=Qe(Ki),n=Qe(Gi),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(qn.bind(null,u));if(d>-1)return d;const c=bl(l[f-2]);return f>1&&bl(u)===c&&h[h.length-1].path!==c?h.findIndex(qn.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&ky(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&Lf(n.params,s.value.params));function a(l={}){return Ry(l)?t[te(e.replace)?"replace":"push"](te(e.to)).catch(pr):Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const Ty=Ge({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:Sl,setup(e,{slots:t}){const n=kn(Sl(e)),{options:s}=Qe(Ki),o=me(()=>({[Cl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Cl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Ly=Ty;function Ry(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 ky(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(!Tt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Cl=(e,t,n)=>e??t??n,Ay=Ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Qe(ri),o=me(()=>e.route||s.value),r=Qe(wl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);sn(wl,me(()=>i.value+1)),sn(Cy,a),sn(ri,o);const l=be();return at(()=>[l.value,a.value,e.name],([f,u,h],[d,c,g])=>{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||!qn(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(p=>p(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Pl(n.default,{Component:d,route:f});const c=h.props[u],g=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Ve(d,Pe({},g,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Pl(n.default,{Component:v,route:f})||v}}});function Pl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mf=Ay;function Iy(e){const t=vy(e.routes,e),n=e.parseQuery||Sy,s=e.stringifyQuery||El,o=e.history,r=or(),i=or(),a=or(),l=Xn(St);let f=St;Dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_o.bind(null,B=>""+B),h=_o.bind(null,Wv),d=_o.bind(null,Pr);function c(B,J){let z,ee;return Af(B)?(z=t.getRecordMatcher(B),ee=J):ee=B,t.addRoute(ee,z)}function g(B){const J=t.getRecordMatcher(B);J&&t.removeRoute(J)}function p(){return t.getRoutes().map(B=>B.record)}function v(B){return!!t.getRecordMatcher(B)}function E(B,J){if(J=Pe({},J||l.value),typeof B=="string"){const I=xo(n,B,J.path),D=t.resolve({path:I.path},J),K=o.createHref(I.fullPath);return Pe(I,D,{params:d(D.params),hash:Pr(I.hash),redirectedFrom:void 0,href:K})}let z;if(B.path!=null)z=Pe({},B,{path:xo(n,B.path,J.path).path});else{const I=Pe({},B.params);for(const D in I)I[D]==null&&delete I[D];z=Pe({},B,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),de=B.hash||"";ee.params=u(d(ee.params));const xe=Xv(s,Pe({},B,{hash:Uv(de),path:ee.path})),k=o.createHref(xe);return Pe({fullPath:xe,hash:de,query:s===El?by(B.query):B.query||{}},ee,{redirectedFrom:void 0,href:k})}function S(B){return typeof B=="string"?xo(n,B,l.value.path):Pe({},B)}function y(B,J){if(f!==B)return Qn(8,{from:J,to:B})}function _(B){return w(B)}function m(B){return _(Pe(S(B),{replace:!0}))}function x(B){const J=B.matched[B.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(B):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=S(ee):{path:ee},ee.params={}),Pe({query:B.query,hash:B.hash,params:ee.path!=null?{}:B.params},ee)}}function w(B,J){const z=f=E(B),ee=l.value,de=B.state,xe=B.force,k=B.replace===!0,I=x(z);if(I)return w(Pe(S(I),{state:typeof I=="object"?Pe({},de,I.state):de,force:xe,replace:k}),J||z);const D=z;D.redirectedFrom=J;let K;return!xe&&Yv(s,ee,z)&&(K=Qn(16,{to:D,from:ee}),ce(ee,ee,!0,!1)),(K?Promise.resolve(K):P(D,ee)).catch($=>Mt($)?Mt($,2)?$:ue($):X($,D,ee)).then($=>{if($){if(Mt($,2))return w(Pe({replace:k},S($.to),{state:typeof $.to=="object"?Pe({},de,$.to.state):de,force:xe}),J||D)}else $=T(D,ee,!0,k,de);return A(D,ee,$),$})}function b(B,J){const z=y(B,J);return z?Promise.reject(z):Promise.resolve()}function C(B){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(B):B()}function P(B,J){let z;const[ee,de,xe]=Oy(B,J);z=Eo(ee.reverse(),"beforeRouteLeave",B,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(Zt(D,B,J))});const k=b.bind(null,B,J);return z.push(k),fe(z).then(()=>{z=[];for(const I of r.list())z.push(Zt(I,B,J));return z.push(k),fe(z)}).then(()=>{z=Eo(de,"beforeRouteUpdate",B,J);for(const I of de)I.updateGuards.forEach(D=>{z.push(Zt(D,B,J))});return z.push(k),fe(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Tt(I.beforeEnter))for(const D of I.beforeEnter)z.push(Zt(D,B,J));else z.push(Zt(I.beforeEnter,B,J));return z.push(k),fe(z)}).then(()=>(B.matched.forEach(I=>I.enterCallbacks={}),z=Eo(xe,"beforeRouteEnter",B,J,C),z.push(k),fe(z))).then(()=>{z=[];for(const I of i.list())z.push(Zt(I,B,J));return z.push(k),fe(z)}).catch(I=>Mt(I,8)?I:Promise.reject(I))}function A(B,J,z){a.list().forEach(ee=>C(()=>ee(B,J,z)))}function T(B,J,z,ee,de){const xe=y(B,J);if(xe)return xe;const k=J===St,I=Dn?history.state:{};z&&(ee||k?o.replace(B.fullPath,Pe({scroll:k&&I&&I.scroll},de)):o.push(B.fullPath,de)),l.value=B,ce(B,J,z,k),ue()}let N;function j(){N||(N=o.listen((B,J,z)=>{if(!De.listening)return;const ee=E(B),de=x(ee);if(de){w(Pe(de,{replace:!0}),ee).catch(pr);return}f=ee;const xe=l.value;Dn&&ny(hl(xe.fullPath,z.delta),Xs()),P(ee,xe).catch(k=>Mt(k,12)?k:Mt(k,2)?(w(k.to,ee).then(I=>{Mt(I,20)&&!z.delta&&z.type===Tr.pop&&o.go(-1,!1)}).catch(pr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),X(k,ee,xe))).then(k=>{k=k||T(ee,xe,!1),k&&(z.delta&&!Mt(k,8)?o.go(-z.delta,!1):z.type===Tr.pop&&Mt(k,20)&&o.go(-1,!1)),A(ee,xe,k)}).catch(pr)}))}let H=or(),V=or(),W;function X(B,J,z){ue(B);const ee=V.list();return ee.length?ee.forEach(de=>de(B,J,z)):console.error(B),Promise.reject(B)}function le(){return W&&l.value!==St?Promise.resolve():new Promise((B,J)=>{H.add([B,J])})}function ue(B){return W||(W=!B,j(),H.list().forEach(([J,z])=>B?z(B):J()),H.reset()),B}function ce(B,J,z,ee){const{scrollBehavior:de}=e;if(!Dn||!de)return Promise.resolve();const xe=!z&&ry(hl(B.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return dn().then(()=>de(B,J,xe)).then(k=>k&&ty(k)).catch(k=>X(k,B,J))}const ne=B=>o.go(B);let Ce;const _e=new Set,De={currentRoute:l,listening:!0,addRoute:c,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:p,resolve:E,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:V.add,isReady:le,install(B){const J=this;B.component("RouterLink",Ly),B.component("RouterView",Mf),B.config.globalProperties.$router=J,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Dn&&!Ce&&l.value===St&&(Ce=!0,_(o.location).catch(de=>{}));const z={};for(const de in St)Object.defineProperty(z,de,{get:()=>l.value[de],enumerable:!0});B.provide(Ki,J),B.provide(Gi,Bt(z)),B.provide(ri,l);const ee=B.unmount;_e.add(B),B.unmount=function(){_e.delete(B),_e.size<1&&(f=St,N&&N(),N=null,l.value=St,Ce=!1,W=!1),ee()}}};function fe(B){return B.reduce((J,z)=>J.then(()=>C(z)),Promise.resolve())}return De}function Oy(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(f=>qn(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>qn(f,l))||o.push(l))}return[n,s,o]}function Ny(e){return Qe(Gi)}const My=(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())||""}),si=(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&&My(e.route,n));return typeof s=="function"?s(e.route):s},Dy=(e,t)=>({default:()=>e?Ve(Ch,e===!0?{}:e,t):t});function Xi(e){return Array.isArray(e)?e:[e]}const Fy="modulepreload",$y=function(e,t){return e[0]==="."?new URL(e,t).href:e},Tl={},Hy=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]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=$y(l,s),l in Tl)return;Tl[l]=!0;const f=l.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const g=r[c];if(g.href===l&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Fy,f||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),f)return new Promise((c,g)=>{d.addEventListener("load",c),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}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})},Ye=(...e)=>Hy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Ll=[{name:"about___en",path:"/en/about",component:()=>Ye(()=>import("./h915b1FY.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",component:()=>Ye(()=>import("./h915b1FY.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",component:()=>Ye(()=>import("./CQYo5bdb.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",component:()=>Ye(()=>import("./CQYo5bdb.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",component:()=>Ye(()=>import("./A5OhdjMF.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",component:()=>Ye(()=>import("./A5OhdjMF.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",component:()=>Ye(()=>import("./Djz9Xg4k.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",component:()=>Ye(()=>import("./Djz9Xg4k.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",component:()=>Ye(()=>import("./Cy514VTm.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",component:()=>Ye(()=>import("./Cy514VTm.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)}],Df=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?Ve(e,t,n):(s=n.default)==null?void 0:s.call(n)}});function Rl(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 By(e,t){return e===t||t===St?!1:Rl(e)!==Rl(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 Uy={scrollBehavior(e,t,n){var f;const s=ye(),o=((f=ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&By(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:kl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??Xo),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:kl(e.hash),behavior:o}),u(r)})})}};function kl(e){try{const t=document.querySelector(e);if(t)return Number.parseFloat(getComputedStyle(t).scrollMarginTop)+Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)}catch{}return 0}const Vy={hashMode:!1,scrollBehaviorType:"auto"},dt={...Vy,...Uy},jy=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ye(),o=ze();if(([t,n]=Ot(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Ks({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>$n(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Wy=async e=>{let t,n;const s=([t,n]=Ot(()=>ji(e.path)),t=await t,n(),t);if(s.redirect)return Et(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},Ky=[jy,Wy],mr={};function Gy(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),Ka(u,"")}const a=Ka(s,e),l=!n||jo(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const Xy=Rt({name:"nuxt:router",enforce:"pre",async setup(e){var v,E;let t,n,s=ct().app.baseURL;dt.hashMode&&!s.includes("#")&&(s+="#");const o=((v=dt.history)==null?void 0:v.call(dt,s))??(dt.hashMode?ay(s):kf(s)),r=((E=dt.routes)==null?void 0:E.call(dt,Ll))??Ll;let i;const a=Iy({...dt,scrollBehavior:(S,y,_)=>{if(y===St){i=_;return}if(dt.scrollBehavior){if(a.options.scrollBehavior=dt.scrollBehavior,"scrollRestoration"in window.history){const m=a.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return dt.scrollBehavior(S,St,i||_)}},history:o,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Xn(a.currentRoute.value);a.afterEach((S,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=Gy(s,window.location,e.payload.path),u=Xn(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,y)=>{var _,m,x,w;((m=(_=S.matched[0])==null?void 0:_.components)==null?void 0:m.default)===((w=(x=y.matched[0])==null?void 0:x.components)==null?void 0:w.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S]});e._route=Bt(d),e._middleware=e._middleware||{global:[],named:{}};const c=Ws();a.afterEach(async(S,y,_)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(Im),_&&await e.callHook("page:loading:end"),S.matched.length===0&&await e.runWithContext(()=>$n(qo({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))});try{[t,n]=Ot(()=>a.isReady()),await t,n()}catch(S){[t,n]=Ot(()=>e.runWithContext(()=>$n(S))),await t,n()}const g=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const p=e.payload.state._layout;return a.beforeEach(async(S,y)=>{var _;await e.callHook("page:loading:start"),S.meta=kn(S.meta),e.isHydrating&&p&&!ln(S.meta.layout)&&(S.meta.layout=p),e._processingMiddleware=!0;{const m=new Set([...Ky,...e._middleware.global]);for(const x of S.matched){const w=x.meta.middleware;if(w)for(const b of Xi(w))m.add(b)}{const x=await e.runWithContext(()=>ji(S.path));if(x.appMiddleware)for(const w in x.appMiddleware)x.appMiddleware[w]?m.add(w):m.delete(w)}for(const x of m){const w=typeof x=="string"?e._middleware.named[x]||await((_=mr[x])==null?void 0:_.call(mr).then(C=>C.default||C)):x;if(!w)throw new Error(`Unknown route middleware: '${x}'.`);const b=await e.runWithContext(()=>w(S,y));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const C=b||qo({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>$n(C)),!1}if(b!==!0&&(b||b===!1))return b}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=dt.scrollBehavior}catch(S){await e.runWithContext(()=>$n(S))}}),{provide:{router:a}}}}),oi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Yy=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ys=e=>{const t=ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{oi(()=>e())}):oi(()=>e())},Jy=Rt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await cl(t.path);s&&Object.assign(e.static.data,s.data)}),Ys(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await cl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Gs,1e3)})}}),qy=Rt(()=>{const e=ze();Ys(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Qy=Rt(e=>{let t;async function n(){const s=await Gs();t&&clearTimeout(t),t=setTimeout(n,Ja);try{const o=await $fetch(Ui("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Ys(()=>{t=setTimeout(n,Ja)})});function zy(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:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Zy=Rt({name:"nuxt:chunk-reload",setup(e){const t=ze(),n=ct(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:In(n.app.baseURL,r.fullPath);zy({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),e0=Rt({name:"nuxt:global-components"}),tn={},t0=Rt({name:"nuxt:prefetch",setup(e){const t=ze();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=Xi(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof mr[i]=="function"&&mr[i]();o&&typeof tn[o]=="function"&&tn[o]()})}});function bt(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]=bt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:bt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=bt(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=bt(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(bt(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(bt(r),bt(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(bt(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const n0={path:"/",watch:!0,decode:e=>br(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Zr=window.cookieStore;function r0(e,t){var l;const n={...n0,...t},s=Al(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=bt(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?i0(i,o,n.watch&&n.watch!=="shallow"):be(i);{let f=null;try{!Zr&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Em(a.value,s[e])||(o0(e,a.value,n),s[e]=bt(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=g=>{var v;const p=g.refresh?(v=Al(n))==null?void 0:v[e]:n.decode(g.value);d=!0,a.value=p,s[e]=bt(p),dn(()=>{d=!1})};let d=!1;const c=!!Ns();if(c&&Co(()=>{d=!0,u(),f==null||f.close()}),Zr){const g=p=>{const v=p.changed.find(E=>E.name===e);v&&h({value:v.value})};Zr.addEventListener("change",g),c&&Co(()=>Zr.removeEventListener("change",g))}else f&&(f.onmessage=({data:g})=>h(g));n.watch?at(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function Al(e={}){return gm(document.cookie,e)}function s0(e,t,n={}){return t==null?Qa(e,t,{...n,maxAge:-1}):Qa(e,t,n)}function o0(e,t,n={}){document.cookie=s0(e,t,n)}const Il=2147483647;function i0(e,t,n){let s,o,r=0;const i=n?be(e):{value:e};return Ns()&&Co(()=>{o==null||o(),clearTimeout(s)}),hh((a,l)=>{n&&(o=at(i,l));function f(){r=0,clearTimeout(s);const u=t-r,h=u<Il?u:Il;s=setTimeout(()=>{if(r+=h,r<t)return f();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){f(),i.value=u,l()}}})}/*!
|
||
* shared v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Ss=typeof window<"u",pn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),a0=(e,t,n)=>l0({l:e,k:t,s:n}),l0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ue=e=>typeof e=="number"&&isFinite(e),c0=e=>$f(e)==="[object Date]",bs=e=>$f(e)==="[object RegExp]",Js=e=>pe(e)&&Object.keys(e).length===0,Me=Object.assign;let Ol;const Yi=()=>Ol||(Ol=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nl(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const u0=Object.prototype.hasOwnProperty;function Cs(e,t){return u0.call(e,t)}const Ne=Array.isArray,Se=e=>typeof e=="function",Z=e=>typeof e=="string",Ae=e=>typeof e=="boolean",f0=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",d0=e=>he(e)&&Se(e.then)&&Se(e.catch),Ff=Object.prototype.toString,$f=e=>Ff.call(e),pe=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},h0=e=>e==null?"":Ne(e)||pe(e)&&e.toString===Ff?JSON.stringify(e,null,2):String(e);function Ji(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function qs(e){let t=e;return()=>++t}function p0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const es=e=>!he(e)||Ne(e);function Tn(e,t){if(es(e)||es(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=>{es(s[r])||es(o[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]})})}}const Ln=["en","it"],Ps={en:[{key:"../locales/en-US/general.ts",load:()=>Ye(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>Ye(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>Ye(()=>import("./DNoOLGtr.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>Ye(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>Ye(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>Ye(()=>import("./DrtRviTy.js"),[],import.meta.url),cache:!0}]},g0=[],Qs=[{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"}]}],Hf="@nuxtjs/i18n",m0=!1,v0="nuxtI18n",y0="i18n_redirected",Ml="nuxt-i18n-slp",_0=typeof window<"u";function x0(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function E0(e){return e!=null&&"global"in e&&"mode"in e}function w0(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Fe(e.locale)}function Bf(e){return e!=null&&"__composer"in e}function gn(e){return E0(e)?e.global:e}function zn(e){const t=gn(e);return w0(t)?t:Bf(t)?t.__composer:t}function zs(e){return te(gn(e).locale)}function S0(e){return te(gn(e).locales)}function b0(e){return te(gn(e).localeCodes)}function Uf(e,t){const n=gn(e);Fe(n.locale)?n.locale.value=t:n.locale=t}function Vf(e){return Z(e)?e:f0(e)?e.toString():"(null)"}function Dl(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r}){let i=Vf(e)+(s==="no_prefix"?"":o+t);return t===n&&s==="prefix_and_default"&&(i+=o+r),i}function Fl(e,t){return Se(e)?e(t):e}function C0(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(a=>a.iso.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const P0=C0;function T0(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const L0=T0;function R0(e,t,{matcher:n=P0,comparer:s=L0}={}){const o=[];for(const i of e){const{code:a}=i,l=i.iso||a;o.push({code:a,iso:l})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function Ts(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const k0="$s";function jf(...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=k0+n,r=ye(),i=zc(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Fe(a))return r.payload.state[o]=a,a;i.value=a}return i}const vr=new Map;async function A0(e,t){const n={messages:{}};for(const s of e){const{default:o}=await s(),r=Se(o)?await t.runWithContext(async()=>await o()):o;Tn(r,n)}return n}function Wf(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 Z(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function I0(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=Wf(i,[s,o]);await Promise.all(f.map(u=>$l(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(f=>$l(f,t,e))),e}async function O0(e,{key:t,load:n}){let s=null;try{const o=await n().then(r=>r.default||r);Se(o)?s=await o(e):(s=o,s!=null&&vr&&vr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Ls(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;vr&&vr.has(r.key)&&r.cache?i=vr.get(r.key):i=await O0(e,r),i!=null&&Tn(i,o)}n(e,o)}async function $l(e,t,n){await Ls(e,t,(o,r)=>{const i=n[o]||{};Tn(r,i),n[o]=i})}function N0(e,t){return[e.slice(0,t),e.slice(t)]}function M0(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:a,redirectedFrom:l,matched:f}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:a,matched:f,redirectedFrom:l}}function D0({router:e},t,n,s){var f,u;if(n!=="prefix")return e.resolve(t);const[o,r]=N0(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=(u=(f=e.options)==null?void 0:f.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=Me({},t,a);return l.path=i,e.resolve(l)}const F0=new Set(["prefix_and_default","prefix_except_default"]);function $0(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&F0.has(s))&&s!=="no_prefix"}const H0=$0;function Zn(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=te(t);return s==null||!s.name?void 0:Vf(s.name).split(n)[0]}function Zs(e,t,n){var o;if(typeof t=="string"&&Et(t,{acceptRelative:!0}))return t;const s=eo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function qi(e,t,n){return eo(e,t,n)??void 0}function B0(e,t,n){return eo(e,t,n)??void 0}function eo(e,t,n){const{router:s,i18n:o}=e,r=n||zs(o),{routesNameSeparator:i,defaultLocale:a,defaultLocaleRouteNameSuffix:l,strategy:f,trailingSlash:u}=e.runtimeConfig.public.i18n,h=t_(e.runtimeConfig);let d;if(Z(t))if(t[0]==="/"){const{pathname:p,search:v,hash:E}=Wo(t),S=Hi(v);d={path:p,query:S,hash:E}}else d={name:t};else d=t;let c=Me({},d);if((p=>"path"in p&&!!p.path&&!("name"in p))(c)){const p=D0(e,c,f,r),v=Zn(e,p);Z(v)?(c={name:Dl(v,r,{defaultLocale:a,strategy:f,routesNameSeparator:i,defaultLocaleRouteNameSuffix:l}),params:p.params,query:p.query,hash:p.hash},c.state=p.state):(h({currentLocale:r,defaultLocale:a,strategy:f})&&(c.path=`/${r}${c.path}`),c.path=u?Cr(c.path,!0):Mr(c.path,!0))}else!c.name&&!("path"in c)&&(c.name=Zn(e,s.currentRoute.value)),c.name=Dl(c.name,r,{defaultLocale:a,strategy:f,routesNameSeparator:i,defaultLocaleRouteNameSuffix:l});try{const p=s.resolve(c);return p.name?p:s.resolve(t)}catch(p){if(typeof p=="object"&&"type"in p&&p.type===1)return null}}const U0=e=>e;function V0(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((s=te(n))==null?void 0:s[v0])||{}}function er(e,t,n){const s=n??e.router.currentRoute.value,o=Zn(e,s);if(!o)return"";const r=n_(e.runtimeConfig),i=M0(s),a=V0(e,s)[t],l={...i,name:o,params:{...i.params,...a}},f=Zs(e,l,t);return r(f,t)}function Kf(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=ct().public.i18n,r=zn(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=zs(e.i18n),l=S0(e.i18n),f=x0(l).find(d=>d.code===a)||{code:a},u=f.iso,h=f.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...j0(e,te(l),s),...W0(e,s,n)),i.meta.push(...K0(e,s,n),...G0(f,u,s),...X0(te(l),u,s))),i}function Qi(){const e=ye(),t=zn(e.$i18n);return In(te(t.baseUrl),e.$config.app.baseURL)}function j0(e,t,n){const s=Qi(),{defaultLocale:o,strategy:r}=ct().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const f=l.iso;if(!f){console.warn("Locale ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=er(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:ii(u,s),hreflang:l})}if(o){const l=er(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:ii(l,s),hreflang:"x-default"})}return i}function Gf(e,t,n){const s=e.router.currentRoute.value,o=qi(e,{...s,path:void 0,name:Zn(e,s)});if(!o)return"";let r=ii(o.path,t);const i=he(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];Ne(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function W0(e,t,n){const s=Qi(),o=Gf(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function K0(e,t,n){const s=Qi(),o=Gf(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function G0(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:Xf(t)}]}function X0(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:Xf(o.iso)}))}function Xf(e){return(e||"").replace(/-/g,"_")}function ii(e,t){return e.match(/^https?:\/\//)?e:In(t,e)}function Y0(e,t){return Fr(e,"setLocale",t)}function J0(e,t){return Fr(e,"setLocaleCookie",t)}function Yf(e,t,n){return Fr(e,"mergeLocaleMessage",t,n)}async function q0(e,t,n,s,o){return Fr(e,"onBeforeLanguageSwitch",t,n,s,o)}function Q0(e,t,n){return Fr(e,"onLanguageSwitched",t,n)}function zi(e){return{i18n:e??ye().$i18n,router:ze(),runtimeConfig:ct(),metaState:jf("nuxt-i18n-meta",()=>({}))}}async function Hl(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=$r(n),l=ye(),f=zs(t),u=b0(t);function h(c=f){a===!1||!a.useCookie||r||J0(t,c)}if(!e||!s&&o||f===e)return h(),!1;const d=await q0(t,f,e,s,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=s_(t,"fallbackLocale"),g=(p,v)=>Yf(t,p,v);if(c){const p=Wf(c,[e]);await Promise.all(p.map(v=>Ls(v,Ps,g)))}await Ls(e,Ps,g)}return r?!1:(h(e),Uf(t,e),await Q0(t,f,e),!0)}function Bl(e,t,n,s,o,r){const{strategy:i,defaultLocale:a,differentDomains:l}=r,f=$r(r),u=Se(s)?s():s,{ssg:h,callType:d,firstAccess:c,localeCookie:g}=o,{locale:p,stat:v,reason:E,from:S}=f?zf(e,n,o,u):Qf;if(E==="detect_ignore_on_ssg")return u;if((S==="navigator_or_header"||S==="cookie"||S==="fallback")&&p)return p;let y=p;return y||(l?y=l_(Qs,i,e):i!=="no_prefix"?y=t(e):f||(y=u)),!y&&f&&f.useCookie&&(y=g||""),y||(y=a||""),y}function Ul({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ye(),r=zi(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:f}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(f,t);Z(u)&&u&&!jo(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=er(r,t,e.to);Z(u)&&u&&!jo(u,f)&&!u.startsWith("//")&&(l=u)}return l}function z0(e){return he(e)&&"path"in e&&"statusCode"in e}const Z0=()=>jf(Hf+":redirect",()=>"");function Vl(e,t){return df(e,{redirectCode:t})}async function jl(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,skipSettingLocaleOnNavigate:f}=s.$config.public.i18n;let{redirectPath:u}=e;if(i.path==="/"&&a)return Z(a)?u="/"+a:z0(a)&&(u="/"+a.path,t=a.statusCode),u=s.$localePath(u,r),Vl(u,t);if(!(f&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(h=>{o.__resolvePendingLocalePromise=h}),!n))){if(l){const h=Z0();h.value&&h.value!==u&&(h.value="",window.location.assign(u))}else if(u)return Vl(u,t)}}function e_(e,t){Mn(e,"$i18n",gn(t)),Mn(e,"$getRouteBaseName",ot(Zn)),Mn(e,"$localePath",ot(Zs)),Mn(e,"$localeRoute",ot(qi)),Mn(e,"$switchLocalePath",ot(er)),Mn(e,"$localeHead",ot(Kf))}function t_(e=ct()){return t=>H0(t)&&!e.public.i18n.differentDomains}function n_(e=ct()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=Zf(n);return s?In(s,t):t}else return U0(t)}}function r_(){return()=>{const e=ye(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(Se(t))return t(e);const o=Se(n)?n():n;if(s&&o){const r=Zf(o);if(r)return r}return t}}function Jf(e){return Hf+" "+e}function Fr(e,t,...n){const s=gn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function s_(e,t){const n=gn(e);return te(n[t])}function Mn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ot(e,t=zi()){return(...n)=>e(t,...n)}function qf(){let e;return navigator.languages&&(e=R0(Qs,navigator.languages)),e}function o_(){const e=$r(),t=e&&e.cookieKey||y0,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),r0(t,s)}function ts(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(Ln.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function i_(e,t,n){n===!1||!n.useCookie||(e.value=t)}const Qf={locale:"",stat:!1,reason:"unknown",from:"unknown"};function zf(e,t,n,s=""){const{strategy:o}=ct().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=n;if(o==="no_prefix"&&r==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!a)return{locale:o==="no_prefix"?s:"",stat:!1,reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=$r(),c=Z(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(Ts(Ln)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let g="unknown",p,v;h&&(v=p=l,g="cookie"),v||(v=qf(),g="navigator_or_header");const E=v||d;!v&&d&&(g="fallback");const S=s||t;if(E&&(!h||u||!p)){if(o==="no_prefix")return{locale:E,stat:!0,from:g};if(i==="setup"&&E!==S)return{locale:E,stat:!0,from:g};if(u){const y=c==="/",_=f==="all",m=f==="no prefix"&&!c.match(Ts(Ln));if(y||_||m)return{locale:E,stat:!0,from:g}}}return r==="ssg_setup"&&E?{locale:E,stat:!0,from:g}:(g==="navigator_or_header"||g==="cookie")&&E?{locale:E,stat:!0,from:g}:{locale:"",stat:!1,reason:"not_found_match"}}function a_(){let e;return e=window.location.host,e}function l_(e,t,n){let s=a_()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return Et(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===s}return!1});if(r.length===1)o=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(Jf("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:Z(n)?n:"";if(i&&i!==""){const a=i.match(Ts(r.map(l=>l.code)));a&&a.length>1&&(o=r.find(l=>l.code===a[1]))}}o||(o=r.find(i=>i.domainDefault))}if(o)return o.code;s=""}return s}function Zf(e){var r,i;const t=ct();ye();const n=t.public.i18n,s=Qs.find(a=>a.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 a;return a=new URL(window.location.origin).protocol,a+"//"+o}console.warn(Jf("Could not find domain name for locale "+e))}const $r=(e=ct().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
|
||
* message-compiler v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function c_(e,t,n){return{line:e,column:t,offset:n}}function Rs(e,t,n){return{start:e,end:t}}const ed={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function u_(e,t,...n){const o={message:String(e),code:e};return t&&(o.location=t),o}const Ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function to(e,t,n={}){const{domain:s,messages:o,args:r}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=s,a}function f_(e){throw e}const Dt=" ",d_="\r",et=`
|
||
`,h_="\u2028",p_="\u2029";function g_(e){const t=e;let n=0,s=1,o=1,r=0;const i=w=>t[w]===d_&&t[w+1]===et,a=w=>t[w]===et,l=w=>t[w]===p_,f=w=>t[w]===h_,u=w=>i(w)||a(w)||l(w)||f(w),h=()=>n,d=()=>s,c=()=>o,g=()=>r,p=w=>i(w)||l(w)||f(w)?et:t[w],v=()=>p(n),E=()=>p(n+r);function S(){return r=0,u(n)&&(s++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,s=1,o=1,r=0}function m(w=0){r=w}function x(){const w=n+r;for(;w!==n;)S();r=0}return{index:h,line:d,column:c,peekOffset:g,charAt:p,currentChar:v,currentPeek:E,next:S,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const Jt=void 0,m_=".",Wl="'",v_="tokenizer";function y_(e,t={}){const n=t.location!==!1,s=g_(e),o=()=>s.index(),r=()=>c_(s.line(),s.column(),s.index()),i=r(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>l,{onError:u}=t;function h(L,R,O,...U){const q=f();if(R.column+=O,R.offset+=O,u){const G=n?Rs(q.startLoc,R):null,M=to(L,G,{domain:v_,args:U});u(M)}}function d(L,R,O){L.endLoc=r(),L.currentType=R;const U={type:R};return n&&(U.loc=Rs(L.startLoc,L.endLoc)),O!=null&&(U.value=O),U}const c=L=>d(L,14);function g(L,R){return L.currentChar()===R?(L.next(),R):(h(Ee.EXPECTED_TOKEN,r(),0,R),"")}function p(L){let R="";for(;L.currentPeek()===Dt||L.currentPeek()===et;)R+=L.currentPeek(),L.peek();return R}function v(L){const R=p(L);return L.skipToPeek(),R}function E(L){if(L===Jt)return!1;const R=L.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R===95}function S(L){if(L===Jt)return!1;const R=L.charCodeAt(0);return R>=48&&R<=57}function y(L,R){const{currentType:O}=R;if(O!==2)return!1;p(L);const U=E(L.currentPeek());return L.resetPeek(),U}function _(L,R){const{currentType:O}=R;if(O!==2)return!1;p(L);const U=L.currentPeek()==="-"?L.peek():L.currentPeek(),q=S(U);return L.resetPeek(),q}function m(L,R){const{currentType:O}=R;if(O!==2)return!1;p(L);const U=L.currentPeek()===Wl;return L.resetPeek(),U}function x(L,R){const{currentType:O}=R;if(O!==8)return!1;p(L);const U=L.currentPeek()===".";return L.resetPeek(),U}function w(L,R){const{currentType:O}=R;if(O!==9)return!1;p(L);const U=E(L.currentPeek());return L.resetPeek(),U}function b(L,R){const{currentType:O}=R;if(!(O===8||O===12))return!1;p(L);const U=L.currentPeek()===":";return L.resetPeek(),U}function C(L,R){const{currentType:O}=R;if(O!==10)return!1;const U=()=>{const G=L.currentPeek();return G==="{"?E(L.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Dt||!G?!1:G===et?(L.peek(),U()):T(L,!1)},q=U();return L.resetPeek(),q}function P(L){p(L);const R=L.currentPeek()==="|";return L.resetPeek(),R}function A(L){const R=p(L),O=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:O,hasSpace:R.length>0}}function T(L,R=!0){const O=(q=!1,G="",M=!1)=>{const F=L.currentPeek();return F==="{"?G==="%"?!1:q:F==="@"||!F?G==="%"?!0:q:F==="%"?(L.peek(),O(q,"%",!0)):F==="|"?G==="%"||M?!0:!(G===Dt||G===et):F===Dt?(L.peek(),O(!0,Dt,M)):F===et?(L.peek(),O(!0,et,M)):!0},U=O();return R&&L.resetPeek(),U}function N(L,R){const O=L.currentChar();return O===Jt?Jt:R(O)?(L.next(),O):null}function j(L){const R=L.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R>=48&&R<=57||R===95||R===36}function H(L){return N(L,j)}function V(L){const R=L.charCodeAt(0);return R>=97&&R<=122||R>=65&&R<=90||R>=48&&R<=57||R===95||R===36||R===45}function W(L){return N(L,V)}function X(L){const R=L.charCodeAt(0);return R>=48&&R<=57}function le(L){return N(L,X)}function ue(L){const R=L.charCodeAt(0);return R>=48&&R<=57||R>=65&&R<=70||R>=97&&R<=102}function ce(L){return N(L,ue)}function ne(L){let R="",O="";for(;R=le(L);)O+=R;return O}function Ce(L){v(L);const R=L.currentChar();return R!=="%"&&h(Ee.EXPECTED_TOKEN,r(),0,R),L.next(),"%"}function _e(L){let R="";for(;;){const O=L.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O==="%")if(T(L))R+=O,L.next();else break;else if(O===Dt||O===et)if(T(L))R+=O,L.next();else{if(P(L))break;R+=O,L.next()}else R+=O,L.next()}return R}function De(L){v(L);let R="",O="";for(;R=W(L);)O+=R;return L.currentChar()===Jt&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),O}function fe(L){v(L);let R="";return L.currentChar()==="-"?(L.next(),R+=`-${ne(L)}`):R+=ne(L),L.currentChar()===Jt&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),R}function B(L){return L!==Wl&&L!==et}function J(L){v(L),g(L,"'");let R="",O="";for(;R=N(L,B);)R==="\\"?O+=z(L):O+=R;const U=L.currentChar();return U===et||U===Jt?(h(Ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),U===et&&(L.next(),g(L,"'")),O):(g(L,"'"),O)}function z(L){const R=L.currentChar();switch(R){case"\\":case"'":return L.next(),`\\${R}`;case"u":return ee(L,R,4);case"U":return ee(L,R,6);default:return h(Ee.UNKNOWN_ESCAPE_SEQUENCE,r(),0,R),""}}function ee(L,R,O){g(L,R);let U="";for(let q=0;q<O;q++){const G=ce(L);if(!G){h(Ee.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${R}${U}${L.currentChar()}`);break}U+=G}return`\\${R}${U}`}function de(L){return L!=="{"&&L!=="}"&&L!==Dt&&L!==et}function xe(L){v(L);let R="",O="";for(;R=N(L,de);)O+=R;return O}function k(L){let R="",O="";for(;R=H(L);)O+=R;return O}function I(L){const R=O=>{const U=L.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===Dt?O:(O+=U,L.next(),R(O))};return R("")}function D(L){v(L);const R=g(L,"|");return v(L),R}function K(L,R){let O=null;switch(L.currentChar()){case"{":return R.braceNest>=1&&h(Ee.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),L.next(),O=d(R,2,"{"),v(L),R.braceNest++,O;case"}":return R.braceNest>0&&R.currentType===2&&h(Ee.EMPTY_PLACEHOLDER,r(),0),L.next(),O=d(R,3,"}"),R.braceNest--,R.braceNest>0&&v(L),R.inLinked&&R.braceNest===0&&(R.inLinked=!1),O;case"@":return R.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),O=$(L,R)||c(R),R.braceNest=0,O;default:{let q=!0,G=!0,M=!0;if(P(L))return R.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),O=d(R,1,D(L)),R.braceNest=0,R.inLinked=!1,O;if(R.braceNest>0&&(R.currentType===5||R.currentType===6||R.currentType===7))return h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),R.braceNest=0,Y(L,R);if(q=y(L,R))return O=d(R,5,De(L)),v(L),O;if(G=_(L,R))return O=d(R,6,fe(L)),v(L),O;if(M=m(L,R))return O=d(R,7,J(L)),v(L),O;if(!q&&!G&&!M)return O=d(R,13,xe(L)),h(Ee.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,O.value),v(L),O;break}}return O}function $(L,R){const{currentType:O}=R;let U=null;const q=L.currentChar();switch((O===8||O===9||O===12||O===10)&&(q===et||q===Dt)&&h(Ee.INVALID_LINKED_FORMAT,r(),0),q){case"@":return L.next(),U=d(R,8,"@"),R.inLinked=!0,U;case".":return v(L),L.next(),d(R,9,".");case":":return v(L),L.next(),d(R,10,":");default:return P(L)?(U=d(R,1,D(L)),R.braceNest=0,R.inLinked=!1,U):x(L,R)||b(L,R)?(v(L),$(L,R)):w(L,R)?(v(L),d(R,12,k(L))):C(L,R)?(v(L),q==="{"?K(L,R)||U:d(R,11,I(L))):(O===8&&h(Ee.INVALID_LINKED_FORMAT,r(),0),R.braceNest=0,R.inLinked=!1,Y(L,R))}}function Y(L,R){let O={type:14};if(R.braceNest>0)return K(L,R)||c(R);if(R.inLinked)return $(L,R)||c(R);switch(L.currentChar()){case"{":return K(L,R)||c(R);case"}":return h(Ee.UNBALANCED_CLOSING_BRACE,r(),0),L.next(),d(R,3,"}");case"@":return $(L,R)||c(R);default:{if(P(L))return O=d(R,1,D(L)),R.braceNest=0,R.inLinked=!1,O;const{isModulo:q,hasSpace:G}=A(L);if(q)return G?d(R,0,_e(L)):d(R,4,Ce(L));if(T(L))return d(R,0,_e(L));break}}return O}function Q(){const{currentType:L,offset:R,startLoc:O,endLoc:U}=l;return l.lastType=L,l.lastOffset=R,l.lastStartLoc=O,l.lastEndLoc=U,l.offset=o(),l.startLoc=r(),s.currentChar()===Jt?d(l,14):Y(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:f}}const __="parser",x_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function E_(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 w_(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function o(y,_,m,x,...w){const b=y.currentPosition();if(b.offset+=x,b.column+=x,n){const C=t?Rs(m,b):null,P=to(_,C,{domain:__,args:w});n(P)}}function r(y,_,m,x,...w){const b=y.currentPosition();if(b.offset+=x,b.column+=x,s){const C=t?Rs(m,b):null;s(u_(_,C,w))}}function i(y,_,m){const x={type:y};return t&&(x.start=_,x.end=_,x.loc={start:m,end:m}),x}function a(y,_,m,x){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),x=i(3,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function f(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:w}=m,b=i(5,x,w);return b.index=parseInt(_,10),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function u(y,_,m){const x=y.context(),{lastOffset:w,lastStartLoc:b}=x,C=i(4,w,b);return C.key=_,m===!0&&(C.modulo=!0),y.nextToken(),a(C,y.currentOffset(),y.currentPosition()),C}function h(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:w}=m,b=i(9,x,w);return b.value=_.replace(x_,E_),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:w}=m,b=i(8,x,w);return _.type!==12?(o(y,Ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),b.value="",a(b,x,w),{nextConsumeToken:_,node:b}):(_.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,wt(_)),b.value=_.value||"",a(b,y.currentOffset(),y.currentPosition()),{node:b})}function c(y,_){const m=y.context(),x=i(7,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function g(y){const _=y.context(),m=i(6,_.offset,_.startLoc);let x=y.nextToken();if(x.type===9){const w=d(y);m.modifier=w.node,x=w.nextConsumeToken||y.nextToken()}switch(x.type!==10&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(x)),x=y.nextToken(),x.type===2&&(x=y.nextToken()),x.type){case 11:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(x)),m.key=f(y,x.value||"");break;case 7:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(x)),m.key=h(y,x.value||"");break;default:{o(y,Ee.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const w=y.context(),b=i(7,w.offset,w.startLoc);return b.value="",a(b,w.offset,w.startLoc),m.key=b,a(m,w.offset,w.startLoc),{nextConsumeToken:x,node:m}}}return a(m,y.currentOffset(),y.currentPosition()),{node:m}}function p(y){const _=y.context(),m=_.currentType===1?y.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,w=i(2,m,x);w.items=[];let b=null,C=null;do{const T=b||y.nextToken();switch(b=null,T.type){case 0:T.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(T)),w.items.push(l(y,T.value||""));break;case 6:T.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(T)),w.items.push(f(y,T.value||""));break;case 4:C=!0;break;case 5:T.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(T)),w.items.push(u(y,T.value||"",!!C)),C&&(r(y,ed.USE_MODULO_SYNTAX,_.lastStartLoc,0,wt(T)),C=null);break;case 7:T.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(T)),w.items.push(h(y,T.value||""));break;case 8:{const N=g(y);w.items.push(N.node),b=N.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const P=_.currentType===1?_.lastOffset:y.currentOffset(),A=_.currentType===1?_.lastEndLoc:y.currentPosition();return a(w,P,A),w}function v(y,_,m,x){const w=y.context();let b=x.items.length===0;const C=i(1,_,m);C.cases=[],C.cases.push(x);do{const P=p(y);b||(b=P.items.length===0),C.cases.push(P)}while(w.currentType!==14);return b&&o(y,Ee.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(C,y.currentOffset(),y.currentPosition()),C}function E(y){const _=y.context(),{offset:m,startLoc:x}=_,w=p(y);return _.currentType===14?w:v(y,m,x,w)}function S(y){const _=y_(y,Me({},e)),m=_.context(),x=i(0,m.offset,m.startLoc);return t&&x.loc&&(x.loc.source=y),x.body=E(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(y)),m.currentType!==14&&o(_,Ee.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(x,_.currentOffset(),_.currentPosition()),x}return{parse:S}}function wt(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 S_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Kl(e,t){for(let n=0;n<e.length;n++)Zi(e[n],t)}function Zi(e,t){switch(e.type){case 1:Kl(e.cases,t),t.helper("plural");break;case 2:Kl(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 b_(e,t={}){const n=S_(e);n.helper("normalize"),e.body&&Zi(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function C_(e){const t=e.body;return t.type===2?Gl(t):t.cases.forEach(n=>Gl(n)),e}function Gl(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=Ji(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 P_(e,t){const{sourceMap:n,filename:s,breakLineCode:o,needIndent:r}=t,i=t.location!==!1,a={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function f(v,E){a.code+=v}function u(v,E=!0){const S=E?o:"";f(r?S+" ".repeat(v):S)}function h(v=!0){const E=++a.indentLevel;v&&u(E)}function d(v=!0){const E=--a.indentLevel;v&&u(E)}function c(){u(a.indentLevel)}return{context:l,push:f,indent:h,deindent:d,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function T_(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),tr(e,t.key),t.modifier?(e.push(", "),tr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function L_(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&&(tr(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function R_(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&&(tr(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function k_(e,t){t.body?tr(e,t.body):e.push("null")}function tr(e,t){const{helper:n}=e;switch(t.type){case 0:k_(e,t);break;case 1:R_(e,t);break;case 2:L_(e,t);break;case 6:T_(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 A_=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=P_(e,{mode:n,filename:s,sourceMap:o,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${Ji(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),tr(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:f,map:u}=l.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function I_(e,t={}){const n=Me({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=w_(n).parse(e);return s?(r&&C_(a),o&&Fn(a),{ast:a,code:""}):(b_(a,n),A_(a,n))}/*!
|
||
* core-base v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function O_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yi().__INTLIFY_PROD_DEVTOOLS__=!1)}const mn=[];mn[0]={w:[0],i:[3,0],"[":[4],o:[7]};mn[1]={w:[1],".":[2],"[":[4],o:[7]};mn[2]={w:[2],i:[3,0],0:[3,0]};mn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mn[5]={"'":[4,0],o:8,l:[5,0]};mn[6]={'"':[4,0],o:8,l:[6,0]};const N_=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function M_(e){return N_.test(e)}function D_(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 F_(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 $_(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:M_(t)?D_(t):"*"+t}function H_(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,f,u,h;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,s=4,d[0]();else{if(o=0,i===void 0||(i=$_(i),i===!1))return!1;d[1]()}};function c(){const g=e[n+1];if(s===5&&g==="'"||s===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=F_(r),h=mn[s],f=h[l]||h.l||8,f===8||(s=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const Xl=new Map;function B_(e,t){return he(e)?e[t]:null}function U_(e,t){if(!he(e))return null;let n=Xl.get(t);if(n||(n=H_(t),n&&Xl.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||Se(o))return null;o=i,r++}return o}const V_=e=>e,j_=e=>"",W_="text",K_=e=>e.length===0?"":Ji(e),G_=h0;function Yl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function X_(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 Y_(e,t){t.count||(t.count=e),t.n||(t.n=e)}function J_(e={}){const t=e.locale,n=X_(e),s=he(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:Yl,o=he(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?Yl:void 0,r=E=>E[s(n,E.length,o)],i=e.list||[],a=E=>i[E],l=e.named||{};Ue(e.pluralIndex)&&Y_(n,l);const f=E=>l[E];function u(E){const S=Se(e.messages)?e.messages(E):he(e.messages)?e.messages[E]:!1;return S||(e.parent?e.parent.message(E):j_)}const h=E=>e.modifiers?e.modifiers[E]:V_,d=pe(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:K_,c=pe(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:G_,g=pe(e.processor)&&Z(e.processor.type)?e.processor.type:W_,v={list:a,named:f,plural:r,linked:(E,...S)=>{const[y,_]=S;let m="text",x="";S.length===1?he(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):S.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const w=u(E)(v),b=m==="vnode"&&Ne(w)&&x?w[0]:w;return x?h(x)(b,m):b},message:u,type:g,interpolate:c,normalize:d,values:Me({},i,l)};return v}let Lr=null;function q_(e){Lr=e}function Q_(e,t,n){Lr&&Lr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const z_=Z_("function:translate");function Z_(e){return t=>Lr&&Lr.emit(e,t)}const td=ed.__EXTEND_POINT__,xn=qs(td),ex={NOT_FOUND_KEY:td,FALLBACK_TO_TRANSLATE:xn(),CANNOT_FORMAT_NUMBER:xn(),FALLBACK_TO_NUMBER_FORMAT:xn(),CANNOT_FORMAT_DATE:xn(),FALLBACK_TO_DATE_FORMAT:xn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:xn(),__EXTEND_POINT__:xn()},nd=Ee.__EXTEND_POINT__,En=qs(nd),Nt={INVALID_ARGUMENT:nd,INVALID_DATE_ARGUMENT:En(),INVALID_ISO_DATE_ARGUMENT:En(),NOT_SUPPORT_NON_STRING_MESSAGE:En(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:En(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:En(),NOT_SUPPORT_LOCALE_TYPE:En(),__EXTEND_POINT__:En()};function Ut(e){return to(e,null,void 0)}function ea(e,t){return t.locale!=null?Jl(t.locale):Jl(e.locale)}let wo;function Jl(e){if(Z(e))return e;if(Se(e)){if(e.resolvedOnce&&wo!=null)return wo;if(e.constructor.name==="Function"){const t=e();if(d0(t))throw Ut(Nt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wo=t}else throw Ut(Nt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ut(Nt.NOT_SUPPORT_LOCALE_TYPE)}function tx(e,t,n){return[...new Set([n,...Ne(t)?t:he(t)?Object.keys(t):Z(t)?[t]:[n]])]}function rd(e,t,n){const s=Z(n)?n:ks,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;Ne(i);)i=ql(r,i,t);const a=Ne(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,Ne(i)&&ql(r,i,!1),o.__localeChainCache.set(s,r)}return r}function ql(e,t,n){let s=!0;for(let o=0;o<t.length&&Ae(s);o++){const r=t[o];Z(r)&&(s=nx(e,t[o],n))}return s}function nx(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=rx(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function rx(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 sx="9.13.1",no=-1,ks="en-US",Ql="",zl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ox(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?zl(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?zl(e.children):e}}let sd;function ix(e){sd=e}let od;function ax(e){od=e}let id;function lx(e){id=e}let ad=null;const cx=e=>{ad=e},ux=()=>ad;let ld=null;const Zl=e=>{ld=e},fx=()=>ld;let ec=0;function dx(e={}){const t=Se(e.onWarn)?e.onWarn:p0,n=Z(e.version)?e.version:sx,s=Z(e.locale)||Se(e.locale)?e.locale:ks,o=Se(s)?ks:s,r=Ne(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:{[o]:{}},a=pe(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=pe(e.numberFormats)?e.numberFormats:{[o]:{}},f=Me({},e.modifiers||{},ox()),u=e.pluralRules||{},h=Se(e.missing)?e.missing:null,d=Ae(e.missingWarn)||bs(e.missingWarn)?e.missingWarn:!0,c=Ae(e.fallbackWarn)||bs(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,p=!!e.unresolving,v=Se(e.postTranslation)?e.postTranslation:null,E=pe(e.processor)?e.processor:null,S=Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=Se(e.messageCompiler)?e.messageCompiler:sd,m=Se(e.messageResolver)?e.messageResolver:od||B_,x=Se(e.localeFallbacker)?e.localeFallbacker:id||tx,w=he(e.fallbackContext)?e.fallbackContext:void 0,b=e,C=he(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,P=he(b.__numberFormatters)?b.__numberFormatters:new Map,A=he(b.__meta)?b.__meta:{};ec++;const T={version:n,cid:ec,locale:s,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:g,unresolving:p,postTranslation:v,processor:E,warnHtmlMessage:S,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:w,onWarn:t,__meta:A};return T.datetimeFormats=a,T.numberFormats=l,T.__datetimeFormatters=C,T.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&Q_(T,n,A),T}function ta(e,t,n,s,o){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,o);return Z(a)?a:t}else return t}function ir(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function hx(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function px(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(hx(e,t[s]))return!0;return!1}function So(e){return n=>gx(n,e)}function gx(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,tc(e,i)],[]))}else return tc(e,n)}function tc(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,ai(e,r)],[]);return e.normalize(s)}}function ai(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(ai(e,s.k||s.key),o?ai(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 mx=e=>e;let ns=Object.create(null);const nr=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function vx(e,t={}){let n=!1;const s=t.onError||f_;return t.onError=o=>{n=!0,s(o)},{...I_(e,t),detectError:n}}function yx(e,t){if(Z(e)){Ae(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||mx)(e),o=ns[s];if(o)return o;const{ast:r,detectError:i}=vx(e,{...t,location:!1,jit:!0}),a=So(r);return i?a:ns[s]=a}else{const n=e.cacheKey;if(n){const s=ns[n];return s||(ns[n]=So(e))}else return So(e)}}const nc=()=>"",mt=e=>Se(e);function rc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=li(...t),u=Ae(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Ae(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,g=Z(f.default)||Ae(f.default)?Ae(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",p=n||g!=="",v=ea(e,f);d&&_x(f);let[E,S,y]=c?[l,v,a[v]||{}]:cd(e,l,v,i,h,u),_=E,m=l;if(!c&&!(Z(_)||nr(_)||mt(_))&&p&&(_=g,m=_),!c&&(!(Z(_)||nr(_)||mt(_))||!Z(S)))return o?no:l;let x=!1;const w=()=>{x=!0},b=mt(_)?_:ud(e,l,S,_,m,w);if(x)return _;const C=wx(e,S,y,f),P=J_(C),A=xx(e,b,P),T=s?s(A,l):A;if(__INTLIFY_PROD_DEVTOOLS__){const N={timestamp:Date.now(),key:Z(l)?l:mt(_)?_.key:"",locale:S||(mt(_)?_.locale:""),format:Z(_)?_:mt(_)?_.source:"",message:T};N.meta=Me({},e.__meta,ux()||{}),z_(N)}return T}function _x(e){Ne(e.list)?e.list=e.list.map(t=>Z(t)?Nl(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Nl(e.named[t]))})}function cd(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,s,n);let h={},d,c=null;const g="translate";for(let p=0;p<u.length&&(d=u[p],h=i[d]||{},(c=l(h,t))===null&&(c=h[t]),!(Z(c)||nr(c)||mt(c)));p++)if(!px(d,u)){const v=ta(e,t,d,r,g);v!==t&&(c=v)}return[c,d,h]}function ud(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(mt(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 l=i(s,Ex(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function xx(e,t,n){return t(n)}function li(...e){const[t,n,s]=e,o={};if(!Z(t)&&!Ue(t)&&!mt(t)&&!nr(t))throw Ut(Nt.INVALID_ARGUMENT);const r=Ue(t)?String(t):(mt(t),t);return Ue(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!Js(n)?o.named=n:Ne(n)&&(o.list=n),Ue(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&Me(o,s),[r,o]}function Ex(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>a0(t,n,i)}}function wx(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:r,messages:c=>{let g=i(n,c);if(g==null&&u){const[,,p]=cd(u,c,t,a,l,f);g=i(p,c)}if(Z(g)||nr(g)){let p=!1;const E=ud(e,c,t,g,c,()=>{p=!0});return p?nc:E}else return mt(g)?g:nc}};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 sc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=ci(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,g=ea(e,u),p=i(e,o,g);if(!Z(l)||l==="")return new Intl.DateTimeFormat(g,h).format(f);let v={},E,S=null;const y="datetime format";for(let x=0;x<p.length&&(E=p[x],v=n[E]||{},S=v[l],!pe(S));x++)ta(e,l,E,d,y);if(!pe(S)||!Z(E))return s?no:l;let _=`${E}__${l}`;Js(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(E,Me({},S,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const fd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ci(...e){const[t,n,s,o]=e,r={};let i={},a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ut(Nt.INVALID_ISO_DATE_ARGUMENT);const f=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(f);try{a.toISOString()}catch{throw Ut(Nt.INVALID_ISO_DATE_ARGUMENT)}}else if(c0(t)){if(isNaN(t.getTime()))throw Ut(Nt.INVALID_DATE_ARGUMENT);a=t}else if(Ue(t))a=t;else throw Ut(Nt.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{fd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function oc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function ic(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=ui(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,g=ea(e,u),p=i(e,o,g);if(!Z(l)||l==="")return new Intl.NumberFormat(g,h).format(f);let v={},E,S=null;const y="number format";for(let x=0;x<p.length&&(E=p[x],v=n[E]||{},S=v[l],!pe(S));x++)ta(e,l,E,d,y);if(!pe(S)||!Z(E))return s?no:l;let _=`${E}__${l}`;Js(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(E,Me({},S,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const dd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ui(...e){const[t,n,s,o]=e,r={};let i={};if(!Ue(t))throw Ut(Nt.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{dd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function ac(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}O_();/*!
|
||
* vue-i18n v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Sx="9.13.1";function bx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yi().__INTLIFY_PROD_DEVTOOLS__=!1)}const hd=ex.__EXTEND_POINT__,Ft=qs(hd);Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft();const pd=Nt.__EXTEND_POINT__,nt=qs(pd),_t={UNEXPECTED_RETURN_TYPE:pd,INVALID_ARGUMENT:nt(),MUST_BE_CALL_SETUP_TOP:nt(),NOT_INSTALLED:nt(),NOT_AVAILABLE_IN_LEGACY_MODE:nt(),REQUIRED_VALUE:nt(),INVALID_VALUE:nt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nt(),NOT_INSTALLED_WITH_PROVIDE:nt(),UNEXPECTED_ERROR:nt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nt(),BRIDGE_SUPPORT_VUE_2_ONLY:nt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nt(),__EXTEND_POINT__:nt()};function Lt(e,...t){return to(e,null,void 0)}const fi=pn("__translateVNode"),di=pn("__datetimeParts"),hi=pn("__numberParts"),Cx=pn("__setPluralRules"),Px=pn("__injectWithOption"),pi=pn("__dispose");function Rr(e){if(!he(e))return e;for(const t in e)if(Cs(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 gd(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:Ne(s)?{}:{[e]:{}};if(Ne(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||{},Tn(f,i[l])):Tn(f,i)}else Z(a)&&Tn(JSON.parse(a),i)}),o==null&&r)for(const a in i)Cs(i,a)&&Rr(i[a]);return i}function md(e){return e.type}function Tx(e,t,n){let s=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=gd(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 lc(e){return Ie(on,null,e,0)}const cc="__INTLIFY_META__",uc=()=>[],Lx=()=>!1;let fc=0;function dc(e){return(t,n,s,o)=>e(n,s,An()||void 0,o)}const Rx=()=>{const e=An();let t=null;return e&&(t=md(e)[cc])?{[cc]:t}:null};function vd(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Ss?be:Xn,a=!!e.translateExistCompatible;let l=Ae(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:ks),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||Ne(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(gd(f.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[f.value]:{}});let g=n?n.missingWarn:Ae(e.missingWarn)||bs(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:Ae(e.fallbackWarn)||bs(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,S=Se(e.missing)?e.missing:null,y=Se(e.missing)?dc(e.missing):null,_=Se(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const w=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,C;C=(()=>{o&&Zl(null);const M={version:Sx,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:w,pluralRules:b,missing:y===null?void 0:y,missingWarn:g,fallbackWarn:p,fallbackFormat:E,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(C)?C.__datetimeFormatters:void 0,M.__numberFormatters=pe(C)?C.__numberFormatters:void 0;const F=dx(M);return o&&Zl(F),F})(),ir(C,f.value,u.value);function A(){return[f.value,u.value,h.value,d.value,c.value]}const T=me({get:()=>f.value,set:M=>{f.value=M,C.locale=f.value}}),N=me({get:()=>u.value,set:M=>{u.value=M,C.fallbackLocale=u.value,ir(C,f.value,M)}}),j=me(()=>h.value),H=me(()=>d.value),V=me(()=>c.value);function W(){return Se(_)?_:null}function X(M){_=M,C.postTranslation=M}function le(){return S}function ue(M){M!==null&&(y=dc(M)),S=M,C.missing=y}const ce=(M,F,re,se,Te,Xe)=>{A();let ut;try{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=n?fx():void 0),ut=M(C)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=void 0)}if(re!=="translate exists"&&Ue(ut)&&ut===no||re==="translate exists"&&!ut){const[Hr,On]=F();return n&&v?se(n):Te(Hr)}else{if(Xe(ut))return ut;throw Lt(_t.UNEXPECTED_RETURN_TYPE)}};function ne(...M){return ce(F=>Reflect.apply(rc,null,[F,...M]),()=>li(...M),"translate",F=>Reflect.apply(F.t,F,[...M]),F=>F,F=>Z(F))}function Ce(...M){const[F,re,se]=M;if(se&&!he(se))throw Lt(_t.INVALID_ARGUMENT);return ne(F,re,Me({resolvedMessage:!0},se||{}))}function _e(...M){return ce(F=>Reflect.apply(sc,null,[F,...M]),()=>ci(...M),"datetime format",F=>Reflect.apply(F.d,F,[...M]),()=>Ql,F=>Z(F))}function De(...M){return ce(F=>Reflect.apply(ic,null,[F,...M]),()=>ui(...M),"number format",F=>Reflect.apply(F.n,F,[...M]),()=>Ql,F=>Z(F))}function fe(M){return M.map(F=>Z(F)||Ue(F)||Ae(F)?lc(String(F)):F)}const J={normalize:fe,interpolate:M=>M,type:"vnode"};function z(...M){return ce(F=>{let re;const se=F;try{se.processor=J,re=Reflect.apply(rc,null,[se,...M])}finally{se.processor=null}return re},()=>li(...M),"translate",F=>F[fi](...M),F=>[lc(F)],F=>Ne(F))}function ee(...M){return ce(F=>Reflect.apply(ic,null,[F,...M]),()=>ui(...M),"number format",F=>F[hi](...M),uc,F=>Z(F)||Ne(F))}function de(...M){return ce(F=>Reflect.apply(sc,null,[F,...M]),()=>ci(...M),"datetime format",F=>F[di](...M),uc,F=>Z(F)||Ne(F))}function xe(M){b=M,C.pluralRules=b}function k(M,F){return ce(()=>{if(!M)return!1;const re=Z(F)?F:f.value,se=K(re),Te=C.messageResolver(se,M);return a?Te!=null:nr(Te)||mt(Te)||Z(Te)},()=>[M],"translate exists",re=>Reflect.apply(re.te,re,[M,F]),Lx,re=>Ae(re))}function I(M){let F=null;const re=rd(C,u.value,f.value);for(let se=0;se<re.length;se++){const Te=h.value[re[se]]||{},Xe=C.messageResolver(Te,M);if(Xe!=null){F=Xe;break}}return F}function D(M){const F=I(M);return F??(n?n.tm(M)||{}:{})}function K(M){return h.value[M]||{}}function $(M,F){if(r){const re={[M]:F};for(const se in re)Cs(re,se)&&Rr(re[se]);F=re[M]}h.value[M]=F,C.messages=h.value}function Y(M,F){h.value[M]=h.value[M]||{};const re={[M]:F};if(r)for(const se in re)Cs(re,se)&&Rr(re[se]);F=re[M],Tn(F,h.value[M]),C.messages=h.value}function Q(M){return d.value[M]||{}}function L(M,F){d.value[M]=F,C.datetimeFormats=d.value,oc(C,M,F)}function R(M,F){d.value[M]=Me(d.value[M]||{},F),C.datetimeFormats=d.value,oc(C,M,F)}function O(M){return c.value[M]||{}}function U(M,F){c.value[M]=F,C.numberFormats=c.value,ac(C,M,F)}function q(M,F){c.value[M]=Me(c.value[M]||{},F),C.numberFormats=c.value,ac(C,M,F)}fc++,n&&Ss&&(at(n.locale,M=>{l&&(f.value=M,C.locale=M,ir(C,f.value,u.value))}),at(n.fallbackLocale,M=>{l&&(u.value=M,C.fallbackLocale=M,ir(C,f.value,u.value))}));const G={id:fc,locale:T,fallbackLocale:N,get inheritLocale(){return l},set inheritLocale(M){l=M,M&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,ir(C,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:j,get modifiers(){return w},get pluralRules(){return b||{}},get isGlobal(){return o},get missingWarn(){return g},set missingWarn(M){g=M,C.missingWarn=g},get fallbackWarn(){return p},set fallbackWarn(M){p=M,C.fallbackWarn=p},get fallbackRoot(){return v},set fallbackRoot(M){v=M},get fallbackFormat(){return E},set fallbackFormat(M){E=M,C.fallbackFormat=E},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,C.warnHtmlMessage=M},get escapeParameter(){return x},set escapeParameter(M){x=M,C.escapeParameter=M},t:ne,getLocaleMessage:K,setLocaleMessage:$,mergeLocaleMessage:Y,getPostTranslationHandler:W,setPostTranslationHandler:X,getMissingHandler:le,setMissingHandler:ue,[Cx]:xe};return G.datetimeFormats=H,G.numberFormats=V,G.rt=Ce,G.te=k,G.tm=D,G.d=_e,G.n=De,G.getDateTimeFormat=Q,G.setDateTimeFormat=L,G.mergeDateTimeFormat=R,G.getNumberFormat=O,G.setNumberFormat=U,G.mergeNumberFormat=q,G[Px]=s,G[fi]=z,G[di]=de,G[hi]=ee,G}const na={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function kx({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===We?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function yd(e){return We}const Ax=Ge({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||ro({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=Z(e.plural)?+e.plural:e.plural);const a=kx(t,r),l=o[fi](e.keypath,a,i),f=Me({},s),u=Z(e.tag)||he(e.tag)?e.tag:yd();return Ve(u,f,l)}}}),hc=Ax;function Ix(e){return Ne(e)&&!Z(e[0])}function _d(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:he(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Me({},d,{[c]:e.format[c]}):d,{}));const l=s(e.value,i,a);let f=[i.key];Ne(l)?f=l.map((d,c)=>{const g=o[d.type],p=g?g({[d.type]:d.value,index:c,parts:l}):[d.value];return Ix(p)&&(p[0].key=`${d.type}-${c}`),p}):Z(l)&&(f=[l]);const u=Me({},r),h=Z(e.tag)||he(e.tag)?e.tag:yd();return Ve(h,u,f)}}const Ox=Ge({name:"i18n-n",props:Me({value:{type:Number,required:!0},format:{type:[String,Object]}},na),setup(e,t){const n=e.i18n||ro({useScope:e.scope,__useComponent:!0});return _d(e,t,dd,(...s)=>n[hi](...s))}}),pc=Ox,Nx=Ge({name:"i18n-d",props:Me({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},na),setup(e,t){const n=e.i18n||ro({useScope:e.scope,__useComponent:!0});return _d(e,t,fd,(...s)=>n[di](...s))}}),gc=Nx;function Mx(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 Dx(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Lt(_t.UNEXPECTED_ERROR);const u=Mx(e,a.$),h=mc(f);return[Reflect.apply(u.t,u,[...vc(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);Ss&&e.global===f&&(i.__i18nWatcher=at(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{Ss&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,f=mc(a);i.textContent=Reflect.apply(l.t,l,[...vc(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function mc(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Lt(_t.REQUIRED_VALUE,"path");return e}else throw Lt(_t.INVALID_VALUE)}function vc(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),Ue(o)&&(i.plural=o),Ue(r)&&(i.plural=r),[t,a,i]}function Fx(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ae(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":hc.name,"I18nT"].forEach(i=>e.component(i,hc)),[pc.name,"I18nN"].forEach(i=>e.component(i,pc)),[gc.name,"I18nD"].forEach(i=>e.component(i,gc))),e.directive("t",Dx(t))}const $x=pn("global-vue-i18n");function Hx(e={},t){const n=Ae(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=Bx(e),a=pn("");function l(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__=a,d.provide(d.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let g=null;n&&(g=Yx(d,h.global)),Fx(d,h,...c);const p=d.unmount;d.unmount=()=>{g&&g(),h.dispose(),p()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function ro(e={}){const t=An();if(t==null)throw Lt(_t.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(_t.NOT_INSTALLED);const n=Ux(t),s=jx(n),o=md(t),r=Vx(e,o);if(r==="global")return Tx(s,e,o),s;if(r==="parent"){let l=Wx(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Me({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=vd(l),i.__composerExtend&&(a[pi]=i.__composerExtend(a)),Gx(i,t,a),i.__setInstance(t,a)}return a}function Bx(e,t,n){const s=xi();{const o=s.run(()=>vd(e));if(o==null)throw Lt(_t.UNEXPECTED_ERROR);return[s,o]}}function Ux(e){{const t=Qe(e.isCE?$x:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?_t.NOT_INSTALLED_WITH_PROVIDE:_t.UNEXPECTED_ERROR);return t}}function Vx(e,t){return Js(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function jx(e){return e.mode==="composition"?e.global:e.global.__composer}function Wx(e,t,n=!1){let s=null;const o=t.root;let r=Kx(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 Kx(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Gx(e,t,n){xt(()=>{},t),Ai(()=>{const s=n;e.__deleteInstance(t);const o=s[pi];o&&(o(),delete s[pi])},t)}const Xx=["locale","fallbackLocale","availableLocales"],yc=["t","rt","d","n","tm","te"];function Yx(e,t){const n=Object.create(null);return Xx.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Lt(_t.UNEXPECTED_ERROR);const i=Fe(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,yc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Lt(_t.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,yc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}bx();ix(yx);ax(U_);lx(rd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Yi();e.__INTLIFY__=!0,q_(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Jx(){return ot(Zs)}function qx(){return ot(er)}const Qx=Rt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=qx(),n=new RegExp([`<!--${Ml}-\\[(\\w+)\\]-->`,".+?",`<!--/${Ml}-->`].join(""),"g");e.hook("app:rendered",s=>{var o;((o=s.renderResult)==null?void 0:o.html)!=null&&(s.renderResult.html=s.renderResult.html.replaceAll(n,(r,i)=>r.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function zx(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=xi(),a=e.install;return e.install=(l,...f)=>{const u=t1(f[0])?Me({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=p=>{const v=zn(e);p.locales=me(()=>v.locales.value),p.localeCodes=me(()=>v.localeCodes.value),p.baseUrl=me(()=>v.baseUrl.value);let E;return Se(h)&&(E=Reflect.apply(h,u,[p])),()=>{E&&E()}},e.mode==="legacy"){const p=u.__vueI18nExtend;u.__vueI18nExtend=v=>{_c(v,o.onExtendVueI18n);let E;return Se(p)&&(E=Reflect.apply(p,u,[v])),()=>{E&&E()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=zn(e);i.run(()=>{Zx(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&Bf(e.global)&&_c(e.global,o.onExtendVueI18n)});const c=l,g=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(g&&e1(g,d,o.onExtendExportedGlobal),u.inject){const p=zi(e);l.mixin({methods:{getRouteBaseName:ot(Zn,p),resolveRoute:ot(eo,p),localePath:ot(Zs,p),localeRoute:ot(qi,p),localeLocation:ot(B0,p),switchLocalePath:ot(er,p),localeHead:ot(Kf,p)}})}if(c.unmount){const p=c.unmount;c.unmount=()=>{i.stop(),p()}}},i}function Zx(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=be(n),a=be(s),l=be("");e.locales=me(()=>i.value),e.localeCodes=me(()=>a.value),e.baseUrl=me(()=>l.value),_0?at(e.locale,()=>{l.value=Fl(o,r)},{immediate:!0}):l.value=Fl(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function xd(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 e1(e,t,n){xd(t,e,n)}function _c(e,t){const n=zn(e);xd(n,e,t)}function t1(e){return he(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}function n1(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=ct().public.i18n,n=`(${Ln.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=Ts(Ln);return a=>{if(he(a)){if(a.name){const f=(Z(a.name)?a.name:a.name.toString()).match(o);if(f&&f.length>1)return f[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}const r1=Rt({name:"i18n:plugin",parallel:m0,async setup(e){let t,n;const s=js(),{vueApp:o}=e,r=e,i={...r.$config.public.i18n};i.baseUrl=r_();const a=$r(),l=([t,n]=Ot(()=>A0(g0,ye())),t=await t,n(),t);l.messages=l.messages||{},l.fallbackLocale=l.fallbackLocale??!1;const f=n1(),u=_=>_||l.locale||"en-US",h=o_();let d=Bl(s,f,l.locale,u(i.defaultLocale),{ssg:i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:ts(h,a,i.defaultLocale)},i);l.messages=([t,n]=Ot(()=>I0(l.messages,Ps,{localeCodes:Ln,initialLocale:d,lazy:i.lazy,defaultLocale:i.defaultLocale,fallbackLocale:l.fallbackLocale})),t=await t,n(),t),d=u(d);const c=Hx({...l,locale:d});let g=!0;const p=_=>d!==_&&g;let v=!0;const E=()=>v;E()&&i.strategy==="no_prefix"&&e.hook("app:mounted",()=>{const{locale:_,stat:m,reason:x,from:w}=a?zf(s,l.locale,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:ts(h,a,i.defaultLocale)},d):Qf;Y0(c,_),v=!1}),zx(c,{locales:i.configLocales,localeCodes:Ln,baseUrl:i.baseUrl,context:r,hooks:{onExtendComposer(_){_.strategy=i.strategy,_.localeProperties=me(()=>Qs.find(m=>m.code===_.locale.value)||{code:_.locale.value}),_.setLocale=async m=>{const x=p(m);await Hl(m,c,i,x)&&x&&(g=!1);const b=await r.runWithContext(()=>Ul({route:{to:s},targetLocale:m,routeLocaleGetter:f}));await r.runWithContext(async()=>await jl({nuxtApp:r,i18n:c,redirectPath:b,locale:m,route:s},{enableNavigate:!0}))},_.loadLocaleMessages=async m=>{await Ls(m,Ps,(w,b)=>Yf(c,w,b))},_.differentDomains=i.differentDomains,_.defaultLocale=i.defaultLocale,_.getBrowserLocale=()=>qf(),_.getLocaleCookie=()=>ts(h,a,i.defaultLocale),_.setLocaleCookie=m=>i_(h,m,a),_.onBeforeLanguageSwitch=(m,x,w,b)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:m,newLocale:x,initialSetup:w,context:b}),_.onLanguageSwitched=(m,x)=>e.callHook("i18n:localeSwitched",{oldLocale:m,newLocale:x}),_.finalizePendingLocaleChange=async()=>{c.__pendingLocale&&(Uf(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,w,b)=>Reflect.apply(_.onBeforeLanguageSwitch,_,[m,x,w,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,w,b)=>Reflect.apply(_.onBeforeLanguageSwitch,_,[m,x,w,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=me(()=>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,()=>{}}};o.use(c,S),e_(r,c);let y=0;km("locale-changing",async(_,m)=>{let x,w;const b=Bl(_,f,l.locale,()=>zs(c)||u(i.defaultLocale),{ssg:E()&&i.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:y===0,localeCookie:ts(h,a,i.defaultLocale)},i),C=p(b);([x,w]=Ot(()=>Hl(b,c,i,C)),x=await x,w(),x)&&C&&(g=!1);const A=([x,w]=Ot(()=>r.runWithContext(()=>Ul({route:{to:_,from:m},targetLocale:b,routeLocaleGetter:i.strategy==="no_prefix"?()=>b:f,calledWithRouting:!0}))),x=await x,w(),x);return y++,[x,w]=Ot(()=>r.runWithContext(async()=>jl({nuxtApp:r,i18n:c,redirectPath:A,locale:b,route:_}))),x=await x,w(),x},{global:!0})}}),s1=[Lv,kv,Xy,Jy,qy,Qy,Zy,e0,t0,Qx,r1],o1=Ge({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(Dr,Bt(s)),()=>Ve(e.vnode,{ref:e.vnodeRef})}}),i1=Ge({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:s}){const o=ye(),r=be(),i=Qe(Dr,null);let a;s({pageRef:r});const l=Qe(ff,null);let f;const u=o.deferHydration();if(o.isHydrating){const h=o.hooks.hookOnce("app:error",u);ze().beforeEach(h)}return e.pageKey&&at(()=>e.pageKey,(h,d)=>{h!==d&&o.callHook("page:loading:start")}),()=>Ve(Mf,{name:e.name,route:e.route,...t},{default:h=>{const d=l1(i,h.route,h.Component),c=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(f&&!c)return f;u();return}if(f&&l&&!l.isCurrent(h.route))return f;if(d&&i&&(!l||l!=null&&l.isCurrent(i)))return c?f:null;const g=si(h,e.pageKey);!o.isHydrating&&!c1(i,h.route,h.Component)&&a===g&&o.callHook("page:loading:end"),a=g;const p=!!(e.transition??h.route.meta.pageTransition??Xo),v=p&&a1([e.transition,h.route.meta.pageTransition,Xo,{onAfterLeave:()=>{o.callHook("page:transition:finish",h.Component)}}].filter(Boolean)),E=e.keepalive??h.route.meta.keepalive??om;return f=Df(Vs,p&&v,Dy(E,Ve(Di,{suspensible:!0,onPending:()=>o.callHook("page:start",h.Component),onResolve:()=>{dn(()=>o.callHook("page:finish",h.Component).then(()=>o.callHook("page:loading:end")).finally(u))}},{default:()=>{const S=Ve(o1,{key:g||void 0,vnode:n.default?Ve(We,void 0,n.default(h)):h.Component,route:h.route,renderKey:g||void 0,trackRootNodes:p,vnodeRef:r});return E&&(S.type.name=h.Component.type.name||h.Component.type.__name||"RouteProvider"),S}}))).default(),f}})}});function a1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Xi(n.onAfterLeave):void 0}));return cf(...t)}function l1(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,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[r])==null?void 0:a.components)==null?void 0:l.default)})||n&&si({route:t,Component:n})!==si({route:e,Component:n})}function c1(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 u1=Ge({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()=>Ve(n,e.layoutProps,t.slots)}}),f1=Ge({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ye(),s=Qe(Dr),o=s===js()?Ny():s,r=me(()=>{let l=te(e.name)??o.meta.layout??"default";return l&&!(l in tn)&&e.fallback&&(l=te(e.fallback)),l}),i=be();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);ze().beforeEach(l)}return()=>{const l=r.value&&r.value in tn,f=o.meta.layoutTransition??sm;return Df(Vs,l&&f,{default:()=>Ve(Di,{suspensible:!0,onResolve:()=>{dn(a)}},{default:()=>Ve(d1,{layoutProps:Hu(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),d1=Ge({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(ff,{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):Ve(u1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),h1=Symbol.for("nuxt:client-only"),so=Ge({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=be(!1);return xt(()=>{s.value=!0}),sn(h1,!0),o=>{var l;if(s.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return tt(a,n,i)}}});function xc(){return localStorage.getItem("cookie")==null}function p1(){localStorage.setItem("cookie","accept")}function g1(){localStorage.setItem("cookie","refuse")}const Ed=["cookie","future","change-something","picture-bright","picture-nolights"];function m1(e){if(!Ed.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 ra(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Ec(){return ra().length}function v1(){return Ed.length}function $E(e){return e[Math.floor(Math.random()*e.length)]}function wd(e,t){return Math.random()*(t-e)+e}function y1(e,t){return Math.floor(wd(e,t))}var bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Sd={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()})(bo,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,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},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 a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(f){return r[f]}).bind(null,l));return a},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,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var d in h)f&&h[d]&&h[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},o.extend(i[d],f,h[d])):i[d]=h[d]}return i},o.clone=function(i,a){return o.extend({},a,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},o.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),f=0;f<l.length;f++)a.push(i[l[f]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,f){a=a.split(".").slice(l,f);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,f,u){var h=a.split(".").slice(f,u);return o.get(i,a,0,-1)[h[h.length-1]]=l,l},o.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(o.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=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,a,l){return i<a?a:i>l?l: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,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-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,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},o.map=function(i,a){if(i.map)return i.map(a);for(var l=[],f=0;f<i.length;f+=1)l.push(a(i[f]));return l},o.topologicalSort=function(i){var a=[],l=[],f=[];for(var u in i)!l[u]&&!f[u]&&o._topologicalSort(u,l,f,i,a);return a},o._topologicalSort=function(i,a,l,f,u){var h=f[i]||[];l[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];l[c]||a[c]||o._topologicalSort(c,a,l,f,u)}l[i]=!1,a[i]=!0,u.push(i)},o.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var f=function(){for(var u,h=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)h[d]=arguments[d];for(d=0;d<i.length;d+=1){var g=i[d].apply(u,h);typeof g<"u"&&(u=g)}return u};return f._chained=i,f},o.chainPathBefore=function(i,a,l){return o.set(i,a,o.chain(l,o.get(i,a)))},o.chainPathAfter=function(i,a,l){return o.set(i,a,o.chain(o.get(i,a),l))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof bo<"u"&&(i=bo.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,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var f=i[l];f.x>r.max.x&&(r.max.x=f.x),f.x<r.min.x&&(r.min.x=f.x),f.y>r.max.y&&(r.max.y=f.y),f.y<r.min.y&&(r.min.y=f.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},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 a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,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,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},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,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},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),a=o(0);(function(){r.create=function(l,f){for(var u=[],h=0;h<l.length;h++){var d=l[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(d,c,g){h.push({x:parseFloat(c),y:parseFloat(g)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,g=0;g<l.length;g++)c=(g+1)%l.length,h=i.cross(l[g],l[c]),d=i.mult(i.add(l[g],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,g,p=0;p<d.length;p++)g=(p+1)%d.length,c=Math.abs(i.cross(d[g],d[p])),u+=c*(i.dot(d[g],d[g])+i.dot(d[g],d[p])+i.dot(d[p],d[p])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,g;for(g=0;g<h;g++)l[g].x+=d,l[g].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,g=u.y,p=l.length,v,E,S,y;for(y=0;y<p;y++)v=l[y],E=v.x-c,S=v.y-g,v.x=c+(E*h-S*d),v.y=g+(E*d+S*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],g,p=0;p<d;p++){if(g=l[p],(u-c.x)*(g.y-c.y)+(h-c.y)*(c.x-g.x)>0)return!1;c=g}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,g=0;g<l.length;g++)d=l[g],c=i.sub(d,h),l[g].x=h.x+c.x*f,l[g].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],g=0;g<l.length;g++){var p=l[g-1>=0?g-1:l.length-1],v=l[g],E=l[(g+1)%l.length],S=f[g<f.length?g:f.length-1];if(S===0){c.push(v);continue}var y=i.normalise({x:v.y-p.y,y:p.x-v.x}),_=i.normalise({x:E.y-v.y,y:v.x-E.x}),m=Math.sqrt(2*Math.pow(S,2)),x=i.mult(a.clone(y),S),w=i.normalise(i.mult(i.add(y,_),.5)),b=i.sub(v,i.mult(w,m)),C=u;u===-1&&(C=Math.pow(S,.32)*1.75),C=a.clamp(C,h,d),C%2===1&&(C+=1);for(var P=Math.acos(i.dot(y,_)),A=P/C,T=0;T<C;T++)c.push(i.add(i.rotate(x,A*T),b))}return c},r.clockwiseSort=function(l){var f=r.mean(l);return l.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),l},r.isConvex=function(l){var f=0,u=l.length,h,d,c,g;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,g=(l[d].x-l[h].x)*(l[c].y-l[d].y),g-=(l[d].y-l[h].y)*(l[c].x-l[d].x),g<0?f|=1:g>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,g){var p=c.x-g.x;return p!==0?p:c.y-g.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=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 g={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},p=f.extend(g,c);return d(p,c),p},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,g){g=g||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:g.axes||c.axes,area:g.area||c.area,mass:g.mass||c.mass,inertia:g.inertia||c.inertia});var p=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",E=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||p,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||E,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,g,p){var v;typeof g=="string"&&(v=g,g={},g[v]=p);for(v in g)if(Object.prototype.hasOwnProperty.call(g,v))switch(p=g[v],v){case"isStatic":r.setStatic(c,p);break;case"isSleeping":l.set(c,p);break;case"mass":r.setMass(c,p);break;case"density":r.setDensity(c,p);break;case"inertia":r.setInertia(c,p);break;case"vertices":r.setVertices(c,p);break;case"position":r.setPosition(c,p);break;case"angle":r.setAngle(c,p);break;case"velocity":r.setVelocity(c,p);break;case"angularVelocity":r.setAngularVelocity(c,p);break;case"speed":r.setSpeed(c,p);break;case"angularSpeed":r.setAngularSpeed(c,p);break;case"parts":r.setParts(c,p);break;case"centre":r.setCentre(c,p);break;default:c[v]=p}},r.setStatic=function(c,g){for(var p=0;p<c.parts.length;p++){var v=c.parts[p];v.isStatic=g,g?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,g){var p=c.inertia/(c.mass/6);c.inertia=p*(g/6),c.inverseInertia=1/c.inertia,c.mass=g,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,g){r.setMass(c,g*c.area),c.density=g},r.setInertia=function(c,g){c.inertia=g,c.inverseInertia=1/c.inertia},r.setVertices=function(c,g){g[0].body===c?c.vertices=g:c.vertices=i.create(g,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var p=i.centre(c.vertices);i.translate(c.vertices,p,-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,g,p){var v;for(g=g.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<g.length;v++){var E=g[v];E!==c&&(E.parent=c,c.parts.push(E))}if(c.parts.length!==1){if(p=typeof p<"u"?p:!0,p){var S=[];for(v=0;v<g.length;v++)S=S.concat(g[v].vertices);i.clockwiseSort(S);var y=i.hull(S),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,g,p){p?(c.positionPrev.x+=g.x,c.positionPrev.y+=g.y,c.position.x+=g.x,c.position.y+=g.y):(c.positionPrev.x=g.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=g.y-(c.position.y-c.positionPrev.y),c.position.x=g.x,c.position.y=g.y)},r.setPosition=function(c,g,p){var v=a.sub(g,c.position);p?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var E=0;E<c.parts.length;E++){var S=c.parts[E];S.position.x+=v.x,S.position.y+=v.y,i.translate(S.vertices,v),u.update(S.bounds,S.vertices,c.velocity)}},r.setAngle=function(c,g,p){var v=g-c.angle;p?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var E=0;E<c.parts.length;E++){var S=c.parts[E];S.angle+=v,i.rotate(S.vertices,v,c.position),h.rotate(S.axes,v),u.update(S.bounds,S.vertices,c.velocity),E>0&&a.rotateAbout(S.position,v,c.position,S.position)}},r.setVelocity=function(c,g){var p=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-g.x*p,c.positionPrev.y=c.position.y-g.y*p,c.velocity.x=(c.position.x-c.positionPrev.x)/p,c.velocity.y=(c.position.y-c.positionPrev.y)/p,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var g=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*g,y:(c.position.y-c.positionPrev.y)*g}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,g){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),g))},r.setAngularVelocity=function(c,g){var p=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-g*p,c.angularVelocity=(c.angle-c.anglePrev)/p,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,g){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*g)},r.translate=function(c,g,p){r.setPosition(c,a.add(c.position,g),p)},r.rotate=function(c,g,p,v){if(!p)r.setAngle(c,c.angle+g,v);else{var E=Math.cos(g),S=Math.sin(g),y=c.position.x-p.x,_=c.position.y-p.y;r.setPosition(c,{x:p.x+(y*E-_*S),y:p.y+(y*S+_*E)},v),r.setAngle(c,c.angle+g,v)}},r.scale=function(c,g,p,v){var E=0,S=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,g,p,v),_.axes=h.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(E+=_.area,S+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*g,_.position.y=v.y+(_.position.y-v.y)*p,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=E,c.isStatic||(r.setMass(c,c.density*E),r.setInertia(c,S))),c.circleRadius&&(g===p?c.circleRadius*=g:c.circleRadius=null)},r.update=function(c,g){g=(typeof g<"u"?g:1e3/60)*c.timeScale;var p=g*g,v=r._timeCorrection?g/(c.deltaTime||g):1,E=1-c.frictionAir*(g/f._baseDelta),S=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=S*E+c.force.x/c.mass*p,c.velocity.y=y*E+c.force.y/c.mass*p,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=g,c.angularVelocity=(c.angle-c.anglePrev)*E*v+c.torque/c.inertia*p,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var g=r._baseDelta/c.deltaTime,p=c.velocity;p.x=(c.position.x-c.positionPrev.x)*g,p.y=(c.position.y-c.positionPrev.y)*g,c.speed=Math.sqrt(p.x*p.x+p.y*p.y),c.angularVelocity=(c.angle-c.anglePrev)*g,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,g,p){var v={x:g.x-c.position.x,y:g.y-c.position.y};c.force.x+=p.x,c.force.y+=p.y,c.torque+=v.x*p.y-v.y*p.x},r._totalProperties=function(c){for(var g={mass:0,area:0,inertia:0,centre:{x:0,y:0}},p=c.parts.length===1?0:1;p<c.parts.length;p++){var v=c.parts[p],E=v.mass!==1/0?v.mass:1;g.mass+=E,g.area+=v.area,g.inertia+=v.inertia,g.centre=a.add(g.centre,a.mult(v.position,E))}return g.centre=a.div(g.centre,g.mass),g}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.on=function(a,l,f){for(var u=l.split(" "),h,d=0;d<u.length;d++)h=u[d],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(f);return f},r.off=function(a,l,f){if(!l){a.events={};return}typeof l=="function"&&(f=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var d=a.events[u[h]],c=[];if(f&&d)for(var g=0;g<d.length;g++)d[g]!==f&&c.push(d[g]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,g=a.events;if(g&&i.keys(g).length>0){f||(f={}),u=l.split(" ");for(var p=0;p<u.length;p++)if(h=u[p],d=g[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),f=o(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,h,d,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,h,d,c),c)for(var g=0;g<u.composites.length;g++){var p=u.composites[g];r.setModified(p,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 g=d[c];switch(g.type){case"body":if(g.parent!==g){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,g);break;case"constraint":r.addConstraint(u,g);break;case"composite":r.addComposite(u,g);break;case"mouseConstraint":r.addConstraint(u,g.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 g=0;g<c.length;g++){var p=c[g];switch(p.type){case"body":r.removeBody(u,p,d);break;case"constraint":r.removeConstraint(u,p,d);break;case"composite":r.removeComposite(u,p,d);break;case"mouseConstraint":r.removeConstraint(u,p.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var g=0;g<u.composites.length;g++)r.removeComposite(u.composites[g],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)for(var g=0;g<u.composites.length;g++)r.removeBody(u.composites[g],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var g=0;g<u.composites.length;g++)r.removeConstraint(u.composites[g],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(g){return g.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,g;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?(g=c.filter(function(p){return p.id.toString()===h.toString()}),g.length===0?null:g[0]):null},r.move=function(u,h,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,g=0;g<c.length;g++)f.translate(c[g],h);return u},r.rotate=function(u,h,d,c){for(var g=Math.cos(h),p=Math.sin(h),v=c?r.allBodies(u):u.bodies,E=0;E<v.length;E++){var S=v[E],y=S.position.x-d.x,_=S.position.y-d.y;f.setPosition(S,{x:d.x+(y*g-_*p),y:d.y+(y*p+_*g)}),f.rotate(S,h)}return u},r.scale=function(u,h,d,c,g){for(var p=g?r.allBodies(u):u.bodies,v=0;v<p.length;v++){var E=p[v],S=E.position.x-c.x,y=E.position.y-c.y;f.setPosition(E,{x:c.x+S*h,y:c.y+y*d}),f.scale(E,h,d)}return u},r.bounds=function(u){for(var h=r.allBodies(u),d=[],c=0;c<h.length;c+=1){var g=h[c];d.push(g.bounds.min,g.bounds.max)}return l.create(d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(5),l=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(f,u){for(var h=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var g=f[c],p=i.getSpeed(g),v=i.getAngularSpeed(g),E=p*p+v*v;if(g.force.x!==0||g.force.y!==0){r.set(g,!1);continue}var S=Math.min(g.motion,E),y=Math.max(g.motion,E);g.motion=r._minBias*S+(1-r._minBias)*y,g.sleepThreshold>0&&g.motion<d?(g.sleepCounter+=1,g.sleepCounter>=g.sleepThreshold/h&&r.set(g,!0)):g.sleepCounter>0&&(g.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,g=c.bodyA.parent,p=c.bodyB.parent;if(!(g.isSleeping&&p.isSleeping||g.isStatic||p.isStatic)&&(g.isSleeping||p.isSleeping)){var v=g.isSleeping&&!g.isStatic?g:p,E=v===g?p:g;!v.isStatic&&E.motion>u&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var g=c&&c.table[a.id(h,d)],p;g?p=g.collision:(p=r.create(h,d),p.collided=!0,p.bodyA=h.id<d.id?h:d,p.bodyB=h.id<d.id?d:h,p.parentA=p.bodyA.parent,p.parentB=p.bodyB.parent),h=p.bodyA,d=p.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var E=p.normal,S=p.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(E.x=_,E.y=m):(E.x=-_,E.y=-m),p.tangent.x=-E.y,p.tangent.y=E.x,p.depth=v.overlap,p.penetration.x=E.x*p.depth,p.penetration.y=E.y*p.depth;var x=r._findSupports(h,d,E,1),w=0;if(i.contains(h.vertices,x[0])&&(S[w++]=x[0]),i.contains(h.vertices,x[1])&&(S[w++]=x[1]),w<2){var b=r._findSupports(d,h,E,-1);i.contains(d.vertices,b[0])&&(S[w++]=b[0]),w<2&&i.contains(d.vertices,b[1])&&(S[w++]=b[1])}return w===0&&(S[w++]=x[0]),S.length=w,p},r._overlapAxes=function(h,d,c,g){var p=d.length,v=c.length,E=d[0].x,S=d[0].y,y=c[0].x,_=c[0].y,m=g.length,x=Number.MAX_VALUE,w=0,b,C,P,A,T,N;for(T=0;T<m;T++){var j=g[T],H=j.x,V=j.y,W=E*H+S*V,X=y*H+_*V,le=W,ue=X;for(N=1;N<p;N+=1)A=d[N].x*H+d[N].y*V,A>le?le=A:A<W&&(W=A);for(N=1;N<v;N+=1)A=c[N].x*H+c[N].y*V,A>ue?ue=A:A<X&&(X=A);if(C=le-X,P=ue-W,b=C<P?C:P,b<x&&(x=b,w=T,b<=0))break}h.axis=g[w],h.overlap=x},r._projectToAxis=function(h,d,c){for(var g=d[0].x*c.x+d[0].y*c.y,p=g,v=1;v<d.length;v+=1){var E=d[v].x*c.x+d[v].y*c.y;E>p?p=E:E<g&&(g=E)}h.min=g,h.max=p},r._findSupports=function(h,d,c,g){var p=d.vertices,v=p.length,E=h.position.x,S=h.position.y,y=c.x*g,_=c.y*g,m=Number.MAX_VALUE,x,w,b,C,P;for(P=0;P<v;P+=1)w=p[P],C=y*(E-w.x)+_*(S-w.y),C<m&&(m=C,x=w);return b=p[(v+x.index-1)%v],m=y*(E-b.x)+_*(S-b.y),w=p[(x.index+1)%v],y*(E-w.x)+_*(S-w.y)<m?(l[0]=x,l[1]=w,l):(l[0]=x,l[1]=b,l)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(a,l){var f=a.bodyA,u=a.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,f){var u=a.contacts,h=l.supports,d=a.activeContacts,c=l.parentA,g=l.parentB,p=c.vertices.length;a.isActive=!0,a.timeUpdated=f,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+g.inverseMass,a.friction=c.friction<g.friction?c.friction:g.friction,a.frictionStatic=c.frictionStatic>g.frictionStatic?c.frictionStatic:g.frictionStatic,a.restitution=c.restitution>g.restitution?c.restitution:g.restitution,a.slop=c.slop>g.slop?c.slop:g.slop,l.pair=a,d.length=0;for(var v=0;v<h.length;v++){var E=h[v],S=E.body===c?E.index:p+E.index,y=u[S];y?d.push(y):d.push(u[S]=i.create(E))}},r.setActive=function(a,l,f){l?(a.isActive=!0,a.timeUpdated=f):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=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 g=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,p=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(g,p));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var E={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(E.type="pin",E.anchors=!1):c.stiffness<.9&&(E.type="spring"),c.render=h.extend(E,c.render),c},r.preSolveAll=function(d){for(var c=0;c<d.length;c+=1){var g=d[c],p=g.constraintImpulse;g.isStatic||p.x===0&&p.y===0&&p.angle===0||(g.position.x+=p.x,g.position.y+=p.y,g.angle+=p.angle)}},r.solveAll=function(d,c){for(var g=h.clamp(c/h._baseDelta,0,1),p=0;p<d.length;p+=1){var v=d[p],E=!v.bodyA||v.bodyA&&v.bodyA.isStatic,S=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(E||S)&&r.solve(d[p],g)}for(p=0;p<d.length;p+=1)v=d[p],E=!v.bodyA||v.bodyA&&v.bodyA.isStatic,S=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!E&&!S&&r.solve(d[p],g)},r.solve=function(d,c){var g=d.bodyA,p=d.bodyB,v=d.pointA,E=d.pointB;if(!(!g&&!p)){g&&!g.isStatic&&(a.rotate(v,g.angle-d.angleA,v),d.angleA=g.angle),p&&!p.isStatic&&(a.rotate(E,p.angle-d.angleB,E),d.angleB=p.angle);var S=v,y=E;if(g&&(S=a.add(g.position,v)),p&&(y=a.add(p.position,E)),!(!S||!y)){var _=a.sub(S,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,w=d.stiffness>=1||d.length===0,b=w?d.stiffness*c:d.stiffness*c*c,C=d.damping*c,P=a.mult(_,x*b),A=(g?g.inverseMass:0)+(p?p.inverseMass:0),T=(g?g.inverseInertia:0)+(p?p.inverseInertia:0),N=A+T,j,H,V,W,X;if(C>0){var le=a.create();V=a.div(_,m),X=a.sub(p&&a.sub(p.position,p.positionPrev)||le,g&&a.sub(g.position,g.positionPrev)||le),W=a.dot(V,X)}g&&!g.isStatic&&(H=g.inverseMass/A,g.constraintImpulse.x-=P.x*H,g.constraintImpulse.y-=P.y*H,g.position.x-=P.x*H,g.position.y-=P.y*H,C>0&&(g.positionPrev.x-=C*V.x*W*H,g.positionPrev.y-=C*V.y*W*H),j=a.cross(v,P)/N*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle-=j,g.angle-=j),p&&!p.isStatic&&(H=p.inverseMass/A,p.constraintImpulse.x+=P.x*H,p.constraintImpulse.y+=P.y*H,p.position.x+=P.x*H,p.position.y+=P.y*H,C>0&&(p.positionPrev.x+=C*V.x*W*H,p.positionPrev.y+=C*V.y*W*H),j=a.cross(E,P)/N*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle+=j,p.angle+=j)}}},r.postSolveAll=function(d){for(var c=0;c<d.length;c++){var g=d[c],p=g.constraintImpulse;if(!(g.isStatic||p.x===0&&p.y===0&&p.angle===0)){l.set(g,!1);for(var v=0;v<g.parts.length;v++){var E=g.parts[v];i.translate(E.vertices,p),v>0&&(E.position.x+=p.x,E.position.y+=p.y),p.angle!==0&&(i.rotate(E.vertices,p.angle,g.position),u.rotate(E.axes,p.angle),v>0&&a.rotateAbout(E.position,p.angle,g.position,E.position)),f.update(E.bounds,E.vertices,g.velocity)}p.angle*=r._warming,p.x*=r._warming,p.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),a=o(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u<l.length;u++){var h=(u+1)%l.length,d=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return a.values(f)},r.rotate=function(l,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<l.length;d++){var c=l[d],g;g=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=g}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),f=o(1),u=o(2);(function(){r.rectangle=function(h,d,c,g,p){p=p||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+g+" L 0 "+g)};if(p.chamfer){var E=p.chamfer;v.vertices=i.chamfer(v.vertices,E.radius,E.quality,E.qualityMin,E.qualityMax),delete p.chamfer}return l.create(a.extend({},v,p))},r.trapezoid=function(h,d,c,g,p,v){v=v||{},p*=.5;var E=(1-p*2)*c,S=c*p,y=S+E,_=y+S,m;p<.5?m="L 0 0 L "+S+" "+-g+" L "+y+" "+-g+" L "+_+" 0":m="L 0 0 L "+y+" "+-g+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(v.chamfer){var w=v.chamfer;x.vertices=i.chamfer(x.vertices,w.radius,w.quality,w.qualityMin,w.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(h,d,c,g,p){g=g||{};var v={label:"Circle Body",circleRadius:c};p=p||25;var E=Math.ceil(Math.max(10,Math.min(p,c)));return E%2===1&&(E+=1),r.polygon(h,d,E,c,a.extend({},v,g))},r.polygon=function(h,d,c,g,p){if(p=p||{},c<3)return r.circle(h,d,g,p);for(var v=2*Math.PI/c,E="",S=v*.5,y=0;y<c;y+=1){var _=S+y*v,m=Math.cos(_)*g,x=Math.sin(_)*g;E+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var w={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(E)};if(p.chamfer){var b=p.chamfer;w.vertices=i.chamfer(w.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete p.chamfer}return l.create(a.extend({},w,p))},r.fromVertices=function(h,d,c,g,p,v,E,S){var y=a.getDecomp(),_,m,x,w,b,C,P,A,T,N,j;for(_=!!(y&&y.quickDecomp),g=g||{},x=[],p=typeof p<"u"?p:!1,v=typeof v<"u"?v:.01,E=typeof E<"u"?E:10,S=typeof S<"u"?S:.01,a.isArray(c[0])||(c=[c]),N=0;N<c.length;N+=1)if(C=c[N],w=i.isConvex(C),b=!w,b&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),w||!_)w?C=i.clockwiseSort(C):C=i.hull(C),x.push({position:{x:h,y:d},vertices:C});else{var H=C.map(function(fe){return[fe.x,fe.y]});y.makeCCW(H),v!==!1&&y.removeCollinearPoints(H,v),S!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints(H,S);var V=y.quickDecomp(H);for(P=0;P<V.length;P++){var W=V[P],X=W.map(function(fe){return{x:fe[0],y:fe[1]}});E>0&&i.area(X)<E||x.push({position:i.centre(X),vertices:X})}}for(P=0;P<x.length;P++)x[P]=l.create(a.extend(x[P],g));if(p){var le=5;for(P=0;P<x.length;P++){var ue=x[P];for(A=P+1;A<x.length;A++){var ce=x[A];if(f.overlaps(ue.bounds,ce.bounds)){var ne=ue.vertices,Ce=ce.vertices;for(T=0;T<ue.vertices.length;T++)for(j=0;j<ce.vertices.length;j++){var _e=u.magnitudeSquared(u.sub(ne[(T+1)%ne.length],Ce[j])),De=u.magnitudeSquared(u.sub(ne[T],Ce[(j+1)%Ce.length]));_e<le&&De<le&&(ne[T].isInternal=!0,Ce[j].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},g)),l.setPosition(m,{x:h,y:d}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,g=a.collides,p,v;for(h.sort(r._compareBoundsX),p=0;p<d;p++){var E=h[p],S=E.bounds,y=E.bounds.max.x,_=E.bounds.max.y,m=E.bounds.min.y,x=E.isStatic||E.isSleeping,w=E.parts.length,b=w===1;for(v=p+1;v<d;v++){var C=h[v],P=C.bounds;if(P.min.x>y)break;if(!(_<P.min.y||m>P.max.y)&&!(x&&(C.isStatic||C.isSleeping))&&c(E.collisionFilter,C.collisionFilter)){var A=C.parts.length;if(b&&A===1){var T=g(E,C,u);T&&f.push(T)}else for(var N=w>1?1:0,j=A>1?1:0,H=N;H<w;H++)for(var V=E.parts[H],S=V.bounds,W=j;W<A;W++){var X=C.parts[W],P=X.bounds;if(!(S.min.x>P.max.x||S.max.x<P.min.x||S.max.y<P.min.y||S.min.y>P.max.y)){var T=g(V,X,u);T&&f.push(T)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,g=a.changedTouches,p,v;return g?(p=g[0].pageX-u.left-d,v=g[0].pageY-u.top-c):(p=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:p/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),g=r.resolve(d);return g&&!r.versionSatisfies(g.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(g),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),g._warned=!0,a._warned=!0):g||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,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),a=o(18),l=o(13),f=o(19),u=o(5),h=o(6),d=o(10),c=o(0),g=o(4);(function(){r.create=function(p){p=p||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},E=c.extend(v,p);return E.world=p.world||h.create({label:"World"}),E.pairs=p.pairs||f.create(),E.detector=p.detector||l.create(),E.grid={buckets:[]},E.world.gravity=E.gravity,E.broadphase=E.grid,E.metrics={},E},r.update=function(p,v){var E=c.now(),S=p.world,y=p.detector,_=p.pairs,m=p.timing,x=m.timestamp,w;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var b={timestamp:m.timestamp,delta:v};u.trigger(p,"beforeUpdate",b);var C=h.allBodies(S),P=h.allConstraints(S);for(S.isModified&&(l.setBodies(y,C),h.setModified(S,!1,!1,!0)),p.enableSleeping&&i.update(C,v),r._bodiesApplyGravity(C,p.gravity),v>0&&r._bodiesUpdate(C,v),d.preSolveAll(C),w=0;w<p.constraintIterations;w++)d.solveAll(P,v);d.postSolveAll(C),y.pairs=p.pairs;var A=l.collisions(y);f.update(_,A,x),p.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(p,"collisionStart",{pairs:_.collisionStart});var T=c.clamp(20/p.positionIterations,0,1);for(a.preSolvePosition(_.list),w=0;w<p.positionIterations;w++)a.solvePosition(_.list,v,T);for(a.postSolvePosition(C),d.preSolveAll(C),w=0;w<p.constraintIterations;w++)d.solveAll(P,v);for(d.postSolveAll(C),a.preSolveVelocity(_.list),w=0;w<p.velocityIterations;w++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(C),_.collisionActive.length>0&&u.trigger(p,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(p,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(C),u.trigger(p,"afterUpdate",b),p.timing.lastElapsed=c.now()-E,p},r.merge=function(p,v){if(c.extend(p,v),v.world){p.world=v.world,r.clear(p);for(var E=h.allBodies(p.world),S=0;S<E.length;S++){var y=E[S];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(p){f.clear(p.pairs),l.clear(p.detector)},r._bodiesClearForces=function(p){for(var v=p.length,E=0;E<v;E++){var S=p[E];S.force.x=0,S.force.y=0,S.torque=0}},r._bodiesApplyGravity=function(p,v){var E=typeof v.scale<"u"?v.scale:.001,S=p.length;if(!(v.x===0&&v.y===0||E===0))for(var y=0;y<S;y++){var _=p[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*E,_.force.x+=_.mass*v.x*E)}},r._bodiesUpdate=function(p,v){for(var E=p.length,S=0;S<E;S++){var y=p[S];y.isStatic||y.isSleeping||g.update(y,v)}},r._bodiesUpdateVelocities=function(p){for(var v=p.length,E=0;E<v;E++)g.updateVelocities(p[E])}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=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,g,p,v,E,S,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),x=f.length;for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(g=c.collision,p=g.parentA,v=g.parentB,E=g.normal,c.separation=E.x*(v.positionImpulse.x+g.penetration.x-p.positionImpulse.x)+E.y*(v.positionImpulse.y+g.penetration.y-p.positionImpulse.y));for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(g=c.collision,p=g.parentA,v=g.parentB,E=g.normal,y=c.separation-c.slop*m,(p.isStatic||v.isStatic)&&(y*=2),p.isStatic||p.isSleeping||(S=_/p.totalContacts,p.positionImpulse.x+=E.x*y*S,p.positionImpulse.y+=E.y*y*S),v.isStatic||v.isSleeping||(S=_/v.totalContacts,v.positionImpulse.x-=E.x*y*S,v.positionImpulse.y-=E.y*y*S))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,g=0;g<h;g++){var p=f[g],v=p.positionImpulse,E=v.x,S=v.y,y=p.velocity;if(p.totalContacts=0,E!==0||S!==0){for(var _=0;_<p.parts.length;_++){var m=p.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=E,m.position.y+=S}p.positionPrev.x+=E,p.positionPrev.y+=S,E*y.x+S*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var g=c.activeContacts,p=g.length,v=c.collision,E=v.parentA,S=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<p;d++){var m=g[d],x=m.vertex,w=m.normalImpulse,b=m.tangentImpulse;if(w!==0||b!==0){var C=y.x*w+_.x*b,P=y.y*w+_.y*b;E.isStatic||E.isSleeping||(E.positionPrev.x+=C*E.inverseMass,E.positionPrev.y+=P*E.inverseMass,E.anglePrev+=E.inverseInertia*((x.x-E.position.x)*P-(x.y-E.position.y)*C)),S.isStatic||S.isSleeping||(S.positionPrev.x-=C*S.inverseMass,S.positionPrev.y-=P*S.inverseMass,S.anglePrev-=S.inverseInertia*((x.x-S.position.x)*P-(x.y-S.position.y)*C))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,g=-r._restingThresh*h,p=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,E=r._frictionMaxStatic,S=f.length,y,_,m,x;for(m=0;m<S;m++){var w=f[m];if(!(!w.isActive||w.isSensor)){var b=w.collision,C=b.parentA,P=b.parentB,A=C.velocity,T=P.velocity,N=b.normal.x,j=b.normal.y,H=b.tangent.x,V=b.tangent.y,W=w.activeContacts,X=W.length,le=1/X,ue=C.inverseMass+P.inverseMass,ce=w.friction*w.frictionStatic*v;for(A.x=C.position.x-C.positionPrev.x,A.y=C.position.y-C.positionPrev.y,T.x=P.position.x-P.positionPrev.x,T.y=P.position.y-P.positionPrev.y,C.angularVelocity=C.angle-C.anglePrev,P.angularVelocity=P.angle-P.anglePrev,x=0;x<X;x++){var ne=W[x],Ce=ne.vertex,_e=Ce.x-C.position.x,De=Ce.y-C.position.y,fe=Ce.x-P.position.x,B=Ce.y-P.position.y,J=A.x-De*C.angularVelocity,z=A.y+_e*C.angularVelocity,ee=T.x-B*P.angularVelocity,de=T.y+fe*P.angularVelocity,xe=J-ee,k=z-de,I=N*xe+j*k,D=H*xe+V*k,K=w.separation+I,$=Math.min(K,1);$=K<0?0:$;var Y=$*ce;D<-Y||D>Y?(_=D>0?D:-D,y=w.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=E);var Q=_e*j-De*N,L=fe*j-B*N,R=le/(ue+C.inverseInertia*Q*Q+P.inverseInertia*L*L),O=(1+w.restitution)*I*R;if(y*=R,I<g)ne.normalImpulse=0;else{var U=ne.normalImpulse;ne.normalImpulse+=O,ne.normalImpulse>0&&(ne.normalImpulse=0),O=ne.normalImpulse-U}if(D<-p||D>p)ne.tangentImpulse=0;else{var q=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-q}var G=N*O+H*y,M=j*O+V*y;C.isStatic||C.isSleeping||(C.positionPrev.x+=G*C.inverseMass,C.positionPrev.y+=M*C.inverseMass,C.anglePrev+=(_e*M-De*G)*C.inverseInertia),P.isStatic||P.isSleeping||(P.positionPrev.x-=G*P.inverseMass,P.positionPrev.y-=M*P.inverseMass,P.anglePrev-=(fe*M-B*G)*P.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,g=f.length,p=l.collisionStart,v=l.collisionEnd,E=l.collisionActive,S,y,_,m;for(p.length=0,v.length=0,E.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<g;m++)S=f[m],_=S.pair,_?(_.isActive?E.push(_):p.push(_),i.update(_,S,u),_.confirmedActive=!0):(_=i.create(S,u),c[_.id]=_,p.push(_),h.push(_));var x=[];for(d=h.length,m=0;m<d;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),v.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&x.push(m));for(m=0;m<x.length;m++)y=x[m]-m,_=h[y],h.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,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),a=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(l,f){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,f)},r.after=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),f=o(4),u=o(12),h=l.deprecated;(function(){r.stack=function(d,c,g,p,v,E,S){for(var y=i.create({label:"Stack"}),_=d,m=c,x,w=0,b=0;b<p;b++){for(var C=0,P=0;P<g;P++){var A=S(_,m,P,b,x,w);if(A){var T=A.bounds.max.y-A.bounds.min.y,N=A.bounds.max.x-A.bounds.min.x;T>C&&(C=T),f.translate(A,{x:N*.5,y:T*.5}),_=A.bounds.max.x+v,i.addBody(y,A),x=A,w+=1}else _+=v}m+=C+E,_=d}return y},r.chain=function(d,c,g,p,v,E){for(var S=d.bodies,y=1;y<S.length;y++){var _=S[y-1],m=S[y],x=_.bounds.max.y-_.bounds.min.y,w=_.bounds.max.x-_.bounds.min.x,b=m.bounds.max.y-m.bounds.min.y,C=m.bounds.max.x-m.bounds.min.x,P={bodyA:_,pointA:{x:w*c,y:x*g},bodyB:m,pointB:{x:C*p,y:b*v}},A=l.extend(P,E);i.addConstraint(d,a.create(A))}return d.label+=" Chain",d},r.mesh=function(d,c,g,p,v){var E=d.bodies,S,y,_,m,x;for(S=0;S<g;S++){for(y=1;y<c;y++)_=E[y-1+S*c],m=E[y+S*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(S>0)for(y=0;y<c;y++)_=E[y+(S-1)*c],m=E[y+S*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),p&&y>0&&(x=E[y-1+(S-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),p&&y<c-1&&(x=E[y+1+(S-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,g,p,v,E,S){return r.stack(d,c,g,p,v,E,function(y,_,m,x,w,b){var C=Math.min(p,Math.ceil(g/2)),P=w?w.bounds.max.x-w.bounds.min.x:0;if(!(x>C)){x=C-x;var A=x,T=g-1-x;if(!(m<A||m>T)){b===1&&f.translate(w,{x:(m+(g%2===1?1:-1))*P,y:0});var N=w?m*P:0;return S(d+N+m*v,_,m,x,w,b)}}})},r.newtonsCradle=function(d,c,g,p,v){for(var E=i.create({label:"Newtons Cradle"}),S=0;S<g;S++){var y=1.9,_=u.circle(d+S*(p*y),c+v,p,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+S*(p*y),y:c},bodyB:_});i.addBody(E,_),i.addConstraint(E,m)}return E},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,g,p,v){var E=f.nextGroup(!0),S=20,y=-g*.5+S,_=g*.5-S,m=0,x=i.create({label:"Car"}),w=u.rectangle(d,c,g,p,{collisionFilter:{group:E},chamfer:{radius:p*.5},density:2e-4}),b=u.circle(d+y,c+m,v,{collisionFilter:{group:E},friction:.8}),C=u.circle(d+_,c+m,v,{collisionFilter:{group:E},friction:.8}),P=a.create({bodyB:w,pointB:{x:y,y:m},bodyA:b,stiffness:1,length:0}),A=a.create({bodyB:w,pointB:{x:_,y:m},bodyA:C,stiffness:1,length:0});return i.addBody(x,w),i.addBody(x,b),i.addBody(x,C),i.addConstraint(x,P),i.addConstraint(x,A),x},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,g,p,v,E,S,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,g,p,v,E,function(w,b){return u.circle(w,b,y,_)});return r.mesh(x,g,p,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),a=o(0),l=a.deprecated;(function(){r.create=function(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,f)},r.update=function(f,u,h,d){var c,g,p,v=h.world,E=f.buckets,S,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var w=r._regionUnion(x,m.region);for(g=w.startCol;g<=w.endCol;g++)for(p=w.startRow;p<=w.endRow;p++){y=r._getBucketId(g,p),S=E[y];var b=g>=x.startCol&&g<=x.endCol&&p>=x.startRow&&p<=x.endRow,C=g>=m.region.startCol&&g<=m.region.endCol&&p>=m.region.startRow&&p<=m.region.endRow;!b&&C&&C&&S&&r._bucketRemoveBody(f,S,m),(m.region===x||b&&!C||d)&&(S||(S=r._createBucket(E,y)),r._bucketAddBody(f,S,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),g=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,g)},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),g=Math.floor(h.min.y/f.bucketHeight),p=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,g,p)},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,g=u.length,p;for(p=0;p<g;p++){var v=u[p];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var E=c(h,v),S=d[E];S?S[2]+=1:d[E]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,g;u.splice(a.indexOf(u,h),1);var p=u.length;for(g=0;g<p;g++){var v=d[c(h,u[g])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,g=[],p;for(p=0;p<c;p++)u=h[d[p]],u[2]>0?g.push(u):delete h[d[p]];return g}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),g=o(1);(function(){r.create=function(p,v){var E=(p?p.mouse:null)||(v?v.mouse:null);E||(p&&p.render&&p.render.canvas?E=l.create(p.render.canvas):v&&v.element?E=l.create(v.element):(E=l.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:E.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:E,element:null,body:null,constraint:S,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(p,"beforeUpdate",function(){var m=d.allBodies(p.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(p,v){var E=p.mouse,S=p.constraint,y=p.body;if(E.button===0){if(S.bodyB)a.set(S.bodyB,!1),S.pointA=E.position;else for(var _=0;_<v.length;_++)if(y=v[_],g.contains(y.bounds,E.position)&&u.canCollide(y.collisionFilter,p.collisionFilter))for(var m=y.parts.length>1?1:0;m<y.parts.length;m++){var x=y.parts[m];if(i.contains(x.vertices,E.position)){S.pointA=E.position,S.bodyB=p.body=y,S.pointB={x:E.position.x-y.position.x,y:E.position.y-y.position.y},S.angleB=y.angle,a.set(y,!1),f.trigger(p,"startdrag",{mouse:E,body:y});break}}}else S.bodyB=p.body=null,S.pointB=null,y&&f.trigger(p,"enddrag",{mouse:E,body:y})},r._triggerEvents=function(p){var v=p.mouse,E=v.sourceEvents;E.mousemove&&f.trigger(p,"mousemove",{mouse:v}),E.mousedown&&f.trigger(p,"mousedown",{mouse:v}),E.mouseup&&f.trigger(p,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(8),l=o(1),f=o(12),u=o(3);(function(){r.collides=function(h,d){for(var c=[],g=d.length,p=h.bounds,v=a.collides,E=l.overlaps,S=0;S<g;S++){var y=d[S],_=y.parts.length,m=_===1?0:1;if(E(y.bounds,p))for(var x=m;x<_;x++){var w=y.parts[x];if(E(w.bounds,p)){var b=v(w,h);if(b){c.push(b);break}}}}return c},r.ray=function(h,d,c,g){g=g||1e-100;for(var p=i.angle(d,c),v=i.magnitude(i.sub(d,c)),E=(c.x+d.x)*.5,S=(c.y+d.y)*.5,y=f.rectangle(E,S,v,g,{angle:p}),_=r.collides(y,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 g=[],p=0;p<h.length;p++){var v=h[p],E=l.overlaps(v.bounds,d);(E&&!c||!E&&c)&&g.push(v)}return g},r.point=function(h,d){for(var c=[],g=0;g<h.length;g++){var p=h[g];if(l.contains(p.bounds,d))for(var v=p.parts.length===1?0:1;v<p.parts.length;v++){var E=p.parts[v];if(l.contains(E.bounds,d)&&u.contains(E.vertices,d)){c.push(p);break}}}return c}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(0),l=o(6),f=o(1),u=o(5),h=o(2),d=o(14);(function(){var c,g;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},g=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}},w=a.extend(x,m);return w.canvas&&(w.canvas.width=w.options.width||w.canvas.width,w.canvas.height=w.options.height||w.canvas.height),w.mouse=m.mouse,w.engine=m.engine,w.canvas=w.canvas||E(w.options.width,w.options.height),w.context=w.canvas.getContext("2d"),w.textures={},w.bounds=w.bounds||{min:{x:0,y:0},max:{x:w.canvas.width,y:w.canvas.height}},w.controller=r,w.options.showBroadphase=!1,w.options.pixelRatio!==1&&r.setPixelRatio(w,w.options.pixelRatio),a.isElement(w.element)&&w.element.appendChild(w.canvas),w},r.run=function(m){(function x(w){m.frameRequestId=c(x),p(m,w),r.world(m,w),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,w),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,w)})()},r.stop=function(m){g(m.frameRequestId)},r.setPixelRatio=function(m,x){var w=m.options,b=m.canvas;x==="auto"&&(x=S(b)),w.pixelRatio=x,b.setAttribute("data-pixel-ratio",x),b.width=w.width*x,b.height=w.height*x,b.style.width=w.width+"px",b.style.height=w.height+"px"},r.lookAt=function(m,x,w,b){b=typeof b<"u"?b:!0,x=a.isArray(x)?x:[x],w=w||{x:0,y:0};for(var C={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},P=0;P<x.length;P+=1){var A=x[P],T=A.bounds?A.bounds.min:A.min||A.position||A,N=A.bounds?A.bounds.max:A.max||A.position||A;T&&N&&(T.x<C.min.x&&(C.min.x=T.x),N.x>C.max.x&&(C.max.x=N.x),T.y<C.min.y&&(C.min.y=T.y),N.y>C.max.y&&(C.max.y=N.y))}var j=C.max.x-C.min.x+2*w.x,H=C.max.y-C.min.y+2*w.y,V=m.canvas.height,W=m.canvas.width,X=W/V,le=j/H,ue=1,ce=1;le>X?ce=le/X:ue=X/le,m.options.hasBounds=!0,m.bounds.min.x=C.min.x,m.bounds.max.x=C.min.x+j*ue,m.bounds.min.y=C.min.y,m.bounds.max.y=C.min.y+H*ce,b&&(m.bounds.min.x+=j*.5-j*ue*.5,m.bounds.max.x+=j*.5-j*ue*.5,m.bounds.min.y+=H*.5-H*ce*.5,m.bounds.max.y+=H*.5-H*ce*.5),m.bounds.min.x-=w.x,m.bounds.max.x-=w.x,m.bounds.min.y-=w.y,m.bounds.max.y-=w.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,w=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,C=w/m.options.height;m.context.setTransform(m.options.pixelRatio/b,0,0,m.options.pixelRatio/C,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 w=a.now(),b=m.engine,C=b.world,P=m.canvas,A=m.context,T=m.options,N=m.timing,j=l.allBodies(C),H=l.allConstraints(C),V=T.wireframes?T.wireframeBackground:T.background,W=[],X=[],le,ue={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",ue),m.currentBackground!==V&&_(m,V),A.globalCompositeOperation="source-in",A.fillStyle="transparent",A.fillRect(0,0,P.width,P.height),A.globalCompositeOperation="source-over",T.hasBounds){for(le=0;le<j.length;le++){var ce=j[le];f.overlaps(ce.bounds,m.bounds)&&W.push(ce)}for(le=0;le<H.length;le++){var ne=H[le],Ce=ne.bodyA,_e=ne.bodyB,De=ne.pointA,fe=ne.pointB;Ce&&(De=h.add(Ce.position,ne.pointA)),_e&&(fe=h.add(_e.position,ne.pointB)),!(!De||!fe)&&(f.contains(m.bounds,De)||f.contains(m.bounds,fe))&&X.push(ne)}r.startViewTransform(m),m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),d.setOffset(m.mouse,m.bounds.min))}else X=H,W=j,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!T.wireframes||b.enableSleeping&&T.showSleeping?r.bodies(m,W,A):(T.showConvexHulls&&r.bodyConvexHulls(m,W,A),r.bodyWireframes(m,W,A)),T.showBounds&&r.bodyBounds(m,W,A),(T.showAxes||T.showAngleIndicator)&&r.bodyAxes(m,W,A),T.showPositions&&r.bodyPositions(m,W,A),T.showVelocity&&r.bodyVelocity(m,W,A),T.showIds&&r.bodyIds(m,W,A),T.showSeparations&&r.separations(m,b.pairs.list,A),T.showCollisions&&r.collisions(m,b.pairs.list,A),T.showVertexNumbers&&r.vertexNumbers(m,W,A),T.showMousePosition&&r.mousePosition(m,m.mouse,A),r.constraints(X,A),T.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",ue),N.lastElapsed=a.now()-w},r.stats=function(m,x,w){for(var b=m.engine,C=b.world,P=l.allBodies(C),A=0,T=55,N=44,j=0,H=0,V=0;V<P.length;V+=1)A+=P[V].parts.length;var W={Part:A,Body:P.length,Cons:l.allConstraints(C).length,Comp:l.allComposites(C).length,Pair:b.pairs.list.length};x.fillStyle="#0e0f19",x.fillRect(j,H,T*5.5,N),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var X in W){var le=W[X];x.fillStyle="#aaa",x.fillText(X,j+T,H+8),x.fillStyle="#eee",x.fillText(le,j+T,H+26),j+=T}},r.performance=function(m,x){var w=m.engine,b=m.timing,C=b.deltaHistory,P=b.elapsedHistory,A=b.timestampElapsedHistory,T=b.engineDeltaHistory,N=b.engineElapsedHistory,j=w.timing.lastDelta,H=v(C),V=v(P),W=v(T),X=v(N),le=v(A),ue=le/H||0,ce=1e3/H||0,ne=4,Ce=12,_e=60,De=34,fe=10,B=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Ce*4+_e*5+22,De),r.status(x,fe,B,_e,ne,C.length,Math.round(ce)+" fps",ce/r._goodFps,function(J){return C[J]/H-1}),r.status(x,fe+Ce+_e,B,_e,ne,T.length,j.toFixed(2)+" dt",r._goodDelta/j,function(J){return T[J]/W-1}),r.status(x,fe+(Ce+_e)*2,B,_e,ne,N.length,X.toFixed(2)+" ut",1-X/r._goodFps,function(J){return N[J]/X-1}),r.status(x,fe+(Ce+_e)*3,B,_e,ne,P.length,V.toFixed(2)+" rt",1-V/r._goodFps,function(J){return P[J]/V-1}),r.status(x,fe+(Ce+_e)*4,B,_e,ne,A.length,ue.toFixed(2)+" x",ue*ue*ue,function(J){return(A[J]/C[J]/ue||0)-1})},r.status=function(m,x,w,b,C,P,A,T,N){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,w+7,b,1),m.beginPath(),m.moveTo(x,w+7-C*a.clamp(.4*N(0),-2,2));for(var j=0;j<b;j+=1)m.lineTo(x+j,w+7-(j<P?C*a.clamp(.4*N(j),-2,2):0));m.stroke(),m.fillStyle="hsl("+a.clamp(25+95*T,0,120)+",100%,60%)",m.fillRect(x,w-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(A,x+b,w-5)},r.constraints=function(m,x){for(var w=x,b=0;b<m.length;b++){var C=m[b];if(!(!C.render.visible||!C.pointA||!C.pointB)){var P=C.bodyA,A=C.bodyB,T,N;if(P?T=h.add(P.position,C.pointA):T=C.pointA,C.render.type==="pin")w.beginPath(),w.arc(T.x,T.y,3,0,2*Math.PI),w.closePath();else{if(A?N=h.add(A.position,C.pointB):N=C.pointB,w.beginPath(),w.moveTo(T.x,T.y),C.render.type==="spring")for(var j=h.sub(N,T),H=h.perp(h.normalise(j)),V=Math.ceil(a.clamp(C.length/5,12,20)),W,X=1;X<V;X+=1)W=X%2===0?1:-1,w.lineTo(T.x+j.x*(X/V)+H.x*W*4,T.y+j.y*(X/V)+H.y*W*4);w.lineTo(N.x,N.y)}C.render.lineWidth&&(w.lineWidth=C.render.lineWidth,w.strokeStyle=C.render.strokeStyle,w.stroke()),C.render.anchors&&(w.fillStyle=C.render.strokeStyle,w.beginPath(),w.arc(T.x,T.y,3,0,2*Math.PI),w.arc(N.x,N.y,3,0,2*Math.PI),w.closePath(),w.fill())}}},r.bodies=function(m,x,w){var b=w;m.engine;var C=m.options,P=C.showInternalEdges||!C.wireframes,A,T,N,j;for(N=0;N<x.length;N++)if(A=x[N],!!A.render.visible){for(j=A.parts.length>1?1:0;j<A.parts.length;j++)if(T=A.parts[j],!!T.render.visible){if(C.showSleeping&&A.isSleeping?b.globalAlpha=.5*T.render.opacity:T.render.opacity!==1&&(b.globalAlpha=T.render.opacity),T.render.sprite&&T.render.sprite.texture&&!C.wireframes){var H=T.render.sprite,V=y(m,H.texture);b.translate(T.position.x,T.position.y),b.rotate(T.angle),b.drawImage(V,V.width*-H.xOffset*H.xScale,V.height*-H.yOffset*H.yScale,V.width*H.xScale,V.height*H.yScale),b.rotate(-T.angle),b.translate(-T.position.x,-T.position.y)}else{if(T.circleRadius)b.beginPath(),b.arc(T.position.x,T.position.y,T.circleRadius,0,2*Math.PI);else{b.beginPath(),b.moveTo(T.vertices[0].x,T.vertices[0].y);for(var W=1;W<T.vertices.length;W++)!T.vertices[W-1].isInternal||P?b.lineTo(T.vertices[W].x,T.vertices[W].y):b.moveTo(T.vertices[W].x,T.vertices[W].y),T.vertices[W].isInternal&&!P&&b.moveTo(T.vertices[(W+1)%T.vertices.length].x,T.vertices[(W+1)%T.vertices.length].y);b.lineTo(T.vertices[0].x,T.vertices[0].y),b.closePath()}C.wireframes?(b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()):(b.fillStyle=T.render.fillStyle,T.render.lineWidth&&(b.lineWidth=T.render.lineWidth,b.strokeStyle=T.render.strokeStyle,b.stroke()),b.fill())}b.globalAlpha=1}}},r.bodyWireframes=function(m,x,w){var b=w,C=m.options.showInternalEdges,P,A,T,N,j;for(b.beginPath(),T=0;T<x.length;T++)if(P=x[T],!!P.render.visible)for(j=P.parts.length>1?1:0;j<P.parts.length;j++){for(A=P.parts[j],b.moveTo(A.vertices[0].x,A.vertices[0].y),N=1;N<A.vertices.length;N++)!A.vertices[N-1].isInternal||C?b.lineTo(A.vertices[N].x,A.vertices[N].y):b.moveTo(A.vertices[N].x,A.vertices[N].y),A.vertices[N].isInternal&&!C&&b.moveTo(A.vertices[(N+1)%A.vertices.length].x,A.vertices[(N+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,w){var b=w,C,P,A;for(b.beginPath(),P=0;P<x.length;P++)if(C=x[P],!(!C.render.visible||C.parts.length===1)){for(b.moveTo(C.vertices[0].x,C.vertices[0].y),A=1;A<C.vertices.length;A++)b.lineTo(C.vertices[A].x,C.vertices[A].y);b.lineTo(C.vertices[0].x,C.vertices[0].y)}b.lineWidth=1,b.strokeStyle="rgba(255,255,255,0.2)",b.stroke()},r.vertexNumbers=function(m,x,w){var b=w,C,P,A;for(C=0;C<x.length;C++){var T=x[C].parts;for(A=T.length>1?1:0;A<T.length;A++){var N=T[A];for(P=0;P<N.vertices.length;P++)b.fillStyle="rgba(255,255,255,0.2)",b.fillText(C+"_"+P,N.position.x+(N.vertices[P].x-N.position.x)*.8,N.position.y+(N.vertices[P].y-N.position.y)*.8)}}},r.mousePosition=function(m,x,w){var b=w;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,w){var b=w;m.engine;var C=m.options;b.beginPath();for(var P=0;P<x.length;P++){var A=x[P];if(A.render.visible)for(var T=x[P].parts,N=T.length>1?1:0;N<T.length;N++){var j=T[N];b.rect(j.bounds.min.x,j.bounds.min.y,j.bounds.max.x-j.bounds.min.x,j.bounds.max.y-j.bounds.min.y)}}C.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,w){var b=w;m.engine;var C=m.options,P,A,T,N;for(b.beginPath(),A=0;A<x.length;A++){var j=x[A],H=j.parts;if(j.render.visible)if(C.showAxes)for(T=H.length>1?1:0;T<H.length;T++)for(P=H[T],N=0;N<P.axes.length;N++){var V=P.axes[N];b.moveTo(P.position.x,P.position.y),b.lineTo(P.position.x+V.x*20,P.position.y+V.y*20)}else for(T=H.length>1?1:0;T<H.length;T++)for(P=H[T],N=0;N<P.axes.length;N++)b.moveTo(P.position.x,P.position.y),b.lineTo((P.vertices[0].x+P.vertices[P.vertices.length-1].x)/2,(P.vertices[0].y+P.vertices[P.vertices.length-1].y)/2)}C.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,w){var b=w;m.engine;var C=m.options,P,A,T,N;for(b.beginPath(),T=0;T<x.length;T++)if(P=x[T],!!P.render.visible)for(N=0;N<P.parts.length;N++)A=P.parts[N],b.arc(A.position.x,A.position.y,3,0,2*Math.PI,!1),b.closePath();for(C.wireframes?b.fillStyle="indianred":b.fillStyle="rgba(0,0,0,0.5)",b.fill(),b.beginPath(),T=0;T<x.length;T++)P=x[T],P.render.visible&&(b.arc(P.positionPrev.x,P.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,w){var b=w;b.beginPath();for(var C=0;C<x.length;C++){var P=x[C];if(P.render.visible){var A=i.getVelocity(P);b.moveTo(P.position.x,P.position.y),b.lineTo(P.position.x+A.x,P.position.y+A.y)}}b.lineWidth=3,b.strokeStyle="cornflowerblue",b.stroke()},r.bodyIds=function(m,x,w){var b=w,C,P;for(C=0;C<x.length;C++)if(x[C].render.visible){var A=x[C].parts;for(P=A.length>1?1:0;P<A.length;P++){var T=A[P];b.font="12px Arial",b.fillStyle="rgba(255,255,255,0.5)",b.fillText(T.id,T.position.x+10,T.position.y-10)}}},r.collisions=function(m,x,w){var b=w,C=m.options,P,A,T,N;for(b.beginPath(),T=0;T<x.length;T++)if(P=x[T],!!P.isActive)for(A=P.collision,N=0;N<P.activeContacts.length;N++){var j=P.activeContacts[N],H=j.vertex;b.rect(H.x-1.5,H.y-1.5,3.5,3.5)}for(C.wireframes?b.fillStyle="rgba(255,255,255,0.7)":b.fillStyle="orange",b.fill(),b.beginPath(),T=0;T<x.length;T++)if(P=x[T],!!P.isActive&&(A=P.collision,P.activeContacts.length>0)){var V=P.activeContacts[0].vertex.x,W=P.activeContacts[0].vertex.y;P.activeContacts.length===2&&(V=(P.activeContacts[0].vertex.x+P.activeContacts[1].vertex.x)/2,W=(P.activeContacts[0].vertex.y+P.activeContacts[1].vertex.y)/2),A.bodyB===A.supports[0].body||A.bodyA.isStatic===!0?b.moveTo(V-A.normal.x*8,W-A.normal.y*8):b.moveTo(V+A.normal.x*8,W+A.normal.y*8),b.lineTo(V,W)}C.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,w){var b=w,C=m.options,P,A,T,N,j;for(b.beginPath(),j=0;j<x.length;j++)if(P=x[j],!!P.isActive){A=P.collision,T=A.bodyA,N=A.bodyB;var H=1;!N.isStatic&&!T.isStatic&&(H=.5),N.isStatic&&(H=0),b.moveTo(N.position.x,N.position.y),b.lineTo(N.position.x-A.penetration.x*H,N.position.y-A.penetration.y*H),H=1,!N.isStatic&&!T.isStatic&&(H=.5),T.isStatic&&(H=0),b.moveTo(T.position.x,T.position.y),b.lineTo(T.position.x+A.penetration.x*H,T.position.y+A.penetration.y*H)}C.wireframes?b.strokeStyle="rgba(255,165,0,0.5)":b.strokeStyle="orange",b.stroke()},r.inspector=function(m,x){m.engine;var w=m.selected,b=m.render,C=b.options,P;if(C.hasBounds){var A=b.bounds.max.x-b.bounds.min.x,T=b.bounds.max.y-b.bounds.min.y,N=A/b.options.width,j=T/b.options.height;x.scale(1/N,1/j),x.translate(-b.bounds.min.x,-b.bounds.min.y)}for(var H=0;H<w.length;H++){var V=w[H].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),V.type){case"body":P=V.bounds,x.beginPath(),x.rect(Math.floor(P.min.x-3),Math.floor(P.min.y-3),Math.floor(P.max.x-P.min.x+6),Math.floor(P.max.y-P.min.y+6)),x.closePath(),x.stroke();break;case"constraint":var W=V.pointA;V.bodyA&&(W=V.pointB),x.beginPath(),x.arc(W.x,W.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)",P=m.selectBounds,x.beginPath(),x.rect(Math.floor(P.min.x),Math.floor(P.min.y),Math.floor(P.max.x-P.min.x),Math.floor(P.max.y-P.min.y)),x.closePath(),x.stroke(),x.fill(),x.translate(-.5,-.5)),C.hasBounds&&x.setTransform(1,0,0,1,0,0)};var p=function(m,x){var w=m.engine,b=m.timing,C=b.historySize,P=w.timing.timestamp;b.delta=x-b.lastTime||r._goodDelta,b.lastTime=x,b.timestampElapsed=P-b.lastTimestamp||0,b.lastTimestamp=P,b.deltaHistory.unshift(b.delta),b.deltaHistory.length=Math.min(b.deltaHistory.length,C),b.engineDeltaHistory.unshift(w.timing.lastDelta),b.engineDeltaHistory.length=Math.min(b.engineDeltaHistory.length,C),b.timestampElapsedHistory.unshift(b.timestampElapsed),b.timestampElapsedHistory.length=Math.min(b.timestampElapsedHistory.length,C),b.engineElapsedHistory.unshift(w.timing.lastElapsed),b.engineElapsedHistory.length=Math.min(b.engineElapsedHistory.length,C),b.elapsedHistory.unshift(b.lastElapsed),b.elapsedHistory.length=Math.min(b.elapsedHistory.length,C)},v=function(m){for(var x=0,w=0;w<m.length;w+=1)x+=m[w];return x/m.length||0},E=function(m,x){var w=document.createElement("canvas");return w.width=m,w.height=x,w.oncontextmenu=function(){return!1},w.onselectstart=function(){return!1},w},S=function(m){var x=m.getContext("2d"),w=window.devicePixelRatio||1,b=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return w/b},y=function(m,x){var w=m.textures[x];return w||(w=m.textures[x]=new Image,w.src=x,w)},_=function(m,x){var w=x;/(jpg|gif|png)$/.test(x)&&(w="url("+x+")"),m.canvas.style.background=w,m.canvas.style.backgroundSize="contain",m.currentBackground=x}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(17),l=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(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(d){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},g=l.extend(c,d);return g.delta=g.delta||1e3/g.fps,g.deltaMin=g.deltaMin||1e3/g.fps,g.deltaMax=g.deltaMax||1e3/(g.fps*.5),g.fps=1e3/g.delta,g},r.run=function(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),function g(p){d.frameRequestId=f(g),p&&d.enabled&&r.tick(d,c,p)}(),d},r.tick=function(d,c,g){var p=c.timing,v;d.isFixed?v=d.delta:(v=g-d.timePrev||d.delta,d.timePrev=g,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var E={timestamp:p.timestamp};i.trigger(d,"beforeTick",E),d.frameCounter+=1,g-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((g-d.counterTimestamp)/1e3),d.counterTimestamp=g,d.frameCounter=0),i.trigger(d,"tick",E),i.trigger(d,"beforeUpdate",E),a.update(c,v),i.trigger(d,"afterUpdate",E),i.trigger(d,"afterTick",E)},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),a=o(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,g,p,v,E,S,y=[],_,m,x=0,w=0,b=0;l=l||15;var C=function(A,T,N){var j=N%2===1&&N>1;if(!E||A!=E.x||T!=E.y){E&&j?(_=E.x,m=E.y):(_=0,m=0);var H={x:_+A,y:m+T};(j||!E)&&(E=H),y.push(H),w=_+A,b=m+T}},P=function(A){var T=A.pathSegTypeAsLetter.toUpperCase();if(T!=="Z"){switch(T){case"M":case"L":case"T":case"C":case"S":case"Q":w=A.x,b=A.y;break;case"H":w=A.x;break;case"V":b=A.y;break}C(w,b,A.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),g=[],f=0;f<a.pathSegList.numberOfItems;f+=1)g.push(a.pathSegList.getItem(f));for(p=g.concat();x<h;){if(S=a.getPathSegAtLength(x),c=g[S],c!=v){for(;p.length&&p[0]!=c;)P(p.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=a.getPointAtLength(x),C(d.x,d.y,0);break}x+=l}for(f=0,u=p.length;f<u;++f)P(p[f]);return y},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,g=a.pathSegList,p=0,v=0,E=g.numberOfItems,S=0;S<E;++S){var y=g.getItem(S),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(p=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=p+y.x1),"x2"in y&&(d=p+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(p+=y.x),"y"in y&&(v+=y.y),_){case"m":g.replaceItem(a.createSVGPathSegMovetoAbs(p,v),S);break;case"l":g.replaceItem(a.createSVGPathSegLinetoAbs(p,v),S);break;case"h":g.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(p),S);break;case"v":g.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),S);break;case"c":g.replaceItem(a.createSVGPathSegCurvetoCubicAbs(p,v,u,h,d,c),S);break;case"s":g.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(p,v,d,c),S);break;case"q":g.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(p,v,u,h),S);break;case"t":g.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(p,v),S);break;case"a":g.replaceItem(a.createSVGPathSegArcAbs(p,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),S);break;case"z":case"Z":p=l,v=f;break}(_=="M"||_=="m")&&(l=p,f=v)}}})()},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}()}])})})(Sd);var $t=Sd.exports;const bd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href,_1={key:0,class:"w-full h-full"},x1=["width","height"],E1={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"},w1={class:"text-sm"},S1={class:"text-xs"},b1={class:"flex justify-end mt-2 text-sm"},C1=Ge({__name:"Cookie",setup(e){const t=be(null),n=be(null),s=be(!0),o=be(0),r=be(0);let i=null;xt(async()=>{s.value=xc(),o.value=f(),r.value=u(),xc()&&(await dn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){p1(),s.value=!1}function l(){g1(),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=$t.Engine.create();let p=$t.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});$t.Render.run(p),$t.Runner.run($t.Runner.create(),i)}h()}function c(){if(m1("cookie"),!i)return;let p=$t.Bodies.circle(y1(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:bd,xScale:.08,yScale:.08}}});$t.Composite.add(i.world,[p]);const v=.02*p.mass;$t.Body.applyForce(p,p.position,{x:v*(p.position.x>f()/2?-1:1),y:-v*wd(3,6)}),g(p)}function g(p){p.position.y>document.body.scrollHeight+1e3?$t.Composite.remove(i.world,p):setTimeout(()=>{g(p)},5e3)}return(p,v)=>{const E=so;return we(),Je(E,null,{default:hn(()=>[te(s)?(we(),tt("div",_1,[oe("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[oe("canvas",{ref_key:"canvas_cookie",ref:n,width:te(o),height:te(r)},null,8,x1)],512),oe("div",E1,[oe("p",w1,ke(p.$t("cookie policy title")),1),oe("div",S1,[oe("span",null,[Hs(ke(p.$t("cookie policy"))+" ",1),oe("button",{onClick:c,class:"underline"},ke(p.$t("cookie policy link")),1)])]),oe("div",b1,[oe("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},ke(p.$t("reject")),1),oe("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},ke(p.$t("accept")),1)])],512)])):st("",!0)]),_:1})}}}),sa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},P1={},T1={class:"flex justify-center text-sm"},L1=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:bd,alt:"",class:"h-full w-full"})])],-1),R1={class:"flex-1 ml-2"},k1={class:"font-bold text-base"};function A1(e,t){return we(),tt("div",T1,[L1,oe("div",R1,[oe("p",k1,ke(e.$t("cookie.title")),1),oe("p",null,ke(e.$t("cookie.description")),1)])])}const I1=sa(P1,[["render",A1]]),O1=""+new URL("future.Byi108RQ.png",import.meta.url).href,N1={},M1={class:"flex text-sm"},D1=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:O1,alt:"",class:"h-full w-full"})])],-1),F1={class:"flex-1 ml-2"},$1={class:"font-bold text-base"};function H1(e,t){return we(),tt("div",M1,[D1,oe("div",F1,[oe("p",$1,ke(e.$t("future.title")),1),oe("p",null,ke(e.$t("future.description")),1)])])}const B1=sa(N1,[["render",H1]]),U1="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",V1={},j1={class:"flex text-sm"},W1=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:U1,alt:"",class:"h-full w-full dark:invert"})])],-1),K1={class:"flex-1 ml-2"},G1={class:"font-bold text-base"};function X1(e,t){return we(),tt("div",j1,[W1,oe("div",K1,[oe("p",G1,ke(e.$t("something.title")),1),oe("p",null,ke(e.$t("something.description")),1)])])}const Y1=sa(V1,[["render",X1]]),J1=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,q1={class:"flex text-sm"},Q1=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:J1,alt:"",class:"h-full w-full"})])],-1),z1={class:"flex-1 ml-2"},Z1={class:"font-bold text-base"},eE={key:0},tE={key:1},nE=Ge({__name:"PictureBrightEgg",setup(e){const t=be(!1);return xt(()=>{t.value=ra().includes("picture-nolights")}),(n,s)=>{const o=so;return we(),Je(o,null,{default:hn(()=>[oe("div",q1,[Q1,oe("div",z1,[oe("p",Z1,ke(n.$t("bright.title")),1),te(t)?st("",!0):(we(),tt("p",eE,ke(n.$t("bright.description")),1)),te(t)?(we(),tt("p",tE,ke(n.$t("bright_either.description")),1)):st("",!0)])])]),_:1})}}}),rE=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,sE={class:"flex text-sm"},oE=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:rE,alt:"",class:"h-full w-full"})])],-1),iE={class:"flex-1 ml-2"},aE={class:"font-bold text-base"},lE={key:0},cE={key:1},uE=Ge({__name:"PictureNoLightEgg",setup(e){const t=be(!1);return xt(()=>{t.value=ra().includes("picture-bright")}),(n,s)=>{const o=so;return we(),Je(o,null,{default:hn(()=>[oe("div",sE,[oE,oe("div",iE,[oe("p",aE,ke(n.$t("dark.title")),1),te(t)?st("",!0):(we(),tt("p",lE,ke(n.$t("dark.description")),1)),te(t)?(we(),tt("p",cE,ke(n.$t("dark_either.description")),1)):st("",!0)])])]),_:1})}}}),fE={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},dE={class:"flex text-sm"},hE={class:"flex-1"},pE={class:"mt-1 text-center"},gE={key:0},mE={key:1},vE=Ge({__name:"EastereggBanner",setup(e,{expose:t}){const n=be(!1),s=be(""),o=be(v1()),r=be(0);xt(()=>{r.value=Ec()});let i=null;function a(f){s.value=f,r.value=Ec(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=I1,d=B1,c=Y1,g=nE,p=uE,v=so;return we(),Je(v,null,{default:hn(()=>[te(n)?(we(),tt("div",fE,[oe("div",{class:Os(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
|
||
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
|
||
transition-opacity ${te(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[oe("div",dE,[oe("div",hE,[te(s)==="cookie"?(we(),Je(h,{key:0})):st("",!0),te(s)==="future"?(we(),Je(d,{key:1})):st("",!0),te(s)==="change-something"?(we(),Je(c,{key:2})):st("",!0),te(s)==="picture-bright"?(we(),Je(g,{key:3})):st("",!0),te(s)==="picture-nolights"?(we(),Je(p,{key:4})):st("",!0),oe("div",pE,[te(r)!=te(o)?(we(),tt("p",gE,ke(te(r))+"/"+ke(te(o))+" "+ke(f.$t("easter eggs found")),1)):st("",!0),te(r)===te(o)?(we(),tt("p",mE,ke(f.$t("all easter eggs found")),1)):st("",!0)])])])],2)])):st("",!0)]),_:1})}}});function Cd(){return localStorage.getItem("theme")??"dark"}function yE(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function HE(){yE(Cd()==="dark"?"light":"dark")}function Pd(e){switch(e||(e=Cd()),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 _E={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},xE={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},EE={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},wE={__name:"app",setup(e){const{locale:t}=ro(),n=be(),s=be(!1);return xt(()=>{Pd(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),ll({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),at(t,o=>{ll({htmlAttrs:{lang:o}})}),(o,r)=>{const i=i1,a=f1,l=C1,f=vE;return te(s)?(we(),tt("div",_E,[oe("div",xE,[oe("div",EE,[Ie(a,null,{default:hn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):st("",!0)}}};async function Td(e,t=ze()){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(()=>Td(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const SE=(...e)=>e.find(t=>t!==void 0);function bE(e){const t=e.componentName||"NuxtLink";function n(o,r){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return wc(o,e.trailingSlash);const i="path"in o&&o.path!==void 0?o.path:r(o).path;return{...o,name:void 0,path:wc(i,e.trailingSlash)}}function s(o){const r=ze(),i=ct(),a=me(()=>!!o.target&&o.target!=="_self"),l=me(()=>{const p=o.to||o.href||"";return typeof p=="string"&&Et(p,{acceptRelative:!0})}),f=va("RouterLink"),u=f&&typeof f!="string"?f.useLink:void 0,h=me(()=>{if(o.external)return!0;const p=o.to||o.href||"";return typeof p=="object"?!1:p===""||l.value}),d=me(()=>{const p=o.to||o.href||"";return h.value?p:n(p,r.resolve)}),c=h.value||u==null?void 0:u({...o,to:d}),g=me(()=>{var p;if(!d.value||l.value)return d.value;if(h.value){const v=typeof d.value=="object"&&"path"in d.value?zo(d.value):d.value,E=typeof v=="object"?r.resolve(v).href:v;return n(E,r.resolve)}return typeof d.value=="object"?((p=r.resolve(d.value))==null?void 0:p.href)??null:n(In(i.app.baseURL,d.value),r.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:h,href:g,isActive:(c==null?void 0:c.isActive)??me(()=>d.value===r.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??me(()=>d.value===r.currentRoute.value.path),route:(c==null?void 0:c.route)??me(()=>r.resolve(d.value)),async navigate(){await df(g.value,{replace:o.replace,external:h.value||a.value})}}}return Ge({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}},useLink:s,setup(o,{slots:r}){const i=ze(),{to:a,href:l,navigate:f,isExternal:u,hasTarget:h,isAbsoluteUrl:d}=s(o),c=be(!1),g=be(null),p=v=>{var E;g.value=o.custom?(E=v==null?void 0:v.$el)==null?void 0:E.nextElementSibling:v==null?void 0:v.$el};if(o.prefetch!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!TE()){const E=ye();let S,y=null;xt(()=>{const _=PE();Ys(()=>{S=oi(()=>{var m;(m=g==null?void 0:g.value)!=null&&m.tagName&&(y=_.observe(g.value,async()=>{y==null||y(),y=null;const x=typeof a.value=="string"?a.value:u.value?zo(a.value):i.resolve(a.value).fullPath;await Promise.all([E.hooks.callHook("link:prefetch",x).catch(()=>{}),!u.value&&!h.value&&Td(a.value,i).catch(()=>{})]),c.value=!0}))})})}),Or(()=>{S&&Yy(S),y==null||y(),y=null})}return()=>{var S;if(!u.value&&!h.value){const y={ref:p,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(c.value&&(y.class=o.prefetchedClass||e.prefetchedClass),y.rel=o.rel||void 0),Ve(va("RouterLink"),y,r.default)}const v=o.target||null,E=SE(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?r.default?r.default({href:l.value,navigate:f,get route(){if(!l.value)return;const y=new URL(l.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Hi(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:E,target:v,isExternal:u.value||h.value,isActive:!1,isExactActive:!1}):null:Ve("a",{ref:g,href:l.value||null,rel:E,target:v},(S=r.default)==null?void 0:S.call(r))}}})}const CE=bE(im);function wc(e,t){const n=t==="append"?Cr:Mr;return Et(e)&&!e.startsWith("http")?e:n(e,!0)}function PE(){const e=ye();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function TE(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const LE=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,RE={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"}},kE={class:"text-2xl md:text-4xl text-center"},AE=oe("img",{src:LE,class:"mx-auto my-2",alt:""},null,-1),IE=Ge({__name:"error",setup(e){const t=Jx();return xt(()=>{Pd()}),(n,s)=>{const o=CE;return we(),tt("div",RE,[oe("div",null,[oe("p",kE,ke(n.$t("wrong directions")),1),AE,Ie(o,{to:te(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:hn(()=>[Hs(ke(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),OE={key:0},Sc={__name:"nuxt-root",setup(e){const t=()=>null,n=ye(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);ze().beforeEach(l)}const o=!1;sn(Dr,js()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=Ws(),i=!1;fu((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Om(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>$n(l)),!1});const a=!1;return(l,f)=>(we(),Je(Di,{onResolve:te(s)},{default:hn(()=>[te(i)?(we(),tt("div",OE)):te(r)?(we(),Je(te(IE),{key:1,error:te(r)},null,8,["error"])):te(a)?(we(),Je(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(we(),Je(Ih(te(o)),{key:3})):(we(),Je(te(wE),{key:4}))]),_:1},8,["onResolve"]))}};let bc;{let e;bc=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?eg(Sc):Zp(Sc),o=um({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Ks(l)}s.config.errorHandler=r;try{await hm(o,s1)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(lm),await o.hooks.callHook("app:mounted",s),await dn()}catch(l){r(l)}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{_i as A,HE as B,Pd as C,qx as D,CE as E,We as F,Jx as G,ze as H,sa as _,js as a,m1 as b,we as c,Ge as d,tt as e,oe as f,Cd as g,te as h,st as i,ll as j,me as k,at as l,Ie as m,hn as n,xt as o,Hs as p,$E as q,be as r,DE as s,ke as t,ro as u,FE as v,NE as w,ME as x,Os as y,Je as z};
|