PageSourceSearch

https://www.equinox.com/_next/static/chunks/pages/account-cc33dfc473e6e53f.js

js equinox.com collected 2026-10-01 09:13:53 UTC 80,177 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7966,2761,3741],{99525:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return r(66259)}])},66259:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return eZ},default:function(){return eT}});var s=r(85893),a=r(11163),i=r(45697),n=r.n(i),o=r(67294),l=r(13981),d=r(95049),c=r(17602),u=r(32761),m=r(81999),p=r(34646),h=r(49600),f=r(91949),_=r(83111),g=r(13873),w=r(36784),b=r.n(w),x=r(48939),y=r.n(x);let D=({className:e="",info:t,title:r})=>(0,s.jsxs)("div",{className:`${y().userDetailsRow} ${e}`.trim(),"data-is":"UserDetailsRow",children:[(0,s.jsx)("p",{className:y().userDetailsRowTitle,children:r}),(0,s.jsx)("div",{className:y().userDetailsRowInfo,children:t})]});D.propTypes={className:n().string,info:n().node.isRequired,title:n().string.isRequired},n().string;let N=({name:e,firstName:t,lastName:r})=>{let s=[t,r].filter(Boolean).join(" ").trim()||e?.trim()||"";return s?s.split(/\s+/).map(e=>e.trim()).filter(Boolean).slice(0,2).map(e=>e[0]?.toUpperCase()||"").join(""):""},j=({cancellationToken:e,memberAccountInfo:t,memberProfileInfo:r,memberProfilePic:a})=>{let[i,n]=(0,o.useState)(!1),{expirationDate:l,facility:d,isProspect:c,membershipPlanName:m,membershipStatus:p,name:f,obligationDate:_,startDate:w}=t,x=null;if(r?.memberSince)try{x=new Date(r.memberSince)}catch(e){console.error("Invalid memberSince date",x)}let y=a?.membersSignedURLs?.[0]?.signedURL||null,j=(0,o.useMemo)(()=>N({firstName:r?.firstName,lastName:r?.lastName,name:f}),[r?.firstName,r?.lastName,f]),v=!p||p.toLowerCase().includes("cancelled")||p.toLowerCase().includes("expired");return(0,s.jsxs)("header",{className:b().userDetails,"data-is":"UserDetails",children:[(0,s.jsx)("div",{className:b().profilePictureContainer,children:y?(0,s.jsx)("img",{alt:"profile picture",className:b().profilePicture,src:y}):(0,s.jsx)("div",{"aria-label":"profile initials",className:`${b().profilePicture} ${b().profilePictureFallback}`,role:"img",children:(0,s.jsx)("span",{className:b().profileInitials,children:j})})}),(0,s.jsx)("h3",{className:b().memberName,children:f}),!v&&!c&&(0,s.jsxs)("div",{className:b().memberSince,children:[(0,s.jsx)("p",{children:"Membership since"}),(0,s.jsx)("span",{children:x?(0,g.WU)(x,"yyyy"):"pending"})]}),(0,s.jsxs)("div",{className:b().memberMetaRow,children:[(0,s.jsxs)("div",{className:b().memberInfoContainer,children:[(0,s.jsx)(D,{info:d,title:"Home Club"}),(0,s.jsx)("div",{"aria-hidden":"true",className:b().divider}),(0,s.jsx)(D,{className:v?b().expiredOrCancelledAccount:"",info:v?"Membership Inactive":m||"-",title:"Membership Type"}),!v&&!c&&(()=>{let e=w?(0,g.WU)(w,"MM.dd.yyyy"):"Invalid date",t="Invalid date";l?t=(0,g.WU)(l,"MM.dd.yyyy"):_&&(t=(0,g.WU)(_,"MM.dd.yyyy"));let r=`${e} - ${t}`;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{"aria-hidden":"true",className:b().divider}),(0,s.jsx)(D,{info:r,title:"Membership Agreement"})]})})()]}),t?.canCancel&&(p===h.Rk.n.ACTIVE||p===h.Rk.n.ON_FREEZE)&&t?.ismanageAccountMemberCancel&&(0,s.jsxs)("div",{className:b().manageAccount,children:[e&&!i?(0,s.jsx)("a",{className:b().manageAccountButton,"data-track":"account:user-profile:manage-account",href:`/account/cancel/${e}`,onClick:e=>{if(i){e&&e.preventDefault();return}n(!0),window.setTimeout(()=>{n(!1)},1e3)},rel:"noreferrer",target:"_blank",children:"Manage Account"}):(0,s.jsx)("button",{"aria-disabled":"true",className:b().manageAccountButton,"data-track":"account:user-profile:manage-account",disabled:!0,type:"button",children:"Manage Account"}),!e&&(0,s.jsx)(u.default,{className:b().manageAccountLoader,color:"light",hasBackgroundShade:!0,isOverlay:!0})]})]})]})};j.propTypes={cancellationToken:n().string,memberAccountInfo:n().object.isRequired,memberProfileInfo:n().object.isRequired,memberProfilePic:n().object.isRequired};var v=r(41609),U=r.n(v),P=r(94134),F=r(41664),R=r.n(F),I=r(35663),C=r.n(I),A=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{"data-is":"OtherDetails",children:(0,s.jsxs)("div",{className:C().otherDetailsContainer,children:[(0,s.jsxs)("div",{className:C().otherDetailsBox,children:[(0,s.jsx)("p",{className:C().otherDetailsBoxTitle,children:"Membership policy and terms"}),(0,s.jsxs)("div",{className:C().otherDetailsBoxInfo,children:["See Equinox member policy and terms outlined at the link below."," ",(0,s.jsx)("div",{className:C().otherDetailsLinkContainer,children:(0,s.jsx)(R(),{className:C().userDetailRowLink,href:"/member-policies",rel:"noopener noreferrer",target:"_blank",children:"Membership Policy and Terms"})})]})]}),(0,s.jsxs)("div",{className:C().otherDetailsBox,children:[(0,s.jsx)("p",{className:C().otherDetailsBoxTitle,children:"Have questions about your account, or feedback?"}),(0,s.jsxs)("div",{className:C().otherDetailsBoxInfo,children:["Please visit"," ",(0,s.jsx)(R(),{className:C().userDetailRowLink,href:"/feedback",rel:"noopener noreferrer",target:"_blank",children:"www.equinox.com/feedback"}),", contact your club manager, or send us an email at"," ",(0,s.jsx)(R(),{className:C().userDetailRowLink,href:`mailto:${h.be}`,children:h.be}),"."]})]}),(0,s.jsxs)("div",{className:C().otherDetailsBox,children:[(0,s.jsx)("p",{className:C().otherDetailsBoxTitle,children:"Need to freeze your membership?"}),(0,s.jsxs)("div",{className:C().otherDetailsBoxInfo,children:[(0,s.jsxs)("span",{children:["Please contact Concierge at"," ",(0,s.jsx)(R(),{className:C().userDetailRowLink,href:`mailto:${h.be}`,children:h.be}),", or call us at"," ",(0,s.jsx)("a",{className:C().userDetailRowLink,href:"tel:+18663326549",children:"866.332.6549"})]}),(0,s.jsx)("div",{className:C().otherDetailsLinks,children:(0,s.jsxs)("div",{className:C().otherDetailsLinkContainer,children:[(0,s.jsx)(R(),{className:C().userDetailRowLink,href:"/faq#account-info",rel:"noopener noreferrer",target:"_blank",children:"Read freeze policy"}),(0,s.jsx)("span",{children:"\xa0\xa0|\xa0\xa0"}),(0,s.jsx)(R(),{className:C().userDetailRowLink,href:"/faq",rel:"noopener noreferrer",target:"_blank",children:"FAQ"})]})})]})]})]})}),(0,s.jsxs)("section",{"data-is":"CommunicationPreferences",children:[(0,s.jsx)("div",{className:C().communicationPreferencesTitle,"data-role":"title",children:"Communication Preferences"}),(0,s.jsx)("div",{className:C().communicationPreferencesAction,"data-role":"actions",children:(0,s.jsx)(R(),{className:C().communicationPreferencesLink,href:"/email-preferences",rel:"noopener noreferrer",target:"_blank",children:"Manage it"})})]})]}),E=r(38915),k=r.n(E),S=r(93967),L=r.n(S),Z=r(12515),T=r(30303),q=r(24315),B=r(32071),$=r(68413);let M=({errorMessage:e,userDetailErrorText:t})=>(0,s.jsx)("div",{className:"d-flex justify-content-between",children:(0,s.jsx)("div",{className:t,children:e})});M.propTypes={errorMessage:n().string.isRequired,userDetailErrorText:n().string};var W=r(31754),O=r(75527),z=r(75054),G=r(97182),H=r(26541),V=r(23279),J=r.n(V),X=r(86250),K=r(77332);let Y=e=>e?.val||e?.value||"",Q=(e,t=[])=>{let r=(e||"").trim();if(!r)return"";let s=t.find(e=>{let t=Y(e),s=e?.label||"";return t.toLowerCase()===r.toLowerCase()||s.toLowerCase()===r.toLowerCase()});return s?Y(s):r},ee=e=>{let{children:t}=e;return(0,s.jsxs)(W.Z,{...e,sx:{borderRadius:0},children:[t,(0,s.jsx)("div",{className:C().googlePoweredByWrap,children:(0,s.jsx)("img",{alt:"",className:C().googlePoweredBy,height:"14",src:"https://maps.gstatic.
1com/mapfiles/api-3/images/powered-by-google-on-white3_hdpi.png",width:"120"})})]})};ee.propTypes={children:n().node};let et=e=>(0,s.jsx)(O.Z,{...e,modifiers:[{enabled:!1,name:"flip"},{name:"preventOverflow",options:{altAxis:!1,tether:!1}}],placement:"bottom-start"}),er=e=>{let t=e?.placePrediction;return t?.placeId?{icon:(0,s.jsx)(X.kXE,{}),id:t.placeId,isFromGoogle:!0,label:t.text?.text||"",type:t.structuredFormat?.secondaryText?.text||t.text?.text?.split(",").slice(1).join(",").trim()||""}:null},es=({availableStates:e,errorMessage:t,onSelect:r,value:a})=>{let i=(0,o.useRef)(null),[n,l]=(0,o.useState)(a||""),[d,c]=(0,o.useState)([]),[u,m]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1);(0,o.useEffect)(()=>{l(a||"")},[a]),(0,o.useEffect)(()=>{(async()=>{try{i.current=await (0,K._D)()}catch(e){console.error("Failed to initialize autocomplete session:",e)}})()},[]);let f=(0,o.useCallback)(async e=>{try{let t=(await (0,K.DJ)({input:e,sessionToken:i.current})).map(er).filter(Boolean);c(t)}catch(e){console.error("Failed to fetch Google place suggestions",e),c([])}finally{m(!1)}},[]),_=(0,o.useMemo)(()=>J()(f,300),[f]);(0,o.useEffect)(()=>()=>{_.cancel?.()},[_]);let g=async(t,s)=>{if(s?.isFromGoogle){l(s.label||""),c([]),h(!1);try{let t=await (0,K.Uj)(s.id);if(!t)return;r({address1:t.streetAddress||t.address||s.label||"",city:t.city||t.locality||t.subRegion||"",country:"GB"===t.countryCode?"UK":t.countryCode||t.country||"",state:Q(t.regionCode||t.region||t.state||"",e),zipCode:t.zipCode||""})}catch(e){console.error("Failed to fetch Google place details",e)}}},w=p&&(u||d.length>0);return(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsxs)("div",{className:L()(C().floatingField,C().addressAutocomplete,n&&C().floatingFieldFilled,t&&C().userDetailErrorInput),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Address"}),(0,s.jsx)(z.Z,{clearOnBlur:!1,disablePortal:!0,filterOptions:e=>e,inputValue:n,loading:u,loadingText:(0,s.jsx)(G.Z,{color:"inherit",size:20}),onBlur:()=>{h(!1)},onChange:g,onFocus:()=>{h(!0)},onInputChange:(e,t,r)=>{if(l(t||""),"input"===r){if((t||"").length<4||!i.current){_.cancel?.(),c([]),m(!1);return}m(!0),_(t)}},open:w,options:d,popupIcon:null,renderInput:e=>(0,s.jsx)(H.Z,{...e,placeholder:" ",variant:"standard"}),renderOption:(e,t)=>{let{key:r,className:a,...i}=e;return(0,s.jsxs)("li",{className:L()(C().autocompleteOption,a),...i,children:[(0,s.jsx)("div",{className:C().autocompleteOptionIcon,children:t.icon}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:t.label}),t.type&&(0,s.jsx)("div",{className:C().autocompleteOptionSubtext,children:t.type})]})]},r)},slotProps:{paper:{className:C().addressAutocompletePaper}},slots:{paper:ee,popper:et},value:null})]}),t&&(0,s.jsx)(M,{errorMessage:t,...C()})]})};es.propTypes={availableStates:n().array,errorMessage:n().string,onSelect:n().func.isRequired,value:n().string};let ea=({title:e,info:t,className:r=""})=>(0,s.jsxs)("div",{className:`${C().userDetailRow} ${r}`,children:[(0,s.jsx)("p",{className:C().userDetailRowTitle,children:e}),(0,s.jsx)("span",{className:C().userDetailRowInfo,children:t})]});ea.propTypes={className:n().string,info:n().node.isRequired,title:n().string.isRequired};let ei=e=>e.phone||"",en=(e={})=>e.mobilePhone||e.workPhone||e.homePhone||"",eo=(e,t=[])=>({address1:e.address1||"",address2:e.address2||"",city:e.city||"",confirmPassword:"",country:e.country||"",currentPassword:"",email:e.email||"",newPassword:"",phone:en(e),state:Q(e.state,t),zipCode:e.zipCode||""}),el=()=>({address1:"",address2:"",city:"",confirmPassword:!1,currentPassword:!1,email:"",form:"",newPassword:!1,phone:"",state:"",zipCode:""}),ed=e=>({addressSuccess:!1,edit:!1,email:e.email||"",emailSuccess:!1,isUpdating:!1,passwordSuccess:!1,showConfirmPassword:!1,showCurrentPassword:!1,showNewPassword:!1}),ec=({availableStates:e,memberAccountInfo:t,token:r})=>{let{updateAccountDetails:a}=(0,o.useContext)(B.w),[i,n]=(0,o.useState)(t),[l,d]=(0,o.useState)(eo(t,e)),[c,m]=(0,o.useState)(el()),[p,h]=(0,o.useState)(ed(t)),f=(0,o.useMemo)(()=>
1{let e=[l.address1,l.address2,l.city,l.state,l.zipCode].filter(Boolean);return e.length?e.join(", "):"-"},[l.address1,l.address2,l.city,l.state,l.zipCode]),_=ei(l)||"(000) 000-0000",g=l.address1!==(i.address1||"")||l.address2!==(i.address2||"")||l.city!==(i.city||"")||l.state!==(i.state||"")||l.zipCode!==(i.zipCode||"")||l.phone!==en(i),w=l.email!==(i.email||""),b=!!(l.currentPassword.trim()||l.newPassword.trim()||l.confirmPassword.trim()),x=g||w||b,y=(e,t)=>{e.address1?(0,$.r1)(e.address1)||(t.address1="Invalid address"):t.address1="Required",e.address2&&!(0,$.r1)(e.address2)&&(t.address2="Invalid address"),e.city?(0,$.r1)(e.city)||(t.city="Invalid city"):t.city="Required",e.country?.toLowerCase()==="uk"||e.state||(t.state="Required"),e.zipCode?(0,$.h9)(e.zipCode,e.country)||(t.zipCode="Invalid zip code"):t.zipCode="Required";let r=ei(e);r?(0,$.kj)(r)||(t.phone="Invalid phone"):t.phone="Required"},D=(e,t)=>{e.email?(0,$.od)(e.email)||(t.email="Invalid username/email"):t.email="Required"},N=(e,t)=>{e.currentPassword||(t.currentPassword=!0),e.newPassword&&(0,$.eW)(e.newPassword)||(t.newPassword=!0),e.confirmPassword&&e.newPassword===e.confirmPassword||(t.confirmPassword=!0)},j=()=>{let e=el();return g&&y(l,e),w&&D(l,e),b&&N(l,e),m(e),!Object.values(e).some(Boolean)},v=(e,t)=>e?.messages?.map(e=>e.friendlyMessage).join(", ")||t,U=e=>{let t=ei(e),r={...i?.mobilePhone?{mobilePhone:i.mobilePhone}:{},...i?.workPhone?{workPhone:i.workPhone}:{},...i?.homePhone?{homePhone:i.homePhone}:{}};return t&&(i?.mobilePhone?r.mobilePhone=t:i?.workPhone?r.workPhone=t:r.homePhone=t),{address1:e.address1,address2:e.address2,city:e.city,country:e.country,...r,state:e.state,zipCode:e.zipCode}},P=async({addressBody:e,addressChanged:t,getResponseMessage:r,nextErrors:s,token:a})=>{if(!t)return!1;let i=await q.Z.updateAccountInformation(e,a);return!!i?.success||(s.form=r(i,"Unable to update address"),!1)},F=async({email:e,emailChanged:t,getResponseMessage:r,nextErrors:s,token:a})=>{if(!t)return!1;let i=await q.Z.updateUsername({email:e},a);return!!i?.success||(s.email=r(i,"Unable to update email"),!1)},R=async({form:e,getResponseMessage:t,nextErrors:r,passwordChanged:s,token:a})=>{if(!s)return!1;let i=await q.Z.updatePassword({newPassword:e.newPassword,password:e.currentPassword},a);if(i?.success)return!0;let n=t(i,"Unable to update password");return r.currentPassword=n,r.form=n,r.newPassword=!0,!1},I=async()=>{if(!x||!j())return;h(e=>({...e,isUpdating:!0}));let e=U(l),t=el();try{let s=await P({addressBody:e,addressChanged:g,getResponseMessage:v,nextErrors:t,token:r}),o=await F({email:l.email,emailChanged:w,getResponseMessage:v,nextErrors:t,token:r}),c=await R({form:l,getResponseMessage:v,nextErrors:t,passwordChanged:b,token:r}),u={...i,...s?e:{},...o?{email:l.email}:{}};(s||o)&&(n(u),a("addressData",{...u,edit:!1,success:!0}));let p=Object.values(t).some(Boolean);m(t),d(e=>({...e,confirmPassword:c?"":e.confirmPassword,currentPassword:c?"":e.currentPassword,newPassword:c?"":e.newPassword})),h(e=>({...e,addressSuccess:s,edit:p,email:o?l.email:e.email,emailSuccess:o,isUpdating:!1,passwordSuccess:c,showConfirmPassword:!1,showCurrentPassword:!1,showNewPassword:!1}))}catch(e){m(e=>({...e,form:"Unable to update contact details"})),h(e=>({...e,isUpdating:!1}))}},A=async()=>{if(!l.email){m(e=>({...e,email:"Required"}));return}if(!(0,$.od)(l.email)){m(e=>({...e,email:"Invalid username/email"}));return}h(e=>({...e,isUpdating:!0}));let e=await q.Z.updateUsername({email:l.email},r);if(!e?.success){m(t=>({...t,email:e?.messages?.map(e=>e.friendlyMessage)?.join(", ")||"Unable to resend email"})),h(e=>({...e,isUpdating:!1}));return}h(e=>({...e,emailSuccess:!0,isUpdating:!1}))},E=(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:"Your contact details have been updated. Updates will take effect in an hour."})]}),k=(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:"Your password has been updated."})]}),S=(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsxs)("span",{children:["Please check your inbox and confirm ",l.email," as your email address."," ",p.isUpdating?(0,s.jsxs)("span",{children:[(0,s.jsx)(u.default,{color:"dark"})," Sending..."]}):(0,s.jsx)("button",{className:C().userDetailRowLink,onClick:A,type:"button",children:"Resend Email"})]})]});return(0,s.jsxs)("section",{"data-is":"ContactDetails",children:[(0,s.jsx)("div",{"data-role":"title",children:"CONTACT"}),p.edit?(0,s.jsxs)("div",{className:C().formLoadingShell,"data-role":"body",children:[(0,s.jsxs)("div",{className:L()(`${C().fields} ${C().contactEditGrid}`,p.isUpdating&&C().formLoadingContentLoading),children:[(0,s.jsx)("div",{className:C().contactFieldFull,children:(0,s.jsx)(es,{availableStates:e,errorMessage:c.address1||c.city||c.state||c.zipCode,onSelect:({address1:e,city:t,country:r,state:s,zipCode:a})=>{d(i=>({...i,address1:e,address2:"",city:t,country:r||i.country,state:s,zipCode:a})),m(e=>({...e,address1:"",address2:"",city:"",form:"",state:"",zipCode:""}))},value:"-"===f?"":f})}),(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,ei(l)&&C().floatingField
1Filled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Phone Number"}),(0,s.jsx)("input",{className:L()(c.phone&&C().userDetailErrorInput,C().profileInput),onChange:e=>{d(t=>({...t,phone:e.target.value})),m(e=>({...e,form:"",phone:""}))},placeholder:" ",type:"tel",value:ei(l)})]}),c.phone&&(0,s.jsx)(M,{errorMessage:c.phone,...C()})]}),(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,l.email&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Email"}),(0,s.jsx)("input",{className:L()(c.email&&C().userDetailErrorInput,C().profileInput),onChange:e=>{d(t=>({...t,email:e.target.value})),m(e=>({...e,email:"",form:""})),h(e=>({...e,emailSuccess:!1}))},placeholder:" ",type:"email",value:l.email})]}),c.email&&(0,s.jsx)(M,{errorMessage:c.email,...C()})]}),(0,s.jsx)("div",{className:C().contactFieldFull,children:(0,s.jsxs)("div",{className:C().passwordFieldWrap,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,l.currentPassword&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Current Password"}),(0,s.jsx)("input",{className:L()(c.currentPassword&&C().userDetailErrorInput,C().profileInput,C().passwordInput),onChange:e=>{d(t=>({...t,currentPassword:e.target.value})),m(e=>({...e,currentPassword:"",form:""}))},placeholder:" ",type:p.showCurrentPassword?"text":"password",value:l.currentPassword}),(0,s.jsx)("button",{"aria-label":p.showCurrentPassword?"Hide current password":"Show current password",className:C().userDetailRowIcon,onClick:()=>h(e=>({...e,showCurrentPassword:!e.showCurrentPassword})),type:"button",children:p.showCurrentPassword?(0,s.jsx)(Z.rDJ,{}):(0,s.jsx)(Z.rzC,{})})]}),"string"==typeof c.currentPassword&&c.currentPassword&&(0,s.jsx)(M,{errorMessage:c.currentPassword,...C()})]})}),(0,s.jsx)("div",{className:C().userDetailRow,children:(0,s.jsxs)("div",{className:C().passwordFieldWrap,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,l.newPassword&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"New Password"}),(0,s.jsx)("input",{className:L()(c.newPassword&&C().userDetailErrorInput,C().profileInput,C().passwordInput),onChange:e=>{d(t=>({...t,newPassword:e.target.value})),m(e=>({...e,confirmPassword:"",form:"",newPassword:!1}))},placeholder:" ",type:p.showNewPassword?"text":"password",value:l.newPassword}),(0,s.jsx)("button",{"aria-label":p.showNewPassword?"Hide new password":"Show new password",className:C().userDetailRowIcon,onClick:()=>h(e=>({...e,showNewPassword:!e.showNewPassword})),type:"button",children:p.showNewPassword?(0,s.jsx)(Z.rDJ,{}):(0,s.jsx)(Z.rzC,{})})]}),(0,s.jsxs)("div",{className:L()(C().passwordRequirements,c.newPassword&&C().passwordRequirementsError),children:[(0,s.jsx)("div",{className:C().passwordRequirementsTitle,children:"Password Requirements"}),(0,s.jsx)("div",{children:"Between 8 and 20 characters in length."}),(0,s.jsx)("div",{children:"Must contain the following types of characters:"}),(0,s.jsxs)("ul",{className:C().passwordRequirementsList,children:[(0,s.jsx)("li",{children:"Lower case letters (a-z)"}),(0,s.jsx)("li",{children:"Upper case letters (A-Z)"}),(0,s.jsx)("li",{children:"Numbers (0-9)"}),(0,s.jsx)("li",{children:"Special characters (!@#$%^&*)"})]})]})]})}),(0,s.jsx)("div",{className:C().userDetailRow,children:(0,s.jsxs)("div",{className:C().passwordFieldWrap,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,l.confirmPassword&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Confirm New Password"}),(0,s.jsx)("input",{className:L()(c.confirmPassword&&C().userDetailErrorInput,C().profileInput,C().passwordInput),onChange:e=>{d(t=>({...t,confirmPassword:e.target.value})),m(e=>({...e,confirmPassword:"",form:""}))},placeholder:" ",type:p.showConfirmPassword?"text":"password",value:l.confirmPassword}),(0,s.jsx)("button",{"aria-label":p.showConfirmPassword?"Hide confirm new password":"Show confirm new password",className:C().userDetailRowIcon,onClick:()=>h(e=>({...e,showConfirmPassword:!e.showConfirmPassword})),type:"button",children:p.showConfirmPassword?(0,s.jsx)(Z.rDJ,{}):(0,s.jsx)(Z.rzC,{})})]}),"string"==typeof c.confirmPassword&&c.confirmPassword&&(0,s.jsx)(M,{errorMessage:c.
1confirmPassword,...C()})]})}),(0,s.jsxs)("div",{className:C().contactEditActions,children:[(0,s.jsx)("button",{className:C().userDetailRowBtn,disabled:p.isUpdating,onClick:()=>{d(eo(i,e)),m(el()),h(e=>({...e,addressSuccess:!1,edit:!1,email:i.email||"",emailSuccess:!1,isUpdating:!1,passwordSuccess:!1,showConfirmPassword:!1,showCurrentPassword:!1,showNewPassword:!1}))},type:"button",children:"CANCEL"}),(0,s.jsx)("button",{className:L()(C().userDetailRowBtn,(!x||p.isUpdating)&&C().disabledButton),disabled:!x||p.isUpdating,onClick:I,type:"button",children:"SAVE"})]})]}),p.isUpdating?(0,s.jsx)("div",{className:C().formLoadingOverlay,children:(0,s.jsx)("span",{className:C().formLoadingIndicator,children:(0,s.jsx)(u.default,{color:"dark"})})}):null]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:`${C().fields} ${C().contactContent}`,"data-role":"body",children:[(0,s.jsx)(ea,{className:`${C().addressInfo} ${C().contactAddress}`,info:f,title:"Address"}),(0,s.jsx)(ea,{info:_,title:"Phone Number"}),(0,s.jsx)(ea,{info:l.email,title:"Email"}),(0,s.jsx)(ea,{info:"••••••••",title:"Password"})]}),p.addressSuccess||p.emailSuccess||p.passwordSuccess?(0,s.jsxs)("div",{"data-role":"feedback",children:[p.addressSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:E}):null,p.emailSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:S}):null,p.passwordSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:k}):null]}):null,(0,s.jsx)("div",{className:C().editActions,"data-role":"actions",children:p.isUpdating?(0,s.jsxs)("span",{children:[(0,s.jsx)(u.default,{color:"dark"})," Updating..."]}):(0,s.jsx)("button",{className:C().userDetailRowLink,onClick:()=>h(e=>({...e,addressSuccess:!1,edit:!0,emailSuccess:!1,passwordSuccess:!1})),type:"button",children:"EDIT"})})]}),p.edit&&(p.addressSuccess||p.emailSuccess||p.passwordSuccess)?(0,s.jsxs)("div",{"data-role":"feedback",children:[p.addressSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:E}):null,p.emailSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:S}):null,p.passwordSuccess?(0,s.jsx)("div",{className:C().contactInfoMessage,children:k}):null]}):null]})};ec.propTypes={availableStates:n().array,memberAccountInfo:n().object.isRequired,token:n().string};var eu=r(23059),em=r(81240),ep=r(75999),eh=r(89270),ef=r(2719),e_=r(5617);let eg=({title:e,info:t})=>(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsx)("p",{className:C().userDetailRowTitle,children:e}),(0,s.jsx)("span",{className:C().userDetailRowInfo,children:t})]});eg.propTypes={info:n().string.isRequired,title:n().string.isRequired};let ew=()=>{window.location.href="https://payment.equinox.com"},eb=(e,t,r,s)=>{let a={domain:".equinox.com",maxAge:1200,path:"/",secure:!0};e.set(eh.NB.session.cookies.paymentAppReferrer,`/account${t?`?token=${t}`:""}`,a),e.set(eh.NB.session.cookies.paymentAppSource,"updatecard",a),t&&(e.set("EqxWeb.authOToken",t,a),e.set("userInfo",JSON.stringify({country:r,homeFacilityId:s}),a)),ew()},ex=async(e,t,r,s,a,i)=>{let n=await ef.s.isPilot(a),o={amount:{totalPrice:t},country:n?h.od.byAbbreviation[s?.toUpperCase()]?.id:1,paymentGateway:n?"Adyen":"",productType:"payBalance"},l=await ep.Z.generateAccountBalanceProductToken(o),d={domain:".equinox.com",maxAge:1200,path:"/",secure:!0};e.set(eh.NB.session.cookies.paymentAppReferrer,`/account${r?`?token=${r}`:""}`,d),e.set(eh.NB.session.cookies.paymentAppProductToken,l,d),r&&(e.set("EqxWeb.authOToken",r,d),e.set("userInfo",JSON.stringify({country:s,homeFacilityId:a,memberId:i}),d)),ew()},ey=({cookies:e,isBillingDay:t=!1,memberAccountInfo:r,memberBillingInfo:i,memberGiftcardDetails:n={},memberProfileInfo:o,token:l})=>{let d=(0,a.useRouter)(),{cardLastFourDigits:c,cardType:u,currentBalance:m}=i,{country:p}=r,{giftcardContract:f}=n,_="uk"===p.toLowerCase()?"\xa3":"$",w=async()=>{t||(await ef.s.isPilot(o.homeFacilityId)||"us"===p.toLowerCase()?eb(e,l||e.get(h.E9.USER_SESSION_ACCESS_TOKEN.name),p,o.homeFacilityId):d.push(`/account/billing/update${l?`?token=${l}`:""}`,void 0,{shallow:!0}))},b=async()=>{let r=await ef.s.isPilot(o.homeFacilityId);t||("us"===p.toLowerCase()||r?ex(e,m,l||e.get(h.E9.USER_SESSION_ACCESS_TOKEN.name),p,o?.homeFacilityId,o?.memberId):d.push(`/account/billing/payment${l?`?token=${l}`:""}`,void 0,{shallow:!0}))};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{"data-is":"PaymentDetails",children:[(0,s.jsx)("div",{"data-role":"title",children:"PAYMENT"}),(0,s.jsx)("div",{className:`${C().fields} ${C().paymentFields}`,"data-role":"body",children:(0,s.jsx)(eg,{info:u&&c?`${u} ends with ${c}
1`:"No cards found.",title:"Card"})}),(0,s.jsx)("div",{className:C().editActions,"data-role":"actions",children:(0,s.jsx)("button",{className:`${C().userDetailRowLink} ${t?C().disabled:""}`,disabled:t,onClick:w,type:"button",children:"EDIT"})}),t&&(0,s.jsx)("div",{"data-role":"feedback",children:(0,s.jsx)("div",{className:C().contactInfoMessage,children:(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:"Payments and updates to billing information are currently disabled during the monthly transaction processing window. Please try again later."})]})})})]}),(0,s.jsxs)("section",{"data-is":"Balances",children:[(0,s.jsx)("div",{"data-role":"title",children:"BALANCES"}),(0,s.jsxs)("div",{className:`${C().fields} ${C().balanceFields}`,children:[(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsx)("p",{className:C().userDetailRowTitle,children:"Gift Cards"}),(!f||0===f.length)&&(0,s.jsx)("span",{className:C().userDetailRowInfo,children:"No gift cards found."}),f&&f.length>0&&f.map(e=>(0,s.jsxs)("div",{className:`${C().userDetailRowInfo} ${C().giftCard}`,children:[(0,s.jsxs)("span",{children:[e.gcNumber,(0,s.jsx)("br",{}),"Balance:"," ",(0,e_.Z)(parseFloat(e.gcBalance),p)]}),(0,s.jsxs)("p",{children:["Exp: ",(0,g.WU)(new Date(e.dateExpires),"MM/yy")]})]},e.itemID)),(0,s.jsx)("span",{className:C().userDetailRowLink,children:(0,s.jsx)(R(),{href:"/faq#gift_cards",children:"Need help?"})})]}),(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsx)("p",{className:C().userDetailRowTitle,children:"Account Balance"}),(0,s.jsxs)("div",{className:C().accountBalanceRow,children:[(0,s.jsx)("span",{className:C().userDetailRowInfo,children:m>0?`${_}${m} Due`:"No Payment Due"}),m>0&&(0,s.jsx)("button",{className:`${C().userDetailRowLink} ${C().mobilePayDueAction} ${t?C().disabledButton:""}`,disabled:t,name:"Account:Payment - Pay Balance",onClick:b,type:"button",children:"PAY DUE"})]})]})]}),m>0?(0,s.jsx)("div",{className:`${C().editActions} ${C().desktopPayDueAction}`,children:(0,s.jsx)("button",{className:`${C().userDetailRowLink} ${t?C().disabledButton:""}`,disabled:t,name:"Account:Payment - Pay Balance",onClick:b,type:"button",children:"PAY DUE"})}):(0,s.jsx)("div",{className:C().actionSpacer}),m>0&&t&&(0,s.jsx)("div",{className:C().contactInfoMessage,children:(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:"Payments and updates to billing information are currently disabled during the monthly transaction processing window. Please try again later."})]})})]})]})};ey.propTypes={cookies:n().instanceOf(eu.Z),isBillingDay:n().bool,memberAccountInfo:n().object.isRequired,memberBillingInfo:n().object.isRequired,memberGiftcardDetails:n().object,memberProfileInfo:n().object.isRequired,token:n().string.isRequired};var eD=(0,em.dB)(ey),eN=r(3233),ej=r(60998);let ev=({title:e,info:t})=>(0,s.jsxs)("div",{className:C().userDetailRow,"data-is":"ProfileRow",children:[(0,s.jsx)("p",{className:C().userDetailRowTitle,children:e}),(0,s.jsx)("span",{className:C().userDetailRowInfo,children:t})]});ev.propTypes={info:n().node.isRequired,title:n().string.isRequired};let eU=({gender:e,height:t,unitOfMeasure:r,weight:s,birthDate:a})=>{let i=r?.toLowerCase()==="metric",n=!i&&t?.height?Math.round(t.height):"";return{birthday:a,edit:!1,feet:n?Math.floor(n/12):"",genderError:"",height:i&&t?.height||"",heightError:"",inches:n?n%12:"",isMetric:i,isUpdating:!1,saveError:"",sex:e,success:!1,weight:s?.weight||"",weightError:""}},eP=(e,t,r)=>{let{birthday:a,feet:i,genderError:n,height:o,heightError:l,inches:d,sex:c,weight:u,weightError:m}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ev,{info:a||"-",title:"Birthday"}),(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,C().selectField,c&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Gender"}),(0,s.jsxs)("select",{className:L()(C().profileInput,C().userGender),onChange:r=>t({...e,genderError:"",sex:r.target.value}),value:c,children:[(0,s.jsx)("option",{value:"",children:"Select"}),(0,s.jsx)("option",{value:"Male",children:"Male"}),(0,s.jsx)("option",{value:"Female",children:"Female"}),(0,s.jsx)("option",{value:"Nonbinary",children:"Non-Binary"}),(0,s.jsx)("option",{value:"Prefer not to say",children:"Prefer not to say"})]})]}),n&&(0,s.jsx)(M,{errorMessage:n,...C()})]}),(0,s.jsxs)("div",{className:C().userDetailRow,children:[(0,s.jsxs)("div",{className:C().unitField,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,u&&C().floatingField
1Filled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Weight"}),(0,s.jsx)("input",{className:L()(m&&C().userDetailErrorInput,C().profileInput,C().inputWithUnit),onChange:r=>{(/^\d*\.?\d{0,2}$/.test(r.target.value)&&parseInt(r.target.value)||!r.target.value)&&(r.target.value.toString().includes(".")||r.target.value.length<5&&!r.target.value.toString().includes("."))&&t({...e,weight:r.target.value,weightError:""})},placeholder:" ",type:"text",value:u?`${u}`:""})]}),(0,s.jsx)("span",{className:C().userDetailRowUnit,children:"metric"!==r.toLowerCase()?"lbs":"kg"})]}),m&&(0,s.jsx)(M,{errorMessage:m,...C()})]}),(0,s.jsxs)("div",{className:C().userDetailRow,children:["metric"!==r.toLowerCase()?(0,s.jsxs)("div",{className:C().heightFields,children:[(0,s.jsxs)("div",{className:C().heightField,children:[(0,s.jsxs)("label",{className:L()(C().floatingField,i&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Height"}),(0,s.jsx)("input",{className:L()(l&&C().userDetailErrorInput,C().profileInput,C().inputWithUnit),inputMode:"numeric",onChange:r=>{let s=r.target.value.replace(/\D/g,"");t({...e,feet:s,heightError:""})},placeholder:" ",type:"text",value:i})]}),(0,s.jsx)("span",{className:C().userDetailRowUnit,children:"ft"})]}),(0,s.jsxs)("div",{className:C().heightField,children:[(0,s.jsx)("input",{className:L()(l&&C().userDetailErrorInput,C().profileInput,C().inputWithUnit,C().stackedInputWithUnit),inputMode:"numeric",onChange:r=>{let s=r.target.value.replace(/\D/g,""),a=""===s?"":String(Math.min(Number(s),11));t({...e,heightError:"",inches:a})},type:"text",value:d}),(0,s.jsx)("span",{className:C().userDetailRowUnit,children:"in"})]})]}):(0,s.jsxs)("label",{className:L()(C().floatingField,o&&C().floatingFieldFilled),children:[(0,s.jsx)("span",{className:C().floatingLabel,children:"Height"}),(0,s.jsx)("input",{className:L()(l&&C().userDetailErrorInput,C().profileInput,C().inputWithUnit),inputMode:"numeric",onChange:r=>{0==r.target.value&&t({...e,height:"",heightError:""}),(/^\d*\.?\d{0,2}$/.test(r.target.value)&&parseInt(r.target.value)||!r.target.value)&&(r.target.value.toString().includes(".")||r.target.value.length<4&&!r.target.value.toString().includes("."))&&t({...e,height:r.target.value,heightError:""})},placeholder:" ",type:"text",value:o})]}),l&&(0,s.jsx)(M,{errorMessage:l,...C()})]})]})},eF=({memberAccountInfo:e,memberProfileInfo:t,token:r})=>{let{profileData:a,updateAccountDetails:i}=(0,o.useContext)(B.w),{weight:n,height:l,gender:d,unitOfMeasure:c}=t,{birthDate:m}=e,p=()=>eU({birthDate:m,gender:d,height:l,unitOfMeasure:c,weight:n}),[h,f]=(0,o.useState)(p),[_,g]=(0,o.useState)(p);(0,o.useEffect)(()=>{i("profileData",_)},[a]);let w=_.sex!==h.sex||String(_.weight||"")!==String(h.weight||"")||(_.isMetric?String(_.height||"")!==String(h.height||""):String(_.feet||"")!==String(h.feet||"")||String(_.inches||"")!==String(h.inches||"")),b=(e,t)=>"metric"!==t.toLowerCase()?12*Number(e.feet||0)+Number(e.inches||0):e.height?Number(e.height):void 0,x=e=>{let{height:t,isMetric:r}=e,s=parseInt(e.feet,10);return!r&&(isNaN(s)||s<=0)?"Required":!r&&s>10?"Invalid height":r&&!t?"Required":""},y=e=>({genderError:e.sex?"":"Required",heightError:x(e),weightError:e.weight?"":"Required"}),D=e=>Object.values(e).some(Boolean),N=({height:e,profileState:t,unitOfMeasure:r})=>({gender:t.sex,height:e,unitOfMeasure:r,weight:Number(t.weight)}),j=async()=>{let e=b(_,c),t=y(_);if(D(t)){g({..._,...t,edit:!0,height:e,isUpdating:!1,success:!1});return}g({..._,isUpdating:!0});let s=N({height:e,profileState:_,unitOfMeasure:c}),a=await eN.Z.updateMemberProfile(s,r);if(a?.messages)g({..._,isUpdating:!1,saveError:"Unable to save profile. Please try again.",success:!1});else{let t={..._,edit:!1,genderError:"",height:e,heightError:"",isUpdating:!1,saveError:"",success:!0,weightError:""};i("profileData",t),f(t),g(t)}};return(0,s.jsxs)("section",{"data-is":"Profile",children:[(0,s.jsx)("div",{"data-role":"title",children:"PERSONAL INFO"}),_.edit?(0,s.jsxs)("div",{className:C().formLoadingShell,"data-role":"body",children:[(0,s.jsxs)("div",{className:L()(`${C().fields} ${C().profileEditGrid}`,_.isUpdating&&C().formLoadingContentLoading),children:[eP(_,g,c),(0,s.jsxs)("div",{className:C().profileEditActions,children:[(0,s.jsx)("button",{className:C().userDetailRowBtn,disabled:_.isUpdating,onClick:()=>g({...h,success:!1}),type:"button",children:"CANCEL"}),(0,s.jsx)("button",{className:L()(C().userDetailRowBtn,(!w||_.isUpdating)&&C().disabledButton),disabled:!w||_.isUpdating,onClick:j,type:"button",children:"SAVE"})]}),_.saveError&&(0,s.jsxs)("div",{className:C().formLevelError,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:_.saveError})]})]}
1),_.isUpdating&&(0,s.jsx)("div",{className:C().formLoadingOverlay,children:(0,s.jsx)("span",{className:C().formLoadingIndicator,children:(0,s.jsx)(u.default,{color:"dark"})})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:`${C().fields} ${C().profileFields}`,"data-role":"body",children:[(0,s.jsx)(ev,{info:a?.birthday||"-",title:"Birthday"}),(0,s.jsx)(ev,{info:a?.sex?a?.sex==="Nonbinary"?"Non-Binary":a?.sex:"-",title:"Gender Identity"}),(0,s.jsx)(ev,{info:a.weight?`${(0,ej.j)(a.weight)}${"metric"!==c.toLowerCase()?" lbs":" kgs"}`:"-",title:"Weight"}),(0,s.jsx)(ev,{info:(()=>{if("metric"!==c.toLowerCase()){if(a.feet)return`${a.feet}' ${a.inches?Math.round(a.inches):"00"}"`}else if(a.height)return`${(0,ej.j)(a.height)} cm`;return"-"})(),title:"Height"})]}),(0,s.jsx)("div",{className:C().editActions,"data-role":"actions",children:_.isUpdating?(0,s.jsxs)("span",{children:[(0,s.jsx)(u.default,{color:"dark"})," Updating..."]}):(0,s.jsx)("button",{className:C().userDetailRowLink,onClick:()=>g({..._,edit:!0}),type:"button",children:"EDIT"})})]}),_.success&&(0,s.jsx)("div",{className:C().contactInfoMessage,children:(0,s.jsxs)("span",{className:C().userDetailRowConfirmationInfo,children:[(0,s.jsx)("span",{children:(0,s.jsx)(T.IEI,{style:{height:"16px",width:"16px"}})}),(0,s.jsx)("span",{children:"Updates will take effect in an hour"})]})})]})};eF.propTypes={memberAccountInfo:n().object.isRequired,memberProfileInfo:n().object.isRequired,token:n().string};let eR=({isBillingDay:e,memberAccountInfo:t,memberBillingInfo:r,memberGiftcardDetails:a,memberProfileInfo:i,states:n,token:o})=>(0,s.jsxs)("section",{className:k().userDetailsForm,"data-is":"UserDetailsForm",children:[U()(i)?(0,s.jsx)("p",{children:"loading"}):(0,s.jsx)(eF,{memberAccountInfo:t,memberProfileInfo:i,token:o}),(0,s.jsx)(ec,{availableStates:n,memberAccountInfo:t,token:o}),(0,s.jsx)(eD,{isBillingDay:e,memberAccountInfo:t,memberBillingInfo:r,memberGiftcardDetails:a,memberProfileInfo:i,token:o}),(0,s.jsx)(A,{})]});eR.propTypes={isBillingDay:n().bool,memberAccountInfo:n().object.isRequired,memberBillingInfo:n().object.isRequired,memberGiftcardDetails:n().object.isRequired,memberProfileInfo:n().object.isRequired,states:n().array.isRequired,token:n().string};var eI=(0,P.Z)(eR),eC=r(22687),eA=r.n(eC);let eE=({isBillingDay:e,memberAccountInfo:t,memberBillingInfo:r,memberGiftcardDetails:a,memberProfileInfo:i,memberProfilePic:n,token:l,userAvailableStates:d})=>{let[c,u]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=async()=>{let e=await fetch("https://api.production.equinox.com/v6.2/member/web/cancel/email",{body:JSON.stringify({country:`${i.homeAddress.country}`,emailAddress:`${i.email}`,facilityId:`${i.homeFacilityId}`,memberId:`${i.memberId}`,memberName:`${i.firstName} ${i.lastName}`,memberSince:`${i.memberSince}`}),headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/json"},method:"POST"});if(e.ok){let t=await e.json();t.success&&u(t?.token)}};c||e()},[c,i.email,i.firstName,i.homeAddress.country,i.homeFacilityId,i.lastName,i.memberId,i.memberSince,l]),(0,s.jsxs)("section",{className:eA().userProfile,"data-is":"UserProfile",children:[(0,s.jsx)(j,{cancellationToken:c,memberAccountInfo:t,memberProfileInfo:i,memberProfilePic:n}),(0,s.jsx)(eI,{isBillingDay:e,memberAccountInfo:t,memberBillingInfo:r,memberGiftcardDetails:a,memberProfileInfo:i,states:d,token:l})]})};eE.propTypes={isBillingDay:n().bool,memberAccountInfo:n().object.isRequired,memberBillingInfo:n().object.isRequired,memberGiftcardDetails:n().object.isRequired,memberProfileInfo:n().object.isRequired,memberProfilePic:n().object.isRequired,token:n().string.isRequired,userAvailableStates:n().array};var ek=r(33998),eS=r.n(ek);let eL=({accountPage:e,isWebRefresh:t=!1,token:r})=>{let[i,n]=(0,o.useState)({isLoading:!0}),{setNewDataLayer:g}=(0,o.useContext)(f.K),{initialized:w,updateUserSession:b}=(0,o.useContext)(_.St),x=(0,o.useRef)(!1),y=(0,a.useRouter)(),{modules:D,navigation:N,notificationBanner:j}=e||{},v=e.metaData&&e.metaData.fields;(0,o.useEffect)(()=>{let e=async()=>{x.current=!0;let e=await (0,l.CS)(r);if(!e)return y.push("/"),!1;let{userProfile:t,userSession:s}=e;n(t),b(s),g({...p.zi.programmaticUrlRoute(y.asPath,v.title,m.cC.ACCOUNT),user:{accountStatus:s.user.accountStatus,country:t.memberAccountInfo.country.toLowerCase(),facebookLink:t.memberAccountInfo.facebookId?"yes":"no",hashedEmail:s.user.hashedEmail,loginStatus:"authenticated",loginType:t.memberAccountInfo.isProspect?"p":"m",memberId:t.memberProfileInfo.memberId,ptStatus:s.user.ptStatus,trackingId:t.memberProfileInfo.trackingId,userID:t.memberProfileInfo.userId.toString()}}),x.current=!1};w&&i.isLoading&&!x.current&&e()},[w,v.title,y,g,r,b,i.isLoading]);let U=new Date().getDate(),{isLoading:P}=i;return(0,s.jsx)(c.Z,{isWebRefresh:t,mainClassName:eS().accountPage,metaData:v,navigation:N,notificationBanner:j,theme:"dark",children:P?(0,s.jsx)(u.default,{isModal:!0}):(0,s.jsxs)("div",{style:{overflowX:"hidden"},children:[i.isLoading?(0,s.jsx)("div",{className:"d-flex justify-content-center align-items-center",style:{height:"90vh"},children:(0,s.jsx)(u.default,{})}):(0,s.jsx)(eE,{isBillingDay:U===h.XT.s,memberAccountInfo:i.memberAccountInfo,memberBillingInfo:i.memberBillingInfo,memberGiftcardDetail
1s:i.memberGiftcardDetails,memberProfileInfo:i.memberProfileInfo,memberProfilePic:i.memberProfilePic,token:r,userAvailableStates:i.userAvailableStates}),D?.map(e=>{let t=e.fields,r=e.sys.contentType.sys.id;return s.jsx(d.Z,{data:t,fileName:r,id:e.sys.id,pageName:"account"},r)})]})})};eL.propTypes={accountPage:n().shape({metaData:n().object,modules:n().array,navigation:n().object.isRequired,notificationBanner:n().string,seoMetaData:n().object}).isRequired,isWebRefresh:n().bool,token:n().string.isRequired};var eZ=!0,eT=eL},56633:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var s=r(29061);let a={production:{}};["qa","qa-armstrong","qa-anquetil","qa-froome","qa-hinault","qa-indurain","qa-lemond","qa-maintenance","qa-mercx"].forEach(e=>{let t=a[e];t||(t={}),t.session||(t.session={}),a[e]=t});var i=r(89270);let n=r(11227)("eqx:api"),o=null;class l{constructor(){return o?o.config()||o.useEnvironment(i.jG):(this.configurations={},this.currentEnvName=null,this._axiosAdapter=null,o=this),o}config(){return this.currentEnvName?this.configurations[this.currentEnvName]:i.NB}useEnvironment(e){return!!e&&(!this.currentEnvName||this.currentEnvName!==e)&&(this.configurations[e]||this.registerEnvironmentConfig(e,i.NB),this.currentEnvName=e,this._axiosAdapter=s.Z.create({baseURL:"https://api.production.equinox.com"}),this._legacyAxiosAdapter=s.Z.create({baseURL:"https://api.equinox.com"}),!0)}registerEnvironmentConfig(e,t){return!!e&&!(e.length<1)&&!this.configurations[e]&&(this.configurations[e]=Object.assign({},i.NB,t),["session"].forEach(r=>{t[r]&&(this.configurations[e][r]={...i.NB[r],...t[r]})}),t.session&&(this.configurations[e].session.cookies={...i.NB.session.cookies,...t.session.cookies}),!0)}_get(e,t={}){return this._axiosAdapter({url:e,...t}).then(t=>(n(`[ApiClient.get]: ${e} response => ${t}`),t))}_post(e,t={}){return this._axiosAdapter({method:"POST",url:e,...t}).then(t=>(n(`[ApiClient.post]: ${e} response => ${t}`),t)).catch(e=>{if(e.response&&400===e.response.status)return e.response;console.error("Error in _post:",e)})}_put(e,t={}){return this._axiosAdapter({method:"PUT",url:e,...t}).then(t=>(n(`[ApiClient.put]: ${e} response => ${t}`),t))}_delete(e,t={}){return this._axiosAdapter({method:"DELETE",url:e,...t}).then(t=>(n(`[ApiClient.delete]: ${e} response => ${t}`),t))}_legacyGet(e,t={}){return this._legacyAxiosAdapter({url:e,...t}).then(t=>(n(`[ApiClient.get]: ${e} response => ${t}`),t))}_legacyPost(e,t={}){return this._legacyAxiosAdapter({method:"POST",url:e,...t}).then(t=>(n(`[ApiClient.post]: ${e} response => ${t}`),t)).catch(e=>{if(e.response&&400===e.response.status)return e.response;console.error("Error in _post:",e)})}_legacyPut(e,t={}){return this._legacyAxiosAdapter({method:"PUT",url:e,...t}).then(t=>(n(`[ApiClient.put]: ${e} response => ${t}`),t))}_legacyDelete(e,t={}){return this._legacyAxiosAdapter({method:"DELETE",url:e,...t}).then(t=>(n(`[ApiClient.delete]: ${e} response => ${t}`),t))}_reset(){this._axiosAdapter=null,this._legacyAxiosAdapter=null,this.currentEnvName=null,this.configurations={}}}var d=((e,{useEnvName:t=i.jG}={})=>(Object.keys(a).forEach(t=>{e.registerEnvironmentConfig(t,a[t])}),e.useEnvironment(t),e))(new l)},24315:function(e,t,r){"use strict";var s=r(36531),a=r(56633);t.Z={namespace:"account",basePath:"/v6/account",hamptonsBasePath:"/hamptons/eligibility",v62BasePath:"/v6.2/member",async hashMemberId(e,t){if(!t)return null;let r=`${this.basePath}/external/member/encode`;try{let t=await a.Z._get(r,{headers:{Authorization:e}});if(!t.data)return s.Z.warn("[hashMemberId v6 api] -> WARNING no data returned"),null;return t.data?.encryptedMemberId}catch(e){return s.Z.error(`[hashMemberId v6 api] -> ERROR ${e}`),e.response.data}},async getAccountInfo(e){let t=`${this.basePath}/account-information`;try{let r=await a.Z._get(t,{headers:{Authorization:e}});if(!r.data)return s.Z.warn("[account info v6 api] -> WARNING no data returned"),null;let i=r.data.country,n=a.Z.config().available_states[i];return{memberAccountInfo:r.data,userAvailableStates:n}}
1catch(e){return s.Z.error(`[account info v6 api] -> ERROR ${e}`),e.response.data}},async updateAccountInformation(e,t){let r=`${this.basePath}/account-information/update`;try{let i=await a.Z._put(r,{data:e,headers:{Authorization:t}});if(!i.data)return s.Z.warn("[account update v6 api] -> WARNING something went wrong"),null;return i.data}catch(e){return s.Z.error(`[account update v6 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async updateUsername(e,t){let r=`${this.basePath}/username/update`;try{let i=await a.Z._post(r,{data:e,headers:{Authorization:t}});if(!i.data)return s.Z.warn("[username update v6 api] -> WARNING something went wrong"),null;return i.data}catch(e){return s.Z.error(`[username update v6 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async updatePassword(e,t){let r=`${this.basePath}/password/update`;try{let i=await a.Z._post(r,{data:e,headers:{Authorization:t}});if(!i.data)return s.Z.warn("[password update v6 api] -> WARNING something went wrong"),null;return i.data}catch(e){return s.Z.error(`[password update v6 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async linkWithFacebook(e,t){let r=`${this.basePath}/linkwithfacebook`;try{let i=await a.Z._post(r,{data:e,headers:{Authorization:t}});if(!i.data)return s.Z.warn("[connect facebook v6 api] -> WARNING something went wrong"),null;return i.data}catch(e){return s.Z.error(`[connect facebook v6 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async delinkWithFacebook(e){let t=`${this.basePath}/delinkwithfacebook`;try{let r=await a.Z._delete(t,{headers:{Authorization:e}});if(!r.data)return s.Z.warn("[disconnect facebook v6 api] -> WARNING something went wrong"),null;return r.data}catch(e){return s.Z.error(`[disconnect facebook v6 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async getHamptonsElegibilityCheck(e){let t=`${this.v62BasePath}${this.hamptonsBasePath}`;try{let r=await a.Z._get(t,{headers:{Authorization:e,"content-type":"application/json"}});if(!r.data)return s.Z.warn("[account info v6 api] -> WARNING no data returned"),null;return r.data}catch(e){return s.Z.error(`[account info v6 api] -> ERROR ${e}`),e.response.data}}}},3233:function(e,t,r){"use strict";var s=r(36531),a=r(56633);t.Z={namespace:"me",basePath:"/v6.2/member",async getMemberProfile(e){let t=`${this.basePath}/me?source=Web`;try{let r=await a.Z._get(t,{headers:{Authorization:e}});if(!r.data)return null;return{memberProfileInfo:r.data}}catch(e){s.Z.error(`[me v6 api] -> ERROR ${e}`)}},async getMemberProfilePic(e,t){let r=`/v6/signed-assets/members/pictures?memberIDsStr=${t}&source=web`;try{let t=await a.Z._get(r,{headers:{Authorization:e}});if(!t.data)return null;return t.data}catch(e){s.Z.error(`[me v6 api] -> ERROR ${e}`)}},async updateMemberProfile(e,t){let r=`${this.basePath}/me`;try{let i=await a.Z._put(r,{data:e,headers:{Authorization:t}});if(!i.data)return s.Z.warn("[member me update v6.2 api] -> WARNING something went wrong"),null;return i.data}catch(e){return s.Z.error(`[member me update v6.2 api] -> ERROR ${e}`),e&&e.response?e.response.data:null}},async getBillingInfo(e){let t=`${this.basePath}/billing-information`;try{let r=await a.Z._get(t,{headers:{Authorization:e}});if(!r.data)return null;return{memberBillingInfo:r.data}}catch(e){s.Z.error(`[billing v6 api] -> ERROR ${e}`)}},async getGiftcardDetails(e){let t=`${this.basePath}/giftcard-details`;try{let r=await a.Z._get(t,{headers:{Authorization:e}});if(!r.data)return null;return r.data}catch(e){s.Z.error(`[billing v6 api] -> ERROR ${e}`)}}}},75999:function(e,t,r){"use strict";var s=r(36531),a=r(56633);t.Z={namespace:"productToken",basePath:"/v6/acq/payment/token",async generateAccountBalanceProductToken(e){let t=`${this.basePath}`;return a.Z._post(t,{data:e}).then(e=>e.data.success?e.data.result:(s.Z.warn("API|Product Token: Could not generate productToken"),null))},async generateProductToken(e){let t=`${this.basePath}`;return a.Z._post(t,{data:e}).then(e=>e.data.success?e.data.result:(s.Z.warn("API|Product Token: Could not generate productToken"),null))},async getProductDetails(e){let t=`${this.basePath}/${e}`;return a.Z._get(t,{}).then(t=>t.data?t.data:(s.Z.warn(`API|Product Token: Could not find product details for token: ${e}`),null))}}},13981:function(e,t,r){"use strict";r.d(t,{ZP:function(){return x},CS:function(){return b},bW:function(){return g}});var s=r(49704),a=r.n(s),i=r(23059),n=r(24315),o=r(3233),l=r(89270),d=r(90542),c=r(50146),u=r(17277);let m=e=>{if("string"==typeof e)return e?.replace("Bearer ","").trim()};var p=r(36531);let h=e=>{window.nearby=e},f=e=>{window.authToken=e},_=()=>{window.receiveAuthToken=f,window.receiveNearby=h,window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify({requestAuthTokenCallback:"window.receiveAuthToken"}));let e={},t=window.location.search.substring(1).split("&");for(let r=0;r<t.length;r++){let s=t[r].split("=");e[s[0]]=decodeURIComponent(s[1])}return window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify({getNearby:"window.receiveNearby"})),window.authToken&&(e.token=window.authToken),e},g=(e,t=!1)=>{let r=_();return r.token||(r.token=new i.Z().get(d.USER_SESSION_ACCESS_TOKEN.name),r.token||(t&&(0,u.fC)(l.NB.localStorageItems.loginRedirectUrl,e||window.location.pathname),window.location.href=`${window.location.origin}${l.NB.session.defaultLoginUrl}`)),r.token},w=()=>{let e=_().token;return e||(e=new i.Z().get(d.USER_SESSION_ACCESS_TOKEN.name))||(e=!1),e},b=async e=>{try{let t;let r=e||w();if(!r)return;let s=a().decode(m(r)),i=await n.Z.getAccountInfo(r),l=await o.Z.getMemberProfile(r),d=await o.Z.getMemberProfilePic(r,s["https://equinox.com/properties"].equinoxMemberId),u=await o.Z.getBillingInfo(r),p=await o.Z.getGiftcardDetail
1s(r),h=await n.Z.getHamptonsElegibilityCheck(r),f={...l.memberProfileInfo.profile};r&&f?.memberId&&(t=await n.Z.hashMemberId(r,f?.memberId));let _={...i,memberProfileInfo:f,memberProfilePic:d,...u,isLoading:!1,memberGiftcardDetails:p,token:r},g={authToken:r,expired:!1,user:{accountStatus:i.memberAccountInfo.membershipStatus?i.memberAccountInfo.membershipStatus.toLowerCase():"",address1:i.memberAccountInfo.address1,address2:i.memberAccountInfo.address2,avatar:d?.membersSignedURLs?.[0]?.signedURL||null,billingAddress1:u.memberBillingInfo.address1,billingAddress2:u.memberBillingInfo.address2,billingEmailAddress:u.memberBillingInfo.email,city:i.memberAccountInfo.city,cof:{cardLastFourDigits:u.memberBillingInfo.cardLastFourDigits,cardType:u.memberBillingInfo.cardType,expirationDate:u.memberBillingInfo.expirationDate},country:i.memberAccountInfo.country.toLowerCase(),email:i.memberAccountInfo.email,facebookId:i.memberAccountInfo.facebookId,firstName:f.firstName,hamptonsAgreementStatusId:h.hamptonsAgreementStatusId,hasHamptonsAddOnAgreement:h.hasHamptonsAddOnAgreement,hashedEmail:c.default.encode(i.memberAccountInfo.email),hashedMemberId:t,height:f.height,homeFacilityId:f.homeFacilityId,id:f.userId,isConnectedToNetpulse:l.isConnectedToNetpulse,isProspect:i.memberAccountInfo.isProspect,lastName:f.lastName,memberId:f.memberId,membershipStatus:f.membershipStatus,ptStatus:f.hasActivePT?"active":"inactive",publicId:f.publicId,shareId:f.shareId,state:i.memberAccountInfo.state,strikes:f.strikes,trackingId:f.trackingId,weight:f.weight,zip:i.memberAccountInfo.zipCode}};return{userProfile:_,userSession:g}}catch(e){p.Z.error("[account v6 api] -> ERROR",e)}};var x={getAuthToken:g}},77332:function(e,t,r){"use strict";r.d(t,{DJ:function(){return l},Uj:function(){return d},_D:function(){return o},rI:function(){return c}});var s=r(39626),a=r(49600);let i=null,n=async()=>{i||(i=new s.Loader({apiKey:"AIzaSyDqPs0SaiZ9lpLEr3Kzu8idsRqNoUhBoVE",language:"en",version:"weekly"}).importLibrary("places"));try{await i}catch(e){return i=null,null}return window.google?.maps||null},o=async()=>{let e=await n();return e?.places?.AutocompleteSessionToken?new e.places.AutocompleteSessionToken:null},l=async({input:e,sessionToken:t})=>{let r=await n();if("function"!=typeof r?.places?.AutocompleteSuggestion?.fetchAutocompleteSuggestions)return[];let s=await r.places.AutocompleteSuggestion.fetchAutocompleteSuggestions({includedRegionCodes:a.od.default.map(e=>e.alpha2Code),input:e,sessionToken:t});return s?.suggestions||[]},d=async e=>{let t=await n();if(!t||!e)return null;let{Place:r}=await t.importLibrary("places"),s=new r({id:e}),a=(await s.fetchFields({fields:["displayName","formattedAddress","addressComponents","location","types"]})).place,i=a?.addressComponents||[],o=(e,t="longText")=>i.find(t=>e.some(e=>t.types?.includes(e)))?.[t]||"",l=o(["locality","postal_town"]),d=o(["sublocality","sublocality_level_1","neighborhood"]),c=o(["administrative_area_level_2"]),u=o(["administrative_area_level_1"]),m=o(["administrative_area_level_1"],"shortText"),p=o(["postal_code"]),h=o(["street_number"]),f=o(["route"]),_=o(["country"]),g=o(["country"],"shortText"),w=a?.types||[],b=!l&&!!u&&w.includes("administrative_area_level_1");return{address:a?.formattedAddress||"",city:l||d||c,country:_,countryCode:g,isStateLevel:b,latitude:a?.location?.lat?.(),locality:l,longitude:a?.location?.lng?.(),name:a?.displayName||"",placeTypes:w,region:u,regionCode:m,streetAddress:[h,f].filter(Boolean).join(" "),subLocality:d,subRegion:d||c||l,zipCode:p}},c=async e=>{let t=e=>String(e??"").replace(/\s+/g,"").trim().toUpperCase(),r=t(e);if(!r)return null;let s=await o();for(let e of(await l({input:r,sessionToken:s})).map(e=>e?.placePrediction).filter(Boolean)){if(!e?.placeId)continue;let s=await d(e.placeId);if(t(s?.zipCode)===r)return s}return null}},21419:function(e,t,r){"use strict";var s=r(85893),a=r(93967),i=r.n(a),n=r(45697),o=r.n(n);r(67294);var l=r(47547),d=r.n(l);let c=({className:e,color:t,hasBackgroundShade:r=!1,isModal:a=!1,isOverlay:n=!1})=>(0,s.jsx)("div",{"aria-busy":"true","aria-label":"Loading...","aria-live":"polite","aria-modal":a||void 0,className:i()(d().loader,e&&e),"data-background-shade":r,"data-overlay":n,role:a?"dialog":"status",children:(0,s.jsx)("div",{"aria-hidden":"true",className:d().spinner,"data-theme":t,children:(0,s.jsx)("span",{children:"Loading..."})})});
1c.propTypes={className:o().string,color:o().string,hasBackgroundShade:o().bool,isModal:o().bool,isOverlay:o().bool},t.Z=c},32761:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s.Z}});var s=r(21419)},2719:function(e,t,r){"use strict";r.d(t,{E:function(){return _},s:function(){return s}});var s={};r.r(s),r.d(s,{getAdyenDropInConfig:function(){return p},getAdyenPaymentMethods:function(){return h},isPilot:function(){return m}});var a=r(85893),i=r(87890);r(19197);var n=r(45697),o=r.n(n),l=r(67294),d=r(81830),c=r.n(d),u=r(49600);let m=async e=>{let t=!!e&&await fetch("https://api.production.equinox.com/v6/payment/adyen/pilot/"+e).catch(()=>!1),r=!1;if(t?.ok){let e=await t.json();r=!!e?.adyenPilotClub}return r},p=(e,t,r,s,a)=>({analytics:{enabled:!0},clientKey:"live_JRVVEU5ELVEHLNIYQXKIBSDBHIG6TVBC",countryCode:u.od.byAbbreviation[t]?.alpha2Code?.toUpperCase(),environment:"live-us",locale:"en_US",onAdditionalDetails:r,onChange:s,paymentMethodsResponse:a,showPayButton:!1,translations:{en_US:{"creditCard.cardNumber.contextualText":"","creditCard.cardNumber.label":e?.cardNumber?e.cardNumber:"Card details*","credit
1Card.expiryDate.contextualText":"","creditCard.expiryDate.label":e?.expiration?e.expiration:"Expiration*","creditCard.holderName":e?.cardHolder?e.cardHolder:"Name on card","creditCard.securityCode.contextualText.3digits":"","creditCard.securityCode.contextualText.4digits":"","creditCard.securityCode.label":e?.cardVerification?e.cardVerification:"CVV*","paymentMethods.moreMethodsButton":"More Payment Methods",zipCode:"Postal Code"}}}),h=async(e,t)=>{let r={paymentMethods:[{brands:["visa","mc","amex","discover","diners"],name:"Credit Card",type:"scheme"}]},s={body:JSON.stringify({channel:"web",countryCode:e,source:"JoinFlow"}),headers:{"Content-Type":"application/json"},method:"POST"},a=await fetch("https://api.production.equinox.com/v6/payment/adyen/paymentMethods",s);return a.ok&&(r={paymentMethods:(await a.json()).paymentMethods}),t&&r?.paymentMethods?.forEach(e=>{e.brands=t}),r},f=({cardLabels:e,className:t,country:r,isCardHolderRequired:s=!1,isZipCodeRequired:n=!1,onThreeDSResult:o,paymentMethods:d,setCardData:u,setCardValid:m,threeDS:f})=>{let _=(0,l.useRef)(),[g,w]=(0,l.useState)({showErrorForHolderName:!1,showErrorForPostalCode:!1}),[b,x]=(0,l.useState)(0),[y,D]=(0,l.useState)(),N=e=>{m(e.isValid),u(e.isValid?e.data:null)},j=async e=>{o&&(await o(e?.data?.details?.threeDSResult),x(b+1))},v=e=>{e.event&&w(t=>{let r={...t};return s&&"holderName"===e.fieldType&&(r.showErrorForHolderName=0===e.event.target.value.length),n&&"postalCode"===e.fieldType&&(r.showErrorForPostalCode=0===e.event.target.value.length),r})},U=async t=>{let a=await h(r,d),o=p(e,r,j,N,a),l=await (0,i.wk)(o);D(new i.TP(l,{paymentMethodsConfiguration:{billingAddress:{input:{city:"hidden",country:"hidden",houseNumberOrName:"hidden",postalCode:n?"required":"hidden",stateOrProvince:"hidden",street:"hidden"},required:n},card:{billingAddressMode:n?"partial":"none",billingAddressRequired:n,hasHolderName:s,holderNameRequired:s,name:"Credit or Debit Card",onBlur:v,positionHolderNameOnTop:!0,showBrandsUnderCardNumber:!1,styles:{base:{caretColor:"black",color:"black",fontFamily:"Graphik Web, Arial, sans-serif",fontSize:e?.fontSize?e.fontSize:"14px"},error:{color:"black"}}},threeDS2:{challengeWindowSize:window?.innerWidth<=650?"01":"02"}}}).mount(t))};return(0,l.useEffect)(()=>{U(_.current)},[b]),(0,l.useEffect)(()=>{f&&y&&(y.handleAction(f.action),_.current.scrollIntoView({behavior:"smooth"}))},[f,y]),(0,a.jsx)("div",{className:t&&c()[t]?c()[t]:c().adyenDropIn,"data-show-error-holder-name":g.showErrorForHolderName,"data-show-error-postal-code":g.showErrorForPostalCode,ref:_})};f.propTypes={cardLabels:o().object,className:o().string,country:o().string.isRequired,isCardHolderRequired:o().bool,isZipCodeRequired:o().bool,onThreeDSResult:o().func,paymentMethods:o().array,setCardData:o().func.isRequired,setCardValid:o().func.isRequired,threeDS:o().object};var _=f},5617:function(e,t){"use strict";t.Z=(e,t,r)=>{let s="";switch(t){case"CA":s="CAD";break;case"UK":s="GBP";break;default:s="USD"}return e.toLocaleString("en",{currency:s,style:"currency",...r&&{minimumFractionDigits:0}})}},50146:function(e,t,r){"use strict";r.r(t);var s=r(85893),a=r(67294);t.default={encode:e=>window.btoa(encodeURIComponent(escape(e))),newLineToBreak:e=>e.replace(/(?:\r\n|\r|\n)/g,"<br/>"),objectToQueryString:e=>Object.keys(e).map(t=>t+"="+e[t]).join("&"),renderMultiLine:e=>e&&e.split(/\n|\\n/g).map(e=>(0,s.jsxs)(a.Fragment,{children:[e.trim()," ",(0,s.jsx)("br",{})]},e)),toACDLDataLayerFormat:(e,t)=>{let{pageName:r,pageSection:s,pageSubSection:a,pageType:i,pageCategory:n}=t.fields;return e.page.name=r,e.page.section=s,e.page.subSection=a,e.page.type=i,n&&(e.page.category=n.toLowerCase()),i&&(e.page.type=i.toLowerCase()),e},unencode:e=>unescape(decodeURIComponent(window.atob(e)))}},60998:function(e,t,r){"use strict";r.d(t,{j:function(){return s}});let s=e=>Math.round(100*e)/100},94134:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var s=r(85893),a=r(23279),i=r.n(a),n=r(67294),o=r(49600);function l(e){return class extends n.Component{constructor(e){super(e),this.state={height:0,isDesktop:!1,isMobile:!0,isTablet:!1,width:0},this.updateWindowDimensions=()=>{let e=window.innerWidth<=650,t=window.innerWidth>=651&&window.innerWidth<=1023,r=window.innerWidth>=1024;this.setState({height:window.innerHeight,isDesktop:r,isMobile:e,isTablet:t,width:window.innerWidth})},this.debounceHandleResize=i()(this.updateWindowDimensions,o.BJ.r)}componentDidMount(){this.updateWindowDimensions(),window.addEventListener("resize",this.debounceHandleResize)}componentWillUnmount(){window.removeEventListener("resize",this.debounceHandleResize)}render(){let{width:t,height:r,isMobile:a,isTablet:i,isDesktop:n}=this.state;return(0,s.jsx)(e,{...this.props,isDesktop:n,isMobile:a,isTablet:i,windowHeight:r,windowWidth:t})}}}},68413:function(e,t,r){"use strict";r.d(t,{DO:function(){return f},EJ:function(){return D},Oe:function(){return b},PO:function(){return N},Vc:function(){return w},XM:function(){return y},co:function(){return g},eW:function(){return d},h9:function(){return c},kj:function(){return m},lj:function(){return p},od:function(){return o},om:function(){return _},pr:function(){return x},r1:function(){return h},zU:function(){return l}});var s=r(68929),a=r.n(s),i=r(63448),n=r(27980);let o=e=>/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i.test(e),l=/(?=.*?[a-z])(?=.*?[A-Z])(?=.*?[0-9])(?=.*?[!@#$%^&*])^[A-Za-z0-9!@#$%^&*]{8,20}$/,d=e=>l.test(e),c=(e,t)=>("us"===t.toLowerCase()?/^\d{5}
1$|^\d{5}-\d{4}/:"uk"===t.toLowerCase()?/^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {0,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR ?0AA)$/:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ]( )?\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i).test(e),u=/^[(\d]\d+ ?\d+[)]?[- /]?\d+[- ]?\d+$/,m=e=>{if(!1===u.test(e))return!1;let t=e.replace(/\D/g,"");return 0==t.charAt(0)?t.length>=10&&t.length<=11:10===t.length},p=RegExp("^\\p{Letter}[\\p{Letter}0-9 ‘’`'-.,]*[\\p{Letter}.]+$","u"),h=e=>e.length>1,f=i.Ry({"Company Email":i.Z_().min(1,{message:"Company Email is required."}).email({message:"Enter a valid email address."}).trim(),"First Name":i.Z_().min(2,{message:"First Name must be at least 2 characters."}).trim().regex(p,{message:"Enter a valid name."}),"Last Name":i.Z_().min(2,{message:"Last Name must be at least 2 characters."}).trim().regex(p,{message:"Enter a valid name."}),"Personal Email":i.Z_().min(1,{message:"Personal Email is required."}).email({message:"Enter a valid email address."}).trim(),"Phone Number":i.Z_().min(1,{message:"Phone Number is required."}).regex(u,{message:"Phone number must be 10 or 11 digits long."}).trim().refine(e=>{let t=e.replace(/\D/g,"").length;return 10<=t&&t<=11},{message:"Phone number must be 10 or 11 digits long."})}),_=i.Ry({"Email address":i.Z_().email().min(5).trim(),"First name":i.Z_().min(2).trim().regex(p),"Last name":i.Z_().min(2).trim().regex(p)}),g=i.Ry({emailAddress:i.Z_().email().min(5).trim(),firstName:i.Z_().min(2).trim().regex(p),lastName:i.Z_().min(2).trim().regex(p)}),w=i.Ry({amount:i.Rx().max(500),customAmount:i.Z_().optional(),emailAddress:i.Z_().email().min(5).trim(),firstName:i.Z_().min(2).trim().regex(p),lastName:i.Z_().min(2).trim().regex(p),message:i.Z_().max(150),reTypeEmailAddress:i.Z_().email().min(5).trim(),sendDate:i.hT()}).refine(e=>e.reTypeEmailAddress===e.emailAddress,{path:["reTypeEmailAddress"]}).refine(e=>e.amount>-1||e.customAmount&&!e.customAmount.includes(",")&&!e.customAmount.includes(".")&&!isNaN(e.customAmount)&&parseInt(e.customAmount)>0&&500>=parseInt(e.customAmount),{path:["customAmount"]}),b=(e=!1)=>{let t=e?2e4:25e3;return i.Ry({amount:i.Z_().refine(e=>{if(""===e)return!0;if(!/^\d+(\.\d{1,2})?$/.test(e))return!1;let r=parseFloat(e);return r>=5&&r<=t},{message:`Amount must be between ${e?"\xa35":"$5"} and ${e?"\xa320,000":"$25,000"}.`}),gcNumber:i.Z_().refine(e=>""===e||n.ZB.test(e),{message:"Gift card number must contain 10 to 25 alphanumeric characters."})})},x=i.Ry({freezeDuration:i.Z_(),medicalReason:i.Z_(),startDate:i.hT()}),y=e=>{let t={};return e.forEach(e=>{"select"===e.type&&(t[e.name]=i.Rx().min(1,`${e.text} is required`))}),i.Ry(t)},D=e=>{let t={};return e.forEach(e=>{if(e&&e.fields&&e.fields.label){if(e.fields.formFieldSelectName){t[a()(e.fields.formFieldSelectName)]=e.fields.isRequiredField?i.Z_().min(1):i.Z_();return}if(e.fields.formFieldTextAreaName){t[e.fields.formFieldTextAreaName]=e.fields.isRequiredField?i.Z_().min(1):i.Z_();return}if("email"===e.fields.formFieldName||"email"===e.fields.label.toLowerCase()){t[e.fields.formFieldName]=i.Z_().email().min(5).trim();return}if("phone"===e.fields.formFieldName){t[e.fields.formFieldName]=i.Z_().regex(u).trim().refine(e=>{let t=e.replace(/\D/g,"").length;return 10<=t&&t<=11},{message:"Phone number must be 10 or 11 digits long."});return}if(e.fields.label.toLowerCase().includes("name")){t[e.fields.formFieldName]=i.Z_().min(2).trim().regex(p);return}t[e.fields.formFieldName]=e.fields.isRequiredField?i.Z_().min(1):i.Z_()}}),i.Ry(t)},N=e=>i.Ry({birth_date:i.hT({message:"Birth Date is required."}),card_data:i.Ry({}),city:i.Z_().min(1,{message:"City is required."}),company_email:i.Z_().email({message:"Enter a valid email address."}).or(i.i0("")),corp_info:i.Ry({}).optional(),first_name:i.Z_().min(2,{message:"First Name must be at least 2 characters."}).trim().regex(p,{message:"Enter a valid name."}),floor:i.Z_().optional(),last_name:i.Z_().min(2,{message:"Last Name must be at least 2 characters."}).trim().regex(p,{message:"Enter a valid name."}),personal_email:i.Z_().min(1,{message:"Personal Email is required."}).email({message:"Enter a valid email address."}).trim(),street_address:i.Z_().min(1,{message:"Street Address is required."}),zip:i.Z_().min(1,{message:"Zip Code is required."}).refine(t=>c(t,e),{message:"Enter a valid zip code."}),..."UK"!==e?{state:i.Z_().min(1,{message:"State is required."})}:{}}
1)},36531:function(e,t){"use strict";let r=(e,...t)=>{t.unshift(`<eqx> (${new Date().toISOString()})`),console[e](...t)};t.Z={debug:(...e)=>{r("debug",...e)},error:(...e)=>{r("error",...e)},info:(...e)=>{r("info",...e)},log:(...e)=>{r("log",...e)},warn:(...e)=>{r("warn",...e)}}},36784:function(e){e.exports={"user-details":"UserDetails_user-details__4Jpor",userDetails:"UserDetails_user-details__4Jpor","profile-picture-container":"UserDetails_profile-picture-container__phOHE",profilePictureContainer:"UserDetails_profile-picture-container__phOHE","profile-picture":"UserDetails_profile-picture__NL7Vb",profilePicture:"UserDetails_profile-picture__NL7Vb","profile-picture-fallback":"UserDetails_profile-picture-fallback__3pY79",profilePictureFallback:"UserDetails_profile-picture-fallback__3pY79","profile-initials":"UserDetails_profile-initials___E004",profileInitials:"UserDetails_profile-initials___E004","edit-profile-button":"UserDetails_edit-profile-button__kYG6h",editProfileButton:"UserDetails_edit-profile-button__kYG6h","edit-profile-icon":"UserDetails_edit-profile-icon__shRbu",editProfileIcon:"UserDetails_edit-profile-icon__shRbu","member-name":"UserDetails_member-name__TgkDC",memberName:"UserDetails_member-name__TgkDC","member-since":"UserDetails_member-since__Os_mN",memberSince:"UserDetails_member-since__Os_mN","member-meta-row":"UserDetails_member-meta-row__rXEMx",memberMetaRow:"UserDetails_member-meta-row__rXEMx","member-info-container":"UserDetails_member-info-container__9EMuV",memberInfoContainer:"UserDetails_member-info-container__9EMuV",divider:"UserDetails_divider__C5NWh","expired-or-cancelled-account":"UserDetails_expired-or-cancelled-account__PhnG_",expiredOrCancelledAccount:"UserDetails_expired-or-cancelled-account__PhnG_","manage-account":"UserDetails_manage-account__znFET",manageAccount:"UserDetails_manage-account__znFET","manage-account-button":"UserDetails_manage-account-button__EM24E",manageAccountButton:"UserDetails_manage-account-button__EM24E","manage-account-loader":"UserDetails_manage-account-loader__EByE3",manageAccountLoader:"UserDetails_manage-account-loader__EByE3"}},48939:function(e){e.exports={"user-details-row":"UserDetailsRow_user-details-row__oWBKo",userDetailsRow:"UserDetailsRow_user-details-row__oWBKo","user-details-row-title":"UserDetailsRow_user-details-row-title__PIPCi",userDetailsRowTitle:"UserDetailsRow_user-details-row-title__PIPCi","user-details-row-info":"UserDetailsRow_user-details-row-info__HZYW_",userDetailsRowInfo:"UserDetailsRow_user-details-row-info__HZYW_"}},38915:function(e){e.exports={"user-details-form":"UserDetailsForm_user-details-form__xc5vP",userDetailsForm:"UserDetailsForm_user-details-form__xc5vP"}},35663:function(e){e.exports={fields:"UserDetailsForm_fields__cloDL","profile-fields":"UserDetailsForm_profile-fields__Xhgvt",profileFields:"UserDetailsForm_profile-fields__Xhgvt","contact-content":"UserDetailsForm_contact-content__zvjpU",contactContent:"UserDetailsForm_contact-content__zvjpU","balance-fields":"UserDetailsForm_balance-fields__EHzdQ",balanceFields:"UserDetailsForm_balance-fields__EHzdQ","action-spacer":"UserDetailsForm_action-spacer__PELuX",actionSpacer:"UserDetailsForm_action-spacer__PELuX","contact-primary":"UserDetailsForm_contact-primary__omN2m",contactPrimary:"UserDetailsForm_contact-primary__omN2m","contact-secondary":"UserDetailsForm_contact-secondary__pVfCj",contactSecondary:"UserDetailsForm_contact-secondary__pVfCj","payment-fields":"UserDetailsForm_payment-fields__L7IjU",paymentFields:"UserDetailsForm_payment-fields__L7IjU","edit-actions":"UserDetailsForm_edit-actions__77PcF",editActions:"UserDetailsForm_edit-actions__77PcF","inline-actions":"UserDetailsForm_inline-actions__1z9Fy",inlineActions:"UserDetailsForm_inline-actions__1z9Fy","user-detail-row":"UserDetailsForm_user-detail-row__1nWSl",userDetailRow:"UserDetailsForm_user-detail-row__1nWSl","user-detail-row-title":"UserDetailsForm_user-detail-row-title__K700N",userDetailRowTitle:"UserDetailsForm_user-detail-row-title__K700N","user-detail-row-info":"UserDetailsForm_user-detail-row-info__NjhAz",userDetailRowInfo:"UserDetailsForm_user-detail-row-info__NjhAz","contact-address":"UserDetailsForm_contact-address__uQlNF",contactAddress:"UserDetailsForm_contact-address__uQlNF","address-info":"UserDetailsForm_address-info__1prNG",addressInfo:"UserDetailsForm_address-info__1prNG","user-detail-row-unit":"UserDetailsForm_user-detail-row-unit__FIrzq",userDetailRowUnit:"UserDetailsForm_user-detail-row-unit__FIrzq","input-with-unit":"UserDetailsForm_input-with-unit__liyRQ",inputWithUnit:"UserDetailsForm_input-with-unit__liyRQ","stacked-input-with-unit":"UserDetailsForm_stacked-input-with-unit__GWSCU",stackedInputWithUnit:"UserDetailsForm_stacked-input-with-unit__GWSCU","user-detail-row-link":"UserDetailsForm_user-detail-row-link__W2TjQ",userDetailRowLink:"UserDetailsForm_user-detail-row-link__W2TjQ","user-detail-row-confirmation-info":"UserDetailsForm_user-detail-row-confirmation-info__8gDUc",userDetailRowConfirmationInfo:"UserDetailsForm_user-detail-row-confirmation-info__8gDUc","user-detail-error-text":"UserDetailsForm_user-detail-error-text__xCBJW",userDetailErrorText:"UserDetailsForm_user-detail-error-text__xCBJW","user-detail-error-input"
1:"UserDetailsForm_user-detail-error-input__WpgbA",userDetailErrorInput:"UserDetailsForm_user-detail-error-input__WpgbA","profile-input":"UserDetailsForm_profile-input__vMAyP",profileInput:"UserDetailsForm_profile-input__vMAyP","user-gender":"UserDetailsForm_user-gender__q5lpw",userGender:"UserDetailsForm_user-gender__q5lpw",disabled:"UserDetailsForm_disabled__8jISr","profile-edit-grid":"UserDetailsForm_profile-edit-grid__ZkLWW",profileEditGrid:"UserDetailsForm_profile-edit-grid__ZkLWW","profile-edit-actions":"UserDetailsForm_profile-edit-actions__RcgXO",profileEditActions:"UserDetailsForm_profile-edit-actions__RcgXO","floating-field":"UserDetailsForm_floating-field__CBJ4u",floatingField:"UserDetailsForm_floating-field__CBJ4u","floating-label":"UserDetailsForm_floating-label__q_fsu",floatingLabel:"UserDetailsForm_floating-label__q_fsu","select-field":"UserDetailsForm_select-field___Jspw",selectField:"UserDetailsForm_select-field___Jspw","floating-field-filled":"UserDetailsForm_floating-field-filled__wWyr2",floatingFieldFilled:"UserDetailsForm_floating-field-filled__wWyr2","height-fields":"UserDetailsForm_height-fields__TdJKX",heightFields:"UserDetailsForm_height-fields__TdJKX","height-field":"UserDetailsForm_height-field__wyTHA",heightField:"UserDetailsForm_height-field__wyTHA","unit-field":"UserDetailsForm_unit-field__91vj_",unitField:"UserDetailsForm_unit-field__91vj_","balance-actions":"UserDetailsForm_balance-actions__mMXNo",balanceActions:"UserDetailsForm_balance-actions__mMXNo","user-detail-row-btn":"UserDetailsForm_user-detail-row-btn___LtbY",userDetailRowBtn:"UserDetailsForm_user-detail-row-btn___LtbY","contact-edit-grid":"UserDetailsForm_contact-edit-grid__VW0Rn",contactEditGrid:"UserDetailsForm_contact-edit-grid__VW0Rn","contact-field-full":"UserDetailsForm_contact-field-full__YtqlA",contactFieldFull:"UserDetailsForm_contact-field-full__YtqlA","contact-edit-actions":"UserDetailsForm_contact-edit-actions__ycOd1",contactEditActions:"UserDetailsForm_contact-edit-actions__ycOd1","form-level-error":"UserDetailsForm_form-level-error__Mt4bF",formLevelError:"UserDetailsForm_form-level-error__Mt4bF","password-field-wrap":"UserDetailsForm_password-field-wrap___LN5l",passwordFieldWrap:"UserDetailsForm_password-field-wrap___LN5l","password-input":"UserDetailsForm_password-input__VbS5G",passwordInput
1:"UserDetailsForm_password-input__VbS5G","user-detail-row-icon":"UserDetailsForm_user-detail-row-icon__R4hhW",userDetailRowIcon:"UserDetailsForm_user-detail-row-icon__R4hhW","password-requirements":"UserDetailsForm_password-requirements__fEl_d",passwordRequirements:"UserDetailsForm_password-requirements__fEl_d","password-requirements-title":"UserDetailsForm_password-requirements-title__cpJrQ",passwordRequirementsTitle:"UserDetailsForm_password-requirements-title__cpJrQ","password-requirements-list":"UserDetailsForm_password-requirements-list__Urf5H",passwordRequirementsList:"UserDetailsForm_password-requirements-list__Urf5H","disabled-button":"UserDetailsForm_disabled-button__94cKz",disabledButton:"UserDetailsForm_disabled-button__94cKz","billing-day-message":"UserDetailsForm_billing-day-message__Cyc7g",billingDayMessage:"UserDetailsForm_billing-day-message__Cyc7g","gift-card":"UserDetailsForm_gift-card__lA_pj",giftCard:"UserDetailsForm_gift-card__lA_pj","account-balance-row":"UserDetailsForm_account-balance-row__1Jzwf",accountBalanceRow:"UserDetailsForm_account-balance-row__1Jzwf","mobile-pay-due-action":"UserDetailsForm_mobile-pay-due-action__Gx6O7",mobilePayDueAction:"UserDetailsForm_mobile-pay-due-action__Gx6O7","desktop-pay-due-action":"UserDetailsForm_desktop-pay-due-action__Ob0gO",desktopPayDueAction:"UserDetailsForm_desktop-pay-due-action__Ob0gO","row-split-3":"UserDetailsForm_row-split-3__ZwWWW",rowSplit3:"UserDetailsForm_row-split-3__ZwWWW","row-split-2":"UserDetailsForm_row-split-2__TG0JB",rowSplit2:"UserDetailsForm_row-split-2__TG0JB",stack:"UserDetailsForm_stack__pV_5y","other-details-container":"UserDetailsForm_other-details-container__t_ZGI",otherDetailsContainer:"UserDetailsForm_other-details-container__t_ZGI","other-details-box":"UserDetailsForm_other-details-box__xC4FZ",otherDetailsBox:"UserDetailsForm_other-details-box__xC4FZ","other-details-box-title":"UserDetailsForm_other-details-box-title__k865_",otherDetailsBoxTitle:"UserDetailsForm_other-details-box-title__k865_","other-details-box-info":"UserDetailsForm_other-details-box-info__hjEAu",otherDetailsBoxInfo:"UserDetailsForm_other-details-box-info__hjEAu","other-details-link-container":"UserDetailsForm_other-details-link-container__CtEpW",otherDetailsLinkContainer:"UserDetailsForm_other-details-link-container__CtEpW","communication-preferences-title":"UserDetailsForm_communication-preferences-title__XYWeA",communicationPreferencesTitle:"UserDetailsForm_communication-preferences-title__XYWeA","communication-preferences-action":"UserDetailsForm_communication-preferences-action__jz2Gm",communicationPreferencesAction:"UserDetailsForm_communication-preferences-action__jz2Gm","communication-preferences-link":"UserDetailsForm_communication-preferences-link__GFqQy",communicationPreferencesLink:"UserDetailsForm_communication-preferences-link__GFqQy","contact-fields":"UserDetailsForm_contact-fields__bt_Ws",contactFields:"UserDetailsForm_contact-fields__bt_Ws","address-autocomplete":"UserDetailsForm_address-autocomplete__jsaao",addressAutocomplete:"UserDetailsForm_address-autocomplete__jsaao","Mui-disabled":"UserDetailsForm_Mui-disabled__C4hi5",muiDisabled:"UserDetailsForm_Mui-disabled__C4hi5","Mui-error":"UserDetailsForm_Mui-error__CeR_B",muiError:"UserDetailsForm_Mui-error__CeR_B","address-autocomplete-paper":"UserDetailsForm_address-autocomplete-paper__NdwRn",addressAutocompletePaper:"UserDetailsForm_address-autocomplete-paper__NdwRn","google-powered-by-wrap":"UserDetailsForm_google-powered-by-wrap__aHX4y",googlePoweredByWrap:"UserDetailsForm_google-powered-by-wrap__aHX4y","google-powered-by":"UserDetailsForm_google-powered-by__Rs3kV",googlePoweredBy:"UserDetailsForm_google-powered-by__Rs3kV","autocomplete-option":"UserDetailsForm_autocomplete-option__8byG_",autocompleteOption:"UserDetailsForm_autocomplete-option__8byG_","autocomplete-option-subtext":"UserDetailsForm_autocomplete-option-subtext____UrC",autocompleteOptionSubtext:"UserDetailsForm_autocomplete-option-subtext____UrC","autocomplete-option-icon":"UserDetailsForm_autocomplete-option-icon__60wv5",autocompleteOptionIcon:"UserDetailsForm_autocomplete-option-icon__60wv5","password-requirements-error":"UserDetailsForm_password-requirements-error__VLW_q",passwordRequirementsError:"UserDetailsForm_password-requirements-error__VLW_q","contact-info-message":"UserDetailsForm_contact-info-message__lS8h_",contactInfoMessage:"UserDetailsForm_contact-info-message__lS8h_","form-loading-shell":"UserDetailsForm_form-loading-shell__7rHZQ",formLoadingShell:"UserDetailsForm_form-loading-shell__7rHZQ","form-loading-content-loading":"UserDetailsForm_form-loading-content-loading__I0Np_",formLoadingContentLoading:"UserDetailsForm_form-loading-content-loading__I0Np_","form-loading-overlay":"UserDetailsForm_form-loading-overlay__D79RG",formLoadingOverlay:"UserDetailsForm_form-loading-overlay__D79RG","form-loading-indicator":"UserDetailsForm_form-loading-indicator__y9bxP",formLoadingIndicator:"UserDetailsForm_form-loading-indicator__y9bxP"}},22687:function(e){e.exports={"user-profile":"UserProfile_user-profile__0xjFL",userProfile:"UserProfile_user-profile__0xjFL",title:"UserProfile_title__HTHOS","status-text":"UserProfile_status-text__VbCnP",statusText:"UserProfile_status-text__VbCnP"}},33998:function(e){e.exports={"account-page":"account_account-page__m433W",accountPage:"account_account-page__m433W"}},47547:function(e){e.exports={loader:"Loader_loader__GrUtG",spinner:"Loader_spinner__gZKkW","spinner-border":"Loader_spinner-border__MiKc8",spinnerBorder:"Loader_spinner-border__MiKc8"}},81830:function(e){e.exports={"adyen-drop-in":"AdyenDropIn_adyen-drop-in__ejkGQ",adyenDropIn:"AdyenDropIn_adyen-drop-in__ejkGQ","adyen-payment-drop-in":"AdyenDropIn_adyen-payment-drop-in__eyuTt",adyenPaymentDropIn:"AdyenDropIn_adyen-payment-drop-in__eyuTt"}}},function(e){e.O(0,[7982,509,3714,6130,3873,4596,1664,9061,6462,2231,3448,517,917,6706,3843,9429,6725,742,6046,8602,9600,9421,3483,7025,2888,9774,179],function(){return e(e.s=99525)}),_N_E=e.O()}]);
2//# sourceMappingURL=account-cc33dfc473e6e53f.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.