mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2026-08-05 21:32:23 +00:00
77 lines
350 KiB
JavaScript
77 lines
350 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BTLp1OLW.js","./YTd8-Kra.js","./Dxhk6H6G.js","./about.DQ3KPf58.css","./D-8m_q7O.js","./EcGuMBXW.js","./index.Cj2ATvDz.css","./q87ObKri.js","./BtQtTOHJ.js","./DBEhlI4U.js","./resume.CVBJ3TGt.css"])))=>i.map(i=>d[i]);
|
|
var Eh=Object.defineProperty;var wh=(e,t,n)=>t in e?Eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vn=(e,t,n)=>wh(e,typeof t!="symbol"?t+"":t,n);/**
|
|
* @vue/shared v3.5.40
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function ea(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ae={},sr=[],Xt=()=>{},nu=()=>!1,Qr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zs=e=>e.startsWith("onUpdate:"),Xe=Object.assign,ta=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sh=Object.prototype.hasOwnProperty,be=(e,t)=>Sh.call(e,t),ae=Array.isArray,or=e=>xr(e)==="[object Map]",ru=e=>xr(e)==="[object Set]",$a=e=>xr(e)==="[object Date]",bh=e=>xr(e)==="[object RegExp]",ue=e=>typeof e=="function",Ie=e=>typeof e=="string",wt=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",su=e=>(we(e)||ue(e))&&ue(e.then)&&ue(e.catch),ou=Object.prototype.toString,xr=e=>ou.call(e),Ch=e=>xr(e).slice(8,-1),iu=e=>xr(e)==="[object Object]",eo=e=>Ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vn=ea(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),to=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Th=/-\w/g,ft=to(e=>e.replace(Th,t=>t.slice(1).toUpperCase())),Ph=/\B([A-Z])/g,Yn=to(e=>e.replace(Ph,"-$1").toLowerCase()),no=to(e=>e.charAt(0).toUpperCase()+e.slice(1)),No=to(e=>e?`on${no(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Ar=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},au=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Lh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},lu=e=>{const t=Ie(e)?Number(e):NaN;return isNaN(t)?e:t};let Va;const ro=()=>Va||(Va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function na(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Ie(s)?Ih(s):na(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Ie(e)||we(e))return e}const Rh=/;(?![^(]*\))/g,Ah=/:([^]+)/,kh=/\/\*[^]*?\*\//g;function Ih(e){const t={};return e.replace(kh,"").split(Rh).forEach(n=>{if(n){const s=n.split(Ah);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function so(e){let t="";if(Ie(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const s=so(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Oh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nh=ea(Oh);function cu(e){return!!e||e===""}function Mh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ra(e[s],t[s]);return n}function ra(e,t){if(e===t)return!0;let n=$a(e),s=$a(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=wt(e),s=wt(t),n||s)return e===t;if(n=ae(e),s=ae(t),n||s)return n&&s?Mh(e,t):!1;if(n=we(e),s=we(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ra(e[i],t[i]))return!1}}return String(e)===String(t)}const uu=e=>!!(e&&e.__v_isRef===!0),Me=e=>Ie(e)?e:e==null?"":ae(e)||we(e)&&(e.toString===ou||!ue(e.toString))?uu(e)?Me(e.value):JSON.stringify(e,fu,2):String(e),fu=(e,t)=>uu(t)?fu(e,t.value):or(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Mo(s,r)+" =>"]=o,n),{})}:ru(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mo(n))}:wt(t)?Mo(t):we(t)&&!ae(t)&&!iu(t)?String(t):t,Mo=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.40
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ke;class du{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ke&&(Ke.active?(this.parent=Ke,this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){++this._on===1&&(this.prevScope=Ke,Ke=this)}off(){if(this._on>0&&--this._on===0){if(Ke===this)Ke=this.prevScope;else{let t=Ke;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(n=0,s=o.length;n<s;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function sa(e){return new du(e)}function oo(){return Ke}function oi(e,t=!1){Ke&&Ke.cleanups.push(e)}let ke;const Do=new WeakSet;class hu{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ke&&(Ke.active?Ke.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Do.has(this)&&(Do.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||gu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ja(this),mu(this);const t=ke,n=Ft;ke=this,Ft=!0;try{return this.fn()}finally{vu(this),ke=t,Ft=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)aa(t);this.deps=this.depsTail=void 0,ja(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Do.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ii(this)&&this.run()}get dirty(){return ii(this)}}let pu=0,kr,Ir;function gu(e,t=!1){if(e.flags|=8,t){e.next=Ir,Ir=e;return}e.next=kr,kr=e}function oa(){pu++}function ia(){if(--pu>0)return;if(Ir){let t=Ir;for(Ir=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;kr;){let t=kr;for(kr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function mu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vu(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),aa(s),Dh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function ii(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hr)||(e.globalVersion=Hr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ii(e))))return;e.flags|=2;const t=e.dep,n=ke,s=Ft;ke=e,Ft=!0;try{mu(e);const o=e.fn(e._value);(t.version===0||Kt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ke=n,Ft=s,vu(e),e.flags&=-3}}function aa(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)aa(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Dh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ft=!0;const _u=[];function dn(){_u.push(Ft),Ft=!1}function hn(){const e=_u.pop();Ft=e===void 0?!0:e}function ja(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ke;ke=void 0;try{t()}finally{ke=n}}}let Hr=0;class Fh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class io{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ke||!Ft||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new Fh(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,xu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ke.depsTail,n.nextDep=void 0,ke.depsTail.nextDep=n,ke.depsTail=n,ke.deps===n&&(ke.deps=s)}return n}trigger(t){this.version++,Hr++,this.notify(t)}notify(t){oa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ia()}}}function xu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)xu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ts=new WeakMap,jn=Symbol(""),ai=Symbol(""),Br=Symbol("");function nt(e,t,n){if(Ft&&ke){let s=Ts.get(e);s||Ts.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new io),o.map=s,o.key=n),o.track()}}function on(e,t,n,s,o,r){const i=Ts.get(e);if(!i){Hr++;return}const a=l=>{l&&l.trigger()};if(oa(),t==="clear")i.forEach(a);else{const l=ae(e),f=l&&eo(n);if(l&&n==="length"){const u=Number(s);i.forEach((h,d)=>{(d==="length"||d===Br||!wt(d)&&d>=u)&&a(h)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Br)),t){case"add":l?f&&a(i.get("length")):(a(i.get(jn)),or(e)&&a(i.get(ai)));break;case"delete":l||(a(i.get(jn)),or(e)&&a(i.get(ai)));break;case"set":or(e)&&a(i.get(jn));break}}ia()}function Uh(e,t){const n=Ts.get(e);return n&&n.get(t)}function Jn(e){const t=ve(e);return t===e?t:(nt(t,"iterate",Br),Et(e)?t:t.map(Ut))}function ao(e){return nt(e=ve(e),"iterate",Br),e}function Gt(e,t){return Jt(e)?cr(bn(e)?Ut(t):t):Ut(t)}const Hh={__proto__:null,[Symbol.iterator](){return Fo(this,Symbol.iterator,e=>Gt(this,e))},concat(...e){return Jn(this).concat(...e.map(t=>ae(t)?Jn(t):t))},entries(){return Fo(this,"entries",e=>(e[1]=Gt(this,e[1]),e))},every(e,t){return Qt(this,"every",e,t,void 0,arguments)},filter(e,t){return Qt(this,"filter",e,t,n=>n.map(s=>Gt(this,s)),arguments)},find(e,t){return Qt(this,"find",e,t,n=>Gt(this,n),arguments)},findIndex(e,t){return Qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qt(this,"findLast",e,t,n=>Gt(this,n),arguments)},findLastIndex(e,t){return Qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Uo(this,"includes",e)},indexOf(...e){return Uo(this,"indexOf",e)},join(e){return Jn(this).join(e)},lastIndexOf(...e){return Uo(this,"lastIndexOf",e)},map(e,t){return Qt(this,"map",e,t,void 0,arguments)},pop(){return Er(this,"pop")},push(...e){return Er(this,"push",e)},reduce(e,...t){return Wa(this,"reduce",e,t)},reduceRight(e,...t){return Wa(this,"reduceRight",e,t)},shift(){return Er(this,"shift")},some(e,t){return Qt(this,"some",e,t,void 0,arguments)},splice(...e){return Er(this,"splice",e)},toReversed(){return Jn(this).toReversed()},toSorted(e){return Jn(this).toSorted(e)},toSpliced(...e){return Jn(this).toSpliced(...e)},unshift(...e){return Er(this,"unshift",e)},values(){return Fo(this,"values",e=>Gt(this,e))}};function Fo(e,t,n){const s=ao(e),o=s[t]();return s!==e&&!Et(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const Bh=Array.prototype;function Qt(e,t,n,s,o,r){const i=ao(e),a=i!==e&&!Et(e),l=i[t];if(l!==Bh[t]){const h=l.apply(e,r);return a?Ut(h):h}let f=n;i!==e&&(a?f=function(h,d){return n.call(this,Gt(e,h),d,e)}:n.length>2&&(f=function(h,d){return n.call(this,h,d,e)}));const u=l.call(i,f,s);return a&&o?o(u):u}function Wa(e,t,n,s){const o=ao(e),r=o!==e&&!Et(e);let i=n,a=!1;o!==e&&(r?(a=s.length===0,i=function(f,u,h){return a&&(a=!1,f=Gt(e,f)),n.call(this,f,Gt(e,u),h,e)}):n.length>3&&(i=function(f,u,h){return n.call(this,f,u,h,e)}));const l=o[t](i,...s);return a?Gt(e,l):l}function Uo(e,t,n){const s=ve(e);nt(s,"iterate",Br);const o=s[t](...n);return(o===-1||o===!1)&&lo(n[0])?(n[0]=ve(n[0]),s[t](...n)):o}function Er(e,t,n=[]){dn(),oa();const s=ve(e)[t].apply(e,n);return ia(),hn(),s}const $h=ea("__proto__,__v_isRef,__isVue"),Eu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function Vh(e){wt(e)||(e=String(e));const t=ve(this);return nt(t,"has",e),t.hasOwnProperty(e)}class wu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;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?zh:Tu:r?Cu:bu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=Hh[n]))return l;if(n==="hasOwnProperty")return Vh}const a=Reflect.get(t,n,He(t)?t:s);if((wt(n)?Eu.has(n):$h(n))||(o||nt(t,"get",n),r))return a;if(He(a)){const l=i&&eo(n)?a:a.value;return o&&we(l)?ci(l):l}return we(a)?o?ci(a):Pn(a):a}}class Su extends wu{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=ae(t)&&eo(n);if(!this._isShallow){const f=Jt(r);if(!Et(s)&&!Jt(s)&&(r=ve(r),s=ve(s)),!i&&He(r)&&!He(s))return f||(r.value=s),!0}const a=i?Number(n)<t.length:be(t,n),l=Reflect.set(t,n,s,He(t)?t:o);return t===ve(o)&&l&&(a?Kt(s,r)&&on(t,"set",n,s):on(t,"add",n,s)),l}deleteProperty(t,n){const s=be(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&on(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!wt(n)||!Eu.has(n))&&nt(t,"has",n),s}ownKeys(t){return nt(t,"iterate",ae(t)?"length":jn),Reflect.ownKeys(t)}}class jh extends wu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Wh=new Su,Gh=new jh,Kh=new Su(!0);const li=e=>e,is=e=>Reflect.getPrototypeOf(e);function Yh(e,t,n){return function(...s){const o=this.__v_raw,r=ve(o),i=or(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...s),u=n?li:t?cr:Ut;return!t&&nt(r,"iterate",l?ai:jn),Xe(Object.create(f),{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}}})}}function as(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xh(e,t){const n={get(o){const r=this.__v_raw,i=ve(r),a=ve(o);e||(Kt(o,a)&&nt(i,"get",o),nt(i,"get",a));const{has:l}=is(i),f=t?li:e?cr:Ut;if(l.call(i,o))return f(r.get(o));if(l.call(i,a))return f(r.get(a));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&nt(ve(o),"iterate",jn),o.size},has(o){const r=this.__v_raw,i=ve(r),a=ve(o);return e||(Kt(o,a)&&nt(i,"has",o),nt(i,"has",a)),o===a?r.has(o):r.has(o)||r.has(a)},forEach(o,r){const i=this,a=i.__v_raw,l=ve(a),f=t?li:e?cr:Ut;return!e&&nt(l,"iterate",jn),a.forEach((u,h)=>o.call(r,f(u),f(h),i))}};return Xe(n,e?{add:as("add"),set:as("set"),delete:as("delete"),clear:as("clear")}:{add(o){const r=ve(this),i=is(r),a=ve(o),l=!t&&!Et(o)&&!Jt(o)?a:o;return i.has.call(r,l)||Kt(o,l)&&i.has.call(r,o)||Kt(a,l)&&i.has.call(r,a)||(r.add(l),on(r,"add",l,l)),this},set(o,r){!t&&!Et(r)&&!Jt(r)&&(r=ve(r));const i=ve(this),{has:a,get:l}=is(i);let f=a.call(i,o);f||(o=ve(o),f=a.call(i,o));const u=l.call(i,o);return i.set(o,r),f?Kt(r,u)&&on(i,"set",o,r):on(i,"add",o,r),this},delete(o){const r=ve(this),{has:i,get:a}=is(r);let l=i.call(r,o);l||(o=ve(o),l=i.call(r,o)),a&&a.call(r,o);const f=r.delete(o);return l&&on(r,"delete",o,void 0),f},clear(){const o=ve(this),r=o.size!==0,i=o.clear();return r&&on(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Yh(o,e,t)}),n}function la(e,t){const n=Xh(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(be(n,o)&&o in s?n:s,o,r)}const qh={get:la(!1,!1)},Jh={get:la(!1,!0)},Qh={get:la(!0,!1)};const bu=new WeakMap,Cu=new WeakMap,Tu=new WeakMap,zh=new WeakMap;function Zh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pn(e){return Jt(e)?e:ca(e,!1,Wh,qh,bu)}function ln(e){return ca(e,!1,Kh,Jh,Cu)}function ci(e){return ca(e,!0,Gh,Qh,Tu)}function ca(e,t,n,s,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=o.get(e);if(r)return r;const i=Zh(Ch(e));if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function bn(e){return Jt(e)?bn(e.__v_raw):!!(e&&e.__v_isReactive)}function Jt(e){return!!(e&&e.__v_isReadonly)}function Et(e){return!!(e&&e.__v_isShallow)}function lo(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function ep(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&au(e,"__v_skip",!0),e}const Ut=e=>we(e)?Pn(e):e,cr=e=>we(e)?ci(e):e;function He(e){return e?e.__v_isRef===!0:!1}function Te(e){return Pu(e,!1)}function ur(e){return Pu(e,!0)}function Pu(e,t){return He(e)?e:new tp(e,t)}class tp{constructor(t,n){this.dep=new io,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Ut(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Et(t)||Jt(t);t=s?t:ve(t),Kt(t,n)&&(this._rawValue=t,this._value=s?t:Ut(t),this.dep.trigger())}}function re(e){return He(e)?e.value:e}const np={get:(e,t,n)=>t==="__v_raw"?e:re(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return He(o)&&!He(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Lu(e){return bn(e)?e:new Proxy(e,np)}class rp{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new io,{get:s,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function sp(e){return new rp(e)}class op{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=wt(n)?n:String(n),this._raw=ve(t);let o=!0,r=t;if(!ae(t)||wt(this._key)||!eo(this._key))do o=!lo(r)||Et(r);while(o&&(r=r.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&He(this._raw[this._key])){const n=this._object[this._key];if(He(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Uh(this._raw,this._key)}}class ip{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ru(e,t,n){return He(e)?e:ue(e)?new ip(e):we(e)&&arguments.length>1?ap(e,t,n):Te(e)}function ap(e,t,n){return new op(e,t,n)}class lp{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new io(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Hr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return gu(this,!0),!0}get value(){const t=this.dep.track();return yu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function cp(e,t,n=!1){let s,o;return ue(e)?s=e:(s=e.get,o=e.set),new lp(s,o,n)}const ls={},Ps=new WeakMap;let Bn;function up(e,t=!1,n=Bn){if(n){let s=Ps.get(n);s||Ps.set(n,s=[]),s.push(e)}}function fp(e,t,n=Ae){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:a,call:l}=n,f=_=>o?_:Et(_)||o===!1||o===0?an(_,1):an(_);let u,h,d,c,p=!1,g=!1;if(He(e)?(h=()=>e.value,p=Et(e)):bn(e)?(h=()=>f(e),p=!0):ae(e)?(g=!0,p=e.some(_=>bn(_)||Et(_)),h=()=>e.map(_=>{if(He(_))return _.value;if(bn(_))return f(_);if(ue(_))return l?l(_,2):_()})):ue(e)?t?h=l?()=>l(e,2):e:h=()=>{if(d){dn();try{d()}finally{hn()}}const _=Bn;Bn=u;try{return l?l(e,3,[c]):e(c)}finally{Bn=_}}:h=Xt,t&&o){const _=h,m=o===!0?1/0:o;h=()=>an(_(),m)}const v=oo(),E=()=>{u.stop(),v&&v.active&&ta(v.effects,u)};if(r&&t){const _=t;t=(...m)=>{const x=_(...m);return E(),x}}let w=g?new Array(e.length).fill(ls):ls;const y=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const m=u.run();if(_||o||p||(g?m.some((x,S)=>Kt(x,w[S])):Kt(m,w))){d&&d();const x=Bn;Bn=u;try{const S=[m,w===ls?void 0:g&&w[0]===ls?[]:w,c];w=m,l?l(t,3,S):t(...S)}finally{Bn=x}}}else u.run()};return a&&a(y),u=new hu(h),u.scheduler=i?()=>i(y,!1):y,c=_=>up(_,!1,u),d=u.onStop=()=>{const _=Ps.get(u);if(_){if(l)l(_,4);else for(const m of _)m();Ps.delete(u)}},t?s?y(!0):w=u.run():i?i(y.bind(null,!0),!0):u.run(),E.pause=u.pause.bind(u),E.resume=u.resume.bind(u),E.stop=E,E}function an(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,He(e))an(e.value,t,n);else if(ae(e))for(let s=0;s<e.length;s++)an(e[s],t,n);else if(ru(e)||or(e))e.forEach(s=>{an(s,t,n)});else if(iu(e)){for(const s in e)an(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&an(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.40
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function zr(e,t,n,s){try{return s?e(...s):e()}catch(o){Zr(o,t,n)}}function Pt(e,t,n,s){if(ue(e)){const o=zr(e,t,n,s);return o&&su(o)&&o.catch(r=>{Zr(r,t,n)}),o}if(ae(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Pt(e[r],t,n,s));return o}}function Zr(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ae;if(t){let a=t.parent;const l=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,l,f)===!1)return}a=a.parent}if(r){dn(),zr(r,null,10,[e,l,f]),hn();return}}dp(e,n,o,s,i)}function dp(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const ut=[];let jt=-1;const ir=[];let xn=null,er=0;const Au=Promise.resolve();let Ls=null;function Ln(e){const t=Ls||Au;return e?t.then(this?e.bind(this):e):t}function hp(e){let t=jt+1,n=ut.length;for(;t<n;){const s=t+n>>>1,o=ut[s],r=$r(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function ua(e){if(!(e.flags&1)){const t=$r(e),n=ut[ut.length-1];!n||!(e.flags&2)&&t>=$r(n)?ut.push(e):ut.splice(hp(t),0,e),e.flags|=1,ku()}}function ku(){Ls||(Ls=Au.then(Iu))}function ui(e){ae(e)?ir.push(...e):xn&&e.id===-1?xn.splice(er+1,0,e):e.flags&1||(ir.push(e),e.flags|=1),ku()}function Ga(e,t,n=jt+1){for(;n<ut.length;n++){const s=ut[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ut.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Rs(e){if(ir.length){const t=[...new Set(ir)].sort((n,s)=>$r(n)-$r(s));if(ir.length=0,xn){xn.push(...t);return}for(xn=t,er=0;er<xn.length;er++){const n=xn[er];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xn=null,er=0}}const $r=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Iu(e){try{for(jt=0;jt<ut.length;jt++){const t=ut[jt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),zr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;jt<ut.length;jt++){const t=ut[jt];t&&(t.flags&=-2)}jt=-1,ut.length=0,Rs(),Ls=null,(ut.length||ir.length)&&Iu()}}let Ze=null,Ou=null;function As(e){const t=Ze;return Ze=e,Ou=e&&e.type.__scopeId||null,t}function Rn(e,t=Ze,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ds(-1);const r=As(t),i=fn.length;let a;try{a=e(...o)}finally{for(let l=fn.length;l>i;l--)po();As(r),s._d&&Ds(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function cS(e,t){if(Ze===null)return e;const n=mo(Ze),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,a,l=Ae]=t[o];r&&(ue(r)&&(r={mounted:r,updated:r}),r.deep&&an(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Wt(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&&(dn(),Pt(l,n,8,[e.el,a,e,t]),hn())}}function Cn(e,t){if(rt){let n=rt.provides;const s=rt.parent&&rt.parent.provides;s===n&&(n=rt.provides=Object.create(s)),n[e]=t}}function st(e,t,n=!1){const s=mn();if(s||Wn){let o=Wn?Wn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ue(t)?t.call(s&&s.proxy):t}}function Nu(){return!!(mn()||Wn)}const pp=Symbol.for("v-scx"),gp=()=>st(pp);function mp(e,t){return fa(e,null,t)}function vt(e,t,n){return fa(e,t,n)}function fa(e,t,n=Ae){const{immediate:s,deep:o,flush:r,once:i}=n,a=Xe({},n),l=t&&s||!t&&r!=="post";let f;if(jr){if(r==="sync"){const c=gp();f=c.__watcherHandles||(c.__watcherHandles=[])}else if(!l){const c=()=>{};return c.stop=Xt,c.resume=Xt,c.pause=Xt,c}}const u=rt;a.call=(c,p,g)=>Pt(c,u,p,g);let h=!1;r==="post"?a.scheduler=c=>{Ye(c,u&&u.suspense)}:r!=="sync"&&(h=!0,a.scheduler=(c,p)=>{p?c():ua(c)}),a.augmentJob=c=>{t&&(c.flags|=4),h&&(c.flags|=2,u&&(c.id=u.uid,c.i=u))};const d=fp(e,t,a);return jr&&(f?f.push(d):l&&d()),d}function vp(e,t,n){const s=this.proxy,o=Ie(e)?e.includes(".")?Mu(s,e):()=>s[e]:e.bind(s,s);let r;ue(t)?r=t:(r=t.handler,n=t);const i=ts(this),a=fa(o,r.bind(s),n);return i(),a}function Mu(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}}const yp=Symbol("_vte"),Du=e=>e.__isTeleport,Ct=Symbol("_leaveCb"),wr=Symbol("_enterCb");function _p(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Rt(()=>{e.isMounted=!0}),es(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Fu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:St,onEnter:St,onAfterEnter:St,onEnterCancelled:St,onBeforeLeave:St,onLeave:St,onAfterLeave:St,onLeaveCancelled:St,onBeforeAppear:St,onAppear:St,onAfterAppear:St,onAppearCancelled:St},Uu=e=>{const t=e.subTree;return t.component?Uu(t.component):t},xp={name:"BaseTransition",props:Fu,setup(e,{slots:t}){const n=mn(),s=_p();return()=>{const o=t.default&&$u(t.default(),!0),r=o&&o.length?Hu(o):n.subTree?ct():void 0;if(!r)return;const i=ve(e),{mode:a}=i;if(s.isLeaving)return Ho(r);const l=Ka(r);if(!l)return Ho(r);let f=fi(l,i,s,n,h=>f=h);l.type!==je&&fr(l,f);let u=n.subTree&&Ka(n.subTree);if(u&&u.type!==je&&!Nt(u,l)&&Uu(n).type!==je){let h=fi(u,i,s,n);if(fr(u,h),a==="out-in"&&l.type!==je)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},Ho(r);a==="in-out"&&l.type!==je?h.delayLeave=(d,c,p)=>{const g=Bu(s,u);g[String(u.key)]=u,d[Ct]=()=>{c(),d[Ct]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{p(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Hu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const Ep=xp;function Bu(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 fi(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:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:E,onAfterAppear:w,onAppearCancelled:y}=t,_=String(e.key),m=Bu(n,e),x=(T,L)=>{T&&Pt(T,s,9,L)},S=(T,L)=>{const P=L[1];x(T,L),ae(T)?T.every(C=>C.length<=1)&&P():T.length<=1&&P()},b={mode:i,persisted:a,beforeEnter(T){let L=l;if(!n.isMounted)if(r)L=v||l;else return;T[Ct]&&T[Ct](!0);const P=m[_];P&&Nt(e,P)&&P.el[Ct]&&P.el[Ct](),x(L,[T])},enter(T){if(m[_]===e)return;let L=f,P=u,C=h;if(!n.isMounted)if(r)L=E||f,P=w||u,C=y||h;else return;let O=!1;T[wr]=U=>{O||(O=!0,U?x(C,[T]):x(P,[T]),b.delayedLeave&&b.delayedLeave(),T[wr]=void 0)};const F=T[wr].bind(null,!1);L?S(L,[T,F]):F()},leave(T,L){const P=String(e.key);if(T[wr]&&T[wr](!0),n.isUnmounting)return L();x(d,[T]);let C=!1;T[Ct]=F=>{C||(C=!0,L(),F?x(g,[T]):x(p,[T]),T[Ct]=void 0,m[P]===e&&delete m[P])};const O=T[Ct].bind(null,!1);m[P]=e,c?S(c,[T,O]):O()},clone(T){const L=fi(T,t,n,s,o);return o&&o(L),L}};return b}function Ho(e){if(co(e))return e=pn(e),e.children=null,e}function Ka(e){if(!co(e))return Du(e.type)&&e.children?Hu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ue(n.default))return n.default()}}function fr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fr(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 $u(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===Je?(i.patchFlag&128&&o++,s=s.concat($u(i.children,t,a))):(t||i.type!==je)&&s.push(a!=null?pn(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function tt(e,t){return ue(e)?Xe({name:e.name},t,{setup:e}):e}function Vu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ya(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ks=new WeakMap;function ar(e,t,n,s,o=!1){if(ae(e)){e.forEach((g,v)=>ar(g,t&&(ae(t)?t[v]:t),n,s,o));return}if(un(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ar(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?mo(s.component):s.el,i=o?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Ae?a.refs={}:a.refs,h=a.setupState,d=ve(h),c=h===Ae?nu:g=>Ya(u,g)?!1:be(d,g),p=(g,v)=>!(v&&Ya(u,v));if(f!=null&&f!==l){if(Xa(t),Ie(f))u[f]=null,c(f)&&(h[f]=null);else if(He(f)){const g=t;p(f,g.k)&&(f.value=null),g.k&&(u[g.k]=null)}}if(ue(l))zr(l,a,12,[i,u]);else{const g=Ie(l),v=He(l);if(g||v){const E=()=>{if(e.f){const w=g?c(l)?h[l]:u[l]:p()||!e.k?l.value:u[e.k];if(o)ae(w)&&ta(w,r);else if(ae(w))w.includes(r)||w.push(r);else if(g)u[l]=[r],c(l)&&(h[l]=u[l]);else{const y=[r];p(l,e.k)&&(l.value=y),e.k&&(u[e.k]=y)}}else g?(u[l]=i,c(l)&&(h[l]=i)):v&&(p(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const w=()=>{E(),ks.delete(e)};w.id=-1,ks.set(e,w),Ye(w,n)}else Xa(e),E()}}}function Xa(e){const t=ks.get(e);t&&(t.flags|=8,ks.delete(e))}let qa=!1;const Qn=()=>{qa||(console.error("Hydration completed but contains mismatches."),qa=!0)},wp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Sp=e=>e.namespaceURI.includes("MathML"),cs=e=>{if(e.nodeType===1){if(wp(e))return"svg";if(Sp(e))return"mathml"}},us=e=>e.nodeType===8;function bp(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,_),Rs(),_._vnode=y;return}h(_.firstChild,y,null,null,null),Rs(),_._vnode=y},h=(y,_,m,x,S,b=!1)=>{b=b||!!_.dynamicChildren;const T=us(y)&&y.data==="[",L=()=>g(y,_,m,x,S,T),{type:P,ref:C,shapeFlag:O,patchFlag:F}=_;let U=y.nodeType;_.el=y,F===-2&&(b=!1,_.dynamicChildren=null);let $=null;switch(P){case Tn:U!==3?_.children===""?(l(_.el=o(""),i(y),y),$=y):$=L():(y.data!==_.children&&(Qn(),y.data=_.children),$=r(y));break;case je:w(y)?($=r(y),E(_.el=y.content.firstChild,y,m)):U!==8||T?$=L():$=r(y);break;case Nr:if(T&&(y=r(y),U=y.nodeType),U===1||U===3){$=y;const j=!_.children.length;for(let q=0;q<_.staticCount;q++)j&&(_.children+=$.nodeType===1?$.outerHTML:$.data),q===_.staticCount-1&&(_.anchor=$),$=r($);return T?r($):$}else L();break;case Je:T?$=p(y,_,m,x,S,b):$=L();break;default:if(O&1)(U!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!w(y)?$=L():$=d(y,_,m,x,S,b);else if(O&6){_.slotScopeIds=S;const j=i(y);if(T?$=v(y):us(y)&&y.data==="teleport start"?$=v(y,y.data,"teleport end"):$=r(y),t(_,j,null,m,x,cs(j),b),un(_)&&!_.type.__asyncResolved){let q;T?(q=De(Je),q.anchor=$?$.previousSibling:j.lastChild):q=y.nodeType===3?go(""):De("div"),q.el=y,_.component.subTree=q}}else O&64?U!==8?$=L():$=_.type.hydrate(y,_,m,x,S,b,e,c):O&128&&($=_.type.hydrate(y,_,m,x,cs(i(y)),S,b,e,h))}return C!=null&&ar(C,null,x,_),$},d=(y,_,m,x,S,b)=>{b=b||!!_.dynamicChildren;const{type:T,dynamicProps:L,props:P,patchFlag:C,shapeFlag:O,dirs:F,transition:U}=_,$=T==="input"||T==="option",j=!!L;if($||j||C!==-1){F&&Wt(_,null,m,"created");let q=!1;if(w(y)){q=hf(null,U)&&m&&m.vnode.props&&m.vnode.props.appear;const ne=y.content.firstChild;if(q){const ce=ne.getAttribute("class");ce&&(ne.$cls=ce),U.beforeEnter(ne)}E(ne,y,m),_.el=y=ne}if(O&16&&!(P&&(P.innerHTML||P.textContent))){let ne=c(y.firstChild,_,y,m,x,S,b);for(ne&&!xs(y,1)&&Qn();ne;){const ce=ne;ne=ne.nextSibling,a(ce)}}else if(O&8){let ne=_.children;ne[0]===`
|
|
`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(ne=ne.slice(1));const{textContent:ce}=y;ce!==ne&&ce!==ne.replace(/\r\n|\r/g,`
|
|
`)&&(xs(y,0)||Qn(),y.textContent=_.children)}if(P){if($||j||!b||C&48){const ne=y.tagName.includes("-"),ce=y.namespaceURI.includes("svg")?"svg":y.namespaceURI.includes("MathML")?"mathml":void 0;for(const ee in P)($&&(ee.endsWith("value")||ee==="indeterminate")||Qr(ee)&&!Vn(ee)||ee[0]==="."||ne&&!Vn(ee)||L&&L.includes(ee))&&s(y,ee,null,P[ee],ce,m)}else if(P.onClick)s(y,"onClick",null,P.onClick,void 0,m);else if(C&4&&bn(P.style))for(const ne in P.style)P.style[ne]}let oe;(oe=P&&P.onVnodeBeforeMount)&&pt(oe,m,_),F&&Wt(_,null,m,"beforeMount"),((oe=P&&P.onVnodeMounted)||F||q)&&yf(()=>{oe&&pt(oe,m,_),q&&U.enter(y),F&&Wt(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,S,b,T)=>{T=T||!!_.dynamicChildren;const L=_.children,P=L.length;let C=!1;for(let O=0;O<P;O++){const F=T?L[O]:L[O]=xt(L[O]),U=F.type===Tn;y?(U&&!T&&O+1<P&&xt(L[O+1]).type===Tn&&(l(o(y.data.slice(F.children.length)),m,r(y)),y.data=F.children),y=h(y,F,x,S,b,T)):U&&!F.children?l(F.el=o(""),m):(C||(C=!0,xs(m,1)||Qn()),n(null,F,m,null,x,S,cs(m),b))}return y},p=(y,_,m,x,S,b)=>{const{slotScopeIds:T}=_;T&&(S=S?S.concat(T):T);const L=i(y),P=c(r(y),_,L,m,x,S,b);return P&&us(P)&&P.data==="]"?r(_.anchor=P):(Qn(),l(_.anchor=f("]"),L,P),P)},g=(y,_,m,x,S,b)=>{if(Tp(y,_)||Qn(),_.el=null,b){const P=v(y);for(;;){const C=r(y);if(C&&C!==P)a(C);else break}}const T=r(y),L=i(y);return a(y),n(null,_,L,T,m,x,cs(L),S),m&&(m.vnode.el=_.el,ho(m,_.el)),T},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&us(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 S=m;for(;S;)S.vnode.el===_&&(S.vnode.el=S.subTree.el=y),S=S.parent},w=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[u,h]}const Is="data-allow-mismatch",Cp={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function xs(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Is);)e=e.parentElement;return da(e&&e.getAttribute(Is),t)}function da(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Cp[t])}}function Tp(e,t){return xs(e.parentElement,1)||Pp(e)||Lp(t)}function Pp(e){return e.nodeType===1&&da(e.getAttribute(Is),1)}function Lp({props:e}){const t=e&&e[Is];return typeof t=="string"&&da(t,1)}ro().requestIdleCallback;ro().cancelIdleCallback;const un=e=>!!e.type.__asyncLoader,co=e=>e.type.__isKeepAlive,Rp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=mn(),s=n.ctx;if(!s.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};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=(w,y,_,m,x)=>{const S=w.component;f(w,y,_,0,a),l(S.vnode,w,y,_,S,a,m,w.slotScopeIds,x),Ye(()=>{S.isDeactivated=!1,S.a&&Ar(S.a);const b=w.props&&w.props.onVnodeMounted;b&&pt(b,S.parent,w)},a)},s.deactivate=w=>{const y=w.component;Ns(y.m),Ns(y.a),f(w,d,null,1,a),Ye(()=>{y.da&&Ar(y.da);const _=w.props&&w.props.onVnodeUnmounted;_&&pt(_,y.parent,w),y.isDeactivated=!0},a)};function c(w){Bo(w),u(w,n,a,!0)}function p(w){o.forEach((y,_)=>{const m=xi(un(y)?y.type.__asyncResolved||{}:y.type);m&&!w(m)&&g(_)})}function g(w){const y=o.get(w);y&&(!i||!Nt(y,i))?c(y):i&&Bo(i),o.delete(w),r.delete(w)}vt(()=>[e.include,e.exclude],([w,y])=>{w&&p(_=>Pr(w,_)),y&&p(_=>!Pr(y,_))},{flush:"post",deep:!0});let v=null;const E=()=>{v!=null&&(Ms(n.subTree.type)?Ye(()=>{o.set(v,fs(n.subTree))},n.subTree.suspense):o.set(v,fs(n.subTree)))};return Rt(E),Ku(E),es(()=>{o.forEach(w=>{const{subTree:y,suspense:_}=n,m=fs(y);if(w.type===m.type&&w.key===m.key){Bo(m);const x=m.component.da;x&&Ye(x,_);return}c(w)})}),()=>{if(v=null,!t.default)return i=null;const w=t.default(),y=w[0];if(w.length>1)return i=null,w;if(!Kn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=fs(y);if(_.type===je)return i=null,_;const m=_.type,x=xi(un(_)?_.type.__asyncResolved||{}:m),{include:S,exclude:b,max:T}=e;if(S&&(!x||!Pr(S,x))||b&&x&&Pr(b,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,P=o.get(L);return _.el&&(_=pn(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,P?(_.el=P.el,_.component=P.component,_.transition&&fr(_,_.transition),_.shapeFlag|=512,r.delete(L),r.add(L)):(r.add(L),T&&r.size>parseInt(T,10)&&g(r.values().next().value)),_.shapeFlag|=256,i=_,Ms(y.type)?y:_}}},Ap=Rp;function Pr(e,t){return ae(e)?e.some(n=>Pr(n,t)):Ie(e)?e.split(",").includes(t):bh(e)?(e.lastIndex=0,e.test(t)):!1}function ju(e,t){Gu(e,"a",t)}function Wu(e,t){Gu(e,"da",t)}function Gu(e,t,n=rt){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(uo(t,s,n),n){let o=n.parent;for(;o&&o.parent;)co(o.parent.vnode)&&kp(s,t,n,o),o=o.parent}}function kp(e,t,n,s){const o=uo(t,e,s,!0);ha(()=>{ta(s[t],o)},n)}function Bo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fs(e){return e.shapeFlag&128?e.ssContent:e}function uo(e,t,n=rt,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{dn();const a=ts(n),l=Pt(t,n,e,i);return a(),hn(),l});return s?o.unshift(r):o.push(r),r}}const gn=e=>(t,n=rt)=>{(!jr||e==="sp")&&uo(e,(...s)=>t(...s),n)},Ip=gn("bm"),Rt=gn("m"),Op=gn("bu"),Ku=gn("u"),es=gn("bum"),ha=gn("um"),Np=gn("sp"),Mp=gn("rtg"),Dp=gn("rtc");function Yu(e,t=rt){uo("ec",e,t)}const Xu="components";function Ja(e,t){return Ju(Xu,e,!0,t)||e}const qu=Symbol.for("v-ndc");function Fp(e){return Ie(e)?Ju(Xu,e,!1)||e:e||qu}function Ju(e,t,n=!0,s=!1){const o=Ze||rt;if(o){const r=o.type;{const a=xi(r,!1);if(a&&(a===t||a===ft(t)||a===no(ft(t))))return r}const i=Qa(o[e]||r[e],t)||Qa(o.appContext[e],t);return!i&&s?r:i}}function Qa(e,t){return e&&(e[t]||e[ft(t)]||e[no(ft(t))])}function uS(e,t,n,s){let o;const r=n,i=ae(e);if(i||Ie(e)){const a=i&&bn(e);let l=!1,f=!1;a&&(l=!Et(e),f=Jt(e),e=ao(e)),o=new Array(e.length);for(let u=0,h=e.length;u<h;u++)o[u]=t(l?f?cr(Ut(e[u])):Ut(e[u]):e[u],u,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,r)}else if(we(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,f=a.length;l<f;l++){const u=a[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function fS(e,t,n={},s,o,r){if(Ze.ce||Ze.parent&&un(Ze.parent)&&Ze.parent.ce){const f=n,u=Object.keys(f).length>0;return ye(),ze(Je,null,[De("slot",f,s)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const a=fn.length;ye();let l;try{const f=i&&Qu(i(n)),u=n.key||r||f&&f.key;l=ze(Je,{key:(u&&!wt(u)?u:`_${t}`)+(!f&&s?"_fb":"")},f||(s?s():[]),f&&e._===1?64:-2)}catch(f){for(let u=fn.length;u>a;u--)po();throw f}finally{i&&i._c&&(i._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Qu(e){return e.some(t=>Kn(t)?!(t.type===je||t.type===Je&&!Qu(t.children)):!0)?e:null}const di=e=>e?wf(e)?mo(e):di(e.parent):null,Or=Xe(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=>di(e.parent),$root:e=>di(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zu(e),$forceUpdate:e=>e.f||(e.f=()=>{ua(e.update)}),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>vp.bind(e)}),$o=(e,t)=>e!==Ae&&!e.__isScriptSetup&&be(e,t),Up={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;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if($o(s,t))return i[t]=1,s[t];if(o!==Ae&&be(o,t))return i[t]=2,o[t];if(be(r,t))return i[t]=3,r[t];if(n!==Ae&&be(n,t))return i[t]=4,n[t];hi&&(i[t]=0)}}const f=Or[t];let u,h;if(f)return t==="$attrs"&&nt(e.attrs,"get",""),f(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Ae&&be(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,be(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return $o(o,t)?(o[t]=n,!0):s!==Ae&&be(s,t)?(s[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},a){let l;return!!(n[a]||e!==Ae&&a[0]!=="$"&&be(e,a)||$o(t,a)||be(r,a)||be(s,a)||be(Or,a)||be(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function za(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hi=!0;function Hp(e){const t=Zu(e),n=e.proxy,s=e.ctx;hi=!1,t.beforeCreate&&Za(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:p,activated:g,deactivated:v,beforeDestroy:E,beforeUnmount:w,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:S,errorCaptured:b,serverPrefetch:T,expose:L,inheritAttrs:P,components:C,directives:O,filters:F}=t;if(f&&Bp(f,s,null),i)for(const j in i){const q=i[j];ue(q)&&(s[j]=q.bind(n))}if(o){const j=o.call(n,n);we(j)&&(e.data=Pn(j))}if(hi=!0,r)for(const j in r){const q=r[j],oe=ue(q)?q.bind(n,n):ue(q.get)?q.get.bind(n,n):Xt,ne=!ue(q)&&ue(q.set)?q.set.bind(n):Xt,ce=me({get:oe,set:ne});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ee=>ce.value=ee})}if(a)for(const j in a)zu(a[j],s,n,j);if(l){const j=ue(l)?l.call(n):l;Reflect.ownKeys(j).forEach(q=>{Cn(q,j[q])})}u&&Za(u,e,"c");function $(j,q){ae(q)?q.forEach(oe=>j(oe.bind(n))):q&&j(q.bind(n))}if($(Ip,h),$(Rt,d),$(Op,c),$(Ku,p),$(ju,g),$(Wu,v),$(Yu,b),$(Dp,x),$(Mp,S),$(es,w),$(ha,_),$(Np,T),ae(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(q=>{Object.defineProperty(j,q,{get:()=>n[q],set:oe=>n[q]=oe,enumerable:!0})})}else e.exposed||(e.exposed={});m&&e.render===Xt&&(e.render=m),P!=null&&(e.inheritAttrs=P),C&&(e.components=C),O&&(e.directives=O),T&&Vu(e)}function Bp(e,t,n=Xt){ae(e)&&(e=pi(e));for(const s in e){const o=e[s];let r;we(o)?"default"in o?r=st(o.from||s,o.default,!0):r=st(o.from||s):r=st(o),He(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Za(e,t,n){Pt(ae(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zu(e,t,n,s){let o=s.includes(".")?Mu(n,s):()=>n[s];if(Ie(e)){const r=t[e];ue(r)&&vt(o,r)}else if(ue(e))vt(o,e.bind(n));else if(we(e))if(ae(e))e.forEach(r=>zu(r,t,n,s));else{const r=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(r)&&vt(o,r,e)}}function Zu(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=>Os(l,f,i,!0)),Os(l,t,i)),we(t)&&r.set(t,l),l}function Os(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Os(e,r,n,!0),o&&o.forEach(i=>Os(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=$p[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const $p={data:el,props:tl,emits:tl,methods:Lr,computed:Lr,beforeCreate:it,created:it,beforeMount:it,mounted:it,beforeUpdate:it,updated:it,beforeDestroy:it,beforeUnmount:it,destroyed:it,unmounted:it,activated:it,deactivated:it,errorCaptured:it,serverPrefetch:it,components:Lr,directives:Lr,watch:jp,provide:el,inject:Vp};function el(e,t){return t?e?function(){return Xe(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function Vp(e,t){return Lr(pi(e),pi(t))}function pi(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function it(e,t){return e?[...new Set([].concat(e,t))]:t}function Lr(e,t){return e?Xe(Object.create(null),e,t):t}function tl(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:Xe(Object.create(null),za(e),za(t??{})):t}function jp(e,t){if(!e)return t;if(!t)return e;const n=Xe(Object.create(null),e);for(const s in t)n[s]=it(e[s],t[s]);return n}function ef(){return{app:null,config:{isNativeTag:nu,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 Wp=0;function Gp(e,t){return function(s,o=null){ue(s)||(s=Xe({},s)),o!=null&&!we(o)&&(o=null);const r=ef(),i=new WeakSet,a=[];let l=!1;const f=r.app={_uid:Wp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:bf,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&ue(u.install)?(i.add(u),u.install(f,...h)):ue(u)&&(i.add(u),u(f,...h))),f},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),f},component(u,h){return h?(r.components[u]=h,f):r.components[u]},directive(u,h){return h?(r.directives[u]=h,f):r.directives[u]},mount(u,h,d){if(!l){const c=f._ceVNode||De(s,o);return c.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),h&&t?t(c,u):e(c,u,d),l=!0,f._container=u,u.__vue_app__=f,mo(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Pt(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,h){return r.provides[u]=h,f},runWithContext(u){const h=Wn;Wn=f;try{return u()}finally{Wn=h}}};return f}}let Wn=null;const Kp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ft(t)}Modifiers`]||e[`${Yn(t)}Modifiers`];function Yp(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ae;let o=n;const r=t.startsWith("update:"),i=r&&Kp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ie(u)?u.trim():u)),i.number&&(o=n.map(Lh)));let a,l=s[a=No(t)]||s[a=No(ft(t))];!l&&r&&(l=s[a=No(Yn(t))]),l&&Pt(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,Pt(f,e,6,o)}}const Xp=new WeakMap;function tf(e,t,n=!1){const s=n?Xp:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ue(e)){const l=f=>{const u=tf(f,t,!0);u&&(a=!0,Xe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(we(e)&&s.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):Xe(i,r),we(e)&&s.set(e,i),i)}function fo(e,t){return!e||!Qr(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,Yn(t))||be(e,t))}function Vo(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:p,inheritAttrs:g}=e,v=As(e);let E,w;try{if(n.shapeFlag&4){const _=o||s,m=_;E=xt(f.call(m,_,u,h,c,d,p)),w=a}else{const _=t;E=xt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),w=t.props?a:Jp(a)}}catch(_){fn.length=0,Zr(_,e,1),E=De(je)}let y=E;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Zs)&&(w=Qp(w,r)),y=pn(y,w,!1,!0))}return n.dirs&&(y=pn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&fr(y,n.transition),E=y,As(v),E}function qp(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(Kn(o)){if(o.type!==je||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Jp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qr(n))&&((t||(t={}))[n]=e[n]);return t},Qp=(e,t)=>{const n={};for(const s in e)(!Zs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function zp(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?nl(s,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(nf(i,s,d)&&!fo(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?nl(s,i,f):!0:!!i;return!1}function nl(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(nf(t,e,r)&&!fo(n,r))return!0}return!1}function nf(e,t,n){const s=e[n],o=t[n];return n==="style"&&we(s)&&we(o)?!ra(s,o):s!==o}function ho({vnode:e,parent:t,suspense:n},s){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=s,e=o),o===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const rf={},sf=()=>Object.create(rf),of=e=>Object.getPrototypeOf(e)===rf;function Zp(e,t,n,s=!1){const o={},r=sf();e.propsDefaults=Object.create(null),af(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:ln(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function eg(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(fo(e.emitsOptions,d))continue;const c=t[d];if(l)if(be(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=ft(d);o[p]=gi(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{af(e,t,o,r)&&(f=!0);let u;for(const h in a)(!t||!be(t,h)&&((u=Yn(h))===h||!be(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=gi(l,a,h,void 0,e,!0)):delete o[h]);if(r!==a)for(const h in r)(!t||!be(t,h))&&(delete r[h],f=!0)}f&&on(e.attrs,"set","")}function af(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Vn(l))continue;const f=t[l];let u;o&&be(o,u=ft(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:fo(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,i=!0)}if(r){const l=ve(n),f=a||Ae;for(let u=0;u<r.length;u++){const h=r[u];n[h]=gi(o,l,h,f[h],e,!be(f,h))}}return i}function gi(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=be(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ue(l)){const{propsDefaults:f}=o;if(n in f)s=f[n];else{const u=ts(o);s=f[n]=l.call(null,t),u()}}else s=l;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Yn(n))&&(s=!0))}return s}const tg=new WeakMap;function lf(e,t,n=!1){const s=n?tg:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!ue(e)){const u=h=>{l=!0;const[d,c]=lf(h,t,!0);Xe(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 we(e)&&s.set(e,sr),sr;if(ae(r))for(let u=0;u<r.length;u++){const h=ft(r[u]);rl(h)&&(i[h]=Ae)}else if(r)for(const u in r){const h=ft(u);if(rl(h)){const d=r[u],c=i[h]=ae(d)||ue(d)?{type:d}:Xe({},d),p=c.type;let g=!1,v=!0;if(ae(p))for(let E=0;E<p.length;++E){const w=p[E],y=ue(w)&&w.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(v=!1)}else g=ue(p)&&p.name==="Boolean";c[0]=g,c[1]=v,(g||be(c,"default"))&&a.push(h)}}const f=[i,a];return we(e)&&s.set(e,f),f}function rl(e){return e[0]!=="$"&&!Vn(e)}const pa=e=>e==="_"||e==="_ctx"||e==="$stable",ga=e=>ae(e)?e.map(xt):[xt(e)],ng=(e,t,n)=>{if(t._n)return t;const s=Rn((...o)=>ga(t(...o)),n);return s._c=!1,s},cf=(e,t,n)=>{const s=e._ctx;for(const o in e){if(pa(o))continue;const r=e[o];if(ue(r))t[o]=ng(o,r,s);else if(r!=null){const i=ga(r);t[o]=()=>i}}},uf=(e,t)=>{const n=ga(t);e.slots.default=()=>n},ff=(e,t,n)=>{for(const s in t)(n||!pa(s))&&(e[s]=t[s])},rg=(e,t,n)=>{const s=e.slots=sf();if(e.vnode.shapeFlag&32){const o=t._;o?(ff(s,t,n),n&&au(s,"_",o,!0)):cf(t,s)}else t&&uf(e,t)},sg=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Ae;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:ff(o,t,n):(r=!t.$stable,cf(t,o)),i=t}else t&&(uf(e,t),i={default:1});if(r)for(const a in o)!pa(a)&&i[a]==null&&delete o[a]},Ye=yf;function og(e){return df(e)}function ig(e){return df(e,bp)}function df(e,t){const n=ro();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=Xt,insertStaticContent:p}=e,g=(k,I,D,W=null,B=null,G=null,Q=void 0,R=null,A=!!I.dynamicChildren)=>{if(k===I)return;k&&!Nt(k,I)&&(W=V(k),ee(k,B,G,!0),k=null),I.patchFlag===-2&&(A=!1,I.dynamicChildren=null);const{type:N,ref:K,shapeFlag:X}=I;switch(N){case Tn:v(k,I,D,W);break;case je:E(k,I,D,W);break;case Nr:k==null&&w(I,D,W,Q);break;case Je:C(k,I,D,W,B,G,Q,R,A);break;default:X&1?m(k,I,D,W,B,G,Q,R,A):X&6?O(k,I,D,W,B,G,Q,R,A):(X&64||X&128)&&N.process(k,I,D,W,B,G,Q,R,A,te)}K!=null&&B?ar(K,k&&k.ref,G,I||k,!I):K==null&&k&&k.ref!=null&&ar(k.ref,null,G,k,!0)},v=(k,I,D,W)=>{if(k==null)s(I.el=a(I.children),D,W);else{const B=I.el=k.el;I.children!==k.children&&f(B,I.children)}},E=(k,I,D,W)=>{k==null?s(I.el=l(I.children||""),D,W):I.el=k.el},w=(k,I,D,W)=>{[k.el,k.anchor]=p(k.children,I,D,W,k.el,k.anchor)},y=({el:k,anchor:I},D,W)=>{let B;for(;k&&k!==I;)B=d(k),s(k,D,W),k=B;s(I,D,W)},_=({el:k,anchor:I})=>{let D;for(;k&&k!==I;)D=d(k),o(k),k=D;o(I)},m=(k,I,D,W,B,G,Q,R,A)=>{if(I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),k==null)x(I,D,W,B,G,Q,R,A);else{const N=k.el&&k.el._isVueCE?k.el:null;try{N&&N._beginPatch(),T(k,I,B,G,Q,R,A)}finally{N&&N._endPatch()}}},x=(k,I,D,W,B,G,Q,R)=>{let A,N;const{props:K,shapeFlag:X,transition:Y,dirs:M}=k;if(A=k.el=i(k.type,G,K&&K.is,K),X&8?u(A,k.children):X&16&&b(k.children,A,null,W,B,jo(k,G),Q,R),M&&Wt(k,null,W,"created"),S(A,k,k.scopeId,Q,W),K){for(const se in K)se!=="value"&&!Vn(se)&&r(A,se,null,K[se],G,W);"value"in K&&r(A,"value",null,K.value,G),(N=K.onVnodeBeforeMount)&&pt(N,W,k)}M&&Wt(k,null,W,"beforeMount");const H=hf(B,Y);H&&Y.beforeEnter(A),s(A,I,D),((N=K&&K.onVnodeMounted)||H||M)&&Ye(()=>{try{N&&pt(N,W,k),H&&Y.enter(A),M&&Wt(k,null,W,"mounted")}finally{}},B)},S=(k,I,D,W,B)=>{if(D&&c(k,D),W)for(let G=0;G<W.length;G++)c(k,W[G]);if(B){let G=B.subTree;if(I===G||Ms(G.type)&&(G.ssContent===I||G.ssFallback===I)){const Q=B.vnode;S(k,Q,Q.scopeId,Q.slotScopeIds,B.parent)}}},b=(k,I,D,W,B,G,Q,R,A=0)=>{for(let N=A;N<k.length;N++){const K=k[N]=R?sn(k[N]):xt(k[N]);g(null,K,I,D,W,B,G,Q,R)}},T=(k,I,D,W,B,G,Q)=>{const R=I.el=k.el;let{patchFlag:A,dynamicChildren:N,dirs:K}=I;A|=k.patchFlag&16;const X=k.props||Ae,Y=I.props||Ae;let M;if(D&&Nn(D,!1),(M=Y.onVnodeBeforeUpdate)&&pt(M,D,I,k),K&&Wt(I,k,D,"beforeUpdate"),D&&Nn(D,!0),N&&(!k.dynamicChildren||k.dynamicChildren.length!==N.length)&&(A=0,Q=!1,N=null),(X.innerHTML&&Y.innerHTML==null||X.textContent&&Y.textContent==null)&&u(R,""),N?L(k.dynamicChildren,N,R,D,W,jo(I,B),G):Q||q(k,I,R,null,D,W,jo(I,B),G,!1),A>0){if(A&16)P(R,X,Y,D,B);else if(A&2&&X.class!==Y.class&&r(R,"class",null,Y.class,B),A&4&&r(R,"style",X.style,Y.style,B),A&8){const H=I.dynamicProps;for(let se=0;se<H.length;se++){const le=H[se],Le=X[le],Oe=Y[le];(Oe!==Le||le==="value")&&r(R,le,Le,Oe,B,D)}}A&1&&k.children!==I.children&&u(R,I.children)}else!Q&&N==null&&P(R,X,Y,D,B);((M=Y.onVnodeUpdated)||K)&&Ye(()=>{M&&pt(M,D,I,k),K&&Wt(I,k,D,"updated")},W)},L=(k,I,D,W,B,G,Q)=>{for(let R=0;R<I.length;R++){const A=k[R],N=I[R],K=A.el&&(A.type===Je||!Nt(A,N)||A.shapeFlag&198)?h(A.el):D;g(A,N,K,null,W,B,G,Q,!0)}},P=(k,I,D,W,B)=>{if(I!==D){if(I!==Ae)for(const G in I)!Vn(G)&&!(G in D)&&r(k,G,I[G],null,B,W);for(const G in D){if(Vn(G))continue;const Q=D[G],R=I[G];Q!==R&&G!=="value"&&r(k,G,R,Q,B,W)}"value"in D&&r(k,"value",I.value,D.value,B)}},C=(k,I,D,W,B,G,Q,R,A)=>{const N=I.el=k?k.el:a(""),K=I.anchor=k?k.anchor:a("");let{patchFlag:X,dynamicChildren:Y,slotScopeIds:M}=I;M&&(R=R?R.concat(M):M),k==null?(s(N,D,W),s(K,D,W),b(I.children||[],D,K,B,G,Q,R,A)):X>0&&X&64&&Y&&k.dynamicChildren&&k.dynamicChildren.length===Y.length?(L(k.dynamicChildren,Y,D,B,G,Q,R),(I.key!=null||B&&I===B.subTree)&&pf(k,I,!0)):q(k,I,D,K,B,G,Q,R,A)},O=(k,I,D,W,B,G,Q,R,A)=>{I.slotScopeIds=R,k==null?I.shapeFlag&512?B.ctx.activate(I,D,W,Q,A):F(I,D,W,B,G,Q,A):U(k,I,A)},F=(k,I,D,W,B,G,Q)=>{const R=k.component=yg(k,W,B);if(co(k)&&(R.ctx.renderer=te),_g(R,!1,Q),R.asyncDep){if(B&&B.registerDep(R,$,Q),!k.el){const A=R.subTree=De(je);E(null,A,I,D),k.placeholder=A.el}}else $(R,k,I,D,B,G,Q)},U=(k,I,D)=>{const W=I.component=k.component;if(zp(k,I,D))if(W.asyncDep&&!W.asyncResolved){j(W,I,D);return}else W.next=I,W.update();else I.el=k.el,W.vnode=I},$=(k,I,D,W,B,G,Q)=>{const R=()=>{if(k.isMounted){let{next:X,bu:Y,u:M,parent:H,vnode:se}=k;{const ot=gf(k);if(ot){X&&(X.el=se.el,j(k,X,Q)),ot.asyncDep.then(()=>{Ye(()=>{k.isUnmounted||N()},B)});return}}let le=X,Le;Nn(k,!1),X?(X.el=se.el,j(k,X,Q)):X=se,Y&&Ar(Y),(Le=X.props&&X.props.onVnodeBeforeUpdate)&&pt(Le,H,X,se),Nn(k,!0);const Oe=Vo(k),qe=k.subTree;k.subTree=Oe,g(qe,Oe,h(qe.el),V(qe),k,B,G),X.el=Oe.el,le===null&&ho(k,Oe.el),M&&Ye(M,B),(Le=X.props&&X.props.onVnodeUpdated)&&Ye(()=>pt(Le,H,X,se),B)}else{let X;const{el:Y,props:M}=I,{bm:H,m:se,parent:le,root:Le,type:Oe}=k,qe=un(I);if(Nn(k,!1),H&&Ar(H),!qe&&(X=M&&M.onVnodeBeforeMount)&&pt(X,le,I),Nn(k,!0),Y&&xe){const ot=()=>{k.subTree=Vo(k),xe(Y,k.subTree,k,B,null)};qe&&Oe.__asyncHydrate?Oe.__asyncHydrate(Y,k,ot):ot()}else{Le.ce&&Le.ce._hasShadowRoot()&&Le.ce._injectChildStyle(Oe,k.parent?k.parent.type:void 0);const ot=k.subTree=Vo(k);g(null,ot,D,W,k,B,G),I.el=ot.el}if(se&&Ye(se,B),!qe&&(X=M&&M.onVnodeMounted)){const ot=I;Ye(()=>pt(X,le,ot),B)}(I.shapeFlag&256||le&&un(le.vnode)&&le.vnode.shapeFlag&256)&&k.a&&Ye(k.a,B),k.isMounted=!0,I=D=W=null}};k.scope.on();const A=k.effect=new hu(R);k.scope.off();const N=k.update=A.run.bind(A),K=k.job=A.runIfDirty.bind(A);K.i=k,K.id=k.uid,A.scheduler=()=>ua(K),Nn(k,!0),N()},j=(k,I,D)=>{I.component=k;const W=k.vnode.props;k.vnode=I,k.next=null,eg(k,I.props,W,D),sg(k,I.children,D),dn(),Ga(k),hn()},q=(k,I,D,W,B,G,Q,R,A=!1)=>{const N=k&&k.children,K=k?k.shapeFlag:0,X=I.children,{patchFlag:Y,shapeFlag:M}=I;if(Y>0){if(Y&128){ne(N,X,D,W,B,G,Q,R,A);return}else if(Y&256){oe(N,X,D,W,B,G,Q,R,A);return}}M&8?(K&16&&he(N,B,G),X!==N&&u(D,X)):K&16?M&16?ne(N,X,D,W,B,G,Q,R,A):he(N,B,G,!0):(K&8&&u(D,""),M&16&&b(X,D,W,B,G,Q,R,A))},oe=(k,I,D,W,B,G,Q,R,A)=>{k=k||sr,I=I||sr;const N=k.length,K=I.length,X=Math.min(N,K);let Y;for(Y=0;Y<X;Y++){const M=I[Y]=A?sn(I[Y]):xt(I[Y]);g(k[Y],M,D,null,B,G,Q,R,A)}N>K?he(k,B,G,!0,!1,X):b(I,D,W,B,G,Q,R,A,X)},ne=(k,I,D,W,B,G,Q,R,A)=>{let N=0;const K=I.length;let X=k.length-1,Y=K-1;for(;N<=X&&N<=Y;){const M=k[N],H=I[N]=A?sn(I[N]):xt(I[N]);if(Nt(M,H))g(M,H,D,null,B,G,Q,R,A);else break;N++}for(;N<=X&&N<=Y;){const M=k[X],H=I[Y]=A?sn(I[Y]):xt(I[Y]);if(Nt(M,H))g(M,H,D,null,B,G,Q,R,A);else break;X--,Y--}if(N>X){if(N<=Y){const M=Y+1,H=M<K?I[M].el:W;for(;N<=Y;)g(null,I[N]=A?sn(I[N]):xt(I[N]),D,H,B,G,Q,R,A),N++}}else if(N>Y)for(;N<=X;)ee(k[N],B,G,!0),N++;else{const M=N,H=N,se=new Map;for(N=H;N<=Y;N++){const _t=I[N]=A?sn(I[N]):xt(I[N]);_t.key!=null&&se.set(_t.key,N)}let le,Le=0;const Oe=Y-H+1;let qe=!1,ot=0;const qn=new Array(Oe);for(N=0;N<Oe;N++)qn[N]=0;for(N=M;N<=X;N++){const _t=k[N];if(Le>=Oe){ee(_t,B,G,!0);continue}let Vt;if(_t.key!=null)Vt=se.get(_t.key);else for(le=H;le<=Y;le++)if(qn[le-H]===0&&Nt(_t,I[le])){Vt=le;break}Vt===void 0?ee(_t,B,G,!0):(qn[Vt-H]=N+1,Vt>=ot?ot=Vt:qe=!0,g(_t,I[Vt],D,null,B,G,Q,R,A),Le++)}const Ua=qe?ag(qn):sr;for(le=Ua.length-1,N=Oe-1;N>=0;N--){const _t=H+N,Vt=I[_t],Ha=I[_t+1],Ba=_t+1<K?Ha.el||mf(Ha):W;qn[N]===0?g(null,Vt,D,Ba,B,G,Q,R,A):qe&&(le<0||N!==Ua[le]?ce(Vt,D,Ba,2):le--)}}},ce=(k,I,D,W,B=null)=>{const{el:G,type:Q,transition:R,children:A,shapeFlag:N}=k;if(N&6){ce(k.component.subTree,I,D,W);return}if(N&128){k.suspense.move(I,D,W);return}if(N&64){Q.move(k,I,D,te);return}if(Q===Je){s(G,I,D);for(let X=0;X<A.length;X++)ce(A[X],I,D,W);s(k.anchor,I,D);return}if(Q===Nr){y(k,I,D);return}if(W!==2&&N&1&&R)if(W===0)R.persisted&&!G[Ct]?s(G,I,D):(R.beforeEnter(G),s(G,I,D),Ye(()=>R.enter(G),B));else{const{leave:X,delayLeave:Y,afterLeave:M}=R,H=()=>{k.ctx.isUnmounted?o(G):s(G,I,D)},se=()=>{const le=G._isLeaving||!!G[Ct];G._isLeaving&&G[Ct](!0),R.persisted&&!le?H():X(G,()=>{H(),M&&M()})};Y?Y(G,H,se):se()}else s(G,I,D)},ee=(k,I,D,W=!1,B=!1)=>{const{type:G,props:Q,ref:R,children:A,dynamicChildren:N,shapeFlag:K,patchFlag:X,dirs:Y,cacheIndex:M,memo:H}=k;if(X===-2&&(B=!1),R!=null&&(dn(),ar(R,null,D,k,!0),hn()),M!=null&&(I.renderCache[M]=void 0),K&256){I.ctx.deactivate(k);return}const se=K&1&&Y,le=!un(k);let Le;if(le&&(Le=Q&&Q.onVnodeBeforeUnmount)&&pt(Le,I,k),K&6)Fe(k.component,D,W);else{if(K&128){k.suspense.unmount(D,W);return}se&&Wt(k,null,I,"beforeUnmount"),K&64?k.type.remove(k,I,D,te,W):N&&!N.hasOnce&&(G!==Je||X>0&&X&64)?he(N,I,D,!1,!0):(G===Je&&X&384||!B&&K&16)&&he(A,I,D),W&&Pe(k)}const Oe=H!=null&&M==null;(le&&(Le=Q&&Q.onVnodeUnmounted)||se||Oe)&&Ye(()=>{Le&&pt(Le,I,k),se&&Wt(k,null,I,"unmounted"),Oe&&(k.el=null)},D)},Pe=k=>{const{type:I,el:D,anchor:W,transition:B}=k;if(I===Je){_e(D,W);return}if(I===Nr){_(k);return}const G=()=>{o(D),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(k.shapeFlag&1&&B&&!B.persisted){const{leave:Q,delayLeave:R}=B,A=()=>Q(D,G);R?R(k.el,G,A):A()}else G()},_e=(k,I)=>{let D;for(;k!==I;)D=d(k),o(k),k=D;o(I)},Fe=(k,I,D)=>{const{bum:W,scope:B,job:G,subTree:Q,um:R,m:A,a:N}=k;Ns(A),Ns(N),W&&Ar(W),B.stop(),G&&(G.flags|=8,ee(Q,k,I,D)),R&&Ye(R,I),Ye(()=>{k.isUnmounted=!0},I)},he=(k,I,D,W=!1,B=!1,G=0)=>{for(let Q=G;Q<k.length;Q++)ee(k[Q],I,D,W,B)},V=k=>{if(k.shapeFlag&6)return V(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const I=d(k.anchor||k.el),D=I&&I[yp];return D?d(D):I};let J=!1;const z=(k,I,D)=>{let W;k==null?I._vnode&&(ee(I._vnode,null,null,!0),W=I._vnode.component):g(I._vnode||null,k,I,null,null,null,D),I._vnode=k,J||(J=!0,Ga(W),Rs(),J=!1)},te={p:g,um:ee,m:ce,r:Pe,mt:F,mc:b,pc:q,pbc:L,n:V,o:e};let fe,xe;return t&&([fe,xe]=t(te)),{render:z,hydrate:fe,createApp:Gp(z,fe)}}function jo({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 Nn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pf(e,t,n=!1){const s=e.children,o=t.children;if(ae(s)&&ae(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]=sn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&pf(i,a)),a.type===Tn&&(a.patchFlag===-1&&(a=o[r]=sn(a)),a.el=i.el),a.type===je&&!a.el&&(a.el=i.el)}}function ag(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 gf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gf(t)}function Ns(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function mf(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?mf(t.subTree):null}const Ms=e=>e.__isSuspense;let mi=0;const lg={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,f){if(e==null)cg(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}ug(e,t,n,s,o,i,a,l,f)}},hydrate:fg,normalize:dg},ma=lg;function Vr(e,t){const n=e.props&&e.props[t];ue(n)&&n()}function cg(e,t,n,s,o,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=vf(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?(Vr(e,"onPending"),Vr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,i),lr(d,e.ssFallback)):d.resolve(!1,!0)}function ug(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:p,pendingBranch:g,isInFallback:v,isHydrating:E}=h;if(g)h.pendingBranch=d,Nt(g,d)?(l(g,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():v&&(E||(l(p,c,n,s,o,null,r,i,a),lr(h,c)))):(h.pendingId=mi++,E?(h.isHydrating=!1,h.activeBranch=g):f(g,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(p,c,n,s,o,null,r,i,a),lr(h,c))):p&&Nt(p,d)?(l(p,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(p&&Nt(p,d))l(p,d,n,s,o,h,r,i,a),lr(h,d);else if(Vr(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=mi++,l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:w,pendingId:y}=h;w>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},w):w===0&&h.fallback(c)}}function vf(e,t,n,s,o,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=f;let E;const w=hg(e);w&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=e.props?lu(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:mi++,timeout:typeof y=="number"?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,S=!1){const{vnode:b,activeBranch:T,pendingBranch:L,pendingId:P,effects:C,parentComponent:O,container:F,isInFallback:U}=m;let $=!1;if(m.isHydrating)m.isHydrating=!1;else if(!x){$=T&&L.transition&&L.transition.mode==="out-in";let oe=!1;$&&(T.transition.afterLeave=()=>{P===m.pendingId&&(d(L,F,r===_&&!oe?p(T):r,0),ui(C),U&&b.ssFallback&&(b.ssFallback.el=null))}),T&&!m.isFallbackMountPending&&(g(T.el)===F&&(r=p(T),oe=!0),c(T,O,m,!0),!$&&U&&b.ssFallback&&Ye(()=>b.ssFallback.el=null,m)),$||d(L,F,r,0)}m.isFallbackMountPending=!1,lr(m,L),m.pendingBranch=null,m.isInFallback=!1;let j=m.parent,q=!1;for(;j;){if(j.pendingBranch){j.effects.push(...C),q=!0;break}j=j.parent}!q&&!$&&ui(C),m.effects=[],w&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),Vr(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:S,activeBranch:b,parentComponent:T,container:L,namespace:P}=m;Vr(S,"onFallback");const C=p(b),O=()=>{m.isFallbackMountPending=!1,m.isInFallback&&(h(null,x,L,C,T,null,P,a,l),lr(m,x))},F=x.transition&&x.transition.mode==="out-in";F&&(m.isFallbackMountPending=!0,b.transition.afterLeave=O),m.isInFallback=!0,c(b,T,null,!0),F||O()},move(x,S,b){m.activeBranch&&d(m.activeBranch,x,S,b),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,S,b){const T=!!m.pendingBranch;T&&m.deps++;const L=x.vnode.el;x.asyncDep.catch(P=>{Zr(P,x,0)}).then(P=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;yi(),x.asyncResolved=!0;const{vnode:C}=x;_i(x,P),L&&(C.el=L);const O=!L&&x.subTree.el;S(x,C,g(L||x.subTree.el),L?null:p(x.subTree),m,i,b),O&&(C.placeholder=null,v(O)),ho(x,C.el),T&&--m.deps===0&&m.resolve()})},unmount(x,S){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,S),m.pendingBranch&&c(m.pendingBranch,n,x,S)}};return m}function fg(e,t,n,s,o,r,i,a,l){const f=t.suspense=vf(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 dg(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=sl(s?n.default:n),e.ssFallback=s?sl(n.fallback):De(je)}function sl(e){let t;if(ue(e)){const n=dr&&e._c;n&&(e._d=!1,ye()),e=e(),n&&(e._d=!0,t=mt,po())}return ae(e)&&(e=qp(e)),e=xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function yf(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):ui(e)}function lr(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,ho(s,o))}function hg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Je=Symbol.for("v-fgt"),Tn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Nr=Symbol.for("v-stc"),fn=[];let mt=null;function ye(e=!1){fn.push(mt=e?null:[])}function po(){fn.pop(),mt=fn[fn.length-1]||null}let dr=1;function Ds(e,t=!1){dr+=e,e<0&&mt&&t&&(mt.hasOnce=!0)}function _f(e){return e.dynamicChildren=dr>0?mt||sr:null,po(),dr>0&&mt&&mt.push(e),e}function dt(e,t,n,s,o,r){return _f(ie(e,t,n,s,o,r,!0))}function ze(e,t,n,s,o){return _f(De(e,t,n,s,o,!0))}function Kn(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const xf=({key:e})=>e??null,Es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ie(e)||He(e)||ue(e)?{i:Ze,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,s=0,o=null,r=e===Je?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xf(t),ref:t&&Es(t),scopeId:Ou,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:Ze};return a?(Fs(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ie(n)?8:16),dr>0&&!i&&mt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&mt.push(l),l}const De=pg;function pg(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===qu)&&(e=je),Kn(e)){const a=pn(e,t,!0);return n&&Fs(a,n),dr>0&&!r&&mt&&(a.shapeFlag&6?mt[mt.indexOf(e)]=a:mt.push(a)),a.patchFlag=-2,a}if(Sg(e)&&(e=e.__vccOpts),t){t=gg(t);let{class:a,style:l}=t;a&&!Ie(a)&&(t.class=so(a)),we(l)&&(lo(l)&&!ae(l)&&(l=Xe({},l)),t.style=na(l))}const i=Ie(e)?1:Ms(e)?128:Du(e)?64:we(e)?4:ue(e)?2:0;return ie(e,t,n,s,o,i,r,!0)}function gg(e){return e?lo(e)||of(e)?Xe({},e):e:null}function pn(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?Ef(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&xf(f),ref:t&&t.ref?n&&r?ae(r)?r.concat(Es(t)):[r,Es(t)]:Es(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!==Je?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&&pn(e.ssContent),ssFallback:e.ssFallback&&pn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&fr(u,l.clone(u)),u}function go(e=" ",t=0){return De(Tn,null,e,t)}function dS(e,t){const n=De(Nr,null,e);return n.staticCount=t,n}function ct(e="",t=!1){return t?(ye(),ze(je,null,e)):De(je,null,e)}function xt(e){return e==null||typeof e=="boolean"?De(je):ae(e)?De(Je,null,e.slice()):Kn(e)?sn(e):De(Tn,null,String(e))}function sn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pn(e)}function Fs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Fs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!of(t)?t._ctx=Ze:o===3&&Ze&&(Ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ue(t)){if(s&65){Fs(e,{default:t});return}t={default:t,_ctx:Ze},n=32}else t=String(t),s&64?(n=16,t=[go(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ef(...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=so([t.class,s.class]));else if(o==="style")t.style=na([t.style,s.style]);else if(Qr(o)){const r=t[o],i=s[o];i&&r!==i&&!(ae(r)&&r.includes(i))?t[o]=r?[].concat(r,i):i:i==null&&r==null&&!Zs(o)&&(t[o]=i)}else o!==""&&(t[o]=s[o])}return t}function pt(e,t,n,s=null){Pt(e,t,7,[n,s])}const mg=ef();let vg=0;function yg(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||mg,r={uid:vg++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new du(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lf(s,o),emitsOptions:tf(s,o),emit:null,emitted:null,propsDefaults:Ae,inheritAttrs:s.inheritAttrs,ctx:Ae,data:Ae,props:Ae,attrs:Ae,slots:Ae,refs:Ae,setupState:Ae,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=Yp.bind(null,r),e.ce&&e.ce(r),r}let rt=null;const mn=()=>rt||Ze;let Us,vi;{const e=ro(),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)}};Us=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),vi=t("__VUE_SSR_SETTERS__",n=>jr=n)}const ts=e=>{const t=rt;return Us(e),e.scope.on(),()=>{e.scope.off(),Us(t)}},yi=()=>{rt&&rt.scope.off(),Us(null)};function wf(e){return e.vnode.shapeFlag&4}let jr=!1;function _g(e,t=!1,n=!1){t&&vi(t);const{props:s,children:o}=e.vnode,r=wf(e);Zp(e,s,r,t),rg(e,o,n||t);const i=r?xg(e,t):void 0;return t&&vi(!1),i}function xg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Up);const{setup:s}=n;if(s){dn();const o=e.setupContext=s.length>1?wg(e):null,r=ts(e),i=zr(s,e,0,[e.props,o]),a=su(i);if(hn(),r(),(a||e.sp)&&!un(e)&&Vu(e),a){if(i.then(yi,yi),t)return i.then(l=>{_i(e,l)}).catch(l=>{Zr(l,e,0)});e.asyncDep=i}else _i(e,i)}else Sf(e)}function _i(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Lu(t)),Sf(e)}function Sf(e,t,n){const s=e.type;e.render||(e.render=s.render||Xt);{const o=ts(e);dn();try{Hp(e)}finally{hn(),o()}}}const Eg={get(e,t){return nt(e,"get",""),e[t]}};function wg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Eg),slots:e.slots,emit:e.emit,expose:t}}function mo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Lu(ep(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Or)return Or[n](e)},has(t,n){return n in t||n in Or}})):e.proxy}function xi(e,t=!0){return ue(e)?e.displayName||e.name:e.name||t&&e.__name}function Sg(e){return ue(e)&&"__vccOpts"in e}const me=(e,t)=>cp(e,t,jr);function Qe(e,t,n){try{Ds(-1);const s=arguments.length;return s===2?we(t)&&!ae(t)?Kn(t)?De(e,null,[t]):De(e,t):De(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Kn(n)&&(n=[n]),De(e,t,n))}finally{Ds(1)}}const bf="3.5.40";/**
|
|
* @vue/runtime-dom v3.5.40
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ei;const ol=typeof window<"u"&&window.trustedTypes;if(ol)try{Ei=ol.createPolicy("vue",{createHTML:e=>e})}catch{}const Cf=Ei?e=>Ei.createHTML(e):e=>e,bg="http://www.w3.org/2000/svg",Cg="http://www.w3.org/1998/Math/MathML",rn=typeof document<"u"?document:null,il=rn&&rn.createElement("template"),Tg={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"?rn.createElementNS(bg,e):t==="mathml"?rn.createElementNS(Cg,e):n?rn.createElement(e,{is:n}):rn.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>rn.createTextNode(e),createComment:e=>rn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rn.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{il.innerHTML=Cf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=il.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]}},yn="transition",Sr="animation",Wr=Symbol("_vtc"),Tf={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},Pg=Xe({},Fu,Tf),Lg=e=>(e.displayName="Transition",e.props=Pg,e),Rg=Lg((e,{slots:t})=>Qe(Ep,Ag(e),t)),Mn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},al=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function Ag(e){const t={};for(const C in e)C in Tf||(t[C]=e[C]);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,p=kg(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:E,onEnter:w,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=E,onAppear:S=w,onAppearCancelled:b=y}=t,T=(C,O,F,U)=>{C._enterCancelled=U,Dn(C,O?u:a),Dn(C,O?f:i),F&&F()},L=(C,O)=>{C._isLeaving=!1,Dn(C,h),Dn(C,c),Dn(C,d),O&&O()},P=C=>(O,F)=>{const U=C?S:w,$=()=>T(O,C,F);Mn(U,[O,$]),ll(()=>{Dn(O,C?l:r),zt(O,C?u:a),al(U)||cl(O,s,g,$)})};return Xe(t,{onBeforeEnter(C){Mn(E,[C]),zt(C,r),zt(C,i)},onBeforeAppear(C){Mn(x,[C]),zt(C,l),zt(C,f)},onEnter:P(!1),onAppear:P(!0),onLeave(C,O){C._isLeaving=!0;const F=()=>L(C,O);zt(C,h),C._enterCancelled?(zt(C,d),dl(C)):(dl(C),zt(C,d)),ll(()=>{C._isLeaving&&(Dn(C,h),zt(C,c),al(_)||cl(C,s,v,F))}),Mn(_,[C,F])},onEnterCancelled(C){T(C,!1,void 0,!0),Mn(y,[C])},onAppearCancelled(C){T(C,!0,void 0,!0),Mn(b,[C])},onLeaveCancelled(C){L(C),Mn(m,[C])}})}function kg(e){if(e==null)return null;if(we(e))return[Wo(e.enter),Wo(e.leave)];{const t=Wo(e);return[t,t]}}function Wo(e){return lu(e)}function zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wr]||(e[Wr]=new Set)).add(t)}function Dn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Wr];n&&(n.delete(t),n.size||(e[Wr]=void 0))}function ll(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ig=0;function cl(e,t,n,s){const o=e._endId=++Ig,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Og(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 Og(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${yn}Delay`),r=s(`${yn}Duration`),i=ul(o,r),a=s(`${Sr}Delay`),l=s(`${Sr}Duration`),f=ul(a,l);let u=null,h=0,d=0;t===yn?i>0&&(u=yn,h=i,d=r.length):t===Sr?f>0&&(u=Sr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?yn:Sr:null,d=u?u===yn?r.length:l.length:0);const c=u===yn&&/\b(?:transform|all)(?:,|$)/.test(s(`${yn}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function ul(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>fl(n)+fl(e[s])))}function fl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function dl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ng(e,t,n){const s=e[Wr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hs=Symbol("_vod"),Pf=Symbol("_vsh"),hS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Hs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):br(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),br(e,!0),s.enter(e)):s.leave(e,()=>{br(e,!1)}):br(e,t))},beforeUnmount(e,{value:t}){br(e,t)}};function br(e,t){e.style.display=t?e[Hs]:"none",e[Pf]=!t}const Mg=Symbol(""),Dg=/(?:^|;)\s*display\s*:/;function Fg(e,t,n){const s=e.style,o=Ie(n);let r=!1;if(n&&!o){if(t)if(Ie(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Rr(s,a,"")}else for(const i in t)n[i]==null&&Rr(s,i,"");for(const i in n){i==="display"&&(r=!0);const a=n[i];a!=null?Hg(e,i,!Ie(t)&&t?t[i]:void 0,a)||Rr(s,i,a):Rr(s,i,"")}}else if(o){if(t!==n){const i=s[Mg];i&&(n+=";"+i),s.cssText=n,r=Dg.test(n)}}else t&&e.removeAttribute("style");Hs in e&&(e[Hs]=r?s.display:"",e[Pf]&&(s.display="none"))}const hl=/\s*!important$/;function Rr(e,t,n){if(ae(n))n.forEach(s=>Rr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ug(e,t);hl.test(n)?e.setProperty(Yn(s),n.replace(hl,""),"important"):e[s]=n}}const pl=["Webkit","Moz","ms"],Go={};function Ug(e,t){const n=Go[t];if(n)return n;let s=ft(t);if(s!=="filter"&&s in e)return Go[t]=s;s=no(s);for(let o=0;o<pl.length;o++){const r=pl[o]+s;if(r in e)return Go[t]=r}return t}function Hg(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ie(s)&&n===s}const gl="http://www.w3.org/1999/xlink";function ml(e,t,n,s,o,r=Nh(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(gl,t.slice(6,t.length)):e.setAttributeNS(gl,t,n):n==null||r&&!cu(n)?e.removeAttribute(t):e.setAttribute(t,r?"":wt(n)?String(n):n)}function vl(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Cf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=cu(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Bg(e,t,n,s){e.addEventListener(t,n,s)}function $g(e,t,n,s){e.removeEventListener(t,n,s)}const yl=Symbol("_vei");function Vg(e,t,n,s,o=null){const r=e[yl]||(e[yl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=Gg(t);if(s){const f=r[t]=Xg(s,o);Bg(e,a,f,l)}else i&&($g(e,a,i,l),r[t]=void 0)}}const jg=/(Once|Passive|Capture)$/,Wg=/^on:?(?:Once|Passive|Capture)$/;function Gg(e){let t,n;for(;(n=e.match(jg))&&!Wg.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Yn(e.slice(2)),t]}let Ko=0;const Kg=Promise.resolve(),Yg=()=>Ko||(Kg.then(()=>Ko=0),Ko=Date.now());function Xg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const o=n.value;if(ae(o)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const i=o.slice(),a=[s];for(let l=0;l<i.length&&!s._stopped;l++){const f=i[l];f&&Pt(f,t,5,a)}}else Pt(o,t,5,[s])};return n.value=e,n.attached=Yg(),n}const _l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Ng(e,s,i):t==="style"?Fg(e,n,s):Qr(t)?Zs(t)||Vg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jg(e,t,s,i))?(vl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ml(e,t,s,i,r,t!=="value")):e._isVueCE&&(Qg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ie(s)))?vl(e,ft(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ml(e,t,s,i))};function Jg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_l(t)&&ue(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return _l(t)&&Ie(n)?!1:t in e}function Qg(e,t){const n=e._def.props;if(!n)return!1;const s=ft(t);return Array.isArray(n)?n.some(o=>ft(o)===s):Object.keys(n).some(o=>ft(o)===s)}const Lf=Xe({patchProp:qg},Tg);let Mr,xl=!1;function zg(){return Mr||(Mr=og(Lf))}function Zg(){return Mr=xl?Mr:ig(Lf),xl=!0,Mr}const em=((...e)=>{const t=zg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Af(s);if(!o)return;const r=t._component;!ue(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Rf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t}),tm=((...e)=>{const t=Zg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Af(s);if(o)return n(o,!0,Rf(o))},t});function Rf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Af(e){return Ie(e)?document.querySelector(e):e}const nm=/"(?:_|\\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*:/,rm=/"(?: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*:/,sm=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function om(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){im(e);return}return t}function im(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Gr(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!sm.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(nm.test(e)||rm.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,om)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const am=/#/g,lm=/&/g,cm=/\//g,um=/=/g,va=/\+/g,fm=/%5e/gi,dm=/%60/gi,hm=/%7c/gi,pm=/%20/gi;function gm(e){return encodeURI(""+e).replace(hm,"|")}function wi(e){return gm(typeof e=="string"?e:JSON.stringify(e)).replace(va,"%2B").replace(pm,"+").replace(am,"%23").replace(lm,"%26").replace(dm,"`").replace(fm,"^").replace(cm,"%2F")}function Yo(e){return wi(e).replace(um,"%3D")}function Bs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function mm(e){return Bs(e.replace(va," "))}function vm(e){return Bs(e.replace(va," "))}function ya(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=mm(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=vm(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 ym(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Yo(e)}=${wi(n)}`).join("&"):`${Yo(e)}=${wi(t)}`:Yo(e)}function _m(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ym(t,e[t])).filter(Boolean).join("&")}const xm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Em=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,wm=/^([/\\]\s*){2,}[^/\\]/,Sm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,bm=/\/$|\/\?|\/#/,Cm=/^\.?\//;function At(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xm.test(e):Em.test(e)||(t.acceptRelative?wm.test(e):!1)}function Tm(e){return!!e&&Sm.test(e)}function Si(e="",t){return t?bm.test(e):e.endsWith("/")}function ns(e="",t){if(!t)return(Si(e)?e.slice(0,-1):e)||"/";if(!Si(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o!==-1&&(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 Kr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Si(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o!==-1&&(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 Pm(e=""){return e.startsWith("/")}function El(e=""){return Pm(e)?e:"/"+e}function Lm(e,t){if(If(t)||At(e))return e;const n=ns(t);if(e.startsWith(n)){const s=e[n.length];if(!s||s==="/"||s==="?")return e}return Xn(n,e)}function wl(e,t){if(If(t))return e;const n=ns(t);if(!e.startsWith(n))return e;const s=e[n.length];return s&&s!=="/"&&s!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function kf(e,t){const n=Am(e),s={...ya(n.search),...t};return n.search=_m(s),km(n)}function If(e){return!e||e==="/"}function Rm(e){return e&&e!=="/"}function Xn(e,...t){let n=e||"";for(const s of t.filter(o=>Rm(o)))if(n){const o=s.replace(Cm,"");n=Kr(n)+o}else n=s;return n}function Of(...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&&At(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 bi(e,t,n={}){return n.trailingSlash||(e=Kr(e),t=Kr(t)),n.leadingSlash||(e=El(e),t=El(t)),n.encoding||(e=Bs(e),t=Bs(t)),e===t}const Nf=Symbol.for("ufo:protocolRelative");function Am(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(!At(e,{acceptRelative:!0}))return Ci(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}=Ci(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:f,hash:u,[Nf]:!s}}function Ci(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function km(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[Nf]?(e.protocol||"")+"//":"")+o+r+t+n+s}class Im extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Om(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 Im(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[p]}});return a}const Nm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Sl(e="GET"){return Nm.has(e.toUpperCase())}function Mm(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Dm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Fm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Um(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Fm.test(t)?"json":t==="text/event-stream"?"stream":Dm.has(t)||t.startsWith("text/")?"text":"blob"}function Hm(e,t,n,s){const o=Bm((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,s);let r;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(r={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:r,params:r,headers:o}}function Bm(e,t,n){if(!t)return new n(e);const s=new n(t);if(e)for(const[o,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))s.set(o,r);return s}async function ds(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const $m=new Set([408,409,425,429,500,502,503,504]),Vm=new Set([101,204,205,304]);function Mf(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=Sl(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):$m.has(h))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1})}}const f=Om(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){const u={request:l,options:Hm(l,f,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await ds(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Lm(u.request,u.options.baseURL)),u.options.query&&(u.request=kf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Sl(u.options.method))if(Mm(u.options.body)){const c=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=c==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),c||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let h;if(!u.options.signal&&u.options.timeout){const c=new s;h=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,c.abort(p)},u.options.timeout),u.options.signal=c.signal}try{u.response=await t(u.request,u.options)}catch(c){return u.error=c,u.options.onRequestError&&await ds(u,u.options.onRequestError),await o(u)}finally{h&&clearTimeout(h)}if((u.response.body||u.response._bodyInit)&&!Vm.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||Um(u.response.headers.get("content-type")||"");switch(c){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Gr;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[c]()}}return u.options.onResponse&&await ds(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await ds(u,u.options.onResponseError),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={},l={})=>Mf({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const $s=(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")})(),jm=$s.fetch?(...e)=>$s.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Wm=$s.Headers,Gm=$s.AbortController,Km=Mf({fetch:jm,Headers:Wm,AbortController:Gm}),Ym=Km,Xm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Vs=Xm().app,qm=()=>Vs.baseURL,Jm=()=>Vs.buildAssetsDir,_a=(...e)=>Of(Df(),Jm(),...e),Df=(...e)=>{const t=Vs.cdnURL||Vs.baseURL;return e.length?Of(t,...e):t};globalThis.__buildAssetsURL=_a,globalThis.__publicAssetsURL=Df;globalThis.$fetch||(globalThis.$fetch=Ym.create({baseURL:qm()}));function Ti(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Ti(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const Qm={run:e=>e()},zm=()=>Qm,Ff=typeof console.createTask<"u"?console.createTask:zm;function Zm(e,t){const n=t.shift(),s=Ff(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function ev(e,t){const n=t.shift(),s=Ff(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Xo(e,t){for(const n of[...e])n(t)}class tv{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=Ti(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=Ti(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(Zm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ev,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Xo(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Xo(this._after,o)}):(this._after&&o&&Xo(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 Uf(){return new tv}function nv(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){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;Pi.add(f);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Pi.delete(f)}}}}function rv(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=nv({...e,...s})),t[n]}}}const js=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},bl="__unctx__",sv=js[bl]||(js[bl]=rv()),ov=(e,t={})=>sv.get(e,t),Cl="__unctx_async_handlers__",Pi=js[Cl]||(js[Cl]=new Set);function Mt(e){const t=[];for(const o of Pi){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 iv=!1,Li=!1,av=!1,lv={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},cv=null,uv="#__nuxt",Hf="nuxt-app",Tl=36e5,fv="vite:preloadError";function Bf(e=Hf){return ov(e,{asyncContext:!1})}const dv="__nuxt_plugin";function hv(e){var o;let t=0;const n={_id:e.id||Hf||"nuxt-app",_scope:sa(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.4"},get vue(){return n.vueApp.version}},payload:ln({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:ln({}),state:Pn({}),once:new Set,_errors:ln({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!oo()?n._scope.run(()=>Pl(n,r)):Pl(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:ln({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const i in r)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],r[i]);break;default:n.payload[i]=r[i]}}n.hooks=Uf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;hs(n,a,i),hs(n.vueApp.config.globalProperties,a,i)},hs(n.vueApp,"$nuxt",n),hs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(fv,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||ge;const r=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",r)}const s=n.payload.config;return n.provide("config",s),n}function pv(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function gv(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 mv(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=gv(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)pv(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 $t(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[dv]:!0,_name:t})}function Pl(e,t,n){const s=()=>t();return Bf(e._id).set(e),e.vueApp.runWithContext(s)}function vv(e){var n;let t;return Nu()&&(t=(n=mn())==null?void 0:n.appContext.app.$nuxt),t=t||Bf(e).tryUse(),t||null}function ge(e){const t=vv(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function yt(e){return ge().$config}function hs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const yv=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function _v(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n=new yv,s=t||{},o=s.decode||xv;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]=Ev(f,o)}r=a+1}return n}function xv(e){return e.includes("%")?decodeURIComponent(e):e}function Ev(e,t){try{return t(e)}catch{return e}}const ps=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Ll(e,t,n){const s=n||{},o=s.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!ps.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!ps.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(!ps.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!ps.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!wv(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 wv(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Sv(e,t){return{ctx:{table:e},matchAll:n=>Vf(n,e)}}function $f(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,$f(o)])):new Map(Object.entries(e[n]));return t}function bv(e){return Sv($f(e))}function Vf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of Rl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of Rl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Vf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function Rl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function qo(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 Ri(e,t,n=".",s){if(!qo(t))return Ri(e,{},n,s);const o={...t};for(const r of Object.keys(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]]:qo(i)&&qo(o[r])?o[r]=Ri(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Cv(e){return(...t)=>t.reduce((n,s)=>Ri(n,s,"",e),{})}const jf=Cv();function Tv(e,t){try{return t in e}catch{return!1}}class Ai extends Error{constructor(n,s={}){super(n,s);vn(this,"statusCode",500);vn(this,"fatal",!1);vn(this,"unhandled",!1);vn(this,"statusMessage");vn(this,"data");vn(this,"cause");s.cause&&!this.cause&&(this.cause=s.cause)}toJSON(){const n={message:this.message,statusCode:Ii(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Wf(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}vn(Ai,"__h3_error__",!0);function ki(e){if(typeof e=="string")return new Ai(e);if(Pv(e))return e;const t=new Ai(e.message??e.statusMessage??"",{cause:e.cause||e});if(Tv(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=Ii(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ii(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Wf(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 Pv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Lv=/[^\u0009\u0020-\u007E]/g;function Wf(e=""){return e.replace(Lv,"")}function Ii(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Gf=Symbol("layout-meta"),rs=Symbol("route"),et=()=>{var e;return(e=ge())==null?void 0:e.$router},vo=()=>Nu()?st(rs,ge()._route):ge()._route;const Rv=(e,t,n={})=>{const s=ge(),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},Av=()=>{try{if(ge()._processingMiddleware)return!0}catch{return!1}return!1},Kf=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Oi(e):et().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=At(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&&Tm(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=Av();if(!o&&r)return t!=null&&t.replace?typeof e=="string"?{path:e,replace:!0}:{...e,replace:!0}:e;const i=et(),a=ge();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 Oi(e){return kf(e.path||"",e.query||{})+(e.hash||"")}const Yf="__nuxt_error",yo=()=>Ru(ge().payload,"error"),rr=e=>{const t=_o(e);try{const n=ge(),s=yo();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},kv=async(e={})=>{const t=ge(),n=yo();t.callHook("app:error:cleared",e),e.redirect&&await et().replace(e.redirect),n.value=cv},Iv=e=>!!e&&typeof e=="object"&&Yf in e,_o=e=>{const t=ki(e);return Object.defineProperty(t,Yf,{value:!0,configurable:!1,writable:!1}),t},Ov=-1,Nv=-2,Mv=-3,Dv=-4,Fv=-5,Uv=-6,Hv=-7,Xf=2**32-1,Ni=Xf-1;function Bv(e){return!(!Number.isInteger(e)||e<0||e>Ni)}function $v(e){return!(!Number.isInteger(e)||e<0||e>Xf)}function Vv(e){return Uint8Array.fromBase64(e).buffer}function jv(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Wv(e){const t=atob(e),n=t.length,s=new Uint8Array(n);for(let o=0;o<n;o++)s[o]=t.charCodeAt(o);return s.buffer}const Gv=typeof Uint8Array.fromBase64=="function";var tu;const Kv=typeof process=="object"&&((tu=process.versions)==null?void 0:tu.node)!==void 0,Yv=Gv?Vv:Kv?jv:Wv;function Xv(e,t){return qv(JSON.parse(e),t)}function qv(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);let o=null;function r(i,a=!1){if(i===Ov)return;if(i===Mv)return NaN;if(i===Dv)return 1/0;if(i===Fv)return-1/0;if(i===Uv)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in s)return s[i];const l=n[i];if(!l||typeof l!="object")s[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const f=l[0],u=t&&Object.hasOwn(t,f)?t[f]:void 0;if(u){let h=l[1];if(typeof h!="number"&&(h=n.push(l[1])-1),Object.hasOwn(s,h))return s[i]=u(s[h]);if(o??(o=new Set),o.has(h))throw new Error("Invalid circular reference");return o.add(h),s[i]=u(r(h)),o.delete(h),s[i]}switch(f){case"Date":s[i]=new Date(l[1]);break;case"Set":const h=new Set;s[i]=h;for(let p=1;p<l.length;p+=1)h.add(r(l[p]));break;case"Map":const d=new Map;s[i]=d;for(let p=1;p<l.length;p+=2)d.set(r(l[p]),r(l[p+1]));break;case"RegExp":s[i]=new RegExp(l[1],l[2]);break;case"Object":{const p=l[1];if(typeof n[p]=="object"&&n[p][0]!=="BigInt")throw new Error("Invalid input");s[i]=Object(r(p));break}case"BigInt":s[i]=BigInt(l[1]);break;case"null":const c=Object.create(null);s[i]=c;for(let p=1;p<l.length;p+=2){if(l[p]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");c[l[p]]=r(l[p+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[f],g=r(l[1]);s[i]=l[2]!==void 0?new p(g,l[2],l[3]):new p(g);break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=Yv(p);s[i]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=f.slice(9);s[i]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);s[i]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);s[i]=p;break}default:throw new Error(`Unknown type ${f}`)}}else if(l[0]===Hv){const f=l[1];if(!$v(f))throw new Error("Invalid input");const u=[];s[i]=u,u[Ni]=void 0,delete u[Ni];for(let h=2;h<l.length;h+=2){const d=l[h];if(!Bv(d)||d>=f)throw new Error("Invalid input");u[d]=r(l[h+1])}u.length=f}else{const f=new Array(l.length);s[i]=f;for(let u=0;u<l.length;u+=1){const h=l[u];h!==Nv&&(f[u]=r(h))}}else{const f={};s[i]=f;for(const u of Object.keys(l)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const h=l[u];f[u]=r(h)}}return s[i]}return r(0)}const Jv=new Set(["title","titleTemplate","script","style","noscript"]),ws=new Set(["base","meta","link","style","script","noscript"]),Qv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),zv=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),qf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Zv=typeof window<"u";function Ws(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 Mi(e){if(e._h)return e._h;if(e._d)return Ws(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Ws(t)}function ey(e,t){return e instanceof Promise?e.then(t):t(e)}function Di(e,t,n,s){const o=s||Qf(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>Di(e,t,n,i));const r={tag:e,props:o};for(const i of qf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Jv.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function ty(e,t){var s;const n=e==="class"?" ":";";return t&&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()).join(n)}function Jf(e,t,n,s){for(let o=s;o<n.length;o+=1){const r=n[o];if(r==="class"||r==="style"){e[r]=ty(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Jf(e,t,n,o)));if(!t&&!qf.has(r)){const i=String(e[r]),a=r.startsWith("data-");i==="true"||i===""?e[r]=a?"true":!0:e[r]||(a&&i==="false"?e[r]="false":delete e[r])}}}function Qf(e,t=!1){const n=Jf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const ny=10;function zf(e,t,n){for(let s=n;s<t.length;s+=1){const o=t[s];if(o instanceof Promise)return o.then(r=>(t[s]=r,zf(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function ry(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const r=n[o];if(!(r===void 0||!Qv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(Di(o,i,e));continue}t.push(Di(o,r,e))}}if(t.length===0)return[];const s=[];return ey(zf(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<ny)+r,o)))}const Al=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),kl={base:-10,title:10},Il={critical:-80,high:-10,low:20};function Gs(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in kl&&(n=kl[e.tag]),t&&t in Il?n+Il[t]:n}const sy=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],oy=["name","property","http-equiv"];function Zf(e){const{props:t,tag:n}=e;if(zv.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of oy)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const En="%separator";function iy(e,t,n=!1){var o;let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");s=(o=e[t.substring(0,r)])==null?void 0:o[t.substring(r+1)]}else s=e[t];if(s!==void 0)return n?(s||"").replace(/"/g,'\\"'):s||""}const ay=new RegExp(`${En}(?:\\s*${En})*`,"g");function gs(e,t,n,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const r=o.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const i=e.includes(En);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===En||!r.includes(a))return a;const l=iy(t,a.slice(1),s);return l!==void 0?l:a}).trim(),i&&(e.endsWith(En)&&(e=e.slice(0,-En.length)),e.startsWith(En)&&(e=e.slice(En.length)),e=e.replace(ay,n).trim()),e}function Ol(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function ed(e,t={}){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 e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var h;const r=(await e.resolveTags()).map(d=>({tag:d,id:ws.has(d.tag)?Mi(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const c of["body","head"]){const p=(h=n[c])==null?void 0:h.children;for(const g of p){const v=g.tagName.toLowerCase();if(!ws.has(v))continue;const E={tag:v,props:await Qf(g.getAttributeNames().reduce((m,x)=>({...m,[x]:g.getAttribute(x)}),{})),innerHTML:g.innerHTML},w=Zf(E);let y=w,_=1;for(;y&&d.has(y);)y=`${w}:${_++}`;y&&(E._d=y,d.add(y)),i.elMap[g.getAttribute("data-hid")||Mi(E)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,c,p){const g=`${d}:${c}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:d,$el:c,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[d]=c,g||(p.textContent&&p.textContent!==c.textContent&&(c.textContent=p.textContent),p.innerHTML&&p.innerHTML!==c.innerHTML&&(c.innerHTML=p.innerHTML),a(d,"el",()=>{var v;(v=i.elMap[d])==null||v.remove(),delete i.elMap[d]})),p._eventHandlers)for(const v in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,v)&&c.getAttribute(`data-${v}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:c).addEventListener(v.substring(2),p._eventHandlers[v].bind(c)),c.setAttribute(`data-${v}`,""));for(const v in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,v))continue;const E=p.props[v],w=`attr:${v}`;if(v==="class"){if(!E)continue;for(const y of E.split(" "))g&&a(d,`${w}:${y}`,()=>c.classList.remove(y)),!c.classList.contains(y)&&c.classList.add(y)}else if(v==="style"){if(!E)continue;for(const y of E.split(";")){const _=y.indexOf(":"),m=y.substring(0,_).trim(),x=y.substring(_+1).trim();a(d,`${w}:${m}`,()=>{c.style.removeProperty(m)}),c.style.setProperty(m,x)}}else c.getAttribute(v)!==E&&c.setAttribute(v,E===!0?"":String(E)),g&&a(d,w,()=>c.removeAttribute(v))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of r){const{tag:c,shouldRender:p,id:g}=d;if(p){if(c.tag==="title"){n.title=c.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):ws.has(c.tag)&&f.push(d)}}for(const d of f){const c=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[c]=u[c]||n.createDocumentFragment(),u[c].appendChild(d.$el)}for(const d of r)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function ly(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>ed(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function cy(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":r=>{ly(r,e)}}}}}const uy=new Set(["templateParams","htmlAttrs","bodyAttrs"]),fy={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Zf(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const o=(s.key?`${s.tag}:${s.key}`:s._d)||Mi(s),r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&uy.has(s.tag)&&(a="merge"),a==="merge"){const l=r.props;l.style&&s.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),s.props.style=`${l.style} ${s.props.style}`),l.class&&s.props.class?s.props.class=`${l.class} ${s.props.class}`:l.class&&(s.props.class=l.class),t[o].props={...l,...s.props};continue}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);continue}else if(Gs(s)>Gs(r))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ws.has(s.tag)){delete t[o];continue}t[o]=s}const n=[];for(const s in t){const o=t[s],r=o._duped;n.push(o),r&&(delete o._duped,n.push(...r))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},dy=new Set(["script","link","bodyAttrs"]),hy=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!dy.has(n.tag))continue;const s=n.props;for(const o in s){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,o))continue;const r=s[o];typeof r=="function"&&(e.ssr&&Al.has(o)?s[o]=`this.dataset.${o}fired = true`:delete s[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=r)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Ws(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,r;const s=t==null?void 0:t.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);Al.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),py=new Set(["link","style","script","noscript"]),gy={hooks:{"tag:normalise":({tag:e})=>{e.key&&py.has(e.tag)&&(e.props["data-hid"]=e._h=Ws(e.key))}}},my={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},vy={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of sy){if(!n.tagPriority.startsWith(s))continue;const r=n.tagPriority.substring(s.length),i=(t=e.tags.find(a=>a._d===r))==null?void 0:t._p;if(i!==void 0){n._p=i+o;break}}e.tags.sort((n,s)=>{const o=Gs(n),r=Gs(s);return o<r?-1:o>r?1:n._p-s._p})}}},yy={meta:"content",link:"href",htmlAttrs:"lang"},_y=["innerHTML","textContent"],xy=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let s;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(s=t.tags.splice(a,1)[0].props,a-=1);const o=s||{},r=o.separator||"|";delete o.separator,o.pageTitle=gs(o.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",o,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=yy[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=gs(a.props[l],o,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const f of _y)typeof a[f]=="string"&&(a[f]=gs(a[f],o,r,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=o,e._separator=r},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const o=t[s];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=gs(n.textContent,e._templateParams,e._separator))}}}),Ey={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let o=0;o<t.length;o+=1){const r=t[o];r.tag==="title"?n=r:r.tag==="titleTemplate"&&(s=r)}if(s&&n){const o=Ol(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=Ol(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},wy={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let td;function Sy(e={}){const t=by(e);return t.use(cy()),td=t}function Nl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function by(e={}){const t=Uf();t.addHooks(e.hooks||{}),e.document=e.document||(Zv?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),Nl(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:o++,input:l,...f};return Nl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),s()},patch(h){for(const d of r)d._i===u._i&&(d.input=u.input=h);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 ry(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[fy,my,hy,gy,vy,xy,Ey,wy,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Cy(){return td}const Ty=bf[0]==="3";function Py(e){return typeof e=="function"?e():re(e)}function Ks(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Py(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Ks(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=re(t[s]);continue}n[s]=Ks(t[s])}return n}return t}const Ly={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},nd="usehead";function Ry(e){return{install(n){Ty&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(nd,e))}}.install}function Ay(e={}){e.domDelayFn=e.domDelayFn||(n=>Ln(()=>setTimeout(()=>n(),0)));const t=Sy(e);return t.use(Ly),t.install=Ry(t),t}const Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ui="__unhead_injection_handler__";function ky(e){Fi[Ui]=e}function Iy(){return Ui in Fi?Fi[Ui]():st(nd)||Cy()}function Ml(e,t={}){const n=t.head||Iy();if(n)return n.ssr?n.push(e,t):Oy(n,e,t)}function Oy(e,t,n={}){const s=Te(!1),o=Te({});mp(()=>{o.value=s.value?{}:Ks(t)});const r=e.push(o.value,n);return vt(o,a=>{r.patch(a)}),mn()&&(es(()=>{r.dispose()}),Wu(()=>{s.value=!0}),ju(()=>{s.value=!1})),r}const Ny="modulepreload",My=function(e,t){return new URL(e,t).href},Dl={},Ne=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(h=>Promise.resolve(h).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),f=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=i(n.map(u=>{if(u=My(u,s),u in Dl)return;Dl[u]=!0;const h=u.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(!!s)for(let g=a.length-1;g>=0;g--){const v=a[g];if(v.href===u&&(!h||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=h?"stylesheet":Ny,h||(p.as="script"),p.crossOrigin="",p.href=u,f&&p.setAttribute("nonce",f),document.head.appendChild(p),h)return new Promise((g,v)=>{p.addEventListener("load",g),p.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})};let Ss,bs;function Dy(){return Ss=$fetch(_a(`builds/meta/${yt().app.buildId}.json`),{responseType:"json"}),Ss.then(e=>{bs=bv(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ss}function xo(){return Ss||Dy()}async function xa(e){const t=typeof e=="string"?e:e.path;if(await xo(),!bs)return console.error("[nuxt] Error creating app manifest matcher.",bs),{};try{return jf({},...bs.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Fl(e,t={}){const n=await Uy(e,t),s=ge(),o=s._payloadCache=s._payloadCache||{};return n in o?o[n]||null:(o[n]=sd(e).then(r=>r?rd(n).then(i=>i||(delete o[n],null)):(o[n]=null,null)),o[n])}const Fy="_payload.json";async function Uy(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||At(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=yt(),o=t.hash||(t.fresh?Date.now():s.app.buildId),r=s.app.cdnURL,i=r&&await sd(e)?r:s.app.baseURL;return Xn(i,n.pathname,Fy+(o?`?${o}`:""))}async function rd(e){const t=fetch(e).then(n=>n.text().then(od));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function sd(e=vo().path){const t=ge();return e=ns(e),(await xo()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const s=await xa({path:e});return!!s.prerender&&!s.redirect})}let Fn=null;async function Hy(){var s;if(Fn)return Fn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await od(e.textContent||""),n=e.dataset.src?await rd(e.dataset.src):void 0;return Fn={...t,...n,...window.__NUXT__},(s=Fn.config)!=null&&s.public&&(Fn.config.public=Pn(Fn.config.public)),Fn}async function od(e){return await Xv(e,ge()._payloadRevivers)}function By(e,t){ge()._payloadRevivers[e]=t}const $y=[["NuxtError",e=>_o(e)],["EmptyShallowRef",e=>ur(e==="_"?void 0:e==="0n"?BigInt(0):Gr(e))],["EmptyRef",e=>Te(e==="_"?void 0:e==="0n"?BigInt(0):Gr(e))],["ShallowRef",e=>ur(e)],["ShallowReactive",e=>ln(e)],["Ref",e=>Te(e)],["Reactive",e=>Pn(e)]],Vy=$t({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,o]of $y)By(s,o);Object.assign(e.payload,([t,n]=Mt(()=>e.runWithContext(Hy)),t=await t,n(),t)),window.__NUXT__=e.payload}}),jy=[],Wy=$t({name:"nuxt:head",enforce:"pre",setup(e){const t=Ay({plugins:jy});ky(()=>ge().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await ed(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.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const tr=typeof document<"u";function id(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&id(e.default)}const Se=Object.assign;function Jo(e,t){const n={};for(const s in t){const o=t[s];n[s]=Ht(o)?o.map(e):e(o)}return n}const Dr=()=>{},Ht=Array.isArray;function Ul(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ad=/#/g,Ky=/&/g,Yy=/\//g,Xy=/=/g,qy=/\?/g,ld=/\+/g,Jy=/%5B/g,Qy=/%5D/g,cd=/%5E/g,zy=/%60/g,ud=/%7B/g,Zy=/%7C/g,fd=/%7D/g,e0=/%20/g;function Ea(e){return e==null?"":encodeURI(""+e).replace(Zy,"|").replace(Jy,"[").replace(Qy,"]")}function t0(e){return Ea(e).replace(ud,"{").replace(fd,"}").replace(cd,"^")}function Hi(e){return Ea(e).replace(ld,"%2B").replace(e0,"+").replace(ad,"%23").replace(Ky,"%26").replace(zy,"`").replace(ud,"{").replace(fd,"}").replace(cd,"^")}function n0(e){return Hi(e).replace(Xy,"%3D")}function r0(e){return Ea(e).replace(ad,"%23").replace(qy,"%3F")}function s0(e){return r0(e).replace(Yy,"%2F")}function Yr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const o0=/\/$/,i0=e=>e.replace(o0,"");function Qo(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),r=t.slice(l,a>0?a:t.length),o=e(r.slice(1))),a>=0&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=u0(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Yr(i)}}function a0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function l0(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&hr(t.matched[s],n.matched[o])&&dd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function hr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function dd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!c0(e[n],t[n]))return!1;return!0}function c0(e,t){return Ht(e)?Bl(e,t):Ht(t)?Bl(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Bl(e,t){return Ht(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function u0(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 It={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Bi=(function(e){return e.pop="pop",e.push="push",e})({}),zo=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function f0(e){if(!e)if(tr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),i0(e)}const d0=/^[^#]+#/;function h0(e,t){return e.replace(d0,"#")+t}function p0(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 Eo=()=>({left:window.scrollX,top:window.scrollY});function g0(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=p0(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 $l(e,t){return(history.state?history.state.position-t:-1)+e}const $i=new Map;function m0(e,t){$i.set(e,t)}function v0(e){const t=$i.get(e);return $i.delete(e),t}function y0(e){return typeof e=="string"||e&&typeof e=="object"}function hd(e){return typeof e=="string"||typeof e=="symbol"}let Be=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const pd=Symbol("");Be.MATCHER_NOT_FOUND+"",Be.NAVIGATION_GUARD_REDIRECT+"",Be.NAVIGATION_ABORTED+"",Be.NAVIGATION_CANCELLED+"",Be.NAVIGATION_DUPLICATED+"";function pr(e,t){return Se(new Error,{type:e,[pd]:!0},t)}function Zt(e,t){return e instanceof Error&&pd in e&&(t==null||!!(e.type&t))}const _0=["params","query","hash"];function x0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of _0)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function E0(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const o=n[s].replace(ld," "),r=o.indexOf("="),i=Yr(r<0?o:o.slice(0,r)),a=r<0?null:Yr(o.slice(r+1));if(i in t){let l=t[i];Ht(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Vl(e){let t="";for(let n in e){const s=e[n];if(n=n0(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ht(s)?s.map(o=>o&&Hi(o)):[s&&Hi(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function w0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ht(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const S0=Symbol(""),jl=Symbol(""),wa=Symbol(""),Sa=Symbol(""),Vi=Symbol("");function Cr(){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 wn(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(pr(Be.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):y0(d)?l(pr(Be.NAVIGATION_GUARD_REDIRECT,{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 Zo(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(id(l)){const f=(l.__vccOpts||l)[t];f&&r.push(wn(f,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=Gy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const d=(h.__vccOpts||h)[t];return d&&wn(d,n,s,i,a,o)()}))}}return r}function b0(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=>hr(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>hr(f,l))||o.push(l))}return[n,s,o]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let C0=()=>location.protocol+"//"+location.host;function gd(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),Hl(a,"")}return Hl(n,e)+s+o}function T0(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=gd(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(E=>{E(n.value,p,{delta:v,type:Bi.pop,direction:v?v>0?zo.forward:zo.back:zo.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Se({},d.state,{scroll:Eo()}),"")}}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:f,destroy:h}}function Wl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Eo():null}}function P0(e){const{history:t,location:n}=window,s={value:gd(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:C0()+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){r(l,Se({},t.state,Wl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position}),!0),s.value=l}function a(l,f){const u=Se({},o.value,t.state,{forward:l,scroll:Eo()});r(u.current,u,!0),r(l,Se({},Wl(s.value,l,null),{position:u.position+1},f),!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function L0(e){e=f0(e);const t=P0(e),n=T0(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Se({location:"",base:e,go:s,createHref:h0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let $n=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ge=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ge||{});const R0={type:$n.Static,value:""},A0=/[a-zA-Z0-9_]/;function k0(e){if(!e)return[[]];if(e==="/")return[[R0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=Ge.Static,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===Ge.Static?r.push({type:$n.Static,value:f}):n===Ge.Param||n===Ge.ParamRegExp||n===Ge.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:$n.Param,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!==Ge.ParamRegExp){s=n,n=Ge.EscapeNext;continue}switch(n){case Ge.Static:l==="/"?(f&&h(),i()):l===":"?(h(),n=Ge.Param):d();break;case Ge.EscapeNext:d(),n=s;break;case Ge.Param:l==="("?n=Ge.ParamRegExp:A0.test(l)?d():(h(),n=Ge.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Ge.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Ge.ParamRegExpEnd:u+=l;break;case Ge.ParamRegExpEnd:h(),n=Ge.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Ge.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),o}const Gl="[^/]+?",I0={sensitive:!1,strict:!1,start:!0,end:!0};var lt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(lt||{});const O0=/[.+*?^${}()[\]/\\]/g;function N0(e,t){const n=Se({},I0,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[lt.Root];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=lt.Segment+(n.sensitive?lt.BonusCaseSensitive:0);if(d.type===$n.Static)h||(o+="/"),o+=d.value.replace(O0,"\\$&"),c+=lt.Static;else if(d.type===$n.Param){const{value:p,repeatable:g,optional:v,regexp:E}=d;r.push({name:p,repeatable:g,optional:v});const w=E||Gl;if(w!==Gl){c+=lt.BonusCustomRegExp;try{`${w}`}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${w}): `+_.message)}}let y=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(y=v&&f.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,c+=lt.Dynamic,v&&(c+=lt.BonusOptional),g&&(c+=lt.BonusRepeatable),w===".*"&&(c+=lt.BonusWildcard)}u.push(c)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=lt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(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]||"",p=r[d-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===$n.Static)u+=c.value;else if(c.type===$n.Param){const{value:p,repeatable:g,optional:v}=c,E=p in f?f[p]:"";if(Ht(E)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=Ht(E)?E.join("/"):E;if(!w)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=w}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function M0(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]===lt.Static+lt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===lt.Static+lt.Segment?1:-1:0}function md(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=M0(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Kl(s))return 1;if(Kl(o))return-1}return o.length-s.length}function Kl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const D0={strict:!1,end:!0,sensitive:!1};function F0(e,t,n){const s=N0(k0(e.path),n),o=Se(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function U0(e,t){const n=[],s=new Map;t=Ul(D0,t);function o(h){return s.get(h)}function r(h,d,c){const p=!c,g=Xl(h);g.aliasOf=c&&c.record;const v=Ul(t,h),E=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)E.push(Xl(Se({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g})))}let w,y;for(const _ of E){const{path:m}=_;if(d&&m[0]!=="/"){const x=d.record.path,S=x[x.length-1]==="/"?"":"/";_.path=d.record.path+(m&&S+m)}if(w=F0(_,d,v),c?c.alias.push(w):(y=y||w,y!==w&&y.alias.push(w),p&&h.name&&!ql(w)&&i(h.name)),vd(w)&&l(w),g.children){const x=g.children;for(let S=0;S<x.length;S++)r(x[S],w,c&&c.children[S])}c=c||w}return y?()=>{i(y)}:Dr}function i(h){if(hd(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=$0(h,n);n.splice(d,0,h),h.record.name&&!ql(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw pr(Be.MATCHER_NOT_FOUND,{location:h});v=c.record.name,p=Se(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))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw pr(Be.MATCHER_NOT_FOUND,{location:h,currentLocation:d});v=c.record.name,p=Se({},d.params,h.params),g=c.stringify(p)}const E=[];let w=c;for(;w;)E.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:E,meta:B0(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 Xl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:H0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function H0(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 ql(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function B0(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function $0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;md(e,t[r])<0?s=r:n=r+1}const o=V0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function V0(e){let t=e;for(;t=t.parent;)if(vd(t)&&md(e,t)===0)return t}function vd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Jl(e){const t=st(wa),n=st(Sa),s=me(()=>{const l=re(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(hr.bind(null,u));if(d>-1)return d;const c=Ql(l[f-2]);return f>1&&Ql(u)===c&&h[h.length-1].path!==c?h.findIndex(hr.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&Y0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&dd(n.params,s.value.params));function a(l={}){if(K0(l)){const f=t[re(e.replace)?"replace":"push"](re(e.to)).catch(Dr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function j0(e){return e.length===1?e[0]:e}const W0=tt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Jl,setup(e,{slots:t}){const n=Pn(Jl(e)),{options:s}=st(wa),o=me(()=>({[zl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[zl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&j0(t.default(n));return e.custom?r:Qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),G0=W0;function K0(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 Y0(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(!Ht(o)||o.length!==s.length||s.some((r,i)=>r.valueOf()!==o[i].valueOf()))return!1}return!0}function Ql(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zl=(e,t,n)=>e??t??n,X0=tt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=st(Vi),o=me(()=>e.route||s.value),r=st(jl,0),i=me(()=>{let f=re(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);Cn(jl,me(()=>i.value+1)),Cn(S0,a),Cn(Vi,o);const l=Te();return vt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!hr(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Zl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Qe(d,Se({},p,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Zl(n.default,{Component:v,route:f})||v}}});function Zl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yd=X0;function q0(e){const t=U0(e.routes,e),n=e.parseQuery||E0,s=e.stringifyQuery||Vl,o=e.history,r=Cr(),i=Cr(),a=Cr(),l=ur(It);let f=It;tr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Jo.bind(null,V=>""+V),h=Jo.bind(null,s0),d=Jo.bind(null,Yr);function c(V,J){let z,te;return hd(V)?(z=t.getRecordMatcher(V),te=J):te=V,t.addRoute(te,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function E(V,J){if(J=Se({},J||l.value),typeof V=="string"){const I=Qo(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return Se(I,D,{params:d(D.params),hash:Yr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Se({},V,{path:Qo(n,V.path,J.path).path});else{const I=Se({},V.params);for(const D in I)I[D]==null&&delete I[D];z=Se({},V,{params:h(I)}),J.params=h(J.params)}const te=t.resolve(z,J),fe=V.hash||"";te.params=u(d(te.params));const xe=a0(s,Se({},V,{hash:t0(fe),path:te.path})),k=o.createHref(xe);return Se({fullPath:xe,hash:fe,query:s===Vl?w0(V.query):V.query||{}},te,{redirectedFrom:void 0,href:k})}function w(V){return typeof V=="string"?Qo(n,V,l.value.path):Se({},V)}function y(V,J){if(f!==V)return pr(Be.NAVIGATION_CANCELLED,{from:J,to:V})}function _(V){return S(V)}function m(V){return _(Se(w(V),{replace:!0}))}function x(V,J){const z=V.matched[V.matched.length-1];if(z&&z.redirect){const{redirect:te}=z;let fe=typeof te=="function"?te(V,J):te;return typeof fe=="string"&&(fe=fe.includes("?")||fe.includes("#")?fe=w(fe):{path:fe},fe.params={}),Se({query:V.query,hash:V.hash,params:fe.path!=null?{}:V.params},fe)}}function S(V,J){const z=f=E(V),te=l.value,fe=V.state,xe=V.force,k=V.replace===!0,I=x(z,te);if(I)return S(Se(w(I),{state:typeof I=="object"?Se({},fe,I.state):fe,force:xe,replace:k}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&l0(s,te,z)&&(W=pr(Be.NAVIGATION_DUPLICATED,{to:D,from:te}),ce(te,te,!0,!1)),(W?Promise.resolve(W):L(D,te)).catch(B=>Zt(B)?Zt(B,Be.NAVIGATION_GUARD_REDIRECT)?B:ne(B):q(B,D,te)).then(B=>{if(B){if(Zt(B,Be.NAVIGATION_GUARD_REDIRECT))return S(Se({replace:k},w(B.to),{state:typeof B.to=="object"?Se({},fe,B.to.state):fe,force:xe}),J||D)}else B=C(D,te,!0,k,fe);return P(D,te,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function T(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[te,fe,xe]=b0(V,J);z=Zo(te.reverse(),"beforeRouteLeave",V,J);for(const I of te)I.leaveGuards.forEach(D=>{z.push(wn(D,V,J))});const k=b.bind(null,V,J);return z.push(k),he(z).then(()=>{z=[];for(const I of r.list())z.push(wn(I,V,J));return z.push(k),he(z)}).then(()=>{z=Zo(fe,"beforeRouteUpdate",V,J);for(const I of fe)I.updateGuards.forEach(D=>{z.push(wn(D,V,J))});return z.push(k),he(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Ht(I.beforeEnter))for(const D of I.beforeEnter)z.push(wn(D,V,J));else z.push(wn(I.beforeEnter,V,J));return z.push(k),he(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Zo(xe,"beforeRouteEnter",V,J,T),z.push(k),he(z))).then(()=>{z=[];for(const I of i.list())z.push(wn(I,V,J));return z.push(k),he(z)}).catch(I=>Zt(I,Be.NAVIGATION_CANCELLED)?I:Promise.reject(I))}function P(V,J,z){a.list().forEach(te=>T(()=>te(V,J,z)))}function C(V,J,z,te,fe){const xe=y(V,J);if(xe)return xe;const k=J===It,I=tr?history.state:{};z&&(te||k?o.replace(V.fullPath,Se({scroll:k&&I&&I.scroll},fe)):o.push(V.fullPath,fe)),l.value=V,ce(V,J,z,k),ne()}let O;function F(){O||(O=o.listen((V,J,z)=>{if(!Fe.listening)return;const te=E(V),fe=x(te,Fe.currentRoute.value);if(fe){S(Se(fe,{replace:!0,force:!0}),te).catch(Dr);return}f=te;const xe=l.value;tr&&m0($l(xe.fullPath,z.delta),Eo()),L(te,xe).catch(k=>Zt(k,Be.NAVIGATION_ABORTED|Be.NAVIGATION_CANCELLED)?k:Zt(k,Be.NAVIGATION_GUARD_REDIRECT)?(S(Se(w(k.to),{force:!0}),te).then(I=>{Zt(I,Be.NAVIGATION_ABORTED|Be.NAVIGATION_DUPLICATED)&&!z.delta&&z.type===Bi.pop&&o.go(-1,!1)}).catch(Dr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),q(k,te,xe))).then(k=>{k=k||C(te,xe,!1),k&&(z.delta&&!Zt(k,Be.NAVIGATION_CANCELLED)?o.go(-z.delta,!1):z.type===Bi.pop&&Zt(k,Be.NAVIGATION_ABORTED|Be.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),P(te,xe,k)}).catch(Dr)}))}let U=Cr(),$=Cr(),j;function q(V,J,z){ne(V);const te=$.list();return te.length?te.forEach(fe=>fe(V,J,z)):console.error(V),Promise.reject(V)}function oe(){return j&&l.value!==It?Promise.resolve():new Promise((V,J)=>{U.add([V,J])})}function ne(V){return j||(j=!V,F(),U.list().forEach(([J,z])=>V?z(V):J()),U.reset()),V}function ce(V,J,z,te){const{scrollBehavior:fe}=e;if(!tr||!fe)return Promise.resolve();const xe=!z&&v0($l(V.fullPath,0))||(te||!z)&&history.state&&history.state.scroll||null;return Ln().then(()=>fe(V,J,xe)).then(k=>k&&g0(k)).catch(k=>q(k,V,J))}const ee=V=>o.go(V);let Pe;const _e=new Set,Fe={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:E,options:e,push:_,replace:m,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:$.add,isReady:oe,install(V){V.component("RouterLink",G0),V.component("RouterView",yd),V.config.globalProperties.$router=Fe,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>re(l)}),tr&&!Pe&&l.value===It&&(Pe=!0,_(o.location).catch(te=>{}));const J={};for(const te in It)Object.defineProperty(J,te,{get:()=>l.value[te],enumerable:!0});V.provide(wa,Fe),V.provide(Sa,ln(J)),V.provide(Vi,l);const z=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=It,O&&O(),O=null,l.value=It,Pe=!1,j=!1),z()}}};function he(V){return V.reduce((J,z)=>J.then(()=>T(z)),Promise.resolve())}return Fe}function J0(e){return st(Sa)}const Q0=/(:\w+)\([^)]+\)/g,z0=/(:\w+)[?+*]/g,Z0=/:\w+/g,e_=(e,t)=>t.path.replace(Q0,"$1").replace(z0,"$1").replace(Z0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),ji=(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&&e_(e.route,n));return typeof s=="function"?s(e.route):s},t_=(e,t)=>({default:()=>e?Qe(Ap,e===!0?{}:e,t):t});function ba(e){return Array.isArray(e)?e:[e]}const ei=[{name:"about___en___default",path:"/about",component:()=>Ne(()=>import("./BTLp1OLW.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>Ne(()=>import("./BTLp1OLW.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>Ne(()=>import("./BTLp1OLW.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>Ne(()=>import("./D-8m_q7O.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>Ne(()=>import("./D-8m_q7O.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>Ne(()=>import("./D-8m_q7O.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>Ne(()=>import("./EcGuMBXW.js"),__vite__mapDeps([5,1,2,6]),import.meta.url)},{name:"index___en",path:"/en",component:()=>Ne(()=>import("./EcGuMBXW.js"),__vite__mapDeps([5,1,2,6]),import.meta.url)},{name:"index___it",path:"/it",component:()=>Ne(()=>import("./EcGuMBXW.js"),__vite__mapDeps([5,1,2,6]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>Ne(()=>import("./q87ObKri.js"),__vite__mapDeps([7,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>Ne(()=>import("./q87ObKri.js"),__vite__mapDeps([7,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>Ne(()=>import("./q87ObKri.js"),__vite__mapDeps([7,1]),import.meta.url)},{name:"publications___en___default",path:"/publications",component:()=>Ne(()=>import("./BtQtTOHJ.js"),__vite__mapDeps([8,1]),import.meta.url)},{name:"publications___en",path:"/en/publications",component:()=>Ne(()=>import("./BtQtTOHJ.js"),__vite__mapDeps([8,1]),import.meta.url)},{name:"publications___it",path:"/it/publications",component:()=>Ne(()=>import("./BtQtTOHJ.js"),__vite__mapDeps([8,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>Ne(()=>import("./DBEhlI4U.js"),__vite__mapDeps([9,1,10]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>Ne(()=>import("./DBEhlI4U.js"),__vite__mapDeps([9,1,10]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>Ne(()=>import("./DBEhlI4U.js"),__vite__mapDeps([9,1,10]),import.meta.url)}],_d=(e,t)=>({default:()=>{var n;return e?Qe(Rg,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),n_=/(:\w+)\([^)]+\)/g,r_=/(:\w+)[?+*]/g,s_=/:\w+/g;function ec(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(n_,"$1").replace(r_,"$1").replace(s_,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function o_(e,t){return e===t||t===It?!1:ec(e)!==ec(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 i_={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=et().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&&o_(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:tc(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??Li),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:tc(e.hash),behavior:o}),u(r)})})}};function tc(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const a_={hashMode:!1,scrollBehaviorType:"auto"},bt={...a_,...i_},l_=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=et(),r=([t,n]=Mt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=_o({statusCode:r&&r.statusCode||404,statusMessage:r&&r.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(()=>rr(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},c_=async e=>{let t,n;const s=([t,n]=Mt(()=>xa({path:e.path})),t=await t,n(),t);if(s.redirect)return At(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},u_=[l_,c_],Fr={};function f_(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),wl(u,"")}const a=wl(s,e),l=!n||bi(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const d_=$t({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=yt().app.baseURL;const o=((v=bt.history)==null?void 0:v.call(bt,s))??L0(s),r=bt.routes?([t,n]=Mt(()=>bt.routes(ei)),t=await t,n(),t??ei):ei;let i;const a=q0({...bt,scrollBehavior:(E,w,y)=>{if(w===It){i=y;return}if(bt.scrollBehavior){if(a.options.scrollBehavior=bt.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return bt.scrollBehavior(E,It,i||y)}},history:o,routes:r});bt.routes&&bt.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=ur(a.currentRoute.value);a.afterEach((E,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=f_(s,window.location,e.payload.path),u=ur(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((E,w)=>{var y,_,m,x;((_=(y=E.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const E in u.value)Object.defineProperty(d,E,{get:()=>u.value[E],enumerable:!0});e._route=ln(d),e._middleware=e._middleware||{global:[],named:{}};const c=yo();a.afterEach(async(E,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(kv),y&&await e.callHook("page:loading:end")});try{[t,n]=Mt(()=>a.isReady()),await t,n()}catch(E){[t,n]=Mt(()=>e.runWithContext(()=>rr(E))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(E,w)=>{var y;await e.callHook("page:loading:start"),E.meta=Pn(E.meta),e.isHydrating&&g&&!Jt(E.meta.layout)&&(E.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...u_,...e._middleware.global]);for(const m of E.matched){const x=m.meta.middleware;if(x)for(const S of ba(x))_.add(S)}{const m=await e.runWithContext(()=>xa({path:E.path}));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Fr[m])==null?void 0:y.call(Fr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const S=await e.runWithContext(()=>x(E,w));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const b=S||ki({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>rr(b)),!1}if(S!==!0&&(S||S===!1))return S}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(E,w)=>{E.matched.length===0&&await e.runWithContext(()=>rr(ki({statusCode:404,fatal:!1,statusMessage:`Page not found: ${E.fullPath}`,data:{path:E.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=bt.scrollBehavior}catch(E){await e.runWithContext(()=>rr(E))}}),{provide:{router:a}}}}),Wi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),h_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),wo=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Wi(()=>e())}):Wi(()=>e())},p_=$t({name:"nuxt:payload",setup(e){et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Fl(t.path);s&&Object.assign(e.static.data,s.data)}),wo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Fl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(xo,1e3)})}}),g_=$t(()=>{const e=et();wo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),m_=$t(e=>{let t;async function n(){const s=await xo();t&&clearTimeout(t),t=setTimeout(n,Tl);try{const o=await $fetch(_a("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}wo(()=>{t=setTimeout(n,Tl)})});function v_(e={}){const t=e.path||window.location.pathname;let n={};try{n=Gr(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:ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const y_=$t({name:"nuxt:chunk-reload",setup(e){const t=et(),n=yt(),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:Xn(n.app.baseURL,r.fullPath);v_({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),__=$t({name:"nuxt:global-components"}),Sn={},x_=$t({name:"nuxt:prefetch",setup(e){const t=et();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 Sn[s]=="function"&&await Sn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(At(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ba(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Fr[i]=="function"&&Fr[i]();o&&typeof Sn[o]=="function"&&Sn[o]()})}});/*!
|
|
* shared v9.14.5
|
|
* (c) 2025 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/function E_(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ys=typeof window<"u",An=(e,t=!1)=>t?Symbol.for(e):Symbol(e),w_=(e,t,n)=>S_({l:e,k:t,s:n}),S_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),We=e=>typeof e=="number"&&isFinite(e),b_=e=>Ed(e)==="[object Date]",Xs=e=>Ed(e)==="[object RegExp]",So=e=>pe(e)&&Object.keys(e).length===0,Ve=Object.assign,C_=Object.create,Re=(e=null)=>C_(e);let nc;const Ca=()=>nc||(nc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Re());function rc(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function sc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function T_(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,o,r)=>`${o}="${sc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,o,r)=>`${o}='${sc(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(s=>{e=e.replace(s,"$1javascript:")}),e}const P_=Object.prototype.hasOwnProperty;function Dt(e,t){return P_.call(e,t)}const $e=Array.isArray,Ce=e=>typeof e=="function",Z=e=>typeof e=="string",Ue=e=>typeof e=="boolean",L_=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",R_=e=>de(e)&&Ce(e.then)&&Ce(e.catch),xd=Object.prototype.toString,Ed=e=>xd.call(e),pe=e=>{if(!de(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},A_=e=>e==null?"":$e(e)||pe(e)&&e.toString===xd?JSON.stringify(e,null,2):String(e);function Ta(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function bo(e){let t=e;return()=>++t}const ms=e=>!de(e)||$e(e);function Gn(e,t){if(ms(e)||ms(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=>{r!=="__proto__"&&(de(s[r])&&!de(o[r])&&(o[r]=Array.isArray(s[r])?[]:Re()),ms(o[r])||ms(s[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]}))})}}const gr=["en","it"],qs={en:[{key:"../locales/en-US/general.ts",load:()=>Ne(()=>import("./CxP5A1YZ.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>Ne(()=>import("./QIhGzbuL.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>Ne(()=>import("./rKAcsMoZ.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>Ne(()=>import("./C0l34WYQ.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>Ne(()=>import("./DxPEaAb4.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>Ne(()=>import("./D6YLecGS.js"),[],import.meta.url),cache:!0}]},k_=[],Co=[{code:"en",language:"en-US",name:"English",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/resume.ts"}]},{code:"it",language:"it-IT",name:"Italiano",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/resume.ts"}]}],wd="@nuxtjs/i18n",I_=!1,O_="nuxtI18n",N_="i18n_redirected",oc="nuxt-i18n-slp",M_=typeof window<"u";function D_(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function F_(e){return e!=null&&"global"in e&&"mode"in e}function U_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&He(e.locale)}function Sd(e){return e!=null&&"__composer"in e}function kn(e){return F_(e)?e.global:e}function mr(e){const t=kn(e);return U_(t)?t:Sd(t)?t.__composer:t}function To(e){return re(kn(e).locale)}function H_(e){return re(kn(e).locales)}function B_(e){return re(kn(e).localeCodes)}function bd(e,t){const n=kn(e);He(n.locale)?n.locale.value=t:n.locale=t}function Cd(e){return Z(e)?e:L_(e)?e.toString():"(null)"}function ic(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=Cd(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function ac(e,t){return Ce(e)?e(t):e}function $_(e,t){const n=[];for(const[s,o]of t.entries()){const r=e.find(i=>i.language.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.language.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const V_=$_;function j_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const W_=j_;function G_(e,t,{matcher:n=V_,comparer:s=W_}={}){const o=[];for(const i of e){const{code:a}=i,l=i.language||a;o.push({code:a,language:l})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function Pa(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const Ur=new Map;async function K_(e,t){const n={messages:{}};for(const s of e){const{default:o}=await s(),r=Ce(o)?await t.runWithContext(async()=>await o()):o;Gn(r,n)}return n}function Td(e,t){let n=[];if($e(e))n=e;else if(de(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 Y_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=Td(i,[s,o]);await Promise.all(f.map(u=>lc(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(f=>lc(f,t,e))),e}async function X_(e,{key:t,load:n}){let s=null;try{const o=await n().then(r=>r.default||r);Ce(o)?s=await o(e):(s=o,s!=null&&Ur&&Ur.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Js(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;Ur&&Ur.has(r.key)&&r.cache?i=Ur.get(r.key):i=await X_(e,r),i!=null&&Gn(i,o)}n(e,o)}async function lc(e,t,n){await Js(e,t,(o,r)=>{const i=n[o]||{};Gn(r,i),n[o]=i})}function q_(e,t){return[e.slice(0,t),e.slice(t)]}function J_(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 Q_({router:e},t,n,s){var f,u;if(n!=="prefix")return e.resolve(t);const[o,r]=q_(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=Ve({},t,a);return l.path=i,e.resolve(l)}const z_=new Set(["prefix_and_default","prefix_except_default"]);function Z_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&z_.has(s))&&s!=="no_prefix"}const ex=Z_;function vr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=re(t);return s==null||!s.name?void 0:Cd(s.name).split(n)[0]}function Po(e,t,n){var o;if(typeof t=="string"&&At(t,{acceptRelative:!0}))return t;const s=Lo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function La(e,t,n){return Lo(e,t,n)??void 0}function tx(e,t,n){return Lo(e,t,n)??void 0}function Lo(e,t,n){const{router:s,i18n:o}=e,r=n||To(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,f=vx(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=Ci(t),v=ya(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let h=Ve({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(h)){const c=Q_(e,h,a,r),p=vr(e,c);Z(p)?(h={name:ic(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(f({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?Kr(h.path,!0):ns(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=vr(e,s.currentRoute.value)),h.name=ic(h.name,r,e.runtimeConfig.public.i18n);try{const c=s.resolve(h);return c.name?c:s.resolve(t)}catch(c){if(typeof c=="object"&&"type"in c&&c.type===1)return null}}const nx=e=>e;function rx(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return re(e.metaState.value);const n=t.meta||{};return((s=re(n))==null?void 0:s[O_])||{}}function yr(e,t,n){const s=n??e.router.currentRoute.value,o=vr(e,s);if(!o)return"";const r=yx(e.runtimeConfig),i=J_(s),a=rx(e,s)[t],l={...i,name:o,params:{...i.params,...a}},f=Po(e,l,t);return r(f,t)}function Pd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=yt().public.i18n,r=mr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(re(r.locales)==null||re(r.baseUrl)==null)return i;const a=To(e.i18n),l=H_(e.i18n),f=D_(l).find(d=>d.code===a)||{},u=f.language,h=f.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&re(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...sx(e,re(l),s),...ox(e,s,n)),i.meta.push(...ix(e,s,n),...ax(f,u,s),...lx(re(l),u,s))),i}function Ra(){const e=ge(),t=mr(e.$i18n);return Xn(re(t.baseUrl),e.$config.app.baseURL)}function sx(e,t,n){const s=Ra(),{defaultLocale:o,strategy:r}=yt().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const f=l.language;if(!f){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=yr(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:Gi(u,s),hreflang:l})}if(o){const l=yr(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:Gi(l,s),hreflang:"x-default"})}return i}function Ld(e,t,n){const s=e.router.currentRoute.value,o=La(e,{...s,path:void 0,name:vr(e,s)});if(!o)return"";let r=Gi(o.path,t);const i=de(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];$e(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function ox(e,t,n){const s=Ra(),o=Ld(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function ix(e,t,n){const s=Ra(),o=Ld(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function ax(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:Rd(t)}]}function lx(e,t,n){return e.filter(o=>o.language&&o.language!==t).map(o=>({[n]:`i18n-og-alt-${o.language}`,property:"og:locale:alternate",content:Rd(o.language)}))}function Rd(e){return(e||"").replace(/-/g,"_")}function Gi(e,t){return e.match(/^https?:\/\//)?e:Xn(t,e)}function Ad(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=yt().public.i18n,n=`(${gr.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=Pa(gr);return a=>{if(de(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 cx="$s";function kd(...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=cx+n,r=ge(),i=Ru(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(He(a))return r.payload.state[o]=a,a;i.value=a}return i}function ux(e,t){return ss(e,"setLocale",t)}function fx(e,t){return ss(e,"setLocaleCookie",t)}function Id(e,t,n){return ss(e,"mergeLocaleMessage",t,n)}async function dx(e,t,n,s,o){return ss(e,"onBeforeLanguageSwitch",t,n,s,o)}function hx(e,t,n){return ss(e,"onLanguageSwitched",t,n)}function Aa(e){return{i18n:e??ge().$i18n,router:et(),runtimeConfig:yt(),metaState:kd("nuxt-i18n-meta",()=>({}))}}async function cc(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=os(n),l=ge(),f=To(t),u=B_(t);function h(c=f){a===!1||!a.useCookie||r||fx(t,c)}if(!e||!s&&o||f===e)return h(),!1;const d=await dx(t,f,e,s,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=Lx(t,"fallbackLocale"),p=(g,v)=>Id(t,g,v);if(c){const g=Td(c,[e]);await Promise.all(g.map(v=>Js(v,qs,p)))}await Js(e,qs,p)}return r?!1:(h(e),bd(t,e),await hx(t,f,e),!0)}function Od(e){return{log:console.log.bind(console,`${e}:`)}}function uc(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:f}=s,u=os(o);Od("detectLocale");const h=Ce(n)?n():n,d=Hd(e,s,h);if(d.reason===Ud.SSG_IGNORE)return h;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=Ix(Co,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&f;return c||(c=p||h||i||""),c}function fc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ge(),r=Aa(),{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&&!bi(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if(n(e.to)!==t){const u=yr(r,t,e.to);Z(u)&&u&&!bi(u,f)&&!u.startsWith("//")&&(l=u)}return l}function px(e){return de(e)&&"path"in e&&"statusCode"in e}const gx=()=>kd(wd+":redirect",()=>"");function zn(e,t){return Kf(e,{})}async function dc(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:f,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:d}=s.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:px(a)&&(c="/"+a.path,t=a.statusCode),c=s.$localePath(c,r),zn(c);if(!(u&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(p=>{o.__resolvePendingLocalePromise=p}),!n))){if(f&&d==="prefix_except_default"){const p=Ro(),g=h.find(E=>{var w;return typeof E!="string"?(w=E.defaultForDomains)==null?void 0:w.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return zn(i.path.replace(`/${v}`,""));if(!i.path.startsWith(`/${r}`)&&r!==v){const w=Ad()(i.path);return zn(w!==""?`/${r+i.path.replace(`/${w}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`)}else if(c&&i.path!==c)return zn(c);return}if(l){const p=gx();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return zn(c)}}function mx(e,t){Zn(e,"$i18n",kn(t)),Zn(e,"$getRouteBaseName",gt(vr)),Zn(e,"$localePath",gt(Po)),Zn(e,"$localeRoute",gt(La)),Zn(e,"$switchLocalePath",gt(yr)),Zn(e,"$localeHead",gt(Pd))}function vx(e=yt()){return t=>ex(t)&&!e.public.i18n.differentDomains}function yx(e=yt()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=Bd(n);return s?Xn(s,t):t}else return nx(t)}}function _x(){return()=>{const e=ge(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(Ce(t))return t(e);const o=Ce(n)?n():n;if(s&&o){const r=Bd(o);if(r)return r}return t}}const hc=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 pc(e,t){t?t={...hc,...t}:t=hc;const n=Nd(t);return n.dispatch(e),n.toString()}const xx=Object.freeze(["prototype","__proto__","constructor"]);function Nd(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&&!gc(o)&&(u=xx),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=Nd(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:"),gc(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 Md="[native code] }",Ex=Md.length;function gc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Ex)===Md}function wx(e,t,n={}){return e===t||pc(e,n)===pc(t,n)}function Ot(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]=Ot(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Ot(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Ot(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Ot(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Ot(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(Ot(r),Ot(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(Ot(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const Sx={path:"/",watch:!0,decode:e=>Gr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},vs=window.cookieStore;function bx(e,t){var l;const n={...Sx,...t};n.filter??(n.filter=f=>f===e);const s=mc(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=Ot(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?Px(i,o,n.watch&&n.watch!=="shallow"):Te(i);{let f=null;try{!vs&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||wx(a.value,s[e])||(Tx(e,a.value,n),s[e]=Ot(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=mc(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,s[e]=Ot(g),Ln(()=>{d=!1})};let d=!1;const c=!!oo();if(c&&oi(()=>{d=!0,u(),f==null||f.close()}),vs){const p=g=>{const v=g.changed.find(w=>w.name===e),E=g.deleted.find(w=>w.name===e);v&&h({value:v.value}),E&&h({value:null})};vs.addEventListener("change",p),c&&oi(()=>vs.removeEventListener("change",p))}else f&&(f.onmessage=({data:p})=>h(p));n.watch?vt(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function mc(e={}){return _v(document.cookie,e)}function Cx(e,t,n={}){return t==null?Ll(e,t,{...n,maxAge:-1}):Ll(e,t,n)}function Tx(e,t,n={}){document.cookie=Cx(e,t,n)}const vc=2147483647;function Px(e,t,n){let s,o,r=0;const i=n?Te(e):{value:e};return oo()&&oi(()=>{o==null||o(),clearTimeout(s)}),sp((a,l)=>{n&&(o=vt(i,l));function f(){r=0,clearTimeout(s);const u=t-r,h=u<vc?u:vc;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()}}})}function Dd(e){return wd+" "+e}function ss(e,t,...n){const s=kn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function Lx(e,t){const n=kn(e);return re(n[t])}function Zn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function gt(e,t=Aa()){return(...n)=>e(t,...n)}function Fd(){let e;return navigator.languages&&(e=G_(Co,navigator.languages)),e}function Rx(){const e=os(),t=e&&e.cookieKey||N_,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),bx(t,s)}function ti(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(gr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function Ax(e,t,n){n===!1||!n.useCookie||(e.value=t)}var Ud=(e=>(e.NOT_FOUND="not_found_match",e.FIRST_ACCESS="first_access_only",e.NO_REDIRECT_ROOT="not_redirect_on_root",e.NO_REDIRECT_NO_PREFIX="not_redirect_on_no_prefix",e.SSG_IGNORE="detect_ignore_on_ssg",e))(Ud||{});const kx={locale:""};function Hd(e,t,n=""){Od("detectBrowserLanguage");const s=os();if(!s)return kx;const{strategy:o}=yt().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=t;if(o==="no_prefix"&&r==="ssg_ignore")return{locale:"",reason:"detect_ignore_on_ssg"};if(!a)return{locale:o==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=s,c=Z(e)?e:e.path;if(o!=="no_prefix"){if(f==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(f==="no prefix"&&!u&&c.match(Pa(gr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=Fd();g||(p="navigator_or_header");const E=g||v,w=E||d||"";return!E&&d&&(p="fallback"),{locale:w,from:p}}function Ro(){let e;return e=window.location.host,e}function Ix(e,t,n){let s=Ro()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return At(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===s}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(s);return!1});if(r.length===1)o=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(Dd("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=de(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(Pa(r.map(l=>l.code)));a&&a.length>1&&(o=r.find(l=>l.code===a[1]))}}o||(o=r.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(s):i.domainDefault))}if(o)return o.code;s=""}return s}function Bd(e){var i,a,l,f,u,h;const t=yt();ge();const n=Ro(),s=t.public.i18n,o=Co.find(d=>d.code===e),r=((a=(i=s==null?void 0:s.locales)==null?void 0:i[e])==null?void 0:a.domain)||(o==null?void 0:o.domain)||((u=(f=(l=s==null?void 0:s.locales)==null?void 0:l[e])==null?void 0:f.domains)==null?void 0:u.find(d=>d===n))||((h=o==null?void 0:o.domains)==null?void 0:h.find(d=>d===n));if(r){if(At(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(Dd("Could not find domain name for locale "+e))}const os=(e=yt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
|
|
* message-compiler v9.14.5
|
|
* (c) 2025 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/function Ox(e,t,n){return{line:e,column:t,offset:n}}function Qs(e,t,n){return{start:e,end:t}}const $d={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function Nx(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,__EXTEND_POINT__:17};function Ao(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 Mx(e){throw e}const en=" ",Dx="\r",at=`
|
|
`,Fx="\u2028",Ux="\u2029";function Hx(e){const t=e;let n=0,s=1,o=1,r=0;const i=S=>t[S]===Dx&&t[S+1]===at,a=S=>t[S]===at,l=S=>t[S]===Ux,f=S=>t[S]===Fx,u=S=>i(S)||a(S)||l(S)||f(S),h=()=>n,d=()=>s,c=()=>o,p=()=>r,g=S=>i(S)||l(S)||f(S)?at:t[S],v=()=>g(n),E=()=>g(n+r);function w(){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(S=0){r=S}function x(){const S=n+r;for(;S!==n;)w();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:E,next:w,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const _n=void 0,Bx=".",yc="'",$x="tokenizer";function Vx(e,t={}){const n=t.location!==!1,s=Hx(e),o=()=>s.index(),r=()=>Ox(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(R,A,N,...K){const X=f();if(A.column+=N,A.offset+=N,u){const Y=n?Qs(X.startLoc,A):null,M=Ao(R,Y,{domain:$x,args:K});u(M)}}function d(R,A,N){R.endLoc=r(),R.currentType=A;const K={type:A};return n&&(K.loc=Qs(R.startLoc,R.endLoc)),N!=null&&(K.value=N),K}const c=R=>d(R,14);function p(R,A){return R.currentChar()===A?(R.next(),A):(h(Ee.EXPECTED_TOKEN,r(),0,A),"")}function g(R){let A="";for(;R.currentPeek()===en||R.currentPeek()===at;)A+=R.currentPeek(),R.peek();return A}function v(R){const A=g(R);return R.skipToPeek(),A}function E(R){if(R===_n)return!1;const A=R.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A===95}function w(R){if(R===_n)return!1;const A=R.charCodeAt(0);return A>=48&&A<=57}function y(R,A){const{currentType:N}=A;if(N!==2)return!1;g(R);const K=E(R.currentPeek());return R.resetPeek(),K}function _(R,A){const{currentType:N}=A;if(N!==2)return!1;g(R);const K=R.currentPeek()==="-"?R.peek():R.currentPeek(),X=w(K);return R.resetPeek(),X}function m(R,A){const{currentType:N}=A;if(N!==2)return!1;g(R);const K=R.currentPeek()===yc;return R.resetPeek(),K}function x(R,A){const{currentType:N}=A;if(N!==8)return!1;g(R);const K=R.currentPeek()===".";return R.resetPeek(),K}function S(R,A){const{currentType:N}=A;if(N!==9)return!1;g(R);const K=E(R.currentPeek());return R.resetPeek(),K}function b(R,A){const{currentType:N}=A;if(!(N===8||N===12))return!1;g(R);const K=R.currentPeek()===":";return R.resetPeek(),K}function T(R,A){const{currentType:N}=A;if(N!==10)return!1;const K=()=>{const Y=R.currentPeek();return Y==="{"?E(R.peek()):Y==="@"||Y==="%"||Y==="|"||Y===":"||Y==="."||Y===en||!Y?!1:Y===at?(R.peek(),K()):C(R,!1)},X=K();return R.resetPeek(),X}function L(R){g(R);const A=R.currentPeek()==="|";return R.resetPeek(),A}function P(R){const A=g(R),N=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:N,hasSpace:A.length>0}}function C(R,A=!0){const N=(X=!1,Y="",M=!1)=>{const H=R.currentPeek();return H==="{"?Y==="%"?!1:X:H==="@"||!H?Y==="%"?!0:X:H==="%"?(R.peek(),N(X,"%",!0)):H==="|"?Y==="%"||M?!0:!(Y===en||Y===at):H===en?(R.peek(),N(!0,en,M)):H===at?(R.peek(),N(!0,at,M)):!0},K=N();return A&&R.resetPeek(),K}function O(R,A){const N=R.currentChar();return N===_n?_n:A(N)?(R.next(),N):null}function F(R){const A=R.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A>=48&&A<=57||A===95||A===36}function U(R){return O(R,F)}function $(R){const A=R.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A>=48&&A<=57||A===95||A===36||A===45}function j(R){return O(R,$)}function q(R){const A=R.charCodeAt(0);return A>=48&&A<=57}function oe(R){return O(R,q)}function ne(R){const A=R.charCodeAt(0);return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102}function ce(R){return O(R,ne)}function ee(R){let A="",N="";for(;A=oe(R);)N+=A;return N}function Pe(R){v(R);const A=R.currentChar();return A!=="%"&&h(Ee.EXPECTED_TOKEN,r(),0,A),R.next(),"%"}function _e(R){let A="";for(;;){const N=R.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(C(R))A+=N,R.next();else break;else if(N===en||N===at)if(C(R))A+=N,R.next();else{if(L(R))break;A+=N,R.next()}else A+=N,R.next()}return A}function Fe(R){v(R);let A="",N="";for(;A=j(R);)N+=A;return R.currentChar()===_n&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N}function he(R){v(R);let A="";return R.currentChar()==="-"?(R.next(),A+=`-${ee(R)}`):A+=ee(R),R.currentChar()===_n&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),A}function V(R){return R!==yc&&R!==at}function J(R){v(R),p(R,"'");let A="",N="";for(;A=O(R,V);)A==="\\"?N+=z(R):N+=A;const K=R.currentChar();return K===at||K===_n?(h(Ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===at&&(R.next(),p(R,"'")),N):(p(R,"'"),N)}function z(R){const A=R.currentChar();switch(A){case"\\":case"'":return R.next(),`\\${A}`;case"u":return te(R,A,4);case"U":return te(R,A,6);default:return h(Ee.UNKNOWN_ESCAPE_SEQUENCE,r(),0,A),""}}function te(R,A,N){p(R,A);let K="";for(let X=0;X<N;X++){const Y=ce(R);if(!Y){h(Ee.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${A}${K}${R.currentChar()}`);break}K+=Y}return`\\${A}${K}`}function fe(R){return R!=="{"&&R!=="}"&&R!==en&&R!==at}function xe(R){v(R);let A="",N="";for(;A=O(R,fe);)N+=A;return N}function k(R){let A="",N="";for(;A=U(R);)N+=A;return N}function I(R){const A=N=>{const K=R.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===en?N:(N+=K,R.next(),A(N))};return A("")}function D(R){v(R);const A=p(R,"|");return v(R),A}function W(R,A){let N=null;switch(R.currentChar()){case"{":return A.braceNest>=1&&h(Ee.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),N=d(A,2,"{"),v(R),A.braceNest++,N;case"}":return A.braceNest>0&&A.currentType===2&&h(Ee.EMPTY_PLACEHOLDER,r(),0),R.next(),N=d(A,3,"}"),A.braceNest--,A.braceNest>0&&v(R),A.inLinked&&A.braceNest===0&&(A.inLinked=!1),N;case"@":return A.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N=B(R,A)||c(A),A.braceNest=0,N;default:{let X=!0,Y=!0,M=!0;if(L(R))return A.braceNest>0&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N=d(A,1,D(R)),A.braceNest=0,A.inLinked=!1,N;if(A.braceNest>0&&(A.currentType===5||A.currentType===6||A.currentType===7))return h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),A.braceNest=0,G(R,A);if(X=y(R,A))return N=d(A,5,Fe(R)),v(R),N;if(Y=_(R,A))return N=d(A,6,he(R)),v(R),N;if(M=m(R,A))return N=d(A,7,J(R)),v(R),N;if(!X&&!Y&&!M)return N=d(A,13,xe(R)),h(Ee.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,N.value),v(R),N;break}}return N}function B(R,A){const{currentType:N}=A;let K=null;const X=R.currentChar();switch((N===8||N===9||N===12||N===10)&&(X===at||X===en)&&h(Ee.INVALID_LINKED_FORMAT,r(),0),X){case"@":return R.next(),K=d(A,8,"@"),A.inLinked=!0,K;case".":return v(R),R.next(),d(A,9,".");case":":return v(R),R.next(),d(A,10,":");default:return L(R)?(K=d(A,1,D(R)),A.braceNest=0,A.inLinked=!1,K):x(R,A)||b(R,A)?(v(R),B(R,A)):S(R,A)?(v(R),d(A,12,k(R))):T(R,A)?(v(R),X==="{"?W(R,A)||K:d(A,11,I(R))):(N===8&&h(Ee.INVALID_LINKED_FORMAT,r(),0),A.braceNest=0,A.inLinked=!1,G(R,A))}}function G(R,A){let N={type:14};if(A.braceNest>0)return W(R,A)||c(A);if(A.inLinked)return B(R,A)||c(A);switch(R.currentChar()){case"{":return W(R,A)||c(A);case"}":return h(Ee.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),d(A,3,"}");case"@":return B(R,A)||c(A);default:{if(L(R))return N=d(A,1,D(R)),A.braceNest=0,A.inLinked=!1,N;const{isModulo:X,hasSpace:Y}=P(R);if(X)return Y?d(A,0,_e(R)):d(A,4,Pe(R));if(C(R))return d(A,0,_e(R));break}}return N}function Q(){const{currentType:R,offset:A,startLoc:N,endLoc:K}=l;return l.lastType=R,l.lastOffset=A,l.lastStartLoc=N,l.lastEndLoc=K,l.offset=o(),l.startLoc=r(),s.currentChar()===_n?d(l,14):G(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:f}}const jx="parser",Wx=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Gx(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Kx(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function o(y,_,m,x,...S){const b=y.currentPosition();if(b.offset+=x,b.column+=x,n){const T=t?Qs(m,b):null,L=Ao(_,T,{domain:jx,args:S});n(L)}}function r(y,_,m,x,...S){const b=y.currentPosition();if(b.offset+=x,b.column+=x,s){const T=t?Qs(m,b):null;s(Nx(_,T,S))}}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:S}=m,b=i(5,x,S);return b.index=parseInt(_,10),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function u(y,_,m){const x=y.context(),{lastOffset:S,lastStartLoc:b}=x,T=i(4,S,b);return T.key=_,m===!0&&(T.modulo=!0),y.nextToken(),a(T,y.currentOffset(),y.currentPosition()),T}function h(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:S}=m,b=i(9,x,S);return b.value=_.replace(Wx,Gx),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:S}=m,b=i(8,x,S);return _.type!==12?(o(y,Ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),b.value="",a(b,x,S),{nextConsumeToken:_,node:b}):(_.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,kt(_)),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 p(y){const _=y.context(),m=i(6,_.offset,_.startLoc);let x=y.nextToken();if(x.type===9){const S=d(y);m.modifier=S.node,x=S.nextConsumeToken||y.nextToken()}switch(x.type!==10&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(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,kt(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(x)),m.key=f(y,x.value||"");break;case 7:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(x)),m.key=h(y,x.value||"");break;default:{o(y,Ee.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=y.context(),b=i(7,S.offset,S.startLoc);return b.value="",a(b,S.offset,S.startLoc),m.key=b,a(m,S.offset,S.startLoc),{nextConsumeToken:x,node:m}}}return a(m,y.currentOffset(),y.currentPosition()),{node:m}}function g(y){const _=y.context(),m=_.currentType===1?y.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,S=i(2,m,x);S.items=[];let b=null,T=null;do{const C=b||y.nextToken();switch(b=null,C.type){case 0:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(C)),S.items.push(l(y,C.value||""));break;case 6:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(C)),S.items.push(f(y,C.value||""));break;case 4:T=!0;break;case 5:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(C)),S.items.push(u(y,C.value||"",!!T)),T&&(r(y,$d.USE_MODULO_SYNTAX,_.lastStartLoc,0,kt(C)),T=null);break;case 7:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,kt(C)),S.items.push(h(y,C.value||""));break;case 8:{const O=p(y);S.items.push(O.node),b=O.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const L=_.currentType===1?_.lastOffset:y.currentOffset(),P=_.currentType===1?_.lastEndLoc:y.currentPosition();return a(S,L,P),S}function v(y,_,m,x){const S=y.context();let b=x.items.length===0;const T=i(1,_,m);T.cases=[],T.cases.push(x);do{const L=g(y);b||(b=L.items.length===0),T.cases.push(L)}while(S.currentType!==14);return b&&o(y,Ee.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(T,y.currentOffset(),y.currentPosition()),T}function E(y){const _=y.context(),{offset:m,startLoc:x}=_,S=g(y);return _.currentType===14?S:v(y,m,x,S)}function w(y){const _=Vx(y,Ve({},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:w}}function kt(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 Yx(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function _c(e,t){for(let n=0;n<e.length;n++)ka(e[n],t)}function ka(e,t){switch(e.type){case 1:_c(e.cases,t),t.helper("plural");break;case 2:_c(e.items,t);break;case 6:{ka(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 Xx(e,t={}){const n=Yx(e);n.helper("normalize"),e.body&&ka(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function qx(e){const t=e.body;return t.type===2?xc(t):t.cases.forEach(n=>xc(n)),e}function xc(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=Ta(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 nr(e){switch(e.t=e.type,e.type){case 0:{const t=e;nr(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++)nr(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++)nr(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;nr(t.key),t.k=t.key,delete t.key,t.modifier&&(nr(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 Jx(e,t){const{filename:n,breakLineCode:s,needIndent:o}=t,r=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};r&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(g,v){i.code+=g}function f(g,v=!0){const E=v?s:"";l(o?E+" ".repeat(g):E)}function u(g=!0){const v=++i.indentLevel;g&&f(v)}function h(g=!0){const v=--i.indentLevel;g&&f(v)}function d(){f(i.indentLevel)}return{context:a,push:l,indent:u,deindent:h,newline:d,helper:g=>`_${g}`,needIndent:()=>i.needIndent}}function Qx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),_r(e,t.key),t.modifier?(e.push(", "),_r(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function zx(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&&(_r(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function Zx(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&&(_r(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function eE(e,t){t.body?_r(e,t.body):e.push("null")}function _r(e,t){const{helper:n}=e;switch(t.type){case 0:eE(e,t);break;case 1:Zx(e,t);break;case 2:zx(e,t);break;case 6:Qx(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 tE=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
`,r=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=Jx(e,{filename:s,breakLineCode:o,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),i.length>0&&(a.push(`const { ${Ta(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),_r(a,e),a.deindent(r),a.push("}"),delete e.helpers;const{code:l,map:f}=a.context();return{ast:e,code:l,map:f?f.toJSON():void 0}};function nE(e,t={}){const n=Ve({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=Kx(n).parse(e);return s?(r&&qx(a),o&&nr(a),{ast:a,code:""}):(Xx(a,n),tE(a,n))}/*!
|
|
* core-base v9.14.5
|
|
* (c) 2025 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/function rE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ca().__INTLIFY_PROD_DEVTOOLS__=!1)}function qt(e){return de(e)&&Ia(e)===0&&(Dt(e,"b")||Dt(e,"body"))}const Vd=["b","body"];function sE(e){return In(e,Vd)}const jd=["c","cases"];function oE(e){return In(e,jd,[])}const Wd=["s","static"];function iE(e){return In(e,Wd)}const Gd=["i","items"];function aE(e){return In(e,Gd,[])}const Kd=["t","type"];function Ia(e){return In(e,Kd)}const Yd=["v","value"];function ys(e,t){const n=In(e,Yd);if(n!=null)return n;throw Xr(t)}const Xd=["m","modifier"];function lE(e){return In(e,Xd)}const qd=["k","key"];function cE(e){const t=In(e,qd);if(t)return t;throw Xr(6)}function In(e,t,n){for(let s=0;s<t.length;s++){const o=t[s];if(Dt(e,o)&&e[o]!=null)return e[o]}return n}const Jd=[...Vd,...jd,...Wd,...Gd,...qd,...Xd,...Yd,...Kd];function Xr(e){return new Error(`unhandled node type: ${e}`)}const On=[];On[0]={w:[0],i:[3,0],"[":[4],o:[7]};On[1]={w:[1],".":[2],"[":[4],o:[7]};On[2]={w:[2],i:[3,0],0:[3,0]};On[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};On[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};On[5]={"'":[4,0],o:8,l:[5,0]};On[6]={'"':[4,0],o:8,l:[6,0]};const uE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fE(e){return uE.test(e)}function dE(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 hE(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 pE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:fE(t)?dE(t):"*"+t}function gE(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=pE(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=hE(r),h=On[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 Ec=new Map;function mE(e,t){return de(e)?e[t]:null}function vE(e,t){if(!de(e))return null;let n=Ec.get(t);if(n||(n=gE(t),n&&Ec.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=n[r];if(Jd.includes(i)&&qt(o))return null;const a=o[i];if(a===void 0||Ce(o))return null;o=a,r++}return o}const yE=e=>e,_E=e=>"",xE="text",EE=e=>e.length===0?"":Ta(e),wE=A_;function wc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function SE(e){const t=We(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(We(e.named.count)||We(e.named.n))?We(e.named.count)?e.named.count:We(e.named.n)?e.named.n:t:t}function bE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function CE(e={}){const t=e.locale,n=SE(e),s=de(e.pluralRules)&&Z(t)&&Ce(e.pluralRules[t])?e.pluralRules[t]:wc,o=de(e.pluralRules)&&Z(t)&&Ce(e.pluralRules[t])?wc:void 0,r=E=>E[s(n,E.length,o)],i=e.list||[],a=E=>i[E],l=e.named||Re();We(e.pluralIndex)&&bE(n,l);const f=E=>l[E];function u(E){const w=Ce(e.messages)?e.messages(E):de(e.messages)?e.messages[E]:!1;return w||(e.parent?e.parent.message(E):_E)}const h=E=>e.modifiers?e.modifiers[E]:yE,d=pe(e.processor)&&Ce(e.processor.normalize)?e.processor.normalize:EE,c=pe(e.processor)&&Ce(e.processor.interpolate)?e.processor.interpolate:wE,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:xE,v={list:a,named:f,plural:r,linked:(E,...w)=>{const[y,_]=w;let m="text",x="";w.length===1?de(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):w.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const S=u(E)(v),b=m==="vnode"&&$e(S)&&x?S[0]:S;return x?h(x)(b,m):b},message:u,type:p,interpolate:c,normalize:d,values:Ve(Re(),i,l)};return v}let qr=null;function TE(e){qr=e}function PE(e,t,n){qr&&qr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const LE=RE("function:translate");function RE(e){return t=>qr&&qr.emit(e,t)}const AE=$d.__EXTEND_POINT__,Un=bo(AE),kE={FALLBACK_TO_TRANSLATE:Un(),CANNOT_FORMAT_NUMBER:Un(),FALLBACK_TO_NUMBER_FORMAT:Un(),CANNOT_FORMAT_DATE:Un(),FALLBACK_TO_DATE_FORMAT:Un(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Un(),__EXTEND_POINT__:Un()},Qd=Ee.__EXTEND_POINT__,Hn=bo(Qd),Yt={INVALID_ARGUMENT:Qd,INVALID_DATE_ARGUMENT:Hn(),INVALID_ISO_DATE_ARGUMENT:Hn(),NOT_SUPPORT_NON_STRING_MESSAGE:Hn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Hn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Hn(),NOT_SUPPORT_LOCALE_TYPE:Hn(),__EXTEND_POINT__:Hn()};function cn(e){return Ao(e,null,void 0)}function Oa(e,t){return t.locale!=null?Sc(t.locale):Sc(e.locale)}let ni;function Sc(e){if(Z(e))return e;if(Ce(e)){if(e.resolvedOnce&&ni!=null)return ni;if(e.constructor.name==="Function"){const t=e();if(R_(t))throw cn(Yt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ni=t}else throw cn(Yt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw cn(Yt.NOT_SUPPORT_LOCALE_TYPE)}function IE(e,t,n){return[...new Set([n,...$e(t)?t:de(t)?Object.keys(t):Z(t)?[t]:[n]])]}function zd(e,t,n){const s=Z(n)?n:zs,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;$e(i);)i=bc(r,i,t);const a=$e(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,$e(i)&&bc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function bc(e,t,n){let s=!0;for(let o=0;o<t.length&&Ue(s);o++){const r=t[o];Z(r)&&(s=OE(e,t[o],n))}return s}function OE(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=NE(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function NE(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),($e(n)||pe(n))&&n[o]&&(s=n[o])}return s}const ME="9.14.5",ko=-1,zs="en-US",Cc="",Tc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function DE(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&de(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?Tc(e):t==="vnode"&&de(e)&&"__v_isVNode"in e?Tc(e.children):e}}let Zd;function FE(e){Zd=e}let eh;function UE(e){eh=e}let th;function HE(e){th=e}let nh=null;const BE=e=>{nh=e},$E=()=>nh;let rh=null;const Pc=e=>{rh=e},VE=()=>rh;let Lc=0;function jE(e={}){const t=Ce(e.onWarn)?e.onWarn:E_,n=Z(e.version)?e.version:ME,s=Z(e.locale)||Ce(e.locale)?e.locale:zs,o=Ce(s)?zs:s,r=$e(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:ri(o),a=pe(e.datetimeFormats)?e.datetimeFormats:ri(o),l=pe(e.numberFormats)?e.numberFormats:ri(o),f=Ve(Re(),e.modifiers,DE()),u=e.pluralRules||Re(),h=Ce(e.missing)?e.missing:null,d=Ue(e.missingWarn)||Xs(e.missingWarn)?e.missingWarn:!0,c=Ue(e.fallbackWarn)||Xs(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=Ce(e.postTranslation)?e.postTranslation:null,E=pe(e.processor)?e.processor:null,w=Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=Ce(e.messageCompiler)?e.messageCompiler:Zd,m=Ce(e.messageResolver)?e.messageResolver:eh||mE,x=Ce(e.localeFallbacker)?e.localeFallbacker:th||IE,S=de(e.fallbackContext)?e.fallbackContext:void 0,b=e,T=de(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,L=de(b.__numberFormatters)?b.__numberFormatters:new Map,P=de(b.__meta)?b.__meta:{};Lc++;const C={version:n,cid:Lc,locale:s,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:E,warnHtmlMessage:w,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:S,onWarn:t,__meta:P};return C.datetimeFormats=a,C.numberFormats=l,C.__datetimeFormatters=T,C.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&PE(C,n,P),C}const ri=e=>({[e]:Re()});function Na(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 Tr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function WE(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function GE(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(WE(e,t[s]))return!0;return!1}function si(e){return n=>KE(n,e)}function KE(e,t){const n=sE(t);if(n==null)throw Xr(0);if(Ia(n)===1){const r=oE(n);return e.plural(r.reduce((i,a)=>[...i,Rc(e,a)],[]))}else return Rc(e,n)}function Rc(e,t){const n=iE(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=aE(t).reduce((o,r)=>[...o,Ki(e,r)],[]);return e.normalize(s)}}function Ki(e,t){const n=Ia(t);switch(n){case 3:return ys(t,n);case 9:return ys(t,n);case 4:{const s=t;if(Dt(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(Dt(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw Xr(n)}case 5:{const s=t;if(Dt(s,"i")&&We(s.i))return e.interpolate(e.list(s.i));if(Dt(s,"index")&&We(s.index))return e.interpolate(e.list(s.index));throw Xr(n)}case 6:{const s=t,o=lE(s),r=cE(s);return e.linked(Ki(e,r),o?Ki(e,o):void 0,e.type)}case 7:return ys(t,n);case 8:return ys(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const YE=e=>e;let _s=Re();function XE(e,t={}){let n=!1;const s=t.onError||Mx;return t.onError=o=>{n=!0,s(o)},{...nE(e,t),detectError:n}}function qE(e,t){if(Z(e)){Ue(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||YE)(e),o=_s[s];if(o)return o;const{ast:r,detectError:i}=XE(e,{...t,location:!1,jit:!0}),a=si(r);return i?a:_s[s]=a}else{const n=e.cacheKey;if(n){const s=_s[n];return s||(_s[n]=si(e))}else return si(e)}}const Ac=()=>"",Tt=e=>Ce(e);function kc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=Yi(...t),u=Ue(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ue(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Ue(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Z(f.default)||Ue(f.default)?Ue(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=Oa(e,f);d&&JE(f);let[E,w,y]=c?[l,v,a[v]||Re()]:sh(e,l,v,i,h,u),_=E,m=l;if(!c&&!(Z(_)||qt(_)||Tt(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||qt(_)||Tt(_))||!Z(w)))return o?ko:l;let x=!1;const S=()=>{x=!0},b=Tt(_)?_:oh(e,l,w,_,m,S);if(x)return _;const T=ZE(e,w,y,f),L=CE(T),P=QE(e,b,L);let C=s?s(P,l):P;if(d&&Z(C)&&(C=T_(C)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:Tt(_)?_.key:"",locale:w||(Tt(_)?_.locale:""),format:Z(_)?_:Tt(_)?_.source:"",message:C};O.meta=Ve({},e.__meta,$E()||{}),LE(O)}return C}function JE(e){$e(e.list)?e.list=e.list.map(t=>Z(t)?rc(t):t):de(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=rc(e.named[t]))})}function sh(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,s,n);let h=Re(),d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||Re(),(c=l(h,t))===null&&(c=h[t]),!(Z(c)||qt(c)||Tt(c)));g++)if(!GE(d,u)){const v=Na(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function oh(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Tt(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,zE(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function QE(e,t,n){return t(n)}function Yi(...e){const[t,n,s]=e,o=Re();if(!Z(t)&&!We(t)&&!Tt(t)&&!qt(t))throw cn(Yt.INVALID_ARGUMENT);const r=We(t)?String(t):(Tt(t),t);return We(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!So(n)?o.named=n:$e(n)&&(o.list=n),We(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&Ve(o,s),[r,o]}function zE(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>w_(t,n,i)}}function ZE(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 p=i(n,c);if(p==null&&u){const[,,g]=sh(u,c,t,a,l,f);p=i(g,c)}if(Z(p)||qt(p)){let g=!1;const E=oh(e,c,t,p,c,()=>{g=!0});return g?Ac:E}else return Tt(p)?p:Ac}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),We(s.plural)&&(d.pluralIndex=s.plural),d}function Ic(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=Xi(...t),d=Ue(u.missingWarn)?u.missingWarn:e.missingWarn;Ue(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Oa(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(f);let v={},E,w=null;const y="datetime format";for(let x=0;x<g.length&&(E=g[x],v=n[E]||{},w=v[l],!pe(w));x++)Na(e,l,E,d,y);if(!pe(w)||!Z(E))return s?ko:l;let _=`${E}__${l}`;So(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(E,Ve({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const ih=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Xi(...e){const[t,n,s,o]=e,r=Re();let i=Re(),a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw cn(Yt.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 cn(Yt.INVALID_ISO_DATE_ARGUMENT)}}else if(b_(t)){if(isNaN(t.getTime()))throw cn(Yt.INVALID_DATE_ARGUMENT);a=t}else if(We(t))a=t;else throw cn(Yt.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{ih.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 Nc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=qi(...t),d=Ue(u.missingWarn)?u.missingWarn:e.missingWarn;Ue(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Oa(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(f);let v={},E,w=null;const y="number format";for(let x=0;x<g.length&&(E=g[x],v=n[E]||{},w=v[l],!pe(w));x++)Na(e,l,E,d,y);if(!pe(w)||!Z(E))return s?ko:l;let _=`${E}__${l}`;So(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(E,Ve({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const ah=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function qi(...e){const[t,n,s,o]=e,r=Re();let i=Re();if(!We(t))throw cn(Yt.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{ah.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 Mc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}rE();/*!
|
|
* vue-i18n v9.14.5
|
|
* (c) 2025 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const e1="9.14.5";function t1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ca().__INTLIFY_PROD_DEVTOOLS__=!1)}const n1=kE.__EXTEND_POINT__,tn=bo(n1);tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn();const lh=Yt.__EXTEND_POINT__,ht=bo(lh),Lt={UNEXPECTED_RETURN_TYPE:lh,INVALID_ARGUMENT:ht(),MUST_BE_CALL_SETUP_TOP:ht(),NOT_INSTALLED:ht(),NOT_AVAILABLE_IN_LEGACY_MODE:ht(),REQUIRED_VALUE:ht(),INVALID_VALUE:ht(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ht(),NOT_INSTALLED_WITH_PROVIDE:ht(),UNEXPECTED_ERROR:ht(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ht(),BRIDGE_SUPPORT_VUE_2_ONLY:ht(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ht(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ht(),__EXTEND_POINT__:ht()};function Bt(e,...t){return Ao(e,null,void 0)}const Ji=An("__translateVNode"),Qi=An("__datetimeParts"),zi=An("__numberParts"),r1=An("__setPluralRules"),s1=An("__injectWithOption"),Zi=An("__dispose");function Jr(e){if(!de(e)||qt(e))return e;for(const t in e)if(Dt(e,t))if(!t.includes("."))de(e[t])&&Jr(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]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Re()),!de(o[n[i]])){r=!0;break}o=o[n[i]]}if(r||(qt(o)?Jd.includes(n[s])||delete e[t]:(o[n[s]]=e[t],delete e[t])),!qt(o)){const i=o[n[s]];de(i)&&Jr(i)}}return e}function ch(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:$e(s)?Re():{[e]:Re()};if($e(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||Re(),Gn(f,i[l])):Gn(f,i)}else Z(a)&&Gn(JSON.parse(a),i)}),o==null&&r)for(const a in i)Dt(i,a)&&Jr(i[a]);return i}function uh(e){return e.type}function o1(e,t,n){let s=de(t.messages)?t.messages:Re();"__i18nGlobal"in n&&(s=ch(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(de(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(de(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Dc(e){return De(Tn,null,e,0)}const Fc="__INTLIFY_META__",Uc=()=>[],i1=()=>!1;let Hc=0;function Bc(e){return((t,n,s,o)=>e(n,s,mn()||void 0,o))}const a1=()=>{const e=mn();let t=null;return e&&(t=uh(e)[Fc])?{[Fc]:t}:null};function fh(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Ys?Te:ur,a=!!e.translateExistCompatible;let l=Ue(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:zs),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||$e(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(ch(f.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[f.value]:{}});let p=n?n.missingWarn:Ue(e.missingWarn)||Xs(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Ue(e.fallbackWarn)||Xs(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Ue(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,w=Ce(e.missing)?e.missing:null,y=Ce(e.missing)?Bc(e.missing):null,_=Ce(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Ue(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const S=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,T;T=(()=>{o&&Pc(null);const M={version:e1,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:S,pluralRules:b,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,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(T)?T.__datetimeFormatters:void 0,M.__numberFormatters=pe(T)?T.__numberFormatters:void 0;const H=jE(M);return o&&Pc(H),H})(),Tr(T,f.value,u.value);function P(){return[f.value,u.value,h.value,d.value,c.value]}const C=me({get:()=>f.value,set:M=>{f.value=M,T.locale=f.value}}),O=me({get:()=>u.value,set:M=>{u.value=M,T.fallbackLocale=u.value,Tr(T,f.value,M)}}),F=me(()=>h.value),U=me(()=>d.value),$=me(()=>c.value);function j(){return Ce(_)?_:null}function q(M){_=M,T.postTranslation=M}function oe(){return w}function ne(M){M!==null&&(y=Bc(M)),w=M,T.missing=y}const ce=(M,H,se,le,Le,Oe)=>{P();let qe;try{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=n?VE():void 0),qe=M(T)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(se!=="translate exists"&&We(qe)&&qe===ko||se==="translate exists"&&!qe){const[ot,qn]=H();return n&&v?le(n):Le(ot)}else{if(Oe(qe))return qe;throw Bt(Lt.UNEXPECTED_RETURN_TYPE)}};function ee(...M){return ce(H=>Reflect.apply(kc,null,[H,...M]),()=>Yi(...M),"translate",H=>Reflect.apply(H.t,H,[...M]),H=>H,H=>Z(H))}function Pe(...M){const[H,se,le]=M;if(le&&!de(le))throw Bt(Lt.INVALID_ARGUMENT);return ee(H,se,Ve({resolvedMessage:!0},le||{}))}function _e(...M){return ce(H=>Reflect.apply(Ic,null,[H,...M]),()=>Xi(...M),"datetime format",H=>Reflect.apply(H.d,H,[...M]),()=>Cc,H=>Z(H))}function Fe(...M){return ce(H=>Reflect.apply(Nc,null,[H,...M]),()=>qi(...M),"number format",H=>Reflect.apply(H.n,H,[...M]),()=>Cc,H=>Z(H))}function he(M){return M.map(H=>Z(H)||We(H)||Ue(H)?Dc(String(H)):H)}const J={normalize:he,interpolate:M=>M,type:"vnode"};function z(...M){return ce(H=>{let se;const le=H;try{le.processor=J,se=Reflect.apply(kc,null,[le,...M])}finally{le.processor=null}return se},()=>Yi(...M),"translate",H=>H[Ji](...M),H=>[Dc(H)],H=>$e(H))}function te(...M){return ce(H=>Reflect.apply(Nc,null,[H,...M]),()=>qi(...M),"number format",H=>H[zi](...M),Uc,H=>Z(H)||$e(H))}function fe(...M){return ce(H=>Reflect.apply(Ic,null,[H,...M]),()=>Xi(...M),"datetime format",H=>H[Qi](...M),Uc,H=>Z(H)||$e(H))}function xe(M){b=M,T.pluralRules=b}function k(M,H){return ce(()=>{if(!M)return!1;const se=Z(H)?H:f.value,le=W(se),Le=T.messageResolver(le,M);return a?Le!=null:qt(Le)||Tt(Le)||Z(Le)},()=>[M],"translate exists",se=>Reflect.apply(se.te,se,[M,H]),i1,se=>Ue(se))}function I(M){let H=null;const se=zd(T,u.value,f.value);for(let le=0;le<se.length;le++){const Le=h.value[se[le]]||{},Oe=T.messageResolver(Le,M);if(Oe!=null){H=Oe;break}}return H}function D(M){const H=I(M);return H??(n?n.tm(M)||{}:{})}function W(M){return h.value[M]||{}}function B(M,H){if(r){const se={[M]:H};for(const le in se)Dt(se,le)&&Jr(se[le]);H=se[M]}h.value[M]=H,T.messages=h.value}function G(M,H){h.value[M]=h.value[M]||{};const se={[M]:H};if(r)for(const le in se)Dt(se,le)&&Jr(se[le]);H=se[M],Gn(H,h.value[M]),T.messages=h.value}function Q(M){return d.value[M]||{}}function R(M,H){d.value[M]=H,T.datetimeFormats=d.value,Oc(T,M,H)}function A(M,H){d.value[M]=Ve(d.value[M]||{},H),T.datetimeFormats=d.value,Oc(T,M,H)}function N(M){return c.value[M]||{}}function K(M,H){c.value[M]=H,T.numberFormats=c.value,Mc(T,M,H)}function X(M,H){c.value[M]=Ve(c.value[M]||{},H),T.numberFormats=c.value,Mc(T,M,H)}Hc++,n&&Ys&&(vt(n.locale,M=>{l&&(f.value=M,T.locale=M,Tr(T,f.value,u.value))}),vt(n.fallbackLocale,M=>{l&&(u.value=M,T.fallbackLocale=M,Tr(T,f.value,u.value))}));const Y={id:Hc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(M){l=M,M&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,Tr(T,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:F,get modifiers(){return S},get pluralRules(){return b||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(M){p=M,T.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(M){g=M,T.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(M){v=M},get fallbackFormat(){return E},set fallbackFormat(M){E=M,T.fallbackFormat=E},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,T.warnHtmlMessage=M},get escapeParameter(){return x},set escapeParameter(M){x=M,T.escapeParameter=M},t:ee,getLocaleMessage:W,setLocaleMessage:B,mergeLocaleMessage:G,getPostTranslationHandler:j,setPostTranslationHandler:q,getMissingHandler:oe,setMissingHandler:ne,[r1]:xe};return Y.datetimeFormats=U,Y.numberFormats=$,Y.rt=Pe,Y.te=k,Y.tm=D,Y.d=_e,Y.n=Fe,Y.getDateTimeFormat=Q,Y.setDateTimeFormat=R,Y.mergeDateTimeFormat=A,Y.getNumberFormat=N,Y.setNumberFormat=K,Y.mergeNumberFormat=X,Y[s1]=s,Y[Ji]=z,Y[Qi]=fe,Y[zi]=te,Y}const Ma={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function l1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Je?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},Re())}function dh(e){return Je}const c1=tt({name:"i18n-t",props:Ve({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>We(e)||!isNaN(e)}},Ma),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||Io({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i=Re();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=l1(t,r),l=o[Ji](e.keypath,a,i),f=Ve(Re(),s),u=Z(e.tag)||de(e.tag)?e.tag:dh();return Qe(u,f,l)}}}),$c=c1;function u1(e){return $e(e)&&!Z(e[0])}function hh(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a=Re();e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:de(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Ve(Re(),d,{[c]:e.format[c]}):d,Re()));const l=s(e.value,i,a);let f=[i.key];$e(l)?f=l.map((d,c)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return u1(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(f=[l]);const u=Ve(Re(),r),h=Z(e.tag)||de(e.tag)?e.tag:dh();return Qe(h,u,f)}}const f1=tt({name:"i18n-n",props:Ve({value:{type:Number,required:!0},format:{type:[String,Object]}},Ma),setup(e,t){const n=e.i18n||Io({useScope:e.scope,__useComponent:!0});return hh(e,t,ah,(...s)=>n[zi](...s))}}),Vc=f1,d1=tt({name:"i18n-d",props:Ve({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ma),setup(e,t){const n=e.i18n||Io({useScope:e.scope,__useComponent:!0});return hh(e,t,ih,(...s)=>n[Qi](...s))}}),jc=d1;function h1(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 p1(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Bt(Lt.UNEXPECTED_ERROR);const u=h1(e,a.$),h=Wc(f);return[Reflect.apply(u.t,u,[...Gc(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);Ys&&e.global===f&&(i.__i18nWatcher=vt(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{Ys&&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=Wc(a);i.textContent=Reflect.apply(l.t,l,[...Gc(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Wc(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Bt(Lt.REQUIRED_VALUE,"path");return e}else throw Bt(Lt.INVALID_VALUE)}function Gc(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),We(o)&&(i.plural=o),We(r)&&(i.plural=r),[t,a,i]}function g1(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ue(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":$c.name,"I18nT"].forEach(i=>e.component(i,$c)),[Vc.name,"I18nN"].forEach(i=>e.component(i,Vc)),[jc.name,"I18nD"].forEach(i=>e.component(i,jc))),e.directive("t",p1(t))}const m1=An("global-vue-i18n");function v1(e={},t){const n=Ue(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=y1(e),a=An("");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 p=null;n&&(p=T1(d,h.global)),g1(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function Io(e={}){const t=mn();if(t==null)throw Bt(Lt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Bt(Lt.NOT_INSTALLED);const n=_1(t),s=E1(n),o=uh(t),r=x1(e,o);if(r==="global")return o1(s,e,o),s;if(r==="parent"){let l=w1(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Ve({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=fh(l),i.__composerExtend&&(a[Zi]=i.__composerExtend(a)),b1(i,t,a),i.__setInstance(t,a)}return a}function y1(e,t,n){const s=sa();{const o=s.run(()=>fh(e));if(o==null)throw Bt(Lt.UNEXPECTED_ERROR);return[s,o]}}function _1(e){{const t=st(e.isCE?m1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Bt(e.isCE?Lt.NOT_INSTALLED_WITH_PROVIDE:Lt.UNEXPECTED_ERROR);return t}}function x1(e,t){return So(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function E1(e){return e.mode==="composition"?e.global:e.global.__composer}function w1(e,t,n=!1){let s=null;const o=t.root;let r=S1(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 S1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function b1(e,t,n){Rt(()=>{},t),ha(()=>{const s=n;e.__deleteInstance(t);const o=s[Zi];o&&(o(),delete s[Zi])},t)}const C1=["locale","fallbackLocale","availableLocales"],Kc=["t","rt","d","n","tm","te"];function T1(e,t){const n=Object.create(null);return C1.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Bt(Lt.UNEXPECTED_ERROR);const i=He(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,Kc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Bt(Lt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Kc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}t1();FE(qE);UE(vE);HE(zd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ca();e.__INTLIFY__=!0,TE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function P1(){return gt(Po)}function L1(){return gt(yr)}const R1=$t({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=L1(),n=new RegExp([`<!--${oc}-\\[(\\w+)\\]-->`,".+?",`<!--/${oc}-->`].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 A1(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=sa(),a=e.install;return e.install=(l,...f)=>{const u=O1(f[0])?Ve({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=mr(e);g.locales=me(()=>v.locales.value),g.localeCodes=me(()=>v.localeCodes.value),g.baseUrl=me(()=>v.baseUrl.value);let E;return Ce(h)&&(E=Reflect.apply(h,u,[g])),()=>{E&&E()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Yc(v,o.onExtendVueI18n);let E;return Ce(g)&&(E=Reflect.apply(g,u,[v])),()=>{E&&E()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=mr(e);i.run(()=>{k1(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&Sd(e.global)&&Yc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&I1(p,d,o.onExtendExportedGlobal),u.inject){const g=Aa(e);l.mixin({methods:{getRouteBaseName:gt(vr,g),resolveRoute:gt(Lo,g),localePath:gt(Po,g),localeRoute:gt(La,g),localeLocation:gt(tx,g),switchLocalePath:gt(yr,g),localeHead:gt(Pd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function k1(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=Te(n),a=Te(s),l=Te("");e.locales=me(()=>i.value),e.localeCodes=me(()=>a.value),e.baseUrl=me(()=>l.value),M_?vt(e.locale,()=>{l.value=ac(o,r)},{immediate:!0}):l.value=ac(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function ph(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 I1(e,t,n){ph(t,e,n)}function Yc(e,t){const n=mr(e);ph(n,e,t)}function O1(e){return de(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const N1=$t({name:"i18n:plugin",parallel:I_,async setup(e){let t,n;const s=vo(),{vueApp:o}=e,r=e,i=Ro(),{configLocales:a,defaultLocale:l,multiDomainLocales:f,strategy:u}=r.$config.public.i18n,h=a.some(P=>typeof P!="string"&&Array.isArray(P.defaultForDomains));let d;if(l)d=l;else if(h){const P=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));d=(P==null?void 0:P.code)??""}else d="";if(f&&(u==="prefix_except_default"||u==="prefix_and_default")){const P=et();P.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)P.removeRoute(C.name);else{const U=C.name.toString().replace("___default","");C.name=U}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=_x();const p=os(),g=([t,n]=Mt(()=>K_(k_,ge())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=Ad(),E=P=>P||g.locale||"en-US",w=Rx();let y=uc(s,v,E(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:ti(w,p,c.defaultLocale)},c);g.messages=([t,n]=Mt(()=>Y_(g.messages,qs,{localeCodes:gr,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=E(y);const _=v1({...g,locale:y});let m=!0;const x=P=>y!==P&&m;let S=!0;const b=()=>S;if(b()&&c.strategy==="no_prefix"){const P=w.value;e.hook("app:mounted",()=>{const C=Hd(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:P},y);ux(_,C.locale),S=!1})}A1(_,{locales:c.configLocales,localeCodes:gr,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(P){P.strategy=c.strategy,P.localeProperties=me(()=>Co.find(C=>C.code===P.locale.value)||{code:P.locale.value}),P.setLocale=async C=>{const O=x(C);await cc(C,_,c,O)&&O&&(m=!1);const U=await r.runWithContext(()=>fc({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await dc({nuxtApp:r,i18n:_,redirectPath:U,locale:C,route:s},{enableNavigate:!0}))},P.loadLocaleMessages=async C=>{await Js(C,qs,(F,U)=>Id(_,F,U))},P.differentDomains=c.differentDomains,P.defaultLocale=c.defaultLocale,P.getBrowserLocale=()=>Fd(),P.getLocaleCookie=()=>ti(w,p,c.defaultLocale),P.setLocaleCookie=C=>Ax(w,C,p),P.onBeforeLanguageSwitch=(C,O,F,U)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:F,context:U}),P.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),P.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(bd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},P.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,U)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,F,U])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}},onExtendVueI18n(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(P.loadLocaleMessages,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,U)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,F,U])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}}}});const T={__composerExtend:P=>{const C=mr(_);return P.strategy=C.strategy,P.localeProperties=me(()=>C.localeProperties.value),P.setLocale=C.setLocale,P.differentDomains=C.differentDomains,P.getBrowserLocale=C.getBrowserLocale,P.getLocaleCookie=C.getLocaleCookie,P.setLocaleCookie=C.setLocaleCookie,P.onBeforeLanguageSwitch=C.onBeforeLanguageSwitch,P.onLanguageSwitched=C.onLanguageSwitched,P.finalizePendingLocaleChange=C.finalizePendingLocaleChange,P.waitForPendingLocaleChange=C.waitForPendingLocaleChange,()=>{}}};o.use(_,T),mx(r,_);let L=0;Rv("locale-changing",async(P,C)=>{let O,F;const U=uc(P,v,()=>To(_)||E(c.defaultLocale),{ssg:b()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:ti(w,p,c.defaultLocale)},c),$=x(U);([O,F]=Mt(()=>cc(U,_,c,$)),O=await O,F(),O)&&$&&(m=!1);const q=([O,F]=Mt(()=>r.runWithContext(()=>fc({route:{to:P,from:C},targetLocale:U,routeLocaleGetter:c.strategy==="no_prefix"?()=>U:v,calledWithRouting:!0}))),O=await O,F(),O);return L++,[O,F]=Mt(()=>r.runWithContext(async()=>dc({nuxtApp:r,i18n:_,redirectPath:q,locale:U,route:P}))),O=await O,F(),O},{global:!0})}}),M1=[Vy,Wy,d_,p_,g_,m_,y_,__,x_,R1,N1],D1=tt({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],enumerable:!0});return Cn(rs,ln(s)),()=>Qe(e.vnode,{ref:e.vnodeRef})}}),F1=tt({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=ge(),r=Te(),i=st(rs,null);let a;s({pageRef:r});const l=st(Gf,null);let f;const u=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",u);et().beforeEach(d)}e.pageKey&&vt(()=>e.pageKey,(d,c)=>{d!==c&&o.callHook("page:loading:start")});let h=!1;return()=>Qe(yd,{name:e.name,route:e.route,...t},{default:d=>{const c=H1(i,d.route,d.Component),p=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(f&&!p)return f;u();return}if(f&&l&&!l.isCurrent(d.route))return f;if(c&&i&&(!l||l!=null&&l.isCurrent(i)))return p?f:null;const g=ji(d,e.pageKey);!o.isHydrating&&!B1(i,d.route,d.Component)&&a===g&&(o.callHook("page:loading:end"),h=!0),a=g;const v=!!(e.transition??d.route.meta.pageTransition??Li),E=v&&U1([e.transition,d.route.meta.pageTransition,Li,{onAfterLeave:()=>{o.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),w=e.keepalive??d.route.meta.keepalive??av;return f=_d(v&&E,t_(w,Qe(ma,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{Ln(()=>o.callHook("page:finish",d.Component).then(()=>{if(!h)return o.callHook("page:loading:end");h=!1}).finally(u))}},{default:()=>{const y=Qe(D1,{key:g||void 0,vnode:n.default?Qe(Je,void 0,n.default(d)):d.Component,route:d.route,renderKey:g||void 0,trackRootNodes:v,vnodeRef:r});return w&&(y.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),y}}))).default(),f}})}});function U1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?ba(n.onAfterLeave):void 0}));return jf(...t)}function H1(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&&ji({route:t,Component:n})!==ji({route:e,Component:n})}function B1(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 $1=tt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Qe(Sn[e.name],e.layoutProps,t.slots)}}),V1=tt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ge(),s=st(rs),o=s===vo()?J0():s,r=me(()=>{let l=re(e.name)??o.meta.layout??"default";return l&&!(l in Sn)&&e.fallback&&(l=re(e.fallback)),l}),i=Te();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);et().beforeEach(l)}return()=>{const l=r.value&&r.value in Sn,f=o.meta.layoutTransition??iv;return _d(l&&f,{default:()=>Qe(ma,{suspensible:!0,onResolve:()=>{Ln(a)}},{default:()=>Qe(j1,{layoutProps:Ef(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),j1=tt({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&&Cn(Gf,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in Sn)?(o=(s=t.slots).default)==null?void 0:o.call(s):Qe($1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),W1=Symbol.for("nuxt:client-only"),Oo=tt({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Te(!1);return Rt(()=>{s.value=!0}),Cn(W1,!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 dt(a,n,i)}}});var Xc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cs={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.
|
|
*/var G1=Cs.exports,qc;function K1(){return qc||(qc=1,(function(e,t){(function(s,o){e.exports=o()})(G1,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 p=i[d].apply(u,h);typeof p<"u"&&(u=p)}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 Xc<"u"&&(i=Xc.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,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,p,g=0;g<d.length;g++)p=(g+1)%d.length,c=Math.abs(i.cross(d[p],d[g])),u+=c*(i.dot(d[p],d[p])+i.dot(d[p],d[g])+i.dot(d[g],d[g])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=l.length,v,E,w,y;for(y=0;y<g;y++)v=l[y],E=v.x-c,w=v.y-p,v.x=c+(E*h-w*d),v.y=p+(E*d+w*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],p,g=0;g<d;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,h),l[p].x=h.x+c.x*f,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],E=l[(p+1)%l.length],w=f[p<f.length?p:f.length-1];if(w===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:E.y-v.y,y:v.x-E.x}),m=Math.sqrt(2*Math.pow(w,2)),x=i.mult(a.clone(y),w),S=i.normalise(i.mult(i.add(y,_),.5)),b=i.sub(v,i.mult(S,m)),T=u;u===-1&&(T=Math.pow(w,.32)*1.75),T=a.clamp(T,h,d),T%2===1&&(T+=1);for(var L=Math.acos(i.dot(y,_)),P=L/T,C=0;C<T;C++)c.push(i.add(i.rotate(x,P*C),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,p;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,p=(l[d].x-l[h].x)*(l[c].y-l[d].y),p-=(l[d].y-l[h].y)*(l[c].x-l[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()}),(function(n,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 p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",E=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||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,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];v.isStatic=p,p?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,p){var g=c.inertia/(c.mass/6);c.inertia=g*(p/6),c.inverseInertia=1/c.inertia,c.mass=p,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,p){r.setMass(c,p*c.area),c.density=p},r.setInertia=function(c,p){c.inertia=p,c.inverseInertia=1/c.inertia},r.setVertices=function(c,p){p[0].body===c?c.vertices=p:c.vertices=i.create(p,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var E=p[v];E!==c&&(E.parent=c,c.parts.push(E))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var w=[];for(v=0;v<p.length;v++)w=w.concat(p[v].vertices);i.clockwiseSort(w);var y=i.hull(w),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,p,g){g?(c.positionPrev.x+=p.x,c.positionPrev.y+=p.y,c.position.x+=p.x,c.position.y+=p.y):(c.positionPrev.x=p.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=p.y-(c.position.y-c.positionPrev.y),c.position.x=p.x,c.position.y=p.y)},r.setPosition=function(c,p,g){var v=a.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var E=0;E<c.parts.length;E++){var w=c.parts[E];w.position.x+=v.x,w.position.y+=v.y,i.translate(w.vertices,v),u.update(w.bounds,w.vertices,c.velocity)}},r.setAngle=function(c,p,g){var v=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var E=0;E<c.parts.length;E++){var w=c.parts[E];w.angle+=v,i.rotate(w.vertices,v,c.position),h.rotate(w.axes,v),u.update(w.bounds,w.vertices,c.velocity),E>0&&a.rotateAbout(w.position,v,c.position,w.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var E=Math.cos(p),w=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*E-_*w),y:g.y+(y*w+_*E)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var E=0,w=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,p,g,v),_.axes=h.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(E+=_.area,w+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=E,c.isStatic||(r.setMass(c,c.density*E),r.setInertia(c,w))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,E=1-c.frictionAir*(p/f._baseDelta),w=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=w*E+c.force.x/c.mass*g,c.velocity.y=y*E+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*E*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g<c.parts.length;g++){var v=c.parts[g],E=v.mass!==1/0?v.mass:1;p.mass+=E,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,E))}return p.centre=a.div(p.centre,p.mass),p}})()}),(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 p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,p=a.events;if(p&&i.keys(p).length>0){f||(f={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],d=p[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()}),(function(n,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 p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,d,c)}},r.add=function(u,h){var d=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<d.length;c++){var p=d[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,d){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,d);break;case"constraint":r.removeConstraint(u,g,d);break;case"composite":r.removeComposite(u,g,d);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,d){if(d)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),d=0;d<u.composites.length;d++)h=h.concat(r.allBodies(u.composites[d]));return u.cache&&(u.cache.allBodies=h),h},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),d=0;d<u.composites.length;d++)h=h.concat(r.allConstraints(u.composites[d]));return u.cache&&(u.cache.allConstraints=h),h},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),d=0;d<u.composites.length;d++)h=h.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,d){var c,p;switch(d){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)f.translate(c[p],h);return u},r.rotate=function(u,h,d,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,E=0;E<v.length;E++){var w=v[E],y=w.position.x-d.x,_=w.position.y-d.y;f.setPosition(w,{x:d.x+(y*p-_*g),y:d.y+(y*g+_*p)}),f.rotate(w,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var E=g[v],w=E.position.x-c.x,y=E.position.y-c.y;f.setPosition(E,{x:c.x+w*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 p=h[c];d.push(p.bounds.min,p.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 p=f[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),E=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var w=Math.min(p.motion,E),y=Math.max(p.motion,E);p.motion=r._minBias*w+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;h<f.length;h++){var d=f[h];if(d.isActive){var c=d.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,E=v===p?g:p;!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 p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.id<d.id?h:d,g.bodyB=h.id<d.id?d:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,d=g.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var E=g.normal,w=g.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(E.x=_,E.y=m):(E.x=-_,E.y=-m),g.tangent.x=-E.y,g.tangent.y=E.x,g.depth=v.overlap,g.penetration.x=E.x*g.depth,g.penetration.y=E.y*g.depth;var x=r._findSupports(h,d,E,1),S=0;if(i.contains(h.vertices,x[0])&&(w[S++]=x[0]),i.contains(h.vertices,x[1])&&(w[S++]=x[1]),S<2){var b=r._findSupports(d,h,E,-1);i.contains(d.vertices,b[0])&&(w[S++]=b[0]),S<2&&i.contains(d.vertices,b[1])&&(w[S++]=b[1])}return S===0&&(w[S++]=x[0]),w.length=S,g},r._overlapAxes=function(h,d,c,p){var g=d.length,v=c.length,E=d[0].x,w=d[0].y,y=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,S=0,b,T,L,P,C,O;for(C=0;C<m;C++){var F=p[C],U=F.x,$=F.y,j=E*U+w*$,q=y*U+_*$,oe=j,ne=q;for(O=1;O<g;O+=1)P=d[O].x*U+d[O].y*$,P>oe?oe=P:P<j&&(j=P);for(O=1;O<v;O+=1)P=c[O].x*U+c[O].y*$,P>ne?ne=P:P<q&&(q=P);if(T=oe-q,L=ne-j,b=T<L?T:L,b<x&&(x=b,S=C,b<=0))break}h.axis=p[S],h.overlap=x},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,v=1;v<d.length;v+=1){var E=d[v].x*c.x+d[v].y*c.y;E>g?g=E:E<p&&(p=E)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,v=g.length,E=h.position.x,w=h.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,S,b,T,L;for(L=0;L<v;L+=1)S=g[L],T=y*(E-S.x)+_*(w-S.y),T<m&&(m=T,x=S);return b=g[(v+x.index-1)%v],m=y*(E-b.x)+_*(w-b.y),S=g[(x.index+1)%v],y*(E-S.x)+_*(w-S.y)<m?(l[0]=x,l[1]=S,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,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=f,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v<h.length;v++){var E=h[v],w=E.body===c?E.index:g+E.index,y=u[w];y?d.push(y):d.push(u[w]=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 p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var 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 p=d[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(d,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],E=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(E||w)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],E=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!E&&!w&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,v=d.pointA,E=d.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-d.angleA,v),d.angleA=p.angle),g&&!g.isStatic&&(a.rotate(E,g.angle-d.angleB,E),d.angleB=g.angle);var w=v,y=E;if(p&&(w=a.add(p.position,v)),g&&(y=a.add(g.position,E)),!(!w||!y)){var _=a.sub(w,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,S=d.stiffness>=1||d.length===0,b=S?d.stiffness*c:d.stiffness*c*c,T=d.damping*c,L=a.mult(_,x*b),P=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=P+C,F,U,$,j,q;if(T>0){var oe=a.create();$=a.div(_,m),q=a.sub(g&&a.sub(g.position,g.positionPrev)||oe,p&&a.sub(p.position,p.positionPrev)||oe),j=a.dot($,q)}p&&!p.isStatic&&(U=p.inverseMass/P,p.constraintImpulse.x-=L.x*U,p.constraintImpulse.y-=L.y*U,p.position.x-=L.x*U,p.position.y-=L.y*U,T>0&&(p.positionPrev.x-=T*$.x*j*U,p.positionPrev.y-=T*$.y*j*U),F=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=F,p.angle-=F),g&&!g.isStatic&&(U=g.inverseMass/P,g.constraintImpulse.x+=L.x*U,g.constraintImpulse.y+=L.y*U,g.position.x+=L.x*U,g.position.y+=L.y*U,T>0&&(g.positionPrev.x+=T*$.x*j*U,g.positionPrev.y+=T*$.y*j*U),F=a.cross(E,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=F,g.angle+=F)}}},r.postSolveAll=function(d){for(var c=0;c<d.length;c++){var p=d[c],g=p.constraintImpulse;if(!(p.isStatic||g.x===0&&g.y===0&&g.angle===0)){l.set(p,!1);for(var v=0;v<p.parts.length;v++){var E=p.parts[v];i.translate(E.vertices,g),v>0&&(E.position.x+=g.x,E.position.y+=g.y),g.angle!==0&&(i.rotate(E.vertices,g.angle,p.position),u.rotate(E.axes,g.angle),v>0&&a.rotateAbout(E.position,g.angle,p.position,E.position)),f.update(E.bounds,E.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()}),(function(n,s,o){var r={};n.exports=r;var i=o(2),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],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()}),(function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),f=o(1),u=o(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var E=g.chamfer;v.vertices=i.chamfer(v.vertices,E.radius,E.quality,E.qualityMin,E.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,d,c,p,g,v){v=v||{},g*=.5;var E=(1-g*2)*c,w=c*g,y=w+E,_=y+w,m;g<.5?m="L 0 0 L "+w+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(v.chamfer){var S=v.chamfer;x.vertices=i.chamfer(x.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(h,d,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var E=Math.ceil(Math.max(10,Math.min(g,c)));return E%2===1&&(E+=1),r.polygon(h,d,E,c,a.extend({},v,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var v=2*Math.PI/c,E="",w=v*.5,y=0;y<c;y+=1){var _=w+y*v,m=Math.cos(_)*p,x=Math.sin(_)*p;E+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var S={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(E)};if(g.chamfer){var b=g.chamfer;S.vertices=i.chamfer(S.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete g.chamfer}return l.create(a.extend({},S,g))},r.fromVertices=function(h,d,c,p,g,v,E,w){var y=a.getDecomp(),_,m,x,S,b,T,L,P,C,O,F;for(_=!!(y&&y.quickDecomp),p=p||{},x=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,E=typeof E<"u"?E:10,w=typeof w<"u"?w:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(T=c[O],S=i.isConvex(T),b=!S,b&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),S||!_)S?T=i.clockwiseSort(T):T=i.hull(T),x.push({position:{x:h,y:d},vertices:T});else{var U=T.map(function(he){return[he.x,he.y]});y.makeCCW(U),v!==!1&&y.removeCollinearPoints(U,v),w!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints(U,w);var $=y.quickDecomp(U);for(L=0;L<$.length;L++){var j=$[L],q=j.map(function(he){return{x:he[0],y:he[1]}});E>0&&i.area(q)<E||x.push({position:i.centre(q),vertices:q})}}for(L=0;L<x.length;L++)x[L]=l.create(a.extend(x[L],p));if(g){var oe=5;for(L=0;L<x.length;L++){var ne=x[L];for(P=L+1;P<x.length;P++){var ce=x[P];if(f.overlaps(ne.bounds,ce.bounds)){var ee=ne.vertices,Pe=ce.vertices;for(C=0;C<ne.vertices.length;C++)for(F=0;F<ce.vertices.length;F++){var _e=u.magnitudeSquared(u.sub(ee[(C+1)%ee.length],Pe[F])),Fe=u.magnitudeSquared(u.sub(ee[C],Pe[(F+1)%Pe.length]));_e<oe&&Fe<oe&&(ee[C].isInternal=!0,Pe[F].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},p)),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,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var E=h[g],w=E.bounds,y=E.bounds.max.x,_=E.bounds.max.y,m=E.bounds.min.y,x=E.isStatic||E.isSleeping,S=E.parts.length,b=S===1;for(v=g+1;v<d;v++){var T=h[v],L=T.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(T.isStatic||T.isSleeping))&&c(E.collisionFilter,T.collisionFilter)){var P=T.parts.length;if(b&&P===1){var C=p(E,T,u);C&&f.push(C)}else for(var O=S>1?1:0,F=P>1?1:0,U=O;U<S;U++)for(var $=E.parts[U],w=$.bounds,j=F;j<P;j++){var q=T.parts[j],L=q.bounds;if(!(w.min.x>L.max.x||w.max.x<L.min.x||w.max.y<L.min.y||w.min.y>L.max.y)){var C=p($,q,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()}),(function(n,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,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()}),(function(n,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),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()}),(function(n,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),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},E=c.extend(v,g);return E.world=g.world||h.create({label:"World"}),E.pairs=g.pairs||f.create(),E.detector=g.detector||l.create(),E.grid={buckets:[]},E.world.gravity=E.gravity,E.broadphase=E.grid,E.metrics={},E},r.update=function(g,v){var E=c.now(),w=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,S;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(g,"beforeUpdate",b);var T=h.allBodies(w),L=h.allConstraints(w);for(w.isModified&&(l.setBodies(y,T),h.setModified(w,!1,!1,!0)),g.enableSleeping&&i.update(T,v),r._bodiesApplyGravity(T,g.gravity),v>0&&r._bodiesUpdate(T,v),d.preSolveAll(T),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);d.postSolveAll(T),y.pairs=g.pairs;var P=l.collisions(y);f.update(_,P,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),S=0;S<g.positionIterations;S++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(T),d.preSolveAll(T),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);for(d.postSolveAll(T),a.preSolveVelocity(_.list),S=0;S<g.velocityIterations;S++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(T),_.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(T),u.trigger(g,"afterUpdate",b),g.timing.lastElapsed=c.now()-E,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var E=h.allBodies(g.world),w=0;w<E.length;w++){var y=E[w];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,E=0;E<v;E++){var w=g[E];w.force.x=0,w.force.y=0,w.torque=0}},r._bodiesApplyGravity=function(g,v){var E=typeof v.scale<"u"?v.scale:.001,w=g.length;if(!(v.x===0&&v.y===0||E===0))for(var y=0;y<w;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*E,_.force.x+=_.mass*v.x*E)}},r._bodiesUpdate=function(g,v){for(var E=g.length,w=0;w<E;w++){var y=g[w];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,E=0;E<v;E++)p.updateVelocities(g[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,p,g,v,E,w,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)&&(p=c.collision,g=p.parentA,v=p.parentB,E=p.normal,c.separation=E.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+E.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,E=p.normal,y=c.separation-c.slop*m,(g.isStatic||v.isStatic)&&(y*=2),g.isStatic||g.isSleeping||(w=_/g.totalContacts,g.positionImpulse.x+=E.x*y*w,g.positionImpulse.y+=E.y*y*w),v.isStatic||v.isSleeping||(w=_/v.totalContacts,v.positionImpulse.x-=E.x*y*w,v.positionImpulse.y-=E.y*y*w))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,p=0;p<h;p++){var g=f[p],v=g.positionImpulse,E=v.x,w=v.y,y=g.velocity;if(g.totalContacts=0,E!==0||w!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=E,m.position.y+=w}g.positionPrev.x+=E,g.positionPrev.y+=w,E*y.x+w*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,E=v.parentA,w=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<g;d++){var m=p[d],x=m.vertex,S=m.normalImpulse,b=m.tangentImpulse;if(S!==0||b!==0){var T=y.x*S+_.x*b,L=y.y*S+_.y*b;E.isStatic||E.isSleeping||(E.positionPrev.x+=T*E.inverseMass,E.positionPrev.y+=L*E.inverseMass,E.anglePrev+=E.inverseInertia*((x.x-E.position.x)*L-(x.y-E.position.y)*T)),w.isStatic||w.isSleeping||(w.positionPrev.x-=T*w.inverseMass,w.positionPrev.y-=L*w.inverseMass,w.anglePrev-=w.inverseInertia*((x.x-w.position.x)*L-(x.y-w.position.y)*T))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,E=r._frictionMaxStatic,w=f.length,y,_,m,x;for(m=0;m<w;m++){var S=f[m];if(!(!S.isActive||S.isSensor)){var b=S.collision,T=b.parentA,L=b.parentB,P=T.velocity,C=L.velocity,O=b.normal.x,F=b.normal.y,U=b.tangent.x,$=b.tangent.y,j=S.activeContacts,q=j.length,oe=1/q,ne=T.inverseMass+L.inverseMass,ce=S.friction*S.frictionStatic*v;for(P.x=T.position.x-T.positionPrev.x,P.y=T.position.y-T.positionPrev.y,C.x=L.position.x-L.positionPrev.x,C.y=L.position.y-L.positionPrev.y,T.angularVelocity=T.angle-T.anglePrev,L.angularVelocity=L.angle-L.anglePrev,x=0;x<q;x++){var ee=j[x],Pe=ee.vertex,_e=Pe.x-T.position.x,Fe=Pe.y-T.position.y,he=Pe.x-L.position.x,V=Pe.y-L.position.y,J=P.x-Fe*T.angularVelocity,z=P.y+_e*T.angularVelocity,te=C.x-V*L.angularVelocity,fe=C.y+he*L.angularVelocity,xe=J-te,k=z-fe,I=O*xe+F*k,D=U*xe+$*k,W=S.separation+I,B=Math.min(W,1);B=W<0?0:B;var G=B*ce;D<-G||D>G?(_=D>0?D:-D,y=S.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=E);var Q=_e*F-Fe*O,R=he*F-V*O,A=oe/(ne+T.inverseInertia*Q*Q+L.inverseInertia*R*R),N=(1+S.restitution)*I*A;if(y*=A,I<p)ee.normalImpulse=0;else{var K=ee.normalImpulse;ee.normalImpulse+=N,ee.normalImpulse>0&&(ee.normalImpulse=0),N=ee.normalImpulse-K}if(D<-g||D>g)ee.tangentImpulse=0;else{var X=ee.tangentImpulse;ee.tangentImpulse+=y,ee.tangentImpulse<-_&&(ee.tangentImpulse=-_),ee.tangentImpulse>_&&(ee.tangentImpulse=_),y=ee.tangentImpulse-X}var Y=O*N+U*y,M=F*N+$*y;T.isStatic||T.isSleeping||(T.positionPrev.x+=Y*T.inverseMass,T.positionPrev.y+=M*T.inverseMass,T.anglePrev+=(_e*M-Fe*Y)*T.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=Y*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(he*M-V*Y)*L.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,p=f.length,g=l.collisionStart,v=l.collisionEnd,E=l.collisionActive,w,y,_,m;for(g.length=0,v.length=0,E.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)w=f[m],_=w.pair,_?(_.isActive?E.push(_):g.push(_),i.update(_,w,u),_.confirmedActive=!0):(_=i.create(w,u),c[_.id]=_,g.push(_),h.push(_));var x=[];for(d=h.length,m=0;m<d;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),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,p,g,v,E,w){for(var y=i.create({label:"Stack"}),_=d,m=c,x,S=0,b=0;b<g;b++){for(var T=0,L=0;L<p;L++){var P=w(_,m,L,b,x,S);if(P){var C=P.bounds.max.y-P.bounds.min.y,O=P.bounds.max.x-P.bounds.min.x;C>T&&(T=C),f.translate(P,{x:O*.5,y:C*.5}),_=P.bounds.max.x+v,i.addBody(y,P),x=P,S+=1}else _+=v}m+=T+E,_=d}return y},r.chain=function(d,c,p,g,v,E){for(var w=d.bodies,y=1;y<w.length;y++){var _=w[y-1],m=w[y],x=_.bounds.max.y-_.bounds.min.y,S=_.bounds.max.x-_.bounds.min.x,b=m.bounds.max.y-m.bounds.min.y,T=m.bounds.max.x-m.bounds.min.x,L={bodyA:_,pointA:{x:S*c,y:x*p},bodyB:m,pointB:{x:T*g,y:b*v}},P=l.extend(L,E);i.addConstraint(d,a.create(P))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var E=d.bodies,w,y,_,m,x;for(w=0;w<p;w++){for(y=1;y<c;y++)_=E[y-1+w*c],m=E[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(w>0)for(y=0;y<c;y++)_=E[y+(w-1)*c],m=E[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=E[y-1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=E[y+1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,v,E,w){return r.stack(d,c,p,g,v,E,function(y,_,m,x,S,b){var T=Math.min(g,Math.ceil(p/2)),L=S?S.bounds.max.x-S.bounds.min.x:0;if(!(x>T)){x=T-x;var P=x,C=p-1-x;if(!(m<P||m>C)){b===1&&f.translate(S,{x:(m+(p%2===1?1:-1))*L,y:0});var O=S?m*L:0;return w(d+O+m*v,_,m,x,S,b)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var E=i.create({label:"Newtons Cradle"}),w=0;w<p;w++){var y=1.9,_=u.circle(d+w*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+w*(g*y),y:c},bodyB:_});i.addBody(E,_),i.addConstraint(E,m)}return E},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var E=f.nextGroup(!0),w=20,y=-p*.5+w,_=p*.5-w,m=0,x=i.create({label:"Car"}),S=u.rectangle(d,c,p,g,{collisionFilter:{group:E},chamfer:{radius:g*.5},density:2e-4}),b=u.circle(d+y,c+m,v,{collisionFilter:{group:E},friction:.8}),T=u.circle(d+_,c+m,v,{collisionFilter:{group:E},friction:.8}),L=a.create({bodyB:S,pointB:{x:y,y:m},bodyA:b,stiffness:1,length:0}),P=a.create({bodyB:S,pointB:{x:_,y:m},bodyA:T,stiffness:1,length:0});return i.addBody(x,S),i.addBody(x,b),i.addBody(x,T),i.addConstraint(x,L),i.addConstraint(x,P),x},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,v,E,w,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,p,g,v,E,function(S,b){return u.circle(S,b,y,_)});return r.mesh(x,p,g,w,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,p,g,v=h.world,E=f.buckets,w,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var S=r._regionUnion(x,m.region);for(p=S.startCol;p<=S.endCol;p++)for(g=S.startRow;g<=S.endRow;g++){y=r._getBucketId(p,g),w=E[y];var b=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,T=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!b&&T&&T&&w&&r._bucketRemoveBody(f,w,m),(m.region===x||b&&!T||d)&&(w||(w=r._createBucket(E,y)),r._bucketAddBody(f,w,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),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var E=c(h,v),w=d[E];w?w[2]+=1:d[E]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,p=[],g;for(g=0;g<c;g++)u=h[d[g]],u[2]>0?p.push(u):delete h[d[g]];return p}})()}),(function(n,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),p=o(1);(function(){r.create=function(g,v){var E=(g?g.mouse:null)||(v?v.mouse:null);E||(g&&g.render&&g.render.canvas?E=l.create(g.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 w=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:w,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var E=g.mouse,w=g.constraint,y=g.body;if(E.button===0){if(w.bodyB)a.set(w.bodyB,!1),w.pointA=E.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,E.position)&&u.canCollide(y.collisionFilter,g.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)){w.pointA=E.position,w.bodyB=g.body=y,w.pointB={x:E.position.x-y.position.x,y:E.position.y-y.position.y},w.angleB=y.angle,a.set(y,!1),f.trigger(g,"startdrag",{mouse:E,body:y});break}}}else w.bodyB=g.body=null,w.pointB=null,y&&f.trigger(g,"enddrag",{mouse:E,body:y})},r._triggerEvents=function(g){var v=g.mouse,E=v.sourceEvents;E.mousemove&&f.trigger(g,"mousemove",{mouse:v}),E.mousedown&&f.trigger(g,"mousedown",{mouse:v}),E.mouseup&&f.trigger(g,"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=[],p=d.length,g=h.bounds,v=a.collides,E=l.overlaps,w=0;w<p;w++){var y=d[w],_=y.parts.length,m=_===1?0:1;if(E(y.bounds,g))for(var x=m;x<_;x++){var S=y.parts[x];if(E(S.bounds,g)){var b=v(S,h);if(b){c.push(b);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),v=i.magnitude(i.sub(d,c)),E=(c.x+d.x)*.5,w=(c.y+d.y)*.5,y=f.rectangle(E,w,v,p,{angle:g}),_=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 p=[],g=0;g<h.length;g++){var v=h[g],E=l.overlaps(v.bounds,d);(E&&!c||!E&&c)&&p.push(v)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,d))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var E=g.parts[v];if(l.contains(E.bounds,d)&&u.contains(E.vertices,d)){c.push(g);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,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var 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}},S=a.extend(x,m);return S.canvas&&(S.canvas.width=S.options.width||S.canvas.width,S.canvas.height=S.options.height||S.canvas.height),S.mouse=m.mouse,S.engine=m.engine,S.canvas=S.canvas||E(S.options.width,S.options.height),S.context=S.canvas.getContext("2d"),S.textures={},S.bounds=S.bounds||{min:{x:0,y:0},max:{x:S.canvas.width,y:S.canvas.height}},S.controller=r,S.options.showBroadphase=!1,S.options.pixelRatio!==1&&r.setPixelRatio(S,S.options.pixelRatio),a.isElement(S.element)&&S.element.appendChild(S.canvas),S},r.run=function(m){(function x(S){m.frameRequestId=c(x),g(m,S),r.world(m,S),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,S),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,S)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,x){var S=m.options,b=m.canvas;x==="auto"&&(x=w(b)),S.pixelRatio=x,b.setAttribute("data-pixel-ratio",x),b.width=S.width*x,b.height=S.height*x,b.style.width=S.width+"px",b.style.height=S.height+"px"},r.lookAt=function(m,x,S,b){b=typeof b<"u"?b:!0,x=a.isArray(x)?x:[x],S=S||{x:0,y:0};for(var T={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<x.length;L+=1){var P=x[L],C=P.bounds?P.bounds.min:P.min||P.position||P,O=P.bounds?P.bounds.max:P.max||P.position||P;C&&O&&(C.x<T.min.x&&(T.min.x=C.x),O.x>T.max.x&&(T.max.x=O.x),C.y<T.min.y&&(T.min.y=C.y),O.y>T.max.y&&(T.max.y=O.y))}var F=T.max.x-T.min.x+2*S.x,U=T.max.y-T.min.y+2*S.y,$=m.canvas.height,j=m.canvas.width,q=j/$,oe=F/U,ne=1,ce=1;oe>q?ce=oe/q:ne=q/oe,m.options.hasBounds=!0,m.bounds.min.x=T.min.x,m.bounds.max.x=T.min.x+F*ne,m.bounds.min.y=T.min.y,m.bounds.max.y=T.min.y+U*ce,b&&(m.bounds.min.x+=F*.5-F*ne*.5,m.bounds.max.x+=F*.5-F*ne*.5,m.bounds.min.y+=U*.5-U*ce*.5,m.bounds.max.y+=U*.5-U*ce*.5),m.bounds.min.x-=S.x,m.bounds.max.x-=S.x,m.bounds.min.y-=S.y,m.bounds.max.y-=S.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,S=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,T=S/m.options.height;m.context.setTransform(m.options.pixelRatio/b,0,0,m.options.pixelRatio/T,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,x){var S=a.now(),b=m.engine,T=b.world,L=m.canvas,P=m.context,C=m.options,O=m.timing,F=l.allBodies(T),U=l.allConstraints(T),$=C.wireframes?C.wireframeBackground:C.background,j=[],q=[],oe,ne={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",ne),m.currentBackground!==$&&_(m,$),P.globalCompositeOperation="source-in",P.fillStyle="transparent",P.fillRect(0,0,L.width,L.height),P.globalCompositeOperation="source-over",C.hasBounds){for(oe=0;oe<F.length;oe++){var ce=F[oe];f.overlaps(ce.bounds,m.bounds)&&j.push(ce)}for(oe=0;oe<U.length;oe++){var ee=U[oe],Pe=ee.bodyA,_e=ee.bodyB,Fe=ee.pointA,he=ee.pointB;Pe&&(Fe=h.add(Pe.position,ee.pointA)),_e&&(he=h.add(_e.position,ee.pointB)),!(!Fe||!he)&&(f.contains(m.bounds,Fe)||f.contains(m.bounds,he))&&q.push(ee)}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 q=U,j=F,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!C.wireframes||b.enableSleeping&&C.showSleeping?r.bodies(m,j,P):(C.showConvexHulls&&r.bodyConvexHulls(m,j,P),r.bodyWireframes(m,j,P)),C.showBounds&&r.bodyBounds(m,j,P),(C.showAxes||C.showAngleIndicator)&&r.bodyAxes(m,j,P),C.showPositions&&r.bodyPositions(m,j,P),C.showVelocity&&r.bodyVelocity(m,j,P),C.showIds&&r.bodyIds(m,j,P),C.showSeparations&&r.separations(m,b.pairs.list,P),C.showCollisions&&r.collisions(m,b.pairs.list,P),C.showVertexNumbers&&r.vertexNumbers(m,j,P),C.showMousePosition&&r.mousePosition(m,m.mouse,P),r.constraints(q,P),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",ne),O.lastElapsed=a.now()-S},r.stats=function(m,x,S){for(var b=m.engine,T=b.world,L=l.allBodies(T),P=0,C=55,O=44,F=0,U=0,$=0;$<L.length;$+=1)P+=L[$].parts.length;var j={Part:P,Body:L.length,Cons:l.allConstraints(T).length,Comp:l.allComposites(T).length,Pair:b.pairs.list.length};x.fillStyle="#0e0f19",x.fillRect(F,U,C*5.5,O),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var q in j){var oe=j[q];x.fillStyle="#aaa",x.fillText(q,F+C,U+8),x.fillStyle="#eee",x.fillText(oe,F+C,U+26),F+=C}},r.performance=function(m,x){var S=m.engine,b=m.timing,T=b.deltaHistory,L=b.elapsedHistory,P=b.timestampElapsedHistory,C=b.engineDeltaHistory,O=b.engineElapsedHistory,F=S.timing.lastDelta,U=v(T),$=v(L),j=v(C),q=v(O),oe=v(P),ne=oe/U||0,ce=1e3/U||0,ee=4,Pe=12,_e=60,Fe=34,he=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Pe*4+_e*5+22,Fe),r.status(x,he,V,_e,ee,T.length,Math.round(ce)+" fps",ce/r._goodFps,function(J){return T[J]/U-1}),r.status(x,he+Pe+_e,V,_e,ee,C.length,F.toFixed(2)+" dt",r._goodDelta/F,function(J){return C[J]/j-1}),r.status(x,he+(Pe+_e)*2,V,_e,ee,O.length,q.toFixed(2)+" ut",1-q/r._goodFps,function(J){return O[J]/q-1}),r.status(x,he+(Pe+_e)*3,V,_e,ee,L.length,$.toFixed(2)+" rt",1-$/r._goodFps,function(J){return L[J]/$-1}),r.status(x,he+(Pe+_e)*4,V,_e,ee,P.length,ne.toFixed(2)+" x",ne*ne*ne,function(J){return(P[J]/T[J]/ne||0)-1})},r.status=function(m,x,S,b,T,L,P,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,S+7,b,1),m.beginPath(),m.moveTo(x,S+7-T*a.clamp(.4*O(0),-2,2));for(var F=0;F<b;F+=1)m.lineTo(x+F,S+7-(F<L?T*a.clamp(.4*O(F),-2,2):0));m.stroke(),m.fillStyle="hsl("+a.clamp(25+95*C,0,120)+",100%,60%)",m.fillRect(x,S-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(P,x+b,S-5)},r.constraints=function(m,x){for(var S=x,b=0;b<m.length;b++){var T=m[b];if(!(!T.render.visible||!T.pointA||!T.pointB)){var L=T.bodyA,P=T.bodyB,C,O;if(L?C=h.add(L.position,T.pointA):C=T.pointA,T.render.type==="pin")S.beginPath(),S.arc(C.x,C.y,3,0,2*Math.PI),S.closePath();else{if(P?O=h.add(P.position,T.pointB):O=T.pointB,S.beginPath(),S.moveTo(C.x,C.y),T.render.type==="spring")for(var F=h.sub(O,C),U=h.perp(h.normalise(F)),$=Math.ceil(a.clamp(T.length/5,12,20)),j,q=1;q<$;q+=1)j=q%2===0?1:-1,S.lineTo(C.x+F.x*(q/$)+U.x*j*4,C.y+F.y*(q/$)+U.y*j*4);S.lineTo(O.x,O.y)}T.render.lineWidth&&(S.lineWidth=T.render.lineWidth,S.strokeStyle=T.render.strokeStyle,S.stroke()),T.render.anchors&&(S.fillStyle=T.render.strokeStyle,S.beginPath(),S.arc(C.x,C.y,3,0,2*Math.PI),S.arc(O.x,O.y,3,0,2*Math.PI),S.closePath(),S.fill())}}},r.bodies=function(m,x,S){var b=S;m.engine;var T=m.options,L=T.showInternalEdges||!T.wireframes,P,C,O,F;for(O=0;O<x.length;O++)if(P=x[O],!!P.render.visible){for(F=P.parts.length>1?1:0;F<P.parts.length;F++)if(C=P.parts[F],!!C.render.visible){if(T.showSleeping&&P.isSleeping?b.globalAlpha=.5*C.render.opacity:C.render.opacity!==1&&(b.globalAlpha=C.render.opacity),C.render.sprite&&C.render.sprite.texture&&!T.wireframes){var U=C.render.sprite,$=y(m,U.texture);b.translate(C.position.x,C.position.y),b.rotate(C.angle),b.drawImage($,$.width*-U.xOffset*U.xScale,$.height*-U.yOffset*U.yScale,$.width*U.xScale,$.height*U.yScale),b.rotate(-C.angle),b.translate(-C.position.x,-C.position.y)}else{if(C.circleRadius)b.beginPath(),b.arc(C.position.x,C.position.y,C.circleRadius,0,2*Math.PI);else{b.beginPath(),b.moveTo(C.vertices[0].x,C.vertices[0].y);for(var j=1;j<C.vertices.length;j++)!C.vertices[j-1].isInternal||L?b.lineTo(C.vertices[j].x,C.vertices[j].y):b.moveTo(C.vertices[j].x,C.vertices[j].y),C.vertices[j].isInternal&&!L&&b.moveTo(C.vertices[(j+1)%C.vertices.length].x,C.vertices[(j+1)%C.vertices.length].y);b.lineTo(C.vertices[0].x,C.vertices[0].y),b.closePath()}T.wireframes?(b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()):(b.fillStyle=C.render.fillStyle,C.render.lineWidth&&(b.lineWidth=C.render.lineWidth,b.strokeStyle=C.render.strokeStyle,b.stroke()),b.fill())}b.globalAlpha=1}}},r.bodyWireframes=function(m,x,S){var b=S,T=m.options.showInternalEdges,L,P,C,O,F;for(b.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(F=L.parts.length>1?1:0;F<L.parts.length;F++){for(P=L.parts[F],b.moveTo(P.vertices[0].x,P.vertices[0].y),O=1;O<P.vertices.length;O++)!P.vertices[O-1].isInternal||T?b.lineTo(P.vertices[O].x,P.vertices[O].y):b.moveTo(P.vertices[O].x,P.vertices[O].y),P.vertices[O].isInternal&&!T&&b.moveTo(P.vertices[(O+1)%P.vertices.length].x,P.vertices[(O+1)%P.vertices.length].y);b.lineTo(P.vertices[0].x,P.vertices[0].y)}b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()},r.bodyConvexHulls=function(m,x,S){var b=S,T,L,P;for(b.beginPath(),L=0;L<x.length;L++)if(T=x[L],!(!T.render.visible||T.parts.length===1)){for(b.moveTo(T.vertices[0].x,T.vertices[0].y),P=1;P<T.vertices.length;P++)b.lineTo(T.vertices[P].x,T.vertices[P].y);b.lineTo(T.vertices[0].x,T.vertices[0].y)}b.lineWidth=1,b.strokeStyle="rgba(255,255,255,0.2)",b.stroke()},r.vertexNumbers=function(m,x,S){var b=S,T,L,P;for(T=0;T<x.length;T++){var C=x[T].parts;for(P=C.length>1?1:0;P<C.length;P++){var O=C[P];for(L=0;L<O.vertices.length;L++)b.fillStyle="rgba(255,255,255,0.2)",b.fillText(T+"_"+L,O.position.x+(O.vertices[L].x-O.position.x)*.8,O.position.y+(O.vertices[L].y-O.position.y)*.8)}}},r.mousePosition=function(m,x,S){var b=S;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,S){var b=S;m.engine;var T=m.options;b.beginPath();for(var L=0;L<x.length;L++){var P=x[L];if(P.render.visible)for(var C=x[L].parts,O=C.length>1?1:0;O<C.length;O++){var F=C[O];b.rect(F.bounds.min.x,F.bounds.min.y,F.bounds.max.x-F.bounds.min.x,F.bounds.max.y-F.bounds.min.y)}}T.wireframes?b.strokeStyle="rgba(255,255,255,0.08)":b.strokeStyle="rgba(0,0,0,0.1)",b.lineWidth=1,b.stroke()},r.bodyAxes=function(m,x,S){var b=S;m.engine;var T=m.options,L,P,C,O;for(b.beginPath(),P=0;P<x.length;P++){var F=x[P],U=F.parts;if(F.render.visible)if(T.showAxes)for(C=U.length>1?1:0;C<U.length;C++)for(L=U[C],O=0;O<L.axes.length;O++){var $=L.axes[O];b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+$.x*20,L.position.y+$.y*20)}else for(C=U.length>1?1:0;C<U.length;C++)for(L=U[C],O=0;O<L.axes.length;O++)b.moveTo(L.position.x,L.position.y),b.lineTo((L.vertices[0].x+L.vertices[L.vertices.length-1].x)/2,(L.vertices[0].y+L.vertices[L.vertices.length-1].y)/2)}T.wireframes?(b.strokeStyle="indianred",b.lineWidth=1):(b.strokeStyle="rgba(255, 255, 255, 0.4)",b.globalCompositeOperation="overlay",b.lineWidth=2),b.stroke(),b.globalCompositeOperation="source-over"},r.bodyPositions=function(m,x,S){var b=S;m.engine;var T=m.options,L,P,C,O;for(b.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(O=0;O<L.parts.length;O++)P=L.parts[O],b.arc(P.position.x,P.position.y,3,0,2*Math.PI,!1),b.closePath();for(T.wireframes?b.fillStyle="indianred":b.fillStyle="rgba(0,0,0,0.5)",b.fill(),b.beginPath(),C=0;C<x.length;C++)L=x[C],L.render.visible&&(b.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),b.closePath());b.fillStyle="rgba(255,165,0,0.8)",b.fill()},r.bodyVelocity=function(m,x,S){var b=S;b.beginPath();for(var T=0;T<x.length;T++){var L=x[T];if(L.render.visible){var P=i.getVelocity(L);b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+P.x,L.position.y+P.y)}}b.lineWidth=3,b.strokeStyle="cornflowerblue",b.stroke()},r.bodyIds=function(m,x,S){var b=S,T,L;for(T=0;T<x.length;T++)if(x[T].render.visible){var P=x[T].parts;for(L=P.length>1?1:0;L<P.length;L++){var C=P[L];b.font="12px Arial",b.fillStyle="rgba(255,255,255,0.5)",b.fillText(C.id,C.position.x+10,C.position.y-10)}}},r.collisions=function(m,x,S){var b=S,T=m.options,L,P,C,O;for(b.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive)for(P=L.collision,O=0;O<L.activeContacts.length;O++){var F=L.activeContacts[O],U=F.vertex;b.rect(U.x-1.5,U.y-1.5,3.5,3.5)}for(T.wireframes?b.fillStyle="rgba(255,255,255,0.7)":b.fillStyle="orange",b.fill(),b.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive&&(P=L.collision,L.activeContacts.length>0)){var $=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&($=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),P.bodyB===P.supports[0].body||P.bodyA.isStatic===!0?b.moveTo($-P.normal.x*8,j-P.normal.y*8):b.moveTo($+P.normal.x*8,j+P.normal.y*8),b.lineTo($,j)}T.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,S){var b=S,T=m.options,L,P,C,O,F;for(b.beginPath(),F=0;F<x.length;F++)if(L=x[F],!!L.isActive){P=L.collision,C=P.bodyA,O=P.bodyB;var U=1;!O.isStatic&&!C.isStatic&&(U=.5),O.isStatic&&(U=0),b.moveTo(O.position.x,O.position.y),b.lineTo(O.position.x-P.penetration.x*U,O.position.y-P.penetration.y*U),U=1,!O.isStatic&&!C.isStatic&&(U=.5),C.isStatic&&(U=0),b.moveTo(C.position.x,C.position.y),b.lineTo(C.position.x+P.penetration.x*U,C.position.y+P.penetration.y*U)}T.wireframes?b.strokeStyle="rgba(255,165,0,0.5)":b.strokeStyle="orange",b.stroke()},r.inspector=function(m,x){m.engine;var S=m.selected,b=m.render,T=b.options,L;if(T.hasBounds){var P=b.bounds.max.x-b.bounds.min.x,C=b.bounds.max.y-b.bounds.min.y,O=P/b.options.width,F=C/b.options.height;x.scale(1/O,1/F),x.translate(-b.bounds.min.x,-b.bounds.min.y)}for(var U=0;U<S.length;U++){var $=S[U].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),$.type){case"body":L=$.bounds,x.beginPath(),x.rect(Math.floor(L.min.x-3),Math.floor(L.min.y-3),Math.floor(L.max.x-L.min.x+6),Math.floor(L.max.y-L.min.y+6)),x.closePath(),x.stroke();break;case"constraint":var j=$.pointA;$.bodyA&&(j=$.pointB),x.beginPath(),x.arc(j.x,j.y,10,0,2*Math.PI),x.closePath(),x.stroke();break}x.setLineDash([]),x.translate(-.5,-.5)}m.selectStart!==null&&(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.6)",x.fillStyle="rgba(255,165,0,0.1)",L=m.selectBounds,x.beginPath(),x.rect(Math.floor(L.min.x),Math.floor(L.min.y),Math.floor(L.max.x-L.min.x),Math.floor(L.max.y-L.min.y)),x.closePath(),x.stroke(),x.fill(),x.translate(-.5,-.5)),T.hasBounds&&x.setTransform(1,0,0,1,0,0)};var g=function(m,x){var S=m.engine,b=m.timing,T=b.historySize,L=S.timing.timestamp;b.delta=x-b.lastTime||r._goodDelta,b.lastTime=x,b.timestampElapsed=L-b.lastTimestamp||0,b.lastTimestamp=L,b.deltaHistory.unshift(b.delta),b.deltaHistory.length=Math.min(b.deltaHistory.length,T),b.engineDeltaHistory.unshift(S.timing.lastDelta),b.engineDeltaHistory.length=Math.min(b.engineDeltaHistory.length,T),b.timestampElapsedHistory.unshift(b.timestampElapsed),b.timestampElapsedHistory.length=Math.min(b.timestampElapsedHistory.length,T),b.engineElapsedHistory.unshift(S.timing.lastElapsed),b.engineElapsedHistory.length=Math.min(b.engineElapsedHistory.length,T),b.elapsedHistory.unshift(b.lastElapsed),b.elapsedHistory.length=Math.min(b.elapsedHistory.length,T)},v=function(m){for(var x=0,S=0;S<m.length;S+=1)x+=m[S];return x/m.length||0},E=function(m,x){var S=document.createElement("canvas");return S.width=m,S.height=x,S.oncontextmenu=function(){return!1},S.onselectstart=function(){return!1},S},w=function(m){var x=m.getContext("2d"),S=window.devicePixelRatio||1,b=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return S/b},y=function(m,x){var S=m.textures[x];return S||(S=m.textures[x]=new Image,S.src=x,S)},_=function(m,x){var S=x;/(jpg|gif|png)$/.test(x)&&(S="url("+x+")"),m.canvas.style.background=S,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},p=l.extend(c,d);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),(function p(g){d.frameRequestId=f(p),g&&d.enabled&&r.tick(d,c,g)})(),d},r.tick=function(d,c,p){var g=c.timing,v;d.isFixed?v=d.delta:(v=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var E={timestamp:g.timestamp};i.trigger(d,"beforeTick",E),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",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,p,g,v,E,w,y=[],_,m,x=0,S=0,b=0;l=l||15;var T=function(P,C,O){var F=O%2===1&&O>1;if(!E||P!=E.x||C!=E.y){E&&F?(_=E.x,m=E.y):(_=0,m=0);var U={x:_+P,y:m+C};(F||!E)&&(E=U),y.push(U),S=_+P,b=m+C}},L=function(P){var C=P.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":S=P.x,b=P.y;break;case"H":S=P.x;break;case"V":b=P.y;break}T(S,b,P.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f<a.pathSegList.numberOfItems;f+=1)p.push(a.pathSegList.getItem(f));for(g=p.concat();x<h;){if(w=a.getPathSegAtLength(x),c=p[w],c!=v){for(;g.length&&g[0]!=c;)L(g.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=a.getPointAtLength(x),T(d.x,d.y,0);break}x+=l}for(f=0,u=g.length;f<u;++f)L(g[f]);return y},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,p=a.pathSegList,g=0,v=0,E=p.numberOfItems,w=0;w<E;++w){var y=p.getItem(w),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(g=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=g+y.x1),"x2"in y&&(d=g+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),w);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),w);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),w);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),w);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,d,c),w);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),w);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),w);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),w);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),w);break;case"z":case"Z":g=l,v=f;break}(_=="M"||_=="m")&&(l=g,f=v)}}})()}),(function(n,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})()})])})})(Cs)),Cs.exports}var nn=K1();const gh=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href;function Jc(){return localStorage.getItem("cookie")==null}function Y1(){localStorage.setItem("cookie","accept")}function X1(){localStorage.setItem("cookie","refuse")}const mh=["cookie","future","change-something"];function q1(e){if(!mh.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 Da(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Qc(){return Da().length}function J1(){return mh.length}function pS(e){return e[Math.floor(Math.random()*e.length)]}function vh(e,t){return Math.random()*(t-e)+e}function Q1(e,t){return Math.floor(vh(e,t))}const z1={key:0,class:"w-full h-full","data-nosnippet":""},Z1=["width","height"],ew={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"},tw={class:"text-sm"},nw={class:"text-xs"},rw={class:"flex justify-end mt-2 text-sm"},sw=tt({__name:"Cookie",setup(e){const t=Te(null),n=Te(null),s=Te(!0),o=Te(0),r=Te(0);let i=null;Rt(async()=>{s.value=Jc(),o.value=f(),r.value=u(),Jc()&&(await Ln(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){Y1(),s.value=!1}function l(){X1(),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=nn.Engine.create();let g=nn.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});nn.Render.run(g),nn.Runner.run(nn.Runner.create(),i)}h()}function c(){if(q1("cookie"),!i)return;let g=nn.Bodies.circle(Q1(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:gh,xScale:.08,yScale:.08}}});nn.Composite.add(i.world,[g]);const v=.02*g.mass;nn.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*vh(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?nn.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const E=Oo;return ye(),ze(E,null,{default:Rn(()=>[re(s)?(ye(),dt("div",z1,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:re(o),height:re(r)},null,8,Z1)],512),ie("div",ew,[ie("p",tw,Me(g.$t("cookie policy title")),1),ie("div",nw,[ie("span",null,[go(Me(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Me(g.$t("cookie policy link")),1)])]),ie("div",rw,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Me(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Me(g.$t("accept")),1)])],512)])):ct("",!0)]),_:1})}}}),Fa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},ow={},iw={class:"flex justify-center text-sm"},aw={class:"flex-1 ml-2"},lw={class:"font-bold text-base"};function cw(e,t){return ye(),dt("div",iw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:gh,alt:"",class:"h-full w-full"})])],-1)),ie("div",aw,[ie("p",lw,Me(e.$t("cookie.title")),1),ie("p",null,Me(e.$t("cookie.description")),1)])])}const uw=Fa(ow,[["render",cw]]),fw=""+new URL("future.Byi108RQ.png",import.meta.url).href,dw={},hw={class:"flex text-sm"},pw={class:"flex-1 ml-2"},gw={class:"font-bold text-base"};function mw(e,t){return ye(),dt("div",hw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:fw,alt:"",class:"h-full w-full"})])],-1)),ie("div",pw,[ie("p",gw,Me(e.$t("future.title")),1),ie("p",null,Me(e.$t("future.description")),1)])])}const vw=Fa(dw,[["render",mw]]),yw="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",_w={},xw={class:"flex text-sm"},Ew={class:"flex-1 ml-2"},ww={class:"font-bold text-base"};function Sw(e,t){return ye(),dt("div",xw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:yw,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",Ew,[ie("p",ww,Me(e.$t("something.title")),1),ie("p",null,Me(e.$t("something.description")),1)])])}const bw=Fa(_w,[["render",Sw]]),Cw=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,Tw={class:"flex text-sm"},Pw={class:"flex-1 ml-2"},Lw={class:"font-bold text-base"},Rw={key:0},Aw={key:1},kw=tt({__name:"PictureBrightEgg",setup(e){const t=Te(!1);return Rt(()=>{t.value=Da().includes("picture-nolights")}),(n,s)=>{const o=Oo;return ye(),ze(o,null,{default:Rn(()=>[ie("div",Tw,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Cw,alt:"",class:"h-full w-full"})])],-1)),ie("div",Pw,[ie("p",Lw,Me(n.$t("bright.title")),1),re(t)?ct("",!0):(ye(),dt("p",Rw,Me(n.$t("bright.description")),1)),re(t)?(ye(),dt("p",Aw,Me(n.$t("bright_either.description")),1)):ct("",!0)])])]),_:1})}}}),Iw=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,Ow={class:"flex text-sm"},Nw={class:"flex-1 ml-2"},Mw={class:"font-bold text-base"},Dw={key:0},Fw={key:1},Uw=tt({__name:"PictureNoLightEgg",setup(e){const t=Te(!1);return Rt(()=>{t.value=Da().includes("picture-bright")}),(n,s)=>{const o=Oo;return ye(),ze(o,null,{default:Rn(()=>[ie("div",Ow,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Iw,alt:"",class:"h-full w-full"})])],-1)),ie("div",Nw,[ie("p",Mw,Me(n.$t("dark.title")),1),re(t)?ct("",!0):(ye(),dt("p",Dw,Me(n.$t("dark.description")),1)),re(t)?(ye(),dt("p",Fw,Me(n.$t("dark_either.description")),1)):ct("",!0)])])]),_:1})}}}),Hw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Bw={class:"flex text-sm"},$w={class:"flex-1"},Vw={class:"mt-1 text-center"},jw={key:0},Ww={key:1},Gw=tt({__name:"EastereggBanner",setup(e,{expose:t}){const n=Te(!1),s=Te(""),o=Te(J1()),r=Te(0);Rt(()=>{r.value=Qc()});let i=null;function a(f){s.value=f,r.value=Qc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=uw,d=vw,c=bw,p=kw,g=Uw,v=Oo;return ye(),ze(v,null,{default:Rn(()=>[re(n)?(ye(),dt("div",Hw,[ie("div",{class:so(`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 ${re(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ie("div",Bw,[ie("div",$w,[re(s)==="cookie"?(ye(),ze(h,{key:0})):ct("",!0),re(s)==="future"?(ye(),ze(d,{key:1})):ct("",!0),re(s)==="change-something"?(ye(),ze(c,{key:2})):ct("",!0),re(s)==="picture-bright"?(ye(),ze(p,{key:3})):ct("",!0),re(s)==="picture-nolights"?(ye(),ze(g,{key:4})):ct("",!0),ie("div",Vw,[re(r)!=re(o)?(ye(),dt("p",jw,Me(re(r))+"/"+Me(re(o))+" "+Me(f.$t("easter eggs found")),1)):ct("",!0),re(r)===re(o)?(ye(),dt("p",Ww,Me(f.$t("all easter eggs found")),1)):ct("",!0)])])])],2)])):ct("",!0)]),_:1})}}});function yh(){return localStorage.getItem("theme")??"dark"}function Kw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function gS(){Kw(yh()==="dark"?"light":"dark")}function _h(e){switch(e||(e=yh()),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 Yw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Xw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},qw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col font-light"},Jw={__name:"app",setup(e){const{locale:t}=Io(),n=Te(),s=Te(!1);return Rt(()=>{_h(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Ml({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"},meta:[{name:"description",content:"Personal website of a random AI student",lang:"en"},{name:"description",content:"Sito web personale di uno studente di IA a caso",lang:"it"}]}),vt(t,o=>{Ml({htmlAttrs:{lang:o}})}),(o,r)=>{const i=F1,a=V1,l=sw,f=Gw;return re(s)?(ye(),dt("div",Yw,[ie("div",Xw,[ie("div",qw,[De(a,null,{default:Rn(()=>[De(i)]),_:1})])]),De(l),De(f,{ref_key:"easteregg",ref:n},null,512)])):ct("",!0)}}};async function xh(e,t=et()){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(()=>xh(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 Qw=(...e)=>e.find(t=>t!==void 0);function zw(e){const t=e.componentName||"NuxtLink";function n(r){return typeof r=="string"&&r.startsWith("#")}function s(r,i){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return zc(r,e.trailingSlash);const a="path"in r&&r.path!==void 0?r.path:i(r).path;return{...r,name:void 0,path:zc(a,e.trailingSlash)}}function o(r){const i=et(),a=yt(),l=me(()=>!!r.target&&r.target!=="_self"),f=me(()=>{const v=r.to||r.href||"";return typeof v=="string"&&At(v,{acceptRelative:!0})}),u=Ja("RouterLink"),h=u&&typeof u!="string"?u.useLink:void 0,d=me(()=>{if(r.external)return!0;const v=r.to||r.href||"";return typeof v=="object"?!1:v===""||f.value}),c=me(()=>{const v=r.to||r.href||"";return d.value?v:s(v,i.resolve)}),p=d.value||h==null?void 0:h({...r,to:c}),g=me(()=>{var v;if(!c.value||f.value||n(c.value))return c.value;if(d.value){const E=typeof c.value=="object"&&"path"in c.value?Oi(c.value):c.value,w=typeof E=="object"?i.resolve(E).href:E;return s(w,i.resolve)}return typeof c.value=="object"?((v=i.resolve(c.value))==null?void 0:v.href)??null:s(Xn(a.app.baseURL,c.value),i.resolve)});return{to:c,hasTarget:l,isAbsoluteUrl:f,isExternal:d,href:g,isActive:(p==null?void 0:p.isActive)??me(()=>c.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??me(()=>c.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??me(()=>i.resolve(c.value)),async navigate(){await Kf(g.value,{replace:r.replace,external:d.value||l.value})}}}return tt({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:o,setup(r,{slots:i}){const a=et(),{to:l,href:f,navigate:u,isExternal:h,hasTarget:d,isAbsoluteUrl:c}=o(r),p=Te(!1),g=Te(null),v=y=>{var _;g.value=r.custom?(_=y==null?void 0:y.$el)==null?void 0:_.nextElementSibling:y==null?void 0:y.$el};function E(y){var _,m;return!p.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===y:((_=r.prefetchOn)==null?void 0:_[y])??((m=e.prefetchOn)==null?void 0:m[y]))&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!nS()}async function w(y=ge()){if(p.value)return;p.value=!0;const _=typeof l.value=="string"?l.value:h.value?Oi(l.value):a.resolve(l.value).fullPath,m=h.value?new URL(_,window.location.href).href:_;await Promise.all([y.hooks.callHook("link:prefetch",m).catch(()=>{}),!h.value&&!d.value&&xh(l.value,a).catch(()=>{})])}if(E("visibility")){const y=ge();let _,m=null;Rt(()=>{const x=eS();wo(()=>{_=Wi(()=>{var S;(S=g==null?void 0:g.value)!=null&&S.tagName&&(m=x.observe(g.value,async()=>{m==null||m(),m=null,await w(y)}))})})}),es(()=>{_&&h_(_),m==null||m(),m=null})}return()=>{var m;if(!h.value&&!d.value&&!n(l.value)){const x={ref:v,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(E("interaction")&&(x.onPointerenter=w.bind(null,void 0),x.onFocus=w.bind(null,void 0)),p.value&&(x.class=r.prefetchedClass||e.prefetchedClass),x.rel=r.rel||void 0),Qe(Ja("RouterLink"),x,i.default)}const y=r.target||null,_=Qw(r.noRel?"":r.rel,e.externalRelAttribute,c.value||d.value?"noopener noreferrer":"")||null;return r.custom?i.default?i.default({href:f.value,navigate:u,prefetch:w,get route(){if(!f.value)return;const x=new URL(f.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return ya(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:_,target:y,isExternal:h.value||d.value,isActive:!1,isExactActive:!1}):null:Qe("a",{ref:g,href:f.value||null,rel:_,target:y},(m=i.default)==null?void 0:m.call(i))}}})}const Zw=zw(lv);function zc(e,t){const n=t==="append"?Kr:ns;return At(e)&&!e.startsWith("http")?e:n(e,!0)}function eS(){const e=ge();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==null||t.unobserve(r),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:s}}const tS=/2g/;function nS(){const e=navigator.connection;return!!(e&&(e.saveData||tS.test(e.effectiveType)))}const rS=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,sS={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"}},oS={class:"text-2xl md:text-4xl text-center"},iS=tt({__name:"error",setup(e){const t=P1();return Rt(()=>{_h()}),(n,s)=>{const o=Zw;return ye(),dt("div",sS,[ie("div",null,[ie("p",oS,Me(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:rS,class:"mx-auto my-2",alt:""},null,-1)),De(o,{to:re(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:Rn(()=>[go(Me(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),aS={key:0},Zc={__name:"nuxt-root",setup(e){const t=()=>null,n=ge(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);et().beforeEach(l)}const o=!1;Cn(rs,vo()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=yo(),i=!1;Yu((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Iv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>rr(l)),!1});const a=!1;return(l,f)=>(ye(),ze(ma,{onResolve:re(s)},{default:Rn(()=>[re(i)?(ye(),dt("div",aS)):re(r)?(ye(),ze(re(iS),{key:1,error:re(r)},null,8,["error"])):re(a)?(ye(),ze(re(t),{key:2,context:re(a)},null,8,["context"])):re(o)?(ye(),ze(Fp(re(o)),{key:3})):(ye(),ze(re(Jw),{key:4}))]),_:1},8,["onResolve"]))}};let eu;{let e;eu=async function(){var i,a;if(e)return e;const s=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?tm(Zc):em(Zc),o=hv({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||_o(l)}s.config.errorHandler=r,o.hook("app:suspense:resolve",()=>{s.config.errorHandler===r&&(s.config.errorHandler=void 0)});try{await mv(o,M1)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(uv),await o.hooks.callHook("app:mounted",s),await Ln()}catch(l){r(l)}return s},e=eu().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{gS as A,_h as B,L1 as C,Zw as D,P1 as E,Je as F,et as G,Fa as _,ie as a,Rt as b,dt as c,tt as d,ct as e,Io as f,Ml as g,vt as h,De as i,Rn as j,go as k,pS as l,q1 as m,fS as n,ye as o,uS as p,so as q,Te as r,ze as s,Me as t,re as u,hS as v,cS as w,dS as x,na as y,yh as z};
|