PageSourceSearch

https://bestofinterior.com/component---src-pages-user-password-reset-token-tsx-aeb72695cc723aab3da0.js

js bestofinterior.com collected 2026-10-08 21:11:52 UTC 3,770 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcallwey_awards=self.webpackChunkcallwey_awards||[]).push([[122],{9634:function(e,t,a){var n=a(6540),s=a(4194);t.A=e=>{let{children:t}=e;const{0:a,1:l}=(0,n.useState)("undefined"!=typeof window&&2<window.location.hash.length?decodeURI(window.location.hash).slice(1):"");return(0,n.useEffect)((()=>{l(decodeURI(window.location.hash).slice(1))}),["undefined"!=typeof window?window.location.hash:null]),(0,n.useEffect)((()=>{if(!a||""===a)return;const e=document.querySelector('[data-anchor="'+a+'"]');e?(e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((()=>{window.location.hash=" "}),1e3)):window.location.hash.startsWith("#destination=")&&(0,s.navigate)(window.location.hash.split("#destination=")[1])}),[a]),n.createElement(n.Fragment,null,t)}},4704:function(e,t,a){a.r(t);var n=a(6540),s=a(9785),l=a(9634),o=a(9415),r=a(4126),i=a(1203),d=a(1788),c=a(4989),m=a(4941),u=a(5908);const w="STATUS_NOT_SUBMITTED",h="STATUS_IS_SUBMITTING",f="STATUS_SENT",g="STATUS_ERROR";t.default=e=>{let{location:t}=e;const{0:a,1:E}=(0,n.useState)(!1),{0:p,1:S}=(0,n.useState)(w),{formState:v,register:b,handleSubmit:k}=(0,s.mN)({reValidateMode:"onChange",defaultValues:{}});return f===p?n.createElement(l.A,null,n.createElement(d.A,{location:t},n.createElement("div",{className:"grid-2--mobile grid-8--tablet grid-12--desktop"},n.createElement("section",null,n.createElement("div",{className:"grid-8--desktop grid-offset-2--desktop "+u.Zd},n.createElement("p",null,"Ihr Passwort wurde erfolgreich geändert. Bitte"," ",n.createElement("a",{onClick:e=>{e.preventDefault(),window.dispatchEvent(new Event("callwey-open-login-overlay"))},style:{textDecoration:"underline"}},"melden Sie sich erneut an."))))))):n.createElement(l.A,null,n.createElement(d.A,{location:t},n.createElement("div",{className:"grid-2--mobile grid-8--tablet grid-12--desktop"},n.createElement("section",null,p===g&&n.createElement("div",{className:"grid-8--desktop grid-offset-2--desktop "+u.Zd},n.createElement("h3",{className:"\n                                        grid-6--tablet\n                                        grid-6--desktop\n                                    "},"Ein Fehler ist aufgetreten")),p===h&&n.createElement("div",{className:"grid-8--desktop grid-offset-2--desktop "+u.Zd},n.createElement(c.A,null)),p===w&&n.createElement("form",{className:"grid-8--desktop grid-offset-2--desktop "+u.Zd,onSubmit:k((e=>{(async(e,t)=>{for(const n of Object.keys(e)){const t=e[n];"object"==typeof t&&(e[n]=t.value)}e.device_name="browser",e.token=new URLSearchParams(window.location.search).get("token");const a=await(0,m.nt)("/profile/password/update",e);a.success&&a.success?t(f):t(g)})(e,S),S(h)}))},n.createElement(i.A,{label:"E-Mail",register:b,formState:v,name:"email",id:"email"+Date.now(),placeholder:"Ihre E-Mail Adresse",shouldValidate:a,validationRules:{required:{value:!0,message:"Bitte geben Sie Ihre E-Mail-Adresse an"}}}),n.createElement(o.A,{label:"Passwort",register:b,formState:v,name:"password",id:"password"+Date.now(),placeholder:"Neues Passwort",shouldValidate:a,validationRules:{required:{value:!0,message:"Bitte geben Sie ein Passwort an"},minLength:{value:12,message:"Please enter at least 6 characters"}}}),n.createElement(o.A,{label:"Passwort wiederholen",register:b,formState:v,name:"password_confirmation",id:"password_confirmation"+Date.now(),placeholder:"Wiederholen Sie Ihr Passwort",shouldValidate:a,validationRules:{required:{value:!0,message:"Bitte geben Sie ein Passwort an"}}}),n.createElement("div",{className:"flex"},n.createElement(r.A,{onMouseDown:()=>{E(!0)},className:u.tA,label:"Passwort zurücksetzen"})))))))}}}]);
2//# sourceMappingURL=component---src-pages-user-password-reset-token-tsx-aeb72695cc723aab3da0.js.map

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.