1import{d as i,o as r,Y as c,a3 as l,a as u,b as d}from"./index-DcSVvNrM.js";const p=i({__name:"YandexToken",setup(h){return r(async()=>{const{finishAuthWithAccessToken:n}=c(),e=new URL(window.location.href),a=e.searchParams,t=new URLSearchParams(e.hash.startsWith("#")?e.hash.slice(1):e.hash),s=a.get("access_token")??t.get("access_token");if(s!==null&&s!==""){await n(s),requestAnimationFrame(()=>{window.opener!==null&&window.opener.closed===!1&&window.close()});return}if(await l("https://yastatic.net/s3/passport-sdk/autofill/v1/sdk-suggest-token-with-polyfills-latest.js"),typeof window.YaSendSuggestToken!="function"){console.error("Yandex sdk-suggest-token is not available");return}const o=window.location.origin;window.YaSendSuggestToken(o,{})}),(n,e)=>(u(),d("div"))}});export{p 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.