1import{d as l}from"./auth-Iqt7olso.js";import{_ as u,d as f,c as g,o as I,f as y,h,B as w,k as L,u as b,j as k}from"./index-CtJJhhk9.js";import{u as v}from"./user-BPwERnH2.js";import{j as U}from"./util-kJ-4RNQS.js";import{S as j}from"./index-BQ_tdIp7.js";import{b as x}from"./request-BQVq35jy.js";import"./user-BkI1vnK8.js";import"./urlConf-D5f8gSXt.js";import"./index-Bpv7UoSk.js";import"./styleChecker-DfT7bwBi.js";import"./index-DbQArWg_.js";import"./initDefaultProps-YqRSWzmR.js";import"./pickAttrs-WGgRyuF0.js";import"./fade-DNHxjsw2.js";const _=f({name:"LNLGCallback",setup(){const o=L(),i=b(),r=v(),a=h({authLoading:!1});return w(async()=>{var e;const t=await r.getUserInfo({unbind:!0});if(!((e=t==null?void 0:t.data)!=null&&e.userId))if(a.authLoading=!0,o.query.code){const s=decodeURIComponent(o.query.code),n=i.currentRoute.value.params.externalId,c=window.location.href.split("?")[0],d={externalId:n,data:JSON.stringify({callbackUrl:c,code:s,deviceId:await U()})};await(async m=>{try{const{code:p}=await l(m);p===0&&(a.authLoading=!1,r.getUserInfo())}finally{a.authLoading=!1}})(d)}else x.error("认è¯å¤±è´¥")}),{...k(a)}}}),q={class:"callback-container"},K=u(_,[["render",function(o,i,r,a,t,e){const s=j;return I(),g("div",q,[y(s,{tip:"ææä¸...",size:"large"})])}],["__scopeId","data-v-2034dfc7"]]);export{K 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.