@descope/flow-components 2.2.6 → 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fm/134.js +1 -0
- package/dist/fm/222.js +1 -1
- package/dist/fm/898346859e6d3010e20a.svg +4 -0
- package/dist/fm/985.js +1 -1
- package/dist/fm/996.js +1 -1
- package/dist/fm/@mf-types/compiled-types/icons/index.d.ts +2 -1
- package/dist/fm/@mf-types.zip +0 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +8 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/types/icons/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/fm/921.js +0 -1
package/dist/fm/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var __webpack_modules__={509:(e,t,o)=>{"use strict";var r={};function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n.apply(this,arguments)}function s(e,t){if(null==e)return{};var o,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)o=s[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}o.r(r),o.d(r,{FederationHost:()=>ht,Module:()=>ze,getInstance:()=>St,getRemoteEntry:()=>Ve,getRemoteInfo:()=>Ke,init:()=>dt,loadRemote:()=>ft,loadScript:()=>a.k0,loadScriptNode:()=>a.oe,loadShare:()=>_t,loadShareSync:()=>yt,preloadRemote:()=>gt,registerGlobalPlugins:()=>W,registerPlugins:()=>Et,registerRemotes:()=>bt});var a=o(2870);const i="RUNTIME-001",l="RUNTIME-002",c="RUNTIME-003",u="RUNTIME-004",p="RUNTIME-005",h="RUNTIME-006",m="RUNTIME-007",d="RUNTIME-008",f="TYPE-001",_="BUILD-001",y=(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}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")};function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}const b={[i]:"Failed to get remoteEntry exports.",[l]:'The remote entry interface does not contain "init"',[c]:"Failed to get manifest.",[u]:"Failed to locate remote.",[p]:"Invalid loadShareSync function call from bundler runtime",[h]:"Invalid loadShareSync function call from runtime",[m]:"Failed to get remote snapshot.",[d]:"Failed to load script resources."},E=(g({},b,{[f]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},{[_]:"Failed to find expose module."}),"[ Federation Runtime ]"),S=(0,a.h)(E);function v(e,t){e||w(t)}function w(e){if(e instanceof Error)throw e.message=`${E}: ${e.message}`,e;throw new Error(`${E}: ${e}`)}function N(e){e instanceof Error?(e.message=`${E}: ${e.message}`,S.warn(e)):S.warn(e)}function k(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e}function I(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function R(e){return void 0!==e.entry}function O(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}function $(e){return e&&"object"==typeof e}const T=Object.prototype.toString;function A(e){return Array.isArray(e)?e:[e]}function M(e){const t={url:"",type:"global",globalName:""};return(0,a.OL)()||(0,a.tf)()?"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}const P="object"==typeof globalThis?globalThis:window,L=(()=>{try{return document.defaultView}catch(e){return P}})(),x=L;function D(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function H(e,t){return Object.hasOwnProperty.call(e,t)}H(P,"__GLOBAL_LOADING_REMOTE_ENTRY__")||D(P,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const j=P.__GLOBAL_LOADING_REMOTE_ENTRY__;function F(e){var t,o,r,n,s,a;H(e,"__VMOK__")&&!H(e,"__FEDERATION__")&&D(e,"__FEDERATION__",e.__VMOK__),H(e,"__FEDERATION__")||(D(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),D(e,"__VMOK__",e.__FEDERATION__)),null!=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__||(t.__GLOBAL_PLUGIN__=[]),null!=(o=e.__FEDERATION__).__INSTANCES__||(o.__INSTANCES__=[]),null!=(r=e.__FEDERATION__).moduleInfo||(r.moduleInfo={}),null!=(n=e.__FEDERATION__).__SHARE__||(n.__SHARE__={}),null!=(s=e.__FEDERATION__).__MANIFEST_LOADING__||(s.__MANIFEST_LOADING__={}),null!=(a=e.__FEDERATION__).__PRELOADED_MAP__||(a.__PRELOADED_MAP__=new Map)}function C(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}}}throw new Error("key must be string")}F(P),F(L);const q=()=>L.__FEDERATION__.moduleInfo,G=e=>((e,t)=>{const o=C(t,I(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}=e,o=I(s(e,["version"])),r=C(L.__FEDERATION__.moduleInfo,o).value;if((null==r?void 0:r.version)===t)return r}})(e,L.__FEDERATION__.moduleInfo),U=(e,t)=>{const o=I(e);return L.__FEDERATION__.moduleInfo[o]=t,L.__FEDERATION__.moduleInfo},B=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:P[o]}},W=e=>{const{__GLOBAL_PLUGIN__:t}=L.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):N(`The plugin ${e.name} has been registered.`)})},V=e=>P.__FEDERATION__.__PRELOADED_MAP__.get(e),K=e=>P.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),z="default",X="global",Y="[0-9A-Za-z-]+",J=`(?:\\+(${Y}(?:\\.${Y})*))`,Z="0|[1-9]\\d*",Q="[0-9]+",ee="\\d*[a-zA-Z-][a-zA-Z0-9-]*",te=`(?:${Q}|${ee})`,oe=`(?:${Z}|${ee})`,re=`(?:-(${oe}(?:\\.${oe})*))`,ne=`${Z}|x|X|\\*`,se=`[v=\\s]*(${ne})(?:\\.(${ne})(?:\\.(${ne})(?:${re})?${J}?)?)?`,ae=`^\\s*(${se})\\s+-\\s+(${se})\\s*$`,ie="((?:<|>)?=?)",le=`(\\s*)${ie}\\s*([v=\\s]*(${Q})\\.(${Q})\\.(${Q})(?:-?(${te}(?:\\.${te})*))?${J}?|${se})`,ce="(?:~>?)",ue=`(\\s*)${ce}\\s+`,pe="(?:\\^)",he=`(\\s*)${pe}\\s+`,me=`^${pe}${se}$`,de=`^${ce}${se}$`,fe=`^${ie}\\s*${se}$`,_e=`^${ie}\\s*(v?(${Z})\\.(${Z})\\.(${Z})${re}?${J}?)$|^$`;function ye(e){return new RegExp(e)}function ge(e){return!e||"x"===e.toLowerCase()||"*"===e}function be(...e){return t=>e.reduce((e,t)=>t(e),t)}function Ee(e){return e.match(ye(_e))}function Se(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n}function ve(e){return e.replace(ye(ae),(e,t,o,r,n,s,a,i,l,c,u,p)=>`${t=ge(o)?"":ge(r)?`>=${o}.0.0`:ge(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=ge(l)?"":ge(c)?`<${Number(l)+1}.0.0-0`:ge(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${i}`}`.trim())}function we(e){return e.replace(ye(le),"$1$2$3")}function Ne(e){return e.replace(ye(ue),"$1~")}function ke(e){return e.replace(ye(he),"$1^")}function Ie(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(me),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(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(" ")}function Re(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(de),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(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(" ")}function Oe(e){return e.split(/\s+/).map(e=>e.trim().replace(ye(fe),(e,t,o,r,n,s)=>{const a=ge(o),i=a||ge(r),l=i||ge(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(" ")}function $e(e){return e.trim().replace(ye("(<|>)?=?\\s*\\*"),"")}function Te(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function Ae(e,t){return Te(e.major,t.major)||Te(e.minor,t.minor)||Te(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 e=0,t=o.length;e<=t;e++){const t=o[e],n=r[e];if(t!==n)return void 0===t&&void 0===n?0:t?n?Te(t,n):-1:1}return 0}(e,t)}function Me(e,t){return e.version===t.version}function Pe(e,t){switch(e.operator){case"":case"=":return Me(e,t);case">":return Ae(e,t)<0;case">=":return Me(e,t)||Ae(e,t)<0;case"<":return Ae(e,t)>0;case"<=":return Me(e,t)||Ae(e,t)>0;case void 0:return!0;default:return!1}}function Le(e,t){if(!e)return!1;const o=function(e){return be(ve,we,Ne,ke)(e.trim()).split(/\s+/).join(" ")}(t),r=o.split(" ").map(e=>function(e){return be(Ie,Re,Oe,$e)(e)}(e)).join(" "),n=r.split(/\s+/).map(e=>e.trim().replace(ye("^\\s*>=\\s*0.0.0\\s*$"),"")),s=Ee(e);if(!s)return!1;const[,a,,i,l,c,u]=s,p={operator:a,version:Se(i,l,c,u),major:i,minor:l,patch:c,preRelease:null==u?void 0:u.split(".")};for(const e of n){const t=Ee(e);if(!t)return!1;const[,o,,r,n,s,a]=t;if(!Pe({operator:o,version:Se(r,n,s,a),major:r,minor:n,patch:s,preRelease:null==a?void 0:a.split(".")},p))return!1}return!0}function xe(e,t){const o=t.shared||{},r=t.name,s=Object.keys(o).reduce((e,s)=>{const a=A(o[s]);return e[s]=e[s]||[],a.forEach(o=>{e[s].push(function(e,t,o,r){let s;var a,i,l;return s="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${o}'!`)}),n({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:s,loaded:!(!(null==e?void 0:e.loaded)&&!("lib"in e))||void 0,version:null!=(a=e.version)?a:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(i=e.scope)?i:"default"],strategy:(null!=(l=e.strategy)?l:r)||"version-first"})}(o,r,s,t.shareStrategy))}),e},{}),a=n({},e.shared);return Object.keys(s).forEach(e=>{a[e]?s[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=s[e]}),{shared:a,shareInfos:s}}function De(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!!Le(o(e),`<=${o(t)}`)}const He=(e,t)=>{const o=t||function(e,t){return De(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},je=e=>Boolean(e.loaded)||"function"==typeof e.lib;function Fe(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){return!je(r[e])&&De(e,t)})}function Ce(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){const o=e=>je(e)||(e=>Boolean(e.loading))(e);return o(r[t])?!o(r[e])||Boolean(De(e,t)):!o(r[e])&&De(e,t)})}function qe(e){return"loaded-first"===e?Ce:Fe}function Ge(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=z,strategy:a}=o,i=Array.isArray(s)?s:[s];for(const s of i)if(n&&e[s]&&e[s][t]){const{requiredVersion:i}=n,l=qe(a)(e,s,t),c=()=>{if(n.singleton){if("string"==typeof i&&!Le(l,i)){const r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${i})`;n.strictVersion?w(r):N(r)}return e[s][t][l]}if(!1===i||"*"===i)return e[s][t][l];if(Le(l,i))return e[s][t][l];for(const[o,r]of Object.entries(e[s][t]))if(Le(o,i))return r},u={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:x.__FEDERATION__,resolver:c};return(r.emit(u)||u).resolver()}}function Ue(){return x.__FEDERATION__.__SHARE__}function Be(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e;var n;const s=null!=(n=null==o?void 0:o.resolver)?n:e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});const o=He(t,function(e,o){return!je(t[e])&&De(e,o)});return t[o]};return Object.assign({},s(r[t]),null==o?void 0:o.customShareInfo)}function We(e){const{entry:t,name:o}=e;return(0,a.lG)(o,t)}async function Ve({origin:e,remoteEntryExports:t,remoteInfo:o}){const r=We(o);if(t)return t;if(!j[r]){const n=e.remoteHandler.hooks.lifecycle.loadEntry,s=e.loaderHook;j[r]=n.emit({loaderHook:s,remoteInfo:o,remoteEntryExports:t}).then(e=>e||((0,a.OL)()?async function({remoteInfo:e,remoteEntryExports:t,loaderHook:o}){const{entry:r,entryGlobalName:n,name:s,type:l}=e;switch(l){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}").then(callbacks[0]).catch(callbacks[1])`)([o,r]):import(e).then(o).catch(r)}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):new Function("callbacks",`System.import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r])}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});default:return async function({name:e,globalName:t,entry:o,loaderHook:r}){const{entryExports:n}=B(e,t);return n||(0,a.k0)(o,{attrs:{},createScriptHook:(e,t)=>{const o=r.lifecycle.createScript.emit({url:e,attrs:t});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>{const{remoteEntryKey:r,entryExports:n}=B(e,t);return v(n,y(i,b,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r})),n}).catch(t=>{throw v(void 0,y(d,b,{remoteName:e,resourceUrl:o})),t})}({entry:r,globalName:n,name:s,loaderHook:o})}}({remoteInfo:o,remoteEntryExports:t,loaderHook:s}):async function({remoteInfo:e,loaderHook:t}){const{entry:o,entryGlobalName:r,name:n,type:s}=e,{entryExports:l}=B(n,r);return l||(0,a.oe)(o,{attrs:{name:n,globalName:r,type:s},loaderHook:{createScriptHook:(e,o={})=>{const r=t.lifecycle.createScript.emit({url:e,attrs:o});if(r)return"url"in r?r:void 0}}}).then(()=>{const{remoteEntryKey:e,entryExports:t}=B(n,r);return v(t,y(i,b,{remoteName:n,remoteEntryUrl:o,remoteEntryKey:e})),t}).catch(e=>{throw e})}({remoteInfo:o,loaderHook:s})))}return j[r]}function Ke(e){return n({},e,{entry:"entry"in e?e.entry:"",type:e.type||X,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||z})}let ze=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let e;try{e=await Ve({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(t){const o=We(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:Ve,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:j,uniqueKey:o})}return v(e,`remoteEntryExports is undefined \n ${(0,a.ML)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,o,r){const{loadFactory:s=!0}=o||{loadFactory:!0},a=await this.getEntry();if(!this.inited){const t=this.host.shareScopeMap,o=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];o.length||o.push("default"),o.forEach(e=>{t[e]||(t[e]={})});const s=t[o[0]],i=[],c={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?o:this.remoteInfo.shareScope||"default"};Object.defineProperty(c,"shareScopeMap",{value:t,enumerable:!1});const u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:c,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==a?void 0:a.init)&&w(y(l,b,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await a.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n({},u,{id:e,remoteSnapshot:r,remoteEntryExports:a}))}let i;this.lib=a,this.inited=!0,i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:a,expose:t,moduleInfo:this.remoteInfo}),i||(i=await a.get(t)),v(i,`${I(this.remoteInfo)} remote don't export ${t}.`);const c=((e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o})(this.remoteInfo.name,t),u=this.wraperFactory(i,c);return s?await u():u}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}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class Xe{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()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class Ye extends Xe{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)}}function Je(e,t){if(!$(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}class Ze extends Xe{emit(e){$(e)||w(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const o=t(e);if(!Je(e,o)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=o}catch(e){N(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=w,this.type=e}}class Qe extends Xe{emit(e){$(e)||w(`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=>(N(t),this.onerror(t),e),n=s=>{if(Je(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(e){return r(e)}}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)}constructor(e){super(),this.onerror=w,this.type=e}}class et{applyPlugin(e){var t;v((t=e,"[object Object]"===T.call(t)),"Plugin configuration is invalid.");const o=e.name;v(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){v(e,"A name is required.");const t=this.registerPlugins[e];v(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit({lifecycle:e,registerPlugins:t}){Object.keys(e).forEach(t=>{v(!this.lifecycle[t],`The hook "${t}" has a conflict and cannot be inherited.`),this.lifecycle[t]=e[t]}),Object.keys(t).forEach(e=>{v(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tt(e){return n({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ot(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:i}=o;if(t.options.inBrowser){if(i.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);Ve(n?{origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const e={rel:"preload",as:"style"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const e={rel:"stylesheet",type:"text/css"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});n&&document.head.appendChild(r)})}if(r){const e={rel:"preload",as:"script"};s.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const o={fetchpriority:"high",type:"module"===(null==e?void 0:e.type)?"module":"text/javascript"};s.forEach(e=>{const{script:r,needAttach:n}=(0,a.so)({url:e,cb:()=>{},attrs:o,createScriptHook:(e,o)=>{const r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:o});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});n&&document.head.appendChild(r)})}}}function rt(e,t){const o=M(t);o.url||w(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=(0,a.Al)(t,o.url);(0,a.OL)()||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}function nt(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 st(e,t,o,r,n={},s){const i=I(t),{value:l}=C(e,i),c=s||l;if(c&&!(0,a.Tr)(c)&&(o(c,t,r),c.remotesInfo)){const t=Object.keys(c.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=nt(r),s=c.remotesInfo[r];st(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const at=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function it(e,t,o,r,n){const s=[],i=[],l=[],c=new Set,u=new Set,{options:p}=e,{preloadConfig:h}=t,{depsRemote:m}=h;if(st(r,o,(t,o,r)=>{let n;if(r)n=h;else if(Array.isArray(m)){const e=m.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=tt(e)}else{if(!0!==m)return;n=h}const c=(0,a.Al)(t,M(t).url);c&&l.push({name:o.name,moduleInfo:{name:o.name,entry:c,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:c});let u="modules"in t?t.modules:[];const p=(d=n.exposes)?d.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var d,f;function _(e){const o=e.map(e=>(0,a.Al)(t,e));return n.filter?o.filter(n.filter):o}if(p.length&&"modules"in t&&(u=null==t||null==(f=t.modules)?void 0:f.reduce((e,t)=>(-1!==(null==p?void 0:p.indexOf(t.moduleName))&&e.push(t),e),[])),u){const r=u.length;for(let a=0;a<r;a++){const r=u[a],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}),V(l)||("all"===n.resourceCategory?(s.push(..._(r.assets.css.async)),s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.async)),i.push(..._(r.assets.js.sync))):(n.resourceCategory="sync")&&(s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.sync))),K(l))}}},!0,{},n),n.shared){const t=(t,o)=>{const r=Ge(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{c.add(e)}),o.assets.css.sync.forEach(e=>{u.add(e)}))};n.shared.forEach(e=>{var o;const r=null==(o=p.shared)?void 0:o[e.sharedName];if(!r)return;const n=e.version?r.find(t=>t.version===e.version):r;n&&A(n).forEach(o=>{t(o,e)})})}const d=i.filter(e=>!c.has(e)&&!at("script",e));return{cssAssets:s.filter(e=>!u.has(e)&&!at("link",e)),jsAssetsWithoutEntry:d,entryAssets:l.filter(e=>!at("script",e.url))}}function lt(e,t){const o=G({name:t.options.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&C(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:"version"in e?e.version:void 0})}}class ct{async loadSnapshot(e){const{options:t}=this.HostInstance,{hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n}=this.getGlobalRemoteInfo(e),{remoteSnapshot:s,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n});return{remoteSnapshot:s,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){const{options:t}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:t,moduleInfo:e});let o=G({name:this.HostInstance.options.name,version:this.HostInstance.options.version});var r;o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},r={[this.HostInstance.options.name]:o},L.__FEDERATION__.moduleInfo=n({},L.__FEDERATION__.moduleInfo,r)),o&&"remotesInfo"in o&&!C(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo=n({},null==o?void 0:o.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));const{hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:u}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l});let p,h;if(c)if((0,a.Tr)(c)){const t=(0,a.OL)()?c.remoteEntry:c.ssrRemoteEntry||c.remoteEntry||"",o=await this.getManifestJson(t,e,{});p=o,h=U(n({},e,{entry:t}),o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:"global"});p=t,h=u}else if(R(e)){const t=await this.getManifestJson(e.entry,e,{}),o=U(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});p=r,h=o}else w(y(m,b,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(u)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:t,moduleInfo:e,remoteSnapshot:p}),{remoteSnapshot:p,globalSnapshot:h}}getGlobalRemoteInfo(e){return lt(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),o=await t.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],w(y(c,b,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return v(o.metaData&&o.exposes&&o.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,a.Jn)(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]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new et({beforeLoadRemoteSnapshot:new Ye("beforeLoadRemoteSnapshot"),loadSnapshot:new Qe("loadGlobalSnapshot"),loadRemoteSnapshot:new Qe("loadRemoteSnapshot"),afterLoadSnapshot:new Qe("afterLoadSnapshot")}),this.manifestLoading=x.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class ut{registerShared(e,t){const{shareInfos:o,shared:r}=xe(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{!Ge(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)&&o&&o.lib&&this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:!0,shared:o,from:t.name})})}),{shareInfos:o,shared:r}}async loadShare(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const n=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o}),{shareInfo:s}=n;v(s,`Cannot find ${e} Share in the ${o.options.name}. Please ensure that the ${e} Share parameters have been injected`);const a=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare),i=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(a&&a.lib)return i(a),a.lib;if(a&&a.loading&&!a.loaded){const e=await a.loading;return a.loaded=!0,a.lib||(a.lib=e),i(a),e}if(a){const t=(async()=>{const t=await a.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:o.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;const r=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r}),r}}initializeSharing(e=z,t){const{host:o}=this,r=null==t?void 0:t.from,n=null==t?void 0:t.strategy;let s=null==t?void 0: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)=>{var o;const{version:r,eager:n}=t;c[e]=c[e]||{};const s=c[e],a=s[r],i=Boolean(a&&(a.eager||(null==(o=a.shareConfig)?void 0:o.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(Boolean(!n)!==!i?n:l>a.from))&&(s[r]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async t=>{const{module:r}=await o.remoteHandler.getRemoteModuleAndOptions({id:t});if(r.getEntry){let a;try{a=await r.getEntry()}catch(e){a=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:t,error:e,from:"runtime",lifecycle:"beforeLoadShare",origin:o})}r.inited||(await(n=a,n&&n.init&&n.init(i[e],s)),r.inited=!0)}var n})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const n=Ge(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),s=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(n){if("function"==typeof n.lib)return s(n),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 s(n),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();if(n instanceof Promise){const r="build"===(null==t?void 0:t.from)?p:h;throw new Error(y(r,b,{hostName:o.options.name,sharedPkgName:e}))}return r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}throw new Error(y(h,b,{hostName:o.options.name,sharedPkgName:e}))}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:a,loaded:i,get:l}){const{version:c,scope:u="default"}=t,p=s(t,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][c])return this.shareScopeMap[t][e][c]=n({version:c,scope:["default"]},p,{lib:r,loaded:i,loading:a}),void(l&&(this.shareScopeMap[t][e][c].get=l));const o=this.shareScopeMap[t][e][c];a&&!o.loading&&(o.loading=a)})}_setGlobalShareScopeMap(e){const t=Ue(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}constructor(e){this.hooks=new et({afterResolve:new Qe("afterResolve"),beforeLoadShare:new Qe("beforeLoadShare"),loadShare:new Ye,resolveShare:new Ze("resolveShare"),initContainerShareScopeMap:new Ze("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class pt{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:p}=a,h=await n.get(u,c,t,p),m=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?h:void 0,exposeModuleFactory:r?void 0:h,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof m?m:h}catch(r){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:n,lifecycle:"onLoad",origin:o});if(!s)throw r;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=(r=t.options.remotes,e.map(e=>{const t=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}}(r,e.nameOrAlias);return v(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&(0,a.ML)({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:tt(e)}}));var r;await Promise.all(o.map(async e=>{const{remote:o}=e,r=Ke(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo(o),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&ot(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:null==t?void 0: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(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:s}=r,a=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}}}}(t.options.remotes,s);v(a,y(u,b,{hostName:t.options.name,requestId:s}));const{remote:i}=a,l=Ke(i),c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit(n({id:s},a,{options:t.options,origin:t,remoteInfo:l})),{remote:p,expose:h}=c;v(p&&h,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${s}.`);let m=t.moduleCache.get(p.name);const d={host:t,remoteInfo:l};return m||(m=new ze(d),t.moduleCache.set(p.name,m)),{module:m,moduleOptions:d,remoteMatchInfo:c}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>{var o;return e.alias&&(t.name.startsWith(e.alias)||(null==(o=t.alias)?void 0:o.startsWith(e.alias)))});v(!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&&(0,a.OL)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=z),e.type||(e.type=X)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==o?void 0:o.force)&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,a.R8)(i.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:o}=this,{name:r}=e,n=o.options.remotes.findIndex(e=>e.name===r);-1!==n&&o.options.remotes.splice(n,1);const s=o.moduleCache.get(e.name);if(s){const r=s.remoteInfo,n=r.entryGlobalName;var t;P[n]&&((null==(t=Object.getOwnPropertyDescriptor(P,n))?void 0:t.configurable)?delete P[n]:P[n]=void 0);const i=We(s.remoteInfo);j[i]&&delete j[i],o.snapshotHandler.manifestCache.delete(r.entry);let l=r.buildVersion?(0,a.lG)(r.name,r.buildVersion):r.name;const c=P.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===l:e.name===l);if(-1!==c){const e=P.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;const t=Ue();let o=!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===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?o=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),o&&(e.shareScopeMap={},delete t[l]),n.forEach(([e,o,r,n])=>{var s,a,i;null==(i=t[e])||null==(a=i[o])||null==(s=a[r])||delete s[n]}),P.__FEDERATION__.__INSTANCES__.splice(c,1)}const{hostGlobalSnapshot:u}=lt(e,o);if(u){const t=u&&"remotesInfo"in u&&u.remotesInfo&&C(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],Boolean(x.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete x.__FEDERATION__.__MANIFEST_LOADING__[t])}o.moduleCache.delete(e.name)}}catch(e){S.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new et({beforeRegisterRemote:new Ze("beforeRegisterRemote"),registerRemote:new Ze("registerRemote"),beforeRequest:new Qe("beforeRequest"),onLoad:new Ye("onLoad"),handlePreloadModule:new Xe("handlePreloadModule"),errorLoadRemote:new Ye("errorLoadRemote"),beforePreloadRemote:new Ye("beforePreloadRemote"),generatePreloadAssets:new Ye("generatePreloadAssets"),afterPreloadRemote:new Ye,loadEntry:new Ye}),this.host=e,this.idToRemoteMap={}}}class ht{initOptions(e){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=z,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=Ke({name:e,entry:t}),n=new ze({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{shared:o}=xe(e,t),{userOptions:r,options:s}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),a=this.remoteHandler.formatAndRegisterRemote(s,r),{shared:i}=this.sharedHandler.registerShared(s,r),l=[...s.plugins];r.plugins&&r.plugins.forEach(e=>{l.includes(e)||l.push(e)});const c=n({},e,t,{plugins:l,remotes:a,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){const t=function(e,t){const o=L.__FEDERATION__.__GLOBAL_PLUGIN__;return o.length>0&&o.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);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)}constructor(e){this.hooks=new et({beforeInit:new Ze("beforeInit"),init:new Xe,beforeInitContainer:new Qe("beforeInitContainer"),initContainer:new Qe("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new et({getModuleInfo:new Xe,createScript:new Xe,createLink:new Xe,fetch:new Ye,loadEntryError:new Ye,getModuleFactory:new Ye}),this.bridgeHook=new et({beforeBridgeRender:new Xe,afterBridgeRender:new Xe,beforeBridgeDestroy:new Xe,afterBridgeDestroy:new Xe});const t={id:"flowComponents:2.2.6",name:e.name,plugins:[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:s,remoteInfo:a}=e;if(!R(t)||!O(t)){const{remoteSnapshot:i,globalSnapshot:l}=await s.snapshotHandler.loadRemoteSnapshotInfo(t);rt(a,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&ot(a,s,u,!1),n({},e,{remoteSnapshot:i})}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:i}=e;return(0,a.OL)()?R(n)&&O(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(rt(r,i),it(t,o,r,s,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],remotes:[],shared:{},inBrowser:(0,a.OL)()};this.name=e.name,this.options=t,this.snapshotHandler=new ct(this),this.sharedHandler=new ut(this),this.remoteHandler=new pt(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}let mt=null;function dt(e){const t=function(e,t){return P.__FEDERATION__.__INSTANCES__.find(o=>"flowComponents:2.2.6"===o.options.id||o.options.name===e&&!o.options.version&&!t||!(o.options.name!==e||!t||o.options.version!==t))}(e.name,e.version);if(t)return t.initOptions(e),mt||(mt=t),t;{const t=P.__FEDERATION__.__DEBUG_CONSTRUCTOR__||ht;return mt=new t(e),function(e){P.__FEDERATION__.__INSTANCES__.push(e)}(mt),mt}}function ft(...e){return v(mt,"Please call init first"),mt.loadRemote.apply(mt,e)}function _t(...e){return v(mt,"Please call init first"),mt.loadShare.apply(mt,e)}function yt(...e){return v(mt,"Please call init first"),mt.loadShareSync.apply(mt,e)}function gt(...e){return v(mt,"Please call init first"),mt.preloadRemote.apply(mt,e)}function bt(...e){return v(mt,"Please call init first"),mt.registerRemotes.apply(mt,e)}function Et(...e){return v(mt,"Please call init first"),mt.registerPlugins.apply(mt,e)}function St(){return mt}!function(e,t=(0,a.Bb)()){t&&(P.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,P.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}(ht);const vt=["script"];function wt(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nt.apply(this,arguments)}const kt={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){const{chunkId:t,promises:o,chunkMapping:r,idToExternalAndNameMapping:n,webpackRequire:s,idToRemoteMap:i}=e;wt(s),s.o(r,t)&&r[t].forEach(e=>{let t=s.R;t||(t=[]);const r=n[e],l=i[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return o.push(r.p);const c=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.p=0},u=(e,t,n,s,a,i)=>{try{const l=e(t,n);if(!l||!l.then)return a(l,s,i);{const e=l.then(e=>a(e,s),c);if(!i)return e;o.push(r.p=e)}}catch(e){c(e)}};var p=(e,o,n)=>u(o.get,r[1],t,0,h,n),h=t=>{r.p=1,s.m[e]=e=>{e.exports=t()}};1===l.length&&vt.includes(l[0].externalType)&&l[0].name?u(()=>{try{const e=(0,a.e4)(l[0].name,a.yq)+r[1].slice(1),t=s.federation.instance,o=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});return"version-first"===t.options.shareStrategy?Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>o()):o()}catch(e){c(e)}},r[2],0,0,h,1):u(s,r[2],0,0,(e,t,o)=>e?u(s.I,r[0],0,e,p,o):c(),1)})},consumes:function(e){const{chunkId:t,promises:o,chunkMapping:r,installedModules:n,moduleToHandlerMapping:s,webpackRequire:a}=e;wt(a),a.o(r,t)&&r[t].forEach(e=>{if(a.o(n,e))return o.push(n[e]);const t=t=>{n[e]=0,a.m[e]=o=>{delete a.c[e],o.exports=t()}},r=t=>{delete n[e],a.m[e]=o=>{throw delete a.c[e],t}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:l,getter:c,shareInfo:u}=s[e],p=i.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);p.then?o.push(n[e]=p.then(t).catch(r)):t(p)}catch(e){r(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:o,initTokens:r,initScope:n}){const s=Array.isArray(e)?e:[e];var a=[];return s.forEach(s=>{a.push(function(s){n||(n=[]);const a=t.federation.instance;var i=r[s];if(i||(i=r[s]={from:a.name}),n.indexOf(i)>=0)return;n.push(i);const l=o[s];if(l)return l;var c=o=>{var r=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var a=t(o);if(!a)return;var i=o=>o&&o.init&&o.init(t.S[s],n,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return u.push(a.then(i,r));var l=i(a);if(l&&"boolean"!=typeof l&&l.then)return u.push(l.catch(r))}catch(e){r(e)}};const u=a.initializeSharing(s,{strategy:a.options.shareStrategy,initScope:n,from:"build"});wt(t);const p=t.federation.bundlerRuntimeOptions.remotes;return p&&Object.keys(p.idToRemoteMap).forEach(e=>{const t=p.idToRemoteMap[e],o=p.idToExternalAndNameMapping[e][2];if(t.length>1)c(o);else if(1===t.length){const e=t[0];vt.includes(e.externalType)||c(o)}}),u.length?o[s]=Promise.all(u).then(()=>o[s]=!0):o[s]=!0}(s))}),Promise.all(a).then(()=>!0)},S:{},installInitialConsumes:function(e){const{moduleToHandlerMapping:t,webpackRequire:o,installedModules:r,initialConsumes:n}=e;n.forEach(e=>{o.m[e]=n=>{r[e]=0,delete o.c[e];const s=function(e){const{moduleId:t,moduleToHandlerMapping:o,webpackRequire:r}=e,n=r.federation.instance;if(!n)throw new Error("Federation instance not found!");const{shareKey:s,shareInfo:a}=o[t];try{return n.loadShareSync(s,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:o});if("function"!=typeof s)throw new Error(`Shared module is not available for eager consumption: ${e}`);n.exports=s()}})},initContainerEntry:function(e){const{webpackRequire:t,shareScope:o,initScope:r,shareScopeKey:n,remoteEntryInitOptions:s}=e;if(!t.S)return;if(!t.federation||!t.federation.instance||!t.federation.initOptions)return;const a=t.federation.instance;a.initOptions(Nt({name:t.federation.initOptions.name,remotes:[]},s));const i=null==s?void 0:s.shareScopeKeys,l=null==s?void 0:s.shareScopeMap;if(n&&"string"!=typeof n)n.forEach(e=>{if(!i||!l)return void a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}});l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})});else{const e=n||"default";Array.isArray(i)?i.forEach(e=>{l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}):a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}return t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(n)?Boolean(t.federation.initOptions.shared)?t.I(n,r):Promise.all(n.map(e=>t.I(e,r))).then(()=>!0):t.I(n||"default",r)}},attachShareScopeMap:wt,bundlerRuntimeOptions:{}};if(!o.federation.runtime){var It=o.federation;for(var Rt in o.federation={},kt)o.federation[Rt]=kt[Rt];for(var Rt in It)o.federation[Rt]=It[Rt]}o.federation.instance||(o.federation.instance=o.federation.runtime.init(o.federation.initOptions),o.federation.attachShareScopeMap&&o.federation.attachShareScopeMap(o),o.federation.installInitialConsumes&&o.federation.installInitialConsumes(),!o.federation.isMFRemote&&o.federation.prefetch&&o.federation.prefetch())},2870:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Al:()=>getResourceUrl,Bb:()=>isDebugMode,Jn:()=>generateSnapshotFromManifest,ML:()=>safeToString,OL:()=>isBrowserEnv,R8:()=>warn,Tr:()=>isManifestProvider,d:()=>createLink,e4:()=>decodeName,h:()=>createLogger,k0:()=>loadScript,lG:()=>composeKeyWithSeparator,oe:()=>loadScriptNode,so:()=>createScript,tf:()=>isReactNativeEnv,yq:()=>ENCODE_NAME_PREFIX});var _polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8138);const FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&"ReactNative"===(null==(e=navigator)?void 0:e.product)}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){return!1}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?Boolean(process.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||isBrowserDebug()}const getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,o=SEPARATOR)=>{const r=e.split(o),n="development"===getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(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}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},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(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),encodeName(o,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",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?isBrowserEnv()||isReactNativeEnv()||!("ssrPublicPath"in e)?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw new Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}const VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}const simpleJoinRemoteEntry=(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 inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){var o,r;const{remotes:n={},overrides:s={},version:a}=t;let i;const l=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&a?inferAutoPublicPath(a):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(s);let u={};var p;Object.keys(n).length||(u=(null==(p=e.remotes)?void 0:p.reduce((e,t)=>{let o;const r=t.federationContainerName;return o=c.includes(r)?s[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:o},e},{}))||{}),Object.keys(n).forEach(e=>u[e]={matchedVersion:c.includes(e)?s[e]:n[e]});const{remoteEntry:{path:h,name:m,type:d},types:f,buildInfo:{buildVersion:_},globalName:y,ssrRemoteEntry:g}=e.metaData,{exposes:b}=e;let E={version:a||"",buildVersion:_,globalName:y,remoteEntry:simpleJoinRemoteEntry(h,m),remoteEntryType:d,remoteTypes:simpleJoinRemoteEntry(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:u,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(o=e.metaData)?void 0:o.prefetchInterface){const t=e.metaData.prefetchInterface;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){const{path:t,name:o,type:r}=e.metaData.prefetchEntry;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchEntry:simpleJoinRemoteEntry(t,o),prefetchEntryType:r})}if(i="publicPath"in e.metaData?(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{publicPath:l(),ssrPublicPath:e.metaData.ssrPublicPath}):(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{getPublicPath:l()}),g){const e=simpleJoinRemoteEntry(g.path,g.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=g.type||"commonjs-module"}return i}function isManifestProvider(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(MANIFEST_EXT))}const PREFIX="[ Module Federation ]";let Logger=class{setPrefix(e){this.prefix=e}log(...e){console.log(this.prefix,...e)}warn(...e){console.log(this.prefix,...e)}error(...e){console.log(this.prefix,...e)}success(...e){console.log(this.prefix,...e)}info(...e){console.log(this.prefix,...e)}ready(...e){console.log(this.prefix,...e)}debug(...e){isDebugMode()&&console.log(this.prefix,...e)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}const logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){return void(!t&&warn(e))}}function isStaticResourcesEqual(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function createScript(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let t=0;t<s.length;t++){const n=s[t],a=n.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){o=n,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===(null==t?void 0: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]))})}const a=async(r,n)=>{clearTimeout(t);const s=()=>{"error"===(null==n?void 0:n.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(o&&(o.onerror=null,o.onload=null,safeWrapper(()=>{const{needDeleteScript:t=!0}=e;t&&(null==o?void 0: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=a.bind(null,o.onerror),o.onload=a.bind(null,o.onload),t=setTimeout(()=>{a(null,new Error(`Remote script "${e.url}" time-outed.`))},n),{script:o,needAttach:r}}function createLink(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let n=0;n<r.length;n++){const s=r[n],a=s.getAttribute("href"),i=s.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&i===e.attrs.rel){t=s,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"===(null==r?void 0:r.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{const{needDeleteLink:o=!0}=e;o&&(null==t?void 0: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}}function loadScript(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:n,attrs:(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({fetchpriority:"high"},o),createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})}function importNodeModule(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}const loadNodeFetch=async()=>{const e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,o)=>{const r=await((e,t)=>o.lifecycle.fetch.emit(e,t))(e,t||{});return r&&r instanceof Response?r:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){if(null==loaderHook?void 0:loaderHook.createScriptHook){const e=loaderHook.createScriptHook(url);e&&"object"==typeof e&&"url"in e&&(url=e.url)}let urlObj;try{urlObj=new URL(url)}catch(e){return console.error("Error constructing URL:",e),void cb(new Error(`Invalid URL: ${e}`))}const getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;const res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);var _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;const script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\n})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);const exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){const e=exportedInterface[attrs.globalName]||exportedInterface;return void cb(void 0,e)}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if("esm"===(null==attrs?void 0:attrs.type)||"module"===(null==attrs?void 0:attrs.type))return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((o,r)=>{createScriptNode(e,(e,n)=>{if(e)r(e);else{var s,a;const e=(null==t||null==(s=t.attrs)?void 0:s.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`,r=globalThis[e]=n;o(r)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){const{fetch:o,vm:r}=t,n=await o(e),s=await n.text(),a=new r.SourceTextModule(s,{importModuleDynamically:async(o,r)=>loadModule(new URL(o,e).href,t)});return await a.link(async o=>{const r=new URL(o,e).href;return await loadModule(r,t)}),a}function normalizeOptions(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(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},t,r);throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}}},8138:(e,t,o)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},r.apply(this,arguments)}o.d(t,{_:()=>r})},9302:(e,t,o)=>{Promise.all([o.e(996),o.e(222),o.e(921),o.e(985)]).then(o.bind(o,1985))}},__webpack_module_cache__={},inProgress,dataWebpackPrefix,installedModules,moduleToHandlerMapping,chunkMapping,oldStartup,hasRun;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}},r={id:e,module:o,factory:__webpack_modules__[e],require:__webpack_require__};return __webpack_require__.i.forEach(function(e){e(r)}),o=r.module,r.factory.call(o.exports,o,o.exports,r.require),o.loaded=!0,o.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],__webpack_require__.x=e=>{},__webpack_require__.federation||(__webpack_require__.federation={initOptions:{name:"flowComponents",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!0},rootOutputDir:"",initialConsumes:void 0,bundlerRuntimeOptions:{}}),__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,o)=>(__webpack_require__.f[o](e,t),t),[])),__webpack_require__.u=e=>e+".js",__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="@descope/flow-components-2.2.6-1762339700601:",__webpack_require__.l=(e,t,o,r)=>{if(inProgress[e])inProgress[e].push(t);else{var n,s;if(void 0!==o)for(var a=document.getElementsByTagName("script"),i=0;i<a.length;i++){var l=a[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+o){n=l;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",dataWebpackPrefix+o),n.src=e),inProgress[e]=[t];var c=(t,o)=>{n.onerror=n.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach(e=>e(o)),t)return t(o)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=c.bind(null,n.onerror),n.onload=c.bind(null,n.onload),s&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>{r||(r=[]);var n=t[o];if(n||(n=t[o]={}),!(r.indexOf(n)>=0)){if(r.push(n),e[o])return e[o];__webpack_require__.o(__webpack_require__.S,o)||(__webpack_require__.S[o]={}),__webpack_require__.S[o];var s=[];return e[o]=s.length?Promise.all(s).then(()=>e[o]=1):1}}})(),(()=>{__webpack_require__.federation.initOptions.shared={},__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:o,webpackRequire:__webpack_require__,initPromises:e,initTokens:t,initScope:r})})(),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),installedModules={},moduleToHandlerMapping={7596:{getter:()=>()=>{throw new Error("Can not get 'react'")},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:">= 18",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react"}},chunkMapping={921:[7596]},__webpack_require__.f.consumes=(e,t)=>{__webpack_require__.federation.bundlerRuntime.consumes({chunkMapping,installedModules,chunkId:e,moduleToHandlerMapping,promises:t,webpackRequire:__webpack_require__})},oldStartup=__webpack_require__.x,hasRun=!1,__webpack_require__.x=()=>(hasRun||(hasRun=!0,__webpack_require__(509)),oldStartup()),(()=>{var e={792:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise((o,n)=>r=e[t]=[o,n]);o.push(r[2]=n);var s=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(s,o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",a.name="ChunkLoadError",a.type=n,a.request=s,r[1](a)}},"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[s,a,i]=o,l=0;if(s.some(t=>0!==e[t])){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);i&&i(__webpack_require__)}for(t&&t(o);l<s.length;l++)n=s[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=self.webpackChunk_descope_flow_components_2_2_6_1762339700601=self.webpackChunk_descope_flow_components_2_2_6_1762339700601||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),__webpack_require__.x();var __webpack_exports__=__webpack_require__(9302)})();
|
|
1
|
+
(()=>{var __webpack_modules__={509:(e,t,o)=>{"use strict";var r={};function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n.apply(this,arguments)}function s(e,t){if(null==e)return{};var o,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)o=s[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}o.r(r),o.d(r,{FederationHost:()=>ht,Module:()=>ze,getInstance:()=>St,getRemoteEntry:()=>Ve,getRemoteInfo:()=>Ke,init:()=>dt,loadRemote:()=>ft,loadScript:()=>a.k0,loadScriptNode:()=>a.oe,loadShare:()=>_t,loadShareSync:()=>yt,preloadRemote:()=>gt,registerGlobalPlugins:()=>W,registerPlugins:()=>Et,registerRemotes:()=>bt});var a=o(2870);const i="RUNTIME-001",l="RUNTIME-002",c="RUNTIME-003",u="RUNTIME-004",p="RUNTIME-005",h="RUNTIME-006",m="RUNTIME-007",d="RUNTIME-008",f="TYPE-001",_="BUILD-001",y=(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}`)(e)),r&&n.push(`Original Error Message:\n ${r}`),n.join("\n")};function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}const b={[i]:"Failed to get remoteEntry exports.",[l]:'The remote entry interface does not contain "init"',[c]:"Failed to get manifest.",[u]:"Failed to locate remote.",[p]:"Invalid loadShareSync function call from bundler runtime",[h]:"Invalid loadShareSync function call from runtime",[m]:"Failed to get remote snapshot.",[d]:"Failed to load script resources."},E=(g({},b,{[f]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},{[_]:"Failed to find expose module."}),"[ Federation Runtime ]"),S=(0,a.h)(E);function v(e,t){e||w(t)}function w(e){if(e instanceof Error)throw e.message=`${E}: ${e.message}`,e;throw new Error(`${E}: ${e}`)}function N(e){e instanceof Error?(e.message=`${E}: ${e.message}`,S.warn(e)):S.warn(e)}function k(e,t){return-1===e.findIndex(e=>e===t)&&e.push(t),e}function I(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function R(e){return void 0!==e.entry}function O(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}function $(e){return e&&"object"==typeof e}const T=Object.prototype.toString;function A(e){return Array.isArray(e)?e:[e]}function M(e){const t={url:"",type:"global",globalName:""};return(0,a.OL)()||(0,a.tf)()?"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}const P="object"==typeof globalThis?globalThis:window,L=(()=>{try{return document.defaultView}catch(e){return P}})(),x=L;function D(e,t,o){Object.defineProperty(e,t,{value:o,configurable:!1,writable:!0})}function H(e,t){return Object.hasOwnProperty.call(e,t)}H(P,"__GLOBAL_LOADING_REMOTE_ENTRY__")||D(P,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const j=P.__GLOBAL_LOADING_REMOTE_ENTRY__;function F(e){var t,o,r,n,s,a;H(e,"__VMOK__")&&!H(e,"__FEDERATION__")&&D(e,"__FEDERATION__",e.__VMOK__),H(e,"__FEDERATION__")||(D(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),D(e,"__VMOK__",e.__FEDERATION__)),null!=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__||(t.__GLOBAL_PLUGIN__=[]),null!=(o=e.__FEDERATION__).__INSTANCES__||(o.__INSTANCES__=[]),null!=(r=e.__FEDERATION__).moduleInfo||(r.moduleInfo={}),null!=(n=e.__FEDERATION__).__SHARE__||(n.__SHARE__={}),null!=(s=e.__FEDERATION__).__MANIFEST_LOADING__||(s.__MANIFEST_LOADING__={}),null!=(a=e.__FEDERATION__).__PRELOADED_MAP__||(a.__PRELOADED_MAP__=new Map)}function C(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}}}throw new Error("key must be string")}F(P),F(L);const q=()=>L.__FEDERATION__.moduleInfo,G=e=>((e,t)=>{const o=C(t,I(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}=e,o=I(s(e,["version"])),r=C(L.__FEDERATION__.moduleInfo,o).value;if((null==r?void 0:r.version)===t)return r}})(e,L.__FEDERATION__.moduleInfo),U=(e,t)=>{const o=I(e);return L.__FEDERATION__.moduleInfo[o]=t,L.__FEDERATION__.moduleInfo},B=(e,t)=>{const o=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:o,entryExports:P[o]}},W=e=>{const{__GLOBAL_PLUGIN__:t}=L.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):N(`The plugin ${e.name} has been registered.`)})},V=e=>P.__FEDERATION__.__PRELOADED_MAP__.get(e),K=e=>P.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),z="default",X="global",Y="[0-9A-Za-z-]+",J=`(?:\\+(${Y}(?:\\.${Y})*))`,Z="0|[1-9]\\d*",Q="[0-9]+",ee="\\d*[a-zA-Z-][a-zA-Z0-9-]*",te=`(?:${Q}|${ee})`,oe=`(?:${Z}|${ee})`,re=`(?:-(${oe}(?:\\.${oe})*))`,ne=`${Z}|x|X|\\*`,se=`[v=\\s]*(${ne})(?:\\.(${ne})(?:\\.(${ne})(?:${re})?${J}?)?)?`,ae=`^\\s*(${se})\\s+-\\s+(${se})\\s*$`,ie="((?:<|>)?=?)",le=`(\\s*)${ie}\\s*([v=\\s]*(${Q})\\.(${Q})\\.(${Q})(?:-?(${te}(?:\\.${te})*))?${J}?|${se})`,ce="(?:~>?)",ue=`(\\s*)${ce}\\s+`,pe="(?:\\^)",he=`(\\s*)${pe}\\s+`,me=`^${pe}${se}$`,de=`^${ce}${se}$`,fe=`^${ie}\\s*${se}$`,_e=`^${ie}\\s*(v?(${Z})\\.(${Z})\\.(${Z})${re}?${J}?)$|^$`;function ye(e){return new RegExp(e)}function ge(e){return!e||"x"===e.toLowerCase()||"*"===e}function be(...e){return t=>e.reduce((e,t)=>t(e),t)}function Ee(e){return e.match(ye(_e))}function Se(e,t,o,r){const n=`${e}.${t}.${o}`;return r?`${n}-${r}`:n}function ve(e){return e.replace(ye(ae),(e,t,o,r,n,s,a,i,l,c,u,p)=>`${t=ge(o)?"":ge(r)?`>=${o}.0.0`:ge(n)?`>=${o}.${r}.0`:`>=${t}`} ${i=ge(l)?"":ge(c)?`<${Number(l)+1}.0.0-0`:ge(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${i}`}`.trim())}function we(e){return e.replace(ye(le),"$1$2$3")}function Ne(e){return e.replace(ye(ue),"$1~")}function ke(e){return e.replace(ye(he),"$1^")}function Ie(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(me),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(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(" ")}function Re(e){return e.trim().split(/\s+/).map(e=>e.replace(ye(de),(e,t,o,r,n)=>ge(t)?"":ge(o)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:ge(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(" ")}function Oe(e){return e.split(/\s+/).map(e=>e.trim().replace(ye(fe),(e,t,o,r,n,s)=>{const a=ge(o),i=a||ge(r),l=i||ge(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(" ")}function $e(e){return e.trim().replace(ye("(<|>)?=?\\s*\\*"),"")}function Te(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function Ae(e,t){return Te(e.major,t.major)||Te(e.minor,t.minor)||Te(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 e=0,t=o.length;e<=t;e++){const t=o[e],n=r[e];if(t!==n)return void 0===t&&void 0===n?0:t?n?Te(t,n):-1:1}return 0}(e,t)}function Me(e,t){return e.version===t.version}function Pe(e,t){switch(e.operator){case"":case"=":return Me(e,t);case">":return Ae(e,t)<0;case">=":return Me(e,t)||Ae(e,t)<0;case"<":return Ae(e,t)>0;case"<=":return Me(e,t)||Ae(e,t)>0;case void 0:return!0;default:return!1}}function Le(e,t){if(!e)return!1;const o=function(e){return be(ve,we,Ne,ke)(e.trim()).split(/\s+/).join(" ")}(t),r=o.split(" ").map(e=>function(e){return be(Ie,Re,Oe,$e)(e)}(e)).join(" "),n=r.split(/\s+/).map(e=>e.trim().replace(ye("^\\s*>=\\s*0.0.0\\s*$"),"")),s=Ee(e);if(!s)return!1;const[,a,,i,l,c,u]=s,p={operator:a,version:Se(i,l,c,u),major:i,minor:l,patch:c,preRelease:null==u?void 0:u.split(".")};for(const e of n){const t=Ee(e);if(!t)return!1;const[,o,,r,n,s,a]=t;if(!Pe({operator:o,version:Se(r,n,s,a),major:r,minor:n,patch:s,preRelease:null==a?void 0:a.split(".")},p))return!1}return!0}function xe(e,t){const o=t.shared||{},r=t.name,s=Object.keys(o).reduce((e,s)=>{const a=A(o[s]);return e[s]=e[s]||[],a.forEach(o=>{e[s].push(function(e,t,o,r){let s;var a,i,l;return s="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${o}'!`)}),n({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:s,loaded:!(!(null==e?void 0:e.loaded)&&!("lib"in e))||void 0,version:null!=(a=e.version)?a:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(i=e.scope)?i:"default"],strategy:(null!=(l=e.strategy)?l:r)||"version-first"})}(o,r,s,t.shareStrategy))}),e},{}),a=n({},e.shared);return Object.keys(s).forEach(e=>{a[e]?s[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=s[e]}),{shared:a,shareInfos:s}}function De(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!!Le(o(e),`<=${o(t)}`)}const He=(e,t)=>{const o=t||function(e,t){return De(e,t)};return Object.keys(e).reduce((e,t)=>e?o(e,t)||"0"===e?t:e:t,0)},je=e=>Boolean(e.loaded)||"function"==typeof e.lib;function Fe(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){return!je(r[e])&&De(e,t)})}function Ce(e,t,o){const r=e[t][o];return He(e[t][o],function(e,t){const o=e=>je(e)||(e=>Boolean(e.loading))(e);return o(r[t])?!o(r[e])||Boolean(De(e,t)):!o(r[e])&&De(e,t)})}function qe(e){return"loaded-first"===e?Ce:Fe}function Ge(e,t,o,r){if(!e)return;const{shareConfig:n,scope:s=z,strategy:a}=o,i=Array.isArray(s)?s:[s];for(const s of i)if(n&&e[s]&&e[s][t]){const{requiredVersion:i}=n,l=qe(a)(e,s,t),c=()=>{if(n.singleton){if("string"==typeof i&&!Le(l,i)){const r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${o.from} which needs ${i})`;n.strictVersion?w(r):N(r)}return e[s][t][l]}if(!1===i||"*"===i)return e[s][t][l];if(Le(l,i))return e[s][t][l];for(const[o,r]of Object.entries(e[s][t]))if(Le(o,i))return r},u={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:x.__FEDERATION__,resolver:c};return(r.emit(u)||u).resolver()}}function Ue(){return x.__FEDERATION__.__SHARE__}function Be(e){const{pkgName:t,extraOptions:o,shareInfos:r}=e;var n;const s=null!=(n=null==o?void 0:o.resolver)?n:e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});const o=He(t,function(e,o){return!je(t[e])&&De(e,o)});return t[o]};return Object.assign({},s(r[t]),null==o?void 0:o.customShareInfo)}function We(e){const{entry:t,name:o}=e;return(0,a.lG)(o,t)}async function Ve({origin:e,remoteEntryExports:t,remoteInfo:o}){const r=We(o);if(t)return t;if(!j[r]){const n=e.remoteHandler.hooks.lifecycle.loadEntry,s=e.loaderHook;j[r]=n.emit({loaderHook:s,remoteInfo:o,remoteEntryExports:t}).then(e=>e||((0,a.OL)()?async function({remoteInfo:e,remoteEntryExports:t,loaderHook:o}){const{entry:r,entryGlobalName:n,name:s,type:l}=e;switch(l){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}").then(callbacks[0]).catch(callbacks[1])`)([o,r]):import(e).then(o).catch(r)}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((o,r)=>{try{t?o(t):new Function("callbacks",`System.import("${e}").then(callbacks[0]).catch(callbacks[1])`)([o,r])}catch(e){r(e)}})}({entry:r,remoteEntryExports:t});default:return async function({name:e,globalName:t,entry:o,loaderHook:r}){const{entryExports:n}=B(e,t);return n||(0,a.k0)(o,{attrs:{},createScriptHook:(e,t)=>{const o=r.lifecycle.createScript.emit({url:e,attrs:t});if(o)return o instanceof HTMLScriptElement||"script"in o||"timeout"in o?o:void 0}}).then(()=>{const{remoteEntryKey:r,entryExports:n}=B(e,t);return v(n,y(i,b,{remoteName:e,remoteEntryUrl:o,remoteEntryKey:r})),n}).catch(t=>{throw v(void 0,y(d,b,{remoteName:e,resourceUrl:o})),t})}({entry:r,globalName:n,name:s,loaderHook:o})}}({remoteInfo:o,remoteEntryExports:t,loaderHook:s}):async function({remoteInfo:e,loaderHook:t}){const{entry:o,entryGlobalName:r,name:n,type:s}=e,{entryExports:l}=B(n,r);return l||(0,a.oe)(o,{attrs:{name:n,globalName:r,type:s},loaderHook:{createScriptHook:(e,o={})=>{const r=t.lifecycle.createScript.emit({url:e,attrs:o});if(r)return"url"in r?r:void 0}}}).then(()=>{const{remoteEntryKey:e,entryExports:t}=B(n,r);return v(t,y(i,b,{remoteName:n,remoteEntryUrl:o,remoteEntryKey:e})),t}).catch(e=>{throw e})}({remoteInfo:o,loaderHook:s})))}return j[r]}function Ke(e){return n({},e,{entry:"entry"in e?e.entry:"",type:e.type||X,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||z})}let ze=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;let e;try{e=await Ve({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(t){const o=We(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:Ve,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:j,uniqueKey:o})}return v(e,`remoteEntryExports is undefined \n ${(0,a.ML)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,o,r){const{loadFactory:s=!0}=o||{loadFactory:!0},a=await this.getEntry();if(!this.inited){const t=this.host.shareScopeMap,o=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];o.length||o.push("default"),o.forEach(e=>{t[e]||(t[e]={})});const s=t[o[0]],i=[],c={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?o:this.remoteInfo.shareScope||"default"};Object.defineProperty(c,"shareScopeMap",{value:t,enumerable:!1});const u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:c,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==a?void 0:a.init)&&w(y(l,b,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await a.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n({},u,{id:e,remoteSnapshot:r,remoteEntryExports:a}))}let i;this.lib=a,this.inited=!0,i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:a,expose:t,moduleInfo:this.remoteInfo}),i||(i=await a.get(t)),v(i,`${I(this.remoteInfo)} remote don't export ${t}.`);const c=((e,t)=>{let o;return o=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),o+=t,o})(this.remoteInfo.name,t),u=this.wraperFactory(i,c);return s?await u():u}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}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class Xe{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()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class Ye extends Xe{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)}}function Je(e,t){if(!$(t))return!1;if(e!==t)for(const o in e)if(!(o in t))return!1;return!0}class Ze extends Xe{emit(e){$(e)||w(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const o=t(e);if(!Je(e,o)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=o}catch(e){N(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=w,this.type=e}}class Qe extends Xe{emit(e){$(e)||w(`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=>(N(t),this.onerror(t),e),n=s=>{if(Je(e,s)){if(e=s,o<t.length)try{return Promise.resolve(t[o++](e)).then(n,r)}catch(e){return r(e)}}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)}constructor(e){super(),this.onerror=w,this.type=e}}class et{applyPlugin(e){var t;v((t=e,"[object Object]"===T.call(t)),"Plugin configuration is invalid.");const o=e.name;v(o,"A name must be provided by the plugin."),this.registerPlugins[o]||(this.registerPlugins[o]=e,Object.keys(this.lifecycle).forEach(t=>{const o=e[t];o&&this.lifecycle[t].on(o)}))}removePlugin(e){v(e,"A name is required.");const t=this.registerPlugins[e];v(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit({lifecycle:e,registerPlugins:t}){Object.keys(e).forEach(t=>{v(!this.lifecycle[t],`The hook "${t}" has a conflict and cannot be inherited.`),this.lifecycle[t]=e[t]}),Object.keys(t).forEach(e=>{v(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(t[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function tt(e){return n({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ot(e,t,o,r=!0){const{cssAssets:n,jsAssetsWithoutEntry:s,entryAssets:i}=o;if(t.options.inBrowser){if(i.forEach(o=>{const{moduleInfo:r}=o,n=t.moduleCache.get(e.name);Ve(n?{origin:t,remoteInfo:r,remoteEntryExports:n.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const e={rel:"preload",as:"style"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const e={rel:"stylesheet",type:"text/css"};n.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});n&&document.head.appendChild(r)})}if(r){const e={rel:"preload",as:"script"};s.forEach(o=>{const{link:r,needAttach:n}=(0,a.d)({url:o,cb:()=>{},attrs:e,createLinkHook:(e,o)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:o});if(r instanceof HTMLLinkElement)return r}});n&&document.head.appendChild(r)})}else{const o={fetchpriority:"high",type:"module"===(null==e?void 0:e.type)?"module":"text/javascript"};s.forEach(e=>{const{script:r,needAttach:n}=(0,a.so)({url:e,cb:()=>{},attrs:o,createScriptHook:(e,o)=>{const r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:o});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});n&&document.head.appendChild(r)})}}}function rt(e,t){const o=M(t);o.url||w(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=(0,a.Al)(t,o.url);(0,a.OL)()||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}function nt(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 st(e,t,o,r,n={},s){const i=I(t),{value:l}=C(e,i),c=s||l;if(c&&!(0,a.Tr)(c)&&(o(c,t,r),c.remotesInfo)){const t=Object.keys(c.remotesInfo);for(const r of t){if(n[r])continue;n[r]=!0;const t=nt(r),s=c.remotesInfo[r];st(e,{name:t.name,version:s.matchedVersion},o,!1,n,void 0)}}}const at=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function it(e,t,o,r,n){const s=[],i=[],l=[],c=new Set,u=new Set,{options:p}=e,{preloadConfig:h}=t,{depsRemote:m}=h;if(st(r,o,(t,o,r)=>{let n;if(r)n=h;else if(Array.isArray(m)){const e=m.find(e=>e.nameOrAlias===o.name||e.nameOrAlias===o.alias);if(!e)return;n=tt(e)}else{if(!0!==m)return;n=h}const c=(0,a.Al)(t,M(t).url);c&&l.push({name:o.name,moduleInfo:{name:o.name,entry:c,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:c});let u="modules"in t?t.modules:[];const p=(d=n.exposes)?d.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var d,f;function _(e){const o=e.map(e=>(0,a.Al)(t,e));return n.filter?o.filter(n.filter):o}if(p.length&&"modules"in t&&(u=null==t||null==(f=t.modules)?void 0:f.reduce((e,t)=>(-1!==(null==p?void 0:p.indexOf(t.moduleName))&&e.push(t),e),[])),u){const r=u.length;for(let a=0;a<r;a++){const r=u[a],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}),V(l)||("all"===n.resourceCategory?(s.push(..._(r.assets.css.async)),s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.async)),i.push(..._(r.assets.js.sync))):(n.resourceCategory="sync")&&(s.push(..._(r.assets.css.sync)),i.push(..._(r.assets.js.sync))),K(l))}}},!0,{},n),n.shared){const t=(t,o)=>{const r=Ge(e.shareScopeMap,o.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(o.assets.js.sync.forEach(e=>{c.add(e)}),o.assets.css.sync.forEach(e=>{u.add(e)}))};n.shared.forEach(e=>{var o;const r=null==(o=p.shared)?void 0:o[e.sharedName];if(!r)return;const n=e.version?r.find(t=>t.version===e.version):r;n&&A(n).forEach(o=>{t(o,e)})})}const d=i.filter(e=>!c.has(e)&&!at("script",e));return{cssAssets:s.filter(e=>!u.has(e)&&!at("link",e)),jsAssetsWithoutEntry:d,entryAssets:l.filter(e=>!at("script",e.url))}}function lt(e,t){const o=G({name:t.options.name,version:t.options.version}),r=o&&"remotesInfo"in o&&o.remotesInfo&&C(o.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:o,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:q(),remoteSnapshot:G({name:e.name,version:"version"in e?e.version:void 0})}}class ct{async loadSnapshot(e){const{options:t}=this.HostInstance,{hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n}=this.getGlobalRemoteInfo(e),{remoteSnapshot:s,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:r,globalSnapshot:n});return{remoteSnapshot:s,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){const{options:t}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:t,moduleInfo:e});let o=G({name:this.HostInstance.options.name,version:this.HostInstance.options.version});var r;o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},r={[this.HostInstance.options.name]:o},L.__FEDERATION__.moduleInfo=n({},L.__FEDERATION__.moduleInfo,r)),o&&"remotesInfo"in o&&!C(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo=n({},null==o?void 0:o.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));const{hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:u}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:l});let p,h;if(c)if((0,a.Tr)(c)){const t=(0,a.OL)()?c.remoteEntry:c.ssrRemoteEntry||c.remoteEntry||"",o=await this.getManifestJson(t,e,{});p=o,h=U(n({},e,{entry:t}),o)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:"global"});p=t,h=u}else if(R(e)){const t=await this.getManifestJson(e.entry,e,{}),o=U(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});p=r,h=o}else w(y(m,b,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(u)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:t,moduleInfo:e,remoteSnapshot:p}),{remoteSnapshot:p,globalSnapshot:h}}getGlobalRemoteInfo(e){return lt(e,this.HostInstance)}async getManifestJson(e,t,o){const r=async()=>{let o=this.manifestCache.get(e);if(o)return o;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),o=await t.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],w(y(c,b,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return v(o.metaData&&o.exposes&&o.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,o),o};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await r(),n=(0,a.Jn)(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]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new et({beforeLoadRemoteSnapshot:new Ye("beforeLoadRemoteSnapshot"),loadSnapshot:new Qe("loadGlobalSnapshot"),loadRemoteSnapshot:new Qe("loadRemoteSnapshot"),afterLoadSnapshot:new Qe("afterLoadSnapshot")}),this.manifestLoading=x.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class ut{registerShared(e,t){const{shareInfos:o,shared:r}=xe(e,t);return Object.keys(o).forEach(e=>{o[e].forEach(o=>{!Ge(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)&&o&&o.lib&&this.setShared({pkgName:e,lib:o.lib,get:o.get,loaded:!0,shared:o,from:t.name})})}),{shareInfos:o,shared:r}}async loadShare(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const n=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:o.options.shared,origin:o}),{shareInfo:s}=n;v(s,`Cannot find ${e} Share in the ${o.options.name}. Please ensure that the ${e} Share parameters have been injected`);const a=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare),i=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(a&&a.lib)return i(a),a.lib;if(a&&a.loading&&!a.loaded){const e=await a.loading;return a.loaded=!0,a.lib||(a.lib=e),i(a),e}if(a){const t=(async()=>{const t=await a.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:o.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;const r=(async()=>{const t=await s.get();s.lib=t,s.loaded=!0,i(s);const o=Ge(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return o&&(o.lib=t,o.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:r}),r}}initializeSharing(e=z,t){const{host:o}=this,r=null==t?void 0:t.from,n=null==t?void 0:t.strategy;let s=null==t?void 0: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)=>{var o;const{version:r,eager:n}=t;c[e]=c[e]||{};const s=c[e],a=s[r],i=Boolean(a&&(a.eager||(null==(o=a.shareConfig)?void 0:o.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(Boolean(!n)!==!i?n:l>a.from))&&(s[r]=t)})(t,o)})}),"version-first"!==o.options.shareStrategy&&"version-first"!==n||o.options.remotes.forEach(t=>{t.shareScope===e&&a.push((async t=>{const{module:r}=await o.remoteHandler.getRemoteModuleAndOptions({id:t});if(r.getEntry){let a;try{a=await r.getEntry()}catch(e){a=await o.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:t,error:e,from:"runtime",lifecycle:"beforeLoadShare",origin:o})}r.inited||(await(n=a,n&&n.init&&n.init(i[e],s)),r.inited=!0)}var n})(t.name))}),a}loadShareSync(e,t){const{host:o}=this,r=Be({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const n=Ge(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),s=e=>{e.useIn||(e.useIn=[]),k(e.useIn,o.options.name)};if(n){if("function"==typeof n.lib)return s(n),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 s(n),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();if(n instanceof Promise){const r="build"===(null==t?void 0:t.from)?p:h;throw new Error(y(r,b,{hostName:o.options.name,sharedPkgName:e}))}return r.lib=n,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:r.lib,shared:r}),r.lib}throw new Error(y(h,b,{hostName:o.options.name,sharedPkgName:e}))}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:a,loaded:i,get:l}){const{version:c,scope:u="default"}=t,p=s(t,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][c])return this.shareScopeMap[t][e][c]=n({version:c,scope:["default"]},p,{lib:r,loaded:i,loading:a}),void(l&&(this.shareScopeMap[t][e][c].get=l));const o=this.shareScopeMap[t][e][c];a&&!o.loading&&(o.loading=a)})}_setGlobalShareScopeMap(e){const t=Ue(),o=e.id||e.name;o&&!t[o]&&(t[o]=this.shareScopeMap)}constructor(e){this.hooks=new et({afterResolve:new Qe("afterResolve"),beforeLoadShare:new Qe("beforeLoadShare"),loadShare:new Ye,resolveShare:new Ze("resolveShare"),initContainerShareScopeMap:new Ze("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class pt{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:p}=a,h=await n.get(u,c,t,p),m=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:i,expose:c,exposeModule:r?h:void 0,exposeModuleFactory:r?void 0:h,remote:l,options:s,moduleInstance:n,origin:o});return this.setIdToRemoteMap(e,a),"function"==typeof m?m:h}catch(r){const{from:n="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:n,lifecycle:"onLoad",origin:o});if(!s)throw r;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const o=(r=t.options.remotes,e.map(e=>{const t=function(e,t){for(const o of e){if(t===o.name)return o;if(o.alias&&t===o.alias)return o}}(r,e.nameOrAlias);return v(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&(0,a.ML)({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:tt(e)}}));var r;await Promise.all(o.map(async e=>{const{remote:o}=e,r=Ke(o),{globalSnapshot:n,remoteSnapshot:s}=await t.snapshotHandler.loadRemoteSnapshotInfo(o),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:o,remoteInfo:r,globalSnapshot:n,remoteSnapshot:s});a&&ot(r,t,a)}))}registerRemotes(e,t){const{host:o}=this;e.forEach(e=>{this.registerRemote(e,o.options.remotes,{force:null==t?void 0: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(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:s}=r,a=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}}}}(t.options.remotes,s);v(a,y(u,b,{hostName:t.options.name,requestId:s}));const{remote:i}=a,l=Ke(i),c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit(n({id:s},a,{options:t.options,origin:t,remoteInfo:l})),{remote:p,expose:h}=c;v(p&&h,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${s}.`);let m=t.moduleCache.get(p.name);const d={host:t,remoteInfo:l};return m||(m=new ze(d),t.moduleCache.set(p.name,m)),{module:m,moduleOptions:d,remoteMatchInfo:c}}registerRemote(e,t,o){const{host:r}=this,n=()=>{if(e.alias){const o=t.find(t=>{var o;return e.alias&&(t.name.startsWith(e.alias)||(null==(o=t.alias)?void 0:o.startsWith(e.alias)))});v(!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&&(0,a.OL)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=z),e.type||(e.type=X)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const s=t.find(t=>t.name===e.name);if(s){const i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==o?void 0:o.force)&&(this.removeRemote(s),n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,a.R8)(i.join(" ")))}else n(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:o}=this,{name:r}=e,n=o.options.remotes.findIndex(e=>e.name===r);-1!==n&&o.options.remotes.splice(n,1);const s=o.moduleCache.get(e.name);if(s){const r=s.remoteInfo,n=r.entryGlobalName;var t;P[n]&&((null==(t=Object.getOwnPropertyDescriptor(P,n))?void 0:t.configurable)?delete P[n]:P[n]=void 0);const i=We(s.remoteInfo);j[i]&&delete j[i],o.snapshotHandler.manifestCache.delete(r.entry);let l=r.buildVersion?(0,a.lG)(r.name,r.buildVersion):r.name;const c=P.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===l:e.name===l);if(-1!==c){const e=P.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;const t=Ue();let o=!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===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?o=!1:n.push([e,t,s,a])):n.push([e,t,s,a]))})})})}),o&&(e.shareScopeMap={},delete t[l]),n.forEach(([e,o,r,n])=>{var s,a,i;null==(i=t[e])||null==(a=i[o])||null==(s=a[r])||delete s[n]}),P.__FEDERATION__.__INSTANCES__.splice(c,1)}const{hostGlobalSnapshot:u}=lt(e,o);if(u){const t=u&&"remotesInfo"in u&&u.remotesInfo&&C(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],Boolean(x.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete x.__FEDERATION__.__MANIFEST_LOADING__[t])}o.moduleCache.delete(e.name)}}catch(e){S.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new et({beforeRegisterRemote:new Ze("beforeRegisterRemote"),registerRemote:new Ze("registerRemote"),beforeRequest:new Qe("beforeRequest"),onLoad:new Ye("onLoad"),handlePreloadModule:new Xe("handlePreloadModule"),errorLoadRemote:new Ye("errorLoadRemote"),beforePreloadRemote:new Ye("beforePreloadRemote"),generatePreloadAssets:new Ye("generatePreloadAssets"),afterPreloadRemote:new Ye,loadEntry:new Ye}),this.host=e,this.idToRemoteMap={}}}class ht{initOptions(e){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=z,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,o){const r=Ke({name:e,entry:t}),n=new ze({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{shared:o}=xe(e,t),{userOptions:r,options:s}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:o}),a=this.remoteHandler.formatAndRegisterRemote(s,r),{shared:i}=this.sharedHandler.registerShared(s,r),l=[...s.plugins];r.plugins&&r.plugins.forEach(e=>{l.includes(e)||l.push(e)});const c=n({},e,t,{plugins:l,remotes:a,shared:i});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){const t=function(e,t){const o=L.__FEDERATION__.__GLOBAL_PLUGIN__;return o.length>0&&o.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);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)}constructor(e){this.hooks=new et({beforeInit:new Ze("beforeInit"),init:new Xe,beforeInitContainer:new Qe("beforeInitContainer"),initContainer:new Qe("initContainer")}),this.version="0.13.1",this.moduleCache=new Map,this.loaderHook=new et({getModuleInfo:new Xe,createScript:new Xe,createLink:new Xe,fetch:new Ye,loadEntryError:new Ye,getModuleFactory:new Ye}),this.bridgeHook=new et({beforeBridgeRender:new Xe,afterBridgeRender:new Xe,beforeBridgeDestroy:new Xe,afterBridgeDestroy:new Xe});const t={id:"flowComponents:2.2.8",name:e.name,plugins:[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:o,expose:r,origin:s,remoteInfo:a}=e;if(!R(t)||!O(t)){const{remoteSnapshot:i,globalSnapshot:l}=await s.snapshotHandler.loadRemoteSnapshotInfo(t);rt(a,i);const c={remote:t,preloadConfig:{nameOrAlias:o,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:i,globalSnapshot:l});return u&&ot(a,s,u,!1),n({},e,{remoteSnapshot:i})}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:o,remoteInfo:r,remote:n,globalSnapshot:s,remoteSnapshot:i}=e;return(0,a.OL)()?R(n)&&O(n)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:n.name,url:n.entry,moduleInfo:{name:r.name,entry:n.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(rt(r,i),it(t,o,r,s,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],remotes:[],shared:{},inBrowser:(0,a.OL)()};this.name=e.name,this.options=t,this.snapshotHandler=new ct(this),this.sharedHandler=new ut(this),this.remoteHandler=new pt(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}let mt=null;function dt(e){const t=function(e,t){return P.__FEDERATION__.__INSTANCES__.find(o=>"flowComponents:2.2.8"===o.options.id||o.options.name===e&&!o.options.version&&!t||!(o.options.name!==e||!t||o.options.version!==t))}(e.name,e.version);if(t)return t.initOptions(e),mt||(mt=t),t;{const t=P.__FEDERATION__.__DEBUG_CONSTRUCTOR__||ht;return mt=new t(e),function(e){P.__FEDERATION__.__INSTANCES__.push(e)}(mt),mt}}function ft(...e){return v(mt,"Please call init first"),mt.loadRemote.apply(mt,e)}function _t(...e){return v(mt,"Please call init first"),mt.loadShare.apply(mt,e)}function yt(...e){return v(mt,"Please call init first"),mt.loadShareSync.apply(mt,e)}function gt(...e){return v(mt,"Please call init first"),mt.preloadRemote.apply(mt,e)}function bt(...e){return v(mt,"Please call init first"),mt.registerRemotes.apply(mt,e)}function Et(...e){return v(mt,"Please call init first"),mt.registerPlugins.apply(mt,e)}function St(){return mt}!function(e,t=(0,a.Bb)()){t&&(P.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,P.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.13.1")}(ht);const vt=["script"];function wt(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function Nt(){return Nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Nt.apply(this,arguments)}const kt={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){const{chunkId:t,promises:o,chunkMapping:r,idToExternalAndNameMapping:n,webpackRequire:s,idToRemoteMap:i}=e;wt(s),s.o(r,t)&&r[t].forEach(e=>{let t=s.R;t||(t=[]);const r=n[e],l=i[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return o.push(r.p);const c=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${r[1]}" from ${r[2]}`),s.m[e]=()=>{throw t},r.p=0},u=(e,t,n,s,a,i)=>{try{const l=e(t,n);if(!l||!l.then)return a(l,s,i);{const e=l.then(e=>a(e,s),c);if(!i)return e;o.push(r.p=e)}}catch(e){c(e)}};var p=(e,o,n)=>u(o.get,r[1],t,0,h,n),h=t=>{r.p=1,s.m[e]=e=>{e.exports=t()}};1===l.length&&vt.includes(l[0].externalType)&&l[0].name?u(()=>{try{const e=(0,a.e4)(l[0].name,a.yq)+r[1].slice(1),t=s.federation.instance,o=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});return"version-first"===t.options.shareStrategy?Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>o()):o()}catch(e){c(e)}},r[2],0,0,h,1):u(s,r[2],0,0,(e,t,o)=>e?u(s.I,r[0],0,e,p,o):c(),1)})},consumes:function(e){const{chunkId:t,promises:o,chunkMapping:r,installedModules:n,moduleToHandlerMapping:s,webpackRequire:a}=e;wt(a),a.o(r,t)&&r[t].forEach(e=>{if(a.o(n,e))return o.push(n[e]);const t=t=>{n[e]=0,a.m[e]=o=>{delete a.c[e],o.exports=t()}},r=t=>{delete n[e],a.m[e]=o=>{throw delete a.c[e],t}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:l,getter:c,shareInfo:u}=s[e],p=i.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);p.then?o.push(n[e]=p.then(t).catch(r)):t(p)}catch(e){r(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:o,initTokens:r,initScope:n}){const s=Array.isArray(e)?e:[e];var a=[];return s.forEach(s=>{a.push(function(s){n||(n=[]);const a=t.federation.instance;var i=r[s];if(i||(i=r[s]={from:a.name}),n.indexOf(i)>=0)return;n.push(i);const l=o[s];if(l)return l;var c=o=>{var r=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var a=t(o);if(!a)return;var i=o=>o&&o.init&&o.init(t.S[s],n,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return u.push(a.then(i,r));var l=i(a);if(l&&"boolean"!=typeof l&&l.then)return u.push(l.catch(r))}catch(e){r(e)}};const u=a.initializeSharing(s,{strategy:a.options.shareStrategy,initScope:n,from:"build"});wt(t);const p=t.federation.bundlerRuntimeOptions.remotes;return p&&Object.keys(p.idToRemoteMap).forEach(e=>{const t=p.idToRemoteMap[e],o=p.idToExternalAndNameMapping[e][2];if(t.length>1)c(o);else if(1===t.length){const e=t[0];vt.includes(e.externalType)||c(o)}}),u.length?o[s]=Promise.all(u).then(()=>o[s]=!0):o[s]=!0}(s))}),Promise.all(a).then(()=>!0)},S:{},installInitialConsumes:function(e){const{moduleToHandlerMapping:t,webpackRequire:o,installedModules:r,initialConsumes:n}=e;n.forEach(e=>{o.m[e]=n=>{r[e]=0,delete o.c[e];const s=function(e){const{moduleId:t,moduleToHandlerMapping:o,webpackRequire:r}=e,n=r.federation.instance;if(!n)throw new Error("Federation instance not found!");const{shareKey:s,shareInfo:a}=o[t];try{return n.loadShareSync(s,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:o});if("function"!=typeof s)throw new Error(`Shared module is not available for eager consumption: ${e}`);n.exports=s()}})},initContainerEntry:function(e){const{webpackRequire:t,shareScope:o,initScope:r,shareScopeKey:n,remoteEntryInitOptions:s}=e;if(!t.S)return;if(!t.federation||!t.federation.instance||!t.federation.initOptions)return;const a=t.federation.instance;a.initOptions(Nt({name:t.federation.initOptions.name,remotes:[]},s));const i=null==s?void 0:s.shareScopeKeys,l=null==s?void 0:s.shareScopeMap;if(n&&"string"!=typeof n)n.forEach(e=>{if(!i||!l)return void a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}});l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})});else{const e=n||"default";Array.isArray(i)?i.forEach(e=>{l[e]||(l[e]={});const t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}):a.initShareScopeMap(e,o,{hostShareScopeMap:(null==s?void 0:s.shareScopeMap)||{}})}return t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(n)?Boolean(t.federation.initOptions.shared)?t.I(n,r):Promise.all(n.map(e=>t.I(e,r))).then(()=>!0):t.I(n||"default",r)}},attachShareScopeMap:wt,bundlerRuntimeOptions:{}};if(!o.federation.runtime){var It=o.federation;for(var Rt in o.federation={},kt)o.federation[Rt]=kt[Rt];for(var Rt in It)o.federation[Rt]=It[Rt]}o.federation.instance||(o.federation.instance=o.federation.runtime.init(o.federation.initOptions),o.federation.attachShareScopeMap&&o.federation.attachShareScopeMap(o),o.federation.installInitialConsumes&&o.federation.installInitialConsumes(),!o.federation.isMFRemote&&o.federation.prefetch&&o.federation.prefetch())},2870:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Al:()=>getResourceUrl,Bb:()=>isDebugMode,Jn:()=>generateSnapshotFromManifest,ML:()=>safeToString,OL:()=>isBrowserEnv,R8:()=>warn,Tr:()=>isManifestProvider,d:()=>createLink,e4:()=>decodeName,h:()=>createLogger,k0:()=>loadScript,lG:()=>composeKeyWithSeparator,oe:()=>loadScriptNode,so:()=>createScript,tf:()=>isReactNativeEnv,yq:()=>ENCODE_NAME_PREFIX});var _polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8138);const FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&"ReactNative"===(null==(e=navigator)?void 0:e.product)}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){return!1}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?Boolean(process.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||isBrowserDebug()}const getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,o=SEPARATOR)=>{const r=e.split(o),n="development"===getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(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}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e,t="",o=!1){try{const r=o?".js":"";return`${t}${e.replace(new RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${r}`}catch(e){throw e}},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(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),o&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let o=e;return"."===o&&(o="default_export"),o.startsWith("./")&&(o=o.replace("./","")),encodeName(o,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",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?isBrowserEnv()||isReactNativeEnv()||!("ssrPublicPath"in e)?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw new Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}const VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}const simpleJoinRemoteEntry=(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 inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){var o,r;const{remotes:n={},overrides:s={},version:a}=t;let i;const l=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&a?inferAutoPublicPath(a):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(s);let u={};var p;Object.keys(n).length||(u=(null==(p=e.remotes)?void 0:p.reduce((e,t)=>{let o;const r=t.federationContainerName;return o=c.includes(r)?s[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:o},e},{}))||{}),Object.keys(n).forEach(e=>u[e]={matchedVersion:c.includes(e)?s[e]:n[e]});const{remoteEntry:{path:h,name:m,type:d},types:f,buildInfo:{buildVersion:_},globalName:y,ssrRemoteEntry:g}=e.metaData,{exposes:b}=e;let E={version:a||"",buildVersion:_,globalName:y,remoteEntry:simpleJoinRemoteEntry(h,m),remoteEntryType:d,remoteTypes:simpleJoinRemoteEntry(f.path,f.name),remoteTypesZip:f.zip||"",remoteTypesAPI:f.api||"",remotesInfo:u,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==b?void 0:b.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(o=e.metaData)?void 0:o.prefetchInterface){const t=e.metaData.prefetchInterface;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){const{path:t,name:o,type:r}=e.metaData.prefetchEntry;E=(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{prefetchEntry:simpleJoinRemoteEntry(t,o),prefetchEntryType:r})}if(i="publicPath"in e.metaData?(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{publicPath:l(),ssrPublicPath:e.metaData.ssrPublicPath}):(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},E,{getPublicPath:l()}),g){const e=simpleJoinRemoteEntry(g.path,g.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=g.type||"commonjs-module"}return i}function isManifestProvider(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(MANIFEST_EXT))}const PREFIX="[ Module Federation ]";let Logger=class{setPrefix(e){this.prefix=e}log(...e){console.log(this.prefix,...e)}warn(...e){console.log(this.prefix,...e)}error(...e){console.log(this.prefix,...e)}success(...e){console.log(this.prefix,...e)}info(...e){console.log(this.prefix,...e)}ready(...e){console.log(this.prefix,...e)}debug(...e){isDebugMode()&&console.log(this.prefix,...e)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}const logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){return void(!t&&warn(e))}}function isStaticResourcesEqual(e,t){const o=/^(https?:)?\/\//i;return e.replace(o,"").replace(/\/$/,"")===t.replace(o,"").replace(/\/$/,"")}function createScript(e){let t,o=null,r=!0,n=2e4;const s=document.getElementsByTagName("script");for(let t=0;t<s.length;t++){const n=s[t],a=n.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){o=n,r=!1;break}}if(!o){const t=e.attrs;let r;o=document.createElement("script"),o.type="module"===(null==t?void 0: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]))})}const a=async(r,n)=>{clearTimeout(t);const s=()=>{"error"===(null==n?void 0:n.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(o&&(o.onerror=null,o.onload=null,safeWrapper(()=>{const{needDeleteScript:t=!0}=e;t&&(null==o?void 0: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=a.bind(null,o.onerror),o.onload=a.bind(null,o.onload),t=setTimeout(()=>{a(null,new Error(`Remote script "${e.url}" time-outed.`))},n),{script:o,needAttach:r}}function createLink(e){let t=null,o=!0;const r=document.getElementsByTagName("link");for(let n=0;n<r.length;n++){const s=r[n],a=s.getAttribute("href"),i=s.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&i===e.attrs.rel){t=s,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"===(null==r?void 0:r.type)?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{const{needDeleteLink:o=!0}=e;o&&(null==t?void 0: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}}function loadScript(e,t){const{attrs:o={},createScriptHook:r}=t;return new Promise((t,n)=>{const{script:s,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:n,attrs:(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({fetchpriority:"high"},o),createScriptHook:r,needDeleteScript:!0});a&&document.head.appendChild(s)})}function importNodeModule(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}const loadNodeFetch=async()=>{const e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,o)=>{const r=await((e,t)=>o.lifecycle.fetch.emit(e,t))(e,t||{});return r&&r instanceof Response?r:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){if(null==loaderHook?void 0:loaderHook.createScriptHook){const e=loaderHook.createScriptHook(url);e&&"object"==typeof e&&"url"in e&&(url=e.url)}let urlObj;try{urlObj=new URL(url)}catch(e){return console.error("Error constructing URL:",e),void cb(new Error(`Invalid URL: ${e}`))}const getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants;const res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);var _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;const script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}\n})`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);const exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){const e=exportedInterface[attrs.globalName]||exportedInterface;return void cb(void 0,e)}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if("esm"===(null==attrs?void 0:attrs.type)||"module"===(null==attrs?void 0:attrs.type))return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:new Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((o,r)=>{createScriptNode(e,(e,n)=>{if(e)r(e);else{var s,a;const e=(null==t||null==(s=t.attrs)?void 0:s.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`,r=globalThis[e]=n;o(r)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){const{fetch:o,vm:r}=t,n=await o(e),s=await n.text(),a=new r.SourceTextModule(s,{importModuleDynamically:async(o,r)=>loadModule(new URL(o,e).href,t)});return await a.link(async o=>{const r=new URL(o,e).href;return await loadModule(r,t)}),a}function normalizeOptions(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(0,_polyfills_esm_js__WEBPACK_IMPORTED_MODULE_0__._)({},t,r);throw new Error(`Unexpected type for \`${o}\`, expect boolean/undefined/object, got: ${typeof r}`)}}},8138:(e,t,o)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},r.apply(this,arguments)}o.d(t,{_:()=>r})},9302:(e,t,o)=>{Promise.all([o.e(996),o.e(222),o.e(134),o.e(985)]).then(o.bind(o,1985))}},__webpack_module_cache__={},inProgress,dataWebpackPrefix,installedModules,moduleToHandlerMapping,chunkMapping,oldStartup,hasRun;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}},r={id:e,module:o,factory:__webpack_modules__[e],require:__webpack_require__};return __webpack_require__.i.forEach(function(e){e(r)}),o=r.module,r.factory.call(o.exports,o,o.exports,r.require),o.loaded=!0,o.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],__webpack_require__.x=e=>{},__webpack_require__.federation||(__webpack_require__.federation={initOptions:{name:"flowComponents",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!0},rootOutputDir:"",initialConsumes:void 0,bundlerRuntimeOptions:{}}),__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,o)=>(__webpack_require__.f[o](e,t),t),[])),__webpack_require__.u=e=>e+".js",__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="@descope/flow-components-2.2.8-1762434502756:",__webpack_require__.l=(e,t,o,r)=>{if(inProgress[e])inProgress[e].push(t);else{var n,s;if(void 0!==o)for(var a=document.getElementsByTagName("script"),i=0;i<a.length;i++){var l=a[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+o){n=l;break}}n||(s=!0,(n=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",dataWebpackPrefix+o),n.src=e),inProgress[e]=[t];var c=(t,o)=>{n.onerror=n.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach(e=>e(o)),t)return t(o)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=c.bind(null,n.onerror),n.onload=c.bind(null,n.onload),s&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>{r||(r=[]);var n=t[o];if(n||(n=t[o]={}),!(r.indexOf(n)>=0)){if(r.push(n),e[o])return e[o];__webpack_require__.o(__webpack_require__.S,o)||(__webpack_require__.S[o]={}),__webpack_require__.S[o];var s=[];return e[o]=s.length?Promise.all(s).then(()=>e[o]=1):1}}})(),(()=>{__webpack_require__.federation.initOptions.shared={},__webpack_require__.S={};var e={},t={};__webpack_require__.I=(o,r)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:o,webpackRequire:__webpack_require__,initPromises:e,initTokens:t,initScope:r})})(),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),installedModules={},moduleToHandlerMapping={7596:{getter:()=>()=>{throw new Error("Can not get 'react'")},shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:">= 18",strictVersion:!1,singleton:!0,eager:!1},scope:["default"]},shareKey:"react"}},chunkMapping={134:[7596]},__webpack_require__.f.consumes=(e,t)=>{__webpack_require__.federation.bundlerRuntime.consumes({chunkMapping,installedModules,chunkId:e,moduleToHandlerMapping,promises:t,webpackRequire:__webpack_require__})},oldStartup=__webpack_require__.x,hasRun=!1,__webpack_require__.x=()=>(hasRun||(hasRun=!0,__webpack_require__(509)),oldStartup()),(()=>{var e={792:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise((o,n)=>r=e[t]=[o,n]);o.push(r[2]=n);var s=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(s,o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",a.name="ChunkLoadError",a.type=n,a.request=s,r[1](a)}},"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[s,a,i]=o,l=0;if(s.some(t=>0!==e[t])){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);i&&i(__webpack_require__)}for(t&&t(o);l<s.length;l++)n=s[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=self.webpackChunk_descope_flow_components_2_2_8_1762434502756=self.webpackChunk_descope_flow_components_2_2_8_1762434502756||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),__webpack_require__.x();var __webpack_exports__=__webpack_require__(9302)})();
|
package/dist/fm/mf-manifest.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "flowComponents",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "2.2.
|
|
8
|
+
"buildVersion": "2.2.8",
|
|
9
9
|
"buildName": "@descope/flow-components"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"assets": {
|
|
52
52
|
"js": {
|
|
53
53
|
"sync": [
|
|
54
|
-
"
|
|
54
|
+
"134.js",
|
|
55
55
|
"__federation_expose_components.js"
|
|
56
56
|
],
|
|
57
57
|
"async": []
|
package/dist/fm/mf-stats.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "flowComponents",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "2.2.
|
|
8
|
+
"buildVersion": "2.2.8",
|
|
9
9
|
"buildName": "@descope/flow-components"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"assets": {
|
|
59
59
|
"js": {
|
|
60
60
|
"sync": [
|
|
61
|
-
"
|
|
61
|
+
"134.js",
|
|
62
62
|
"__federation_expose_components.js"
|
|
63
63
|
],
|
|
64
64
|
"async": []
|
package/dist/index.cjs.js
CHANGED
|
@@ -98077,7 +98077,6 @@ descope-enriched-text {
|
|
|
98077
98077
|
const defaultHeight = '400px';
|
|
98078
98078
|
|
|
98079
98079
|
const appsList = {
|
|
98080
|
-
[vars$k.itemsFontWeight]: 'normal',
|
|
98081
98080
|
[vars$k.itemsTextAlign]: 'start',
|
|
98082
98081
|
[vars$k.hostDirection]: globalRefs$a.direction,
|
|
98083
98082
|
[vars$k.maxHeight]: defaultHeight,
|
|
@@ -98089,15 +98088,19 @@ descope-enriched-text {
|
|
|
98089
98088
|
size: {
|
|
98090
98089
|
xs: {
|
|
98091
98090
|
[vars$k.itemsFontSize]: '14px',
|
|
98091
|
+
[vars$k.itemsFontWeight]: 'normal',
|
|
98092
98092
|
},
|
|
98093
98093
|
sm: {
|
|
98094
98094
|
[vars$k.itemsFontSize]: '14px',
|
|
98095
|
+
[vars$k.itemsFontWeight]: 'normal',
|
|
98095
98096
|
},
|
|
98096
98097
|
md: {
|
|
98097
98098
|
[vars$k.itemsFontSize]: '16px',
|
|
98099
|
+
[vars$k.itemsFontWeight]: 'normal',
|
|
98098
98100
|
},
|
|
98099
98101
|
lg: {
|
|
98100
98102
|
[vars$k.itemsFontSize]: '20px',
|
|
98103
|
+
[vars$k.itemsFontWeight]: 'normal',
|
|
98101
98104
|
},
|
|
98102
98105
|
},
|
|
98103
98106
|
|
|
@@ -103263,6 +103266,8 @@ var edit = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMS41ZW0iIGhlaWdodD0iMS41ZW
|
|
|
103263
103266
|
|
|
103264
103267
|
var lock = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTIuOTk5OCAzQzguMDI5NzcgMyAzLjk5OTc3IDcuMDMgMy45OTk3NyAxMkMzLjk5OTc3IDEyLjA2IDQuMDA5NzcgMTIuMTIgNC4wMDk3NyAxMi4xOUwyLjE2OTc3IDEwLjM1TDAuNzU5NzY2IDExLjc2TDQuOTk5NzcgMTZMOS4yMzk3NyAxMS43Nkw3LjgyOTc3IDEwLjM1TDYuMDA5NzcgMTIuMTdDNi4wMDk3NyAxMi4xMSA1Ljk5OTc3IDEyLjA2IDUuOTk5NzcgMTJDNS45OTk3NyA4LjE0IDkuMTM5NzcgNSAxMi45OTk4IDVDMTYuODU5OCA1IDE5Ljk5OTggOC4xNCAxOS45OTk4IDEyQzE5Ljk5OTggMTUuODYgMTYuODU5OCAxOSAxMi45OTk4IDE5QzExLjA5OTggMTkgOS4zNzk3NyAxOC4yNCA4LjExOTc3IDE3LjAxTDYuNjk5NzcgMTguNDJDOC4zMTk3NyAyMC4wMSAxMC41NDk4IDIxIDEyLjk5OTggMjFDMTcuOTY5OCAyMSAyMS45OTk4IDE2Ljk3IDIxLjk5OTggMTJDMjEuOTk5OCA3LjAzIDE3Ljk2OTggMyAxMi45OTk4IDNaTTE0Ljk5OTggMTFWMTBDMTQuOTk5OCA4LjkgMTQuMDk5OCA4IDEyLjk5OTggOEMxMS44OTk4IDggMTAuOTk5OCA4LjkgMTAuOTk5OCAxMFYxMUMxMC40NDk4IDExIDkuOTk5NzcgMTEuNDUgOS45OTk3NyAxMlYxNUM5Ljk5OTc3IDE1LjU1IDEwLjQ0OTggMTYgMTAuOTk5OCAxNkgxNC45OTk4QzE1LjU0OTggMTYgMTUuOTk5OCAxNS41NSAxNS45OTk4IDE1VjEyQzE1Ljk5OTggMTEuNDUgMTUuNTQ5OCAxMSAxNC45OTk4IDExWk0xMy45OTk4IDExSDExLjk5OThWMTBDMTEuOTk5OCA5LjQ1IDEyLjQ0OTggOSAxMi45OTk4IDlDMTMuNTQ5OCA5IDEzLjk5OTggOS40NSAxMy45OTk4IDEwVjExWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4=";
|
|
103265
103268
|
|
|
103269
|
+
var sessiontoken = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgMjBWMTBIMThWMTFDMTguNyAxMSAxOS4zNyAxMS4xIDIwIDExLjI5VjEwQzIwIDguOSAxOS4xIDggMTggOEgxN1Y2QzE3IDMuMjQgMTQuNzYgMSAxMiAxQzkuMjQgMSA3IDMuMjQgNyA2VjhINkM0LjkgOCA0IDguOSA0IDEwVjIwQzQgMjEuMSA0LjkgMjIgNiAyMkgxMi4yNkMxMS44NCAyMS40IDExLjUxIDIwLjcyIDExLjI5IDIwSDZaTTkgNkM5IDQuMzQgMTAuMzQgMyAxMiAzQzEzLjY2IDMgMTUgNC4zNCAxNSA2VjhIOVY2WiIgZmlsbD0iIzE4MUExQyIvPgo8cGF0aCBkPSJNMTggMTNDMTUuMjQgMTMgMTMgMTUuMjQgMTMgMThDMTMgMjAuNzYgMTUuMjQgMjMgMTggMjNDMjAuNzYgMjMgMjMgMjAuNzYgMjMgMThDMjMgMTUuMjQgMjAuNzYgMTMgMTggMTNaTTE5LjY1IDIwLjM1TDE3LjUgMTguMlYxNUgxOC41VjE3Ljc5TDIwLjM1IDE5LjY0TDE5LjY1IDIwLjM1WiIgZmlsbD0iIzE4MUExQyIvPgo8L3N2Zz4K";
|
|
103270
|
+
|
|
103266
103271
|
// @ts-ignore
|
|
103267
103272
|
|
|
103268
103273
|
var icons = /*#__PURE__*/Object.freeze({
|
|
@@ -103283,6 +103288,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
103283
103288
|
password: password,
|
|
103284
103289
|
plus: plus,
|
|
103285
103290
|
reload: reload,
|
|
103291
|
+
sessiontoken: sessiontoken,
|
|
103286
103292
|
slack: slack,
|
|
103287
103293
|
sso: sso,
|
|
103288
103294
|
whatsapp: whatsapp
|
|
@@ -103863,6 +103869,7 @@ exports.passkey = passkey;
|
|
|
103863
103869
|
exports.password = password;
|
|
103864
103870
|
exports.plus = plus;
|
|
103865
103871
|
exports.reload = reload;
|
|
103872
|
+
exports.sessiontoken = sessiontoken;
|
|
103866
103873
|
exports.slack = slack;
|
|
103867
103874
|
exports.sso = sso;
|
|
103868
103875
|
exports.themeToStyle = themeToStyle;
|
package/dist/index.d.ts
CHANGED
|
@@ -1242,5 +1242,5 @@ type Theme = {
|
|
|
1242
1242
|
};
|
|
1243
1243
|
};
|
|
1244
1244
|
|
|
1245
|
-
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, ReactComponent as apple, ReactComponent as authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, genColor, ReactComponent as github, ReactComponent as gitlab, globalsThemeToStyle, ReactComponent as google, ReactComponent as linkedin, ReactComponent as lock, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|
|
1245
|
+
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, ReactComponent as apple, ReactComponent as authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, genColor, ReactComponent as github, ReactComponent as gitlab, globalsThemeToStyle, ReactComponent as google, ReactComponent as linkedin, ReactComponent as lock, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as sessiontoken, ReactComponent as slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|
|
1246
1246
|
export type { Theme };
|
package/dist/index.esm.js
CHANGED
|
@@ -116,6 +116,8 @@ var edit = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMS41ZW0iIGhlaWdodD0iMS41ZW
|
|
|
116
116
|
|
|
117
117
|
var lock = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTIuOTk5OCAzQzguMDI5NzcgMyAzLjk5OTc3IDcuMDMgMy45OTk3NyAxMkMzLjk5OTc3IDEyLjA2IDQuMDA5NzcgMTIuMTIgNC4wMDk3NyAxMi4xOUwyLjE2OTc3IDEwLjM1TDAuNzU5NzY2IDExLjc2TDQuOTk5NzcgMTZMOS4yMzk3NyAxMS43Nkw3LjgyOTc3IDEwLjM1TDYuMDA5NzcgMTIuMTdDNi4wMDk3NyAxMi4xMSA1Ljk5OTc3IDEyLjA2IDUuOTk5NzcgMTJDNS45OTk3NyA4LjE0IDkuMTM5NzcgNSAxMi45OTk4IDVDMTYuODU5OCA1IDE5Ljk5OTggOC4xNCAxOS45OTk4IDEyQzE5Ljk5OTggMTUuODYgMTYuODU5OCAxOSAxMi45OTk4IDE5QzExLjA5OTggMTkgOS4zNzk3NyAxOC4yNCA4LjExOTc3IDE3LjAxTDYuNjk5NzcgMTguNDJDOC4zMTk3NyAyMC4wMSAxMC41NDk4IDIxIDEyLjk5OTggMjFDMTcuOTY5OCAyMSAyMS45OTk4IDE2Ljk3IDIxLjk5OTggMTJDMjEuOTk5OCA3LjAzIDE3Ljk2OTggMyAxMi45OTk4IDNaTTE0Ljk5OTggMTFWMTBDMTQuOTk5OCA4LjkgMTQuMDk5OCA4IDEyLjk5OTggOEMxMS44OTk4IDggMTAuOTk5OCA4LjkgMTAuOTk5OCAxMFYxMUMxMC40NDk4IDExIDkuOTk5NzcgMTEuNDUgOS45OTk3NyAxMlYxNUM5Ljk5OTc3IDE1LjU1IDEwLjQ0OTggMTYgMTAuOTk5OCAxNkgxNC45OTk4QzE1LjU0OTggMTYgMTUuOTk5OCAxNS41NSAxNS45OTk4IDE1VjEyQzE1Ljk5OTggMTEuNDUgMTUuNTQ5OCAxMSAxNC45OTk4IDExWk0xMy45OTk4IDExSDExLjk5OThWMTBDMTEuOTk5OCA5LjQ1IDEyLjQ0OTggOSAxMi45OTk4IDlDMTMuNTQ5OCA5IDEzLjk5OTggOS40NSAxMy45OTk4IDEwVjExWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4=";
|
|
118
118
|
|
|
119
|
+
var sessiontoken = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgMjBWMTBIMThWMTFDMTguNyAxMSAxOS4zNyAxMS4xIDIwIDExLjI5VjEwQzIwIDguOSAxOS4xIDggMTggOEgxN1Y2QzE3IDMuMjQgMTQuNzYgMSAxMiAxQzkuMjQgMSA3IDMuMjQgNyA2VjhINkM0LjkgOCA0IDguOSA0IDEwVjIwQzQgMjEuMSA0LjkgMjIgNiAyMkgxMi4yNkMxMS44NCAyMS40IDExLjUxIDIwLjcyIDExLjI5IDIwSDZaTTkgNkM5IDQuMzQgMTAuMzQgMyAxMiAzQzEzLjY2IDMgMTUgNC4zNCAxNSA2VjhIOVY2WiIgZmlsbD0iIzE4MUExQyIvPgo8cGF0aCBkPSJNMTggMTNDMTUuMjQgMTMgMTMgMTUuMjQgMTMgMThDMTMgMjAuNzYgMTUuMjQgMjMgMTggMjNDMjAuNzYgMjMgMjMgMjAuNzYgMjMgMThDMjMgMTUuMjQgMjAuNzYgMTMgMTggMTNaTTE5LjY1IDIwLjM1TDE3LjUgMTguMlYxNUgxOC41VjE3Ljc5TDIwLjM1IDE5LjY0TDE5LjY1IDIwLjM1WiIgZmlsbD0iIzE4MUExQyIvPgo8L3N2Zz4K";
|
|
120
|
+
|
|
119
121
|
// @ts-ignore
|
|
120
122
|
|
|
121
123
|
var icons = /*#__PURE__*/Object.freeze({
|
|
@@ -136,6 +138,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
136
138
|
password: password,
|
|
137
139
|
plus: plus,
|
|
138
140
|
reload: reload,
|
|
141
|
+
sessiontoken: sessiontoken,
|
|
139
142
|
slack: slack,
|
|
140
143
|
sso: sso,
|
|
141
144
|
whatsapp: whatsapp
|
|
@@ -572,4 +575,4 @@ const themeVars = themeVars$1;
|
|
|
572
575
|
const defaultTheme = defaultTheme$1;
|
|
573
576
|
const darkTheme = darkTheme$1;
|
|
574
577
|
|
|
575
|
-
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, apple, authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, discord, edit, facebook, fingerprint, genColor, github, gitlab, globalsThemeToStyle, google, linkedin, lock, microsoft, passkey, password, plus, reload, slack, sso, themeToStyle, themeVars, whatsapp };
|
|
578
|
+
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, apple, authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, discord, edit, facebook, fingerprint, genColor, github, gitlab, globalsThemeToStyle, google, linkedin, lock, microsoft, passkey, password, plus, reload, sessiontoken, slack, sso, themeToStyle, themeVars, whatsapp };
|
|
@@ -17,4 +17,5 @@ import reload from './reload.svg';
|
|
|
17
17
|
import authenticator from './authenticator.svg';
|
|
18
18
|
import edit from './edit.svg';
|
|
19
19
|
import lock from './lock.svg';
|
|
20
|
-
|
|
20
|
+
import sessiontoken from './sessiontoken.svg';
|
|
21
|
+
export { apple, facebook, slack, fingerprint, passkey, github, gitlab, google, microsoft, discord, linkedin, sso, whatsapp, plus, password, reload, authenticator, edit, lock, sessiontoken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"webpack-dev-server": "5.2.2"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@descope/web-components-ui": "2.2.
|
|
99
|
+
"@descope/web-components-ui": "2.2.8"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"react": ">= 18"
|