1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`69dc943e-4338-41d4-a4ea-1bfce1dc5332`,e._sentryDebugIdIdentifier=`sentry-dbid-69dc943e-4338-41d4-a4ea-1bfce1dc5332`)}catch{}})();import{a as e}from"./DTiE26aQ.js";import{t}from"./CejPaCeE.js";import{a as n}from"./DuOPtoEk.js";function r(e){return(e??[]).filter(e=>!e.disabled)}function i(e){return r(e).map(e=>e.code)}var a=`hash-locale`,o=31536e3;function s(e){return e.localeCookie===null?null:e.localeCookie||`user-locale`}function c(e){return e.hashMode?a:null}function l(){let e=new Date;return e.setTime(e.getTime()+o*1e3),{expires:e,maxAge:o,path:`/`,watch:!0,sameSite:`lax`}}function u(e){if(typeof e!=`string`)return;let t=e.trim();return t.length>0?t:void 0}function d(e){if(Array.isArray(e)){let t=e.map(e=>u(e)).filter(e=>!!e);return t.length>0?t:void 0}if(typeof e==`string`){let t=e.split(`,`).map(e=>e.trim()).filter(e=>e.length>0);return t.length>0?t:void 0}}function f(){return{defaultLocale:u({}.NUXT_I18N_DEFAULT_LOCALE)??u({}.NUXT_PUBLIC_I18N_RUNTIME_DEFAULT_LOCALE),fallbackLocale:u({}.NUXT_I18N_FALLBACK_LOCALE)??u({}.NUXT_PUBLIC_I18N_RUNTIME_FALLBACK_LOCALE),disabledLocales:d({}.NUXT_I18N_DISABLED_LOCALES)??d({}.NUXT_PUBLIC_I18N_RUNTIME_DISABLED_LOCALES),strategy:u({}.NUXT_I18N_STRATEGY)??u({}.NUXT_PUBLIC_I18N_RUNTIME_STRATEGY)}}function p(e){let t=e?.i18nRuntime;if(!t||typeof t!=`object`)return{};let n=t;return{defaultLocale:u(n.defaultLocale),fallbackLocale:u(n.fallbackLocale),disabledLocales:d(n.disabledLocales),strategy:u(n.strategy)}}function m(e){return Object.assign({},e)}function h(e){return e.map(e=>m(e))}function g(e){let t=f(),n=p(e);return{defaultLocale:n.defaultLocale??t.defaultLocale,fallbackLocale:n.fallbackLocale??t.fallbackLocale,disabledLocales:n.disabledLocales??t.disabledLocales,strategy:n.strategy??t.strategy}}function _(e,t,n=e=>console.warn(e)){let r=g(t),i=h(e.locales??[]);if(r.strategy&&r.strategy!==e.strategy&&n(`[nuxt-i18n-micro] runtime i18n strategy override is ignored: "${r.strategy}" (build strategy: "${e.strategy}"). Build a separate artifact for each strategy.`),r.disabledLocales&&r.disabledLocales.length>0){let e=new Set(r.disabledLocales);for(let t of i)t.disabled=e.has(t.code)}let a=i.filter(e=>!e.disabled);if(a.length===0)return r.disabledLocales&&r.disabledLocales.length>0&&n(`[nuxt-i18n-micro] runtime disabledLocales override would disable all locales; override ignored.`),{...e,locales:h(e.locales??[])};let o=new Set(i.map(e=>e.code)),s=r.defaultLocale??e.defaultLocale,c=r.fallbackLocale??e.fallbackLocale;c&&!o.has(c)&&(n(`[nuxt-i18n-micro] runtime fallbackLocale "${c}" is not defined in locales; override ignored.`),c=e.fallbackLocale);let l=new Set(a.map(e=>e.code)),u=a[0]?.code??e.defaultLocale??`en`;return(!s||!l.has(s))&&(r.defaultLocale?n(`[nuxt-i18n-micro] runtime defaultLocale "${r.defaultLocale}" is not enabled; falling back to "${u}".`):s&&!l.has(s)&&n(`[nuxt-i18n-micro] defaultLocale "${s}" is disabled by runtime overrides; falling back to "${u}".`),s=u),{...e,locales:i,defaultLocale:s,fallbackLocale:c}}var v=/[^A-Za-z0-9_.\-~]/;function y(e){return e.charCodeAt(0)===47?e:`/${e}`}function b(e){return e.charCodeAt(0)===47?e.slice(1):e}function x(e){return e.length>1&&e.charCodeAt(e.length-1)===47?e.slice(0,-1):e}function ee(e){return e.charCodeAt(0)===47}function S(e){let t=e.indexOf(`://`);return t===-1?C(e):e.slice(0,t+3)+C(e.slice(t+3))}function C(e){if(e.indexOf(`//`)===-1)return e;let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)===47;i&&n||(t+=e[r],n=i)}return t}function w(e){let t=e.indexOf(`://`);if(t<1)return!1;for(let n=0;n<t;n++){let t=e.charCodeAt(n);if(!(t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===43||t===45||t===46))return!1}return!0}function T(e){if(!e)return!1;for(let t in e)return!0;return!1}function E(e){let t=e,n=``,r=``,i=e.indexOf(`#`);i>=0&&(r=e.slice(i),t=e.slice(0,i));let a=t.indexOf(`?`);return a>=0&&(n=t.slice(a),t=t.slice(0,a)),{pathname:t,search:n,hash:r}}function D(e,t){return M(e)===M(t)}function te(e,...t){let n=e||``;
1for(let e of t)if(!(!e||e===`/`)){if(n){let t=e.charCodeAt(0)===46&&e.charCodeAt(1)===47?e.slice(2):e.charCodeAt(0)===47?e.slice(1):e;n=(n.charCodeAt(n.length-1)===47?n:`${n}/`)+t}else n=e}return n}function O(...e){if(e.length===2){let t=e[0],n=e[1];return t&&n?ne(t,n):t?k(t):n?k(n):`/`}let t=e.filter(e=>typeof e==`string`&&e!==``);if(t.length===0)return`/`;let[n,...r]=t,i=te(n,...r)||`/`;return w(i)?x(i)||i:y(x(i))||`/`}function ne(e,t){let n=e.charCodeAt(e.length-1)===47,r=t.charCodeAt(0)===47,i;return i=n&&r?e+t.slice(1):!n&&!r?`${e}/${t}`:e+t,i.indexOf(`://`)===-1?(i.charCodeAt(0)!==47&&(i=`/${i}`),i.length>1&&i.charCodeAt(i.length-1)===47&&(i=i.slice(0,-1)),i):(i.length>1&&i.charCodeAt(i.length-1)===47&&(i=i.slice(0,-1)),i)}function k(e){return e.charCodeAt(0)!==47&&(e=`/${e}`),e.length>1&&e.charCodeAt(e.length-1)===47&&(e=e.slice(0,-1)),e||`/`}function A(e,t,n){let r=n&&n!==`#`;if(!t&&!r)return e;let i=e;if(t){let e=``,n=i.indexOf(`?`)===-1?`?`:`&`;for(let r in t){let a=t[r];if(a==null)continue;let o=v.test(r)?encodeURIComponent(r):r;if(Array.isArray(a)){let t=`${o}=`;for(let r=0,o=a.length;r<o;r++){let o=a[r];if(o==null)continue;let s,c=typeof o;if(c===`number`||c===`boolean`)s=o;else{let e=`${o}`;s=v.test(e)?encodeURIComponent(e):e}e===``?(e=n,n=`&`):e=`&`,i+=e+t+s}}else{let t,r=typeof a;if(r===`number`||r===`boolean`)t=a;else{let e=`${a}`;t=v.test(e)?encodeURIComponent(e):e}e===``?(e=n,n=`&`):e=`&`,i+=`${e+o}=${t}`}}}return r&&(i+=n.charCodeAt(0)===35?n:`#${n}`),i}function re(e){let t=Object.create(null);if(!e||e===`?`)return t;for(let[n,r]of new URLSearchParams(e)){let e=t[n];e===void 0?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function ie(e){let{pathname:t}=E(e.charCodeAt(0)===47?e:`/${e}`);return t.split(`/`).filter(Boolean)}var j=e=>!e||e===`/`?`/`:e.charCodeAt(0)===47&&e.indexOf(`//`)===-1?e.length>1&&e.charCodeAt(e.length-1)===47?e.slice(0,-1):e:y(x(S(e)))||`/`;function ae(e,t){let n=j(t);if(!e)return n;let r=j(e);return n===r||n.startsWith(`${r}/`)?n:O(r,n.charCodeAt(0)===47?n.slice(1):n)}function M(e){return x(S(e||`/`))||`/`}function N(e){if(!e)return``;let t=e.indexOf(`#`),n=t>=0?e.slice(0,t):e,r=n.indexOf(`?`);return r>=0?n.slice(0,r):n}function P(e){if(!e)return``;let t=``;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n)===45?`/`:e[n];return t}function F(e){if(!e)return``;let t=e.indexOf(`-`);return t===-1?e:`${e.slice(0,t)}/${e.slice(t+1)}`}function I(e){if(!e)return``;let t=e.lastIndexOf(`-`);return t===-1?e:`${e.slice(0,t)}/${e.slice(t+1)}`}function L(e,t){if(!e||e===`/`)return{pathWithoutLocale:`/`,localeFromPath:null};let n=j(N(e));if(n===`/`||n.charCodeAt(0)!==47)return{pathWithoutLocale:n||`/`,localeFromPath:null};let r=n.indexOf(`/`,1),i=r===-1?n.slice(1):n.slice(1,r);if(i&&t.includes(i)){let e=1+i.length,t=n.slice(e);return{pathWithoutLocale:!t||t===`/`?`/`:t.charCodeAt(0)===47?t:`/${t}`,localeFromPath:i}}return{pathWithoutLocale:n,localeFromPath:null}}function oe(e,t){let n=N(e);if(n===`/`||n===``||!ee(n))return null;let r=n.indexOf(`/`,1),i=r===-1?n.slice(1):n.slice(1,r);return i&&t.includes(i)?i:null}var se=/:(\w+)\(\)|:(\w+)\([^)]*\)|:(\w+)(?!\w)|\[\.\.\.(\w+)\]/g;function R(e,t={}){return!t||!T(t)?e:e.replace(se,(e,n,r,i,a)=>{let o=n||r||i||a;if(!o)return e;let s=t[o];return s==null||s===``?e:Array.isArray(s)?s.join(`/`):String(s)})}function z(e,t){let n=e.name?.toString();if(!n)return null;let r=t.localizedRouteNamePrefix||`localized-`,i=n.startsWith(r)?n.slice(r.length):n,a=0,o=-1;for(let e=0;e<t.locales.length;e++){let n=t.locales[e].code;if(n.length<=a)continue;let r=i.length-n.length-1;r<0||i[r]!==`-`||i.endsWith(n)&&(a=n.length,o=r)}return o>=0?i.slice(0,o):i}function ce(e,t,n=`localized-`){return`${n}${e}-${t}`}function B(e,t){if(e==null)return!1;let n=String(e).trim();if(n===``||n===`index`)return!0;let r=t?.localizedRouteNamePrefix??`localized-`,i=t?.localeCodes??[],a=`${r}index-`;if(!n.startsWith(a))return!1;let o=n.slice(a.length);return i.length===0?o.length>=2:i.includes(o)}function V(e,t){let n=e.localeCodes??e.locales.map(e=>e.code),{pathWithoutLocale:r}=L(t.path||`/`,n),i=null;return t.name&&(i=z(t,{locales:e.locales,localizedRouteNamePrefix:e.localizedRouteNamePrefix||`localized-`})),{pathWithoutLocale:r,baseRouteName:i}}function H(e,t){let n=[];n.push(e);
1let r=b(e);if(r&&r!==e&&n.push(r),(e===`/`||r===``)&&n.push(``),t){n.push(`/${t}`),n.push(t);let e=P(t);e&&e!==t&&n.push(e);let r=F(t);r&&n.push(r);let i=I(t);i&&n.push(i)}return n}function U(e,t,n,r){let i=e.globalLocaleRoutes;if(!i||!(e._hasGR??T(i)))return null;let{pathWithoutLocale:a,baseRouteName:o}=r??V(e,t),s=H(a,o);for(let e of s){let r=i[e];if(r&&typeof r==`object`&&!Array.isArray(r)){let e=r[n];if(typeof e==`string`)return R(e,t.params??{})}}return null}function le(e,t,n){let r=e.globalLocaleRoutes;if(!r)return null;let{pathWithoutLocale:i,baseRouteName:a}=n??V(e,t),o=H(i,a);for(let e of o)if(r[e]===!1){if(a&&(e===a||e===`/${a}`)){let e=P(a);return e?O(`/`,e):`/${a}`}return i}return null}function ue(e,t){let n=e.globalLocaleRoutes;if(!n)return null;let r=[t,`/${t}`,b(t)];for(let e of r)if(n[e]===!1){let t=P(e.startsWith(`/`)?e.slice(1):e);return t?O(`/`,t):e.startsWith(`/`)?e:`/${e}`}return null}function W(e,t,n){return j(U(e,{path:t,name:null,fullPath:t,params:{}},n)||t)}function G(e,t,n,r){let i=`${t}${n}-${r}`;if(e.hasRoute(i))return{name:i,needsLocaleParam:!1};let a=`${t}${n}`;return e.hasRoute(a)?{name:a,needsLocaleParam:!0}:null}function K(e,t,n,r,i,a,o){let s={...i};n&&(s.locale=r);let c;try{c=e.resolve({name:t,params:s,query:a?.query,hash:a?.hash})}catch{return null}return!c?.path||o&&c.path===`/`?null:{name:t,path:c.path,fullPath:c.fullPath,params:c.params,query:c.query??a?.query,hash:c.hash??a?.hash}}function q(e,t,n,r,i){let a=G(e,t,n,r);return a?K(e,a.name,a.needsLocaleParam,r,{...i?.params},i,!1):null}function de(e,t,n,r,i,a){let o=G(e,t,n,r);return o?K(e,o.name,o.needsLocaleParam,r,i,a,!0):null}function J(e,t){if(!t||!t.query&&!t.hash)return e;let n;n=typeof e==`string`?{path:e}:e,t.query&&(n.query=n.query?Object.assign({},t.query,n.query):t.query),!n.hash&&t.hash&&(n.hash=t.hash);let r=n.path??``;return n.fullPath=A(r,n.query,n.hash),n}function fe(e,t){if(!e)return null;let n=N(e);if(!n||n===`/`)return null;let r=+(n.charCodeAt(0)===47),i=n.indexOf(`/`,r),a=i===-1?n.slice(r):n.slice(r,i);if(!a)return null;for(let e=0;e<t.length;e++)if(t[e].code===a)return a;return null}function Y(e,t,n){if(e.hashMode||e.strategy===`no_prefix`)return n||e.defaultLocale;let r=t.path||t.fullPath||``;if(e.strategy===`prefix_and_default`&&(r===`/`||r===``)&&n)return n;if(t.params?.locale){let n=Array.isArray(t.params.locale)?String(t.params.locale[0]??``):String(t.params.locale);if(n&&e.locales.some(e=>!e.disabled&&e.code===n))return n}return fe(r,e.locales)||(e.strategy===`prefix_except_default`?e.defaultLocale:n||e.defaultLocale)}function pe(e,t,n,r){if(e.disablePageLocales)return`index`;let i=r||e.localizedRouteNamePrefix||`localized-`,a=z(t,{locales:e.locales,localizedRouteNamePrefix:i});if(a)return a;let o=(t.name??``).toString(),s=o.startsWith(i)?o.slice(i.length):o,c=`-${n}`;return s.endsWith(c)&&(s=s.slice(0,-c.length)),s}function me(e,t,n){let r=Y(e,t,n);for(let t=0;t<e.locales.length;t++)if(e.locales[t].code===r)return e.locales[t].displayName??null;return null}function he(e,t){if(!e)return null;for(let n=0;n<t.length;n++)if(e.endsWith(`-${t[n].code}`))return t[n].code;return null}function X(e,t){return t?t[e]===!1||t[e===`/`?`/`:b(e)]===!1:!1}function Z(e,t,n){let r=e.resolvePathForLocale(t,n);return r===`/`||r===``?`/${n}`:S(`/${n}${r.charCodeAt(0)===47?r:`/${r}`}`)}function ge(e,t){if(!e)return null;let n=e.charCodeAt(0)===47?e:`/${e}`;return t?S(`/${t}${n}`):n}function _e(e,t,n){let r=e.ctx.globalLocaleRoutes,{pathWithoutLocale:i,localeFromPath:a}=e.getPathWithoutLocale(t);if(a!==null&&X(i,r))return M(i);if(a===null&&X(i,r))return null;let o=Z(e,i,n),s=N(t);return a===n&&D(s,o)?null:o}function ve(e,t){let{pathWithoutLocale:n,localeFromPath:r}=t;if(r===null)return null;if(X(n,e.globalLocaleRoutes))return`Unlocalized route cannot have locale prefix`;let i=e.routeLocales;if(i&&(e._hasRL??T(i))){let t=e.localeCodes??e.locales.map(e=>e.code),a=n===`/`?`/`:b(n),o=i[n]??i[a];if(Array.isArray(o)&&o.length>0){let e=o.filter(e=>t.includes(e));if(e.length>0&&!e.includes(r))return`Locale not allowed for this route`}}return null}var ye=class{constructor(e){e.localeCodes||=e.locales.map(e=>e.code),e._hasGR===void 0&&(e._hasGR=T(e.globalLocaleRoutes)),e._hasRL===void 0&&(e._hasRL=T(e.routeLocales)),this.ctx=e}setRouter(e){this.ctx.router=e}getDefaultLocale(){return this.ctx.defaultLocale}getLocales(){return this.ctx.locales}getStrategy(){return this.ctx.strategy}getLocalizedRouteNamePrefix(){return this.ctx.localizedRouteNamePrefix||`localized-`}getGlobalLocaleRoutes(){return this.ctx.globalLocaleRoutes}getRouteLocales(){return this.ctx.routeLocales}getRoutesLocaleLinks(){return this.ctx.routesLocaleLinks}getNoPrefixRedirect(){return this.ctx.noPrefixRedirect}getRouteBaseName(e,t){return z(e,{locales:t?[{code:t}]:this.ctx.locales,localizedRouteNamePrefix:this.getLocalizedRouteNamePrefix()})}getBaseRouteName(e,t){return this.getRouteBaseName(e,t)}buildLocalizedName(e,t){return ce(e,t,this.getLocalizedRouteNamePrefix())}buildLocalizedRouteName(e,t){return this.buildLocalizedName(e,t)}resolveLocaleFromPath(e){let{localeFromPath:t}=this.getPathWithoutLocale(e);return t}detectLocaleFromName(e){return he(e,this.ctx.locales)}buildLocalizedPath(e,t,n){return O(t,j(e))}formatPathForResolve(e,t,n){return`/${t}${e}`}resolvePathForLocale(e,t){return W(this.ctx,e,t)}getPathWithoutLocale(e){return L(e,this.ctx.localeCodes)}getLocaleFromPath(e){return oe(e,this.ctx.localeCodes)}getCanonicalPath(e,t){return ge(U(this.ctx,e,t)??``,t)}applyBaseUrl(e,t){if(typeof t==`string`){if(w(t))return t}else if(t.path&&w(t.path))return t;let n=this.ctx.locales.find(t=>t.code===e);if(!n?.baseUrl)return t;let r=x(n.baseUrl);if(typeof t==`string`)return O(r,j(t.charCodeAt(0)===47?t:`/${t}`));let i=O(r,j(t.path||``));return w(i)?i:{...t,path:i,fullPath:i}}getSwitchLocaleFallbackWhenNoRoute(e,t){return{...e,name:t}}localeRoute(e,t,n){let r=this._normalizeRouteInput(t,n),i=this.resolveLocaleRoute(e,r,n),a=r.kind===`route`?r.sourceRoute:r.query||r.hash?{query:r.query,hash:r.hash}:void 0;return this._ensureRouteLike(i,a)}_ensureRouteLike(e,t){if(typeof e==`string`){let n=e,r={path:n,fullPath:t?.query||t?.hash?A(n,t?.query,t?.hash):n};return t?.query&&(r.query=t.query),t?.hash&&(r.hash=t.hash),r}if(e.path&&e.fullPath)return e;let n=e.fullPath??e.path??``,r=e.path??(n.indexOf(`?`)===-1?n.indexOf(`#`)===-1?n:n.slice(0,n.indexOf(`#`)):n.slice(0,n.indexOf(`?`)));return!r&&!n&&B(e.name?.toString()??t?.name?.toString()??``,{localizedRouteNamePrefix:this.getLocalizedRouteNamePrefix(),localeCodes:this.ctx.localeCodes})&&(r=`/`,n=`/`),e.path=r,e.fullPath=n,e}_normalizeRouteInput(e,t){if(typeof e==`string`){if(e.indexOf(`?`)===-1&&e.indexOf(`#`)===-1)return{kind:`path`,path:e};let{pathname:t,search:n,hash:r}=E(e),i={kind:`path`,path:t};return n&&n!==`?`&&(i.query=re(n)),r&&r!==`#`&&(i.hash=r),i}let n=e,r=n.name?.toString()??null,i;try{i=this.ctx.router.resolve(e)}catch{i={name:r,path:n.path??`/`,fullPath:n.fullPath??n.path??`/`,params:n.params??{},query:n.query??{},hash:n.hash??``}}return{kind:`route`,inputName:r,sourceRoute:n,resolved:i}}getCurrentLocale(e,t){return Y(this.ctx,e,t)}getPluginRouteName(e,t){return pe(this.ctx,e,t,this.getLocalizedRouteNamePrefix())}getCurrentLocaleName(e,t){return me(this.ctx,e,t)}shouldReturn404(e){return ve(this.ctx,this.getPathWithoutLocale(e))}};function be(e,t,n,r,i){let a=e.getBaseRouteName(r,t);if(!a)return r;let o=e.getLocalizedRouteNamePrefix(),s=G(e.ctx.router,o,a,n),c,l=!1;if(s)c=s.name,l=s.needsLocaleParam;else if(e.ctx.router.hasRoute(a))c=a;else return e.getSwitchLocaleFallbackWhenNoRoute(r,e.buildLocalizedRouteName(a,n));
1let u=i.i18nRouteParams?.[n]||{},d={...r.params||{},...u};return l?d.locale=n:delete d.locale,e.applyBaseUrl(n,{name:c,params:d,query:r.query,hash:r.hash})}function xe(e,t,n,r){let i=Object.keys(n).filter(e=>n[e]!==void 0&&n[e]!==null&&n[e]!==``);if(i.length===0)return null;let a,o=i[0];if(i.length===1&&o!==void 0&&t.endsWith(`-${o}`))a=O(`/`,`${t.slice(0,t.length-o.length-1)}-:${o}`);else{let e=P(t),n=e?e.split(`/`).filter(Boolean):[t],r=Math.min(i.length,n.length);a=O(`/`,...n.slice(0,n.length-r).concat(i.slice(0,r).map(e=>`:${e}`)))}let s=R(a,n),c=e.buildLocalizedPath(s,r,!1),l=e.applyBaseUrl(r,c);return typeof l==`string`?l:l.path??c}function Se(e,t,n,r){if(n.kind===`path`){let r=e.resolvePathForLocale(n.path,t),i=e.buildLocalizedPath(r,t,!1);return e.applyBaseUrl(t,i)}let{inputName:i,sourceRoute:a,resolved:o}=n,s=T(a.params),c=e.getRouteBaseName(o)??i??o.name?.toString()??null,l=o.name?.toString(),u=e.getLocalizedRouteNamePrefix(),d=e.ctx.router,f=e.ctx.globalLocaleRoutes,p=e.ctx._hasGR===!0;if(i&&p){let t=ue(e.ctx,i);if(t!==null)return J(t,a)}if(i&&s){let n=de(d,u,i,t,a.params??{},a);if(n!==null)return J(e.applyBaseUrl(t,n),a)}if(i&&!s){let n=q(d,u,i,t,a);if(n===null&&c!=null&&c!==i&&i.startsWith(u)&&(n=q(d,u,c,t,a)),n!==null)return J(e.applyBaseUrl(t,n),a)}if(p){let n=V(e.ctx,o),r=le(e.ctx,o,n);if(r!==null){let n=e.buildLocalizedPath(r,t,!1);return J(e.applyBaseUrl(t,n),a)}let c=U(e.ctx,o,t,n);if(c!==null){let n=o.name?.toString()??i??``,r=n?F(n):``,s=n?I(n):``,l=r.includes(`/`)&&f?.[r],u=s.includes(`/`)&&f?.[s],d=l||u,p=u?s:r,m;if(d){let e=ie(p),n=e.length>1?e.slice(0,-1).join(`-`):``,r=n&&f?.[n]&&typeof f[n]==`object`&&!Array.isArray(f[n])?f[n]:null;m=ae(r?.[t]?j(r[t]):O(`/`,...e.slice(0,-1)),c)}else m=j(c);let h=e.buildLocalizedPath(m,t,!0);return J(e.applyBaseUrl(t,h),a)}if(!s&&o.path&&o.path!==`/`&&o.name){let{pathWithoutLocale:r,baseRouteName:i}=n;if(r&&r!==`/`){let n=i&&r===i?O(`/`,P(i)):r,o=e.buildLocalizedPath(n,t,!1);return J(e.applyBaseUrl(t,o),a)}}}let m=c??i;if(!m)return a;
1if(!p&&!s&&o.path&&o.path!==`/`&&o.name){let{pathWithoutLocale:n,baseRouteName:r}=V(e.ctx,o);if(n&&n!==`/`){let i=r&&n===r?O(`/`,P(r)):n,o=e.buildLocalizedPath(i,t,!1);return J(e.applyBaseUrl(t,o),a)}}let h=l===i?m:i??m,g={name:e.buildLocalizedRouteName(h,t),path:a.path,fullPath:a.fullPath};if(a.params&&(g.params=Object.assign({},a.params)),a.query&&(g.query=a.query),a.hash&&(g.hash=a.hash),s){let n=null;try{let r=d.resolve({name:h,params:a.params});if(r?.path){let i=r.path===`/`?`/`:(()=>{let{pathWithoutLocale:t}=e.getPathWithoutLocale(r.path);return t&&t!==`/`?t:r.path})(),a=e.buildLocalizedPath(i,t,!1),o=e.applyBaseUrl(t,a);n=typeof o==`string`?o:o.path??a}}catch{n=xe(e,h,a.params??{},t)}n&&(g.path=n,g.fullPath=n)}else{let n=B(h)?`/`:O(`/`,P(h)),r=e.buildLocalizedPath(n,t,!1),i=e.applyBaseUrl(t,r),a=typeof i==`string`?i:i.path??r;g.path=a,g.fullPath=a}return g.path&&delete g.name,J(e.applyBaseUrl(t,g),a)}var Ce=class extends ye{switchLocaleRoute(e,t,n,r){return be(this,e,t,n,r)}resolveLocaleRoute(e,t,n){return Se(this,e,t,n)}getRedirect(e,t){return _e(this,e,t)}getClientRedirect(e,t){let{pathWithoutLocale:n,localeFromPath:r}=this.getPathWithoutLocale(e);if(X(n,this.ctx.globalLocaleRoutes)||r!==null)return null;let i=Z(this,n,t);return D(N(e),i)?null:i}},Q={locales:[{code:`de`,displayName:`Deutsch`,iso:`de-DE`,dir:`ltr`,files:[`/nuxt/node_modules/.pnpm/@[email protected]_c1a0528bfde88ddfe34b96703a5bd06b/node_modules/@mir/pageeditor-plugin/dist/runtime/translations/json/de.json`]},{code:`en`,displayName:`English`,iso:`en-US`,dir:`ltr`,files:[`/nuxt/node_modules/.pnpm/@[email protected]_c1a0528bfde88ddfe34b96703a5bd06b/node_modules/@mir/pageeditor-plugin/dist/runtime/translations/json/en.json`]}],metaTrustForwardedHost:!0,metaTrustForwardedProto:!0,hreflangBaseLanguage:!1,defaultLocale:`de`,localeCookie:null,autoDetectLanguage:!0,autoDetectPath:`/`,strategy:`prefix`,dateBuild:`81cefc14ccc303db`,hashMode:!1,apiBaseUrl:`_locales`,isSSG:!1,disablePageLocales:!1,canonicalQueryWhitelist:[`page`,`sort`,`filter`,`search`,`q`,`query`,`tag`],excludePatterns:[],routeLocales:{},routeDisableMeta:{},globalLocaleRoutes:{events:{de:`/konzerte`,en:`/concerts`},persons:{de:`/orchestermitglieder`,en:`/orchestra-members`},"events/[slug]/[id]":{de:`/konzerte/:slug()/:id()`,en:`/concerts/:slug()/:id()`},"insights/[slug]/[id]":{de:`/insights/:slug()/:id()`,en:`/insights/:slug()/:id()`},"insights/tag":{de:`/insights/tag`,en:`/insights/tag`},"persons/[slug]/[id]":{de:`/orchestermitglieder/:slug/:id`,en:`/orchestra-members/:slug/:id`},"insights/category/[slug]/[id]":{de:`/insights/kategorie/:slug/:id`,en:`/insights/category/:slug/:id`},"cms-hub":!1,"eventim-template":!1,testshop:!1,"eventim.webshop":!1,webshop:!1},missingWarn:!0,redirects:!0,hooks:!0,hmr:!0,localizedRouteNamePrefix:`localized-`,routesLocaleLinks:{},noPrefixRedirect:!1,debug:!1,cacheMaxSize:0,cacheTtl:0,httpCacheDuration:31536e3,numberFormats:{},datetimeFormats:{},translationPayloadMode:`premerged`};function $(){return Q}function we(e){return new Ce({strategy:Q.strategy,defaultLocale:Q.defaultLocale,locales:Q.locales,localizedRouteNamePrefix:Q.localizedRouteNamePrefix,globalLocaleRoutes:Q.globalLocaleRoutes,routeLocales:Q.routeLocales,routesLocaleLinks:Q.routesLocaleLinks,noPrefixRedirect:Q.noPrefixRedirect,debug:Q.debug,router:{hasRoute(t){return e.hasRoute(t)},resolve(t){let n=e.resolve(t);return{name:n.name==null?null:String(n.name),path:n.path,fullPath:n.fullPath,params:n.params||{},query:n.query||{},hash:n.hash||``}}},hashMode:Q.hashMode,disablePageLocales:Q.disablePageLocales})}function Te(){let r=_(e().$getI18nConfig?.()??$()),a=i(r.locales),o=t(`i18n-locale`,()=>null),u=s(r),d=c(r),f=u?n(u,l()):{value:null},p=d?n(d,l()):{value:null},m=e=>{e&&(d&&(p.value=e),u&&(f.value=e))},h=e=>{e&&(o.value=e,m(e))};return{locale:o,localeCookie:f,hashCookie:p,getPreferredLocale:()=>{let e=o.value??(r.hashMode?p.value:f.value);return e&&a.includes(e)?e:null}
1,getLocale:()=>o.value??(r.hashMode?p.value:f.value)??null,getLocaleWithServerFallback:e=>o.value??f.value??e??null,getEffectiveLocale:(e,t)=>r.hashMode&&o.value!==null&&o.value!==void 0?o.value:t(e),resolveInitialLocale:e=>{let t=o.value;return!t&&e.serverLocale&&(t=e.serverLocale),t||=e.getLocaleFromRoute(e.route),t&&!o.value&&h(t),t??``},setLocale:h,syncLocale:m,isValidLocale:e=>!!e&&a.includes(e),validLocales:a}}export{i as a,_ as i,we as n,$ as r,Te as t};
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.