PageSourceSearch

https://borrower.saltlending.com/static/js/663.3e17368e.chunk.js

js saltlending.com collected 2026-09-26 03:44:51 UTC 10,894 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkborrower_portal=self.webpackChunkborrower_portal||[]).push([[663],{24851:function(e,t,n){n.d(t,{SC:function(){return i},b8:function(){return o.A},cs:function(){return c},Cn:function(){return R},vJ:function(){return k}});var r=n(65043),a=n(83290),i=function(e){return(0,a.Y)("div",{className:"MigrationModal-layout"},(0,a.Y)("h2",{className:"MigrationModal-title"},e.title),(0,a.Y)("p",{className:"MigrationModal-description"},(0,a.Y)("span",{className:"MigrationModal-email"},e.email)," is already registered with"," ",(0,a.Y)("a",{className:"MigrationModal-link",href:"https://membership.saltlending.com/login",target:"_blank",rel:"noopener noreferrer"},"membership.saltlending.com"),"."),(0,a.Y)("p",{className:"MigrationModal-description"},'Click on the button below to upgrade to our new Member Portal. If you do not see the "Upgrade" option, we are still in the process of securely transitioning your account. Please check back periodically.'),(0,a.Y)("a",{className:"Link Link--primary Link--md MigrationModal-status",href:"https://membership.saltlending.com/login",target:"_blank",rel:"noopener noreferrer"},"Upgrade Now"))},o=n(32563),s=n(5544),l=n(98139),u=n.n(l),c=function(e){var t=e.children,n=r.Children.map(t,(function(e){return e})),i=(0,s.A)(n,2),o=i[0],l=i[1];return(0,a.Y)("div",{className:"RegistrationBodyLayout-body"},(0,a.Y)("div",{className:u()("RegistrationBodyLayout-left",{"RegistrationBodyLayout-left--full":!l})},o),l&&(0,a.Y)("div",{className:"RegistrationBodyLayout-right"},l))},d=n(87677);n.p;var f,m,p=n(97508),h=["title","titleId"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(null,arguments)}function w(e,t){var n=e.title,a=e.titleId,i=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,h);return r.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:18,height:25,viewBox:"0 0 18 25",ref:t,"aria-labelledby":a},i),n?r.createElement("title",{id:a},n):null,f||(f=r.createElement("defs",null,r.createElement("path",{id:"a",d:"M0 0h18v25H0z"}))),m||(m=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("mask",{id:"b",fill:"#fff"},r.createElement("use",{xlinkHref:"#a"})),r.createElement("path",{fill:"#FFF",d:"M15.496 13.87a13.27 13.27 0 0 1-2.047 3.254c.569-2.206.294-5.055-.937-7.822-.644-1.446-1.497-2.746-2.487-3.806 1.55-1.237 3.163-1.64 4.41-1.072.799.365 1.415 1.112 1.782 2.16.695 1.986.426 4.71-.721 7.285zm-12.992 0c-1.147-2.577-1.417-5.3-.722-7.286.367-1.048.984-1.795 1.783-2.16 1.247-.569 2.86-.165 4.41 1.072-.99 1.06-1.843 2.36-2.487 3.806-1.232 2.767-1.505 5.616-.937 7.822a13.273 13.273 0 0 1-2.047-3.255zm7.658 5.582A2.873 2.873 0 0 1 9 19.706a2.875 2.875 0 0 1-1.163-.254c-2.4-1.096-2.887-5.488-1.06-9.59.579-1.302 1.34-2.47 2.221-3.415.882.946 1.645 2.113 2.225 3.415 1.826 4.102 1.34 8.494-1.06 9.59zm3.26-16.664C12 2.729 10.45 3.33 9 4.528c-1.449-1.198-3-1.8-4.423-1.742A7.648 7.648 0 0 1 9 1.391a7.65 7.65 0 0 1 4.424 1.397zm4.132 3.3
16l-.001-.004-.003-.008-.002-.007-.006-.013C16.341 2.456 12.912 0 9 0 5.076 0 1.64 2.47.446 6.144l-.004.018c-.795 2.305-.506 5.392.773 8.268 1.752 3.934 4.93 6.668 7.745 6.668h.08c2.815 0 5.993-2.734 7.744-6.668 1.283-2.882 1.57-5.975.77-8.282zm-6.147 17.113c-.79.231-1.579.348-2.343.348h-.112c-.769 0-1.562-.118-2.358-.352a.706.706 0 0 0-.875.468.694.694 0 0 0 .474.865c.926.272 1.854.41 2.76.41h.11c.9 0 1.823-.136 2.743-.405a.694.694 0 0 0 .475-.864.705.705 0 0 0-.874-.47z",mask:"url(#b)"}))))}var v=r.forwardRef(w),y=(n.p,n(23583)),b=n(62582),Y=n(40012),N={"/register":0,"/register/verify":1,"/register/details":2,"/register/agreement":3},R=function(e){var t,n=e.children,r=e.location,i=r.pathname,o=r.search,s=null!==(t=N[i])&&void 0!==t?t:0,l=o.match(/referralCode=(.*)/),u=(0,p.d4)((function(e){return e.notifications})),c=(0,p.d4)((function(e){return e.accounts.data})),f=(0,p.d4)((function(e){return e.user})).isAuthenticated;return(0,a.Y)("div",{className:"RegistrationLayout"},(0,a.Y)("header",{className:"RegistrationLayout-header"},(0,a.Y)("div",{className:"RegistrationLayout-header-left"},0===s?(0,a.Y)("div",{className:"RegistrationLayout-header-logoLink RegistrationLayout-header-logoLink--step1"},(0,a.Y)(d.gu,{fill:"#fff"})):(0,a.Y)(b.N_,{to:"/login",className:"RegistrationLayout-header-logoLink"},(0,a.Y)(d.gu,{fill:"#fff"})),l&&"Uphold"===l[1]&&(0,a.Y)("div",{className:"RegistrationLayout-upholdBanner"},(0,a.Y)("span",{className:"RegistrationLayout-upholdText"},"You have been redirected from Uphold"),(0,a.Y)(v,{className:"RegistrationLayout-upholdLogo"}))),f&&c.length>0&&3===s&&(0,a.Y)("div",{className:"RegistrationLayout-header-right"},(0,a.Y)(b.N_,{className:"RegistrationLayout-notifications",to:"/notifications",id:"RegistrationLayout-notifications"},(0,a.Y)(y.h,{width:"28px",height:"28px",fill:"#fff"}),(null===u||void 0===u?void 0:u.unread)>0&&(0,a.Y)("div",{className:"RegistrationLayout-unreadNotifications"},u.unread>9?"9+":u.unread)),(0,a.Y)(Y.D,null))),(0,a.Y)("main",{className:"RegistrationLayout-main"},(0,a.Y)(d.XT,{title:"Sign Up",currentStep:s,totalSteps:4,className:"RegistrationLayout-progressCard"}),(0,a.Y)("div",{className:"RegistrationLayout-content"},n)),(0,a.Y)(d.wi,null))},k=function(){return(0,a.Y)("div",{className:"RestartModal-layout"},(0,a.Y)("h2",{className:"RestartModal-title"},"Hey Again!"),(0,a.Y)("p",{className:"RestartModal-description"},"It looks like you already started the sign up process using this information before, would you like to continue where you left off?"),(0,a.Y)("p",{className:"RestartModal-description"},"You will need to log in using the credentials you created when you started the sign up process."),(0,a.Y)(d.z9,{to:"/login"},"Yes, Continue"))},C=n(23029),A=n(92901),L=n(39874),x=n(85501),M=function(e){function t(){return(0,C.A)(this,t),(0,L.A)(this,t,arguments)}
1return(0,x.A)(t,e),(0,A.A)(t,[{key:"componentDidMount",value:function(){var e=this;n.e(302).then(n.t.bind(n,1302,23)).then((function(t){e.container&&t.default&&t.default.loadAnimation({container:e.container,renderer:"svg",loop:!0,autoplay:!0,path:"/images/lottie/verify-id.json",rendererSettings:{viewBoxSize:"0 150 400 200",className:"RegistrationId-icon"}})})).catch(console.err)}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.height,i=t.width;return(0,a.Y)("div",{className:n,style:{height:r,width:i},ref:function(t){return e.container=t}})}}])}(r.Component);M.defaultProps={height:"300px",width:"300px"}},80149:function(e,t,n){n.r(t),n.d(t,{ResetPassword:function(){return R},default:function(){return x},formik:function(){return L}});var r=n(90675),a=n(10467),i=n(5544),o=n(65043),s=n(50805),l=n(97508),u=n(63516),c=n(91688),d=n(86126),f=n(68901),m=n(87677),p=n(24851),h=n(17552),g=n(10237),w=n(82368),v=n(4226),y=n(67088),b=n(76804),Y=n(27174),N=n(83290);function R(e){var t,n,r=e.errors,a=e.handleChange,s=e.handleBlur,l=e.handleSubmit,u=e.isSubmitting,c=e.touched,d=e.values,f=e.cognitoUser,h=(0,o.useState)(!1),g=(0,i.A)(h,2),w=g[0],v=g[1],y=(0,o.useState)(!1),R=(0,i.A)(y,2),k=R[0],C=R[1],A=(0,o.useRef)(),L=function(e){"passwordVisible"===e.currentTarget.name?v((function(e){return!e})):"passwordConfirmVisible"===e.currentTarget.name&&C((function(e){return!e}))};return(0,N.Y)("div",{className:"ResetPassword"},(0,N.Y)("form",{className:"ResetPassword-form",onSubmit:l},(0,N.Y)("h1",{className:"ResetPassword-title"},"Reset Password"),(0,N.Y)("p",{className:"ResetPassword-description"},'Your account is in a "Reset Password" state, please create a new password and confirm.'),(0,N.Y)("input",{type:"hidden",id:"username",name:"username",value:null===f||void 0===f||null===(t=f.challengeParam)||void 0===t||null===(n=t.userAttributes)||void 0===n?void 0:n.email}),(0,N.Y)(p.b8,{passwordLabel:"New Password",errors:r,handleChange:a,handleBlur:s,isSubmitting:u,touched:c,values:d,passwordVisible:w,toggleVisibility:L,passwordRef:A}),(0,N.Y)(m.JU,{inline:!0,size:"small",text:"Confirm Password",error:c.passwordConfirm&&r.passwordConfirm},(0,N.Y)(m.pd,{type:k?"text":"password",id:"passwordConfirm",name:"passwordConfirm",autoComplete:"new-password",hasError:c.passwordConfirm&&!!r.passwordConfirm,onChange:a,onBlur:s,value:d.passwordConfirm}),(0,N.Y)("button",{"aria-label":"Toggle password visibility",name:"passwordConfirmVisible",className:"ResetPassword-toggle",onClick:L,tabIndex:2,type:"button"},k?(0,N.Y)(Y.h,null):(0,N.Y)(b.h,null))),(0,N.Y)(m.$n,{className:"ResetPassword-submit",dataTest:"submit",type:"submit",text:"Submit",disabled:u})))}var k=/[\^$*.[\]{}()?\-"!@#%&/\\,><':;|_~`]/;function C(e,t,n){return A.apply(this,arguments)}function A(){return(A=(0,a.A)((0,r.A)().mark((function e(t,n,a){var i;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.A)();case 2:return i=e.sent,e.abrupt("return",i.completeNewPassword(n.cognitoUser,t.password).then((function(e){return n.updateCognitoUser(e),a({continue:!0}),e.signInUserSession.accessToken.jwtToken})));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var L=(0,u.bk)({validateOnChange:!0,validateOnBlur:!1,mapPropsToValues:function(e){return{password:"",passwordConfirm:""}},handleSubmit:function(){var e=(0,a.A)((0,r.A)().mark((function e(t,n){var i,o,s,l;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.props,o=n.setSubmitting,s=n.setStatus,l=n.setErrors,e.next=3,C(t,i,s).then(i.loginDevice).then((0,a.A)((0,r.A)().mark((function e(){return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.getAccounts();case 2:return e.next=4,i.getMe();case 4:o(!1),i.history.push("/register/agreement");case 6:case"end":return e.stop()}}),e)})))).catch((function(e){o(!1),l({password:(0,y.Dd)(e.message)})}));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),validate:function(e){return d.Ik().shape({password:d.Yj().matches(k,"special").matches(/[a-z]+/,"lowerCase").matches(/[A-Z]+/,"upperCase").matches(/[0-9]+/,"digit").min(8,"min"),passwordConfirm:d.Yj().oneOf([d.KR("password")],"Passwords must match.").required("Password confirmation is required.")}).validate(e,{abortEarly:!1}).then((function(){})).catch(h._e)}}),x=(0,s.Zz)(c.y,(0,l.Ng)((function(e){return{cognitoUser:e.auth.cognitoUser}}
1),{resendVerificationEmail:g.nA,getAccounts:w.P4,getMe:v.jp,updateCognitoUser:g.wj,loginDevice:g.aY}),L)(R)}}]);

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.