1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[488],{99970:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return I},default:function(){return Z}});var r,i=n(59499),o=n(50029),s=n(87794),a=n.n(s),d=n(67294),c=n(11163),l=n(40812),m=n(9008),p=n.n(m),u=n(41664),h=n.n(u),f=n(75197),w=n(97889),g=n(9159),x=n(38710),b=n(53952),y=n(71383),v=(0,n(28687).gql)(r||(r=(0,y.Z)(["\n mutation ($newPassword1: String!, $newPassword2: String!, $token: String!, $uidB64: String!) {\n resetPassword(\n input: { newPassword1: $newPassword1, newPassword2: $newPassword2, token: $token, uidB64: $uidB64 }\n ) {\n errors {\n field\n messages\n }\n }\n }\n"]))),_=n(39985),P=n(69266),N=n(85893);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=[{label:"Nieuw wachtwoord",name:"new_password1",required:!0,type:"password",minLength:8,Component:x.Z,validationObject:{required:"Voer een nieuw wachtwoord in"}},{label:"Wachtwoord bevestigen",name:"new_password2",required:!0,type:"password",Component:x.Z,validationObject:{required:"Bevestig het nieuwe wachtwoord"}}],I=!0,Z=function(e){var t=e.csrfToken,n=(0,l.useForm)(),r=n.register,i=n.handleSubmit,s=n.setError,m=n.clearErrors,u=n.errors,x=(0,d.useState)(!1),y=x[0],k=x[1],I=(0,c.useRouter)().query,Z=I.id,z=I.token,O=function(){var e=(0,o.Z)(a().mark((function e(t){var n,r,i,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={newPassword1:t.new_password1.toString(),newPassword2:t.new_password2.toString()},e.prev=1,e.next=4,(0,f.Bw)(v,j({uidB64:Z,token:z},n));case 4:r=e.sent,(i=r.resetPassword)&&(i.errors.length>0?i.errors.map((function(e){return s(e.field,{name:e.field,type:"error",message:e.messages[0]})})):k(!0)),e.next=15;break;case 9:return e.prev=9,e.t0=e.catch(1),e.next=13,e.t0;case 13:o=e.sent,console.debug(o);case 15:return e.abrupt("return",!1);case 16:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}();return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(p(),{children:(0,N.jsx)("title",{children:"Wachtwoord herstellen"})}),(0,N.jsxs)("div",{className:"flex relative",children:[(0,N.jsx)(_.rk,{className:"w-full lg:flex-1/2 p-4 md:p-0",children:(0,N.jsx)("div",{className:"flex h-full u-block-margins",children:(0,N.jsx)("div",{className:"flex flex-col items-center w-full h-full",children:(0,N.jsx)("div",{className:"w-full md:w-2/3 lg:w-4/5 xl:w-2/3 flex justify-center items-center lg:mr-4",children:(0,N.jsxs)("form",{className:"w-full flex flex-col items-start lg:w-5/6",method:"post",action:"/","data-test-id":"password-reset-form",onSubmit:function(e){m(),i(O)(e)},children:[(0,N.jsx)("input",{name:"csrfToken",type:"hidden",defaultValue:t}),(0,N.jsx)("h3",{className:"mb-10",children:"Wachtwoord resetten"}),(0,N.jsx)("h4",{className:"font-normal",children:y?"Het wachtwoord is succesvol gewijzigd. ":"Vul hieronder het nieuwe wachtwoord in."}),(0,N.jsx)(h(),{href:w.Z.login,passHref:!0,children:(0,N.jsxs)("a",{href:function(){return!1},className:"flex items-center mt-6 md:mt-10 font-bold border-b-2 border-transparent\n hover:border-primary transition-border ease-out duration-150 ".concat(!y&&"hidden"),children:[(0,N.jsx)(g.Z,{icon:"arrow-right",className:"text-primary h-3 w-3 mr-2"}),"Terug naar log in"]})}),(0,N.jsxs)("div",{className:"".concat(y&&"hidden"," relative w-full pr-6 mb-4 mt-8"),children:[C.map((function(e){return(0,N.jsxs)("div",{className:"relative w-full mb-6 pr-6 xl:mb-10",children:[(0,N.jsx)(e.Component,j(j({},e),{},{ref:r(e.validationObject)})),u&&u[e.name]&&(0,N.jsx)(P.P_,{type:"error",children:u[e.name].message})]},e.name)})),(null===u||void 0===u?void 0:u.token)&&(0,N.jsx)("h6",{className:"text-primary",children:"Deze link is niet meer geldig. Vraag een nieuwe aan!"})]}),(0,N.jsx)(b.Z,{type:"submit",showIcon:!1,className:"".concat(y&&"hidden"," w-full md:w-auto mt-8"),children:"Reset wachtwoord"})]})})})})}),(0,N.jsx)("div",{className:"flex-1/2 hidden lg:block relative",children:(0,N.jsx)(_.Ls,{className:"w-100 bg-cover",style:{backgroundImage:"url('/assets/account_bg.jpg')"}})})]})]})}},39985:function(e,t,n){"use strict";n.d(t,{Ay:function(){return p},BM:function(){return x},Bm:function(){return m},F3:function(){return w},Gg:function(){return k},Ii:function(){return d},Ls:function(){return N},OU:function(){return l},T5:function(){return _},Tv:function(){return c},WV:function(){return f},XG:function(){return h},Y6:function(){return a},gP:function(){return v},kM:function(){return C},rP:function(){return P},rY:function(){return y},rk:function(){return u},rl:function(){return j},wo:function(){return g},y:function(){return b}});var r=n(39553),i=n(4464),o=n(1938),s=n.n(o),a=r.ZP.div.attrs((function(e){var t=e.active,n=["text-basic","h2","transition-color","duration-150","ease-in-out"],r=[].concat(n,t?["font-bold"]:["text-basic-400"]);return{className:(0,i.p)(r)}})).withConfig({displayName:"accountstyles__TabButton",componentId:"sc-hdi0z6-0"})(["cursor:pointer;display:flex;white-space:nowrap;&:first-child{margin-right:36px;}&:hover{span{border-bottom:3px solid ",";}}"],s().extend.colors.primary.default),d=r.ZP.img.withConfig({displayName:"accountstyles__ProfilePic",componentId:"sc-hdi0z6-1"})(["width:120px;height:120px;@media (min-width:","){width:240px;height:240px;}"],s().screens.lg),c=r.ZP.button.withConfig({displayName:"accountstyles__UpdateProfilePic",componentId:"sc-hdi0z6-2"})(["position:absolute;right:10px;bottom:0;width:32px;height:32px;background:",";border:1px solid ",";border-radius:100%;transition:background 0.2s ease-in-out;@media (min-width:","){right:26px;bottom:8px;width:40px;height:40px;}svg{position:absolute;top:50%;left:50%;width:15px;height:14px;fill:",";transform:translate(-50%,-50%);transition:fill 0.2s ease-in-out;@media (min-width:","){width:19px;height:17px;}}&:focus{outline:none;background:",";svg{fill:",";}}&:hover{background:",";svg{fill:",";}}"],s().extend.colors.white,s().extend.colors.basic[200],s().screens.lg,s().extend.colors.primary.default,s().screens.lg,s().extend.colors.primary.default,s().extend.colors.white,s().extend.colors.primary.default,s().extend.colors.white),l=r.ZP.div.withConfig({displayName:"accountstyles__MyInformationMenu",componentId:"sc-hdi0z6-3"})(["width:100%;padding-top:1.5rem;@media (min-width:","){margin:0 auto;}@media (min-width:","){max-width:83.333333%;}"],s().screens.md,s().screens.xl),m=r.ZP.div.withConfig({displayName:"accountstyles__MyInformationContainer",componentId:"sc-hdi0z6-4"})(["position:relative;padding-top:2.5rem;@media (min-width:","){padding-top:5rem;}@media (min-width:","){padding-top:7rem;}"],s().screens.lg,s().screens.xl),p=r.ZP.div.withConfig({displayName:"accountstyles__DatePickerContainer",componentId:"sc-hdi0z6-5"})(["position:relative;> span{position:absolute;z-index:2;color:",";","}> svg{position:absolute;top:5px;right:14px;z-index:2;fill:",";}.react-datepicker-popper{transform:none !important;inset:-8px 0 auto auto !important;padding-top:10px !important;}.react-datepicker{border-radius:0;border:0;box-shadow:0 10px 50px rgba(32,39,54,0.2);&__tab-loop{position:absolute;width:100%;}&__triangle{top:0 !important;margin-top:-8px !important;&::after{display:none;}&::before{top:-1px !important;bottom:auto !important;border-top:none !important;
1border-bottom:8px solid "," !important;}}&__header{padding:0;background:",";border-radius:0;border:0;}&__navigation{top:8px;&:focus{outline:none;}&:hover{.react-datepicker__navigation-icon{&::before{border-color:",";}}}}&__navigation-icon{&::before{top:14px;width:11px;height:11px;border-width:2px 2px 0 0;border-color:",";transition:border-color 0.2s ease-in-out;}}&__current-month{line-height:50px;}&__day-names{background:",";}&__day-name{color:",";}&__day{&--keyboard-selected,&--selected{background:",";}}&__day--outside-month{color:",";}}"],s().extend.colors.basic[500],(function(e){return!0===e.open||e.startDate?"top: -20px; font-size: 12px;":"top: 0; font-size: 18px;"}),s().extend.colors.primary.default,s().extend.colors.white,s().extend.colors.white,s().extend.colors.primary.default,s().extend.colors.secondary.default,s().extend.colors.secondary[400],s().extend.colors.white,s().extend.colors.secondary[400],s().extend.colors.basic[300]),u=r.ZP.div.withConfig({displayName:"accountstyles__SplitLayoutContainer",componentId:"sc-hdi0z6-6"})(["min-height:calc(100vh - 64px);padding-top:3rem;padding-bottom:30px;@media (min-width:","){min-height:calc(100vh - 90px);}@media (min-width:","){padding-top:10rem;}@media (min-width:","){min-height:calc(100vh - 108px);}"],s().screens.lg,s().screens.xl,s().screens.xxl),h=r.ZP.div.withConfig({displayName:"accountstyles__MenuWrapper",componentId:"sc-hdi0z6-7"})(["display:flex;justify-content:flex-start;overflow-x:auto;margin-bottom:2rem;@media (min-width:","){margin-bottom:3rem;}"],s().screens.xl),f=r.ZP.div.withConfig({displayName:"accountstyles__AnimatedForm",componentId:"sc-hdi0z6-8"})(["transform:translateX(",");transition:transform 0.3s ease-in-out;display:flex;position:relative;width:200%;overflow:hidden;"],(function(e){return"login"===e.form?"0%":"-50%"})),w=r.ZP.div.withConfig({displayName:"accountstyles__AnimatedInterestForm",componentId:"sc-hdi0z6-9"})(["transform:translateX(",");padding-top:20px;"," display:flex;position:relative;width:200%;overflow:hidden;& > div{height:80vh;overflow-x:auto;scrollbar-width:thin;scrollbar-color:"," ",";&::-webkit-scrollbar{width:0px;}&::-webkit-scrollbar-track{background:",";}&::-webkit-scrollbar-thumb{background-color:$color-border;border-radius:20px;border:0px solid ",";}& + div{padding-bottom:150px;}}"],(function(e){return e.selectedInterest?"-50%":"0%"}),(function(e){return e.passedThemeId?"":"transition: transform 0.3s ease-in-out;"}),s().extend.colors.basic[300],s().extend.colors.basic[100],s().extend.colors.basic[100],s().extend.colors.basic[100]),g=r.ZP.div.withConfig({displayName:"accountstyles__MyOverviewHeader",componentId:"sc-hdi0z6-10"})(["padding:0 1rem;margin-top:3.5rem;margin-bottom:1.5rem;@media (min-width:","){margin-top:5.5rem;margin-bottom:3.5rem;}img{width:100px;height:100px;}"],s().screens.md),x=(r.ZP.div.withConfig({displayName:"accountstyles__MyFavoriteAccommodationsContainer",componentId:"sc-hdi0z6-11"})(["padding:1rem 1rem 0;@media (min-width:","){padding:2.25rem 2.25rem 0.75rem;}@media (min-width:","){padding:2.25rem 2.25rem 0;}"],s().screens.md,s().screens.lg),r.ZP.div.withConfig({displayName:"accountstyles__FavoriteActivityAccommodationHeader",componentId:"sc-hdi0z6-12"})(["padding:2.5rem 0;margin-top:2.5rem;img{width:40px;height:40px;@media (min-width:","){width:80px;height:80px;}}a{flex-shrink:0;}"],s().screens.md),r.ZP.div.withConfig({displayName:"accountstyles__AccountInformationBlock",componentId:"sc-hdi0z6-13"})(["padding:2.25rem 1.5rem 2.25rem 2.25rem;"])),b=r.ZP.a.withConfig({displayName:"accountstyles__AccountBackButton",componentId:"sc-hdi0z6-14"})(["position:absolute;top:0;left:0;&:hover{svg{transform:translateX(-10px);}}"]),y=r.ZP.div.withConfig({displayName:"accountstyles__OrderContainerDesktopFirst",componentId:"sc-hdi0z6-15"})(["order:2;@media (min-width:","){order:1;}"],s().screens.lg),v=r.ZP.div.withConfig({displayName:"accountstyles__OrderContainerDesktopSecond",componentId:"sc-hdi0z6-16"})(["order:1;@media (min-width:","){order:2;}"],s().screens.lg),_=r.ZP.div.withConfig({displayName:"accountstyles__InterestIcon",componentId:"sc-hdi0z6-17"})(["display:none;@media (min-width:","){display:flex;flex:0 0 12.5%;justify-content:center;align-items:center;}"],s().screens.md),P=r.ZP.div.withConfig({displayName:"accountstyles__InterestContent",componentId:"sc-hdi0z6-18"})(["flex:1 1 auto;padding:1rem;@media (min-width:","){padding:2rem 2rem 2rem 0.5rem;}"],s().screens.md),N=r.ZP.div.withConfig({displayName:"accountstyles__LoginImage",componentId:"sc-hdi0z6-19"})(["@media (min-width:","){position:sticky;top:90px;height:calc(100vh - 90px);}@media (min-width:","){top:108px;height:calc(100vh - 108px);}"],s().screens.lg,s().screens.xxl),k=r.ZP.h2.attrs((function(e){return{className:e.classNames}})).withConfig({displayName:"accountstyles__WrappedHeader",componentId:"sc-hdi0z6-20"})(["{word-break:break-word;hyphens:auto;}"]),j=r.ZP.div.withConfig({displayName:"accountstyles__FavoriteActivityCollapse",componentId:"sc-hdi0z6-21"})(["",";"],(function(e){return!0===e.show?"max-height: 120rem;":"max-height: 0;"})),C=r.ZP.div.withConfig({displayName:"accountstyles__FamilyMember",componentId:"sc-hdi0z6-22"})(["border-top:2px solid ",";&:first-child{border-top:0;}"],s().extend.colors.white)},43834:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mijn-omgeving/wachtwoord-herstellen/[[...params]]",function(){return n(99970)}])}},function(e){e.O(0,[774,888,179],(function(){return t=43834,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.