@reventlessdev/reventless-host-shell 3.0.0-alpha.94 → 3.0.0-alpha.96

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.
@@ -1 +1 @@
1
- import{P as e,Q as t}from"./index-CAdS_8Us.js";import"./virtualExposes-DN39MDG_.js";import"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-Dep87C4a.js";import"./preload-helper-BhLMWRjL.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-DysgZ6xd.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-DWrxCvCs.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs_commonjs-proxy-BBGkOHMQ.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-CkYd2Guw.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-BS-h5UZc.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-B8MMWKQv.js";class r{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:e,serializer:t,deserializer:r,serdeContext:s,defaultContentType:a}){this.marshaller=e,this.serializer=t,this.deserializer=r,this.serdeContext=s,this.defaultContentType=a}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){const s=this.marshaller,a=t.getEventStreamMember(),i=t.getMemberSchema(a),n=this.serializer,o=this.defaultContentType,l=Symbol("initialRequestMarker"),_={async*[Symbol.asyncIterator](){if(r){const e={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:o}};n.write(t,r);const s=n.flush();yield{[l]:!0,headers:e,body:s}}for await(const t of e)yield t}};return s.serialize(_,e=>{if(e[l])return{headers:e.headers,body:e.body};let t="";for(const i in e)if("__type"!==i){t=i;break}const{additionalHeaders:r,body:s,eventType:a,explicitPayloadContentType:n}=this.writeEventBody(t,i,e);return{headers:{":event-type":{type:"string",value:a},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:n??o},...r},body:s}})}async deserializeEventStream({response:t,responseSchema:r,initialResponseContainer:s}){const a=this.marshaller,i=r.getEventStreamMember(),n=r.getMemberSchema(i).getMemberSchemas(),o=Symbol("initialResponseMarker"),l=a.deserialize(t.body,async t=>{let s="";for(const e in t)if("__type"!==e){s=e;break}const a=t[s].body;if("initial-response"===s){const e=await this.deserializer.read(r,a);return delete e[i],{[o]:!0,...e}}if(s in n){const r=n[s];if(r.isStructSchema()){const i={};let n=!1;for(const[o,l]of r.structIterator()){const{eventHeader:r,eventPayload:_}=l.getMergedTraits();if(n=n||Boolean(r||_),_)l.isBlobSchema()?i[o]=a:l.isStringSchema()?i[o]=(this.serdeContext?.utf8Encoder??e)(a):l.isStructSchema()&&(i[o]=await this.deserializer.read(l,a));else if(r){const e=t[s].headers[o]?.value;null!=e&&(l.isNumericSchema()?i[o]=e&&"object"==typeof e&&"bytes"in e?BigInt(e.toString()):Number(e):i[o]=e)}}if(n)return{[s]:i};if(0===a.byteLength)return{[s]:{}}}return{[s]:await this.deserializer.read(r,a)}}return{$unknown:t}}),_=l[Symbol.asyncIterator](),m=await _.next();if(m.done)return l;if(m.value?.[o]){if(!r)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(const e in m.value)s[e]=m.value[e]}return{async*[Symbol.asyncIterator](){for(m?.value?.[o]||(yield m.value);;){const{done:e,value:t}=await _.next();if(e)break;yield t}}}}writeEventBody(e,r,s){const a=this.serializer;let i,n=e,o=null;const l={};if(r.getSchema()[4].includes(e)){const t=r.getMemberSchema(e);if(t.isStructSchema()){for(const[r,a]of t.structIterator()){const{eventHeader:t,eventPayload:i}=a.getMergedTraits();if(i)o=r;else if(t){const t=s[e][r];let i="binary";a.isNumericSchema()?i=(-2)**31<=t&&t<=2**31-1?"integer":"long":a.isTimestampSchema()?i="timestamp":a.isStringSchema()?i="string":a.isBooleanSchema()&&(i="boolean"),null!=t&&(l[r]={type:i,value:t},delete s[e][r])}}if(null!==o){const r=t.getMemberSchema(o);r.isBlobSchema()?i="application/octet-stream":r.isStringSchema()&&(i="text/plain"),a.write(r,s[e][o])}else a.write(t,s[e])}else{if(!t.isUnitSchema())throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");a.write(t,{})}}else{const[t,r]=s[e];n=t,a.write(15,r)}const _=a.flush()??new Uint8Array;return{body:"string"==typeof _?(this.serdeContext?.utf8Decoder??t)(_):_,eventType:n,explicitPayloadContentType:i,additionalHeaders:l}}}export{r as EventStreamSerde};
1
+ import{P as e,Q as t}from"./index-BvFKQn53.js";import"./virtualExposes-DN39MDG_.js";import"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-DBFh948t.js";import"./preload-helper-BhLMWRjL.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-DysgZ6xd.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-DWrxCvCs.js";import"./__virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs_commonjs-proxy-BBGkOHMQ.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-CkYd2Guw.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-DLOxYCzB.js";import"./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-B8MMWKQv.js";class r{marshaller;serializer;deserializer;serdeContext;defaultContentType;constructor({marshaller:e,serializer:t,deserializer:r,serdeContext:s,defaultContentType:a}){this.marshaller=e,this.serializer=t,this.deserializer=r,this.serdeContext=s,this.defaultContentType=a}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){const s=this.marshaller,a=t.getEventStreamMember(),i=t.getMemberSchema(a),n=this.serializer,o=this.defaultContentType,l=Symbol("initialRequestMarker"),_={async*[Symbol.asyncIterator](){if(r){const e={":event-type":{type:"string",value:"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:o}};n.write(t,r);const s=n.flush();yield{[l]:!0,headers:e,body:s}}for await(const t of e)yield t}};return s.serialize(_,e=>{if(e[l])return{headers:e.headers,body:e.body};let t="";for(const i in e)if("__type"!==i){t=i;break}const{additionalHeaders:r,body:s,eventType:a,explicitPayloadContentType:n}=this.writeEventBody(t,i,e);return{headers:{":event-type":{type:"string",value:a},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:n??o},...r},body:s}})}async deserializeEventStream({response:t,responseSchema:r,initialResponseContainer:s}){const a=this.marshaller,i=r.getEventStreamMember(),n=r.getMemberSchema(i).getMemberSchemas(),o=Symbol("initialResponseMarker"),l=a.deserialize(t.body,async t=>{let s="";for(const e in t)if("__type"!==e){s=e;break}const a=t[s].body;if("initial-response"===s){const e=await this.deserializer.read(r,a);return delete e[i],{[o]:!0,...e}}if(s in n){const r=n[s];if(r.isStructSchema()){const i={};let n=!1;for(const[o,l]of r.structIterator()){const{eventHeader:r,eventPayload:_}=l.getMergedTraits();if(n=n||Boolean(r||_),_)l.isBlobSchema()?i[o]=a:l.isStringSchema()?i[o]=(this.serdeContext?.utf8Encoder??e)(a):l.isStructSchema()&&(i[o]=await this.deserializer.read(l,a));else if(r){const e=t[s].headers[o]?.value;null!=e&&(l.isNumericSchema()?i[o]=e&&"object"==typeof e&&"bytes"in e?BigInt(e.toString()):Number(e):i[o]=e)}}if(n)return{[s]:i};if(0===a.byteLength)return{[s]:{}}}return{[s]:await this.deserializer.read(r,a)}}return{$unknown:t}}),_=l[Symbol.asyncIterator](),m=await _.next();if(m.done)return l;if(m.value?.[o]){if(!r)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(const e in m.value)s[e]=m.value[e]}return{async*[Symbol.asyncIterator](){for(m?.value?.[o]||(yield m.value);;){const{done:e,value:t}=await _.next();if(e)break;yield t}}}}writeEventBody(e,r,s){const a=this.serializer;let i,n=e,o=null;const l={};if(r.getSchema()[4].includes(e)){const t=r.getMemberSchema(e);if(t.isStructSchema()){for(const[r,a]of t.structIterator()){const{eventHeader:t,eventPayload:i}=a.getMergedTraits();if(i)o=r;else if(t){const t=s[e][r];let i="binary";a.isNumericSchema()?i=(-2)**31<=t&&t<=2**31-1?"integer":"long":a.isTimestampSchema()?i="timestamp":a.isStringSchema()?i="string":a.isBooleanSchema()&&(i="boolean"),null!=t&&(l[r]={type:i,value:t},delete s[e][r])}}if(null!==o){const r=t.getMemberSchema(o);r.isBlobSchema()?i="application/octet-stream":r.isStringSchema()&&(i="text/plain"),a.write(r,s[e][o])}else a.write(t,s[e])}else{if(!t.isUnitSchema())throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");a.write(t,{})}}else{const[t,r]=s[e];n=t,a.write(15,r)}const _=a.flush()??new Uint8Array;return{body:"string"==typeof _?(this.serdeContext?.utf8Decoder??t)(_):_,eventType:n,explicitPayloadContentType:i,additionalHeaders:l}}}export{r as EventStreamSerde};
@@ -1 +1 @@
1
- import"./preload-helper-BhLMWRjL.js";export{g as get,i as init}from"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-Dep87C4a.js";
1
+ import"./preload-helper-BhLMWRjL.js";export{g as get,i as init}from"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__reventless_host_shell__remoteEntry-_hash_-DBFh948t.js";
@@ -1 +1 @@
1
- import{_ as e}from"./preload-helper-BhLMWRjL.js";var t={},o={},r={},n={},s={},a={};const i={AT:"@",HYPHEN:"-",SLASH:"/"},l={[i.AT]:"scope_",[i.HYPHEN]:"_",[i.SLASH]:"__"},c={[l[i.AT]]:i.AT,[l[i.HYPHEN]]:i.HYPHEN,[l[i.SLASH]]:i.SLASH};let u=function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.CALCULATED=2]="CALCULATED",e[e.NO_USE=0]="NO_USE",e}({});a.BROWSER_LOG_KEY="FEDERATION_DEBUG",a.ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",a.EncodedNameTransformMap=c,a.FederationModuleManifest="federation-manifest.json",a.MANIFEST_EXT=".json",a.MFModuleType={NPM:"npm",APP:"app"},a.MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",a.ManifestFileName="mf-manifest.json",a.NameTransformMap=l,a.NameTransformSymbol=i,a.SEPARATOR=":",a.StatsFileName="mf-stats.json",a.TEMP_DIR=".federation",a.TreeShakingStatus=u;var m,f,d={},h={},p=Object.defineProperty;h.__exportAll=(e,t)=>{let o={};for(var r in e)p(o,r,{get:e[r],enumerable:!0});return t||p(o,Symbol.toStringTag,{value:"Module"}),o},m=d,f=h.__exportAll({}),Object.defineProperty(m,"ContainerPlugin_exports",{enumerable:!0,get:function(){return f}});var g={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ContainerReferencePlugin_exports",{enumerable:!0,get:function(){return t}})}(g);var _={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ModuleFederationPlugin_exports",{enumerable:!0,get:function(){return t}})}(_);var y={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"SharePlugin_exports",{enumerable:!0,get:function(){return t}})}(y);var E={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ConsumeSharedPlugin_exports",{enumerable:!0,get:function(){return t}})}(E);var S={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ProvideSharedPlugin_exports",{enumerable:!0,get:function(){return t}})}(S);var b={},I={};const R=a,N=!0;function T(){return N}b.getProcessEnv=function(){return"undefined"!=typeof process&&I?I:{}},b.isBrowserEnv=T,b.isBrowserEnvValue=N,b.isDebugMode=function(){return"undefined"!=typeof process&&I&&I.FEDERATION_DEBUG?Boolean(I.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||function(){try{if(T()&&window.localStorage)return Boolean(localStorage.getItem(R.BROWSER_LOG_KEY))}catch(ae){return!1}return!1}()},b.isReactNativeEnv=function(){return"undefined"!=typeof navigator&&"ReactNative"===navigator?.product};var M={};const v=a,A=b,O="[ Federation Runtime ]",k=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${v.NameTransformSymbol.AT}`,"g"),v.NameTransformMap[v.NameTransformSymbol.AT]).replace(new RegExp(`${v.NameTransformSymbol.HYPHEN}`,"g"),v.NameTransformMap[v.NameTransformSymbol.HYPHEN]).replace(new RegExp(`${v.NameTransformSymbol.SLASH}`,"g"),v.NameTransformMap[v.NameTransformSymbol.SLASH])}${r}`}catch(r){throw r}},P=e=>{throw new Error(`${O}: ${e}`)};const $=/^([\d^=v<>~]|[*xX]$)/;M.assert=(e,t)=>{e||P(t)},M.composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${v.SEPARATOR}${t}`:t:e,""):""},M.decodeName=function(e,t,o){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.AT]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.AT]]).replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.SLASH]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.SLASH]]).replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.HYPHEN]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(r){throw r}},M.encodeName=k,M.error=P,M.generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),k(o,"__federation_expose_",t)},M.generateShareFilename=(e,t)=>e?k(e,"__federation_shared_",t):"",M.getResourceUrl=(e,t)=>{if("getPublicPath"in e){let o;return o=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${o}${t}`}return"publicPath"in e?A.isBrowserEnv()||A.isReactNativeEnv()||!("ssrPublicPath"in e)||"string"!=typeof e.ssrPublicPath?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},M.isRequiredVersion=function(e){return $.test(e)},M.parseEntry=(e,t,o=v.SEPARATOR)=>{const r=e.split(o),n="development"===A.getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(v.MANIFEST_EXT);if(r.length>=2){let[t,...a]=r;e.startsWith(o)&&(t=r.slice(0,2).join(o),a=[n||r.slice(2).join(o)]);let i=n||a.join(o);return s(i)?{name:t,entry:i}:{name:t,version:i||"*"}}if(1===r.length){const[e]=r;return n&&s(n)?{name:e,entry:n}:{name:e,version:n||"*"}}throw`Invalid entry value: ${e}`},M.safeToString=function(e){try{return JSON.stringify(e,null,2)}catch(t){return""}},M.warn=e=>{console.warn(`${O}: ${e}`)};var w={};const F=a,D=(e,t)=>{if(!e)return t;const o=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t};function L(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}w.generateSnapshotFromManifest=function(e,t={}){const{remotes:o={},overrides:r={},version:n}=t;let s;const a=()=>"publicPath"in e.metaData?"auto"!==e.metaData.publicPath&&""!==e.metaData.publicPath||!n?e.metaData.publicPath:L(n):e.metaData.getPublicPath,i=Object.keys(r);let l={};Object.keys(o).length||(l=e.remotes?.reduce((e,t)=>{let o;const n=t.federationContainerName;return o=i.includes(n)?r[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:o},e},{})||{}),Object.keys(o).forEach(e=>l[e]={matchedVersion:i.includes(e)?r[e]:o[e]});const{remoteEntry:{path:c,name:u,type:m},types:f={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:d},globalName:h,ssrRemoteEntry:p}=e.metaData,{exposes:g}=e;let _={version:n||"",buildVersion:d,globalName:h,remoteEntry:D(c,u),remoteEntryType:m,remoteTypes:D(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:l,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:g?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if("publicPath"in e.metaData?(s={..._,publicPath:a()},"string"==typeof e.metaData.ssrPublicPath&&(s.ssrPublicPath=e.metaData.ssrPublicPath)):s={..._,getPublicPath:a()},p){const e=D(p.path,p.name);s.ssrRemoteEntry=e,s.ssrRemoteEntryType=p.type||"commonjs-module"}return s},w.getManifestFileName=function(e){if(!e)return{statsFileName:F.StatsFileName,manifestFileName:F.ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",o="boolean"==typeof e?"":e.fileName||"";const r=".json",n=o?(s=o).endsWith(r)?s:`${s}${r}`:F.ManifestFileName;var s;return{statsFileName:D(t,o?((e,t)=>e.replace(r,`${t}${r}`))(n,"-stats"):F.StatsFileName),manifestFileName:D(t,n)}},w.inferAutoPublicPath=L,w.isManifestProvider=function(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(F.MANIFEST_EXT))},w.simpleJoinRemoteEntry=D;var U={};const H=b,x="[ Module Federation ]",G=console,C=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var j=class{constructor(e,t=G){this.prefix=e,this.delegate=t??G}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??G}emit(e,t){const o=this.delegate,r=H.isDebugMode()?function(){try{const e=(new Error).stack;if(!e)return;const[,...t]=e.split("\n"),o=t.filter(e=>!C.some(t=>e.includes(t)));if(!o.length)return;return`Stack trace:\n${o.slice(0,5).join("\n")}`}catch{return}}():void 0,n=r?[...t,r]:t,s=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(const a of s){const e=o[a];if("function"==typeof e)return void e.call(o,this.prefix,...n)}for(const a of s){const e=G[a];if("function"==typeof e)return void e.call(G,this.prefix,...n)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){H.isDebugMode()&&this.emit("debug",e)}};function B(e){return new j(e)}function W(e){const t=new j(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}const V=B(x),q=W(x);U.bindLoggerToCompiler=function(e,t,o){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{const r=t.getInfrastructureLogger(o);!r||"object"!=typeof r||"function"!=typeof r.log&&"function"!=typeof r.info&&"function"!=typeof r.warn&&"function"!=typeof r.error||e.setDelegate(r)}catch{e.setDelegate(void 0)}},U.createInfrastructureLogger=W,U.createLogger=B,U.infrastructureLogger=q,U.logger=V;var X={};const K=M;async function Y(e,t){try{return await e()}catch(o){return void(!t&&K.warn(o))}}function z(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function J(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let c=0;c<s.length;c++){const t=s[c],n=t.getAttribute("src");if(n&&z(n,e.url)){o=t,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===t?.type?"module":"text/javascript",e.createScriptHook&&(r=e.createScriptHook(e.url,e.attrs),r instanceof HTMLScriptElement?o=r:"object"==typeof r&&("script"in r&&r.script&&(o=r.script),"timeout"in r&&r.timeout&&(n=r.timeout))),o.src||(o.src=e.url),t&&!r&&Object.keys(t).forEach(e=>{o&&("async"===e||"defer"===e?o[e]=t[e]:o.getAttribute(e)||o.setAttribute(e,t[e]))})}let a=null;const i="undefined"!=typeof window?t=>{if(t.filename&&z(t.filename,e.url)){const o=new Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);o.name="ScriptExecutionError",a=o}}:null;i&&window.addEventListener("error",i);const l=async(r,n)=>{clearTimeout(t),i&&window.removeEventListener("error",i);const s=()=>{if("error"===n?.type){const t=new Error(n?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else a?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(o&&(o.onerror=null,o.onload=null,Y(()=>{const{needDeleteScript:t=!0}=e;t&&o?.parentNode&&o.parentNode.removeChild(o)}),r&&"function"==typeof r)){const e=r(n);if(e instanceof Promise){const t=await e;return s(),t}return s(),e}s()};return o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),t=setTimeout(()=>{l(null,{type:"error",isTimeout:!0})},n),{script:o,needAttach:r}}X.createLink=function(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let s=0;s<r.length;s++){const n=r[s],a=n.getAttribute("href"),i=n.getAttribute("rel");if(a&&z(a,e.url)&&i===e.attrs.rel){t=n,o=!1;break}}if(!t){let o;t=document.createElement("link"),t.setAttribute("href",e.url);const r=e.attrs;e.createLinkHook&&(o=e.createLinkHook(e.url,r),o instanceof HTMLLinkElement&&(t=o)),r&&!o&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}const n=(o,r)=>{const n=()=>{"error"===r?.type?e?.onErrorCallback&&e?.onErrorCallback(r):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,Y(()=>{const{needDeleteLink:o=!0}=e;o&&t?.parentNode&&t.parentNode.removeChild(t)}),o)){const e=o(r);return n(),e}n()};return t.onerror=n.bind(null,t.onerror),t.onload=n.bind(null,t.onload),{link:t,needAttach:o}},X.createScript=J,X.isStaticResourcesEqual=z,X.loadScript=function(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=J({url:e,cb:t,onErrorCallback:n,attrs:{fetchpriority:"high",...o},createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})},X.safeWrapper=Y;var Z={};Z.createScriptNode=(e,t,o,r)=>{t(new Error("createScriptNode is disabled in non-Node.js environment"))},Z.loadScriptNode=(e,t)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")};var Q={};Q.normalizeOptions=function(e,t,o){return function(r){if(!1===r)return!1;if(void 0===r)return!!e&&t;if(!0===r)return t;if(r&&"object"==typeof r)return{...t,...r};throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}};var ee={};ee.createModuleFederationConfig=e=>e,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=a,o=d,r=g,n=_,s=y,i=E,l=S,c=b,u=M,m=w,f=U,h=X,p=Z,I=Q,R=ee;e.BROWSER_LOG_KEY=t.BROWSER_LOG_KEY,e.ENCODE_NAME_PREFIX=t.ENCODE_NAME_PREFIX,e.EncodedNameTransformMap=t.EncodedNameTransformMap,e.FederationModuleManifest=t.FederationModuleManifest,e.MANIFEST_EXT=t.MANIFEST_EXT,e.MFModuleType=t.MFModuleType,e.MODULE_DEVTOOL_IDENTIFIER=t.MODULE_DEVTOOL_IDENTIFIER,e.ManifestFileName=t.ManifestFileName,e.NameTransformMap=t.NameTransformMap,e.NameTransformSymbol=t.NameTransformSymbol,e.SEPARATOR=t.SEPARATOR,e.StatsFileName=t.StatsFileName,e.TEMP_DIR=t.TEMP_DIR,e.TreeShakingStatus=t.TreeShakingStatus,e.assert=u.assert,e.bindLoggerToCompiler=f.bindLoggerToCompiler,e.composeKeyWithSeparator=u.composeKeyWithSeparator,Object.defineProperty(e,"consumeSharedPlugin",{enumerable:!0,get:function(){return i.ConsumeSharedPlugin_exports}}),Object.defineProperty(e,"containerPlugin",{enumerable:!0,get:function(){return o.ContainerPlugin_exports}}),Object.defineProperty(e,"containerReferencePlugin",{enumerable:!0,get:function(){return r.ContainerReferencePlugin_exports}}),e.createInfrastructureLogger=f.createInfrastructureLogger,e.createLink=h.createLink,e.createLogger=f.createLogger,e.createModuleFederationConfig=R.createModuleFederationConfig,e.createScript=h.createScript,e.createScriptNode=p.createScriptNode,e.decodeName=u.decodeName,e.encodeName=u.encodeName,e.error=u.error,e.generateExposeFilename=u.generateExposeFilename,e.generateShareFilename=u.generateShareFilename,e.generateSnapshotFromManifest=m.generateSnapshotFromManifest,e.getManifestFileName=m.getManifestFileName,e.getProcessEnv=c.getProcessEnv,e.getResourceUrl=u.getResourceUrl,e.inferAutoPublicPath=m.inferAutoPublicPath,e.infrastructureLogger=f.infrastructureLogger,e.isBrowserEnv=c.isBrowserEnv,e.isBrowserEnvValue=c.isBrowserEnvValue,e.isDebugMode=c.isDebugMode,e.isManifestProvider=m.isManifestProvider,e.isReactNativeEnv=c.isReactNativeEnv,e.isRequiredVersion=u.isRequiredVersion,e.isStaticResourcesEqual=h.isStaticResourcesEqual,e.loadScript=h.loadScript,e.loadScriptNode=p.loadScriptNode,e.logger=f.logger,Object.defineProperty(e,"moduleFederationPlugin",{enumerable:!0,get:function(){return n.ModuleFederationPlugin_exports}}),e.normalizeOptions=I.normalizeOptions,e.parseEntry=u.parseEntry,Object.defineProperty(e,"provideSharedPlugin",{enumerable:!0,get:function(){return l.ProvideSharedPlugin_exports}}),e.safeToString=u.safeToString,e.safeWrapper=h.safeWrapper,Object.defineProperty(e,"sharePlugin",{enumerable:!0,get:function(){return s.SharePlugin_exports}}),e.simpleJoinRemoteEntry=m.simpleJoinRemoteEntry,e.warn=u.warn}(s);var te={},oe={};oe.getShortErrorMsg=(e,t,o,r)=>{const n=[`${[t[e]]} #${e}`];return o&&n.push(`args: ${JSON.stringify(o)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")},function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=oe;e.logAndReport=function(e,o,r,n,s,a){return n(t.getShortErrorMsg(e,o,r,s))}}(te);let re=te;const ne="[ Federation Runtime ]",se=(0,s.createLogger)(ne);function ae(e,t,o,r,n){if(void 0!==t)return(0,re.logAndReport)(e,t,o??{},e=>{throw new Error(`${ne}: ${e}`)},r,n);const s=e;if(s instanceof Error)throw s.message.startsWith(ne)||(s.message=`${ne}: ${s.message}`),s;throw new Error(`${ne}: ${s}`)}n.assert=function(e,t,o,r,n){e||(void 0!==o?ae(t,o,r,void 0,n):ae(t))},n.error=ae,n.logger=se,n.warn=function(e){e instanceof Error?(e.message.startsWith(ne)||(e.message=`${ne}: ${e.message}`),se.warn(e)):se.warn(e)};var ie={};const le=n;let ce=s;const ue=Object.prototype.toString;ie.addUniqueItem=function(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e},ie.arrayOptions=function(e){return Array.isArray(e)?e:[e]},ie.getFMId=function(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`},ie.getRemoteEntryInfoFromSnapshot=function(e){const t={url:"",type:"global",globalName:""};return ce.isBrowserEnvValue||(0,ce.isReactNativeEnv)()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t},ie.isObject=function(e){return e&&"object"==typeof e},ie.isPlainObject=function(e){return"[object Object]"===ue.call(e)},ie.isPureRemoteEntry=function(e){return!e.entry.includes(".json")},ie.isRemoteInfoWithEntry=function(e){return void 0!==e.entry},ie.isStaticResourcesEqual=function(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")},ie.objectToString=ue,ie.processModuleAlias=(e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o},ie.safeWrapper=async function(e,t){try{return await e()}catch(o){return void(!t&&le.warn(o))}};var me={};const fe=n,de=ie;let he=s;const pe="object"==typeof globalThis?globalThis:window,ge=(()=>{try{return document.defaultView}catch{return pe}})(),_e=ge;function ye(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function Ee(e,t){return Object.hasOwnProperty.call(e,t)}Ee(pe,"__GLOBAL_LOADING_REMOTE_ENTRY__")||ye(pe,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const Se=pe.__GLOBAL_LOADING_REMOTE_ENTRY__;function be(e){Ee(e,"__VMOK__")&&!Ee(e,"__FEDERATION__")&&ye(e,"__FEDERATION__",e.__VMOK__),Ee(e,"__FEDERATION__")||(ye(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),ye(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function Ie(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const o=Object.keys(e);for(const r of o){const[o,n]=r.split(":"),s=`${o}:${t}`,a=e[s];if(a)return{value:a,key:s}}return{value:void 0,key:t}}}fe.error(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}be(pe),be(ge);const Re=(e,t)=>{const o=Ie(t,de.getFMId(e)).value;if(o&&!o.version&&"version"in e&&e.version&&(o.version=e.version),o)return o;if("version"in e&&e.version){const{version:t,...o}=e,r=de.getFMId(o),n=Ie(ge.__FEDERATION__.moduleInfo,r).value;if(n?.version===t)return n}};me.CurrentGlobal=pe,me.Global=_e,me.addGlobalSnapshot=e=>(ge.__FEDERATION__.moduleInfo={...ge.__FEDERATION__.moduleInfo,...e},()=>{const t=Object.keys(e);for(const e of t)delete ge.__FEDERATION__.moduleInfo[e]}),me.getGlobalFederationConstructor=function(){return pe.__FEDERATION__.__DEBUG_CONSTRUCTOR__},me.getGlobalHostPlugins=()=>ge.__FEDERATION__.__GLOBAL_PLUGIN__,me.getGlobalSnapshot=()=>ge.__FEDERATION__.moduleInfo,me.getGlobalSnapshotInfoByModuleInfo=e=>Re(e,ge.__FEDERATION__.moduleInfo),me.getInfoWithoutType=Ie,me.getPreloaded=e=>pe.__FEDERATION__.__PRELOADED_MAP__.get(e),me.getRemoteEntryExports=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:pe[o]}},me.getTargetSnapshotInfoByModuleInfo=Re,me.globalLoading=Se,me.nativeGlobal=ge,me.registerGlobalPlugins=e=>{const{__GLOBAL_PLUGIN__:t}=ge.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):fe.warn(`The plugin ${e.name} has been registered.`)})},me.resetFederationGlobalInfo=function(){pe.__FEDERATION__.__GLOBAL_PLUGIN__=[],pe.__FEDERATION__.__INSTANCES__=[],pe.__FEDERATION__.moduleInfo={},pe.__FEDERATION__.__SHARE__={},pe.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(Se).forEach(e=>{delete Se[e]})},me.setGlobalFederationConstructor=function(e,t=(0,he.isDebugMode)()){t&&(pe.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,pe.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.4.0")},me.setGlobalFederationInstance=function(e){pe.__FEDERATION__.__INSTANCES__.push(e)},me.setGlobalSnapshotInfoByModuleInfo=(e,t)=>{const o=de.getFMId(e);return ge.__FEDERATION__.moduleInfo[o]=t,ge.__FEDERATION__.moduleInfo},me.setPreloaded=e=>pe.__FEDERATION__.__PRELOADED_MAP__.set(e,!0);var Ne={},Te={},Me={};const ve="[0-9A-Za-z-]+",Ae=`(?:\\+(${ve}(?:\\.${ve})*))`,Oe="0|[1-9]\\d*",ke="[0-9]+",Pe="\\d*[a-zA-Z-][a-zA-Z0-9-]*",$e=`(?:${ke}|${Pe})`,we=`(?:${Oe}|${Pe})`,Fe=`(?:-(${we}(?:\\.${we})*))`,De=`${Oe}|x|X|\\*`,Le=`[v=\\s]*(${De})(?:\\.(${De})(?:\\.(${De})(?:${Fe})?${Ae}?)?)?`,Ue=`^\\s*(${Le})\\s+-\\s+(${Le})\\s*$`,He="((?:<|>)?=?)",xe=`(\\s*)${He}\\s*(${`[v=\\s]*(${ke})\\.(${ke})\\.(${ke})${`(?:-?(${$e}(?:\\.${$e})*))`}?${Ae}?`}|${Le})`,Ge="(?:~>?)",Ce=`(\\s*)${Ge}\\s+`,je="(?:\\^)",Be=`(\\s*)${je}\\s+`,We=`^${je}${Le}$`,Ve=`^${Ge}${Le}$`,qe=`^${He}\\s*${Le}$`,Xe=`^${He}\\s*(${`v?(${Oe})\\.(${Oe})\\.(${Oe})${Fe}?${Ae}?`})$|^$`;Me.caret=We,Me.caretTrim=Be,Me.comparator=Xe,Me.comparatorTrim=xe,Me.gte0="^\\s*>=\\s*0.0.0\\s*$",Me.hyphenRange=Ue,Me.star="(<|>)?=?\\s*\\*",Me.tilde=Ve,Me.tildeTrim=Ce,Me.xRange=qe;const Ke=Me;function Ye(e){return new RegExp(e)}Te.combineVersion=function(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n},Te.extractComparator=function(e){return e.match(Ye(Ke.comparator))},Te.isXVersion=function(e){return!e||"x"===e.toLowerCase()||"*"===e},Te.parseRegex=Ye,Te.pipe=function(...e){return t=>e.reduce((e,t)=>t(e),t)};var ze={};const Je=Me,Ze=Te;ze.parseCaretTrim=function(e){return e.replace(Ze.parseRegex(Je.caretTrim),"$1^")},ze.parseCarets=function(e){return e.trim().split(/\s+/).map(e=>e.replace(Ze.parseRegex(Je.caret),(e,t,o,r,n)=>Ze.isXVersion(t)?"":Ze.isXVersion(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Ze.isXVersion(r)?"0"===t?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.0 <${Number(t)+1}.0.0-0`:n?"0"===t?"0"===o?`>=${t}.${o}.${r}-${n} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r}-${n} <${Number(t)+1}.0.0-0`:"0"===t?"0"===o?`>=${t}.${o}.${r} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${Number(t)+1}.0.0-0`)).join(" ")},ze.parseComparatorTrim=function(e){return e.replace(Ze.parseRegex(Je.comparatorTrim),"$1$2$3")},ze.parseGTE0=function(e){return e.trim().replace(Ze.parseRegex(Je.gte0),"")},ze.parseHyphen=function(e){return e.replace(Ze.parseRegex(Je.hyphenRange),(e,t,o,r,n,s,a,i,l,c,u,m)=>`${t=Ze.isXVersion(o)?"":Ze.isXVersion(r)?`>=${o}.0.0`:Ze.isXVersion(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=Ze.isXVersion(l)?"":Ze.isXVersion(c)?`<${Number(l)+1}.0.0-0`:Ze.isXVersion(u)?`<${l}.${Number(c)+1}.0-0`:m?`<=${l}.${c}.${u}-${m}`:`<=${i}`}`.trim())},ze.parseStar=function(e){return e.trim().replace(Ze.parseRegex(Je.star),"")},ze.parseTildeTrim=function(e){return e.replace(Ze.parseRegex(Je.tildeTrim),"$1~")},ze.parseTildes=function(e){return e.trim().split(/\s+/).map(e=>e.replace(Ze.parseRegex(Je.tilde),(e,t,o,r,n)=>Ze.isXVersion(t)?"":Ze.isXVersion(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Ze.isXVersion(r)?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:n?`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`)).join(" ")},ze.parseXRanges=function(e){return e.split(/\s+/).map(e=>e.trim().replace(Ze.parseRegex(Je.xRange),(e,t,o,r,n,s)=>{const a=Ze.isXVersion(o),i=a||Ze.isXVersion(r),l=i||Ze.isXVersion(n);return"="===t&&l&&(t=""),s="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(i&&(r=0),n=0,">"===t?(t=">=",i?(o=Number(o)+1,r=0,n=0):(r=Number(r)+1,n=0)):"<="===t&&(t="<",i?o=Number(o)+1:r=Number(r)+1),"<"===t&&(s="-0"),`${t+o}.${r}.${n}${s}`):i?`>=${o}.0.0${s} <${Number(o)+1}.0.0-0`:l?`>=${o}.${r}.0${s} <${o}.${Number(r)+1}.0-0`:e})).join(" ")};var Qe={};function et(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function tt(e,t){return et(e.major,t.major)||et(e.minor,t.minor)||et(e.patch,t.patch)||function(e,t){const{preRelease:o}=e,{preRelease:r}=t;if(void 0===o&&Boolean(r))return 1;if(Boolean(o)&&void 0===r)return-1;if(void 0===o&&void 0===r)return 0;for(let n=0,s=o.length;n<=s;n++){const e=o[n],t=r[n];if(e!==t)return void 0===e&&void 0===t?0:e?t?et(e,t):-1:1}return 0}(e,t)}function ot(e,t){return e.version===t.version}Qe.compare=function(e,t){switch(e.operator){case"":case"=":return ot(e,t);case">":return tt(e,t)<0;case">=":return ot(e,t)||tt(e,t)<0;case"<":return tt(e,t)>0;case"<=":return ot(e,t)||tt(e,t)>0;case void 0:return!0;default:return!1}};const rt=Te,nt=ze,st=Qe;function at(e){return rt.pipe(nt.parseCarets,nt.parseTildes,nt.parseXRanges,nt.parseStar)(e)}function it(e){return rt.pipe(nt.parseHyphen,nt.parseComparatorTrim,nt.parseTildeTrim,nt.parseCaretTrim)(e.trim()).split(/\s+/).join(" ")}Ne.satisfy=function(e,t){if(!e)return!1;const o=rt.extractComparator(e);if(!o)return!1;const[,r,,n,s,a,i]=o,l={operator:r,version:rt.combineVersion(n,s,a,i),major:n,minor:s,patch:a,preRelease:i?.split(".")},c=t.split("||");for(const m of c){const e=m.trim();if(!e)return!0;if("*"===e||"x"===e)return!0;try{const t=it(e);if(!t.trim())return!0;const o=t.split(" ").map(e=>at(e)).join(" ");if(!o.trim())return!0;const r=o.split(/\s+/).map(e=>nt.parseGTE0(e)).filter(Boolean);if(0===r.length)continue;let n=!0;for(const e of r){const t=rt.extractComparator(e);if(!t){n=!1;break}const[,o,,r,s,a,i]=t;if(!st.compare({operator:o,version:rt.combineVersion(r,s,a,i),major:r,minor:s,patch:a,preRelease:i?.split(".")},l)){n=!1;break}}if(n)return!0}catch(u){console.error(`[semver] Error processing range part "${e}":`,u);continue}}return!1};var lt={},ct={};ct.DEFAULT_REMOTE_TYPE="global",ct.DEFAULT_SCOPE="default";const ut=n,mt=ie,ft=me,dt=ct,ht=Ne;let pt=s;function gt(e,t){if(!e)return!1;const{status:o,mode:r}=e;return o!==pt.TreeShakingStatus.NO_USE&&(o===pt.TreeShakingStatus.CALCULATED||"runtime-infer"===r&&(!t||St(e,t)))}function _t(e,t){const o=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let o=e;for(let e=0;e<3-t.length;e++)o+=".0";return o}return e};return!!ht.satisfy(o(e),`<=${o(t)}`)}const yt=(e,t)=>{const o=t||function(e,t){return _t(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},Et=e=>Boolean(e.loaded)||"function"==typeof e.lib,St=(e,t)=>{if(!e||!t)return!1;const{usedExports:o}=e;return!!o&&!!t.every(e=>o.includes(e))};function bt(e,t,o,r){const n=e[t][o];let s="",a=gt(r);const i=function(e,t){return a?!n[e].treeShaking||!!n[t].treeShaking&&(!Et(n[e].treeShaking)&&_t(e,t)):!Et(n[e])&&_t(e,t)};if(a){if(s=yt(e[t][o],i),s)return{version:s,useTreesShaking:a};a=!1}return{version:yt(e[t][o],i),useTreesShaking:a}}const It=e=>Et(e)||(e=>Boolean(e.loading))(e);function Rt(e,t,o,r){const n=e[t][o];let s="",a=gt(r);const i=function(e,t){if(a){if(!n[e].treeShaking)return!0;if(!n[t].treeShaking)return!1;if(It(n[t].treeShaking))return!It(n[e].treeShaking)||Boolean(_t(e,t));if(It(n[e].treeShaking))return!1}return It(n[t])?!It(n[e])||Boolean(_t(e,t)):!It(n[e])&&_t(e,t)};if(a){if(s=yt(e[t][o],i),s)return{version:s,useTreesShaking:a};a=!1}return{version:yt(e[t][o],i),useTreesShaking:a}}function Nt(e){return"loaded-first"===e?Rt:bt}lt.addUseIn=(e,t)=>{e.useIn||(e.useIn=[]),mt.addUniqueItem(e.useIn,t)},lt.directShare=function(e,t){return t&&e.treeShaking?e.treeShaking:e},lt.formatShareConfigs=function(e,t){const o=t.shared||{},r=t.name,n=Object.keys(o).reduce((e,n)=>{const s=mt.arrayOptions(o[n]);return e[n]=e[n]||[],s.forEach(o=>{e[n].push(function(e,t,o,r){let n;return n="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{ut.error(`Cannot get shared "${o}" from "${t}": neither "get" nor "lib" is provided in the share config.`)}),e.shareConfig?.eager&&e.treeShaking?.mode&&ut.error(`Invalid shared config for "${o}" from "${t}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:n,loaded:!(!e?.loaded&&!("lib"in e))||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??r)||"version-first",treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??"server-calc",status:e.treeShaking.status??pt.TreeShakingStatus.UNKNOWN,useIn:[]}:void 0}}(o,r,n,t.shareStrategy))}),e},{}),s={...e.shared};return Object.keys(n).forEach(e=>{s[e]?n[e].forEach(t=>{s[e].find(e=>e.version===t.version)||s[e].push(t)}):s[e]=n[e]}),{allShareInfos:s,newShareInfos:n}},lt.getGlobalShareScope=function(){return ft.Global.__FEDERATION__.__SHARE__},lt.getRegisteredShare=function(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=dt.DEFAULT_SCOPE,strategy:a,treeShaking:i}=o,l=Array.isArray(s)?s:[s];for(const c of l)if(n&&e[c]&&e[c][t]){const{requiredVersion:s}=n,{version:l,useTreesShaking:u}=Nt(a)(e,c,t,i),m=()=>{const r=e[c][t][l];if(n.singleton){if("string"==typeof s&&!ht.satisfy(l,s)){const e=`Version ${l} from ${l&&r.from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${s})`;n.strictVersion?ut.error(e):ut.warn(e)}return{shared:r,useTreesShaking:u}}{if(!1===s||"*"===s)return{shared:r,useTreesShaking:u};if(ht.satisfy(l,s))return{shared:r,useTreesShaking:u};const o=gt(i);if(o)for(const[r,n]of Object.entries(e[c][t]))if(gt(n.treeShaking,i?.usedExports)&&ht.satisfy(r,s))return{shared:n,useTreesShaking:o};for(const[r,n]of Object.entries(e[c][t]))if(ht.satisfy(r,s))return{shared:n,useTreesShaking:!1}}},f={shareScopeMap:e,scope:c,pkgName:t,version:l,GlobalFederation:ft.Global.__FEDERATION__,shareInfo:o,resolver:m};return(r.emit(f)||f).resolver()}},lt.getTargetSharedOptions=function(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e,n=o?.resolver??(e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});return t[yt(t,function(e,o){return!Et(t[e])&&_t(e,o)})]}),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),a=(...e)=>{const t={};for(const o of e)if(o)for(const[e,r]of Object.entries(o)){const o=t[e];s(o)&&s(r)?t[e]=a(o,r):void 0!==r&&(t[e]=r)}return t};return a(n(r[t]),o?.customShareInfo)},lt.shouldUseTreeShaking=gt;var Tt={};Tt.matchRemote=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}},Tt.matchRemoteWithNameAndExpose=function(e,t){for(const o of e){const e=t.startsWith(o.name);let r=t.replace(o.name,"");if(e){if(r.startsWith("/")){return r=`.${r}`,{pkgNameOrAlias:o.name,expose:r,remote:o}}if(""===r)return{pkgNameOrAlias:o.name,expose:".",remote:o}}const n=o.alias&&t.startsWith(o.alias);let s=o.alias&&t.replace(o.alias,"");if(o.alias&&n){if(s&&s.startsWith("/")){return s=`.${s}`,{pkgNameOrAlias:o.alias,expose:s,remote:o}}if(""===s)return{pkgNameOrAlias:o.alias,expose:".",remote:o}}}};var Mt={},vt={},At={};At.BUILD_001="BUILD-001",At.BUILD_002="BUILD-002",At.RUNTIME_001="RUNTIME-001",At.RUNTIME_002="RUNTIME-002",At.RUNTIME_003="RUNTIME-003",At.RUNTIME_004="RUNTIME-004",At.RUNTIME_005="RUNTIME-005",At.RUNTIME_006="RUNTIME-006",At.RUNTIME_007="RUNTIME-007",At.RUNTIME_008="RUNTIME-008",At.RUNTIME_009="RUNTIME-009",At.RUNTIME_010="RUNTIME-010",At.RUNTIME_011="RUNTIME-011",At.RUNTIME_012="RUNTIME-012",At.TYPE_001="TYPE-001";var Ot={};const kt=At,Pt={[kt.RUNTIME_001]:"Failed to get remoteEntry exports.",[kt.RUNTIME_002]:'The remote entry interface does not contain "init"',[kt.RUNTIME_003]:"Failed to get manifest.",[kt.RUNTIME_004]:"Failed to locate remote.",[kt.RUNTIME_005]:"Invalid loadShareSync function call from bundler runtime",[kt.RUNTIME_006]:"Invalid loadShareSync function call from runtime",[kt.RUNTIME_007]:"Failed to get remote snapshot.",[kt.RUNTIME_008]:"Failed to load script resources.",[kt.RUNTIME_009]:"Please call createInstance first.",[kt.RUNTIME_010]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[kt.RUNTIME_011]:"The remoteEntry URL is missing from the remote snapshot.",[kt.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},$t={[kt.TYPE_001]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},wt={[kt.BUILD_001]:"Failed to find expose module.",[kt.BUILD_002]:"PublicPath is required in prod mode."},Ft={...Pt,...$t,...wt};Ot.buildDescMap=wt,Ot.errorDescMap=Ft,Ot.runtimeDescMap=Pt,Ot.typeDescMap=$t,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=At,o=oe,r=Ot;e.BUILD_001=t.BUILD_001,e.BUILD_002=t.BUILD_002,e.RUNTIME_001=t.RUNTIME_001,e.RUNTIME_002=t.RUNTIME_002,e.RUNTIME_003=t.RUNTIME_003,e.RUNTIME_004=t.RUNTIME_004,e.RUNTIME_005=t.RUNTIME_005,e.RUNTIME_006=t.RUNTIME_006,e.RUNTIME_007=t.RUNTIME_007,e.RUNTIME_008=t.RUNTIME_008,e.RUNTIME_009=t.RUNTIME_009,e.RUNTIME_010=t.RUNTIME_010,e.RUNTIME_011=t.RUNTIME_011,e.RUNTIME_012=t.RUNTIME_012,e.TYPE_001=t.TYPE_001,e.buildDescMap=r.buildDescMap,e.errorDescMap=r.errorDescMap,e.getShortErrorMsg=o.getShortErrorMsg,e.runtimeDescMap=r.runtimeDescMap,e.typeDescMap=r.typeDescMap}(vt);const Dt=n,Lt=me,Ut=ct;let Ht=s,xt=vt;const Gt=".then(callbacks[0]).catch(callbacks[1])";async function Ct({name:e,globalName:t,entry:o,remoteInfo:r,loaderHook:n,getEntryUrl:s}){const{entryExports:a}=Lt.getRemoteEntryExports(e,t);if(a)return a;const i=s?s(o):o;return(0,Ht.loadScript)(i,{attrs:{},createScriptHook:(e,t)=>{const o=n.lifecycle.createScript.emit({url:e,attrs:t,remoteInfo:r});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>function(e,t,o){const{remoteEntryKey:r,entryExports:n}=Lt.getRemoteEntryExports(e,t);return n||Dt.error(xt.RUNTIME_001,xt.runtimeDescMap,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r}),n}(e,t,o),t=>{const o=t instanceof Error?t.message:String(t);Dt.error(xt.RUNTIME_008,xt.runtimeDescMap,{remoteName:e,resourceUrl:i},o)})}async function jt({remoteInfo:e,remoteEntryExports:t,loaderHook:o,getEntryUrl:r}){const{entry:n,entryGlobalName:s,name:a,type:i}=e;switch(i){case"esm":case"module":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${e}")${Gt}`)([o,r]):import(e).then(o).catch(r)}catch(n){Dt.error(`Failed to load ESM entry from "${e}". ${n instanceof Error?n.message:String(n)}`)}})}({entry:n,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"==typeof __system_context__?System.import(e).then(o).catch(r):new Function("callbacks",`System.import("${e}")${Gt}`)([o,r])}catch(n){Dt.error(`Failed to load SystemJS entry from "${e}". ${n instanceof Error?n.message:String(n)}`)}})}({entry:n,remoteEntryExports:t});default:return Ct({entry:n,globalName:s,name:a,remoteInfo:e,loaderHook:o,getEntryUrl:r})}}function Bt(e){const{entry:t,name:o}=e;return(0,Ht.composeKeyWithSeparator)(o,t)}Mt.getRemoteEntry=async function e(t){const{origin:o,remoteEntryExports:r,remoteInfo:n,getEntryUrl:s,_inErrorHandling:a=!1}=t,i=Bt(n);if(r)return r;if(!Lt.globalLoading[i]){const t=o.remoteHandler.hooks.lifecycle.loadEntry,l=o.loaderHook;Lt.globalLoading[i]=t.emit({loaderHook:l,remoteInfo:n,remoteEntryExports:r}).then(e=>e||jt({remoteInfo:n,remoteEntryExports:r,loaderHook:l,getEntryUrl:s})).catch(async t=>{const s=Bt(n),i=t instanceof Error&&t.message.includes("ScriptExecutionError");if(t instanceof Error&&t.message.includes(xt.RUNTIME_008)&&!i&&!a){const t=t=>e({...t,_inErrorHandling:!0}),a=await o.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:t,origin:o,remoteInfo:n,remoteEntryExports:r,globalLoading:Lt.globalLoading,uniqueKey:s});if(a)return a}throw t})}return Lt.globalLoading[i]},Mt.getRemoteEntryUniqueKey=Bt,Mt.getRemoteInfo=function(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||Ut.DEFAULT_REMOTE_TYPE,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||Ut.DEFAULT_SCOPE}};var Wt={};Wt.getBuilderId=function(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""};var Vt={};const qt=me;Vt.registerPlugins=function(e,t){const o=qt.getGlobalHostPlugins(),r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return o.length>0&&o.forEach(t=>{e?.find(e=>e.name!==t.name)&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{r.forEach(o=>{o.applyPlugin(e,t)})}),e};var Xt={};function Kt(e){return{name:e.name,alias:e.alias,entry:"entry"in e?e.entry:void 0,version:"version"in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}Xt.optionsToMFContext=function(e){const t={};for(const[o,r]of Object.entries(e.shared)){const e=r[0];e&&(t[o]={version:e.version,singleton:e.shareConfig?.singleton,requiredVersion:!1!==e.shareConfig?.requiredVersion&&e.shareConfig?.requiredVersion,eager:e.eager,strictVersion:e.shareConfig?.strictVersion})}return{project:{name:e.name,mfRole:e.remotes?.length>0?"host":"unknown"},mfConfig:{name:e.name,remotes:e.remotes?.map(Kt)??[],shared:t}}};var Yt={},zt={};const Jt=n,Zt=Tt,Qt=Mt;let eo=s;function to(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,...e}}zt.defaultPreloadArgs=to,zt.formatPreloadArgs=function(e,t){return t.map(t=>{const o=Zt.matchRemote(e,t.nameOrAlias);return Jt.assert(o,`Unable to preload ${t.nameOrAlias} as it is not included in ${!o&&(0,eo.safeToString)({remoteInfo:o,remotes:e})}`),{remote:o,preloadConfig:to(t)}})},zt.normalizePreloadExposes=function(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]},zt.preloadAssets=function(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:a}=o;if(t.options.inBrowser){if(a.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);n?Qt.getRemoteEntry({origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}):Qt.getRemoteEntry({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const o={rel:"preload",as:"style"};n.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n}});s&&document.head.appendChild(n)})}else{const o={rel:"stylesheet",type:"text/css"};n.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});s&&document.head.appendChild(n)})}if(r){const o={rel:"preload",as:"script"};s.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n}});s&&document.head.appendChild(n)})}else{const o={fetchpriority:"high",type:"module"===e?.type?"module":"text/javascript"};s.forEach(r=>{const{script:n,needAttach:s}=(0,eo.createScript)({url:r,cb:()=>{},attrs:o,createScriptHook:(o,r)=>{const n=t.loaderHook.lifecycle.createScript.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});s&&document.head.appendChild(n)})}}};const oo=me,ro=lt,no=Tt,so=Mt,ao=zt,io={getRegisteredShare:ro.getRegisteredShare,getGlobalShareScope:ro.getGlobalShareScope};var lo={global:{Global:oo.Global,nativeGlobal:oo.nativeGlobal,resetFederationGlobalInfo:oo.resetFederationGlobalInfo,setGlobalFederationInstance:oo.setGlobalFederationInstance,getGlobalFederationConstructor:oo.getGlobalFederationConstructor,setGlobalFederationConstructor:oo.setGlobalFederationConstructor,getInfoWithoutType:oo.getInfoWithoutType,getGlobalSnapshot:oo.getGlobalSnapshot,getTargetSnapshotInfoByModuleInfo:oo.getTargetSnapshotInfoByModuleInfo,getGlobalSnapshotInfoByModuleInfo:oo.getGlobalSnapshotInfoByModuleInfo,setGlobalSnapshotInfoByModuleInfo:oo.setGlobalSnapshotInfoByModuleInfo,addGlobalSnapshot:oo.addGlobalSnapshot,getRemoteEntryExports:oo.getRemoteEntryExports,registerGlobalPlugins:oo.registerGlobalPlugins,getGlobalHostPlugins:oo.getGlobalHostPlugins,getPreloaded:oo.getPreloaded,setPreloaded:oo.setPreloaded},share:io,utils:{matchRemoteWithNameAndExpose:no.matchRemoteWithNameAndExpose,preloadAssets:ao.preloadAssets,getRemoteInfo:so.getRemoteInfo}};Yt.default=lo;var co={};const uo=n,mo=ie,fo=Mt,ho=Xt;let po=s,go=vt;co.Module=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;const e=await fo.getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports});return uo.assert(e,`remoteEntryExports is undefined \n ${(0,po.safeToString)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async init(e,t,o){const r=await this.getEntry();if(this.inited)return r;if(this.initPromise)return await this.initPromise,r;this.initing=!0,this.initPromise=(async()=>{const{remoteEntryInitOptions:n,shareScope:s,initScope:a}=function(e,t,o){const r=t,n=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];n.length||n.push("default"),n.forEach(e=>{r[e]||(r[e]={})});const s={version:e.version||"",shareScopeKeys:Array.isArray(e.shareScope)?n:e.shareScope||"default"};return Object.defineProperty(s,"shareScopeMap",{value:r,enumerable:!1}),{remoteEntryInitOptions:s,shareScope:r[n[0]],initScope:o??[]}}(this.remoteInfo,this.host.shareScopeMap,o),i=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:n,initScope:a,remoteInfo:this.remoteInfo,origin:this.host});void 0===r?.init&&uo.error(go.RUNTIME_002,go.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,ho.optionsToMFContext(this.host.options)),await r.init(i.shareScope,i.initScope,i.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...i,id:e,remoteSnapshot:t,remoteEntryExports:r}),this.inited=!0})();try{await this.initPromise}finally{this.initing=!1,this.initPromise=void 0}return r}async get(e,t,o,r){const{loadFactory:n=!0}=o||{loadFactory:!0},s=await this.init(e,r);let a;this.lib=s,a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:s,expose:t,moduleInfo:this.remoteInfo}),a||(a=await s.get(t)),uo.assert(a,`${mo.getFMId(this.remoteInfo)} remote don't export ${t}.`);const i=mo.processModuleAlias(this.remoteInfo.name,t),l=this.wraperFactory(a,i);return n?await l():l}wraperFactory(e,t){function o(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{const r=await e();return o(r,t),r}:()=>{const r=e();return o(r,t),r}}};var _o={},yo={};yo.SyncHook=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function o(...r){return t.remove(o),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(o=>{t=o(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}};var Eo={};const So=yo;var bo=class extends So.SyncHook{emit(...e){let t;const o=Array.from(this.listeners);if(o.length>0){let r=0;const n=t=>!1!==t&&(r<o.length?Promise.resolve(o[r++].apply(null,e)).then(n):t);t=n()}return Promise.resolve(t)}};Eo.AsyncHook=bo;var Io={};const Ro=n,No=ie,To=yo;function Mo(e,t){if(!No.isObject(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}var vo=class extends To.SyncHook{constructor(e){super(),this.onerror=Ro.error,this.type=e}emit(e){No.isObject(e)||Ro.error(`The data for the "${this.type}" hook should be an object.`);for(const o of this.listeners)try{const t=o(e);if(!Mo(e,t)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=t}catch(t){Ro.warn(t),this.onerror(t)}return e}};Io.SyncWaterfallHook=vo,Io.checkReturnData=Mo;var Ao={};const Oo=n,ko=ie,Po=yo,$o=Io;var wo=class extends Po.SyncHook{constructor(e){super(),this.onerror=Oo.error,this.type=e}emit(e){ko.isObject(e)||Oo.error(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let o=0;const r=t=>(Oo.warn(t),this.onerror(t),e),n=s=>{if($o.checkReturnData(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(a){return r(a)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(n(e))}return Promise.resolve(e)}};Ao.AsyncWaterfallHook=wo;var Fo={};const Do=n,Lo=ie;Fo.PluginSystem=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){Do.assert(Lo.isPlainObject(e),"Plugin configuration is invalid.");const o=e.name;Do.assert(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){Do.assert(e,"A name is required.");const t=this.registerPlugins[e];Do.assert(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}};var Uo={};const Ho=n,xo=ie,Go=zt;let Co=s,jo=vt;function Bo(e,t){const o=xo.getRemoteEntryInfoFromSnapshot(t);o.url||Ho.error(jo.RUNTIME_011,jo.runtimeDescMap,{remoteName:e.name});let r=(0,Co.getResourceUrl)(t,o.url);Co.isBrowserEnvValue||r.startsWith("http")||(r=`https:${r}`),e.type=o.type,e.entryGlobalName=o.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}Uo.assignRemoteInfo=Bo,Uo.snapshotPlugin=function(){return{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:n,remoteInfo:s,id:a}=e;if(!xo.isRemoteInfoWithEntry(t)||!xo.isPureRemoteEntry(t)){const{remoteSnapshot:i,globalSnapshot:l}=await n.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:a});Bo(s,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await n.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:n,preloadOptions:c,remoteInfo:s,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&Go.preloadAssets(s,n,u,!1),{...e,remoteSnapshot:i}}return e}}};var Wo={};const Vo=ie,qo=me,Xo=lt,Ko=zt,Yo=Uo;let zo=s;function Jo(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function Zo(e,t,o,r,n={},s){const{value:a}=qo.getInfoWithoutType(e,Vo.getFMId(t)),i=s||a;if(i&&!(0,zo.isManifestProvider)(i)&&(o(i,t,r),i.remotesInfo)){const t=Object.keys(i.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=Jo(r),s=i.remotesInfo[r];Zo(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const Qo=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function er(e,t,o,r,n){const s=[],a=[],i=[],l=new Set,c=new Set,{options:u}=e,{preloadConfig:m}=t,{depsRemote:f}=m;if(Zo(r,o,(t,o,r)=>{let n;if(r)n=m;else if(Array.isArray(f)){const e=f.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=Ko.defaultPreloadArgs(e)}else{if(!0!==f)return;n=m}const l=(0,zo.getResourceUrl)(t,Vo.getRemoteEntryInfoFromSnapshot(t).url);l&&i.push({name:o.name,moduleInfo:{name:o.name,entry:l,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:o.name,shareScope:"",version:"version"in t?t.version:void 0},url:l});let c="modules"in t?t.modules:[];const u=Ko.normalizePreloadExposes(n.exposes);function d(e){const o=e.map(e=>(0,zo.getResourceUrl)(t,e));return n.filter?o.filter(n.filter):o}if(u.length&&"modules"in t&&(c=t?.modules?.reduce((e,t)=>(-1!==u?.indexOf(t.moduleName)&&e.push(t),e),[])),c){const r=c.length;for(let i=0;i<r;i++){const r=c[i],l=`${o.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?o.name:l,name:o.name,remoteSnapshot:t,preloadConfig:n,remote:o,origin:e}),qo.getPreloaded(l)||("all"===n.resourceCategory?(s.push(...d(r.assets.css.async)),s.push(...d(r.assets.css.sync)),a.push(...d(r.assets.js.async)),a.push(...d(r.assets.js.sync))):"sync"===n.resourceCategory&&(s.push(...d(r.assets.css.sync)),a.push(...d(r.assets.js.sync))),qo.setPreloaded(l))}}},!0,{},n),n.shared&&n.shared.length>0){const t=(t,o)=>{const{shared:r}=Xo.getRegisteredShare(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{l.add(e)}),o.assets.css.sync.forEach(e=>{c.add(e)}))};n.shared.forEach(e=>{const o=u.shared?.[e.sharedName];if(!o)return;const r=e.version?o.find(t=>t.version===e.version):o;r&&Vo.arrayOptions(r).forEach(o=>{t(o,e)})})}const d=a.filter(e=>!l.has(e)&&!Qo("script",e));return{cssAssets:s.filter(e=>!c.has(e)&&!Qo("link",e)),jsAssetsWithoutEntry:d,entryAssets:i.filter(e=>!Qo("script",e.url))}}Wo.generatePreloadAssetsPlugin=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:a}=e;return zo.isBrowserEnvValue?Vo.isRemoteInfoWithEntry(n)&&Vo.isPureRemoteEntry(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(Yo.assignRemoteInfo(r,a),er(t,o,r,s,a)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};var tr={};const or=n,rr=ie,nr=me,sr=Mt,ar=Xt,ir=Eo,lr=Ao,cr=Fo;let ur=s,mr=vt;function fr(e,t){const o=nr.getGlobalSnapshotInfoByModuleInfo({name:t.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&nr.getInfoWithoutType(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:nr.getGlobalSnapshot(),remoteSnapshot:nr.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:nr.getGlobalSnapshot(),remoteSnapshot:nr.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:"version"in e?e.version:void 0})}}tr.SnapshotHandler=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new cr.PluginSystem({beforeLoadRemoteSnapshot:new ir.AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new lr.AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new lr.AsyncWaterfallHook("loadRemoteSnapshot"),afterLoadSnapshot:new lr.AsyncWaterfallHook("afterLoadSnapshot")}),this.manifestLoading=nr.Global.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:o}){const{options:r}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:r,moduleInfo:e});let n=nr.getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});n||(n={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},nr.addGlobalSnapshot({[this.HostInstance.options.name]:n})),n&&"remotesInfo"in n&&!nr.getInfoWithoutType(n.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(n.remotesInfo={...n?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});const{hostGlobalSnapshot:s,remoteSnapshot:a,globalSnapshot:i}=this.getGlobalRemoteInfo(e),{remoteSnapshot:l,globalSnapshot:c}=await this.hooks.lifecycle.loadSnapshot.emit({options:r,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:a,globalSnapshot:i});let u,m;if(l)if((0,ur.isManifestProvider)(l)){const t=ur.isBrowserEnvValue?l.remoteEntry:l.ssrRemoteEntry||l.remoteEntry||"",o=await this.getManifestJson(t,e,{});u=o,m=nr.setGlobalSnapshotInfoByModuleInfo({...e,entry:t},o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:l,from:"global"});u=t,m=c}else if(rr.isRemoteInfoWithEntry(e)){const t=await this.getManifestJson(e.entry,e,{}),o=nr.setGlobalSnapshotInfoByModuleInfo(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});u=r,m=o}else or.error(mr.RUNTIME_007,mr.runtimeDescMap,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(c)},void 0,ar.optionsToMFContext(this.HostInstance.options));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:r,moduleInfo:e,remoteSnapshot:u}),{remoteSnapshot:u,globalSnapshot:m}}getGlobalRemoteInfo(e){return fr(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let r=await this.loaderHook.lifecycle.fetch.emit(e,{},sr.getRemoteInfo(t));r&&r instanceof Response||(r=await fetch(e,{})),o=await r.json()}catch(r){o=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),o||(delete this.manifestLoading[e],or.error(mr.RUNTIME_003,mr.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`,ar.optionsToMFContext(this.HostInstance.options)))}return or.assert(o.metaData&&o.exposes&&o.shared,`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${[!o.metaData&&"metaData",!o.exposes&&"exposes",!o.shared&&"shared"].filter(Boolean).join(", ")}.`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,ur.generateSnapshotFromManifest)(o,{version:e}),{remoteSnapshot:s}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:o,remoteSnapshot:n,manifestUrl:e,from:"manifest"});return s})().then(e=>e)),this.manifestLoading[e]}},tr.getGlobalRemoteInfo=fr;var dr={};const hr=n,pr=ct,gr=lt,_r=Xt,yr=Eo,Er=Io,Sr=Ao,br=Fo;let Ir=vt;dr.SharedHandler=class{constructor(e){this.hooks=new br.PluginSystem({beforeRegisterShare:new Er.SyncWaterfallHook("beforeRegisterShare"),afterResolve:new Sr.AsyncWaterfallHook("afterResolve"),beforeLoadShare:new Sr.AsyncWaterfallHook("beforeLoadShare"),loadShare:new yr.AsyncHook,resolveShare:new Er.SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new Er.SyncWaterfallHook("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){const{newShareInfos:o,allShareInfos:r}=gr.formatShareConfigs(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{o.scope.forEach(r=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:o}),this.shareScopeMap[r]?.[e]||this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:o.loaded||Boolean(o.lib),shared:o,from:t.name})})})}),{newShareInfos:o,allShareInfos:r}}async loadShare(e,t){const{host:o}=this,r=gr.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:o.options.shared});r?.scope&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const{shareInfo:n}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o});hr.assert(n,`Cannot find shared "${e}" in host "${o.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);const{shared:s,useTreesShaking:a}=gr.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(s){const t=gr.directShare(s,a);if(t.lib)return gr.addUseIn(t,o.options.name),t.lib;if(t.loading&&!t.loaded){const e=await t.loading;return t.loaded=!0,t.lib||(t.lib=e),gr.addUseIn(t,o.options.name),e}{const r=(async()=>{const e=await t.get();return gr.addUseIn(t,o.options.name),t.loaded=!0,t.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r,treeShaking:a?t:void 0}),r}}{if(t?.customShareInfo)return!1;const r=gr.shouldUseTreeShaking(n.treeShaking),s=gr.directShare(n,r),a=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,gr.addUseIn(s,o.options.name);const{shared:r,useTreesShaking:a}=gr.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(r){const e=gr.directShare(r,a);e.lib=t,e.loaded=!0,r.from=n.from}return t})();return this.setShared({pkgName:e,loaded:!1,shared:n,from:o.options.name,lib:null,loading:a,treeShaking:r?s:void 0}),a}}initializeSharing(e=pr.DEFAULT_SCOPE,t){const{host:o}=this,r=t?.from,n=t?.strategy;let s=t?.initScope;const a=[];if("build"!==r){const{initTokens:t}=this;s||(s=[]);let o=t[e];if(o||(o=t[e]={from:this.host.name}),s.indexOf(o)>=0)return a;s.push(o)}const i=this.shareScopeMap,l=o.options.name;i[e]||(i[e]={});const c=i[e];return Object.keys(o.options.shared).forEach(t=>{o.options.shared[t].forEach(o=>{o.scope.includes(e)&&((e,t)=>{const{version:o,eager:r}=t;c[e]=c[e]||{};const n=c[e],s=n[o]&&gr.directShare(n[o]),a=Boolean(s&&("eager"in s&&s.eager||"shareConfig"in s&&s.shareConfig?.eager));(!s||"loaded-first"!==s.strategy&&!s.loaded&&(Boolean(!r)!==!a?r:l>n[o].from))&&(n[o]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async e=>{const{module:t}=await o.remoteHandler.getRemoteModuleAndOptions({id:e});let r;try{r=await t.getEntry()}catch(ae){if(r=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:ae,from:"runtime",lifecycle:"beforeLoadShare",origin:o}),!r)return}finally{r?.init&&!t.initing&&(t.remoteEntryExports=r,await t.init(void 0,void 0,s))}})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=gr.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:o.options.shared});r?.scope&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const{shared:n,useTreesShaking:s}=gr.getRegisteredShare(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)||{};if(n){if("function"==typeof n.lib)return gr.addUseIn(n,o.options.name),n.loaded||(n.loaded=!0,n.from===o.options.name&&(r.loaded=!0)),n.lib;if("function"==typeof n.get){const t=n.get();if(!(t instanceof Promise))return gr.addUseIn(n,o.options.name),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:t,shared:n}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const n=r.get();return n instanceof Promise&&hr.error("build"===t?.from?Ir.RUNTIME_005:Ir.RUNTIME_006,Ir.runtimeDescMap,{hostName:o.options.name,sharedPkgName:e},void 0,_r.optionsToMFContext(o.options)),r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}hr.error(Ir.RUNTIME_006,Ir.runtimeDescMap,{hostName:o.options.name,sharedPkgName:e},void 0,_r.optionsToMFContext(o.options))}initShareScopeMap(e,t,o={}){const{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:o.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:o,lib:r,loading:n,loaded:s,get:a,treeShaking:i}){const{version:l,scope:c="default",...u}=t,m=Array.isArray(c)?c:[c];m.forEach(t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][l]||(this.shareScopeMap[t][e][l]={version:l,scope:[t],...u,lib:r});const c=this.shareScopeMap[t][e][l];(e=>{const t=(e,t,o)=>{o&&!e[t]&&(e[t]=o)},o=i?e.treeShaking:e;t(o,"loaded",s),t(o,"loading",n),t(o,"get",a)})(c),o&&c.from!==o&&(c.from=o)})}_setGlobalShareScopeMap(e){const t=gr.getGlobalShareScope(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}};var Rr={};const Nr=n,Tr=me,Mr=ct,vr=lt,Ar=Tt,Or=Mt,kr=Xt,Pr=zt,$r=co,wr=yo,Fr=Eo,Dr=Io,Lr=Ao,Ur=Fo,Hr=tr;let xr=s,Gr=vt;Rr.RemoteHandler=class{constructor(e){this.hooks=new Ur.PluginSystem({beforeRegisterRemote:new Dr.SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new Dr.SyncWaterfallHook("registerRemote"),beforeRequest:new Lr.AsyncWaterfallHook("beforeRequest"),onLoad:new Fr.AsyncHook("onLoad"),handlePreloadModule:new wr.SyncHook("handlePreloadModule"),errorLoadRemote:new Fr.AsyncHook("errorLoadRemote"),beforePreloadRemote:new Fr.AsyncHook("beforePreloadRemote"),generatePreloadAssets:new Fr.AsyncHook("generatePreloadAssets"),afterPreloadRemote:new Fr.AsyncHook,loadEntry:new Fr.AsyncHook}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:o,expose:r}=t,{name:n,alias:s}=o;if(this.idToRemoteMap[e]={name:o.name,expose:r},s&&e.startsWith(n)){const t=e.replace(n,s);return void(this.idToRemoteMap[t]={name:o.name,expose:r})}if(s&&e.startsWith(s)){const t=e.replace(s,n);this.idToRemoteMap[t]={name:o.name,expose:r}}}async loadRemote(e,t){const{host:o}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:n,moduleOptions:s,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:l,expose:c,id:u,remoteSnapshot:m}=a,f=await n.get(u,c,t,m),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?f:void 0,exposeModuleFactory:r?void 0:f,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof d?d:f}catch(ae){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:ae,from:n,lifecycle:"onLoad",origin:o});if(!s)throw ae;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=Pr.formatPreloadArgs(t.options.remotes,e);await Promise.all(o.map(async e=>{const{remote:o}=e,r=Or.getRemoteInfo(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:o}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&Pr.preloadAssets(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:o}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:t.options,origin:t})}catch(ae){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:ae,lifecycle:"beforeRequest"}),!r)throw ae}const{id:n}=r,s=Ar.matchRemoteWithNameAndExpose(t.options.remotes,n);s||Nr.error(Gr.RUNTIME_004,Gr.runtimeDescMap,{hostName:t.options.name,requestId:n},void 0,kr.optionsToMFContext(t.options));const{remote:a}=s,i=Or.getRemoteInfo(a),l=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:n,...s,options:t.options,origin:t,remoteInfo:i}),{remote:c,expose:u}=l;Nr.assert(c&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${n}.`);let m=t.moduleCache.get(c.name);const f={host:t,remoteInfo:i};return m||(m=new $r.Module(f),t.moduleCache.set(c.name,m)),{module:m,moduleOptions:f,remoteMatchInfo:l}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));Nr.assert(!o,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${o&&o.name} name or alias`)}"entry"in e&&xr.isBrowserEnvValue&&"undefined"!=typeof window&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=Mr.DEFAULT_SCOPE),e.type||(e.type=Mr.DEFAULT_REMOTE_TYPE)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const a=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];o?.force&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,xr.warn)(a.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:t}=this,{name:o}=e,r=t.options.remotes.findIndex(e=>e.name===o);-1!==r&&t.options.remotes.splice(r,1);const n=t.moduleCache.get(e.name);if(n){const o=n.remoteInfo,r=o.entryGlobalName;Tr.CurrentGlobal[r]&&(Object.getOwnPropertyDescriptor(Tr.CurrentGlobal,r)?.configurable?delete Tr.CurrentGlobal[r]:Tr.CurrentGlobal[r]=void 0);const s=Or.getRemoteEntryUniqueKey(n.remoteInfo);Tr.globalLoading[s]&&delete Tr.globalLoading[s],t.snapshotHandler.manifestCache.delete(o.entry);let a=o.buildVersion?(0,xr.composeKeyWithSeparator)(o.name,o.buildVersion):o.name;const i=Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(e=>o.buildVersion?e.options.id===a:e.name===a);if(-1!==i){const e=Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__[i];a=e.options.id||a;const t=vr.getGlobalShareScope();let r=!0;const n=[];Object.keys(t).forEach(e=>{const s=t[e];s&&Object.keys(s).forEach(t=>{const a=s[t];a&&Object.keys(a).forEach(s=>{const i=a[s];i&&Object.keys(i).forEach(a=>{const l=i[a];l&&"object"==typeof l&&l.from===o.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==o.name),l.useIn.length?r=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),r&&(e.shareScopeMap={},delete t[a]),n.forEach(([e,o,r,n])=>{delete t[e]?.[o]?.[r]?.[n]}),Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(i,1)}const{hostGlobalSnapshot:l}=Hr.getGlobalRemoteInfo(e,t);if(l){const t=l&&"remotesInfo"in l&&l.remotesInfo&&Tr.getInfoWithoutType(l.remotesInfo,e.name).key;t&&(delete l.remotesInfo[t],Boolean(Tr.Global.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete Tr.Global.__FEDERATION__.__MANIFEST_LOADING__[t])}t.moduleCache.delete(e.name)}}catch(t){Nr.logger.error(`removeRemote failed: ${t instanceof Error?t.message:String(t)}`)}}};const Cr=n,jr=ct,Br=lt,Wr=Wt,Vr=Vt,qr=Mt,Xr=co,Kr=yo,Yr=Eo,zr=Io,Jr=Ao,Zr=Fo,Qr=Uo,en=Wo,tn=tr,on=dr,rn=Rr;let nn=s,sn=vt;const an="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;_o.ModuleFederation=class{constructor(e){this.hooks=new Zr.PluginSystem({beforeInit:new zr.SyncWaterfallHook("beforeInit"),init:new Kr.SyncHook,beforeInitContainer:new Jr.AsyncWaterfallHook("beforeInitContainer"),initContainer:new Jr.AsyncWaterfallHook("initContainer")}),this.version="2.4.0",this.moduleCache=new Map,this.loaderHook=new Zr.PluginSystem({getModuleInfo:new Kr.SyncHook,createScript:new Kr.SyncHook,createLink:new Kr.SyncHook,fetch:new Yr.AsyncHook,loadEntryError:new Yr.AsyncHook,getModuleFactory:new Yr.AsyncHook}),this.bridgeHook=new Zr.PluginSystem({beforeBridgeRender:new Kr.SyncHook,afterBridgeRender:new Kr.SyncHook,beforeBridgeDestroy:new Kr.SyncHook,afterBridgeDestroy:new Kr.SyncHook});const t=an?[Qr.snapshotPlugin(),en.generatePreloadAssetsPlugin()]:[],o={id:Wr.getBuilderId(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:nn.isBrowserEnvValue};this.name=e.name,this.options=o,this.snapshotHandler=new tn.SnapshotHandler(this),this.sharedHandler=new on.SharedHandler(this),this.remoteHandler=new rn.RemoteHandler(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...o.plugins,...e.plugins||[]]),this.options=this.formatOptions(o,e)}initOptions(e){e.name&&e.name!==this.options.name&&Cr.error((0,sn.getShortErrorMsg)(sn.RUNTIME_010,sn.runtimeDescMap)),this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=jr.DEFAULT_SCOPE,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=qr.getRemoteInfo({name:e,entry:t}),n=new Xr.Module({host:this,remoteInfo:r});return n.remoteEntryExports=o,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,o={}){this.sharedHandler.initShareScopeMap(e,t,o)}formatOptions(e,t){const{allShareInfos:o}=Br.formatShareConfigs(e,t),{userOptions:r,options:n}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),s=this.remoteHandler.formatAndRegisterRemote(n,r),{allShareInfos:a}=this.sharedHandler.registerShared(n,r),i=[...n.plugins];r.plugins&&r.plugins.forEach(e=>{i.includes(e)||i.push(e)});const l={...e,...t,plugins:i,remotes:s,shared:a,id:r.id||e.id};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){const t=Vr.registerPlugins(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>t?(e&&!e.find(e=>e.name===t.name)&&e.push(t),e):e,t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}};var ln={},cn={},un=Object.defineProperty;cn.__exportAll=(e,t)=>{let o={};for(var r in e)un(o,r,{get:e[r],enumerable:!0});return t||un(o,Symbol.toStringTag,{value:"Module"}),o},function(e){var t=cn.__exportAll({});Object.defineProperty(e,"type_exports",{enumerable:!0,get:function(){return t}})}(ln),function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=n,o=ie,r=me,a=Ne,i=lt,l=Tt,c=Mt,u=co,m=_o,f=ln;let d=s;const h=Yt.default;e.CurrentGlobal=r.CurrentGlobal,e.Global=r.Global,e.Module=u.Module,e.ModuleFederation=m.ModuleFederation,e.addGlobalSnapshot=r.addGlobalSnapshot,e.assert=t.assert,e.error=t.error,e.getGlobalFederationConstructor=r.getGlobalFederationConstructor,e.getGlobalSnapshot=r.getGlobalSnapshot,e.getInfoWithoutType=r.getInfoWithoutType,e.getRegisteredShare=i.getRegisteredShare,e.getRemoteEntry=c.getRemoteEntry,e.getRemoteInfo=c.getRemoteInfo,e.helpers=h,e.isStaticResourcesEqual=o.isStaticResourcesEqual,Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return d.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return d.loadScriptNode}}),e.matchRemoteWithNameAndExpose=l.matchRemoteWithNameAndExpose,e.registerGlobalPlugins=r.registerGlobalPlugins,e.resetFederationGlobalInfo=r.resetFederationGlobalInfo,e.safeWrapper=o.safeWrapper,e.satisfy=a.satisfy,e.setGlobalFederationConstructor=r.setGlobalFederationConstructor,e.setGlobalFederationInstance=r.setGlobalFederationInstance,Object.defineProperty(e,"types",{enumerable:!0,get:function(){return f.type_exports}})}(r);let mn=r;o.getGlobalFederationInstance=function(e,t){const o="undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:"";return mn.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(r=>!(!o||r.options.id!==o)||(r.options.name===e&&!r.options.version&&!t||!(r.options.name!==e||!t||r.options.version!==t)))},function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=o;let n=r,s=vt;function a(e){const t=new((0,n.getGlobalFederationConstructor)()||n.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,n.setGlobalFederationInstance)(t),t}let i=null;(0,n.setGlobalFederationConstructor)(n.ModuleFederation),Object.defineProperty(e,"Module",{enumerable:!0,get:function(){return n.Module}}),e.ModuleFederation=n.ModuleFederation,e.createInstance=a,e.getInstance=function(){return i},Object.defineProperty(e,"getRemoteEntry",{enumerable:!0,get:function(){return n.getRemoteEntry}}),Object.defineProperty(e,"getRemoteInfo",{enumerable:!0,get:function(){return n.getRemoteInfo}}),e.init=function(e){const o=t.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return o?(o.initOptions(r),i||(i=o),o):(i=a(r),i)},e.loadRemote=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadRemote.apply(i,e)},Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return n.loadScriptNode}}),e.loadShare=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadShare.apply(i,e)},e.loadShareSync=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadShareSync.apply(i,e)},e.preloadRemote=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.preloadRemote.apply(i,e)},Object.defineProperty(e,"registerGlobalPlugins",{enumerable:!0,get:function(){return n.registerGlobalPlugins}}),e.registerPlugins=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerPlugins.apply(i,e)},e.registerRemotes=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerRemotes.apply(i,e)},e.registerShared=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerShared.apply(i,e)}}(t),"undefined"==typeof __VUE_HMR_RUNTIME__&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});const fn="__mf_init__virtual:mf:__mfe_internal__reventless_host_shell__mf_v__runtimeInit__mf_v__.js__";let dn=globalThis[fn];if(!dn){let e,t;const o=new Promise((o,r)=>{e=o,t=r});dn=globalThis[fn]={initPromise:o,initResolve:e,initReject:t},"undefined"==typeof window&&e({loadRemote:function(){return Promise.resolve(void 0)},loadShare:function(){return Promise.resolve(void 0)}})}const hn=dn.initResolve,pn="__mf_module_cache__";globalThis[pn]||={share:{},remote:{}},globalThis[pn].share||={},globalThis[pn].remote||={};const gn=globalThis[pn],_n={},yn="default",En="__mfe_internal__reventless_host_shell";let Sn,bn;async function In(e){for(let o=0;;o++)try{return await e()}catch(t){throw t}}async function Rn(o={},r=[]){const{usedShared:n,usedRemotes:s}=await async function(){return Sn||(Sn=In(()=>e(()=>import("./_virtual_mf-localSharedImportMap___mfe_internal__reventless_host_shell-BLQUn2lH.js"),[])).catch(e=>{throw Sn=void 0,e})),Sn}();if(void 0===gn.share.react){const t=await e(()=>import("./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-BS-h5UZc.js").then(e=>e._),[]),o=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},r=o(t),n=r===t?{...t}:r;Object.defineProperty(n,"__esModule",{value:!0,enumerable:!1}),gn.share.react=n}if(void 0===gn.share["react-dom"]){const t=await e(()=>import("./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-B8MMWKQv.js").then(e=>e._),[]),o=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},r=o(t),n=r===t?{...t}:r;Object.defineProperty(n,"__esModule",{value:!0,enumerable:!1}),gn.share["react-dom"]=n}const a=t.init({name:En,remotes:s,shared:n,plugins:[],shareStrategy:"version-first"});var i=_n[yn];if(i||(i=_n[yn]={from:En}),!(r.indexOf(i)>=0)){r.push(i),a.initShareScopeMap("default",o),hn(a);try{await In(async()=>{await Promise.all(await a.initializeSharing("default",{strategy:"version-first",from:"build",initScope:r}))})}catch(l){console.error("[Module Federation]",l)}for(const[e,t]of Object.entries(n)){if(!1!==t.shareConfig?.import||void 0!==gn.share[e])continue;const r=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},n=o?.[e],s=n&&n[Object.keys(n)[0]];if(!s)continue;const a=s.lib||(s.loading?await s.loading:await(s.get?.())),i="function"==typeof a?a():a,l=await Promise.resolve(i);gn.share[e]=r(l)}return a}}async function Nn(t){const o=await async function(){return bn||(bn=In(()=>e(()=>import("./virtualExposes-DN39MDG_.js"),[])).then(e=>e.default??e).catch(e=>{throw bn=void 0,e})),bn}();if(!(t in o))throw new Error(`[Module Federation] Module ${t} does not exist in container.`);return o[t]().then(e=>()=>e)}export{t as d,Nn as g,Rn as i};
1
+ import{_ as e}from"./preload-helper-BhLMWRjL.js";var t={},o={},r={},n={},s={},a={};const i={AT:"@",HYPHEN:"-",SLASH:"/"},l={[i.AT]:"scope_",[i.HYPHEN]:"_",[i.SLASH]:"__"},c={[l[i.AT]]:i.AT,[l[i.HYPHEN]]:i.HYPHEN,[l[i.SLASH]]:i.SLASH};let u=function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.CALCULATED=2]="CALCULATED",e[e.NO_USE=0]="NO_USE",e}({});a.BROWSER_LOG_KEY="FEDERATION_DEBUG",a.ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",a.EncodedNameTransformMap=c,a.FederationModuleManifest="federation-manifest.json",a.MANIFEST_EXT=".json",a.MFModuleType={NPM:"npm",APP:"app"},a.MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",a.ManifestFileName="mf-manifest.json",a.NameTransformMap=l,a.NameTransformSymbol=i,a.SEPARATOR=":",a.StatsFileName="mf-stats.json",a.TEMP_DIR=".federation",a.TreeShakingStatus=u;var m,f,d={},h={},p=Object.defineProperty;h.__exportAll=(e,t)=>{let o={};for(var r in e)p(o,r,{get:e[r],enumerable:!0});return t||p(o,Symbol.toStringTag,{value:"Module"}),o},m=d,f=h.__exportAll({}),Object.defineProperty(m,"ContainerPlugin_exports",{enumerable:!0,get:function(){return f}});var g={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ContainerReferencePlugin_exports",{enumerable:!0,get:function(){return t}})}(g);var _={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ModuleFederationPlugin_exports",{enumerable:!0,get:function(){return t}})}(_);var y={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"SharePlugin_exports",{enumerable:!0,get:function(){return t}})}(y);var E={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ConsumeSharedPlugin_exports",{enumerable:!0,get:function(){return t}})}(E);var S={};!function(e){var t=h.__exportAll({});Object.defineProperty(e,"ProvideSharedPlugin_exports",{enumerable:!0,get:function(){return t}})}(S);var b={},I={};const R=a,N=!0;function T(){return N}b.getProcessEnv=function(){return"undefined"!=typeof process&&I?I:{}},b.isBrowserEnv=T,b.isBrowserEnvValue=N,b.isDebugMode=function(){return"undefined"!=typeof process&&I&&I.FEDERATION_DEBUG?Boolean(I.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||function(){try{if(T()&&window.localStorage)return Boolean(localStorage.getItem(R.BROWSER_LOG_KEY))}catch(ae){return!1}return!1}()},b.isReactNativeEnv=function(){return"undefined"!=typeof navigator&&"ReactNative"===navigator?.product};var M={};const v=a,A=b,O="[ Federation Runtime ]",k=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${v.NameTransformSymbol.AT}`,"g"),v.NameTransformMap[v.NameTransformSymbol.AT]).replace(new RegExp(`${v.NameTransformSymbol.HYPHEN}`,"g"),v.NameTransformMap[v.NameTransformSymbol.HYPHEN]).replace(new RegExp(`${v.NameTransformSymbol.SLASH}`,"g"),v.NameTransformMap[v.NameTransformSymbol.SLASH])}${r}`}catch(r){throw r}},P=e=>{throw new Error(`${O}: ${e}`)};const $=/^([\d^=v<>~]|[*xX]$)/;M.assert=(e,t)=>{e||P(t)},M.composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${v.SEPARATOR}${t}`:t:e,""):""},M.decodeName=function(e,t,o){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.AT]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.AT]]).replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.SLASH]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.SLASH]]).replace(new RegExp(`${v.NameTransformMap[v.NameTransformSymbol.HYPHEN]}`,"g"),v.EncodedNameTransformMap[v.NameTransformMap[v.NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(r){throw r}},M.encodeName=k,M.error=P,M.generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),k(o,"__federation_expose_",t)},M.generateShareFilename=(e,t)=>e?k(e,"__federation_shared_",t):"",M.getResourceUrl=(e,t)=>{if("getPublicPath"in e){let o;return o=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${o}${t}`}return"publicPath"in e?A.isBrowserEnv()||A.isReactNativeEnv()||!("ssrPublicPath"in e)||"string"!=typeof e.ssrPublicPath?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},M.isRequiredVersion=function(e){return $.test(e)},M.parseEntry=(e,t,o=v.SEPARATOR)=>{const r=e.split(o),n="development"===A.getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(v.MANIFEST_EXT);if(r.length>=2){let[t,...a]=r;e.startsWith(o)&&(t=r.slice(0,2).join(o),a=[n||r.slice(2).join(o)]);let i=n||a.join(o);return s(i)?{name:t,entry:i}:{name:t,version:i||"*"}}if(1===r.length){const[e]=r;return n&&s(n)?{name:e,entry:n}:{name:e,version:n||"*"}}throw`Invalid entry value: ${e}`},M.safeToString=function(e){try{return JSON.stringify(e,null,2)}catch(t){return""}},M.warn=e=>{console.warn(`${O}: ${e}`)};var w={};const F=a,D=(e,t)=>{if(!e)return t;const o=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t};function L(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}w.generateSnapshotFromManifest=function(e,t={}){const{remotes:o={},overrides:r={},version:n}=t;let s;const a=()=>"publicPath"in e.metaData?"auto"!==e.metaData.publicPath&&""!==e.metaData.publicPath||!n?e.metaData.publicPath:L(n):e.metaData.getPublicPath,i=Object.keys(r);let l={};Object.keys(o).length||(l=e.remotes?.reduce((e,t)=>{let o;const n=t.federationContainerName;return o=i.includes(n)?r[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:o},e},{})||{}),Object.keys(o).forEach(e=>l[e]={matchedVersion:i.includes(e)?r[e]:o[e]});const{remoteEntry:{path:c,name:u,type:m},types:f={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:d},globalName:h,ssrRemoteEntry:p}=e.metaData,{exposes:g}=e;let _={version:n||"",buildVersion:d,globalName:h,remoteEntry:D(c,u),remoteEntryType:m,remoteTypes:D(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:l,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:g?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if("publicPath"in e.metaData?(s={..._,publicPath:a()},"string"==typeof e.metaData.ssrPublicPath&&(s.ssrPublicPath=e.metaData.ssrPublicPath)):s={..._,getPublicPath:a()},p){const e=D(p.path,p.name);s.ssrRemoteEntry=e,s.ssrRemoteEntryType=p.type||"commonjs-module"}return s},w.getManifestFileName=function(e){if(!e)return{statsFileName:F.StatsFileName,manifestFileName:F.ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",o="boolean"==typeof e?"":e.fileName||"";const r=".json",n=o?(s=o).endsWith(r)?s:`${s}${r}`:F.ManifestFileName;var s;return{statsFileName:D(t,o?((e,t)=>e.replace(r,`${t}${r}`))(n,"-stats"):F.StatsFileName),manifestFileName:D(t,n)}},w.inferAutoPublicPath=L,w.isManifestProvider=function(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(F.MANIFEST_EXT))},w.simpleJoinRemoteEntry=D;var U={};const H=b,x="[ Module Federation ]",G=console,C=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var j=class{constructor(e,t=G){this.prefix=e,this.delegate=t??G}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??G}emit(e,t){const o=this.delegate,r=H.isDebugMode()?function(){try{const e=(new Error).stack;if(!e)return;const[,...t]=e.split("\n"),o=t.filter(e=>!C.some(t=>e.includes(t)));if(!o.length)return;return`Stack trace:\n${o.slice(0,5).join("\n")}`}catch{return}}():void 0,n=r?[...t,r]:t,s=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(const a of s){const e=o[a];if("function"==typeof e)return void e.call(o,this.prefix,...n)}for(const a of s){const e=G[a];if("function"==typeof e)return void e.call(G,this.prefix,...n)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){H.isDebugMode()&&this.emit("debug",e)}};function B(e){return new j(e)}function W(e){const t=new j(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}const V=B(x),q=W(x);U.bindLoggerToCompiler=function(e,t,o){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{const r=t.getInfrastructureLogger(o);!r||"object"!=typeof r||"function"!=typeof r.log&&"function"!=typeof r.info&&"function"!=typeof r.warn&&"function"!=typeof r.error||e.setDelegate(r)}catch{e.setDelegate(void 0)}},U.createInfrastructureLogger=W,U.createLogger=B,U.infrastructureLogger=q,U.logger=V;var X={};const K=M;async function Y(e,t){try{return await e()}catch(o){return void(!t&&K.warn(o))}}function z(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function J(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let c=0;c<s.length;c++){const t=s[c],n=t.getAttribute("src");if(n&&z(n,e.url)){o=t,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===t?.type?"module":"text/javascript",e.createScriptHook&&(r=e.createScriptHook(e.url,e.attrs),r instanceof HTMLScriptElement?o=r:"object"==typeof r&&("script"in r&&r.script&&(o=r.script),"timeout"in r&&r.timeout&&(n=r.timeout))),o.src||(o.src=e.url),t&&!r&&Object.keys(t).forEach(e=>{o&&("async"===e||"defer"===e?o[e]=t[e]:o.getAttribute(e)||o.setAttribute(e,t[e]))})}let a=null;const i="undefined"!=typeof window?t=>{if(t.filename&&z(t.filename,e.url)){const o=new Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);o.name="ScriptExecutionError",a=o}}:null;i&&window.addEventListener("error",i);const l=async(r,n)=>{clearTimeout(t),i&&window.removeEventListener("error",i);const s=()=>{if("error"===n?.type){const t=new Error(n?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else a?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(o&&(o.onerror=null,o.onload=null,Y(()=>{const{needDeleteScript:t=!0}=e;t&&o?.parentNode&&o.parentNode.removeChild(o)}),r&&"function"==typeof r)){const e=r(n);if(e instanceof Promise){const t=await e;return s(),t}return s(),e}s()};return o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),t=setTimeout(()=>{l(null,{type:"error",isTimeout:!0})},n),{script:o,needAttach:r}}X.createLink=function(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let s=0;s<r.length;s++){const n=r[s],a=n.getAttribute("href"),i=n.getAttribute("rel");if(a&&z(a,e.url)&&i===e.attrs.rel){t=n,o=!1;break}}if(!t){let o;t=document.createElement("link"),t.setAttribute("href",e.url);const r=e.attrs;e.createLinkHook&&(o=e.createLinkHook(e.url,r),o instanceof HTMLLinkElement&&(t=o)),r&&!o&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}const n=(o,r)=>{const n=()=>{"error"===r?.type?e?.onErrorCallback&&e?.onErrorCallback(r):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,Y(()=>{const{needDeleteLink:o=!0}=e;o&&t?.parentNode&&t.parentNode.removeChild(t)}),o)){const e=o(r);return n(),e}n()};return t.onerror=n.bind(null,t.onerror),t.onload=n.bind(null,t.onload),{link:t,needAttach:o}},X.createScript=J,X.isStaticResourcesEqual=z,X.loadScript=function(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=J({url:e,cb:t,onErrorCallback:n,attrs:{fetchpriority:"high",...o},createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})},X.safeWrapper=Y;var Z={};Z.createScriptNode=(e,t,o,r)=>{t(new Error("createScriptNode is disabled in non-Node.js environment"))},Z.loadScriptNode=(e,t)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")};var Q={};Q.normalizeOptions=function(e,t,o){return function(r){if(!1===r)return!1;if(void 0===r)return!!e&&t;if(!0===r)return t;if(r&&"object"==typeof r)return{...t,...r};throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}};var ee={};ee.createModuleFederationConfig=e=>e,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=a,o=d,r=g,n=_,s=y,i=E,l=S,c=b,u=M,m=w,f=U,h=X,p=Z,I=Q,R=ee;e.BROWSER_LOG_KEY=t.BROWSER_LOG_KEY,e.ENCODE_NAME_PREFIX=t.ENCODE_NAME_PREFIX,e.EncodedNameTransformMap=t.EncodedNameTransformMap,e.FederationModuleManifest=t.FederationModuleManifest,e.MANIFEST_EXT=t.MANIFEST_EXT,e.MFModuleType=t.MFModuleType,e.MODULE_DEVTOOL_IDENTIFIER=t.MODULE_DEVTOOL_IDENTIFIER,e.ManifestFileName=t.ManifestFileName,e.NameTransformMap=t.NameTransformMap,e.NameTransformSymbol=t.NameTransformSymbol,e.SEPARATOR=t.SEPARATOR,e.StatsFileName=t.StatsFileName,e.TEMP_DIR=t.TEMP_DIR,e.TreeShakingStatus=t.TreeShakingStatus,e.assert=u.assert,e.bindLoggerToCompiler=f.bindLoggerToCompiler,e.composeKeyWithSeparator=u.composeKeyWithSeparator,Object.defineProperty(e,"consumeSharedPlugin",{enumerable:!0,get:function(){return i.ConsumeSharedPlugin_exports}}),Object.defineProperty(e,"containerPlugin",{enumerable:!0,get:function(){return o.ContainerPlugin_exports}}),Object.defineProperty(e,"containerReferencePlugin",{enumerable:!0,get:function(){return r.ContainerReferencePlugin_exports}}),e.createInfrastructureLogger=f.createInfrastructureLogger,e.createLink=h.createLink,e.createLogger=f.createLogger,e.createModuleFederationConfig=R.createModuleFederationConfig,e.createScript=h.createScript,e.createScriptNode=p.createScriptNode,e.decodeName=u.decodeName,e.encodeName=u.encodeName,e.error=u.error,e.generateExposeFilename=u.generateExposeFilename,e.generateShareFilename=u.generateShareFilename,e.generateSnapshotFromManifest=m.generateSnapshotFromManifest,e.getManifestFileName=m.getManifestFileName,e.getProcessEnv=c.getProcessEnv,e.getResourceUrl=u.getResourceUrl,e.inferAutoPublicPath=m.inferAutoPublicPath,e.infrastructureLogger=f.infrastructureLogger,e.isBrowserEnv=c.isBrowserEnv,e.isBrowserEnvValue=c.isBrowserEnvValue,e.isDebugMode=c.isDebugMode,e.isManifestProvider=m.isManifestProvider,e.isReactNativeEnv=c.isReactNativeEnv,e.isRequiredVersion=u.isRequiredVersion,e.isStaticResourcesEqual=h.isStaticResourcesEqual,e.loadScript=h.loadScript,e.loadScriptNode=p.loadScriptNode,e.logger=f.logger,Object.defineProperty(e,"moduleFederationPlugin",{enumerable:!0,get:function(){return n.ModuleFederationPlugin_exports}}),e.normalizeOptions=I.normalizeOptions,e.parseEntry=u.parseEntry,Object.defineProperty(e,"provideSharedPlugin",{enumerable:!0,get:function(){return l.ProvideSharedPlugin_exports}}),e.safeToString=u.safeToString,e.safeWrapper=h.safeWrapper,Object.defineProperty(e,"sharePlugin",{enumerable:!0,get:function(){return s.SharePlugin_exports}}),e.simpleJoinRemoteEntry=m.simpleJoinRemoteEntry,e.warn=u.warn}(s);var te={},oe={};oe.getShortErrorMsg=(e,t,o,r)=>{const n=[`${[t[e]]} #${e}`];return o&&n.push(`args: ${JSON.stringify(o)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")},function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=oe;e.logAndReport=function(e,o,r,n,s,a){return n(t.getShortErrorMsg(e,o,r,s))}}(te);let re=te;const ne="[ Federation Runtime ]",se=(0,s.createLogger)(ne);function ae(e,t,o,r,n){if(void 0!==t)return(0,re.logAndReport)(e,t,o??{},e=>{throw new Error(`${ne}: ${e}`)},r,n);const s=e;if(s instanceof Error)throw s.message.startsWith(ne)||(s.message=`${ne}: ${s.message}`),s;throw new Error(`${ne}: ${s}`)}n.assert=function(e,t,o,r,n){e||(void 0!==o?ae(t,o,r,void 0,n):ae(t))},n.error=ae,n.logger=se,n.warn=function(e){e instanceof Error?(e.message.startsWith(ne)||(e.message=`${ne}: ${e.message}`),se.warn(e)):se.warn(e)};var ie={};const le=n;let ce=s;const ue=Object.prototype.toString;ie.addUniqueItem=function(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e},ie.arrayOptions=function(e){return Array.isArray(e)?e:[e]},ie.getFMId=function(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`},ie.getRemoteEntryInfoFromSnapshot=function(e){const t={url:"",type:"global",globalName:""};return ce.isBrowserEnvValue||(0,ce.isReactNativeEnv)()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t},ie.isObject=function(e){return e&&"object"==typeof e},ie.isPlainObject=function(e){return"[object Object]"===ue.call(e)},ie.isPureRemoteEntry=function(e){return!e.entry.includes(".json")},ie.isRemoteInfoWithEntry=function(e){return void 0!==e.entry},ie.isStaticResourcesEqual=function(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")},ie.objectToString=ue,ie.processModuleAlias=(e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o},ie.safeWrapper=async function(e,t){try{return await e()}catch(o){return void(!t&&le.warn(o))}};var me={};const fe=n,de=ie;let he=s;const pe="object"==typeof globalThis?globalThis:window,ge=(()=>{try{return document.defaultView}catch{return pe}})(),_e=ge;function ye(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function Ee(e,t){return Object.hasOwnProperty.call(e,t)}Ee(pe,"__GLOBAL_LOADING_REMOTE_ENTRY__")||ye(pe,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const Se=pe.__GLOBAL_LOADING_REMOTE_ENTRY__;function be(e){Ee(e,"__VMOK__")&&!Ee(e,"__FEDERATION__")&&ye(e,"__FEDERATION__",e.__VMOK__),Ee(e,"__FEDERATION__")||(ye(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),ye(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function Ie(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const o=Object.keys(e);for(const r of o){const[o,n]=r.split(":"),s=`${o}:${t}`,a=e[s];if(a)return{value:a,key:s}}return{value:void 0,key:t}}}fe.error(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}be(pe),be(ge);const Re=(e,t)=>{const o=Ie(t,de.getFMId(e)).value;if(o&&!o.version&&"version"in e&&e.version&&(o.version=e.version),o)return o;if("version"in e&&e.version){const{version:t,...o}=e,r=de.getFMId(o),n=Ie(ge.__FEDERATION__.moduleInfo,r).value;if(n?.version===t)return n}};me.CurrentGlobal=pe,me.Global=_e,me.addGlobalSnapshot=e=>(ge.__FEDERATION__.moduleInfo={...ge.__FEDERATION__.moduleInfo,...e},()=>{const t=Object.keys(e);for(const e of t)delete ge.__FEDERATION__.moduleInfo[e]}),me.getGlobalFederationConstructor=function(){return pe.__FEDERATION__.__DEBUG_CONSTRUCTOR__},me.getGlobalHostPlugins=()=>ge.__FEDERATION__.__GLOBAL_PLUGIN__,me.getGlobalSnapshot=()=>ge.__FEDERATION__.moduleInfo,me.getGlobalSnapshotInfoByModuleInfo=e=>Re(e,ge.__FEDERATION__.moduleInfo),me.getInfoWithoutType=Ie,me.getPreloaded=e=>pe.__FEDERATION__.__PRELOADED_MAP__.get(e),me.getRemoteEntryExports=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:pe[o]}},me.getTargetSnapshotInfoByModuleInfo=Re,me.globalLoading=Se,me.nativeGlobal=ge,me.registerGlobalPlugins=e=>{const{__GLOBAL_PLUGIN__:t}=ge.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):fe.warn(`The plugin ${e.name} has been registered.`)})},me.resetFederationGlobalInfo=function(){pe.__FEDERATION__.__GLOBAL_PLUGIN__=[],pe.__FEDERATION__.__INSTANCES__=[],pe.__FEDERATION__.moduleInfo={},pe.__FEDERATION__.__SHARE__={},pe.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(Se).forEach(e=>{delete Se[e]})},me.setGlobalFederationConstructor=function(e,t=(0,he.isDebugMode)()){t&&(pe.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,pe.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.4.0")},me.setGlobalFederationInstance=function(e){pe.__FEDERATION__.__INSTANCES__.push(e)},me.setGlobalSnapshotInfoByModuleInfo=(e,t)=>{const o=de.getFMId(e);return ge.__FEDERATION__.moduleInfo[o]=t,ge.__FEDERATION__.moduleInfo},me.setPreloaded=e=>pe.__FEDERATION__.__PRELOADED_MAP__.set(e,!0);var Ne={},Te={},Me={};const ve="[0-9A-Za-z-]+",Ae=`(?:\\+(${ve}(?:\\.${ve})*))`,Oe="0|[1-9]\\d*",ke="[0-9]+",Pe="\\d*[a-zA-Z-][a-zA-Z0-9-]*",$e=`(?:${ke}|${Pe})`,we=`(?:${Oe}|${Pe})`,Fe=`(?:-(${we}(?:\\.${we})*))`,De=`${Oe}|x|X|\\*`,Le=`[v=\\s]*(${De})(?:\\.(${De})(?:\\.(${De})(?:${Fe})?${Ae}?)?)?`,Ue=`^\\s*(${Le})\\s+-\\s+(${Le})\\s*$`,He="((?:<|>)?=?)",xe=`(\\s*)${He}\\s*(${`[v=\\s]*(${ke})\\.(${ke})\\.(${ke})${`(?:-?(${$e}(?:\\.${$e})*))`}?${Ae}?`}|${Le})`,Ge="(?:~>?)",Ce=`(\\s*)${Ge}\\s+`,je="(?:\\^)",Be=`(\\s*)${je}\\s+`,We=`^${je}${Le}$`,Ve=`^${Ge}${Le}$`,qe=`^${He}\\s*${Le}$`,Xe=`^${He}\\s*(${`v?(${Oe})\\.(${Oe})\\.(${Oe})${Fe}?${Ae}?`})$|^$`;Me.caret=We,Me.caretTrim=Be,Me.comparator=Xe,Me.comparatorTrim=xe,Me.gte0="^\\s*>=\\s*0.0.0\\s*$",Me.hyphenRange=Ue,Me.star="(<|>)?=?\\s*\\*",Me.tilde=Ve,Me.tildeTrim=Ce,Me.xRange=qe;const Ke=Me;function Ye(e){return new RegExp(e)}Te.combineVersion=function(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n},Te.extractComparator=function(e){return e.match(Ye(Ke.comparator))},Te.isXVersion=function(e){return!e||"x"===e.toLowerCase()||"*"===e},Te.parseRegex=Ye,Te.pipe=function(...e){return t=>e.reduce((e,t)=>t(e),t)};var ze={};const Je=Me,Ze=Te;ze.parseCaretTrim=function(e){return e.replace(Ze.parseRegex(Je.caretTrim),"$1^")},ze.parseCarets=function(e){return e.trim().split(/\s+/).map(e=>e.replace(Ze.parseRegex(Je.caret),(e,t,o,r,n)=>Ze.isXVersion(t)?"":Ze.isXVersion(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Ze.isXVersion(r)?"0"===t?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.0 <${Number(t)+1}.0.0-0`:n?"0"===t?"0"===o?`>=${t}.${o}.${r}-${n} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r}-${n} <${Number(t)+1}.0.0-0`:"0"===t?"0"===o?`>=${t}.${o}.${r} <${t}.${o}.${Number(r)+1}-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${Number(t)+1}.0.0-0`)).join(" ")},ze.parseComparatorTrim=function(e){return e.replace(Ze.parseRegex(Je.comparatorTrim),"$1$2$3")},ze.parseGTE0=function(e){return e.trim().replace(Ze.parseRegex(Je.gte0),"")},ze.parseHyphen=function(e){return e.replace(Ze.parseRegex(Je.hyphenRange),(e,t,o,r,n,s,a,i,l,c,u,m)=>`${t=Ze.isXVersion(o)?"":Ze.isXVersion(r)?`>=${o}.0.0`:Ze.isXVersion(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=Ze.isXVersion(l)?"":Ze.isXVersion(c)?`<${Number(l)+1}.0.0-0`:Ze.isXVersion(u)?`<${l}.${Number(c)+1}.0-0`:m?`<=${l}.${c}.${u}-${m}`:`<=${i}`}`.trim())},ze.parseStar=function(e){return e.trim().replace(Ze.parseRegex(Je.star),"")},ze.parseTildeTrim=function(e){return e.replace(Ze.parseRegex(Je.tildeTrim),"$1~")},ze.parseTildes=function(e){return e.trim().split(/\s+/).map(e=>e.replace(Ze.parseRegex(Je.tilde),(e,t,o,r,n)=>Ze.isXVersion(t)?"":Ze.isXVersion(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Ze.isXVersion(r)?`>=${t}.${o}.0 <${t}.${Number(o)+1}.0-0`:n?`>=${t}.${o}.${r}-${n} <${t}.${Number(o)+1}.0-0`:`>=${t}.${o}.${r} <${t}.${Number(o)+1}.0-0`)).join(" ")},ze.parseXRanges=function(e){return e.split(/\s+/).map(e=>e.trim().replace(Ze.parseRegex(Je.xRange),(e,t,o,r,n,s)=>{const a=Ze.isXVersion(o),i=a||Ze.isXVersion(r),l=i||Ze.isXVersion(n);return"="===t&&l&&(t=""),s="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(i&&(r=0),n=0,">"===t?(t=">=",i?(o=Number(o)+1,r=0,n=0):(r=Number(r)+1,n=0)):"<="===t&&(t="<",i?o=Number(o)+1:r=Number(r)+1),"<"===t&&(s="-0"),`${t+o}.${r}.${n}${s}`):i?`>=${o}.0.0${s} <${Number(o)+1}.0.0-0`:l?`>=${o}.${r}.0${s} <${o}.${Number(r)+1}.0-0`:e})).join(" ")};var Qe={};function et(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function tt(e,t){return et(e.major,t.major)||et(e.minor,t.minor)||et(e.patch,t.patch)||function(e,t){const{preRelease:o}=e,{preRelease:r}=t;if(void 0===o&&Boolean(r))return 1;if(Boolean(o)&&void 0===r)return-1;if(void 0===o&&void 0===r)return 0;for(let n=0,s=o.length;n<=s;n++){const e=o[n],t=r[n];if(e!==t)return void 0===e&&void 0===t?0:e?t?et(e,t):-1:1}return 0}(e,t)}function ot(e,t){return e.version===t.version}Qe.compare=function(e,t){switch(e.operator){case"":case"=":return ot(e,t);case">":return tt(e,t)<0;case">=":return ot(e,t)||tt(e,t)<0;case"<":return tt(e,t)>0;case"<=":return ot(e,t)||tt(e,t)>0;case void 0:return!0;default:return!1}};const rt=Te,nt=ze,st=Qe;function at(e){return rt.pipe(nt.parseCarets,nt.parseTildes,nt.parseXRanges,nt.parseStar)(e)}function it(e){return rt.pipe(nt.parseHyphen,nt.parseComparatorTrim,nt.parseTildeTrim,nt.parseCaretTrim)(e.trim()).split(/\s+/).join(" ")}Ne.satisfy=function(e,t){if(!e)return!1;const o=rt.extractComparator(e);if(!o)return!1;const[,r,,n,s,a,i]=o,l={operator:r,version:rt.combineVersion(n,s,a,i),major:n,minor:s,patch:a,preRelease:i?.split(".")},c=t.split("||");for(const m of c){const e=m.trim();if(!e)return!0;if("*"===e||"x"===e)return!0;try{const t=it(e);if(!t.trim())return!0;const o=t.split(" ").map(e=>at(e)).join(" ");if(!o.trim())return!0;const r=o.split(/\s+/).map(e=>nt.parseGTE0(e)).filter(Boolean);if(0===r.length)continue;let n=!0;for(const e of r){const t=rt.extractComparator(e);if(!t){n=!1;break}const[,o,,r,s,a,i]=t;if(!st.compare({operator:o,version:rt.combineVersion(r,s,a,i),major:r,minor:s,patch:a,preRelease:i?.split(".")},l)){n=!1;break}}if(n)return!0}catch(u){console.error(`[semver] Error processing range part "${e}":`,u);continue}}return!1};var lt={},ct={};ct.DEFAULT_REMOTE_TYPE="global",ct.DEFAULT_SCOPE="default";const ut=n,mt=ie,ft=me,dt=ct,ht=Ne;let pt=s;function gt(e,t){if(!e)return!1;const{status:o,mode:r}=e;return o!==pt.TreeShakingStatus.NO_USE&&(o===pt.TreeShakingStatus.CALCULATED||"runtime-infer"===r&&(!t||St(e,t)))}function _t(e,t){const o=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let o=e;for(let e=0;e<3-t.length;e++)o+=".0";return o}return e};return!!ht.satisfy(o(e),`<=${o(t)}`)}const yt=(e,t)=>{const o=t||function(e,t){return _t(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},Et=e=>Boolean(e.loaded)||"function"==typeof e.lib,St=(e,t)=>{if(!e||!t)return!1;const{usedExports:o}=e;return!!o&&!!t.every(e=>o.includes(e))};function bt(e,t,o,r){const n=e[t][o];let s="",a=gt(r);const i=function(e,t){return a?!n[e].treeShaking||!!n[t].treeShaking&&(!Et(n[e].treeShaking)&&_t(e,t)):!Et(n[e])&&_t(e,t)};if(a){if(s=yt(e[t][o],i),s)return{version:s,useTreesShaking:a};a=!1}return{version:yt(e[t][o],i),useTreesShaking:a}}const It=e=>Et(e)||(e=>Boolean(e.loading))(e);function Rt(e,t,o,r){const n=e[t][o];let s="",a=gt(r);const i=function(e,t){if(a){if(!n[e].treeShaking)return!0;if(!n[t].treeShaking)return!1;if(It(n[t].treeShaking))return!It(n[e].treeShaking)||Boolean(_t(e,t));if(It(n[e].treeShaking))return!1}return It(n[t])?!It(n[e])||Boolean(_t(e,t)):!It(n[e])&&_t(e,t)};if(a){if(s=yt(e[t][o],i),s)return{version:s,useTreesShaking:a};a=!1}return{version:yt(e[t][o],i),useTreesShaking:a}}function Nt(e){return"loaded-first"===e?Rt:bt}lt.addUseIn=(e,t)=>{e.useIn||(e.useIn=[]),mt.addUniqueItem(e.useIn,t)},lt.directShare=function(e,t){return t&&e.treeShaking?e.treeShaking:e},lt.formatShareConfigs=function(e,t){const o=t.shared||{},r=t.name,n=Object.keys(o).reduce((e,n)=>{const s=mt.arrayOptions(o[n]);return e[n]=e[n]||[],s.forEach(o=>{e[n].push(function(e,t,o,r){let n;return n="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{ut.error(`Cannot get shared "${o}" from "${t}": neither "get" nor "lib" is provided in the share config.`)}),e.shareConfig?.eager&&e.treeShaking?.mode&&ut.error(`Invalid shared config for "${o}" from "${t}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:n,loaded:!(!e?.loaded&&!("lib"in e))||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??r)||"version-first",treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??"server-calc",status:e.treeShaking.status??pt.TreeShakingStatus.UNKNOWN,useIn:[]}:void 0}}(o,r,n,t.shareStrategy))}),e},{}),s={...e.shared};return Object.keys(n).forEach(e=>{s[e]?n[e].forEach(t=>{s[e].find(e=>e.version===t.version)||s[e].push(t)}):s[e]=n[e]}),{allShareInfos:s,newShareInfos:n}},lt.getGlobalShareScope=function(){return ft.Global.__FEDERATION__.__SHARE__},lt.getRegisteredShare=function(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=dt.DEFAULT_SCOPE,strategy:a,treeShaking:i}=o,l=Array.isArray(s)?s:[s];for(const c of l)if(n&&e[c]&&e[c][t]){const{requiredVersion:s}=n,{version:l,useTreesShaking:u}=Nt(a)(e,c,t,i),m=()=>{const r=e[c][t][l];if(n.singleton){if("string"==typeof s&&!ht.satisfy(l,s)){const e=`Version ${l} from ${l&&r.from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${s})`;n.strictVersion?ut.error(e):ut.warn(e)}return{shared:r,useTreesShaking:u}}{if(!1===s||"*"===s)return{shared:r,useTreesShaking:u};if(ht.satisfy(l,s))return{shared:r,useTreesShaking:u};const o=gt(i);if(o)for(const[r,n]of Object.entries(e[c][t]))if(gt(n.treeShaking,i?.usedExports)&&ht.satisfy(r,s))return{shared:n,useTreesShaking:o};for(const[r,n]of Object.entries(e[c][t]))if(ht.satisfy(r,s))return{shared:n,useTreesShaking:!1}}},f={shareScopeMap:e,scope:c,pkgName:t,version:l,GlobalFederation:ft.Global.__FEDERATION__,shareInfo:o,resolver:m};return(r.emit(f)||f).resolver()}},lt.getTargetSharedOptions=function(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e,n=o?.resolver??(e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});return t[yt(t,function(e,o){return!Et(t[e])&&_t(e,o)})]}),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),a=(...e)=>{const t={};for(const o of e)if(o)for(const[e,r]of Object.entries(o)){const o=t[e];s(o)&&s(r)?t[e]=a(o,r):void 0!==r&&(t[e]=r)}return t};return a(n(r[t]),o?.customShareInfo)},lt.shouldUseTreeShaking=gt;var Tt={};Tt.matchRemote=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}},Tt.matchRemoteWithNameAndExpose=function(e,t){for(const o of e){const e=t.startsWith(o.name);let r=t.replace(o.name,"");if(e){if(r.startsWith("/")){return r=`.${r}`,{pkgNameOrAlias:o.name,expose:r,remote:o}}if(""===r)return{pkgNameOrAlias:o.name,expose:".",remote:o}}const n=o.alias&&t.startsWith(o.alias);let s=o.alias&&t.replace(o.alias,"");if(o.alias&&n){if(s&&s.startsWith("/")){return s=`.${s}`,{pkgNameOrAlias:o.alias,expose:s,remote:o}}if(""===s)return{pkgNameOrAlias:o.alias,expose:".",remote:o}}}};var Mt={},vt={},At={};At.BUILD_001="BUILD-001",At.BUILD_002="BUILD-002",At.RUNTIME_001="RUNTIME-001",At.RUNTIME_002="RUNTIME-002",At.RUNTIME_003="RUNTIME-003",At.RUNTIME_004="RUNTIME-004",At.RUNTIME_005="RUNTIME-005",At.RUNTIME_006="RUNTIME-006",At.RUNTIME_007="RUNTIME-007",At.RUNTIME_008="RUNTIME-008",At.RUNTIME_009="RUNTIME-009",At.RUNTIME_010="RUNTIME-010",At.RUNTIME_011="RUNTIME-011",At.RUNTIME_012="RUNTIME-012",At.TYPE_001="TYPE-001";var Ot={};const kt=At,Pt={[kt.RUNTIME_001]:"Failed to get remoteEntry exports.",[kt.RUNTIME_002]:'The remote entry interface does not contain "init"',[kt.RUNTIME_003]:"Failed to get manifest.",[kt.RUNTIME_004]:"Failed to locate remote.",[kt.RUNTIME_005]:"Invalid loadShareSync function call from bundler runtime",[kt.RUNTIME_006]:"Invalid loadShareSync function call from runtime",[kt.RUNTIME_007]:"Failed to get remote snapshot.",[kt.RUNTIME_008]:"Failed to load script resources.",[kt.RUNTIME_009]:"Please call createInstance first.",[kt.RUNTIME_010]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[kt.RUNTIME_011]:"The remoteEntry URL is missing from the remote snapshot.",[kt.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},$t={[kt.TYPE_001]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},wt={[kt.BUILD_001]:"Failed to find expose module.",[kt.BUILD_002]:"PublicPath is required in prod mode."},Ft={...Pt,...$t,...wt};Ot.buildDescMap=wt,Ot.errorDescMap=Ft,Ot.runtimeDescMap=Pt,Ot.typeDescMap=$t,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=At,o=oe,r=Ot;e.BUILD_001=t.BUILD_001,e.BUILD_002=t.BUILD_002,e.RUNTIME_001=t.RUNTIME_001,e.RUNTIME_002=t.RUNTIME_002,e.RUNTIME_003=t.RUNTIME_003,e.RUNTIME_004=t.RUNTIME_004,e.RUNTIME_005=t.RUNTIME_005,e.RUNTIME_006=t.RUNTIME_006,e.RUNTIME_007=t.RUNTIME_007,e.RUNTIME_008=t.RUNTIME_008,e.RUNTIME_009=t.RUNTIME_009,e.RUNTIME_010=t.RUNTIME_010,e.RUNTIME_011=t.RUNTIME_011,e.RUNTIME_012=t.RUNTIME_012,e.TYPE_001=t.TYPE_001,e.buildDescMap=r.buildDescMap,e.errorDescMap=r.errorDescMap,e.getShortErrorMsg=o.getShortErrorMsg,e.runtimeDescMap=r.runtimeDescMap,e.typeDescMap=r.typeDescMap}(vt);const Dt=n,Lt=me,Ut=ct;let Ht=s,xt=vt;const Gt=".then(callbacks[0]).catch(callbacks[1])";async function Ct({name:e,globalName:t,entry:o,remoteInfo:r,loaderHook:n,getEntryUrl:s}){const{entryExports:a}=Lt.getRemoteEntryExports(e,t);if(a)return a;const i=s?s(o):o;return(0,Ht.loadScript)(i,{attrs:{},createScriptHook:(e,t)=>{const o=n.lifecycle.createScript.emit({url:e,attrs:t,remoteInfo:r});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>function(e,t,o){const{remoteEntryKey:r,entryExports:n}=Lt.getRemoteEntryExports(e,t);return n||Dt.error(xt.RUNTIME_001,xt.runtimeDescMap,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r}),n}(e,t,o),t=>{const o=t instanceof Error?t.message:String(t);Dt.error(xt.RUNTIME_008,xt.runtimeDescMap,{remoteName:e,resourceUrl:i},o)})}async function jt({remoteInfo:e,remoteEntryExports:t,loaderHook:o,getEntryUrl:r}){const{entry:n,entryGlobalName:s,name:a,type:i}=e;switch(i){case"esm":case"module":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${e}")${Gt}`)([o,r]):import(e).then(o).catch(r)}catch(n){Dt.error(`Failed to load ESM entry from "${e}". ${n instanceof Error?n.message:String(n)}`)}})}({entry:n,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):"undefined"==typeof __system_context__?System.import(e).then(o).catch(r):new Function("callbacks",`System.import("${e}")${Gt}`)([o,r])}catch(n){Dt.error(`Failed to load SystemJS entry from "${e}". ${n instanceof Error?n.message:String(n)}`)}})}({entry:n,remoteEntryExports:t});default:return Ct({entry:n,globalName:s,name:a,remoteInfo:e,loaderHook:o,getEntryUrl:r})}}function Bt(e){const{entry:t,name:o}=e;return(0,Ht.composeKeyWithSeparator)(o,t)}Mt.getRemoteEntry=async function e(t){const{origin:o,remoteEntryExports:r,remoteInfo:n,getEntryUrl:s,_inErrorHandling:a=!1}=t,i=Bt(n);if(r)return r;if(!Lt.globalLoading[i]){const t=o.remoteHandler.hooks.lifecycle.loadEntry,l=o.loaderHook;Lt.globalLoading[i]=t.emit({loaderHook:l,remoteInfo:n,remoteEntryExports:r}).then(e=>e||jt({remoteInfo:n,remoteEntryExports:r,loaderHook:l,getEntryUrl:s})).catch(async t=>{const s=Bt(n),i=t instanceof Error&&t.message.includes("ScriptExecutionError");if(t instanceof Error&&t.message.includes(xt.RUNTIME_008)&&!i&&!a){const t=t=>e({...t,_inErrorHandling:!0}),a=await o.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:t,origin:o,remoteInfo:n,remoteEntryExports:r,globalLoading:Lt.globalLoading,uniqueKey:s});if(a)return a}throw t})}return Lt.globalLoading[i]},Mt.getRemoteEntryUniqueKey=Bt,Mt.getRemoteInfo=function(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||Ut.DEFAULT_REMOTE_TYPE,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||Ut.DEFAULT_SCOPE}};var Wt={};Wt.getBuilderId=function(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""};var Vt={};const qt=me;Vt.registerPlugins=function(e,t){const o=qt.getGlobalHostPlugins(),r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return o.length>0&&o.forEach(t=>{e?.find(e=>e.name!==t.name)&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{r.forEach(o=>{o.applyPlugin(e,t)})}),e};var Xt={};function Kt(e){return{name:e.name,alias:e.alias,entry:"entry"in e?e.entry:void 0,version:"version"in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}Xt.optionsToMFContext=function(e){const t={};for(const[o,r]of Object.entries(e.shared)){const e=r[0];e&&(t[o]={version:e.version,singleton:e.shareConfig?.singleton,requiredVersion:!1!==e.shareConfig?.requiredVersion&&e.shareConfig?.requiredVersion,eager:e.eager,strictVersion:e.shareConfig?.strictVersion})}return{project:{name:e.name,mfRole:e.remotes?.length>0?"host":"unknown"},mfConfig:{name:e.name,remotes:e.remotes?.map(Kt)??[],shared:t}}};var Yt={},zt={};const Jt=n,Zt=Tt,Qt=Mt;let eo=s;function to(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,...e}}zt.defaultPreloadArgs=to,zt.formatPreloadArgs=function(e,t){return t.map(t=>{const o=Zt.matchRemote(e,t.nameOrAlias);return Jt.assert(o,`Unable to preload ${t.nameOrAlias} as it is not included in ${!o&&(0,eo.safeToString)({remoteInfo:o,remotes:e})}`),{remote:o,preloadConfig:to(t)}})},zt.normalizePreloadExposes=function(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]},zt.preloadAssets=function(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:a}=o;if(t.options.inBrowser){if(a.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);n?Qt.getRemoteEntry({origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}):Qt.getRemoteEntry({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const o={rel:"preload",as:"style"};n.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n}});s&&document.head.appendChild(n)})}else{const o={rel:"stylesheet",type:"text/css"};n.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});s&&document.head.appendChild(n)})}if(r){const o={rel:"preload",as:"script"};s.forEach(r=>{const{link:n,needAttach:s}=(0,eo.createLink)({url:r,cb:()=>{},attrs:o,createLinkHook:(o,r)=>{const n=t.loaderHook.lifecycle.createLink.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLLinkElement)return n}});s&&document.head.appendChild(n)})}else{const o={fetchpriority:"high",type:"module"===e?.type?"module":"text/javascript"};s.forEach(r=>{const{script:n,needAttach:s}=(0,eo.createScript)({url:r,cb:()=>{},attrs:o,createScriptHook:(o,r)=>{const n=t.loaderHook.lifecycle.createScript.emit({url:o,attrs:r,remoteInfo:e});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});s&&document.head.appendChild(n)})}}};const oo=me,ro=lt,no=Tt,so=Mt,ao=zt,io={getRegisteredShare:ro.getRegisteredShare,getGlobalShareScope:ro.getGlobalShareScope};var lo={global:{Global:oo.Global,nativeGlobal:oo.nativeGlobal,resetFederationGlobalInfo:oo.resetFederationGlobalInfo,setGlobalFederationInstance:oo.setGlobalFederationInstance,getGlobalFederationConstructor:oo.getGlobalFederationConstructor,setGlobalFederationConstructor:oo.setGlobalFederationConstructor,getInfoWithoutType:oo.getInfoWithoutType,getGlobalSnapshot:oo.getGlobalSnapshot,getTargetSnapshotInfoByModuleInfo:oo.getTargetSnapshotInfoByModuleInfo,getGlobalSnapshotInfoByModuleInfo:oo.getGlobalSnapshotInfoByModuleInfo,setGlobalSnapshotInfoByModuleInfo:oo.setGlobalSnapshotInfoByModuleInfo,addGlobalSnapshot:oo.addGlobalSnapshot,getRemoteEntryExports:oo.getRemoteEntryExports,registerGlobalPlugins:oo.registerGlobalPlugins,getGlobalHostPlugins:oo.getGlobalHostPlugins,getPreloaded:oo.getPreloaded,setPreloaded:oo.setPreloaded},share:io,utils:{matchRemoteWithNameAndExpose:no.matchRemoteWithNameAndExpose,preloadAssets:ao.preloadAssets,getRemoteInfo:so.getRemoteInfo}};Yt.default=lo;var co={};const uo=n,mo=ie,fo=Mt,ho=Xt;let po=s,go=vt;co.Module=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;const e=await fo.getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports});return uo.assert(e,`remoteEntryExports is undefined \n ${(0,po.safeToString)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async init(e,t,o){const r=await this.getEntry();if(this.inited)return r;if(this.initPromise)return await this.initPromise,r;this.initing=!0,this.initPromise=(async()=>{const{remoteEntryInitOptions:n,shareScope:s,initScope:a}=function(e,t,o){const r=t,n=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];n.length||n.push("default"),n.forEach(e=>{r[e]||(r[e]={})});const s={version:e.version||"",shareScopeKeys:Array.isArray(e.shareScope)?n:e.shareScope||"default"};return Object.defineProperty(s,"shareScopeMap",{value:r,enumerable:!1}),{remoteEntryInitOptions:s,shareScope:r[n[0]],initScope:o??[]}}(this.remoteInfo,this.host.shareScopeMap,o),i=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:n,initScope:a,remoteInfo:this.remoteInfo,origin:this.host});void 0===r?.init&&uo.error(go.RUNTIME_002,go.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,ho.optionsToMFContext(this.host.options)),await r.init(i.shareScope,i.initScope,i.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...i,id:e,remoteSnapshot:t,remoteEntryExports:r}),this.inited=!0})();try{await this.initPromise}finally{this.initing=!1,this.initPromise=void 0}return r}async get(e,t,o,r){const{loadFactory:n=!0}=o||{loadFactory:!0},s=await this.init(e,r);let a;this.lib=s,a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:s,expose:t,moduleInfo:this.remoteInfo}),a||(a=await s.get(t)),uo.assert(a,`${mo.getFMId(this.remoteInfo)} remote don't export ${t}.`);const i=mo.processModuleAlias(this.remoteInfo.name,t),l=this.wraperFactory(a,i);return n?await l():l}wraperFactory(e,t){function o(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{const r=await e();return o(r,t),r}:()=>{const r=e();return o(r,t),r}}};var _o={},yo={};yo.SyncHook=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function o(...r){return t.remove(o),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(o=>{t=o(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}};var Eo={};const So=yo;var bo=class extends So.SyncHook{emit(...e){let t;const o=Array.from(this.listeners);if(o.length>0){let r=0;const n=t=>!1!==t&&(r<o.length?Promise.resolve(o[r++].apply(null,e)).then(n):t);t=n()}return Promise.resolve(t)}};Eo.AsyncHook=bo;var Io={};const Ro=n,No=ie,To=yo;function Mo(e,t){if(!No.isObject(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}var vo=class extends To.SyncHook{constructor(e){super(),this.onerror=Ro.error,this.type=e}emit(e){No.isObject(e)||Ro.error(`The data for the "${this.type}" hook should be an object.`);for(const o of this.listeners)try{const t=o(e);if(!Mo(e,t)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=t}catch(t){Ro.warn(t),this.onerror(t)}return e}};Io.SyncWaterfallHook=vo,Io.checkReturnData=Mo;var Ao={};const Oo=n,ko=ie,Po=yo,$o=Io;var wo=class extends Po.SyncHook{constructor(e){super(),this.onerror=Oo.error,this.type=e}emit(e){ko.isObject(e)||Oo.error(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let o=0;const r=t=>(Oo.warn(t),this.onerror(t),e),n=s=>{if($o.checkReturnData(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(a){return r(a)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(n(e))}return Promise.resolve(e)}};Ao.AsyncWaterfallHook=wo;var Fo={};const Do=n,Lo=ie;Fo.PluginSystem=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){Do.assert(Lo.isPlainObject(e),"Plugin configuration is invalid.");const o=e.name;Do.assert(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){Do.assert(e,"A name is required.");const t=this.registerPlugins[e];Do.assert(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}};var Uo={};const Ho=n,xo=ie,Go=zt;let Co=s,jo=vt;function Bo(e,t){const o=xo.getRemoteEntryInfoFromSnapshot(t);o.url||Ho.error(jo.RUNTIME_011,jo.runtimeDescMap,{remoteName:e.name});let r=(0,Co.getResourceUrl)(t,o.url);Co.isBrowserEnvValue||r.startsWith("http")||(r=`https:${r}`),e.type=o.type,e.entryGlobalName=o.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}Uo.assignRemoteInfo=Bo,Uo.snapshotPlugin=function(){return{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:n,remoteInfo:s,id:a}=e;if(!xo.isRemoteInfoWithEntry(t)||!xo.isPureRemoteEntry(t)){const{remoteSnapshot:i,globalSnapshot:l}=await n.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:a});Bo(s,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await n.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:n,preloadOptions:c,remoteInfo:s,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&Go.preloadAssets(s,n,u,!1),{...e,remoteSnapshot:i}}return e}}};var Wo={};const Vo=ie,qo=me,Xo=lt,Ko=zt,Yo=Uo;let zo=s;function Jo(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function Zo(e,t,o,r,n={},s){const{value:a}=qo.getInfoWithoutType(e,Vo.getFMId(t)),i=s||a;if(i&&!(0,zo.isManifestProvider)(i)&&(o(i,t,r),i.remotesInfo)){const t=Object.keys(i.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=Jo(r),s=i.remotesInfo[r];Zo(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const Qo=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function er(e,t,o,r,n){const s=[],a=[],i=[],l=new Set,c=new Set,{options:u}=e,{preloadConfig:m}=t,{depsRemote:f}=m;if(Zo(r,o,(t,o,r)=>{let n;if(r)n=m;else if(Array.isArray(f)){const e=f.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=Ko.defaultPreloadArgs(e)}else{if(!0!==f)return;n=m}const l=(0,zo.getResourceUrl)(t,Vo.getRemoteEntryInfoFromSnapshot(t).url);l&&i.push({name:o.name,moduleInfo:{name:o.name,entry:l,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:o.name,shareScope:"",version:"version"in t?t.version:void 0},url:l});let c="modules"in t?t.modules:[];const u=Ko.normalizePreloadExposes(n.exposes);function d(e){const o=e.map(e=>(0,zo.getResourceUrl)(t,e));return n.filter?o.filter(n.filter):o}if(u.length&&"modules"in t&&(c=t?.modules?.reduce((e,t)=>(-1!==u?.indexOf(t.moduleName)&&e.push(t),e),[])),c){const r=c.length;for(let i=0;i<r;i++){const r=c[i],l=`${o.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?o.name:l,name:o.name,remoteSnapshot:t,preloadConfig:n,remote:o,origin:e}),qo.getPreloaded(l)||("all"===n.resourceCategory?(s.push(...d(r.assets.css.async)),s.push(...d(r.assets.css.sync)),a.push(...d(r.assets.js.async)),a.push(...d(r.assets.js.sync))):"sync"===n.resourceCategory&&(s.push(...d(r.assets.css.sync)),a.push(...d(r.assets.js.sync))),qo.setPreloaded(l))}}},!0,{},n),n.shared&&n.shared.length>0){const t=(t,o)=>{const{shared:r}=Xo.getRegisteredShare(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{l.add(e)}),o.assets.css.sync.forEach(e=>{c.add(e)}))};n.shared.forEach(e=>{const o=u.shared?.[e.sharedName];if(!o)return;const r=e.version?o.find(t=>t.version===e.version):o;r&&Vo.arrayOptions(r).forEach(o=>{t(o,e)})})}const d=a.filter(e=>!l.has(e)&&!Qo("script",e));return{cssAssets:s.filter(e=>!c.has(e)&&!Qo("link",e)),jsAssetsWithoutEntry:d,entryAssets:i.filter(e=>!Qo("script",e.url))}}Wo.generatePreloadAssetsPlugin=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:a}=e;return zo.isBrowserEnvValue?Vo.isRemoteInfoWithEntry(n)&&Vo.isPureRemoteEntry(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(Yo.assignRemoteInfo(r,a),er(t,o,r,s,a)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};var tr={};const or=n,rr=ie,nr=me,sr=Mt,ar=Xt,ir=Eo,lr=Ao,cr=Fo;let ur=s,mr=vt;function fr(e,t){const o=nr.getGlobalSnapshotInfoByModuleInfo({name:t.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&nr.getInfoWithoutType(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:nr.getGlobalSnapshot(),remoteSnapshot:nr.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:nr.getGlobalSnapshot(),remoteSnapshot:nr.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:"version"in e?e.version:void 0})}}tr.SnapshotHandler=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new cr.PluginSystem({beforeLoadRemoteSnapshot:new ir.AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new lr.AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new lr.AsyncWaterfallHook("loadRemoteSnapshot"),afterLoadSnapshot:new lr.AsyncWaterfallHook("afterLoadSnapshot")}),this.manifestLoading=nr.Global.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:o}){const{options:r}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:r,moduleInfo:e});let n=nr.getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});n||(n={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},nr.addGlobalSnapshot({[this.HostInstance.options.name]:n})),n&&"remotesInfo"in n&&!nr.getInfoWithoutType(n.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(n.remotesInfo={...n?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});const{hostGlobalSnapshot:s,remoteSnapshot:a,globalSnapshot:i}=this.getGlobalRemoteInfo(e),{remoteSnapshot:l,globalSnapshot:c}=await this.hooks.lifecycle.loadSnapshot.emit({options:r,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:a,globalSnapshot:i});let u,m;if(l)if((0,ur.isManifestProvider)(l)){const t=ur.isBrowserEnvValue?l.remoteEntry:l.ssrRemoteEntry||l.remoteEntry||"",o=await this.getManifestJson(t,e,{});u=o,m=nr.setGlobalSnapshotInfoByModuleInfo({...e,entry:t},o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:l,from:"global"});u=t,m=c}else if(rr.isRemoteInfoWithEntry(e)){const t=await this.getManifestJson(e.entry,e,{}),o=nr.setGlobalSnapshotInfoByModuleInfo(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});u=r,m=o}else or.error(mr.RUNTIME_007,mr.runtimeDescMap,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(c)},void 0,ar.optionsToMFContext(this.HostInstance.options));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:r,moduleInfo:e,remoteSnapshot:u}),{remoteSnapshot:u,globalSnapshot:m}}getGlobalRemoteInfo(e){return fr(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let r=await this.loaderHook.lifecycle.fetch.emit(e,{},sr.getRemoteInfo(t));r&&r instanceof Response||(r=await fetch(e,{})),o=await r.json()}catch(r){o=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),o||(delete this.manifestLoading[e],or.error(mr.RUNTIME_003,mr.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`,ar.optionsToMFContext(this.HostInstance.options)))}return or.assert(o.metaData&&o.exposes&&o.shared,`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${[!o.metaData&&"metaData",!o.exposes&&"exposes",!o.shared&&"shared"].filter(Boolean).join(", ")}.`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,ur.generateSnapshotFromManifest)(o,{version:e}),{remoteSnapshot:s}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:o,remoteSnapshot:n,manifestUrl:e,from:"manifest"});return s})().then(e=>e)),this.manifestLoading[e]}},tr.getGlobalRemoteInfo=fr;var dr={};const hr=n,pr=ct,gr=lt,_r=Xt,yr=Eo,Er=Io,Sr=Ao,br=Fo;let Ir=vt;dr.SharedHandler=class{constructor(e){this.hooks=new br.PluginSystem({beforeRegisterShare:new Er.SyncWaterfallHook("beforeRegisterShare"),afterResolve:new Sr.AsyncWaterfallHook("afterResolve"),beforeLoadShare:new Sr.AsyncWaterfallHook("beforeLoadShare"),loadShare:new yr.AsyncHook,resolveShare:new Er.SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new Er.SyncWaterfallHook("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){const{newShareInfos:o,allShareInfos:r}=gr.formatShareConfigs(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{o.scope.forEach(r=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:o}),this.shareScopeMap[r]?.[e]||this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:o.loaded||Boolean(o.lib),shared:o,from:t.name})})})}),{newShareInfos:o,allShareInfos:r}}async loadShare(e,t){const{host:o}=this,r=gr.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:o.options.shared});r?.scope&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const{shareInfo:n}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o});hr.assert(n,`Cannot find shared "${e}" in host "${o.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);const{shared:s,useTreesShaking:a}=gr.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(s){const t=gr.directShare(s,a);if(t.lib)return gr.addUseIn(t,o.options.name),t.lib;if(t.loading&&!t.loaded){const e=await t.loading;return t.loaded=!0,t.lib||(t.lib=e),gr.addUseIn(t,o.options.name),e}{const r=(async()=>{const e=await t.get();return gr.addUseIn(t,o.options.name),t.loaded=!0,t.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r,treeShaking:a?t:void 0}),r}}{if(t?.customShareInfo)return!1;const r=gr.shouldUseTreeShaking(n.treeShaking),s=gr.directShare(n,r),a=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,gr.addUseIn(s,o.options.name);const{shared:r,useTreesShaking:a}=gr.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(r){const e=gr.directShare(r,a);e.lib=t,e.loaded=!0,r.from=n.from}return t})();return this.setShared({pkgName:e,loaded:!1,shared:n,from:o.options.name,lib:null,loading:a,treeShaking:r?s:void 0}),a}}initializeSharing(e=pr.DEFAULT_SCOPE,t){const{host:o}=this,r=t?.from,n=t?.strategy;let s=t?.initScope;const a=[];if("build"!==r){const{initTokens:t}=this;s||(s=[]);let o=t[e];if(o||(o=t[e]={from:this.host.name}),s.indexOf(o)>=0)return a;s.push(o)}const i=this.shareScopeMap,l=o.options.name;i[e]||(i[e]={});const c=i[e];return Object.keys(o.options.shared).forEach(t=>{o.options.shared[t].forEach(o=>{o.scope.includes(e)&&((e,t)=>{const{version:o,eager:r}=t;c[e]=c[e]||{};const n=c[e],s=n[o]&&gr.directShare(n[o]),a=Boolean(s&&("eager"in s&&s.eager||"shareConfig"in s&&s.shareConfig?.eager));(!s||"loaded-first"!==s.strategy&&!s.loaded&&(Boolean(!r)!==!a?r:l>n[o].from))&&(n[o]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async e=>{const{module:t}=await o.remoteHandler.getRemoteModuleAndOptions({id:e});let r;try{r=await t.getEntry()}catch(ae){if(r=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:ae,from:"runtime",lifecycle:"beforeLoadShare",origin:o}),!r)return}finally{r?.init&&!t.initing&&(t.remoteEntryExports=r,await t.init(void 0,void 0,s))}})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=gr.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:o.options.shared});r?.scope&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const{shared:n,useTreesShaking:s}=gr.getRegisteredShare(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)||{};if(n){if("function"==typeof n.lib)return gr.addUseIn(n,o.options.name),n.loaded||(n.loaded=!0,n.from===o.options.name&&(r.loaded=!0)),n.lib;if("function"==typeof n.get){const t=n.get();if(!(t instanceof Promise))return gr.addUseIn(n,o.options.name),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:t,shared:n}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const n=r.get();return n instanceof Promise&&hr.error("build"===t?.from?Ir.RUNTIME_005:Ir.RUNTIME_006,Ir.runtimeDescMap,{hostName:o.options.name,sharedPkgName:e},void 0,_r.optionsToMFContext(o.options)),r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}hr.error(Ir.RUNTIME_006,Ir.runtimeDescMap,{hostName:o.options.name,sharedPkgName:e},void 0,_r.optionsToMFContext(o.options))}initShareScopeMap(e,t,o={}){const{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:o.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:o,lib:r,loading:n,loaded:s,get:a,treeShaking:i}){const{version:l,scope:c="default",...u}=t,m=Array.isArray(c)?c:[c];m.forEach(t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][l]||(this.shareScopeMap[t][e][l]={version:l,scope:[t],...u,lib:r});const c=this.shareScopeMap[t][e][l];(e=>{const t=(e,t,o)=>{o&&!e[t]&&(e[t]=o)},o=i?e.treeShaking:e;t(o,"loaded",s),t(o,"loading",n),t(o,"get",a)})(c),o&&c.from!==o&&(c.from=o)})}_setGlobalShareScopeMap(e){const t=gr.getGlobalShareScope(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}};var Rr={};const Nr=n,Tr=me,Mr=ct,vr=lt,Ar=Tt,Or=Mt,kr=Xt,Pr=zt,$r=co,wr=yo,Fr=Eo,Dr=Io,Lr=Ao,Ur=Fo,Hr=tr;let xr=s,Gr=vt;Rr.RemoteHandler=class{constructor(e){this.hooks=new Ur.PluginSystem({beforeRegisterRemote:new Dr.SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new Dr.SyncWaterfallHook("registerRemote"),beforeRequest:new Lr.AsyncWaterfallHook("beforeRequest"),onLoad:new Fr.AsyncHook("onLoad"),handlePreloadModule:new wr.SyncHook("handlePreloadModule"),errorLoadRemote:new Fr.AsyncHook("errorLoadRemote"),beforePreloadRemote:new Fr.AsyncHook("beforePreloadRemote"),generatePreloadAssets:new Fr.AsyncHook("generatePreloadAssets"),afterPreloadRemote:new Fr.AsyncHook,loadEntry:new Fr.AsyncHook}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:o,expose:r}=t,{name:n,alias:s}=o;if(this.idToRemoteMap[e]={name:o.name,expose:r},s&&e.startsWith(n)){const t=e.replace(n,s);return void(this.idToRemoteMap[t]={name:o.name,expose:r})}if(s&&e.startsWith(s)){const t=e.replace(s,n);this.idToRemoteMap[t]={name:o.name,expose:r}}}async loadRemote(e,t){const{host:o}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:n,moduleOptions:s,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:l,expose:c,id:u,remoteSnapshot:m}=a,f=await n.get(u,c,t,m),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?f:void 0,exposeModuleFactory:r?void 0:f,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof d?d:f}catch(ae){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:ae,from:n,lifecycle:"onLoad",origin:o});if(!s)throw ae;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=Pr.formatPreloadArgs(t.options.remotes,e);await Promise.all(o.map(async e=>{const{remote:o}=e,r=Or.getRemoteInfo(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:o}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&Pr.preloadAssets(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:o}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:t.options,origin:t})}catch(ae){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:ae,lifecycle:"beforeRequest"}),!r)throw ae}const{id:n}=r,s=Ar.matchRemoteWithNameAndExpose(t.options.remotes,n);s||Nr.error(Gr.RUNTIME_004,Gr.runtimeDescMap,{hostName:t.options.name,requestId:n},void 0,kr.optionsToMFContext(t.options));const{remote:a}=s,i=Or.getRemoteInfo(a),l=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:n,...s,options:t.options,origin:t,remoteInfo:i}),{remote:c,expose:u}=l;Nr.assert(c&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${n}.`);let m=t.moduleCache.get(c.name);const f={host:t,remoteInfo:i};return m||(m=new $r.Module(f),t.moduleCache.set(c.name,m)),{module:m,moduleOptions:f,remoteMatchInfo:l}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));Nr.assert(!o,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${o&&o.name} name or alias`)}"entry"in e&&xr.isBrowserEnvValue&&"undefined"!=typeof window&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=Mr.DEFAULT_SCOPE),e.type||(e.type=Mr.DEFAULT_REMOTE_TYPE)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const a=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];o?.force&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,xr.warn)(a.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:t}=this,{name:o}=e,r=t.options.remotes.findIndex(e=>e.name===o);-1!==r&&t.options.remotes.splice(r,1);const n=t.moduleCache.get(e.name);if(n){const o=n.remoteInfo,r=o.entryGlobalName;Tr.CurrentGlobal[r]&&(Object.getOwnPropertyDescriptor(Tr.CurrentGlobal,r)?.configurable?delete Tr.CurrentGlobal[r]:Tr.CurrentGlobal[r]=void 0);const s=Or.getRemoteEntryUniqueKey(n.remoteInfo);Tr.globalLoading[s]&&delete Tr.globalLoading[s],t.snapshotHandler.manifestCache.delete(o.entry);let a=o.buildVersion?(0,xr.composeKeyWithSeparator)(o.name,o.buildVersion):o.name;const i=Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(e=>o.buildVersion?e.options.id===a:e.name===a);if(-1!==i){const e=Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__[i];a=e.options.id||a;const t=vr.getGlobalShareScope();let r=!0;const n=[];Object.keys(t).forEach(e=>{const s=t[e];s&&Object.keys(s).forEach(t=>{const a=s[t];a&&Object.keys(a).forEach(s=>{const i=a[s];i&&Object.keys(i).forEach(a=>{const l=i[a];l&&"object"==typeof l&&l.from===o.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==o.name),l.useIn.length?r=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),r&&(e.shareScopeMap={},delete t[a]),n.forEach(([e,o,r,n])=>{delete t[e]?.[o]?.[r]?.[n]}),Tr.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(i,1)}const{hostGlobalSnapshot:l}=Hr.getGlobalRemoteInfo(e,t);if(l){const t=l&&"remotesInfo"in l&&l.remotesInfo&&Tr.getInfoWithoutType(l.remotesInfo,e.name).key;t&&(delete l.remotesInfo[t],Boolean(Tr.Global.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete Tr.Global.__FEDERATION__.__MANIFEST_LOADING__[t])}t.moduleCache.delete(e.name)}}catch(t){Nr.logger.error(`removeRemote failed: ${t instanceof Error?t.message:String(t)}`)}}};const Cr=n,jr=ct,Br=lt,Wr=Wt,Vr=Vt,qr=Mt,Xr=co,Kr=yo,Yr=Eo,zr=Io,Jr=Ao,Zr=Fo,Qr=Uo,en=Wo,tn=tr,on=dr,rn=Rr;let nn=s,sn=vt;const an="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;_o.ModuleFederation=class{constructor(e){this.hooks=new Zr.PluginSystem({beforeInit:new zr.SyncWaterfallHook("beforeInit"),init:new Kr.SyncHook,beforeInitContainer:new Jr.AsyncWaterfallHook("beforeInitContainer"),initContainer:new Jr.AsyncWaterfallHook("initContainer")}),this.version="2.4.0",this.moduleCache=new Map,this.loaderHook=new Zr.PluginSystem({getModuleInfo:new Kr.SyncHook,createScript:new Kr.SyncHook,createLink:new Kr.SyncHook,fetch:new Yr.AsyncHook,loadEntryError:new Yr.AsyncHook,getModuleFactory:new Yr.AsyncHook}),this.bridgeHook=new Zr.PluginSystem({beforeBridgeRender:new Kr.SyncHook,afterBridgeRender:new Kr.SyncHook,beforeBridgeDestroy:new Kr.SyncHook,afterBridgeDestroy:new Kr.SyncHook});const t=an?[Qr.snapshotPlugin(),en.generatePreloadAssetsPlugin()]:[],o={id:Wr.getBuilderId(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:nn.isBrowserEnvValue};this.name=e.name,this.options=o,this.snapshotHandler=new tn.SnapshotHandler(this),this.sharedHandler=new on.SharedHandler(this),this.remoteHandler=new rn.RemoteHandler(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...o.plugins,...e.plugins||[]]),this.options=this.formatOptions(o,e)}initOptions(e){e.name&&e.name!==this.options.name&&Cr.error((0,sn.getShortErrorMsg)(sn.RUNTIME_010,sn.runtimeDescMap)),this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=jr.DEFAULT_SCOPE,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=qr.getRemoteInfo({name:e,entry:t}),n=new Xr.Module({host:this,remoteInfo:r});return n.remoteEntryExports=o,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,o={}){this.sharedHandler.initShareScopeMap(e,t,o)}formatOptions(e,t){const{allShareInfos:o}=Br.formatShareConfigs(e,t),{userOptions:r,options:n}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),s=this.remoteHandler.formatAndRegisterRemote(n,r),{allShareInfos:a}=this.sharedHandler.registerShared(n,r),i=[...n.plugins];r.plugins&&r.plugins.forEach(e=>{i.includes(e)||i.push(e)});const l={...e,...t,plugins:i,remotes:s,shared:a,id:r.id||e.id};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){const t=Vr.registerPlugins(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>t?(e&&!e.find(e=>e.name===t.name)&&e.push(t),e):e,t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}};var ln={},cn={},un=Object.defineProperty;cn.__exportAll=(e,t)=>{let o={};for(var r in e)un(o,r,{get:e[r],enumerable:!0});return t||un(o,Symbol.toStringTag,{value:"Module"}),o},function(e){var t=cn.__exportAll({});Object.defineProperty(e,"type_exports",{enumerable:!0,get:function(){return t}})}(ln),function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=n,o=ie,r=me,a=Ne,i=lt,l=Tt,c=Mt,u=co,m=_o,f=ln;let d=s;const h=Yt.default;e.CurrentGlobal=r.CurrentGlobal,e.Global=r.Global,e.Module=u.Module,e.ModuleFederation=m.ModuleFederation,e.addGlobalSnapshot=r.addGlobalSnapshot,e.assert=t.assert,e.error=t.error,e.getGlobalFederationConstructor=r.getGlobalFederationConstructor,e.getGlobalSnapshot=r.getGlobalSnapshot,e.getInfoWithoutType=r.getInfoWithoutType,e.getRegisteredShare=i.getRegisteredShare,e.getRemoteEntry=c.getRemoteEntry,e.getRemoteInfo=c.getRemoteInfo,e.helpers=h,e.isStaticResourcesEqual=o.isStaticResourcesEqual,Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return d.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return d.loadScriptNode}}),e.matchRemoteWithNameAndExpose=l.matchRemoteWithNameAndExpose,e.registerGlobalPlugins=r.registerGlobalPlugins,e.resetFederationGlobalInfo=r.resetFederationGlobalInfo,e.safeWrapper=o.safeWrapper,e.satisfy=a.satisfy,e.setGlobalFederationConstructor=r.setGlobalFederationConstructor,e.setGlobalFederationInstance=r.setGlobalFederationInstance,Object.defineProperty(e,"types",{enumerable:!0,get:function(){return f.type_exports}})}(r);let mn=r;o.getGlobalFederationInstance=function(e,t){const o="undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:"";return mn.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(r=>!(!o||r.options.id!==o)||(r.options.name===e&&!r.options.version&&!t||!(r.options.name!==e||!t||r.options.version!==t)))},function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=o;let n=r,s=vt;function a(e){const t=new((0,n.getGlobalFederationConstructor)()||n.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,n.setGlobalFederationInstance)(t),t}let i=null;(0,n.setGlobalFederationConstructor)(n.ModuleFederation),Object.defineProperty(e,"Module",{enumerable:!0,get:function(){return n.Module}}),e.ModuleFederation=n.ModuleFederation,e.createInstance=a,e.getInstance=function(){return i},Object.defineProperty(e,"getRemoteEntry",{enumerable:!0,get:function(){return n.getRemoteEntry}}),Object.defineProperty(e,"getRemoteInfo",{enumerable:!0,get:function(){return n.getRemoteInfo}}),e.init=function(e){const o=t.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return o?(o.initOptions(r),i||(i=o),o):(i=a(r),i)},e.loadRemote=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadRemote.apply(i,e)},Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return n.loadScriptNode}}),e.loadShare=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadShare.apply(i,e)},e.loadShareSync=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.loadShareSync.apply(i,e)},e.preloadRemote=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.preloadRemote.apply(i,e)},Object.defineProperty(e,"registerGlobalPlugins",{enumerable:!0,get:function(){return n.registerGlobalPlugins}}),e.registerPlugins=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerPlugins.apply(i,e)},e.registerRemotes=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerRemotes.apply(i,e)},e.registerShared=function(...e){return(0,n.assert)(i,s.RUNTIME_009,s.runtimeDescMap),i.registerShared.apply(i,e)}}(t),"undefined"==typeof __VUE_HMR_RUNTIME__&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});const fn="__mf_init__virtual:mf:__mfe_internal__reventless_host_shell__mf_v__runtimeInit__mf_v__.js__";let dn=globalThis[fn];if(!dn){let e,t;const o=new Promise((o,r)=>{e=o,t=r});dn=globalThis[fn]={initPromise:o,initResolve:e,initReject:t},"undefined"==typeof window&&e({loadRemote:function(){return Promise.resolve(void 0)},loadShare:function(){return Promise.resolve(void 0)}})}const hn=dn.initResolve,pn="__mf_module_cache__";globalThis[pn]||={share:{},remote:{}},globalThis[pn].share||={},globalThis[pn].remote||={};const gn=globalThis[pn],_n={},yn="default",En="__mfe_internal__reventless_host_shell";let Sn,bn;async function In(e){for(let o=0;;o++)try{return await e()}catch(t){throw t}}async function Rn(o={},r=[]){const{usedShared:n,usedRemotes:s}=await async function(){return Sn||(Sn=In(()=>e(()=>import("./_virtual_mf-localSharedImportMap___mfe_internal__reventless_host_shell-ono2b_pU.js"),[])).catch(e=>{throw Sn=void 0,e})),Sn}();if(void 0===gn.share.react){const t=await e(()=>import("./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react__loadShare__.mjs-DLOxYCzB.js").then(e=>e._),[]),o=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},r=o(t),n=r===t?{...t}:r;Object.defineProperty(n,"__esModule",{value:!0,enumerable:!1}),gn.share.react=n}if(void 0===gn.share["react-dom"]){const t=await e(()=>import("./_virtual_mf___mfe_internal__reventless_host_shell__loadShare__react_mf_2_dom__loadShare__.mjs-B8MMWKQv.js").then(e=>e._),[]),o=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},r=o(t),n=r===t?{...t}:r;Object.defineProperty(n,"__esModule",{value:!0,enumerable:!1}),gn.share["react-dom"]=n}const a=t.init({name:En,remotes:s,shared:n,plugins:[],shareStrategy:"version-first"});var i=_n[yn];if(i||(i=_n[yn]={from:En}),!(r.indexOf(i)>=0)){r.push(i),a.initShareScopeMap("default",o),hn(a);try{await In(async()=>{await Promise.all(await a.initializeSharing("default",{strategy:"version-first",from:"build",initScope:r}))})}catch(l){console.error("[Module Federation]",l)}for(const[e,t]of Object.entries(n)){if(!1!==t.shareConfig?.import||void 0!==gn.share[e])continue;const r=e=>{let t=e;for(let o=0;o<5;o++){const e=t?.default;if(!e||"object"!=typeof e)break;const o=Object.keys(t).filter(e=>"default"!==e).map(e=>t[e]);if(o.length>0&&o.some(e=>void 0!==e))break;t=e}return t},n=o?.[e],s=n&&n[Object.keys(n)[0]];if(!s)continue;const a=s.lib||(s.loading?await s.loading:await(s.get?.())),i="function"==typeof a?a():a,l=await Promise.resolve(i);gn.share[e]=r(l)}return a}}async function Nn(t){const o=await async function(){return bn||(bn=In(()=>e(()=>import("./virtualExposes-DN39MDG_.js"),[])).then(e=>e.default??e).catch(e=>{throw bn=void 0,e})),bn}();if(!(t in o))throw new Error(`[Module Federation] Module ${t} does not exist in container.`);return o[t]().then(e=>()=>e)}export{t as d,Nn as g,Rn as i};
@@ -10,8 +10,8 @@ const __mfImport = (src) =>
10
10
  ? globalThis.System.import(src)
11
11
  : import(src);
12
12
  (async () => {
13
- const { initHost } = await __mfImport("/assets/hostInit-B7rzcxKq.js");
13
+ const { initHost } = await __mfImport("/assets/hostInit-CIZ7Bc_m.js");
14
14
  const runtime = await initHost();
15
15
  const __mfRemotePreloads = [];
16
16
  await Promise.all(__mfRemotePreloads);
17
- })().then(() => __mfImport("/assets/index-CAdS_8Us.js"));
17
+ })().then(() => __mfImport("/assets/index-BvFKQn53.js"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-host-shell",
3
- "version": "3.0.0-alpha.94",
3
+ "version": "3.0.0-alpha.96",
4
4
  "description": "Reventless host shell SPA — loads plugin UI fragments at runtime via Module Federation",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "bin": {
@@ -29,9 +29,9 @@
29
29
  "@module-federation/runtime": "^0.18.0",
30
30
  "@rescript/react": "^0.13.1",
31
31
  "@reventlessdev/reventless-routes": "3.0.0-alpha.12",
32
- "@reventlesslab/reventless-graph": "3.0.0-alpha.16",
33
- "@reventlesslab/reventless-map": "3.0.0-alpha.16",
34
- "@reventlesslab/reventless-ui": "3.0.0-alpha.88",
32
+ "@reventlesslab/reventless-graph": "3.0.0-alpha.18",
33
+ "@reventlesslab/reventless-map": "3.0.0-alpha.18",
34
+ "@reventlesslab/reventless-ui": "3.0.0-alpha.90",
35
35
  "graphql-ws": "^5.16.0",
36
36
  "jwt-decode": "^4.0.0",
37
37
  "react": "^18.3.1",
@@ -47,5 +47,5 @@
47
47
  "registry": "https://registry.npmjs.org",
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "d2661cd6ff793b7f4fc40b57d2d1e760e97816ca"
50
+ "gitHead": "d2a7156f66c7f5f42837c6d5c13faf6d33a6df7e"
51
51
  }