1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2598],{450:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/new-password/[token]",function(){return t(1879)}])},1879:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>p,default:()=>w});var r=t(7823),a=t(8734),l=t(3903),n=t(5741),o=t(2765),i=t(4398),d=t(4957),c=t(4577),m=t(2258),h=t(1623),x=t(872),u=t(6945),p=!0;let w=()=>{let{__:e}=(0,x.lP)("common"),s=(0,a.useRouter)(),[t,p]=(0,l.useState)(""),w=(0,n.n)({mutationFn:e=>m.A.newPassword({},e,{xLostPasswordToken:s.query.token}),onError:s=>{p((0,h._w)(s,"details.description")||e("Zmena hesla nebola \xfaspeÅ¡n\xe1"))}}),P=async s=>{s.preventDefault();let t=(0,h._w)(s,"target.elements");t.password.value===t.confirmPassword.value?w.mutate({new_password:t.password.value}):p(e("Hesl\xe1 sa nezhoduj\xfa"))};return(0,r.jsxs)(o.A,{pageType:o.I.NEW_PASSWORD,children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.A,{title:e("Nov\xe9 heslo")}),(0,r.jsx)("h1",{className:"text-3xl md:text-4xl font-semibold mb-8",children:e("Nov\xe9 heslo")})]}),w.isSuccess?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(u.A,{text:e("Heslo bolo \xfaspeÅ¡ne zmenen\xe9"),fullWidth:!0,state:u.B.SUCCESS})}):(0,r.jsxs)("form",{className:"w-full",onSubmit:P,method:"POST",autoComplete:"true",children:[t&&(0,r.jsx)(u.A,{className:"mb-6",text:t,fullWidth:!0,state:u.B.FAIL}),(0,r.jsx)(d.A,{label:e("Heslo"),type:"password",name:"password",required:!0,withRevealIcon:!0}),(0,r.jsx)(d.A,{label:e("Potvrdenie hesla"),type:"password",name:"confirmPassword",required:!0,withRevealIcon:!0}),(0,r.jsx)(i.A,{disabled:w.isPending,type:i.V.PRIMARY,className:"w-full mt-6",children:e("PotvrdiÅ¥")})]})]})}},2765:(e,s,t)=>{"use strict";t.d(s,{A:()=>c,I:()=>d});var r,a=t(7823);t(3903);var l=t(2379),n=t.n(l),o=t(872),i=t(3188),d=((r={})[r.LOGIN=0]="LOGIN",r[r.REGISTER=1]="REGISTER",r[r.FORGOT_PASSWORD=2]="FORGOT_PASSWORD",r[r.NEW_PASSWORD=3]="NEW_PASSWORD",r);let c=({children:e,pageType:s})=>{let{__:t}=(0,o.lP)("common");return(0,a.jsx)("div",{className:"bg-white shadow-default",children:(0,a.jsx)("div",{className:"base-container py-8 md:py-12",children:(0,a.jsxs)("div",{className:"flex flex-col justify-center items-start max-w-460 mx-auto",children:[e,0!==s&&3!==s&&(0,a.jsxs)("p",{className:"mt-6 w-full text-center",children:[t("M\xe1te svoj \xfaÄet?")," ",(0,a.jsx)(n(),{href:"/login",className:"underline",children:t("Prihl\xe1ste sa")})]}),1===s&&(0,a.jsx)("div",{className:"mt-6 border-t-1 border-border",children:(0,a.jsx)(i.A,{})})]})})})}},3188:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var r=t(7823);t(3903);var a=t(872);let l=({className:e=""})=>{let{__:s}=(0,a.lP)("common");return(0,r.jsxs)("div",{className:`mt-4 text-xs md:text-sm text-textPrimary/56 ${e}`,children:[s("T\xe1to str\xe1nka je chr\xe1nen\xe1 službami reCAPTCHA a Google.")," ",s("Platia")," ",(0,r.jsx)("a",{className:"text-textPrimary/56 underline",rel:"noreferrer noopener",href:"https://policies.google.com/privacy",target:"_blank",children:s("Z\xe1sady ochrany osobn\xfdch \xfadajov")})," ",s("a")," ",(0,r.jsx)("a",{className:"text-textPrimary/56 underline",rel:"noreferrer noopener",href:"https://policies.google.com/terms",target:"_blank",children:s("Podmienky služby")}),"."]})}},4577:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var r=t(7823);t(3903);var a=t(872),l=t(1623),n=t(9205),o=t.n(n),i=t(2416);let d=e=>{let{__:s,lang:t}=(0,a.lP)("common"),n={titleTemplate:"%s | K.R.T. Pekn\xe9 k\xfapeľne",...e,openGraph:{...e.openGraph,title:(0,l._w)(e,"openGraph.title")?`${(0,l._w)(e,"openGraph.title")} | K.R.T. Pekn\xe9 k\xfapeľne`:void 0}};return(0,r.jsxs)(o(),{children:[(0,i.U)(n),e.keywords&&(0,r.jsx)("meta",{name:"keywords",content:e.keywords})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=450)),_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.