PageSourceSearch

https://www.hunkemoller.at/mobify/bundle/1087/pages-verify-email.js

js hunkemoller.at collected 2026-10-04 20:36:55 UTC 13,158 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7969],{31720(e,t,i){i.d(t,{z:()=>r});const r=(0,i(16602).YK)({invalid:{id:"form_intl_email_field_invalid",defaultMessage:[{type:0,value:"Please enter a valid email address"}]},label:{id:"form_intl_email_field_label",defaultMessage:[{type:0,value:"E-mail"}]},emailRequired:{id:"form_intl_error_please_enter_email_field",defaultMessage:[{type:0,value:"Please enter an email address"}]},formatError:{id:"form_intl_email_field_format_error",defaultMessage:[{type:0,value:"The email is not formatted correctly."}]},domainError:{id:"form_intl_email_field_domain_error",defaultMessage:[{type:0,value:"The domain does not exist or is not capable of receiving email"}]},accountError:{id:"form_intl_email_field_account_error",defaultMessage:[{type:0,value:"The email account does not exist on the domain"}]}})},68345(e,t,i){i.d(t,{P:()=>r});const r=100},36314(e,t,i){i.r(t),i.d(t,{default:()=>ee});var r=i(10939),o=i(44258),a=i(94929),n=i(66272),s=i(77810),l=i(81208),c=i(67395),u=i(57277),m=i(82240),d=i(48500),f=i(11208),y=i(68588),_=i(14154),p=i(28407),v=i(90031),g=i(34692),E=i(64965),b=i(50646),h=i(24603),j=i(39244),O=i(60801),w=i(2570),P=i(44804),L=i(15315),C=i(30801);const x=(0,i(71511).v)((e=>({shouldRedirect:!0,setShouldRedirect:t=>e({shouldRedirect:t})}))),k=(0,i(16602).YK)({verifyEmailTitle:{id:"my_account_intl_verify_email_title",defaultMessage:[{type:0,value:"Change Email"}]},verifyEmailDescription:{id:"my_account_intl_verify_email_description",defaultMessage:[{type:0,value:"If you would like to update your Email address, please enter your current password."}]},verifyCurrentEmailLabel:{id:"my_account_intl_verify_current_email_label",defaultMessage:[{type:0,value:"Current Email"}]},verifyNewEmailLabel:{id:"my_account_intl_verify_new_email_label",defaultMessage:[{type:0,value:"New Email"}]},verifyEmailCurrentPasswordLabel:{id:"my_account_intl_verify_email_current_password_label",defaultMessage:[{type:0,value:"Current Password"}]},verifyEmailForgotButton:{id:"my_account_intl_verify_email_forgot_button",defaultMessage:[{type:0,value:"I forgot my Password"}]},verifyEmailConfirmButton:{id:"my_account_intl_verify_email_confirm_button",defaultMessage:[{type:0,value:"Confirm new Email"}]},verifyEmailBottomBlockHeading:{id:"my_account_intl_verify_email_bottom_block_heading",defaultMessage:[{type:0,value:"Didn't request the email update?"}]},verifyEmailBottomBlockDescription:{id:"my_account_intl_verify_email_bottom_block_description",defaultMessage:[{type:0,value:"Do not hesitate to reach out to our "},{type:8,value:"a",children:[{type:0,value:"General Terms and Conditions"}]},{type:0,value:" should you have any other questions."}]},verifyEmailConfirmationMessage:{id:"my_account_intl_verify_email_confirmation_message",defaultMessage:[{type:0,value:"Your Email has been successfully updated"}]},verifyEmailBottomSuccessHeading:{id:"my_account_intl_verify_email_bottom_success_heading",defaultMessage:[{type:0,value:"Now you can login with your new email"}]},verifyEmailLoginButton:{id:"my_account_intl_verify_email_login_button",defaultMessage:[{type:0,value:"Login"}]},verifyEmailError:{id:"my_account_intl_verify_email_error",defaultMessage:[{type:0,value:"Sorry, this doesn't match the information in our system. Please check and try again."}]}}),S=(0,b.Ik)({password:(0,b.Yj)().required(O.w.required),currentEmail:(0,b.Yj)(),newEmail:(0,b.Yj)()}).required(),A=()=>{const{formatMessage:e}=(0,g.A)(),t=(0,E.zy)(),{data:i,isLoading:r}=(0,w.J)(),{setShouldRedirect:a}=x(),n=(0,v.useAuthHelper)(v.AuthHelpers.Logout),{c_emailNew:l,email:c,isGuest:u,customerId:m,isRegistered:d,c_isEmailVerified:f}=i,y=new URLSearchParams(t.search),_=y.get("token"),b=y.get("code"),O=(0,s.useMemo)((()=>({currentEmail:c??"",newEmail:l??"",password:""})),[c,l]),A=(0,s.useMemo)((()=>({schema:S,mode:"onBlur",defaultValues:O})),[O]),D=(0,j.L)(A);(0,s.useEffect)((()=>{const e=D.getValues(),t=e.currentEmail===O.currentEmail&&e.newEmail===O.newEmail;i&&!t&&D.reset(O)}),[i,O,D]);const{setError:B}=D,{mutateAsync:M,isLoading:F,isSuccess:V}=function(){const e=(0,o.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={options:{method:L.a.POST,customApiPathParameters:{apiName:"account",apiVersion:"v1",endpointPath:"confirmNewEmail"}}},e[0]=t):t=e[0],(0,C.iY)(t)}(),T=function(){var t=(0,p.A)((function*(t){try{if(!i)throw new Error("Customer data is not available");yield M({body:JSON.stringify({token:_,code:b,newEmail:l??"",password:t.password})}),a(!1),n.mutate()}catch(t){const i=t,r=yield(0,h.SY)(i);P.vF.info("Verify email: error caught in handleSubmit",{namespace:"useVerifyCustomerEmailForm",additionalProperties:{error:r}}),B("password",{type:"server",message:e(k.verifyEmailError)})}}));return function(e){return t.apply(this,arguments)}}();return{submitVerifyEmail:e=>{T(e)},verifyEmailForm:D,isLoading:F,isSuccess:V,currentEmail:c,isCustomerLoading:r,isGuest:u,customerId:m,newEmail:l,isRegistered:d,isEmailVerified:f}};var D=i(40133),B=i(36287),M=i(84529),F=i(41863),V=i(74365),T=i(96012),N=i(6156
17),R=i(54019),Y=i(78539),I=i(45915),H=i(49317),q=i(36819),U=i(12506),G=i(64922);function K(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function z(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?K(Object(i),!0).forEach((function(t){(0,r.A)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):K(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function $(e){const t=(0,o.c)(41),{isLoading:i,verifyEmailForm:r,submitVerifyEmail:a,onForgotPasswordClick:n,isCustomerLoading:s}=e,l=void 0===n?M.noop:n,c=(0,_.o)("VerifyEmail"),{formatMessage:u}=(0,g.A)(),m=c.formField,d=!s,f=c.skeleton;let y,p,v;t[0]!==u?(y=u(k.verifyCurrentEmailLabel),t[0]=u,t[1]=y):y=t[1],t[2]!==y?(p=(0,G.jsx)(q.L,{name:"currentEmail",label:y,isDisabled:!0}),t[2]=y,t[3]=p):p=t[3],t[4]!==c.skeleton||t[5]!==d||t[6]!==p?(v=(0,G.jsx)(R.E,z(z({isLoaded:d},f),{},{children:p})),t[4]=c.skeleton,t[5]=d,t[6]=p,t[7]=v):v=t[7];const E=!s,b=c.skeleton;let h,j,O,w,P,L,C,x,S,A,D,B;return t[8]!==u?(h=u(k.verifyNewEmailLabel),t[8]=u,t[9]=h):h=t[9],t[10]!==h?(j=(0,G.jsx)(q.L,{name:"newEmail",label:h,isDisabled:!0}),t[10]=h,t[11]=j):j=t[11],t[12]!==c.skeleton||t[13]!==j||t[14]!==E?(O=(0,G.jsx)(R.E,z(z({isLoaded:E},b),{},{children:j})),t[12]=c.skeleton,t[13]=j,t[14]=E,t[15]=O):O=t[15],t[16]!==u?(w=u(k.verifyEmailCurrentPasswordLabel),t[16]=u,t[17]=w):w=t[17],t[18]!==w?(P=(0,G.jsx)(U.s,{name:"password",label:w}),t[18]=w,t[19]=P):P=t[19],t[20]!==c.formField||t[21]!==O||t[22]!==P||t[23]!==v?(L=(0,G.jsxs)(Y.T,z(z({},m),{},{children:[v,O,P]})),t[20]=c.formField,t[21]=O,t[22]=P,t[23]=v,t[24]=L):L=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(C=(0,G.jsx)(F.A,z({},k.verifyEmailForgotButton)),t[25]=C):C=t[25],t[26]!==l?(x=(0,G.jsx)(N.$,{onClick:l,variant:"actionLink",children:C}),t[26]=l,t[27]=x):x=t[27],t[28]!==c.forgotPasswordButton||t[29]!==x?(S=(0,G.jsx)(I.s,z(z({},c.forgotPasswordButton),{},{children:x})),t[28]=c.forgotPasswordButton,t[29]=x,t[30]=S):S=t[30],t[31]===Symbol.for("react.memo_cache_sentinel")?(A=(0,G.jsx)(F.A,z({},k.verifyEmailConfirmButton)),t[31]=A):A=t[31],t[32]!==i||t[33]!==c.submitButton?(D=(0,G.jsx)(N.$,z(z({type:"submit",variant:"secondary",isLoading:i},c.submitButton),{},{"data-testid":"verify-email-confirm-button",children:A})),t[32]=i,t[33]=c.submitButton,t[34]=D):D=t[34],t[35]!==a||t[36]!==L||t[37]!==S||t[38]!==D||t[39]!==r?(B=(0,G.jsxs)(H.l,{form:r,onSubmit:a,noValidate:!0,children:[L,S,D]}),t[35]=a,t[36]=L,t[37]=S,t[38]=D,t[39]=r,t[40]=B):B=t[40],B}function J(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function Q(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?J(Object(i),!0).forEach((function(t){(0,r.A)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):J(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function W(e){const t=(0,o.c)(36),{isLoading:i,verifyEmailForm:r,submitVerifyEmail:a,onForgotPasswordClick:n,isSuccess:s,isCustomerLoading:l}=e,c=void 0===n?M.noop:n,u=(0,f.A)(),m=(0,_.o)("VerifyEmail");let d;t[0]!==m.link?(d=e=>(0,G.jsx)(T.A,Q(Q({href:y.j.CONTACT},m.link),{},{children:e})),t[0]=m.link,t[1]=d):d=t[1];const p=d;let v;t[2]!==p?(v={a:p},t[2]=p,t[3]=v):v=t[3];const g=v;let E,b,h;t[4]===Symbol.for("react.memo_cache_sentinel")?(E=(0,G.jsx)(F.A,Q({},k.verifyEmailTitle)),t[4]=E):E=t[4],t[5]!==m.title?(b=(0,G.jsx)(D.E,Q(Q({},m.title),{},{children:E})),t[5]=m.title,t[6]=b):b=t[6],t[7]!==l||t[8]!==i||t[9]!==s||t[10]!==c||t[11]!==m.description||t[12]!==a||t[13]!==r?(h=s?(0,G.jsx)(V.O,{variant:"verifyEmail",message:(0,G.jsx)(F.A,Q({},k.verifyEmailConfirmationMessage))}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(D.E,Q(Q({},m.description),{},{children:(0,G.jsx)(F.A,Q({},k.verifyEmailDescription))})),(0,G.jsx)($,{isLoading:i,verifyEmailForm:r,submitVerifyEmail:a,onForgotPasswordCl
1ick:c,isCustomerLoading:l})]}),t[7]=l,t[8]=i,t[9]=s,t[10]=c,t[11]=m.description,t[12]=a,t[13]=r,t[14]=h):h=t[14];const j=s?k.verifyEmailBottomSuccessHeading:k.verifyEmailBottomBlockHeading;let O,w,P,L,C,x;return t[15]!==j?(O=(0,G.jsx)(F.A,Q({},j)),t[15]=j,t[16]=O):O=t[16],t[17]!==m.title||t[18]!==O?(w=(0,G.jsx)(D.E,Q(Q({},m.title),{},{children:O})),t[17]=m.title,t[18]=O,t[19]=w):w=t[19],t[20]!==g?(P=(0,G.jsx)(F.A,Q(Q({},k.verifyEmailBottomBlockDescription),{},{values:g})),t[20]=g,t[21]=P):P=t[21],t[22]!==m.description||t[23]!==P?(L=(0,G.jsx)(D.E,Q(Q({},m.description),{},{children:P})),t[22]=m.description,t[23]=P,t[24]=L):L=t[24],t[25]!==s||t[26]!==u||t[27]!==m.loginButton?(C=s&&(0,G.jsx)(N.$,Q(Q({variant:"secondary"},m.loginButton),{},{onClick:()=>u(y.j.CUSTOMER),children:(0,G.jsx)(F.A,Q({},k.verifyEmailLoginButton))})),t[25]=s,t[26]=u,t[27]=m.loginButton,t[28]=C):C=t[28],t[29]!==m.verifyEmailContainer||t[30]!==L||t[31]!==C||t[32]!==b||t[33]!==h||t[34]!==w?(x=(0,G.jsxs)(B.az,Q(Q({},m.verifyEmailContainer),{},{children:[b,h,w,L,C]})),t[29]=m.verifyEmailContainer,t[30]=L,t[31]=C,t[32]=b,t[33]=h,t[34]=w,t[35]=x):x=t[35],x}function X(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function Z(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?X(Object(i),!0).forEach((function(t){(0,r.A)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):X(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}const ee=function(){var e;const t=(0,o.c)(35),i=(0,_.o)("VerifyEmail"),{content:r,pageType:p}=(0,m.b)();let v;var g,E;t[0]!==(null==r||null===(e=r.seo_group)||void 0===e?void 0:e.seo_profile)?(v=(null==r||null===(g=r.seo_group)||void 0===g?void 0:g.seo_profile)??{},t[0]=null==r||null===(E=r.seo_group)||void 0===E?void 0:E.seo_profile,t[1]=v):v=t[1];const{page_title:b,page_description:h}=v,j=(0,a.j)(),{isLoading:O,verifyEmailForm:w,isSuccess:P,submitVerifyEmail:L,currentEmail:C,isCustomerLoading:k,isGuest:S,customerId:D,newEmail:B,isRegistered:M,isEmailVerified:F}=A(),{shouldRedirect:V,setShouldRedirect:T}=x(),N=(0,f.A)(),R=!B;let Y,I,H,q;t[2]!==C||t[3]!==D||t[4]!==R||t[5]!==F||t[6]!==S||t[7]!==M||t[8]!==N||t[9]!==V?(Y=()=>{S&&V&&D&&N(y.j.NOT_FOUND),M&&V&&D&&C&&(R||F)&&N(y.j.NOT_FOUND)},I=[S,V,D,N,R,M,C,F],t[2]=C,t[3]=D,t[4]=R,t[5]=F,t[6]=S,t[7]=M,t[8]=N,t[9]=V,t[10]=Y,t[11]=I):(Y=t[10],I=t[11]),(0,s.useEffect)(Y,I),t[12]!==T?(H=()=>()=>T(!0),q=[T],t[12]=T,t[13]=H,t[14]=q):(H=t[13],q=t[14]),(0,s.useEffect)(H,q);const U=b??"",K=h??"";let z,$,J,Q,X;return t[15]===Symbol.for("react.memo_cache_sentinel")?(z={pageViewType:l.YG.VERIFY_EMAIL},t[15]=z):z=t[15],t[16]!==j.onOpen||t[17]!==k||t[18]!==O||t[19]!==P||t[20]!==L||t[21]!==w?($=(0,G.jsx)(W,{isLoading:O,verifyEmailForm:w,submitVerifyEmail:L,onForgotPasswordClick:j.onOpen,isSuccess:P,isCustomerLoading:k}),t[16]=j.onOpen,t[17]=k,t[18]=O,t[19]=P,t[20]=L,t[21]=w,t[22]=$):$=t[22],t[23]!==C||t[24]!==j?(J=(0,G.jsx)(c.g,Z(Z({},j),{},{userEmail:C})),t[23]=C,t[24]=j,t[25]=J):J=t[25],t[26]!==i.container||t[27]!==$||t[28]!==J?(Q=(0,G.jsxs)(n.m,Z(Z({},i.container),{},{children:[$,J]})),t[26]=i.container,t[27]=$,t[28]=J,t[29]=Q):Q=t[29],t[30]!==p||t[31]!==Q||t[32]!==U||t[33]!==K?(X=(0,G.jsx)(u.Y,{testId:"verify-email-page",title:U,description:K,trackedData:z,variant:"componentPage",requiredContentTypes:d.R2.AccountPage,pageType:p,children:Q}),t[30]=p,t[31]=Q,t[32]=U,t[33]=K,t[34]=X):X=t[34],X}}}]);

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.