1var e={},t=[`en`,`ar`],n=`active_locale`,r=3456e4,i=`fkra.ai`,a=[`cookie`,`baseLocale`],o=[];globalThis.__paraglide=globalThis.__paraglide??{},globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var s=!1,c=()=>{let e=a;typeof window<`u`&&window.location?.href&&(e=D(window.location.href));let t=l(e,typeof window<`u`?window.location?.href:void 0);if(t)return s||(s=!0,d(t,{reload:!1})),t;throw Error(`No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found`)};function l(e,t){let n;for(let t of e){if(t===`cookie`)n=x();else if(t===`baseLocale`)n=`en`;else if(k(t)&&O.has(t)){let e=O.get(t);if(e){let t=e.getLocale();if(t instanceof Promise)continue;if(t!==void 0)return m(t)}}let e=p(n);if(e)return e}}var u=e=>{e?window.location.href=e:window.location.reload()},d=(e,t)=>{let o={reload:!0,...t},s;try{s=c()}catch{}let l=[],d=a;typeof window<`u`&&window.location?.href&&(d=D(window.location.href));for(let t of d)if(t===`cookie`){if(typeof document>`u`||typeof window>`u`)continue;let t=`${n}=${e}; path=/; max-age=${r}`;document.cookie=`${t}; domain=${i}`,y()}else if(t===`baseLocale`)continue;else if(k(t)&&O.has(t)){let n=O.get(t);if(n){let r=n.setLocale(e);r instanceof Promise&&(r=r.catch(e=>{throw Error(`Custom strategy "${t}" setLocale failed.`,{cause:e})}),l.push(r))}}let f=()=>{o.reload&&window.location&&e!==s&&u(void 0)};if(l.length)return Promise.all(l).then(()=>{f()});f()},f=()=>typeof window<`u`?window.location.origin:`http://fallback.com`;function p(e){if(typeof e!=`string`)return;let n=e.toLowerCase();for(let e of t)if(e.toLowerCase()===n)return e}function m(e){let n=p(e);if(n)return n;throw Error(`Invalid locale: ${e}. Expected one of: ${t.join(`, `)}`)}var h=n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),g=RegExp(`(?:^|;\\s*)${h}=([^;]*)`),_=Symbol(),v=_;function y(){v=_}function b(){typeof queueMicrotask==`function`?queueMicrotask(y):Promise.resolve().then(y)}function x(){if(typeof document>`u`)return;if(v!==_)return v;let e=document.cookie.match(g)?.[1];return v=p(e),b(),v}function S(e){return C(e)}function C(e){let t=typeof e==`string`?new URL(e,f()):new URL(e),n=t.pathname.split(`/`).filter(Boolean);return n.length>0&&p(n[0])&&(t.pathname=`/`+n.slice(1).join(`/`)),t}var w,T;function E(t){if(o.length===0)return;let n=typeof t==`string`?t:t.href;if(w===n)return T;let r=new URL(n,`http://example.com`),i=S(r),a=i.href===r.href?[r]:[r,i],s;for(let t of a){for(let n of o)if(new e(n.match,t.href).exec(t.href)){s=n;break}if(s)break}return w=n,T=s,s}function D(e){let t=E(e);return t&&t.exclude!==!0&&Array.isArray(t.strategy)?t.strategy:a}var O=new Map;function k(e){return typeof e==`string`&&/^custom-[A-Za-z0-9_-]+$/.test(e)}export{t as n,d as r,c 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.