1import{i as y,j as _,f as h,k as w,l as I,u as k,m as D,c as u,a as f,w as x,n as r,b as E,d as R,p as q,q as v,s as M,o as i}from"./goLDb2lV.js";import{_ as P}from"./EhPrHLVg.js";import{L as S,M as T}from"./jh1pGnQn.js";import"./2KRBp8kZ.js";import"./rA9-YRhv.js";import"./Bb6d89PQ.js";import"./Bla455if.js";import"./Ns1MlECa.js";import"./LM7KSAH2.js";import"./D8QtM9bF.js";import"./DvUhTuKT.js";import"./C7EZ6lC_.js";import"./BAvOfIgb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"fbb98ac15a660e865a4b25e3fe07bb23c4aa4acf"}}catch{}})();try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bd00ae7a-a636-4bc8-949b-7d06e67a8d5b",e._sentryDebugIdIdentifier="sentry-dbid-bd00ae7a-a636-4bc8-949b-7d06e67a8d5b")}catch{}const A={class:"container py-8"},B={key:0,class:"container flex flex-col items-center"},G={__name:"login",setup(e){const a=y(),s=q(),n=v(),{t:p}=_(),{$localeRootPath:c,$sso:g}=h();w({title:p("account.loginPageTitle")});const l=M(()=>a.loginDisabled),{loggedIn:b}=I(),m=k();return D(()=>{m.gtmPushPageMeta({content_category:"account",page_type:"account"});const o=s.query.action;o&&o==="register"?n.push(c("/account/register")):o&&o==="passwordreset"&&n.push(c("/account/reset"));let t=!1;if(s.query.action&&s.query.redirectUrl?(t="learnworlds",window.localStorage.setItem("ow:redirectUrl",s.query.redirectUrl)):s.query.redirect&&(t="checkout"),t!==!1&&window.localStorage.setItem("ow:redirect",t),t!==!1&&b.value){const d=g.processOWRedirect(t);d&&n.push(d)}}),(o,t)=>(i(),u("div",A,[l.value?(i(),u("div",B,[f(r(S),{heading:o.$t("account.loginDisabledMassage")},{default:x(()=>[f(r(T),{class:"h-16 fill-br-green"})]),_:1},8,["heading"])])):l.value?R("",!0):(i(),E(r(P),{key:1,"register-cta-top":!0,class:"max-w-sm mx-auto mb-12"}))]))}};export{G as default}; 2//# sourceMappingURL=BODtM637.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.