PageSourceSearch

https://www.saucony.com.au/public/_nuxt/CZGg0rRO.js

js saucony.com.au collected 2026-10-04 07:36:26 UTC 3,013 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BPYkkVDD.js","./VlX8Nnhn.js","./entry.DARW69RP.css","./BI7EBxey.js"])))=>i.map(i=>d[i]);
2import{by as x,cx as _,cc as F,ck as D,L as f,bh as A,b9 as w,B as p,p as C,bw as R,m as r}from"./VlX8Nnhn.js";import{u as v}from"./B6iKiRI-.js";import{u as I}from"./B6AnBUhu.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="b72045ba-3639-4de4-9702-fa80ff127aed",a._sentryDebugIdIdentifier="sentry-dbid-b72045ba-3639-4de4-9702-fa80ff127aed")}catch{}})();function P(){const a=x(),n=_(),l=F(),c=D(),i=f(()=>a.value==="LOGGED_OUT"&&!n.value),u=f(()=>a.value==="LOGGING_IN"),t=w();return{canLogIn:i,logIn:s,loggingIn:u,logInResult:t};function s(o){if(!i.value)throw new Error("Cannot log in.");return A(()=>d(o))}async function d(o){p.loggingIn=!0;try{const{AuthenticationDetails:e,CognitoUser:b}=await C(async()=>{const{AuthenticationDetails:m,CognitoUser:g}=await import("./BPYkkVDD.js");return{AuthenticationDetails:m,CognitoUser:g}},__vite__mapDeps([0,1,2,3]),import.meta.url),y=await l(),E=new b({Pool:y,Username:o.email}),h=new e({Username:o.email,Password:o.password});return await new Promise((m,g)=>{E.authenticateUser(h,{onFailure:g,onSuccess:m})}),p.loggedIn=!0,await c.hooks.callHookParallel("velox:account:logIn"),t.value={status:"SUCCESS"},t.value}catch(e){if(e instanceof Error)switch(e.name){case"LimitExceededException":return t.value={status:"RATE_LIMITED"},t.value;case"NotAuthorizedException":case"UserNotFoundException":return t.value={status:"INVALID_CREDENTIALS"},t.value;case"UserNotConfirmedException":return t.value={status:"NOT_VERIFIED",email:o.email},t.value}throw t.value={status:"ERROR"},e}finally{p.loggingIn=!1}}}function N(a){const n=R(),{canLogIn:l,logIn:c,logInResult:i}=P(),u=v({attrs:{autocomplete:"username",required:!0,type:"email"},id:"email",invalidCharsPattern:n.veloxAccount.emailInvalidCharsPattern&&new RegExp(n.veloxAccount.emailInvalidCharsPattern.source,n.veloxAccount.emailInvalidCharsPattern.flags),label:r.account.logInForm.email.label(),pii:!0,validateFns:[I()],getErrorMessageFn:e=>{if(e.empty)return r.account.logInForm.email.empty()}}),t=v({attrs:{autocomplete:"current-password",required:!0,type:"password"},id:"password",label:r.account.logInForm.password.label(),pii:!0,validateFns:[I()],getErrorMessageFn:e=>{if(e.empty)return r.account.logInForm.password.empty()}}),s=w(!1),d={onSubmit:async()=>{s.value=!0;try{const e=await c({email:u.sanitisedModel.value,password:t.sanitisedModel.value});await a?.onResolve?.(e)}catch(e){if(a?.onReject)await a.onReject(e);else throw e}finally{s.value=!1}}},o=f(()=>({label:r.account.logInForm.submit(),processing:s.value,temporarilyUnavailable:!l.value,type:"submit"}));return{emailTextFieldData:u,formProps:d,passwordTextFieldData:t,submitButtonProps:o,submitResult:i,submitting:s}}export{N as u};

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.