1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12333],{12333:function(e,t,n){"use strict";n.r(t),n.d(t,{AdultInformation:function(){return L},AdultInformationModal:function(){return V}});var i=n(74512),r=n(32735),a=n(45399),s=n(5107),o=n(71237),l=n(87883),c=n(69811),d=n(83616),u=n(58886),m=n(87955),C=n(44466),p=n(73538),f=n(57001),x=n(97825),h=n(29200),g=n(86360),w=n(70785),j=n(22467);let v=()=>(0,i.jsx)("svg",{width:"181",height:"181",viewBox:"0 0 181 181",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M95.1933 3.78295C140.842 6.21736 177.116 44.0913 177.116 90.4617C177.116 138.405 138.341 177.265 90.5166 177.265C85.1419 177.265 79.8825 176.774 74.7812 175.837C73.9667 175.687 73.185 176.226 73.0351 177.041C72.8854 177.856 73.4245 178.638 74.2392 178.788C79.5182 179.758 84.9588 180.265 90.5166 180.265C140.004 180.265 180.116 140.055 180.116 90.4617C180.116 42.4942 142.592 3.30588 95.3535 0.786853L94.2353 0.734119C93.4077 0.700359 92.7097 1.34405 92.6757 2.17162C92.644 2.94761 93.2073 3.60982 93.9599 3.71752L94.1132 3.73217L95.1933 3.78295ZM85.3535 2.26049C85.2726 1.43611 84.5392 0.833087 83.7148 0.913806C73.3502 1.93064 67.4669 3.14884 60.2529 6.01342L58.79 6.60912C58.0254 6.92781 57.6638 7.8064 57.9824 8.57103C58.3011 9.33554 59.1797 9.69724 59.9443 9.37865L61.3408 8.80931C68.2281 6.07185 73.8269 4.89797 84.0078 3.89916C84.832 3.8181 85.4342 3.08473 85.3535 2.26049ZM48.8428 10.724C20.1224 25.6826 0.5 55.7753 0.5 90.4622C0.500093 124.078 18.9294 153.379 46.21 168.772L47.5156 169.494L47.6543 169.561C48.3557 169.854 49.1786 169.574 49.5488 168.891C49.919 168.208 49.7051 167.366 49.0771 166.938L48.9453 166.858L47.6836 166.16C21.3099 151.279 3.50009 122.955 3.5 90.4622C3.5 57.4585 21.8752 28.7553 48.9336 14.0726L50.2285 13.3841C50.9633 13.0014 51.2489 12.0954 50.8662 11.3607C50.5073 10.6721 49.6887 10.3781 48.9824 10.6595L48.8428 10.724ZM51.3598 58.1292L38.7586 63.0702L37.4516 58.6662L52.3853 52.3279H56.1187V128.062H51.3581L51.3598 58.1292ZM67.645 107.758V107.974C67.645 120.436 78.1917 129.137 91.9122 129.137C105.633 129.137 116.181 120.435 116.181 107.974V107.758C116.181 98.9484 109.926 92.2886 101.713 89.1725C108.153 86.1641 113.941 80.5784 113.941 71.6627V71.4472C113.941 59.737 103.206 51.7876 91.9122 51.7876C80.6181 51.7876 69.8836 59.737 69.8836 71.4472V71.6627C69.8836 80.5784 75.6715 86.1659 82.1128 89.1725C73.8986 92.2886 67.645 98.9502 67.645 107.758ZM111.141 107.974V108.189C111.141 116.675 103.954 124.088 91.9122 124.088C79.8707 124.088 72.6837 116.675 72.6837 108.189V107.974C72.6837 98.6286 81.2699 91.8611 91.9122 91.8611C102.555 91.8611 111.141 98.6286 111.141 107.974ZM108.902 71.4506V71.6661C108.902 80.905 101.154 87.1356 91.9139 87.1356C82.6742 87.1356 74.9258 80.9033 74.9258 71.6661V71.4506C74.9258 62.9625 82.3926 56.8398 91.9139 56.8398C101.435 56.8398 108.902 62.9643 108.902 71.4506ZM134.925 91.3234C134.925 90.7711 134.477 90.3234 133.925 90.3234H121.334C120.782 90.3234 120.334 89.8757 120.334 89.3234V88.0875C120.334 87.5352 120.782 87.0875 121.334 87.0875H133.925C134.477 87.0875 134.925 86.6398 134.925 86.0875V73.5964C134.925 73.0441 135.373 72.5964 135.925 72.5964H137.288C137.84 72.5964 138.288 73.0441 138.288 73.5964V86.0875C138.288 86.6398 138.736 87.0875 139.288 87.0875H151.881C152.433 87.0875 152.881 87.5352 152.881 88.0875V89.3234C152.881 89.8757 152.433 90.3234 151.881 90.3234H139.288C138.736 90.3234 138.288 90.7711 138.288 91.3234V103.815C138.288 104.367 137.84 104.815 137.288 104.815H135.925C135.373 104.815 134.925 104.367 134.925 103.815V91.3234ZM62.3755 174.275C62.3755 175.702 61.2212 176.859 59.7972 176.859C58.3733 176.859 57.2189 175.702 57.2189 174.275C57.2189 172.848 58.3733 171.691 59.7972 171.691C61.2212 171.691 62.3755 172.848 62.3755 174.275Z"})}),b=()=>(0,i.jsx)("svg",{width:"120",height:"144",viewBox:"0 0 120 144",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.1388 2.00201C91.9817 2.00201 117.8 27.8764 117.8 59.7989C117.8 91.7216 91.9818 117.597 60.1388 117.597C56.5602 117.597 53.0587 117.27 49.6622 116.646C49.119 116.546 48.597 116.905 48.4972 117.448C48.3975 117.991 48.7571 118.512 49.2999 118.612C52.815 119.258 56.4381 119.597 60.1388 119.597C93.0908 119.597 119.8 92.8218 119.8 59.7989C119.8 26.7762 93.0906 0.00201416 60.1388 0.00201416C55.1768 0.0020307 50.3546 0.60956 45.7433 1.75494L44.8234 1.99127C44.2898 2.13307 43.9719 2.68033 44.1134 3.21393C44.2462 3.71428 44.736 4.02515 45.2364 3.94537L45.337 3.92389C50.0595 2.67004 55.0207 2.00203 60.1388 2.00201ZM32.3904 6.70446C13.2664 16.6649 0.200056 36.7023 0.199951 59.7992C0.199951 82.1831 12.4712 101.694 30.6365 111.944L31.5056 112.425L31.5984 112.469C32.066 112.664 32.6152 112.478 32.8621 112.023C33.109 111.568 32.9656 111.006 32.5466 110.72L32.4597 110.666L31.6189 110.202C14.0584 100.293 2.19995 81.434 2.19995 59.7992C2.20006 37.4752 14.827 18.1066 33.3142 8.4779C33.8038 8.22269 33.994 7.61897 33.739 7.12926C33.4839 6.6395 32.8802 6.44949 32.3904 6.70446ZM32.9185 40.8742L24.3171 44.2468L23.4249 41.2407L33.6185 36.9143H36.1669V88.6099H32.9174L32.9185 40.8742ZM44.0347 74.7504V74.8975C44.0347 83.4045 51.2338 89.3431 60.5992 89.3431C69.9647 89.3431 77.1649 83.4033 77.1649 74.8975V74.7504C77.1649 68.737 72.8951 64.1911 67.2893 62.0641C71.685 60.0106 75.6357 56.1978 75.6357 50.112V49.9649C75.6357 41.9716 68.3085 3
16.5455 60.5992 36.5455C52.89 36.5455 45.5628 41.9716 45.5628 49.9649V50.112C45.5628 56.1978 49.5135 60.0117 53.9103 62.0641C48.3033 64.1911 44.0347 68.7382 44.0347 74.7504ZM73.7244 74.8975V75.0446C73.7244 80.8373 68.8186 85.8969 60.5992 85.8969C52.3798 85.8969 47.4741 80.8373 47.4741 75.0446V74.8975C47.4741 68.5187 53.3349 63.8992 60.5992 63.8992C67.8635 63.8992 73.7244 68.5187 73.7244 74.8975ZM72.1963 49.9673V50.1144C72.1963 56.4208 66.9073 60.6737 60.6004 60.6737C54.2935 60.6737 49.0045 56.4196 49.0045 50.1144V49.9673C49.0045 44.1734 54.1013 39.994 60.6004 39.994C67.0995 39.994 72.1963 44.1745 72.1963 49.9673ZM89.9591 63.8496C89.9591 63.2973 89.5114 62.8496 88.9591 62.8496H80.9996C80.4473 62.8496 79.9996 62.4018 79.9996 61.8496V61.6408C79.9996 61.0885 80.4473 60.6408 80.9996 60.6408H88.9591C89.5114 60.6408 89.9591 60.1931 89.9591 59.6408V51.7493C89.9591 51.197 90.4068 50.7493 90.9591 50.7493H91.2547C91.807 50.7493 92.2547 51.197 92.2547 51.7493V59.6408C92.2547 60.1931 92.7024 60.6408 93.2547 60.6408H101.215C101.768 60.6408 102.215 61.0885 102.215 61.6408V61.8496C102.215 62.4018 101.768 62.8496 101.215 62.8496H93.2547C92.7024 62.8496 92.2547 63.2973 92.2547 63.8496V71.7411C92.2547 72.2934 91.807 72.7411 91.2547 72.7411H90.9591C90.4068 72.7411 89.9591 72.2934 89.9591 71.7411V63.8496ZM42.5719 115.816C42.5719 116.482 42.0332 117.022 41.3686 117.022C40.7041 117.022 40.1653 116.482 40.1653 115.816C40.1653 115.15 40.7041 114.61 41.3686 114.61C42.0332 114.61 42.5719 115.15 42.5719 115.816Z"})});var k=n(80990),_=n.n(k);n(92175);let z=e=>e.location.assign("/"),y=r.memo(e=>{let{acceptFn:t,rejectFn:n,size:r}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.mf,{children:(0,i.jsx)(C.Button,{title:"TAK, wchodzÄ","aria-label":"accept warning terms",variant:"danger",size:r,onClick:t,children:"TAK, wchodzÄ"},"accept-warning-terms")}),(0,i.jsx)(g.mf,{children:(0,i.jsx)(C.Button,{title:"cancel-modal","aria-label":"reject warning terms",variant:"danger",size:r,onClick:n,children:"NIE, wychodzÄ"},"reject-warning-terms")})]})});y.displayName="AdultInformationModalButtons";let V=e=>{let{size:t="medium",close:n}=e,l=(0,j.DH)("adult-information"),[d,u]=(0,r.useState)(!1),C=(0,r.useContext)(s.Z),k=(0,c.I)(()=>u(e=>(e||(0,o.dm)({ec0:"plansza_adult",ec1:"",ec2:"klik",ec3:"zapamietaj"}),!e))),V=(0,r.useCallback)(e=>{d&&C.dispatch({type:"adult_flag",payload:{value:e}}),(0,o.dm)({ec0:"plansza_adult",ec1:"",ec2:"klik",ec3:e?"tak":"nie",ec4:d?"checkbox_tak":"checkbox_nie"})},[d,C]),L=(0,c.I)(()=>{V(!0),n()}),H=(0,c.I)(()=>{V(!1),n(),z(window)}),N="small"===t;return(0,i.jsx)(m.u,{uuid:"adult-information-modal",className:(0,a.c)("adult-information","ids-adult-information","ids-adult-information__modal"),show:!0,closeFn:()=>void n(),size:t,title:"Ta strona zawiera treÅci przeznaczone dla os\xf3b peÅnoletnich, kt\xf3re mogÄ
byÄ oceniane np. jako drastyczne lub erotyczne.",dimension:{width:N?"100vw":"772px"},paddingBlock:!0,paddingInline:!0,position:N?"bottom":"center",withOutsideClickClose:!1,withEscapeClose:!1,...l,children:(0,i.jsxs)("div",{className:"ids-adult-information__wrapper",children:[(0,i.jsx)(w.L,{as:g.VT,gaps:!1,paddingHorizontal:!1,paddingTop:!1,paddingBottom:!1,marginBottom:!1,className:"ids-adult-information__top",width:"full",children:(0,i.jsxs)(g.lw,{colSpan:12,justify:"space-between",align:"center",className:"ids-adult-information__content--".concat(t),direction:N?"column":"row",children:[(0,i.jsx)(g.mf,{className:(0,a.c)("ids-adult-information__decorator","ids-adult-information__decorator--".concat(t)),children:N?(0,i.jsx)(b,{}):(0,i.jsx)(v,{})}),(0,i.jsxs)(g.lw,{colSpan:12,justify:"space-between",align:N?"center":"start",direction:"column",className:(0,a.c)("ids-adult-information__information","ids-adult-information__information--".concat(t)),children:[(0,i.jsx)(g.mf,{children:(0,i.jsxs)(h.Text,{className:"ids-adult-information__header",component:"div",preset:_()[t],children:[(0,i.jsx)("h2",{className:"ids-adult-information__heading",children:"Ta strona zawiera treÅci przeznaczone dla os\xf3b peÅnoletnich, kt\xf3re mogÄ
byÄ oceniane np. jako drastyczne lub erotyczne."}),(0,i.jsx)("br",{}),(0,i.jsx)("p",{children:"Czy masz ukoÅczone 18 lat i chcesz kontynuowaÄ?"})]})}),(0,i.jsx)(g.mf,{children:(0,i.jsx)(f.Mx,{id:"adult-information-remember-preference",name:"adult-information-remember-preference",size:"small",label:"ZapamiÄtaj moje ustawienia",checked:d,value:d.toString(),onChange:k,children:(0,i.jsx)(x.X,{withPadding:!0})})})]})]})}),(0,i.jsx)(g.VT,{gaps:!1,paddingHorizontal:!1,paddingTop:!1,paddingBottom:!1,marginBottom:!0,width:"full",children:(0,i.jsx)(g.w4,{columns:1,colSpan:12,children:(0,i.jsx)(p.Divider,{})})}),(0,i.jsx)(g.VT,{gaps:!1,paddingHorizontal:!1,paddingTop:!1,paddingBottom:!1,marginBottom:!1,className:"ids-adult-information__footer",children:N?(0,i.jsx)(g.w4,{columns:1,colSpan:12,children:(0,i.jsx)(g.ZI,{rows:2,children:(0,i.jsx)(y,{acceptFn:L,rejectFn:H,size:t})})}):(0,i.jsx)(g.w4,{columns:4,colStart:2,colEnd:3,colSpan:12,children:(0,i.jsx)(g.ZI,{colStart:2,colEnd:4,columns:2,children:(0,i.jsx)(y,{acceptFn:L,rejectFn:H,size:t})})})})]})})},L=e=>{let{size:t="medium"}=e,n=(0,r.useContext)(s.Z),c=(0,r.useRef)((0,a.I8)()),m=(0,u.f)();n||console.error("AdultInformation:: missing contentWarningContext, make sure ContentWarningProvider is added to root of application");let C=(0,l.dd)({renderModalContent:e=>{let{onClose:n}=e;return(0,i.jsx)(V,{close:n,size:t})}});return(0,d.G)(()=>
1{if(m){let e=c.current,t=n.state.adult;if(t.expire&&0>(0,a.z1)(new Date,(0,a.Ot)(t.expire)))return C.show(),(0,o.dm)({ec0:"plansza_adult",ec1:"",ec2:"view",ec3:""}),console.info("AdultInformation::modal: adult flag expired, required renewal of agreement for viewing adult content");switch(t.value){case null:C.show(),(0,o.dm)({ec0:"plansza_adult",ec1:"",ec2:"view",ec3:""});break;case!1:z(e)}}return()=>{C.close()}},[m]),null}},97825:function(e,t,n){"use strict";n.d(t,{X:function(){return u},r:function(){return d}});var i=n(74512),r=n(32735),a=n(45399),s=n(57001),o=n(54137),l=n(7629),c=n(22467);n(66799);let d=e=>{let{valid:t,error:n,validationMode:s,selected:o,lang:l="pl-PL",size:c="medium",className:d,style:u,checked:m,indeterminate:C,...p}=e,f=(0,r.useCallback)(e=>{e&&(e.indeterminate=!!(C&&!m))},[C,m]);return(0,i.jsx)("input",{ref:f,style:u,className:(0,a.c)("pure-checkbox","ids-pure-checkbox","ids-pure-checkbox--".concat(c),d),type:"checkbox",...!(0,a.kK)(m)&&{checked:m||!1},"data-valid":t||void 0,"data-error":n||void 0,"data-validation":s||void 0,..."browser"!==s&&{"aria-invalid":n?"true":t?"false":void 0,"aria-errormessage":"string"==typeof n?n:void 0},"data-selected":o||void 0,lang:l,...p})},u=e=>{let{withPadding:t}=e,n=(0,c.DH)("checkbox"),{inputId:r,labelId:u,hintId:m,inputClassName:C,error:p,...f}=(0,s.Gc)();return(0,i.jsxs)("div",{className:(0,a.c)("checkbox-labeled","ids-checkbox","ids-checkbox--".concat(f.size||"medium"),t&&"ids-checkbox--with-padding"),...n,children:[(0,i.jsx)(d,{...f,id:r,error:p?m:void 0,className:C,"aria-labelledby":u,"aria-describedby":m}),(0,i.jsxs)("div",{className:"ids-checkbox__text-container",children:[(0,i.jsx)(o.l,{asteriskPosition:"leading"}),(0,i.jsx)(l.z,{})]})]})}},54137:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var i=n(74512),r=n(22467),a=n(45399),s=n(29200),o=n(57001),l=n(92987),c=n.n(l);n(40748);let d=e=>{let{size:t="medium",name:n,children:r,asteriskPosition:o="trailing",required:l,disabled:d,style:u,className:m,...C}=e,p=n?"".concat((0,a.Kk)(" ")(l&&"required"),"field ").concat(n):"";return(0,i.jsx)(s.Text,{component:"label",preset:c()[t],style:u,"aria-label":p,className:(0,a.c)("form-label","ids-form-label","ids-form-label--".concat(t),l&&"ids-form-label--required",o&&"ids-form-label--asterisk-".concat(o),d&&"ids-form-label--disabled",m),...C,children:r})},u=e=>{let{children:t,asteriskPosition:n,...a}=e,s=(0,r.DH)("form-label"),{labelId:l,inputId:c,size:u,name:m,required:C,disabled:p,label:f,labelClassName:x}=(0,o.Gc)();return(0,i.jsx)(d,{id:l,htmlFor:c,size:u,name:m,required:C,asteriskPosition:n,disabled:p,className:x,...s,...a,children:f||t})}},7629:function(e,t,n){"use strict";n.d(t,{z:function(){return m}});var i=n(74512),r=n(22467),a=n(45399),s=n(29200),o=n(10921),l=n(57001),c=n(58782),d=n.n(c);n(43254);let u=e=>{let{size:t="medium",hint:n,error:r,valid:l,disabled:c,style:u,className:m,...C}=e,p=r?(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)(o.ActionInfoIcon,{size:"small"}),(0,i.jsx)("span",{children:r})]}):n;return(0,i.jsx)(s.Text,{component:"label",preset:d()[t],style:u,className:(0,a.c)("form-message","ids-form-message","ids-form-message--".concat(t),l&&"ids-form-message--valid",!!r&&"ids-form-message--error",c&&"ids-form-message--disabled",m),tabIndex:c?void 0:0,...C,title:r&&"string"==typeof n?n:"",children:p})},m=()=>{let e=(0,r.DH)("form-message"),{inputId:t,hintId:n,size:a,disabled:s,hint:o,error:c,valid:d,hintClassName:m}=(0,l.Gc)();return(0,i.jsx)(u,{id:n,htmlFor:t,size:a,hint:o,error:c,valid:d,disabled:s,className:m,...e})}},58886:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var i=n(32735),r=n(93881);function a(){let[e,t]=(0,i.useState)(!1);return(0,r.b)(()=>{t(!0)}),e}},93881:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(32735);function r(e){(0,i.useEffect)(e,[])}},5107:function(e,t,n){"use strict";n.d(t,{Z:function(){return m},Q:function(){return C}});var i=n(74512),r=n(32735),a=n(29567),s=n(83616),o=n(69811),l=n(45399);let c=(e,t)=>JSON.stringify(e)===JSON.stringify(t),d={adult:{value:null,expire:null}},u=e=>(t,n)=>{let{type:i,payload:r,options:a={}}=n;switch(i){case"adult_flag":{let n={...t,adult:{...r,expire:(0,l.l_)(30)}};return e(n),n}case"overwrite_all":{let t=a.refreshExpireForOverwriteAllAction?(0,l.CH)(r,(0,l.l_)(30)):r;return e(t),t}}},m=r.createContext({state:d,dispatch:()=>{console.error("ContentWarningProvider::dispatch: initialization error, cannot access provider or lost reference. Check if current scope are descendant of ContentWarningProvider")}}),C=e=>{let{children:t}=e,n=(0,a.W)("int_content_warning_consent"),l=(0,o.I)(()=>u(e=>n.set(e))),[C,p]=(0,r.useReducer)(l(),d);(0,s.G)(()=>{let e=n.get();if(!e){n.set(d);return}if(!c(e,d)){p({type:"overwrite_all",payload:e,options:{refreshExpireForOverwriteAllAction:!1}});return}},[]);let f=(0,r.useMemo)(()=>({state:C,dispatch:p}),[C]);return(0,i.jsx)(m.Provider,{value:f,children:t})}},57001:function(e,t,n){"use strict";n.d(t,{Mx:function(){return l},Gc:function(){return o}});var i=n(74512),r=n(32735),a=n(45399);n(50688);let s=(0,r.createContext)(void 0),o=()=>{let e=(0,r.useContext)(s);if(!e)throw Error("useFormContext must be used within a LabeledInputWrapper");return e},l=e=>{let{id:t,name:n,size:o="medium",lang:l="pl-PL",required:c=!1,disabled:d=!1,className:u,style:m,hint:C,error:p,valid:f,children:x,...h}=e,g=(0,r.useId)(),w="".concat(g,"-label"),j="".concat(g,"-hint");return(0,i.jsx)("div",{id:t,lang:l,style:m,className:(0,a.c)("ids-labeled-input-wrapper",u),children:(0,i.jsx)(s.Provider,{value:{size:o,name:n,required:c,disabled:d,lang:l,inputId:g,labelId:w,hintId:j,hint:C,error:p,valid:f,...h},children:x})})}},80990:function(e){e.exports={small:"ids-typeset-text--preset-medium ids-typeset-text--preset-medium-strong",medium:"ids-typeset-text--preset-large ids-typeset-text--preset-large-strong"}},92987:function(e){e.exports={small:"ids-typeset-text--preset-small",medium:"ids-typeset-text--preset-medium",large:"ids-typeset-text--preset-large"}},58782:function(e){e.exports={small:"ids-typeset-text--preset-xsmall",medium:"ids-typeset-text--preset-small"}},92175:function(){},66799:function(){},40748:function(){},43254:function(){},50688:function(){}}]);
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.