PageSourceSearch

https://tv.mts.by/assets/ssr/QrLoginPage-BjKSOUrP.js

js mts.by collected 2026-10-01 10:19:19 UTC 1,058 bytes, 1 lines download raw bytes

1import{j as _,u as h,a as q,r as l,o as v,d as w,k as S,s as x,B as A}from"./vue-D47mIxKn.js";import{l as y,u as R,q as T,x as k,d as B}from"./sequoia-core-C9opehXT.js";import{g as C}from"./sequoia-ui-4FY3kbpl.js";import"./lodash-nRwxe0ET.js";import"./vendor-DAO7f7jf.js";import"./svg-BVh902Jo.js";import"./uuid-ay_OU3Vs.js";const L={class:"qr-login-page container-1440"},U=_({__name:"QrLoginPage",setup($){var r;const m=y("qr-login-page"),p=B(),g=h(),s=q(),a=R(),{isAnonymous:d}=T(),t=l(((r=g.query.code)==null?void 0:r.toString())||""),e=l(null);v(async()=>{if(window.onblur=()=>{e.value&&clearTimeout(e.value),n()},d.value)f();else try{await k.authAndReg.qrLogin(a,p,t),await s.replace("/qr-success")}catch(o){m.error(o)}}),w(()=>{e.value&&clearTimeout(e.value)});const f=()=>{var i,u;const o=(u=(i=a.siteConfig)==null?void 0:i.appStores)==null?void 0:u.scheme,c=2e3;e.value=setTimeout(n,c),o&&(window.location.href=`${o}qr-login/?code=${t.value}`)},n=()=>{s.replace(`/login?qr=${t.value}`)};return(o,c)=>(x(),S("main",L,[A(C)]))}});export{U as default};

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.