1import{Dt as e,N as t,O as n,_t as r,jt as i,vt as a,w as o,wt as s}from"./CB5-eA5X.js";import{a as c}from"./IWdLy2RQ.js";import{b as l,d as u,h as ee,i as te,o as d,r as ne,t as re,u as ie}from"./CpGqhs4Q.js";import"./DC1376r_.js";var ae=Error.captureStackTrace,f=class e extends Error{name;code;docs;fix;sources;data;get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,this.data=t.data,ae?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,data:this.data,stack:this.stack}}};function p(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function m(e={}){let{docsBase:t,reporters:n=[]}=e;return new Proxy({},{get(e,r){if(typeof r!=`string`)return;let i=(e={},a={})=>{let o=p(t,r),s=new f({code:r,why:o??``,docs:o,cause:e.cause,sources:e.sources},i);for(let e of n)e(s,a);return s};return i}})}function h(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var g=[e=>{console.error(`[${e.name}]`)}],_=m({docsBase:h,reporters:g});function v(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?v(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var y=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function b(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>b(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function oe(e,t,n){if(e.length>0)return b(e,t,0,y(n))}function se(e,t,n){if(e.length>0){let r=y(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function x(e,t){for(let n of[...e])n(t)}var ce=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;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(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=v(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=v(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(oe,e,t)}callHookParallel(e,...t){return this.callHookWith(se,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&x(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&x(this._after,r)}):(this._after&&r&&x(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function S(){return new ce}function C(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}var le=globalThis.WeakRef||class{#e;constructor(e){this.#e=e}deref(){return this.#e}};function ue(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||C();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new le(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>
1{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s()??null,set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;D.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{D.delete(s)}}}}function de(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=ue({...e,...r})),t[n]}}}var w=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof global<`u`?global:typeof window<`u`?window:{},T=`__unctx__`,fe=w[T]||(w[T]=de()),pe=(e,t={})=>fe.get(e,t),E=`__unctx_async_handlers__`,D=w[E]||(w[E]=new Set);function me(e){let t=[];for(let e of D){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}function O(e=`nuxt-app`){return pe(e,{asyncContext:!1})}var k=`__nuxt_plugin`;function A(t){let n=0,i={_id:t.id||`nuxt-app`,_scope:r(),provide:void 0,versions:{get nuxt(){return`4.5.2`},get vue(){return i.vueApp.version}},payload:e({...t.ssrContext?.payload||{},data:e({}),state:s({}),once:new Set,_errors:e({})}),static:{data:{}},runWithContext(e){return i._scope.active&&!a()?i._scope.run(()=>L(i,e)):L(i,e)},isHydrating:!0,deferHydration(){if(!i.isHydrating)return()=>{};n++;let e=!1;return()=>{if(!e&&(e=!0,n--,n===0))return i.isHydrating=!1,i.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:e({}),_state:e({}),_payloadRevivers:{},...t};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(i.payload[t],e[t]);break;default:i.payload[t]=e[t]}}i.hooks=S(),i.hook=i.hooks.hook;{let e=i.hooks.callHook;i.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}i.callHook=i.hooks.callHook,i.provide=(e,t)=>{let n=`$`+e;V(i,n,t),V(i.vueApp.config.globalProperties,n,t)},V(i.vueApp,`$nuxt`,i),V(i.vueApp.config.globalProperties,`$nuxt`,i);{window.addEventListener(c,e=>{i.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=z;let e=i.hook(`app:error`,(...e)=>{_.NUXT_E1005({cause:e.length>1?e:e[0]})});i.hook(`app:mounted`,e)}let o=i.payload.config;return i.provide(`config`,o),i}function j(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function M(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function N(e,t){return P(e,t)}async function P(e,t){let n=new Set,r=[],i=[],a,o=0;async function s(c){let l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{let t=M(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;a||=t});c.parallel?i.push(t):await t}}for(let n of t)j(e,n);for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a)throw e.payload.error||a}function F(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[k]:!0,_name:t})}var I=F;function L(e,t,n){return O(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function R(e){let t;return n()&&(t=o()?.appContext.app.$nuxt),t||=O(e).tryUse(),t||null}function z(e){let t=R(e);if(!t)throw _.NUXT_E1001();return t}function B(e){return z().$config}function V(e,t,n){Object.defineProperty(e,t,{get:()=>n})}var he=Symbol(`layout-meta`),ge=Symbol(`layout`),H=Symbol(`route`),U=m({docsBase:h,reporters:g});function _e(e,t){try{return t in e}catch{return!1}}var W=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:K(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=G(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function ve(e){if(typeof e==`string`)return new W(e);if(ye(e))return e;let t=new W(e.message??e.statusMessage??``,{cause:e.cause||e});if(_e(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=K(e.statusCode,t.statusCode):e.status&&(t.statusCode=K(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;G(t.statusMessage)!==e&&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 ye(e){return e?.constructor?.__h3_error__===!0}var be=/[^\u0009\u0020-\u007E]/g;function G(e=``){return e.replace(be,``)}function K(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var q=()=>z()?.$router;function xe(e){let t=e.scope,n=a();for(;n;){if(n===t)return!0;n=n.parent}return!1}var Se=(()=>
1{if(n()){let e=o();if(!e||xe(e))return t(H,z()._route)}return z()._route});function Ce(e){return e}var we=()=>{try{if(z()._processingMiddleware)return!0}catch{return!1}return!1},Te=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?J(e):q().resolve(e).href;if(t?.open){let{protocol:e}=new URL(n,window.location.href);if(e&&d(e))throw U.NUXT_E2002({toPath:n,protocol:e});let{target:r=`_blank`,windowFeatures:i={}}=t.open,a=[];for(let[e,t]of Object.entries(i))t!==void 0&&a.push(`${e.toLowerCase()}=${t}`);return open(n,r,a.join(`, `)),Promise.resolve()}let r=te(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw U.NUXT_E2001({toPath:n});let{protocol:e}=new URL(n,window.location.href);if(e&&d(e))throw U.NUXT_E2002({toPath:n,protocol:e})}let a=we();if(!i&&a){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=u(e);return{path:t,...n&&{query:ie(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let o=q(),s=z();if(i)return s._scope.stop(),t?.replace?location.replace(n):location.href=n,a?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let c=typeof e==`string`?Y(e):e;return t?.replace?o.replace(c):o.push(c)};function J(e){return ee(e.path||``,e.query||{})+(e.hash||``)}function Y(e){let t=u(e);return ne(re(t.pathname))+t.search+t.hash}var Ee=`__nuxt_error`,X=()=>i(z().payload,`error`),Z=e=>{let t=$(e);try{let e=X();z().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Q=(e,t)=>{let n=e.callHook(`app:error`,$(t));return _.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},De=async(e,t)=>{if(l(navigator.userAgent)){await Q(e,t);return}await e.runWithContext(()=>Z(t))},Oe=async(e={})=>{let t=z(),n=X();t.callHook(`app:error:cleared`,e),e.redirect&&await q().replace(e.redirect),n.value=void 0},ke=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,$=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=ve(e);return Object.defineProperty(t,Ee,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};export{z as C,h as D,_ as E,g as O,O as S,me as T,H as _,ke as a,F as b,Ce as c,J as d,Se as f,ge as g,he as h,$ as i,m as k,Y as l,U as m,De as n,Z as o,q as p,Oe as r,X as s,Q as t,Te as u,N as v,B as w,I as x,A as y};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.