const currentImports = {};
      const exportSet = new Set(['Module', '__esModule', 'default', '_export_sfc']);
      let moduleMap = {
"auth/core/web":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'auth/core/web');
      return __federation_import('./__federation_expose_authCoreWeb-N-mh42Bs.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"auth/core/common":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'auth/core/common');
      return __federation_import('./__federation_expose_authCoreCommon-CIVhaGqo.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"better-auth/core/web":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'better-auth/core/web');
      return __federation_import('./__federation_expose_better-authCoreWeb-CMhPrXPA.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"better-auth/core/common":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'better-auth/core/common');
      return __federation_import('./__federation_expose_better-authCoreCommon-BIU3Fg7K.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"local-auth/core/web":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'local-auth/core/web');
      return __federation_import('./__federation_expose_local-authCoreWeb-BY-mP3uS.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"local-auth/core/common":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'local-auth/core/common');
      return __federation_import('./__federation_expose_local-authCoreCommon-DbuvGG7o.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"local-auth/admin/web":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'local-auth/admin/web');
      return __federation_import('./__federation_expose_local-authAdminWeb-CLU9aEy9.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"local-auth/admin/common":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'local-auth/admin/common');
      return __federation_import('./__federation_expose_local-authAdminCommon-DvHe9w29.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"placeholder-auth/core/web":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'placeholder-auth/core/web');
      return __federation_import('./__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"placeholder-auth/core/common":()=>{
      dynamicLoadingCss(["style-DiK_rD1L.css"], false, 'placeholder-auth/core/common');
      return __federation_import('./__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},};
    const seen = {};
    const dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
      const metaUrl = import.meta.url;
      if (typeof metaUrl == 'undefined') {
        console.warn('The remote style takes effect only when the build.target option in the vite.config.ts file is higher than that of "es2020".');
        return
      }
      const curUrl = metaUrl.substring(0, metaUrl.lastIndexOf('remoteEntry.js'));

      cssFilePaths.forEach(cssFilePath => {
        const href = curUrl + cssFilePath;
        if (href in seen) return
        seen[href] = true;
        if (dontAppendStylesToHead) {
          const key = 'css__plugin-auth__' + exposeItemName;
          if (window[key] == null) window[key] = [];
          window[key].push(href);
        } else {
          const element = document.head.appendChild(document.createElement('link'));
          element.href = href;
          element.rel = 'stylesheet';
        }
      });
    };
    async function __federation_import(name) {
        currentImports[name] ??= import(name);
        return currentImports[name]
    }    const get =(module) => {
      if(!moduleMap[module]) throw new Error('Can not find remote module ' + module)
      return moduleMap[module]();
    };
    const init =(shareScope) => {
      globalThis.__federation_shared__= globalThis.__federation_shared__|| {};
      Object.entries(shareScope).forEach(([key, value]) => {
        const versionKey = Object.keys(value)[0];
        const versionValue = Object.values(value)[0];
        const scope = versionValue.scope || 'default';
        globalThis.__federation_shared__[scope] = globalThis.__federation_shared__[scope] || {};
        const shared= globalThis.__federation_shared__[scope];
        (shared[key] = shared[key]||{})[versionKey] = versionValue;
      });
    };

export { dynamicLoadingCss, get, init };
//# sourceMappingURL=remoteEntry.js.map
