1import{r as u,ao as c,a as l}from"./index-CRPZpX17.js";const f="DAPPOS_LANGUAGE";function a(e){return u.locales.includes(e)}function s(e,n){const t=n??(typeof document>"u"?"":document.cookie);if(!t)return null;const o=t.split(";").map(i=>i.trim()).find(i=>i.startsWith(`${encodeURIComponent(e)}=`));if(!o)return null;const r=o.slice(o.indexOf("=")+1);try{return decodeURIComponent(r)}catch{return r}}function d(){return typeof navigator>"u"?[]:[navigator.language,...navigator.languages??[]].filter(Boolean)}function g(e){for(const n of e){if(a(n))return n;const t=n.split("-")[0],o=u.locales.find(r=>r.split("-")[0]===t);if(o)return o}return null}function p(e={}){const n=s(f,e.cookie);return a(n)?n:g(e.browserLanguages??d())??u.defaultLocale}function m(e){return e?e.startsWith("?")?e:`?${e}`:""}function w(e){return e?e.startsWith("#")?e:`#${e}`:""}function L(e,n,t=""){return`/${e}${m(n)}${w(t)}`}function S(){return typeof window>"u"?"":window.location.search}function v(){return typeof window>"u"?"":window.location.hash}const R=function(){const n=c();return l.useEffect(()=>{n({to:L(p(),S(),v()),replace:!0})},[n]),null};export{R as component};
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.