PageSourceSearch

https://auth.hyperbound.ai/_next/static/chunks/pages/en/login/confirm_email-091d4394027647c1.js

js hyperbound.ai collected 2026-10-01 12:18:27 UTC 15,948 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4349],{43523:function(e,t,r){"use strict";r.d(t,{M:function(){return f}});var o=r(67294),n=r(64761),i=r(48427),a=(0,r(56817).k)((e,{inline:t})=>({root:{display:t?"inline-flex":"flex",alignItems:"center",justifyContent:"center"}})),l=r(64523),s=Object.defineProperty,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&__defNormalProp(e,r,t[r]);if(c)for(var r of c(t))d.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__objRest=(e,t)=>{var r={};for(var o in e)u.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&c)for(var o of c(e))0>t.indexOf(o)&&d.call(e,o)&&(r[o]=e[o]);return r};let p=(0,o.forwardRef)((e,t)=>{let r=(0,n.N4)("Center",{},e),{inline:i,className:s,unstyled:c,variant:u}=r,d=__objRest(r,["inline","className","unstyled","variant"]),{classes:p,cx:f}=a({inline:i},{name:"Center",unstyled:c,variant:u});return o.createElement(l.x,__spreadValues({ref:t,className:f(p.root,s)},d))});p.displayName="@mantine/core/Center";let f=(0,i.F)(p)},73193:function(e,t,r){"use strict";r.d(t,{W:function(){return L}});var o=r(67294),n=r(83051),i=r(15851),a=r(96768),l=r(64761),s=r(14258),c=r(56817),u=r(35227),d=Object.defineProperty,p=Object.defineProperties,f=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&__defNormalProp(e,r,t[r]);if(m)for(var r of m(t))h.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>p(e,f(t)),_=(0,c.k)((e,{rightSectionWidth:t},{size:r})=>({visibilityToggle:{},input:{position:"relative",overflow:"hidden"},innerInput:__spreadProps(__spreadValues(__spreadValues({},e.fn.fontStyles()),e.fn.cover(0)),{backgroundColor:"transparent",border:`${(0,a.h)(1)} solid transparent`,borderLeftWidth:0,borderRightWidth:0,boxSizing:"border-box",display:"block",width:`calc(100% - ${(0,a.h)(t)})`,paddingLeft:`calc(${(0,s.a)({size:r,sizes:u.J})}  / 3)`,fontSize:(0,s.a)({size:r,sizes:e.fontSizes}),height:`calc(${(0,s.a)({size:r,sizes:u.J})} - ${(0,a.h)(2)})`,lineHeight:`calc(${(0,s.a)({size:r,sizes:u.J})} - ${(0,a.h)(4)})`,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&::-ms-reveal, &::-ms-clear":{display:"none"},"&:focus":{outline:0},"&:disabled":{cursor:"not-allowed",pointerEvents:"none",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[1],color:e.colors.dark[2],opacity:.6,"&::placeholder":{color:e.colors.dark[2]}},"&::placeholder":__spreadProps(__spreadValues({},e.fn.placeholderStyles()),{opacity:1}),"&[data-invalid]":{color:e.fn.variant({variant:"filled",color:"red"}).background,"&::placeholder":{opacity:1,color:e.fn.variant({variant:"filled",color:"red"}).background}},"&[data-with-icon]":{paddingLeft:(0,s.a)({size:r,sizes:u.J})}})})),b=r(12756),y=r(49834),v=r(94151),C=Object.defineProperty,w=Object.defineProperties,x=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,PasswordInput_defNormalProp=(e,t,r)=>t in e?C(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,PasswordInput_spreadValues=(e,t)=>{for(var r in t||(t={}))j.call(t,r)&&PasswordInput_defNormalProp(e,r,t[r]);if(P)for(var r of P(t))O.call(t,r)&&PasswordInput_defNormalProp(e,r,t[r]);return e},PasswordInput_spreadProps=(e,t)=>w(e,x(t)),__objRest=(e,t)=>{var r={};for(var o in e)j.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&P)for(var o of P(e))0>t.indexOf(o)&&O.call(e,o)&&(r[o]=e[o]);return r};let S={xs:(0,a.h)(22),sm:(0,a.h)(26),md:(0,a.h)(28),lg:(0,a.h)(32),xl:(0,a.h)(40)},k={xs:(0,a.h)(12),sm:(0,a.h)(15),md:(0,a.h)(17),lg:(0,a.h)(19),xl:(0,a.h)(21)},N={xs:(0,a.h)(28),sm:(0,a.h)(32),md:(0,a.h)(34),lg:(0,a.h)(44),xl:(0,a.h)(54)},E={size:"sm",toggleTabIndex:-1,visibilityToggleIcon:({reveal:e,size:t})=>o.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:t,height:t}},o.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"},L=(0,o.forwardRef)((e,t)=>{let r=(0,l.N4)("PasswordInput",E,e),{radius:a,disabled:c,size:u,toggleTabIndex:d,className:p,id:f,label:m,error:g,required:h,style:C,icon:w,description:x,wrapperProps:P,classNames:j,styles:O,variant:L,visibilityToggleIcon:I,__staticSelector:R,sx:z,labelProps:T,descriptionProps:M,errorProps:B,unstyled:V,visibilityToggleLabel:Z,withAsterisk:D,inputContainer:q,iconWidth:A,inputWrapperOrder:F,visible:W,defaultVisible:$,onVisibilityChange:Y}=r,G=__objRest(r,["radius","disabled","size","toggleTabIndex","className","id","label","error","required","style","icon","description","wrapperProps","classNames","styles","variant","visibilityToggleIcon","__staticSelector","sx","labelProps","descriptionProps","errorProps","unstyled","visibilityToggleLabel","withAsterisk","inputContainer","iconWidth","inputWrapperOrder","visible","defaultVisible","onVisibilityChange"]),K=(0,s.a)({size:u,sizes:N}),{classes:H}=_({rightSectionWidth:K},{name:"PasswordInput",classNames:j,styles:O,unstyled:V,size:u,variant:L}),J=(0,n.M)(f),{systemStyles:U,rest:X}=(0,b.x)(G),[Q,ee]=(0,i.C)({value:W,defaultValue:$,finalValue:!1,onChange:Y}),toggleVisibility=()=>ee(!Q),et=o.createElement(y.A,{className:H.visibilityToggle,tabIndex:d,radius:a,size:(0,s.a)({size:u,sizes:S}),"aria-hidden":!Z,"aria-label":Z,unstyled:V,onMouseDown:e=>{e.preventDefault(),toggleVisibility()},onKeyDown:e=>{" "===e.key&&(e.preventDefault(),toggleVisibility())}},o.createElement(I,{reveal:Q,size:(0,s.a)({size:u,sizes:k})}
1));return o.createElement(v.I.Wrapper,PasswordInput_spreadValues(PasswordInput_spreadValues({required:h,id:J,label:m,error:g,description:x,size:u,className:p,style:C,classNames:j,styles:O,__staticSelector:R,sx:z,errorProps:B,descriptionProps:M,labelProps:T,unstyled:V,withAsterisk:D,inputWrapperOrder:F,inputContainer:q,variant:L},U),P),o.createElement(v.I,{component:"div",error:g,icon:w,size:u,classNames:PasswordInput_spreadProps(PasswordInput_spreadValues({},j),{input:H.input}),styles:O,radius:a,disabled:c,__staticSelector:R,rightSectionWidth:K,rightSection:!c&&et,variant:L,unstyled:V,iconWidth:A},o.createElement("input",PasswordInput_spreadValues({type:Q?"text":"password",required:h,"data-invalid":!!g||void 0,"data-with-icon":!!w||void 0,className:H.innerInput,disabled:c,id:J,ref:t},X))))});L.displayName="@mantine/core/PasswordInput"},59417:function(e,t,r){"use strict";r.d(t,{G:function(){return useDebouncedState}});var o=r(67294);function useDebouncedState(e,t,r={leading:!1}){let[n,i]=(0,o.useState)(e),a=(0,o.useRef)(null),l=(0,o.useRef)(!0),clearTimeout=()=>window.clearTimeout(a.current);return(0,o.useEffect)(()=>clearTimeout,[]),[n,e=>{clearTimeout(),l.current&&r.leading?i(e):a.current=window.setTimeout(()=>{l.current=!0,i(e)},t),l.current=!1}]}},71298:function(e,t,r){"use strict";function px(e){return"number"==typeof e?e:"string"==typeof e?e.includes("px")?Number(e.replace("px","")):e.includes("rem")?16*Number(e.replace("rem","")):Number(e):NaN}r.d(t,{px:function(){return px}})},17010:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var o=(0,r(30853).Z)("info-circle","IconInfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},4528:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var o=(0,r(30853).Z)("mail","IconMail",[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]])},54827:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var o=(0,r(30853).Z)("phone","IconPhone",[["path",{d:"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2",key:"svg-0"}]])},62705:function(e,t,r){var o=r(55639).Symbol;e.exports=o},44239:function(e,t,r){var o=r(62705),n=r(89607),i=r(2333),a=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?n(e):i(e)}},31957:function(e,t,r){var o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=o},89607:function(e,t,r){var o=r(62705),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,l=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),r=e[l];try{e[l]=void 0;var o=!0}catch(e){}var n=a.call(e);return o&&(t?e[l]=r:delete e[l]),n}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var o=r(31957),n="object"==typeof self&&self&&self.Object===Object&&self,i=o||n||Function("return this")();e.exports=i},51584:function(e,t,r){var o=r(44239),n=r(37005);e.exports=function(e){return!0===e||!1===e||n(e)&&"[object Boolean]"==o(e)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},89948:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/en/login/confirm_email",function(){return r(3430)}])},5957:function(e,t,r){"use strict";r.d(t,{x:function(){return apiLogout}});var o=r(11163),n=r.n(o),i=r(1448);let apiLogout=()=>(0,i.j0)("/api/v1/logout",{}).then(e=>{e.ok?e.json().then(e=>{e.redirect_to?window.location.href=e.redirect_to:window.location.href="/"}):n().reload()})},76635:function(e,t,r){"use strict";r.d(t,{h:function(){return apiResendEmailConfirmation}});var o=r(1448);function apiResendEmailConfirmation(){return(0,o.j0)("/api/fe/v1/resend_email_confirmation",{}).then(e=>e.ok?e.text().then(e=>({success:!0,data:e})):400===e.status?e.json().then(e=>({success:!1,error_type:"email_already_confirmed",redirectTo:e.redirect_to})):429===e.status?e.text().then(e=>({success:!1,error_type:"email_confirmation_sent_recently",message:e})):(0,o.xo)())}},24885:function(e,t,r){"use strict";r.d(t,{Y:function(){return n}});var o,n,i=r(85893),a=r(97564),l=r(54070),s=r(25695);(o=n||(n={}
1)).GMAIL="gmail",o.OUTLOOK="outlook",o.YAHOO="yahoo";let c={gmail:"/img/g-logo.svg",outlook:"/img/microsoft-logo.svg",yahoo:"/img/yahoo-logo.svg"},u={gmail:"Gmail",outlook:"Outlook",yahoo:"Yahoo!"};t.Z=e=>{let{isFrameless:t=!1,sniperLinks:r}=e;return(0,i.jsx)(a.K,{spacing:"md",mt:16,style:{textAlign:"center"},w:"100%",children:Object.entries(r).map(e=>{let[r,o]=e;return(0,i.jsxs)(s.Z,{farLeftIcon:c[r],w:"100%",variant:t?l.Bq.LoginFramelessOutline:l.Bq.LoginOutline,onClick:()=>{window.open(o,"_blank")},children:["Open ",u[r]]},r)})})}},28279:function(e,t,r){"use strict";r.d(t,{$:function(){return useLogoutHandler}});var o=r(5957),n=r(70781);let useLogoutHandler=()=>{let{posthogClient:e}=(0,n.r)(),handleLogout=async()=>{e&&e.reset(),await (0,o.x)()};return handleLogout}},3430:function(e,t,r){"use strict";r.r(t),r.d(t,{ALREADY_CONFIRMED_MESSAGE:function(){return x},CONFIRMATION_MESSAGE:function(){return v},RESEND_SUCCESS_MESSAGE:function(){return C},SENT_RECENTLY_MESSAGE:function(){return w},__N_SSP:function(){return y},default:function(){return confirm_email}});var o=r(85893),n=r(67841),i=r(95117),a=r(20966),l=r(33575),s=r(11163),c=r(67294),u=r(1448),d=r(76635),p=r(40423),f=r(31908),m=r(97564),g=r(24885),h=r(54070),Deprecated_DeprecatedConfirmEmailPage=e=>{let{pageConfig:t,sniperLinks:r,handleResendConfirmation:l,isResendButtonDisabled:s,isLoading:c,areButtonsDisabled:u,handleLogout:d}=e;return(0,o.jsxs)(f.ZP,{pageConfig:t,pageTitle:"Login",title:"Confirm your email",children:[(0,o.jsx)(i.x,{mb:"md",fw:500,size:"lg",children:v}),r&&(0,o.jsx)(g.Z,{sniperLinks:r}),(0,o.jsxs)(m.K,{children:[(0,o.jsx)(n.z,{variant:h.Bq.LoginPrimary,onClick:l,fullWidth:!0,disabled:s,mt:"xl",children:c?(0,o.jsx)(a.a,{color:h.xR.LoginSuccessButtonColor,size:"sm"}):"Resend Confirmation Email"}),(0,o.jsx)(n.z,{fullWidth:!0,variant:h.Bq.LoginOutline,disabled:u,onClick:d,children:"Logout"})]})]})},_=r(28279),b=r(95427),y=!0;let v="You should receive an email with a link to confirm your email address within the next few minutes. If you do not receive an email, make sure to check your spam.",C="Confirmation email sent successfully.",w="Please wait, it may take a few minutes to receive your confirmation email.",x="Your email address has already been confirmed. You'll be redirected shortly.";var confirm_email=e=>{let{pageConfig:t}=e,{classes:r}=(0,b.fc)(),m=(0,s.useRouter)(),y=(0,_.$)(),{links:P}=t,[j,O]=(0,c.useState)(!1),[S,k]=(0,c.useState)(!1),refetchSsrConfig=()=>{m.replace(m.asPath)};(0,c.useEffect)(()=>{let e=setInterval(refetchSsrConfig,3e4);return()=>clearInterval(e)},[]);let handleResendConfirmation=async()=>{O(!0),k(!1);let e=await (0,d.h)();e.success?(l.N9.show({title:"Success",message:C,color:h.xR.LoginSuccessButtonColor,classNames:r}),k(!0),O(!1)):"email_confirmation_sent_recently"===e.error_type?(l.N9.show({title:"Email already sent",message:w,color:h.xR.ErrorButtonColor,classNames:r}),k(!0)):"email_already_confirmed"===e.error_type?(l.N9.show({title:"Email already confirmed",message:x,color:h.xR.LoginSuccessButtonColor,classNames:r}),await m.push("/login")):l.N9.show({title:"Error",message:u.aK,color:h.xR.ErrorButtonColor,classNames:r}),O(!1)},N=j||S,E=t.use_deprecated_login_ui,L=t.theme.login_ui_theme===p.gq.Frameless,I=t.theme.login_ui_theme===p.gq.Frame,R=t.theme.login_ui_theme===p.gq.SplitScreen;return E?(0,o.jsx)(Deprecated_DeprecatedConfirmEmailPage,{pageConfig:t,sniperLinks:P,handleResendConfirmation:handleResendConfirmation,isResendButtonDisabled:N,isLoading:j,areButtonsDisabled:j,handleLogout:y}):(0,o.jsxs)(f.ZP,{pageConfig:t,pageTitle:"Login",title:"Confirm your email",bottomChild:(0,o.jsx)(n.z,{fullWidth:!I,variant:R?h.Bq.LoginSubtlePrimary:h.Bq.LoginFramelessSubtlePrimary,disabled:j,onClick:y,children:"Logout"}),children:[(0,o.jsx)(i.x,{mb:"lg",size:"lg",children:v}),P&&(0,o.jsx)(g.Z,{isFrameless:L,sniperLinks:P}),(0,o.jsx)(n.z,{mt:"xl",variant:L?h.Bq.LoginFramelessPrimary:h.Bq.LoginPrimary,onClick:handleResendConfirmation,fullWidth:!0,disabled:N,children:j?(0,o.jsx)(a.a,{color:h.xR.LoginSuccessButtonColor,size:"sm"}):"Resend confirmation email"})]})}}},function(e){e.O(0,[3972,7248,9748,9774,2888,179],function(){return e(e.s=89948)}),_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.