PageSourceSearch

https://account.muensterschezeitung.de/_next/static/chunks/pages/passwort_aktualisieren-93df323df22bffc0.js

js muensterschezeitung.de collected 2026-10-02 08:09:10 UTC 6,860 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[494],{6956:function(e,n,r){"use strict";r.d(n,{Z:function(){return v}});var t=r(29),i=r(7794),o=r.n(i),s=r(2283),a=r(7294),c=r(7066),d=r(1163),u=r(2866),l=r(3819),p=r(9828),m=r(938),f=r(5487),h=r(3815),x=r(7632),w=r(9521),g=w.ZP.div.withConfig({displayName:"styled__Container",componentId:"sc-17368v1-0"})(["padding:0.5rem;"]),y=w.ZP.div.withConfig({displayName:"styled__Information",componentId:"sc-17368v1-1"})(["margin-bottom:30px;"]),_=w.ZP.div.withConfig({displayName:"styled__InfoTitle",componentId:"sc-17368v1-2"})([""]),b=(w.ZP.li.withConfig({displayName:"styled__Li",componentId:"sc-17368v1-3"})(["list-style-type:circle;"]),w.ZP.ul.withConfig({displayName:"styled__Ul",componentId:"sc-17368v1-4"})(["margin-top:4px;"]),r(5893)),v=function(){var e=(0,s.cI)({mode:"onBlur"}),n=e.register,r=e.handleSubmit,i=e.errors,w=e.getValues,v=(0,a.useState)(!1),Z=v[0],P=v[1],j=(0,a.useState)(null),I=j[0],N=j[1],C=(0,d.useRouter)(),E=function(){var e=(0,t.Z)(o().mark((function e(n){var r,t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.Z.patch("/api/reset-password",{password:n.password,token:C.query.token,login:!1});case 3:200===(r=e.sent).status&&(P(!0),r.data.redirectUrl&&C.push("/login")),e.next=12;break;case 7:e.prev=7,e.t0=e.catch(0),"Check Token is invalid"===(t=e.t0.response&&e.t0.response.data&&e.t0.response.data.error)&&(t="Ihr Token ist abgelaufen"),N(t);case 12:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(n){return e.apply(this,arguments)}}();return(0,b.jsxs)(g,{children:[(0,b.jsx)(f.Z,{children:"NEUES PASSWORT VERGEBEN"}),Z&&(0,b.jsx)(y,{children:(0,b.jsx)(m.Z,{children:"Passwort erfolgreich ge\xe4ndert"})}),!Z&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(y,{children:(0,b.jsx)(_,{children:"Hier k\xf6nnen Sie Ihr Passwort \xe4ndern:"})}),(0,b.jsx)("div",{children:(0,b.jsxs)(h.l0,{onSubmit:r(E),children:[(0,b.jsx)(l.Z,{children:(0,b.jsx)(p.Z,{children:I})}),(0,b.jsxs)(l.Z,{children:[(0,b.jsx)(h.ar,{isError:i&&i.password,children:"neues Passwort"}),(0,b.jsx)(h.Fy,{isError:i&&i.password,name:"password",type:"password",ref:n({required:x.Mk})}),(0,b.jsx)(u.B,{errors:i,name:"password",as:(0,b.jsx)(p.Z,{})})]}),(0,b.jsxs)(l.Z,{children:[(0,b.jsx)(h.ar,{isError:i&&i.password_repeat,children:"neues Passwort wiederholen"}),(0,b.jsx)(h.Fy,{isError:i&&i.password_repeat,name:"password_repeat",type:"password",ref:n({validate:function(e){return e===w("password")||x.ik}})}),(0,b.jsx)(u.B,{errors:i,name:"password_repeat",as:(0,b.jsx)(p.Z,{})})]}),(0,b.jsx)(l.Z,{children:(0,b.jsx)(h.Sn,{type:"submit",children:"Passwort \xe4ndern"})})]})})]})]})}},9828:function(e,n,r){"use strict";r.d(n,{Z:function(){return t}});var t=r(9521).ZP.label.withConfig({displayName:"ErrorLabel",componentId:"sc-inh54v-0"})(["grid-area:error;color:",";"],(function(e){return e.theme.error}))},3815:function(e,n,r){"use strict";r.d(n,{l0:function(){return a},Sn:function(){return u},Fy:function(){return d},ar:function(){return c}});var t=r(9521),i=t.ZP.input.withConfig({displayName:"Input",componentId:"sc-1shses-0"})(["padding:0 10px;font-size:18px;border:",";color:",";width:100%;border-radius:4px;height:30px;outline:none;box-sizing:border-box;",""],(function(e){var n=e.theme;return"1px solid ".concat(n.gray0)}),(function(e){return e.theme.gray1}),(function(e){var n=e.isError,r=e.theme;return n&&"\n    border: 1px solid ".concat(r.error,";\n  ")})),o=t.ZP.label.withConfig({displayName:"Label",componentId:"sc-vimhzw-0"})(["font-weight:bold;",""],(function(e){var n=e.isError,r=e.theme;return n&&"\n    color: ".concat(r.error,";\n  ")})),s=t.ZP.button.withConfig({displayName:"Button",componentId:"sc-n476m9-0"})(["padding:5px 22px 5px 22px;margin:10px 0px 10px 0px;font-size:0.875rem;line-height:20px;background-color:",";color:",";border:none;border-radius:4px;"],(function(e){var n=e.theme;return e.disabled?n.gray:n.main}),(function(e){return e.theme.white})),a=(t.ZP.div.withConfig({displayName:"Form__FormGroup",componentId:"sc-17cqzit-0"})(['display:grid;grid-template-columns:minmax(auto,250px) minmax(auto,400px);margin:15px 0;grid-template-areas:"label input";@media (max-width:768px){display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;}
1']),t.ZP.form.withConfig({displayName:"Form",componentId:"sc-17cqzit-1"})([""])),c=(0,t.ZP)(o).withConfig({displayName:"Form__StyledLabel",componentId:"sc-17cqzit-2"})(["align-self:center;@media (max-width:768px){align-self:start;}"]),d=(0,t.ZP)(i).withConfig({displayName:"Form__StyledInput",componentId:"sc-17cqzit-3"})(["max-width:384px !important;@media (max-width:768px){max-width:none;}"]),u=(0,t.ZP)(s).withConfig({displayName:"Form__StyledButton",componentId:"sc-17cqzit-4"})(["cursor:pointer;grid-area:input;width:fit-content;text-transform:uppercase;"])},3819:function(e,n,r){"use strict";r.d(n,{Z:function(){return t}});var t=r(9521).ZP.div.withConfig({displayName:"component__FormGroup",componentId:"sc-1mua5jt-0"})(['display:grid;grid-template-columns:minmax(auto,250px) minmax(auto,400px);margin:15px 0;grid-template-areas:"label input" ". error";@media (max-width:768px){display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;}'])},938:function(e,n,r){"use strict";r.d(n,{Z:function(){return t}});var t=r(9521).ZP.label.withConfig({displayName:"SuccessLabel",componentId:"sc-bxebux-0"})(["grid-area:error;color:",";"],(function(e){return e.theme.green}))},5487:function(e,n,r){"use strict";r.d(n,{Z:function(){return t}});var t=r(9521).ZP.div.withConfig({displayName:"component__Title",componentId:"sc-1m75ati-0"})(["margin:20px 0;text-transform:uppercase;font-weight:normal;font-size:1.26rem;margin:0.8em 0 0.5em;"])},7632:function(e,n,r){"use strict";r.d(n,{Mk:function(){return o},NN:function(){return i},PI:function(){return d},T6:function(){return u},Zq:function(){return l},_w:function(){return a},cs:function(){return c},ik:function(){return s},n2:function(){return t}});var t="E-Mail ist erforderlich",i="Bitte geben Sie eine g\xfcltige E-Mail-Adresse an!",o="Passwort wird ben\xf6tigt",s="Die Passw\xf6rter stimmen nicht \xfcberein",a="Benutzer ist unbekannt",c="Benutzername und Passwort stimmen nicht \xfcberein. Bitte beachten Sie den Hinweis.",d="Das Passwort muss mind. 6 Zeichen lang sein!",u="Die E-Mail wird bereits verwendet.",l="Aus Sicherheitsgr\xfcnden ist Ihre Sitzung abgelaufen. Bitte melden Sie sich erneut an."},7054:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return o}});var t=r(6956),i=r(5893);function o(){return(0,i.jsx)(t.Z,{})}},6688:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/passwort_aktualisieren",function(){return r(7054)}])}},function(e){e.O(0,[866,774,888,179],(function(){return n=6688,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.