PageSourceSearch

https://lpexpress.lt/chunk-PESKX32H.js

js lpexpress.lt collected 2026-10-03 21:32:21 UTC 1,466 bytes, 1 lines download raw bytes

1import{c as y}from"./chunk-FW5GK6XK.js";import{d as _,h as C}from"./chunk-Q5PMO32E.js";import{F as p,Pb as l,ib as f,ie as v,kf as S,pb as g}from"./chunk-PSR7KS5X.js";import{Wb as m,Xb as d,Yb as h,i as o,pa as t,x as c,yb as u}from"./chunk-VP35CESY.js";var q=(()=>{let i=class i{constructor(){this._currentUserDataService=t(v),this._route=t(p),this._authApi=t(_),this._errorHandlerService=t(l),this._authStateService=t(g),this._languageService=t(S)}ngOnInit(){return o(this,null,function*(){yield this.checkLogin()})}checkLogin(){return o(this,null,function*(){if(!this._route.snapshot.queryParams.signIn){yield this._currentUserDataService.redirectBasedOnIsVerified();return}this._route.queryParams.subscribe(e=>o(this,null,function*(){let r=e.signIn,s=e.code,I=e.error,A=e.error_code,k=e.error_reason;if(I)this._errorHandlerService.handleError(`Nepavyko prisijungti (${A}): ${k}`);else if(s&&r&&(r==="google"||r==="facebook")){let a=yield c(this._authApi.signInWithCode(s));this._authStateService.authToken=f(a),C(a.scope.includes("ACTIVE_CONTRACT"),!0),this._languageService.tagLoginWhenReady()}yield this._currentUserDataService.redirectBasedOnIsVerified()}))})}};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=u({type:i,selectors:[["us-login-loader"]],decls:2,vars:0,consts:[[1,"h-screen"]],template:function(r,s){r&1&&(m(0,"div",0),h(1,"us-loading-view"),d())},dependencies:[y],encapsulation:2});let n=i;return n})();export{q as LoginLoaderComponent};

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.