mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2026-05-06 16:56:37 +00:00
77 lines
348 KiB
JavaScript
77 lines
348 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B3_yrIrU.js","./5WsKmFep.js","./BeArpPV-.js","./about.DQ3KPf58.css","./6JumNruv.js","./UYFzs3Eq.js","./CisMienr.js","./URdDSwwW.js","./resume.Ce14pIsp.css"])))=>i.map(i=>d[i]);
|
||
var _h=Object.defineProperty;var xh=(e,t,n)=>t in e?_h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var mn=(e,t,n)=>xh(e,typeof t!="symbol"?t+"":t,n);/**
|
||
* @vue/shared v3.5.32
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Ji(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ae={},rr=[],Xt=()=>{},eu=()=>!1,Jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qs=e=>e.startsWith("onUpdate:"),Ye=Object.assign,Qi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Eh=Object.prototype.hasOwnProperty,be=(e,t)=>Eh.call(e,t),ie=Array.isArray,sr=e=>_r(e)==="[object Map]",tu=e=>_r(e)==="[object Set]",Fa=e=>_r(e)==="[object Date]",wh=e=>_r(e)==="[object RegExp]",le=e=>typeof e=="function",$e=e=>typeof e=="string",wt=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",nu=e=>(we(e)||le(e))&&le(e.then)&&le(e.catch),ru=Object.prototype.toString,_r=e=>ru.call(e),Sh=e=>_r(e).slice(8,-1),su=e=>_r(e)==="[object Object]",zs=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bn=Ji(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},bh=/-\w/g,ut=Zs(e=>e.replace(bh,t=>t.slice(1).toUpperCase())),Ch=/\B([A-Z])/g,Kn=Zs(e=>e.replace(Ch,"-$1").toLowerCase()),eo=Zs(e=>e.charAt(0).toUpperCase()+e.slice(1)),ko=Zs(e=>e?`on${eo(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Lr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ou=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Th=e=>{const t=parseFloat(e);return isNaN(t)?e:t},iu=e=>{const t=$e(e)?Number(e):NaN;return isNaN(t)?e:t};let $a;const to=()=>$a||($a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zi(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=$e(s)?Ah(s):zi(s);if(o)for(const r in o)t[r]=o[r]}return t}else if($e(e)||we(e))return e}const Ph=/;(?![^(]*\))/g,Lh=/:([^]+)/,Rh=/\/\*[^]*?\*\//g;function Ah(e){const t={};return e.replace(Rh,"").split(Ph).forEach(n=>{if(n){const s=n.split(Lh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function no(e){let t="";if($e(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const s=no(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const kh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ih=Ji(kh);function au(e){return!!e||e===""}function Oh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Zi(e[s],t[s]);return n}function Zi(e,t){if(e===t)return!0;let n=Fa(e),s=Fa(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=ie(e),s=ie(t),n||s)return n&&s?Oh(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||!Zi(e[i],t[i]))return!1}}return String(e)===String(t)}const lu=e=>!!(e&&e.__v_isRef===!0),Oe=e=>$e(e)?e:e==null?"":ie(e)||we(e)&&(e.toString===ru||!le(e.toString))?lu(e)?Oe(e.value):JSON.stringify(e,cu,2):String(e),cu=(e,t)=>lu(t)?cu(e,t.value):sr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Io(s,r)+" =>"]=o,n),{})}:tu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Io(n))}:wt(t)?Io(t):we(t)&&!ie(t)&&!su(t)?String(t):t,Io=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.32
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let tt;class uu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=this.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){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[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 ea(e){return new uu(e)}function ro(){return tt}function ni(e,t=!1){tt&&tt.cleanups.push(e)}let ke;const Oo=new WeakSet;class fu{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,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oo.has(this)&&(Oo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ua(this),pu(this);const t=ke,n=Mt;ke=this,Mt=!0;try{return this.fn()}finally{gu(this),ke=t,Mt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ra(t);this.deps=this.depsTail=void 0,Ua(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ri(this)&&this.run()}get dirty(){return ri(this)}}let du=0,Rr,Ar;function hu(e,t=!1){if(e.flags|=8,t){e.next=Ar,Ar=e;return}e.next=Rr,Rr=e}function ta(){du++}function na(){if(--du>0)return;if(Ar){let t=Ar;for(Ar=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rr;){let t=Rr;for(Rr=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 pu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gu(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),ra(s),Nh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function ri(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(mu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function mu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$r)||(e.globalVersion=$r,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ri(e))))return;e.flags|=2;const t=e.dep,n=ke,s=Mt;ke=e,Mt=!0;try{pu(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,Mt=s,gu(e),e.flags&=-3}}function ra(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)ra(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Nh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Mt=!0;const vu=[];function fn(){vu.push(Mt),Mt=!1}function dn(){const e=vu.pop();Mt=e===void 0?!0:e}function Ua(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ke;ke=void 0;try{t()}finally{ke=n}}}let $r=0;class Mh{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 so{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||!Mt||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new Mh(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,yu(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++,$r++,this.notify(t)}notify(t){ta();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{na()}}}function yu(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)yu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ts=new WeakMap,Vn=Symbol(""),si=Symbol(""),Ur=Symbol("");function nt(e,t,n){if(Mt&&ke){let s=Ts.get(e);s||Ts.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new so),o.map=s,o.key=n),o.track()}}function on(e,t,n,s,o,r){const i=Ts.get(e);if(!i){$r++;return}const a=l=>{l&&l.trigger()};if(ta(),t==="clear")i.forEach(a);else{const l=ie(e),f=l&&zs(n);if(l&&n==="length"){const u=Number(s);i.forEach((h,d)=>{(d==="length"||d===Ur||!wt(d)&&d>=u)&&a(h)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Ur)),t){case"add":l?f&&a(i.get("length")):(a(i.get(Vn)),sr(e)&&a(i.get(si)));break;case"delete":l||(a(i.get(Vn)),sr(e)&&a(i.get(si)));break;case"set":sr(e)&&a(i.get(Vn));break}}na()}function Dh(e,t){const n=Ts.get(e);return n&&n.get(t)}function qn(e){const t=ve(e);return t===e?t:(nt(t,"iterate",Ur),Et(e)?t:t.map(Dt))}function oo(e){return nt(e=ve(e),"iterate",Ur),e}function Gt(e,t){return Jt(e)?lr(Sn(e)?Dt(t):t):Dt(t)}const Fh={__proto__:null,[Symbol.iterator](){return No(this,Symbol.iterator,e=>Gt(this,e))},concat(...e){return qn(this).concat(...e.map(t=>ie(t)?qn(t):t))},entries(){return No(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 Mo(this,"includes",e)},indexOf(...e){return Mo(this,"indexOf",e)},join(e){return qn(this).join(e)},lastIndexOf(...e){return Mo(this,"lastIndexOf",e)},map(e,t){return Qt(this,"map",e,t,void 0,arguments)},pop(){return xr(this,"pop")},push(...e){return xr(this,"push",e)},reduce(e,...t){return Ha(this,"reduce",e,t)},reduceRight(e,...t){return Ha(this,"reduceRight",e,t)},shift(){return xr(this,"shift")},some(e,t){return Qt(this,"some",e,t,void 0,arguments)},splice(...e){return xr(this,"splice",e)},toReversed(){return qn(this).toReversed()},toSorted(e){return qn(this).toSorted(e)},toSpliced(...e){return qn(this).toSpliced(...e)},unshift(...e){return xr(this,"unshift",e)},values(){return No(this,"values",e=>Gt(this,e))}};function No(e,t,n){const s=oo(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 $h=Array.prototype;function Qt(e,t,n,s,o,r){const i=oo(e),a=i!==e&&!Et(e),l=i[t];if(l!==$h[t]){const h=l.apply(e,r);return a?Dt(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 Ha(e,t,n,s){const o=oo(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 Mo(e,t,n){const s=ve(e);nt(s,"iterate",Ur);const o=s[t](...n);return(o===-1||o===!1)&&io(n[0])?(n[0]=ve(n[0]),s[t](...n)):o}function xr(e,t,n=[]){fn(),ta();const s=ve(e)[t].apply(e,n);return na(),dn(),s}const Uh=Ji("__proto__,__v_isRef,__isVue"),_u=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function Hh(e){wt(e)||(e=String(e));const t=ve(this);return nt(t,"has",e),t.hasOwnProperty(e)}class xu{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?Jh:bu:r?Su:wu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ie(t);if(!o){let l;if(i&&(l=Fh[n]))return l;if(n==="hasOwnProperty")return Hh}const a=Reflect.get(t,n,Fe(t)?t:s);if((wt(n)?_u.has(n):Uh(n))||(o||nt(t,"get",n),r))return a;if(Fe(a)){const l=i&&zs(n)?a:a.value;return o&&we(l)?ii(l):l}return we(a)?o?ii(a):Tn(a):a}}class Eu extends xu{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=ie(t)&&zs(n);if(!this._isShallow){const f=Jt(r);if(!Et(s)&&!Jt(s)&&(r=ve(r),s=ve(s)),!i&&Fe(r)&&!Fe(s))return f||(r.value=s),!0}const a=i?Number(n)<t.length:be(t,n),l=Reflect.set(t,n,s,Fe(t)?t:o);return t===ve(o)&&(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)||!_u.has(n))&&nt(t,"has",n),s}ownKeys(t){return nt(t,"iterate",ie(t)?"length":Vn),Reflect.ownKeys(t)}}class Bh extends xu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Vh=new Eu,jh=new Bh,Wh=new Eu(!0);const oi=e=>e,os=e=>Reflect.getPrototypeOf(e);function Gh(e,t,n){return function(...s){const o=this.__v_raw,r=ve(o),i=sr(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...s),u=n?oi:t?lr:Dt;return!t&&nt(r,"iterate",l?si:Vn),Ye(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 is(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Kh(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}=os(i),f=t?oi:e?lr:Dt;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",Vn),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?oi:e?lr:Dt;return!e&&nt(l,"iterate",Vn),a.forEach((u,h)=>o.call(r,f(u),f(h),i))}};return Ye(n,e?{add:is("add"),set:is("set"),delete:is("delete"),clear:is("clear")}:{add(o){const r=ve(this),i=os(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}=os(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}=os(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]=Gh(o,e,t)}),n}function sa(e,t){const n=Kh(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 Yh={get:sa(!1,!1)},Xh={get:sa(!1,!0)},qh={get:sa(!0,!1)};const wu=new WeakMap,Su=new WeakMap,bu=new WeakMap,Jh=new WeakMap;function Qh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zh(e){return e.__v_skip||!Object.isExtensible(e)?0:Qh(Sh(e))}function Tn(e){return Jt(e)?e:oa(e,!1,Vh,Yh,wu)}function ln(e){return oa(e,!1,Wh,Xh,Su)}function ii(e){return oa(e,!0,jh,qh,bu)}function oa(e,t,n,s,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=zh(e);if(r===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,r===2?s:n);return o.set(e,a),a}function Sn(e){return Jt(e)?Sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Jt(e){return!!(e&&e.__v_isReadonly)}function Et(e){return!!(e&&e.__v_isShallow)}function io(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Zh(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&ou(e,"__v_skip",!0),e}const Dt=e=>we(e)?Tn(e):e,lr=e=>we(e)?ii(e):e;function Fe(e){return e?e.__v_isRef===!0:!1}function Te(e){return Cu(e,!1)}function cr(e){return Cu(e,!0)}function Cu(e,t){return Fe(e)?e:new ep(e,t)}class ep{constructor(t,n){this.dep=new so,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Dt(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:Dt(t),this.dep.trigger())}}function ne(e){return Fe(e)?e.value:e}const tp={get:(e,t,n)=>t==="__v_raw"?e:ne(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Tu(e){return Sn(e)?e:new Proxy(e,tp)}class np{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new so,{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 rp(e){return new np(e)}class sp{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(!ie(t)||wt(this._key)||!zs(this._key))do o=!io(r)||Et(r);while(o&&(r=r.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=ne(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Fe(this._raw[this._key])){const n=this._object[this._key];if(Fe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Dh(this._raw,this._key)}}class op{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Pu(e,t,n){return Fe(e)?e:le(e)?new op(e):we(e)&&arguments.length>1?ip(e,t,n):Te(e)}function ip(e,t,n){return new sp(e,t,n)}class ap{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new so(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$r-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 hu(this,!0),!0}get value(){const t=this.dep.track();return mu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lp(e,t,n=!1){let s,o;return le(e)?s=e:(s=e.get,o=e.set),new ap(s,o,n)}const as={},Ps=new WeakMap;let Un;function cp(e,t=!1,n=Un){if(n){let s=Ps.get(n);s||Ps.set(n,s=[]),s.push(e)}}function up(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(Fe(e)?(h=()=>e.value,p=Et(e)):Sn(e)?(h=()=>f(e),p=!0):ie(e)?(g=!0,p=e.some(_=>Sn(_)||Et(_)),h=()=>e.map(_=>{if(Fe(_))return _.value;if(Sn(_))return f(_);if(le(_))return l?l(_,2):_()})):le(e)?t?h=l?()=>l(e,2):e:h=()=>{if(d){fn();try{d()}finally{dn()}}const _=Un;Un=u;try{return l?l(e,3,[c]):e(c)}finally{Un=_}}:h=Xt,t&&o){const _=h,m=o===!0?1/0:o;h=()=>an(_(),m)}const v=ro(),E=()=>{u.stop(),v&&v.active&&Qi(v.effects,u)};if(r&&t){const _=t;t=(...m)=>{_(...m),E()}}let w=g?new Array(e.length).fill(as):as;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=Un;Un=u;try{const S=[m,w===as?void 0:g&&w[0]===as?[]:w,c];w=m,l?l(t,3,S):t(...S)}finally{Un=x}}}else u.run()};return a&&a(y),u=new fu(h),u.scheduler=i?()=>i(y,!1):y,c=_=>cp(_,!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--,Fe(e))an(e.value,t,n);else if(ie(e))for(let s=0;s<e.length;s++)an(e[s],t,n);else if(tu(e)||sr(e))e.forEach(s=>{an(s,t,n)});else if(su(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.32
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Qr(e,t,n,s){try{return s?e(...s):e()}catch(o){zr(o,t,n)}}function Ft(e,t,n,s){if(le(e)){const o=Qr(e,t,n,s);return o&&nu(o)&&o.catch(r=>{zr(r,t,n)}),o}if(ie(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Ft(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){fn(),Qr(r,null,10,[e,l,f]),dn();return}}fp(e,n,o,s,i)}function fp(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const ct=[];let Vt=-1;const or=[];let _n=null,Zn=0;const Lu=Promise.resolve();let Ls=null;function Pn(e){const t=Ls||Lu;return e?t.then(this?e.bind(this):e):t}function dp(e){let t=Vt+1,n=ct.length;for(;t<n;){const s=t+n>>>1,o=ct[s],r=Hr(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function ia(e){if(!(e.flags&1)){const t=Hr(e),n=ct[ct.length-1];!n||!(e.flags&2)&&t>=Hr(n)?ct.push(e):ct.splice(dp(t),0,e),e.flags|=1,Ru()}}function Ru(){Ls||(Ls=Lu.then(Au))}function ai(e){ie(e)?or.push(...e):_n&&e.id===-1?_n.splice(Zn+1,0,e):e.flags&1||(or.push(e),e.flags|=1),Ru()}function Ba(e,t,n=Vt+1){for(;n<ct.length;n++){const s=ct[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ct.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Rs(e){if(or.length){const t=[...new Set(or)].sort((n,s)=>Hr(n)-Hr(s));if(or.length=0,_n){_n.push(...t);return}for(_n=t,Zn=0;Zn<_n.length;Zn++){const n=_n[Zn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_n=null,Zn=0}}const Hr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Au(e){try{for(Vt=0;Vt<ct.length;Vt++){const t=ct[Vt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Qr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Vt<ct.length;Vt++){const t=ct[Vt];t&&(t.flags&=-2)}Vt=-1,ct.length=0,Rs(),Ls=null,(ct.length||or.length)&&Au()}}let ze=null,ku=null;function As(e){const t=ze;return ze=e,ku=e&&e.type.__scopeId||null,t}function Ln(e,t=ze,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ms(-1);const r=As(t);let i;try{i=e(...o)}finally{As(r),s._d&&Ms(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function tS(e,t){if(ze===null)return e;const n=ho(ze),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,a,l=Ae]=t[o];r&&(le(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 jt(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&&(fn(),Ft(l,n,8,[e.el,a,e,t]),dn())}}function bn(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=gn();if(s||jn){let o=jn?jn._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&&le(t)?t.call(s&&s.proxy):t}}function Iu(){return!!(gn()||jn)}const hp=Symbol.for("v-scx"),pp=()=>st(hp);function gp(e,t){return aa(e,null,t)}function vt(e,t,n){return aa(e,t,n)}function aa(e,t,n=Ae){const{immediate:s,deep:o,flush:r,once:i}=n,a=Ye({},n),l=t&&s||!t&&r!=="post";let f;if(Vr){if(r==="sync"){const c=pp();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)=>Ft(c,u,p,g);let h=!1;r==="post"?a.scheduler=c=>{Ke(c,u&&u.suspense)}:r!=="sync"&&(h=!0,a.scheduler=(c,p)=>{p?c():ia(c)}),a.augmentJob=c=>{t&&(c.flags|=4),h&&(c.flags|=2,u&&(c.id=u.uid,c.i=u))};const d=up(e,t,a);return Vr&&(f?f.push(d):l&&d()),d}function mp(e,t,n){const s=this.proxy,o=$e(e)?e.includes(".")?Ou(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=es(this),a=aa(o,r.bind(s),n);return i(),a}function Ou(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 vp=Symbol("_vte"),Nu=e=>e.__isTeleport,Wt=Symbol("_leaveCb"),Er=Symbol("_enterCb");function yp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pt(()=>{e.isMounted=!0}),Zr(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Mu={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},Du=e=>{const t=e.subTree;return t.component?Du(t.component):t},_p={name:"BaseTransition",props:Mu,setup(e,{slots:t}){const n=gn(),s=yp();return()=>{const o=t.default&&Uu(t.default(),!0);if(!o||!o.length)return;const r=Fu(o),i=ve(e),{mode:a}=i;if(s.isLeaving)return Do(r);const l=Va(r);if(!l)return Do(r);let f=li(l,i,s,n,h=>f=h);l.type!==je&&ur(l,f);let u=n.subTree&&Va(n.subTree);if(u&&u.type!==je&&!It(u,l)&&Du(n).type!==je){let h=li(u,i,s,n);if(ur(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},Do(r);a==="in-out"&&l.type!==je?h.delayLeave=(d,c,p)=>{const g=$u(s,u);g[String(u.key)]=u,d[Wt]=()=>{c(),d[Wt]=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 Fu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const xp=_p;function $u(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 li(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=$u(n,e),x=(T,L)=>{T&&Ft(T,s,9,L)},S=(T,L)=>{const P=L[1];x(T,L),ie(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[Wt]&&T[Wt](!0);const P=m[_];P&&It(e,P)&&P.el[Wt]&&P.el[Wt](),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[Er]=$=>{O||(O=!0,$?x(C,[T]):x(P,[T]),b.delayedLeave&&b.delayedLeave(),T[Er]=void 0)};const F=T[Er].bind(null,!1);L?S(L,[T,F]):F()},leave(T,L){const P=String(e.key);if(T[Er]&&T[Er](!0),n.isUnmounting)return L();x(d,[T]);let C=!1;T[Wt]=F=>{C||(C=!0,L(),F?x(g,[T]):x(p,[T]),T[Wt]=void 0,m[P]===e&&delete m[P])};const O=T[Wt].bind(null,!1);m[P]=e,c?S(c,[T,O]):O()},clone(T){const L=li(T,t,n,s,o);return o&&o(L),L}};return b}function Do(e){if(ao(e))return e=hn(e),e.children=null,e}function Va(e){if(!ao(e))return Nu(e.type)&&e.children?Fu(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&&le(n.default))return n.default()}}function ur(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ur(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 Uu(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===qe?(i.patchFlag&128&&o++,s=s.concat(Uu(i.children,t,a))):(t||i.type!==je)&&s.push(a!=null?hn(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function et(e,t){return le(e)?Ye({name:e.name},t,{setup:e}):e}function Hu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ja(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ks=new WeakMap;function ir(e,t,n,s,o=!1){if(ie(e)){e.forEach((g,v)=>ir(g,t&&(ie(t)?t[v]:t),n,s,o));return}if(un(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ir(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?ho(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?eu:g=>ja(u,g)?!1:be(d,g),p=(g,v)=>!(v&&ja(u,v));if(f!=null&&f!==l){if(Wa(t),$e(f))u[f]=null,c(f)&&(h[f]=null);else if(Fe(f)){const g=t;p(f,g.k)&&(f.value=null),g.k&&(u[g.k]=null)}}if(le(l))Qr(l,a,12,[i,u]);else{const g=$e(l),v=Fe(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)ie(w)&&Qi(w,r);else if(ie(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),Ke(w,n)}else Wa(e),E()}}}function Wa(e){const t=ks.get(e);t&&(t.flags|=8,ks.delete(e))}let Ga=!1;const Jn=()=>{Ga||(console.error("Hydration completed but contains mismatches."),Ga=!0)},Ep=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",wp=e=>e.namespaceURI.includes("MathML"),ls=e=>{if(e.nodeType===1){if(Ep(e))return"svg";if(wp(e))return"mathml"}},cs=e=>e.nodeType===8;function Sp(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=cs(y)&&y.data==="[",L=()=>g(y,_,m,x,S,T),{type:P,ref:C,shapeFlag:O,patchFlag:F}=_;let $=y.nodeType;_.el=y,F===-2&&(b=!1,_.dynamicChildren=null);let B=null;switch(P){case Cn:$!==3?_.children===""?(l(_.el=o(""),i(y),y),B=y):B=L():(y.data!==_.children&&(Jn(),y.data=_.children),B=r(y));break;case je:w(y)?(B=r(y),E(_.el=y.content.firstChild,y,m)):$!==8||T?B=L():B=r(y);break;case Ir:if(T&&(y=r(y),$=y.nodeType),$===1||$===3){B=y;const j=!_.children.length;for(let G=0;G<_.staticCount;G++)j&&(_.children+=B.nodeType===1?B.outerHTML:B.data),G===_.staticCount-1&&(_.anchor=B),B=r(B);return T?r(B):B}else L();break;case qe:T?B=p(y,_,m,x,S,b):B=L();break;default:if(O&1)($!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!w(y)?B=L():B=d(y,_,m,x,S,b);else if(O&6){_.slotScopeIds=S;const j=i(y);if(T?B=v(y):cs(y)&&y.data==="teleport start"?B=v(y,y.data,"teleport end"):B=r(y),t(_,j,null,m,x,ls(j),b),un(_)&&!_.type.__asyncResolved){let G;T?(G=Ne(qe),G.anchor=B?B.previousSibling:j.lastChild):G=y.nodeType===3?fo(""):Ne("div"),G.el=y,_.component.subTree=G}}else O&64?$!==8?B=L():B=_.type.hydrate(y,_,m,x,S,b,e,c):O&128&&(B=_.type.hydrate(y,_,m,x,ls(i(y)),S,b,e,h))}return C!=null&&ir(C,null,x,_),B},d=(y,_,m,x,S,b)=>{b=b||!!_.dynamicChildren;const{type:T,props:L,patchFlag:P,shapeFlag:C,dirs:O,transition:F}=_,$=T==="input"||T==="option";if($||P!==-1){O&&jt(_,null,m,"created");let B=!1;if(w(y)){B=ff(null,F)&&m&&m.vnode.props&&m.vnode.props.appear;const G=y.content.firstChild;if(B){const te=G.getAttribute("class");te&&(G.$cls=te),F.beforeEnter(G)}E(G,y,m),_.el=y=G}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let G=c(y.firstChild,_,y,m,x,S,b);for(;G;){us(y,1)||Jn();const te=G;G=G.nextSibling,a(te)}}else if(C&8){let G=_.children;G[0]===`
|
||
`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(G=G.slice(1));const{textContent:te}=y;te!==G&&te!==G.replace(/\r\n|\r/g,`
|
||
`)&&(us(y,0)||Jn(),y.textContent=_.children)}if(L){if($||!b||P&48){const G=y.tagName.includes("-");for(const te in L)($&&(te.endsWith("value")||te==="indeterminate")||Jr(te)&&!Bn(te)||te[0]==="."||G&&!Bn(te))&&s(y,te,null,L[te],void 0,m)}else if(L.onClick)s(y,"onClick",null,L.onClick,void 0,m);else if(P&4&&Sn(L.style))for(const G in L.style)L.style[G]}let j;(j=L&&L.onVnodeBeforeMount)&&ht(j,m,_),O&&jt(_,null,m,"beforeMount"),((j=L&&L.onVnodeMounted)||O||B)&&mf(()=>{j&&ht(j,m,_),B&&F.enter(y),O&&jt(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,S,b,T)=>{T=T||!!_.dynamicChildren;const L=_.children,P=L.length;for(let C=0;C<P;C++){const O=T?L[C]:L[C]=xt(L[C]),F=O.type===Cn;y?(F&&!T&&C+1<P&&xt(L[C+1]).type===Cn&&(l(o(y.data.slice(O.children.length)),m,r(y)),y.data=O.children),y=h(y,O,x,S,b,T)):F&&!O.children?l(O.el=o(""),m):(us(m,1)||Jn(),n(null,O,m,null,x,S,ls(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&&cs(P)&&P.data==="]"?r(_.anchor=P):(Jn(),l(_.anchor=f("]"),L,P),P)},g=(y,_,m,x,S,b)=>{if(us(y.parentElement,1)||Jn(),_.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,ls(L),S),m&&(m.vnode.el=_.el,uo(m,_.el)),T},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&cs(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 Ka="data-allow-mismatch",bp={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function us(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ka);)e=e.parentElement;const n=e&&e.getAttribute(Ka);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(bp[t])}}to().requestIdleCallback;to().cancelIdleCallback;const un=e=>!!e.type.__asyncLoader,ao=e=>e.type.__isKeepAlive,Cp={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=gn(),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),Ke(()=>{S.isDeactivated=!1,S.a&&Lr(S.a);const b=w.props&&w.props.onVnodeMounted;b&&ht(b,S.parent,w)},a)},s.deactivate=w=>{const y=w.component;Os(y.m),Os(y.a),f(w,d,null,1,a),Ke(()=>{y.da&&Lr(y.da);const _=w.props&&w.props.onVnodeUnmounted;_&&ht(_,y.parent,w),y.isDeactivated=!0},a)};function c(w){Fo(w),u(w,n,a,!0)}function p(w){o.forEach((y,_)=>{const m=vi(un(y)?y.type.__asyncResolved||{}:y.type);m&&!w(m)&&g(_)})}function g(w){const y=o.get(w);y&&(!i||!It(y,i))?c(y):i&&Fo(i),o.delete(w),r.delete(w)}vt(()=>[e.include,e.exclude],([w,y])=>{w&&p(_=>Tr(w,_)),y&&p(_=>!Tr(y,_))},{flush:"post",deep:!0});let v=null;const E=()=>{v!=null&&(Ns(n.subTree.type)?Ke(()=>{o.set(v,fs(n.subTree))},n.subTree.suspense):o.set(v,fs(n.subTree)))};return Pt(E),Wu(E),Zr(()=>{o.forEach(w=>{const{subTree:y,suspense:_}=n,m=fs(y);if(w.type===m.type&&w.key===m.key){Fo(m);const x=m.component.da;x&&Ke(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(!Gn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=fs(y);if(_.type===je)return i=null,_;const m=_.type,x=vi(un(_)?_.type.__asyncResolved||{}:m),{include:S,exclude:b,max:T}=e;if(S&&(!x||!Tr(S,x))||b&&x&&Tr(b,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,P=o.get(L);return _.el&&(_=hn(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,P?(_.el=P.el,_.component=P.component,_.transition&&ur(_,_.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=_,Ns(y.type)?y:_}}},Tp=Cp;function Tr(e,t){return ie(e)?e.some(n=>Tr(n,t)):$e(e)?e.split(",").includes(t):wh(e)?(e.lastIndex=0,e.test(t)):!1}function Bu(e,t){ju(e,"a",t)}function Vu(e,t){ju(e,"da",t)}function ju(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(lo(t,s,n),n){let o=n.parent;for(;o&&o.parent;)ao(o.parent.vnode)&&Pp(s,t,n,o),o=o.parent}}function Pp(e,t,n,s){const o=lo(t,e,s,!0);la(()=>{Qi(s[t],o)},n)}function Fo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fs(e){return e.shapeFlag&128?e.ssContent:e}function lo(e,t,n=rt,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{fn();const a=es(n),l=Ft(t,n,e,i);return a(),dn(),l});return s?o.unshift(r):o.push(r),r}}const pn=e=>(t,n=rt)=>{(!Vr||e==="sp")&&lo(e,(...s)=>t(...s),n)},Lp=pn("bm"),Pt=pn("m"),Rp=pn("bu"),Wu=pn("u"),Zr=pn("bum"),la=pn("um"),Ap=pn("sp"),kp=pn("rtg"),Ip=pn("rtc");function Gu(e,t=rt){lo("ec",e,t)}const Ku="components";function Ya(e,t){return Xu(Ku,e,!0,t)||e}const Yu=Symbol.for("v-ndc");function Op(e){return $e(e)?Xu(Ku,e,!1)||e:e||Yu}function Xu(e,t,n=!0,s=!1){const o=ze||rt;if(o){const r=o.type;{const a=vi(r,!1);if(a&&(a===t||a===ut(t)||a===eo(ut(t))))return r}const i=Xa(o[e]||r[e],t)||Xa(o.appContext[e],t);return!i&&s?r:i}}function Xa(e,t){return e&&(e[t]||e[ut(t)]||e[eo(ut(t))])}function nS(e,t,n,s){let o;const r=n,i=ie(e);if(i||$e(e)){const a=i&&Sn(e);let l=!1,f=!1;a&&(l=!Et(e),f=Jt(e),e=oo(e)),o=new Array(e.length);for(let u=0,h=e.length;u<h;u++)o[u]=t(l?f?lr(Dt(e[u])):Dt(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 rS(e,t,n={},s,o){if(ze.ce||ze.parent&&un(ze.parent)&&ze.parent.ce){const f=Object.keys(n).length>0;return ye(),Qe(qe,null,[Ne("slot",n,s)],f?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),ye();const i=r&&qu(r(n)),a=n.key||i&&i.key,l=Qe(qe,{key:(a&&!wt(a)?a:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function qu(e){return e.some(t=>Gn(t)?!(t.type===je||t.type===qe&&!qu(t.children)):!0)?e:null}const ci=e=>e?Ef(e)?ho(e):ci(e.parent):null,kr=Ye(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=>ci(e.parent),$root:e=>ci(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qu(e),$forceUpdate:e=>e.f||(e.f=()=>{ia(e.update)}),$nextTick:e=>e.n||(e.n=Pn.bind(e.proxy)),$watch:e=>mp.bind(e)}),$o=(e,t)=>e!==Ae&&!e.__isScriptSetup&&be(e,t),Np={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];ui&&(i[t]=0)}}const f=kr[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(kr,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 qa(e){return ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ui=!0;function Mp(e){const t=Qu(e),n=e.proxy,s=e.ctx;ui=!1,t.beforeCreate&&Ja(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&&Dp(f,s,null),i)for(const j in i){const G=i[j];le(G)&&(s[j]=G.bind(n))}if(o){const j=o.call(n,n);we(j)&&(e.data=Tn(j))}if(ui=!0,r)for(const j in r){const G=r[j],te=le(G)?G.bind(n,n):le(G.get)?G.get.bind(n,n):Xt,de=!le(G)&&le(G.set)?G.set.bind(n):Xt,fe=me({get:te,set:de});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>fe.value,set:re=>fe.value=re})}if(a)for(const j in a)Ju(a[j],s,n,j);if(l){const j=le(l)?l.call(n):l;Reflect.ownKeys(j).forEach(G=>{bn(G,j[G])})}u&&Ja(u,e,"c");function B(j,G){ie(G)?G.forEach(te=>j(te.bind(n))):G&&j(G.bind(n))}if(B(Lp,h),B(Pt,d),B(Rp,c),B(Wu,p),B(Bu,g),B(Vu,v),B(Gu,b),B(Ip,x),B(kp,S),B(Zr,w),B(la,_),B(Ap,T),ie(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(G=>{Object.defineProperty(j,G,{get:()=>n[G],set:te=>n[G]=te,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&&Hu(e)}function Dp(e,t,n=Xt){ie(e)&&(e=fi(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),Fe(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Ja(e,t,n){Ft(ie(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ju(e,t,n,s){let o=s.includes(".")?Ou(n,s):()=>n[s];if($e(e)){const r=t[e];le(r)&&vt(o,r)}else if(le(e))vt(o,e.bind(n));else if(we(e))if(ie(e))e.forEach(r=>Ju(r,t,n,s));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&vt(o,r,e)}}function Qu(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=>Is(l,f,i,!0)),Is(l,t,i)),we(t)&&r.set(t,l),l}function Is(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Is(e,r,n,!0),o&&o.forEach(i=>Is(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Fp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Fp={data:Qa,props:za,emits:za,methods:Pr,computed:Pr,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:Pr,directives:Pr,watch:Up,provide:Qa,inject:$p};function Qa(e,t){return t?e?function(){return Ye(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function $p(e,t){return Pr(fi(e),fi(t))}function fi(e){if(ie(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 Pr(e,t){return e?Ye(Object.create(null),e,t):t}function za(e,t){return e?ie(e)&&ie(t)?[...new Set([...e,...t])]:Ye(Object.create(null),qa(e),qa(t??{})):t}function Up(e,t){if(!e)return t;if(!t)return e;const n=Ye(Object.create(null),e);for(const s in t)n[s]=it(e[s],t[s]);return n}function zu(){return{app:null,config:{isNativeTag:eu,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 Hp=0;function Bp(e,t){return function(s,o=null){le(s)||(s=Ye({},s)),o!=null&&!we(o)&&(o=null);const r=zu(),i=new WeakSet,a=[];let l=!1;const f=r.app={_uid:Hp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Sf,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(f,...h)):le(u)&&(i.add(u),u(f,...h))),f},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),f},component(u,h){return h?(r.components[u]=h,f):r.components[u]},directive(u,h){return h?(r.directives[u]=h,f):r.directives[u]},mount(u,h,d){if(!l){const c=f._ceVNode||Ne(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,ho(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Ft(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=jn;jn=f;try{return u()}finally{jn=h}}};return f}}let jn=null;const Vp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ut(t)}Modifiers`]||e[`${Kn(t)}Modifiers`];function jp(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ae;let o=n;const r=t.startsWith("update:"),i=r&&Vp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>$e(u)?u.trim():u)),i.number&&(o=n.map(Th)));let a,l=s[a=ko(t)]||s[a=ko(ut(t))];!l&&r&&(l=s[a=ko(Kn(t))]),l&&Ft(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,Ft(f,e,6,o)}}const Wp=new WeakMap;function Zu(e,t,n=!1){const s=n?Wp:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!le(e)){const l=f=>{const u=Zu(f,t,!0);u&&(a=!0,Ye(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):(ie(r)?r.forEach(l=>i[l]=null):Ye(i,r),we(e)&&s.set(e,i),i)}function co(e,t){return!e||!Jr(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,Kn(t))||be(e,t))}function Uo(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:Kp(a)}}catch(_){Or.length=0,zr(_,e,1),E=Ne(je)}let y=E;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Qs)&&(w=Yp(w,r)),y=hn(y,w,!1,!0))}return n.dirs&&(y=hn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&ur(y,n.transition),E=y,As(v),E}function Gp(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(Gn(o)){if(o.type!==je||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Kp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jr(n))&&((t||(t={}))[n]=e[n]);return t},Yp=(e,t)=>{const n={};for(const s in e)(!Qs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Xp(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?Za(s,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(ef(i,s,d)&&!co(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Za(s,i,f):!0:!!i;return!1}function Za(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(ef(t,e,r)&&!co(n,r))return!0}return!1}function ef(e,t,n){const s=e[n],o=t[n];return n==="style"&&we(s)&&we(o)?!Zi(s,o):s!==o}function uo({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 tf={},nf=()=>Object.create(tf),rf=e=>Object.getPrototypeOf(e)===tf;function qp(e,t,n,s=!1){const o={},r=nf();e.propsDefaults=Object.create(null),sf(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 Jp(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(co(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=ut(d);o[p]=di(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{sf(e,t,o,r)&&(f=!0);let u;for(const h in a)(!t||!be(t,h)&&((u=Kn(h))===h||!be(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=di(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 sf(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Bn(l))continue;const f=t[l];let u;o&&be(o,u=ut(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:co(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]=di(o,l,h,f[h],e,!be(f,h))}}return i}function di(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&&le(l)){const{propsDefaults:f}=o;if(n in f)s=f[n];else{const u=es(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===Kn(n))&&(s=!0))}return s}const Qp=new WeakMap;function of(e,t,n=!1){const s=n?Qp:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=h=>{l=!0;const[d,c]=of(h,t,!0);Ye(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,rr),rr;if(ie(r))for(let u=0;u<r.length;u++){const h=ut(r[u]);el(h)&&(i[h]=Ae)}else if(r)for(const u in r){const h=ut(u);if(el(h)){const d=r[u],c=i[h]=ie(d)||le(d)?{type:d}:Ye({},d),p=c.type;let g=!1,v=!0;if(ie(p))for(let E=0;E<p.length;++E){const w=p[E],y=le(w)&&w.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(v=!1)}else g=le(p)&&p.name==="Boolean";c[0]=g,c[1]=v,(g||be(c,"default"))&&a.push(h)}}const f=[i,a];return we(e)&&s.set(e,f),f}function el(e){return e[0]!=="$"&&!Bn(e)}const ca=e=>e==="_"||e==="_ctx"||e==="$stable",ua=e=>ie(e)?e.map(xt):[xt(e)],zp=(e,t,n)=>{if(t._n)return t;const s=Ln((...o)=>ua(t(...o)),n);return s._c=!1,s},af=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ca(o))continue;const r=e[o];if(le(r))t[o]=zp(o,r,s);else if(r!=null){const i=ua(r);t[o]=()=>i}}},lf=(e,t)=>{const n=ua(t);e.slots.default=()=>n},cf=(e,t,n)=>{for(const s in t)(n||!ca(s))&&(e[s]=t[s])},Zp=(e,t,n)=>{const s=e.slots=nf();if(e.vnode.shapeFlag&32){const o=t._;o?(cf(s,t,n),n&&ou(s,"_",o,!0)):af(t,s)}else t&&lf(e,t)},eg=(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:cf(o,t,n):(r=!t.$stable,af(t,o)),i=t}else t&&(lf(e,t),i={default:1});if(r)for(const a in o)!ca(a)&&i[a]==null&&delete o[a]},Ke=mf;function tg(e){return uf(e)}function ng(e){return uf(e,Sp)}function uf(e,t){const n=to();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,H=null,Y=null,Q=void 0,R=null,A=!!I.dynamicChildren)=>{if(k===I)return;k&&!It(k,I)&&(W=V(k),re(k,H,Y,!0),k=null),I.patchFlag===-2&&(A=!1,I.dynamicChildren=null);const{type:N,ref:K,shapeFlag:q}=I;switch(N){case Cn:v(k,I,D,W);break;case je:E(k,I,D,W);break;case Ir:k==null&&w(I,D,W,Q);break;case qe:C(k,I,D,W,H,Y,Q,R,A);break;default:q&1?m(k,I,D,W,H,Y,Q,R,A):q&6?O(k,I,D,W,H,Y,Q,R,A):(q&64||q&128)&&N.process(k,I,D,W,H,Y,Q,R,A,ee)}K!=null&&H?ir(K,k&&k.ref,Y,I||k,!I):K==null&&k&&k.ref!=null&&ir(k.ref,null,Y,k,!0)},v=(k,I,D,W)=>{if(k==null)s(I.el=a(I.children),D,W);else{const H=I.el=k.el;I.children!==k.children&&f(H,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 H;for(;k&&k!==I;)H=d(k),s(k,D,W),k=H;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,H,Y,Q,R,A)=>{if(I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),k==null)x(I,D,W,H,Y,Q,R,A);else{const N=k.el&&k.el._isVueCE?k.el:null;try{N&&N._beginPatch(),T(k,I,H,Y,Q,R,A)}finally{N&&N._endPatch()}}},x=(k,I,D,W,H,Y,Q,R)=>{let A,N;const{props:K,shapeFlag:q,transition:X,dirs:M}=k;if(A=k.el=i(k.type,Y,K&&K.is,K),q&8?u(A,k.children):q&16&&b(k.children,A,null,W,H,Ho(k,Y),Q,R),M&&jt(k,null,W,"created"),S(A,k,k.scopeId,Q,W),K){for(const se in K)se!=="value"&&!Bn(se)&&r(A,se,null,K[se],Y,W);"value"in K&&r(A,"value",null,K.value,Y),(N=K.onVnodeBeforeMount)&&ht(N,W,k)}M&&jt(k,null,W,"beforeMount");const U=ff(H,X);U&&X.beforeEnter(A),s(A,I,D),((N=K&&K.onVnodeMounted)||U||M)&&Ke(()=>{try{N&&ht(N,W,k),U&&X.enter(A),M&&jt(k,null,W,"mounted")}finally{}},H)},S=(k,I,D,W,H)=>{if(D&&c(k,D),W)for(let Y=0;Y<W.length;Y++)c(k,W[Y]);if(H){let Y=H.subTree;if(I===Y||Ns(Y.type)&&(Y.ssContent===I||Y.ssFallback===I)){const Q=H.vnode;S(k,Q,Q.scopeId,Q.slotScopeIds,H.parent)}}},b=(k,I,D,W,H,Y,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,H,Y,Q,R)}},T=(k,I,D,W,H,Y,Q)=>{const R=I.el=k.el;let{patchFlag:A,dynamicChildren:N,dirs:K}=I;A|=k.patchFlag&16;const q=k.props||Ae,X=I.props||Ae;let M;if(D&&On(D,!1),(M=X.onVnodeBeforeUpdate)&&ht(M,D,I,k),K&&jt(I,k,D,"beforeUpdate"),D&&On(D,!0),(q.innerHTML&&X.innerHTML==null||q.textContent&&X.textContent==null)&&u(R,""),N?L(k.dynamicChildren,N,R,D,W,Ho(I,H),Y):Q||G(k,I,R,null,D,W,Ho(I,H),Y,!1),A>0){if(A&16)P(R,q,X,D,H);else if(A&2&&q.class!==X.class&&r(R,"class",null,X.class,H),A&4&&r(R,"style",q.style,X.style,H),A&8){const U=I.dynamicProps;for(let se=0;se<U.length;se++){const ae=U[se],Le=q[ae],Ie=X[ae];(Ie!==Le||ae==="value")&&r(R,ae,Le,Ie,H,D)}}A&1&&k.children!==I.children&&u(R,I.children)}else!Q&&N==null&&P(R,q,X,D,H);((M=X.onVnodeUpdated)||K)&&Ke(()=>{M&&ht(M,D,I,k),K&&jt(I,k,D,"updated")},W)},L=(k,I,D,W,H,Y,Q)=>{for(let R=0;R<I.length;R++){const A=k[R],N=I[R],K=A.el&&(A.type===qe||!It(A,N)||A.shapeFlag&198)?h(A.el):D;g(A,N,K,null,W,H,Y,Q,!0)}},P=(k,I,D,W,H)=>{if(I!==D){if(I!==Ae)for(const Y in I)!Bn(Y)&&!(Y in D)&&r(k,Y,I[Y],null,H,W);for(const Y in D){if(Bn(Y))continue;const Q=D[Y],R=I[Y];Q!==R&&Y!=="value"&&r(k,Y,R,Q,H,W)}"value"in D&&r(k,"value",I.value,D.value,H)}},C=(k,I,D,W,H,Y,Q,R,A)=>{const N=I.el=k?k.el:a(""),K=I.anchor=k?k.anchor:a("");let{patchFlag:q,dynamicChildren:X,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,H,Y,Q,R,A)):q>0&&q&64&&X&&k.dynamicChildren&&k.dynamicChildren.length===X.length?(L(k.dynamicChildren,X,D,H,Y,Q,R),(I.key!=null||H&&I===H.subTree)&&df(k,I,!0)):G(k,I,D,K,H,Y,Q,R,A)},O=(k,I,D,W,H,Y,Q,R,A)=>{I.slotScopeIds=R,k==null?I.shapeFlag&512?H.ctx.activate(I,D,W,Q,A):F(I,D,W,H,Y,Q,A):$(k,I,A)},F=(k,I,D,W,H,Y,Q)=>{const R=k.component=pg(k,W,H);if(ao(k)&&(R.ctx.renderer=ee),gg(R,!1,Q),R.asyncDep){if(H&&H.registerDep(R,B,Q),!k.el){const A=R.subTree=Ne(je);E(null,A,I,D),k.placeholder=A.el}}else B(R,k,I,D,H,Y,Q)},$=(k,I,D)=>{const W=I.component=k.component;if(Xp(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},B=(k,I,D,W,H,Y,Q)=>{const R=()=>{if(k.isMounted){let{next:q,bu:X,u:M,parent:U,vnode:se}=k;{const ot=hf(k);if(ot){q&&(q.el=se.el,j(k,q,Q)),ot.asyncDep.then(()=>{Ke(()=>{k.isUnmounted||N()},H)});return}}let ae=q,Le;On(k,!1),q?(q.el=se.el,j(k,q,Q)):q=se,X&&Lr(X),(Le=q.props&&q.props.onVnodeBeforeUpdate)&&ht(Le,U,q,se),On(k,!0);const Ie=Uo(k),Xe=k.subTree;k.subTree=Ie,g(Xe,Ie,h(Xe.el),V(Xe),k,H,Y),q.el=Ie.el,ae===null&&uo(k,Ie.el),M&&Ke(M,H),(Le=q.props&&q.props.onVnodeUpdated)&&Ke(()=>ht(Le,U,q,se),H)}else{let q;const{el:X,props:M}=I,{bm:U,m:se,parent:ae,root:Le,type:Ie}=k,Xe=un(I);if(On(k,!1),U&&Lr(U),!Xe&&(q=M&&M.onVnodeBeforeMount)&&ht(q,ae,I),On(k,!0),X&&xe){const ot=()=>{k.subTree=Uo(k),xe(X,k.subTree,k,H,null)};Xe&&Ie.__asyncHydrate?Ie.__asyncHydrate(X,k,ot):ot()}else{Le.ce&&Le.ce._hasShadowRoot()&&Le.ce._injectChildStyle(Ie,k.parent?k.parent.type:void 0);const ot=k.subTree=Uo(k);g(null,ot,D,W,k,H,Y),I.el=ot.el}if(se&&Ke(se,H),!Xe&&(q=M&&M.onVnodeMounted)){const ot=I;Ke(()=>ht(q,ae,ot),H)}(I.shapeFlag&256||ae&&un(ae.vnode)&&ae.vnode.shapeFlag&256)&&k.a&&Ke(k.a,H),k.isMounted=!0,I=D=W=null}};k.scope.on();const A=k.effect=new fu(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=()=>ia(K),On(k,!0),N()},j=(k,I,D)=>{I.component=k;const W=k.vnode.props;k.vnode=I,k.next=null,Jp(k,I.props,W,D),eg(k,I.children,D),fn(),Ba(k),dn()},G=(k,I,D,W,H,Y,Q,R,A=!1)=>{const N=k&&k.children,K=k?k.shapeFlag:0,q=I.children,{patchFlag:X,shapeFlag:M}=I;if(X>0){if(X&128){de(N,q,D,W,H,Y,Q,R,A);return}else if(X&256){te(N,q,D,W,H,Y,Q,R,A);return}}M&8?(K&16&&he(N,H,Y),q!==N&&u(D,q)):K&16?M&16?de(N,q,D,W,H,Y,Q,R,A):he(N,H,Y,!0):(K&8&&u(D,""),M&16&&b(q,D,W,H,Y,Q,R,A))},te=(k,I,D,W,H,Y,Q,R,A)=>{k=k||rr,I=I||rr;const N=k.length,K=I.length,q=Math.min(N,K);let X;for(X=0;X<q;X++){const M=I[X]=A?sn(I[X]):xt(I[X]);g(k[X],M,D,null,H,Y,Q,R,A)}N>K?he(k,H,Y,!0,!1,q):b(I,D,W,H,Y,Q,R,A,q)},de=(k,I,D,W,H,Y,Q,R,A)=>{let N=0;const K=I.length;let q=k.length-1,X=K-1;for(;N<=q&&N<=X;){const M=k[N],U=I[N]=A?sn(I[N]):xt(I[N]);if(It(M,U))g(M,U,D,null,H,Y,Q,R,A);else break;N++}for(;N<=q&&N<=X;){const M=k[q],U=I[X]=A?sn(I[X]):xt(I[X]);if(It(M,U))g(M,U,D,null,H,Y,Q,R,A);else break;q--,X--}if(N>q){if(N<=X){const M=X+1,U=M<K?I[M].el:W;for(;N<=X;)g(null,I[N]=A?sn(I[N]):xt(I[N]),D,U,H,Y,Q,R,A),N++}}else if(N>X)for(;N<=q;)re(k[N],H,Y,!0),N++;else{const M=N,U=N,se=new Map;for(N=U;N<=X;N++){const _t=I[N]=A?sn(I[N]):xt(I[N]);_t.key!=null&&se.set(_t.key,N)}let ae,Le=0;const Ie=X-U+1;let Xe=!1,ot=0;const Xn=new Array(Ie);for(N=0;N<Ie;N++)Xn[N]=0;for(N=M;N<=q;N++){const _t=k[N];if(Le>=Ie){re(_t,H,Y,!0);continue}let Bt;if(_t.key!=null)Bt=se.get(_t.key);else for(ae=U;ae<=X;ae++)if(Xn[ae-U]===0&&It(_t,I[ae])){Bt=ae;break}Bt===void 0?re(_t,H,Y,!0):(Xn[Bt-U]=N+1,Bt>=ot?ot=Bt:Xe=!0,g(_t,I[Bt],D,null,H,Y,Q,R,A),Le++)}const Na=Xe?rg(Xn):rr;for(ae=Na.length-1,N=Ie-1;N>=0;N--){const _t=U+N,Bt=I[_t],Ma=I[_t+1],Da=_t+1<K?Ma.el||pf(Ma):W;Xn[N]===0?g(null,Bt,D,Da,H,Y,Q,R,A):Xe&&(ae<0||N!==Na[ae]?fe(Bt,D,Da,2):ae--)}}},fe=(k,I,D,W,H=null)=>{const{el:Y,type:Q,transition:R,children:A,shapeFlag:N}=k;if(N&6){fe(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,ee);return}if(Q===qe){s(Y,I,D);for(let q=0;q<A.length;q++)fe(A[q],I,D,W);s(k.anchor,I,D);return}if(Q===Ir){y(k,I,D);return}if(W!==2&&N&1&&R)if(W===0)R.beforeEnter(Y),s(Y,I,D),Ke(()=>R.enter(Y),H);else{const{leave:q,delayLeave:X,afterLeave:M}=R,U=()=>{k.ctx.isUnmounted?o(Y):s(Y,I,D)},se=()=>{Y._isLeaving&&Y[Wt](!0),q(Y,()=>{U(),M&&M()})};X?X(Y,U,se):se()}else s(Y,I,D)},re=(k,I,D,W=!1,H=!1)=>{const{type:Y,props:Q,ref:R,children:A,dynamicChildren:N,shapeFlag:K,patchFlag:q,dirs:X,cacheIndex:M,memo:U}=k;if(q===-2&&(H=!1),R!=null&&(fn(),ir(R,null,D,k,!0),dn()),M!=null&&(I.renderCache[M]=void 0),K&256){I.ctx.deactivate(k);return}const se=K&1&&X,ae=!un(k);let Le;if(ae&&(Le=Q&&Q.onVnodeBeforeUnmount)&&ht(Le,I,k),K&6)Me(k.component,D,W);else{if(K&128){k.suspense.unmount(D,W);return}se&&jt(k,null,I,"beforeUnmount"),K&64?k.type.remove(k,I,D,ee,W):N&&!N.hasOnce&&(Y!==qe||q>0&&q&64)?he(N,I,D,!1,!0):(Y===qe&&q&384||!H&&K&16)&&he(A,I,D),W&&Pe(k)}const Ie=U!=null&&M==null;(ae&&(Le=Q&&Q.onVnodeUnmounted)||se||Ie)&&Ke(()=>{Le&&ht(Le,I,k),se&&jt(k,null,I,"unmounted"),Ie&&(k.el=null)},D)},Pe=k=>{const{type:I,el:D,anchor:W,transition:H}=k;if(I===qe){_e(D,W);return}if(I===Ir){_(k);return}const Y=()=>{o(D),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(k.shapeFlag&1&&H&&!H.persisted){const{leave:Q,delayLeave:R}=H,A=()=>Q(D,Y);R?R(k.el,Y,A):A()}else Y()},_e=(k,I)=>{let D;for(;k!==I;)D=d(k),o(k),k=D;o(I)},Me=(k,I,D)=>{const{bum:W,scope:H,job:Y,subTree:Q,um:R,m:A,a:N}=k;Os(A),Os(N),W&&Lr(W),H.stop(),Y&&(Y.flags|=8,re(Q,k,I,D)),R&&Ke(R,I),Ke(()=>{k.isUnmounted=!0},I)},he=(k,I,D,W=!1,H=!1,Y=0)=>{for(let Q=Y;Q<k.length;Q++)re(k[Q],I,D,W,H)},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[vp];return D?d(D):I};let J=!1;const z=(k,I,D)=>{let W;k==null?I._vnode&&(re(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,Ba(W),Rs(),J=!1)},ee={p:g,um:re,m:fe,r:Pe,mt:F,mc:b,pc:G,pbc:L,n:V,o:e};let ce,xe;return t&&([ce,xe]=t(ee)),{render:z,hydrate:ce,createApp:Bp(z,ce)}}function Ho({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 On({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ff(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function df(e,t,n=!1){const s=e.children,o=t.children;if(ie(s)&&ie(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=sn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&df(i,a)),a.type===Cn&&(a.patchFlag===-1&&(a=o[r]=sn(a)),a.el=i.el),a.type===je&&!a.el&&(a.el=i.el)}}function rg(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 hf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hf(t)}function Os(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function pf(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?pf(t.subTree):null}const Ns=e=>e.__isSuspense;let hi=0;const sg={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,f){if(e==null)og(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}ig(e,t,n,s,o,i,a,l,f)}},hydrate:ag,normalize:lg},fa=sg;function Br(e,t){const n=e.props&&e.props[t];le(n)&&n()}function og(e,t,n,s,o,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=gf(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?(Br(e,"onPending"),Br(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,i),ar(d,e.ssFallback)):d.resolve(!1,!0)}function ig(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,It(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),ar(h,c)))):(h.pendingId=hi++,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),ar(h,c))):p&&It(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&&It(p,d))l(p,d,n,s,o,h,r,i,a),ar(h,d);else if(Br(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=hi++,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 gf(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=cg(e);w&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=e.props?iu(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:hi++,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:$}=m;let B=!1;m.isHydrating?m.isHydrating=!1:x||(B=T&&L.transition&&L.transition.mode==="out-in",B&&(T.transition.afterLeave=()=>{P===m.pendingId&&(d(L,F,r===_?p(T):r,0),ai(C),$&&b.ssFallback&&(b.ssFallback.el=null))}),T&&!m.isFallbackMountPending&&(g(T.el)===F&&(r=p(T)),c(T,O,m,!0),!B&&$&&b.ssFallback&&Ke(()=>b.ssFallback.el=null,m)),B||d(L,F,r,0)),m.isFallbackMountPending=!1,ar(m,L),m.pendingBranch=null,m.isInFallback=!1;let j=m.parent,G=!1;for(;j;){if(j.pendingBranch){j.effects.push(...C),G=!0;break}j=j.parent}!G&&!B&&ai(C),m.effects=[],w&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),Br(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:S,activeBranch:b,parentComponent:T,container:L,namespace:P}=m;Br(S,"onFallback");const C=p(b),O=()=>{m.isFallbackMountPending=!1,m.isInFallback&&(h(null,x,L,C,T,null,P,a,l),ar(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;gi(),x.asyncResolved=!0;const{vnode:C}=x;mi(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)),uo(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 ag(e,t,n,s,o,r,i,a,l){const f=t.suspense=gf(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 lg(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=tl(s?n.default:n),e.ssFallback=s?tl(n.fallback):Ne(je)}function tl(e){let t;if(le(e)){const n=fr&&e._c;n&&(e._d=!1,ye()),e=e(),n&&(e._d=!0,t=mt,vf())}return ie(e)&&(e=Gp(e)),e=xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function mf(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):ai(e)}function ar(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,uo(s,o))}function cg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const qe=Symbol.for("v-fgt"),Cn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Ir=Symbol.for("v-stc"),Or=[];let mt=null;function ye(e=!1){Or.push(mt=e?null:[])}function vf(){Or.pop(),mt=Or[Or.length-1]||null}let fr=1;function Ms(e,t=!1){fr+=e,e<0&&mt&&t&&(mt.hasOnce=!0)}function yf(e){return e.dynamicChildren=fr>0?mt||rr:null,vf(),fr>0&&mt&&mt.push(e),e}function ft(e,t,n,s,o,r){return yf(oe(e,t,n,s,o,r,!0))}function Qe(e,t,n,s,o){return yf(Ne(e,t,n,s,o,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const _f=({key:e})=>e??null,xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||Fe(e)||le(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,s=0,o=null,r=e===qe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_f(t),ref:t&&xs(t),scopeId:ku,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?(da(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=$e(n)?8:16),fr>0&&!i&&mt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&mt.push(l),l}const Ne=ug;function ug(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Yu)&&(e=je),Gn(e)){const a=hn(e,t,!0);return n&&da(a,n),fr>0&&!r&&mt&&(a.shapeFlag&6?mt[mt.indexOf(e)]=a:mt.push(a)),a.patchFlag=-2,a}if(_g(e)&&(e=e.__vccOpts),t){t=fg(t);let{class:a,style:l}=t;a&&!$e(a)&&(t.class=no(a)),we(l)&&(io(l)&&!ie(l)&&(l=Ye({},l)),t.style=zi(l))}const i=$e(e)?1:Ns(e)?128:Nu(e)?64:we(e)?4:le(e)?2:0;return oe(e,t,n,s,o,i,r,!0)}function fg(e){return e?io(e)||rf(e)?Ye({},e):e:null}function hn(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?xf(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&_f(f),ref:t&&t.ref?n&&r?ie(r)?r.concat(xs(t)):[r,xs(t)]:xs(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!==qe?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&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&ur(u,l.clone(u)),u}function fo(e=" ",t=0){return Ne(Cn,null,e,t)}function sS(e,t){const n=Ne(Ir,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(ye(),Qe(je,null,e)):Ne(je,null,e)}function xt(e){return e==null||typeof e=="boolean"?Ne(je):ie(e)?Ne(qe,null,e.slice()):Gn(e)?sn(e):Ne(Cn,null,String(e))}function sn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hn(e)}function da(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),da(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!rf(t)?t._ctx=ze:o===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),s&64?(n=16,t=[fo(t)]):n=8);e.children=t,e.shapeFlag|=n}function xf(...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=no([t.class,s.class]));else if(o==="style")t.style=zi([t.style,s.style]);else if(Jr(o)){const r=t[o],i=s[o];i&&r!==i&&!(ie(r)&&r.includes(i))?t[o]=r?[].concat(r,i):i:i==null&&r==null&&!Qs(o)&&(t[o]=i)}else o!==""&&(t[o]=s[o])}return t}function ht(e,t,n,s=null){Ft(e,t,7,[n,s])}const dg=zu();let hg=0;function pg(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||dg,r={uid:hg++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new uu(!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:of(s,o),emitsOptions:Zu(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=jp.bind(null,r),e.ce&&e.ce(r),r}let rt=null;const gn=()=>rt||ze;let Ds,pi;{const e=to(),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)}};Ds=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),pi=t("__VUE_SSR_SETTERS__",n=>Vr=n)}const es=e=>{const t=rt;return Ds(e),e.scope.on(),()=>{e.scope.off(),Ds(t)}},gi=()=>{rt&&rt.scope.off(),Ds(null)};function Ef(e){return e.vnode.shapeFlag&4}let Vr=!1;function gg(e,t=!1,n=!1){t&&pi(t);const{props:s,children:o}=e.vnode,r=Ef(e);qp(e,s,r,t),Zp(e,o,n||t);const i=r?mg(e,t):void 0;return t&&pi(!1),i}function mg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Np);const{setup:s}=n;if(s){fn();const o=e.setupContext=s.length>1?yg(e):null,r=es(e),i=Qr(s,e,0,[e.props,o]),a=nu(i);if(dn(),r(),(a||e.sp)&&!un(e)&&Hu(e),a){if(i.then(gi,gi),t)return i.then(l=>{mi(e,l)}).catch(l=>{zr(l,e,0)});e.asyncDep=i}else mi(e,i)}else wf(e)}function mi(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Tu(t)),wf(e)}function wf(e,t,n){const s=e.type;e.render||(e.render=s.render||Xt);{const o=es(e);fn();try{Mp(e)}finally{dn(),o()}}}const vg={get(e,t){return nt(e,"get",""),e[t]}};function yg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,vg),slots:e.slots,emit:e.emit,expose:t}}function ho(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Tu(Zh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kr)return kr[n](e)},has(t,n){return n in t||n in kr}})):e.proxy}function vi(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function _g(e){return le(e)&&"__vccOpts"in e}const me=(e,t)=>lp(e,t,Vr);function Je(e,t,n){try{Ms(-1);const s=arguments.length;return s===2?we(t)&&!ie(t)?Gn(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gn(n)&&(n=[n]),Ne(e,t,n))}finally{Ms(1)}}const Sf="3.5.32";/**
|
||
* @vue/runtime-dom v3.5.32
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let yi;const nl=typeof window<"u"&&window.trustedTypes;if(nl)try{yi=nl.createPolicy("vue",{createHTML:e=>e})}catch{}const bf=yi?e=>yi.createHTML(e):e=>e,xg="http://www.w3.org/2000/svg",Eg="http://www.w3.org/1998/Math/MathML",rn=typeof document<"u"?document:null,rl=rn&&rn.createElement("template"),wg={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(xg,e):t==="mathml"?rn.createElementNS(Eg,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{rl.innerHTML=bf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=rl.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]}},vn="transition",wr="animation",jr=Symbol("_vtc"),Cf={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},Sg=Ye({},Mu,Cf),bg=e=>(e.displayName="Transition",e.props=Sg,e),Cg=bg((e,{slots:t})=>Je(xp,Tg(e),t)),Nn=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},sl=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function Tg(e){const t={};for(const C in e)C in Cf||(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=Pg(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,$)=>{C._enterCancelled=$,Mn(C,O?u:a),Mn(C,O?f:i),F&&F()},L=(C,O)=>{C._isLeaving=!1,Mn(C,h),Mn(C,c),Mn(C,d),O&&O()},P=C=>(O,F)=>{const $=C?S:w,B=()=>T(O,C,F);Nn($,[O,B]),ol(()=>{Mn(O,C?l:r),zt(O,C?u:a),sl($)||il(O,s,g,B)})};return Ye(t,{onBeforeEnter(C){Nn(E,[C]),zt(C,r),zt(C,i)},onBeforeAppear(C){Nn(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),cl(C)):(cl(C),zt(C,d)),ol(()=>{C._isLeaving&&(Mn(C,h),zt(C,c),sl(_)||il(C,s,v,F))}),Nn(_,[C,F])},onEnterCancelled(C){T(C,!1,void 0,!0),Nn(y,[C])},onAppearCancelled(C){T(C,!0,void 0,!0),Nn(b,[C])},onLeaveCancelled(C){L(C),Nn(m,[C])}})}function Pg(e){if(e==null)return null;if(we(e))return[Bo(e.enter),Bo(e.leave)];{const t=Bo(e);return[t,t]}}function Bo(e){return iu(e)}function zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[jr]||(e[jr]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[jr];n&&(n.delete(t),n.size||(e[jr]=void 0))}function ol(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lg=0;function il(e,t,n,s){const o=e._endId=++Lg,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Rg(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 Rg(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${vn}Delay`),r=s(`${vn}Duration`),i=al(o,r),a=s(`${wr}Delay`),l=s(`${wr}Duration`),f=al(a,l);let u=null,h=0,d=0;t===vn?i>0&&(u=vn,h=i,d=r.length):t===wr?f>0&&(u=wr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?vn:wr:null,d=u?u===vn?r.length:l.length:0);const c=u===vn&&/\b(?:transform|all)(?:,|$)/.test(s(`${vn}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function al(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ll(n)+ll(e[s])))}function ll(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function cl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ag(e,t,n){const s=e[jr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fs=Symbol("_vod"),Tf=Symbol("_vsh"),oS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Fs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Sr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Sr(e,!0),s.enter(e)):s.leave(e,()=>{Sr(e,!1)}):Sr(e,t))},beforeUnmount(e,{value:t}){Sr(e,t)}};function Sr(e,t){e.style.display=t?e[Fs]:"none",e[Tf]=!t}const kg=Symbol(""),Ig=/(?:^|;)\s*display\s*:/;function Og(e,t,n){const s=e.style,o=$e(n);let r=!1;if(n&&!o){if(t)if($e(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Es(s,a,"")}else for(const i in t)n[i]==null&&Es(s,i,"");for(const i in n)i==="display"&&(r=!0),Es(s,i,n[i])}else if(o){if(t!==n){const i=s[kg];i&&(n+=";"+i),s.cssText=n,r=Ig.test(n)}}else t&&e.removeAttribute("style");Fs in e&&(e[Fs]=r?s.display:"",e[Tf]&&(s.display="none"))}const ul=/\s*!important$/;function Es(e,t,n){if(ie(n))n.forEach(s=>Es(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ng(e,t);ul.test(n)?e.setProperty(Kn(s),n.replace(ul,""),"important"):e[s]=n}}const fl=["Webkit","Moz","ms"],Vo={};function Ng(e,t){const n=Vo[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return Vo[t]=s;s=eo(s);for(let o=0;o<fl.length;o++){const r=fl[o]+s;if(r in e)return Vo[t]=r}return t}const dl="http://www.w3.org/1999/xlink";function hl(e,t,n,s,o,r=Ih(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(dl,t.slice(6,t.length)):e.setAttributeNS(dl,t,n):n==null||r&&!au(n)?e.removeAttribute(t):e.setAttribute(t,r?"":wt(n)?String(n):n)}function pl(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?bf(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=au(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 Mg(e,t,n,s){e.addEventListener(t,n,s)}function Dg(e,t,n,s){e.removeEventListener(t,n,s)}const gl=Symbol("_vei");function Fg(e,t,n,s,o=null){const r=e[gl]||(e[gl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=$g(t);if(s){const f=r[t]=Bg(s,o);Mg(e,a,f,l)}else i&&(Dg(e,a,i,l),r[t]=void 0)}}const ml=/(?:Once|Passive|Capture)$/;function $g(e){let t;if(ml.test(e)){t={};let s;for(;s=e.match(ml);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Kn(e.slice(2)),t]}let jo=0;const Ug=Promise.resolve(),Hg=()=>jo||(Ug.then(()=>jo=0),jo=Date.now());function Bg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ft(Vg(s,n.value),t,5,[s])};return n.value=e,n.attached=Hg(),n}function Vg(e,t){if(ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const vl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Ag(e,s,i):t==="style"?Og(e,n,s):Jr(t)?Qs(t)||Fg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wg(e,t,s,i))?(pl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hl(e,t,s,i,r,t!=="value")):e._isVueCE&&(Gg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!$e(s)))?pl(e,ut(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),hl(e,t,s,i))};function Wg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&vl(t)&&le(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 vl(t)&&$e(n)?!1:t in e}function Gg(e,t){const n=e._def.props;if(!n)return!1;const s=ut(t);return Array.isArray(n)?n.some(o=>ut(o)===s):Object.keys(n).some(o=>ut(o)===s)}const Pf=Ye({patchProp:jg},wg);let Nr,yl=!1;function Kg(){return Nr||(Nr=tg(Pf))}function Yg(){return Nr=yl?Nr:ng(Pf),yl=!0,Nr}const Xg=((...e)=>{const t=Kg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Rf(s);if(!o)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Lf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t}),qg=((...e)=>{const t=Yg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Rf(s);if(o)return n(o,!0,Lf(o))},t});function Lf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Rf(e){return $e(e)?document.querySelector(e):e}const Jg=/"(?:_|\\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*:/,Qg=/"(?: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*:/,zg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Zg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){em(e);return}return t}function em(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Wr(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(!zg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Jg.test(e)||Qg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Zg)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const tm=/#/g,nm=/&/g,rm=/\//g,sm=/=/g,ha=/\+/g,om=/%5e/gi,im=/%60/gi,am=/%7c/gi,lm=/%20/gi;function cm(e){return encodeURI(""+e).replace(am,"|")}function _i(e){return cm(typeof e=="string"?e:JSON.stringify(e)).replace(ha,"%2B").replace(lm,"+").replace(tm,"%23").replace(nm,"%26").replace(im,"`").replace(om,"^").replace(rm,"%2F")}function Wo(e){return _i(e).replace(sm,"%3D")}function $s(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function um(e){return $s(e.replace(ha," "))}function fm(e){return $s(e.replace(ha," "))}function pa(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=um(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=fm(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 dm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Wo(e)}=${_i(n)}`).join("&"):`${Wo(e)}=${_i(t)}`:Wo(e)}function hm(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>dm(t,e[t])).filter(Boolean).join("&")}const pm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,mm=/^([/\\]\s*){2,}[^/\\]/,vm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ym=/\/$|\/\?|\/#/,_m=/^\.?\//;function Lt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?pm.test(e):gm.test(e)||(t.acceptRelative?mm.test(e):!1)}function xm(e){return!!e&&vm.test(e)}function xi(e="",t){return t?ym.test(e):e.endsWith("/")}function ts(e="",t){if(!t)return(xi(e)?e.slice(0,-1):e)||"/";if(!xi(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 Gr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(xi(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 Em(e=""){return e.startsWith("/")}function _l(e=""){return Em(e)?e:"/"+e}function wm(e,t){if(kf(t)||Lt(e))return e;const n=ts(t);if(e.startsWith(n)){const s=e[n.length];if(!s||s==="/"||s==="?")return e}return Yn(n,e)}function xl(e,t){if(kf(t))return e;const n=ts(t);if(!e.startsWith(n))return e;const s=e[n.length];if(s&&s!=="/"&&s!=="?")return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Af(e,t){const n=bm(e),s={...pa(n.search),...t};return n.search=hm(s),Cm(n)}function kf(e){return!e||e==="/"}function Sm(e){return e&&e!=="/"}function Yn(e,...t){let n=e||"";for(const s of t.filter(o=>Sm(o)))if(n){const o=s.replace(_m,"");n=Gr(n)+o}else n=s;return n}function If(...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&&Lt(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 Ei(e,t,n={}){return n.trailingSlash||(e=Gr(e),t=Gr(t)),n.leadingSlash||(e=_l(e),t=_l(t)),n.encoding||(e=$s(e),t=$s(t)),e===t}const Of=Symbol.for("ufo:protocolRelative");function bm(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(!Lt(e,{acceptRelative:!0}))return wi(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}=wi(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:f,hash:u,[Of]:!s}}function wi(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function Cm(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[Of]?(e.protocol||"")+"//":"")+o+r+t+n+s}class Tm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Pm(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 Tm(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 Lm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function El(e="GET"){return Lm.has(e.toUpperCase())}function Rm(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 Am=new Set(["image/svg","application/xml","application/xhtml","application/html"]),km=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Im(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return km.test(t)?"json":t==="text/event-stream"?"stream":Am.has(t)||t.startsWith("text/")?"text":"blob"}function Om(e,t,n,s){const o=Nm((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 Nm(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 Mm=new Set([408,409,425,429,500,502,503,504]),Dm=new Set([101,204,205,304]);function Nf(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=El(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):Mm.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=Pm(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){const u={request:l,options:Om(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=wm(u.request,u.options.baseURL)),u.options.query&&(u.request=Af(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&&El(u.options.method))if(Rm(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)&&!Dm.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||Im(u.response.headers.get("content-type")||"");switch(c){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Wr;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={})=>Nf({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Us=(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")})(),Fm=Us.fetch?(...e)=>Us.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),$m=Us.Headers,Um=Us.AbortController,Hm=Nf({fetch:Fm,Headers:$m,AbortController:Um}),Bm=Hm,Vm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Hs=Vm().app,jm=()=>Hs.baseURL,Wm=()=>Hs.buildAssetsDir,ga=(...e)=>If(Mf(),Wm(),...e),Mf=(...e)=>{const t=Hs.cdnURL||Hs.baseURL;return e.length?If(t,...e):t};globalThis.__buildAssetsURL=ga,globalThis.__publicAssetsURL=Mf;globalThis.$fetch||(globalThis.$fetch=Bm.create({baseURL:jm()}));function Si(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Si(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const Gm={run:e=>e()},Km=()=>Gm,Df=typeof console.createTask<"u"?console.createTask:Km;function Ym(e,t){const n=t.shift(),s=Df(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Xm(e,t){const n=t.shift(),s=Df(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Go(e,t){for(const n of[...e])n(t)}class qm{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=Si(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=Si(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(Ym,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Xm,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Go(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Go(this._after,o)}):(this._after&&o&&Go(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 Ff(){return new qm}function Jm(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;bi.add(f);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{bi.delete(f)}}}}function Qm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Jm({...e,...s})),t[n]}}}const Bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},wl="__unctx__",zm=Bs[wl]||(Bs[wl]=Qm()),Zm=(e,t={})=>zm.get(e,t),Sl="__unctx_async_handlers__",bi=Bs[Sl]||(Bs[Sl]=new Set);function Ot(e){const t=[];for(const o of bi){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 ev=!1,Ci=!1,tv=!1,nv={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},rv=null,sv="#__nuxt",$f="nuxt-app",bl=36e5,ov="vite:preloadError";function Uf(e=$f){return Zm(e,{asyncContext:!1})}const iv="__nuxt_plugin";function av(e){var o;let t=0;const n={_id:e.id||$f||"nuxt-app",_scope:ea(),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:Tn({}),once:new Set,_errors:ln({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!ro()?n._scope.run(()=>Cl(n,r)):Cl(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=Ff(),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(ov,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 lv(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function cv(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 uv(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=cv(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)lv(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 Ht(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[iv]:!0,_name:t})}function Cl(e,t,n){const s=()=>t();return Uf(e._id).set(e),e.vueApp.runWithContext(s)}function fv(e){var n;let t;return Iu()&&(t=(n=gn())==null?void 0:n.appContext.app.$nuxt),t=t||Uf(e).tryUse(),t||null}function ge(e){const t=fv(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 dv=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function hv(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n=new dv,s=t||{},o=s.decode||pv;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]=gv(f,o)}r=a+1}return n}function pv(e){return e.includes("%")?decodeURIComponent(e):e}function gv(e,t){try{return t(e)}catch{return e}}const ps=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Tl(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(!mv(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 mv(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function vv(e,t){return{ctx:{table:e},matchAll:n=>Bf(n,e)}}function Hf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,Hf(o)])):new Map(Object.entries(e[n]));return t}function yv(e){return vv(Hf(e))}function Bf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of Pl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of Pl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Bf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function Pl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ko(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 Ti(e,t,n=".",s){if(!Ko(t))return Ti(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]]:Ko(i)&&Ko(o[r])?o[r]=Ti(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function _v(e){return(...t)=>t.reduce((n,s)=>Ti(n,s,"",e),{})}const Vf=_v();function xv(e,t){try{return t in e}catch{return!1}}class Pi extends Error{constructor(n,s={}){super(n,s);mn(this,"statusCode",500);mn(this,"fatal",!1);mn(this,"unhandled",!1);mn(this,"statusMessage");mn(this,"data");mn(this,"cause");s.cause&&!this.cause&&(this.cause=s.cause)}toJSON(){const n={message:this.message,statusCode:Ri(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=jf(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}mn(Pi,"__h3_error__",!0);function Li(e){if(typeof e=="string")return new Pi(e);if(Ev(e))return e;const t=new Pi(e.message??e.statusMessage??"",{cause:e.cause||e});if(xv(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=Ri(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ri(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;jf(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 Ev(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const wv=/[^\u0009\u0020-\u007E]/g;function jf(e=""){return e.replace(wv,"")}function Ri(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Wf=Symbol("layout-meta"),ns=Symbol("route"),Ze=()=>{var e;return(e=ge())==null?void 0:e.$router},po=()=>Iu()?st(ns,ge()._route):ge()._route;const Sv=(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},bv=()=>{try{if(ge()._processingMiddleware)return!0}catch{return!1}return!1},Gf=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Ai(e):Ze().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:f={}}=t.open,u=Object.entries(f).filter(([h,d])=>d!==void 0).map(([h,d])=>`${h.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const s=Lt(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&&xm(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=bv();if(!o&&r)return t!=null&&t.replace?typeof e=="string"?{path:e,replace:!0}:{...e,replace:!0}:e;const i=Ze(),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 Ai(e){return Af(e.path||"",e.query||{})+(e.hash||"")}const Kf="__nuxt_error",go=()=>Pu(ge().payload,"error"),nr=e=>{const t=mo(e);try{const n=ge(),s=go();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Cv=async(e={})=>{const t=ge(),n=go();t.callHook("app:error:cleared",e),e.redirect&&await Ze().replace(e.redirect),n.value=rv},Tv=e=>!!e&&typeof e=="object"&&Kf in e,mo=e=>{const t=Li(e);return Object.defineProperty(t,Kf,{value:!0,configurable:!1,writable:!1}),t};function Pv(e){return Uint8Array.fromBase64(e).buffer}function Lv(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Rv(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 Av=typeof Uint8Array.fromBase64=="function";var Zc;const kv=typeof process=="object"&&((Zc=process.versions)==null?void 0:Zc.node)!==void 0,Iv=Av?Pv:kv?Lv:Rv,Ov=-1,Nv=-2,Mv=-3,Dv=-4,Fv=-5,$v=-6,Uv=-7;function Hv(e,t){return Bv(JSON.parse(e),t)}function Bv(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===$v)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),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=Iv(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]===Uv){const f=l[1];if(!Number.isInteger(f)||f<0)throw new Error("Invalid input");const u=new Array(f);s[i]=u;for(let h=2;h<l.length;h+=2){const d=l[h];if(!Number.isInteger(d)||d<0||d>=f)throw new Error("Invalid input");u[d]=r(l[h+1])}}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 Vv=new Set(["title","titleTemplate","script","style","noscript"]),ws=new Set(["base","meta","link","style","script","noscript"]),jv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Wv=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Yf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Gv=typeof window<"u";function Vs(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 ki(e){if(e._h)return e._h;if(e._d)return Vs(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Vs(t)}function Kv(e,t){return e instanceof Promise?e.then(t):t(e)}function Ii(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=>Ii(e,t,n,i));const r={tag:e,props:o};for(const i of Yf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Vv.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function Yv(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 Xf(e,t,n,s){for(let o=s;o<n.length;o+=1){const r=n[o];if(r==="class"||r==="style"){e[r]=Yv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Xf(e,t,n,o)));if(!t&&!Yf.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=Xf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Xv=10;function Jf(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,Jf(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function qv(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||!jv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(Ii(o,i,e));continue}t.push(Ii(o,r,e))}}if(t.length===0)return[];const s=[];return Kv(Jf(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<Xv)+r,o)))}const Ll=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Rl={base:-10,title:10},Al={critical:-80,high:-10,low:20};function js(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 Rl&&(n=Rl[e.tag]),t&&t in Al?n+Al[t]:n}const Jv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Qv=["name","property","http-equiv"];function Qf(e){const{props:t,tag:n}=e;if(Wv.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 Qv)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const xn="%separator";function zv(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 Zv=new RegExp(`${xn}(?:\\s*${xn})*`,"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(xn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===xn||!r.includes(a))return a;const l=zv(t,a.slice(1),s);return l!==void 0?l:a}).trim(),i&&(e.endsWith(xn)&&(e=e.slice(0,-xn.length)),e.startsWith(xn)&&(e=e.slice(xn.length)),e=e.replace(Zv,n).trim()),e}function kl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function zf(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)?ki(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=Qf(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")||ki(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 ey(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>zf(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function ty(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=>{ey(r,e)}}}}}const ny=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ry={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=Qf(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)||ki(s),r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&ny.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(js(s)>js(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))}}},sy=new Set(["script","link","bodyAttrs"]),oy=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!sy.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&&Ll.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||Vs(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);Ll.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),iy=new Set(["link","style","script","noscript"]),ay={hooks:{"tag:normalise":({tag:e})=>{e.key&&iy.has(e.tag)&&(e.props["data-hid"]=e._h=Vs(e.key))}}},ly={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"}})}}},cy={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of Jv){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=js(n),r=js(s);return o<r?-1:o>r?1:n._p-s._p})}}},uy={meta:"content",link:"href",htmlAttrs:"lang"},fy=["innerHTML","textContent"],dy=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=uy[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 fy)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))}}}),hy={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=kl(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=kl(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},py={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 Zf;function gy(e={}){const t=my(e);return t.use(ty()),Zf=t}function Il(e,t){return!e||e==="server"&&t||e==="client"&&!t}function my(e={}){const t=Ff();t.addHooks(e.hooks||{}),e.document=e.document||(Gv?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),Il(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:o++,input:l,...f};return Il(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 qv(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[ry,ly,oy,ay,cy,dy,hy,py,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function vy(){return Zf}const yy=Sf[0]==="3";function _y(e){return typeof e=="function"?e():ne(e)}function Ws(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=_y(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Ws(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]=ne(t[s]);continue}n[s]=Ws(t[s])}return n}return t}const xy={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Ws(t.input)}}},ed="usehead";function Ey(e){return{install(n){yy&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ed,e))}}.install}function wy(e={}){e.domDelayFn=e.domDelayFn||(n=>Pn(()=>setTimeout(()=>n(),0)));const t=gy(e);return t.use(xy),t.install=Ey(t),t}const Oi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ni="__unhead_injection_handler__";function Sy(e){Oi[Ni]=e}function by(){return Ni in Oi?Oi[Ni]():st(ed)||vy()}function Ol(e,t={}){const n=t.head||by();if(n)return n.ssr?n.push(e,t):Cy(n,e,t)}function Cy(e,t,n={}){const s=Te(!1),o=Te({});gp(()=>{o.value=s.value?{}:Ws(t)});const r=e.push(o.value,n);return vt(o,a=>{r.patch(a)}),gn()&&(Zr(()=>{r.dispose()}),Vu(()=>{s.value=!0}),Bu(()=>{s.value=!1})),r}const Ty="modulepreload",Py=function(e,t){return new URL(e,t).href},Nl={},He=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=Py(u,s),u in Nl)return;Nl[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":Ty,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 Ly(){return Ss=$fetch(ga(`builds/meta/${yt().app.buildId}.json`),{responseType:"json"}),Ss.then(e=>{bs=yv(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ss}function vo(){return Ss||Ly()}async function ma(e){const t=typeof e=="string"?e:e.path;if(await vo(),!bs)return console.error("[nuxt] Error creating app manifest matcher.",bs),{};try{return Vf({},...bs.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Ml(e,t={}){const n=await Ay(e,t),s=ge(),o=s._payloadCache=s._payloadCache||{};return n in o?o[n]||null:(o[n]=nd(e).then(r=>r?td(n).then(i=>i||(delete o[n],null)):(o[n]=null,null)),o[n])}const Ry="_payload.json";async function Ay(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Lt(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 nd(e)?r:s.app.baseURL;return Yn(i,n.pathname,Ry+(o?`?${o}`:""))}async function td(e){const t=fetch(e).then(n=>n.text().then(rd));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function nd(e=po().path){const t=ge();return e=ts(e),(await vo()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const s=await ma({path:e});return!!s.prerender&&!s.redirect})}let Dn=null;async function ky(){var s;if(Dn)return Dn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await rd(e.textContent||""),n=e.dataset.src?await td(e.dataset.src):void 0;return Dn={...t,...n,...window.__NUXT__},(s=Dn.config)!=null&&s.public&&(Dn.config.public=Tn(Dn.config.public)),Dn}async function rd(e){return await Hv(e,ge()._payloadRevivers)}function Iy(e,t){ge()._payloadRevivers[e]=t}const Oy=[["NuxtError",e=>mo(e)],["EmptyShallowRef",e=>cr(e==="_"?void 0:e==="0n"?BigInt(0):Wr(e))],["EmptyRef",e=>Te(e==="_"?void 0:e==="0n"?BigInt(0):Wr(e))],["ShallowRef",e=>cr(e)],["ShallowReactive",e=>ln(e)],["Ref",e=>Te(e)],["Reactive",e=>Tn(e)]],Ny=Ht({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,o]of Oy)Iy(s,o);Object.assign(e.payload,([t,n]=Ot(()=>e.runWithContext(ky)),t=await t,n(),t)),window.__NUXT__=e.payload}}),My=[],Dy=Ht({name:"nuxt:head",enforce:"pre",setup(e){const t=wy({plugins:My});Sy(()=>ge().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await zf(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 er=typeof document<"u";function sd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sd(e.default)}const Se=Object.assign;function Yo(e,t){const n={};for(const s in t){const o=t[s];n[s]=$t(o)?o.map(e):e(o)}return n}const Mr=()=>{},$t=Array.isArray;function Dl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const od=/#/g,$y=/&/g,Uy=/\//g,Hy=/=/g,By=/\?/g,id=/\+/g,Vy=/%5B/g,jy=/%5D/g,ad=/%5E/g,Wy=/%60/g,ld=/%7B/g,Gy=/%7C/g,cd=/%7D/g,Ky=/%20/g;function va(e){return e==null?"":encodeURI(""+e).replace(Gy,"|").replace(Vy,"[").replace(jy,"]")}function Yy(e){return va(e).replace(ld,"{").replace(cd,"}").replace(ad,"^")}function Mi(e){return va(e).replace(id,"%2B").replace(Ky,"+").replace(od,"%23").replace($y,"%26").replace(Wy,"`").replace(ld,"{").replace(cd,"}").replace(ad,"^")}function Xy(e){return Mi(e).replace(Hy,"%3D")}function qy(e){return va(e).replace(od,"%23").replace(By,"%3F")}function Jy(e){return qy(e).replace(Uy,"%2F")}function Kr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Qy=/\/$/,zy=e=>e.replace(Qy,"");function Xo(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=n0(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Kr(i)}}function Zy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function e0(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&dr(t.matched[s],n.matched[o])&&ud(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function dr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ud(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!t0(e[n],t[n]))return!1;return!0}function t0(e,t){return $t(e)?$l(e,t):$t(t)?$l(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function $l(e,t){return $t(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function n0(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 At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Di=(function(e){return e.pop="pop",e.push="push",e})({}),qo=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function r0(e){if(!e)if(er){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zy(e)}const s0=/^[^#]+#/;function o0(e,t){return e.replace(s0,"#")+t}function i0(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 yo=()=>({left:window.scrollX,top:window.scrollY});function a0(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=i0(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 Ul(e,t){return(history.state?history.state.position-t:-1)+e}const Fi=new Map;function l0(e,t){Fi.set(e,t)}function c0(e){const t=Fi.get(e);return Fi.delete(e),t}function u0(e){return typeof e=="string"||e&&typeof e=="object"}function fd(e){return typeof e=="string"||typeof e=="symbol"}let Ue=(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 dd=Symbol("");Ue.MATCHER_NOT_FOUND+"",Ue.NAVIGATION_GUARD_REDIRECT+"",Ue.NAVIGATION_ABORTED+"",Ue.NAVIGATION_CANCELLED+"",Ue.NAVIGATION_DUPLICATED+"";function hr(e,t){return Se(new Error,{type:e,[dd]:!0},t)}function Zt(e,t){return e instanceof Error&&dd in e&&(t==null||!!(e.type&t))}const f0=["params","query","hash"];function d0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of f0)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function h0(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(id," "),r=o.indexOf("="),i=Kr(r<0?o:o.slice(0,r)),a=r<0?null:Kr(o.slice(r+1));if(i in t){let l=t[i];$t(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Hl(e){let t="";for(let n in e){const s=e[n];if(n=Xy(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($t(s)?s.map(o=>o&&Mi(o)):[s&&Mi(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function p0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$t(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const g0=Symbol(""),Bl=Symbol(""),ya=Symbol(""),_a=Symbol(""),$i=Symbol("");function br(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function En(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(hr(Ue.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):u0(d)?l(hr(Ue.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 Jo(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(sd(l)){const f=(l.__vccOpts||l)[t];f&&r.push(En(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=Fy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const d=(h.__vccOpts||h)[t];return d&&En(d,n,s,i,a,o)()}))}}return r}function m0(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=>dr(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>dr(f,l))||o.push(l))}return[n,s,o]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let v0=()=>location.protocol+"//"+location.host;function hd(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),Fl(a,"")}return Fl(n,e)+s+o}function y0(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=hd(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:Di.pop,direction:v?v>0?qo.forward:qo.back:qo.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:yo()}),"")}}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 Vl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?yo():null}}function _0(e){const{history:t,location:n}=window,s={value:hd(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:v0()+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,Vl(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:yo()});r(u.current,u,!0),r(l,Se({},Vl(s.value,l,null),{position:u.position+1},f),!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function x0(e){e=r0(e);const t=_0(e),n=y0(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:o0.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 Hn=(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 E0={type:Hn.Static,value:""},w0=/[a-zA-Z0-9_]/;function S0(e){if(!e)return[[]];if(e==="/")return[[E0]];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:Hn.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:Hn.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:w0.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 jl="[^/]+?",b0={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 C0=/[.+*?^${}()[\]/\\]/g;function T0(e,t){const n=Se({},b0,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===Hn.Static)h||(o+="/"),o+=d.value.replace(C0,"\\$&"),c+=lt.Static;else if(d.type===Hn.Param){const{value:p,repeatable:g,optional:v,regexp:E}=d;r.push({name:p,repeatable:g,optional:v});const w=E||jl;if(w!==jl){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===Hn.Static)u+=c.value;else if(c.type===Hn.Param){const{value:p,repeatable:g,optional:v}=c,E=p in f?f[p]:"";if($t(E)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=$t(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 P0(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 pd(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=P0(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Wl(s))return 1;if(Wl(o))return-1}return o.length-s.length}function Wl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const L0={strict:!1,end:!0,sensitive:!1};function R0(e,t,n){const s=T0(S0(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 A0(e,t){const n=[],s=new Map;t=Dl(L0,t);function o(h){return s.get(h)}function r(h,d,c){const p=!c,g=Kl(h);g.aliasOf=c&&c.record;const v=Dl(t,h),E=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)E.push(Kl(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=R0(_,d,v),c?c.alias.push(w):(y=y||w,y!==w&&y.alias.push(w),p&&h.name&&!Yl(w)&&i(h.name)),gd(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)}:Mr}function i(h){if(fd(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=O0(h,n);n.splice(d,0,h),h.record.name&&!Yl(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 hr(Ue.MATCHER_NOT_FOUND,{location:h});v=c.record.name,p=Se(Gl(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Gl(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 hr(Ue.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:I0(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 Gl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Kl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:k0(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 k0(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 Yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function I0(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function O0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;pd(e,t[r])<0?s=r:n=r+1}const o=N0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function N0(e){let t=e;for(;t=t.parent;)if(gd(t)&&pd(e,t)===0)return t}function gd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Xl(e){const t=st(ya),n=st(_a),s=me(()=>{const l=ne(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(dr.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(dr.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&U0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&ud(n.params,s.value.params));function a(l={}){if($0(l)){const f=t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Mr);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 M0(e){return e.length===1?e[0]:e}const D0=et({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:Xl,setup(e,{slots:t}){const n=Tn(Xl(e)),{options:s}=st(ya),o=me(()=>({[Jl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Jl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&M0(t.default(n));return e.custom?r:Je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),F0=D0;function $0(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 U0(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(!$t(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 Jl=(e,t,n)=>e??t??n,H0=et({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=st($i),o=me(()=>e.route||s.value),r=st(Bl,0),i=me(()=>{let f=ne(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);bn(Bl,me(()=>i.value+1)),bn(g0,a),bn($i,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||!dr(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 Ql(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Je(d,Se({},p,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Ql(n.default,{Component:v,route:f})||v}}});function Ql(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const md=H0;function B0(e){const t=A0(e.routes,e),n=e.parseQuery||h0,s=e.stringifyQuery||Hl,o=e.history,r=br(),i=br(),a=br(),l=cr(At);let f=At;er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yo.bind(null,V=>""+V),h=Yo.bind(null,Jy),d=Yo.bind(null,Kr);function c(V,J){let z,ee;return fd(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,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=Xo(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:Kr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Se({},V,{path:Xo(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 ee=t.resolve(z,J),ce=V.hash||"";ee.params=u(d(ee.params));const xe=Zy(s,Se({},V,{hash:Yy(ce),path:ee.path})),k=o.createHref(xe);return Se({fullPath:xe,hash:ce,query:s===Hl?p0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:k})}function w(V){return typeof V=="string"?Xo(n,V,l.value.path):Se({},V)}function y(V,J){if(f!==V)return hr(Ue.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:ee}=z;let ce=typeof ee=="function"?ee(V,J):ee;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=w(ce):{path:ce},ce.params={}),Se({query:V.query,hash:V.hash,params:ce.path!=null?{}:V.params},ce)}}function S(V,J){const z=f=E(V),ee=l.value,ce=V.state,xe=V.force,k=V.replace===!0,I=x(z,ee);if(I)return S(Se(w(I),{state:typeof I=="object"?Se({},ce,I.state):ce,force:xe,replace:k}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&e0(s,ee,z)&&(W=hr(Ue.NAVIGATION_DUPLICATED,{to:D,from:ee}),fe(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(H=>Zt(H)?Zt(H,Ue.NAVIGATION_GUARD_REDIRECT)?H:de(H):G(H,D,ee)).then(H=>{if(H){if(Zt(H,Ue.NAVIGATION_GUARD_REDIRECT))return S(Se({replace:k},w(H.to),{state:typeof H.to=="object"?Se({},ce,H.to.state):ce,force:xe}),J||D)}else H=C(D,ee,!0,k,ce);return P(D,ee,H),H})}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[ee,ce,xe]=m0(V,J);z=Jo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(En(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(En(I,V,J));return z.push(k),he(z)}).then(()=>{z=Jo(ce,"beforeRouteUpdate",V,J);for(const I of ce)I.updateGuards.forEach(D=>{z.push(En(D,V,J))});return z.push(k),he(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if($t(I.beforeEnter))for(const D of I.beforeEnter)z.push(En(D,V,J));else z.push(En(I.beforeEnter,V,J));return z.push(k),he(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Jo(xe,"beforeRouteEnter",V,J,T),z.push(k),he(z))).then(()=>{z=[];for(const I of i.list())z.push(En(I,V,J));return z.push(k),he(z)}).catch(I=>Zt(I,Ue.NAVIGATION_CANCELLED)?I:Promise.reject(I))}function P(V,J,z){a.list().forEach(ee=>T(()=>ee(V,J,z)))}function C(V,J,z,ee,ce){const xe=y(V,J);if(xe)return xe;const k=J===At,I=er?history.state:{};z&&(ee||k?o.replace(V.fullPath,Se({scroll:k&&I&&I.scroll},ce)):o.push(V.fullPath,ce)),l.value=V,fe(V,J,z,k),de()}let O;function F(){O||(O=o.listen((V,J,z)=>{if(!Me.listening)return;const ee=E(V),ce=x(ee,Me.currentRoute.value);if(ce){S(Se(ce,{replace:!0,force:!0}),ee).catch(Mr);return}f=ee;const xe=l.value;er&&l0(Ul(xe.fullPath,z.delta),yo()),L(ee,xe).catch(k=>Zt(k,Ue.NAVIGATION_ABORTED|Ue.NAVIGATION_CANCELLED)?k:Zt(k,Ue.NAVIGATION_GUARD_REDIRECT)?(S(Se(w(k.to),{force:!0}),ee).then(I=>{Zt(I,Ue.NAVIGATION_ABORTED|Ue.NAVIGATION_DUPLICATED)&&!z.delta&&z.type===Di.pop&&o.go(-1,!1)}).catch(Mr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),G(k,ee,xe))).then(k=>{k=k||C(ee,xe,!1),k&&(z.delta&&!Zt(k,Ue.NAVIGATION_CANCELLED)?o.go(-z.delta,!1):z.type===Di.pop&&Zt(k,Ue.NAVIGATION_ABORTED|Ue.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),P(ee,xe,k)}).catch(Mr)}))}let $=br(),B=br(),j;function G(V,J,z){de(V);const ee=B.list();return ee.length?ee.forEach(ce=>ce(V,J,z)):console.error(V),Promise.reject(V)}function te(){return j&&l.value!==At?Promise.resolve():new Promise((V,J)=>{$.add([V,J])})}function de(V){return j||(j=!V,F(),$.list().forEach(([J,z])=>V?z(V):J()),$.reset()),V}function fe(V,J,z,ee){const{scrollBehavior:ce}=e;if(!er||!ce)return Promise.resolve();const xe=!z&&c0(Ul(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Pn().then(()=>ce(V,J,xe)).then(k=>k&&a0(k)).catch(k=>G(k,V,J))}const re=V=>o.go(V);let Pe;const _e=new Set,Me={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:E,options:e,push:_,replace:m,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:te,install(V){V.component("RouterLink",F0),V.component("RouterView",md),V.config.globalProperties.$router=Me,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(l)}),er&&!Pe&&l.value===At&&(Pe=!0,_(o.location).catch(ee=>{}));const J={};for(const ee in At)Object.defineProperty(J,ee,{get:()=>l.value[ee],enumerable:!0});V.provide(ya,Me),V.provide(_a,ln(J)),V.provide($i,l);const z=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=At,O&&O(),O=null,l.value=At,Pe=!1,j=!1),z()}}};function he(V){return V.reduce((J,z)=>J.then(()=>T(z)),Promise.resolve())}return Me}function V0(e){return st(_a)}const j0=/(:\w+)\([^)]+\)/g,W0=/(:\w+)[?+*]/g,G0=/:\w+/g,K0=(e,t)=>t.path.replace(j0,"$1").replace(W0,"$1").replace(G0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Ui=(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&&K0(e.route,n));return typeof s=="function"?s(e.route):s},Y0=(e,t)=>({default:()=>e?Je(Tp,e===!0?{}:e,t):t});function xa(e){return Array.isArray(e)?e:[e]}const Qo=[{name:"about___en___default",path:"/about",component:()=>He(()=>import("./B3_yrIrU.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>He(()=>import("./B3_yrIrU.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>He(()=>import("./B3_yrIrU.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>He(()=>import("./6JumNruv.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>He(()=>import("./6JumNruv.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>He(()=>import("./6JumNruv.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>He(()=>import("./UYFzs3Eq.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>He(()=>import("./UYFzs3Eq.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>He(()=>import("./UYFzs3Eq.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>He(()=>import("./CisMienr.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>He(()=>import("./CisMienr.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>He(()=>import("./CisMienr.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>He(()=>import("./URdDSwwW.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>He(()=>import("./URdDSwwW.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>He(()=>import("./URdDSwwW.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],vd=(e,t)=>({default:()=>{var n;return e?Je(Cg,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),X0=/(:\w+)\([^)]+\)/g,q0=/(:\w+)[?+*]/g,J0=/:\w+/g;function zl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(X0,"$1").replace(q0,"$1").replace(J0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function Q0(e,t){return e===t||t===At?!1:zl(e)!==zl(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 z0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=Ze().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&Q0(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:Zl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??Ci),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:Zl(e.hash),behavior:o}),u(r)})})}};function Zl(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 Z0={hashMode:!1,scrollBehaviorType:"auto"},bt={...Z0,...z0},e_=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=Ze(),r=([t,n]=Ot(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=mo({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(()=>nr(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},t_=async e=>{let t,n;const s=([t,n]=Ot(()=>ma({path:e.path})),t=await t,n(),t);if(s.redirect)return Lt(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},n_=[e_,t_],Dr={};function r_(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),xl(u,"")}const a=xl(s,e),l=!n||Ei(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const s_=Ht({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))??x0(s),r=bt.routes?([t,n]=Ot(()=>bt.routes(Qo)),t=await t,n(),t??Qo):Qo;let i;const a=B0({...bt,scrollBehavior:(E,w,y)=>{if(w===At){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,At,i||y)}},history:o,routes:r});bt.routes&&bt.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=cr(a.currentRoute.value);a.afterEach((E,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=r_(s,window.location,e.payload.path),u=cr(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=go();a.afterEach(async(E,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(Cv),y&&await e.callHook("page:loading:end")});try{[t,n]=Ot(()=>a.isReady()),await t,n()}catch(E){[t,n]=Ot(()=>e.runWithContext(()=>nr(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=Tn(E.meta),e.isHydrating&&g&&!Jt(E.meta.layout)&&(E.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...n_,...e._middleware.global]);for(const m of E.matched){const x=m.meta.middleware;if(x)for(const S of xa(x))_.add(S)}{const m=await e.runWithContext(()=>ma({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=Dr[m])==null?void 0:y.call(Dr).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||Li({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>nr(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(()=>nr(Li({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(()=>nr(E))}}),{provide:{router:a}}}}),Hi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),o_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),_o=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Hi(()=>e())}):Hi(()=>e())},i_=Ht({name:"nuxt:payload",setup(e){Ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Ml(t.path);s&&Object.assign(e.static.data,s.data)}),_o(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Ml(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(vo,1e3)})}}),a_=Ht(()=>{const e=Ze();_o(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),l_=Ht(e=>{let t;async function n(){const s=await vo();t&&clearTimeout(t),t=setTimeout(n,bl);try{const o=await $fetch(ga("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}_o(()=>{t=setTimeout(n,bl)})});function c_(e={}){const t=e.path||window.location.pathname;let n={};try{n=Wr(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 u_=Ht({name:"nuxt:chunk-reload",setup(e){const t=Ze(),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:Yn(n.app.baseURL,r.fullPath);c_({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),f_=Ht({name:"nuxt:global-components"}),wn={},d_=Ht({name:"nuxt:prefetch",setup(e){const t=Ze();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof wn[s]=="function"&&await wn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Lt(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=xa(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Dr[i]=="function"&&Dr[i]();o&&typeof wn[o]=="function"&&wn[o]()})}});/*!
|
||
* shared v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function h_(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Gs=typeof window<"u",Rn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),p_=(e,t,n)=>g_({l:e,k:t,s:n}),g_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),We=e=>typeof e=="number"&&isFinite(e),m_=e=>_d(e)==="[object Date]",Ks=e=>_d(e)==="[object RegExp]",xo=e=>pe(e)&&Object.keys(e).length===0,Ve=Object.assign,v_=Object.create,Re=(e=null)=>v_(e);let ec;const Ea=()=>ec||(ec=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Re());function tc(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function nc(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function y_(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,o,r)=>`${o}="${nc(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,o,r)=>`${o}='${nc(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 __=Object.prototype.hasOwnProperty;function Nt(e,t){return __.call(e,t)}const Be=Array.isArray,Ce=e=>typeof e=="function",Z=e=>typeof e=="string",De=e=>typeof e=="boolean",x_=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",E_=e=>ue(e)&&Ce(e.then)&&Ce(e.catch),yd=Object.prototype.toString,_d=e=>yd.call(e),pe=e=>{if(!ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},w_=e=>e==null?"":Be(e)||pe(e)&&e.toString===yd?JSON.stringify(e,null,2):String(e);function wa(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function Eo(e){let t=e;return()=>++t}const ms=e=>!ue(e)||Be(e);function Wn(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__"&&(ue(s[r])&&!ue(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 pr=["en","it"],Ys={en:[{key:"../locales/en-US/general.ts",load:()=>He(()=>import("./B0ptKmg5.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>He(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>He(()=>import("./C6rqLPrI.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>He(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>He(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>He(()=>import("./DM8_oz-q.js"),[],import.meta.url),cache:!0}]},S_=[],wo=[{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"}]}],xd="@nuxtjs/i18n",b_=!1,C_="nuxtI18n",T_="i18n_redirected",rc="nuxt-i18n-slp",P_=typeof window<"u";function L_(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function R_(e){return e!=null&&"global"in e&&"mode"in e}function A_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Fe(e.locale)}function Ed(e){return e!=null&&"__composer"in e}function An(e){return R_(e)?e.global:e}function gr(e){const t=An(e);return A_(t)?t:Ed(t)?t.__composer:t}function So(e){return ne(An(e).locale)}function k_(e){return ne(An(e).locales)}function I_(e){return ne(An(e).localeCodes)}function wd(e,t){const n=An(e);Fe(n.locale)?n.locale.value=t:n.locale=t}function Sd(e){return Z(e)?e:x_(e)?e.toString():"(null)"}function sc(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=Sd(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function oc(e,t){return Ce(e)?e(t):e}function O_(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 N_=O_;function M_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const D_=M_;function F_(e,t,{matcher:n=N_,comparer:s=D_}={}){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 Sa(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const Fr=new Map;async function $_(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;Wn(r,n)}return n}function bd(e,t){let n=[];if(Be(e))n=e;else if(ue(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 U_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=bd(i,[s,o]);await Promise.all(f.map(u=>ic(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(f=>ic(f,t,e))),e}async function H_(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&&Fr&&Fr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Xs(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;Fr&&Fr.has(r.key)&&r.cache?i=Fr.get(r.key):i=await H_(e,r),i!=null&&Wn(i,o)}n(e,o)}async function ic(e,t,n){await Xs(e,t,(o,r)=>{const i=n[o]||{};Wn(r,i),n[o]=i})}function B_(e,t){return[e.slice(0,t),e.slice(t)]}function V_(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 j_({router:e},t,n,s){var f,u;if(n!=="prefix")return e.resolve(t);const[o,r]=B_(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 W_=new Set(["prefix_and_default","prefix_except_default"]);function G_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&W_.has(s))&&s!=="no_prefix"}const K_=G_;function mr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=ne(t);return s==null||!s.name?void 0:Sd(s.name).split(n)[0]}function bo(e,t,n){var o;if(typeof t=="string"&&Lt(t,{acceptRelative:!0}))return t;const s=Co(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function ba(e,t,n){return Co(e,t,n)??void 0}function Y_(e,t,n){return Co(e,t,n)??void 0}function Co(e,t,n){const{router:s,i18n:o}=e,r=n||So(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,f=cx(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=wi(t),v=pa(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=j_(e,h,a,r),p=mr(e,c);Z(p)?(h={name:sc(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?Gr(h.path,!0):ts(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=mr(e,s.currentRoute.value)),h.name=sc(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 X_=e=>e;function q_(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return ne(e.metaState.value);const n=t.meta||{};return((s=ne(n))==null?void 0:s[C_])||{}}function vr(e,t,n){const s=n??e.router.currentRoute.value,o=mr(e,s);if(!o)return"";const r=ux(e.runtimeConfig),i=V_(s),a=q_(e,s)[t],l={...i,name:o,params:{...i.params,...a}},f=bo(e,l,t);return r(f,t)}function Cd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=yt().public.i18n,r=gr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(ne(r.locales)==null||ne(r.baseUrl)==null)return i;const a=So(e.i18n),l=k_(e.i18n),f=L_(l).find(d=>d.code===a)||{},u=f.language,h=f.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&ne(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...J_(e,ne(l),s),...Q_(e,s,n)),i.meta.push(...z_(e,s,n),...Z_(f,u,s),...ex(ne(l),u,s))),i}function Ca(){const e=ge(),t=gr(e.$i18n);return Yn(ne(t.baseUrl),e.$config.app.baseURL)}function J_(e,t,n){const s=Ca(),{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=vr(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:Bi(u,s),hreflang:l})}if(o){const l=vr(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:Bi(l,s),hreflang:"x-default"})}return i}function Td(e,t,n){const s=e.router.currentRoute.value,o=ba(e,{...s,path:void 0,name:mr(e,s)});if(!o)return"";let r=Bi(o.path,t);const i=ue(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];Be(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function Q_(e,t,n){const s=Ca(),o=Td(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function z_(e,t,n){const s=Ca(),o=Td(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function Z_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:Pd(t)}]}function ex(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:Pd(o.language)}))}function Pd(e){return(e||"").replace(/-/g,"_")}function Bi(e,t){return e.match(/^https?:\/\//)?e:Yn(t,e)}function Ld(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=yt().public.i18n,n=`(${pr.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=Sa(pr);return a=>{if(ue(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 tx="$s";function Rd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o=tx+n,r=ge(),i=Pu(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Fe(a))return r.payload.state[o]=a,a;i.value=a}return i}function nx(e,t){return rs(e,"setLocale",t)}function rx(e,t){return rs(e,"setLocaleCookie",t)}function Ad(e,t,n){return rs(e,"mergeLocaleMessage",t,n)}async function sx(e,t,n,s,o){return rs(e,"onBeforeLanguageSwitch",t,n,s,o)}function ox(e,t,n){return rs(e,"onLanguageSwitched",t,n)}function Ta(e){return{i18n:e??ge().$i18n,router:Ze(),runtimeConfig:yt(),metaState:Rd("nuxt-i18n-meta",()=>({}))}}async function ac(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=ss(n),l=ge(),f=So(t),u=I_(t);function h(c=f){a===!1||!a.useCookie||r||rx(t,c)}if(!e||!s&&o||f===e)return h(),!1;const d=await sx(t,f,e,s,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=xx(t,"fallbackLocale"),p=(g,v)=>Ad(t,g,v);if(c){const g=bd(c,[e]);await Promise.all(g.map(v=>Xs(v,Ys,p)))}await Xs(e,Ys,p)}return r?!1:(h(e),wd(t,e),await ox(t,f,e),!0)}function kd(e){return{log:console.log.bind(console,`${e}:`)}}function lc(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:f}=s,u=ss(o);kd("detectLocale");const h=Ce(n)?n():n,d=Fd(e,s,h);if(d.reason===Dd.SSG_IGNORE)return h;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=bx(wo,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&f;return c||(c=p||h||i||""),c}function cc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ge(),r=Ta(),{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&&!Ei(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if(n(e.to)!==t){const u=vr(r,t,e.to);Z(u)&&u&&!Ei(u,f)&&!u.startsWith("//")&&(l=u)}return l}function ix(e){return ue(e)&&"path"in e&&"statusCode"in e}const ax=()=>Rd(xd+":redirect",()=>"");function Qn(e,t){return Gf(e,{})}async function uc(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:ix(a)&&(c="/"+a.path,t=a.statusCode),c=s.$localePath(c,r),Qn(c);if(!(u&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(p=>{o.__resolvePendingLocalePromise=p}),!n))){if(f&&d==="prefix_except_default"){const p=To(),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 Qn(i.path.replace(`/${v}`,""));if(!i.path.startsWith(`/${r}`)&&r!==v){const w=Ld()(i.path);return Qn(w!==""?`/${r+i.path.replace(`/${w}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`)}else if(c&&i.path!==c)return Qn(c);return}if(l){const p=ax();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Qn(c)}}function lx(e,t){zn(e,"$i18n",An(t)),zn(e,"$getRouteBaseName",gt(mr)),zn(e,"$localePath",gt(bo)),zn(e,"$localeRoute",gt(ba)),zn(e,"$switchLocalePath",gt(vr)),zn(e,"$localeHead",gt(Cd))}function cx(e=yt()){return t=>K_(t)&&!e.public.i18n.differentDomains}function ux(e=yt()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=$d(n);return s?Yn(s,t):t}else return X_(t)}}function fx(){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=$d(o);if(r)return r}return t}}const fc=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 dc(e,t){t?t={...fc,...t}:t=fc;const n=Id(t);return n.dispatch(e),n.toString()}const dx=Object.freeze(["prototype","__proto__","constructor"]);function Id(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&&!hc(o)&&(u=dx),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=Id(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:"),hc(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 Od="[native code] }",hx=Od.length;function hc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-hx)===Od}function px(e,t,n={}){return e===t||dc(e,n)===dc(t,n)}function kt(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]=kt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:kt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=kt(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=kt(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(kt(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(kt(r),kt(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(kt(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const gx={path:"/",watch:!0,decode:e=>Wr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},vs=window.cookieStore;function mx(e,t){var l;const n={...gx,...t};n.filter??(n.filter=f=>f===e);const s=pc(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=kt(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?_x(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||px(a.value,s[e])||(yx(e,a.value,n),s[e]=kt(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=pc(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,s[e]=kt(g),Pn(()=>{d=!1})};let d=!1;const c=!!ro();if(c&&ni(()=>{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&&ni(()=>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 pc(e={}){return hv(document.cookie,e)}function vx(e,t,n={}){return t==null?Tl(e,t,{...n,maxAge:-1}):Tl(e,t,n)}function yx(e,t,n={}){document.cookie=vx(e,t,n)}const gc=2147483647;function _x(e,t,n){let s,o,r=0;const i=n?Te(e):{value:e};return ro()&&ni(()=>{o==null||o(),clearTimeout(s)}),rp((a,l)=>{n&&(o=vt(i,l));function f(){r=0,clearTimeout(s);const u=t-r,h=u<gc?u:gc;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 Nd(e){return xd+" "+e}function rs(e,t,...n){const s=An(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function xx(e,t){const n=An(e);return ne(n[t])}function zn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function gt(e,t=Ta()){return(...n)=>e(t,...n)}function Md(){let e;return navigator.languages&&(e=F_(wo,navigator.languages)),e}function Ex(){const e=ss(),t=e&&e.cookieKey||T_,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),mx(t,s)}function zo(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(pr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function wx(e,t,n){n===!1||!n.useCookie||(e.value=t)}var Dd=(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))(Dd||{});const Sx={locale:""};function Fd(e,t,n=""){kd("detectBrowserLanguage");const s=ss();if(!s)return Sx;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(Sa(pr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=Md();g||(p="navigator_or_header");const E=g||v,w=E||d||"";return!E&&d&&(p="fallback"),{locale:w,from:p}}function To(){let e;return e=window.location.host,e}function bx(e,t,n){let s=To()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return Lt(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(Nd("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=ue(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(Sa(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 $d(e){var i,a,l,f,u,h;const t=yt();ge();const n=To(),s=t.public.i18n,o=wo.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(Lt(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(Nd("Could not find domain name for locale "+e))}const ss=(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 Cx(e,t,n){return{line:e,column:t,offset:n}}function qs(e,t,n){return{start:e,end:t}}const Ud={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function Tx(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 Po(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 Px(e){throw e}const en=" ",Lx="\r",at=`
|
||
`,Rx="\u2028",Ax="\u2029";function kx(e){const t=e;let n=0,s=1,o=1,r=0;const i=S=>t[S]===Lx&&t[S+1]===at,a=S=>t[S]===at,l=S=>t[S]===Ax,f=S=>t[S]===Rx,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 yn=void 0,Ix=".",mc="'",Ox="tokenizer";function Nx(e,t={}){const n=t.location!==!1,s=kx(e),o=()=>s.index(),r=()=>Cx(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 q=f();if(A.column+=N,A.offset+=N,u){const X=n?qs(q.startLoc,A):null,M=Po(R,X,{domain:Ox,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===yn)return!1;const A=R.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A===95}function w(R){if(R===yn)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(),q=w(K);return R.resetPeek(),q}function m(R,A){const{currentType:N}=A;if(N!==2)return!1;g(R);const K=R.currentPeek()===mc;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 X=R.currentPeek();return X==="{"?E(R.peek()):X==="@"||X==="%"||X==="|"||X===":"||X==="."||X===en||!X?!1:X===at?(R.peek(),K()):C(R,!1)},q=K();return R.resetPeek(),q}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=(q=!1,X="",M=!1)=>{const U=R.currentPeek();return U==="{"?X==="%"?!1:q:U==="@"||!U?X==="%"?!0:q:U==="%"?(R.peek(),N(q,"%",!0)):U==="|"?X==="%"||M?!0:!(X===en||X===at):U===en?(R.peek(),N(!0,en,M)):U===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===yn?yn: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 $(R){return O(R,F)}function B(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,B)}function G(R){const A=R.charCodeAt(0);return A>=48&&A<=57}function te(R){return O(R,G)}function de(R){const A=R.charCodeAt(0);return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102}function fe(R){return O(R,de)}function re(R){let A="",N="";for(;A=te(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 Me(R){v(R);let A="",N="";for(;A=j(R);)N+=A;return R.currentChar()===yn&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),N}function he(R){v(R);let A="";return R.currentChar()==="-"?(R.next(),A+=`-${re(R)}`):A+=re(R),R.currentChar()===yn&&h(Ee.UNTERMINATED_CLOSING_BRACE,r(),0),A}function V(R){return R!==mc&&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===yn?(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 ee(R,A,4);case"U":return ee(R,A,6);default:return h(Ee.UNKNOWN_ESCAPE_SEQUENCE,r(),0,A),""}}function ee(R,A,N){p(R,A);let K="";for(let q=0;q<N;q++){const X=fe(R);if(!X){h(Ee.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${A}${K}${R.currentChar()}`);break}K+=X}return`\\${A}${K}`}function ce(R){return R!=="{"&&R!=="}"&&R!==en&&R!==at}function xe(R){v(R);let A="",N="";for(;A=O(R,ce);)N+=A;return N}function k(R){let A="",N="";for(;A=$(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=H(R,A)||c(A),A.braceNest=0,N;default:{let q=!0,X=!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,Y(R,A);if(q=y(R,A))return N=d(A,5,Me(R)),v(R),N;if(X=_(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(!q&&!X&&!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 H(R,A){const{currentType:N}=A;let K=null;const q=R.currentChar();switch((N===8||N===9||N===12||N===10)&&(q===at||q===en)&&h(Ee.INVALID_LINKED_FORMAT,r(),0),q){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),H(R,A)):S(R,A)?(v(R),d(A,12,k(R))):T(R,A)?(v(R),q==="{"?W(R,A)||K:d(A,11,I(R))):(N===8&&h(Ee.INVALID_LINKED_FORMAT,r(),0),A.braceNest=0,A.inLinked=!1,Y(R,A))}}function Y(R,A){let N={type:14};if(A.braceNest>0)return W(R,A)||c(A);if(A.inLinked)return H(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 H(R,A)||c(A);default:{if(L(R))return N=d(A,1,D(R)),A.braceNest=0,A.inLinked=!1,N;const{isModulo:q,hasSpace:X}=P(R);if(q)return X?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()===yn?d(l,14):Y(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:f}}const Mx="parser",Dx=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fx(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"<22>"}}}function $x(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=Po(_,T,{domain:Mx,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(Tx(_,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(Dx,Fx),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,Rt(_)),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,Rt(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,Rt(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(x)),m.key=f(y,x.value||"");break;case 7:x.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(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,Rt(C)),S.items.push(l(y,C.value||""));break;case 6:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(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,Rt(C)),S.items.push(u(y,C.value||"",!!T)),T&&(r(y,Ud.USE_MODULO_SYNTAX,_.lastStartLoc,0,Rt(C)),T=null);break;case 7:C.value==null&&o(y,Ee.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Rt(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 _=Nx(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 Rt(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 Ux(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function vc(e,t){for(let n=0;n<e.length;n++)Pa(e[n],t)}function Pa(e,t){switch(e.type){case 1:vc(e.cases,t),t.helper("plural");break;case 2:vc(e.items,t);break;case 6:{Pa(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 Hx(e,t={}){const n=Ux(e);n.helper("normalize"),e.body&&Pa(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function Bx(e){const t=e.body;return t.type===2?yc(t):t.cases.forEach(n=>yc(n)),e}function yc(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=wa(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 tr(e){switch(e.t=e.type,e.type){case 0:{const t=e;tr(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++)tr(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++)tr(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;tr(t.key),t.k=t.key,delete t.key,t.modifier&&(tr(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 Vx(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 jx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),yr(e,t.key),t.modifier?(e.push(", "),yr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Wx(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&&(yr(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function Gx(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&&(yr(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function Kx(e,t){t.body?yr(e,t.body):e.push("null")}function yr(e,t){const{helper:n}=e;switch(t.type){case 0:Kx(e,t);break;case 1:Gx(e,t);break;case 2:Wx(e,t);break;case 6:jx(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 Yx=(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=Vx(e,{filename:s,breakLineCode:o,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),i.length>0&&(a.push(`const { ${wa(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),yr(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 Xx(e,t={}){const n=Ve({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=$x(n).parse(e);return s?(r&&Bx(a),o&&tr(a),{ast:a,code:""}):(Hx(a,n),Yx(a,n))}/*!
|
||
* core-base v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function qx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ea().__INTLIFY_PROD_DEVTOOLS__=!1)}function qt(e){return ue(e)&&La(e)===0&&(Nt(e,"b")||Nt(e,"body"))}const Hd=["b","body"];function Jx(e){return kn(e,Hd)}const Bd=["c","cases"];function Qx(e){return kn(e,Bd,[])}const Vd=["s","static"];function zx(e){return kn(e,Vd)}const jd=["i","items"];function Zx(e){return kn(e,jd,[])}const Wd=["t","type"];function La(e){return kn(e,Wd)}const Gd=["v","value"];function ys(e,t){const n=kn(e,Gd);if(n!=null)return n;throw Yr(t)}const Kd=["m","modifier"];function e1(e){return kn(e,Kd)}const Yd=["k","key"];function t1(e){const t=kn(e,Yd);if(t)return t;throw Yr(6)}function kn(e,t,n){for(let s=0;s<t.length;s++){const o=t[s];if(Nt(e,o)&&e[o]!=null)return e[o]}return n}const Xd=[...Hd,...Bd,...Vd,...jd,...Yd,...Kd,...Gd,...Wd];function Yr(e){return new Error(`unhandled node type: ${e}`)}const In=[];In[0]={w:[0],i:[3,0],"[":[4],o:[7]};In[1]={w:[1],".":[2],"[":[4],o:[7]};In[2]={w:[2],i:[3,0],0:[3,0]};In[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};In[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};In[5]={"'":[4,0],o:8,l:[5,0]};In[6]={'"':[4,0],o:8,l:[6,0]};const n1=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function r1(e){return n1.test(e)}function s1(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 o1(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 i1(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:r1(t)?s1(t):"*"+t}function a1(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=i1(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=o1(r),h=In[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 _c=new Map;function l1(e,t){return ue(e)?e[t]:null}function c1(e,t){if(!ue(e))return null;let n=_c.get(t);if(n||(n=a1(t),n&&_c.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=n[r];if(Xd.includes(i)&&qt(o))return null;const a=o[i];if(a===void 0||Ce(o))return null;o=a,r++}return o}const u1=e=>e,f1=e=>"",d1="text",h1=e=>e.length===0?"":wa(e),p1=w_;function xc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function g1(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 m1(e,t){t.count||(t.count=e),t.n||(t.n=e)}function v1(e={}){const t=e.locale,n=g1(e),s=ue(e.pluralRules)&&Z(t)&&Ce(e.pluralRules[t])?e.pluralRules[t]:xc,o=ue(e.pluralRules)&&Z(t)&&Ce(e.pluralRules[t])?xc:void 0,r=E=>E[s(n,E.length,o)],i=e.list||[],a=E=>i[E],l=e.named||Re();We(e.pluralIndex)&&m1(n,l);const f=E=>l[E];function u(E){const w=Ce(e.messages)?e.messages(E):ue(e.messages)?e.messages[E]:!1;return w||(e.parent?e.parent.message(E):f1)}const h=E=>e.modifiers?e.modifiers[E]:u1,d=pe(e.processor)&&Ce(e.processor.normalize)?e.processor.normalize:h1,c=pe(e.processor)&&Ce(e.processor.interpolate)?e.processor.interpolate:p1,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:d1,v={list:a,named:f,plural:r,linked:(E,...w)=>{const[y,_]=w;let m="text",x="";w.length===1?ue(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"&&Be(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 Xr=null;function y1(e){Xr=e}function _1(e,t,n){Xr&&Xr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const x1=E1("function:translate");function E1(e){return t=>Xr&&Xr.emit(e,t)}const w1=Ud.__EXTEND_POINT__,Fn=Eo(w1),S1={FALLBACK_TO_TRANSLATE:Fn(),CANNOT_FORMAT_NUMBER:Fn(),FALLBACK_TO_NUMBER_FORMAT:Fn(),CANNOT_FORMAT_DATE:Fn(),FALLBACK_TO_DATE_FORMAT:Fn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Fn(),__EXTEND_POINT__:Fn()},qd=Ee.__EXTEND_POINT__,$n=Eo(qd),Yt={INVALID_ARGUMENT:qd,INVALID_DATE_ARGUMENT:$n(),INVALID_ISO_DATE_ARGUMENT:$n(),NOT_SUPPORT_NON_STRING_MESSAGE:$n(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:$n(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:$n(),NOT_SUPPORT_LOCALE_TYPE:$n(),__EXTEND_POINT__:$n()};function cn(e){return Po(e,null,void 0)}function Ra(e,t){return t.locale!=null?Ec(t.locale):Ec(e.locale)}let Zo;function Ec(e){if(Z(e))return e;if(Ce(e)){if(e.resolvedOnce&&Zo!=null)return Zo;if(e.constructor.name==="Function"){const t=e();if(E_(t))throw cn(Yt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Zo=t}else throw cn(Yt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw cn(Yt.NOT_SUPPORT_LOCALE_TYPE)}function b1(e,t,n){return[...new Set([n,...Be(t)?t:ue(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Jd(e,t,n){const s=Z(n)?n:Js,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;Be(i);)i=wc(r,i,t);const a=Be(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,Be(i)&&wc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function wc(e,t,n){let s=!0;for(let o=0;o<t.length&&De(s);o++){const r=t[o];Z(r)&&(s=C1(e,t[o],n))}return s}function C1(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=T1(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function T1(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),(Be(n)||pe(n))&&n[o]&&(s=n[o])}return s}const P1="9.14.5",Lo=-1,Js="en-US",Sc="",bc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function L1(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?bc(e):t==="vnode"&&ue(e)&&"__v_isVNode"in e?bc(e.children):e}}let Qd;function R1(e){Qd=e}let zd;function A1(e){zd=e}let Zd;function k1(e){Zd=e}let eh=null;const I1=e=>{eh=e},O1=()=>eh;let th=null;const Cc=e=>{th=e},N1=()=>th;let Tc=0;function M1(e={}){const t=Ce(e.onWarn)?e.onWarn:h_,n=Z(e.version)?e.version:P1,s=Z(e.locale)||Ce(e.locale)?e.locale:Js,o=Ce(s)?Js:s,r=Be(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:ei(o),a=pe(e.datetimeFormats)?e.datetimeFormats:ei(o),l=pe(e.numberFormats)?e.numberFormats:ei(o),f=Ve(Re(),e.modifiers,L1()),u=e.pluralRules||Re(),h=Ce(e.missing)?e.missing:null,d=De(e.missingWarn)||Ks(e.missingWarn)?e.missingWarn:!0,c=De(e.fallbackWarn)||Ks(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=De(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=Ce(e.messageCompiler)?e.messageCompiler:Qd,m=Ce(e.messageResolver)?e.messageResolver:zd||l1,x=Ce(e.localeFallbacker)?e.localeFallbacker:Zd||b1,S=ue(e.fallbackContext)?e.fallbackContext:void 0,b=e,T=ue(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,L=ue(b.__numberFormatters)?b.__numberFormatters:new Map,P=ue(b.__meta)?b.__meta:{};Tc++;const C={version:n,cid:Tc,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__&&_1(C,n,P),C}const ei=e=>({[e]:Re()});function Aa(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 Cr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function D1(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function F1(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(D1(e,t[s]))return!0;return!1}function ti(e){return n=>$1(n,e)}function $1(e,t){const n=Jx(t);if(n==null)throw Yr(0);if(La(n)===1){const r=Qx(n);return e.plural(r.reduce((i,a)=>[...i,Pc(e,a)],[]))}else return Pc(e,n)}function Pc(e,t){const n=zx(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=Zx(t).reduce((o,r)=>[...o,Vi(e,r)],[]);return e.normalize(s)}}function Vi(e,t){const n=La(t);switch(n){case 3:return ys(t,n);case 9:return ys(t,n);case 4:{const s=t;if(Nt(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(Nt(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw Yr(n)}case 5:{const s=t;if(Nt(s,"i")&&We(s.i))return e.interpolate(e.list(s.i));if(Nt(s,"index")&&We(s.index))return e.interpolate(e.list(s.index));throw Yr(n)}case 6:{const s=t,o=e1(s),r=t1(s);return e.linked(Vi(e,r),o?Vi(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 U1=e=>e;let _s=Re();function H1(e,t={}){let n=!1;const s=t.onError||Px;return t.onError=o=>{n=!0,s(o)},{...Xx(e,t),detectError:n}}function B1(e,t){if(Z(e)){De(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||U1)(e),o=_s[s];if(o)return o;const{ast:r,detectError:i}=H1(e,{...t,location:!1,jit:!0}),a=ti(r);return i?a:_s[s]=a}else{const n=e.cacheKey;if(n){const s=_s[n];return s||(_s[n]=ti(e))}else return ti(e)}}const Lc=()=>"",Ct=e=>Ce(e);function Rc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=ji(...t),u=De(f.missingWarn)?f.missingWarn:e.missingWarn,h=De(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=De(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Z(f.default)||De(f.default)?De(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=Ra(e,f);d&&V1(f);let[E,w,y]=c?[l,v,a[v]||Re()]:nh(e,l,v,i,h,u),_=E,m=l;if(!c&&!(Z(_)||qt(_)||Ct(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||qt(_)||Ct(_))||!Z(w)))return o?Lo:l;let x=!1;const S=()=>{x=!0},b=Ct(_)?_:rh(e,l,w,_,m,S);if(x)return _;const T=G1(e,w,y,f),L=v1(T),P=j1(e,b,L);let C=s?s(P,l):P;if(d&&Z(C)&&(C=y_(C)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:Ct(_)?_.key:"",locale:w||(Ct(_)?_.locale:""),format:Z(_)?_:Ct(_)?_.source:"",message:C};O.meta=Ve({},e.__meta,O1()||{}),x1(O)}return C}function V1(e){Be(e.list)?e.list=e.list.map(t=>Z(t)?tc(t):t):ue(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=tc(e.named[t]))})}function nh(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)||Ct(c)));g++)if(!F1(d,u)){const v=Aa(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function rh(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Ct(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,W1(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function j1(e,t,n){return t(n)}function ji(...e){const[t,n,s]=e,o=Re();if(!Z(t)&&!We(t)&&!Ct(t)&&!qt(t))throw cn(Yt.INVALID_ARGUMENT);const r=We(t)?String(t):(Ct(t),t);return We(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!xo(n)?o.named=n:Be(n)&&(o.list=n),We(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&Ve(o,s),[r,o]}function W1(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>p_(t,n,i)}}function G1(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]=nh(u,c,t,a,l,f);p=i(g,c)}if(Z(p)||qt(p)){let g=!1;const E=rh(e,c,t,p,c,()=>{g=!0});return g?Lc:E}else return Ct(p)?p:Lc}};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 Ac(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=Wi(...t),d=De(u.missingWarn)?u.missingWarn:e.missingWarn;De(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Ra(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++)Aa(e,l,E,d,y);if(!pe(w)||!Z(E))return s?Lo:l;let _=`${E}__${l}`;xo(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 sh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Wi(...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(m_(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=>{sh.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 kc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Ic(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=Gi(...t),d=De(u.missingWarn)?u.missingWarn:e.missingWarn;De(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Ra(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++)Aa(e,l,E,d,y);if(!pe(w)||!Z(E))return s?Lo:l;let _=`${E}__${l}`;xo(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 oh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Gi(...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=>{oh.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.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}qx();/*!
|
||
* vue-i18n v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const K1="9.14.5";function Y1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ea().__INTLIFY_PROD_DEVTOOLS__=!1)}const X1=S1.__EXTEND_POINT__,tn=Eo(X1);tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn(),tn();const ih=Yt.__EXTEND_POINT__,dt=Eo(ih),Tt={UNEXPECTED_RETURN_TYPE:ih,INVALID_ARGUMENT:dt(),MUST_BE_CALL_SETUP_TOP:dt(),NOT_INSTALLED:dt(),NOT_AVAILABLE_IN_LEGACY_MODE:dt(),REQUIRED_VALUE:dt(),INVALID_VALUE:dt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:dt(),NOT_INSTALLED_WITH_PROVIDE:dt(),UNEXPECTED_ERROR:dt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:dt(),BRIDGE_SUPPORT_VUE_2_ONLY:dt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:dt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:dt(),__EXTEND_POINT__:dt()};function Ut(e,...t){return Po(e,null,void 0)}const Ki=Rn("__translateVNode"),Yi=Rn("__datetimeParts"),Xi=Rn("__numberParts"),q1=Rn("__setPluralRules"),J1=Rn("__injectWithOption"),qi=Rn("__dispose");function qr(e){if(!ue(e)||qt(e))return e;for(const t in e)if(Nt(e,t))if(!t.includes("."))ue(e[t])&&qr(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()),!ue(o[n[i]])){r=!0;break}o=o[n[i]]}if(r||(qt(o)?Xd.includes(n[s])||delete e[t]:(o[n[s]]=e[t],delete e[t])),!qt(o)){const i=o[n[s]];ue(i)&&qr(i)}}return e}function ah(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:Be(s)?Re():{[e]:Re()};if(Be(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||Re(),Wn(f,i[l])):Wn(f,i)}else Z(a)&&Wn(JSON.parse(a),i)}),o==null&&r)for(const a in i)Nt(i,a)&&qr(i[a]);return i}function lh(e){return e.type}function Q1(e,t,n){let s=ue(t.messages)?t.messages:Re();"__i18nGlobal"in n&&(s=ah(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(ue(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ue(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Nc(e){return Ne(Cn,null,e,0)}const Mc="__INTLIFY_META__",Dc=()=>[],z1=()=>!1;let Fc=0;function $c(e){return((t,n,s,o)=>e(n,s,gn()||void 0,o))}const Z1=()=>{const e=gn();let t=null;return e&&(t=lh(e)[Mc])?{[Mc]:t}:null};function ch(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Gs?Te:cr,a=!!e.translateExistCompatible;let l=De(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Js),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||Be(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(ah(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:De(e.missingWarn)||Ks(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:De(e.fallbackWarn)||Ks(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:De(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,w=Ce(e.missing)?e.missing:null,y=Ce(e.missing)?$c(e.missing):null,_=Ce(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:De(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&&Cc(null);const M={version:K1,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 U=M1(M);return o&&Cc(U),U})(),Cr(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,Cr(T,f.value,M)}}),F=me(()=>h.value),$=me(()=>d.value),B=me(()=>c.value);function j(){return Ce(_)?_:null}function G(M){_=M,T.postTranslation=M}function te(){return w}function de(M){M!==null&&(y=$c(M)),w=M,T.missing=y}const fe=(M,U,se,ae,Le,Ie)=>{P();let Xe;try{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=n?N1():void 0),Xe=M(T)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(se!=="translate exists"&&We(Xe)&&Xe===Lo||se==="translate exists"&&!Xe){const[ot,Xn]=U();return n&&v?ae(n):Le(ot)}else{if(Ie(Xe))return Xe;throw Ut(Tt.UNEXPECTED_RETURN_TYPE)}};function re(...M){return fe(U=>Reflect.apply(Rc,null,[U,...M]),()=>ji(...M),"translate",U=>Reflect.apply(U.t,U,[...M]),U=>U,U=>Z(U))}function Pe(...M){const[U,se,ae]=M;if(ae&&!ue(ae))throw Ut(Tt.INVALID_ARGUMENT);return re(U,se,Ve({resolvedMessage:!0},ae||{}))}function _e(...M){return fe(U=>Reflect.apply(Ac,null,[U,...M]),()=>Wi(...M),"datetime format",U=>Reflect.apply(U.d,U,[...M]),()=>Sc,U=>Z(U))}function Me(...M){return fe(U=>Reflect.apply(Ic,null,[U,...M]),()=>Gi(...M),"number format",U=>Reflect.apply(U.n,U,[...M]),()=>Sc,U=>Z(U))}function he(M){return M.map(U=>Z(U)||We(U)||De(U)?Nc(String(U)):U)}const J={normalize:he,interpolate:M=>M,type:"vnode"};function z(...M){return fe(U=>{let se;const ae=U;try{ae.processor=J,se=Reflect.apply(Rc,null,[ae,...M])}finally{ae.processor=null}return se},()=>ji(...M),"translate",U=>U[Ki](...M),U=>[Nc(U)],U=>Be(U))}function ee(...M){return fe(U=>Reflect.apply(Ic,null,[U,...M]),()=>Gi(...M),"number format",U=>U[Xi](...M),Dc,U=>Z(U)||Be(U))}function ce(...M){return fe(U=>Reflect.apply(Ac,null,[U,...M]),()=>Wi(...M),"datetime format",U=>U[Yi](...M),Dc,U=>Z(U)||Be(U))}function xe(M){b=M,T.pluralRules=b}function k(M,U){return fe(()=>{if(!M)return!1;const se=Z(U)?U:f.value,ae=W(se),Le=T.messageResolver(ae,M);return a?Le!=null:qt(Le)||Ct(Le)||Z(Le)},()=>[M],"translate exists",se=>Reflect.apply(se.te,se,[M,U]),z1,se=>De(se))}function I(M){let U=null;const se=Jd(T,u.value,f.value);for(let ae=0;ae<se.length;ae++){const Le=h.value[se[ae]]||{},Ie=T.messageResolver(Le,M);if(Ie!=null){U=Ie;break}}return U}function D(M){const U=I(M);return U??(n?n.tm(M)||{}:{})}function W(M){return h.value[M]||{}}function H(M,U){if(r){const se={[M]:U};for(const ae in se)Nt(se,ae)&&qr(se[ae]);U=se[M]}h.value[M]=U,T.messages=h.value}function Y(M,U){h.value[M]=h.value[M]||{};const se={[M]:U};if(r)for(const ae in se)Nt(se,ae)&&qr(se[ae]);U=se[M],Wn(U,h.value[M]),T.messages=h.value}function Q(M){return d.value[M]||{}}function R(M,U){d.value[M]=U,T.datetimeFormats=d.value,kc(T,M,U)}function A(M,U){d.value[M]=Ve(d.value[M]||{},U),T.datetimeFormats=d.value,kc(T,M,U)}function N(M){return c.value[M]||{}}function K(M,U){c.value[M]=U,T.numberFormats=c.value,Oc(T,M,U)}function q(M,U){c.value[M]=Ve(c.value[M]||{},U),T.numberFormats=c.value,Oc(T,M,U)}Fc++,n&&Gs&&(vt(n.locale,M=>{l&&(f.value=M,T.locale=M,Cr(T,f.value,u.value))}),vt(n.fallbackLocale,M=>{l&&(u.value=M,T.fallbackLocale=M,Cr(T,f.value,u.value))}));const X={id:Fc,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,Cr(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:re,getLocaleMessage:W,setLocaleMessage:H,mergeLocaleMessage:Y,getPostTranslationHandler:j,setPostTranslationHandler:G,getMissingHandler:te,setMissingHandler:de,[q1]:xe};return X.datetimeFormats=$,X.numberFormats=B,X.rt=Pe,X.te=k,X.tm=D,X.d=_e,X.n=Me,X.getDateTimeFormat=Q,X.setDateTimeFormat=R,X.mergeDateTimeFormat=A,X.getNumberFormat=N,X.setNumberFormat=K,X.mergeNumberFormat=q,X[J1]=s,X[Ki]=z,X[Yi]=ce,X[Xi]=ee,X}const ka={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function eE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===qe?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},Re())}function uh(e){return qe}const tE=et({name:"i18n-t",props:Ve({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>We(e)||!isNaN(e)}},ka),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||Ro({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i=Re();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=eE(t,r),l=o[Ki](e.keypath,a,i),f=Ve(Re(),s),u=Z(e.tag)||ue(e.tag)?e.tag:uh();return Je(u,f,l)}}}),Uc=tE;function nE(e){return Be(e)&&!Z(e[0])}function fh(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:ue(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];Be(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 nE(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(f=[l]);const u=Ve(Re(),r),h=Z(e.tag)||ue(e.tag)?e.tag:uh();return Je(h,u,f)}}const rE=et({name:"i18n-n",props:Ve({value:{type:Number,required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||Ro({useScope:e.scope,__useComponent:!0});return fh(e,t,oh,(...s)=>n[Xi](...s))}}),Hc=rE,sE=et({name:"i18n-d",props:Ve({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||Ro({useScope:e.scope,__useComponent:!0});return fh(e,t,sh,(...s)=>n[Yi](...s))}}),Bc=sE;function oE(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 iE(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Ut(Tt.UNEXPECTED_ERROR);const u=oE(e,a.$),h=Vc(f);return[Reflect.apply(u.t,u,[...jc(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);Gs&&e.global===f&&(i.__i18nWatcher=vt(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{Gs&&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=Vc(a);i.textContent=Reflect.apply(l.t,l,[...jc(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Vc(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Ut(Tt.REQUIRED_VALUE,"path");return e}else throw Ut(Tt.INVALID_VALUE)}function jc(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 aE(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(De(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":Uc.name,"I18nT"].forEach(i=>e.component(i,Uc)),[Hc.name,"I18nN"].forEach(i=>e.component(i,Hc)),[Bc.name,"I18nD"].forEach(i=>e.component(i,Bc))),e.directive("t",iE(t))}const lE=Rn("global-vue-i18n");function cE(e={},t){const n=De(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=uE(e),a=Rn("");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=yE(d,h.global)),aE(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 Ro(e={}){const t=gn();if(t==null)throw Ut(Tt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ut(Tt.NOT_INSTALLED);const n=fE(t),s=hE(n),o=lh(t),r=dE(e,o);if(r==="global")return Q1(s,e,o),s;if(r==="parent"){let l=pE(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=ch(l),i.__composerExtend&&(a[qi]=i.__composerExtend(a)),mE(i,t,a),i.__setInstance(t,a)}return a}function uE(e,t,n){const s=ea();{const o=s.run(()=>ch(e));if(o==null)throw Ut(Tt.UNEXPECTED_ERROR);return[s,o]}}function fE(e){{const t=st(e.isCE?lE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ut(e.isCE?Tt.NOT_INSTALLED_WITH_PROVIDE:Tt.UNEXPECTED_ERROR);return t}}function dE(e,t){return xo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function hE(e){return e.mode==="composition"?e.global:e.global.__composer}function pE(e,t,n=!1){let s=null;const o=t.root;let r=gE(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 gE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function mE(e,t,n){Pt(()=>{},t),la(()=>{const s=n;e.__deleteInstance(t);const o=s[qi];o&&(o(),delete s[qi])},t)}const vE=["locale","fallbackLocale","availableLocales"],Wc=["t","rt","d","n","tm","te"];function yE(e,t){const n=Object.create(null);return vE.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Ut(Tt.UNEXPECTED_ERROR);const i=Fe(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Wc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Ut(Tt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Wc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Y1();R1(B1);A1(c1);k1(Jd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ea();e.__INTLIFY__=!0,y1(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function _E(){return gt(bo)}function xE(){return gt(vr)}const EE=Ht({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=xE(),n=new RegExp([`<!--${rc}-\\[(\\w+)\\]-->`,".+?",`<!--/${rc}-->`].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 wE(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=ea(),a=e.install;return e.install=(l,...f)=>{const u=CE(f[0])?Ve({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=gr(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=>{Gc(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=gr(e);i.run(()=>{SE(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&Ed(e.global)&&Gc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&bE(p,d,o.onExtendExportedGlobal),u.inject){const g=Ta(e);l.mixin({methods:{getRouteBaseName:gt(mr,g),resolveRoute:gt(Co,g),localePath:gt(bo,g),localeRoute:gt(ba,g),localeLocation:gt(Y_,g),switchLocalePath:gt(vr,g),localeHead:gt(Cd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function SE(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),P_?vt(e.locale,()=>{l.value=oc(o,r)},{immediate:!0}):l.value=oc(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function dh(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 bE(e,t,n){dh(t,e,n)}function Gc(e,t){const n=gr(e);dh(n,e,t)}function CE(e){return ue(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const TE=Ht({name:"i18n:plugin",parallel:b_,async setup(e){let t,n;const s=po(),{vueApp:o}=e,r=e,i=To(),{configLocales:a,defaultLocale:l,multiDomainLocales:f,strategy:u}=r.$config.public.i18n,h=a.some(P=>typeof P!="string"&&Array.isArray(P.defaultForDomains));let d;if(l)d=l;else if(h){const P=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));d=(P==null?void 0:P.code)??""}else d="";if(f&&(u==="prefix_except_default"||u==="prefix_and_default")){const P=Ze();P.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)P.removeRoute(C.name);else{const $=C.name.toString().replace("___default","");C.name=$}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=fx();const p=ss(),g=([t,n]=Ot(()=>$_(S_,ge())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=Ld(),E=P=>P||g.locale||"en-US",w=Ex();let y=lc(s,v,E(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:zo(w,p,c.defaultLocale)},c);g.messages=([t,n]=Ot(()=>U_(g.messages,Ys,{localeCodes:pr,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=E(y);const _=cE({...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=Fd(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:P},y);nx(_,C.locale),S=!1})}wE(_,{locales:c.configLocales,localeCodes:pr,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(P){P.strategy=c.strategy,P.localeProperties=me(()=>wo.find(C=>C.code===P.locale.value)||{code:P.locale.value}),P.setLocale=async C=>{const O=x(C);await ac(C,_,c,O)&&O&&(m=!1);const $=await r.runWithContext(()=>cc({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await uc({nuxtApp:r,i18n:_,redirectPath:$,locale:C,route:s},{enableNavigate:!0}))},P.loadLocaleMessages=async C=>{await Xs(C,Ys,(F,$)=>Ad(_,F,$))},P.differentDomains=c.differentDomains,P.defaultLocale=c.defaultLocale,P.getBrowserLocale=()=>Md(),P.getLocaleCookie=()=>zo(w,p,c.defaultLocale),P.setLocaleCookie=C=>wx(w,C,p),P.onBeforeLanguageSwitch=(C,O,F,$)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:F,context:$}),P.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),P.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(wd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},P.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}},onExtendVueI18n(P){return{strategy:{get(){return P.strategy}},localeProperties:{get(){return P.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(P.setLocale,P,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(P.loadLocaleMessages,P,[C])}},differentDomains:{get(){return P.differentDomains}},defaultLocale:{get(){return P.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(P.getBrowserLocale,P,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(P.getLocaleCookie,P,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(P.setLocaleCookie,P,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(P.onBeforeLanguageSwitch,P,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(P.onLanguageSwitched,P,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(P.finalizePendingLocaleChange,P,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(P.waitForPendingLocaleChange,P,[])}}}}}});const T={__composerExtend:P=>{const C=gr(_);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),lx(r,_);let L=0;Sv("locale-changing",async(P,C)=>{let O,F;const $=lc(P,v,()=>So(_)||E(c.defaultLocale),{ssg:b()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:zo(w,p,c.defaultLocale)},c),B=x($);([O,F]=Ot(()=>ac($,_,c,B)),O=await O,F(),O)&&B&&(m=!1);const G=([O,F]=Ot(()=>r.runWithContext(()=>cc({route:{to:P,from:C},targetLocale:$,routeLocaleGetter:c.strategy==="no_prefix"?()=>$:v,calledWithRouting:!0}))),O=await O,F(),O);return L++,[O,F]=Ot(()=>r.runWithContext(async()=>uc({nuxtApp:r,i18n:_,redirectPath:G,locale:$,route:P}))),O=await O,F(),O},{global:!0})}}),PE=[Ny,Dy,s_,i_,a_,l_,u_,f_,d_,EE,TE],LE=et({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 bn(ns,ln(s)),()=>Je(e.vnode,{ref:e.vnodeRef})}}),RE=et({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(ns,null);let a;s({pageRef:r});const l=st(Wf,null);let f;const u=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",u);Ze().beforeEach(d)}e.pageKey&&vt(()=>e.pageKey,(d,c)=>{d!==c&&o.callHook("page:loading:start")});let h=!1;return()=>Je(md,{name:e.name,route:e.route,...t},{default:d=>{const c=kE(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=Ui(d,e.pageKey);!o.isHydrating&&!IE(i,d.route,d.Component)&&a===g&&(o.callHook("page:loading:end"),h=!0),a=g;const v=!!(e.transition??d.route.meta.pageTransition??Ci),E=v&&AE([e.transition,d.route.meta.pageTransition,Ci,{onAfterLeave:()=>{o.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),w=e.keepalive??d.route.meta.keepalive??tv;return f=vd(v&&E,Y0(w,Je(fa,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{Pn(()=>o.callHook("page:finish",d.Component).then(()=>{if(!h)return o.callHook("page:loading:end");h=!1}).finally(u))}},{default:()=>{const y=Je(LE,{key:g||void 0,vnode:n.default?Je(qe,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 AE(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?xa(n.onAfterLeave):void 0}));return Vf(...t)}function kE(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&&Ui({route:t,Component:n})!==Ui({route:e,Component:n})}function IE(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 OE=et({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Je(wn[e.name],e.layoutProps,t.slots)}}),NE=et({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(ns),o=s===po()?V0():s,r=me(()=>{let l=ne(e.name)??o.meta.layout??"default";return l&&!(l in wn)&&e.fallback&&(l=ne(e.fallback)),l}),i=Te();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Ze().beforeEach(l)}return()=>{const l=r.value&&r.value in wn,f=o.meta.layoutTransition??ev;return vd(l&&f,{default:()=>Je(fa,{suspensible:!0,onResolve:()=>{Pn(a)}},{default:()=>Je(ME,{layoutProps:xf(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),ME=et({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&&bn(Wf,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in wn)?(o=(s=t.slots).default)==null?void 0:o.call(s):Je(OE,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),DE=Symbol.for("nuxt:client-only"),Ao=et({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Te(!1);return Pt(()=>{s.value=!0}),bn(DE,!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 ft(a,n,i)}}});var Kc=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 FE=Cs.exports,Yc;function $E(){return Yc||(Yc=1,(function(e,t){(function(s,o){e.exports=o()})(FE,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 Kc<"u"&&(i=Kc.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],$=F.x,B=F.y,j=E*$+w*B,G=y*$+_*B,te=j,de=G;for(O=1;O<g;O+=1)P=d[O].x*$+d[O].y*B,P>te?te=P:P<j&&(j=P);for(O=1;O<v;O+=1)P=c[O].x*$+c[O].y*B,P>de?de=P:P<G&&(G=P);if(T=te-G,L=de-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,$,B,j,G;if(T>0){var te=a.create();B=a.div(_,m),G=a.sub(g&&a.sub(g.position,g.positionPrev)||te,p&&a.sub(p.position,p.positionPrev)||te),j=a.dot(B,G)}p&&!p.isStatic&&($=p.inverseMass/P,p.constraintImpulse.x-=L.x*$,p.constraintImpulse.y-=L.y*$,p.position.x-=L.x*$,p.position.y-=L.y*$,T>0&&(p.positionPrev.x-=T*B.x*j*$,p.positionPrev.y-=T*B.y*j*$),F=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=F,p.angle-=F),g&&!g.isStatic&&($=g.inverseMass/P,g.constraintImpulse.x+=L.x*$,g.constraintImpulse.y+=L.y*$,g.position.x+=L.x*$,g.position.y+=L.y*$,T>0&&(g.positionPrev.x+=T*B.x*j*$,g.positionPrev.y+=T*B.y*j*$),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 $=T.map(function(he){return[he.x,he.y]});y.makeCCW($),v!==!1&&y.removeCollinearPoints($,v),w!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints($,w);var B=y.quickDecomp($);for(L=0;L<B.length;L++){var j=B[L],G=j.map(function(he){return{x:he[0],y:he[1]}});E>0&&i.area(G)<E||x.push({position:i.centre(G),vertices:G})}}for(L=0;L<x.length;L++)x[L]=l.create(a.extend(x[L],p));if(g){var te=5;for(L=0;L<x.length;L++){var de=x[L];for(P=L+1;P<x.length;P++){var fe=x[P];if(f.overlaps(de.bounds,fe.bounds)){var re=de.vertices,Pe=fe.vertices;for(C=0;C<de.vertices.length;C++)for(F=0;F<fe.vertices.length;F++){var _e=u.magnitudeSquared(u.sub(re[(C+1)%re.length],Pe[F])),Me=u.magnitudeSquared(u.sub(re[C],Pe[(F+1)%Pe.length]));_e<te&&Me<te&&(re[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,$=O;$<S;$++)for(var B=E.parts[$],w=B.bounds,j=F;j<P;j++){var G=T.parts[j],L=G.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(B,G,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,$=b.tangent.x,B=b.tangent.y,j=S.activeContacts,G=j.length,te=1/G,de=T.inverseMass+L.inverseMass,fe=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<G;x++){var re=j[x],Pe=re.vertex,_e=Pe.x-T.position.x,Me=Pe.y-T.position.y,he=Pe.x-L.position.x,V=Pe.y-L.position.y,J=P.x-Me*T.angularVelocity,z=P.y+_e*T.angularVelocity,ee=C.x-V*L.angularVelocity,ce=C.y+he*L.angularVelocity,xe=J-ee,k=z-ce,I=O*xe+F*k,D=$*xe+B*k,W=S.separation+I,H=Math.min(W,1);H=W<0?0:H;var Y=H*fe;D<-Y||D>Y?(_=D>0?D:-D,y=S.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=E);var Q=_e*F-Me*O,R=he*F-V*O,A=te/(de+T.inverseInertia*Q*Q+L.inverseInertia*R*R),N=(1+S.restitution)*I*A;if(y*=A,I<p)re.normalImpulse=0;else{var K=re.normalImpulse;re.normalImpulse+=N,re.normalImpulse>0&&(re.normalImpulse=0),N=re.normalImpulse-K}if(D<-g||D>g)re.tangentImpulse=0;else{var q=re.tangentImpulse;re.tangentImpulse+=y,re.tangentImpulse<-_&&(re.tangentImpulse=-_),re.tangentImpulse>_&&(re.tangentImpulse=_),y=re.tangentImpulse-q}var X=O*N+$*y,M=F*N+B*y;T.isStatic||T.isSleeping||(T.positionPrev.x+=X*T.inverseMass,T.positionPrev.y+=M*T.inverseMass,T.anglePrev+=(_e*M-Me*X)*T.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=X*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(he*M-V*X)*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,$=T.max.y-T.min.y+2*S.y,B=m.canvas.height,j=m.canvas.width,G=j/B,te=F/$,de=1,fe=1;te>G?fe=te/G:de=G/te,m.options.hasBounds=!0,m.bounds.min.x=T.min.x,m.bounds.max.x=T.min.x+F*de,m.bounds.min.y=T.min.y,m.bounds.max.y=T.min.y+$*fe,b&&(m.bounds.min.x+=F*.5-F*de*.5,m.bounds.max.x+=F*.5-F*de*.5,m.bounds.min.y+=$*.5-$*fe*.5,m.bounds.max.y+=$*.5-$*fe*.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),$=l.allConstraints(T),B=C.wireframes?C.wireframeBackground:C.background,j=[],G=[],te,de={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",de),m.currentBackground!==B&&_(m,B),P.globalCompositeOperation="source-in",P.fillStyle="transparent",P.fillRect(0,0,L.width,L.height),P.globalCompositeOperation="source-over",C.hasBounds){for(te=0;te<F.length;te++){var fe=F[te];f.overlaps(fe.bounds,m.bounds)&&j.push(fe)}for(te=0;te<$.length;te++){var re=$[te],Pe=re.bodyA,_e=re.bodyB,Me=re.pointA,he=re.pointB;Pe&&(Me=h.add(Pe.position,re.pointA)),_e&&(he=h.add(_e.position,re.pointB)),!(!Me||!he)&&(f.contains(m.bounds,Me)||f.contains(m.bounds,he))&&G.push(re)}r.startViewTransform(m),m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),d.setOffset(m.mouse,m.bounds.min))}else G=$,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(G,P),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",de),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,$=0,B=0;B<L.length;B+=1)P+=L[B].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,$,C*5.5,O),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var G in j){var te=j[G];x.fillStyle="#aaa",x.fillText(G,F+C,$+8),x.fillStyle="#eee",x.fillText(te,F+C,$+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,$=v(T),B=v(L),j=v(C),G=v(O),te=v(P),de=te/$||0,fe=1e3/$||0,re=4,Pe=12,_e=60,Me=34,he=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Pe*4+_e*5+22,Me),r.status(x,he,V,_e,re,T.length,Math.round(fe)+" fps",fe/r._goodFps,function(J){return T[J]/$-1}),r.status(x,he+Pe+_e,V,_e,re,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,re,O.length,G.toFixed(2)+" ut",1-G/r._goodFps,function(J){return O[J]/G-1}),r.status(x,he+(Pe+_e)*3,V,_e,re,L.length,B.toFixed(2)+" rt",1-B/r._goodFps,function(J){return L[J]/B-1}),r.status(x,he+(Pe+_e)*4,V,_e,re,P.length,de.toFixed(2)+" x",de*de*de,function(J){return(P[J]/T[J]/de||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),$=h.perp(h.normalise(F)),B=Math.ceil(a.clamp(T.length/5,12,20)),j,G=1;G<B;G+=1)j=G%2===0?1:-1,S.lineTo(C.x+F.x*(G/B)+$.x*j*4,C.y+F.y*(G/B)+$.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 $=C.render.sprite,B=y(m,$.texture);b.translate(C.position.x,C.position.y),b.rotate(C.angle),b.drawImage(B,B.width*-$.xOffset*$.xScale,B.height*-$.yOffset*$.yScale,B.width*$.xScale,B.height*$.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],$=F.parts;if(F.render.visible)if(T.showAxes)for(C=$.length>1?1:0;C<$.length;C++)for(L=$[C],O=0;O<L.axes.length;O++){var B=L.axes[O];b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+B.x*20,L.position.y+B.y*20)}else for(C=$.length>1?1:0;C<$.length;C++)for(L=$[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],$=F.vertex;b.rect($.x-1.5,$.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 B=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(B=(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(B-P.normal.x*8,j-P.normal.y*8):b.moveTo(B+P.normal.x*8,j+P.normal.y*8),b.lineTo(B,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 $=1;!O.isStatic&&!C.isStatic&&($=.5),O.isStatic&&($=0),b.moveTo(O.position.x,O.position.y),b.lineTo(O.position.x-P.penetration.x*$,O.position.y-P.penetration.y*$),$=1,!O.isStatic&&!C.isStatic&&($=.5),C.isStatic&&($=0),b.moveTo(C.position.x,C.position.y),b.lineTo(C.position.x+P.penetration.x*$,C.position.y+P.penetration.y*$)}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 $=0;$<S.length;$++){var B=S[$].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),B.type){case"body":L=B.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=B.pointA;B.bodyA&&(j=B.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 $={x:_+P,y:m+C};(F||!E)&&(E=$),y.push($),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=$E();const hh=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href;function Xc(){return localStorage.getItem("cookie")==null}function UE(){localStorage.setItem("cookie","accept")}function HE(){localStorage.setItem("cookie","refuse")}const ph=["cookie","future","change-something"];function BE(e){if(!ph.includes(e))return;let t=new Set(JSON.parse(localStorage.getItem("eastereggs")??"[]"));const n=!t.has(e);t.add(e),localStorage.setItem("eastereggs",JSON.stringify([...t])),n&&document.dispatchEvent(new CustomEvent("easteregg",{detail:e}))}function Ia(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function qc(){return Ia().length}function VE(){return ph.length}function iS(e){return e[Math.floor(Math.random()*e.length)]}function gh(e,t){return Math.random()*(t-e)+e}function jE(e,t){return Math.floor(gh(e,t))}const WE={key:0,class:"w-full h-full","data-nosnippet":""},GE=["width","height"],KE={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"},YE={class:"text-sm"},XE={class:"text-xs"},qE={class:"flex justify-end mt-2 text-sm"},JE=et({__name:"Cookie",setup(e){const t=Te(null),n=Te(null),s=Te(!0),o=Te(0),r=Te(0);let i=null;Pt(async()=>{s.value=Xc(),o.value=f(),r.value=u(),Xc()&&(await Pn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){UE(),s.value=!1}function l(){HE(),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(BE("cookie"),!i)return;let g=nn.Bodies.circle(jE(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:hh,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*gh(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=Ao;return ye(),Qe(E,null,{default:Ln(()=>[ne(s)?(ye(),ft("div",WE,[oe("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[oe("canvas",{ref_key:"canvas_cookie",ref:n,width:ne(o),height:ne(r)},null,8,GE)],512),oe("div",KE,[oe("p",YE,Oe(g.$t("cookie policy title")),1),oe("div",XE,[oe("span",null,[fo(Oe(g.$t("cookie policy"))+" ",1),oe("button",{onClick:c,class:"underline"},Oe(g.$t("cookie policy link")),1)])]),oe("div",qE,[oe("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Oe(g.$t("reject")),1),oe("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Oe(g.$t("accept")),1)])],512)])):pt("",!0)]),_:1})}}}),Oa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},QE={},zE={class:"flex justify-center text-sm"},ZE={class:"flex-1 ml-2"},ew={class:"font-bold text-base"};function tw(e,t){return ye(),ft("div",zE,[t[0]||(t[0]=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:hh,alt:"",class:"h-full w-full"})])],-1)),oe("div",ZE,[oe("p",ew,Oe(e.$t("cookie.title")),1),oe("p",null,Oe(e.$t("cookie.description")),1)])])}const nw=Oa(QE,[["render",tw]]),rw=""+new URL("future.Byi108RQ.png",import.meta.url).href,sw={},ow={class:"flex text-sm"},iw={class:"flex-1 ml-2"},aw={class:"font-bold text-base"};function lw(e,t){return ye(),ft("div",ow,[t[0]||(t[0]=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:rw,alt:"",class:"h-full w-full"})])],-1)),oe("div",iw,[oe("p",aw,Oe(e.$t("future.title")),1),oe("p",null,Oe(e.$t("future.description")),1)])])}const cw=Oa(sw,[["render",lw]]),uw="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",fw={},dw={class:"flex text-sm"},hw={class:"flex-1 ml-2"},pw={class:"font-bold text-base"};function gw(e,t){return ye(),ft("div",dw,[t[0]||(t[0]=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:uw,alt:"",class:"h-full w-full dark:invert"})])],-1)),oe("div",hw,[oe("p",pw,Oe(e.$t("something.title")),1),oe("p",null,Oe(e.$t("something.description")),1)])])}const mw=Oa(fw,[["render",gw]]),vw=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,yw={class:"flex text-sm"},_w={class:"flex-1 ml-2"},xw={class:"font-bold text-base"},Ew={key:0},ww={key:1},Sw=et({__name:"PictureBrightEgg",setup(e){const t=Te(!1);return Pt(()=>{t.value=Ia().includes("picture-nolights")}),(n,s)=>{const o=Ao;return ye(),Qe(o,null,{default:Ln(()=>[oe("div",yw,[s[0]||(s[0]=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:vw,alt:"",class:"h-full w-full"})])],-1)),oe("div",_w,[oe("p",xw,Oe(n.$t("bright.title")),1),ne(t)?pt("",!0):(ye(),ft("p",Ew,Oe(n.$t("bright.description")),1)),ne(t)?(ye(),ft("p",ww,Oe(n.$t("bright_either.description")),1)):pt("",!0)])])]),_:1})}}}),bw=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,Cw={class:"flex text-sm"},Tw={class:"flex-1 ml-2"},Pw={class:"font-bold text-base"},Lw={key:0},Rw={key:1},Aw=et({__name:"PictureNoLightEgg",setup(e){const t=Te(!1);return Pt(()=>{t.value=Ia().includes("picture-bright")}),(n,s)=>{const o=Ao;return ye(),Qe(o,null,{default:Ln(()=>[oe("div",Cw,[s[0]||(s[0]=oe("div",{class:"flex items-center justify-center"},[oe("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[oe("img",{src:bw,alt:"",class:"h-full w-full"})])],-1)),oe("div",Tw,[oe("p",Pw,Oe(n.$t("dark.title")),1),ne(t)?pt("",!0):(ye(),ft("p",Lw,Oe(n.$t("dark.description")),1)),ne(t)?(ye(),ft("p",Rw,Oe(n.$t("dark_either.description")),1)):pt("",!0)])])]),_:1})}}}),kw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Iw={class:"flex text-sm"},Ow={class:"flex-1"},Nw={class:"mt-1 text-center"},Mw={key:0},Dw={key:1},Fw=et({__name:"EastereggBanner",setup(e,{expose:t}){const n=Te(!1),s=Te(""),o=Te(VE()),r=Te(0);Pt(()=>{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=nw,d=cw,c=mw,p=Sw,g=Aw,v=Ao;return ye(),Qe(v,null,{default:Ln(()=>[ne(n)?(ye(),ft("div",kw,[oe("div",{class:no(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
|
||
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
|
||
transition-opacity ${ne(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[oe("div",Iw,[oe("div",Ow,[ne(s)==="cookie"?(ye(),Qe(h,{key:0})):pt("",!0),ne(s)==="future"?(ye(),Qe(d,{key:1})):pt("",!0),ne(s)==="change-something"?(ye(),Qe(c,{key:2})):pt("",!0),ne(s)==="picture-bright"?(ye(),Qe(p,{key:3})):pt("",!0),ne(s)==="picture-nolights"?(ye(),Qe(g,{key:4})):pt("",!0),oe("div",Nw,[ne(r)!=ne(o)?(ye(),ft("p",Mw,Oe(ne(r))+"/"+Oe(ne(o))+" "+Oe(f.$t("easter eggs found")),1)):pt("",!0),ne(r)===ne(o)?(ye(),ft("p",Dw,Oe(f.$t("all easter eggs found")),1)):pt("",!0)])])])],2)])):pt("",!0)]),_:1})}}});function mh(){return localStorage.getItem("theme")??"dark"}function $w(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function aS(){$w(mh()==="dark"?"light":"dark")}function vh(e){switch(e||(e=mh()),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 Uw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Hw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},Bw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col font-light"},Vw={__name:"app",setup(e){const{locale:t}=Ro(),n=Te(),s=Te(!1);return Pt(()=>{vh(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Ol({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=>{Ol({htmlAttrs:{lang:o}})}),(o,r)=>{const i=RE,a=NE,l=JE,f=Fw;return ne(s)?(ye(),ft("div",Uw,[oe("div",Hw,[oe("div",Bw,[Ne(a,null,{default:Ln(()=>[Ne(i)]),_:1})])]),Ne(l),Ne(f,{ref_key:"easteregg",ref:n},null,512)])):pt("",!0)}}};async function yh(e,t=Ze()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>yh(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 jw=(...e)=>e.find(t=>t!==void 0);function Ww(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 Jc(r,e.trailingSlash);const a="path"in r&&r.path!==void 0?r.path:i(r).path;return{...r,name:void 0,path:Jc(a,e.trailingSlash)}}function o(r){const i=Ze(),a=yt(),l=me(()=>!!r.target&&r.target!=="_self"),f=me(()=>{const v=r.to||r.href||"";return typeof v=="string"&&Lt(v,{acceptRelative:!0})}),u=Ya("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?Ai(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(Yn(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 Gf(g.value,{replace:r.replace,external:d.value||l.value})}}}return et({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=Ze(),{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"&&!Xw()}async function w(y=ge()){if(p.value)return;p.value=!0;const _=typeof l.value=="string"?l.value:h.value?Ai(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&&yh(l.value,a).catch(()=>{})])}if(E("visibility")){const y=ge();let _,m=null;Pt(()=>{const x=Kw();_o(()=>{_=Hi(()=>{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)}))})})}),Zr(()=>{_&&o_(_),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),Je(Ya("RouterLink"),x,i.default)}const y=r.target||null,_=jw(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 pa(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:Je("a",{ref:g,href:f.value||null,rel:_,target:y},(m=i.default)==null?void 0:m.call(i))}}})}const Gw=Ww(nv);function Jc(e,t){const n=t==="append"?Gr:ts;return Lt(e)&&!e.startsWith("http")?e:n(e,!0)}function Kw(){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 Yw=/2g/;function Xw(){const e=navigator.connection;return!!(e&&(e.saveData||Yw.test(e.effectiveType)))}const qw=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,Jw={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"}},Qw={class:"text-2xl md:text-4xl text-center"},zw=et({__name:"error",setup(e){const t=_E();return Pt(()=>{vh()}),(n,s)=>{const o=Gw;return ye(),ft("div",Jw,[oe("div",null,[oe("p",Qw,Oe(n.$t("wrong directions")),1),s[0]||(s[0]=oe("img",{src:qw,class:"mx-auto my-2",alt:""},null,-1)),Ne(o,{to:ne(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:Ln(()=>[fo(Oe(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Zw={key:0},Qc={__name:"nuxt-root",setup(e){const t=()=>null,n=ge(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Ze().beforeEach(l)}const o=!1;bn(ns,po()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=go(),i=!1;Gu((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Tv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>nr(l)),!1});const a=!1;return(l,f)=>(ye(),Qe(fa,{onResolve:ne(s)},{default:Ln(()=>[ne(i)?(ye(),ft("div",Zw)):ne(r)?(ye(),Qe(ne(zw),{key:1,error:ne(r)},null,8,["error"])):ne(a)?(ye(),Qe(ne(t),{key:2,context:ne(a)},null,8,["context"])):ne(o)?(ye(),Qe(Op(ne(o)),{key:3})):(ye(),Qe(ne(Vw),{key:4}))]),_:1},8,["onResolve"]))}};let zc;{let e;zc=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")?qg(Qc):Xg(Qc),o=av({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||mo(l)}s.config.errorHandler=r,o.hook("app:suspense:resolve",()=>{s.config.errorHandler===r&&(s.config.errorHandler=void 0)});try{await uv(o,PE)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(sv),await o.hooks.callHook("app:mounted",s),await Pn()}catch(l){r(l)}return s},e=zc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{aS as A,vh as B,xE as C,Gw as D,_E as E,qe as F,Ze as G,Oa as _,oe as a,Pt as b,ft as c,et as d,pt as e,Ro as f,Ol as g,vt as h,Ne as i,Ln as j,fo as k,iS as l,BE as m,rS as n,ye as o,nS as p,no as q,Te as r,Qe as s,Oe as t,ne as u,oS as v,tS as w,sS as x,zi as y,mh as z};
|