import{t as e}from"./axios-DSyjHw-i.js";import{t}from"./sessionSettingStore-ZHUB-lwo.js";function n(){return navigator.userAgent.startsWith(`LeagueBroadcast/3.0`)}async function r(r){if(!n()){window.open(r,`_blank`,`noopener,noreferrer`);return}let i=t();await e.post(`http://${i.host}:${i.port}${i.apiRoute}/utils/openbrowser`,{url:r})}export{r as n,n as t};