PageSourceSearch

https://polads.eu/_next/static/chunks/5045-e629333c7c221f97.js

js polads.eu collected 2026-10-10 00:15:35 UTC 6,239 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="74dfcf71-3f5a-46f7-941a-05d7b9cbfb5e",e._sentryDebugIdIdentifier="sentry-dbid-74dfcf71-3f5a-46f7-941a-05d7b9cbfb5e")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5045],{5045:(e,t,a)=>{a.r(t),a.d(t,{LegalDocActions:()=>m,LegalDownloadButton:()=>y});var n=a(53835),o=a(99163),r=a(64617),s=a(49294),l=a(63769),i=a(47283),c=a(30990),d=a(94907),u=a(86695),f=a(56184);let p="inline-flex items-center gap-2 rounded-lg border border-transparent px-4 py-2.5 text-[13.5px] font-semibold leading-none transition-colors disabled:cursor-not-allowed disabled:opacity-70",b="border-eu-blue/[0.14] bg-white/70 text-gray-900 hover:bg-white hover:border-eu-blue/25";function y(e){let{docKey:t,locale:a,fileName:i,documentLabel:c,tone:u="primary"}=e,y=(0,d.c)("legal.actions"),[h,m]=(0,o.useState)("idle"),x=(0,o.useRef)(null);(0,o.useEffect)(()=>()=>{x.current&&clearTimeout(x.current)},[]);let g=(0,o.useCallback)(async()=>{if("loading"!==h){x.current&&clearTimeout(x.current),m("loading");try{let e=await fetch("/api/legal/".concat(t,"/pdf?locale=").concat(encodeURIComponent(a)),{headers:{Accept:"application/pdf"}});if(!e.ok)throw Error("Legal PDF request failed: ".concat(e.status));let n=URL.createObjectURL(await e.blob()),o=document.createElement("a");o.href=n,o.download=i,o.rel="noopener",document.body.appendChild(o),o.click(),o.remove(),setTimeout(()=>URL.revokeObjectURL(n),6e4),m("idle")}catch(e){m("error"),x.current=setTimeout(()=>m("idle"),5e3)}}},[t,i,a,h]),w="loading"===h,T=y(w?"downloadPreparing":"error"===h?"downloadFailed":"download");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{type:"button",onClick:g,disabled:w,"aria-busy":w,"aria-label":y("downloadAriaLabel",{document:c}),className:"".concat(p," ").concat("primary"===u?"bg-eu-blue text-white hover:bg-eu-blue-800":b," ").concat(f.lr),children:[w?(0,n.jsx)(r.A,{className:"h-[15px] w-[15px] shrink-0 animate-spin","aria-hidden":"true"}):"error"===h?(0,n.jsx)(s.A,{className:"h-[15px] w-[15px] shrink-0","aria-hidden":"true"}):(0,n.jsx)(l.A,{className:"h-[15px] w-[15px] shrink-0","aria-hidden":"true"}),(0,n.jsx)("span",{children:T})]}),(0,n.jsx)("span",{className:"sr-only",role:"status",children:w?y("downloadPreparing"):"error"===h?y("downloadFailed"):""})]})}function h(){let e=(0,d.c)("legal.actions"),t=(0,u.C)(),[a,r]=(0,o.useState)(!1),s=(0,o.useRef)(null);(0,o.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]);let l=(0,o.useCallback)(async()=>{await t(window.location.href)&&(s.current&&clearTimeout(s.current),r(!0),s.current=setTimeout(()=>r(!1),1600))},[t]);return(0,n.jsxs)("button",{type:"button",onClick:l,className:"".concat(p," ").concat(b," ").concat(f.lr),"data-sentry-component":"LegalCopyLinkButton","data-sentry-source-file":"LegalDocActions.tsx",children:[a?(0,n.jsx)(i.A,{className:"h-[15px] w-[15px] shrink-0 text-eu-blue","aria-hidden":"true"}):(0,n.jsx)(c.A,{className:"h-[15px] w-[15px] shrink-0","aria-hidden":"true"}),(0,n.jsx)("span",{children:e(a?"copyLinkCopied":"copyLink")})]})}function m(e){let{docKey:t,locale:a,fileName:o,documentLabel:r}=e;return(0,n.jsxs)("div",{className:"no-print mt-[22px] flex flex-wrap items-center gap-2.5 border-b border-eu-blue/[0.14] pb-[30px]","data-sentry-component":"LegalDocActions","data-sentry-source-file":"LegalDocActions.tsx",children:[(0,n.jsx)(y,{docKey:t,locale:a,fileName:o,documentLabel:r,"data-sentry-element":"LegalDownloadButton","data-sentry-source-file":"LegalDocActions.tsx"}),(0,n.jsx)(h,{"data-sentry-element":"LegalCopyLinkButton","data-sentry-source-file":"LegalDocActions.tsx"})]})}},56184:(e,t,a)=>{a.d(t,{We:()=>r,lr:()=>n,r8:()=>o});let n="relative before:absolute before:inset-x-0 before:-inset-y-1 before:content-['']",o="relative before:absolute before:-inset-1 before:content-['']",r="relative before:absolute before:left-1/2 before:top-1/2 before:h-11 before:w-11 before:-translate-x-1/2 before:-translate-y-1/2 before:content-['']"},78734:(e,t,a)=>{a.d(t,{dj:()=>u,oR:()=>d});var n=a(99163);let o=0,r=new Map,s=e=>{if(r.has(e))return;let t=setTimeout(()=>{r.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);r.set(e,t)},l=[],i={toasts:[]};function c(e){i=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;
1return a?s(a):e.toasts.forEach(e=>{s(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(i,e),l.forEach(e=>{e(i)})}function d(e){let{...t}=e,a=(o=(o+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||n()}}}),{id:a,dismiss:n,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function u(){let[e,t]=n.useState(i);return n.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:d,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},86695:(e,t,a)=>{a.d(t,{C:()=>l});var n=a(99163),o=a(94907),r=a(78734),s=a(88e3);function l(){let e=(0,o.c)("common");return(0,n.useCallback)(async t=>{let a=await (0,s.l)(t);return a||(0,r.oR)({description:e("copyFailed"),variant:"destructive"}),a},[e])}},88e3:(e,t,a)=>{a.d(t,{l:()=>n});async function n(e){var t;if("undefined"!=typeof navigator&&"function"==typeof(null==(t=navigator.clipboard)?void 0:t.writeText))try{return await navigator.clipboard.writeText(e),!0}catch(e){}if("undefined"==typeof document||!document.body)return!1;let a=document.createElement("textarea");a.value=e,a.setAttribute("readonly",""),a.style.position="fixed",a.style.top="0",a.style.left="-9999px",a.style.opacity="0",document.body.appendChild(a);try{return a.select(),a.setSelectionRange(0,e.length),!0===document.execCommand("copy")}catch(e){return!1}finally{document.body.removeChild(a)}}}}]);

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.