(async () => {
  const options = {
    ProjectName: "Newbe_BookmarkManager",
    EnvironmentName: "",
    CompressionEnabled: "true"
  };

  const initializeInternal = (await import("./Modules/CoreInternal.js")).initializeInternal;
  const url = globalThis.location.origin + "/";
  const browserExtension = initializeInternal(options, url, "Debug");

  if (globalThis.StartBlazorBrowserExtension !== false) {
    await browserExtension.InitializeAsync(options.EnvironmentName);
  }
})();
console.warn("This script is deprecated, debugging is now handled directly from the Core.js file to automatically detect if the application is running outside a browser extension context.");