PageSourceSearch

https://www.buchkatalog.de/_next/static/chunks/pages/account/resetPasswordValidation-cabb60c451614ffc.js

js buchkatalog.de collected 2026-10-01 11:36:22 UTC 3,889 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3999],{25665:(s,e,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/resetPasswordValidation",function(){return r(3403)}])},95771:(s,e,r)=>{"use strict";r.d(e,{A:()=>i});var a=r(31085),t=r(77155),l=r(70162),n=r(98710),c=r(22297),d=r(54357);let i=s=>{let{title:e,className:r,fontSize:i="text-md",fontColor:o="text-black",letterAndNumberError:x,minLengthError:u,specialCharError:m}=s,{t:h}=(0,c.Bd)("common"),p=s=>s?(0,a.jsx)(l.A,{"aria-hidden":"true",className:"w-5 h-5 shrink-0 text-error-400",strokeWidth:"52"}):(0,a.jsx)(n.A,{"aria-hidden":"true",className:"h-5 w-5 shrink-0 text-success-400",strokeWidth:"52"});return(0,a.jsxs)("div",{className:r,children:[e,(0,a.jsxs)("ul",{className:(0,d.A)("ml-1 mt-1.5",i,o),children:[(0,a.jsxs)("li",{className:"mb-1 flex gap-1",children:[p(x),h("letterAndNumberError")]}),(0,a.jsxs)("li",{className:"mb-1 flex gap-1",children:[p(u),h("minLengthError")]}),(0,a.jsxs)("li",{className:"mb-1 flex gap-1",children:[p(m),h("specialCharInfo")," ",t.b_]})]})]})}},3403:(s,e,r)=>{"use strict";r.r(e),r.d(e,{__N_SSP:()=>j,default:()=>N});var a=r(31085),t=r(31242),l=r(26535),n=r(22297),c=r(823),d=r(14041),i=r(77155),o=r(43597),x=r(20303),u=r(43140),m=r(56097);let h=()=>{let{storeParams:s}=(0,u.s)();return async e=>{let{logonId:r,logonPassword:a,logonPasswordVerify:t,userId:l}=e;return(await m.A.put("/api/customer/set-new-customer-pw"+s,{logonId:r,logonPassword:a,logonPasswordVerify:t,userId:l})).data.data}};var p=r(95771);let w=()=>{let{t:s}=(0,n.Bd)("common"),e=(0,t.useRouter)(),{query:r}=e,{logonId:l,verifyUserId:u}=r,[m,w]=(0,d.useState)(""),[j,N]=(0,d.useState)(""),[f,b]=(0,d.useState)(!1),[g,v]=(0,d.useState)(!1),_=h(),P=async()=>{if(S){let s={logonId:l?l.toString():"",logonPassword:m||"",logonPasswordVerify:j||"",userId:u?u.toString():""},e=await _(s);e&&e.response&&e.response.jsonResponseString.includes("success")?b(!0):v(!0)}},k=m.length<i.AG,A=!i.zi.test(m),E=!i.lU.test(m),y=m===j,S=!(k||A||E)&&y;return(0,a.jsx)(c.A,{children:(0,a.jsxs)("div",{className:f?"":"flex justify-around",children:[f&&(0,a.jsxs)("div",{className:"p-10",children:[(0,a.jsx)("div",{className:"text-xl font-bold",children:s("updatePasswordSuccess")}),(0,a.jsx)(o.A,{onClick:()=>e.push("/"),className:"my-10",children:s("backToStartPage")})]}),!f&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-1/2 px-8 mt-20",children:(0,a.jsxs)("div",{className:"flex flex-col pr-8 gap-8",children:[(0,a.jsx)("div",{className:"text-xl font-bold uppercase",children:s("setNewPassword")}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)(x.A,{type:"password",label:s("newPassword"),value:m,onChange:w,autoComplete:"new-password"})}),(0,a.jsx)("div",{children:(0,a.jsx)(x.A,{type:"password",label:s("newPasswordVerify"),value:j,onChange:N,autoComplete:"new-password"})}),(0,a.jsx)(o.A,{variant:"slim",type:"button",className:"mt-8",style:S?{}:{backgroundColor:"gray"},disabled:!S,onClick:()=>P(),children:(0,a.jsx)("span",{className:"uppercase",children:s("confirmNewPassword")})}),!y&&(0,a.jsx)("span",{className:"font-bold text-error-500",children:s("passwordVerificationError")}),f&&(0,a.jsx)("p",{className:"text-sm text-success-500",children:s("newPasswordSuccess")}),g&&(0,a.jsx)("p",{className:"text-sm text-error-500",children:s("newPasswordError")})]})]})}),(0,a.jsx)("div",{className:"w-1/2 px-16 mt-20 border-l-2",children:(0,a.jsx)(p.A,{title:(0,a.jsx)("div",{className:"mb-4 text-xl font-bold uppercase",children:s("passwordGuidelines")}),className:"pb-6 pt-5",letterAndNumberError:A,minLengthError:k,specialCharError:E})})]})]})})};var j=!0;function N(){return(0,t.useRouter)().isFallback?(0,a.jsx)("h1",{children:"Loading..."}):(0,a.jsx)(w,{})}N.Layout=l.PE}},s=>{var e=e=>s(s.s=e);s.O(0,[636,6593,8792],()=>e(25665)),_N_E=s.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.