PageSourceSearch

https://cdn.shapermint.com/ssr/v8.51.4/_next/static/chunks/pages/a…/confirm/signup/users-c65caccccdec170c.js

js shapermint.com collected 2026-10-01 10:25:03 UTC 3,769 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7513],{40666:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/confirm/signup/users",function(){return n(4974)}])},86380:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});let i=e=>{let t=e.split(".");if(3!==t.length)throw Error("Invalid JWT token");try{return JSON.parse(atob(t[1]))}catch(e){throw Error("Error parsing payload")}}},5417:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var i=n(86380);let r=e=>{try{let t=(0,i.d)(e);if(!t||!(null==t?void 0:t.exp))return!1;let n=new Date(1e3*t.exp);return new Date<n}catch(e){return!1}}},4974:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return N},default:function(){return I}});var i=n(85893),r=n(67294),o=n(83566),s=n(60814),c=n(6304),l=n(20243),a=n(5417),_=n(86380),u=n(87027),d=n(73755),h=n(25292),T=n.n(h),E=e=>{let{testMode:t}=e,{translate:n,TRANSLATION_KEYS:h}=(0,l.T)(),E=h.ACCOUNT,{activateCustomer:N}=(0,u.x7)(),[I,R]=(0,r.useState)(()=>n(E.AUTH_CONFIRM_FEEDBACK_SUCCESS)),[C,g]=(0,r.useState)(()=>n(E.AUTH_CONFIRM_TITLE_VERIFIED)),[f,w]=(0,r.useState)(!0),[x,O]=(0,r.useState)(!0),[A,S]=(0,r.useState)("continueLogin"),[v,m]=(0,r.useState)(""),U=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"continueLogin";g(e),R(null!=t?t:n(E.AUTH_CONFIRM_TRY_AGAIN_CONTACT)),w(!1),O(!1),S(i)},F=(0,r.useCallback)(async(e,t)=>{let{errors:i}=await N({email:e,confirmationToken:t});if(O(!1),i){var r;return console.error("[handleActivateUser] error activating user, ".concat(i.message||i)),(null===(r=i.message)||void 0===r?void 0:r.includes("User cannot be confirmed. Current status is CONFIRMED"))?U(n(E.AUTH_CONFIRM_ERROR_ACTIVATING_TITLE),n(E.AUTH_CONFIRM_ERROR_ALREADY_CONFIRMED),"continueLogin"):U(n(E.AUTH_CONFIRM_ERROR_ACTIVATING_TITLE))}},[N,n]);(0,r.useEffect)(()=>{let{search:e}=window.location,i=new URLSearchParams(e),r=(null==i?void 0:i.get("token"))||"";if(!t&&(!r||!(0,a.z)(r))){console.error("ERROR: Invalid JWT token");let e="";try{let t=(0,_.d)(r);e=encodeURIComponent(t.userEmail)}catch(t){e=""}U(n(E.AUTH_CONFIRM_TOKEN_EXPIRED_TITLE),n(E.AUTH_CONFIRM_TOKEN_EXPIRED_SUBTITLE),"resetPassword"),m(e);return}F((0,_.d)(r).userEmail,r)},[F,t,n]);let j="resetPassword"===A?n(E.AUTH_CONFIRM_BUTTON_RESET_PASSWORD):n(E.AUTH_CONFIRM_BUTTON_CONTINUE_LOGIN);return(0,i.jsx)("div",{className:T().container,children:x?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:T().roundedSkeleton,children:(0,i.jsx)(d.Z,{width:80,height:80})}),(0,i.jsx)(d.Z,{width:280,height:32}),(0,i.jsx)(d.Z,{width:210,height:24}),(0,i.jsx)(d.Z,{width:420,height:40})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:T().sectionHeader,children:f?(0,i.jsx)(o.J.Actions.CircleSolidStyledCheck,{width:5,height:5,fill:"var(--colors-semantic-positive-color)"}):(0,i.jsx)(o.J.Actions.CircleSolidClear,{width:5,height:5,fill:"var(--colors-semantic-urgent-color)"})}),(0,i.jsx)(s.x,{variant:"heading4",weight:"bold",className:T().title,children:C}),(0,i.jsx)(s.x,{variant:"body",weight:"regular",className:T().text,children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:I}})}),(0,i.jsx)(c.Z,{className:T().loginBtn,text:j,onClick:()=>"continueLogin"===A?window.location.href="/account/login":window.location.href="/account/login?confirm-token-exp=".concat(v),wide:!0,testId:"button-account-confirm-".concat(A)})]})})},N=!0,I=()=>(0,i.jsx)(E,{})},25292:function(e){e.exports={container:"styles_container__hae_s",sectionHeader:"styles_sectionHeader__73PH8",title:"styles_title__xQapT",text:"styles_text__QqFby",loginBtn:"styles_loginBtn__hkFxo",roundedSkeleton:"styles_roundedSkeleton__s3_vV"}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=40666)}),_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.