PageSourceSearch

https://www.abercrombiekent.com/_next/static/chunks/pages/my-account/change-password-d76ac94ed065c435.js

js abercrombiekent.com collected 2026-09-24 23:26:00 UTC 21,421 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8145,1166],{29824:function(e,t,r){"use strict";var n=r(67294),s=r(61607);t.Z=(0,s.a1)("check",!0,function(e){return n.createElement("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},n.createElement("path",{d:"M43 11L16.875 37L5 25.1818",stroke:e.colors[0],strokeWidth:e.strokeWidth,strokeLinecap:e.strokeLinecap,strokeLinejoin:e.strokeLinejoin}))})},16266:function(e,t,r){"use strict";var n=r(67294),s=r(61607);t.Z=(0,s.a1)("close",!1,function(e){return n.createElement("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},n.createElement("path",{d:"M8 8L40 40",stroke:e.colors[0],strokeWidth:e.strokeWidth,strokeLinecap:e.strokeLinecap,strokeLinejoin:e.strokeLinejoin}),n.createElement("path",{d:"M8 40L40 8",stroke:e.colors[0],strokeWidth:e.strokeWidth,strokeLinecap:e.strokeLinecap,strokeLinejoin:e.strokeLinejoin}))})},73193:function(e,t,r){"use strict";r.d(t,{W:function(){return M}});var n=r(67294),s=r(36289),a=r(15851),i=r(58495),o=r(56817),l=r(35227),c=Object.defineProperty,d=Object.defineProperties,p=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&w(e,r,t[r]);if(u)for(var r of u(t))h.call(t,r)&&w(e,r,t[r]);return e},f=(e,t)=>d(e,p(t)),b=(0,o.k)((e,{size:t,rightSectionWidth:r})=>({visibilityToggle:{},input:{position:"relative",overflow:"hidden"},innerInput:f(x({},e.fn.fontStyles()),{backgroundColor:"transparent",border:"1px solid transparent",borderLeftWidth:0,borderRightWidth:0,boxSizing:"border-box",position:"absolute",display:"block",width:`calc(100% - ${r}px)`,paddingLeft:e.fn.size({size:t,sizes:l.J})/3,fontSize:e.fn.size({size:t,sizes:e.fontSizes}),height:e.fn.size({size:t,sizes:l.J})-2,lineHeight:`${e.fn.size({size:t,sizes:l.J})-4}px`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,top:0,bottom:0,left:0,right:0,"&::-ms-reveal, &::-ms-clear":{display:"none"},"&:focus":{outline:0},"&:disabled":{cursor:"not-allowed"},"&::placeholder":f(x({},e.fn.placeholderStyles()),{opacity:1})}),invalid:{color:e.fn.variant({variant:"filled",color:"red"}).background,"&::placeholder":{opacity:1,color:e.fn.variant({variant:"filled",color:"red"}).background}},withIcon:{paddingLeft:`${e.fn.size({size:t,sizes:l.J})}px !important`}})),g=r(12756),y=r(40652),v=r(94151),j=Object.defineProperty,k=Object.defineProperties,S=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,P=(e,t,r)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))N.call(t,r)&&P(e,r,t[r]);if(C)for(var r of C(t))L.call(t,r)&&P(e,r,t[r]);return e},U=(e,t)=>k(e,S(t)),W=(e,t)=>{var r={};for(var n in e)N.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&C)for(var n of C(e))0>t.indexOf(n)&&L.call(e,n)&&(r[n]=e[n]);return r};let O={xs:22,sm:26,md:28,lg:32,xl:40},R={xs:12,sm:15,md:17,lg:19,xl:21},T={xs:28,sm:32,md:34,lg:44,xl:54},I={size:"sm",toggleTabIndex:-1,visibilityToggleIcon:({reveal:e,size:t=15})=>n.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:e?"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z":"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})),__staticSelector:"PasswordInput"},M=(0,n.forwardRef)((e,t)=>{let r=(0,i.N4)("PasswordInput",I,e),{radius:o,disabled:l,size:c,toggleTabIndex:d,className:p,id:u,label:m,error:h,required:w,style:x,icon:f,description:j,wrapperProps:k,classNames:S,styles:C,variant:N,visibilityToggleIcon:L,__staticSelector:P,rightSection:M,rightSectionWidth:z,rightSectionProps:V,sx:Z,labelProps:A,descriptionProps:F,errorProps:J,unstyled:_,visibilityToggleLabel:B,withAsterisk:G,inputContainer:Q,iconWidth:D,inputWrapperOrder:K,visible:Y,defaultVisible:H,onVisibilityChange:X}=r,q=W(r,["radius","disabled","size","toggleTabIndex","className","id","label","error","required","style","icon","description","wrapperProps","classNames","styles","variant","visibilityToggleIcon","__staticSelector","rightSection","rightSectionWidth","rightSectionProps","sx","labelProps","descriptionProps","errorProps","unstyled","visibilityToggleLabel","withAsterisk","inputContainer","iconWidth","inputWrapperOrder","visible","defaultVisible","onVisibilityChange"]),$=(0,i.rZ)(),ee=$.fn.size({size:c,sizes:T}),{classes:et,cx:er}=b({size:c,rightSectionWidth:ee},{name:"PasswordInput",classNames:S,styles:C,unstyled:_}),en=(0,s.M)(u),{systemStyles:es,rest:ea}=(0,g.x)(q),[ei,eo]=(0,a.C)({value:Y,defaultValue:H,finalValue:!1,onChange:X}),el=()=>eo(!ei),ec=n.createElement(y.A,{className:et.visibilityToggle,tabIndex:d,radius:o,size:$.fn.size({size:c,sizes:O}),"aria-hidden":!B,"aria-label":B,unstyled:_,onMouseDown:e=>{e.preventDefault(),el()},onKeyDown:e=>{" "===e.key&&(e.preventDefault(),el())}},n.createElement(L,{reveal:ei,size:$.fn.size({size:c,sizes:R})}));return n.createElement(v.I.Wrapper,E(E({required:w,id:en,label:m,error:h,description:j,size:c,className:p,style:x,classNames:S,styles:C,__staticSelector:P,sx:Z,errorProps:J,descriptionProps:F,labelProps:A,unstyled:_,withAsterisk:G,inputWrapperOrder:K,inputContainer:Q},es),k),n.createElement(v.I,{component:"div",invalid:!!h,icon:f,size:c,classNames:U(E({},S),{input:et.input}),styles:C,radius:o,disabled:l,__staticSelector:P,rightSectionWidth:ee,rightSection:!l&&ec,variant:N,unstyled:_,iconWidth:D},n.createElement("input",E({type:ei?"text":"password",required:w,className:er(et.innerInput,{[et.withIcon]:f,[et.invalid]:!!h}),disabled:l,id:en,ref:t},ea))))});M.displayName="@mantine/core/PasswordInput"},59402:function(e,t,r){"use strict";r.d(t,{O:function(){return s}});var n=r(67294);function s(e,t,r){let s=(0,n.useRef)();return(0,n.useEffect)(()=>
1{if(s.current)return s.current.addEventListener(e,t,r),()=>{var n;return null==(n=s.current)?void 0:n.removeEventListener(e,t,r)}},[t,r]),s}},66166:function(e,t,r){"use strict";r.d(t,{Y:function(){return s},u:function(){return a}});var n=r(67294),s=(0,n.createContext)(void 0),a=function(){return(0,n.useContext)(s)}},15703:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-account/change-password",function(){return r(53857)}])},88160:function(e,t,r){"use strict";var n=r(85893),s=r(9008),a=r.n(s),i=r(11163),o=r(19108),l=r(93901),c=r(59282);t.Z=e=>{let{title:t,description:r,keywords:s,ogImage:d,disallowRobots:p,breadcrumbItems:u}=e,m=(0,i.useRouter)(),h=/^\/(?:uk\/?|au\/?)?$/.test(m.asPath),w=/^\/((?:uk|au)\/)?destinations\//.test(m.asPath),x=m.asPath.startsWith("/uk/"),f=m.asPath.startsWith("/au/"),b=x||f?m.asPath.replace("/uk/","/").replace("/au/","/").split("?")[0]:h?"/":m.asPath.split("?")[0],g="Abercrombie & Kent is a leading luxury travel company specialising in award winning tailor-made vacations and escorted tours since 1962.",y=h&&"/"===m.asPath?"Abercrombie & Kent | Luxury Travel & Vacations Worldwide Since 1962":h&&m.asPath.startsWith("/uk")?"Abercrombie & Kent | Luxury Holidays Worldwide Since 1962":h&&m.asPath.startsWith("/au")?"Abercrombie & Kent | Luxury Holidays Worldwide Since 1962":t,v=h&&"/"===m.asPath?r:h&&m.asPath.startsWith("/uk")?"Abercrombie & Kent is a leading luxury travel company specialising in award winning tailor-made holidays and escorted tours since 1962.":h&&m.asPath.startsWith("/au")?"A&K has been pioneering experiential luxury travel for 60 years. Join us and explore the world in style.":r,j=(null!=u?u:[]).filter(e=>null==e?void 0:e.name),k=b.split("/").filter(Boolean),S=null;!h&&j.length>0?S=[{"@type":"ListItem",position:1,name:"Home",item:c._O},...j.map((e,t)=>{let r={"@type":"ListItem",position:t+2,name:e.name};return e.url&&(r.item=e.url),r})]:!h&&k.length>0&&(S=[{"@type":"ListItem",position:1,name:"Home",item:c._O},...k.map((e,t)=>({"@type":"ListItem",position:t+2,name:(0,l.Q0)(e),item:"".concat(c._O,"/").concat(k.slice(0,t+1).join("/"))}))]);let C=S?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:S}:null,N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return x||f?(null!=e?e:"").replace(/\bvacations\b/gi,e=>e===e.toUpperCase()?"HOLIDAYS":e===e.toLowerCase()?"holidays":"Holidays").replace(" | Abercrombie & Kent | Abercrombie & Kent"," | Abercrombie & Kent"):(null!=e?e:"").replace(" | Abercrombie & Kent | Abercrombie & Kent"," | Abercrombie & Kent")};return(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:N(h?y:t)}),(0,n.jsx)("meta",{name:"description",content:N(h?v:null!=r?r:g)}),(0,n.jsx)("meta",{name:"keywords",content:N(null!=s?s:"abercrombie kent, luxury travel, luxury vacations, private tours, small group journeys, small group adventures, tailormade journeys, african sanctuaries")}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Abercrombie & Kent"}),(0,n.jsx)("meta",{property:"og:title",content:N(h?y:t)}),(0,n.jsx)("meta",{property:"og:description",content:N(h?v:null!=r?r:g)}),d&&d.image&&(0,n.jsx)("meta",{property:"og:image",content:(0,o.uH)(d.image).format("jpg").width(1200).url()}),p&&(0,n.jsx)("meta",{name:"robots",content:"noindex"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"}),(0,n.jsx)("link",{rel:"canonical",href:"https://www.abercrombiekent.com".concat(m.asPath.split("?")[0])}),(w||h)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"alternate",hrefLang:"en-US",href:"https://www.abercrombiekent.com".concat(b)}),(0,n.jsx)("link",{rel:"alternate",hrefLang:"en-GB",href:"https://www.abercrombiekent.com/uk".concat(b)}),(0,n.jsx)("link",{rel:"alternate",hrefLang:"en-AU",href:"https://www.abercrombiekent.com/au".concat(b)}),(0,n.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"https://www.abercrombiekent.com".concat(b)})]}),C&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(C)}},"schema-breadcrumb")]})}},3478:function(e,t,r){"use strict";r.d(t,{Y:function(){return m}});var n=r(85893),s=r(67294),a=r(25944),i=r(34065),o=r(59402),l=r(5152),c=r.n(l),d=r(29824),p=r(16266);let u=c()(()=>r.e(7524).then(r.bind(r,77524)),{loadableGenerated:{webpack:()=>[77524]},ssr:!1}),m=e=>
1{let{children:t,password:r,onFocusOut:l}=e,[c,m]=(0,s.useState)(!1),h=(0,i.a)("(max-width: 960px)"),w=(0,o.O)("focusin",()=>m(!0)),x=(0,o.O)("focusout",()=>{m(!1),l&&l()});return(0,n.jsxs)(a.J,{opened:c,closeOnClickOutside:!0,width:"360px",position:h?"top-start":"bottom-start",withArrow:!0,shadow:"lg",children:[(0,n.jsx)(a.J.Target,{children:(0,n.jsx)("div",{ref:e=>{w.current=e,x.current=e},style:{marginBottom:"0px"},children:t})}),(0,n.jsx)(a.J.Dropdown,{style:{borderRadius:0},children:(0,n.jsx)(u,{style:{textAlign:"start"},rules:["minLength","maxLength","specialChar","number","capital","noSpaces"],minLength:8,maxLength:32,className:"password-strength",value:r,iconComponents:{ValidIcon:(0,n.jsx)("div",{className:"flex-center-center h-100",style:{height:"1.75rem",width:"2rem"},children:(0,n.jsx)(d.Z,{theme:"outline",size:"14",fill:"#45b4b2"})}),InvalidIcon:(0,n.jsx)("div",{className:"flex-center-center h-100",style:{height:"1.75rem",width:"2rem"},children:(0,n.jsx)(p.Z,{theme:"outline",size:"14",fill:"#a91400"})})}})})]})}},42029:function(e,t,r){"use strict";r.d(t,{S:function(){return c}});var n=r(11163),s=r(67294),a=r(33299),i=r(48128),o=r(59417),l=r(66166);let c=()=>{let e=(0,a.useSession)(),t=(0,n.useRouter)(),[r,c]=(0,s.useState)(!1),d=(0,i.c)(1e4),[p,u]=(0,o.G)(!1,1e4),m=(0,l.u)();return(0,s.useEffect)(()=>{(0,a.getSession)().then(r=>{if(r){let n=new Date,s=r.now>0?new Date(r.now):new Date;if(Math.abs(n.getTime()-s.getTime())/864e5>3){try{m.trackEvent({name:"SessionDateMismatch"},{session:e,serverTimestamp:s,clientDate:n,url:t.asPath})}catch(e){console.warn("Unable to register log");return}c(!1),(0,a.signOut)({callbackUrl:"/"})}}else c(!1),(0,a.signOut)({callbackUrl:"/"})})},[p]),(0,s.useEffect)(()=>{d||u(!p)},[d,p,e]),(0,s.useEffect)(()=>{"authenticated"===e.status&&c(!0),"unauthenticated"===e.status&&(c(!1),(0,a.signOut)({callbackUrl:"/"}))},[e,t]),r}},38573:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});let n="LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQ0lqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FnOEFNSUlDQ2dLQ0FnRUF0b3RHTFpneVk3eTdiYzc4aGMyNgp3a2hqN2xLbEFzeWFDYzdBWDB4MTN6NXBNaFQ4MFhib1pKTHJxL3doak9qUVlkUlkvejZpZGdzWTRkMDN5eFB2CmhuR25mT0YrWU1wSWpHTkUyaEFWdEFEcUVGcWs4bmo3emM5NUdaY2VFZGZpWnBpZjMwb05MaTd5aWZUVlRjY0IKMjlVZ2ljeTVnQ0FIU3RlVTlTczArVEdtREU3RjFtT05zaldWUFc0OG1sanJXbGcvSUZhTm9yRWovTlJXMkw1WApMdmJVSXBkZmtIakFkMUI1QTZEQUpiQjh6SGt2K1ltSE05d1JrY1FXcTNaTzZnU0dPUE0yUXZSdFZTODcza1hUCnpOMXJwaDlaT1JMSE9lc2U5cnZwN29RcmFSclkrUmdSemNVT0Jtc2E3VHBrOEphUjZucG5JSjZaN0YwbElSVnAKeWZrR0xCZFZlNmZSakErT1R0eTZhVG9EWURVUWcxVjl2QnRudTgzc1ZRV2hDSTc1NFl3YW0wcFlzb2dLd2ZHNAplaXp4MlJVdm9YRnV5Vy84VW1UL1V1UVFnM1JhdEF1L29SaHVWeFRaall4bytuc3prNm9Ga29tOWpXeGcxNElIClNkZXMxSFVmc3Z4cXdsQWx6YXdQeGF0N254Uy8xN0ZyajcwMUtLV2VabnpPQ3Z1bG5jcWdyT1VzT2tCQ0hWb1MKUzJmMjN6L3RjM25kZWNhY0oyQnB3Rm9TRERIQUlWYlIrRHZIME1rOXRnSkpaOGY4bjJnaURFOXl2S1htYzEzeApVN1VBZklSOGFLRllqMlJrL043YlRFUGdTbEt6SmY4UWxtUWlvRStxN3hQMHBqZW9vd2FQOHA0cWRLTE83VkUxCjV0Z1JIQlhCNSt2VkEzSGkxejc2blpVQ0F3RUFBUT09Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=";if(!n)throw Error("NEXT_PUBLIC_RSA_SECRET is not defined in environment");let s=async e=>{let t=n.replace(/[\r\n\s]+/g,""),r=window.atob(t).replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").replace(/[\r\n\s]+/g,""),s=window.atob(r),a=new Uint8Array(s.length);for(let e=0;e<s.length;e++)a[e]=s.charCodeAt(e);let i=await window.crypto.subtle.importKey("spki",a,{name:"RSA-OAEP",hash:"SHA-256"},!1,["encrypt"]),o=new TextEncoder().encode(e),l=new Uint8Array(await window.crypto.subtle.encrypt({name:"RSA-OAEP"},i,o)),c="";for(let e=0;e<l.byteLength;e++)c+=String.fromCharCode(l[e]);return window.btoa(c)},a=async e=>await s(e),i=async e=>encodeURIComponent(await a(e))},93362:function(e,t,r){"use strict";r.d(t,{V:function(){return s}});let n=/^(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[^\w\d\s:])([^\s]){8,32}$/,s=e=>!!(e&&n.test(e))},53857:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return U}});var n=r(85893),s=r(3478),a=r(88160),i=r(93362),o=r(9676),l=r(34736),c=r(49737),d=r(73193),p=r(58495),u=r(98903),m=r(71417),h=r(2058),w=r(15053),x=r(3085),f=r(39633),b=r(42029),g=r(67294),y=r(9473),v=r(49930),j=r(25675),k=r.n(j),S=r(64171),C=r(7247),N=r(41664),L=r.n(N),P=r(38573);let E=()=>{var e;(0,b.S)();let t=(0,y.v9)(x.S8),r=(0,y.I0)(),v=null===(e=t.provider)||void 0===e?void 0:e.includes("credentials"),[j,N]=(0,g.useState)({loading:!1,message:{type:"",content:""}}),E=(0,u.c)({validateInputOnChange:!0,initialValues:{currentPassword:"",password:"",confirmPassword:""},validate:{password:e=>(0,i.V)(e)?null:"Password is too weak",confirmPassword:(e,t)=>t.password===e?null:"The passwords does not match"}}),U=(0,g.useCallback)(async e=>{if(t.email){let n={email:t.email,password:await (0,P.L)(e.currentPassword),newPassword:await (0,P.L)(e.password)};N(e=>({...e,loading:!0}));let s=await (0,o.Ee)({...n}),a=j.message;"number"==typeof s?(a.content=w.JN[s],a.type="error"):(a.content="Password Successfully changed",a.type="success",E.reset(),r((0,h.bG)({email:t.email}))),N(e=>({...e,loading:!1,message:a}))}},[r,E,j.message,t.email]),W=(0,g.useMemo)(()=>""!==j.message.type?(0,n.jsxs)("header",{className:"flex flex-col gap-6",children:[(0,n.jsx)("h3",{children:"Password Reset"}),(0,n.jsxs)("p",{className:"text-s",children:["success"===j.message.type&&"Password successfully reset","error"===j.message.type&&j.message.content]}
1),(0,n.jsx)(L(),{href:"/my-account",passHref:!0,children:(0,n.jsx)(l.k,{className:"border-1 flex w-max items-center justify-between gap-2 border-l-0 border-r-0 border-t-0 border-black pb-0.5 font-mcqueen text-s font-medium uppercase leading-4",children:"back to my account"})})]}):(0,n.jsxs)("form",{className:"relative flex flex-col gap-6",onSubmit:E.onSubmit(U),children:[(0,n.jsxs)("header",{className:"flex flex-col gap-6",children:[(0,n.jsx)("h3",{children:v?"Change Your Password":"Add password"}),(0,n.jsx)("p",{className:"text-s",children:"Password must contain 7 Letters, 1 Number, and one special character."})]}),(0,n.jsx)(c.f,{visible:j.loading}),(0,n.jsxs)("div",{children:[v&&(0,n.jsxs)("div",{children:[(0,n.jsx)(d.W,{className:"w-100",styles:e=>({error:{height:"15px !important"},input:{'&[aria-invalid="true"]:focus-within':{borderColor:e.colors.red}}}),classNames:{wrapper:"max-h-[42px]",input:"h-[42px] [&>input]:h-[42px] text-s [&>input]:pb-[2px]"},autoComplete:"false",required:!0,withAsterisk:!1,placeholder:"Current Password",label:"CURRENT PASSWORD *",...E.getInputProps("currentPassword")}),!E.errors.currentPassword&&(0,n.jsx)("div",{className:"w-100",style:{height:"20px"}})]}),(0,n.jsxs)("div",{className:"flex flex-col items-start justify-between gap-2 xs:flex-row",children:[(0,n.jsx)("div",{className:"w-full grow xs:w-max",children:(0,n.jsx)(s.Y,{password:E.values.password,children:(0,n.jsx)("div",{style:{marginBottom:"25px"},children:(0,n.jsx)(d.W,{className:"w-100",styles:e=>({error:{display:"none"},input:{'&[aria-invalid="true"]:focus-within':{borderColor:e.colors.red}},innerInput:{"&::placeholder":{letterSpacing:"normal !important"}}}),classNames:{wrapper:"max-h-[42px]",input:"h-[42px] [&>
1input]:h-[42px] text-s [&>input]:pb-[2px]"},autoComplete:"false",placeholder:"Password",label:"NEW PASSWORD *",required:!0,withAsterisk:!1,...E.getInputProps("password")})})})}),(0,n.jsxs)("div",{className:"w-full grow xs:w-max",children:[(0,n.jsx)(d.W,{className:"w-100",styles:e=>({error:{height:"15px !important"},input:{'&[aria-invalid="true"]:focus-within':{borderColor:e.colors.red}},innerInput:{"&::placeholder":{letterSpacing:"normal !important"}}}),classNames:{wrapper:"max-h-[42px]",input:"h-[42px] [&>input]:h-[42px] [&>input]:pb-[2px]"},autoComplete:"false",placeholder:"Confirm Password",required:!0,withAsterisk:!1,label:"CONFIRM PASSWORD *",...E.getInputProps("confirmPassword")}),!E.errors.confirmPassword&&(0,n.jsx)("div",{className:"w-100",style:{height:"20px"}})]})]})]}),(0,n.jsx)("div",{className:"flex items-center justify-between gap-2",children:(0,n.jsx)(l.k,{disabled:j.loading,className:"flex min-h-[52px] w-full items-center justify-center rounded-[5px] bg-black text-s font-medium uppercase leading-4 text-white transition-all hover:bg-canvasWarmSand hover:text-black",type:"submit",children:"SAVE CHANGES"})})]}),[U,E,v,j.loading,j.message.content,j.message.type]);return(0,n.jsxs)(p.Me,{withGlobalStyles:!0,withNormalizeCSS:!0,theme:{colors:f.O.colorsRebrand,fontFamily:"var(--primaryFont)",primaryColor:"brand",colorScheme:"light"},children:[(0,n.jsx)(a.Z,{title:"Change Password | Abercrombie & Kent",description:"Change Password",keywords:""}),(0,n.jsx)(m.N,{className:"mantine-notification-provider",position:"bottom-right",children:(0,n.jsxs)("div",{className:"relative flex min-h-screen w-full min-w-[320px] items-center justify-center",children:[(0,n.jsx)(k(),{src:(0,S.u)(C.gT.CONFIRMATION_IMAGE_BG).url(),alt:"Image of the Sea",objectFit:"cover",layout:"fill",className:"z-0 h-auto"}),(0,n.jsx)("div",{className:"z-10 h-screen min-h-[415px]  w-full bg-white p-4 xxs:h-max xxs:max-w-[570px] xxs:p-6",children:W})]})})]})};E.getLayout=e=>(0,n.jsx)(v.Z,{navMenu:e.props.navMenu,footer:e.props.footer,guestMenus:e.props.guestMenus,agentMenus:e.props.agentMenus,site:e.props.site,children:e});var U=!0;t.default=E}},function(e){e.O(0,[4738,6130,5970,8127,4838,9317,3768,4396,8845,3365,6660,648,123,7439,509,3662,1111,3219,2510,2191,3507,4208,7473,6957,5334,4679,8495,960,5889,578,1417,9108,6300,514,7881,2670,9930,9774,2888,179],function(){return e(e.s=15703)}),_N_E=e.O()}]);

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.