1import{r as c,v as C,x as I,i as b,y as O,z as _,B as F,C as T,j as y}from"./components-DZP3uNYy.js";import{i as S}from"./i18next-DyZISFPe.js";import{c as A}from"./client-B3dlM9RU.js";import{s as U,a as H,F as $,R as z,d as N,c as q,g as j,b as B,f as K}from"./errorBoundaries-wFlsKK9i.js";import{h as J,i as Q,I as W,r as Z,T as X,j as w,D as Y,S as G}from"./index-ZhkFHCHQ.js";const V={loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",multiSeparator:"+",allowMultiLoading:!1,fetch:typeof fetch>"u"?void 0:fetch,parse:JSON.parse,stringify:JSON.stringify,requestOptions:{}},ee=t=>Array.isArray(t)?t:[t],te=(t,...e)=>typeof t=="function"?t(...e):t;class m extends Error{retry=null;constructor(e,o=!1){super(e),this.retry=o}}class oe{constructor(e,o){this.init(e,o)}type="backend";static type="backend";init(e,o={}){this.services=e,this.options={...V,...this.options,...o}}getLoadPath(e,o){return te(this.options.loadPath,e,o)}read(e,o,n){const i=this.getLoadPath(e,o),a=this.services.interpolator.interpolate(i,{lng:e,ns:o});this.loadUrl(a,n)}readMulti(e,o,n){const i=this.getLoadPath(e,o),{multiSeparator:a}=this.options,s=this.services.interpolator.interpolate(i,{lng:e.join(a),ns:o.join(a)});this.loadUrl(s,n)}loadUrl(e,o){const{fetch:n,requestOptions:i,parse:a}=this.options;n(e,i).then(s=>{const{ok:u,status:l}=s;if(!u){const d=l>=500&&l<600;throw new m(`failed loading ${e}`,d)}return s.text()},()=>{throw new m(`failed loading ${e}`)}).then(s=>{try{return o(null,a(s,e))}catch{throw new m(`failed parsing ${e} to json`,!1)}}).catch(s=>{s instanceof m&&o(s.message,s.retry)})}create(e,o,n,i){const a={[n]:i||""};ee(e).forEach(s=>{const{addPath:u,requestOptions:l,fetch:d,stringify:f}=this.options,P=this.services.interpolator.interpolate(u,{lng:s,ns:o});try{d(P,{method:"POST",body:f(a),...l})}catch(M){console.error(M)}})}}const{slice:ne,forEach:re}=[];function ie(t){return re.call(ne.call(arguments,1),e=>{if(e)for(const o in e)t[o]===void 0&&(t[o]=e[o])}),t}
1function ae(t){return typeof t!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(o=>o.test(t))}const x=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,se=function(t,e){const n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(e);let a=`${t}=${i}`;if(n.maxAge>0){const s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(s)}`}if(n.domain){if(!x.test(n.domain))throw new TypeError("option domain is invalid");a+=`; Domain=${n.domain}`}if(n.path){if(!x.test(n.path))throw new TypeError("option path is invalid");a+=`; Path=${n.path}`}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return n.partitioned&&(a+="; Partitioned"),a},k={create(t,e,o,n){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};o&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+o*60*1e3)),n&&(i.domain=n),document.cookie=se(t,e,i)},read(t){const e=`${t}=`,o=document.cookie.split(";");for(let n=0;n<o.length;n++){let i=o[n];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}return null},remove(t,e){this.create(t,"",-1,e)}};var ue={name:"cookie",lookup(t){let{lookupCookie:e}=t;if(e&&typeof document<"u")return k.read(e)||void 0},cacheUserLanguage(t,e){let{lookupCookie:o,cookieMinutes:n,cookieDomain:i,cookieOptions:a}=e;o&&typeof document<"u"&&k.create(o,t,n,i,a)}},ce={name:"querystring",lookup(t){let{lookupQuerystring:e}=t,o;if(typeof window<"u"){let{search:n}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));const a=n.substring(1).split("&");for(let s=0;s<a.length;s++){const u=a[s].indexOf("=");u>0&&a[s].substring(0,u)===e&&(o=a[s].substring(u+1))}}return o}},le={name:"hash",lookup(t){let{lookupHash:e,lookupFromHashIndex:o}=t,n;if(typeof window<"u"){const{hash:i}=window.location;if(i&&i.length>2){const a=i.substring(1);if(e){const s=a.split("&");for(let u=0;u<s.length;u++){const l=s[u].indexOf("=");l>0&&s[u].substring(0,l)===e&&(n=s[u].substring(l+1))}}if(n)return n;if(!n&&o>-1){const s=i.match(/\/([a-zA-Z-]*)/g);return Array.isArray(s)?s[typeof o=="number"?o:0]?.replace("/",""):void 0}}}return n}};let h=null;const v=()=>{if(h!==null)return h;try{if(h=typeof window<"u"&&window.localStorage!==null,!h)return!1;const t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{h=!1}return h};var de={name:"localStorage",lookup(t){let{lookupLocalStorage:e}=t;if(e&&v())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupLocalStorage:o}=e;o&&v()&&window.localStorage.setItem(o,t)}};let g=null;const D=()=>{if(g!==null)return g;try{if(g=typeof window<"u"&&window.sessionStorage!==null,!g)return!1;const t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{g=!1}return g};var fe={name:"sessionStorage",lookup(t){let{lookupSessionStorage:e}=t;if(e&&D())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(t,e){let{lookupSessionStorage:o}=e;o&&D()&&window.sessionStorage.setItem(o,t)}},he={name:"navigator",lookup(t){const e=[];if(typeof navigator<"u"){const{languages:o,userLanguage:n,language:i}=navigator;if(o)for(let a=0;a<o.length;a++)e.push(o[a]);n&&e.push(n),i&&e.push(i)}return e.length>0?e:void 0}},ge={name:"htmlTag",lookup(t){let{htmlTag:e}=t,o;const n=e||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(o=n.getAttribute("lang")),o}},pe={name:"path",lookup(t){let{lookupFromPathIndex:e}=t;if(typeof window>"u")return;const o=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(o)?o[typeof e=="number"?e:0]?.replace("/",""):void 0}},me={name:"subdomain",lookup(t){let{lookupFromSubdomainIndex:e}=t;const o=typeof e=="number"?e+1:1,n=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[o]}};let L=!1;try{document.cookie,L=!0}catch{}const R=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];L||R.splice(1,1);const we=()=>({order:R,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:t=>t});class E{constructor(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,o)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=ie(o,this.options||{},we()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(ue),this.addDetector(ce),this.addDetector(de),this.addDetector(fe),this.addDetector(he),this.addDetector(ge),this.addDetector(pe),this.addDetector(me),this.addDetector(le)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,o=[];return e.forEach(n=>{if(this.detectors[n]){let i=this.detectors[n].lookup(this.options);
1i&&typeof i=="string"&&(i=[i]),i&&(o=o.concat(i))}}),o=o.filter(n=>n!=null&&!ae(n)).map(n=>this.options.convertDetectedLanguage(n)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}cacheUserLanguage(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach(n=>{this.detectors[n]&&this.detectors[n].cacheUserLanguage(e,this.options)}))}}E.type="languageDetector";const ye={type:"3rdParty",init(t){J(t.options.react),Q(t)}};function Se({i18n:t,defaultNS:e,children:o}){const n=c.useMemo(()=>({i18n:t,defaultNS:e}),[t,e]);return c.createElement(W.Provider,{value:n},o)}function xe({state:t,routes:e,getRouteInfo:o,location:n,basename:i,isSpaMode:a}){let s={...t,loaderData:{...t.loaderData}},u=C(e,n,i);if(u)for(let l of u){let d=l.route.id,f=o(d);U(d,f.clientLoader,f.hasLoader,a)&&(f.hasHydrateFallback||!f.hasLoader)?delete s.loaderData[d]:f.hasLoader||(s.loaderData[d]=null)}return s}function ke(t){return c.createElement(I,{flushSync:Z.flushSync,...t})}let r=null,p=null;function ve(){if(!r&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(window.__reactRouterManifest.sri===!0){const t=document.querySelector("script[rr-importmap]");if(t?.textContent)try{window.__reactRouterManifest.sri=JSON.parse(t.textContent).integrity}catch(e){console.error("Failed to parse import map",e)}}r={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}}function De({getContext:t,instrumentations:e}){if(ve(),!r)throw new Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<RouterProvider>`");let o=r;if(!r.stateDecodingPromise){let s=r.context.stream;b(s,"No stream found for single fetch decoding"),r.context.stream=void 0,r.stateDecodingPromise=N(s,window).then(u=>{r.context.state=u.value,o.stateDecodingPromise.value=!0}).catch(u=>{o.stateDecodingPromise.error=u})}if(r.stateDecodingPromise.error)throw r.stateDecodingPromise.error;if(!r.stateDecodingPromise.value)throw r.stateDecodingPromise;let n=q(r.manifest.routes,r.routeModules,r.context.state,r.context.ssr,r.context.isSpaMode),i;if(r.context.isSpaMode){let{loaderData:s}=r.context.state;r.manifest.routes.root?.hasLoader&&s&&"root"in s&&(i={loaderData:{root:s.root}})}else i=xe({state:r.context.state,routes:n,getRouteInfo:s=>({clientLoader:r.routeModules[s]?.clientLoader,hasLoader:r.manifest.routes[s]?.hasLoader===!0,hasHydrateFallback:r.routeModules[s]?.HydrateFallback!=null}),location:window.location,basename:window.__reactRouterContext?.basename,isSpaMode:r.context.isSpaMode});window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let a=O({routes:n,history:_(),basename:r.context.basename,getContext:t,hydrationData:i,mapRouteProperties:T,hydrationRouteProperties:F,instrumentations:e,dataStrategy:B(()=>a,r.manifest,r.routeModules,r.context.ssr),patchRoutesOnNavigation:j(()=>a,r.manifest,r.routeModules,r.context.ssr,r.context.routeDiscovery,r.context.
1isSpaMode,r.context.basename)});return r.router=a,a.state.initialized&&(r.routerInitialized=!0,a.initialize()),a.createRoutesForHMR=K,window.__reactRouterDataRouter=a,a}function be(t){p||(p=De({getContext:t.getContext,instrumentations:t.instrumentations}));let[e,o]=c.useState(void 0);c.useEffect(()=>{},[]),c.useEffect(()=>{},[e]);let[n,i]=c.useState(p.state.location);return c.useLayoutEffect(()=>{r&&r.router&&!r.routerInitialized&&(r.routerInitialized=!0,r.router.initialize())},[]),c.useLayoutEffect(()=>{if(r&&r.router)return r.router.subscribe(a=>{a.location!==n&&i(a.location)})},[n]),b(r,"ssrInfo unavailable for HydratedRouter"),H(p,r.manifest,r.routeModules,r.context.ssr,r.context.routeDiscovery,r.context.isSpaMode),c.createElement(c.Fragment,null,c.createElement($.Provider,{value:{manifest:r.manifest,routeModules:r.routeModules,future:r.context.future,criticalCss:e,ssr:r.context.ssr,isSpaMode:r.context.isSpaMode,routeDiscovery:r.context.routeDiscovery}},c.createElement(z,{location:n},c.createElement(ke,{router:p,useTransitions:t.useTransitions,onError:t.onError}))),c.createElement(c.Fragment,null))}const Le={supportedLngs:G,fallbackLng:Y,defaultNS:w,fallbackNS:w,ns:[w],nsSeparator:!1,keySeparator:!1,interpolation:{escapeValue:!1},react:{transKeepBasicHtmlNodesFor:X}};async function Re(){await S.use(ye).use(oe).use(E).init({...Le,backend:{loadPath:"/i18n/{{lng}}/{{ns}}.json"},detection:{order:["htmlTag"],caches:[]}}),c.startTransition(()=>{A.hydrateRoot(document,y.jsx(Se,{i18n:S,children:y.jsx(be,{})}))})}Re().catch(t=>console.error(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.