import { Network as i } from "@accelbyte/sdk";
import "./accelbyte-widgets648.mjs";
import "./accelbyte-widgets649.mjs";
import "./accelbyte-widgets650.mjs";
import "./accelbyte-widgets651.mjs";
import "./accelbyte-widgets652.mjs";
import "./accelbyte-widgets653.mjs";
import "./accelbyte-widgets654.mjs";
import { parse as n } from "./accelbyte-widgets655.mjs";
import { Env as p } from "./accelbyte-widgets108.mjs";
class L {
  static async getLauncherDownloadLink(t) {
    if (!t)
      return "";
    const r = `${p.IS_DEV_MODE ? `${window.location.origin}/api/cdn-bucket/` : t}latest.yml`;
    try {
      const o = await i.create().get(r), a = n(o.data);
      return `${t + a.path}`;
    } catch {
      return "";
    }
  }
}
export {
  L as LauncherLink
};
