1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{74:e=>{e.exports={style:{fontFamily:"'ainoHeadline', 'ainoHeadline Fallback', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"},className:"__className_85f1cb",variable:"__variable_85f1cb"}},451:(e,t,a)=>{"use strict";a.d(t,{WebMcp:()=>r});var n=a(9098);let i=e=>({content:[{type:"text",text:e}]});function r(e){let{locale:t="et"}=e;return(0,n.useEffect)(()=>{let e=navigator.modelContext;if(!e)return;let a="function"==typeof e.provideContext?e.provideContext.bind(e):null,n="function"==typeof e.registerTool?e.registerTool.bind(e):null;if(!a&&!n)return;let r=[{name:"search_estonian_companies",description:"Search the Estonian public register (nimistu) for companies, people and trademarks by name or 8-digit registry code. Returns matches with their name, registry code and nimistu.ee path (pass a result's path to open_nimistu_page to open it).",inputSchema:{type:"object",properties:{query:{type:"string",description:"Company name, person name or 8-digit registry code."}},required:["query"]},async execute(e){let a=String(e.query??"").trim();if(!a)return i("Provide a query.");try{let e=await fetch(`/api/lookup?q=${encodeURIComponent(a)}&locale=${t}`,{headers:{accept:"application/json"}});if(!e.ok)return i(JSON.stringify({error:`lookup failed: HTTP ${e.status}`}));let n=await e.json();return i(JSON.stringify(n))}catch{return i(JSON.stringify({error:"lookup failed"}))}}},{name:"open_nimistu_page",description:"Open a nimistu page in the browser by its path or full nimistu.ee URL (e.g. a company or person result from search_estonian_companies). Same-origin only; navigates the current tab.",inputSchema:{type:"object",properties:{url:{type:"string",description:"A nimistu path like /12345678-acme-ou or a full https://nimistu.ee/... URL."}},required:["url"]},async execute(e){let t=String(e.url??"").trim(),a=null;try{a=new URL(t,location.origin)}catch{a=null}return a&&a.origin===location.origin?(location.assign(a.href),i(JSON.stringify({ok:!0,opened:a.href}))):i(JSON.stringify({ok:!1,error:"only same-origin nimistu URLs are allowed"}))}}];try{a?a({tools:r}):r.forEach(e=>n(e))}catch{}},[t]),null}},2671:e=>{e.exports={style:{fontFamily:"'ainoItalic', 'ainoItalic Fallback', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"},className:"__className_faf33f",variable:"__variable_faf33f"}},2833:(e,t,a)=>{"use strict";var n=a(7821);a.o(n,"usePathname")&&a.d(t,{usePathname:function(){return n.usePathname}}),a.o(n,"useRouter")&&a.d(t,{useRouter:function(){return n.useRouter}}),a.o(n,"useSearchParams")&&a.d(t,{useSearchParams:function(){return n.useSearchParams}})},3598:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,6429,23)),Promise.resolve().then(a.t.bind(a,2671,23)),Promise.resolve().then(a.t.bind(a,74,23)),Promise.resolve().then(a.t.bind(a,6011,23)),Promise.resolve().then(a.t.bind(a,7487,23)),Promise.resolve().then(a.bind(a,8170)),Promise.resolve().then(a.bind(a,8107)),Promise.resolve().then(a.bind(a,8878)),Promise.resolve().then(a.bind(a,8320)),Promise.resolve().then(a.bind(a,4700)),Promise.resolve().then(a.bind(a,7974)),Promise.resolve().then(a.bind(a,451))},4700:(e,t,a)=>{"use strict";a.d(t,{IdleTimeout:()=>r});var n=a(2434),i=a(9098);function r(e){let{locale:t}=e,a="en"===t,[r,s]=(0,i.useState)(!1),o=(0,i.useRef)(Date.now()),l=(0,i.useRef)(Date.now()),c=(0,i.useRef)(!1),[d,u]=(0,i.useState)(!1),[m,h]=(0,i.useState)(Math.ceil(60));(0,i.useEffect)(()=>{let e=!0;return fetch("/api/auth/me",{credentials:"include"}).then(e=>e.json()).then(t=>{if(e&&t.user){let e=Date.now();o.current=e,l.current=e,s(!0)}}).catch(()=>void 0),()=>{e=!1}},[]);let p=(0,i.useCallback)(()=>{window.location.href=`/auth/logout?locale=${t}`},[t]),f=(0,i.useCallback)(async()=>{try{return(await fetch("/api/konto/keepalive",{method:"POST"})).ok}catch{return!1}},[]);(0,i.useEffect)(()=>{if(!r)return;let e=()=>{if(c.current)return;let e=Date.now();o.current=e,e-l.current>=6e4&&(l.current=e,f())},t=["mousemove","mousedown","keydown","scroll","touchstart"];return t.forEach(t=>document.addEventListener(t,e,{passive:!0})),()=>t.forEach(t=>document.removeEventListener(t,e))},[r,f]),(0,i.useEffect)(()=>
1{if(!r)return;let e=setInterval(()=>{let e=Date.now()-o.current;if(e>=18e5)return void p();e>=174e4?(c.current=!0,u(!0),h(Math.max(0,Math.ceil((18e5-e)/1e3)))):c.current&&(c.current=!1,u(!1))},1e3);return()=>clearInterval(e)},[r,p]);let x=(0,i.useCallback)(async()=>{if(!await f())return void p();let e=Date.now();o.current=e,l.current=e,c.current=!1,u(!1)},[f,p]);return r&&d?(0,n.jsx)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"idle-title",className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/50 px-4",children:(0,n.jsxs)("div",{className:"w-full max-w-[420px] bg-surface border border-border shadow-xl",children:[(0,n.jsxs)("div",{className:"px-6 pt-6 pb-5",children:[(0,n.jsx)("h2",{id:"idle-title",className:"text-[19px] font-bold text-ink-1 mb-2",children:"ru"===t?"ÐÑ ÐµÑÑ Ð·Ð´ÐµÑÑ?":a?"Still there?":"Kas soovid j\xe4tkata?"}),(0,n.jsx)("p",{className:"text-[14px] text-ink-2 leading-relaxed",children:"ru"===t?"Ð ÑелÑÑ
безопаÑноÑÑи Ð²Ñ Ð±ÑдеÑе авÑомаÑиÑеÑки вÑÐ²ÐµÐ´ÐµÐ½Ñ Ð¸Ð· ÑиÑÑÐµÐ¼Ñ Ð¸Ð·-за бездейÑÑвиÑ.":a?"For your security you'll be logged out automatically because of inactivity.":"Turvalisuse huvides logitakse sind tegevusetuse t\xf5ttu peagi automaatselt v\xe4lja."}),(0,n.jsxs)("p",{className:"mt-3 font-mono text-[13px] text-ink-3",children:["ru"===t?"ÐÑÑ
од ÑеÑез ":a?"Logging out in ":"V\xe4lja logimine ",(0,n.jsx)("span",{className:"font-bold text-rose-ink tabular-nums",children:m}),"ru"===t?" Ñ":a?" s":" s p\xe4rast"]})]}),(0,n.jsxs)("div",{className:"flex gap-2 px-6 pb-6",children:[(0,n.jsx)("button",{type:"button",onClick:x,className:"flex-1 inline-flex items-center justify-center px-3.5 py-2.5 bg-accent-panel text-white font-semibold text-[13px] hover:bg-accent",children:"ru"===t?"ÐÑÑаÑÑÑÑ Ð² ÑиÑÑеме":a?"Stay logged in":"J\xe4tka seanssi"}),(0,n.jsx)("button",{type:"button",onClick:p,className:"inline-flex items-center justify-center px-3.5 py-2.5 border border-border text-ink-2 text-[13px] hover:border-rose-ink hover:text-rose-ink",children:"ru"===t?"ÐÑйÑи":a?"Log out":"Logi v\xe4lja"})]})]})}):null}},6011:e=>{e.exports={style:{fontFamily:"'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontStyle:"normal"},className:"__className_e84342",variable:"__variable_e84342"}},6429:e=>{e.exports={style:{fontFamily:"'aino', 'aino Fallback', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif"},className:"__className_7c64d6",variable:"__variable_7c64d6"}},7487:()=>{},7974:(e,t,a)=>{"use strict";a.d(t,{NavigationProgress:()=>s});var n=a(2434),i=a(9098),r=a(2833);function s(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),[a,s]=(0,i.useState)("idle"),o=(0,i.useRef)(null),l=(0,i.useRef)(!0);return(0,i.useEffect)(()=>{if(l.current){l.current=!1;return}s("done"),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>s("idle"),220)},[e,t]),(0,i.useEffect)(()=>{let e=()=>{o.current&&(clearTimeout(o.current),o.current=null),s("idle"),requestAnimationFrame(()=>s("active"))},t=t=>{let a;if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let n=t.target?.closest?.("a");if(!n||n.hasAttribute("download")||n.target&&""!==n.target&&"_self"!==n.target)return;let i=n.getAttribute("href");if(!(!i||i.startsWith("#")||i.startsWith("mailto:")||i.startsWith("tel:"))){try{a=new URL(i,window.location.href)}catch{return}a.origin===window.location.origin&&(a.pathname!==window.location.pathname||a.search!==window.location.search)&&e()}},a=()=>e();return document.addEventListener("click",t,!0),window.addEventListener("popstate",a),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("popstate",a),o.current&&clearTimeout(o.current)}},[]),(0,n.jsx)("div",{className:"nav-progress"+("active"===a?" is-active":"")+("done"===a?" is-active is-done":""),"aria-hidden":!0,children:(0,n.jsx)("span",{})})}},8107:(e,t,a)=>{"use strict";a.d(t,{AdminBar:()=>s});var n=a(2434),i=a(9098),r=a(2833);function s(){let[e,t]=(0,i.useState)(null),a=(0,r.usePathname)()??"/";if((0,i.useEffect)(()=>{let e=!1;return(async()=>{try{let a=await fetch("/api/admin/me",{credentials:"include",cache:"no-store"});if(e)return;if(a.ok){let e=await a.json();t(e.admin?{admin:!0,email:e.email??null}:{admin:!1})}else t({admin:!1})}catch{e||t({admin:!1})}})(),()=>{e=!0}},[]),!e||!e.admin||a.startsWith("/admin"))return null;let s=function(e){let t=e.match(/^\/(?:en\/)?(\d{7,9})(?:-|$|\/)/);if(t)return`company:${t[1]}`;let a=e.match(/^\/(?:en\/)?isik\/(\d+)(?:-|$|\/)/);if(a)return`person:${a[1]}`;let n=e.match(/^\/(?:en\/)?tegevusalad\/(\d{4,5})/);return n?`emtak:${n[1]}`:e.startsWith("/vaated")||e.startsWith("/en/views")?"vaade":null}(a),o=s?`/admin/db?ctx=${encodeURIComponent(s)}`:"https://db.nimistu.ee",u=!s,m=s?`Andmebaas \xb7 ${s.replace(":"," \xb7 ")}`:"Andmebaas (Mathesar)";return(0,n.jsx)("div",{role:"region","aria-label":"Admin","data-
1path":a,"data-ctx":s??"none",className:"fixed left-0 top-1/2 -translate-y-1/2 z-[60] pointer-events-none hidden md:block",children:(0,n.jsxs)("div",{className:"pointer-events-auto inline-flex flex-col items-stretch bg-ink-1 text-bg shadow-card rounded-r-[10px] overflow-hidden",children:[(0,n.jsx)("span",{"aria-hidden":"true",title:`admin \xb7 ${e.email??""}`,className:"w-9 h-9 bg-accent text-white flex items-center justify-center",children:(0,n.jsx)(l,{})}),(0,n.jsx)("a",{href:"/admin",title:"Admin dashboard","aria-label":"Admin dashboard",className:"w-9 h-9 flex items-center justify-center text-bg hover:bg-ink-2 hover:no-underline border-t border-bg/10",children:(0,n.jsx)(c,{})}),(0,n.jsxs)("a",{href:o,target:u?"_blank":void 0,rel:u?"noopener noreferrer":void 0,title:m,"aria-label":m,className:"w-9 h-9 flex items-center justify-center text-bg hover:bg-ink-2 hover:no-underline border-t border-bg/10 relative",children:[(0,n.jsx)(d,{}),u&&(0,n.jsx)("span",{"aria-hidden":"true",className:"absolute top-1 right-1 w-1 h-1 rounded-full bg-warm-ink",title:"No context â opens Mathesar"})]})]})})}let o={width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0};function l(){return(0,n.jsx)("svg",{...o,strokeWidth:2.4,children:(0,n.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})})}function c(){return(0,n.jsxs)("svg",{...o,children:[(0,n.jsx)("rect",{x:"3",y:"3",width:"7",height:"9",rx:"1"}),(0,n.jsx)("rect",{x:"14",y:"3",width:"7",height:"5",rx:"1"}),(0,n.jsx)("rect",{x:"14",y:"12",width:"7",height:"9",rx:"1"}),(0,n.jsx)("rect",{x:"3",y:"16",width:"7",height:"5",rx:"1"})]})}function d(){return(0,n.jsxs)("svg",{...o,children:[(0,n.jsx)("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),(0,n.jsx)("path",{d:"M3 5v6c0 1.66 4.03 3 9 3s9-1.34 9-3V5"}),(0,n.jsx)("path",{d:"M3 11v6c0 1.66 4.03 3 9 3s9-1.34 9-3v-6"})]})}},8170:(e,t,a)=>{"use strict";a.d(t,{AccessibilityModal:()=>l});var n=a(2434),i=a(9098),r=a(2833);function s(){try{return"high"===window.localStorage.getItem("nimistu_a11y_contrast")?"high":"default"}catch{return"default"}}function o(e){if("undefined"!=typeof document){"high"===e?document.documentElement.dataset.a11y="high":delete document.documentElement.dataset.a11y;try{"default"===e?window.localStorage.removeItem("nimistu_a11y_contrast"):window.localStorage.setItem("nimistu_a11y_contrast",e)}catch{}}}function l(){let e=(0,r.usePathname)()??"",t="/en"===e||e.startsWith("/en/")?u:d,[a,l]=(0,i.useState)(!1),[m,h]=(0,i.useState)("default"),[p,f]=(0,i.useState)("default");return((0,i.useEffect)(()=>{let e=s();h(e),f(e);let t=()=>{let e=s();h(e),f(e),l(!0)};return window.addEventListener("nimistu:open-a11y",t),()=>window.removeEventListener("nimistu:open-a11y",t)},[]),(0,i.useEffect)(()=>{if(!a)return;let e=e=>{"Escape"===e.key&&l(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[a]),a)?(0,n.jsx)("div",{className:"fixed inset-0 z-[100] flex items-start justify-center bg-black/60 overflow-y-auto",role:"dialog","aria-modal":"true","aria-labelledby":"a11y-title",onClick:e=>{e.target===e.currentTarget&&l(!1)},children:(0,n.jsxs)("div",{className:"bg-surface w-full max-w-[640px] mx-4 my-8 max-md:my-2 border border-border shadow-xl",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-4 px-7 max-md:px-5 pt-6 pb-3",children:[(0,n.jsx)("h2",{id:"a11y-title",className:"font-display text-[28px] max-md:text-[22px] font-bold text-accent leading-tight tracking-[-0.015em]",children:t.title}),(0,n.jsx)("button",{type:"button",onClick:()=>l(!1),className:"text-ink-3 hover:text-ink-1 text-2xl leading-none -mt-1","aria-label":t.close,children:"\xd7"})]}),(0,n.jsxs)("div",{className:"px-7 max-md:px-5 pb-6 text-[14.5px] text-ink-1 leading-[1.55]",children:[(0,n.jsx)("p",{className:"mb-6",children:t.intro}),(0,n.jsx)("h3",{className:"font-display text-[18px] font-bold text-accent mb-2",children:t.textSizeTitle}),(0,n.jsx)("p",{className:"mb-7 text-ink-2",children:t.textSizeBody}),(0,n.jsx)("h3",{className:"font-display text-[18px] font-bold text-accent mb-3",children:t.contrastTitle}),(0,n.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-6",children:[(0,n.jsx)(c,{label:t.defaultLabel,selected:"default"===p,onSelect:()=>f("default"),variant:"default"}),(0,n.jsx)(c,{label:t.highContrastLabel,selected:"high"===p,onSelect:()=>f("high"),variant:"high"})]}),(0,n.jsxs)("div",{className:"flex items-center justify-end gap-3 pt-2 flex-wrap",children:[(0,n.jsx)("button",{type:"button",onClick:()=>{f("default"),o("default"),h("default")},className:"font-mono text-[11px] uppercase tracking-[0.06em] px-5 py-2.5 border border-accent text-accent hover:bg-accent-tint",children:t.reset}),(0,n.jsx)("button",{type:"button",onClick:()=>{o(p),h(p),l(!1)},disabled:p===m,className:"font-mono text-[11px] uppercase tracking-[0.06em] px-5 py-2.5 bg-accent text-white border border-accent hover:bg-accent-700 disabled:opacity-50 disabled:cursor-not-allowed",children:t.confirm})]})]})]})}):null}function c(e){let{label:t,selected:a,onSelect:i,variant:r}=e;return(0,n.jsxs)("button",{type:"button",onClick:i,"aria-pressed":a,className:`flex items-center gap-3 px-4 py-3 border text-left ${a?"border-accent":"border-border hover:border-border-strong"}`,children:[(0,n.jsx)("span",{className:`inline-flex items-center justify-center w-5 h-5 rounded-full border-2 shrink-0 ${a?"border-accent":"border-ink-3"}`,children:a&&(0,n.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-accent"})}),(0,n.jsx)("span",{className:`inline-flex items-center justify-center px-3 py-1 font-bold text-[13px] border ${"high"===r?"bg-black text-[#ff0] border-black":"bg-surface text-ink-1 border-border"}`,children:t})]})}let d={title:"Juurdep\xe4\xe4setavus",close:"Sulge",intro:"Lehe loomisel on peetud silmas, et siin avaldatav info oleks k\xe4ttesaadav ja kasutatav v\xf5imalikult paljudele inimestele.",textSizeTitle:"Teksti suurus",textSizeBody:'K\xf5ikides populaarsetes veebilehitsejates on v\xf5imalik lehte suurendada ja v\xe4hendada, kui hoida all Ctrl-klahvi (OS X operatsioonis\xfcsteemis Cmd-klahvi) ja samal ajal vajutada kas "+"- v\xf5i "â"-klahvi. Tagasi normaalsuurusesse saab, kui vajutada samaaegselt Ctrl- ja 0-klahvile.',contrastTitle:"Kontrast",defaultLabel:"Vaikimisi seaded",highContrastLabel:"Must ja kollane tekst",reset:"Taasta algseaded",confirm:"Kinnita valik"},u={title:"Accessibility",close:"Close",intro:"This site is built to be reachable and usable for as many people as possible.",textSizeTitle:"Text size",textSizeBody:'All major browsers let you zoom in and out by holding Ctrl (Cmd on macOS) and pressing the "+" or "â" key. Press Ctrl + 0 to return to the default size.',contrastTitle:"Contrast",defaultLabel:"Default settings",highContrastLabel:"Black with yellow text",reset:"Reset",confirm:"Apply"}},8320:(e,t,a)=>{"use strict";a.d(t,{CookieConsent:()=>d});var n=a(2434),i=a(2833),r=a(9098);let s=[7,8,9,10];function o(){return"function"==typeof window.__tcfapi}
1let l="nimistu_klaro";function c(){if("undefined"==typeof document)return null;let e=document.cookie.match(/(?:^|;\s*)nimistu_consent=([01])/);return e?"1"===e[1]:null}function d(){let e=(0,i.usePathname)()??"/",t=p["/en"===e||e.startsWith("/en/")?"en":"/ru"===e||e.startsWith("/ru/")?"ru":"et"],a=e.endsWith("/embed"),d=e.endsWith("/pdf-document"),[f,x]=(0,r.useState)("hidden"),[b,y]=(0,r.useState)(!1),g=(0,r.useRef)(null),v=(0,r.useRef)(!1),k=(0,r.useCallback)(()=>{if(window.zaraz||document.querySelector("script[data-zaraz-loader]"))return;let e=document.createElement("script");e.src="/cdn-cgi/zaraz/i.js",e.referrerPolicy="origin",e.defer=!0,e.setAttribute("data-zaraz-loader",""),document.head.appendChild(e)},[]),w=(0,r.useCallback)(e=>{if(g.current=e,!e)return void window.zaraz?.consent?.setAll?.(!1);k();let t=window.zaraz?.consent?.setAll;"function"==typeof t&&t(!0)},[k]);(0,r.useEffect)(()=>{"undefined"!=typeof document&&RegExp(`(?:^|;\\s*)${l}=`).test(document.cookie)&&(document.cookie=`${l}=; path=/; max-age=0; SameSite=Lax`);let e=()=>{null!==g.current&&w(g.current)};document.addEventListener("zaraz_consent_api_ready",e);let t=null,a=function(e,t){if(o())return t(),()=>{};let a=Date.now(),n=window.setInterval(()=>{o()?(window.clearInterval(n),t()):Date.now()-a>15e3&&window.clearInterval(n)},150);return()=>window.clearInterval(n)}(0,()=>{v.current=!0,x("hidden"),t=function(e){let t,a=window.__tcfapi;return"function"!=typeof a?()=>{}:(a("addEventListener",2,(a,n)=>{n&&a&&("number"==typeof a.listenerId&&(t=a.listenerId),("tcloaded"===a.eventStatus||"useractioncomplete"===a.eventStatus)&&e(function(e){if(!1===e.gdprApplies)return!0;let t=e.purpose?.consents??{};return!!t[1]&&s.some(e=>!!t[e])}(a)))}),()=>{if(void 0!==t)try{window.__tcfapi?.("removeEventListener",2,()=>{},t)}catch{}})}(w)}),n=c();if(o());else if(null===n){let e=()=>{v.current||x("notice")};if("undefined"!=typeof document&&document.fonts?.status==="loaded")e();else{let t=setTimeout(e,1200);document.fonts?.ready.then(()=>{clearTimeout(t),e()}).catch(e)}}else w(n);let i=()=>{v.current&&function(){let e=window.googlefc;return"function"==typeof e?.showRevocationMessage?(e.showRevocationMessage(),!0):"function"==typeof window.__tcfapi&&(window.__tcfapi("displayConsentUi",2,()=>{}),!0)}()||(y(c()??!1),x("modal"))};return window.addEventListener("nimistu:open-consent",i),()=>{document.removeEventListener("zaraz_consent_api_ready",e),window.removeEventListener("nimistu:open-consent",i),a(),t?.()}},[w]),(0,r.useEffect)(()=>{if("modal"!==f)return;let e=e=>{"Escape"===e.key&&N()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[f]);let j=e=>{let t="https:"===window.location.protocol?"; Secure":"";document.cookie=`nimistu_consent=${e?"1":"0"}; path=/; max-age=31536000; SameSite=Lax${t}`,w(e),x("hidden")},N=()=>{x(null===c()?"notice":"hidden")};return a||d?null:"notice"===f?(0,n.jsxs)("div",{className:"fixed z-[90] bottom-4 left-4 right-4 sm:left-auto sm:right-6 sm:bottom-6 sm:w-[400px] bg-surface border border-border shadow-xl p-5",role:"region","aria-label":t.notice.title,children:[(0,n.jsx)("h2",{className:"font-display text-[20px] font-bold text-accent leading-tight tracking-[-0.015em] mb-2",children:t.notice.title}),(0,n.jsx)("p",{className:"text-[13.5px] text-ink-1 leading-[1.55] mb-4",children:t.notice.body}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2.5",children:[(0,n.jsx)(u,{onClick:()=>j(!0),children:t.allowAll}),(0,n.jsx)(m,{onClick:()=>j(!1),children:t.decline}),(0,n.jsx)(m,{onClick:()=>{y(c()??!1),x("modal")},children:t.options})]})]}):"modal"===f?(0,n.jsx)("div",{className:"fixed inset-0 z-[100] flex items-start justify-center bg-black/60 overflow-y-auto",role:"dialog","aria-modal":"true","aria-labelledby":"consent-title",onClick:e=>{e.target===e.currentTarget&&N()},children:(0,n.jsxs)("div",{className:"bg-surface w-full max-w-[640px] mx-4 my-8 max-md:my-2 border border-border shadow-xl",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-4 px-7 max-md:px-5 pt-6 pb-3",children:[(0,n.jsx)("h2",{id:"consent-title",className:"font-display text-[28px] max-md:text-[22px] font-bold text-accent leading-tight tracking-[-0.015em]",children:t.modal.title}),(0,n.jsx)("button",{type:"button",onClick:N,className:"text-ink-3 hover:text-ink-1 text-2xl leading-none -mt-1","aria-label":t.close,children:"\xd7"})]}),(0,n.jsxs)("div",{className:"px-7 max-md:px-5 pb-6 text-[14.5px] text-ink-1 leading-[1.55]",children:[(0,n.jsx)("p",{className:"mb-5",children:t.modal.body}),(0,n.jsx)(h,{title:t.functional.title,badge:t.requiredLabel,description:t.functional.body,checked:!0,disabled:!0}
1),(0,n.jsx)(h,{title:t.analytics.title,description:t.analytics.body,checked:b,onChange:()=>y(e=>!e)}),(0,n.jsxs)("p",{className:"text-[13px] text-ink-2 mt-4",children:[t.privacy.pre," ",(0,n.jsx)("a",{href:t.privacy.href,className:"text-accent underline underline-offset-2",children:t.privacy.label}),t.privacy.post]}),(0,n.jsxs)("div",{className:"flex items-center justify-end gap-3 pt-6 flex-wrap",children:[(0,n.jsx)(m,{onClick:()=>j(b),children:t.save}),(0,n.jsx)(u,{onClick:()=>j(!0),children:t.allowAll})]})]})]})}):null}function u(e){let{children:t,onClick:a}=e;return(0,n.jsx)("button",{type:"button",onClick:a,className:"font-mono text-[11px] uppercase tracking-[0.06em] px-5 py-2.5 bg-accent text-white border border-accent hover:bg-accent-700",children:t})}function m(e){let{children:t,onClick:a}=e;return(0,n.jsx)("button",{type:"button",onClick:a,className:"font-mono text-[11px] uppercase tracking-[0.06em] px-5 py-2.5 border border-accent text-accent hover:bg-accent-tint",children:t})}function h(e){let{title:t,badge:a,description:i,checked:r,disabled:s,onChange:o}=e;return(0,n.jsxs)("div",{className:"flex items-start justify-between gap-4 py-3.5 border-t border-border",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,n.jsx)("span",{className:"font-medium text-ink-1",children:t}),a&&(0,n.jsxs)("span",{className:"font-mono text-[10px] uppercase tracking-[0.04em] text-ink-3",children:["(",a,")"]})]}),(0,n.jsx)("p",{className:"text-[13.5px] text-ink-2 leading-[1.5]",children:i})]}),(0,n.jsx)("button",{type:"button",role:"switch","aria-checked":r,"aria-label":t,disabled:s,onClick:o,className:`relative shrink-0 mt-1 w-10 h-6 rounded-full transition-colors ${r?"bg-accent":"bg-border"} ${s?"opacity-70 cursor-not-allowed":"cursor-pointer"}`,children:(0,n.jsx)("span",{className:`absolute top-0.5 left-0.5 w-5 h-5 rounded-full bg-white shadow transition-transform ${r?"translate-x-4":""}`})})]})}let p={et:{notice:{title:"K\xfcpsised",body:"Kasutame k\xfcpsiseid statistika kogumiseks ja kasutajakogemuse parandamiseks."},modal:{title:"Privaatsus ja k\xfcpsised",body:"Kasutame k\xfcpsiseid statistika kogumiseks ja kasutajakogemuse parandamiseks. Sa v\xf5id valikud igal ajal muuta."},functional:{title:"Toimivus",body:"Vajalik lehe p\xf5hitoimimiseks - alati sees."},analytics:{title:"Statistika",body:"Anon\xfc\xfcmne kasutusstatistika lehe paremaks tegemiseks. Edastatakse Cloudflare Zarazi kaudu."},privacy:{pre:"Loe l\xe4hemalt",label:"privaatsustingimustest",href:"/tingimused",post:"."},allowAll:"Luba k\xf5ik",decline:"Keeldun",options:"Vaata valikuid",save:"Salvesta valik",close:"Sulge",requiredLabel:"alati n\xf5utud"},en:{notice:{title:"Cookies",body:"We use cookies for analytics and to improve the user experience."},modal:{title:"Privacy and cookies",body:"We use cookies for analytics and to improve the user experience. You can change your choices at any time."},functional:{title:"Functional",body:"Required for the site to function â always on."},analytics:{title:"Analytics",body:"Anonymous usage statistics to help us improve the site. Delivered through Cloudflare Zaraz."},privacy:{pre:"Read more in our",label:"privacy terms",href:"/en/terms",post:"."},allowAll:"Allow all",decline:"Decline",options:"See options",save:"Save choice",close:"Close",requiredLabel:"always required"},ru:{notice:{title:"Ð¤Ð°Ð¹Ð»Ñ cookie",body:"ÐÑ Ð¸ÑполÑзÑем ÑÐ°Ð¹Ð»Ñ cookie Ð´Ð»Ñ ÑÑаÑиÑÑики и ÑлÑÑÑÐµÐ½Ð¸Ñ ÑабоÑÑ ÑайÑа."},modal:{title:"ÐонÑиденÑиалÑноÑÑÑ Ð¸ ÑÐ°Ð¹Ð»Ñ cookie",body:"ÐÑ Ð¸ÑполÑзÑем ÑÐ°Ð¹Ð»Ñ cookie Ð´Ð»Ñ ÑÑаÑиÑÑики и ÑлÑÑÑÐµÐ½Ð¸Ñ ÑабоÑÑ ÑайÑа. ÐÑ Ð¼Ð¾Ð¶ÐµÑе измениÑÑ Ð½Ð°ÑÑÑойки в лÑбое вÑемÑ."},functional:{title:"ФÑнкÑионалÑнÑе",body:"ÐеобÑ
одимо Ð´Ð»Ñ ÑабоÑÑ ÑайÑа - вÑегда вклÑÑено."},analytics:{title:"ÐналиÑика",body:"ÐÐ½Ð¾Ð½Ð¸Ð¼Ð½Ð°Ñ ÑÑаÑиÑÑика иÑполÑзованиÑ. ÐеÑедаÑÑÑÑ ÑеÑез Cloudflare Zaraz."},privacy:{pre:"ÐодÑобнее в наÑиÑ
",label:"ÑÑловиÑÑ
",href:"/ru/ÑÑловиÑ",post:"."},allowAll:"РазÑеÑиÑÑ Ð²Ñе",decline:"ÐÑклониÑÑ",options:"ÐоÑмоÑÑеÑÑ Ð½Ð°ÑÑÑойки",save:"СоÑ
ÑаниÑÑ Ð²ÑбоÑ",close:"ÐакÑÑÑÑ",requiredLabel:"вÑегда ÑÑебÑеÑÑÑ"}}},8878:(e,t,a)=>{"use strict";a.d(t,{ChunkReloader:()=>o});var n=a(9098);let i="nimistu_chunk_reload";function r(){try{let e=Number(sessionStorage.getItem(i)||"0");if(Date.now()-e<1e4)return;
1sessionStorage.setItem(i,String(Date.now()))}catch{}window.location.reload()}function s(e,t,a){return"ChunkLoadError"===e||!!a||/loading (css )?chunk [\w-]+ failed|failed to fetch dynamically imported module|error loading dynamically imported module|importing a module script failed|chunkloaderror/i.test(t)}function o(){return(0,n.useEffect)(()=>{let e=e=>{let t=e.error,a=e.target,n=!!a&&("SCRIPT"===a.tagName||"LINK"===a.tagName),i=a&&"src"in a?a.src:a&&"href"in a?a.href:void 0,o=n&&i&&/\/_next\/static\//.test(i)?i:void 0;s(t?.name??"",String(t?.message??e.message??""),o)&&r()},t=e=>{let t=e.reason;s("object"==typeof t&&t?t.name??"":"",String("string"==typeof t?t:t?.message??""))&&r()};window.addEventListener("error",e,!0),window.addEventListener("unhandledrejection",t);let a=window.setTimeout(()=>{try{sessionStorage.removeItem(i)}catch{}},8e3);return()=>{window.removeEventListener("error",e,!0),window.removeEventListener("unhandledrejection",t),window.clearTimeout(a)}},[]),null}}},e=>{e.O(0,[7339,5968,1575,8662,7358],()=>e(e.s=3598)),_N_E=e.O()}]);
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.