PageSourceSearch

https://account.muensterschezeitung.de/_next/static/chunks/pages/password_andern-71cfa39f64e35808.js

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

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[766],{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 s},Sn:function(){return d},Fy:function(){return c},ar:function(){return u}});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  ")})),a=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})),s=(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;}']),t.ZP.form.withConfig({displayName:"Form",componentId:"sc-17cqzit-1"})([""])),u=(0,t.ZP)(o).withConfig({displayName:"Form__StyledLabel",componentId:"sc-17cqzit-2"})(["align-self:center;@media (max-width:768px){align-self:start;}"]),c=(0,t.ZP)(i).withConfig({displayName:"Form__StyledInput",componentId:"sc-17cqzit-3"})(["max-width:384px !important;@media (max-width:768px){max-width:none;}"]),d=(0,t.ZP)(a).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;}'])},9723:function(e,n,r){"use strict";r.d(n,{Z:function(){return t}});var t=r(9521).ZP.div.withConfig({displayName:"component__Subtitle",componentId:"sc-39eejm-0"})(["font-size:1.rem;line-height:1.2;font-weight:normal;color:",";margin:0.5em 0 1.5em 0;"],(function(e){return e.theme.black0}))},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 c},T6:function(){return d},Zq:function(){return m},_w:function(){return s},cs:function(){return u},ik:function(){return a},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",a="Die Passw\xf6rter stimmen nicht \xfcberein",s="Benutzer ist unbekannt",u="Benutzername und Passwort stimmen nicht \xfcberein. Bitte beachten Sie den Hinweis.",c="Das Passwort muss mind. 6 Zeichen lang sein!",d="Die E-Mail wird bereits verwendet.",m="Aus Sicherheitsgr\xfcnden ist Ihre Sitzung abgelaufen. Bitte melden Sie sich erneut an."},3787:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return y}});var t=r(29),i=r(7794),o=r.n(i),a=r(7294),s=r(2283),u=r(9521),c=r(5487),d=r(9723),m=r(3819),l=r(9828),p=r(7632),f=r(7066),h=r(2866),x=r
1(6726),g=r(3815),w=r(5893),b=u.ZP.div.withConfig({displayName:"component__ChangePassowordContainer",componentId:"sc-em8pse-0"})(["padding:0.5rem;"]),v=u.ZP.div.withConfig({displayName:"component__Result",componentId:"sc-em8pse-1"})(["color:",";"],(function(e){return e.theme.midGreen})),_=function(){var e=(0,s.cI)({mode:"onBlur",reValidateMode:"onBlur"}),n=e.register,r=e.handleSubmit,i=e.errors,u=e.setValue,_=e.getValues,y=function(e){var n=(0,a.useState)(""),r=n[0],i=n[1],s=(0,a.useState)(!1),u=s[0],c=s[1],d=(0,a.useState)(""),m=d[0],l=d[1],p=(0,a.useState)(!1),h=p[0],g=p[1],w=(0,x.a)().authState,b=function(){var n=(0,t.Z)(o().mark((function n(r){var t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,l(null),i(null),g(!0),n.next=6,(0,f.Z)({url:"/api/change-password",method:"patch",data:r,params:{accountReference:null===w||void 0===w||null===(t=w.user)||void 0===t?void 0:t.accountReference}});case 6:200===n.sent.status&&(l("Passwort aktualisiert"),c(!0)),g(!1),c(!1),e&&e(),n.next=19;break;case 13:n.prev=13,n.t0=n.catch(0),l(null),g(!1),c(!1),i(n.t0.response&&n.t0.response.data&&n.t0.response.data.error||n.t0.message);case 19:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e){return n.apply(this,arguments)}}();return{serverError:r,loading:h,onSubmit:b,result:m,resetForm:u}}(),Z=y.serverError,P=y.loading,j=y.onSubmit,N=y.result;return y.resetForm&&(u("password",""),u("repeat_password","")),(0,w.jsxs)(b,{children:[(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(c.Z,{children:"PASSWORT \xc4NDERN"}),(0,w.jsx)(d.Z,{children:"Hier k\xf6nnen Sie Ihr Passwort \xe4ndern:"})]}),(0,w.jsxs)(g.l0,{onSubmit:r(j),children:[(0,w.jsxs)(m.Z,{children:[(0,w.jsx)(l.Z,{children:Z}),N&&(0,w.jsx)(v,{children:N})]}),(0,w.jsxs)(m.Z,{children:[(0,w.jsx)(g.ar,{isError:i&&i.password,children:"Neues Passwort"}),(0,w.jsx)(g.Fy,{isError:i&&i.password,name:"password",disabled:P,type:"password",ref:n({required:p.Mk,minLength:{value:6,message:p.PI}})}),(0,w.jsx)(h.B,{errors:i,name:"password",as:(0,w.jsx)(l.Z,{})})]}),(0,w.jsxs)(m.Z,{children:[(0,w.jsx)(g.ar,{isError:i&&i.repeat_password,children:"Passwort Best\xe4tigung"}),(0,w.jsx)(g.Fy,{isError:i&&i.repeat_password,name:"repeat_password",disabled:P,type:"password",ref:n({validate:function(e){return e===_("password")||p.ik}})}),(0,w.jsx)(h.B,{errors:i,name:"repeat_password",as:(0,w.jsx)(l.Z,{})})]}),(0,w.jsx)(m.Z,{children:(0,w.jsx)(g.Sn,{type:"submit",disabled:P,children:"Passwort \xe4ndern"})})]})]})};function y(e){var n=e.accountReference;return(0,w.jsx)(_,{accountReference:n})}y.defaultProps={accountReference:""}},6641:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/password_andern",function(){return r(3787)}])}},function(e){e.O(0,[866,774,888,179],(function(){return n=6641,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.