PageSourceSearch

https://winspirit2-it.com/dist/LoginPage-CanCgqbc.js

js winspirit2-it.com collected 2026-10-09 23:25:32 UTC 3,366 bytes, 2 lines download raw bytes

1import{q as F,r as L,aM as P,bN as I,bO as N,ar as w,bP as M,bQ as v}from"./sentry-DGt8RGIC.js";import{F as s,aj as r,ak as b,al as T,am as V,an as x,ao as G,t as k,ap as D,aq as S,ar as y,as as B,at as q,au as K,av as U}from"./main-Vts_Ar5q.js";import{ai as $,_ as W,c as j,a as H,h as Q,f as z,x as J,B as X,g as p}from"./vendors-D6_U1cxw.js";import"./floating-ui-CZqmgN8J.js";import"./body-scroll-lock-upgrade-CmWMI3F6.js";import"./overlayscrollbars-Cua63DhK.js";import"./zod-mSUfeT8K.js";import"./vue-recaptcha-DyvulmQb.js";import"./vue3-touch-events-BftI5NW8.js";import"./livechat-BavU3_q5.js";import"./firebase-K-rWttj5.js";import"./vee-validate-BoCWXGUL.js";/* empty css                               *//* empty css                                     *//* empty css                                */function Y(){function l(){s("event",r.OPEN)}function n(){s("event",r.FORGOT_PASSWORD)}function i(){s("event",b.CLICK,{location:"login"})}function c(e,u){const m=u.target;if(m.autofocus){m.autofocus=!1;return}s("event",r.FILL_FORM,{field:e})}function f(){s("event",r.SUBMIT)}function g({utm:e,affiliate:u}){s("event",r.SUCCESS,{affiliate:u||"",cookie_utm_source:(e==null?void 0:e.utm_source)||"",cookie_utm_medium:(e==null?void 0:e.utm_medium)||"",cookie_utm_campaign:(e==null?void 0:e.utm_campaign)||"",cookie_utm_term:(e==null?void 0:e.utm_term)||"",cookie_utm_content:(e==null?void 0:e.utm_content)||""})}return{trackOpen:l,trackForgotPasswordClick:n,trackRegistrationLinkClick:i,trackFieldFocus:c,trackSubmit:f,trackSuccess:g}}function Z(){const l=F(),n=L(),i=T(),c=$(),f=W(),{trackOpen:g,trackForgotPasswordClick:e,trackRegistrationLinkClick:u,trackFieldFocus:m,trackSubmit:C,trackSuccess:E}=Y(),{trackValidationErrors:_}=V(),{openEmailVerify:R}=x(),{prepareAuthRedirect:O}=G();function A(){new w(U).get(K.PROMO_CODE)&&f.replace({query:{...c.query,redirect:"bonuses"}})}async function d(){const{path:t,forceReload:o}=await O(c.meta.fromPage||null);return q.sendLoginRedirectPath({path:String(t)}),{path:t,forceReload:o}}async function h(){const{path:t,forceReload:o}=await d();if(o){window.location.href=t;return}await f.push(t)}return{config:j(()=>{var t;return{isSubmitDisabled:((t=l.globalConfig)==null?void 0:t.isLockAuthForGuestUser)??!1,passwordMinLength:D,autofocus:{email:!n.isMobile},initialValues:{email:i.loadAuthEmailFromStorage()},routes:{forgotPassword:{name:k.remind},registration:{name:k.registration}},onOpen:()=>{g()},onFieldChange:(o,a)=>{o==="email"&&i.saveAuthEmailToStorage(a)},onFieldFocus:(o,a)=>{m(o,a)},onLinkClick:o=>{if(o==="forgotPassword"){e();return}o==="registration"&&u()},onSubmitClick:()=>{C()},onValidationError:o=>{_({errors:o.errors,email:o.values.email||"",eventName:r.ERROR,prefix:S.VALIDATION_FRONT})},onValidationSuccess:()=>{A()},onResponseSuccess:async(o,a)=>{if(E({utm:B(),affiliate:y()}),i.clearAuthEmailFromStorage(),I(o)&&o.step===N.EMAIL_VERIFICATION){await d(),await R(a.email||"");return}await h()},onResponseError:(o,a)=>{_({errors:{email:a.errors.email||""},email:a.values.email||"",eventName:r.ERROR,prefix:S.VALIDATION_BACK})},transformLoginPayload:P}})}}const de=H({__name:"LoginPage",setup(l){const{config:n}=Z();return(i,c)=>(z(),Q(p(v),{"data-test":"login"},{default:J(()=>[X(p(M),{config:p(n)},null,8,["config"])]),_:1}))}});export{de as default};
2//# sourceMappingURL=LoginPage-CanCgqbc.js.map

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.