PageSourceSearch

https://snowball-analytics.com/_next/static/chunks/pages/auth/verify-password-37ae22cb242da10d.js

js snowball-analytics.com collected 2026-10-02 08:14:46 UTC 14,894 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8028],{14009:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(62199),s=n(77488),a=n(69001),i=n.n(a),o=n(75834),l=n(76439),d=n(62733),c=["bsPrefix","variant","size","active","className","block","type","as"],u=o.forwardRef(function(e,t){var n=e.bsPrefix,a=e.variant,u=e.size,f=e.active,m=e.className,p=e.block,g=e.type,h=e.as,x=(0,s.A)(e,c),v=(0,l.oU)(n,"btn"),A=i()(m,v,f&&"active",a&&v+"-"+a,p&&v+"-block",u&&v+"-"+u);if(x.href)return o.createElement(d.A,(0,r.A)({},x,{as:h,ref:t,className:i()(A,x.disabled&&"disabled")}));t&&(x.ref=t),g?x.type=g:h||(x.type="button");var N=h||"button";return o.createElement(N,(0,r.A)({},x,{className:A}))});u.displayName="Button",u.defaultProps={variant:"primary",active:!1,disabled:!1};let f=u},15076:e=>{e.exports={login:"login-1_login__A8lLA","login-1":"login-1_login-1__clexw","login-signin":"login-1_login-signin__9zfO0","login-signup":"login-1_login-signup__4Iu2F","login-forgot":"login-1_login-forgot__2Ytrh","login-signin-on":"login-1_login-signin-on___gCub","login-signup-on":"login-1_login-signup-on__sYmmp","login-forgot-on":"login-1_login-forgot-on__ClrGU","login-aside":"login-1_login-aside__D83jE","login-form":"login-1_login-form__uJ5iS"}},19982:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(77488),s=n(62199),a=n(69001),i=n.n(a),o=n(75834),l=n(14879),d=n(76439),c=["bsPrefix","size","hasValidation","className","as"],u=(0,l.A)("input-group-append"),f=(0,l.A)("input-group-prepend"),m=(0,l.A)("input-group-text",{Component:"span"}),p=o.forwardRef(function(e,t){var n=e.bsPrefix,a=e.size,l=e.hasValidation,u=e.className,f=e.as,m=(0,r.A)(e,c);return n=(0,d.oU)(n,"input-group"),o.createElement(void 0===f?"div":f,(0,s.A)({ref:t},m,{className:i()(u,n,a&&n+"-"+a,l&&"has-validation")}))});p.displayName="InputGroup",p.Text=m,p.Radio=function(e){return o.createElement(m,null,o.createElement("input",(0,s.A)({type:"radio"},e)))},p.Checkbox=function(e){return o.createElement(m,null,o.createElement("input",(0,s.A)({type:"checkbox"},e)))},p.Append=u,p.Prepend=f;let g=p}
1,22714:(e,t,n)=>{var r=n(22719),s=n(54320),a=n(80045),i=n(66632);e.exports=function(e,t,n){e=i(e),t=s(t);var o=e.length,l=n=void 0===n?o:r(a(n),0,o);return(n-=t.length)>=0&&e.slice(n,l)==t}},22719:e=>{e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},35598:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},36241:(e,t,n)=>{"use strict";n.d(t,{UW:()=>m,WO:()=>u,ZC:()=>o,dZ:()=>c,e4:()=>f,g6:()=>l,u1:()=>d});var r=n(26514);n(75834);var s=n(22714),a=n.n(s),i=n(23141);let o=(e,t)=>{let n=e.response;setTimeout(()=>{if(n&&n.data&&!n.data.isValid){let e={};if(n.data.validationErrors){for(let t of n.data.validationErrors){let n="general";t.property&&(n=t.property);let r=e[n]??"";r.length>0&&(r+="\n"),e[n]=r+t.errorMessage}for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t?.setFieldError(n,e[n]),t?.setFieldTouched(n,!0,!1))}else t?.setFieldError("general",(0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"}))}else n&&!n.data?t&&(t.setFieldError("general",n.statusText?(0,r.jsx)(r.Fragment,{children:n.statusText}):(0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"})),t?.setFieldTouched("general",!0,!1)):t&&t.setFieldError("general",(0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"}))},1)},l=(e,t)=>{if(!t.response||!t.response.data)return e;let n=t.response.data;if(n&&n.validationErrors)for(let t of n.validationErrors)e+=`${t.errorMessage}
2`;return e&&a()(e,": \n")&&(e=e.replace(": \n","")),e},d=(e,t,n)=>{if(!t.response||!t.response.data)return e;let r=t.response.data;return n&&(e+=`${r[n]}
3`),e&&a()(e,": \n")&&(e=e.replace(": \n","")),e},c=e=>{let t=e.response;if(t&&t.response&&403===t.response.status)return(0,r.jsx)(i.x,{i18nKey:"common:ERROR.ACCESS_DENIED"});if(!t||!t.data||!Array.isArray(t.data))return(0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"});let n=[];if(t.data&&!t.data.isValid)for(let e of t.data.validationErrors)n.push(e.errorMessage);else t&&!t.data?n.push(t.statusText?(0,r.jsx)(r.Fragment,{children:t.statusText}):(0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"})):n.push((0,r.jsx)(i.x,{i18nKey:"common:ERROR.CONTACT_SUPPORT"}));return(0,r.jsx)("div",{children:n.map((e,t)=>(0,r.jsx)("div",{children:e},`err-${t}`))})},u=0x174876e7ff,f=e=>{let{formattedValue:t,floatValue:n}=e;return""===t||n<=u},m=e=>{let{formattedValue:t,floatValue:n}=e;return""===t||n<=100}},45251:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(26514),s=n(96456),a=n.n(s);function i(e){let{children:t,prefetch:n=!0,...s}=e,i=navigator.userAgent.toLowerCase().includes("googlebot");return(0,r.jsx)(a(),{...s,prefetch:!i&&n,children:t})}n(75834)},48208:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(26514);n(75834);var s=n(68208),a=n.n(s),i=n(45251);function o(e){let{href:t,children:n,...s}=e;return(0,r.jsx)(i.N,{legacyBehavior:!0,href:t??s.to,children:(0,r.jsx)("a",{...s,children:n})})}o.propTypes={href:a().string},o.defaultProps={}},50560:(e,t,n)=>{var r=n(35598),s=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(s,""):e}},53057:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(26514),s=n(24322),a=n.n(s),i=n(75834),o=n(59757),l=n(48208),d=n(93760),c=n(19982),u=n(14009),f=n(96456),m=n.n(f),p=n(89754),g=n(91394),h=n(36241),x=n(3163),v=n(94763);let A={password:""};function N(e){var t;let{login:n}=e,{t:s}=(0,d.B)(["auth","common"]),a=(0,o.wA)(),[l,f]=(0,i.useState)(!1),[N,_]=(0,i.useState)(!0),E=p.Ik().shape({password:p.Yj().min(3,s("VALIDATION.MIN_LENGTH",{length:3,ns:"common"})).max(50,s("VALIDATION.MAX_LENGTH",{length:50,ns:"common"})).required(s("AUTH.VALIDATION.PASSWORD_REQUIRED"))}),y=(0,g.Wx)({initialValues:A,validationSchema:E,onSubmit:async(e,t)=>{let{setStatus:r,setSubmitting:i}=t;f(!0);try{let{data:t}=await (0,v.J$)(e.password);t.loginProps.hasPortfolio&&a((0,x.Sq)(t.loginProps.portfolio)),n(t.loginProps)}catch(t){let e=(0,h.g6)("",t)??s("AUTH.LOGIN.INCORRECT_CREDENTIALS");i(!1),r(e)}finally{f(!1)}}});return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-center mb-6",children:(0,r.jsx)("h3",{className:"font-size-h1",children:s("AUTH.LOGIN.EXTERNAL_VERIFY_PASSWORD_TITLE")})}),(0,r.jsxs)("form",{onSubmit:y.handleSubmit,className:"form fv-plugins-bootstrap fv-plugins-framework",children:[(0,r.jsx)("p",{className:"text-muted font-weight-bold text-center",children:s("AUTH.LOGIN.EXTERNAL_VERIFY_PASSWORD_DESCRIPTION")}),y.status?(0,r.jsx)("div",{className:"mb-10 alert alert-custom alert-light-danger alert-dismissible",children:(0,r.jsx)("div",{className:"alert-text font-weight-bold",children:y.status})}):(0,r.jsx)("div",{}),(0,r.jsxs)("div",{className:"form-group fv-plugins-icon-container",children:[(0,r.jsxs)(c.A,{className:"mb-3",children:[(0,r.jsx)("input",{id:"verify-password-input",placeholder:s("AUTH.LOGIN.PLACEHOLDER_PASSWORD"),type:N?"password":"",...y.getFieldProps("password"),className:`form-control form-control-solid h-auto py-5 px-6 order-radius-right-0 ${(t="password",y.touched[t]&&y.errors[t]?"is-invalid":y.touched[t]&&!y.errors[t]?"is-valid":"")}`}),(0,r.jsx)(c.A.Append,{children:(0,r.jsx)(u.A,{variant:"light-primary btn-icon",style:{height:"100%"},onClick:()=>{_(!N)},title:N?s("AUTH.LOGIN.SHOW_PASSWORD"):s("AUTH.LOGIN.HIDE_PASSWORD"),children:N?(0,r.jsx)("i",{className:"fas fa-eye"}):(0,r.jsx)("i",{className:"fas fa-eye-slash"})})})]}),y.touched.password&&y.errors.password?(0,r.jsx)("div",{className:"fv-plugins-message-container",children:(0,r.jsx)("div",{className:"fv-help-block",children:y.errors.password})}):null]}),(0,r.jsxs)("div",{className:"form-group d-flex flex-wrap justify-content-between align-items-center",children:[(0,r.jsx)(m(),{href:"/auth/forgot-password",legacyBehavior:!0,children:(0,r.jsx)("a",{className:"text-dark-50 text-hover-primary my-3 mr-2",id:"kt_login_forgot",children:s("AUTH.LOGIN.FORGOT_PASSWORD")})}),(0,r.jsxs)("button",{id:"kt_login_signin_submit",type:"submit",disabled:y.isSubmitting,className:"btn btn-primary font-weight-bold px-9 py-4 my-3",children:[(0,r.jsx)("span",{children:s("AUTH.GENERAL.LOGIN")}),l&&(0,r.jsx)("span",{className:"ml-3 spinner spinner-white"})]})]})]})]})}var _=n(76813),E=n(15076),y=n.n(E),j=n(61139);function T(e){let{login:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{children:(0,r.jsx)("link",{rel:"canonical",href:"https://snowball-analytics.com/auth/verify-password"},"canonical")}),(0,r.jsxs)("div",{className:`${y()["login-form"]} ${y()["login-signin"]}`,id:"kt_login_verify_password_form",children:[(0,r.jsx)("div",{className:"d-flex align-items-center justify-content-start mb-5",children:(0,r.jsx)(l.o,{className:"btn btn-circle btn-light btn-icon text-dark font-weight-bold",href:"/auth/login",children:(0,r.jsx)("i",{className:"icon-nm text-dark fas fa-arrow-left"})})}),(0,r.jsx)(N,{login:t})]})]})}T.getLayout=function(e){return(0,r.jsx)(_.W,{children:e})},T.suspendTrans=["auth","common","layout"];let R=(0,o.Ng)(null,j.o1)(T)},58406:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/verify-password",function(){return n(53057)}])}
3,62733:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(62199),s=n(77488),a=n(75834),i=n(68971),o=["as","disabled","onKeyDown"];function l(e){return!e||"#"===e.trim()}var d=a.forwardRef(function(e,t){var n=e.as,d=e.disabled,c=e.onKeyDown,u=(0,s.A)(e,o),f=function(e){var t=u.href,n=u.onClick;if((d||l(t))&&e.preventDefault(),d)return void e.stopPropagation();n&&n(e)};return l(u.href)&&(u.role=u.role||"button",u.href=u.href||"#"),d&&(u.tabIndex=-1,u["aria-disabled"]=!0),a.createElement(void 0===n?"a":n,(0,r.A)({ref:t},u,{onClick:f,onKeyDown:(0,i.A)(function(e){" "===e.key&&(e.preventDefault(),f(e))},c)}))});d.displayName="SafeAnchor";let c=d},63692:(e,t,n)=>{var r=n(50560),s=n(66251),a=n(18436),i=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,d=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return i;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||d.test(e)?c(e.slice(2),n?2:8):o.test(e)?i:+e}},68971:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return null!=e}).reduce(function(e,t){if("function"!=typeof t)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=Array(n),s=0;s<n;s++)r[s]=arguments[s];e.apply(this,r),t.apply(this,r)}},null)}},76813:(e,t,n)=>{"use strict";n.d(t,{W:()=>h});var r=n(26514),s=n(75834),a=n(96456),i=n.n(a),o=n(46225),l=n(93760),d=n(54253),c=n(15076),u=n.n(c);async function f(e){let t=await e.map(e=>new Promise((t,n)=>{let r=new Image;r.src=e,r.onload=t(),r.onerror=n()}));await Promise.all(t)}var m=n(83602),p=n(55285),g=n(67614);function h(e){let{children:t}=e,{t:n}=(0,l.B)(["auth","common"]),{isDark:a}=(0,m.DP)(),c=(0,o.useRouter)(),h=new Date().getFullYear();return(0,s.useEffect)(()=>{f(["/media/svg/social-icons/google.svg"])}),(0,s.useEffect)(()=>{"undefined"!=typeof document&&(document.body.classList.remove("body-face"),a||document.body.classList.remove("dark"))},[a]),(0,r.jsx)("div",{className:"d-flex flex-column flex-root",children:(0,r.jsxs)("div",{className:`${u().login} ${u()["login-1"]} ${u()["login-signin-on"]} login-page d-flex flex-column flex-column-fluid bg-white`,id:"kt_login",children:[(0,r.jsx)("div",{className:"d-flex align-items-center justify-content-center pt-5 pb-5",children:(0,r.jsx)(i(),{legacyBehavior:!0,href:"/",children:(0,r.jsx)("a",{className:"flex-column-auto mt-5",onClick:()=>{let e="";"/auth/login"===c.pathname&&(e=g.D0.LOGIN_PAGE),"/auth/registration"===c.pathname&&(e=g.D0.SIGNUP_PAGE),"/auth/forgot-password"===c.pathname&&(e=g.D0.FORGOT_PASSWORD_PAGE),"/auth/verify-password"===c.pathname&&(e=g.D0.VERIFY_PASSWORD_PAGE),"/auth/reset-password"===c.pathname&&(e=g.D0.RESET_PASSWORD_PAGE),"/auth/tfa"===c.pathname&&(e=g.D0.TFA_PAGE),e&&(0,g.s9)({event:g.Mg.MAIN_PAGE_OPENED,source:e})},children:(0,r.jsx)("img",{alt:"Logo",height:"70",src:(0,d.oK)(a?(0,p.de)()?"/media/logos/logo-analytics-dark.svg":
3"/media/logos/logo-income-dark.svg":(0,p.de)
3()?"/media/logos/logo-analytics-light.svg":"/media/logos/logo-income-light.svg")})})})}),(0,r.jsxs)("div",{className:"flex-row-fluid d-flex flex-column position-relative p-7 overflow-hidden",children:[(0,r.jsx)("div",{className:"d-flex flex-column-fluid flex-center mt-15 mt-lg-0",children:t}),c.pathname.indexOf("registration")>=0?(0,r.jsxs)("div",{className:"pb-15 d-flex align-items-center justify-content-center pb-5 px-10",children:[(0,r.jsx)("span",{className:"text-dark-50",children:n("AUTH.GENERAL.HAS_ACCOUNT")}),(0,r.jsx)(i(),{legacyBehavior:!0,href:"/auth/login",children:(0,r.jsx)("a",{className:"font-weight-bold ml-2",id:"kt_login_signin",children:n("AUTH.GENERAL.LOGIN")})})]}):(0,r.jsxs)("div",{className:"pb-15 d-flex align-items-center justify-content-center pb-5 px-10",children:[(0,r.jsx)("span",{className:"text-dark-50",children:n("AUTH.GENERAL.HASNT_GOT_ACCOUNT")}),(0,r.jsx)(i(),{legacyBehavior:!0,href:"/auth/registration",children:(0,r.jsxs)("a",{className:"font-weight-bold ml-2",id:"kt_login_signup",onClick:()=>{let e="";"/auth/forgot-password"===c.pathname&&(e=g.D0.FORGOT_PASSWORD_PAGE),"/auth/login"===c.pathname&&(e=g.D0.LOGIN_PAGE),e&&(0,g.s9)({event:g.Mg.START_FOR_FREE_CLICKED,source:e})},children:[n("AUTH.GENERAL.REGISTER"),"!"]})})]}),(0,r.jsxs)("div",{className:"d-flex justify-content-center align-items-end py-lg-3 py-md-3",children:[(0,r.jsx)("a",{href:"/docs/Terms.pdf",target:"_blank",className:"text-dark-50 text-hover-primary font-weight-bold",children:n("AUTH.GENERAL.TERMS_CONDITIONS")}),(0,r.jsx)("a",{href:"/docs/PrivacyPolicy.pdf",target:"_blank",className:"text-dark-50 text-hover-primary ml-5 font-weight-bold",children:n("AUTH.GENERAL.PRIVACY_POLICY")})]}),(0,r.jsxs)("div",{className:"d-flex d-lg-none flex-column-auto flex-column flex-sm-row justify-content-between align-items-center mt-2 p-2",children:[(0,r.jsxs)("div",{className:"text-dark-50 font-weight-bold order-2 order-sm-1 my-2",children:["\xa9 ",h.toString()," ",(0,p.VQ)()]}),(0,r.jsx)("div",{className:"d-flex order-1 order-sm-2 my-2",children:(0,r.jsxs)("span",{children:[n("AUTH.GENERAL.CONTACT_US"),":"," ",(0,r.jsx)("a",{className:"text-dark-75 text-hover-primary font-weight-bold",href:`mailto:${(0,p.SD)()}`,children:(0,p.SD)()})]})})]})]})]})})}},80045:(e,t,n)=>{var r=n(92374);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},92374:(e,t,n)=>{var r=n(63692),s=1/0;e.exports=function(e){return e?(e=r(e))===s||e===-s?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}}},e=>{e.O(0,[6456,1394,9754,636,6593,8792],()=>e(e.s=58406)),_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.