1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3117],{26350:e=>{e.exports={item:"ecKeBQ",activator:"k2nSd4",open:"SknIzD",accordionContent:"k119Tm",link:"W8JtlY"}},63117:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>L});var l=n(95155),t=n(12115),r=n(2961),i=n.n(r),c=n(83967),s=n.n(c),o=n(17092),d=n(29952),p=n(47650),u=n(3077),h=n.n(u);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var l in n)({}).hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(null,arguments)}let m=e=>t.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),t.createElement("path",{d:"M5.5 5.5 1.2 9.8a.7.7 0 0 1-.99-.99L4.01 5 .205 1.2A.7.7 0 0 1 1.2.205L5.5 4.5a.7.7 0 0 1 0 .99Z",style:{fill:"currentColor"},transform:"rotate(90 4 11)"})),x=e=>e.startsWith("http")||e.startsWith("/")?e:"/".concat(e);var f=n(26350),j=n.n(f),b=n(84686);let k=e=>{let{items:a,className:n,onLinkClick:r}=e,[c,s]=(0,t.useState)(null);return(0,l.jsx)("nav",{className:n,children:a.map((e,n)=>{var t,o,d,p,u;return(0,l.jsxs)("div",{className:i()(j().item,c===n&&j().open),children:[(0,l.jsx)("div",{className:j().activator,children:"static"!==e.type?(0,l.jsxs)("button",{type:"button",id:"m-top-nav-header-".concat(n),"aria-expanded":c===n,"aria-controls":"m-top-nav-panel-".concat(n),onClick:()=>s(e=>e===n?null:n),children:[(0,l.jsx)("span",{className:j().text,children:e.title}),(0,l.jsx)(m,{role:"presentation"})]}):(0,l.jsx)(h(),{onClick:r,href:x(e.url),target:(0,b.u)(e.url),children:e.title})}),(null!=(t=null==(d=a[n])||null==(o=d.children)?void 0:o.length)?t:0)>0&&(0,l.jsx)("div",{id:"m-top-nav-panel-".concat(n),role:"region","aria-labelledby":"m-top-nav-header-".concat(n),"aria-hidden":c!==n,className:j().accordionContent,children:(0,l.jsx)("ul",{children:null==(u=a[n])||null==(p=u.children)?void 0:p.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(h(),{onClick:r,tabIndex:c===n?void 0:-1,href:x(e.url),target:(0,b.u)(e.url),className:j().link,children:[e.icon,e.title]})},e.url))})})]},e.title)})})};var y=n(54702),g=n.n(y);let w=e=>{let{links:a=[],socials:n=[],className:t}=e;return(0,l.jsx)("div",{className:i()(g().wrapper,t),children:(0,l.jsxs)("div",{className:g().content,children:[a.map(e=>(0,l.jsx)(h(),{href:e.href,children:e.label},"link-".concat(e.href))),a.length>0&&(0,l.jsx)("div",{className:g().divider}),n.map(e=>{let{href:a,label:n,icon:t}=e;return(0,l.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:(0,l.jsx)(t,{role:"presentation"})},a)})]})})};var N=n(60111),C=n(45616),O=n(15144);let E=[(0,N._)({icon:C.default},{href:"https://www.facebook.com/OSEgovpl",label:"OSE.GOV.PL na Facebooku"}),(0,N._)({icon:O.default},{href:"https://x.com/nask_pl",label:"NASK na X"})];var _=n(4530),S=n(82637);let L=e=>{let{items:a,isOpen:n,closeDrawerAction:r,className:c}=e;(0,d._)(r,{keys:"Escape",disabled:!n});let u=(0,t.useRef)(null);return(0,t.useEffect)(()=>{n?S.Ay.to(u.current,{display:"block",opacity:1,duration:.3}):S.Ay.to(u.current,{display:"none",opacity:0,duration:.3})},[n]),(0,p.createPortal)((0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.FocusTrap,{active:n,focusTrapOptions:{allowOutsideClick:!0},children:(0,l.jsxs)("div",{role:"region","aria-label":n?_.Q.mainMenuLabel:void 0,inert:!n,className:i()(s().wrapper,n&&s().open,c),children:[(0,l.jsx)(w,{socials:E}),(0,l.jsx)("h3",{children:_.Q.drawerTitle}),(0,l.jsx)(k,{items:a,className:s().accordion,onLinkClick:r})]})}),(0,l.jsx)("div",{ref:u,className:s().backdrop,onClick:r,style:{display:"none",opacity:0}})]}),document.body)}},83967:e=>{e.exports={backdrop:"EOlVc5",wrapper:"bOi3pn",open:"cnnx3N",logo:"FDKGac",accordion:"e4MM4Z"}}}]);
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.