@terrestris/shogun-admin 18.0.0 → 18.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/js/{common.be2dc57a67074613.js → common.6b72d413fe1981cf.js} +2 -2
- package/dist/js/{common.be2dc57a67074613.js.map → common.6b72d413fe1981cf.js.map} +1 -1
- package/dist/js/{manifest.97480ff8d6c45767.js → manifest.a22bc14b22a40615.js} +3 -3
- package/dist/js/{manifest.97480ff8d6c45767.js.map → manifest.a22bc14b22a40615.js.map} +1 -1
- package/dist/mf-manifest.json +21 -13
- package/dist/mf-stats.json +21 -13
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"js/manifest.97480ff8d6c45767.js","sources":["webpack://@terrestris/shogun-admin/./node_modules/@module-federation/error-codes/dist/index.cjs.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_like_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_with_holes.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_iterable_to_array_limit.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_non_iterable_rest.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_sliced_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_without_holes.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_iterable_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_non_iterable_spread.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_to_consumable_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_type_of.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js","webpack://@terrestris/shogun-admin/==void 0","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime-core/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime/dist/utils.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/sdk/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/webpack-bundler-runtime/dist/constant.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/webpack-bundler-runtime/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/module_federation/runtime","webpack://@terrestris/shogun-admin/webpack/runtime/compat_get_default_export","webpack://@terrestris/shogun-admin/webpack/runtime/define_property_getters","webpack://@terrestris/shogun-admin/webpack/runtime/ensure_chunk","webpack://@terrestris/shogun-admin/webpack/runtime/get css chunk filename","webpack://@terrestris/shogun-admin/webpack/runtime/get javascript chunk filename","webpack://@terrestris/shogun-admin/webpack/runtime/global","webpack://@terrestris/shogun-admin/webpack/runtime/has_own_property","webpack://@terrestris/shogun-admin/webpack/runtime/load_script","webpack://@terrestris/shogun-admin/webpack/runtime/make_namespace_object","webpack://@terrestris/shogun-admin/webpack/runtime/node_module_decorator","webpack://@terrestris/shogun-admin/webpack/runtime/on_chunk_loaded","webpack://@terrestris/shogun-admin/webpack/runtime/rspack_version","webpack://@terrestris/shogun-admin/webpack/runtime/sharing","webpack://@terrestris/shogun-admin/webpack/runtime/auto_public_path","webpack://@terrestris/shogun-admin/webpack/runtime/consumes_loading","webpack://@terrestris/shogun-admin/webpack/runtime/css_loading","webpack://@terrestris/shogun-admin/webpack/runtime/jsonp_chunk_loading","webpack://@terrestris/shogun-admin/webpack/runtime/rspack_unique_id","webpack://@terrestris/shogun-admin/webpack/runtime/embed_federation_runtime"],"sourcesContent":["'use strict';\n\nconst RUNTIME_001 = 'RUNTIME-001';\nconst RUNTIME_002 = 'RUNTIME-002';\nconst RUNTIME_003 = 'RUNTIME-003';\nconst RUNTIME_004 = 'RUNTIME-004';\nconst RUNTIME_005 = 'RUNTIME-005';\nconst RUNTIME_006 = 'RUNTIME-006';\nconst RUNTIME_007 = 'RUNTIME-007';\nconst RUNTIME_008 = 'RUNTIME-008';\nconst RUNTIME_009 = 'RUNTIME-009';\nconst TYPE_001 = 'TYPE-001';\nconst BUILD_001 = 'BUILD-001';\nconst BUILD_002 = 'BUILD-002';\n\nconst getDocsUrl = (errorCode) => {\n const type = errorCode.split('-')[0].toLowerCase();\n return `View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${type}/${errorCode}`;\n};\nconst getShortErrorMsg = (errorCode, errorDescMap, args, originalErrorMsg) => {\n const msg = [`${[errorDescMap[errorCode]]} #${errorCode}`];\n args && msg.push(`args: ${JSON.stringify(args)}`);\n msg.push(getDocsUrl(errorCode));\n originalErrorMsg && msg.push(`Original Error Message:\\n ${originalErrorMsg}`);\n return msg.join('\\n');\n};\n\nconst runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n};\nconst typeDescMap = {\n [TYPE_001]: 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\nconst buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\nconst errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n\nexports.BUILD_001 = BUILD_001;\nexports.BUILD_002 = BUILD_002;\nexports.RUNTIME_001 = RUNTIME_001;\nexports.RUNTIME_002 = RUNTIME_002;\nexports.RUNTIME_003 = RUNTIME_003;\nexports.RUNTIME_004 = RUNTIME_004;\nexports.RUNTIME_005 = RUNTIME_005;\nexports.RUNTIME_006 = RUNTIME_006;\nexports.RUNTIME_007 = RUNTIME_007;\nexports.RUNTIME_008 = RUNTIME_008;\nexports.RUNTIME_009 = RUNTIME_009;\nexports.TYPE_001 = TYPE_001;\nexports.buildDescMap = buildDescMap;\nexports.errorDescMap = errorDescMap;\nexports.getShortErrorMsg = getShortErrorMsg;\nexports.runtimeDescMap = runtimeDescMap;\nexports.typeDescMap = typeDescMap;\n//# sourceMappingURL=index.cjs.js.map\n","function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\nexport { _array_like_to_array as _ };\n","function _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nexport { _array_with_holes as _ };\n","function _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\nexport { _iterable_to_array_limit as _ };\n","function _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_rest as _ };\n","import { _ as _array_with_holes } from \"./_array_with_holes.js\";\nimport { _ as _iterable_to_array_limit } from \"./_iterable_to_array_limit.js\";\nimport { _ as _non_iterable_rest } from \"./_non_iterable_rest.js\";\nimport { _ as _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nfunction _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nexport { _sliced_to_array as _ };\n","import { _ as _array_like_to_array } from \"./_array_like_to_array.js\";\n\nfunction _array_without_holes(arr) {\n if (Array.isArray(arr)) return _array_like_to_array(arr);\n}\nexport { _array_without_holes as _ };\n","function _iterable_to_array(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) {\n return Array.from(iter);\n }\n}\nexport { _iterable_to_array as _ };\n","function _non_iterable_spread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_spread as _ };\n","import { _ as _array_without_holes } from \"./_array_without_holes.js\";\nimport { _ as _iterable_to_array } from \"./_iterable_to_array.js\";\nimport { _ as _non_iterable_spread } from \"./_non_iterable_spread.js\";\nimport { _ as _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nfunction _to_consumable_array(arr) {\n return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();\n}\nexport { _to_consumable_array as _ };\n","function _type_of(obj) {\n \"@swc/helpers - typeof\";\n\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nexport { _type_of as _ };\n","import { _ as _array_like_to_array } from \"./_array_like_to_array.js\";\n\nfunction _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n\n var n = Object.prototype.toString.call(o).slice(8, -1);\n\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nexport { _unsupported_iterable_to_array as _ };\n","import __module_federation_bundler_runtime__ from \"/home/runner/work/shogun-admin/shogun-admin/node_modules/@module-federation/webpack-bundler-runtime/dist/index.cjs.cjs\";const __module_federation_runtime_plugins__ = [];const __module_federation_remote_infos__ = {};const __module_federation_container_name__ = \"SHOGunAdmin\";const __module_federation_share_strategy__ = \"version-first\";if((__webpack_require__.initializeSharingData||__webpack_require__.initializeExposesData)&&__webpack_require__.federation){var __webpack_require___remotesLoadingData,__webpack_require___remotesLoadingData1,__webpack_require___initializeSharingData,__webpack_require___consumesLoadingData,__webpack_require___consumesLoadingData1,__webpack_require___initializeExposesData,__webpack_require___consumesLoadingData2;const override=(obj,key,value)=>{if(!obj)return;if(obj[key])obj[key]=value};const merge=(obj,key,fn)=>{const value=fn();if(Array.isArray(value)){var _obj,_key;var _;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=[];obj[key].push(...value)}else if(typeof value===\"object\"&&value!==null){var _obj1,_key1;var _1;(_1=(_obj1=obj)[_key1=key])!==null&&_1!==void 0?_1:_obj1[_key1]={};Object.assign(obj[key],value)}};const early=(obj,key,initial)=>{var _obj,_key;var _;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=initial()};var __webpack_require___remotesLoadingData_chunkMapping;const remotesLoadingChunkMapping=(__webpack_require___remotesLoadingData_chunkMapping=(__webpack_require___remotesLoadingData=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData===void 0?void 0:__webpack_require___remotesLoadingData.chunkMapping)!==null&&__webpack_require___remotesLoadingData_chunkMapping!==void 0?__webpack_require___remotesLoadingData_chunkMapping:{};var __webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping;const remotesLoadingModuleIdToRemoteDataMapping=(__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping=(__webpack_require___remotesLoadingData1=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData1===void 0?void 0:__webpack_require___remotesLoadingData1.moduleIdToRemoteDataMapping)!==null&&__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping!==void 0?__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping:{};var __webpack_require___initializeSharingData_scopeToSharingDataMapping;const initializeSharingScopeToInitDataMapping=(__webpack_require___initializeSharingData_scopeToSharingDataMapping=(__webpack_require___initializeSharingData=__webpack_require__.initializeSharingData)===null||__webpack_require___initializeSharingData===void 0?void 0:__webpack_require___initializeSharingData.scopeToSharingDataMapping)!==null&&__webpack_require___initializeSharingData_scopeToSharingDataMapping!==void 0?__webpack_require___initializeSharingData_scopeToSharingDataMapping:{};var __webpack_require___consumesLoadingData_chunkMapping;const consumesLoadingChunkMapping=(__webpack_require___consumesLoadingData_chunkMapping=(__webpack_require___consumesLoadingData=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData===void 0?void 0:__webpack_require___consumesLoadingData.chunkMapping)!==null&&__webpack_require___consumesLoadingData_chunkMapping!==void 0?__webpack_require___consumesLoadingData_chunkMapping:{};var __webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping;const consumesLoadingModuleToConsumeDataMapping=(__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping=(__webpack_require___consumesLoadingData1=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData1===void 0?void 0:__webpack_require___consumesLoadingData1.moduleIdToConsumeDataMapping)!==null&&__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping!==void 0?__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping:{};const consumesLoadinginstalledModules={};const initializeSharingInitPromises=[];const initializeSharingInitTokens={};const containerShareScope=(__webpack_require___initializeExposesData=__webpack_require__.initializeExposesData)===null||__webpack_require___initializeExposesData===void 0?void 0:__webpack_require___initializeExposesData.shareScope;for(const key in __module_federation_bundler_runtime__){__webpack_require__.federation[key]=__module_federation_bundler_runtime__[key]}early(__webpack_require__.federation,\"consumesLoadingModuleToHandlerMapping\",()=>{const consumesLoadingModuleToHandlerMapping={};for(let[moduleId,data]of Object.entries(consumesLoadingModuleToConsumeDataMapping)){consumesLoadingModuleToHandlerMapping[moduleId]={getter:data.fallback,shareInfo:{shareConfig:{fixedDependencies:false,requiredVersion:data.requiredVersion,strictVersion:data.strictVersion,singleton:data.singleton,eager:data.eager},scope:[data.shareScope]},shareKey:data.shareKey}}return consumesLoadingModuleToHandlerMapping});early(__webpack_require__.federation,\"initOptions\",()=>({}));early(__webpack_require__.federation.initOptions,\"name\",()=>__module_federation_container_name__);early(__webpack_require__.federation.initOptions,\"shareStrategy\",()=>__module_federation_share_strategy__);early(__webpack_require__.federation.initOptions,\"shared\",()=>{const shared={};for(let[scope,stages]of Object.entries(initializeSharingScopeToInitDataMapping)){for(let stage of stages){if(typeof stage===\"object\"&&stage!==null){const{name,version,factory,eager,singleton,requiredVersion,strictVersion}=stage;const shareConfig={};const isValidValue=function(val){return typeof val!==\"undefined\"};if(isValidValue(singleton)){shareConfig.singleton=singleton}if(isValidValue(requiredVersion)){shareConfig.requiredVersion=requiredVersion}if(isValidValue(eager)){shareConfig.eager=eager}if(isValidValue(strictVersion)){shareConfig.strictVersion=strictVersion}const options={version,scope:[scope],shareConfig,get:factory};if(shared[name]){shared[name].push(options)}else{shared[name]=[options]}}}}return shared});merge(__webpack_require__.federation.initOptions,\"remotes\",()=>Object.values(__module_federation_remote_infos__).flat().filter(remote=>remote.externalType===\"script\"));merge(__webpack_require__.federation.initOptions,\"plugins\",()=>__module_federation_runtime_plugins__);early(__webpack_require__.federation,\"bundlerRuntimeOptions\",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions,\"remotes\",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"chunkMapping\",()=>remotesLoadingChunkMapping);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"remoteInfos\",()=>__module_federation_remote_infos__);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"idToExternalAndNameMapping\",()=>{const remotesLoadingIdToExternalAndNameMappingMapping={};for(let[moduleId,data]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){remotesLoadingIdToExternalAndNameMappingMapping[moduleId]=[data.shareScope,data.name,data.externalModuleId,data.remoteName]}return remotesLoadingIdToExternalAndNameMappingMapping});early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"webpackRequire\",()=>__webpack_require__);merge(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"idToRemoteMap\",()=>{const idToRemoteMap={};for(let[id,remoteData]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){const info=__module_federation_remote_infos__[remoteData.remoteName];if(info)idToRemoteMap[id]=info}return idToRemoteMap});override(__webpack_require__,\"S\",__webpack_require__.federation.bundlerRuntime.S);if(__webpack_require__.federation.attachShareScopeMap){__webpack_require__.federation.attachShareScopeMap(__webpack_require__)}override(__webpack_require__.f,\"remotes\",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.remotes({chunkId,promises,chunkMapping:remotesLoadingChunkMapping,idToExternalAndNameMapping:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:__webpack_require__}));override(__webpack_require__.f,\"consumes\",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.consumes({chunkId,promises,chunkMapping:consumesLoadingChunkMapping,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping,installedModules:consumesLoadinginstalledModules,webpackRequire:__webpack_require__}));override(__webpack_require__,\"I\",(name,initScope)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:name,initScope,initPromises:initializeSharingInitPromises,initTokens:initializeSharingInitTokens,webpackRequire:__webpack_require__}));override(__webpack_require__,\"initContainer\",(shareScope,initScope,remoteEntryInitOptions)=>__webpack_require__.federation.bundlerRuntime.initContainerEntry({shareScope,initScope,remoteEntryInitOptions,shareScopeKey:containerShareScope,webpackRequire:__webpack_require__}));override(__webpack_require__,\"getContainer\",(module1,getScope)=>{var moduleMap=__webpack_require__.initializeExposesData.moduleMap;__webpack_require__.R=getScope;getScope=Object.prototype.hasOwnProperty.call(moduleMap,module1)?moduleMap[module1]():Promise.resolve().then(()=>{throw new Error('Module \"'+module1+'\" does not exist in container.')});__webpack_require__.R=undefined;return getScope});__webpack_require__.federation.instance=__webpack_require__.federation.runtime.init(__webpack_require__.federation.initOptions);if((__webpack_require___consumesLoadingData2=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData2===void 0?void 0:__webpack_require___consumesLoadingData2.initialConsumes){__webpack_require__.federation.bundlerRuntime.installInitialConsumes({webpackRequire:__webpack_require__,installedModules:consumesLoadinginstalledModules,initialConsumes:__webpack_require__.consumesLoadingData.initialConsumes,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping})}}","'use strict';\n\nvar sdk = require('@module-federation/sdk');\nvar errorCodes = require('@module-federation/error-codes');\n\nconst LOG_CATEGORY = '[ Federation Runtime ]';\n// FIXME: pre-bundle ?\nconst logger = sdk.createLogger(LOG_CATEGORY);\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction assert(condition, msg) {\n if (!condition) {\n error(msg);\n }\n}\nfunction error(msg) {\n if (msg instanceof Error) {\n // Check if the message already starts with the log category to avoid duplication\n if (!msg.message.startsWith(LOG_CATEGORY)) {\n msg.message = `${LOG_CATEGORY}: ${msg.message}`;\n }\n throw msg;\n }\n throw new Error(`${LOG_CATEGORY}: ${msg}`);\n}\nfunction warn(msg) {\n if (msg instanceof Error) {\n // Check if the message already starts with the log category to avoid duplication\n if (!msg.message.startsWith(LOG_CATEGORY)) {\n msg.message = `${LOG_CATEGORY}: ${msg.message}`;\n }\n logger.warn(msg);\n }\n else {\n logger.warn(msg);\n }\n}\n\nfunction addUniqueItem(arr, item) {\n if (arr.findIndex((name) => name === item) === -1) {\n arr.push(item);\n }\n return arr;\n}\nfunction getFMId(remoteInfo) {\n if ('version' in remoteInfo && remoteInfo.version) {\n return `${remoteInfo.name}:${remoteInfo.version}`;\n }\n else if ('entry' in remoteInfo && remoteInfo.entry) {\n return `${remoteInfo.name}:${remoteInfo.entry}`;\n }\n else {\n return `${remoteInfo.name}`;\n }\n}\nfunction isRemoteInfoWithEntry(remote) {\n return typeof remote.entry !== 'undefined';\n}\nfunction isPureRemoteEntry(remote) {\n return !remote.entry.includes('.json');\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nasync function safeWrapper(callback, disableWarn) {\n try {\n const res = await callback();\n return res;\n }\n catch (e) {\n !disableWarn && warn(e);\n return;\n }\n}\nfunction isObject(val) {\n return val && typeof val === 'object';\n}\nconst objectToString = Object.prototype.toString;\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isPlainObject(val) {\n return objectToString.call(val) === '[object Object]';\n}\nfunction isStaticResourcesEqual(url1, url2) {\n const REG_EXP = /^(https?:)?\\/\\//i;\n // Transform url1 and url2 into relative paths\n const relativeUrl1 = url1.replace(REG_EXP, '').replace(/\\/$/, '');\n const relativeUrl2 = url2.replace(REG_EXP, '').replace(/\\/$/, '');\n // Check if the relative paths are identical\n return relativeUrl1 === relativeUrl2;\n}\nfunction arrayOptions(options) {\n return Array.isArray(options) ? options : [options];\n}\nfunction getRemoteEntryInfoFromSnapshot(snapshot) {\n const defaultRemoteEntryInfo = {\n url: '',\n type: 'global',\n globalName: '',\n };\n if (sdk.isBrowserEnv() || sdk.isReactNativeEnv()) {\n return 'remoteEntry' in snapshot\n ? {\n url: snapshot.remoteEntry,\n type: snapshot.remoteEntryType,\n globalName: snapshot.globalName,\n }\n : defaultRemoteEntryInfo;\n }\n if ('ssrRemoteEntry' in snapshot) {\n return {\n url: snapshot.ssrRemoteEntry || defaultRemoteEntryInfo.url,\n type: snapshot.ssrRemoteEntryType || defaultRemoteEntryInfo.type,\n globalName: snapshot.globalName,\n };\n }\n return defaultRemoteEntryInfo;\n}\nconst processModuleAlias = (name, subPath) => {\n // @host/ ./button -> @host/button\n let moduleName;\n if (name.endsWith('/')) {\n moduleName = name.slice(0, -1);\n }\n else {\n moduleName = name;\n }\n if (subPath.startsWith('.')) {\n subPath = subPath.slice(1);\n }\n moduleName = moduleName + subPath;\n return moduleName;\n};\n\nconst CurrentGlobal = typeof globalThis === 'object' ? globalThis : window;\nconst nativeGlobal = (() => {\n try {\n // get real window (incase of sandbox)\n return document.defaultView;\n }\n catch {\n // node env\n return CurrentGlobal;\n }\n})();\nconst Global = nativeGlobal;\nfunction definePropertyGlobalVal(target, key, val) {\n Object.defineProperty(target, key, {\n value: val,\n configurable: false,\n writable: true,\n });\n}\nfunction includeOwnProperty(target, key) {\n return Object.hasOwnProperty.call(target, key);\n}\n// This section is to prevent encapsulation by certain microfrontend frameworks. Due to reuse policies, sandbox escapes.\n// The sandbox in the microfrontend does not replicate the value of 'configurable'.\n// If there is no loading content on the global object, this section defines the loading object.\nif (!includeOwnProperty(CurrentGlobal, '__GLOBAL_LOADING_REMOTE_ENTRY__')) {\n definePropertyGlobalVal(CurrentGlobal, '__GLOBAL_LOADING_REMOTE_ENTRY__', {});\n}\nconst globalLoading = CurrentGlobal.__GLOBAL_LOADING_REMOTE_ENTRY__;\nfunction setGlobalDefaultVal(target) {\n if (includeOwnProperty(target, '__VMOK__') &&\n !includeOwnProperty(target, '__FEDERATION__')) {\n definePropertyGlobalVal(target, '__FEDERATION__', target.__VMOK__);\n }\n if (!includeOwnProperty(target, '__FEDERATION__')) {\n definePropertyGlobalVal(target, '__FEDERATION__', {\n __GLOBAL_PLUGIN__: [],\n __INSTANCES__: [],\n moduleInfo: {},\n __SHARE__: {},\n __MANIFEST_LOADING__: {},\n __PRELOADED_MAP__: new Map(),\n });\n definePropertyGlobalVal(target, '__VMOK__', target.__FEDERATION__);\n }\n target.__FEDERATION__.__GLOBAL_PLUGIN__ ??= [];\n target.__FEDERATION__.__INSTANCES__ ??= [];\n target.__FEDERATION__.moduleInfo ??= {};\n target.__FEDERATION__.__SHARE__ ??= {};\n target.__FEDERATION__.__MANIFEST_LOADING__ ??= {};\n target.__FEDERATION__.__PRELOADED_MAP__ ??= new Map();\n}\nsetGlobalDefaultVal(CurrentGlobal);\nsetGlobalDefaultVal(nativeGlobal);\nfunction resetFederationGlobalInfo() {\n CurrentGlobal.__FEDERATION__.__GLOBAL_PLUGIN__ = [];\n CurrentGlobal.__FEDERATION__.__INSTANCES__ = [];\n CurrentGlobal.__FEDERATION__.moduleInfo = {};\n CurrentGlobal.__FEDERATION__.__SHARE__ = {};\n CurrentGlobal.__FEDERATION__.__MANIFEST_LOADING__ = {};\n Object.keys(globalLoading).forEach((key) => {\n delete globalLoading[key];\n });\n}\nfunction setGlobalFederationInstance(FederationInstance) {\n CurrentGlobal.__FEDERATION__.__INSTANCES__.push(FederationInstance);\n}\nfunction getGlobalFederationConstructor() {\n return CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__;\n}\nfunction setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {\n if (isDebug) {\n CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;\n CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = \"0.21.6\";\n }\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction getInfoWithoutType(target, key) {\n if (typeof key === 'string') {\n const keyRes = target[key];\n if (keyRes) {\n return {\n value: target[key],\n key: key,\n };\n }\n else {\n const targetKeys = Object.keys(target);\n for (const targetKey of targetKeys) {\n const [targetTypeOrName, _] = targetKey.split(':');\n const nKey = `${targetTypeOrName}:${key}`;\n const typeWithKeyRes = target[nKey];\n if (typeWithKeyRes) {\n return {\n value: typeWithKeyRes,\n key: nKey,\n };\n }\n }\n return {\n value: undefined,\n key: key,\n };\n }\n }\n else {\n throw new Error('key must be string');\n }\n}\nconst getGlobalSnapshot = () => nativeGlobal.__FEDERATION__.moduleInfo;\nconst getTargetSnapshotInfoByModuleInfo = (moduleInfo, snapshot) => {\n // Check if the remote is included in the hostSnapshot\n const moduleKey = getFMId(moduleInfo);\n const getModuleInfo = getInfoWithoutType(snapshot, moduleKey).value;\n // The remoteSnapshot might not include a version\n if (getModuleInfo &&\n !getModuleInfo.version &&\n 'version' in moduleInfo &&\n moduleInfo['version']) {\n getModuleInfo.version = moduleInfo['version'];\n }\n if (getModuleInfo) {\n return getModuleInfo;\n }\n // If the remote is not included in the hostSnapshot, deploy a micro app snapshot\n if ('version' in moduleInfo && moduleInfo['version']) {\n const { version, ...resModuleInfo } = moduleInfo;\n const moduleKeyWithoutVersion = getFMId(resModuleInfo);\n const getModuleInfoWithoutVersion = getInfoWithoutType(nativeGlobal.__FEDERATION__.moduleInfo, moduleKeyWithoutVersion).value;\n if (getModuleInfoWithoutVersion?.version === version) {\n return getModuleInfoWithoutVersion;\n }\n }\n return;\n};\nconst getGlobalSnapshotInfoByModuleInfo = (moduleInfo) => getTargetSnapshotInfoByModuleInfo(moduleInfo, nativeGlobal.__FEDERATION__.moduleInfo);\nconst setGlobalSnapshotInfoByModuleInfo = (remoteInfo, moduleDetailInfo) => {\n const moduleKey = getFMId(remoteInfo);\n nativeGlobal.__FEDERATION__.moduleInfo[moduleKey] = moduleDetailInfo;\n return nativeGlobal.__FEDERATION__.moduleInfo;\n};\nconst addGlobalSnapshot = (moduleInfos) => {\n nativeGlobal.__FEDERATION__.moduleInfo = {\n ...nativeGlobal.__FEDERATION__.moduleInfo,\n ...moduleInfos,\n };\n return () => {\n const keys = Object.keys(moduleInfos);\n for (const key of keys) {\n delete nativeGlobal.__FEDERATION__.moduleInfo[key];\n }\n };\n};\nconst getRemoteEntryExports = (name, globalName) => {\n const remoteEntryKey = globalName || `__FEDERATION_${name}:custom__`;\n const entryExports = CurrentGlobal[remoteEntryKey];\n return {\n remoteEntryKey,\n entryExports,\n };\n};\n// This function is used to register global plugins.\n// It iterates over the provided plugins and checks if they are already registered.\n// If a plugin is not registered, it is added to the global plugins.\n// If a plugin is already registered, a warning message is logged.\nconst registerGlobalPlugins = (plugins) => {\n const { __GLOBAL_PLUGIN__ } = nativeGlobal.__FEDERATION__;\n plugins.forEach((plugin) => {\n if (__GLOBAL_PLUGIN__.findIndex((p) => p.name === plugin.name) === -1) {\n __GLOBAL_PLUGIN__.push(plugin);\n }\n else {\n warn(`The plugin ${plugin.name} has been registered.`);\n }\n });\n};\nconst getGlobalHostPlugins = () => nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;\nconst getPreloaded = (id) => CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);\nconst setPreloaded = (id) => CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id, true);\n\nconst DEFAULT_SCOPE = 'default';\nconst DEFAULT_REMOTE_TYPE = 'global';\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// those constants are based on https://www.rubydoc.info/gems/semantic_range/3.0.0/SemanticRange#BUILDIDENTIFIER-constant\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nconst buildIdentifier = '[0-9A-Za-z-]+';\nconst build = `(?:\\\\+(${buildIdentifier}(?:\\\\.${buildIdentifier})*))`;\nconst numericIdentifier = '0|[1-9]\\\\d*';\nconst numericIdentifierLoose = '[0-9]+';\nconst nonNumericIdentifier = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*';\nconst preReleaseIdentifierLoose = `(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;\nconst preReleaseLoose = `(?:-?(${preReleaseIdentifierLoose}(?:\\\\.${preReleaseIdentifierLoose})*))`;\nconst preReleaseIdentifier = `(?:${numericIdentifier}|${nonNumericIdentifier})`;\nconst preRelease = `(?:-(${preReleaseIdentifier}(?:\\\\.${preReleaseIdentifier})*))`;\nconst xRangeIdentifier = `${numericIdentifier}|x|X|\\\\*`;\nconst xRangePlain = `[v=\\\\s]*(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;\nconst hyphenRange = `^\\\\s*(${xRangePlain})\\\\s+-\\\\s+(${xRangePlain})\\\\s*$`;\nconst mainVersionLoose = `(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})`;\nconst loosePlain = `[v=\\\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;\nconst gtlt = '((?:<|>)?=?)';\nconst comparatorTrim = `(\\\\s*)${gtlt}\\\\s*(${loosePlain}|${xRangePlain})`;\nconst loneTilde = '(?:~>?)';\nconst tildeTrim = `(\\\\s*)${loneTilde}\\\\s+`;\nconst loneCaret = '(?:\\\\^)';\nconst caretTrim = `(\\\\s*)${loneCaret}\\\\s+`;\nconst star = '(<|>)?=?\\\\s*\\\\*';\nconst caret = `^${loneCaret}${xRangePlain}$`;\nconst mainVersion = `(${numericIdentifier})\\\\.(${numericIdentifier})\\\\.(${numericIdentifier})`;\nconst fullPlain = `v?${mainVersion}${preRelease}?${build}?`;\nconst tilde = `^${loneTilde}${xRangePlain}$`;\nconst xRange = `^${gtlt}\\\\s*${xRangePlain}$`;\nconst comparator = `^${gtlt}\\\\s*(${fullPlain})$|^$`;\n// copy from semver package\nconst gte0 = '^\\\\s*>=\\\\s*0.0.0\\\\s*$';\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseRegex(source) {\n return new RegExp(source);\n}\nfunction isXVersion(version) {\n return !version || version.toLowerCase() === 'x' || version === '*';\n}\nfunction pipe(...fns) {\n return (x) => fns.reduce((v, f) => f(v), x);\n}\nfunction extractComparator(comparatorString) {\n return comparatorString.match(parseRegex(comparator));\n}\nfunction combineVersion(major, minor, patch, preRelease) {\n const mainVersion = `${major}.${minor}.${patch}`;\n if (preRelease) {\n return `${mainVersion}-${preRelease}`;\n }\n return mainVersion;\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseHyphen(range) {\n return range.replace(parseRegex(hyphenRange), (_range, from, fromMajor, fromMinor, fromPatch, _fromPreRelease, _fromBuild, to, toMajor, toMinor, toPatch, toPreRelease) => {\n if (isXVersion(fromMajor)) {\n from = '';\n }\n else if (isXVersion(fromMinor)) {\n from = `>=${fromMajor}.0.0`;\n }\n else if (isXVersion(fromPatch)) {\n from = `>=${fromMajor}.${fromMinor}.0`;\n }\n else {\n from = `>=${from}`;\n }\n if (isXVersion(toMajor)) {\n to = '';\n }\n else if (isXVersion(toMinor)) {\n to = `<${Number(toMajor) + 1}.0.0-0`;\n }\n else if (isXVersion(toPatch)) {\n to = `<${toMajor}.${Number(toMinor) + 1}.0-0`;\n }\n else if (toPreRelease) {\n to = `<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`;\n }\n else {\n to = `<=${to}`;\n }\n return `${from} ${to}`.trim();\n });\n}\nfunction parseComparatorTrim(range) {\n return range.replace(parseRegex(comparatorTrim), '$1$2$3');\n}\nfunction parseTildeTrim(range) {\n return range.replace(parseRegex(tildeTrim), '$1~');\n}\nfunction parseCaretTrim(range) {\n return range.replace(parseRegex(caretTrim), '$1^');\n}\nfunction parseCarets(range) {\n return range\n .trim()\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion.replace(parseRegex(caret), (_, major, minor, patch, preRelease) => {\n if (isXVersion(major)) {\n return '';\n }\n else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${Number(major) + 1}.0.0-0`;\n }\n else if (isXVersion(patch)) {\n if (major === '0') {\n return `>=${major}.${minor}.0 <${major}.${Number(minor) + 1}.0-0`;\n }\n else {\n return `>=${major}.${minor}.0 <${Number(major) + 1}.0.0-0`;\n }\n }\n else if (preRelease) {\n if (major === '0') {\n if (minor === '0') {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${minor}.${Number(patch) + 1}-0`;\n }\n else {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n }\n else {\n return `>=${major}.${minor}.${patch}-${preRelease} <${Number(major) + 1}.0.0-0`;\n }\n }\n else {\n if (major === '0') {\n if (minor === '0') {\n return `>=${major}.${minor}.${patch} <${major}.${minor}.${Number(patch) + 1}-0`;\n }\n else {\n return `>=${major}.${minor}.${patch} <${major}.${Number(minor) + 1}.0-0`;\n }\n }\n return `>=${major}.${minor}.${patch} <${Number(major) + 1}.0.0-0`;\n }\n }))\n .join(' ');\n}\nfunction parseTildes(range) {\n return range\n .trim()\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion.replace(parseRegex(tilde), (_, major, minor, patch, preRelease) => {\n if (isXVersion(major)) {\n return '';\n }\n else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${Number(major) + 1}.0.0-0`;\n }\n else if (isXVersion(patch)) {\n return `>=${major}.${minor}.0 <${major}.${Number(minor) + 1}.0-0`;\n }\n else if (preRelease) {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n return `>=${major}.${minor}.${patch} <${major}.${Number(minor) + 1}.0-0`;\n }))\n .join(' ');\n}\nfunction parseXRanges(range) {\n return range\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion\n .trim()\n .replace(parseRegex(xRange), (ret, gtlt, major, minor, patch, preRelease) => {\n const isXMajor = isXVersion(major);\n const isXMinor = isXMajor || isXVersion(minor);\n const isXPatch = isXMinor || isXVersion(patch);\n if (gtlt === '=' && isXPatch) {\n gtlt = '';\n }\n preRelease = '';\n if (isXMajor) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n return '<0.0.0-0';\n }\n else {\n // nothing is forbidden\n return '*';\n }\n }\n else if (gtlt && isXPatch) {\n // replace X with 0\n if (isXMinor) {\n minor = 0;\n }\n patch = 0;\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>=';\n if (isXMinor) {\n major = Number(major) + 1;\n minor = 0;\n patch = 0;\n }\n else {\n minor = Number(minor) + 1;\n patch = 0;\n }\n }\n else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should pass\n // Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<';\n if (isXMinor) {\n major = Number(major) + 1;\n }\n else {\n minor = Number(minor) + 1;\n }\n }\n if (gtlt === '<') {\n preRelease = '-0';\n }\n return `${gtlt + major}.${minor}.${patch}${preRelease}`;\n }\n else if (isXMinor) {\n return `>=${major}.0.0${preRelease} <${Number(major) + 1}.0.0-0`;\n }\n else if (isXPatch) {\n return `>=${major}.${minor}.0${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n return ret;\n }))\n .join(' ');\n}\nfunction parseStar(range) {\n return range.trim().replace(parseRegex(star), '');\n}\nfunction parseGTE0(comparatorString) {\n return comparatorString.trim().replace(parseRegex(gte0), '');\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction compareAtom(rangeAtom, versionAtom) {\n rangeAtom = Number(rangeAtom) || rangeAtom;\n versionAtom = Number(versionAtom) || versionAtom;\n if (rangeAtom > versionAtom) {\n return 1;\n }\n if (rangeAtom === versionAtom) {\n return 0;\n }\n return -1;\n}\nfunction comparePreRelease(rangeAtom, versionAtom) {\n const { preRelease: rangePreRelease } = rangeAtom;\n const { preRelease: versionPreRelease } = versionAtom;\n if (rangePreRelease === undefined && Boolean(versionPreRelease)) {\n return 1;\n }\n if (Boolean(rangePreRelease) && versionPreRelease === undefined) {\n return -1;\n }\n if (rangePreRelease === undefined && versionPreRelease === undefined) {\n return 0;\n }\n for (let i = 0, n = rangePreRelease.length; i <= n; i++) {\n const rangeElement = rangePreRelease[i];\n const versionElement = versionPreRelease[i];\n if (rangeElement === versionElement) {\n continue;\n }\n if (rangeElement === undefined && versionElement === undefined) {\n return 0;\n }\n if (!rangeElement) {\n return 1;\n }\n if (!versionElement) {\n return -1;\n }\n return compareAtom(rangeElement, versionElement);\n }\n return 0;\n}\nfunction compareVersion(rangeAtom, versionAtom) {\n return (compareAtom(rangeAtom.major, versionAtom.major) ||\n compareAtom(rangeAtom.minor, versionAtom.minor) ||\n compareAtom(rangeAtom.patch, versionAtom.patch) ||\n comparePreRelease(rangeAtom, versionAtom));\n}\nfunction eq(rangeAtom, versionAtom) {\n return rangeAtom.version === versionAtom.version;\n}\nfunction compare(rangeAtom, versionAtom) {\n switch (rangeAtom.operator) {\n case '':\n case '=':\n return eq(rangeAtom, versionAtom);\n case '>':\n return compareVersion(rangeAtom, versionAtom) < 0;\n case '>=':\n return (eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) < 0);\n case '<':\n return compareVersion(rangeAtom, versionAtom) > 0;\n case '<=':\n return (eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0);\n case undefined: {\n // mean * or x -> all versions\n return true;\n }\n default:\n return false;\n }\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseComparatorString(range) {\n return pipe(\n // handle caret\n // ^ --> * (any, kinda silly)\n // ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n // ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n // ^1.2.3 --> >=1.2.3 <2.0.0-0\n // ^1.2.0 --> >=1.2.0 <2.0.0-0\n parseCarets, \n // handle tilde\n // ~, ~> --> * (any, kinda silly)\n // ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n // ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n parseTildes, parseXRanges, parseStar)(range);\n}\nfunction parseRange(range) {\n return pipe(\n // handle hyphenRange\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n parseHyphen, \n // handle trim comparator\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n parseComparatorTrim, \n // handle trim tilde\n // `~ 1.2.3` => `~1.2.3`\n parseTildeTrim, \n // handle trim caret\n // `^ 1.2.3` => `^1.2.3`\n parseCaretTrim)(range.trim())\n .split(/\\s+/)\n .join(' ');\n}\nfunction satisfy(version, range) {\n if (!version) {\n return false;\n }\n // Extract version details once\n const extractedVersion = extractComparator(version);\n if (!extractedVersion) {\n // If the version string is invalid, it can't satisfy any range\n return false;\n }\n const [, versionOperator, , versionMajor, versionMinor, versionPatch, versionPreRelease,] = extractedVersion;\n const versionAtom = {\n operator: versionOperator,\n version: combineVersion(versionMajor, versionMinor, versionPatch, versionPreRelease), // exclude build atom\n major: versionMajor,\n minor: versionMinor,\n patch: versionPatch,\n preRelease: versionPreRelease?.split('.'),\n };\n // Split the range by || to handle OR conditions\n const orRanges = range.split('||');\n for (const orRange of orRanges) {\n const trimmedOrRange = orRange.trim();\n if (!trimmedOrRange) {\n // An empty range string signifies wildcard *, satisfy any valid version\n // (We already checked if the version itself is valid)\n return true;\n }\n // Handle simple wildcards explicitly before complex parsing\n if (trimmedOrRange === '*' || trimmedOrRange === 'x') {\n return true;\n }\n try {\n // Apply existing parsing logic to the current OR sub-range\n const parsedSubRange = parseRange(trimmedOrRange); // Handles hyphens, trims etc.\n // Check if the result of initial parsing is empty, which can happen\n // for some wildcard cases handled by parseRange/parseComparatorString.\n // E.g. `parseStar` used in `parseComparatorString` returns ''.\n if (!parsedSubRange.trim()) {\n // If parsing results in empty string, treat as wildcard match\n return true;\n }\n const parsedComparatorString = parsedSubRange\n .split(' ')\n .map((rangeVersion) => parseComparatorString(rangeVersion)) // Expands ^, ~\n .join(' ');\n // Check again if the comparator string became empty after specific parsing like ^ or ~\n if (!parsedComparatorString.trim()) {\n return true;\n }\n // Split the sub-range by space for implicit AND conditions\n const comparators = parsedComparatorString\n .split(/\\s+/)\n .map((comparator) => parseGTE0(comparator))\n // Filter out empty strings that might result from multiple spaces\n .filter(Boolean);\n // If a sub-range becomes empty after parsing (e.g., invalid characters),\n // it cannot be satisfied. This check might be redundant now but kept for safety.\n if (comparators.length === 0) {\n continue;\n }\n let subRangeSatisfied = true;\n for (const comparator of comparators) {\n const extractedComparator = extractComparator(comparator);\n // If any part of the AND sub-range is invalid, the sub-range is not satisfied\n if (!extractedComparator) {\n subRangeSatisfied = false;\n break;\n }\n const [, rangeOperator, , rangeMajor, rangeMinor, rangePatch, rangePreRelease,] = extractedComparator;\n const rangeAtom = {\n operator: rangeOperator,\n version: combineVersion(rangeMajor, rangeMinor, rangePatch, rangePreRelease),\n major: rangeMajor,\n minor: rangeMinor,\n patch: rangePatch,\n preRelease: rangePreRelease?.split('.'),\n };\n // Check if the version satisfies this specific comparator in the AND chain\n if (!compare(rangeAtom, versionAtom)) {\n subRangeSatisfied = false; // This part of the AND condition failed\n break; // No need to check further comparators in this sub-range\n }\n }\n // If all AND conditions within this OR sub-range were met, the overall range is satisfied\n if (subRangeSatisfied) {\n return true;\n }\n }\n catch (e) {\n // Log error and treat this sub-range as unsatisfied\n console.error(`[semver] Error processing range part \"${trimmedOrRange}\":`, e);\n continue;\n }\n }\n // If none of the OR sub-ranges were satisfied\n return false;\n}\n\nfunction formatShare(shareArgs, from, name, shareStrategy) {\n let get;\n if ('get' in shareArgs) {\n // eslint-disable-next-line prefer-destructuring\n get = shareArgs.get;\n }\n else if ('lib' in shareArgs) {\n get = () => Promise.resolve(shareArgs.lib);\n }\n else {\n get = () => Promise.resolve(() => {\n throw new Error(`Can not get shared '${name}'!`);\n });\n }\n return {\n deps: [],\n useIn: [],\n from,\n loading: null,\n ...shareArgs,\n shareConfig: {\n requiredVersion: `^${shareArgs.version}`,\n singleton: false,\n eager: false,\n strictVersion: false,\n ...shareArgs.shareConfig,\n },\n get,\n loaded: shareArgs?.loaded || 'lib' in shareArgs ? true : undefined,\n version: shareArgs.version ?? '0',\n scope: Array.isArray(shareArgs.scope)\n ? shareArgs.scope\n : [shareArgs.scope ?? 'default'],\n strategy: (shareArgs.strategy ?? shareStrategy) || 'version-first',\n };\n}\nfunction formatShareConfigs(globalOptions, userOptions) {\n const shareArgs = userOptions.shared || {};\n const from = userOptions.name;\n const shareInfos = Object.keys(shareArgs).reduce((res, pkgName) => {\n const arrayShareArgs = arrayOptions(shareArgs[pkgName]);\n res[pkgName] = res[pkgName] || [];\n arrayShareArgs.forEach((shareConfig) => {\n res[pkgName].push(formatShare(shareConfig, from, pkgName, userOptions.shareStrategy));\n });\n return res;\n }, {});\n const shared = {\n ...globalOptions.shared,\n };\n Object.keys(shareInfos).forEach((shareKey) => {\n if (!shared[shareKey]) {\n shared[shareKey] = shareInfos[shareKey];\n }\n else {\n shareInfos[shareKey].forEach((newUserSharedOptions) => {\n const isSameVersion = shared[shareKey].find((sharedVal) => sharedVal.version === newUserSharedOptions.version);\n if (!isSameVersion) {\n shared[shareKey].push(newUserSharedOptions);\n }\n });\n }\n });\n return { shared, shareInfos };\n}\nfunction versionLt(a, b) {\n const transformInvalidVersion = (version) => {\n const isNumberVersion = !Number.isNaN(Number(version));\n if (isNumberVersion) {\n const splitArr = version.split('.');\n let validVersion = version;\n for (let i = 0; i < 3 - splitArr.length; i++) {\n validVersion += '.0';\n }\n return validVersion;\n }\n return version;\n };\n if (satisfy(transformInvalidVersion(a), `<=${transformInvalidVersion(b)}`)) {\n return true;\n }\n else {\n return false;\n }\n}\nconst findVersion = (shareVersionMap, cb) => {\n const callback = cb ||\n function (prev, cur) {\n return versionLt(prev, cur);\n };\n return Object.keys(shareVersionMap).reduce((prev, cur) => {\n if (!prev) {\n return cur;\n }\n if (callback(prev, cur)) {\n return cur;\n }\n // default version is '0' https://github.com/webpack/webpack/blob/main/lib/sharing/ProvideSharedModule.js#L136\n if (prev === '0') {\n return cur;\n }\n return prev;\n }, 0);\n};\nconst isLoaded = (shared) => {\n return Boolean(shared.loaded) || typeof shared.lib === 'function';\n};\nconst isLoading = (shared) => {\n return Boolean(shared.loading);\n};\nfunction findSingletonVersionOrderByVersion(shareScopeMap, scope, pkgName) {\n const versions = shareScopeMap[scope][pkgName];\n const callback = function (prev, cur) {\n return !isLoaded(versions[prev]) && versionLt(prev, cur);\n };\n return findVersion(shareScopeMap[scope][pkgName], callback);\n}\nfunction findSingletonVersionOrderByLoaded(shareScopeMap, scope, pkgName) {\n const versions = shareScopeMap[scope][pkgName];\n const callback = function (prev, cur) {\n const isLoadingOrLoaded = (shared) => {\n return isLoaded(shared) || isLoading(shared);\n };\n if (isLoadingOrLoaded(versions[cur])) {\n if (isLoadingOrLoaded(versions[prev])) {\n return Boolean(versionLt(prev, cur));\n }\n else {\n return true;\n }\n }\n if (isLoadingOrLoaded(versions[prev])) {\n return false;\n }\n return versionLt(prev, cur);\n };\n return findVersion(shareScopeMap[scope][pkgName], callback);\n}\nfunction getFindShareFunction(strategy) {\n if (strategy === 'loaded-first') {\n return findSingletonVersionOrderByLoaded;\n }\n return findSingletonVersionOrderByVersion;\n}\nfunction getRegisteredShare(localShareScopeMap, pkgName, shareInfo, resolveShare) {\n if (!localShareScopeMap) {\n return;\n }\n const { shareConfig, scope = DEFAULT_SCOPE, strategy } = shareInfo;\n const scopes = Array.isArray(scope) ? scope : [scope];\n for (const sc of scopes) {\n if (shareConfig &&\n localShareScopeMap[sc] &&\n localShareScopeMap[sc][pkgName]) {\n const { requiredVersion } = shareConfig;\n const findShareFunction = getFindShareFunction(strategy);\n const maxOrSingletonVersion = findShareFunction(localShareScopeMap, sc, pkgName);\n //@ts-ignore\n const defaultResolver = () => {\n if (shareConfig.singleton) {\n if (typeof requiredVersion === 'string' &&\n !satisfy(maxOrSingletonVersion, requiredVersion)) {\n const msg = `Version ${maxOrSingletonVersion} from ${maxOrSingletonVersion &&\n localShareScopeMap[sc][pkgName][maxOrSingletonVersion].from} of shared singleton module ${pkgName} does not satisfy the requirement of ${shareInfo.from} which needs ${requiredVersion})`;\n if (shareConfig.strictVersion) {\n error(msg);\n }\n else {\n warn(msg);\n }\n }\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n else {\n if (requiredVersion === false || requiredVersion === '*') {\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n if (satisfy(maxOrSingletonVersion, requiredVersion)) {\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n for (const [versionKey, versionValue] of Object.entries(localShareScopeMap[sc][pkgName])) {\n if (satisfy(versionKey, requiredVersion)) {\n return versionValue;\n }\n }\n }\n };\n const params = {\n shareScopeMap: localShareScopeMap,\n scope: sc,\n pkgName,\n version: maxOrSingletonVersion,\n GlobalFederation: Global.__FEDERATION__,\n resolver: defaultResolver,\n };\n const resolveShared = resolveShare.emit(params) || params;\n return resolveShared.resolver();\n }\n }\n}\nfunction getGlobalShareScope() {\n return Global.__FEDERATION__.__SHARE__;\n}\nfunction getTargetSharedOptions(options) {\n const { pkgName, extraOptions, shareInfos } = options;\n const defaultResolver = (sharedOptions) => {\n if (!sharedOptions) {\n return undefined;\n }\n const shareVersionMap = {};\n sharedOptions.forEach((shared) => {\n shareVersionMap[shared.version] = shared;\n });\n const callback = function (prev, cur) {\n return !isLoaded(shareVersionMap[prev]) && versionLt(prev, cur);\n };\n const maxVersion = findVersion(shareVersionMap, callback);\n return shareVersionMap[maxVersion];\n };\n const resolver = extraOptions?.resolver ?? defaultResolver;\n return Object.assign({}, resolver(shareInfos[pkgName]), extraOptions?.customShareInfo);\n}\n\nfunction getBuilderId() {\n //@ts-ignore\n return typeof FEDERATION_BUILD_IDENTIFIER !== 'undefined'\n ? //@ts-ignore\n FEDERATION_BUILD_IDENTIFIER\n : '';\n}\n\n// Function to match a remote with its name and expose\n// id: pkgName(@federation/app1) + expose(button) = @federation/app1/button\n// id: alias(app1) + expose(button) = app1/button\n// id: alias(app1/utils) + expose(loadash/sort) = app1/utils/loadash/sort\nfunction matchRemoteWithNameAndExpose(remotes, id) {\n for (const remote of remotes) {\n // match pkgName\n const isNameMatched = id.startsWith(remote.name);\n let expose = id.replace(remote.name, '');\n if (isNameMatched) {\n if (expose.startsWith('/')) {\n const pkgNameOrAlias = remote.name;\n expose = `.${expose}`;\n return {\n pkgNameOrAlias,\n expose,\n remote,\n };\n }\n else if (expose === '') {\n return {\n pkgNameOrAlias: remote.name,\n expose: '.',\n remote,\n };\n }\n }\n // match alias\n const isAliasMatched = remote.alias && id.startsWith(remote.alias);\n let exposeWithAlias = remote.alias && id.replace(remote.alias, '');\n if (remote.alias && isAliasMatched) {\n if (exposeWithAlias && exposeWithAlias.startsWith('/')) {\n const pkgNameOrAlias = remote.alias;\n exposeWithAlias = `.${exposeWithAlias}`;\n return {\n pkgNameOrAlias,\n expose: exposeWithAlias,\n remote,\n };\n }\n else if (exposeWithAlias === '') {\n return {\n pkgNameOrAlias: remote.alias,\n expose: '.',\n remote,\n };\n }\n }\n }\n return;\n}\n// Function to match a remote with its name or alias\nfunction matchRemote(remotes, nameOrAlias) {\n for (const remote of remotes) {\n const isNameMatched = nameOrAlias === remote.name;\n if (isNameMatched) {\n return remote;\n }\n const isAliasMatched = remote.alias && nameOrAlias === remote.alias;\n if (isAliasMatched) {\n return remote;\n }\n }\n return;\n}\n\nfunction registerPlugins(plugins, instance) {\n const globalPlugins = getGlobalHostPlugins();\n const hookInstances = [\n instance.hooks,\n instance.remoteHandler.hooks,\n instance.sharedHandler.hooks,\n instance.snapshotHandler.hooks,\n instance.loaderHook,\n instance.bridgeHook,\n ];\n // Incorporate global plugins\n if (globalPlugins.length > 0) {\n globalPlugins.forEach((plugin) => {\n if (plugins?.find((item) => item.name !== plugin.name)) {\n plugins.push(plugin);\n }\n });\n }\n if (plugins && plugins.length > 0) {\n plugins.forEach((plugin) => {\n hookInstances.forEach((hookInstance) => {\n hookInstance.applyPlugin(plugin, instance);\n });\n });\n }\n return plugins;\n}\n\nconst importCallback = '.then(callbacks[0]).catch(callbacks[1])';\nasync function loadEsmEntry({ entry, remoteEntryExports, }) {\n return new Promise((resolve, reject) => {\n try {\n if (!remoteEntryExports) {\n if (typeof FEDERATION_ALLOW_NEW_FUNCTION !== 'undefined') {\n new Function('callbacks', `import(\"${entry}\")${importCallback}`)([\n resolve,\n reject,\n ]);\n }\n else {\n import(/* webpackIgnore: true */ /* @vite-ignore */ entry)\n .then(resolve)\n .catch(reject);\n }\n }\n else {\n resolve(remoteEntryExports);\n }\n }\n catch (e) {\n reject(e);\n }\n });\n}\nasync function loadSystemJsEntry({ entry, remoteEntryExports, }) {\n return new Promise((resolve, reject) => {\n try {\n if (!remoteEntryExports) {\n //@ts-ignore\n if (typeof __system_context__ === 'undefined') {\n //@ts-ignore\n System.import(entry).then(resolve).catch(reject);\n }\n else {\n new Function('callbacks', `System.import(\"${entry}\")${importCallback}`)([resolve, reject]);\n }\n }\n else {\n resolve(remoteEntryExports);\n }\n }\n catch (e) {\n reject(e);\n }\n });\n}\nfunction handleRemoteEntryLoaded(name, globalName, entry) {\n const { remoteEntryKey, entryExports } = getRemoteEntryExports(name, globalName);\n assert(entryExports, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_001, errorCodes.runtimeDescMap, {\n remoteName: name,\n remoteEntryUrl: entry,\n remoteEntryKey,\n }));\n return entryExports;\n}\nasync function loadEntryScript({ name, globalName, entry, loaderHook, getEntryUrl, }) {\n const { entryExports: remoteEntryExports } = getRemoteEntryExports(name, globalName);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n // if getEntryUrl is passed, use the getEntryUrl to get the entry url\n const url = getEntryUrl ? getEntryUrl(entry) : entry;\n return sdk.loadScript(url, {\n attrs: {},\n createScriptHook: (url, attrs) => {\n const res = loaderHook.lifecycle.createScript.emit({ url, attrs });\n if (!res)\n return;\n if (res instanceof HTMLScriptElement) {\n return res;\n }\n if ('script' in res || 'timeout' in res) {\n return res;\n }\n return;\n },\n })\n .then(() => {\n return handleRemoteEntryLoaded(name, globalName, entry);\n })\n .catch((e) => {\n assert(undefined, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_008, errorCodes.runtimeDescMap, {\n remoteName: name,\n resourceUrl: entry,\n }));\n throw e;\n });\n}\nasync function loadEntryDom({ remoteInfo, remoteEntryExports, loaderHook, getEntryUrl, }) {\n const { entry, entryGlobalName: globalName, name, type } = remoteInfo;\n switch (type) {\n case 'esm':\n case 'module':\n return loadEsmEntry({ entry, remoteEntryExports });\n case 'system':\n return loadSystemJsEntry({ entry, remoteEntryExports });\n default:\n return loadEntryScript({\n entry,\n globalName,\n name,\n loaderHook,\n getEntryUrl,\n });\n }\n}\nasync function loadEntryNode({ remoteInfo, loaderHook, }) {\n const { entry, entryGlobalName: globalName, name, type } = remoteInfo;\n const { entryExports: remoteEntryExports } = getRemoteEntryExports(name, globalName);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n return sdk.loadScriptNode(entry, {\n attrs: { name, globalName, type },\n loaderHook: {\n createScriptHook: (url, attrs = {}) => {\n const res = loaderHook.lifecycle.createScript.emit({ url, attrs });\n if (!res)\n return;\n if ('url' in res) {\n return res;\n }\n return;\n },\n },\n })\n .then(() => {\n return handleRemoteEntryLoaded(name, globalName, entry);\n })\n .catch((e) => {\n throw e;\n });\n}\nfunction getRemoteEntryUniqueKey(remoteInfo) {\n const { entry, name } = remoteInfo;\n return sdk.composeKeyWithSeparator(name, entry);\n}\nasync function getRemoteEntry(params) {\n const { origin, remoteEntryExports, remoteInfo, getEntryUrl, _inErrorHandling = false, } = params;\n const uniqueKey = getRemoteEntryUniqueKey(remoteInfo);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n if (!globalLoading[uniqueKey]) {\n const loadEntryHook = origin.remoteHandler.hooks.lifecycle.loadEntry;\n const loaderHook = origin.loaderHook;\n globalLoading[uniqueKey] = loadEntryHook\n .emit({\n loaderHook,\n remoteInfo,\n remoteEntryExports,\n })\n .then((res) => {\n if (res) {\n return res;\n }\n // Use ENV_TARGET if defined, otherwise fallback to isBrowserEnv, must keep this\n const isWebEnvironment = typeof ENV_TARGET !== 'undefined'\n ? ENV_TARGET === 'web'\n : sdk.isBrowserEnv();\n return isWebEnvironment\n ? loadEntryDom({\n remoteInfo,\n remoteEntryExports,\n loaderHook,\n getEntryUrl,\n })\n : loadEntryNode({ remoteInfo, loaderHook });\n })\n .catch(async (err) => {\n const uniqueKey = getRemoteEntryUniqueKey(remoteInfo);\n const isScriptLoadError = err instanceof Error && err.message.includes(errorCodes.RUNTIME_008);\n if (isScriptLoadError && !_inErrorHandling) {\n const wrappedGetRemoteEntry = (params) => {\n return getRemoteEntry({ ...params, _inErrorHandling: true });\n };\n const RemoteEntryExports = await origin.loaderHook.lifecycle.loadEntryError.emit({\n getRemoteEntry: wrappedGetRemoteEntry,\n origin,\n remoteInfo: remoteInfo,\n remoteEntryExports,\n globalLoading,\n uniqueKey,\n });\n if (RemoteEntryExports) {\n return RemoteEntryExports;\n }\n }\n throw err;\n });\n }\n return globalLoading[uniqueKey];\n}\nfunction getRemoteInfo(remote) {\n return {\n ...remote,\n entry: 'entry' in remote ? remote.entry : '',\n type: remote.type || DEFAULT_REMOTE_TYPE,\n entryGlobalName: remote.entryGlobalName || remote.name,\n shareScope: remote.shareScope || DEFAULT_SCOPE,\n };\n}\n\nfunction defaultPreloadArgs(preloadConfig) {\n return {\n resourceCategory: 'sync',\n share: true,\n depsRemote: true,\n prefetchInterface: false,\n ...preloadConfig,\n };\n}\nfunction formatPreloadArgs(remotes, preloadArgs) {\n return preloadArgs.map((args) => {\n const remoteInfo = matchRemote(remotes, args.nameOrAlias);\n assert(remoteInfo, `Unable to preload ${args.nameOrAlias} as it is not included in ${!remoteInfo &&\n sdk.safeToString({\n remoteInfo,\n remotes,\n })}`);\n return {\n remote: remoteInfo,\n preloadConfig: defaultPreloadArgs(args),\n };\n });\n}\nfunction normalizePreloadExposes(exposes) {\n if (!exposes) {\n return [];\n }\n return exposes.map((expose) => {\n if (expose === '.') {\n return expose;\n }\n if (expose.startsWith('./')) {\n return expose.replace('./', '');\n }\n return expose;\n });\n}\nfunction preloadAssets(remoteInfo, host, assets, \n// It is used to distinguish preload from load remote parallel loading\nuseLinkPreload = true) {\n const { cssAssets, jsAssetsWithoutEntry, entryAssets } = assets;\n if (host.options.inBrowser) {\n entryAssets.forEach((asset) => {\n const { moduleInfo } = asset;\n const module = host.moduleCache.get(remoteInfo.name);\n if (module) {\n getRemoteEntry({\n origin: host,\n remoteInfo: moduleInfo,\n remoteEntryExports: module.remoteEntryExports,\n });\n }\n else {\n getRemoteEntry({\n origin: host,\n remoteInfo: moduleInfo,\n remoteEntryExports: undefined,\n });\n }\n });\n if (useLinkPreload) {\n const defaultAttrs = {\n rel: 'preload',\n as: 'style',\n };\n cssAssets.forEach((cssUrl) => {\n const { link: cssEl, needAttach } = sdk.createLink({\n url: cssUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n });\n needAttach && document.head.appendChild(cssEl);\n });\n }\n else {\n const defaultAttrs = {\n rel: 'stylesheet',\n type: 'text/css',\n };\n cssAssets.forEach((cssUrl) => {\n const { link: cssEl, needAttach } = sdk.createLink({\n url: cssUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n needDeleteLink: false,\n });\n needAttach && document.head.appendChild(cssEl);\n });\n }\n if (useLinkPreload) {\n const defaultAttrs = {\n rel: 'preload',\n as: 'script',\n };\n jsAssetsWithoutEntry.forEach((jsUrl) => {\n const { link: linkEl, needAttach } = sdk.createLink({\n url: jsUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n });\n needAttach && document.head.appendChild(linkEl);\n });\n }\n else {\n const defaultAttrs = {\n fetchpriority: 'high',\n type: remoteInfo?.type === 'module' ? 'module' : 'text/javascript',\n };\n jsAssetsWithoutEntry.forEach((jsUrl) => {\n const { script: scriptEl, needAttach } = sdk.createScript({\n url: jsUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createScriptHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createScript.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLScriptElement) {\n return res;\n }\n return;\n },\n needDeleteScript: true,\n });\n needAttach && document.head.appendChild(scriptEl);\n });\n }\n }\n}\n\nconst ShareUtils = {\n getRegisteredShare,\n getGlobalShareScope,\n};\nconst GlobalUtils = {\n Global,\n nativeGlobal,\n resetFederationGlobalInfo,\n setGlobalFederationInstance,\n getGlobalFederationConstructor,\n setGlobalFederationConstructor,\n getInfoWithoutType,\n getGlobalSnapshot,\n getTargetSnapshotInfoByModuleInfo,\n getGlobalSnapshotInfoByModuleInfo,\n setGlobalSnapshotInfoByModuleInfo,\n addGlobalSnapshot,\n getRemoteEntryExports,\n registerGlobalPlugins,\n getGlobalHostPlugins,\n getPreloaded,\n setPreloaded,\n};\nvar helpers = {\n global: GlobalUtils,\n share: ShareUtils,\n utils: {\n matchRemoteWithNameAndExpose,\n preloadAssets,\n getRemoteInfo,\n },\n};\n\nclass Module {\n constructor({ remoteInfo, host, }) {\n this.inited = false;\n this.lib = undefined;\n this.remoteInfo = remoteInfo;\n this.host = host;\n }\n async getEntry() {\n if (this.remoteEntryExports) {\n return this.remoteEntryExports;\n }\n let remoteEntryExports;\n remoteEntryExports = await getRemoteEntry({\n origin: this.host,\n remoteInfo: this.remoteInfo,\n remoteEntryExports: this.remoteEntryExports,\n });\n assert(remoteEntryExports, `remoteEntryExports is undefined \\n ${sdk.safeToString(this.remoteInfo)}`);\n this.remoteEntryExports = remoteEntryExports;\n return this.remoteEntryExports;\n }\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n async get(id, expose, options, remoteSnapshot) {\n const { loadFactory = true } = options || { loadFactory: true };\n // Get remoteEntry.js\n const remoteEntryExports = await this.getEntry();\n if (!this.inited) {\n const localShareScopeMap = this.host.shareScopeMap;\n const shareScopeKeys = Array.isArray(this.remoteInfo.shareScope)\n ? this.remoteInfo.shareScope\n : [this.remoteInfo.shareScope];\n if (!shareScopeKeys.length) {\n shareScopeKeys.push('default');\n }\n shareScopeKeys.forEach((shareScopeKey) => {\n if (!localShareScopeMap[shareScopeKey]) {\n localShareScopeMap[shareScopeKey] = {};\n }\n });\n // TODO: compate legacy init params, should use shareScopeMap if exist\n const shareScope = localShareScopeMap[shareScopeKeys[0]];\n const initScope = [];\n const remoteEntryInitOptions = {\n version: this.remoteInfo.version || '',\n shareScopeKeys: Array.isArray(this.remoteInfo.shareScope)\n ? shareScopeKeys\n : this.remoteInfo.shareScope || 'default',\n };\n // Help to find host instance\n Object.defineProperty(remoteEntryInitOptions, 'shareScopeMap', {\n value: localShareScopeMap,\n // remoteEntryInitOptions will be traversed and assigned during container init, ,so this attribute is not allowed to be traversed\n enumerable: false,\n });\n const initContainerOptions = await this.host.hooks.lifecycle.beforeInitContainer.emit({\n shareScope,\n // @ts-ignore shareScopeMap will be set by Object.defineProperty\n remoteEntryInitOptions,\n initScope,\n remoteInfo: this.remoteInfo,\n origin: this.host,\n });\n if (typeof remoteEntryExports?.init === 'undefined') {\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_002, errorCodes.runtimeDescMap, {\n hostName: this.host.name,\n remoteName: this.remoteInfo.name,\n remoteEntryUrl: this.remoteInfo.entry,\n remoteEntryKey: this.remoteInfo.entryGlobalName,\n }));\n }\n await remoteEntryExports.init(initContainerOptions.shareScope, initContainerOptions.initScope, initContainerOptions.remoteEntryInitOptions);\n await this.host.hooks.lifecycle.initContainer.emit({\n ...initContainerOptions,\n id,\n remoteSnapshot,\n remoteEntryExports,\n });\n }\n this.lib = remoteEntryExports;\n this.inited = true;\n let moduleFactory;\n moduleFactory = await this.host.loaderHook.lifecycle.getModuleFactory.emit({\n remoteEntryExports,\n expose,\n moduleInfo: this.remoteInfo,\n });\n // get exposeGetter\n if (!moduleFactory) {\n moduleFactory = await remoteEntryExports.get(expose);\n }\n assert(moduleFactory, `${getFMId(this.remoteInfo)} remote don't export ${expose}.`);\n // keep symbol for module name always one format\n const symbolName = processModuleAlias(this.remoteInfo.name, expose);\n const wrapModuleFactory = this.wraperFactory(moduleFactory, symbolName);\n if (!loadFactory) {\n return wrapModuleFactory;\n }\n const exposeContent = await wrapModuleFactory();\n return exposeContent;\n }\n wraperFactory(moduleFactory, id) {\n function defineModuleId(res, id) {\n if (res &&\n typeof res === 'object' &&\n Object.isExtensible(res) &&\n !Object.getOwnPropertyDescriptor(res, Symbol.for('mf_module_id'))) {\n Object.defineProperty(res, Symbol.for('mf_module_id'), {\n value: id,\n enumerable: false,\n });\n }\n }\n if (moduleFactory instanceof Promise) {\n return async () => {\n const res = await moduleFactory();\n // This parameter is used for bridge debugging\n defineModuleId(res, id);\n return res;\n };\n }\n else {\n return () => {\n const res = moduleFactory();\n // This parameter is used for bridge debugging\n defineModuleId(res, id);\n return res;\n };\n }\n }\n}\n\nclass SyncHook {\n constructor(type) {\n this.type = '';\n this.listeners = new Set();\n if (type) {\n this.type = type;\n }\n }\n on(fn) {\n if (typeof fn === 'function') {\n this.listeners.add(fn);\n }\n }\n once(fn) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this;\n this.on(function wrapper(...args) {\n self.remove(wrapper);\n // eslint-disable-next-line prefer-spread\n return fn.apply(null, args);\n });\n }\n emit(...data) {\n let result;\n if (this.listeners.size > 0) {\n // eslint-disable-next-line prefer-spread\n this.listeners.forEach((fn) => {\n result = fn(...data);\n });\n }\n return result;\n }\n remove(fn) {\n this.listeners.delete(fn);\n }\n removeAll() {\n this.listeners.clear();\n }\n}\n\nclass AsyncHook extends SyncHook {\n emit(...data) {\n let result;\n const ls = Array.from(this.listeners);\n if (ls.length > 0) {\n let i = 0;\n const call = (prev) => {\n if (prev === false) {\n return false; // Abort process\n }\n else if (i < ls.length) {\n return Promise.resolve(ls[i++].apply(null, data)).then(call);\n }\n else {\n return prev;\n }\n };\n result = call();\n }\n return Promise.resolve(result);\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction checkReturnData(originalData, returnedData) {\n if (!isObject(returnedData)) {\n return false;\n }\n if (originalData !== returnedData) {\n // eslint-disable-next-line no-restricted-syntax\n for (const key in originalData) {\n if (!(key in returnedData)) {\n return false;\n }\n }\n }\n return true;\n}\nclass SyncWaterfallHook extends SyncHook {\n constructor(type) {\n super();\n this.onerror = error;\n this.type = type;\n }\n emit(data) {\n if (!isObject(data)) {\n error(`The data for the \"${this.type}\" hook should be an object.`);\n }\n for (const fn of this.listeners) {\n try {\n const tempData = fn(data);\n if (checkReturnData(data, tempData)) {\n data = tempData;\n }\n else {\n this.onerror(`A plugin returned an unacceptable value for the \"${this.type}\" type.`);\n break;\n }\n }\n catch (e) {\n warn(e);\n this.onerror(e);\n }\n }\n return data;\n }\n}\n\nclass AsyncWaterfallHook extends SyncHook {\n constructor(type) {\n super();\n this.onerror = error;\n this.type = type;\n }\n emit(data) {\n if (!isObject(data)) {\n error(`The response data for the \"${this.type}\" hook must be an object.`);\n }\n const ls = Array.from(this.listeners);\n if (ls.length > 0) {\n let i = 0;\n const processError = (e) => {\n warn(e);\n this.onerror(e);\n return data;\n };\n const call = (prevData) => {\n if (checkReturnData(data, prevData)) {\n data = prevData;\n if (i < ls.length) {\n try {\n return Promise.resolve(ls[i++](data)).then(call, processError);\n }\n catch (e) {\n return processError(e);\n }\n }\n }\n else {\n this.onerror(`A plugin returned an incorrect value for the \"${this.type}\" type.`);\n }\n return data;\n };\n return Promise.resolve(call(data));\n }\n return Promise.resolve(data);\n }\n}\n\nclass PluginSystem {\n constructor(lifecycle) {\n this.registerPlugins = {};\n this.lifecycle = lifecycle;\n this.lifecycleKeys = Object.keys(lifecycle);\n }\n applyPlugin(plugin, instance) {\n assert(isPlainObject(plugin), 'Plugin configuration is invalid.');\n // The plugin's name is mandatory and must be unique\n const pluginName = plugin.name;\n assert(pluginName, 'A name must be provided by the plugin.');\n if (!this.registerPlugins[pluginName]) {\n this.registerPlugins[pluginName] = plugin;\n plugin.apply?.(instance);\n Object.keys(this.lifecycle).forEach((key) => {\n const pluginLife = plugin[key];\n if (pluginLife) {\n this.lifecycle[key].on(pluginLife);\n }\n });\n }\n }\n removePlugin(pluginName) {\n assert(pluginName, 'A name is required.');\n const plugin = this.registerPlugins[pluginName];\n assert(plugin, `The plugin \"${pluginName}\" is not registered.`);\n Object.keys(plugin).forEach((key) => {\n if (key !== 'name') {\n this.lifecycle[key].remove(plugin[key]);\n }\n });\n }\n}\n\nfunction assignRemoteInfo(remoteInfo, remoteSnapshot) {\n const remoteEntryInfo = getRemoteEntryInfoFromSnapshot(remoteSnapshot);\n if (!remoteEntryInfo.url) {\n error(`The attribute remoteEntry of ${remoteInfo.name} must not be undefined.`);\n }\n let entryUrl = sdk.getResourceUrl(remoteSnapshot, remoteEntryInfo.url);\n if (!sdk.isBrowserEnv() && !entryUrl.startsWith('http')) {\n entryUrl = `https:${entryUrl}`;\n }\n remoteInfo.type = remoteEntryInfo.type;\n remoteInfo.entryGlobalName = remoteEntryInfo.globalName;\n remoteInfo.entry = entryUrl;\n remoteInfo.version = remoteSnapshot.version;\n remoteInfo.buildVersion = remoteSnapshot.buildVersion;\n}\nfunction snapshotPlugin() {\n return {\n name: 'snapshot-plugin',\n async afterResolve(args) {\n const { remote, pkgNameOrAlias, expose, origin, remoteInfo, id } = args;\n if (!isRemoteInfoWithEntry(remote) || !isPureRemoteEntry(remote)) {\n const { remoteSnapshot, globalSnapshot } = await origin.snapshotHandler.loadRemoteSnapshotInfo({\n moduleInfo: remote,\n id,\n });\n assignRemoteInfo(remoteInfo, remoteSnapshot);\n // preloading assets\n const preloadOptions = {\n remote,\n preloadConfig: {\n nameOrAlias: pkgNameOrAlias,\n exposes: [expose],\n resourceCategory: 'sync',\n share: false,\n depsRemote: false,\n },\n };\n const assets = await origin.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({\n origin,\n preloadOptions,\n remoteInfo,\n remote,\n remoteSnapshot,\n globalSnapshot,\n });\n if (assets) {\n preloadAssets(remoteInfo, origin, assets, false);\n }\n return {\n ...args,\n remoteSnapshot,\n };\n }\n return args;\n },\n };\n}\n\n// name\n// name:version\nfunction splitId(id) {\n const splitInfo = id.split(':');\n if (splitInfo.length === 1) {\n return {\n name: splitInfo[0],\n version: undefined,\n };\n }\n else if (splitInfo.length === 2) {\n return {\n name: splitInfo[0],\n version: splitInfo[1],\n };\n }\n else {\n return {\n name: splitInfo[1],\n version: splitInfo[2],\n };\n }\n}\n// Traverse all nodes in moduleInfo and traverse the entire snapshot\nfunction traverseModuleInfo(globalSnapshot, remoteInfo, traverse, isRoot, memo = {}, remoteSnapshot) {\n const id = getFMId(remoteInfo);\n const { value: snapshotValue } = getInfoWithoutType(globalSnapshot, id);\n const effectiveRemoteSnapshot = remoteSnapshot || snapshotValue;\n if (effectiveRemoteSnapshot && !sdk.isManifestProvider(effectiveRemoteSnapshot)) {\n traverse(effectiveRemoteSnapshot, remoteInfo, isRoot);\n if (effectiveRemoteSnapshot.remotesInfo) {\n const remoteKeys = Object.keys(effectiveRemoteSnapshot.remotesInfo);\n for (const key of remoteKeys) {\n if (memo[key]) {\n continue;\n }\n memo[key] = true;\n const subRemoteInfo = splitId(key);\n const remoteValue = effectiveRemoteSnapshot.remotesInfo[key];\n traverseModuleInfo(globalSnapshot, {\n name: subRemoteInfo.name,\n version: remoteValue.matchedVersion,\n }, traverse, false, memo, undefined);\n }\n }\n }\n}\nconst isExisted = (type, url) => {\n return document.querySelector(`${type}[${type === 'link' ? 'href' : 'src'}=\"${url}\"]`);\n};\n// eslint-disable-next-line max-lines-per-function\nfunction generatePreloadAssets(origin, preloadOptions, remote, globalSnapshot, remoteSnapshot) {\n const cssAssets = [];\n const jsAssets = [];\n const entryAssets = [];\n const loadedSharedJsAssets = new Set();\n const loadedSharedCssAssets = new Set();\n const { options } = origin;\n const { preloadConfig: rootPreloadConfig } = preloadOptions;\n const { depsRemote } = rootPreloadConfig;\n const memo = {};\n traverseModuleInfo(globalSnapshot, remote, (moduleInfoSnapshot, remoteInfo, isRoot) => {\n let preloadConfig;\n if (isRoot) {\n preloadConfig = rootPreloadConfig;\n }\n else {\n if (Array.isArray(depsRemote)) {\n // eslint-disable-next-line array-callback-return\n const findPreloadConfig = depsRemote.find((remoteConfig) => {\n if (remoteConfig.nameOrAlias === remoteInfo.name ||\n remoteConfig.nameOrAlias === remoteInfo.alias) {\n return true;\n }\n return false;\n });\n if (!findPreloadConfig) {\n return;\n }\n preloadConfig = defaultPreloadArgs(findPreloadConfig);\n }\n else if (depsRemote === true) {\n preloadConfig = rootPreloadConfig;\n }\n else {\n return;\n }\n }\n const remoteEntryUrl = sdk.getResourceUrl(moduleInfoSnapshot, getRemoteEntryInfoFromSnapshot(moduleInfoSnapshot).url);\n if (remoteEntryUrl) {\n entryAssets.push({\n name: remoteInfo.name,\n moduleInfo: {\n name: remoteInfo.name,\n entry: remoteEntryUrl,\n type: 'remoteEntryType' in moduleInfoSnapshot\n ? moduleInfoSnapshot.remoteEntryType\n : 'global',\n entryGlobalName: 'globalName' in moduleInfoSnapshot\n ? moduleInfoSnapshot.globalName\n : remoteInfo.name,\n shareScope: '',\n version: 'version' in moduleInfoSnapshot\n ? moduleInfoSnapshot.version\n : undefined,\n },\n url: remoteEntryUrl,\n });\n }\n let moduleAssetsInfo = 'modules' in moduleInfoSnapshot ? moduleInfoSnapshot.modules : [];\n const normalizedPreloadExposes = normalizePreloadExposes(preloadConfig.exposes);\n if (normalizedPreloadExposes.length && 'modules' in moduleInfoSnapshot) {\n moduleAssetsInfo = moduleInfoSnapshot?.modules?.reduce((assets, moduleAssetInfo) => {\n if (normalizedPreloadExposes?.indexOf(moduleAssetInfo.moduleName) !==\n -1) {\n assets.push(moduleAssetInfo);\n }\n return assets;\n }, []);\n }\n function handleAssets(assets) {\n const assetsRes = assets.map((asset) => sdk.getResourceUrl(moduleInfoSnapshot, asset));\n if (preloadConfig.filter) {\n return assetsRes.filter(preloadConfig.filter);\n }\n return assetsRes;\n }\n if (moduleAssetsInfo) {\n const assetsLength = moduleAssetsInfo.length;\n for (let index = 0; index < assetsLength; index++) {\n const assetsInfo = moduleAssetsInfo[index];\n const exposeFullPath = `${remoteInfo.name}/${assetsInfo.moduleName}`;\n origin.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({\n id: assetsInfo.moduleName === '.' ? remoteInfo.name : exposeFullPath,\n name: remoteInfo.name,\n remoteSnapshot: moduleInfoSnapshot,\n preloadConfig,\n remote: remoteInfo,\n origin,\n });\n const preloaded = getPreloaded(exposeFullPath);\n if (preloaded) {\n continue;\n }\n if (preloadConfig.resourceCategory === 'all') {\n cssAssets.push(...handleAssets(assetsInfo.assets.css.async));\n cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.async));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.sync));\n // eslint-disable-next-line no-constant-condition\n }\n else if ((preloadConfig.resourceCategory = 'sync')) {\n cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.sync));\n }\n setPreloaded(exposeFullPath);\n }\n }\n }, true, memo, remoteSnapshot);\n if (remoteSnapshot.shared && remoteSnapshot.shared.length > 0) {\n const collectSharedAssets = (shareInfo, snapshotShared) => {\n const registeredShared = getRegisteredShare(origin.shareScopeMap, snapshotShared.sharedName, shareInfo, origin.sharedHandler.hooks.lifecycle.resolveShare);\n // If the global share does not exist, or the lib function does not exist, it means that the shared has not been loaded yet and can be preloaded.\n if (registeredShared && typeof registeredShared.lib === 'function') {\n snapshotShared.assets.js.sync.forEach((asset) => {\n loadedSharedJsAssets.add(asset);\n });\n snapshotShared.assets.css.sync.forEach((asset) => {\n loadedSharedCssAssets.add(asset);\n });\n }\n };\n remoteSnapshot.shared.forEach((shared) => {\n const shareInfos = options.shared?.[shared.sharedName];\n if (!shareInfos) {\n return;\n }\n // if no version, preload all shared\n const sharedOptions = shared.version\n ? shareInfos.find((s) => s.version === shared.version)\n : shareInfos;\n if (!sharedOptions) {\n return;\n }\n const arrayShareInfo = arrayOptions(sharedOptions);\n arrayShareInfo.forEach((s) => {\n collectSharedAssets(s, shared);\n });\n });\n }\n const needPreloadJsAssets = jsAssets.filter((asset) => !loadedSharedJsAssets.has(asset) && !isExisted('script', asset));\n const needPreloadCssAssets = cssAssets.filter((asset) => !loadedSharedCssAssets.has(asset) && !isExisted('link', asset));\n return {\n cssAssets: needPreloadCssAssets,\n jsAssetsWithoutEntry: needPreloadJsAssets,\n entryAssets: entryAssets.filter((entry) => !isExisted('script', entry.url)),\n };\n}\nconst generatePreloadAssetsPlugin = function () {\n return {\n name: 'generate-preload-assets-plugin',\n async generatePreloadAssets(args) {\n const { origin, preloadOptions, remoteInfo, remote, globalSnapshot, remoteSnapshot, } = args;\n if (!sdk.isBrowserEnv()) {\n return {\n cssAssets: [],\n jsAssetsWithoutEntry: [],\n entryAssets: [],\n };\n }\n if (isRemoteInfoWithEntry(remote) && isPureRemoteEntry(remote)) {\n return {\n cssAssets: [],\n jsAssetsWithoutEntry: [],\n entryAssets: [\n {\n name: remote.name,\n url: remote.entry,\n moduleInfo: {\n name: remoteInfo.name,\n entry: remote.entry,\n type: remoteInfo.type || 'global',\n entryGlobalName: '',\n shareScope: '',\n },\n },\n ],\n };\n }\n assignRemoteInfo(remoteInfo, remoteSnapshot);\n const assets = generatePreloadAssets(origin, preloadOptions, remoteInfo, globalSnapshot, remoteSnapshot);\n return assets;\n },\n };\n};\n\nfunction getGlobalRemoteInfo(moduleInfo, origin) {\n const hostGlobalSnapshot = getGlobalSnapshotInfoByModuleInfo({\n name: origin.name,\n version: origin.options.version,\n });\n // get remote detail info from global\n const globalRemoteInfo = hostGlobalSnapshot &&\n 'remotesInfo' in hostGlobalSnapshot &&\n hostGlobalSnapshot.remotesInfo &&\n getInfoWithoutType(hostGlobalSnapshot.remotesInfo, moduleInfo.name).value;\n if (globalRemoteInfo && globalRemoteInfo.matchedVersion) {\n return {\n hostGlobalSnapshot,\n globalSnapshot: getGlobalSnapshot(),\n remoteSnapshot: getGlobalSnapshotInfoByModuleInfo({\n name: moduleInfo.name,\n version: globalRemoteInfo.matchedVersion,\n }),\n };\n }\n return {\n hostGlobalSnapshot: undefined,\n globalSnapshot: getGlobalSnapshot(),\n remoteSnapshot: getGlobalSnapshotInfoByModuleInfo({\n name: moduleInfo.name,\n version: 'version' in moduleInfo ? moduleInfo.version : undefined,\n }),\n };\n}\nclass SnapshotHandler {\n constructor(HostInstance) {\n this.loadingHostSnapshot = null;\n this.manifestCache = new Map();\n this.hooks = new PluginSystem({\n beforeLoadRemoteSnapshot: new AsyncHook('beforeLoadRemoteSnapshot'),\n loadSnapshot: new AsyncWaterfallHook('loadGlobalSnapshot'),\n loadRemoteSnapshot: new AsyncWaterfallHook('loadRemoteSnapshot'),\n afterLoadSnapshot: new AsyncWaterfallHook('afterLoadSnapshot'),\n });\n this.manifestLoading = Global.__FEDERATION__.__MANIFEST_LOADING__;\n this.HostInstance = HostInstance;\n this.loaderHook = HostInstance.loaderHook;\n }\n // eslint-disable-next-line max-lines-per-function\n async loadRemoteSnapshotInfo({ moduleInfo, id, expose, }) {\n const { options } = this.HostInstance;\n await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({\n options,\n moduleInfo,\n });\n let hostSnapshot = getGlobalSnapshotInfoByModuleInfo({\n name: this.HostInstance.options.name,\n version: this.HostInstance.options.version,\n });\n if (!hostSnapshot) {\n hostSnapshot = {\n version: this.HostInstance.options.version || '',\n remoteEntry: '',\n remotesInfo: {},\n };\n addGlobalSnapshot({\n [this.HostInstance.options.name]: hostSnapshot,\n });\n }\n // In dynamic loadRemote scenarios, incomplete remotesInfo delivery may occur. In such cases, the remotesInfo in the host needs to be completed in the snapshot at runtime.\n // This ensures the snapshot's integrity and helps the chrome plugin correctly identify all producer modules, ensuring that proxyable producer modules will not be missing.\n if (hostSnapshot &&\n 'remotesInfo' in hostSnapshot &&\n !getInfoWithoutType(hostSnapshot.remotesInfo, moduleInfo.name).value) {\n if ('version' in moduleInfo || 'entry' in moduleInfo) {\n hostSnapshot.remotesInfo = {\n ...hostSnapshot?.remotesInfo,\n [moduleInfo.name]: {\n matchedVersion: 'version' in moduleInfo ? moduleInfo.version : moduleInfo.entry,\n },\n };\n }\n }\n const { hostGlobalSnapshot, remoteSnapshot, globalSnapshot } = this.getGlobalRemoteInfo(moduleInfo);\n const { remoteSnapshot: globalRemoteSnapshot, globalSnapshot: globalSnapshotRes, } = await this.hooks.lifecycle.loadSnapshot.emit({\n options,\n moduleInfo,\n hostGlobalSnapshot,\n remoteSnapshot,\n globalSnapshot,\n });\n let mSnapshot;\n let gSnapshot;\n // global snapshot includes manifest or module info includes manifest\n if (globalRemoteSnapshot) {\n if (sdk.isManifestProvider(globalRemoteSnapshot)) {\n const remoteEntry = sdk.isBrowserEnv()\n ? globalRemoteSnapshot.remoteEntry\n : globalRemoteSnapshot.ssrRemoteEntry ||\n globalRemoteSnapshot.remoteEntry ||\n '';\n const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo({\n ...moduleInfo,\n // The global remote may be overridden\n // Therefore, set the snapshot key to the global address of the actual request\n entry: remoteEntry,\n }, moduleSnapshot);\n mSnapshot = moduleSnapshot;\n gSnapshot = globalSnapshotRes;\n }\n else {\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n remoteSnapshot: globalRemoteSnapshot,\n from: 'global',\n });\n mSnapshot = remoteSnapshotRes;\n gSnapshot = globalSnapshotRes;\n }\n }\n else {\n if (isRemoteInfoWithEntry(moduleInfo)) {\n // get from manifest.json and merge remote info from remote server\n const moduleSnapshot = await this.getManifestJson(moduleInfo.entry, moduleInfo, {});\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo(moduleInfo, moduleSnapshot);\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n remoteSnapshot: moduleSnapshot,\n from: 'global',\n });\n mSnapshot = remoteSnapshotRes;\n gSnapshot = globalSnapshotRes;\n }\n else {\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_007, errorCodes.runtimeDescMap, {\n hostName: moduleInfo.name,\n hostVersion: moduleInfo.version,\n globalSnapshot: JSON.stringify(globalSnapshotRes),\n }));\n }\n }\n await this.hooks.lifecycle.afterLoadSnapshot.emit({\n id,\n host: this.HostInstance,\n options,\n moduleInfo,\n remoteSnapshot: mSnapshot,\n });\n return {\n remoteSnapshot: mSnapshot,\n globalSnapshot: gSnapshot,\n };\n }\n getGlobalRemoteInfo(moduleInfo) {\n return getGlobalRemoteInfo(moduleInfo, this.HostInstance);\n }\n async getManifestJson(manifestUrl, moduleInfo, extraOptions) {\n const getManifest = async () => {\n let manifestJson = this.manifestCache.get(manifestUrl);\n if (manifestJson) {\n return manifestJson;\n }\n try {\n let res = await this.loaderHook.lifecycle.fetch.emit(manifestUrl, {});\n if (!res || !(res instanceof Response)) {\n res = await fetch(manifestUrl, {});\n }\n manifestJson = (await res.json());\n }\n catch (err) {\n manifestJson =\n (await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({\n id: manifestUrl,\n error: err,\n from: 'runtime',\n lifecycle: 'afterResolve',\n origin: this.HostInstance,\n }));\n if (!manifestJson) {\n delete this.manifestLoading[manifestUrl];\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_003, errorCodes.runtimeDescMap, {\n manifestUrl,\n moduleName: moduleInfo.name,\n hostName: this.HostInstance.options.name,\n }, `${err}`));\n }\n }\n assert(manifestJson.metaData && manifestJson.exposes && manifestJson.shared, `${manifestUrl} is not a federation manifest`);\n this.manifestCache.set(manifestUrl, manifestJson);\n return manifestJson;\n };\n const asyncLoadProcess = async () => {\n const manifestJson = await getManifest();\n const remoteSnapshot = sdk.generateSnapshotFromManifest(manifestJson, {\n version: manifestUrl,\n });\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n manifestJson,\n remoteSnapshot,\n manifestUrl,\n from: 'manifest',\n });\n return remoteSnapshotRes;\n };\n if (!this.manifestLoading[manifestUrl]) {\n this.manifestLoading[manifestUrl] = asyncLoadProcess().then((res) => res);\n }\n return this.manifestLoading[manifestUrl];\n }\n}\n\nclass SharedHandler {\n constructor(host) {\n this.hooks = new PluginSystem({\n afterResolve: new AsyncWaterfallHook('afterResolve'),\n beforeLoadShare: new AsyncWaterfallHook('beforeLoadShare'),\n // not used yet\n loadShare: new AsyncHook(),\n resolveShare: new SyncWaterfallHook('resolveShare'),\n // maybe will change, temporarily for internal use only\n initContainerShareScopeMap: new SyncWaterfallHook('initContainerShareScopeMap'),\n });\n this.host = host;\n this.shareScopeMap = {};\n this.initTokens = {};\n this._setGlobalShareScopeMap(host.options);\n }\n // register shared in shareScopeMap\n registerShared(globalOptions, userOptions) {\n const { shareInfos, shared } = formatShareConfigs(globalOptions, userOptions);\n const sharedKeys = Object.keys(shareInfos);\n sharedKeys.forEach((sharedKey) => {\n const sharedVals = shareInfos[sharedKey];\n sharedVals.forEach((sharedVal) => {\n sharedVal.scope.forEach((sc) => {\n const registeredShared = this.shareScopeMap[sc]?.[sharedKey];\n if (!registeredShared) {\n this.setShared({\n pkgName: sharedKey,\n lib: sharedVal.lib,\n get: sharedVal.get,\n loaded: sharedVal.loaded || Boolean(sharedVal.lib),\n shared: sharedVal,\n from: userOptions.name,\n });\n }\n });\n });\n });\n return {\n shareInfos,\n shared,\n };\n }\n async loadShare(pkgName, extraOptions) {\n const { host } = this;\n // This function performs the following steps:\n // 1. Checks if the currently loaded share already exists, if not, it throws an error\n // 2. Searches globally for a matching share, if found, it uses it directly\n // 3. If not found, it retrieves it from the current share and stores the obtained share globally.\n const shareOptions = getTargetSharedOptions({\n pkgName,\n extraOptions,\n shareInfos: host.options.shared,\n });\n if (shareOptions?.scope) {\n await Promise.all(shareOptions.scope.map(async (shareScope) => {\n await Promise.all(this.initializeSharing(shareScope, {\n strategy: shareOptions.strategy,\n }));\n return;\n }));\n }\n const loadShareRes = await this.hooks.lifecycle.beforeLoadShare.emit({\n pkgName,\n shareInfo: shareOptions,\n shared: host.options.shared,\n origin: host,\n });\n const { shareInfo: shareOptionsRes } = loadShareRes;\n // Assert that shareInfoRes exists, if not, throw an error\n assert(shareOptionsRes, `Cannot find ${pkgName} Share in the ${host.options.name}. Please ensure that the ${pkgName} Share parameters have been injected`);\n // Retrieve from cache\n const registeredShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptionsRes, this.hooks.lifecycle.resolveShare);\n const addUseIn = (shared) => {\n if (!shared.useIn) {\n shared.useIn = [];\n }\n addUniqueItem(shared.useIn, host.options.name);\n };\n if (registeredShared && registeredShared.lib) {\n addUseIn(registeredShared);\n return registeredShared.lib;\n }\n else if (registeredShared &&\n registeredShared.loading &&\n !registeredShared.loaded) {\n const factory = await registeredShared.loading;\n registeredShared.loaded = true;\n if (!registeredShared.lib) {\n registeredShared.lib = factory;\n }\n addUseIn(registeredShared);\n return factory;\n }\n else if (registeredShared) {\n const asyncLoadProcess = async () => {\n const factory = await registeredShared.get();\n addUseIn(registeredShared);\n registeredShared.loaded = true;\n registeredShared.lib = factory;\n return factory;\n };\n const loading = asyncLoadProcess();\n this.setShared({\n pkgName,\n loaded: false,\n shared: registeredShared,\n from: host.options.name,\n lib: null,\n loading,\n });\n return loading;\n }\n else {\n if (extraOptions?.customShareInfo) {\n return false;\n }\n const asyncLoadProcess = async () => {\n const factory = await shareOptionsRes.get();\n shareOptionsRes.lib = factory;\n shareOptionsRes.loaded = true;\n addUseIn(shareOptionsRes);\n const gShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptionsRes, this.hooks.lifecycle.resolveShare);\n if (gShared) {\n gShared.lib = factory;\n gShared.loaded = true;\n gShared.from = shareOptionsRes.from;\n }\n return factory;\n };\n const loading = asyncLoadProcess();\n this.setShared({\n pkgName,\n loaded: false,\n shared: shareOptionsRes,\n from: host.options.name,\n lib: null,\n loading,\n });\n return loading;\n }\n }\n /**\n * This function initializes the sharing sequence (executed only once per share scope).\n * It accepts one argument, the name of the share scope.\n * If the share scope does not exist, it creates one.\n */\n // eslint-disable-next-line @typescript-eslint/member-ordering\n initializeSharing(shareScopeName = DEFAULT_SCOPE, extraOptions) {\n const { host } = this;\n const from = extraOptions?.from;\n const strategy = extraOptions?.strategy;\n let initScope = extraOptions?.initScope;\n const promises = [];\n if (from !== 'build') {\n const { initTokens } = this;\n if (!initScope)\n initScope = [];\n let initToken = initTokens[shareScopeName];\n if (!initToken)\n initToken = initTokens[shareScopeName] = { from: this.host.name };\n if (initScope.indexOf(initToken) >= 0)\n return promises;\n initScope.push(initToken);\n }\n const shareScope = this.shareScopeMap;\n const hostName = host.options.name;\n // Creates a new share scope if necessary\n if (!shareScope[shareScopeName]) {\n shareScope[shareScopeName] = {};\n }\n // Executes all initialization snippets from all accessible modules\n const scope = shareScope[shareScopeName];\n const register = (name, shared) => {\n const { version, eager } = shared;\n scope[name] = scope[name] || {};\n const versions = scope[name];\n const activeVersion = versions[version];\n const activeVersionEager = Boolean(activeVersion &&\n (activeVersion.eager || activeVersion.shareConfig?.eager));\n if (!activeVersion ||\n (activeVersion.strategy !== 'loaded-first' &&\n !activeVersion.loaded &&\n (Boolean(!eager) !== !activeVersionEager\n ? eager\n : hostName > activeVersion.from))) {\n versions[version] = shared;\n }\n };\n const initFn = (mod) => mod && mod.init && mod.init(shareScope[shareScopeName], initScope);\n const initRemoteModule = async (key) => {\n const { module } = await host.remoteHandler.getRemoteModuleAndOptions({\n id: key,\n });\n if (module.getEntry) {\n let remoteEntryExports;\n try {\n remoteEntryExports = await module.getEntry();\n }\n catch (error) {\n remoteEntryExports =\n (await host.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({\n id: key,\n error,\n from: 'runtime',\n lifecycle: 'beforeLoadShare',\n origin: host,\n }));\n }\n if (!module.inited) {\n await initFn(remoteEntryExports);\n module.inited = true;\n }\n }\n };\n Object.keys(host.options.shared).forEach((shareName) => {\n const sharedArr = host.options.shared[shareName];\n sharedArr.forEach((shared) => {\n if (shared.scope.includes(shareScopeName)) {\n register(shareName, shared);\n }\n });\n });\n // TODO: strategy==='version-first' need to be removed in the future\n if (host.options.shareStrategy === 'version-first' ||\n strategy === 'version-first') {\n host.options.remotes.forEach((remote) => {\n if (remote.shareScope === shareScopeName) {\n promises.push(initRemoteModule(remote.name));\n }\n });\n }\n return promises;\n }\n // The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.\n // 1. If the loaded shared already exists globally, then it will be reused\n // 2. If lib exists in local shared, it will be used directly\n // 3. If the local get returns something other than Promise, then it will be used directly\n loadShareSync(pkgName, extraOptions) {\n const { host } = this;\n const shareOptions = getTargetSharedOptions({\n pkgName,\n extraOptions,\n shareInfos: host.options.shared,\n });\n if (shareOptions?.scope) {\n shareOptions.scope.forEach((shareScope) => {\n this.initializeSharing(shareScope, { strategy: shareOptions.strategy });\n });\n }\n const registeredShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptions, this.hooks.lifecycle.resolveShare);\n const addUseIn = (shared) => {\n if (!shared.useIn) {\n shared.useIn = [];\n }\n addUniqueItem(shared.useIn, host.options.name);\n };\n if (registeredShared) {\n if (typeof registeredShared.lib === 'function') {\n addUseIn(registeredShared);\n if (!registeredShared.loaded) {\n registeredShared.loaded = true;\n if (registeredShared.from === host.options.name) {\n shareOptions.loaded = true;\n }\n }\n return registeredShared.lib;\n }\n if (typeof registeredShared.get === 'function') {\n const module = registeredShared.get();\n if (!(module instanceof Promise)) {\n addUseIn(registeredShared);\n this.setShared({\n pkgName,\n loaded: true,\n from: host.options.name,\n lib: module,\n shared: registeredShared,\n });\n return module;\n }\n }\n }\n if (shareOptions.lib) {\n if (!shareOptions.loaded) {\n shareOptions.loaded = true;\n }\n return shareOptions.lib;\n }\n if (shareOptions.get) {\n const module = shareOptions.get();\n if (module instanceof Promise) {\n const errorCode = extraOptions?.from === 'build' ? errorCodes.RUNTIME_005 : errorCodes.RUNTIME_006;\n throw new Error(errorCodes.getShortErrorMsg(errorCode, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n sharedPkgName: pkgName,\n }));\n }\n shareOptions.lib = module;\n this.setShared({\n pkgName,\n loaded: true,\n from: host.options.name,\n lib: shareOptions.lib,\n shared: shareOptions,\n });\n return shareOptions.lib;\n }\n throw new Error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_006, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n sharedPkgName: pkgName,\n }));\n }\n initShareScopeMap(scopeName, shareScope, extraOptions = {}) {\n const { host } = this;\n this.shareScopeMap[scopeName] = shareScope;\n this.hooks.lifecycle.initContainerShareScopeMap.emit({\n shareScope,\n options: host.options,\n origin: host,\n scopeName,\n hostShareScopeMap: extraOptions.hostShareScopeMap,\n });\n }\n setShared({ pkgName, shared, from, lib, loading, loaded, get, }) {\n const { version, scope = 'default', ...shareInfo } = shared;\n const scopes = Array.isArray(scope) ? scope : [scope];\n scopes.forEach((sc) => {\n if (!this.shareScopeMap[sc]) {\n this.shareScopeMap[sc] = {};\n }\n if (!this.shareScopeMap[sc][pkgName]) {\n this.shareScopeMap[sc][pkgName] = {};\n }\n if (!this.shareScopeMap[sc][pkgName][version]) {\n this.shareScopeMap[sc][pkgName][version] = {\n version,\n scope: [sc],\n ...shareInfo,\n lib,\n loaded,\n loading,\n };\n if (get) {\n this.shareScopeMap[sc][pkgName][version].get = get;\n }\n return;\n }\n const registeredShared = this.shareScopeMap[sc][pkgName][version];\n if (loading && !registeredShared.loading) {\n registeredShared.loading = loading;\n }\n if (loaded && !registeredShared.loaded) {\n registeredShared.loaded = loaded;\n }\n if (from && registeredShared.from !== from) {\n registeredShared.from = from;\n }\n });\n }\n _setGlobalShareScopeMap(hostOptions) {\n const globalShareScopeMap = getGlobalShareScope();\n const identifier = hostOptions.id || hostOptions.name;\n if (identifier && !globalShareScopeMap[identifier]) {\n globalShareScopeMap[identifier] = this.shareScopeMap;\n }\n }\n}\n\nclass RemoteHandler {\n constructor(host) {\n this.hooks = new PluginSystem({\n beforeRegisterRemote: new SyncWaterfallHook('beforeRegisterRemote'),\n registerRemote: new SyncWaterfallHook('registerRemote'),\n beforeRequest: new AsyncWaterfallHook('beforeRequest'),\n onLoad: new AsyncHook('onLoad'),\n handlePreloadModule: new SyncHook('handlePreloadModule'),\n errorLoadRemote: new AsyncHook('errorLoadRemote'),\n beforePreloadRemote: new AsyncHook('beforePreloadRemote'),\n generatePreloadAssets: new AsyncHook('generatePreloadAssets'),\n // not used yet\n afterPreloadRemote: new AsyncHook(),\n loadEntry: new AsyncHook(),\n });\n this.host = host;\n this.idToRemoteMap = {};\n }\n formatAndRegisterRemote(globalOptions, userOptions) {\n const userRemotes = userOptions.remotes || [];\n return userRemotes.reduce((res, remote) => {\n this.registerRemote(remote, res, { force: false });\n return res;\n }, globalOptions.remotes);\n }\n setIdToRemoteMap(id, remoteMatchInfo) {\n const { remote, expose } = remoteMatchInfo;\n const { name, alias } = remote;\n this.idToRemoteMap[id] = { name: remote.name, expose };\n if (alias && id.startsWith(name)) {\n const idWithAlias = id.replace(name, alias);\n this.idToRemoteMap[idWithAlias] = { name: remote.name, expose };\n return;\n }\n if (alias && id.startsWith(alias)) {\n const idWithName = id.replace(alias, name);\n this.idToRemoteMap[idWithName] = { name: remote.name, expose };\n }\n }\n // eslint-disable-next-line max-lines-per-function\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async loadRemote(id, options) {\n const { host } = this;\n try {\n const { loadFactory = true } = options || {\n loadFactory: true,\n };\n // 1. Validate the parameters of the retrieved module. There are two module request methods: pkgName + expose and alias + expose.\n // 2. Request the snapshot information of the current host and globally store the obtained snapshot information. The retrieved module information is partially offline and partially online. The online module information will retrieve the modules used online.\n // 3. Retrieve the detailed information of the current module from global (remoteEntry address, expose resource address)\n // 4. After retrieving remoteEntry, call the init of the module, and then retrieve the exported content of the module through get\n // id: pkgName(@federation/app1) + expose(button) = @federation/app1/button\n // id: alias(app1) + expose(button) = app1/button\n // id: alias(app1/utils) + expose(loadash/sort) = app1/utils/loadash/sort\n const { module, moduleOptions, remoteMatchInfo } = await this.getRemoteModuleAndOptions({\n id,\n });\n const { pkgNameOrAlias, remote, expose, id: idRes, remoteSnapshot, } = remoteMatchInfo;\n const moduleOrFactory = (await module.get(idRes, expose, options, remoteSnapshot));\n const moduleWrapper = await this.hooks.lifecycle.onLoad.emit({\n id: idRes,\n pkgNameOrAlias,\n expose,\n exposeModule: loadFactory ? moduleOrFactory : undefined,\n exposeModuleFactory: loadFactory ? undefined : moduleOrFactory,\n remote,\n options: moduleOptions,\n moduleInstance: module,\n origin: host,\n });\n this.setIdToRemoteMap(id, remoteMatchInfo);\n if (typeof moduleWrapper === 'function') {\n return moduleWrapper;\n }\n return moduleOrFactory;\n }\n catch (error) {\n const { from = 'runtime' } = options || { from: 'runtime' };\n const failOver = await this.hooks.lifecycle.errorLoadRemote.emit({\n id,\n error,\n from,\n lifecycle: 'onLoad',\n origin: host,\n });\n if (!failOver) {\n throw error;\n }\n return failOver;\n }\n }\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async preloadRemote(preloadOptions) {\n const { host } = this;\n await this.hooks.lifecycle.beforePreloadRemote.emit({\n preloadOps: preloadOptions,\n options: host.options,\n origin: host,\n });\n const preloadOps = formatPreloadArgs(host.options.remotes, preloadOptions);\n await Promise.all(preloadOps.map(async (ops) => {\n const { remote } = ops;\n const remoteInfo = getRemoteInfo(remote);\n const { globalSnapshot, remoteSnapshot } = await host.snapshotHandler.loadRemoteSnapshotInfo({\n moduleInfo: remote,\n });\n const assets = await this.hooks.lifecycle.generatePreloadAssets.emit({\n origin: host,\n preloadOptions: ops,\n remote,\n remoteInfo,\n globalSnapshot,\n remoteSnapshot,\n });\n if (!assets) {\n return;\n }\n preloadAssets(remoteInfo, host, assets);\n }));\n }\n registerRemotes(remotes, options) {\n const { host } = this;\n remotes.forEach((remote) => {\n this.registerRemote(remote, host.options.remotes, {\n force: options?.force,\n });\n });\n }\n async getRemoteModuleAndOptions(options) {\n const { host } = this;\n const { id } = options;\n let loadRemoteArgs;\n try {\n loadRemoteArgs = await this.hooks.lifecycle.beforeRequest.emit({\n id,\n options: host.options,\n origin: host,\n });\n }\n catch (error) {\n loadRemoteArgs = (await this.hooks.lifecycle.errorLoadRemote.emit({\n id,\n options: host.options,\n origin: host,\n from: 'runtime',\n error,\n lifecycle: 'beforeRequest',\n }));\n if (!loadRemoteArgs) {\n throw error;\n }\n }\n const { id: idRes } = loadRemoteArgs;\n const remoteSplitInfo = matchRemoteWithNameAndExpose(host.options.remotes, idRes);\n assert(remoteSplitInfo, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_004, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n requestId: idRes,\n }));\n const { remote: rawRemote } = remoteSplitInfo;\n const remoteInfo = getRemoteInfo(rawRemote);\n const matchInfo = await host.sharedHandler.hooks.lifecycle.afterResolve.emit({\n id: idRes,\n ...remoteSplitInfo,\n options: host.options,\n origin: host,\n remoteInfo,\n });\n const { remote, expose } = matchInfo;\n assert(remote && expose, `The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${idRes}.`);\n let module = host.moduleCache.get(remote.name);\n const moduleOptions = {\n host: host,\n remoteInfo,\n };\n if (!module) {\n module = new Module(moduleOptions);\n host.moduleCache.set(remote.name, module);\n }\n return {\n module,\n moduleOptions,\n remoteMatchInfo: matchInfo,\n };\n }\n registerRemote(remote, targetRemotes, options) {\n const { host } = this;\n const normalizeRemote = () => {\n if (remote.alias) {\n // Validate if alias equals the prefix of remote.name and remote.alias, if so, throw an error\n // As multi-level path references cannot guarantee unique names, alias being a prefix of remote.name is not supported\n const findEqual = targetRemotes.find((item) => remote.alias &&\n (item.name.startsWith(remote.alias) ||\n item.alias?.startsWith(remote.alias)));\n assert(!findEqual, `The alias ${remote.alias} of remote ${remote.name} is not allowed to be the prefix of ${findEqual && findEqual.name} name or alias`);\n }\n // Set the remote entry to a complete path\n if ('entry' in remote) {\n if (sdk.isBrowserEnv() && !remote.entry.startsWith('http')) {\n remote.entry = new URL(remote.entry, window.location.origin).href;\n }\n }\n if (!remote.shareScope) {\n remote.shareScope = DEFAULT_SCOPE;\n }\n if (!remote.type) {\n remote.type = DEFAULT_REMOTE_TYPE;\n }\n };\n this.hooks.lifecycle.beforeRegisterRemote.emit({ remote, origin: host });\n const registeredRemote = targetRemotes.find((item) => item.name === remote.name);\n if (!registeredRemote) {\n normalizeRemote();\n targetRemotes.push(remote);\n this.hooks.lifecycle.registerRemote.emit({ remote, origin: host });\n }\n else {\n const messages = [\n `The remote \"${remote.name}\" is already registered.`,\n 'Please note that overriding it may cause unexpected errors.',\n ];\n if (options?.force) {\n // remove registered remote\n this.removeRemote(registeredRemote);\n normalizeRemote();\n targetRemotes.push(remote);\n this.hooks.lifecycle.registerRemote.emit({ remote, origin: host });\n sdk.warn(messages.join(' '));\n }\n }\n }\n removeRemote(remote) {\n try {\n const { host } = this;\n const { name } = remote;\n const remoteIndex = host.options.remotes.findIndex((item) => item.name === name);\n if (remoteIndex !== -1) {\n host.options.remotes.splice(remoteIndex, 1);\n }\n const loadedModule = host.moduleCache.get(remote.name);\n if (loadedModule) {\n const remoteInfo = loadedModule.remoteInfo;\n const key = remoteInfo.entryGlobalName;\n if (CurrentGlobal[key]) {\n if (Object.getOwnPropertyDescriptor(CurrentGlobal, key)?.configurable) {\n delete CurrentGlobal[key];\n }\n else {\n // @ts-ignore\n CurrentGlobal[key] = undefined;\n }\n }\n const remoteEntryUniqueKey = getRemoteEntryUniqueKey(loadedModule.remoteInfo);\n if (globalLoading[remoteEntryUniqueKey]) {\n delete globalLoading[remoteEntryUniqueKey];\n }\n host.snapshotHandler.manifestCache.delete(remoteInfo.entry);\n // delete unloaded shared and instance\n let remoteInsId = remoteInfo.buildVersion\n ? sdk.composeKeyWithSeparator(remoteInfo.name, remoteInfo.buildVersion)\n : remoteInfo.name;\n const remoteInsIndex = CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex((ins) => {\n if (remoteInfo.buildVersion) {\n return ins.options.id === remoteInsId;\n }\n else {\n return ins.name === remoteInsId;\n }\n });\n if (remoteInsIndex !== -1) {\n const remoteIns = CurrentGlobal.__FEDERATION__.__INSTANCES__[remoteInsIndex];\n remoteInsId = remoteIns.options.id || remoteInsId;\n const globalShareScopeMap = getGlobalShareScope();\n let isAllSharedNotUsed = true;\n const needDeleteKeys = [];\n Object.keys(globalShareScopeMap).forEach((instId) => {\n const shareScopeMap = globalShareScopeMap[instId];\n shareScopeMap &&\n Object.keys(shareScopeMap).forEach((shareScope) => {\n const shareScopeVal = shareScopeMap[shareScope];\n shareScopeVal &&\n Object.keys(shareScopeVal).forEach((shareName) => {\n const sharedPkgs = shareScopeVal[shareName];\n sharedPkgs &&\n Object.keys(sharedPkgs).forEach((shareVersion) => {\n const shared = sharedPkgs[shareVersion];\n if (shared &&\n typeof shared === 'object' &&\n shared.from === remoteInfo.name) {\n if (shared.loaded || shared.loading) {\n shared.useIn = shared.useIn.filter((usedHostName) => usedHostName !== remoteInfo.name);\n if (shared.useIn.length) {\n isAllSharedNotUsed = false;\n }\n else {\n needDeleteKeys.push([\n instId,\n shareScope,\n shareName,\n shareVersion,\n ]);\n }\n }\n else {\n needDeleteKeys.push([\n instId,\n shareScope,\n shareName,\n shareVersion,\n ]);\n }\n }\n });\n });\n });\n });\n if (isAllSharedNotUsed) {\n remoteIns.shareScopeMap = {};\n delete globalShareScopeMap[remoteInsId];\n }\n needDeleteKeys.forEach(([insId, shareScope, shareName, shareVersion]) => {\n delete globalShareScopeMap[insId]?.[shareScope]?.[shareName]?.[shareVersion];\n });\n CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(remoteInsIndex, 1);\n }\n const { hostGlobalSnapshot } = getGlobalRemoteInfo(remote, host);\n if (hostGlobalSnapshot) {\n const remoteKey = hostGlobalSnapshot &&\n 'remotesInfo' in hostGlobalSnapshot &&\n hostGlobalSnapshot.remotesInfo &&\n getInfoWithoutType(hostGlobalSnapshot.remotesInfo, remote.name).key;\n if (remoteKey) {\n delete hostGlobalSnapshot.remotesInfo[remoteKey];\n if (\n //eslint-disable-next-line no-extra-boolean-cast\n Boolean(Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey])) {\n delete Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey];\n }\n }\n }\n host.moduleCache.delete(remote.name);\n }\n }\n catch (err) {\n logger.log('removeRemote fail: ', err);\n }\n }\n}\n\nconst USE_SNAPSHOT = typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN === 'boolean'\n ? !FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN\n : true; // Default to true (use snapshot) when not explicitly defined\nclass ModuleFederation {\n constructor(userOptions) {\n this.hooks = new PluginSystem({\n beforeInit: new SyncWaterfallHook('beforeInit'),\n init: new SyncHook(),\n // maybe will change, temporarily for internal use only\n beforeInitContainer: new AsyncWaterfallHook('beforeInitContainer'),\n // maybe will change, temporarily for internal use only\n initContainer: new AsyncWaterfallHook('initContainer'),\n });\n this.version = \"0.21.6\";\n this.moduleCache = new Map();\n this.loaderHook = new PluginSystem({\n // FIXME: may not be suitable , not open to the public yet\n getModuleInfo: new SyncHook(),\n createScript: new SyncHook(),\n createLink: new SyncHook(),\n fetch: new AsyncHook(),\n loadEntryError: new AsyncHook(),\n getModuleFactory: new AsyncHook(),\n });\n this.bridgeHook = new PluginSystem({\n beforeBridgeRender: new SyncHook(),\n afterBridgeRender: new SyncHook(),\n beforeBridgeDestroy: new SyncHook(),\n afterBridgeDestroy: new SyncHook(),\n });\n const plugins = USE_SNAPSHOT\n ? [snapshotPlugin(), generatePreloadAssetsPlugin()]\n : [];\n // TODO: Validate the details of the options\n // Initialize options with default values\n const defaultOptions = {\n id: getBuilderId(),\n name: userOptions.name,\n plugins,\n remotes: [],\n shared: {},\n inBrowser: sdk.isBrowserEnv(),\n };\n this.name = userOptions.name;\n this.options = defaultOptions;\n this.snapshotHandler = new SnapshotHandler(this);\n this.sharedHandler = new SharedHandler(this);\n this.remoteHandler = new RemoteHandler(this);\n this.shareScopeMap = this.sharedHandler.shareScopeMap;\n this.registerPlugins([\n ...defaultOptions.plugins,\n ...(userOptions.plugins || []),\n ]);\n this.options = this.formatOptions(defaultOptions, userOptions);\n }\n initOptions(userOptions) {\n this.registerPlugins(userOptions.plugins);\n const options = this.formatOptions(this.options, userOptions);\n this.options = options;\n return options;\n }\n async loadShare(pkgName, extraOptions) {\n return this.sharedHandler.loadShare(pkgName, extraOptions);\n }\n // The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.\n // 1. If the loaded shared already exists globally, then it will be reused\n // 2. If lib exists in local shared, it will be used directly\n // 3. If the local get returns something other than Promise, then it will be used directly\n loadShareSync(pkgName, extraOptions) {\n return this.sharedHandler.loadShareSync(pkgName, extraOptions);\n }\n initializeSharing(shareScopeName = DEFAULT_SCOPE, extraOptions) {\n return this.sharedHandler.initializeSharing(shareScopeName, extraOptions);\n }\n initRawContainer(name, url, container) {\n const remoteInfo = getRemoteInfo({ name, entry: url });\n const module = new Module({ host: this, remoteInfo });\n module.remoteEntryExports = container;\n this.moduleCache.set(name, module);\n return module;\n }\n // eslint-disable-next-line max-lines-per-function\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async loadRemote(id, options) {\n return this.remoteHandler.loadRemote(id, options);\n }\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async preloadRemote(preloadOptions) {\n return this.remoteHandler.preloadRemote(preloadOptions);\n }\n initShareScopeMap(scopeName, shareScope, extraOptions = {}) {\n this.sharedHandler.initShareScopeMap(scopeName, shareScope, extraOptions);\n }\n formatOptions(globalOptions, userOptions) {\n const { shared } = formatShareConfigs(globalOptions, userOptions);\n const { userOptions: userOptionsRes, options: globalOptionsRes } = this.hooks.lifecycle.beforeInit.emit({\n origin: this,\n userOptions,\n options: globalOptions,\n shareInfo: shared,\n });\n const remotes = this.remoteHandler.formatAndRegisterRemote(globalOptionsRes, userOptionsRes);\n const { shared: handledShared } = this.sharedHandler.registerShared(globalOptionsRes, userOptionsRes);\n const plugins = [...globalOptionsRes.plugins];\n if (userOptionsRes.plugins) {\n userOptionsRes.plugins.forEach((plugin) => {\n if (!plugins.includes(plugin)) {\n plugins.push(plugin);\n }\n });\n }\n const optionsRes = {\n ...globalOptions,\n ...userOptions,\n plugins,\n remotes,\n shared: handledShared,\n };\n this.hooks.lifecycle.init.emit({\n origin: this,\n options: optionsRes,\n });\n return optionsRes;\n }\n registerPlugins(plugins) {\n const pluginRes = registerPlugins(plugins, this);\n // Merge plugin\n this.options.plugins = this.options.plugins.reduce((res, plugin) => {\n if (!plugin)\n return res;\n if (res && !res.find((item) => item.name === plugin.name)) {\n res.push(plugin);\n }\n return res;\n }, pluginRes || []);\n }\n registerRemotes(remotes, options) {\n return this.remoteHandler.registerRemotes(remotes, options);\n }\n registerShared(shared) {\n this.sharedHandler.registerShared(this.options, {\n ...this.options,\n shared,\n });\n }\n}\n\nvar index = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nexports.loadScript = sdk.loadScript;\nexports.loadScriptNode = sdk.loadScriptNode;\nexports.CurrentGlobal = CurrentGlobal;\nexports.Global = Global;\nexports.Module = Module;\nexports.ModuleFederation = ModuleFederation;\nexports.addGlobalSnapshot = addGlobalSnapshot;\nexports.assert = assert;\nexports.getGlobalFederationConstructor = getGlobalFederationConstructor;\nexports.getGlobalSnapshot = getGlobalSnapshot;\nexports.getInfoWithoutType = getInfoWithoutType;\nexports.getRegisteredShare = getRegisteredShare;\nexports.getRemoteEntry = getRemoteEntry;\nexports.getRemoteInfo = getRemoteInfo;\nexports.helpers = helpers;\nexports.isStaticResourcesEqual = isStaticResourcesEqual;\nexports.matchRemoteWithNameAndExpose = matchRemoteWithNameAndExpose;\nexports.registerGlobalPlugins = registerGlobalPlugins;\nexports.resetFederationGlobalInfo = resetFederationGlobalInfo;\nexports.safeWrapper = safeWrapper;\nexports.satisfy = satisfy;\nexports.setGlobalFederationConstructor = setGlobalFederationConstructor;\nexports.setGlobalFederationInstance = setGlobalFederationInstance;\nexports.types = index;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nvar runtimeCore = require('@module-federation/runtime-core');\nvar errorCodes = require('@module-federation/error-codes');\nvar utils = require('./utils.cjs.cjs');\n\nfunction createInstance(options) {\n // Retrieve debug constructor\n const ModuleFederationConstructor = runtimeCore.getGlobalFederationConstructor() || runtimeCore.ModuleFederation;\n const instance = new ModuleFederationConstructor(options);\n runtimeCore.setGlobalFederationInstance(instance);\n return instance;\n}\nlet FederationInstance = null;\n/**\n * @deprecated Use createInstance or getInstance instead\n */\nfunction init(options) {\n // Retrieve the same instance with the same name\n const instance = utils.getGlobalFederationInstance(options.name, options.version);\n if (!instance) {\n FederationInstance = createInstance(options);\n return FederationInstance;\n }\n else {\n // Merge options\n instance.initOptions(options);\n if (!FederationInstance) {\n FederationInstance = instance;\n }\n return instance;\n }\n}\nfunction loadRemote(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n const loadRemote = FederationInstance.loadRemote;\n // eslint-disable-next-line prefer-spread\n return loadRemote.apply(FederationInstance, args);\n}\nfunction loadShare(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n const loadShare = FederationInstance.loadShare;\n return loadShare.apply(FederationInstance, args);\n}\nfunction loadShareSync(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n const loadShareSync = FederationInstance.loadShareSync;\n // eslint-disable-next-line prefer-spread\n return loadShareSync.apply(FederationInstance, args);\n}\nfunction preloadRemote(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.preloadRemote.apply(FederationInstance, args);\n}\nfunction registerRemotes(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerRemotes.apply(FederationInstance, args);\n}\nfunction registerPlugins(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerPlugins.apply(FederationInstance, args);\n}\nfunction getInstance() {\n return FederationInstance;\n}\nfunction registerShared(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerShared.apply(FederationInstance, args);\n}\n// Inject for debug\nruntimeCore.setGlobalFederationConstructor(runtimeCore.ModuleFederation);\n\nexports.Module = runtimeCore.Module;\nexports.ModuleFederation = runtimeCore.ModuleFederation;\nexports.getRemoteEntry = runtimeCore.getRemoteEntry;\nexports.getRemoteInfo = runtimeCore.getRemoteInfo;\nexports.loadScript = runtimeCore.loadScript;\nexports.loadScriptNode = runtimeCore.loadScriptNode;\nexports.registerGlobalPlugins = runtimeCore.registerGlobalPlugins;\nexports.createInstance = createInstance;\nexports.getInstance = getInstance;\nexports.init = init;\nexports.loadRemote = loadRemote;\nexports.loadShare = loadShare;\nexports.loadShareSync = loadShareSync;\nexports.preloadRemote = preloadRemote;\nexports.registerPlugins = registerPlugins;\nexports.registerRemotes = registerRemotes;\nexports.registerShared = registerShared;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nvar runtimeCore = require('@module-federation/runtime-core');\n\n// injected by bundler, so it can not use runtime-core stuff\nfunction getBuilderId() {\n //@ts-ignore\n return typeof FEDERATION_BUILD_IDENTIFIER !== 'undefined'\n ? //@ts-ignore\n FEDERATION_BUILD_IDENTIFIER\n : '';\n}\nfunction getGlobalFederationInstance(name, version) {\n const buildId = getBuilderId();\n return runtimeCore.CurrentGlobal.__FEDERATION__.__INSTANCES__.find((GMInstance) => {\n if (buildId && GMInstance.options.id === buildId) {\n return true;\n }\n if (GMInstance.options.name === name &&\n !GMInstance.options.version &&\n !version) {\n return true;\n }\n if (GMInstance.options.name === name &&\n version &&\n GMInstance.options.version === version) {\n return true;\n }\n return false;\n });\n}\n\nexports.getGlobalFederationInstance = getGlobalFederationInstance;\n//# sourceMappingURL=utils.cjs.cjs.map\n","'use strict';\n\nconst FederationModuleManifest = 'federation-manifest.json';\nconst MANIFEST_EXT = '.json';\nconst BROWSER_LOG_KEY = 'FEDERATION_DEBUG';\nconst NameTransformSymbol = {\n AT: '@',\n HYPHEN: '-',\n SLASH: '/',\n};\nconst NameTransformMap = {\n [NameTransformSymbol.AT]: 'scope_',\n [NameTransformSymbol.HYPHEN]: '_',\n [NameTransformSymbol.SLASH]: '__',\n};\nconst EncodedNameTransformMap = {\n [NameTransformMap[NameTransformSymbol.AT]]: NameTransformSymbol.AT,\n [NameTransformMap[NameTransformSymbol.HYPHEN]]: NameTransformSymbol.HYPHEN,\n [NameTransformMap[NameTransformSymbol.SLASH]]: NameTransformSymbol.SLASH,\n};\nconst SEPARATOR = ':';\nconst ManifestFileName = 'mf-manifest.json';\nconst StatsFileName = 'mf-stats.json';\nconst MFModuleType = {\n NPM: 'npm',\n APP: 'app',\n};\nconst MODULE_DEVTOOL_IDENTIFIER = '__MF_DEVTOOLS_MODULE_INFO__';\nconst ENCODE_NAME_PREFIX = 'ENCODE_NAME_PREFIX';\nconst TEMP_DIR = '.federation';\nconst MFPrefetchCommon = {\n identifier: 'MFDataPrefetch',\n globalKey: '__PREFETCH__',\n library: 'mf-data-prefetch',\n exportsKey: '__PREFETCH_EXPORTS__',\n fileName: 'bootstrap.js',\n};\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar ContainerPlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar ContainerReferencePlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nvar ModuleFederationPlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar SharePlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nfunction isBrowserEnv() {\n return (typeof window !== 'undefined' && typeof window.document !== 'undefined');\n}\nfunction isReactNativeEnv() {\n return (typeof navigator !== 'undefined' && navigator?.product === 'ReactNative');\n}\nfunction isBrowserDebug() {\n try {\n if (isBrowserEnv() && window.localStorage) {\n return Boolean(localStorage.getItem(BROWSER_LOG_KEY));\n }\n }\n catch (error) {\n return false;\n }\n return false;\n}\nfunction isDebugMode() {\n if (typeof process !== 'undefined' &&\n process.env &&\n process.env['FEDERATION_DEBUG']) {\n return Boolean(process.env['FEDERATION_DEBUG']);\n }\n if (typeof FEDERATION_DEBUG !== 'undefined' && Boolean(FEDERATION_DEBUG)) {\n return true;\n }\n return isBrowserDebug();\n}\nconst getProcessEnv = function () {\n return typeof process !== 'undefined' && process.env ? process.env : {};\n};\n\nconst LOG_CATEGORY = '[ Federation Runtime ]';\n// entry: name:version version : 1.0.0 | ^1.2.3\n// entry: name:entry entry: https://localhost:9000/federation-manifest.json\nconst parseEntry = (str, devVerOrUrl, separator = SEPARATOR) => {\n const strSplit = str.split(separator);\n const devVersionOrUrl = getProcessEnv()['NODE_ENV'] === 'development' && devVerOrUrl;\n const defaultVersion = '*';\n const isEntry = (s) => s.startsWith('http') || s.includes(MANIFEST_EXT);\n // Check if the string starts with a type\n if (strSplit.length >= 2) {\n let [name, ...versionOrEntryArr] = strSplit;\n // @name@manifest-url.json\n if (str.startsWith(separator)) {\n name = strSplit.slice(0, 2).join(separator);\n versionOrEntryArr = [\n devVersionOrUrl || strSplit.slice(2).join(separator),\n ];\n }\n let versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator);\n if (isEntry(versionOrEntry)) {\n return {\n name,\n entry: versionOrEntry,\n };\n }\n else {\n // Apply version rule\n // devVersionOrUrl => inputVersion => defaultVersion\n return {\n name,\n version: versionOrEntry || defaultVersion,\n };\n }\n }\n else if (strSplit.length === 1) {\n const [name] = strSplit;\n if (devVersionOrUrl && isEntry(devVersionOrUrl)) {\n return {\n name,\n entry: devVersionOrUrl,\n };\n }\n return {\n name,\n version: devVersionOrUrl || defaultVersion,\n };\n }\n else {\n throw `Invalid entry value: ${str}`;\n }\n};\nconst composeKeyWithSeparator = function (...args) {\n if (!args.length) {\n return '';\n }\n return args.reduce((sum, cur) => {\n if (!cur) {\n return sum;\n }\n if (!sum) {\n return cur;\n }\n return `${sum}${SEPARATOR}${cur}`;\n }, '');\n};\nconst encodeName = function (name, prefix = '', withExt = false) {\n try {\n const ext = withExt ? '.js' : '';\n return `${prefix}${name\n .replace(new RegExp(`${NameTransformSymbol.AT}`, 'g'), NameTransformMap[NameTransformSymbol.AT])\n .replace(new RegExp(`${NameTransformSymbol.HYPHEN}`, 'g'), NameTransformMap[NameTransformSymbol.HYPHEN])\n .replace(new RegExp(`${NameTransformSymbol.SLASH}`, 'g'), NameTransformMap[NameTransformSymbol.SLASH])}${ext}`;\n }\n catch (err) {\n throw err;\n }\n};\nconst decodeName = function (name, prefix, withExt) {\n try {\n let decodedName = name;\n if (prefix) {\n if (!decodedName.startsWith(prefix)) {\n return decodedName;\n }\n decodedName = decodedName.replace(new RegExp(prefix, 'g'), '');\n }\n decodedName = decodedName\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]])\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]])\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]);\n if (withExt) {\n decodedName = decodedName.replace('.js', '');\n }\n return decodedName;\n }\n catch (err) {\n throw err;\n }\n};\nconst generateExposeFilename = (exposeName, withExt) => {\n if (!exposeName) {\n return '';\n }\n let expose = exposeName;\n if (expose === '.') {\n expose = 'default_export';\n }\n if (expose.startsWith('./')) {\n expose = expose.replace('./', '');\n }\n return encodeName(expose, '__federation_expose_', withExt);\n};\nconst generateShareFilename = (pkgName, withExt) => {\n if (!pkgName) {\n return '';\n }\n return encodeName(pkgName, '__federation_shared_', withExt);\n};\nconst getResourceUrl = (module, sourceUrl) => {\n if ('getPublicPath' in module) {\n let publicPath;\n if (!module.getPublicPath.startsWith('function')) {\n publicPath = new Function(module.getPublicPath)();\n }\n else {\n publicPath = new Function('return ' + module.getPublicPath)()();\n }\n return `${publicPath}${sourceUrl}`;\n }\n else if ('publicPath' in module) {\n if (!isBrowserEnv() && !isReactNativeEnv() && 'ssrPublicPath' in module) {\n return `${module.ssrPublicPath}${sourceUrl}`;\n }\n return `${module.publicPath}${sourceUrl}`;\n }\n else {\n console.warn('Cannot get resource URL. If in debug mode, please ignore.', module, sourceUrl);\n return '';\n }\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst assert = (condition, msg) => {\n if (!condition) {\n error(msg);\n }\n};\nconst error = (msg) => {\n throw new Error(`${LOG_CATEGORY}: ${msg}`);\n};\nconst warn = (msg) => {\n console.warn(`${LOG_CATEGORY}: ${msg}`);\n};\nfunction safeToString(info) {\n try {\n return JSON.stringify(info, null, 2);\n }\n catch (e) {\n return '';\n }\n}\n// RegExp for version string\nconst VERSION_PATTERN_REGEXP = /^([\\d^=v<>~]|[*xX]$)/;\nfunction isRequiredVersion(str) {\n return VERSION_PATTERN_REGEXP.test(str);\n}\n\nconst simpleJoinRemoteEntry = (rPath, rName) => {\n if (!rPath) {\n return rName;\n }\n const transformPath = (str) => {\n if (str === '.') {\n return '';\n }\n if (str.startsWith('./')) {\n return str.replace('./', '');\n }\n if (str.startsWith('/')) {\n const strWithoutSlash = str.slice(1);\n if (strWithoutSlash.endsWith('/')) {\n return strWithoutSlash.slice(0, -1);\n }\n return strWithoutSlash;\n }\n return str;\n };\n const transformedPath = transformPath(rPath);\n if (!transformedPath) {\n return rName;\n }\n if (transformedPath.endsWith('/')) {\n return `${transformedPath}${rName}`;\n }\n return `${transformedPath}/${rName}`;\n};\nfunction inferAutoPublicPath(url) {\n return url\n .replace(/#.*$/, '')\n .replace(/\\?.*$/, '')\n .replace(/\\/[^\\/]+$/, '/');\n}\n// Priority: overrides > remotes\n// eslint-disable-next-line max-lines-per-function\nfunction generateSnapshotFromManifest(manifest, options = {}) {\n const { remotes = {}, overrides = {}, version } = options;\n let remoteSnapshot;\n const getPublicPath = () => {\n if ('publicPath' in manifest.metaData) {\n if (manifest.metaData.publicPath === 'auto' && version) {\n // use same implementation as publicPath auto runtime module implements\n return inferAutoPublicPath(version);\n }\n return manifest.metaData.publicPath;\n }\n else {\n return manifest.metaData.getPublicPath;\n }\n };\n const overridesKeys = Object.keys(overrides);\n let remotesInfo = {};\n // If remotes are not provided, only the remotes in the manifest will be read\n if (!Object.keys(remotes).length) {\n remotesInfo =\n manifest.remotes?.reduce((res, next) => {\n let matchedVersion;\n const name = next.federationContainerName;\n // overrides have higher priority\n if (overridesKeys.includes(name)) {\n matchedVersion = overrides[name];\n }\n else {\n if ('version' in next) {\n matchedVersion = next.version;\n }\n else {\n matchedVersion = next.entry;\n }\n }\n res[name] = {\n matchedVersion,\n };\n return res;\n }, {}) || {};\n }\n // If remotes (deploy scenario) are specified, they need to be traversed again\n Object.keys(remotes).forEach((key) => (remotesInfo[key] = {\n // overrides will override dependencies\n matchedVersion: overridesKeys.includes(key)\n ? overrides[key]\n : remotes[key],\n }));\n const { remoteEntry: { path: remoteEntryPath, name: remoteEntryName, type: remoteEntryType, }, types: remoteTypes = { path: '', name: '', zip: '', api: '' }, buildInfo: { buildVersion }, globalName, ssrRemoteEntry, } = manifest.metaData;\n const { exposes } = manifest;\n let basicRemoteSnapshot = {\n version: version ? version : '',\n buildVersion,\n globalName,\n remoteEntry: simpleJoinRemoteEntry(remoteEntryPath, remoteEntryName),\n remoteEntryType,\n remoteTypes: simpleJoinRemoteEntry(remoteTypes.path, remoteTypes.name),\n remoteTypesZip: remoteTypes.zip || '',\n remoteTypesAPI: remoteTypes.api || '',\n remotesInfo,\n shared: manifest?.shared.map((item) => ({\n assets: item.assets,\n sharedName: item.name,\n version: item.version,\n })),\n modules: exposes?.map((expose) => ({\n moduleName: expose.name,\n modulePath: expose.path,\n assets: expose.assets,\n })),\n };\n if (manifest.metaData?.prefetchInterface) {\n const prefetchInterface = manifest.metaData.prefetchInterface;\n basicRemoteSnapshot = {\n ...basicRemoteSnapshot,\n prefetchInterface,\n };\n }\n if (manifest.metaData?.prefetchEntry) {\n const { path, name, type } = manifest.metaData.prefetchEntry;\n basicRemoteSnapshot = {\n ...basicRemoteSnapshot,\n prefetchEntry: simpleJoinRemoteEntry(path, name),\n prefetchEntryType: type,\n };\n }\n if ('publicPath' in manifest.metaData) {\n remoteSnapshot = {\n ...basicRemoteSnapshot,\n publicPath: getPublicPath(),\n ssrPublicPath: manifest.metaData.ssrPublicPath,\n };\n }\n else {\n remoteSnapshot = {\n ...basicRemoteSnapshot,\n getPublicPath: getPublicPath(),\n };\n }\n if (ssrRemoteEntry) {\n const fullSSRRemoteEntry = simpleJoinRemoteEntry(ssrRemoteEntry.path, ssrRemoteEntry.name);\n remoteSnapshot.ssrRemoteEntry = fullSSRRemoteEntry;\n remoteSnapshot.ssrRemoteEntryType =\n ssrRemoteEntry.type || 'commonjs-module';\n }\n return remoteSnapshot;\n}\nfunction isManifestProvider(moduleInfo) {\n if ('remoteEntry' in moduleInfo &&\n moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {\n return true;\n }\n else {\n return false;\n }\n}\nfunction getManifestFileName(manifestOptions) {\n if (!manifestOptions) {\n return {\n statsFileName: StatsFileName,\n manifestFileName: ManifestFileName,\n };\n }\n let filePath = typeof manifestOptions === 'boolean' ? '' : manifestOptions.filePath || '';\n let fileName = typeof manifestOptions === 'boolean' ? '' : manifestOptions.fileName || '';\n const JSON_EXT = '.json';\n const addExt = (name) => {\n if (name.endsWith(JSON_EXT)) {\n return name;\n }\n return `${name}${JSON_EXT}`;\n };\n const insertSuffix = (name, suffix) => {\n return name.replace(JSON_EXT, `${suffix}${JSON_EXT}`);\n };\n const manifestFileName = fileName ? addExt(fileName) : ManifestFileName;\n const statsFileName = fileName\n ? insertSuffix(manifestFileName, '-stats')\n : StatsFileName;\n return {\n statsFileName: simpleJoinRemoteEntry(filePath, statsFileName),\n manifestFileName: simpleJoinRemoteEntry(filePath, manifestFileName),\n };\n}\n\nconst PREFIX = '[ Module Federation ]';\nconst DEFAULT_DELEGATE = console;\nconst LOGGER_STACK_SKIP_TOKENS = [\n 'logger.ts',\n 'logger.js',\n 'captureStackTrace',\n 'Logger.emit',\n 'Logger.log',\n 'Logger.info',\n 'Logger.warn',\n 'Logger.error',\n 'Logger.debug',\n];\nfunction captureStackTrace() {\n try {\n const stack = new Error().stack;\n if (!stack) {\n return undefined;\n }\n const [, ...rawLines] = stack.split('\\n');\n const filtered = rawLines.filter((line) => !LOGGER_STACK_SKIP_TOKENS.some((token) => line.includes(token)));\n if (!filtered.length) {\n return undefined;\n }\n const stackPreview = filtered.slice(0, 5).join('\\n');\n return `Stack trace:\\n${stackPreview}`;\n }\n catch {\n return undefined;\n }\n}\nclass Logger {\n constructor(prefix, delegate = DEFAULT_DELEGATE) {\n this.prefix = prefix;\n this.delegate = delegate ?? DEFAULT_DELEGATE;\n }\n setPrefix(prefix) {\n this.prefix = prefix;\n }\n setDelegate(delegate) {\n this.delegate = delegate ?? DEFAULT_DELEGATE;\n }\n emit(method, args) {\n const delegate = this.delegate;\n const debugMode = isDebugMode();\n const stackTrace = debugMode ? captureStackTrace() : undefined;\n const enrichedArgs = stackTrace ? [...args, stackTrace] : args;\n const order = (() => {\n switch (method) {\n case 'log':\n return ['log', 'info'];\n case 'info':\n return ['info', 'log'];\n case 'warn':\n return ['warn', 'info', 'log'];\n case 'error':\n return ['error', 'warn', 'log'];\n case 'debug':\n default:\n return ['debug', 'log'];\n }\n })();\n for (const candidate of order) {\n const handler = delegate[candidate];\n if (typeof handler === 'function') {\n handler.call(delegate, this.prefix, ...enrichedArgs);\n return;\n }\n }\n for (const candidate of order) {\n const handler = DEFAULT_DELEGATE[candidate];\n if (typeof handler === 'function') {\n handler.call(DEFAULT_DELEGATE, this.prefix, ...enrichedArgs);\n return;\n }\n }\n }\n log(...args) {\n this.emit('log', args);\n }\n warn(...args) {\n this.emit('warn', args);\n }\n error(...args) {\n this.emit('error', args);\n }\n success(...args) {\n this.emit('info', args);\n }\n info(...args) {\n this.emit('info', args);\n }\n ready(...args) {\n this.emit('info', args);\n }\n debug(...args) {\n if (isDebugMode()) {\n this.emit('debug', args);\n }\n }\n}\nfunction createLogger(prefix) {\n return new Logger(prefix);\n}\nfunction createInfrastructureLogger(prefix) {\n const infrastructureLogger = new Logger(prefix);\n Object.defineProperty(infrastructureLogger, '__mf_infrastructure_logger__', {\n value: true,\n enumerable: false,\n configurable: false,\n });\n return infrastructureLogger;\n}\nfunction bindLoggerToCompiler(loggerInstance, compiler, name) {\n if (!loggerInstance\n .__mf_infrastructure_logger__) {\n return;\n }\n if (!compiler?.getInfrastructureLogger) {\n return;\n }\n try {\n const infrastructureLogger = compiler.getInfrastructureLogger(name);\n if (infrastructureLogger &&\n typeof infrastructureLogger === 'object' &&\n (typeof infrastructureLogger.log === 'function' ||\n typeof infrastructureLogger.info === 'function' ||\n typeof infrastructureLogger.warn === 'function' ||\n typeof infrastructureLogger.error === 'function')) {\n loggerInstance.setDelegate(infrastructureLogger);\n }\n }\n catch {\n // If the bundler throws (older versions), fall back to default console logger.\n loggerInstance.setDelegate(undefined);\n }\n}\nconst logger = createLogger(PREFIX);\nconst infrastructureLogger = createInfrastructureLogger(PREFIX);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nasync function safeWrapper(callback, disableWarn) {\n try {\n const res = await callback();\n return res;\n }\n catch (e) {\n !disableWarn && warn(e);\n return;\n }\n}\nfunction isStaticResourcesEqual(url1, url2) {\n const REG_EXP = /^(https?:)?\\/\\//i;\n // Transform url1 and url2 into relative paths\n const relativeUrl1 = url1.replace(REG_EXP, '').replace(/\\/$/, '');\n const relativeUrl2 = url2.replace(REG_EXP, '').replace(/\\/$/, '');\n // Check if the relative paths are identical\n return relativeUrl1 === relativeUrl2;\n}\nfunction createScript(info) {\n // Retrieve the existing script element by its src attribute\n let script = null;\n let needAttach = true;\n let timeout = 20000;\n let timeoutId;\n const scripts = document.getElementsByTagName('script');\n for (let i = 0; i < scripts.length; i++) {\n const s = scripts[i];\n const scriptSrc = s.getAttribute('src');\n if (scriptSrc && isStaticResourcesEqual(scriptSrc, info.url)) {\n script = s;\n needAttach = false;\n break;\n }\n }\n if (!script) {\n const attrs = info.attrs;\n script = document.createElement('script');\n script.type = attrs?.['type'] === 'module' ? 'module' : 'text/javascript';\n let createScriptRes = undefined;\n if (info.createScriptHook) {\n createScriptRes = info.createScriptHook(info.url, info.attrs);\n if (createScriptRes instanceof HTMLScriptElement) {\n script = createScriptRes;\n }\n else if (typeof createScriptRes === 'object') {\n if ('script' in createScriptRes && createScriptRes.script) {\n script = createScriptRes.script;\n }\n if ('timeout' in createScriptRes && createScriptRes.timeout) {\n timeout = createScriptRes.timeout;\n }\n }\n }\n if (!script.src) {\n script.src = info.url;\n }\n if (attrs && !createScriptRes) {\n Object.keys(attrs).forEach((name) => {\n if (script) {\n if (name === 'async' || name === 'defer') {\n script[name] = attrs[name];\n // Attributes that do not exist are considered overridden\n }\n else if (!script.getAttribute(name)) {\n script.setAttribute(name, attrs[name]);\n }\n }\n });\n }\n }\n const onScriptComplete = async (prev, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n event) => {\n clearTimeout(timeoutId);\n const onScriptCompleteCallback = () => {\n if (event?.type === 'error') {\n info?.onErrorCallback && info?.onErrorCallback(event);\n }\n else {\n info?.cb && info?.cb();\n }\n };\n // Prevent memory leaks in IE.\n if (script) {\n script.onerror = null;\n script.onload = null;\n safeWrapper(() => {\n const { needDeleteScript = true } = info;\n if (needDeleteScript) {\n script?.parentNode && script.parentNode.removeChild(script);\n }\n });\n if (prev && typeof prev === 'function') {\n const result = prev(event);\n if (result instanceof Promise) {\n const res = await result;\n onScriptCompleteCallback();\n return res;\n }\n onScriptCompleteCallback();\n return result;\n }\n }\n onScriptCompleteCallback();\n };\n script.onerror = onScriptComplete.bind(null, script.onerror);\n script.onload = onScriptComplete.bind(null, script.onload);\n timeoutId = setTimeout(() => {\n onScriptComplete(null, new Error(`Remote script \"${info.url}\" time-outed.`));\n }, timeout);\n return { script, needAttach };\n}\nfunction createLink(info) {\n // <link rel=\"preload\" href=\"script.js\" as=\"script\">\n // Retrieve the existing script element by its src attribute\n let link = null;\n let needAttach = true;\n const links = document.getElementsByTagName('link');\n for (let i = 0; i < links.length; i++) {\n const l = links[i];\n const linkHref = l.getAttribute('href');\n const linkRel = l.getAttribute('rel');\n if (linkHref &&\n isStaticResourcesEqual(linkHref, info.url) &&\n linkRel === info.attrs['rel']) {\n link = l;\n needAttach = false;\n break;\n }\n }\n if (!link) {\n link = document.createElement('link');\n link.setAttribute('href', info.url);\n let createLinkRes = undefined;\n const attrs = info.attrs;\n if (info.createLinkHook) {\n createLinkRes = info.createLinkHook(info.url, attrs);\n if (createLinkRes instanceof HTMLLinkElement) {\n link = createLinkRes;\n }\n }\n if (attrs && !createLinkRes) {\n Object.keys(attrs).forEach((name) => {\n if (link && !link.getAttribute(name)) {\n link.setAttribute(name, attrs[name]);\n }\n });\n }\n }\n const onLinkComplete = (prev, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n event) => {\n const onLinkCompleteCallback = () => {\n if (event?.type === 'error') {\n info?.onErrorCallback && info?.onErrorCallback(event);\n }\n else {\n info?.cb && info?.cb();\n }\n };\n // Prevent memory leaks in IE.\n if (link) {\n link.onerror = null;\n link.onload = null;\n safeWrapper(() => {\n const { needDeleteLink = true } = info;\n if (needDeleteLink) {\n link?.parentNode && link.parentNode.removeChild(link);\n }\n });\n if (prev) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res = prev(event);\n onLinkCompleteCallback();\n return res;\n }\n }\n onLinkCompleteCallback();\n };\n link.onerror = onLinkComplete.bind(null, link.onerror);\n link.onload = onLinkComplete.bind(null, link.onload);\n return { link, needAttach };\n}\nfunction loadScript(url, info) {\n const { attrs = {}, createScriptHook } = info;\n return new Promise((resolve, reject) => {\n const { script, needAttach } = createScript({\n url,\n cb: resolve,\n onErrorCallback: reject,\n attrs: {\n fetchpriority: 'high',\n ...attrs,\n },\n createScriptHook,\n needDeleteScript: true,\n });\n needAttach && document.head.appendChild(script);\n });\n}\n\nconst sdkImportCache = new Map();\nfunction importNodeModule(name) {\n if (!name) {\n throw new Error('import specifier is required');\n }\n // Check cache to prevent infinite recursion\n if (sdkImportCache.has(name)) {\n return sdkImportCache.get(name);\n }\n const importModule = new Function('name', `return import(name)`);\n const promise = importModule(name)\n .then((res) => res)\n .catch((error) => {\n console.error(`Error importing module ${name}:`, error);\n // Remove from cache on error so it can be retried\n sdkImportCache.delete(name);\n throw error;\n });\n // Cache the promise to prevent recursive calls\n sdkImportCache.set(name, promise);\n return promise;\n}\nconst loadNodeFetch = async () => {\n const fetchModule = await importNodeModule('node-fetch');\n return (fetchModule.default || fetchModule);\n};\nconst lazyLoaderHookFetch = async (input, init, loaderHook) => {\n const hook = (url, init) => {\n return loaderHook.lifecycle.fetch.emit(url, init);\n };\n const res = await hook(input, init || {});\n if (!res || !(res instanceof Response)) {\n const fetchFunction = typeof fetch === 'undefined' ? await loadNodeFetch() : fetch;\n return fetchFunction(input, init || {});\n }\n return res;\n};\nconst createScriptNode = typeof ENV_TARGET === 'undefined' || ENV_TARGET !== 'web'\n ? (url, cb, attrs, loaderHook) => {\n if (loaderHook?.createScriptHook) {\n const hookResult = loaderHook.createScriptHook(url);\n if (hookResult &&\n typeof hookResult === 'object' &&\n 'url' in hookResult) {\n url = hookResult.url;\n }\n }\n let urlObj;\n try {\n urlObj = new URL(url);\n }\n catch (e) {\n console.error('Error constructing URL:', e);\n cb(new Error(`Invalid URL: ${e}`));\n return;\n }\n const getFetch = async () => {\n if (loaderHook?.fetch) {\n return (input, init) => lazyLoaderHookFetch(input, init, loaderHook);\n }\n return typeof fetch === 'undefined' ? loadNodeFetch() : fetch;\n };\n const handleScriptFetch = async (f, urlObj) => {\n try {\n const res = await f(urlObj.href);\n const data = await res.text();\n const [path, vm] = await Promise.all([\n importNodeModule('path'),\n importNodeModule('vm'),\n ]);\n const scriptContext = { exports: {}, module: { exports: {} } };\n const urlDirname = urlObj.pathname\n .split('/')\n .slice(0, -1)\n .join('/');\n const filename = path.basename(urlObj.pathname);\n const script = new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\\n})`, {\n filename,\n importModuleDynamically: \n //@ts-ignore\n vm.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER ??\n importNodeModule,\n });\n script.runInThisContext()(scriptContext.exports, scriptContext.module, eval('require'), urlDirname, filename);\n const exportedInterface = scriptContext.module.exports || scriptContext.exports;\n if (attrs && exportedInterface && attrs['globalName']) {\n const container = exportedInterface[attrs['globalName']] || exportedInterface;\n cb(undefined, container);\n return;\n }\n cb(undefined, exportedInterface);\n }\n catch (e) {\n cb(e instanceof Error\n ? e\n : new Error(`Script execution error: ${e}`));\n }\n };\n getFetch()\n .then(async (f) => {\n if (attrs?.['type'] === 'esm' || attrs?.['type'] === 'module') {\n return loadModule(urlObj.href, {\n fetch: f,\n vm: await importNodeModule('vm'),\n })\n .then(async (module) => {\n await module.evaluate();\n cb(undefined, module.namespace);\n })\n .catch((e) => {\n cb(e instanceof Error\n ? e\n : new Error(`Script execution error: ${e}`));\n });\n }\n handleScriptFetch(f, urlObj);\n })\n .catch((err) => {\n cb(err);\n });\n }\n : (url, cb, attrs, loaderHook) => {\n cb(new Error('createScriptNode is disabled in non-Node.js environment'));\n };\nconst loadScriptNode = typeof ENV_TARGET === 'undefined' || ENV_TARGET !== 'web'\n ? (url, info) => {\n return new Promise((resolve, reject) => {\n createScriptNode(url, (error, scriptContext) => {\n if (error) {\n reject(error);\n }\n else {\n const remoteEntryKey = info?.attrs?.['globalName'] ||\n `__FEDERATION_${info?.attrs?.['name']}:custom__`;\n const entryExports = (globalThis[remoteEntryKey] =\n scriptContext);\n resolve(entryExports);\n }\n }, info.attrs, info.loaderHook);\n });\n }\n : (url, info) => {\n throw new Error('loadScriptNode is disabled in non-Node.js environment');\n };\nconst esmModuleCache = new Map();\nasync function loadModule(url, options) {\n // Check cache to prevent infinite recursion in ESM loading\n if (esmModuleCache.has(url)) {\n return esmModuleCache.get(url);\n }\n const { fetch, vm } = options;\n const response = await fetch(url);\n const code = await response.text();\n const module = new vm.SourceTextModule(code, {\n // @ts-ignore\n importModuleDynamically: async (specifier, script) => {\n const resolvedUrl = new URL(specifier, url).href;\n return loadModule(resolvedUrl, options);\n },\n });\n // Cache the module before linking to prevent cycles\n esmModuleCache.set(url, module);\n await module.link(async (specifier) => {\n const resolvedUrl = new URL(specifier, url).href;\n const module = await loadModule(resolvedUrl, options);\n return module;\n });\n return module;\n}\n\nfunction normalizeOptions(enableDefault, defaultOptions, key) {\n return function (options) {\n if (options === false) {\n return false;\n }\n if (typeof options === 'undefined') {\n if (enableDefault) {\n return defaultOptions;\n }\n else {\n return false;\n }\n }\n if (options === true) {\n return defaultOptions;\n }\n if (options && typeof options === 'object') {\n return {\n ...defaultOptions,\n ...options,\n };\n }\n throw new Error(`Unexpected type for \\`${key}\\`, expect boolean/undefined/object, got: ${typeof options}`);\n };\n}\n\nconst createModuleFederationConfig = (options) => {\n return options;\n};\n\nexports.BROWSER_LOG_KEY = BROWSER_LOG_KEY;\nexports.ENCODE_NAME_PREFIX = ENCODE_NAME_PREFIX;\nexports.EncodedNameTransformMap = EncodedNameTransformMap;\nexports.FederationModuleManifest = FederationModuleManifest;\nexports.MANIFEST_EXT = MANIFEST_EXT;\nexports.MFModuleType = MFModuleType;\nexports.MFPrefetchCommon = MFPrefetchCommon;\nexports.MODULE_DEVTOOL_IDENTIFIER = MODULE_DEVTOOL_IDENTIFIER;\nexports.ManifestFileName = ManifestFileName;\nexports.NameTransformMap = NameTransformMap;\nexports.NameTransformSymbol = NameTransformSymbol;\nexports.SEPARATOR = SEPARATOR;\nexports.StatsFileName = StatsFileName;\nexports.TEMP_DIR = TEMP_DIR;\nexports.assert = assert;\nexports.bindLoggerToCompiler = bindLoggerToCompiler;\nexports.composeKeyWithSeparator = composeKeyWithSeparator;\nexports.containerPlugin = ContainerPlugin;\nexports.containerReferencePlugin = ContainerReferencePlugin;\nexports.createInfrastructureLogger = createInfrastructureLogger;\nexports.createLink = createLink;\nexports.createLogger = createLogger;\nexports.createModuleFederationConfig = createModuleFederationConfig;\nexports.createScript = createScript;\nexports.createScriptNode = createScriptNode;\nexports.decodeName = decodeName;\nexports.encodeName = encodeName;\nexports.error = error;\nexports.generateExposeFilename = generateExposeFilename;\nexports.generateShareFilename = generateShareFilename;\nexports.generateSnapshotFromManifest = generateSnapshotFromManifest;\nexports.getManifestFileName = getManifestFileName;\nexports.getProcessEnv = getProcessEnv;\nexports.getResourceUrl = getResourceUrl;\nexports.inferAutoPublicPath = inferAutoPublicPath;\nexports.infrastructureLogger = infrastructureLogger;\nexports.isBrowserEnv = isBrowserEnv;\nexports.isDebugMode = isDebugMode;\nexports.isManifestProvider = isManifestProvider;\nexports.isReactNativeEnv = isReactNativeEnv;\nexports.isRequiredVersion = isRequiredVersion;\nexports.isStaticResourcesEqual = isStaticResourcesEqual;\nexports.loadScript = loadScript;\nexports.loadScriptNode = loadScriptNode;\nexports.logger = logger;\nexports.moduleFederationPlugin = ModuleFederationPlugin;\nexports.normalizeOptions = normalizeOptions;\nexports.parseEntry = parseEntry;\nexports.safeToString = safeToString;\nexports.safeWrapper = safeWrapper;\nexports.sharePlugin = SharePlugin;\nexports.simpleJoinRemoteEntry = simpleJoinRemoteEntry;\nexports.warn = warn;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nconst FEDERATION_SUPPORTED_TYPES = ['script'];\n\nexports.FEDERATION_SUPPORTED_TYPES = FEDERATION_SUPPORTED_TYPES;\n//# sourceMappingURL=constant.cjs.cjs.map\n","'use strict';\n\nvar runtime = require('@module-federation/runtime');\nvar constant = require('./constant.cjs.cjs');\nvar sdk = require('@module-federation/sdk');\n\nfunction _interopNamespaceDefault(e) {\n var n = Object.create(null);\n if (e) {\n for (var k in e) {\n n[k] = e[k];\n }\n }\n n.default = e;\n return Object.freeze(n);\n}\n\nvar runtime__namespace = /*#__PURE__*/_interopNamespaceDefault(runtime);\n\nfunction attachShareScopeMap(webpackRequire) {\n if (!webpackRequire.S ||\n webpackRequire.federation.hasAttachShareScopeMap ||\n !webpackRequire.federation.instance ||\n !webpackRequire.federation.instance.shareScopeMap) {\n return;\n }\n webpackRequire.S = webpackRequire.federation.instance.shareScopeMap;\n webpackRequire.federation.hasAttachShareScopeMap = true;\n}\n\nfunction updateConsumeOptions(options) {\n const { webpackRequire, moduleToHandlerMapping } = options;\n const { consumesLoadingData, initializeSharingData } = webpackRequire;\n if (consumesLoadingData && !consumesLoadingData._updated) {\n const { moduleIdToConsumeDataMapping: updatedModuleIdToConsumeDataMapping = {}, initialConsumes: updatedInitialConsumes = [], chunkMapping: updatedChunkMapping = {}, } = consumesLoadingData;\n Object.entries(updatedModuleIdToConsumeDataMapping).forEach(([id, data]) => {\n if (!moduleToHandlerMapping[id]) {\n moduleToHandlerMapping[id] = {\n getter: data.fallback,\n shareInfo: {\n shareConfig: {\n requiredVersion: data.requiredVersion,\n strictVersion: data.strictVersion,\n singleton: data.singleton,\n eager: data.eager,\n layer: data.layer,\n },\n scope: Array.isArray(data.shareScope)\n ? data.shareScope\n : [data.shareScope || 'default'],\n },\n shareKey: data.shareKey,\n };\n }\n });\n if ('initialConsumes' in options) {\n const { initialConsumes = [] } = options;\n updatedInitialConsumes.forEach((id) => {\n if (!initialConsumes.includes(id)) {\n initialConsumes.push(id);\n }\n });\n }\n if ('chunkMapping' in options) {\n const { chunkMapping = {} } = options;\n Object.entries(updatedChunkMapping).forEach(([id, chunkModules]) => {\n if (!chunkMapping[id]) {\n chunkMapping[id] = [];\n }\n chunkModules.forEach((moduleId) => {\n if (!chunkMapping[id].includes(moduleId)) {\n chunkMapping[id].push(moduleId);\n }\n });\n });\n }\n consumesLoadingData._updated = 1;\n }\n if (initializeSharingData && !initializeSharingData._updated) {\n const { federation } = webpackRequire;\n if (!federation.instance ||\n !initializeSharingData.scopeToSharingDataMapping) {\n return;\n }\n const shared = {};\n for (let [scope, stages] of Object.entries(initializeSharingData.scopeToSharingDataMapping)) {\n for (let stage of stages) {\n if (typeof stage === 'object' && stage !== null) {\n const { name, version, factory, eager, singleton, requiredVersion, strictVersion, } = stage;\n const shareConfig = {\n requiredVersion: `^${version}`,\n };\n const isValidValue = function (val) {\n return typeof val !== 'undefined';\n };\n if (isValidValue(singleton)) {\n shareConfig.singleton = singleton;\n }\n if (isValidValue(requiredVersion)) {\n shareConfig.requiredVersion = requiredVersion;\n }\n if (isValidValue(eager)) {\n shareConfig.eager = eager;\n }\n if (isValidValue(strictVersion)) {\n shareConfig.strictVersion = strictVersion;\n }\n const options = {\n version,\n scope: [scope],\n shareConfig,\n get: factory,\n };\n if (shared[name]) {\n shared[name].push(options);\n }\n else {\n shared[name] = [options];\n }\n }\n }\n }\n federation.instance.registerShared(shared);\n initializeSharingData._updated = 1;\n }\n}\nfunction updateRemoteOptions(options) {\n const { webpackRequire, idToExternalAndNameMapping = {}, idToRemoteMap = {}, chunkMapping = {}, } = options;\n const { remotesLoadingData } = webpackRequire;\n const remoteInfos = webpackRequire.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;\n if (!remotesLoadingData || remotesLoadingData._updated || !remoteInfos) {\n return;\n }\n const { chunkMapping: updatedChunkMapping, moduleIdToRemoteDataMapping } = remotesLoadingData;\n if (!updatedChunkMapping || !moduleIdToRemoteDataMapping) {\n return;\n }\n for (let [moduleId, data] of Object.entries(moduleIdToRemoteDataMapping)) {\n if (!idToExternalAndNameMapping[moduleId]) {\n idToExternalAndNameMapping[moduleId] = [\n data.shareScope,\n data.name,\n data.externalModuleId,\n ];\n }\n if (!idToRemoteMap[moduleId] && remoteInfos[data.remoteName]) {\n const items = remoteInfos[data.remoteName];\n idToRemoteMap[moduleId] ||= [];\n items.forEach((item) => {\n if (!idToRemoteMap[moduleId].includes(item)) {\n idToRemoteMap[moduleId].push(item);\n }\n });\n }\n }\n if (chunkMapping) {\n Object.entries(updatedChunkMapping).forEach(([id, chunkModules]) => {\n if (!chunkMapping[id]) {\n chunkMapping[id] = [];\n }\n chunkModules.forEach((moduleId) => {\n if (!chunkMapping[id].includes(moduleId)) {\n chunkMapping[id].push(moduleId);\n }\n });\n });\n }\n remotesLoadingData._updated = 1;\n}\n\nfunction remotes(options) {\n updateRemoteOptions(options);\n const { chunkId, promises, webpackRequire, chunkMapping, idToExternalAndNameMapping, idToRemoteMap, } = options;\n attachShareScopeMap(webpackRequire);\n if (webpackRequire.o(chunkMapping, chunkId)) {\n chunkMapping[chunkId].forEach((id) => {\n let getScope = webpackRequire.R;\n if (!getScope) {\n getScope = [];\n }\n const data = idToExternalAndNameMapping[id];\n const remoteInfos = idToRemoteMap[id] || [];\n // @ts-ignore seems not work\n if (getScope.indexOf(data) >= 0) {\n return;\n }\n // @ts-ignore seems not work\n getScope.push(data);\n if (data.p) {\n return promises.push(data.p);\n }\n const onError = (error) => {\n if (!error) {\n error = new Error('Container missing');\n }\n if (typeof error.message === 'string') {\n error.message += `\\nwhile loading \"${data[1]}\" from ${data[2]}`;\n }\n webpackRequire.m[id] = () => {\n throw error;\n };\n data.p = 0;\n };\n const handleFunction = (fn, arg1, arg2, d, next, first) => {\n try {\n const promise = fn(arg1, arg2);\n if (promise && promise.then) {\n const p = promise.then((result) => next(result, d), onError);\n if (first) {\n promises.push((data.p = p));\n }\n else {\n return p;\n }\n }\n else {\n return next(promise, d, first);\n }\n }\n catch (error) {\n onError(error);\n }\n };\n const onExternal = (external, _, first) => external\n ? handleFunction(webpackRequire.I, data[0], 0, external, onInitialized, first)\n : onError();\n // eslint-disable-next-line no-var\n var onInitialized = (_, external, first) => handleFunction(external.get, data[1], getScope, 0, onFactory, first);\n // eslint-disable-next-line no-var\n var onFactory = (factory) => {\n data.p = 1;\n webpackRequire.m[id] = (module) => {\n module.exports = factory();\n };\n };\n const onRemoteLoaded = () => {\n try {\n const remoteName = sdk.decodeName(remoteInfos[0].name, sdk.ENCODE_NAME_PREFIX);\n const remoteModuleName = remoteName + data[1].slice(1);\n const instance = webpackRequire.federation.instance;\n const loadRemote = () => webpackRequire.federation.instance.loadRemote(remoteModuleName, {\n loadFactory: false,\n from: 'build',\n });\n if (instance.options.shareStrategy === 'version-first') {\n return Promise.all(instance.sharedHandler.initializeSharing(data[0])).then(() => {\n return loadRemote();\n });\n }\n return loadRemote();\n }\n catch (error) {\n onError(error);\n }\n };\n const useRuntimeLoad = remoteInfos.length === 1 &&\n constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfos[0].externalType) &&\n remoteInfos[0].name;\n if (useRuntimeLoad) {\n handleFunction(onRemoteLoaded, data[2], 0, 0, onFactory, 1);\n }\n else {\n handleFunction(webpackRequire, data[2], 0, 0, onExternal, 1);\n }\n });\n }\n}\n\nfunction consumes(options) {\n updateConsumeOptions(options);\n const { chunkId, promises, installedModules, webpackRequire, chunkMapping, moduleToHandlerMapping, } = options;\n attachShareScopeMap(webpackRequire);\n if (webpackRequire.o(chunkMapping, chunkId)) {\n chunkMapping[chunkId].forEach((id) => {\n if (webpackRequire.o(installedModules, id)) {\n return promises.push(installedModules[id]);\n }\n const onFactory = (factory) => {\n installedModules[id] = 0;\n webpackRequire.m[id] = (module) => {\n delete webpackRequire.c[id];\n const result = factory();\n // Add layer property from shareConfig if available\n const { shareInfo } = moduleToHandlerMapping[id];\n if (shareInfo?.shareConfig?.layer &&\n result &&\n typeof result === 'object') {\n try {\n // Only set layer if it's not already defined or if it's undefined\n if (!result.hasOwnProperty('layer') ||\n result.layer === undefined) {\n result.layer = shareInfo.shareConfig.layer;\n }\n }\n catch (e) {\n // Ignore if layer property is read-only\n }\n }\n module.exports = result;\n };\n };\n const onError = (error) => {\n delete installedModules[id];\n webpackRequire.m[id] = (module) => {\n delete webpackRequire.c[id];\n throw error;\n };\n };\n try {\n const federationInstance = webpackRequire.federation.instance;\n if (!federationInstance) {\n throw new Error('Federation instance not found!');\n }\n const { shareKey, getter, shareInfo } = moduleToHandlerMapping[id];\n const promise = federationInstance\n .loadShare(shareKey, { customShareInfo: shareInfo })\n .then((factory) => {\n if (factory === false) {\n return getter();\n }\n return factory;\n });\n if (promise.then) {\n promises.push((installedModules[id] = promise.then(onFactory).catch(onError)));\n }\n else {\n // @ts-ignore maintain previous logic\n onFactory(promise);\n }\n }\n catch (e) {\n onError(e);\n }\n });\n }\n}\n\nfunction initializeSharing({ shareScopeName, webpackRequire, initPromises, initTokens, initScope, }) {\n const shareScopeKeys = Array.isArray(shareScopeName)\n ? shareScopeName\n : [shareScopeName];\n var initializeSharingPromises = [];\n var _initializeSharing = function (shareScopeKey) {\n if (!initScope)\n initScope = [];\n const mfInstance = webpackRequire.federation.instance;\n // handling circular init calls\n var initToken = initTokens[shareScopeKey];\n if (!initToken)\n initToken = initTokens[shareScopeKey] = { from: mfInstance.name };\n if (initScope.indexOf(initToken) >= 0)\n return;\n initScope.push(initToken);\n const promise = initPromises[shareScopeKey];\n if (promise)\n return promise;\n var warn = (msg) => typeof console !== 'undefined' && console.warn && console.warn(msg);\n var initExternal = (id) => {\n var handleError = (err) => warn('Initialization of sharing external failed: ' + err);\n try {\n var module = webpackRequire(id);\n if (!module)\n return;\n var initFn = (module) => module &&\n module.init &&\n // @ts-ignore compat legacy mf shared behavior\n module.init(webpackRequire.S[shareScopeKey], initScope, {\n shareScopeMap: webpackRequire.S || {},\n shareScopeKeys: shareScopeName,\n });\n if (module.then)\n return promises.push(module.then(initFn, handleError));\n var initResult = initFn(module);\n // @ts-ignore\n if (initResult && typeof initResult !== 'boolean' && initResult.then)\n // @ts-ignore\n return promises.push(initResult['catch'](handleError));\n }\n catch (err) {\n handleError(err);\n }\n };\n const promises = mfInstance.initializeSharing(shareScopeKey, {\n strategy: mfInstance.options.shareStrategy,\n initScope,\n from: 'build',\n });\n attachShareScopeMap(webpackRequire);\n const bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;\n if (bundlerRuntimeRemotesOptions) {\n Object.keys(bundlerRuntimeRemotesOptions.idToRemoteMap).forEach((moduleId) => {\n const info = bundlerRuntimeRemotesOptions.idToRemoteMap[moduleId];\n const externalModuleId = bundlerRuntimeRemotesOptions.idToExternalAndNameMapping[moduleId][2];\n if (info.length > 1) {\n initExternal(externalModuleId);\n }\n else if (info.length === 1) {\n const remoteInfo = info[0];\n if (!constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfo.externalType)) {\n initExternal(externalModuleId);\n }\n }\n });\n }\n if (!promises.length) {\n return (initPromises[shareScopeKey] = true);\n }\n return (initPromises[shareScopeKey] = Promise.all(promises).then(() => (initPromises[shareScopeKey] = true)));\n };\n shareScopeKeys.forEach((key) => {\n initializeSharingPromises.push(_initializeSharing(key));\n });\n return Promise.all(initializeSharingPromises).then(() => true);\n}\n\nfunction handleInitialConsumes(options) {\n const { moduleId, moduleToHandlerMapping, webpackRequire } = options;\n const federationInstance = webpackRequire.federation.instance;\n if (!federationInstance) {\n throw new Error('Federation instance not found!');\n }\n const { shareKey, shareInfo } = moduleToHandlerMapping[moduleId];\n try {\n return federationInstance.loadShareSync(shareKey, {\n customShareInfo: shareInfo,\n });\n }\n catch (err) {\n console.error('loadShareSync failed! The function should not be called unless you set \"eager:true\". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.');\n console.error('The original error message is as follows: ');\n throw err;\n }\n}\nfunction installInitialConsumes(options) {\n const { webpackRequire } = options;\n updateConsumeOptions(options);\n const { initialConsumes, moduleToHandlerMapping, installedModules } = options;\n initialConsumes.forEach((id) => {\n webpackRequire.m[id] = (module) => {\n // Handle scenario when module is used synchronously\n installedModules[id] = 0;\n delete webpackRequire.c[id];\n const factory = handleInitialConsumes({\n moduleId: id,\n moduleToHandlerMapping,\n webpackRequire,\n });\n if (typeof factory !== 'function') {\n throw new Error(`Shared module is not available for eager consumption: ${id}`);\n }\n const result = factory();\n // Add layer property from shareConfig if available\n const { shareInfo } = moduleToHandlerMapping[id];\n if (shareInfo?.shareConfig?.layer &&\n result &&\n typeof result === 'object') {\n try {\n // Only set layer if it's not already defined or if it's undefined\n if (!result.hasOwnProperty('layer') ||\n result.layer === undefined) {\n result.layer = shareInfo.shareConfig.layer;\n }\n }\n catch (e) {\n // Ignore if layer property is read-only\n }\n }\n module.exports = result;\n };\n });\n}\n\nfunction initContainerEntry(options) {\n const { webpackRequire, shareScope, initScope, shareScopeKey, remoteEntryInitOptions, } = options;\n if (!webpackRequire.S)\n return;\n if (!webpackRequire.federation ||\n !webpackRequire.federation.instance ||\n !webpackRequire.federation.initOptions)\n return;\n const federationInstance = webpackRequire.federation.instance;\n federationInstance.initOptions({\n name: webpackRequire.federation.initOptions.name,\n remotes: [],\n ...remoteEntryInitOptions,\n });\n const hostShareScopeKeys = remoteEntryInitOptions?.shareScopeKeys;\n const hostShareScopeMap = remoteEntryInitOptions?.shareScopeMap;\n // host: 'default' remote: 'default' remote['default'] = hostShareScopeMap['default']\n // host: ['default', 'scope1'] remote: 'default' remote['default'] = hostShareScopeMap['default']; remote['scope1'] = hostShareScopeMap['scop1']\n // host: 'default' remote: ['default','scope1'] remote['default'] = hostShareScopeMap['default']; remote['scope1'] = hostShareScopeMap['scope1'] = {}\n // host: ['scope1','default'] remote: ['scope1','scope2'] => remote['scope1'] = hostShareScopeMap['scope1']; remote['scope2'] = hostShareScopeMap['scope2'] = {};\n if (!shareScopeKey || typeof shareScopeKey === 'string') {\n const key = shareScopeKey || 'default';\n if (Array.isArray(hostShareScopeKeys)) {\n // const sc = hostShareScopeMap![key];\n // if (!sc) {\n // throw new Error('shareScopeKey is not exist in hostShareScopeMap');\n // }\n // federationInstance.initShareScopeMap(key, sc, {\n // hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n // });\n hostShareScopeKeys.forEach((hostKey) => {\n if (!hostShareScopeMap[hostKey]) {\n hostShareScopeMap[hostKey] = {};\n }\n const sc = hostShareScopeMap[hostKey];\n federationInstance.initShareScopeMap(hostKey, sc, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n });\n }\n else {\n federationInstance.initShareScopeMap(key, shareScope, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n }\n }\n else {\n shareScopeKey.forEach((key) => {\n if (!hostShareScopeKeys || !hostShareScopeMap) {\n federationInstance.initShareScopeMap(key, shareScope, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n return;\n }\n if (!hostShareScopeMap[key]) {\n hostShareScopeMap[key] = {};\n }\n const sc = hostShareScopeMap[key];\n federationInstance.initShareScopeMap(key, sc, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n });\n }\n if (webpackRequire.federation.attachShareScopeMap) {\n webpackRequire.federation.attachShareScopeMap(webpackRequire);\n }\n if (typeof webpackRequire.federation.prefetch === 'function') {\n webpackRequire.federation.prefetch();\n }\n if (!Array.isArray(shareScopeKey)) {\n // @ts-ignore\n return webpackRequire.I(shareScopeKey || 'default', initScope);\n }\n var proxyInitializeSharing = Boolean(webpackRequire.federation.initOptions.shared);\n if (proxyInitializeSharing) {\n // @ts-ignore\n return webpackRequire.I(shareScopeKey, initScope);\n }\n // @ts-ignore\n return Promise.all(shareScopeKey.map((key) => {\n // @ts-ignore\n return webpackRequire.I(key, initScope);\n })).then(() => true);\n}\n\nconst federation = {\n runtime: runtime__namespace,\n instance: undefined,\n initOptions: undefined,\n bundlerRuntime: {\n remotes,\n consumes,\n I: initializeSharing,\n S: {},\n installInitialConsumes,\n initContainerEntry,\n },\n attachShareScopeMap,\n bundlerRuntimeOptions: {},\n};\n\nmodule.exports = federation;\n//# sourceMappingURL=index.cjs.cjs.map\n","\nif(!__webpack_require__.federation){\n __webpack_require__.federation = {\n \nchunkMatcher: function(chunkId) {\n return !/^7(25|89)$/.test(chunkId);\n},\nrootOutputDir: \"../\",\n\n };\n}\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(\n\t\tObject.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t\t__webpack_require__.f[key](chunkId, promises);\n\t\t\treturn promises;\n\t\t}, [])\n\t);\n};","// This function allow to reference chunks\n__webpack_require__.k = (chunkId) => {\n // return url for filenames not based on template\n \n // return url for filenames based on template\n return \"\" + chunkId + \".css\"\n}","// This function allow to reference chunks\n__webpack_require__.u = (chunkId) => {\n // return url for filenames not based on template\n \n // return url for filenames based on template\n return \"js/\" + chunkId + \".\" + \"11f1986314ccb447\" + \".js\"\n}","__webpack_require__.g = (() => {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\n\nvar uniqueName = \"@terrestris/shogun-admin:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function (url, done, key, chunkId) {\n\tif (inProgress[url]) {\n\t\tinProgress[url].push(done);\n\t\treturn;\n\t}\n\tvar script, needAttach;\n\tif (key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor (var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif (s.getAttribute(\"src\") == url || s.getAttribute(\"data-rspack\") == uniqueName + key) {\n\t\t\t\tscript = s;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tif (!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\nscript.timeout = 120;\nif (__webpack_require__.nc) {\n script.setAttribute(\"nonce\", __webpack_require__.nc);\n}\n\nscript.setAttribute(\"data-rspack\", uniqueName + key);\n\n\n\nscript.src = url;\n\n\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function (prev, event) {\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns &&\n\t\t\tdoneFns.forEach(function (fn) {\n\t\t\t\treturn fn(event);\n\t\t\t});\n\t\tif (prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(\n\t\tonScriptComplete.bind(null, undefined, {\n\t\t\ttype: 'timeout',\n\t\t\ttarget: script\n\t\t}),\n\t\t120000\n\t);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n module.paths = [];\n if (!module.children) module.children = [];\n return module;\n};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif (chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor (var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--)\n\t\t\tdeferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (\n\t\t\t\t(priority & (1 === 0) || notFulfilled >= priority) &&\n\t\t\t\tObject.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))\n\t\t\t) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif (priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif (fulfilled) {\n\t\t\tdeferred.splice(i--, 1);\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};\n","__webpack_require__.rv = () => (\"1.6.8\")","\n__webpack_require__.S = {};\n__webpack_require__.initializeSharingData = { scopeToSharingDataMapping: { \"default\": [{ name: \"ol/Feature\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(22772))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/ImageState\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80398))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/Map\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/TileState\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(74255))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/View\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/events/Event.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43354))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/events/EventType.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55506))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/extent.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85752))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/GeoJSON\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/MVT\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/WMTSCapabilities\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(23741))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/functions.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(29991))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/geom/GeometryCollection\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28383))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/geom/Point\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(51117))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DblClickDragZoom.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36566))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DoubleClickZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(92601))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragPan\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28352))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragRotate\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(16712))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragRotateAndZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(50884))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(97037))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/KeyboardPan\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67869))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/KeyboardZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(79999))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/MouseWheelZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80096))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/PinchRotate\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(93474))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/PinchZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64242))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/defaults\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99443))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Group\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Layer\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Tile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Vector\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/VectorTile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/loadingstrategy\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/ol.css\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(46646))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj/Units\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj/proj4\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28153))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render/Feature.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35473))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render/canvas.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96299))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67652))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85486))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/ImageWMS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67002))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/OSM\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(20303))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Raster.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78950))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Source.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98550))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/StadiaMaps\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(19415))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileImage\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(81355))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileJSON.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98302))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileWMS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(86483))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Vector\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/VectorTile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/WMTS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(33261))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/XYZ\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(6553))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Circle\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Fill\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Icon\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(63393))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/RegularShape\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32739))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Stroke\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Style\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Text\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(53800))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid/TileGrid\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid/WMTS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43618))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/util\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(94092))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"react-dom\", version: \"19.0.0\", factory: () => (Promise.all([__webpack_require__.e(\"644\"), __webpack_require__.e(\"789\")]).then(() => (() => (__webpack_require__(40961))))), eager: 0, singleton: 1, requiredVersion: \"19.0.0\" }, { name: \"react-i18next\", version: \"16.5.0\", factory: () => (Promise.all([__webpack_require__.e(\"644\"), __webpack_require__.e(\"789\")]).then(() => (() => (__webpack_require__(458))))), eager: 0, singleton: 1, requiredVersion: \"16.5.0\" }, { name: \"react\", version: \"19.0.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96540))))), eager: 0, singleton: 1, requiredVersion: \"19.0.0\" }] }, uniqueName: \"@terrestris/shogun-admin\" };\n__webpack_require__.I = __webpack_require__.I || function() { throw new Error(\"should have __webpack_require__.I\") }\n","var scriptUrl;\n\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n // Technically we could use `document.currentScript instanceof window.HTMLScriptElement`,\n // but an attacker could try to inject `<script>HTMLScriptElement = HTMLImageElement</script>`\n // and use `<img name=\"currentScript\" src=\"https://attacker.controlled.server/\"></img>`\n if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') scriptUrl = document.currentScript.src;\n if (!scriptUrl) {\n var scripts = document.getElementsByTagName(\"script\");\n if (scripts.length) {\n var i = scripts.length - 1;\n while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n }\n }\n}\n\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\",\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.',\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n\n__webpack_require__.p = scriptUrl + '../';\n","\n__webpack_require__.consumesLoadingData = { chunkMapping: {\"789\":[\"72660\"],\"725\":[\"75308\",\"34748\",\"65592\"],\"799\":[\"63731\",\"32755\",\"52627\",\"69192\",\"84711\",\"8043\",\"15683\",\"95531\",\"31330\",\"19011\",\"21406\",\"57107\",\"24867\",\"58921\",\"66858\",\"27995\",\"74376\",\"45123\",\"83539\",\"61652\",\"90585\",\"25096\",\"25675\",\"27724\",\"50278\",\"20648\",\"40883\",\"88473\",\"11027\",\"99150\",\"16343\",\"22543\",\"7826\",\"5292\",\"30327\",\"70856\",\"9032\",\"79301\",\"14975\",\"80388\",\"11712\",\"67335\",\"60195\",\"81023\",\"59216\",\"28916\",\"7891\",\"56639\",\"80376\",\"91531\",\"59379\",\"66171\",\"76035\",\"48584\",\"65407\",\"73055\",\"98218\",\"49608\",\"24176\",\"85484\",\"54139\",\"58579\",\"6440\",\"91151\",\"24482\",\"77532\",\"42863\",\"76275\",\"94246\",\"32680\",\"58269\",\"56766\",\"23255\",\"60517\",\"5003\",\"3641\",\"17047\",\"72891\",\"5140\",\"72923\",\"14759\",\"60686\",\"15696\",\"71347\",\"9971\",\"52243\",\"71919\",\"29737\"]}, moduleIdToConsumeDataMapping: {\"15683\": { shareScope: \"default\", shareKey: \"ol/interaction/defaults\", import: \"ol/interaction/defaults\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99443))))) }, \"58269\": { shareScope: \"default\", shareKey: \"ol/Map\", import: \"ol/Map\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))) }, \"5140\": { shareScope: \"default\", shareKey: \"ol/layer/Layer.js\", import: \"ol/layer/Layer.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))) }, \"94246\": { shareScope: \"default\", shareKey: \"ol/View.js\", import: \"ol/View.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))) }, \"60517\": { shareScope: \"default\", shareKey: \"ol/interaction/DragPan\", import: \"ol/interaction/DragPan\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28352))))) }, \"85484\": { shareScope: \"default\", shareKey: \"ol/functions.js\", import: \"ol/functions.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(29991))) }, \"25096\": { shareScope: \"default\", shareKey: \"ol/TileState.js\", import: \"ol/TileState.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(74255))) }, \"42863\": { shareScope: \"default\", shareKey: \"ol/layer/Tile\", import: \"ol/layer/Tile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))) }, \"3641\": { shareScope: \"default\", shareKey: \"ol/tilegrid/WMTS\", import: \"ol/tilegrid/WMTS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43618))))) }, \"29737\": { shareScope: \"default\", shareKey: \"ol/Feature\", import: \"ol/Feature\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(22772))))) }, \"45123\": { shareScope: \"default\", shareKey: \"ol/format/WMTSCapabilities\", import: \"ol/format/WMTSCapabilities\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(23741))))) }, \"66858\": { shareScope: \"default\", shareKey: \"ol/layer/VectorTile.js\", import: \"ol/layer/VectorTile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))) }, \"88473\": { shareScope: \"default\", shareKey: \"ol/source/ImageWMS\", import: \"ol/source/ImageWMS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67002))))) }, \"72923\": { shareScope: \"default\", shareKey: \"ol/ImageState\", import: \"ol/ImageState\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80398))))) }, \"52627\": { shareScope: \"default\", shareKey: \"ol/source/OSM\", import: \"ol/source/OSM\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(20303))))) }, \"24176\": { shareScope: \"default\", shareKey: \"ol/loadingstrategy.js\", import: \"ol/loadingstrategy.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))) }, \"56766\": { shareScope: \"default\", shareKey: \"ol/style/Fill.js\", import: \"ol/style/Fill.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))) }, \"27995\": { shareScope: \"default\", shareKey: \"ol/format/GeoJSON\", import: \"ol/format/GeoJSON\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))) }, \"11027\": { shareScope: \"default\", shareKey: \"ol/source/WMTS\", import: \"ol/source/WMTS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(33261))))) }, \"11712\": { shareScope: \"default\", shareKey: \"ol/tilegrid/TileGrid.js\", import: \"ol/tilegrid/TileGrid.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))) }, \"54139\": { shareScope: \"default\", shareKey: \"ol/style/Icon\", import: \"ol/style/Icon\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))) }, \"99150\": { shareScope: \"default\", shareKey: \"ol/proj/Units.js\", import: \"ol/proj/Units.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))) }, \"90585\": { shareScope: \"default\", shareKey: \"ol/interaction/DragRotateAndZoom\", import: \"ol/interaction/DragRotateAndZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(50884))))) }, \"34748\": { shareScope: \"default\", shareKey: \"react-i18next\", import: \"react-i18next\", requiredVersion: \"16.5.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(458))))) }, \"61652\": { shareScope: \"default\", shareKey: \"ol/source/VectorTile.js\", import: \"ol/source/VectorTile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))) }, \"25675\": { shareScope: \"default\", shareKey: \"ol/geom/Point\", import: \"ol/geom/Point\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(51117))))) }, \"77532\": { shareScope: \"default\", shareKey: \"ol/source/TileJSON.js\", import: \"ol/source/TileJSON.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98302))))) }, \"91531\": { shareScope: \"default\", shareKey: \"ol/interaction/DragZoom\", import: \"ol/interaction/DragZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(97037))))) }, \"79301\": { shareScope: \"default\", shareKey: \"ol/interaction/PinchRotate\", import: \"ol/interaction/PinchRotate\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(93474))))) }, \"73055\": { shareScope: \"default\", shareKey: \"ol/layer/Group\", import: \"ol/layer/Group\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))) }, \"15696\": { shareScope: \"default\", shareKey: \"ol/layer/Image.js\", import: \"ol/layer/Image.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))) }, \"98218\": { shareScope: \"default\", shareKey: \"ol/proj.js\", import: \"ol/proj.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))) }, \"17047\": { shareScope: \"default\", shareKey: \"ol/source/StadiaMaps\", import: \"ol/source/StadiaMaps\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(19415))))) }, \"72660\": { shareScope: \"default\", shareKey: \"react\", import: \"react\", requiredVersion: \"19.0.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96540))))) }, \"9971\": { shareScope: \"default\", shareKey: \"ol/layer/Image\", import: \"ol/layer/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))) }, \"8043\": { shareScope: \"default\", shareKey: \"ol/style/Stroke\", import: \"ol/style/Stroke\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))) }, \"80388\": { shareScope: \"default\", shareKey: \"ol/source/Vector.js\", import: \"ol/source/Vector.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))) }, \"32680\": { shareScope: \"default\", shareKey: \"ol/events/EventType.js\", import: \"ol/events/EventType.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(55506))) }, \"31330\": { shareScope: \"default\", shareKey: \"ol/render/Feature.js\", import: \"ol/render/Feature.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35473))))) }, \"76275\": { shareScope: \"default\", shareKey: \"ol/style/Style\", import: \"ol/style/Style\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))) }, \"24482\": { shareScope: \"default\", shareKey: \"ol/layer/Vector.js\", import: \"ol/layer/Vector.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))) }, \"32755\": { shareScope: \"default\", shareKey: \"ol/style/Image\", import: \"ol/style/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(63393))))) }, \"66171\": { shareScope: \"default\", shareKey: \"ol/source/TileImage\", import: \"ol/source/TileImage\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(81355))))) }, \"14759\": { shareScope: \"default\", shareKey: \"ol/source/Vector\", import: \"ol/source/Vector\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))) }, \"6440\": { shareScope: \"default\", shareKey: \"ol/events/Event.js\", import: \"ol/events/Event.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(43354))) }, \"52243\": { shareScope: \"default\", shareKey: \"ol/interaction/DoubleClickZoom\", import: \"ol/interaction/DoubleClickZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(92601))))) }, \"58921\": { shareScope: \"default\", shareKey: \"ol/interaction/PinchZoom\", import: \"ol/interaction/PinchZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64242))))) }, \"69192\": { shareScope: \"default\", shareKey: \"ol/style/Circle.js\", import: \"ol/style/Circle.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))) }, \"16343\": { shareScope: \"default\", shareKey: \"ol/geom/GeometryCollection\", import: \"ol/geom/GeometryCollection\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28383))))) }, \"21406\": { shareScope: \"default\", shareKey: \"ol/style/Text.js\", import: \"ol/style/Text.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))) }, \"28916\": { shareScope: \"default\", shareKey: \"ol/style/Style.js\", import: \"ol/style/Style.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))) }, \"67335\": { shareScope: \"default\", shareKey: \"ol/View\", import: \"ol/View\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))) }, \"58579\": { shareScope: \"default\", shareKey: \"ol/source/TileWMS\", import: \"ol/source/TileWMS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(86483))))) }, \"7891\": { shareScope: \"default\", shareKey: \"ol/interaction/DragRotate\", import: \"ol/interaction/DragRotate\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(16712))))) }, \"63731\": { shareScope: \"default\", shareKey: \"ol/source/Image\", import: \"ol/source/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85486))))) }, \"49608\": { shareScope: \"default\", shareKey: \"ol/Map.js\", import: \"ol/Map.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))) }, \"59216\": { shareScope: \"default\", shareKey: \"ol/source/Raster.js\", import: \"ol/source/Raster.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78950))))) }, \"71347\": { shareScope: \"default\", shareKey: \"ol/proj\", import: \"ol/proj\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))) }, \"27724\": { shareScope: \"default\", shareKey: \"ol/tilegrid.js\", import: \"ol/tilegrid.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(53800))))) }, \"74376\": { shareScope: \"default\", shareKey: \"ol/source/Source.js\", import: \"ol/source/Source.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98550))))) }, \"20648\": { shareScope: \"default\", shareKey: \"ol/layer/Tile.js\", import: \"ol/layer/Tile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))) }, \"71919\": { shareScope: \"default\", shareKey: \"ol/interaction/MouseWheelZoom\", import: \"ol/interaction/MouseWheelZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80096))))) }, \"65592\": { shareScope: \"default\", shareKey: \"react-dom\", import: \"react-dom\", requiredVersion: \"19.0.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(40961))))) }, \"83539\": { shareScope: \"default\", shareKey: \"ol/util\", import: \"ol/util\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(94092))) }, \"19011\": { shareScope: \"default\", shareKey: \"ol/proj/proj4\", import: \"ol/proj/proj4\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28153))))) }, \"56639\": { shareScope: \"default\", shareKey: \"ol/tilegrid/TileGrid\", import: \"ol/tilegrid/TileGrid\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))) }, \"59379\": { shareScope: \"default\", shareKey: \"ol/interaction/KeyboardPan\", import: \"ol/interaction/KeyboardPan\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67869))))) }, \"57107\": { shareScope: \"default\", shareKey: \"ol/style/RegularShape\", import: \"ol/style/RegularShape\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32739))))) }, \"65407\": { shareScope: \"default\", shareKey: \"ol/source/VectorTile\", import: \"ol/source/VectorTile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))) }, \"9032\": { shareScope: \"default\", shareKey: \"ol/style/Stroke.js\", import: \"ol/style/Stroke.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))) }, \"95531\": { shareScope: \"default\", shareKey: \"ol/format/MVT\", import: \"ol/format/MVT\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))) }, \"91151\": { shareScope: \"default\", shareKey: \"ol/layer/VectorTile\", import: \"ol/layer/VectorTile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))) }, \"23255\": { shareScope: \"default\", shareKey: \"ol/source/XYZ\", import: \"ol/source/XYZ\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(6553))))) }, \"81023\": { shareScope: \"default\", shareKey: \"ol/TileState\", import: \"ol/TileState\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(74255))) }, \"5003\": { shareScope: \"default\", shareKey: \"ol/loadingstrategy\", import: \"ol/loadingstrategy\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))) }, \"22543\": { shareScope: \"default\", shareKey: \"ol/render\", import: \"ol/render\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67652))))) }, \"50278\": { shareScope: \"default\", shareKey: \"ol/format/GeoJSON.js\", import: \"ol/format/GeoJSON.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))) }, \"75308\": { shareScope: \"default\", shareKey: \"ol/ol.css\", import: \"ol/ol.css\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(46646))))) }, \"40883\": { shareScope: \"default\", shareKey: \"ol/layer/Layer\", import: \"ol/layer/Layer\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))) }, \"7826\": { shareScope: \"default\", shareKey: \"ol/format/MVT.js\", import: \"ol/format/MVT.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))) }, \"30327\": { shareScope: \"default\", shareKey: \"ol/style/Circle\", import: \"ol/style/Circle\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))) }, \"70856\": { shareScope: \"default\", shareKey: \"ol/layer/Group.js\", import: \"ol/layer/Group.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))) }, \"5292\": { shareScope: \"default\", shareKey: \"ol/util.js\", import: \"ol/util.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(94092))) }, \"76035\": { shareScope: \"default\", shareKey: \"ol/proj/Units\", import: \"ol/proj/Units\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))) }, \"48584\": { shareScope: \"default\", shareKey: \"ol/interaction/DblClickDragZoom.js\", import: \"ol/interaction/DblClickDragZoom.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36566))))) }, \"72891\": { shareScope: \"default\", shareKey: \"ol/extent.js\", import: \"ol/extent.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85752))))) }, \"60686\": { shareScope: \"default\", shareKey: \"ol/style/Icon.js\", import: \"ol/style/Icon.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))) }, \"80376\": { shareScope: \"default\", shareKey: \"ol/render/canvas.js\", import: \"ol/render/canvas.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96299))))) }, \"60195\": { shareScope: \"default\", shareKey: \"ol/style/Fill\", import: \"ol/style/Fill\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))) }, \"24867\": { shareScope: \"default\", shareKey: \"ol/interaction/KeyboardZoom\", import: \"ol/interaction/KeyboardZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(79999))))) }, \"84711\": { shareScope: \"default\", shareKey: \"ol/layer/Vector\", import: \"ol/layer/Vector\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))) }, \"14975\": { shareScope: \"default\", shareKey: \"ol/style/Text\", import: \"ol/style/Text\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))) }}, initialConsumes: [] };\n__webpack_require__.f.consumes = __webpack_require__.f.consumes || function() { throw new Error(\"should have __webpack_require__.f.consumes\") }","var installedChunks = {\"5\": 0,\"644\": 0,};\nvar uniqueName = \"@terrestris/shogun-admin\";\nfunction handleCssComposes(exports, composes) {\n\tfor (var i = 0; i < composes.length; i += 3) {\n\t\tvar moduleId = composes[i];\n\t\tvar composeFrom = composes[i + 1];\n\t\tvar composeVar = composes[i + 2];\n\t\tvar composedId = __webpack_require__(composeFrom)[composeVar];\n\t\texports[moduleId] = exports[moduleId] + \" \" + composedId\n\t}\n}\nvar loadCssChunkData = (target, chunkId) => {\n\ninstalledChunks[chunkId] = 0;\n\n} \nvar loadingAttribute = \"data-rspack-loading\";\nvar loadStylesheet = (chunkId, url, done, hmr, fetchPriority) => {\n\tvar link,\n\t\tneedAttach,\n\t\tkey = \"chunk-\" + chunkId;\n\tif (!hmr) {\n\t\tvar links = document.getElementsByTagName(\"link\");\n\t\tfor (var i = 0; i < links.length; i++) {\n\t\t\tvar l = links[i];\n\t\t\tvar href = l.getAttribute(\"href\") || l.href;\n\t\t\tif (href && !href.startsWith(__webpack_require__.p)) {\n\t\t\t\thref =\n\t\t\t\t\t__webpack_require__.p + (href.startsWith(\"/\") ? href.slice(1) : href);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tl.rel == \"stylesheet\" &&\n\t\t\t\t((href && href.startsWith(url)) ||\n\t\t\t\t\tl.getAttribute(\"data-rspack\") == uniqueName + \":\" + key)\n\t\t\t) {\n\t\t\t\tlink = l;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!done) return link;\n\t}\n\tif (!link) {\n\t\tneedAttach = true;\n\t\tlink = document.createElement(\"link\");\n\nif (__webpack_require__.nc) {\n link.setAttribute(\"nonce\", __webpack_require__.nc);\n}\n\nlink.setAttribute(\"data-rspack\", uniqueName + \":\" + key);\n\n\nlink.setAttribute(loadingAttribute, 1);\nlink.rel = \"stylesheet\";\nlink.href = url;\n\n\t}\n\tvar onLinkComplete = (prev, event) => {\n\t\tlink.onerror = link.onload = null;\n\t\tlink.removeAttribute(loadingAttribute);\n\t\tclearTimeout(timeout);\n\t\tif (event && event.type != \"load\") link.parentNode.removeChild(link);\n\t\tdone(event);\n\t\tif (prev) return prev(event);\n\t};\n\tif (link.getAttribute(loadingAttribute)) {\n\t\tvar timeout = setTimeout(\n\t\t\tonLinkComplete.bind(null, undefined, { type: \"timeout\", target: link }),\n\t\t\t120000 \n\t\t);\n\t\tlink.onerror = onLinkComplete.bind(null, link.onerror);\n\t\tlink.onload = onLinkComplete.bind(null, link.onload);\n\t} else onLinkComplete(undefined, { type: \"load\", target: link });\n\tif (hmr && hmr.getAttribute(\"fetchpriority\")) link.setAttribute(\"fetchpriority\", hmr.getAttribute(\"fetchpriority\"));\n\thmr ? document.head.insertBefore(link, hmr) : needAttach && document.head.appendChild(link);\n\treturn link;\n};\nloadCssChunkData(__webpack_require__.m, 0, \"5\");loadCssChunkData(__webpack_require__.m, 0, \"644\");\n__webpack_require__.f.css = (chunkId, promises, fetchPriority) => {\n\t// css chunk loading\n\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId)\n\t\t? installedChunks[chunkId]\n\t\t: undefined;\n\tif (installedChunkData !== 0) {\n\t\t// 0 means \"already installed\".\n\n\t\t// a Promise means \"currently loading\".\n\t\tif (installedChunkData) {\n\t\t\tpromises.push(installedChunkData[2]);\n\t\t} else {\n\t\t\tif (/^(5|644)$/.test(chunkId)) {\n\t\t\t\t// setup Promise in chunk cache\n\t\t\t\tvar promise = new Promise(function (resolve, reject) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n\t\t\t\t});\n\t\t\t\tpromises.push((installedChunkData[2] = promise));\n\n\t\t\t\t// start chunk loading\n\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.k(chunkId);\n\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\tvar error = new Error();\n\t\t\t\tvar loadingEnded = function (event) {\n\t\t\t\t\tif (__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\tif (installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\tif (installedChunkData) {\n\t\t\t\t\t\t\tif (event.type !== \"load\") {\n\t\t\t\t\t\t\t\tvar errorType = event && event.type;\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message =\n\t\t\t\t\t\t\t\t\t\"Loading css chunk \" +\n\t\t\t\t\t\t\t\t\tchunkId +\n\t\t\t\t\t\t\t\t\t\" failed.\\n(\" +\n\t\t\t\t\t\t\t\t\terrorType +\n\t\t\t\t\t\t\t\t\t\": \" +\n\t\t\t\t\t\t\t\t\trealSrc +\n\t\t\t\t\t\t\t\t\t\")\";\n\t\t\t\t\t\t\t\terror.name = \"ChunkLoadError\";\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tloadCssChunkData(__webpack_require__.m, chunkId);\n\t\t\t\t\t\t\t\tinstalledChunkData[0]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tif (typeof document !== 'undefined') {\n\t\t\t\t\tloadStylesheet(chunkId, url, loadingEnded, undefined, fetchPriority);\n\t\t\t\t} else { loadingEnded({ type: 'load' }); }\n\t\t\t} else installedChunks[chunkId] = 0;\n\t\t}\n\t}\n};\n","\n // object to store loaded and loading chunks\n // undefined = chunk not loaded, null = chunk preloaded/prefetched\n // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\n var installedChunks = {\"341\": 0,};\n \n __webpack_require__.f.j = function (chunkId, promises) {\n // JSONP chunk loading for javascript\nvar installedChunkData = __webpack_require__.o(installedChunks, chunkId)\n\t? installedChunks[chunkId]\n\t: undefined;\nif (installedChunkData !== 0) {\n\t// 0 means \"already installed\".\n\n\t// a Promise means \"currently loading\".\n\tif (installedChunkData) {\n\t\tpromises.push(installedChunkData[2]);\n\t} else {\n\t\tif (!/^7(25|89)$/.test(chunkId)) {\n\t\t\t// setup Promise in chunk cache\n\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\tpromises.push((installedChunkData[2] = promise));\n\n\t\t\t// start chunk loading\n\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\tvar error = new Error();\n\t\t\tvar loadingEnded = function (event) {\n\t\t\t\tif (__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\tif (installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\tif (installedChunkData) {\n\t\t\t\t\t\tvar errorType =\n\t\t\t\t\t\t\tevent && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\terror.message =\n\t\t\t\t\t\t\t'Loading chunk ' +\n\t\t\t\t\t\t\tchunkId +\n\t\t\t\t\t\t\t' failed.\\n(' +\n\t\t\t\t\t\t\terrorType +\n\t\t\t\t\t\t\t': ' +\n\t\t\t\t\t\t\trealSrc +\n\t\t\t\t\t\t\t')';\n\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t} else installedChunks[chunkId] = 0; \n\t}\n}\n\n }\n __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n// install a JSONP callback for chunk loading\nvar __rspack_jsonp = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif (chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor (moduleId in moreModules) {\n\t\t\tif (__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif (runtime) var result = runtime(__webpack_require__);\n\t}\n\tif (parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor (; i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif (\n\t\t\t__webpack_require__.o(installedChunks, chunkId) &&\n\t\t\tinstalledChunks[chunkId]\n\t\t) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\t\n\treturn __webpack_require__.O(result);\n\t\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_terrestris_shogun_admin\"] = self[\"webpackChunk_terrestris_shogun_admin\"] || [];\nchunkLoadingGlobal.forEach(__rspack_jsonp.bind(null, 0));\nchunkLoadingGlobal.push = __rspack_jsonp.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\n","__webpack_require__.ruid = \"bundler=rspack@1.6.8\";","var prevStartup = __webpack_require__.x;\nvar hasRun = false;\n__webpack_require__.x = function() {\n\tif (!hasRun) {\n\t\thasRun = true;\n\t\t__webpack_require__(67120)\n\t}\n\tif (typeof prevStartup === 'function') {\n\t\treturn prevStartup();\n\t} else {\n\t\tconsole.warn('[MF] Invalid prevStartup');\n\t}\n};"],"names":["e","o","JSON","Array","Symbol","TypeError","Object","__module_federation_runtime_plugins__","__module_federation_remote_infos__","__module_federation_container_name__","__module_federation_share_strategy__","__webpack_require__","__webpack_require___remotesLoadingData","__webpack_require___remotesLoadingData1","__webpack_require___initializeSharingData","__webpack_require___consumesLoadingData","__webpack_require___consumesLoadingData1","__webpack_require___initializeExposesData","__webpack_require___consumesLoadingData2","__webpack_require___remotesLoadingData_chunkMapping","__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping","__webpack_require___initializeSharingData_scopeToSharingDataMapping","__webpack_require___consumesLoadingData_chunkMapping","__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping","override","obj","key","value","merge","fn","_obj_key","_obj","_key","_","_obj1","_key1","_1","_type_of","early","initial","remotesLoadingChunkMapping","remotesLoadingModuleIdToRemoteDataMapping","initializeSharingScopeToInitDataMapping","consumesLoadingChunkMapping","consumesLoadingModuleToConsumeDataMapping","consumesLoadinginstalledModules","initializeSharingInitPromises","initializeSharingInitTokens","containerShareScope","__module_federation_bundler_runtime__","consumesLoadingModuleToHandlerMapping","_iteratorError","moduleId","data","shared","scope","stages","_iteratorError1","stage","name","version","factory","eager","singleton","requiredVersion","strictVersion","shareConfig","isValidValue","val","options","remote","remotesLoadingIdToExternalAndNameMappingMapping","idToRemoteMap","id","info","remoteData","chunkId","promises","initScope","shareScope","remoteEntryInitOptions","module1","getScope","moduleMap","Promise","Error","undefined","globalThis","window","document","Map","t","RegExp","Number","r","Boolean","console","s","FEDERATION_ALLOW_NEW_FUNCTION","Function","HTMLScriptElement","ENV_TARGET","HTMLLinkElement","Set","d","Response","fetch","a","i","n","URL","FederationModuleManifest","MANIFEST_EXT","BROWSER_LOG_KEY","NameTransformSymbol","NameTransformMap","EncodedNameTransformMap","SEPARATOR","ManifestFileName","StatsFileName","MFModuleType","MODULE_DEVTOOL_IDENTIFIER","ENCODE_NAME_PREFIX","TEMP_DIR","MFPrefetchCommon","ContainerPlugin","ContainerReferencePlugin","ModuleFederationPlugin","SharePlugin","isBrowserEnv","isReactNativeEnv","navigator","isBrowserDebug","localStorage","isDebugMode","process","FEDERATION_DEBUG","getProcessEnv","LOG_CATEGORY","parseEntry","composeKeyWithSeparator","encodeName","decodeName","generateExposeFilename","generateShareFilename","getResourceUrl","assert","error","warn","safeToString","VERSION_PATTERN_REGEXP","isRequiredVersion","simpleJoinRemoteEntry","inferAutoPublicPath","generateSnapshotFromManifest","isManifestProvider","getManifestFileName","PREFIX","DEFAULT_DELEGATE","LOGGER_STACK_SKIP_TOKENS","captureStackTrace","Logger","createLogger","createInfrastructureLogger","bindLoggerToCompiler","logger","infrastructureLogger","safeWrapper","isStaticResourcesEqual","createScript","clearTimeout","setTimeout","createLink","loadScript","sdkImportCache","importNodeModule","loadNodeFetch","lazyLoaderHookFetch","createScriptNode","url","cb","attrs","loaderHook","urlObj","hookResult","getFetch","handleScriptFetch","f","res","path","vm","scriptContext","urlDirname","filename","script","eval","exportedInterface","container","loadModule","loadScriptNode","esmModuleCache","normalizeOptions","createModuleFederationConfig","exports","h","self"],"mappings":"uDAEA,IAAM,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAW,WACX,EAAY,YACZ,EAAY,YAEZ,EAAa,AAACA,IAChB,IAAM,EAAOA,EAAU,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,GAChD,MAAO,CAAC,sFAAsF,EAAE,EAAK,CAAC,EAAEA,EAAU,CAAC,AACvH,EACM,EAAmB,CAACA,EAAW,EAAc,EAAMC,KACrD,IAAM,EAAM,CAAC,CAAC,EAAE,CAAC,CAAY,CAACD,EAAU,CAAC,CAAC,EAAE,EAAEA,EAAU,CAAC,CAAC,CAI1D,OAHA,GAAQ,EAAI,IAAI,CAAC,CAAC,MAAM,EAAEE,KAAK,SAAS,CAAC,GAAM,CAAC,EAChD,EAAI,IAAI,CAAC,EAAWF,IACpBC,GAAoB,EAAI,IAAI,CAAC,CAAC;AAAyB,CAAC,EAAEA,EAAiB,CAAC,EACrE,EAAI,IAAI,CAAC,KACpB,EAEM,EAAiB,CACnB,CAAC,EAAY,CAAE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IAC3B,EAAU,CAAQ,CAAC,EAAE,CAEpBA,oBAAoB,CAAC,CAAC,EAAiB,IACvC,CAAe,CAAC,EAAQ,EAExB,CAAe,CAAC,EAAQ,CAAC,EAAE,GAE5B,CAAe,CAAC,EAAQ,CAAG,EAG5B,OAAOA,oBAAoB,CAAC,CAAC,EAE9B,EAEI,EAAqBkM,KAAK,oCAAuC,CAAGA,KAAK,oCAAuC,EAAI,EAAE,CAC1H,EAAmB,OAAO,CAAC,EAAe,IAAI,CAAC,KAAM,IACrD,EAAmB,IAAI,CAAG,EAAe,IAAI,CAAC,KAAM,EAAmB,IAAI,CAAC,IAAI,CAAC,G,WCzFjFlM,oBAAoB,IAAI,CAAG,sB,WCA3B,IAAI,EAAcA,oBAAoB,CAAC,CACnC,EAAS,EACbA,CAAAA,oBAAoB,CAAC,CAAG,WAKvB,GAJK,IACJ,EAAS,GACTA,oBAAoB,QAEjB,AAAuB,YAAvB,OAAO,EACV,OAAO,IAEPqF,QAAQ,IAAI,CAAC,2BAEf,C"}
|
|
1
|
+
{"version":3,"file":"js/manifest.a22bc14b22a40615.js","sources":["webpack://@terrestris/shogun-admin/./node_modules/@module-federation/error-codes/dist/index.cjs.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_like_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_with_holes.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_iterable_to_array_limit.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_non_iterable_rest.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_sliced_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_array_without_holes.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_iterable_to_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_non_iterable_spread.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_to_consumable_array.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_type_of.js","webpack://@terrestris/shogun-admin/./node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js","webpack://@terrestris/shogun-admin/==void 0","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime-core/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/runtime/dist/utils.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/sdk/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/webpack-bundler-runtime/dist/constant.cjs.cjs","webpack://@terrestris/shogun-admin/./node_modules/@module-federation/webpack-bundler-runtime/dist/index.cjs.cjs","webpack://@terrestris/shogun-admin/module_federation/runtime","webpack://@terrestris/shogun-admin/webpack/runtime/compat_get_default_export","webpack://@terrestris/shogun-admin/webpack/runtime/define_property_getters","webpack://@terrestris/shogun-admin/webpack/runtime/ensure_chunk","webpack://@terrestris/shogun-admin/webpack/runtime/get css chunk filename","webpack://@terrestris/shogun-admin/webpack/runtime/get javascript chunk filename","webpack://@terrestris/shogun-admin/webpack/runtime/global","webpack://@terrestris/shogun-admin/webpack/runtime/has_own_property","webpack://@terrestris/shogun-admin/webpack/runtime/load_script","webpack://@terrestris/shogun-admin/webpack/runtime/make_namespace_object","webpack://@terrestris/shogun-admin/webpack/runtime/node_module_decorator","webpack://@terrestris/shogun-admin/webpack/runtime/on_chunk_loaded","webpack://@terrestris/shogun-admin/webpack/runtime/rspack_version","webpack://@terrestris/shogun-admin/webpack/runtime/sharing","webpack://@terrestris/shogun-admin/webpack/runtime/auto_public_path","webpack://@terrestris/shogun-admin/webpack/runtime/consumes_loading","webpack://@terrestris/shogun-admin/webpack/runtime/css_loading","webpack://@terrestris/shogun-admin/webpack/runtime/jsonp_chunk_loading","webpack://@terrestris/shogun-admin/webpack/runtime/rspack_unique_id","webpack://@terrestris/shogun-admin/webpack/runtime/embed_federation_runtime"],"sourcesContent":["'use strict';\n\nconst RUNTIME_001 = 'RUNTIME-001';\nconst RUNTIME_002 = 'RUNTIME-002';\nconst RUNTIME_003 = 'RUNTIME-003';\nconst RUNTIME_004 = 'RUNTIME-004';\nconst RUNTIME_005 = 'RUNTIME-005';\nconst RUNTIME_006 = 'RUNTIME-006';\nconst RUNTIME_007 = 'RUNTIME-007';\nconst RUNTIME_008 = 'RUNTIME-008';\nconst RUNTIME_009 = 'RUNTIME-009';\nconst TYPE_001 = 'TYPE-001';\nconst BUILD_001 = 'BUILD-001';\nconst BUILD_002 = 'BUILD-002';\n\nconst getDocsUrl = (errorCode) => {\n const type = errorCode.split('-')[0].toLowerCase();\n return `View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${type}/${errorCode}`;\n};\nconst getShortErrorMsg = (errorCode, errorDescMap, args, originalErrorMsg) => {\n const msg = [`${[errorDescMap[errorCode]]} #${errorCode}`];\n args && msg.push(`args: ${JSON.stringify(args)}`);\n msg.push(getDocsUrl(errorCode));\n originalErrorMsg && msg.push(`Original Error Message:\\n ${originalErrorMsg}`);\n return msg.join('\\n');\n};\n\nconst runtimeDescMap = {\n [RUNTIME_001]: 'Failed to get remoteEntry exports.',\n [RUNTIME_002]: 'The remote entry interface does not contain \"init\"',\n [RUNTIME_003]: 'Failed to get manifest.',\n [RUNTIME_004]: 'Failed to locate remote.',\n [RUNTIME_005]: 'Invalid loadShareSync function call from bundler runtime',\n [RUNTIME_006]: 'Invalid loadShareSync function call from runtime',\n [RUNTIME_007]: 'Failed to get remote snapshot.',\n [RUNTIME_008]: 'Failed to load script resources.',\n [RUNTIME_009]: 'Please call createInstance first.',\n};\nconst typeDescMap = {\n [TYPE_001]: 'Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.',\n};\nconst buildDescMap = {\n [BUILD_001]: 'Failed to find expose module.',\n [BUILD_002]: 'PublicPath is required in prod mode.',\n};\nconst errorDescMap = {\n ...runtimeDescMap,\n ...typeDescMap,\n ...buildDescMap,\n};\n\nexports.BUILD_001 = BUILD_001;\nexports.BUILD_002 = BUILD_002;\nexports.RUNTIME_001 = RUNTIME_001;\nexports.RUNTIME_002 = RUNTIME_002;\nexports.RUNTIME_003 = RUNTIME_003;\nexports.RUNTIME_004 = RUNTIME_004;\nexports.RUNTIME_005 = RUNTIME_005;\nexports.RUNTIME_006 = RUNTIME_006;\nexports.RUNTIME_007 = RUNTIME_007;\nexports.RUNTIME_008 = RUNTIME_008;\nexports.RUNTIME_009 = RUNTIME_009;\nexports.TYPE_001 = TYPE_001;\nexports.buildDescMap = buildDescMap;\nexports.errorDescMap = errorDescMap;\nexports.getShortErrorMsg = getShortErrorMsg;\nexports.runtimeDescMap = runtimeDescMap;\nexports.typeDescMap = typeDescMap;\n//# sourceMappingURL=index.cjs.js.map\n","function _array_like_to_array(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\nexport { _array_like_to_array as _ };\n","function _array_with_holes(arr) {\n if (Array.isArray(arr)) return arr;\n}\nexport { _array_with_holes as _ };\n","function _iterable_to_array_limit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\nexport { _iterable_to_array_limit as _ };\n","function _non_iterable_rest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_rest as _ };\n","import { _ as _array_with_holes } from \"./_array_with_holes.js\";\nimport { _ as _iterable_to_array_limit } from \"./_iterable_to_array_limit.js\";\nimport { _ as _non_iterable_rest } from \"./_non_iterable_rest.js\";\nimport { _ as _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nfunction _sliced_to_array(arr, i) {\n return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();\n}\nexport { _sliced_to_array as _ };\n","import { _ as _array_like_to_array } from \"./_array_like_to_array.js\";\n\nfunction _array_without_holes(arr) {\n if (Array.isArray(arr)) return _array_like_to_array(arr);\n}\nexport { _array_without_holes as _ };\n","function _iterable_to_array(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) {\n return Array.from(iter);\n }\n}\nexport { _iterable_to_array as _ };\n","function _non_iterable_spread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _non_iterable_spread as _ };\n","import { _ as _array_without_holes } from \"./_array_without_holes.js\";\nimport { _ as _iterable_to_array } from \"./_iterable_to_array.js\";\nimport { _ as _non_iterable_spread } from \"./_non_iterable_spread.js\";\nimport { _ as _unsupported_iterable_to_array } from \"./_unsupported_iterable_to_array.js\";\n\nfunction _to_consumable_array(arr) {\n return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();\n}\nexport { _to_consumable_array as _ };\n","function _type_of(obj) {\n \"@swc/helpers - typeof\";\n\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nexport { _type_of as _ };\n","import { _ as _array_like_to_array } from \"./_array_like_to_array.js\";\n\nfunction _unsupported_iterable_to_array(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _array_like_to_array(o, minLen);\n\n var n = Object.prototype.toString.call(o).slice(8, -1);\n\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);\n}\nexport { _unsupported_iterable_to_array as _ };\n","import __module_federation_bundler_runtime__ from \"/home/runner/work/shogun-admin/shogun-admin/node_modules/@module-federation/webpack-bundler-runtime/dist/index.cjs.cjs\";const __module_federation_runtime_plugins__ = [];const __module_federation_remote_infos__ = {};const __module_federation_container_name__ = \"SHOGunAdmin\";const __module_federation_share_strategy__ = \"version-first\";if((__webpack_require__.initializeSharingData||__webpack_require__.initializeExposesData)&&__webpack_require__.federation){var __webpack_require___remotesLoadingData,__webpack_require___remotesLoadingData1,__webpack_require___initializeSharingData,__webpack_require___consumesLoadingData,__webpack_require___consumesLoadingData1,__webpack_require___initializeExposesData,__webpack_require___consumesLoadingData2;const override=(obj,key,value)=>{if(!obj)return;if(obj[key])obj[key]=value};const merge=(obj,key,fn)=>{const value=fn();if(Array.isArray(value)){var _obj,_key;var _;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=[];obj[key].push(...value)}else if(typeof value===\"object\"&&value!==null){var _obj1,_key1;var _1;(_1=(_obj1=obj)[_key1=key])!==null&&_1!==void 0?_1:_obj1[_key1]={};Object.assign(obj[key],value)}};const early=(obj,key,initial)=>{var _obj,_key;var _;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=initial()};var __webpack_require___remotesLoadingData_chunkMapping;const remotesLoadingChunkMapping=(__webpack_require___remotesLoadingData_chunkMapping=(__webpack_require___remotesLoadingData=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData===void 0?void 0:__webpack_require___remotesLoadingData.chunkMapping)!==null&&__webpack_require___remotesLoadingData_chunkMapping!==void 0?__webpack_require___remotesLoadingData_chunkMapping:{};var __webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping;const remotesLoadingModuleIdToRemoteDataMapping=(__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping=(__webpack_require___remotesLoadingData1=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData1===void 0?void 0:__webpack_require___remotesLoadingData1.moduleIdToRemoteDataMapping)!==null&&__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping!==void 0?__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping:{};var __webpack_require___initializeSharingData_scopeToSharingDataMapping;const initializeSharingScopeToInitDataMapping=(__webpack_require___initializeSharingData_scopeToSharingDataMapping=(__webpack_require___initializeSharingData=__webpack_require__.initializeSharingData)===null||__webpack_require___initializeSharingData===void 0?void 0:__webpack_require___initializeSharingData.scopeToSharingDataMapping)!==null&&__webpack_require___initializeSharingData_scopeToSharingDataMapping!==void 0?__webpack_require___initializeSharingData_scopeToSharingDataMapping:{};var __webpack_require___consumesLoadingData_chunkMapping;const consumesLoadingChunkMapping=(__webpack_require___consumesLoadingData_chunkMapping=(__webpack_require___consumesLoadingData=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData===void 0?void 0:__webpack_require___consumesLoadingData.chunkMapping)!==null&&__webpack_require___consumesLoadingData_chunkMapping!==void 0?__webpack_require___consumesLoadingData_chunkMapping:{};var __webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping;const consumesLoadingModuleToConsumeDataMapping=(__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping=(__webpack_require___consumesLoadingData1=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData1===void 0?void 0:__webpack_require___consumesLoadingData1.moduleIdToConsumeDataMapping)!==null&&__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping!==void 0?__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping:{};const consumesLoadinginstalledModules={};const initializeSharingInitPromises=[];const initializeSharingInitTokens={};const containerShareScope=(__webpack_require___initializeExposesData=__webpack_require__.initializeExposesData)===null||__webpack_require___initializeExposesData===void 0?void 0:__webpack_require___initializeExposesData.shareScope;for(const key in __module_federation_bundler_runtime__){__webpack_require__.federation[key]=__module_federation_bundler_runtime__[key]}early(__webpack_require__.federation,\"consumesLoadingModuleToHandlerMapping\",()=>{const consumesLoadingModuleToHandlerMapping={};for(let[moduleId,data]of Object.entries(consumesLoadingModuleToConsumeDataMapping)){consumesLoadingModuleToHandlerMapping[moduleId]={getter:data.fallback,shareInfo:{shareConfig:{fixedDependencies:false,requiredVersion:data.requiredVersion,strictVersion:data.strictVersion,singleton:data.singleton,eager:data.eager},scope:[data.shareScope]},shareKey:data.shareKey}}return consumesLoadingModuleToHandlerMapping});early(__webpack_require__.federation,\"initOptions\",()=>({}));early(__webpack_require__.federation.initOptions,\"name\",()=>__module_federation_container_name__);early(__webpack_require__.federation.initOptions,\"shareStrategy\",()=>__module_federation_share_strategy__);early(__webpack_require__.federation.initOptions,\"shared\",()=>{const shared={};for(let[scope,stages]of Object.entries(initializeSharingScopeToInitDataMapping)){for(let stage of stages){if(typeof stage===\"object\"&&stage!==null){const{name,version,factory,eager,singleton,requiredVersion,strictVersion}=stage;const shareConfig={};const isValidValue=function(val){return typeof val!==\"undefined\"};if(isValidValue(singleton)){shareConfig.singleton=singleton}if(isValidValue(requiredVersion)){shareConfig.requiredVersion=requiredVersion}if(isValidValue(eager)){shareConfig.eager=eager}if(isValidValue(strictVersion)){shareConfig.strictVersion=strictVersion}const options={version,scope:[scope],shareConfig,get:factory};if(shared[name]){shared[name].push(options)}else{shared[name]=[options]}}}}return shared});merge(__webpack_require__.federation.initOptions,\"remotes\",()=>Object.values(__module_federation_remote_infos__).flat().filter(remote=>remote.externalType===\"script\"));merge(__webpack_require__.federation.initOptions,\"plugins\",()=>__module_federation_runtime_plugins__);early(__webpack_require__.federation,\"bundlerRuntimeOptions\",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions,\"remotes\",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"chunkMapping\",()=>remotesLoadingChunkMapping);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"remoteInfos\",()=>__module_federation_remote_infos__);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"idToExternalAndNameMapping\",()=>{const remotesLoadingIdToExternalAndNameMappingMapping={};for(let[moduleId,data]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){remotesLoadingIdToExternalAndNameMappingMapping[moduleId]=[data.shareScope,data.name,data.externalModuleId,data.remoteName]}return remotesLoadingIdToExternalAndNameMappingMapping});early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"webpackRequire\",()=>__webpack_require__);merge(__webpack_require__.federation.bundlerRuntimeOptions.remotes,\"idToRemoteMap\",()=>{const idToRemoteMap={};for(let[id,remoteData]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){const info=__module_federation_remote_infos__[remoteData.remoteName];if(info)idToRemoteMap[id]=info}return idToRemoteMap});override(__webpack_require__,\"S\",__webpack_require__.federation.bundlerRuntime.S);if(__webpack_require__.federation.attachShareScopeMap){__webpack_require__.federation.attachShareScopeMap(__webpack_require__)}override(__webpack_require__.f,\"remotes\",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.remotes({chunkId,promises,chunkMapping:remotesLoadingChunkMapping,idToExternalAndNameMapping:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:__webpack_require__}));override(__webpack_require__.f,\"consumes\",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.consumes({chunkId,promises,chunkMapping:consumesLoadingChunkMapping,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping,installedModules:consumesLoadinginstalledModules,webpackRequire:__webpack_require__}));override(__webpack_require__,\"I\",(name,initScope)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:name,initScope,initPromises:initializeSharingInitPromises,initTokens:initializeSharingInitTokens,webpackRequire:__webpack_require__}));override(__webpack_require__,\"initContainer\",(shareScope,initScope,remoteEntryInitOptions)=>__webpack_require__.federation.bundlerRuntime.initContainerEntry({shareScope,initScope,remoteEntryInitOptions,shareScopeKey:containerShareScope,webpackRequire:__webpack_require__}));override(__webpack_require__,\"getContainer\",(module1,getScope)=>{var moduleMap=__webpack_require__.initializeExposesData.moduleMap;__webpack_require__.R=getScope;getScope=Object.prototype.hasOwnProperty.call(moduleMap,module1)?moduleMap[module1]():Promise.resolve().then(()=>{throw new Error('Module \"'+module1+'\" does not exist in container.')});__webpack_require__.R=undefined;return getScope});__webpack_require__.federation.instance=__webpack_require__.federation.runtime.init(__webpack_require__.federation.initOptions);if((__webpack_require___consumesLoadingData2=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData2===void 0?void 0:__webpack_require___consumesLoadingData2.initialConsumes){__webpack_require__.federation.bundlerRuntime.installInitialConsumes({webpackRequire:__webpack_require__,installedModules:consumesLoadinginstalledModules,initialConsumes:__webpack_require__.consumesLoadingData.initialConsumes,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping})}}","'use strict';\n\nvar sdk = require('@module-federation/sdk');\nvar errorCodes = require('@module-federation/error-codes');\n\nconst LOG_CATEGORY = '[ Federation Runtime ]';\n// FIXME: pre-bundle ?\nconst logger = sdk.createLogger(LOG_CATEGORY);\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction assert(condition, msg) {\n if (!condition) {\n error(msg);\n }\n}\nfunction error(msg) {\n if (msg instanceof Error) {\n // Check if the message already starts with the log category to avoid duplication\n if (!msg.message.startsWith(LOG_CATEGORY)) {\n msg.message = `${LOG_CATEGORY}: ${msg.message}`;\n }\n throw msg;\n }\n throw new Error(`${LOG_CATEGORY}: ${msg}`);\n}\nfunction warn(msg) {\n if (msg instanceof Error) {\n // Check if the message already starts with the log category to avoid duplication\n if (!msg.message.startsWith(LOG_CATEGORY)) {\n msg.message = `${LOG_CATEGORY}: ${msg.message}`;\n }\n logger.warn(msg);\n }\n else {\n logger.warn(msg);\n }\n}\n\nfunction addUniqueItem(arr, item) {\n if (arr.findIndex((name) => name === item) === -1) {\n arr.push(item);\n }\n return arr;\n}\nfunction getFMId(remoteInfo) {\n if ('version' in remoteInfo && remoteInfo.version) {\n return `${remoteInfo.name}:${remoteInfo.version}`;\n }\n else if ('entry' in remoteInfo && remoteInfo.entry) {\n return `${remoteInfo.name}:${remoteInfo.entry}`;\n }\n else {\n return `${remoteInfo.name}`;\n }\n}\nfunction isRemoteInfoWithEntry(remote) {\n return typeof remote.entry !== 'undefined';\n}\nfunction isPureRemoteEntry(remote) {\n return !remote.entry.includes('.json');\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nasync function safeWrapper(callback, disableWarn) {\n try {\n const res = await callback();\n return res;\n }\n catch (e) {\n !disableWarn && warn(e);\n return;\n }\n}\nfunction isObject(val) {\n return val && typeof val === 'object';\n}\nconst objectToString = Object.prototype.toString;\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction isPlainObject(val) {\n return objectToString.call(val) === '[object Object]';\n}\nfunction isStaticResourcesEqual(url1, url2) {\n const REG_EXP = /^(https?:)?\\/\\//i;\n // Transform url1 and url2 into relative paths\n const relativeUrl1 = url1.replace(REG_EXP, '').replace(/\\/$/, '');\n const relativeUrl2 = url2.replace(REG_EXP, '').replace(/\\/$/, '');\n // Check if the relative paths are identical\n return relativeUrl1 === relativeUrl2;\n}\nfunction arrayOptions(options) {\n return Array.isArray(options) ? options : [options];\n}\nfunction getRemoteEntryInfoFromSnapshot(snapshot) {\n const defaultRemoteEntryInfo = {\n url: '',\n type: 'global',\n globalName: '',\n };\n if (sdk.isBrowserEnv() || sdk.isReactNativeEnv()) {\n return 'remoteEntry' in snapshot\n ? {\n url: snapshot.remoteEntry,\n type: snapshot.remoteEntryType,\n globalName: snapshot.globalName,\n }\n : defaultRemoteEntryInfo;\n }\n if ('ssrRemoteEntry' in snapshot) {\n return {\n url: snapshot.ssrRemoteEntry || defaultRemoteEntryInfo.url,\n type: snapshot.ssrRemoteEntryType || defaultRemoteEntryInfo.type,\n globalName: snapshot.globalName,\n };\n }\n return defaultRemoteEntryInfo;\n}\nconst processModuleAlias = (name, subPath) => {\n // @host/ ./button -> @host/button\n let moduleName;\n if (name.endsWith('/')) {\n moduleName = name.slice(0, -1);\n }\n else {\n moduleName = name;\n }\n if (subPath.startsWith('.')) {\n subPath = subPath.slice(1);\n }\n moduleName = moduleName + subPath;\n return moduleName;\n};\n\nconst CurrentGlobal = typeof globalThis === 'object' ? globalThis : window;\nconst nativeGlobal = (() => {\n try {\n // get real window (incase of sandbox)\n return document.defaultView;\n }\n catch {\n // node env\n return CurrentGlobal;\n }\n})();\nconst Global = nativeGlobal;\nfunction definePropertyGlobalVal(target, key, val) {\n Object.defineProperty(target, key, {\n value: val,\n configurable: false,\n writable: true,\n });\n}\nfunction includeOwnProperty(target, key) {\n return Object.hasOwnProperty.call(target, key);\n}\n// This section is to prevent encapsulation by certain microfrontend frameworks. Due to reuse policies, sandbox escapes.\n// The sandbox in the microfrontend does not replicate the value of 'configurable'.\n// If there is no loading content on the global object, this section defines the loading object.\nif (!includeOwnProperty(CurrentGlobal, '__GLOBAL_LOADING_REMOTE_ENTRY__')) {\n definePropertyGlobalVal(CurrentGlobal, '__GLOBAL_LOADING_REMOTE_ENTRY__', {});\n}\nconst globalLoading = CurrentGlobal.__GLOBAL_LOADING_REMOTE_ENTRY__;\nfunction setGlobalDefaultVal(target) {\n if (includeOwnProperty(target, '__VMOK__') &&\n !includeOwnProperty(target, '__FEDERATION__')) {\n definePropertyGlobalVal(target, '__FEDERATION__', target.__VMOK__);\n }\n if (!includeOwnProperty(target, '__FEDERATION__')) {\n definePropertyGlobalVal(target, '__FEDERATION__', {\n __GLOBAL_PLUGIN__: [],\n __INSTANCES__: [],\n moduleInfo: {},\n __SHARE__: {},\n __MANIFEST_LOADING__: {},\n __PRELOADED_MAP__: new Map(),\n });\n definePropertyGlobalVal(target, '__VMOK__', target.__FEDERATION__);\n }\n target.__FEDERATION__.__GLOBAL_PLUGIN__ ??= [];\n target.__FEDERATION__.__INSTANCES__ ??= [];\n target.__FEDERATION__.moduleInfo ??= {};\n target.__FEDERATION__.__SHARE__ ??= {};\n target.__FEDERATION__.__MANIFEST_LOADING__ ??= {};\n target.__FEDERATION__.__PRELOADED_MAP__ ??= new Map();\n}\nsetGlobalDefaultVal(CurrentGlobal);\nsetGlobalDefaultVal(nativeGlobal);\nfunction resetFederationGlobalInfo() {\n CurrentGlobal.__FEDERATION__.__GLOBAL_PLUGIN__ = [];\n CurrentGlobal.__FEDERATION__.__INSTANCES__ = [];\n CurrentGlobal.__FEDERATION__.moduleInfo = {};\n CurrentGlobal.__FEDERATION__.__SHARE__ = {};\n CurrentGlobal.__FEDERATION__.__MANIFEST_LOADING__ = {};\n Object.keys(globalLoading).forEach((key) => {\n delete globalLoading[key];\n });\n}\nfunction setGlobalFederationInstance(FederationInstance) {\n CurrentGlobal.__FEDERATION__.__INSTANCES__.push(FederationInstance);\n}\nfunction getGlobalFederationConstructor() {\n return CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__;\n}\nfunction setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {\n if (isDebug) {\n CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;\n CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = \"0.21.6\";\n }\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction getInfoWithoutType(target, key) {\n if (typeof key === 'string') {\n const keyRes = target[key];\n if (keyRes) {\n return {\n value: target[key],\n key: key,\n };\n }\n else {\n const targetKeys = Object.keys(target);\n for (const targetKey of targetKeys) {\n const [targetTypeOrName, _] = targetKey.split(':');\n const nKey = `${targetTypeOrName}:${key}`;\n const typeWithKeyRes = target[nKey];\n if (typeWithKeyRes) {\n return {\n value: typeWithKeyRes,\n key: nKey,\n };\n }\n }\n return {\n value: undefined,\n key: key,\n };\n }\n }\n else {\n throw new Error('key must be string');\n }\n}\nconst getGlobalSnapshot = () => nativeGlobal.__FEDERATION__.moduleInfo;\nconst getTargetSnapshotInfoByModuleInfo = (moduleInfo, snapshot) => {\n // Check if the remote is included in the hostSnapshot\n const moduleKey = getFMId(moduleInfo);\n const getModuleInfo = getInfoWithoutType(snapshot, moduleKey).value;\n // The remoteSnapshot might not include a version\n if (getModuleInfo &&\n !getModuleInfo.version &&\n 'version' in moduleInfo &&\n moduleInfo['version']) {\n getModuleInfo.version = moduleInfo['version'];\n }\n if (getModuleInfo) {\n return getModuleInfo;\n }\n // If the remote is not included in the hostSnapshot, deploy a micro app snapshot\n if ('version' in moduleInfo && moduleInfo['version']) {\n const { version, ...resModuleInfo } = moduleInfo;\n const moduleKeyWithoutVersion = getFMId(resModuleInfo);\n const getModuleInfoWithoutVersion = getInfoWithoutType(nativeGlobal.__FEDERATION__.moduleInfo, moduleKeyWithoutVersion).value;\n if (getModuleInfoWithoutVersion?.version === version) {\n return getModuleInfoWithoutVersion;\n }\n }\n return;\n};\nconst getGlobalSnapshotInfoByModuleInfo = (moduleInfo) => getTargetSnapshotInfoByModuleInfo(moduleInfo, nativeGlobal.__FEDERATION__.moduleInfo);\nconst setGlobalSnapshotInfoByModuleInfo = (remoteInfo, moduleDetailInfo) => {\n const moduleKey = getFMId(remoteInfo);\n nativeGlobal.__FEDERATION__.moduleInfo[moduleKey] = moduleDetailInfo;\n return nativeGlobal.__FEDERATION__.moduleInfo;\n};\nconst addGlobalSnapshot = (moduleInfos) => {\n nativeGlobal.__FEDERATION__.moduleInfo = {\n ...nativeGlobal.__FEDERATION__.moduleInfo,\n ...moduleInfos,\n };\n return () => {\n const keys = Object.keys(moduleInfos);\n for (const key of keys) {\n delete nativeGlobal.__FEDERATION__.moduleInfo[key];\n }\n };\n};\nconst getRemoteEntryExports = (name, globalName) => {\n const remoteEntryKey = globalName || `__FEDERATION_${name}:custom__`;\n const entryExports = CurrentGlobal[remoteEntryKey];\n return {\n remoteEntryKey,\n entryExports,\n };\n};\n// This function is used to register global plugins.\n// It iterates over the provided plugins and checks if they are already registered.\n// If a plugin is not registered, it is added to the global plugins.\n// If a plugin is already registered, a warning message is logged.\nconst registerGlobalPlugins = (plugins) => {\n const { __GLOBAL_PLUGIN__ } = nativeGlobal.__FEDERATION__;\n plugins.forEach((plugin) => {\n if (__GLOBAL_PLUGIN__.findIndex((p) => p.name === plugin.name) === -1) {\n __GLOBAL_PLUGIN__.push(plugin);\n }\n else {\n warn(`The plugin ${plugin.name} has been registered.`);\n }\n });\n};\nconst getGlobalHostPlugins = () => nativeGlobal.__FEDERATION__.__GLOBAL_PLUGIN__;\nconst getPreloaded = (id) => CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.get(id);\nconst setPreloaded = (id) => CurrentGlobal.__FEDERATION__.__PRELOADED_MAP__.set(id, true);\n\nconst DEFAULT_SCOPE = 'default';\nconst DEFAULT_REMOTE_TYPE = 'global';\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// those constants are based on https://www.rubydoc.info/gems/semantic_range/3.0.0/SemanticRange#BUILDIDENTIFIER-constant\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nconst buildIdentifier = '[0-9A-Za-z-]+';\nconst build = `(?:\\\\+(${buildIdentifier}(?:\\\\.${buildIdentifier})*))`;\nconst numericIdentifier = '0|[1-9]\\\\d*';\nconst numericIdentifierLoose = '[0-9]+';\nconst nonNumericIdentifier = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*';\nconst preReleaseIdentifierLoose = `(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;\nconst preReleaseLoose = `(?:-?(${preReleaseIdentifierLoose}(?:\\\\.${preReleaseIdentifierLoose})*))`;\nconst preReleaseIdentifier = `(?:${numericIdentifier}|${nonNumericIdentifier})`;\nconst preRelease = `(?:-(${preReleaseIdentifier}(?:\\\\.${preReleaseIdentifier})*))`;\nconst xRangeIdentifier = `${numericIdentifier}|x|X|\\\\*`;\nconst xRangePlain = `[v=\\\\s]*(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;\nconst hyphenRange = `^\\\\s*(${xRangePlain})\\\\s+-\\\\s+(${xRangePlain})\\\\s*$`;\nconst mainVersionLoose = `(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})`;\nconst loosePlain = `[v=\\\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;\nconst gtlt = '((?:<|>)?=?)';\nconst comparatorTrim = `(\\\\s*)${gtlt}\\\\s*(${loosePlain}|${xRangePlain})`;\nconst loneTilde = '(?:~>?)';\nconst tildeTrim = `(\\\\s*)${loneTilde}\\\\s+`;\nconst loneCaret = '(?:\\\\^)';\nconst caretTrim = `(\\\\s*)${loneCaret}\\\\s+`;\nconst star = '(<|>)?=?\\\\s*\\\\*';\nconst caret = `^${loneCaret}${xRangePlain}$`;\nconst mainVersion = `(${numericIdentifier})\\\\.(${numericIdentifier})\\\\.(${numericIdentifier})`;\nconst fullPlain = `v?${mainVersion}${preRelease}?${build}?`;\nconst tilde = `^${loneTilde}${xRangePlain}$`;\nconst xRange = `^${gtlt}\\\\s*${xRangePlain}$`;\nconst comparator = `^${gtlt}\\\\s*(${fullPlain})$|^$`;\n// copy from semver package\nconst gte0 = '^\\\\s*>=\\\\s*0.0.0\\\\s*$';\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseRegex(source) {\n return new RegExp(source);\n}\nfunction isXVersion(version) {\n return !version || version.toLowerCase() === 'x' || version === '*';\n}\nfunction pipe(...fns) {\n return (x) => fns.reduce((v, f) => f(v), x);\n}\nfunction extractComparator(comparatorString) {\n return comparatorString.match(parseRegex(comparator));\n}\nfunction combineVersion(major, minor, patch, preRelease) {\n const mainVersion = `${major}.${minor}.${patch}`;\n if (preRelease) {\n return `${mainVersion}-${preRelease}`;\n }\n return mainVersion;\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseHyphen(range) {\n return range.replace(parseRegex(hyphenRange), (_range, from, fromMajor, fromMinor, fromPatch, _fromPreRelease, _fromBuild, to, toMajor, toMinor, toPatch, toPreRelease) => {\n if (isXVersion(fromMajor)) {\n from = '';\n }\n else if (isXVersion(fromMinor)) {\n from = `>=${fromMajor}.0.0`;\n }\n else if (isXVersion(fromPatch)) {\n from = `>=${fromMajor}.${fromMinor}.0`;\n }\n else {\n from = `>=${from}`;\n }\n if (isXVersion(toMajor)) {\n to = '';\n }\n else if (isXVersion(toMinor)) {\n to = `<${Number(toMajor) + 1}.0.0-0`;\n }\n else if (isXVersion(toPatch)) {\n to = `<${toMajor}.${Number(toMinor) + 1}.0-0`;\n }\n else if (toPreRelease) {\n to = `<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`;\n }\n else {\n to = `<=${to}`;\n }\n return `${from} ${to}`.trim();\n });\n}\nfunction parseComparatorTrim(range) {\n return range.replace(parseRegex(comparatorTrim), '$1$2$3');\n}\nfunction parseTildeTrim(range) {\n return range.replace(parseRegex(tildeTrim), '$1~');\n}\nfunction parseCaretTrim(range) {\n return range.replace(parseRegex(caretTrim), '$1^');\n}\nfunction parseCarets(range) {\n return range\n .trim()\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion.replace(parseRegex(caret), (_, major, minor, patch, preRelease) => {\n if (isXVersion(major)) {\n return '';\n }\n else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${Number(major) + 1}.0.0-0`;\n }\n else if (isXVersion(patch)) {\n if (major === '0') {\n return `>=${major}.${minor}.0 <${major}.${Number(minor) + 1}.0-0`;\n }\n else {\n return `>=${major}.${minor}.0 <${Number(major) + 1}.0.0-0`;\n }\n }\n else if (preRelease) {\n if (major === '0') {\n if (minor === '0') {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${minor}.${Number(patch) + 1}-0`;\n }\n else {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n }\n else {\n return `>=${major}.${minor}.${patch}-${preRelease} <${Number(major) + 1}.0.0-0`;\n }\n }\n else {\n if (major === '0') {\n if (minor === '0') {\n return `>=${major}.${minor}.${patch} <${major}.${minor}.${Number(patch) + 1}-0`;\n }\n else {\n return `>=${major}.${minor}.${patch} <${major}.${Number(minor) + 1}.0-0`;\n }\n }\n return `>=${major}.${minor}.${patch} <${Number(major) + 1}.0.0-0`;\n }\n }))\n .join(' ');\n}\nfunction parseTildes(range) {\n return range\n .trim()\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion.replace(parseRegex(tilde), (_, major, minor, patch, preRelease) => {\n if (isXVersion(major)) {\n return '';\n }\n else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${Number(major) + 1}.0.0-0`;\n }\n else if (isXVersion(patch)) {\n return `>=${major}.${minor}.0 <${major}.${Number(minor) + 1}.0-0`;\n }\n else if (preRelease) {\n return `>=${major}.${minor}.${patch}-${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n return `>=${major}.${minor}.${patch} <${major}.${Number(minor) + 1}.0-0`;\n }))\n .join(' ');\n}\nfunction parseXRanges(range) {\n return range\n .split(/\\s+/)\n .map((rangeVersion) => rangeVersion\n .trim()\n .replace(parseRegex(xRange), (ret, gtlt, major, minor, patch, preRelease) => {\n const isXMajor = isXVersion(major);\n const isXMinor = isXMajor || isXVersion(minor);\n const isXPatch = isXMinor || isXVersion(patch);\n if (gtlt === '=' && isXPatch) {\n gtlt = '';\n }\n preRelease = '';\n if (isXMajor) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n return '<0.0.0-0';\n }\n else {\n // nothing is forbidden\n return '*';\n }\n }\n else if (gtlt && isXPatch) {\n // replace X with 0\n if (isXMinor) {\n minor = 0;\n }\n patch = 0;\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>=';\n if (isXMinor) {\n major = Number(major) + 1;\n minor = 0;\n patch = 0;\n }\n else {\n minor = Number(minor) + 1;\n patch = 0;\n }\n }\n else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should pass\n // Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<';\n if (isXMinor) {\n major = Number(major) + 1;\n }\n else {\n minor = Number(minor) + 1;\n }\n }\n if (gtlt === '<') {\n preRelease = '-0';\n }\n return `${gtlt + major}.${minor}.${patch}${preRelease}`;\n }\n else if (isXMinor) {\n return `>=${major}.0.0${preRelease} <${Number(major) + 1}.0.0-0`;\n }\n else if (isXPatch) {\n return `>=${major}.${minor}.0${preRelease} <${major}.${Number(minor) + 1}.0-0`;\n }\n return ret;\n }))\n .join(' ');\n}\nfunction parseStar(range) {\n return range.trim().replace(parseRegex(star), '');\n}\nfunction parseGTE0(comparatorString) {\n return comparatorString.trim().replace(parseRegex(gte0), '');\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction compareAtom(rangeAtom, versionAtom) {\n rangeAtom = Number(rangeAtom) || rangeAtom;\n versionAtom = Number(versionAtom) || versionAtom;\n if (rangeAtom > versionAtom) {\n return 1;\n }\n if (rangeAtom === versionAtom) {\n return 0;\n }\n return -1;\n}\nfunction comparePreRelease(rangeAtom, versionAtom) {\n const { preRelease: rangePreRelease } = rangeAtom;\n const { preRelease: versionPreRelease } = versionAtom;\n if (rangePreRelease === undefined && Boolean(versionPreRelease)) {\n return 1;\n }\n if (Boolean(rangePreRelease) && versionPreRelease === undefined) {\n return -1;\n }\n if (rangePreRelease === undefined && versionPreRelease === undefined) {\n return 0;\n }\n for (let i = 0, n = rangePreRelease.length; i <= n; i++) {\n const rangeElement = rangePreRelease[i];\n const versionElement = versionPreRelease[i];\n if (rangeElement === versionElement) {\n continue;\n }\n if (rangeElement === undefined && versionElement === undefined) {\n return 0;\n }\n if (!rangeElement) {\n return 1;\n }\n if (!versionElement) {\n return -1;\n }\n return compareAtom(rangeElement, versionElement);\n }\n return 0;\n}\nfunction compareVersion(rangeAtom, versionAtom) {\n return (compareAtom(rangeAtom.major, versionAtom.major) ||\n compareAtom(rangeAtom.minor, versionAtom.minor) ||\n compareAtom(rangeAtom.patch, versionAtom.patch) ||\n comparePreRelease(rangeAtom, versionAtom));\n}\nfunction eq(rangeAtom, versionAtom) {\n return rangeAtom.version === versionAtom.version;\n}\nfunction compare(rangeAtom, versionAtom) {\n switch (rangeAtom.operator) {\n case '':\n case '=':\n return eq(rangeAtom, versionAtom);\n case '>':\n return compareVersion(rangeAtom, versionAtom) < 0;\n case '>=':\n return (eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) < 0);\n case '<':\n return compareVersion(rangeAtom, versionAtom) > 0;\n case '<=':\n return (eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0);\n case undefined: {\n // mean * or x -> all versions\n return true;\n }\n default:\n return false;\n }\n}\n\n// fork from https://github.com/originjs/vite-plugin-federation/blob/v1.1.12/packages/lib/src/utils/semver/index.ts\n// Copyright (c)\n// vite-plugin-federation is licensed under Mulan PSL v2.\n// You can use this software according to the terms and conditions of the Mulan PSL v2.\n// You may obtain a copy of Mulan PSL v2 at:\n// http://license.coscl.org.cn/MulanPSL2\n// THIS SOFTWARE IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.\n// See the Mulan PSL v2 for more details.\nfunction parseComparatorString(range) {\n return pipe(\n // handle caret\n // ^ --> * (any, kinda silly)\n // ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n // ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n // ^1.2.3 --> >=1.2.3 <2.0.0-0\n // ^1.2.0 --> >=1.2.0 <2.0.0-0\n parseCarets, \n // handle tilde\n // ~, ~> --> * (any, kinda silly)\n // ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n // ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n parseTildes, parseXRanges, parseStar)(range);\n}\nfunction parseRange(range) {\n return pipe(\n // handle hyphenRange\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n parseHyphen, \n // handle trim comparator\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n parseComparatorTrim, \n // handle trim tilde\n // `~ 1.2.3` => `~1.2.3`\n parseTildeTrim, \n // handle trim caret\n // `^ 1.2.3` => `^1.2.3`\n parseCaretTrim)(range.trim())\n .split(/\\s+/)\n .join(' ');\n}\nfunction satisfy(version, range) {\n if (!version) {\n return false;\n }\n // Extract version details once\n const extractedVersion = extractComparator(version);\n if (!extractedVersion) {\n // If the version string is invalid, it can't satisfy any range\n return false;\n }\n const [, versionOperator, , versionMajor, versionMinor, versionPatch, versionPreRelease,] = extractedVersion;\n const versionAtom = {\n operator: versionOperator,\n version: combineVersion(versionMajor, versionMinor, versionPatch, versionPreRelease), // exclude build atom\n major: versionMajor,\n minor: versionMinor,\n patch: versionPatch,\n preRelease: versionPreRelease?.split('.'),\n };\n // Split the range by || to handle OR conditions\n const orRanges = range.split('||');\n for (const orRange of orRanges) {\n const trimmedOrRange = orRange.trim();\n if (!trimmedOrRange) {\n // An empty range string signifies wildcard *, satisfy any valid version\n // (We already checked if the version itself is valid)\n return true;\n }\n // Handle simple wildcards explicitly before complex parsing\n if (trimmedOrRange === '*' || trimmedOrRange === 'x') {\n return true;\n }\n try {\n // Apply existing parsing logic to the current OR sub-range\n const parsedSubRange = parseRange(trimmedOrRange); // Handles hyphens, trims etc.\n // Check if the result of initial parsing is empty, which can happen\n // for some wildcard cases handled by parseRange/parseComparatorString.\n // E.g. `parseStar` used in `parseComparatorString` returns ''.\n if (!parsedSubRange.trim()) {\n // If parsing results in empty string, treat as wildcard match\n return true;\n }\n const parsedComparatorString = parsedSubRange\n .split(' ')\n .map((rangeVersion) => parseComparatorString(rangeVersion)) // Expands ^, ~\n .join(' ');\n // Check again if the comparator string became empty after specific parsing like ^ or ~\n if (!parsedComparatorString.trim()) {\n return true;\n }\n // Split the sub-range by space for implicit AND conditions\n const comparators = parsedComparatorString\n .split(/\\s+/)\n .map((comparator) => parseGTE0(comparator))\n // Filter out empty strings that might result from multiple spaces\n .filter(Boolean);\n // If a sub-range becomes empty after parsing (e.g., invalid characters),\n // it cannot be satisfied. This check might be redundant now but kept for safety.\n if (comparators.length === 0) {\n continue;\n }\n let subRangeSatisfied = true;\n for (const comparator of comparators) {\n const extractedComparator = extractComparator(comparator);\n // If any part of the AND sub-range is invalid, the sub-range is not satisfied\n if (!extractedComparator) {\n subRangeSatisfied = false;\n break;\n }\n const [, rangeOperator, , rangeMajor, rangeMinor, rangePatch, rangePreRelease,] = extractedComparator;\n const rangeAtom = {\n operator: rangeOperator,\n version: combineVersion(rangeMajor, rangeMinor, rangePatch, rangePreRelease),\n major: rangeMajor,\n minor: rangeMinor,\n patch: rangePatch,\n preRelease: rangePreRelease?.split('.'),\n };\n // Check if the version satisfies this specific comparator in the AND chain\n if (!compare(rangeAtom, versionAtom)) {\n subRangeSatisfied = false; // This part of the AND condition failed\n break; // No need to check further comparators in this sub-range\n }\n }\n // If all AND conditions within this OR sub-range were met, the overall range is satisfied\n if (subRangeSatisfied) {\n return true;\n }\n }\n catch (e) {\n // Log error and treat this sub-range as unsatisfied\n console.error(`[semver] Error processing range part \"${trimmedOrRange}\":`, e);\n continue;\n }\n }\n // If none of the OR sub-ranges were satisfied\n return false;\n}\n\nfunction formatShare(shareArgs, from, name, shareStrategy) {\n let get;\n if ('get' in shareArgs) {\n // eslint-disable-next-line prefer-destructuring\n get = shareArgs.get;\n }\n else if ('lib' in shareArgs) {\n get = () => Promise.resolve(shareArgs.lib);\n }\n else {\n get = () => Promise.resolve(() => {\n throw new Error(`Can not get shared '${name}'!`);\n });\n }\n return {\n deps: [],\n useIn: [],\n from,\n loading: null,\n ...shareArgs,\n shareConfig: {\n requiredVersion: `^${shareArgs.version}`,\n singleton: false,\n eager: false,\n strictVersion: false,\n ...shareArgs.shareConfig,\n },\n get,\n loaded: shareArgs?.loaded || 'lib' in shareArgs ? true : undefined,\n version: shareArgs.version ?? '0',\n scope: Array.isArray(shareArgs.scope)\n ? shareArgs.scope\n : [shareArgs.scope ?? 'default'],\n strategy: (shareArgs.strategy ?? shareStrategy) || 'version-first',\n };\n}\nfunction formatShareConfigs(globalOptions, userOptions) {\n const shareArgs = userOptions.shared || {};\n const from = userOptions.name;\n const shareInfos = Object.keys(shareArgs).reduce((res, pkgName) => {\n const arrayShareArgs = arrayOptions(shareArgs[pkgName]);\n res[pkgName] = res[pkgName] || [];\n arrayShareArgs.forEach((shareConfig) => {\n res[pkgName].push(formatShare(shareConfig, from, pkgName, userOptions.shareStrategy));\n });\n return res;\n }, {});\n const shared = {\n ...globalOptions.shared,\n };\n Object.keys(shareInfos).forEach((shareKey) => {\n if (!shared[shareKey]) {\n shared[shareKey] = shareInfos[shareKey];\n }\n else {\n shareInfos[shareKey].forEach((newUserSharedOptions) => {\n const isSameVersion = shared[shareKey].find((sharedVal) => sharedVal.version === newUserSharedOptions.version);\n if (!isSameVersion) {\n shared[shareKey].push(newUserSharedOptions);\n }\n });\n }\n });\n return { shared, shareInfos };\n}\nfunction versionLt(a, b) {\n const transformInvalidVersion = (version) => {\n const isNumberVersion = !Number.isNaN(Number(version));\n if (isNumberVersion) {\n const splitArr = version.split('.');\n let validVersion = version;\n for (let i = 0; i < 3 - splitArr.length; i++) {\n validVersion += '.0';\n }\n return validVersion;\n }\n return version;\n };\n if (satisfy(transformInvalidVersion(a), `<=${transformInvalidVersion(b)}`)) {\n return true;\n }\n else {\n return false;\n }\n}\nconst findVersion = (shareVersionMap, cb) => {\n const callback = cb ||\n function (prev, cur) {\n return versionLt(prev, cur);\n };\n return Object.keys(shareVersionMap).reduce((prev, cur) => {\n if (!prev) {\n return cur;\n }\n if (callback(prev, cur)) {\n return cur;\n }\n // default version is '0' https://github.com/webpack/webpack/blob/main/lib/sharing/ProvideSharedModule.js#L136\n if (prev === '0') {\n return cur;\n }\n return prev;\n }, 0);\n};\nconst isLoaded = (shared) => {\n return Boolean(shared.loaded) || typeof shared.lib === 'function';\n};\nconst isLoading = (shared) => {\n return Boolean(shared.loading);\n};\nfunction findSingletonVersionOrderByVersion(shareScopeMap, scope, pkgName) {\n const versions = shareScopeMap[scope][pkgName];\n const callback = function (prev, cur) {\n return !isLoaded(versions[prev]) && versionLt(prev, cur);\n };\n return findVersion(shareScopeMap[scope][pkgName], callback);\n}\nfunction findSingletonVersionOrderByLoaded(shareScopeMap, scope, pkgName) {\n const versions = shareScopeMap[scope][pkgName];\n const callback = function (prev, cur) {\n const isLoadingOrLoaded = (shared) => {\n return isLoaded(shared) || isLoading(shared);\n };\n if (isLoadingOrLoaded(versions[cur])) {\n if (isLoadingOrLoaded(versions[prev])) {\n return Boolean(versionLt(prev, cur));\n }\n else {\n return true;\n }\n }\n if (isLoadingOrLoaded(versions[prev])) {\n return false;\n }\n return versionLt(prev, cur);\n };\n return findVersion(shareScopeMap[scope][pkgName], callback);\n}\nfunction getFindShareFunction(strategy) {\n if (strategy === 'loaded-first') {\n return findSingletonVersionOrderByLoaded;\n }\n return findSingletonVersionOrderByVersion;\n}\nfunction getRegisteredShare(localShareScopeMap, pkgName, shareInfo, resolveShare) {\n if (!localShareScopeMap) {\n return;\n }\n const { shareConfig, scope = DEFAULT_SCOPE, strategy } = shareInfo;\n const scopes = Array.isArray(scope) ? scope : [scope];\n for (const sc of scopes) {\n if (shareConfig &&\n localShareScopeMap[sc] &&\n localShareScopeMap[sc][pkgName]) {\n const { requiredVersion } = shareConfig;\n const findShareFunction = getFindShareFunction(strategy);\n const maxOrSingletonVersion = findShareFunction(localShareScopeMap, sc, pkgName);\n //@ts-ignore\n const defaultResolver = () => {\n if (shareConfig.singleton) {\n if (typeof requiredVersion === 'string' &&\n !satisfy(maxOrSingletonVersion, requiredVersion)) {\n const msg = `Version ${maxOrSingletonVersion} from ${maxOrSingletonVersion &&\n localShareScopeMap[sc][pkgName][maxOrSingletonVersion].from} of shared singleton module ${pkgName} does not satisfy the requirement of ${shareInfo.from} which needs ${requiredVersion})`;\n if (shareConfig.strictVersion) {\n error(msg);\n }\n else {\n warn(msg);\n }\n }\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n else {\n if (requiredVersion === false || requiredVersion === '*') {\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n if (satisfy(maxOrSingletonVersion, requiredVersion)) {\n return localShareScopeMap[sc][pkgName][maxOrSingletonVersion];\n }\n for (const [versionKey, versionValue] of Object.entries(localShareScopeMap[sc][pkgName])) {\n if (satisfy(versionKey, requiredVersion)) {\n return versionValue;\n }\n }\n }\n };\n const params = {\n shareScopeMap: localShareScopeMap,\n scope: sc,\n pkgName,\n version: maxOrSingletonVersion,\n GlobalFederation: Global.__FEDERATION__,\n resolver: defaultResolver,\n };\n const resolveShared = resolveShare.emit(params) || params;\n return resolveShared.resolver();\n }\n }\n}\nfunction getGlobalShareScope() {\n return Global.__FEDERATION__.__SHARE__;\n}\nfunction getTargetSharedOptions(options) {\n const { pkgName, extraOptions, shareInfos } = options;\n const defaultResolver = (sharedOptions) => {\n if (!sharedOptions) {\n return undefined;\n }\n const shareVersionMap = {};\n sharedOptions.forEach((shared) => {\n shareVersionMap[shared.version] = shared;\n });\n const callback = function (prev, cur) {\n return !isLoaded(shareVersionMap[prev]) && versionLt(prev, cur);\n };\n const maxVersion = findVersion(shareVersionMap, callback);\n return shareVersionMap[maxVersion];\n };\n const resolver = extraOptions?.resolver ?? defaultResolver;\n return Object.assign({}, resolver(shareInfos[pkgName]), extraOptions?.customShareInfo);\n}\n\nfunction getBuilderId() {\n //@ts-ignore\n return typeof FEDERATION_BUILD_IDENTIFIER !== 'undefined'\n ? //@ts-ignore\n FEDERATION_BUILD_IDENTIFIER\n : '';\n}\n\n// Function to match a remote with its name and expose\n// id: pkgName(@federation/app1) + expose(button) = @federation/app1/button\n// id: alias(app1) + expose(button) = app1/button\n// id: alias(app1/utils) + expose(loadash/sort) = app1/utils/loadash/sort\nfunction matchRemoteWithNameAndExpose(remotes, id) {\n for (const remote of remotes) {\n // match pkgName\n const isNameMatched = id.startsWith(remote.name);\n let expose = id.replace(remote.name, '');\n if (isNameMatched) {\n if (expose.startsWith('/')) {\n const pkgNameOrAlias = remote.name;\n expose = `.${expose}`;\n return {\n pkgNameOrAlias,\n expose,\n remote,\n };\n }\n else if (expose === '') {\n return {\n pkgNameOrAlias: remote.name,\n expose: '.',\n remote,\n };\n }\n }\n // match alias\n const isAliasMatched = remote.alias && id.startsWith(remote.alias);\n let exposeWithAlias = remote.alias && id.replace(remote.alias, '');\n if (remote.alias && isAliasMatched) {\n if (exposeWithAlias && exposeWithAlias.startsWith('/')) {\n const pkgNameOrAlias = remote.alias;\n exposeWithAlias = `.${exposeWithAlias}`;\n return {\n pkgNameOrAlias,\n expose: exposeWithAlias,\n remote,\n };\n }\n else if (exposeWithAlias === '') {\n return {\n pkgNameOrAlias: remote.alias,\n expose: '.',\n remote,\n };\n }\n }\n }\n return;\n}\n// Function to match a remote with its name or alias\nfunction matchRemote(remotes, nameOrAlias) {\n for (const remote of remotes) {\n const isNameMatched = nameOrAlias === remote.name;\n if (isNameMatched) {\n return remote;\n }\n const isAliasMatched = remote.alias && nameOrAlias === remote.alias;\n if (isAliasMatched) {\n return remote;\n }\n }\n return;\n}\n\nfunction registerPlugins(plugins, instance) {\n const globalPlugins = getGlobalHostPlugins();\n const hookInstances = [\n instance.hooks,\n instance.remoteHandler.hooks,\n instance.sharedHandler.hooks,\n instance.snapshotHandler.hooks,\n instance.loaderHook,\n instance.bridgeHook,\n ];\n // Incorporate global plugins\n if (globalPlugins.length > 0) {\n globalPlugins.forEach((plugin) => {\n if (plugins?.find((item) => item.name !== plugin.name)) {\n plugins.push(plugin);\n }\n });\n }\n if (plugins && plugins.length > 0) {\n plugins.forEach((plugin) => {\n hookInstances.forEach((hookInstance) => {\n hookInstance.applyPlugin(plugin, instance);\n });\n });\n }\n return plugins;\n}\n\nconst importCallback = '.then(callbacks[0]).catch(callbacks[1])';\nasync function loadEsmEntry({ entry, remoteEntryExports, }) {\n return new Promise((resolve, reject) => {\n try {\n if (!remoteEntryExports) {\n if (typeof FEDERATION_ALLOW_NEW_FUNCTION !== 'undefined') {\n new Function('callbacks', `import(\"${entry}\")${importCallback}`)([\n resolve,\n reject,\n ]);\n }\n else {\n import(/* webpackIgnore: true */ /* @vite-ignore */ entry)\n .then(resolve)\n .catch(reject);\n }\n }\n else {\n resolve(remoteEntryExports);\n }\n }\n catch (e) {\n reject(e);\n }\n });\n}\nasync function loadSystemJsEntry({ entry, remoteEntryExports, }) {\n return new Promise((resolve, reject) => {\n try {\n if (!remoteEntryExports) {\n //@ts-ignore\n if (typeof __system_context__ === 'undefined') {\n //@ts-ignore\n System.import(entry).then(resolve).catch(reject);\n }\n else {\n new Function('callbacks', `System.import(\"${entry}\")${importCallback}`)([resolve, reject]);\n }\n }\n else {\n resolve(remoteEntryExports);\n }\n }\n catch (e) {\n reject(e);\n }\n });\n}\nfunction handleRemoteEntryLoaded(name, globalName, entry) {\n const { remoteEntryKey, entryExports } = getRemoteEntryExports(name, globalName);\n assert(entryExports, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_001, errorCodes.runtimeDescMap, {\n remoteName: name,\n remoteEntryUrl: entry,\n remoteEntryKey,\n }));\n return entryExports;\n}\nasync function loadEntryScript({ name, globalName, entry, loaderHook, getEntryUrl, }) {\n const { entryExports: remoteEntryExports } = getRemoteEntryExports(name, globalName);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n // if getEntryUrl is passed, use the getEntryUrl to get the entry url\n const url = getEntryUrl ? getEntryUrl(entry) : entry;\n return sdk.loadScript(url, {\n attrs: {},\n createScriptHook: (url, attrs) => {\n const res = loaderHook.lifecycle.createScript.emit({ url, attrs });\n if (!res)\n return;\n if (res instanceof HTMLScriptElement) {\n return res;\n }\n if ('script' in res || 'timeout' in res) {\n return res;\n }\n return;\n },\n })\n .then(() => {\n return handleRemoteEntryLoaded(name, globalName, entry);\n })\n .catch((e) => {\n assert(undefined, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_008, errorCodes.runtimeDescMap, {\n remoteName: name,\n resourceUrl: entry,\n }));\n throw e;\n });\n}\nasync function loadEntryDom({ remoteInfo, remoteEntryExports, loaderHook, getEntryUrl, }) {\n const { entry, entryGlobalName: globalName, name, type } = remoteInfo;\n switch (type) {\n case 'esm':\n case 'module':\n return loadEsmEntry({ entry, remoteEntryExports });\n case 'system':\n return loadSystemJsEntry({ entry, remoteEntryExports });\n default:\n return loadEntryScript({\n entry,\n globalName,\n name,\n loaderHook,\n getEntryUrl,\n });\n }\n}\nasync function loadEntryNode({ remoteInfo, loaderHook, }) {\n const { entry, entryGlobalName: globalName, name, type } = remoteInfo;\n const { entryExports: remoteEntryExports } = getRemoteEntryExports(name, globalName);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n return sdk.loadScriptNode(entry, {\n attrs: { name, globalName, type },\n loaderHook: {\n createScriptHook: (url, attrs = {}) => {\n const res = loaderHook.lifecycle.createScript.emit({ url, attrs });\n if (!res)\n return;\n if ('url' in res) {\n return res;\n }\n return;\n },\n },\n })\n .then(() => {\n return handleRemoteEntryLoaded(name, globalName, entry);\n })\n .catch((e) => {\n throw e;\n });\n}\nfunction getRemoteEntryUniqueKey(remoteInfo) {\n const { entry, name } = remoteInfo;\n return sdk.composeKeyWithSeparator(name, entry);\n}\nasync function getRemoteEntry(params) {\n const { origin, remoteEntryExports, remoteInfo, getEntryUrl, _inErrorHandling = false, } = params;\n const uniqueKey = getRemoteEntryUniqueKey(remoteInfo);\n if (remoteEntryExports) {\n return remoteEntryExports;\n }\n if (!globalLoading[uniqueKey]) {\n const loadEntryHook = origin.remoteHandler.hooks.lifecycle.loadEntry;\n const loaderHook = origin.loaderHook;\n globalLoading[uniqueKey] = loadEntryHook\n .emit({\n loaderHook,\n remoteInfo,\n remoteEntryExports,\n })\n .then((res) => {\n if (res) {\n return res;\n }\n // Use ENV_TARGET if defined, otherwise fallback to isBrowserEnv, must keep this\n const isWebEnvironment = typeof ENV_TARGET !== 'undefined'\n ? ENV_TARGET === 'web'\n : sdk.isBrowserEnv();\n return isWebEnvironment\n ? loadEntryDom({\n remoteInfo,\n remoteEntryExports,\n loaderHook,\n getEntryUrl,\n })\n : loadEntryNode({ remoteInfo, loaderHook });\n })\n .catch(async (err) => {\n const uniqueKey = getRemoteEntryUniqueKey(remoteInfo);\n const isScriptLoadError = err instanceof Error && err.message.includes(errorCodes.RUNTIME_008);\n if (isScriptLoadError && !_inErrorHandling) {\n const wrappedGetRemoteEntry = (params) => {\n return getRemoteEntry({ ...params, _inErrorHandling: true });\n };\n const RemoteEntryExports = await origin.loaderHook.lifecycle.loadEntryError.emit({\n getRemoteEntry: wrappedGetRemoteEntry,\n origin,\n remoteInfo: remoteInfo,\n remoteEntryExports,\n globalLoading,\n uniqueKey,\n });\n if (RemoteEntryExports) {\n return RemoteEntryExports;\n }\n }\n throw err;\n });\n }\n return globalLoading[uniqueKey];\n}\nfunction getRemoteInfo(remote) {\n return {\n ...remote,\n entry: 'entry' in remote ? remote.entry : '',\n type: remote.type || DEFAULT_REMOTE_TYPE,\n entryGlobalName: remote.entryGlobalName || remote.name,\n shareScope: remote.shareScope || DEFAULT_SCOPE,\n };\n}\n\nfunction defaultPreloadArgs(preloadConfig) {\n return {\n resourceCategory: 'sync',\n share: true,\n depsRemote: true,\n prefetchInterface: false,\n ...preloadConfig,\n };\n}\nfunction formatPreloadArgs(remotes, preloadArgs) {\n return preloadArgs.map((args) => {\n const remoteInfo = matchRemote(remotes, args.nameOrAlias);\n assert(remoteInfo, `Unable to preload ${args.nameOrAlias} as it is not included in ${!remoteInfo &&\n sdk.safeToString({\n remoteInfo,\n remotes,\n })}`);\n return {\n remote: remoteInfo,\n preloadConfig: defaultPreloadArgs(args),\n };\n });\n}\nfunction normalizePreloadExposes(exposes) {\n if (!exposes) {\n return [];\n }\n return exposes.map((expose) => {\n if (expose === '.') {\n return expose;\n }\n if (expose.startsWith('./')) {\n return expose.replace('./', '');\n }\n return expose;\n });\n}\nfunction preloadAssets(remoteInfo, host, assets, \n// It is used to distinguish preload from load remote parallel loading\nuseLinkPreload = true) {\n const { cssAssets, jsAssetsWithoutEntry, entryAssets } = assets;\n if (host.options.inBrowser) {\n entryAssets.forEach((asset) => {\n const { moduleInfo } = asset;\n const module = host.moduleCache.get(remoteInfo.name);\n if (module) {\n getRemoteEntry({\n origin: host,\n remoteInfo: moduleInfo,\n remoteEntryExports: module.remoteEntryExports,\n });\n }\n else {\n getRemoteEntry({\n origin: host,\n remoteInfo: moduleInfo,\n remoteEntryExports: undefined,\n });\n }\n });\n if (useLinkPreload) {\n const defaultAttrs = {\n rel: 'preload',\n as: 'style',\n };\n cssAssets.forEach((cssUrl) => {\n const { link: cssEl, needAttach } = sdk.createLink({\n url: cssUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n });\n needAttach && document.head.appendChild(cssEl);\n });\n }\n else {\n const defaultAttrs = {\n rel: 'stylesheet',\n type: 'text/css',\n };\n cssAssets.forEach((cssUrl) => {\n const { link: cssEl, needAttach } = sdk.createLink({\n url: cssUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n needDeleteLink: false,\n });\n needAttach && document.head.appendChild(cssEl);\n });\n }\n if (useLinkPreload) {\n const defaultAttrs = {\n rel: 'preload',\n as: 'script',\n };\n jsAssetsWithoutEntry.forEach((jsUrl) => {\n const { link: linkEl, needAttach } = sdk.createLink({\n url: jsUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createLinkHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createLink.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLLinkElement) {\n return res;\n }\n return;\n },\n });\n needAttach && document.head.appendChild(linkEl);\n });\n }\n else {\n const defaultAttrs = {\n fetchpriority: 'high',\n type: remoteInfo?.type === 'module' ? 'module' : 'text/javascript',\n };\n jsAssetsWithoutEntry.forEach((jsUrl) => {\n const { script: scriptEl, needAttach } = sdk.createScript({\n url: jsUrl,\n cb: () => {\n // noop\n },\n attrs: defaultAttrs,\n createScriptHook: (url, attrs) => {\n const res = host.loaderHook.lifecycle.createScript.emit({\n url,\n attrs,\n });\n if (res instanceof HTMLScriptElement) {\n return res;\n }\n return;\n },\n needDeleteScript: true,\n });\n needAttach && document.head.appendChild(scriptEl);\n });\n }\n }\n}\n\nconst ShareUtils = {\n getRegisteredShare,\n getGlobalShareScope,\n};\nconst GlobalUtils = {\n Global,\n nativeGlobal,\n resetFederationGlobalInfo,\n setGlobalFederationInstance,\n getGlobalFederationConstructor,\n setGlobalFederationConstructor,\n getInfoWithoutType,\n getGlobalSnapshot,\n getTargetSnapshotInfoByModuleInfo,\n getGlobalSnapshotInfoByModuleInfo,\n setGlobalSnapshotInfoByModuleInfo,\n addGlobalSnapshot,\n getRemoteEntryExports,\n registerGlobalPlugins,\n getGlobalHostPlugins,\n getPreloaded,\n setPreloaded,\n};\nvar helpers = {\n global: GlobalUtils,\n share: ShareUtils,\n utils: {\n matchRemoteWithNameAndExpose,\n preloadAssets,\n getRemoteInfo,\n },\n};\n\nclass Module {\n constructor({ remoteInfo, host, }) {\n this.inited = false;\n this.lib = undefined;\n this.remoteInfo = remoteInfo;\n this.host = host;\n }\n async getEntry() {\n if (this.remoteEntryExports) {\n return this.remoteEntryExports;\n }\n let remoteEntryExports;\n remoteEntryExports = await getRemoteEntry({\n origin: this.host,\n remoteInfo: this.remoteInfo,\n remoteEntryExports: this.remoteEntryExports,\n });\n assert(remoteEntryExports, `remoteEntryExports is undefined \\n ${sdk.safeToString(this.remoteInfo)}`);\n this.remoteEntryExports = remoteEntryExports;\n return this.remoteEntryExports;\n }\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n async get(id, expose, options, remoteSnapshot) {\n const { loadFactory = true } = options || { loadFactory: true };\n // Get remoteEntry.js\n const remoteEntryExports = await this.getEntry();\n if (!this.inited) {\n const localShareScopeMap = this.host.shareScopeMap;\n const shareScopeKeys = Array.isArray(this.remoteInfo.shareScope)\n ? this.remoteInfo.shareScope\n : [this.remoteInfo.shareScope];\n if (!shareScopeKeys.length) {\n shareScopeKeys.push('default');\n }\n shareScopeKeys.forEach((shareScopeKey) => {\n if (!localShareScopeMap[shareScopeKey]) {\n localShareScopeMap[shareScopeKey] = {};\n }\n });\n // TODO: compate legacy init params, should use shareScopeMap if exist\n const shareScope = localShareScopeMap[shareScopeKeys[0]];\n const initScope = [];\n const remoteEntryInitOptions = {\n version: this.remoteInfo.version || '',\n shareScopeKeys: Array.isArray(this.remoteInfo.shareScope)\n ? shareScopeKeys\n : this.remoteInfo.shareScope || 'default',\n };\n // Help to find host instance\n Object.defineProperty(remoteEntryInitOptions, 'shareScopeMap', {\n value: localShareScopeMap,\n // remoteEntryInitOptions will be traversed and assigned during container init, ,so this attribute is not allowed to be traversed\n enumerable: false,\n });\n const initContainerOptions = await this.host.hooks.lifecycle.beforeInitContainer.emit({\n shareScope,\n // @ts-ignore shareScopeMap will be set by Object.defineProperty\n remoteEntryInitOptions,\n initScope,\n remoteInfo: this.remoteInfo,\n origin: this.host,\n });\n if (typeof remoteEntryExports?.init === 'undefined') {\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_002, errorCodes.runtimeDescMap, {\n hostName: this.host.name,\n remoteName: this.remoteInfo.name,\n remoteEntryUrl: this.remoteInfo.entry,\n remoteEntryKey: this.remoteInfo.entryGlobalName,\n }));\n }\n await remoteEntryExports.init(initContainerOptions.shareScope, initContainerOptions.initScope, initContainerOptions.remoteEntryInitOptions);\n await this.host.hooks.lifecycle.initContainer.emit({\n ...initContainerOptions,\n id,\n remoteSnapshot,\n remoteEntryExports,\n });\n }\n this.lib = remoteEntryExports;\n this.inited = true;\n let moduleFactory;\n moduleFactory = await this.host.loaderHook.lifecycle.getModuleFactory.emit({\n remoteEntryExports,\n expose,\n moduleInfo: this.remoteInfo,\n });\n // get exposeGetter\n if (!moduleFactory) {\n moduleFactory = await remoteEntryExports.get(expose);\n }\n assert(moduleFactory, `${getFMId(this.remoteInfo)} remote don't export ${expose}.`);\n // keep symbol for module name always one format\n const symbolName = processModuleAlias(this.remoteInfo.name, expose);\n const wrapModuleFactory = this.wraperFactory(moduleFactory, symbolName);\n if (!loadFactory) {\n return wrapModuleFactory;\n }\n const exposeContent = await wrapModuleFactory();\n return exposeContent;\n }\n wraperFactory(moduleFactory, id) {\n function defineModuleId(res, id) {\n if (res &&\n typeof res === 'object' &&\n Object.isExtensible(res) &&\n !Object.getOwnPropertyDescriptor(res, Symbol.for('mf_module_id'))) {\n Object.defineProperty(res, Symbol.for('mf_module_id'), {\n value: id,\n enumerable: false,\n });\n }\n }\n if (moduleFactory instanceof Promise) {\n return async () => {\n const res = await moduleFactory();\n // This parameter is used for bridge debugging\n defineModuleId(res, id);\n return res;\n };\n }\n else {\n return () => {\n const res = moduleFactory();\n // This parameter is used for bridge debugging\n defineModuleId(res, id);\n return res;\n };\n }\n }\n}\n\nclass SyncHook {\n constructor(type) {\n this.type = '';\n this.listeners = new Set();\n if (type) {\n this.type = type;\n }\n }\n on(fn) {\n if (typeof fn === 'function') {\n this.listeners.add(fn);\n }\n }\n once(fn) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this;\n this.on(function wrapper(...args) {\n self.remove(wrapper);\n // eslint-disable-next-line prefer-spread\n return fn.apply(null, args);\n });\n }\n emit(...data) {\n let result;\n if (this.listeners.size > 0) {\n // eslint-disable-next-line prefer-spread\n this.listeners.forEach((fn) => {\n result = fn(...data);\n });\n }\n return result;\n }\n remove(fn) {\n this.listeners.delete(fn);\n }\n removeAll() {\n this.listeners.clear();\n }\n}\n\nclass AsyncHook extends SyncHook {\n emit(...data) {\n let result;\n const ls = Array.from(this.listeners);\n if (ls.length > 0) {\n let i = 0;\n const call = (prev) => {\n if (prev === false) {\n return false; // Abort process\n }\n else if (i < ls.length) {\n return Promise.resolve(ls[i++].apply(null, data)).then(call);\n }\n else {\n return prev;\n }\n };\n result = call();\n }\n return Promise.resolve(result);\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nfunction checkReturnData(originalData, returnedData) {\n if (!isObject(returnedData)) {\n return false;\n }\n if (originalData !== returnedData) {\n // eslint-disable-next-line no-restricted-syntax\n for (const key in originalData) {\n if (!(key in returnedData)) {\n return false;\n }\n }\n }\n return true;\n}\nclass SyncWaterfallHook extends SyncHook {\n constructor(type) {\n super();\n this.onerror = error;\n this.type = type;\n }\n emit(data) {\n if (!isObject(data)) {\n error(`The data for the \"${this.type}\" hook should be an object.`);\n }\n for (const fn of this.listeners) {\n try {\n const tempData = fn(data);\n if (checkReturnData(data, tempData)) {\n data = tempData;\n }\n else {\n this.onerror(`A plugin returned an unacceptable value for the \"${this.type}\" type.`);\n break;\n }\n }\n catch (e) {\n warn(e);\n this.onerror(e);\n }\n }\n return data;\n }\n}\n\nclass AsyncWaterfallHook extends SyncHook {\n constructor(type) {\n super();\n this.onerror = error;\n this.type = type;\n }\n emit(data) {\n if (!isObject(data)) {\n error(`The response data for the \"${this.type}\" hook must be an object.`);\n }\n const ls = Array.from(this.listeners);\n if (ls.length > 0) {\n let i = 0;\n const processError = (e) => {\n warn(e);\n this.onerror(e);\n return data;\n };\n const call = (prevData) => {\n if (checkReturnData(data, prevData)) {\n data = prevData;\n if (i < ls.length) {\n try {\n return Promise.resolve(ls[i++](data)).then(call, processError);\n }\n catch (e) {\n return processError(e);\n }\n }\n }\n else {\n this.onerror(`A plugin returned an incorrect value for the \"${this.type}\" type.`);\n }\n return data;\n };\n return Promise.resolve(call(data));\n }\n return Promise.resolve(data);\n }\n}\n\nclass PluginSystem {\n constructor(lifecycle) {\n this.registerPlugins = {};\n this.lifecycle = lifecycle;\n this.lifecycleKeys = Object.keys(lifecycle);\n }\n applyPlugin(plugin, instance) {\n assert(isPlainObject(plugin), 'Plugin configuration is invalid.');\n // The plugin's name is mandatory and must be unique\n const pluginName = plugin.name;\n assert(pluginName, 'A name must be provided by the plugin.');\n if (!this.registerPlugins[pluginName]) {\n this.registerPlugins[pluginName] = plugin;\n plugin.apply?.(instance);\n Object.keys(this.lifecycle).forEach((key) => {\n const pluginLife = plugin[key];\n if (pluginLife) {\n this.lifecycle[key].on(pluginLife);\n }\n });\n }\n }\n removePlugin(pluginName) {\n assert(pluginName, 'A name is required.');\n const plugin = this.registerPlugins[pluginName];\n assert(plugin, `The plugin \"${pluginName}\" is not registered.`);\n Object.keys(plugin).forEach((key) => {\n if (key !== 'name') {\n this.lifecycle[key].remove(plugin[key]);\n }\n });\n }\n}\n\nfunction assignRemoteInfo(remoteInfo, remoteSnapshot) {\n const remoteEntryInfo = getRemoteEntryInfoFromSnapshot(remoteSnapshot);\n if (!remoteEntryInfo.url) {\n error(`The attribute remoteEntry of ${remoteInfo.name} must not be undefined.`);\n }\n let entryUrl = sdk.getResourceUrl(remoteSnapshot, remoteEntryInfo.url);\n if (!sdk.isBrowserEnv() && !entryUrl.startsWith('http')) {\n entryUrl = `https:${entryUrl}`;\n }\n remoteInfo.type = remoteEntryInfo.type;\n remoteInfo.entryGlobalName = remoteEntryInfo.globalName;\n remoteInfo.entry = entryUrl;\n remoteInfo.version = remoteSnapshot.version;\n remoteInfo.buildVersion = remoteSnapshot.buildVersion;\n}\nfunction snapshotPlugin() {\n return {\n name: 'snapshot-plugin',\n async afterResolve(args) {\n const { remote, pkgNameOrAlias, expose, origin, remoteInfo, id } = args;\n if (!isRemoteInfoWithEntry(remote) || !isPureRemoteEntry(remote)) {\n const { remoteSnapshot, globalSnapshot } = await origin.snapshotHandler.loadRemoteSnapshotInfo({\n moduleInfo: remote,\n id,\n });\n assignRemoteInfo(remoteInfo, remoteSnapshot);\n // preloading assets\n const preloadOptions = {\n remote,\n preloadConfig: {\n nameOrAlias: pkgNameOrAlias,\n exposes: [expose],\n resourceCategory: 'sync',\n share: false,\n depsRemote: false,\n },\n };\n const assets = await origin.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({\n origin,\n preloadOptions,\n remoteInfo,\n remote,\n remoteSnapshot,\n globalSnapshot,\n });\n if (assets) {\n preloadAssets(remoteInfo, origin, assets, false);\n }\n return {\n ...args,\n remoteSnapshot,\n };\n }\n return args;\n },\n };\n}\n\n// name\n// name:version\nfunction splitId(id) {\n const splitInfo = id.split(':');\n if (splitInfo.length === 1) {\n return {\n name: splitInfo[0],\n version: undefined,\n };\n }\n else if (splitInfo.length === 2) {\n return {\n name: splitInfo[0],\n version: splitInfo[1],\n };\n }\n else {\n return {\n name: splitInfo[1],\n version: splitInfo[2],\n };\n }\n}\n// Traverse all nodes in moduleInfo and traverse the entire snapshot\nfunction traverseModuleInfo(globalSnapshot, remoteInfo, traverse, isRoot, memo = {}, remoteSnapshot) {\n const id = getFMId(remoteInfo);\n const { value: snapshotValue } = getInfoWithoutType(globalSnapshot, id);\n const effectiveRemoteSnapshot = remoteSnapshot || snapshotValue;\n if (effectiveRemoteSnapshot && !sdk.isManifestProvider(effectiveRemoteSnapshot)) {\n traverse(effectiveRemoteSnapshot, remoteInfo, isRoot);\n if (effectiveRemoteSnapshot.remotesInfo) {\n const remoteKeys = Object.keys(effectiveRemoteSnapshot.remotesInfo);\n for (const key of remoteKeys) {\n if (memo[key]) {\n continue;\n }\n memo[key] = true;\n const subRemoteInfo = splitId(key);\n const remoteValue = effectiveRemoteSnapshot.remotesInfo[key];\n traverseModuleInfo(globalSnapshot, {\n name: subRemoteInfo.name,\n version: remoteValue.matchedVersion,\n }, traverse, false, memo, undefined);\n }\n }\n }\n}\nconst isExisted = (type, url) => {\n return document.querySelector(`${type}[${type === 'link' ? 'href' : 'src'}=\"${url}\"]`);\n};\n// eslint-disable-next-line max-lines-per-function\nfunction generatePreloadAssets(origin, preloadOptions, remote, globalSnapshot, remoteSnapshot) {\n const cssAssets = [];\n const jsAssets = [];\n const entryAssets = [];\n const loadedSharedJsAssets = new Set();\n const loadedSharedCssAssets = new Set();\n const { options } = origin;\n const { preloadConfig: rootPreloadConfig } = preloadOptions;\n const { depsRemote } = rootPreloadConfig;\n const memo = {};\n traverseModuleInfo(globalSnapshot, remote, (moduleInfoSnapshot, remoteInfo, isRoot) => {\n let preloadConfig;\n if (isRoot) {\n preloadConfig = rootPreloadConfig;\n }\n else {\n if (Array.isArray(depsRemote)) {\n // eslint-disable-next-line array-callback-return\n const findPreloadConfig = depsRemote.find((remoteConfig) => {\n if (remoteConfig.nameOrAlias === remoteInfo.name ||\n remoteConfig.nameOrAlias === remoteInfo.alias) {\n return true;\n }\n return false;\n });\n if (!findPreloadConfig) {\n return;\n }\n preloadConfig = defaultPreloadArgs(findPreloadConfig);\n }\n else if (depsRemote === true) {\n preloadConfig = rootPreloadConfig;\n }\n else {\n return;\n }\n }\n const remoteEntryUrl = sdk.getResourceUrl(moduleInfoSnapshot, getRemoteEntryInfoFromSnapshot(moduleInfoSnapshot).url);\n if (remoteEntryUrl) {\n entryAssets.push({\n name: remoteInfo.name,\n moduleInfo: {\n name: remoteInfo.name,\n entry: remoteEntryUrl,\n type: 'remoteEntryType' in moduleInfoSnapshot\n ? moduleInfoSnapshot.remoteEntryType\n : 'global',\n entryGlobalName: 'globalName' in moduleInfoSnapshot\n ? moduleInfoSnapshot.globalName\n : remoteInfo.name,\n shareScope: '',\n version: 'version' in moduleInfoSnapshot\n ? moduleInfoSnapshot.version\n : undefined,\n },\n url: remoteEntryUrl,\n });\n }\n let moduleAssetsInfo = 'modules' in moduleInfoSnapshot ? moduleInfoSnapshot.modules : [];\n const normalizedPreloadExposes = normalizePreloadExposes(preloadConfig.exposes);\n if (normalizedPreloadExposes.length && 'modules' in moduleInfoSnapshot) {\n moduleAssetsInfo = moduleInfoSnapshot?.modules?.reduce((assets, moduleAssetInfo) => {\n if (normalizedPreloadExposes?.indexOf(moduleAssetInfo.moduleName) !==\n -1) {\n assets.push(moduleAssetInfo);\n }\n return assets;\n }, []);\n }\n function handleAssets(assets) {\n const assetsRes = assets.map((asset) => sdk.getResourceUrl(moduleInfoSnapshot, asset));\n if (preloadConfig.filter) {\n return assetsRes.filter(preloadConfig.filter);\n }\n return assetsRes;\n }\n if (moduleAssetsInfo) {\n const assetsLength = moduleAssetsInfo.length;\n for (let index = 0; index < assetsLength; index++) {\n const assetsInfo = moduleAssetsInfo[index];\n const exposeFullPath = `${remoteInfo.name}/${assetsInfo.moduleName}`;\n origin.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({\n id: assetsInfo.moduleName === '.' ? remoteInfo.name : exposeFullPath,\n name: remoteInfo.name,\n remoteSnapshot: moduleInfoSnapshot,\n preloadConfig,\n remote: remoteInfo,\n origin,\n });\n const preloaded = getPreloaded(exposeFullPath);\n if (preloaded) {\n continue;\n }\n if (preloadConfig.resourceCategory === 'all') {\n cssAssets.push(...handleAssets(assetsInfo.assets.css.async));\n cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.async));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.sync));\n // eslint-disable-next-line no-constant-condition\n }\n else if ((preloadConfig.resourceCategory = 'sync')) {\n cssAssets.push(...handleAssets(assetsInfo.assets.css.sync));\n jsAssets.push(...handleAssets(assetsInfo.assets.js.sync));\n }\n setPreloaded(exposeFullPath);\n }\n }\n }, true, memo, remoteSnapshot);\n if (remoteSnapshot.shared && remoteSnapshot.shared.length > 0) {\n const collectSharedAssets = (shareInfo, snapshotShared) => {\n const registeredShared = getRegisteredShare(origin.shareScopeMap, snapshotShared.sharedName, shareInfo, origin.sharedHandler.hooks.lifecycle.resolveShare);\n // If the global share does not exist, or the lib function does not exist, it means that the shared has not been loaded yet and can be preloaded.\n if (registeredShared && typeof registeredShared.lib === 'function') {\n snapshotShared.assets.js.sync.forEach((asset) => {\n loadedSharedJsAssets.add(asset);\n });\n snapshotShared.assets.css.sync.forEach((asset) => {\n loadedSharedCssAssets.add(asset);\n });\n }\n };\n remoteSnapshot.shared.forEach((shared) => {\n const shareInfos = options.shared?.[shared.sharedName];\n if (!shareInfos) {\n return;\n }\n // if no version, preload all shared\n const sharedOptions = shared.version\n ? shareInfos.find((s) => s.version === shared.version)\n : shareInfos;\n if (!sharedOptions) {\n return;\n }\n const arrayShareInfo = arrayOptions(sharedOptions);\n arrayShareInfo.forEach((s) => {\n collectSharedAssets(s, shared);\n });\n });\n }\n const needPreloadJsAssets = jsAssets.filter((asset) => !loadedSharedJsAssets.has(asset) && !isExisted('script', asset));\n const needPreloadCssAssets = cssAssets.filter((asset) => !loadedSharedCssAssets.has(asset) && !isExisted('link', asset));\n return {\n cssAssets: needPreloadCssAssets,\n jsAssetsWithoutEntry: needPreloadJsAssets,\n entryAssets: entryAssets.filter((entry) => !isExisted('script', entry.url)),\n };\n}\nconst generatePreloadAssetsPlugin = function () {\n return {\n name: 'generate-preload-assets-plugin',\n async generatePreloadAssets(args) {\n const { origin, preloadOptions, remoteInfo, remote, globalSnapshot, remoteSnapshot, } = args;\n if (!sdk.isBrowserEnv()) {\n return {\n cssAssets: [],\n jsAssetsWithoutEntry: [],\n entryAssets: [],\n };\n }\n if (isRemoteInfoWithEntry(remote) && isPureRemoteEntry(remote)) {\n return {\n cssAssets: [],\n jsAssetsWithoutEntry: [],\n entryAssets: [\n {\n name: remote.name,\n url: remote.entry,\n moduleInfo: {\n name: remoteInfo.name,\n entry: remote.entry,\n type: remoteInfo.type || 'global',\n entryGlobalName: '',\n shareScope: '',\n },\n },\n ],\n };\n }\n assignRemoteInfo(remoteInfo, remoteSnapshot);\n const assets = generatePreloadAssets(origin, preloadOptions, remoteInfo, globalSnapshot, remoteSnapshot);\n return assets;\n },\n };\n};\n\nfunction getGlobalRemoteInfo(moduleInfo, origin) {\n const hostGlobalSnapshot = getGlobalSnapshotInfoByModuleInfo({\n name: origin.name,\n version: origin.options.version,\n });\n // get remote detail info from global\n const globalRemoteInfo = hostGlobalSnapshot &&\n 'remotesInfo' in hostGlobalSnapshot &&\n hostGlobalSnapshot.remotesInfo &&\n getInfoWithoutType(hostGlobalSnapshot.remotesInfo, moduleInfo.name).value;\n if (globalRemoteInfo && globalRemoteInfo.matchedVersion) {\n return {\n hostGlobalSnapshot,\n globalSnapshot: getGlobalSnapshot(),\n remoteSnapshot: getGlobalSnapshotInfoByModuleInfo({\n name: moduleInfo.name,\n version: globalRemoteInfo.matchedVersion,\n }),\n };\n }\n return {\n hostGlobalSnapshot: undefined,\n globalSnapshot: getGlobalSnapshot(),\n remoteSnapshot: getGlobalSnapshotInfoByModuleInfo({\n name: moduleInfo.name,\n version: 'version' in moduleInfo ? moduleInfo.version : undefined,\n }),\n };\n}\nclass SnapshotHandler {\n constructor(HostInstance) {\n this.loadingHostSnapshot = null;\n this.manifestCache = new Map();\n this.hooks = new PluginSystem({\n beforeLoadRemoteSnapshot: new AsyncHook('beforeLoadRemoteSnapshot'),\n loadSnapshot: new AsyncWaterfallHook('loadGlobalSnapshot'),\n loadRemoteSnapshot: new AsyncWaterfallHook('loadRemoteSnapshot'),\n afterLoadSnapshot: new AsyncWaterfallHook('afterLoadSnapshot'),\n });\n this.manifestLoading = Global.__FEDERATION__.__MANIFEST_LOADING__;\n this.HostInstance = HostInstance;\n this.loaderHook = HostInstance.loaderHook;\n }\n // eslint-disable-next-line max-lines-per-function\n async loadRemoteSnapshotInfo({ moduleInfo, id, expose, }) {\n const { options } = this.HostInstance;\n await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({\n options,\n moduleInfo,\n });\n let hostSnapshot = getGlobalSnapshotInfoByModuleInfo({\n name: this.HostInstance.options.name,\n version: this.HostInstance.options.version,\n });\n if (!hostSnapshot) {\n hostSnapshot = {\n version: this.HostInstance.options.version || '',\n remoteEntry: '',\n remotesInfo: {},\n };\n addGlobalSnapshot({\n [this.HostInstance.options.name]: hostSnapshot,\n });\n }\n // In dynamic loadRemote scenarios, incomplete remotesInfo delivery may occur. In such cases, the remotesInfo in the host needs to be completed in the snapshot at runtime.\n // This ensures the snapshot's integrity and helps the chrome plugin correctly identify all producer modules, ensuring that proxyable producer modules will not be missing.\n if (hostSnapshot &&\n 'remotesInfo' in hostSnapshot &&\n !getInfoWithoutType(hostSnapshot.remotesInfo, moduleInfo.name).value) {\n if ('version' in moduleInfo || 'entry' in moduleInfo) {\n hostSnapshot.remotesInfo = {\n ...hostSnapshot?.remotesInfo,\n [moduleInfo.name]: {\n matchedVersion: 'version' in moduleInfo ? moduleInfo.version : moduleInfo.entry,\n },\n };\n }\n }\n const { hostGlobalSnapshot, remoteSnapshot, globalSnapshot } = this.getGlobalRemoteInfo(moduleInfo);\n const { remoteSnapshot: globalRemoteSnapshot, globalSnapshot: globalSnapshotRes, } = await this.hooks.lifecycle.loadSnapshot.emit({\n options,\n moduleInfo,\n hostGlobalSnapshot,\n remoteSnapshot,\n globalSnapshot,\n });\n let mSnapshot;\n let gSnapshot;\n // global snapshot includes manifest or module info includes manifest\n if (globalRemoteSnapshot) {\n if (sdk.isManifestProvider(globalRemoteSnapshot)) {\n const remoteEntry = sdk.isBrowserEnv()\n ? globalRemoteSnapshot.remoteEntry\n : globalRemoteSnapshot.ssrRemoteEntry ||\n globalRemoteSnapshot.remoteEntry ||\n '';\n const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo({\n ...moduleInfo,\n // The global remote may be overridden\n // Therefore, set the snapshot key to the global address of the actual request\n entry: remoteEntry,\n }, moduleSnapshot);\n mSnapshot = moduleSnapshot;\n gSnapshot = globalSnapshotRes;\n }\n else {\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n remoteSnapshot: globalRemoteSnapshot,\n from: 'global',\n });\n mSnapshot = remoteSnapshotRes;\n gSnapshot = globalSnapshotRes;\n }\n }\n else {\n if (isRemoteInfoWithEntry(moduleInfo)) {\n // get from manifest.json and merge remote info from remote server\n const moduleSnapshot = await this.getManifestJson(moduleInfo.entry, moduleInfo, {});\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo(moduleInfo, moduleSnapshot);\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n remoteSnapshot: moduleSnapshot,\n from: 'global',\n });\n mSnapshot = remoteSnapshotRes;\n gSnapshot = globalSnapshotRes;\n }\n else {\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_007, errorCodes.runtimeDescMap, {\n hostName: moduleInfo.name,\n hostVersion: moduleInfo.version,\n globalSnapshot: JSON.stringify(globalSnapshotRes),\n }));\n }\n }\n await this.hooks.lifecycle.afterLoadSnapshot.emit({\n id,\n host: this.HostInstance,\n options,\n moduleInfo,\n remoteSnapshot: mSnapshot,\n });\n return {\n remoteSnapshot: mSnapshot,\n globalSnapshot: gSnapshot,\n };\n }\n getGlobalRemoteInfo(moduleInfo) {\n return getGlobalRemoteInfo(moduleInfo, this.HostInstance);\n }\n async getManifestJson(manifestUrl, moduleInfo, extraOptions) {\n const getManifest = async () => {\n let manifestJson = this.manifestCache.get(manifestUrl);\n if (manifestJson) {\n return manifestJson;\n }\n try {\n let res = await this.loaderHook.lifecycle.fetch.emit(manifestUrl, {});\n if (!res || !(res instanceof Response)) {\n res = await fetch(manifestUrl, {});\n }\n manifestJson = (await res.json());\n }\n catch (err) {\n manifestJson =\n (await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({\n id: manifestUrl,\n error: err,\n from: 'runtime',\n lifecycle: 'afterResolve',\n origin: this.HostInstance,\n }));\n if (!manifestJson) {\n delete this.manifestLoading[manifestUrl];\n error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_003, errorCodes.runtimeDescMap, {\n manifestUrl,\n moduleName: moduleInfo.name,\n hostName: this.HostInstance.options.name,\n }, `${err}`));\n }\n }\n assert(manifestJson.metaData && manifestJson.exposes && manifestJson.shared, `${manifestUrl} is not a federation manifest`);\n this.manifestCache.set(manifestUrl, manifestJson);\n return manifestJson;\n };\n const asyncLoadProcess = async () => {\n const manifestJson = await getManifest();\n const remoteSnapshot = sdk.generateSnapshotFromManifest(manifestJson, {\n version: manifestUrl,\n });\n const { remoteSnapshot: remoteSnapshotRes } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({\n options: this.HostInstance.options,\n moduleInfo,\n manifestJson,\n remoteSnapshot,\n manifestUrl,\n from: 'manifest',\n });\n return remoteSnapshotRes;\n };\n if (!this.manifestLoading[manifestUrl]) {\n this.manifestLoading[manifestUrl] = asyncLoadProcess().then((res) => res);\n }\n return this.manifestLoading[manifestUrl];\n }\n}\n\nclass SharedHandler {\n constructor(host) {\n this.hooks = new PluginSystem({\n afterResolve: new AsyncWaterfallHook('afterResolve'),\n beforeLoadShare: new AsyncWaterfallHook('beforeLoadShare'),\n // not used yet\n loadShare: new AsyncHook(),\n resolveShare: new SyncWaterfallHook('resolveShare'),\n // maybe will change, temporarily for internal use only\n initContainerShareScopeMap: new SyncWaterfallHook('initContainerShareScopeMap'),\n });\n this.host = host;\n this.shareScopeMap = {};\n this.initTokens = {};\n this._setGlobalShareScopeMap(host.options);\n }\n // register shared in shareScopeMap\n registerShared(globalOptions, userOptions) {\n const { shareInfos, shared } = formatShareConfigs(globalOptions, userOptions);\n const sharedKeys = Object.keys(shareInfos);\n sharedKeys.forEach((sharedKey) => {\n const sharedVals = shareInfos[sharedKey];\n sharedVals.forEach((sharedVal) => {\n sharedVal.scope.forEach((sc) => {\n const registeredShared = this.shareScopeMap[sc]?.[sharedKey];\n if (!registeredShared) {\n this.setShared({\n pkgName: sharedKey,\n lib: sharedVal.lib,\n get: sharedVal.get,\n loaded: sharedVal.loaded || Boolean(sharedVal.lib),\n shared: sharedVal,\n from: userOptions.name,\n });\n }\n });\n });\n });\n return {\n shareInfos,\n shared,\n };\n }\n async loadShare(pkgName, extraOptions) {\n const { host } = this;\n // This function performs the following steps:\n // 1. Checks if the currently loaded share already exists, if not, it throws an error\n // 2. Searches globally for a matching share, if found, it uses it directly\n // 3. If not found, it retrieves it from the current share and stores the obtained share globally.\n const shareOptions = getTargetSharedOptions({\n pkgName,\n extraOptions,\n shareInfos: host.options.shared,\n });\n if (shareOptions?.scope) {\n await Promise.all(shareOptions.scope.map(async (shareScope) => {\n await Promise.all(this.initializeSharing(shareScope, {\n strategy: shareOptions.strategy,\n }));\n return;\n }));\n }\n const loadShareRes = await this.hooks.lifecycle.beforeLoadShare.emit({\n pkgName,\n shareInfo: shareOptions,\n shared: host.options.shared,\n origin: host,\n });\n const { shareInfo: shareOptionsRes } = loadShareRes;\n // Assert that shareInfoRes exists, if not, throw an error\n assert(shareOptionsRes, `Cannot find ${pkgName} Share in the ${host.options.name}. Please ensure that the ${pkgName} Share parameters have been injected`);\n // Retrieve from cache\n const registeredShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptionsRes, this.hooks.lifecycle.resolveShare);\n const addUseIn = (shared) => {\n if (!shared.useIn) {\n shared.useIn = [];\n }\n addUniqueItem(shared.useIn, host.options.name);\n };\n if (registeredShared && registeredShared.lib) {\n addUseIn(registeredShared);\n return registeredShared.lib;\n }\n else if (registeredShared &&\n registeredShared.loading &&\n !registeredShared.loaded) {\n const factory = await registeredShared.loading;\n registeredShared.loaded = true;\n if (!registeredShared.lib) {\n registeredShared.lib = factory;\n }\n addUseIn(registeredShared);\n return factory;\n }\n else if (registeredShared) {\n const asyncLoadProcess = async () => {\n const factory = await registeredShared.get();\n addUseIn(registeredShared);\n registeredShared.loaded = true;\n registeredShared.lib = factory;\n return factory;\n };\n const loading = asyncLoadProcess();\n this.setShared({\n pkgName,\n loaded: false,\n shared: registeredShared,\n from: host.options.name,\n lib: null,\n loading,\n });\n return loading;\n }\n else {\n if (extraOptions?.customShareInfo) {\n return false;\n }\n const asyncLoadProcess = async () => {\n const factory = await shareOptionsRes.get();\n shareOptionsRes.lib = factory;\n shareOptionsRes.loaded = true;\n addUseIn(shareOptionsRes);\n const gShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptionsRes, this.hooks.lifecycle.resolveShare);\n if (gShared) {\n gShared.lib = factory;\n gShared.loaded = true;\n gShared.from = shareOptionsRes.from;\n }\n return factory;\n };\n const loading = asyncLoadProcess();\n this.setShared({\n pkgName,\n loaded: false,\n shared: shareOptionsRes,\n from: host.options.name,\n lib: null,\n loading,\n });\n return loading;\n }\n }\n /**\n * This function initializes the sharing sequence (executed only once per share scope).\n * It accepts one argument, the name of the share scope.\n * If the share scope does not exist, it creates one.\n */\n // eslint-disable-next-line @typescript-eslint/member-ordering\n initializeSharing(shareScopeName = DEFAULT_SCOPE, extraOptions) {\n const { host } = this;\n const from = extraOptions?.from;\n const strategy = extraOptions?.strategy;\n let initScope = extraOptions?.initScope;\n const promises = [];\n if (from !== 'build') {\n const { initTokens } = this;\n if (!initScope)\n initScope = [];\n let initToken = initTokens[shareScopeName];\n if (!initToken)\n initToken = initTokens[shareScopeName] = { from: this.host.name };\n if (initScope.indexOf(initToken) >= 0)\n return promises;\n initScope.push(initToken);\n }\n const shareScope = this.shareScopeMap;\n const hostName = host.options.name;\n // Creates a new share scope if necessary\n if (!shareScope[shareScopeName]) {\n shareScope[shareScopeName] = {};\n }\n // Executes all initialization snippets from all accessible modules\n const scope = shareScope[shareScopeName];\n const register = (name, shared) => {\n const { version, eager } = shared;\n scope[name] = scope[name] || {};\n const versions = scope[name];\n const activeVersion = versions[version];\n const activeVersionEager = Boolean(activeVersion &&\n (activeVersion.eager || activeVersion.shareConfig?.eager));\n if (!activeVersion ||\n (activeVersion.strategy !== 'loaded-first' &&\n !activeVersion.loaded &&\n (Boolean(!eager) !== !activeVersionEager\n ? eager\n : hostName > activeVersion.from))) {\n versions[version] = shared;\n }\n };\n const initFn = (mod) => mod && mod.init && mod.init(shareScope[shareScopeName], initScope);\n const initRemoteModule = async (key) => {\n const { module } = await host.remoteHandler.getRemoteModuleAndOptions({\n id: key,\n });\n if (module.getEntry) {\n let remoteEntryExports;\n try {\n remoteEntryExports = await module.getEntry();\n }\n catch (error) {\n remoteEntryExports =\n (await host.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({\n id: key,\n error,\n from: 'runtime',\n lifecycle: 'beforeLoadShare',\n origin: host,\n }));\n }\n if (!module.inited) {\n await initFn(remoteEntryExports);\n module.inited = true;\n }\n }\n };\n Object.keys(host.options.shared).forEach((shareName) => {\n const sharedArr = host.options.shared[shareName];\n sharedArr.forEach((shared) => {\n if (shared.scope.includes(shareScopeName)) {\n register(shareName, shared);\n }\n });\n });\n // TODO: strategy==='version-first' need to be removed in the future\n if (host.options.shareStrategy === 'version-first' ||\n strategy === 'version-first') {\n host.options.remotes.forEach((remote) => {\n if (remote.shareScope === shareScopeName) {\n promises.push(initRemoteModule(remote.name));\n }\n });\n }\n return promises;\n }\n // The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.\n // 1. If the loaded shared already exists globally, then it will be reused\n // 2. If lib exists in local shared, it will be used directly\n // 3. If the local get returns something other than Promise, then it will be used directly\n loadShareSync(pkgName, extraOptions) {\n const { host } = this;\n const shareOptions = getTargetSharedOptions({\n pkgName,\n extraOptions,\n shareInfos: host.options.shared,\n });\n if (shareOptions?.scope) {\n shareOptions.scope.forEach((shareScope) => {\n this.initializeSharing(shareScope, { strategy: shareOptions.strategy });\n });\n }\n const registeredShared = getRegisteredShare(this.shareScopeMap, pkgName, shareOptions, this.hooks.lifecycle.resolveShare);\n const addUseIn = (shared) => {\n if (!shared.useIn) {\n shared.useIn = [];\n }\n addUniqueItem(shared.useIn, host.options.name);\n };\n if (registeredShared) {\n if (typeof registeredShared.lib === 'function') {\n addUseIn(registeredShared);\n if (!registeredShared.loaded) {\n registeredShared.loaded = true;\n if (registeredShared.from === host.options.name) {\n shareOptions.loaded = true;\n }\n }\n return registeredShared.lib;\n }\n if (typeof registeredShared.get === 'function') {\n const module = registeredShared.get();\n if (!(module instanceof Promise)) {\n addUseIn(registeredShared);\n this.setShared({\n pkgName,\n loaded: true,\n from: host.options.name,\n lib: module,\n shared: registeredShared,\n });\n return module;\n }\n }\n }\n if (shareOptions.lib) {\n if (!shareOptions.loaded) {\n shareOptions.loaded = true;\n }\n return shareOptions.lib;\n }\n if (shareOptions.get) {\n const module = shareOptions.get();\n if (module instanceof Promise) {\n const errorCode = extraOptions?.from === 'build' ? errorCodes.RUNTIME_005 : errorCodes.RUNTIME_006;\n throw new Error(errorCodes.getShortErrorMsg(errorCode, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n sharedPkgName: pkgName,\n }));\n }\n shareOptions.lib = module;\n this.setShared({\n pkgName,\n loaded: true,\n from: host.options.name,\n lib: shareOptions.lib,\n shared: shareOptions,\n });\n return shareOptions.lib;\n }\n throw new Error(errorCodes.getShortErrorMsg(errorCodes.RUNTIME_006, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n sharedPkgName: pkgName,\n }));\n }\n initShareScopeMap(scopeName, shareScope, extraOptions = {}) {\n const { host } = this;\n this.shareScopeMap[scopeName] = shareScope;\n this.hooks.lifecycle.initContainerShareScopeMap.emit({\n shareScope,\n options: host.options,\n origin: host,\n scopeName,\n hostShareScopeMap: extraOptions.hostShareScopeMap,\n });\n }\n setShared({ pkgName, shared, from, lib, loading, loaded, get, }) {\n const { version, scope = 'default', ...shareInfo } = shared;\n const scopes = Array.isArray(scope) ? scope : [scope];\n scopes.forEach((sc) => {\n if (!this.shareScopeMap[sc]) {\n this.shareScopeMap[sc] = {};\n }\n if (!this.shareScopeMap[sc][pkgName]) {\n this.shareScopeMap[sc][pkgName] = {};\n }\n if (!this.shareScopeMap[sc][pkgName][version]) {\n this.shareScopeMap[sc][pkgName][version] = {\n version,\n scope: [sc],\n ...shareInfo,\n lib,\n loaded,\n loading,\n };\n if (get) {\n this.shareScopeMap[sc][pkgName][version].get = get;\n }\n return;\n }\n const registeredShared = this.shareScopeMap[sc][pkgName][version];\n if (loading && !registeredShared.loading) {\n registeredShared.loading = loading;\n }\n if (loaded && !registeredShared.loaded) {\n registeredShared.loaded = loaded;\n }\n if (from && registeredShared.from !== from) {\n registeredShared.from = from;\n }\n });\n }\n _setGlobalShareScopeMap(hostOptions) {\n const globalShareScopeMap = getGlobalShareScope();\n const identifier = hostOptions.id || hostOptions.name;\n if (identifier && !globalShareScopeMap[identifier]) {\n globalShareScopeMap[identifier] = this.shareScopeMap;\n }\n }\n}\n\nclass RemoteHandler {\n constructor(host) {\n this.hooks = new PluginSystem({\n beforeRegisterRemote: new SyncWaterfallHook('beforeRegisterRemote'),\n registerRemote: new SyncWaterfallHook('registerRemote'),\n beforeRequest: new AsyncWaterfallHook('beforeRequest'),\n onLoad: new AsyncHook('onLoad'),\n handlePreloadModule: new SyncHook('handlePreloadModule'),\n errorLoadRemote: new AsyncHook('errorLoadRemote'),\n beforePreloadRemote: new AsyncHook('beforePreloadRemote'),\n generatePreloadAssets: new AsyncHook('generatePreloadAssets'),\n // not used yet\n afterPreloadRemote: new AsyncHook(),\n loadEntry: new AsyncHook(),\n });\n this.host = host;\n this.idToRemoteMap = {};\n }\n formatAndRegisterRemote(globalOptions, userOptions) {\n const userRemotes = userOptions.remotes || [];\n return userRemotes.reduce((res, remote) => {\n this.registerRemote(remote, res, { force: false });\n return res;\n }, globalOptions.remotes);\n }\n setIdToRemoteMap(id, remoteMatchInfo) {\n const { remote, expose } = remoteMatchInfo;\n const { name, alias } = remote;\n this.idToRemoteMap[id] = { name: remote.name, expose };\n if (alias && id.startsWith(name)) {\n const idWithAlias = id.replace(name, alias);\n this.idToRemoteMap[idWithAlias] = { name: remote.name, expose };\n return;\n }\n if (alias && id.startsWith(alias)) {\n const idWithName = id.replace(alias, name);\n this.idToRemoteMap[idWithName] = { name: remote.name, expose };\n }\n }\n // eslint-disable-next-line max-lines-per-function\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async loadRemote(id, options) {\n const { host } = this;\n try {\n const { loadFactory = true } = options || {\n loadFactory: true,\n };\n // 1. Validate the parameters of the retrieved module. There are two module request methods: pkgName + expose and alias + expose.\n // 2. Request the snapshot information of the current host and globally store the obtained snapshot information. The retrieved module information is partially offline and partially online. The online module information will retrieve the modules used online.\n // 3. Retrieve the detailed information of the current module from global (remoteEntry address, expose resource address)\n // 4. After retrieving remoteEntry, call the init of the module, and then retrieve the exported content of the module through get\n // id: pkgName(@federation/app1) + expose(button) = @federation/app1/button\n // id: alias(app1) + expose(button) = app1/button\n // id: alias(app1/utils) + expose(loadash/sort) = app1/utils/loadash/sort\n const { module, moduleOptions, remoteMatchInfo } = await this.getRemoteModuleAndOptions({\n id,\n });\n const { pkgNameOrAlias, remote, expose, id: idRes, remoteSnapshot, } = remoteMatchInfo;\n const moduleOrFactory = (await module.get(idRes, expose, options, remoteSnapshot));\n const moduleWrapper = await this.hooks.lifecycle.onLoad.emit({\n id: idRes,\n pkgNameOrAlias,\n expose,\n exposeModule: loadFactory ? moduleOrFactory : undefined,\n exposeModuleFactory: loadFactory ? undefined : moduleOrFactory,\n remote,\n options: moduleOptions,\n moduleInstance: module,\n origin: host,\n });\n this.setIdToRemoteMap(id, remoteMatchInfo);\n if (typeof moduleWrapper === 'function') {\n return moduleWrapper;\n }\n return moduleOrFactory;\n }\n catch (error) {\n const { from = 'runtime' } = options || { from: 'runtime' };\n const failOver = await this.hooks.lifecycle.errorLoadRemote.emit({\n id,\n error,\n from,\n lifecycle: 'onLoad',\n origin: host,\n });\n if (!failOver) {\n throw error;\n }\n return failOver;\n }\n }\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async preloadRemote(preloadOptions) {\n const { host } = this;\n await this.hooks.lifecycle.beforePreloadRemote.emit({\n preloadOps: preloadOptions,\n options: host.options,\n origin: host,\n });\n const preloadOps = formatPreloadArgs(host.options.remotes, preloadOptions);\n await Promise.all(preloadOps.map(async (ops) => {\n const { remote } = ops;\n const remoteInfo = getRemoteInfo(remote);\n const { globalSnapshot, remoteSnapshot } = await host.snapshotHandler.loadRemoteSnapshotInfo({\n moduleInfo: remote,\n });\n const assets = await this.hooks.lifecycle.generatePreloadAssets.emit({\n origin: host,\n preloadOptions: ops,\n remote,\n remoteInfo,\n globalSnapshot,\n remoteSnapshot,\n });\n if (!assets) {\n return;\n }\n preloadAssets(remoteInfo, host, assets);\n }));\n }\n registerRemotes(remotes, options) {\n const { host } = this;\n remotes.forEach((remote) => {\n this.registerRemote(remote, host.options.remotes, {\n force: options?.force,\n });\n });\n }\n async getRemoteModuleAndOptions(options) {\n const { host } = this;\n const { id } = options;\n let loadRemoteArgs;\n try {\n loadRemoteArgs = await this.hooks.lifecycle.beforeRequest.emit({\n id,\n options: host.options,\n origin: host,\n });\n }\n catch (error) {\n loadRemoteArgs = (await this.hooks.lifecycle.errorLoadRemote.emit({\n id,\n options: host.options,\n origin: host,\n from: 'runtime',\n error,\n lifecycle: 'beforeRequest',\n }));\n if (!loadRemoteArgs) {\n throw error;\n }\n }\n const { id: idRes } = loadRemoteArgs;\n const remoteSplitInfo = matchRemoteWithNameAndExpose(host.options.remotes, idRes);\n assert(remoteSplitInfo, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_004, errorCodes.runtimeDescMap, {\n hostName: host.options.name,\n requestId: idRes,\n }));\n const { remote: rawRemote } = remoteSplitInfo;\n const remoteInfo = getRemoteInfo(rawRemote);\n const matchInfo = await host.sharedHandler.hooks.lifecycle.afterResolve.emit({\n id: idRes,\n ...remoteSplitInfo,\n options: host.options,\n origin: host,\n remoteInfo,\n });\n const { remote, expose } = matchInfo;\n assert(remote && expose, `The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${idRes}.`);\n let module = host.moduleCache.get(remote.name);\n const moduleOptions = {\n host: host,\n remoteInfo,\n };\n if (!module) {\n module = new Module(moduleOptions);\n host.moduleCache.set(remote.name, module);\n }\n return {\n module,\n moduleOptions,\n remoteMatchInfo: matchInfo,\n };\n }\n registerRemote(remote, targetRemotes, options) {\n const { host } = this;\n const normalizeRemote = () => {\n if (remote.alias) {\n // Validate if alias equals the prefix of remote.name and remote.alias, if so, throw an error\n // As multi-level path references cannot guarantee unique names, alias being a prefix of remote.name is not supported\n const findEqual = targetRemotes.find((item) => remote.alias &&\n (item.name.startsWith(remote.alias) ||\n item.alias?.startsWith(remote.alias)));\n assert(!findEqual, `The alias ${remote.alias} of remote ${remote.name} is not allowed to be the prefix of ${findEqual && findEqual.name} name or alias`);\n }\n // Set the remote entry to a complete path\n if ('entry' in remote) {\n if (sdk.isBrowserEnv() && !remote.entry.startsWith('http')) {\n remote.entry = new URL(remote.entry, window.location.origin).href;\n }\n }\n if (!remote.shareScope) {\n remote.shareScope = DEFAULT_SCOPE;\n }\n if (!remote.type) {\n remote.type = DEFAULT_REMOTE_TYPE;\n }\n };\n this.hooks.lifecycle.beforeRegisterRemote.emit({ remote, origin: host });\n const registeredRemote = targetRemotes.find((item) => item.name === remote.name);\n if (!registeredRemote) {\n normalizeRemote();\n targetRemotes.push(remote);\n this.hooks.lifecycle.registerRemote.emit({ remote, origin: host });\n }\n else {\n const messages = [\n `The remote \"${remote.name}\" is already registered.`,\n 'Please note that overriding it may cause unexpected errors.',\n ];\n if (options?.force) {\n // remove registered remote\n this.removeRemote(registeredRemote);\n normalizeRemote();\n targetRemotes.push(remote);\n this.hooks.lifecycle.registerRemote.emit({ remote, origin: host });\n sdk.warn(messages.join(' '));\n }\n }\n }\n removeRemote(remote) {\n try {\n const { host } = this;\n const { name } = remote;\n const remoteIndex = host.options.remotes.findIndex((item) => item.name === name);\n if (remoteIndex !== -1) {\n host.options.remotes.splice(remoteIndex, 1);\n }\n const loadedModule = host.moduleCache.get(remote.name);\n if (loadedModule) {\n const remoteInfo = loadedModule.remoteInfo;\n const key = remoteInfo.entryGlobalName;\n if (CurrentGlobal[key]) {\n if (Object.getOwnPropertyDescriptor(CurrentGlobal, key)?.configurable) {\n delete CurrentGlobal[key];\n }\n else {\n // @ts-ignore\n CurrentGlobal[key] = undefined;\n }\n }\n const remoteEntryUniqueKey = getRemoteEntryUniqueKey(loadedModule.remoteInfo);\n if (globalLoading[remoteEntryUniqueKey]) {\n delete globalLoading[remoteEntryUniqueKey];\n }\n host.snapshotHandler.manifestCache.delete(remoteInfo.entry);\n // delete unloaded shared and instance\n let remoteInsId = remoteInfo.buildVersion\n ? sdk.composeKeyWithSeparator(remoteInfo.name, remoteInfo.buildVersion)\n : remoteInfo.name;\n const remoteInsIndex = CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex((ins) => {\n if (remoteInfo.buildVersion) {\n return ins.options.id === remoteInsId;\n }\n else {\n return ins.name === remoteInsId;\n }\n });\n if (remoteInsIndex !== -1) {\n const remoteIns = CurrentGlobal.__FEDERATION__.__INSTANCES__[remoteInsIndex];\n remoteInsId = remoteIns.options.id || remoteInsId;\n const globalShareScopeMap = getGlobalShareScope();\n let isAllSharedNotUsed = true;\n const needDeleteKeys = [];\n Object.keys(globalShareScopeMap).forEach((instId) => {\n const shareScopeMap = globalShareScopeMap[instId];\n shareScopeMap &&\n Object.keys(shareScopeMap).forEach((shareScope) => {\n const shareScopeVal = shareScopeMap[shareScope];\n shareScopeVal &&\n Object.keys(shareScopeVal).forEach((shareName) => {\n const sharedPkgs = shareScopeVal[shareName];\n sharedPkgs &&\n Object.keys(sharedPkgs).forEach((shareVersion) => {\n const shared = sharedPkgs[shareVersion];\n if (shared &&\n typeof shared === 'object' &&\n shared.from === remoteInfo.name) {\n if (shared.loaded || shared.loading) {\n shared.useIn = shared.useIn.filter((usedHostName) => usedHostName !== remoteInfo.name);\n if (shared.useIn.length) {\n isAllSharedNotUsed = false;\n }\n else {\n needDeleteKeys.push([\n instId,\n shareScope,\n shareName,\n shareVersion,\n ]);\n }\n }\n else {\n needDeleteKeys.push([\n instId,\n shareScope,\n shareName,\n shareVersion,\n ]);\n }\n }\n });\n });\n });\n });\n if (isAllSharedNotUsed) {\n remoteIns.shareScopeMap = {};\n delete globalShareScopeMap[remoteInsId];\n }\n needDeleteKeys.forEach(([insId, shareScope, shareName, shareVersion]) => {\n delete globalShareScopeMap[insId]?.[shareScope]?.[shareName]?.[shareVersion];\n });\n CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(remoteInsIndex, 1);\n }\n const { hostGlobalSnapshot } = getGlobalRemoteInfo(remote, host);\n if (hostGlobalSnapshot) {\n const remoteKey = hostGlobalSnapshot &&\n 'remotesInfo' in hostGlobalSnapshot &&\n hostGlobalSnapshot.remotesInfo &&\n getInfoWithoutType(hostGlobalSnapshot.remotesInfo, remote.name).key;\n if (remoteKey) {\n delete hostGlobalSnapshot.remotesInfo[remoteKey];\n if (\n //eslint-disable-next-line no-extra-boolean-cast\n Boolean(Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey])) {\n delete Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey];\n }\n }\n }\n host.moduleCache.delete(remote.name);\n }\n }\n catch (err) {\n logger.log('removeRemote fail: ', err);\n }\n }\n}\n\nconst USE_SNAPSHOT = typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN === 'boolean'\n ? !FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN\n : true; // Default to true (use snapshot) when not explicitly defined\nclass ModuleFederation {\n constructor(userOptions) {\n this.hooks = new PluginSystem({\n beforeInit: new SyncWaterfallHook('beforeInit'),\n init: new SyncHook(),\n // maybe will change, temporarily for internal use only\n beforeInitContainer: new AsyncWaterfallHook('beforeInitContainer'),\n // maybe will change, temporarily for internal use only\n initContainer: new AsyncWaterfallHook('initContainer'),\n });\n this.version = \"0.21.6\";\n this.moduleCache = new Map();\n this.loaderHook = new PluginSystem({\n // FIXME: may not be suitable , not open to the public yet\n getModuleInfo: new SyncHook(),\n createScript: new SyncHook(),\n createLink: new SyncHook(),\n fetch: new AsyncHook(),\n loadEntryError: new AsyncHook(),\n getModuleFactory: new AsyncHook(),\n });\n this.bridgeHook = new PluginSystem({\n beforeBridgeRender: new SyncHook(),\n afterBridgeRender: new SyncHook(),\n beforeBridgeDestroy: new SyncHook(),\n afterBridgeDestroy: new SyncHook(),\n });\n const plugins = USE_SNAPSHOT\n ? [snapshotPlugin(), generatePreloadAssetsPlugin()]\n : [];\n // TODO: Validate the details of the options\n // Initialize options with default values\n const defaultOptions = {\n id: getBuilderId(),\n name: userOptions.name,\n plugins,\n remotes: [],\n shared: {},\n inBrowser: sdk.isBrowserEnv(),\n };\n this.name = userOptions.name;\n this.options = defaultOptions;\n this.snapshotHandler = new SnapshotHandler(this);\n this.sharedHandler = new SharedHandler(this);\n this.remoteHandler = new RemoteHandler(this);\n this.shareScopeMap = this.sharedHandler.shareScopeMap;\n this.registerPlugins([\n ...defaultOptions.plugins,\n ...(userOptions.plugins || []),\n ]);\n this.options = this.formatOptions(defaultOptions, userOptions);\n }\n initOptions(userOptions) {\n this.registerPlugins(userOptions.plugins);\n const options = this.formatOptions(this.options, userOptions);\n this.options = options;\n return options;\n }\n async loadShare(pkgName, extraOptions) {\n return this.sharedHandler.loadShare(pkgName, extraOptions);\n }\n // The lib function will only be available if the shared set by eager or runtime init is set or the shared is successfully loaded.\n // 1. If the loaded shared already exists globally, then it will be reused\n // 2. If lib exists in local shared, it will be used directly\n // 3. If the local get returns something other than Promise, then it will be used directly\n loadShareSync(pkgName, extraOptions) {\n return this.sharedHandler.loadShareSync(pkgName, extraOptions);\n }\n initializeSharing(shareScopeName = DEFAULT_SCOPE, extraOptions) {\n return this.sharedHandler.initializeSharing(shareScopeName, extraOptions);\n }\n initRawContainer(name, url, container) {\n const remoteInfo = getRemoteInfo({ name, entry: url });\n const module = new Module({ host: this, remoteInfo });\n module.remoteEntryExports = container;\n this.moduleCache.set(name, module);\n return module;\n }\n // eslint-disable-next-line max-lines-per-function\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async loadRemote(id, options) {\n return this.remoteHandler.loadRemote(id, options);\n }\n // eslint-disable-next-line @typescript-eslint/member-ordering\n async preloadRemote(preloadOptions) {\n return this.remoteHandler.preloadRemote(preloadOptions);\n }\n initShareScopeMap(scopeName, shareScope, extraOptions = {}) {\n this.sharedHandler.initShareScopeMap(scopeName, shareScope, extraOptions);\n }\n formatOptions(globalOptions, userOptions) {\n const { shared } = formatShareConfigs(globalOptions, userOptions);\n const { userOptions: userOptionsRes, options: globalOptionsRes } = this.hooks.lifecycle.beforeInit.emit({\n origin: this,\n userOptions,\n options: globalOptions,\n shareInfo: shared,\n });\n const remotes = this.remoteHandler.formatAndRegisterRemote(globalOptionsRes, userOptionsRes);\n const { shared: handledShared } = this.sharedHandler.registerShared(globalOptionsRes, userOptionsRes);\n const plugins = [...globalOptionsRes.plugins];\n if (userOptionsRes.plugins) {\n userOptionsRes.plugins.forEach((plugin) => {\n if (!plugins.includes(plugin)) {\n plugins.push(plugin);\n }\n });\n }\n const optionsRes = {\n ...globalOptions,\n ...userOptions,\n plugins,\n remotes,\n shared: handledShared,\n };\n this.hooks.lifecycle.init.emit({\n origin: this,\n options: optionsRes,\n });\n return optionsRes;\n }\n registerPlugins(plugins) {\n const pluginRes = registerPlugins(plugins, this);\n // Merge plugin\n this.options.plugins = this.options.plugins.reduce((res, plugin) => {\n if (!plugin)\n return res;\n if (res && !res.find((item) => item.name === plugin.name)) {\n res.push(plugin);\n }\n return res;\n }, pluginRes || []);\n }\n registerRemotes(remotes, options) {\n return this.remoteHandler.registerRemotes(remotes, options);\n }\n registerShared(shared) {\n this.sharedHandler.registerShared(this.options, {\n ...this.options,\n shared,\n });\n }\n}\n\nvar index = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nexports.loadScript = sdk.loadScript;\nexports.loadScriptNode = sdk.loadScriptNode;\nexports.CurrentGlobal = CurrentGlobal;\nexports.Global = Global;\nexports.Module = Module;\nexports.ModuleFederation = ModuleFederation;\nexports.addGlobalSnapshot = addGlobalSnapshot;\nexports.assert = assert;\nexports.getGlobalFederationConstructor = getGlobalFederationConstructor;\nexports.getGlobalSnapshot = getGlobalSnapshot;\nexports.getInfoWithoutType = getInfoWithoutType;\nexports.getRegisteredShare = getRegisteredShare;\nexports.getRemoteEntry = getRemoteEntry;\nexports.getRemoteInfo = getRemoteInfo;\nexports.helpers = helpers;\nexports.isStaticResourcesEqual = isStaticResourcesEqual;\nexports.matchRemoteWithNameAndExpose = matchRemoteWithNameAndExpose;\nexports.registerGlobalPlugins = registerGlobalPlugins;\nexports.resetFederationGlobalInfo = resetFederationGlobalInfo;\nexports.safeWrapper = safeWrapper;\nexports.satisfy = satisfy;\nexports.setGlobalFederationConstructor = setGlobalFederationConstructor;\nexports.setGlobalFederationInstance = setGlobalFederationInstance;\nexports.types = index;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nvar runtimeCore = require('@module-federation/runtime-core');\nvar errorCodes = require('@module-federation/error-codes');\nvar utils = require('./utils.cjs.cjs');\n\nfunction createInstance(options) {\n // Retrieve debug constructor\n const ModuleFederationConstructor = runtimeCore.getGlobalFederationConstructor() || runtimeCore.ModuleFederation;\n const instance = new ModuleFederationConstructor(options);\n runtimeCore.setGlobalFederationInstance(instance);\n return instance;\n}\nlet FederationInstance = null;\n/**\n * @deprecated Use createInstance or getInstance instead\n */\nfunction init(options) {\n // Retrieve the same instance with the same name\n const instance = utils.getGlobalFederationInstance(options.name, options.version);\n if (!instance) {\n FederationInstance = createInstance(options);\n return FederationInstance;\n }\n else {\n // Merge options\n instance.initOptions(options);\n if (!FederationInstance) {\n FederationInstance = instance;\n }\n return instance;\n }\n}\nfunction loadRemote(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n const loadRemote = FederationInstance.loadRemote;\n // eslint-disable-next-line prefer-spread\n return loadRemote.apply(FederationInstance, args);\n}\nfunction loadShare(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n const loadShare = FederationInstance.loadShare;\n return loadShare.apply(FederationInstance, args);\n}\nfunction loadShareSync(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n const loadShareSync = FederationInstance.loadShareSync;\n // eslint-disable-next-line prefer-spread\n return loadShareSync.apply(FederationInstance, args);\n}\nfunction preloadRemote(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.preloadRemote.apply(FederationInstance, args);\n}\nfunction registerRemotes(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerRemotes.apply(FederationInstance, args);\n}\nfunction registerPlugins(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerPlugins.apply(FederationInstance, args);\n}\nfunction getInstance() {\n return FederationInstance;\n}\nfunction registerShared(...args) {\n runtimeCore.assert(FederationInstance, errorCodes.getShortErrorMsg(errorCodes.RUNTIME_009, errorCodes.runtimeDescMap));\n // eslint-disable-next-line prefer-spread\n return FederationInstance.registerShared.apply(FederationInstance, args);\n}\n// Inject for debug\nruntimeCore.setGlobalFederationConstructor(runtimeCore.ModuleFederation);\n\nexports.Module = runtimeCore.Module;\nexports.ModuleFederation = runtimeCore.ModuleFederation;\nexports.getRemoteEntry = runtimeCore.getRemoteEntry;\nexports.getRemoteInfo = runtimeCore.getRemoteInfo;\nexports.loadScript = runtimeCore.loadScript;\nexports.loadScriptNode = runtimeCore.loadScriptNode;\nexports.registerGlobalPlugins = runtimeCore.registerGlobalPlugins;\nexports.createInstance = createInstance;\nexports.getInstance = getInstance;\nexports.init = init;\nexports.loadRemote = loadRemote;\nexports.loadShare = loadShare;\nexports.loadShareSync = loadShareSync;\nexports.preloadRemote = preloadRemote;\nexports.registerPlugins = registerPlugins;\nexports.registerRemotes = registerRemotes;\nexports.registerShared = registerShared;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nvar runtimeCore = require('@module-federation/runtime-core');\n\n// injected by bundler, so it can not use runtime-core stuff\nfunction getBuilderId() {\n //@ts-ignore\n return typeof FEDERATION_BUILD_IDENTIFIER !== 'undefined'\n ? //@ts-ignore\n FEDERATION_BUILD_IDENTIFIER\n : '';\n}\nfunction getGlobalFederationInstance(name, version) {\n const buildId = getBuilderId();\n return runtimeCore.CurrentGlobal.__FEDERATION__.__INSTANCES__.find((GMInstance) => {\n if (buildId && GMInstance.options.id === buildId) {\n return true;\n }\n if (GMInstance.options.name === name &&\n !GMInstance.options.version &&\n !version) {\n return true;\n }\n if (GMInstance.options.name === name &&\n version &&\n GMInstance.options.version === version) {\n return true;\n }\n return false;\n });\n}\n\nexports.getGlobalFederationInstance = getGlobalFederationInstance;\n//# sourceMappingURL=utils.cjs.cjs.map\n","'use strict';\n\nconst FederationModuleManifest = 'federation-manifest.json';\nconst MANIFEST_EXT = '.json';\nconst BROWSER_LOG_KEY = 'FEDERATION_DEBUG';\nconst NameTransformSymbol = {\n AT: '@',\n HYPHEN: '-',\n SLASH: '/',\n};\nconst NameTransformMap = {\n [NameTransformSymbol.AT]: 'scope_',\n [NameTransformSymbol.HYPHEN]: '_',\n [NameTransformSymbol.SLASH]: '__',\n};\nconst EncodedNameTransformMap = {\n [NameTransformMap[NameTransformSymbol.AT]]: NameTransformSymbol.AT,\n [NameTransformMap[NameTransformSymbol.HYPHEN]]: NameTransformSymbol.HYPHEN,\n [NameTransformMap[NameTransformSymbol.SLASH]]: NameTransformSymbol.SLASH,\n};\nconst SEPARATOR = ':';\nconst ManifestFileName = 'mf-manifest.json';\nconst StatsFileName = 'mf-stats.json';\nconst MFModuleType = {\n NPM: 'npm',\n APP: 'app',\n};\nconst MODULE_DEVTOOL_IDENTIFIER = '__MF_DEVTOOLS_MODULE_INFO__';\nconst ENCODE_NAME_PREFIX = 'ENCODE_NAME_PREFIX';\nconst TEMP_DIR = '.federation';\nconst MFPrefetchCommon = {\n identifier: 'MFDataPrefetch',\n globalKey: '__PREFETCH__',\n library: 'mf-data-prefetch',\n exportsKey: '__PREFETCH_EXPORTS__',\n fileName: 'bootstrap.js',\n};\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar ContainerPlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar ContainerReferencePlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nvar ModuleFederationPlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\nvar SharePlugin = /*#__PURE__*/Object.freeze({\n __proto__: null\n});\n\nfunction isBrowserEnv() {\n return (typeof window !== 'undefined' && typeof window.document !== 'undefined');\n}\nfunction isReactNativeEnv() {\n return (typeof navigator !== 'undefined' && navigator?.product === 'ReactNative');\n}\nfunction isBrowserDebug() {\n try {\n if (isBrowserEnv() && window.localStorage) {\n return Boolean(localStorage.getItem(BROWSER_LOG_KEY));\n }\n }\n catch (error) {\n return false;\n }\n return false;\n}\nfunction isDebugMode() {\n if (typeof process !== 'undefined' &&\n process.env &&\n process.env['FEDERATION_DEBUG']) {\n return Boolean(process.env['FEDERATION_DEBUG']);\n }\n if (typeof FEDERATION_DEBUG !== 'undefined' && Boolean(FEDERATION_DEBUG)) {\n return true;\n }\n return isBrowserDebug();\n}\nconst getProcessEnv = function () {\n return typeof process !== 'undefined' && process.env ? process.env : {};\n};\n\nconst LOG_CATEGORY = '[ Federation Runtime ]';\n// entry: name:version version : 1.0.0 | ^1.2.3\n// entry: name:entry entry: https://localhost:9000/federation-manifest.json\nconst parseEntry = (str, devVerOrUrl, separator = SEPARATOR) => {\n const strSplit = str.split(separator);\n const devVersionOrUrl = getProcessEnv()['NODE_ENV'] === 'development' && devVerOrUrl;\n const defaultVersion = '*';\n const isEntry = (s) => s.startsWith('http') || s.includes(MANIFEST_EXT);\n // Check if the string starts with a type\n if (strSplit.length >= 2) {\n let [name, ...versionOrEntryArr] = strSplit;\n // @name@manifest-url.json\n if (str.startsWith(separator)) {\n name = strSplit.slice(0, 2).join(separator);\n versionOrEntryArr = [\n devVersionOrUrl || strSplit.slice(2).join(separator),\n ];\n }\n let versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator);\n if (isEntry(versionOrEntry)) {\n return {\n name,\n entry: versionOrEntry,\n };\n }\n else {\n // Apply version rule\n // devVersionOrUrl => inputVersion => defaultVersion\n return {\n name,\n version: versionOrEntry || defaultVersion,\n };\n }\n }\n else if (strSplit.length === 1) {\n const [name] = strSplit;\n if (devVersionOrUrl && isEntry(devVersionOrUrl)) {\n return {\n name,\n entry: devVersionOrUrl,\n };\n }\n return {\n name,\n version: devVersionOrUrl || defaultVersion,\n };\n }\n else {\n throw `Invalid entry value: ${str}`;\n }\n};\nconst composeKeyWithSeparator = function (...args) {\n if (!args.length) {\n return '';\n }\n return args.reduce((sum, cur) => {\n if (!cur) {\n return sum;\n }\n if (!sum) {\n return cur;\n }\n return `${sum}${SEPARATOR}${cur}`;\n }, '');\n};\nconst encodeName = function (name, prefix = '', withExt = false) {\n try {\n const ext = withExt ? '.js' : '';\n return `${prefix}${name\n .replace(new RegExp(`${NameTransformSymbol.AT}`, 'g'), NameTransformMap[NameTransformSymbol.AT])\n .replace(new RegExp(`${NameTransformSymbol.HYPHEN}`, 'g'), NameTransformMap[NameTransformSymbol.HYPHEN])\n .replace(new RegExp(`${NameTransformSymbol.SLASH}`, 'g'), NameTransformMap[NameTransformSymbol.SLASH])}${ext}`;\n }\n catch (err) {\n throw err;\n }\n};\nconst decodeName = function (name, prefix, withExt) {\n try {\n let decodedName = name;\n if (prefix) {\n if (!decodedName.startsWith(prefix)) {\n return decodedName;\n }\n decodedName = decodedName.replace(new RegExp(prefix, 'g'), '');\n }\n decodedName = decodedName\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]])\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]])\n .replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`, 'g'), EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]);\n if (withExt) {\n decodedName = decodedName.replace('.js', '');\n }\n return decodedName;\n }\n catch (err) {\n throw err;\n }\n};\nconst generateExposeFilename = (exposeName, withExt) => {\n if (!exposeName) {\n return '';\n }\n let expose = exposeName;\n if (expose === '.') {\n expose = 'default_export';\n }\n if (expose.startsWith('./')) {\n expose = expose.replace('./', '');\n }\n return encodeName(expose, '__federation_expose_', withExt);\n};\nconst generateShareFilename = (pkgName, withExt) => {\n if (!pkgName) {\n return '';\n }\n return encodeName(pkgName, '__federation_shared_', withExt);\n};\nconst getResourceUrl = (module, sourceUrl) => {\n if ('getPublicPath' in module) {\n let publicPath;\n if (!module.getPublicPath.startsWith('function')) {\n publicPath = new Function(module.getPublicPath)();\n }\n else {\n publicPath = new Function('return ' + module.getPublicPath)()();\n }\n return `${publicPath}${sourceUrl}`;\n }\n else if ('publicPath' in module) {\n if (!isBrowserEnv() && !isReactNativeEnv() && 'ssrPublicPath' in module) {\n return `${module.ssrPublicPath}${sourceUrl}`;\n }\n return `${module.publicPath}${sourceUrl}`;\n }\n else {\n console.warn('Cannot get resource URL. If in debug mode, please ignore.', module, sourceUrl);\n return '';\n }\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst assert = (condition, msg) => {\n if (!condition) {\n error(msg);\n }\n};\nconst error = (msg) => {\n throw new Error(`${LOG_CATEGORY}: ${msg}`);\n};\nconst warn = (msg) => {\n console.warn(`${LOG_CATEGORY}: ${msg}`);\n};\nfunction safeToString(info) {\n try {\n return JSON.stringify(info, null, 2);\n }\n catch (e) {\n return '';\n }\n}\n// RegExp for version string\nconst VERSION_PATTERN_REGEXP = /^([\\d^=v<>~]|[*xX]$)/;\nfunction isRequiredVersion(str) {\n return VERSION_PATTERN_REGEXP.test(str);\n}\n\nconst simpleJoinRemoteEntry = (rPath, rName) => {\n if (!rPath) {\n return rName;\n }\n const transformPath = (str) => {\n if (str === '.') {\n return '';\n }\n if (str.startsWith('./')) {\n return str.replace('./', '');\n }\n if (str.startsWith('/')) {\n const strWithoutSlash = str.slice(1);\n if (strWithoutSlash.endsWith('/')) {\n return strWithoutSlash.slice(0, -1);\n }\n return strWithoutSlash;\n }\n return str;\n };\n const transformedPath = transformPath(rPath);\n if (!transformedPath) {\n return rName;\n }\n if (transformedPath.endsWith('/')) {\n return `${transformedPath}${rName}`;\n }\n return `${transformedPath}/${rName}`;\n};\nfunction inferAutoPublicPath(url) {\n return url\n .replace(/#.*$/, '')\n .replace(/\\?.*$/, '')\n .replace(/\\/[^\\/]+$/, '/');\n}\n// Priority: overrides > remotes\n// eslint-disable-next-line max-lines-per-function\nfunction generateSnapshotFromManifest(manifest, options = {}) {\n const { remotes = {}, overrides = {}, version } = options;\n let remoteSnapshot;\n const getPublicPath = () => {\n if ('publicPath' in manifest.metaData) {\n if (manifest.metaData.publicPath === 'auto' && version) {\n // use same implementation as publicPath auto runtime module implements\n return inferAutoPublicPath(version);\n }\n return manifest.metaData.publicPath;\n }\n else {\n return manifest.metaData.getPublicPath;\n }\n };\n const overridesKeys = Object.keys(overrides);\n let remotesInfo = {};\n // If remotes are not provided, only the remotes in the manifest will be read\n if (!Object.keys(remotes).length) {\n remotesInfo =\n manifest.remotes?.reduce((res, next) => {\n let matchedVersion;\n const name = next.federationContainerName;\n // overrides have higher priority\n if (overridesKeys.includes(name)) {\n matchedVersion = overrides[name];\n }\n else {\n if ('version' in next) {\n matchedVersion = next.version;\n }\n else {\n matchedVersion = next.entry;\n }\n }\n res[name] = {\n matchedVersion,\n };\n return res;\n }, {}) || {};\n }\n // If remotes (deploy scenario) are specified, they need to be traversed again\n Object.keys(remotes).forEach((key) => (remotesInfo[key] = {\n // overrides will override dependencies\n matchedVersion: overridesKeys.includes(key)\n ? overrides[key]\n : remotes[key],\n }));\n const { remoteEntry: { path: remoteEntryPath, name: remoteEntryName, type: remoteEntryType, }, types: remoteTypes = { path: '', name: '', zip: '', api: '' }, buildInfo: { buildVersion }, globalName, ssrRemoteEntry, } = manifest.metaData;\n const { exposes } = manifest;\n let basicRemoteSnapshot = {\n version: version ? version : '',\n buildVersion,\n globalName,\n remoteEntry: simpleJoinRemoteEntry(remoteEntryPath, remoteEntryName),\n remoteEntryType,\n remoteTypes: simpleJoinRemoteEntry(remoteTypes.path, remoteTypes.name),\n remoteTypesZip: remoteTypes.zip || '',\n remoteTypesAPI: remoteTypes.api || '',\n remotesInfo,\n shared: manifest?.shared.map((item) => ({\n assets: item.assets,\n sharedName: item.name,\n version: item.version,\n })),\n modules: exposes?.map((expose) => ({\n moduleName: expose.name,\n modulePath: expose.path,\n assets: expose.assets,\n })),\n };\n if (manifest.metaData?.prefetchInterface) {\n const prefetchInterface = manifest.metaData.prefetchInterface;\n basicRemoteSnapshot = {\n ...basicRemoteSnapshot,\n prefetchInterface,\n };\n }\n if (manifest.metaData?.prefetchEntry) {\n const { path, name, type } = manifest.metaData.prefetchEntry;\n basicRemoteSnapshot = {\n ...basicRemoteSnapshot,\n prefetchEntry: simpleJoinRemoteEntry(path, name),\n prefetchEntryType: type,\n };\n }\n if ('publicPath' in manifest.metaData) {\n remoteSnapshot = {\n ...basicRemoteSnapshot,\n publicPath: getPublicPath(),\n ssrPublicPath: manifest.metaData.ssrPublicPath,\n };\n }\n else {\n remoteSnapshot = {\n ...basicRemoteSnapshot,\n getPublicPath: getPublicPath(),\n };\n }\n if (ssrRemoteEntry) {\n const fullSSRRemoteEntry = simpleJoinRemoteEntry(ssrRemoteEntry.path, ssrRemoteEntry.name);\n remoteSnapshot.ssrRemoteEntry = fullSSRRemoteEntry;\n remoteSnapshot.ssrRemoteEntryType =\n ssrRemoteEntry.type || 'commonjs-module';\n }\n return remoteSnapshot;\n}\nfunction isManifestProvider(moduleInfo) {\n if ('remoteEntry' in moduleInfo &&\n moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {\n return true;\n }\n else {\n return false;\n }\n}\nfunction getManifestFileName(manifestOptions) {\n if (!manifestOptions) {\n return {\n statsFileName: StatsFileName,\n manifestFileName: ManifestFileName,\n };\n }\n let filePath = typeof manifestOptions === 'boolean' ? '' : manifestOptions.filePath || '';\n let fileName = typeof manifestOptions === 'boolean' ? '' : manifestOptions.fileName || '';\n const JSON_EXT = '.json';\n const addExt = (name) => {\n if (name.endsWith(JSON_EXT)) {\n return name;\n }\n return `${name}${JSON_EXT}`;\n };\n const insertSuffix = (name, suffix) => {\n return name.replace(JSON_EXT, `${suffix}${JSON_EXT}`);\n };\n const manifestFileName = fileName ? addExt(fileName) : ManifestFileName;\n const statsFileName = fileName\n ? insertSuffix(manifestFileName, '-stats')\n : StatsFileName;\n return {\n statsFileName: simpleJoinRemoteEntry(filePath, statsFileName),\n manifestFileName: simpleJoinRemoteEntry(filePath, manifestFileName),\n };\n}\n\nconst PREFIX = '[ Module Federation ]';\nconst DEFAULT_DELEGATE = console;\nconst LOGGER_STACK_SKIP_TOKENS = [\n 'logger.ts',\n 'logger.js',\n 'captureStackTrace',\n 'Logger.emit',\n 'Logger.log',\n 'Logger.info',\n 'Logger.warn',\n 'Logger.error',\n 'Logger.debug',\n];\nfunction captureStackTrace() {\n try {\n const stack = new Error().stack;\n if (!stack) {\n return undefined;\n }\n const [, ...rawLines] = stack.split('\\n');\n const filtered = rawLines.filter((line) => !LOGGER_STACK_SKIP_TOKENS.some((token) => line.includes(token)));\n if (!filtered.length) {\n return undefined;\n }\n const stackPreview = filtered.slice(0, 5).join('\\n');\n return `Stack trace:\\n${stackPreview}`;\n }\n catch {\n return undefined;\n }\n}\nclass Logger {\n constructor(prefix, delegate = DEFAULT_DELEGATE) {\n this.prefix = prefix;\n this.delegate = delegate ?? DEFAULT_DELEGATE;\n }\n setPrefix(prefix) {\n this.prefix = prefix;\n }\n setDelegate(delegate) {\n this.delegate = delegate ?? DEFAULT_DELEGATE;\n }\n emit(method, args) {\n const delegate = this.delegate;\n const debugMode = isDebugMode();\n const stackTrace = debugMode ? captureStackTrace() : undefined;\n const enrichedArgs = stackTrace ? [...args, stackTrace] : args;\n const order = (() => {\n switch (method) {\n case 'log':\n return ['log', 'info'];\n case 'info':\n return ['info', 'log'];\n case 'warn':\n return ['warn', 'info', 'log'];\n case 'error':\n return ['error', 'warn', 'log'];\n case 'debug':\n default:\n return ['debug', 'log'];\n }\n })();\n for (const candidate of order) {\n const handler = delegate[candidate];\n if (typeof handler === 'function') {\n handler.call(delegate, this.prefix, ...enrichedArgs);\n return;\n }\n }\n for (const candidate of order) {\n const handler = DEFAULT_DELEGATE[candidate];\n if (typeof handler === 'function') {\n handler.call(DEFAULT_DELEGATE, this.prefix, ...enrichedArgs);\n return;\n }\n }\n }\n log(...args) {\n this.emit('log', args);\n }\n warn(...args) {\n this.emit('warn', args);\n }\n error(...args) {\n this.emit('error', args);\n }\n success(...args) {\n this.emit('info', args);\n }\n info(...args) {\n this.emit('info', args);\n }\n ready(...args) {\n this.emit('info', args);\n }\n debug(...args) {\n if (isDebugMode()) {\n this.emit('debug', args);\n }\n }\n}\nfunction createLogger(prefix) {\n return new Logger(prefix);\n}\nfunction createInfrastructureLogger(prefix) {\n const infrastructureLogger = new Logger(prefix);\n Object.defineProperty(infrastructureLogger, '__mf_infrastructure_logger__', {\n value: true,\n enumerable: false,\n configurable: false,\n });\n return infrastructureLogger;\n}\nfunction bindLoggerToCompiler(loggerInstance, compiler, name) {\n if (!loggerInstance\n .__mf_infrastructure_logger__) {\n return;\n }\n if (!compiler?.getInfrastructureLogger) {\n return;\n }\n try {\n const infrastructureLogger = compiler.getInfrastructureLogger(name);\n if (infrastructureLogger &&\n typeof infrastructureLogger === 'object' &&\n (typeof infrastructureLogger.log === 'function' ||\n typeof infrastructureLogger.info === 'function' ||\n typeof infrastructureLogger.warn === 'function' ||\n typeof infrastructureLogger.error === 'function')) {\n loggerInstance.setDelegate(infrastructureLogger);\n }\n }\n catch {\n // If the bundler throws (older versions), fall back to default console logger.\n loggerInstance.setDelegate(undefined);\n }\n}\nconst logger = createLogger(PREFIX);\nconst infrastructureLogger = createInfrastructureLogger(PREFIX);\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nasync function safeWrapper(callback, disableWarn) {\n try {\n const res = await callback();\n return res;\n }\n catch (e) {\n !disableWarn && warn(e);\n return;\n }\n}\nfunction isStaticResourcesEqual(url1, url2) {\n const REG_EXP = /^(https?:)?\\/\\//i;\n // Transform url1 and url2 into relative paths\n const relativeUrl1 = url1.replace(REG_EXP, '').replace(/\\/$/, '');\n const relativeUrl2 = url2.replace(REG_EXP, '').replace(/\\/$/, '');\n // Check if the relative paths are identical\n return relativeUrl1 === relativeUrl2;\n}\nfunction createScript(info) {\n // Retrieve the existing script element by its src attribute\n let script = null;\n let needAttach = true;\n let timeout = 20000;\n let timeoutId;\n const scripts = document.getElementsByTagName('script');\n for (let i = 0; i < scripts.length; i++) {\n const s = scripts[i];\n const scriptSrc = s.getAttribute('src');\n if (scriptSrc && isStaticResourcesEqual(scriptSrc, info.url)) {\n script = s;\n needAttach = false;\n break;\n }\n }\n if (!script) {\n const attrs = info.attrs;\n script = document.createElement('script');\n script.type = attrs?.['type'] === 'module' ? 'module' : 'text/javascript';\n let createScriptRes = undefined;\n if (info.createScriptHook) {\n createScriptRes = info.createScriptHook(info.url, info.attrs);\n if (createScriptRes instanceof HTMLScriptElement) {\n script = createScriptRes;\n }\n else if (typeof createScriptRes === 'object') {\n if ('script' in createScriptRes && createScriptRes.script) {\n script = createScriptRes.script;\n }\n if ('timeout' in createScriptRes && createScriptRes.timeout) {\n timeout = createScriptRes.timeout;\n }\n }\n }\n if (!script.src) {\n script.src = info.url;\n }\n if (attrs && !createScriptRes) {\n Object.keys(attrs).forEach((name) => {\n if (script) {\n if (name === 'async' || name === 'defer') {\n script[name] = attrs[name];\n // Attributes that do not exist are considered overridden\n }\n else if (!script.getAttribute(name)) {\n script.setAttribute(name, attrs[name]);\n }\n }\n });\n }\n }\n const onScriptComplete = async (prev, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n event) => {\n clearTimeout(timeoutId);\n const onScriptCompleteCallback = () => {\n if (event?.type === 'error') {\n info?.onErrorCallback && info?.onErrorCallback(event);\n }\n else {\n info?.cb && info?.cb();\n }\n };\n // Prevent memory leaks in IE.\n if (script) {\n script.onerror = null;\n script.onload = null;\n safeWrapper(() => {\n const { needDeleteScript = true } = info;\n if (needDeleteScript) {\n script?.parentNode && script.parentNode.removeChild(script);\n }\n });\n if (prev && typeof prev === 'function') {\n const result = prev(event);\n if (result instanceof Promise) {\n const res = await result;\n onScriptCompleteCallback();\n return res;\n }\n onScriptCompleteCallback();\n return result;\n }\n }\n onScriptCompleteCallback();\n };\n script.onerror = onScriptComplete.bind(null, script.onerror);\n script.onload = onScriptComplete.bind(null, script.onload);\n timeoutId = setTimeout(() => {\n onScriptComplete(null, new Error(`Remote script \"${info.url}\" time-outed.`));\n }, timeout);\n return { script, needAttach };\n}\nfunction createLink(info) {\n // <link rel=\"preload\" href=\"script.js\" as=\"script\">\n // Retrieve the existing script element by its src attribute\n let link = null;\n let needAttach = true;\n const links = document.getElementsByTagName('link');\n for (let i = 0; i < links.length; i++) {\n const l = links[i];\n const linkHref = l.getAttribute('href');\n const linkRel = l.getAttribute('rel');\n if (linkHref &&\n isStaticResourcesEqual(linkHref, info.url) &&\n linkRel === info.attrs['rel']) {\n link = l;\n needAttach = false;\n break;\n }\n }\n if (!link) {\n link = document.createElement('link');\n link.setAttribute('href', info.url);\n let createLinkRes = undefined;\n const attrs = info.attrs;\n if (info.createLinkHook) {\n createLinkRes = info.createLinkHook(info.url, attrs);\n if (createLinkRes instanceof HTMLLinkElement) {\n link = createLinkRes;\n }\n }\n if (attrs && !createLinkRes) {\n Object.keys(attrs).forEach((name) => {\n if (link && !link.getAttribute(name)) {\n link.setAttribute(name, attrs[name]);\n }\n });\n }\n }\n const onLinkComplete = (prev, \n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n event) => {\n const onLinkCompleteCallback = () => {\n if (event?.type === 'error') {\n info?.onErrorCallback && info?.onErrorCallback(event);\n }\n else {\n info?.cb && info?.cb();\n }\n };\n // Prevent memory leaks in IE.\n if (link) {\n link.onerror = null;\n link.onload = null;\n safeWrapper(() => {\n const { needDeleteLink = true } = info;\n if (needDeleteLink) {\n link?.parentNode && link.parentNode.removeChild(link);\n }\n });\n if (prev) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res = prev(event);\n onLinkCompleteCallback();\n return res;\n }\n }\n onLinkCompleteCallback();\n };\n link.onerror = onLinkComplete.bind(null, link.onerror);\n link.onload = onLinkComplete.bind(null, link.onload);\n return { link, needAttach };\n}\nfunction loadScript(url, info) {\n const { attrs = {}, createScriptHook } = info;\n return new Promise((resolve, reject) => {\n const { script, needAttach } = createScript({\n url,\n cb: resolve,\n onErrorCallback: reject,\n attrs: {\n fetchpriority: 'high',\n ...attrs,\n },\n createScriptHook,\n needDeleteScript: true,\n });\n needAttach && document.head.appendChild(script);\n });\n}\n\nconst sdkImportCache = new Map();\nfunction importNodeModule(name) {\n if (!name) {\n throw new Error('import specifier is required');\n }\n // Check cache to prevent infinite recursion\n if (sdkImportCache.has(name)) {\n return sdkImportCache.get(name);\n }\n const importModule = new Function('name', `return import(name)`);\n const promise = importModule(name)\n .then((res) => res)\n .catch((error) => {\n console.error(`Error importing module ${name}:`, error);\n // Remove from cache on error so it can be retried\n sdkImportCache.delete(name);\n throw error;\n });\n // Cache the promise to prevent recursive calls\n sdkImportCache.set(name, promise);\n return promise;\n}\nconst loadNodeFetch = async () => {\n const fetchModule = await importNodeModule('node-fetch');\n return (fetchModule.default || fetchModule);\n};\nconst lazyLoaderHookFetch = async (input, init, loaderHook) => {\n const hook = (url, init) => {\n return loaderHook.lifecycle.fetch.emit(url, init);\n };\n const res = await hook(input, init || {});\n if (!res || !(res instanceof Response)) {\n const fetchFunction = typeof fetch === 'undefined' ? await loadNodeFetch() : fetch;\n return fetchFunction(input, init || {});\n }\n return res;\n};\nconst createScriptNode = typeof ENV_TARGET === 'undefined' || ENV_TARGET !== 'web'\n ? (url, cb, attrs, loaderHook) => {\n if (loaderHook?.createScriptHook) {\n const hookResult = loaderHook.createScriptHook(url);\n if (hookResult &&\n typeof hookResult === 'object' &&\n 'url' in hookResult) {\n url = hookResult.url;\n }\n }\n let urlObj;\n try {\n urlObj = new URL(url);\n }\n catch (e) {\n console.error('Error constructing URL:', e);\n cb(new Error(`Invalid URL: ${e}`));\n return;\n }\n const getFetch = async () => {\n if (loaderHook?.fetch) {\n return (input, init) => lazyLoaderHookFetch(input, init, loaderHook);\n }\n return typeof fetch === 'undefined' ? loadNodeFetch() : fetch;\n };\n const handleScriptFetch = async (f, urlObj) => {\n try {\n const res = await f(urlObj.href);\n const data = await res.text();\n const [path, vm] = await Promise.all([\n importNodeModule('path'),\n importNodeModule('vm'),\n ]);\n const scriptContext = { exports: {}, module: { exports: {} } };\n const urlDirname = urlObj.pathname\n .split('/')\n .slice(0, -1)\n .join('/');\n const filename = path.basename(urlObj.pathname);\n const script = new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\\n})`, {\n filename,\n importModuleDynamically: \n //@ts-ignore\n vm.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER ??\n importNodeModule,\n });\n script.runInThisContext()(scriptContext.exports, scriptContext.module, eval('require'), urlDirname, filename);\n const exportedInterface = scriptContext.module.exports || scriptContext.exports;\n if (attrs && exportedInterface && attrs['globalName']) {\n const container = exportedInterface[attrs['globalName']] || exportedInterface;\n cb(undefined, container);\n return;\n }\n cb(undefined, exportedInterface);\n }\n catch (e) {\n cb(e instanceof Error\n ? e\n : new Error(`Script execution error: ${e}`));\n }\n };\n getFetch()\n .then(async (f) => {\n if (attrs?.['type'] === 'esm' || attrs?.['type'] === 'module') {\n return loadModule(urlObj.href, {\n fetch: f,\n vm: await importNodeModule('vm'),\n })\n .then(async (module) => {\n await module.evaluate();\n cb(undefined, module.namespace);\n })\n .catch((e) => {\n cb(e instanceof Error\n ? e\n : new Error(`Script execution error: ${e}`));\n });\n }\n handleScriptFetch(f, urlObj);\n })\n .catch((err) => {\n cb(err);\n });\n }\n : (url, cb, attrs, loaderHook) => {\n cb(new Error('createScriptNode is disabled in non-Node.js environment'));\n };\nconst loadScriptNode = typeof ENV_TARGET === 'undefined' || ENV_TARGET !== 'web'\n ? (url, info) => {\n return new Promise((resolve, reject) => {\n createScriptNode(url, (error, scriptContext) => {\n if (error) {\n reject(error);\n }\n else {\n const remoteEntryKey = info?.attrs?.['globalName'] ||\n `__FEDERATION_${info?.attrs?.['name']}:custom__`;\n const entryExports = (globalThis[remoteEntryKey] =\n scriptContext);\n resolve(entryExports);\n }\n }, info.attrs, info.loaderHook);\n });\n }\n : (url, info) => {\n throw new Error('loadScriptNode is disabled in non-Node.js environment');\n };\nconst esmModuleCache = new Map();\nasync function loadModule(url, options) {\n // Check cache to prevent infinite recursion in ESM loading\n if (esmModuleCache.has(url)) {\n return esmModuleCache.get(url);\n }\n const { fetch, vm } = options;\n const response = await fetch(url);\n const code = await response.text();\n const module = new vm.SourceTextModule(code, {\n // @ts-ignore\n importModuleDynamically: async (specifier, script) => {\n const resolvedUrl = new URL(specifier, url).href;\n return loadModule(resolvedUrl, options);\n },\n });\n // Cache the module before linking to prevent cycles\n esmModuleCache.set(url, module);\n await module.link(async (specifier) => {\n const resolvedUrl = new URL(specifier, url).href;\n const module = await loadModule(resolvedUrl, options);\n return module;\n });\n return module;\n}\n\nfunction normalizeOptions(enableDefault, defaultOptions, key) {\n return function (options) {\n if (options === false) {\n return false;\n }\n if (typeof options === 'undefined') {\n if (enableDefault) {\n return defaultOptions;\n }\n else {\n return false;\n }\n }\n if (options === true) {\n return defaultOptions;\n }\n if (options && typeof options === 'object') {\n return {\n ...defaultOptions,\n ...options,\n };\n }\n throw new Error(`Unexpected type for \\`${key}\\`, expect boolean/undefined/object, got: ${typeof options}`);\n };\n}\n\nconst createModuleFederationConfig = (options) => {\n return options;\n};\n\nexports.BROWSER_LOG_KEY = BROWSER_LOG_KEY;\nexports.ENCODE_NAME_PREFIX = ENCODE_NAME_PREFIX;\nexports.EncodedNameTransformMap = EncodedNameTransformMap;\nexports.FederationModuleManifest = FederationModuleManifest;\nexports.MANIFEST_EXT = MANIFEST_EXT;\nexports.MFModuleType = MFModuleType;\nexports.MFPrefetchCommon = MFPrefetchCommon;\nexports.MODULE_DEVTOOL_IDENTIFIER = MODULE_DEVTOOL_IDENTIFIER;\nexports.ManifestFileName = ManifestFileName;\nexports.NameTransformMap = NameTransformMap;\nexports.NameTransformSymbol = NameTransformSymbol;\nexports.SEPARATOR = SEPARATOR;\nexports.StatsFileName = StatsFileName;\nexports.TEMP_DIR = TEMP_DIR;\nexports.assert = assert;\nexports.bindLoggerToCompiler = bindLoggerToCompiler;\nexports.composeKeyWithSeparator = composeKeyWithSeparator;\nexports.containerPlugin = ContainerPlugin;\nexports.containerReferencePlugin = ContainerReferencePlugin;\nexports.createInfrastructureLogger = createInfrastructureLogger;\nexports.createLink = createLink;\nexports.createLogger = createLogger;\nexports.createModuleFederationConfig = createModuleFederationConfig;\nexports.createScript = createScript;\nexports.createScriptNode = createScriptNode;\nexports.decodeName = decodeName;\nexports.encodeName = encodeName;\nexports.error = error;\nexports.generateExposeFilename = generateExposeFilename;\nexports.generateShareFilename = generateShareFilename;\nexports.generateSnapshotFromManifest = generateSnapshotFromManifest;\nexports.getManifestFileName = getManifestFileName;\nexports.getProcessEnv = getProcessEnv;\nexports.getResourceUrl = getResourceUrl;\nexports.inferAutoPublicPath = inferAutoPublicPath;\nexports.infrastructureLogger = infrastructureLogger;\nexports.isBrowserEnv = isBrowserEnv;\nexports.isDebugMode = isDebugMode;\nexports.isManifestProvider = isManifestProvider;\nexports.isReactNativeEnv = isReactNativeEnv;\nexports.isRequiredVersion = isRequiredVersion;\nexports.isStaticResourcesEqual = isStaticResourcesEqual;\nexports.loadScript = loadScript;\nexports.loadScriptNode = loadScriptNode;\nexports.logger = logger;\nexports.moduleFederationPlugin = ModuleFederationPlugin;\nexports.normalizeOptions = normalizeOptions;\nexports.parseEntry = parseEntry;\nexports.safeToString = safeToString;\nexports.safeWrapper = safeWrapper;\nexports.sharePlugin = SharePlugin;\nexports.simpleJoinRemoteEntry = simpleJoinRemoteEntry;\nexports.warn = warn;\n//# sourceMappingURL=index.cjs.cjs.map\n","'use strict';\n\nconst FEDERATION_SUPPORTED_TYPES = ['script'];\n\nexports.FEDERATION_SUPPORTED_TYPES = FEDERATION_SUPPORTED_TYPES;\n//# sourceMappingURL=constant.cjs.cjs.map\n","'use strict';\n\nvar runtime = require('@module-federation/runtime');\nvar constant = require('./constant.cjs.cjs');\nvar sdk = require('@module-federation/sdk');\n\nfunction _interopNamespaceDefault(e) {\n var n = Object.create(null);\n if (e) {\n for (var k in e) {\n n[k] = e[k];\n }\n }\n n.default = e;\n return Object.freeze(n);\n}\n\nvar runtime__namespace = /*#__PURE__*/_interopNamespaceDefault(runtime);\n\nfunction attachShareScopeMap(webpackRequire) {\n if (!webpackRequire.S ||\n webpackRequire.federation.hasAttachShareScopeMap ||\n !webpackRequire.federation.instance ||\n !webpackRequire.federation.instance.shareScopeMap) {\n return;\n }\n webpackRequire.S = webpackRequire.federation.instance.shareScopeMap;\n webpackRequire.federation.hasAttachShareScopeMap = true;\n}\n\nfunction updateConsumeOptions(options) {\n const { webpackRequire, moduleToHandlerMapping } = options;\n const { consumesLoadingData, initializeSharingData } = webpackRequire;\n if (consumesLoadingData && !consumesLoadingData._updated) {\n const { moduleIdToConsumeDataMapping: updatedModuleIdToConsumeDataMapping = {}, initialConsumes: updatedInitialConsumes = [], chunkMapping: updatedChunkMapping = {}, } = consumesLoadingData;\n Object.entries(updatedModuleIdToConsumeDataMapping).forEach(([id, data]) => {\n if (!moduleToHandlerMapping[id]) {\n moduleToHandlerMapping[id] = {\n getter: data.fallback,\n shareInfo: {\n shareConfig: {\n requiredVersion: data.requiredVersion,\n strictVersion: data.strictVersion,\n singleton: data.singleton,\n eager: data.eager,\n layer: data.layer,\n },\n scope: Array.isArray(data.shareScope)\n ? data.shareScope\n : [data.shareScope || 'default'],\n },\n shareKey: data.shareKey,\n };\n }\n });\n if ('initialConsumes' in options) {\n const { initialConsumes = [] } = options;\n updatedInitialConsumes.forEach((id) => {\n if (!initialConsumes.includes(id)) {\n initialConsumes.push(id);\n }\n });\n }\n if ('chunkMapping' in options) {\n const { chunkMapping = {} } = options;\n Object.entries(updatedChunkMapping).forEach(([id, chunkModules]) => {\n if (!chunkMapping[id]) {\n chunkMapping[id] = [];\n }\n chunkModules.forEach((moduleId) => {\n if (!chunkMapping[id].includes(moduleId)) {\n chunkMapping[id].push(moduleId);\n }\n });\n });\n }\n consumesLoadingData._updated = 1;\n }\n if (initializeSharingData && !initializeSharingData._updated) {\n const { federation } = webpackRequire;\n if (!federation.instance ||\n !initializeSharingData.scopeToSharingDataMapping) {\n return;\n }\n const shared = {};\n for (let [scope, stages] of Object.entries(initializeSharingData.scopeToSharingDataMapping)) {\n for (let stage of stages) {\n if (typeof stage === 'object' && stage !== null) {\n const { name, version, factory, eager, singleton, requiredVersion, strictVersion, } = stage;\n const shareConfig = {\n requiredVersion: `^${version}`,\n };\n const isValidValue = function (val) {\n return typeof val !== 'undefined';\n };\n if (isValidValue(singleton)) {\n shareConfig.singleton = singleton;\n }\n if (isValidValue(requiredVersion)) {\n shareConfig.requiredVersion = requiredVersion;\n }\n if (isValidValue(eager)) {\n shareConfig.eager = eager;\n }\n if (isValidValue(strictVersion)) {\n shareConfig.strictVersion = strictVersion;\n }\n const options = {\n version,\n scope: [scope],\n shareConfig,\n get: factory,\n };\n if (shared[name]) {\n shared[name].push(options);\n }\n else {\n shared[name] = [options];\n }\n }\n }\n }\n federation.instance.registerShared(shared);\n initializeSharingData._updated = 1;\n }\n}\nfunction updateRemoteOptions(options) {\n const { webpackRequire, idToExternalAndNameMapping = {}, idToRemoteMap = {}, chunkMapping = {}, } = options;\n const { remotesLoadingData } = webpackRequire;\n const remoteInfos = webpackRequire.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;\n if (!remotesLoadingData || remotesLoadingData._updated || !remoteInfos) {\n return;\n }\n const { chunkMapping: updatedChunkMapping, moduleIdToRemoteDataMapping } = remotesLoadingData;\n if (!updatedChunkMapping || !moduleIdToRemoteDataMapping) {\n return;\n }\n for (let [moduleId, data] of Object.entries(moduleIdToRemoteDataMapping)) {\n if (!idToExternalAndNameMapping[moduleId]) {\n idToExternalAndNameMapping[moduleId] = [\n data.shareScope,\n data.name,\n data.externalModuleId,\n ];\n }\n if (!idToRemoteMap[moduleId] && remoteInfos[data.remoteName]) {\n const items = remoteInfos[data.remoteName];\n idToRemoteMap[moduleId] ||= [];\n items.forEach((item) => {\n if (!idToRemoteMap[moduleId].includes(item)) {\n idToRemoteMap[moduleId].push(item);\n }\n });\n }\n }\n if (chunkMapping) {\n Object.entries(updatedChunkMapping).forEach(([id, chunkModules]) => {\n if (!chunkMapping[id]) {\n chunkMapping[id] = [];\n }\n chunkModules.forEach((moduleId) => {\n if (!chunkMapping[id].includes(moduleId)) {\n chunkMapping[id].push(moduleId);\n }\n });\n });\n }\n remotesLoadingData._updated = 1;\n}\n\nfunction remotes(options) {\n updateRemoteOptions(options);\n const { chunkId, promises, webpackRequire, chunkMapping, idToExternalAndNameMapping, idToRemoteMap, } = options;\n attachShareScopeMap(webpackRequire);\n if (webpackRequire.o(chunkMapping, chunkId)) {\n chunkMapping[chunkId].forEach((id) => {\n let getScope = webpackRequire.R;\n if (!getScope) {\n getScope = [];\n }\n const data = idToExternalAndNameMapping[id];\n const remoteInfos = idToRemoteMap[id] || [];\n // @ts-ignore seems not work\n if (getScope.indexOf(data) >= 0) {\n return;\n }\n // @ts-ignore seems not work\n getScope.push(data);\n if (data.p) {\n return promises.push(data.p);\n }\n const onError = (error) => {\n if (!error) {\n error = new Error('Container missing');\n }\n if (typeof error.message === 'string') {\n error.message += `\\nwhile loading \"${data[1]}\" from ${data[2]}`;\n }\n webpackRequire.m[id] = () => {\n throw error;\n };\n data.p = 0;\n };\n const handleFunction = (fn, arg1, arg2, d, next, first) => {\n try {\n const promise = fn(arg1, arg2);\n if (promise && promise.then) {\n const p = promise.then((result) => next(result, d), onError);\n if (first) {\n promises.push((data.p = p));\n }\n else {\n return p;\n }\n }\n else {\n return next(promise, d, first);\n }\n }\n catch (error) {\n onError(error);\n }\n };\n const onExternal = (external, _, first) => external\n ? handleFunction(webpackRequire.I, data[0], 0, external, onInitialized, first)\n : onError();\n // eslint-disable-next-line no-var\n var onInitialized = (_, external, first) => handleFunction(external.get, data[1], getScope, 0, onFactory, first);\n // eslint-disable-next-line no-var\n var onFactory = (factory) => {\n data.p = 1;\n webpackRequire.m[id] = (module) => {\n module.exports = factory();\n };\n };\n const onRemoteLoaded = () => {\n try {\n const remoteName = sdk.decodeName(remoteInfos[0].name, sdk.ENCODE_NAME_PREFIX);\n const remoteModuleName = remoteName + data[1].slice(1);\n const instance = webpackRequire.federation.instance;\n const loadRemote = () => webpackRequire.federation.instance.loadRemote(remoteModuleName, {\n loadFactory: false,\n from: 'build',\n });\n if (instance.options.shareStrategy === 'version-first') {\n return Promise.all(instance.sharedHandler.initializeSharing(data[0])).then(() => {\n return loadRemote();\n });\n }\n return loadRemote();\n }\n catch (error) {\n onError(error);\n }\n };\n const useRuntimeLoad = remoteInfos.length === 1 &&\n constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfos[0].externalType) &&\n remoteInfos[0].name;\n if (useRuntimeLoad) {\n handleFunction(onRemoteLoaded, data[2], 0, 0, onFactory, 1);\n }\n else {\n handleFunction(webpackRequire, data[2], 0, 0, onExternal, 1);\n }\n });\n }\n}\n\nfunction consumes(options) {\n updateConsumeOptions(options);\n const { chunkId, promises, installedModules, webpackRequire, chunkMapping, moduleToHandlerMapping, } = options;\n attachShareScopeMap(webpackRequire);\n if (webpackRequire.o(chunkMapping, chunkId)) {\n chunkMapping[chunkId].forEach((id) => {\n if (webpackRequire.o(installedModules, id)) {\n return promises.push(installedModules[id]);\n }\n const onFactory = (factory) => {\n installedModules[id] = 0;\n webpackRequire.m[id] = (module) => {\n delete webpackRequire.c[id];\n const result = factory();\n // Add layer property from shareConfig if available\n const { shareInfo } = moduleToHandlerMapping[id];\n if (shareInfo?.shareConfig?.layer &&\n result &&\n typeof result === 'object') {\n try {\n // Only set layer if it's not already defined or if it's undefined\n if (!result.hasOwnProperty('layer') ||\n result.layer === undefined) {\n result.layer = shareInfo.shareConfig.layer;\n }\n }\n catch (e) {\n // Ignore if layer property is read-only\n }\n }\n module.exports = result;\n };\n };\n const onError = (error) => {\n delete installedModules[id];\n webpackRequire.m[id] = (module) => {\n delete webpackRequire.c[id];\n throw error;\n };\n };\n try {\n const federationInstance = webpackRequire.federation.instance;\n if (!federationInstance) {\n throw new Error('Federation instance not found!');\n }\n const { shareKey, getter, shareInfo } = moduleToHandlerMapping[id];\n const promise = federationInstance\n .loadShare(shareKey, { customShareInfo: shareInfo })\n .then((factory) => {\n if (factory === false) {\n return getter();\n }\n return factory;\n });\n if (promise.then) {\n promises.push((installedModules[id] = promise.then(onFactory).catch(onError)));\n }\n else {\n // @ts-ignore maintain previous logic\n onFactory(promise);\n }\n }\n catch (e) {\n onError(e);\n }\n });\n }\n}\n\nfunction initializeSharing({ shareScopeName, webpackRequire, initPromises, initTokens, initScope, }) {\n const shareScopeKeys = Array.isArray(shareScopeName)\n ? shareScopeName\n : [shareScopeName];\n var initializeSharingPromises = [];\n var _initializeSharing = function (shareScopeKey) {\n if (!initScope)\n initScope = [];\n const mfInstance = webpackRequire.federation.instance;\n // handling circular init calls\n var initToken = initTokens[shareScopeKey];\n if (!initToken)\n initToken = initTokens[shareScopeKey] = { from: mfInstance.name };\n if (initScope.indexOf(initToken) >= 0)\n return;\n initScope.push(initToken);\n const promise = initPromises[shareScopeKey];\n if (promise)\n return promise;\n var warn = (msg) => typeof console !== 'undefined' && console.warn && console.warn(msg);\n var initExternal = (id) => {\n var handleError = (err) => warn('Initialization of sharing external failed: ' + err);\n try {\n var module = webpackRequire(id);\n if (!module)\n return;\n var initFn = (module) => module &&\n module.init &&\n // @ts-ignore compat legacy mf shared behavior\n module.init(webpackRequire.S[shareScopeKey], initScope, {\n shareScopeMap: webpackRequire.S || {},\n shareScopeKeys: shareScopeName,\n });\n if (module.then)\n return promises.push(module.then(initFn, handleError));\n var initResult = initFn(module);\n // @ts-ignore\n if (initResult && typeof initResult !== 'boolean' && initResult.then)\n // @ts-ignore\n return promises.push(initResult['catch'](handleError));\n }\n catch (err) {\n handleError(err);\n }\n };\n const promises = mfInstance.initializeSharing(shareScopeKey, {\n strategy: mfInstance.options.shareStrategy,\n initScope,\n from: 'build',\n });\n attachShareScopeMap(webpackRequire);\n const bundlerRuntimeRemotesOptions = webpackRequire.federation.bundlerRuntimeOptions.remotes;\n if (bundlerRuntimeRemotesOptions) {\n Object.keys(bundlerRuntimeRemotesOptions.idToRemoteMap).forEach((moduleId) => {\n const info = bundlerRuntimeRemotesOptions.idToRemoteMap[moduleId];\n const externalModuleId = bundlerRuntimeRemotesOptions.idToExternalAndNameMapping[moduleId][2];\n if (info.length > 1) {\n initExternal(externalModuleId);\n }\n else if (info.length === 1) {\n const remoteInfo = info[0];\n if (!constant.FEDERATION_SUPPORTED_TYPES.includes(remoteInfo.externalType)) {\n initExternal(externalModuleId);\n }\n }\n });\n }\n if (!promises.length) {\n return (initPromises[shareScopeKey] = true);\n }\n return (initPromises[shareScopeKey] = Promise.all(promises).then(() => (initPromises[shareScopeKey] = true)));\n };\n shareScopeKeys.forEach((key) => {\n initializeSharingPromises.push(_initializeSharing(key));\n });\n return Promise.all(initializeSharingPromises).then(() => true);\n}\n\nfunction handleInitialConsumes(options) {\n const { moduleId, moduleToHandlerMapping, webpackRequire } = options;\n const federationInstance = webpackRequire.federation.instance;\n if (!federationInstance) {\n throw new Error('Federation instance not found!');\n }\n const { shareKey, shareInfo } = moduleToHandlerMapping[moduleId];\n try {\n return federationInstance.loadShareSync(shareKey, {\n customShareInfo: shareInfo,\n });\n }\n catch (err) {\n console.error('loadShareSync failed! The function should not be called unless you set \"eager:true\". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.');\n console.error('The original error message is as follows: ');\n throw err;\n }\n}\nfunction installInitialConsumes(options) {\n const { webpackRequire } = options;\n updateConsumeOptions(options);\n const { initialConsumes, moduleToHandlerMapping, installedModules } = options;\n initialConsumes.forEach((id) => {\n webpackRequire.m[id] = (module) => {\n // Handle scenario when module is used synchronously\n installedModules[id] = 0;\n delete webpackRequire.c[id];\n const factory = handleInitialConsumes({\n moduleId: id,\n moduleToHandlerMapping,\n webpackRequire,\n });\n if (typeof factory !== 'function') {\n throw new Error(`Shared module is not available for eager consumption: ${id}`);\n }\n const result = factory();\n // Add layer property from shareConfig if available\n const { shareInfo } = moduleToHandlerMapping[id];\n if (shareInfo?.shareConfig?.layer &&\n result &&\n typeof result === 'object') {\n try {\n // Only set layer if it's not already defined or if it's undefined\n if (!result.hasOwnProperty('layer') ||\n result.layer === undefined) {\n result.layer = shareInfo.shareConfig.layer;\n }\n }\n catch (e) {\n // Ignore if layer property is read-only\n }\n }\n module.exports = result;\n };\n });\n}\n\nfunction initContainerEntry(options) {\n const { webpackRequire, shareScope, initScope, shareScopeKey, remoteEntryInitOptions, } = options;\n if (!webpackRequire.S)\n return;\n if (!webpackRequire.federation ||\n !webpackRequire.federation.instance ||\n !webpackRequire.federation.initOptions)\n return;\n const federationInstance = webpackRequire.federation.instance;\n federationInstance.initOptions({\n name: webpackRequire.federation.initOptions.name,\n remotes: [],\n ...remoteEntryInitOptions,\n });\n const hostShareScopeKeys = remoteEntryInitOptions?.shareScopeKeys;\n const hostShareScopeMap = remoteEntryInitOptions?.shareScopeMap;\n // host: 'default' remote: 'default' remote['default'] = hostShareScopeMap['default']\n // host: ['default', 'scope1'] remote: 'default' remote['default'] = hostShareScopeMap['default']; remote['scope1'] = hostShareScopeMap['scop1']\n // host: 'default' remote: ['default','scope1'] remote['default'] = hostShareScopeMap['default']; remote['scope1'] = hostShareScopeMap['scope1'] = {}\n // host: ['scope1','default'] remote: ['scope1','scope2'] => remote['scope1'] = hostShareScopeMap['scope1']; remote['scope2'] = hostShareScopeMap['scope2'] = {};\n if (!shareScopeKey || typeof shareScopeKey === 'string') {\n const key = shareScopeKey || 'default';\n if (Array.isArray(hostShareScopeKeys)) {\n // const sc = hostShareScopeMap![key];\n // if (!sc) {\n // throw new Error('shareScopeKey is not exist in hostShareScopeMap');\n // }\n // federationInstance.initShareScopeMap(key, sc, {\n // hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n // });\n hostShareScopeKeys.forEach((hostKey) => {\n if (!hostShareScopeMap[hostKey]) {\n hostShareScopeMap[hostKey] = {};\n }\n const sc = hostShareScopeMap[hostKey];\n federationInstance.initShareScopeMap(hostKey, sc, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n });\n }\n else {\n federationInstance.initShareScopeMap(key, shareScope, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n }\n }\n else {\n shareScopeKey.forEach((key) => {\n if (!hostShareScopeKeys || !hostShareScopeMap) {\n federationInstance.initShareScopeMap(key, shareScope, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n return;\n }\n if (!hostShareScopeMap[key]) {\n hostShareScopeMap[key] = {};\n }\n const sc = hostShareScopeMap[key];\n federationInstance.initShareScopeMap(key, sc, {\n hostShareScopeMap: remoteEntryInitOptions?.shareScopeMap || {},\n });\n });\n }\n if (webpackRequire.federation.attachShareScopeMap) {\n webpackRequire.federation.attachShareScopeMap(webpackRequire);\n }\n if (typeof webpackRequire.federation.prefetch === 'function') {\n webpackRequire.federation.prefetch();\n }\n if (!Array.isArray(shareScopeKey)) {\n // @ts-ignore\n return webpackRequire.I(shareScopeKey || 'default', initScope);\n }\n var proxyInitializeSharing = Boolean(webpackRequire.federation.initOptions.shared);\n if (proxyInitializeSharing) {\n // @ts-ignore\n return webpackRequire.I(shareScopeKey, initScope);\n }\n // @ts-ignore\n return Promise.all(shareScopeKey.map((key) => {\n // @ts-ignore\n return webpackRequire.I(key, initScope);\n })).then(() => true);\n}\n\nconst federation = {\n runtime: runtime__namespace,\n instance: undefined,\n initOptions: undefined,\n bundlerRuntime: {\n remotes,\n consumes,\n I: initializeSharing,\n S: {},\n installInitialConsumes,\n initContainerEntry,\n },\n attachShareScopeMap,\n bundlerRuntimeOptions: {},\n};\n\nmodule.exports = federation;\n//# sourceMappingURL=index.cjs.cjs.map\n","\nif(!__webpack_require__.federation){\n __webpack_require__.federation = {\n \nchunkMatcher: function(chunkId) {\n return !/^7(25|89)$/.test(chunkId);\n},\nrootOutputDir: \"../\",\n\n };\n}\n","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(\n\t\tObject.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t\t__webpack_require__.f[key](chunkId, promises);\n\t\t\treturn promises;\n\t\t}, [])\n\t);\n};","// This function allow to reference chunks\n__webpack_require__.k = (chunkId) => {\n // return url for filenames not based on template\n \n // return url for filenames based on template\n return \"\" + chunkId + \".css\"\n}","// This function allow to reference chunks\n__webpack_require__.u = (chunkId) => {\n // return url for filenames not based on template\n \n // return url for filenames based on template\n return \"js/\" + chunkId + \".\" + \"11f1986314ccb447\" + \".js\"\n}","__webpack_require__.g = (() => {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\n\nvar uniqueName = \"@terrestris/shogun-admin:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function (url, done, key, chunkId) {\n\tif (inProgress[url]) {\n\t\tinProgress[url].push(done);\n\t\treturn;\n\t}\n\tvar script, needAttach;\n\tif (key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor (var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif (s.getAttribute(\"src\") == url || s.getAttribute(\"data-rspack\") == uniqueName + key) {\n\t\t\t\tscript = s;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tif (!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\nscript.timeout = 120;\nif (__webpack_require__.nc) {\n script.setAttribute(\"nonce\", __webpack_require__.nc);\n}\n\nscript.setAttribute(\"data-rspack\", uniqueName + key);\n\n\n\nscript.src = url;\n\n\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function (prev, event) {\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns &&\n\t\t\tdoneFns.forEach(function (fn) {\n\t\t\t\treturn fn(event);\n\t\t\t});\n\t\tif (prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(\n\t\tonScriptComplete.bind(null, undefined, {\n\t\t\ttype: 'timeout',\n\t\t\ttarget: script\n\t\t}),\n\t\t120000\n\t);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n module.paths = [];\n if (!module.children) module.children = [];\n return module;\n};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif (chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor (var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--)\n\t\t\tdeferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (\n\t\t\t\t(priority & (1 === 0) || notFulfilled >= priority) &&\n\t\t\t\tObject.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))\n\t\t\t) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif (priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif (fulfilled) {\n\t\t\tdeferred.splice(i--, 1);\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};\n","__webpack_require__.rv = () => (\"1.6.8\")","\n__webpack_require__.S = {};\n__webpack_require__.initializeSharingData = { scopeToSharingDataMapping: { \"default\": [{ name: \"ol/Feature\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(22772))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/ImageState\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80398))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/Map\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/TileState\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(74255))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/View\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/events/Event.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43354))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/events/EventType.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55506))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/extent.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85752))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/GeoJSON\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/MVT\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/format/WMTSCapabilities\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(23741))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/functions.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(29991))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/geom/GeometryCollection\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28383))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/geom/Point\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(51117))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DblClickDragZoom.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36566))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DoubleClickZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(92601))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragPan\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28352))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragRotate\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(16712))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragRotateAndZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(50884))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/DragZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(97037))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/KeyboardPan\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67869))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/KeyboardZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(79999))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/MouseWheelZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80096))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/PinchRotate\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(93474))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/PinchZoom\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64242))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/interaction/defaults\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99443))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Group\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Layer\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Tile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/Vector\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/layer/VectorTile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/loadingstrategy\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/ol.css\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(46646))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj/Units\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj/proj4\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28153))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/proj\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render/Feature.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35473))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render/canvas.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96299))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/render\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67652))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85486))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/ImageWMS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67002))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/OSM\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(20303))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Raster.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78950))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Source.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98550))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/StadiaMaps\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(19415))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileImage\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(81355))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileJSON.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98302))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/TileWMS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(86483))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/Vector\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/VectorTile\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/WMTS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(33261))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/source/XYZ\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(6553))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Circle\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Fill\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Icon\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Image\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(63393))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/RegularShape\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32739))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Stroke\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Style\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/style/Text\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid.js\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(53800))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid/TileGrid\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/tilegrid/WMTS\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43618))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"ol/util\", version: \"10.7.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(94092))))), eager: 0, singleton: 1, requiredVersion: \"10.7.0\" }, { name: \"react-dom\", version: \"19.0.0\", factory: () => (Promise.all([__webpack_require__.e(\"644\"), __webpack_require__.e(\"789\")]).then(() => (() => (__webpack_require__(40961))))), eager: 0, singleton: 1, requiredVersion: \"19.0.0\" }, { name: \"react-i18next\", version: \"16.5.0\", factory: () => (Promise.all([__webpack_require__.e(\"644\"), __webpack_require__.e(\"789\")]).then(() => (() => (__webpack_require__(458))))), eager: 0, singleton: 1, requiredVersion: \"16.5.0\" }, { name: \"react\", version: \"19.0.0\", factory: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96540))))), eager: 0, singleton: 1, requiredVersion: \"19.0.0\" }] }, uniqueName: \"@terrestris/shogun-admin\" };\n__webpack_require__.I = __webpack_require__.I || function() { throw new Error(\"should have __webpack_require__.I\") }\n","var scriptUrl;\n\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n // Technically we could use `document.currentScript instanceof window.HTMLScriptElement`,\n // but an attacker could try to inject `<script>HTMLScriptElement = HTMLImageElement</script>`\n // and use `<img name=\"currentScript\" src=\"https://attacker.controlled.server/\"></img>`\n if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') scriptUrl = document.currentScript.src;\n if (!scriptUrl) {\n var scripts = document.getElementsByTagName(\"script\");\n if (scripts.length) {\n var i = scripts.length - 1;\n while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n }\n }\n}\n\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\",\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.',\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n\n__webpack_require__.p = scriptUrl + '../';\n","\n__webpack_require__.consumesLoadingData = { chunkMapping: {\"789\":[\"72660\"],\"725\":[\"75308\",\"34748\",\"65592\"],\"799\":[\"63731\",\"32755\",\"52627\",\"69192\",\"84711\",\"8043\",\"15683\",\"95531\",\"31330\",\"19011\",\"21406\",\"57107\",\"24867\",\"58921\",\"66858\",\"27995\",\"74376\",\"45123\",\"83539\",\"61652\",\"90585\",\"25096\",\"25675\",\"27724\",\"50278\",\"20648\",\"40883\",\"88473\",\"11027\",\"99150\",\"16343\",\"22543\",\"7826\",\"5292\",\"30327\",\"70856\",\"9032\",\"79301\",\"14975\",\"80388\",\"11712\",\"67335\",\"60195\",\"81023\",\"59216\",\"28916\",\"7891\",\"56639\",\"80376\",\"91531\",\"59379\",\"66171\",\"76035\",\"48584\",\"65407\",\"73055\",\"98218\",\"49608\",\"24176\",\"85484\",\"54139\",\"58579\",\"6440\",\"91151\",\"24482\",\"77532\",\"42863\",\"76275\",\"94246\",\"32680\",\"58269\",\"56766\",\"23255\",\"60517\",\"5003\",\"3641\",\"17047\",\"72891\",\"5140\",\"72923\",\"14759\",\"60686\",\"15696\",\"71347\",\"9971\",\"52243\",\"71919\",\"29737\"]}, moduleIdToConsumeDataMapping: {\"15683\": { shareScope: \"default\", shareKey: \"ol/interaction/defaults\", import: \"ol/interaction/defaults\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99443))))) }, \"58269\": { shareScope: \"default\", shareKey: \"ol/Map\", import: \"ol/Map\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))) }, \"5140\": { shareScope: \"default\", shareKey: \"ol/layer/Layer.js\", import: \"ol/layer/Layer.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))) }, \"94246\": { shareScope: \"default\", shareKey: \"ol/View.js\", import: \"ol/View.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))) }, \"60517\": { shareScope: \"default\", shareKey: \"ol/interaction/DragPan\", import: \"ol/interaction/DragPan\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28352))))) }, \"85484\": { shareScope: \"default\", shareKey: \"ol/functions.js\", import: \"ol/functions.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(29991))) }, \"25096\": { shareScope: \"default\", shareKey: \"ol/TileState.js\", import: \"ol/TileState.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(74255))) }, \"42863\": { shareScope: \"default\", shareKey: \"ol/layer/Tile\", import: \"ol/layer/Tile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))) }, \"3641\": { shareScope: \"default\", shareKey: \"ol/tilegrid/WMTS\", import: \"ol/tilegrid/WMTS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(43618))))) }, \"29737\": { shareScope: \"default\", shareKey: \"ol/Feature\", import: \"ol/Feature\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(22772))))) }, \"45123\": { shareScope: \"default\", shareKey: \"ol/format/WMTSCapabilities\", import: \"ol/format/WMTSCapabilities\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(23741))))) }, \"66858\": { shareScope: \"default\", shareKey: \"ol/layer/VectorTile.js\", import: \"ol/layer/VectorTile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))) }, \"88473\": { shareScope: \"default\", shareKey: \"ol/source/ImageWMS\", import: \"ol/source/ImageWMS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67002))))) }, \"72923\": { shareScope: \"default\", shareKey: \"ol/ImageState\", import: \"ol/ImageState\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80398))))) }, \"52627\": { shareScope: \"default\", shareKey: \"ol/source/OSM\", import: \"ol/source/OSM\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(20303))))) }, \"24176\": { shareScope: \"default\", shareKey: \"ol/loadingstrategy.js\", import: \"ol/loadingstrategy.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))) }, \"56766\": { shareScope: \"default\", shareKey: \"ol/style/Fill.js\", import: \"ol/style/Fill.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))) }, \"27995\": { shareScope: \"default\", shareKey: \"ol/format/GeoJSON\", import: \"ol/format/GeoJSON\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))) }, \"11027\": { shareScope: \"default\", shareKey: \"ol/source/WMTS\", import: \"ol/source/WMTS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(33261))))) }, \"11712\": { shareScope: \"default\", shareKey: \"ol/tilegrid/TileGrid.js\", import: \"ol/tilegrid/TileGrid.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))) }, \"54139\": { shareScope: \"default\", shareKey: \"ol/style/Icon\", import: \"ol/style/Icon\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))) }, \"99150\": { shareScope: \"default\", shareKey: \"ol/proj/Units.js\", import: \"ol/proj/Units.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))) }, \"90585\": { shareScope: \"default\", shareKey: \"ol/interaction/DragRotateAndZoom\", import: \"ol/interaction/DragRotateAndZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(50884))))) }, \"34748\": { shareScope: \"default\", shareKey: \"react-i18next\", import: \"react-i18next\", requiredVersion: \"16.5.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(458))))) }, \"61652\": { shareScope: \"default\", shareKey: \"ol/source/VectorTile.js\", import: \"ol/source/VectorTile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))) }, \"25675\": { shareScope: \"default\", shareKey: \"ol/geom/Point\", import: \"ol/geom/Point\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(51117))))) }, \"77532\": { shareScope: \"default\", shareKey: \"ol/source/TileJSON.js\", import: \"ol/source/TileJSON.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98302))))) }, \"91531\": { shareScope: \"default\", shareKey: \"ol/interaction/DragZoom\", import: \"ol/interaction/DragZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(97037))))) }, \"79301\": { shareScope: \"default\", shareKey: \"ol/interaction/PinchRotate\", import: \"ol/interaction/PinchRotate\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(93474))))) }, \"73055\": { shareScope: \"default\", shareKey: \"ol/layer/Group\", import: \"ol/layer/Group\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))) }, \"15696\": { shareScope: \"default\", shareKey: \"ol/layer/Image.js\", import: \"ol/layer/Image.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))) }, \"98218\": { shareScope: \"default\", shareKey: \"ol/proj.js\", import: \"ol/proj.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))) }, \"17047\": { shareScope: \"default\", shareKey: \"ol/source/StadiaMaps\", import: \"ol/source/StadiaMaps\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(19415))))) }, \"72660\": { shareScope: \"default\", shareKey: \"react\", import: \"react\", requiredVersion: \"19.0.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96540))))) }, \"9971\": { shareScope: \"default\", shareKey: \"ol/layer/Image\", import: \"ol/layer/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(99634))))) }, \"8043\": { shareScope: \"default\", shareKey: \"ol/style/Stroke\", import: \"ol/style/Stroke\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))) }, \"80388\": { shareScope: \"default\", shareKey: \"ol/source/Vector.js\", import: \"ol/source/Vector.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))) }, \"32680\": { shareScope: \"default\", shareKey: \"ol/events/EventType.js\", import: \"ol/events/EventType.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(55506))) }, \"31330\": { shareScope: \"default\", shareKey: \"ol/render/Feature.js\", import: \"ol/render/Feature.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35473))))) }, \"76275\": { shareScope: \"default\", shareKey: \"ol/style/Style\", import: \"ol/style/Style\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))) }, \"24482\": { shareScope: \"default\", shareKey: \"ol/layer/Vector.js\", import: \"ol/layer/Vector.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))) }, \"32755\": { shareScope: \"default\", shareKey: \"ol/style/Image\", import: \"ol/style/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(63393))))) }, \"66171\": { shareScope: \"default\", shareKey: \"ol/source/TileImage\", import: \"ol/source/TileImage\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(81355))))) }, \"14759\": { shareScope: \"default\", shareKey: \"ol/source/Vector\", import: \"ol/source/Vector\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(77573))))) }, \"6440\": { shareScope: \"default\", shareKey: \"ol/events/Event.js\", import: \"ol/events/Event.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(43354))) }, \"52243\": { shareScope: \"default\", shareKey: \"ol/interaction/DoubleClickZoom\", import: \"ol/interaction/DoubleClickZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(92601))))) }, \"58921\": { shareScope: \"default\", shareKey: \"ol/interaction/PinchZoom\", import: \"ol/interaction/PinchZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64242))))) }, \"69192\": { shareScope: \"default\", shareKey: \"ol/style/Circle.js\", import: \"ol/style/Circle.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))) }, \"16343\": { shareScope: \"default\", shareKey: \"ol/geom/GeometryCollection\", import: \"ol/geom/GeometryCollection\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28383))))) }, \"21406\": { shareScope: \"default\", shareKey: \"ol/style/Text.js\", import: \"ol/style/Text.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))) }, \"28916\": { shareScope: \"default\", shareKey: \"ol/style/Style.js\", import: \"ol/style/Style.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48069))))) }, \"67335\": { shareScope: \"default\", shareKey: \"ol/View\", import: \"ol/View\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(55795))))) }, \"58579\": { shareScope: \"default\", shareKey: \"ol/source/TileWMS\", import: \"ol/source/TileWMS\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(86483))))) }, \"7891\": { shareScope: \"default\", shareKey: \"ol/interaction/DragRotate\", import: \"ol/interaction/DragRotate\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(16712))))) }, \"63731\": { shareScope: \"default\", shareKey: \"ol/source/Image\", import: \"ol/source/Image\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85486))))) }, \"49608\": { shareScope: \"default\", shareKey: \"ol/Map.js\", import: \"ol/Map.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(30079))))) }, \"59216\": { shareScope: \"default\", shareKey: \"ol/source/Raster.js\", import: \"ol/source/Raster.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78950))))) }, \"71347\": { shareScope: \"default\", shareKey: \"ol/proj\", import: \"ol/proj\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(13686))))) }, \"27724\": { shareScope: \"default\", shareKey: \"ol/tilegrid.js\", import: \"ol/tilegrid.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(53800))))) }, \"74376\": { shareScope: \"default\", shareKey: \"ol/source/Source.js\", import: \"ol/source/Source.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98550))))) }, \"20648\": { shareScope: \"default\", shareKey: \"ol/layer/Tile.js\", import: \"ol/layer/Tile.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(90230))))) }, \"71919\": { shareScope: \"default\", shareKey: \"ol/interaction/MouseWheelZoom\", import: \"ol/interaction/MouseWheelZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(80096))))) }, \"65592\": { shareScope: \"default\", shareKey: \"react-dom\", import: \"react-dom\", requiredVersion: \"19.0.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(40961))))) }, \"83539\": { shareScope: \"default\", shareKey: \"ol/util\", import: \"ol/util\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(94092))) }, \"19011\": { shareScope: \"default\", shareKey: \"ol/proj/proj4\", import: \"ol/proj/proj4\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(28153))))) }, \"56639\": { shareScope: \"default\", shareKey: \"ol/tilegrid/TileGrid\", import: \"ol/tilegrid/TileGrid\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(76855))))) }, \"59379\": { shareScope: \"default\", shareKey: \"ol/interaction/KeyboardPan\", import: \"ol/interaction/KeyboardPan\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67869))))) }, \"57107\": { shareScope: \"default\", shareKey: \"ol/style/RegularShape\", import: \"ol/style/RegularShape\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32739))))) }, \"65407\": { shareScope: \"default\", shareKey: \"ol/source/VectorTile\", import: \"ol/source/VectorTile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67759))))) }, \"9032\": { shareScope: \"default\", shareKey: \"ol/style/Stroke.js\", import: \"ol/style/Stroke.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(75370))))) }, \"95531\": { shareScope: \"default\", shareKey: \"ol/format/MVT\", import: \"ol/format/MVT\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))) }, \"91151\": { shareScope: \"default\", shareKey: \"ol/layer/VectorTile\", import: \"ol/layer/VectorTile\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64563))))) }, \"23255\": { shareScope: \"default\", shareKey: \"ol/source/XYZ\", import: \"ol/source/XYZ\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(6553))))) }, \"81023\": { shareScope: \"default\", shareKey: \"ol/TileState\", import: \"ol/TileState\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(74255))) }, \"5003\": { shareScope: \"default\", shareKey: \"ol/loadingstrategy\", import: \"ol/loadingstrategy\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(98027))))) }, \"22543\": { shareScope: \"default\", shareKey: \"ol/render\", import: \"ol/render\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(67652))))) }, \"50278\": { shareScope: \"default\", shareKey: \"ol/format/GeoJSON.js\", import: \"ol/format/GeoJSON.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(52976))))) }, \"75308\": { shareScope: \"default\", shareKey: \"ol/ol.css\", import: \"ol/ol.css\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(46646))))) }, \"40883\": { shareScope: \"default\", shareKey: \"ol/layer/Layer\", import: \"ol/layer/Layer\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(48341))))) }, \"7826\": { shareScope: \"default\", shareKey: \"ol/format/MVT.js\", import: \"ol/format/MVT.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(78008))))) }, \"30327\": { shareScope: \"default\", shareKey: \"ol/style/Circle\", import: \"ol/style/Circle\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(61174))))) }, \"70856\": { shareScope: \"default\", shareKey: \"ol/layer/Group.js\", import: \"ol/layer/Group.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(32247))))) }, \"5292\": { shareScope: \"default\", shareKey: \"ol/util.js\", import: \"ol/util.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (() => (__webpack_require__(94092))) }, \"76035\": { shareScope: \"default\", shareKey: \"ol/proj/Units\", import: \"ol/proj/Units\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(38531))))) }, \"48584\": { shareScope: \"default\", shareKey: \"ol/interaction/DblClickDragZoom.js\", import: \"ol/interaction/DblClickDragZoom.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36566))))) }, \"72891\": { shareScope: \"default\", shareKey: \"ol/extent.js\", import: \"ol/extent.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(85752))))) }, \"60686\": { shareScope: \"default\", shareKey: \"ol/style/Icon.js\", import: \"ol/style/Icon.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(35299))))) }, \"80376\": { shareScope: \"default\", shareKey: \"ol/render/canvas.js\", import: \"ol/render/canvas.js\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(96299))))) }, \"60195\": { shareScope: \"default\", shareKey: \"ol/style/Fill\", import: \"ol/style/Fill\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(36763))))) }, \"24867\": { shareScope: \"default\", shareKey: \"ol/interaction/KeyboardZoom\", import: \"ol/interaction/KeyboardZoom\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(79999))))) }, \"84711\": { shareScope: \"default\", shareKey: \"ol/layer/Vector\", import: \"ol/layer/Vector\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(64923))))) }, \"14975\": { shareScope: \"default\", shareKey: \"ol/style/Text\", import: \"ol/style/Text\", requiredVersion: \"10.7.0\", strictVersion: false, singleton: true, eager: false, fallback: () => (__webpack_require__.e(\"644\").then(() => (() => (__webpack_require__(14477))))) }}, initialConsumes: [] };\n__webpack_require__.f.consumes = __webpack_require__.f.consumes || function() { throw new Error(\"should have __webpack_require__.f.consumes\") }","var installedChunks = {\"5\": 0,\"644\": 0,};\nvar uniqueName = \"@terrestris/shogun-admin\";\nfunction handleCssComposes(exports, composes) {\n\tfor (var i = 0; i < composes.length; i += 3) {\n\t\tvar moduleId = composes[i];\n\t\tvar composeFrom = composes[i + 1];\n\t\tvar composeVar = composes[i + 2];\n\t\tvar composedId = __webpack_require__(composeFrom)[composeVar];\n\t\texports[moduleId] = exports[moduleId] + \" \" + composedId\n\t}\n}\nvar loadCssChunkData = (target, chunkId) => {\n\ninstalledChunks[chunkId] = 0;\n\n} \nvar loadingAttribute = \"data-rspack-loading\";\nvar loadStylesheet = (chunkId, url, done, hmr, fetchPriority) => {\n\tvar link,\n\t\tneedAttach,\n\t\tkey = \"chunk-\" + chunkId;\n\tif (!hmr) {\n\t\tvar links = document.getElementsByTagName(\"link\");\n\t\tfor (var i = 0; i < links.length; i++) {\n\t\t\tvar l = links[i];\n\t\t\tvar href = l.getAttribute(\"href\") || l.href;\n\t\t\tif (href && !href.startsWith(__webpack_require__.p)) {\n\t\t\t\thref =\n\t\t\t\t\t__webpack_require__.p + (href.startsWith(\"/\") ? href.slice(1) : href);\n\t\t\t}\n\t\t\tif (\n\t\t\t\tl.rel == \"stylesheet\" &&\n\t\t\t\t((href && href.startsWith(url)) ||\n\t\t\t\t\tl.getAttribute(\"data-rspack\") == uniqueName + \":\" + key)\n\t\t\t) {\n\t\t\t\tlink = l;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (!done) return link;\n\t}\n\tif (!link) {\n\t\tneedAttach = true;\n\t\tlink = document.createElement(\"link\");\n\nif (__webpack_require__.nc) {\n link.setAttribute(\"nonce\", __webpack_require__.nc);\n}\n\nlink.setAttribute(\"data-rspack\", uniqueName + \":\" + key);\n\n\nlink.setAttribute(loadingAttribute, 1);\nlink.rel = \"stylesheet\";\nlink.href = url;\n\n\t}\n\tvar onLinkComplete = (prev, event) => {\n\t\tlink.onerror = link.onload = null;\n\t\tlink.removeAttribute(loadingAttribute);\n\t\tclearTimeout(timeout);\n\t\tif (event && event.type != \"load\") link.parentNode.removeChild(link);\n\t\tdone(event);\n\t\tif (prev) return prev(event);\n\t};\n\tif (link.getAttribute(loadingAttribute)) {\n\t\tvar timeout = setTimeout(\n\t\t\tonLinkComplete.bind(null, undefined, { type: \"timeout\", target: link }),\n\t\t\t120000 \n\t\t);\n\t\tlink.onerror = onLinkComplete.bind(null, link.onerror);\n\t\tlink.onload = onLinkComplete.bind(null, link.onload);\n\t} else onLinkComplete(undefined, { type: \"load\", target: link });\n\tif (hmr && hmr.getAttribute(\"fetchpriority\")) link.setAttribute(\"fetchpriority\", hmr.getAttribute(\"fetchpriority\"));\n\thmr ? document.head.insertBefore(link, hmr) : needAttach && document.head.appendChild(link);\n\treturn link;\n};\nloadCssChunkData(__webpack_require__.m, 0, \"5\");loadCssChunkData(__webpack_require__.m, 0, \"644\");\n__webpack_require__.f.css = (chunkId, promises, fetchPriority) => {\n\t// css chunk loading\n\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId)\n\t\t? installedChunks[chunkId]\n\t\t: undefined;\n\tif (installedChunkData !== 0) {\n\t\t// 0 means \"already installed\".\n\n\t\t// a Promise means \"currently loading\".\n\t\tif (installedChunkData) {\n\t\t\tpromises.push(installedChunkData[2]);\n\t\t} else {\n\t\t\tif (/^(5|644)$/.test(chunkId)) {\n\t\t\t\t// setup Promise in chunk cache\n\t\t\t\tvar promise = new Promise(function (resolve, reject) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n\t\t\t\t});\n\t\t\t\tpromises.push((installedChunkData[2] = promise));\n\n\t\t\t\t// start chunk loading\n\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.k(chunkId);\n\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\tvar error = new Error();\n\t\t\t\tvar loadingEnded = function (event) {\n\t\t\t\t\tif (__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\tif (installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\tif (installedChunkData) {\n\t\t\t\t\t\t\tif (event.type !== \"load\") {\n\t\t\t\t\t\t\t\tvar errorType = event && event.type;\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message =\n\t\t\t\t\t\t\t\t\t\"Loading css chunk \" +\n\t\t\t\t\t\t\t\t\tchunkId +\n\t\t\t\t\t\t\t\t\t\" failed.\\n(\" +\n\t\t\t\t\t\t\t\t\terrorType +\n\t\t\t\t\t\t\t\t\t\": \" +\n\t\t\t\t\t\t\t\t\trealSrc +\n\t\t\t\t\t\t\t\t\t\")\";\n\t\t\t\t\t\t\t\terror.name = \"ChunkLoadError\";\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tloadCssChunkData(__webpack_require__.m, chunkId);\n\t\t\t\t\t\t\t\tinstalledChunkData[0]();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tif (typeof document !== 'undefined') {\n\t\t\t\t\tloadStylesheet(chunkId, url, loadingEnded, undefined, fetchPriority);\n\t\t\t\t} else { loadingEnded({ type: 'load' }); }\n\t\t\t} else installedChunks[chunkId] = 0;\n\t\t}\n\t}\n};\n","\n // object to store loaded and loading chunks\n // undefined = chunk not loaded, null = chunk preloaded/prefetched\n // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\n var installedChunks = {\"341\": 0,};\n \n __webpack_require__.f.j = function (chunkId, promises) {\n // JSONP chunk loading for javascript\nvar installedChunkData = __webpack_require__.o(installedChunks, chunkId)\n\t? installedChunks[chunkId]\n\t: undefined;\nif (installedChunkData !== 0) {\n\t// 0 means \"already installed\".\n\n\t// a Promise means \"currently loading\".\n\tif (installedChunkData) {\n\t\tpromises.push(installedChunkData[2]);\n\t} else {\n\t\tif (!/^7(25|89)$/.test(chunkId)) {\n\t\t\t// setup Promise in chunk cache\n\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\tpromises.push((installedChunkData[2] = promise));\n\n\t\t\t// start chunk loading\n\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\tvar error = new Error();\n\t\t\tvar loadingEnded = function (event) {\n\t\t\t\tif (__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\tif (installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\tif (installedChunkData) {\n\t\t\t\t\t\tvar errorType =\n\t\t\t\t\t\t\tevent && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\terror.message =\n\t\t\t\t\t\t\t'Loading chunk ' +\n\t\t\t\t\t\t\tchunkId +\n\t\t\t\t\t\t\t' failed.\\n(' +\n\t\t\t\t\t\t\terrorType +\n\t\t\t\t\t\t\t': ' +\n\t\t\t\t\t\t\trealSrc +\n\t\t\t\t\t\t\t')';\n\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t} else installedChunks[chunkId] = 0; \n\t}\n}\n\n }\n __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n// install a JSONP callback for chunk loading\nvar __rspack_jsonp = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif (chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor (moduleId in moreModules) {\n\t\t\tif (__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif (runtime) var result = runtime(__webpack_require__);\n\t}\n\tif (parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor (; i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif (\n\t\t\t__webpack_require__.o(installedChunks, chunkId) &&\n\t\t\tinstalledChunks[chunkId]\n\t\t) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\t\n\treturn __webpack_require__.O(result);\n\t\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunk_terrestris_shogun_admin\"] = self[\"webpackChunk_terrestris_shogun_admin\"] || [];\nchunkLoadingGlobal.forEach(__rspack_jsonp.bind(null, 0));\nchunkLoadingGlobal.push = __rspack_jsonp.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\n","__webpack_require__.ruid = \"bundler=rspack@1.6.8\";","var prevStartup = __webpack_require__.x;\nvar hasRun = false;\n__webpack_require__.x = function() {\n\tif (!hasRun) {\n\t\thasRun = true;\n\t\t__webpack_require__(67120)\n\t}\n\tif (typeof prevStartup === 'function') {\n\t\treturn prevStartup();\n\t} else {\n\t\tconsole.warn('[MF] Invalid prevStartup');\n\t}\n};"],"names":["e","o","JSON","Array","Symbol","TypeError","Object","__module_federation_runtime_plugins__","__module_federation_remote_infos__","__module_federation_container_name__","__module_federation_share_strategy__","__webpack_require__","__webpack_require___remotesLoadingData","__webpack_require___remotesLoadingData1","__webpack_require___initializeSharingData","__webpack_require___consumesLoadingData","__webpack_require___consumesLoadingData1","__webpack_require___initializeExposesData","__webpack_require___consumesLoadingData2","__webpack_require___remotesLoadingData_chunkMapping","__webpack_require___remotesLoadingData_moduleIdToRemoteDataMapping","__webpack_require___initializeSharingData_scopeToSharingDataMapping","__webpack_require___consumesLoadingData_chunkMapping","__webpack_require___consumesLoadingData_moduleIdToConsumeDataMapping","override","obj","key","value","merge","fn","_obj_key","_obj","_key","_","_obj1","_key1","_1","_type_of","early","initial","remotesLoadingChunkMapping","remotesLoadingModuleIdToRemoteDataMapping","initializeSharingScopeToInitDataMapping","consumesLoadingChunkMapping","consumesLoadingModuleToConsumeDataMapping","consumesLoadinginstalledModules","initializeSharingInitPromises","initializeSharingInitTokens","containerShareScope","__module_federation_bundler_runtime__","consumesLoadingModuleToHandlerMapping","_iteratorError","moduleId","data","shared","scope","stages","_iteratorError1","stage","name","version","factory","eager","singleton","requiredVersion","strictVersion","shareConfig","isValidValue","val","options","remote","remotesLoadingIdToExternalAndNameMappingMapping","idToRemoteMap","id","info","remoteData","chunkId","promises","initScope","shareScope","remoteEntryInitOptions","module1","getScope","moduleMap","Promise","Error","undefined","globalThis","window","document","Map","t","RegExp","Number","r","Boolean","console","s","FEDERATION_ALLOW_NEW_FUNCTION","Function","HTMLScriptElement","ENV_TARGET","HTMLLinkElement","Set","d","Response","fetch","a","i","n","URL","FederationModuleManifest","MANIFEST_EXT","BROWSER_LOG_KEY","NameTransformSymbol","NameTransformMap","EncodedNameTransformMap","SEPARATOR","ManifestFileName","StatsFileName","MFModuleType","MODULE_DEVTOOL_IDENTIFIER","ENCODE_NAME_PREFIX","TEMP_DIR","MFPrefetchCommon","ContainerPlugin","ContainerReferencePlugin","ModuleFederationPlugin","SharePlugin","isBrowserEnv","isReactNativeEnv","navigator","isBrowserDebug","localStorage","isDebugMode","process","FEDERATION_DEBUG","getProcessEnv","LOG_CATEGORY","parseEntry","composeKeyWithSeparator","encodeName","decodeName","generateExposeFilename","generateShareFilename","getResourceUrl","assert","error","warn","safeToString","VERSION_PATTERN_REGEXP","isRequiredVersion","simpleJoinRemoteEntry","inferAutoPublicPath","generateSnapshotFromManifest","isManifestProvider","getManifestFileName","PREFIX","DEFAULT_DELEGATE","LOGGER_STACK_SKIP_TOKENS","captureStackTrace","Logger","createLogger","createInfrastructureLogger","bindLoggerToCompiler","logger","infrastructureLogger","safeWrapper","isStaticResourcesEqual","createScript","clearTimeout","setTimeout","createLink","loadScript","sdkImportCache","importNodeModule","loadNodeFetch","lazyLoaderHookFetch","createScriptNode","url","cb","attrs","loaderHook","urlObj","hookResult","getFetch","handleScriptFetch","f","res","path","vm","scriptContext","urlDirname","filename","script","eval","exportedInterface","container","loadModule","loadScriptNode","esmModuleCache","normalizeOptions","createModuleFederationConfig","exports","h","self"],"mappings":"uDAEA,IAAM,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAc,cACd,EAAW,WACX,EAAY,YACZ,EAAY,YAEZ,EAAa,AAACA,IAChB,IAAM,EAAOA,EAAU,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,GAChD,MAAO,CAAC,sFAAsF,EAAE,EAAK,CAAC,EAAEA,EAAU,CAAC,AACvH,EACM,EAAmB,CAACA,EAAW,EAAc,EAAMC,KACrD,IAAM,EAAM,CAAC,CAAC,EAAE,CAAC,CAAY,CAACD,EAAU,CAAC,CAAC,EAAE,EAAEA,EAAU,CAAC,CAAC,CAI1D,OAHA,GAAQ,EAAI,IAAI,CAAC,CAAC,MAAM,EAAEE,KAAK,SAAS,C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