@kenyaemr/esm-express-workflow-app 5.4.5-pre.838 → 5.4.5-pre.842
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/.turbo/turbo-build.log
CHANGED
package/dist/1278.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1278.js","sources":["webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/config-schema.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/openmrs-fetch.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/current-user.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/environment.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/openmrs-backend-dependencies.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/setup.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/types.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/validator.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/type-validators.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/module-config/state.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/module-config/module-config.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/validators.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-context/dist/context.js"],"names":["defaultRedirectAuthFailureUrl","configSchema","Type","validators","_define_property","obj","key","value","Object","restBaseUrl","fhirBaseUrl","sessionEndpoint","makeUrl","path","window","openmrsFetch","fetchInit","Error","_type_of","url","isPlainObject","JSON","urlUrl","URL","requestStacktrace","r","response","_ref","redirectAuthFailure","followRedirects","location","location1","getConfig","shouldRedirect","navigate","responseText","err","clearHistory","Promise","responseBody","OpenmrsFetchError","openmrsObservableFetch","abortController","AbortController","Observable","observer","hasResponse","sessionStore","createGlobalStore","lastFetchTimeMillis","getCurrentUser","opts","Date","refetchCurrentUser","subscriber","handler","state","_state_session","getSessionStore","setUserLanguage","data","_data_locale","_data_user_userProperties","locale","isValidLocale","undefined","Intl","e","document","username","password","headers","handleSessionResponse","clearCurrentUser","userHasAccess","requiredPrivilege","user","userHasPrivilege","isUndefined","p","Array","rp","console","role","getLoggedInUser","unsubscribe","res","getSessionLocation","rej","sub","session","setSessionLocation","locationUuid","setUserProperties","userUuid","userProperties","result","resolve","reject","nextState","reportError","isDevEnabled","localStorage","backendDependencies","setupApiModule","defineConfigSchema","validator","validationFunction","message","isArray","val","isBoolean","isNumber","isString","isObject","isUuid","configInternalStore","temporaryConfigStore","getTemporaryConfig","configExtensionStore","getConfigStore","moduleName","getGlobalStore","getExtensionSlotsConfigStore","getExtensionSlotConfig","slotName","getExtensionSlotConfigFromStore","slotConfig","getExtensionsConfigStore","getExtensionConfig","extensionId","extensionConfigStore","selector","configStore","_configStore_configs_slotName","getInitialState","getState","_selector","setState","partial","replace","newState","subscribe","listener","prevState","oldState","shallowEqual","destroy","getExtensionConfigFromStore","_state_configs_slotName","extensionConfig","getExtensionConfigFromExtensionSlotStore","_state_configure","implementerToolsConfigStore","mergeDeepReplace","left","right","mergeWith","_objValue","srcValue","configSubscriptions","recomputeAllConfigs","tempConfigState","allConfigs","slotConfigPerModule","newSlotStoreEntries","slotStore","configState","extensionState","computeModuleConfig","tempState","_iteratorError","moduleStore","config","getConfigForModule","schema","inputConfig","mergeConfigsFor","getProvidedConfigs","validateStructure","setDefaults","runAllValidatorsInConfigTree","config1","getConfigForModuleImplicitSchema","implicitConfigSchema","getImplementerToolsConfig","getSchemaWithValuesAndSources","isOrdinaryObject","cloneDeep","configsAndSources","c","source","mergeConfigs","createValuesAndSourcesTree","isEqual","validateAllExtensionSlotConfigs","configBySlotName","_iteratorError1","validateExtensionSlotConfig","keyPath","errorPrefix","invalidKeys","k","logError","n","_allConfigs_key","_allConfigs_key1","computeExtensionConfigs","configs","extension","computeExtensionConfig","slotModuleName","extensionModuleName","_slotModuleConfig_extensionSlots_slotName_configure","extensionName","_extensionId_split","extensionConfigSchema","nameOfSchemaSource","providedConfigs","slotModuleConfig","configOverride","combinedConfig","extensionsConfigStore","setupConfigSubscriptions","validateConfigSchema","enhancedSchema","registerModuleWithConfigSystem","registerModuleLoad","registerTranslationNamespace","namespace","translationOverridesSchema","defineExtensionConfigSchema","provide","sourceName","update","lodashOmit","store","getTranslationOverrides","promises","_state_config_Translationoverrides","processConfig","providedConfig","keyPathContext","updateMessage","thisKeyPath","schemaPart","elements","hasObjectSchema","_$validator","valueType","acc","validateBranchStructure","checkType","validateFreeformObjectStructure","freeformObjectSchema","validateArrayStructure","arraySchema","_arraySchema__elements","i","i1","runValidators","_type","returnValue","validatorResult","structuredClone","configPart","configWithDefaults","conf","objectKey","selectedConfigPart","elementsSchema","displayedValidationMessages","Set","clearConfigErrors","resetConfigSystem","o","badKeys","inRange","min","max","isUrlWithTemplateParameters","allowedTemplateParameters","allowedParams","rx","match","isUrl","oneOf","allowedValues","contextStore","createStore","registerGlobalStore","nothing","registerContext","initialValue","unregisterContext","getContext","updateContext","subscribeToContext","callback","previous","snapshot","current"],"mappings":"2bACaA,EAAgC,0BAChCC,EAAe,CACxB,oBAAqB,CACjB,QAAS,CACL,MAAOC,EAAAA,EAAAA,CAAAA,OAAY,CACnB,SAAU,GACV,aAAc,mEAClB,EACA,IAAK,CACD,MAAOA,EAAAA,EAAAA,CAAAA,MAAW,CAClB,SAAUF,EACV,YAAa,CACTG,EAAAA,EAAAA,CAAAA,KAAgB,CACnB,CACD,aAAc,4IAClB,EACA,OAAQ,CACJ,MAAOD,EAAAA,EAAAA,CAAAA,KAAU,CACjB,SAAU,CACN,IACH,CACD,UAAW,CACP,MAAOA,EAAAA,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AAU,OAAVA,EAAiB,KAAOC,OAAO,MAAM,CAACA,OAAO,MAAM,CAAC,CAAC,EAAGD,GACnE,C"}
|
|
1
|
+
{"version":3,"file":"1278.js","sources":["webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/config-schema.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/openmrs-fetch.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/current-user.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/environment.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/openmrs-backend-dependencies.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-api/dist/setup.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/types.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/validator.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/type-validators.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/module-config/state.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/module-config/module-config.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-config/dist/validators/validators.js","webpack://@kenyaemr/esm-express-workflow-app/../../node_modules/@openmrs/esm-context/dist/context.js"],"names":["defaultRedirectAuthFailureUrl","configSchema","Type","validators","_define_property","obj","key","value","Object","restBaseUrl","fhirBaseUrl","sessionEndpoint","makeUrl","path","window","openmrsFetch","fetchInit","Error","_type_of","url","isPlainObject","JSON","urlUrl","URL","requestStacktrace","r","response","_ref","redirectAuthFailure","followRedirects","location","location1","getConfig","shouldRedirect","navigate","responseText","err","clearHistory","Promise","responseBody","OpenmrsFetchError","openmrsObservableFetch","abortController","AbortController","Observable","observer","hasResponse","sessionStore","createGlobalStore","lastFetchTimeMillis","getCurrentUser","opts","Date","refetchCurrentUser","subscriber","handler","state","_state_session","getSessionStore","setUserLanguage","data","_data_locale","_data_user_userProperties","locale","isValidLocale","undefined","Intl","e","document","username","password","headers","handleSessionResponse","clearCurrentUser","userHasAccess","requiredPrivilege","user","userHasPrivilege","isUndefined","p","Array","rp","console","role","getLoggedInUser","unsubscribe","res","getSessionLocation","rej","sub","session","setSessionLocation","locationUuid","setUserProperties","userUuid","userProperties","result","resolve","reject","nextState","reportError","isDevEnabled","localStorage","backendDependencies","setupApiModule","defineConfigSchema","validator","validationFunction","message","isArray","val","isBoolean","isNumber","isString","isObject","isUuid","configInternalStore","temporaryConfigStore","getTemporaryConfig","configExtensionStore","getConfigStore","moduleName","getGlobalStore","getExtensionSlotsConfigStore","getExtensionSlotConfig","slotName","getExtensionSlotConfigFromStore","slotConfig","getExtensionsConfigStore","getExtensionConfig","extensionId","extensionConfigStore","selector","configStore","_configStore_configs_slotName","getInitialState","getState","_selector","setState","partial","replace","newState","subscribe","listener","prevState","oldState","shallowEqual","destroy","getExtensionConfigFromStore","_state_configs_slotName","extensionConfig","getExtensionConfigFromExtensionSlotStore","_state_configure","implementerToolsConfigStore","mergeDeepReplace","left","right","mergeWith","_objValue","srcValue","configSubscriptions","recomputeAllConfigs","tempConfigState","allConfigs","slotConfigPerModule","newSlotStoreEntries","slotStore","configState","extensionState","computeModuleConfig","tempState","_iteratorError","moduleStore","config","getConfigForModule","schema","inputConfig","mergeConfigsFor","getProvidedConfigs","validateStructure","setDefaults","runAllValidatorsInConfigTree","config1","getConfigForModuleImplicitSchema","implicitConfigSchema","getImplementerToolsConfig","getSchemaWithValuesAndSources","isOrdinaryObject","cloneDeep","configsAndSources","c","source","mergeConfigs","createValuesAndSourcesTree","isEqual","validateAllExtensionSlotConfigs","configBySlotName","_iteratorError1","validateExtensionSlotConfig","keyPath","errorPrefix","invalidKeys","k","logError","n","_allConfigs_key","_allConfigs_key1","computeExtensionConfigs","configs","extension","computeExtensionConfig","slotModuleName","extensionModuleName","_slotModuleConfig_extensionSlots_slotName_configure","extensionName","_extensionId_split","extensionConfigSchema","nameOfSchemaSource","providedConfigs","slotModuleConfig","configOverride","combinedConfig","extensionsConfigStore","setupConfigSubscriptions","validateConfigSchema","enhancedSchema","registerModuleWithConfigSystem","registerModuleLoad","registerTranslationNamespace","namespace","translationOverridesSchema","defineExtensionConfigSchema","provide","sourceName","update","lodashOmit","store","getTranslationOverrides","promises","_state_config_Translationoverrides","processConfig","providedConfig","keyPathContext","updateMessage","thisKeyPath","schemaPart","elements","hasObjectSchema","_$validator","valueType","acc","validateBranchStructure","checkType","validateFreeformObjectStructure","freeformObjectSchema","validateArrayStructure","arraySchema","_arraySchema__elements","i","i1","runValidators","_type","returnValue","validatorResult","structuredClone","configPart","configWithDefaults","conf","objectKey","selectedConfigPart","elementsSchema","displayedValidationMessages","Set","clearConfigErrors","resetConfigSystem","o","badKeys","inRange","min","max","isUrlWithTemplateParameters","allowedTemplateParameters","allowedParams","rx","match","isUrl","oneOf","allowedValues","contextStore","createStore","registerGlobalStore","nothing","registerContext","initialValue","unregisterContext","getContext","updateContext","subscribeToContext","callback","previous","snapshot","current"],"mappings":"2bACaA,EAAgC,0BAChCC,EAAe,CACxB,oBAAqB,CACjB,QAAS,CACL,MAAOC,EAAAA,EAAAA,CAAAA,OAAY,CACnB,SAAU,GACV,aAAc,mEAClB,EACA,IAAK,CACD,MAAOA,EAAAA,EAAAA,CAAAA,MAAW,CAClB,SAAUF,EACV,YAAa,CACTG,EAAAA,EAAAA,CAAAA,KAAgB,CACnB,CACD,aAAc,4IAClB,EACA,OAAQ,CACJ,MAAOD,EAAAA,EAAAA,CAAAA,KAAU,CACjB,SAAU,CACN,IACH,CACD,UAAW,CACP,MAAOA,EAAAA,EAAAA,CAAAA,MAAW,CAClB,YAAa,CACTC,EAAAA,EAAAA,CAAAA,OAAkB,CAAC,IAAK,KAC3B,AACL,EACA,aAAc,yDAClB,EACA,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_esm_express_workflow_app;(()=>{"use strict";var __webpack_modules_
|
|
|
3
3
|
${n.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e),this.remoteEntryExports}async get(e,t,r,n){let i,{loadFactory:a=!0}=r||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];r.length||r.push("default"),r.forEach(e=>{t[e]||(t[e]={})});let i=t[r[0]],a=[],s={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?r:this.remoteInfo.shareScope||"default"};Object.defineProperty(s,"shareScopeMap",{value:t,enumerable:!1});let u=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:i,remoteEntryInitOptions:s,initScope:a,remoteInfo:this.remoteInfo,origin:this.host});void 0===c?.init&&l(o.getShortErrorMsg(o.RUNTIME_002,o.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(u.shareScope,u.initScope,u.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...u,id:e,remoteSnapshot:n,remoteEntryExports:c})}this.lib=c,this.inited=!0,(i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:t,moduleInfo:this.remoteInfo}))||(i=await c.get(t)),s(i,`${f(this.remoteInfo)} remote don't export ${t}.`);let u=S(this.remoteInfo.name,t),h=this.wraperFactory(i,u);return a?await h():h}wraperFactory(e,t){function r(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()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}}class tu{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(...n){return t.remove(r),e.apply(null,n)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(r=>{t=r(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}}class tf extends tu{emit(...e){let t,r=Array.from(this.listeners);if(r.length>0){let n=0,o=t=>!1!==t&&(n<r.length?Promise.resolve(r[n++].apply(null,e)).then(o):t);t=o()}return Promise.resolve(t)}}function th(e,t){if(!d(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}class tp extends tu{constructor(e){super(),this.onerror=l,this.type=e}emit(e){for(let t of(d(e)||l(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(th(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){c(e),this.onerror(e)}return e}}class tm extends tu{constructor(e){super(),this.onerror=l,this.type=e}emit(e){d(e)||l(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(c(t),this.onerror(t),e),o=i=>{if(th(e,i)){if(e=i,r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(e){return n(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}}class td{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){s(y(e),"Plugin configuration is invalid.");let r=e.name;s(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){s(e,"A name is required.");let t=this.registerPlugins[e];s(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}}function tg(e,t){let r=b(t);r.url||l(`The attribute remoteEntry of ${e.name} must not be undefined.`);let o=n.getResourceUrl(t,r.url);n.isBrowserEnv()||o.startsWith("http")||(o=`https:${o}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=o,e.version=t.version,e.buildVersion=t.buildVersion}function ty(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:n,origin:o,remoteInfo:i,id:a}=e;if(!h(t)||!p(t)){let{remoteSnapshot:s,globalSnapshot:l}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:a});tg(i,s);let c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[n],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:c,remoteInfo:i,remote:t,remoteSnapshot:s,globalSnapshot:l});return u&&ts(i,o,u,!1),{...e,remoteSnapshot:s}}return e}}}function t_(e){let 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 tE(e,t,r,o,i={},a){let{value:s}=P(e,f(t)),l=a||s;if(l&&!n.isManifestProvider(l)&&(r(l,t,o),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let n=t_(t),o=l.remotesInfo[t];tE(e,{name:n.name,version:o.matchedVersion},r,!1,i,void 0)}}let tb=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tS(e,t,r,o,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:f}=e,{preloadConfig:h}=t,{depsRemote:p}=h;if(tE(o,r,(t,r,o)=>{let i;if(o)i=h;else if(Array.isArray(p)){let e=p.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;i=to(e)}else{if(!0!==p)return;i=h}let c=n.getResourceUrl(t,b(t).url);c&&l.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],f=ta(i.exposes);function m(e){let r=e.map(e=>n.getResourceUrl(t,e));return i.filter?r.filter(i.filter):r}if(f.length&&"modules"in t&&(u=t?.modules?.reduce((e,t)=>(f?.indexOf(t.moduleName)!==-1&&e.push(t),e),[])),u){let n=u.length;for(let o=0;o<n;o++){let n=u[o],l=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:l,name:r.name,remoteSnapshot:t,preloadConfig:i,remote:r,origin:e}),V(l)||("all"===i.resourceCategory?(a.push(...m(n.assets.css.async)),a.push(...m(n.assets.css.sync)),s.push(...m(n.assets.js.async))):(i.resourceCategory="sync",a.push(...m(n.assets.css.sync))),s.push(...m(n.assets.js.sync)),G(l))}}},!0,{},i),i.shared&&i.shared.length>0){let t=(t,r)=>{let n=eJ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{let r=f.shared?.[e.sharedName];if(!r)return;let n=e.version?r.find(t=>t.version===e.version):r;n&&E(n).forEach(r=>{t(r,e)})})}let m=s.filter(e=>!c.has(e)&&!tb("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tb("link",e)),jsAssetsWithoutEntry:m,entryAssets:l.filter(e=>!tb("script",e.url))}}let tI=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:o,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return n.isBrowserEnv()?h(i)&&p(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:o.name,entry:i.entry,type:o.type||"global",entryGlobalName:"",shareScope:""}}]}:(tg(o,s),tS(t,r,o,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tv(e,t){let r=L({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&P(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:D(),remoteSnapshot:L({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:D(),remoteSnapshot:L({name:e.name,version:"version"in e?e.version:void 0})}}class tR{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new td({beforeLoadRemoteSnapshot:new tf("beforeLoadRemoteSnapshot"),loadSnapshot:new tm("loadGlobalSnapshot"),loadRemoteSnapshot:new tm("loadRemoteSnapshot"),afterLoadSnapshot:new tm("afterLoadSnapshot")}),this.manifestLoading=R.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:r}){let i,a,{options:s}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:s,moduleInfo:e});let c=L({name:this.HostInstance.options.name,version:this.HostInstance.options.version});c||(c={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},j({[this.HostInstance.options.name]:c})),c&&"remotesInfo"in c&&!P(c.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(c.remotesInfo={...c?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});let{hostGlobalSnapshot:u,remoteSnapshot:f,globalSnapshot:p}=this.getGlobalRemoteInfo(e),{remoteSnapshot:m,globalSnapshot:d}=await this.hooks.lifecycle.loadSnapshot.emit({options:s,moduleInfo:e,hostGlobalSnapshot:u,remoteSnapshot:f,globalSnapshot:p});if(m)if(n.isManifestProvider(m)){let t=n.isBrowserEnv()?m.remoteEntry:m.ssrRemoteEntry||m.remoteEntry||"",r=await this.getManifestJson(t,e,{}),o=F({...e,entry:t},r);i=r,a=o}else{let{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:m,from:"global"});i=t,a=d}else if(h(e)){let t=await this.getManifestJson(e.entry,e,{}),r=F(e,t),{remoteSnapshot:n}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});i=n,a=r}else l(o.getShortErrorMsg(o.RUNTIME_007,o.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(d)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:s,moduleInfo:e,remoteSnapshot:i}),{remoteSnapshot:i,globalSnapshot:a}}getGlobalRemoteInfo(e){return tv(e,this.HostInstance)}async getManifestJson(e,t,r){let i=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],l(o.getShortErrorMsg(o.RUNTIME_003,o.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`)))}return s(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},a=async()=>{let r=await i(),o=n.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}}class tN{constructor(e){this.hooks=new td({afterResolve:new tm("afterResolve"),beforeLoadShare:new tm("beforeLoadShare"),loadShare:new tf,resolveShare:new tp("resolveShare"),initContainerShareScopeMap:new tp("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){let{shareInfos:r,shared:n}=eG(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{r.scope.forEach(n=>{this.shareScopeMap[n]?.[e]||this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:r.loaded||!!r.lib,shared:r,from:t.name})})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=eQ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});s(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eJ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),u(e.useIn,r.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let e=await i.get();return a(i),i.loaded=!0,i.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:r.options.name,lib:null,loading:t}),t}{if(t?.customShareInfo)return!1;let n=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let r=eJ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0,r.from=o.from),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(e=q,t){let{host:r}=this,n=t?.from,o=t?.strategy,i=t?.initScope,a=[];if("build"!==n){let{initTokens:t}=this;i||(i=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),i.indexOf(r)>=0)return a;i.push(r)}let s=this.shareScopeMap,l=r.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{let{version:r,eager:n}=t;c[e]=c[e]||{};let o=c[e],i=o[r],a=!!(i&&(i.eager||i.shareConfig?.eager));(!i||"loaded-first"!==i.strategy&&!i.loaded&&(!n!=!a?n:l>i.from))&&(o[r]=t)},f=t=>t&&t.init&&t.init(s[e],i),h=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await f(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&u(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===o)&&r.options.remotes.forEach(t=>{t.shareScope===e&&a.push(h(t.name))}),a}loadShareSync(e,t){let{host:r}=this,n=eQ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let i=eJ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),u(e.useIn,r.options.name)};if(i){if("function"==typeof i.lib)return a(i),i.loaded||(i.loaded=!0,i.from===r.options.name&&(n.loaded=!0)),i.lib;if("function"==typeof i.get){let t=i.get();if(!(t instanceof Promise))return a(i),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:i}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let i=n.get();if(i instanceof Promise){let n=t?.from==="build"?o.RUNTIME_005:o.RUNTIME_006;throw Error(o.getShortErrorMsg(n,o.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=i,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(o.getShortErrorMsg(o.RUNTIME_006,o.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,r={}){let{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:r,lib:n,loading:o,loaded:i,get:a}){let{version:s,scope:l="default",...c}=t;(Array.isArray(l)?l:[l]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][s]){this.shareScopeMap[t][e][s]={version:s,scope:[t],...c,lib:n,loaded:i,loading:o},a&&(this.shareScopeMap[t][e][s].get=a);return}let l=this.shareScopeMap[t][e][s];o&&!l.loading&&(l.loading=o),i&&!l.loaded&&(l.loaded=i),r&&l.from!==r&&(l.from=r)})}_setGlobalShareScopeMap(e){let t=eZ(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}}class tw{constructor(e){this.hooks=new td({beforeRegisterRemote:new tp("beforeRegisterRemote"),registerRemote:new tp("registerRemote"),beforeRequest:new tm("beforeRequest"),onLoad:new tf("onLoad"),handlePreloadModule:new tu("handlePreloadModule"),errorLoadRemote:new tf("errorLoadRemote"),beforePreloadRemote:new tf("beforePreloadRemote"),generatePreloadAssets:new tf("generatePreloadAssets"),afterPreloadRemote:new tf,loadEntry:new tf}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:f}=a,h=await o.get(u,c,t,f),p=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:n?h:void 0,exposeModuleFactory:n?void 0:h,remote:l,options:i,moduleInstance:o,origin:r});if(this.setIdToRemoteMap(e,a),"function"==typeof p)return p;return h}catch(i){let{from:n="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:n,lifecycle:"onLoad",origin:r});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=ti(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=tn(r),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:r}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:o,remoteSnapshot:i});a&&ts(n,t,a)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:n}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:i}=t,a=e1(r.options.remotes,i);s(a,o.getShortErrorMsg(o.RUNTIME_004,o.runtimeDescMap,{hostName:r.options.name,requestId:i}));let{remote:l}=a,c=tn(l),u=await r.sharedHandler.hooks.lifecycle.afterResolve.emit({id:i,...a,options:r.options,origin:r,remoteInfo:c}),{remote:f,expose:h}=u;s(f&&h,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${i}.`);let p=r.moduleCache.get(f.name),m={host:r,remoteInfo:c};return p||(p=new tc(m),r.moduleCache.set(f.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:u}}registerRemote(e,t,r){let{host:o}=this,i=()=>{if(e.alias){let r=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));s(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&n.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=q),e.type||(e.type=B)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:o});let a=t.find(t=>t.name===e.name);if(a){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];r?.force&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o}),n.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o})}removeRemote(e){try{let{host:t}=this,{name:r}=e,o=t.options.remotes.findIndex(e=>e.name===r);-1!==o&&t.options.remotes.splice(o,1);let i=t.moduleCache.get(e.name);if(i){let r=i.remoteInfo,o=r.entryGlobalName;I[o]&&(Object.getOwnPropertyDescriptor(I,o)?.configurable?delete I[o]:I[o]=void 0);let a=tt(i.remoteInfo);$[a]&&delete $[a],t.snapshotHandler.manifestCache.delete(r.entry);let s=r.buildVersion?n.composeKeyWithSeparator(r.name,r.buildVersion):r.name,l=I.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===s:e.name===s);if(-1!==l){let e=I.__FEDERATION__.__INSTANCES__[l];s=e.options.id||s;let t=eZ(),n=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[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?n=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),n&&(e.shareScopeMap={},delete t[s]),o.forEach(([e,r,n,o])=>{delete t[e]?.[r]?.[n]?.[o]}),I.__FEDERATION__.__INSTANCES__.splice(l,1)}let{hostGlobalSnapshot:c}=tv(e,t);if(c){let t=c&&"remotesInfo"in c&&c.remotesInfo&&P(c.remotesInfo,e.name).key;t&&(delete c.remotesInfo[t],R.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete R.__FEDERATION__.__MANIFEST_LOADING__[t])}t.moduleCache.delete(e.name)}}catch(e){a.log("removeRemote fail: ",e)}}}let t$="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;class tM{constructor(e){this.hooks=new td({beforeInit:new tp("beforeInit"),init:new tu,beforeInitContainer:new tm("beforeInitContainer"),initContainer:new tm("initContainer")}),this.version="0.22.0",this.moduleCache=new Map,this.loaderHook=new td({getModuleInfo:new tu,createScript:new tu,createLink:new tu,fetch:new tf,loadEntryError:new tf,getModuleFactory:new tf}),this.bridgeHook=new td({beforeBridgeRender:new tu,afterBridgeRender:new tu,beforeBridgeDestroy:new tu,afterBridgeDestroy:new tu});const t=t$?[ty(),tI()]:[],r={id:e0(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:n.isBrowserEnv()};this.name=e.name,this.options=r,this.snapshotHandler=new tR(this),this.sharedHandler=new tN(this),this.remoteHandler=new tw(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}initOptions(e){this.registerPlugins(e.plugins);let 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=q,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new tc({host:this,remoteInfo:tn({name:e,entry:t})});return n.remoteEntryExports=r,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,r={}){this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eG(e,t),{userOptions:n,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),i=this.remoteHandler.formatAndRegisterRemote(o,n),{shared:a}=this.sharedHandler.registerShared(o,n),s=[...o.plugins];n.plugins&&n.plugins.forEach(e=>{s.includes(e)||s.push(e)});let l={...e,...t,plugins:s,remotes:i,shared:a};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){let t=e8(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}}var tT=Object.freeze({__proto__:null});t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.CurrentGlobal=I,t.Global=R,t.Module=tc,t.ModuleFederation=tM,t.addGlobalSnapshot=j,t.assert=s,t.getGlobalFederationConstructor=A,t.getGlobalSnapshot=D,t.getInfoWithoutType=P,t.getRegisteredShare=eJ,t.getRemoteEntry=tr,t.getRemoteInfo=tn,t.helpers=tl,t.isStaticResourcesEqual=_,t.matchRemoteWithNameAndExpose=e1,t.registerGlobalPlugins=H,t.resetFederationGlobalInfo=T,t.safeWrapper=m,t.satisfy=eU,t.setGlobalFederationConstructor=k,t.setGlobalFederationInstance=O,t.types=tT},86490(e,t,r){var n=r(35822),o=r(63767),i=r(6197);function a(e){let t=new(n.getGlobalFederationConstructor()||n.ModuleFederation)(e);return n.setGlobalFederationInstance(t),t}let s=null;function l(e){let t=i.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),s||(s=t),t):s=a(e)}function c(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadRemote.apply(s,e)}function u(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShare.apply(s,e)}function f(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShareSync.apply(s,e)}function h(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.preloadRemote.apply(s,e)}function p(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerRemotes.apply(s,e)}function m(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerPlugins.apply(s,e)}function d(){return s}function g(...e){return n.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerShared.apply(s,e)}n.setGlobalFederationConstructor(n.ModuleFederation),t.Module=n.Module,t.ModuleFederation=n.ModuleFederation,t.getRemoteEntry=n.getRemoteEntry,t.getRemoteInfo=n.getRemoteInfo,t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.registerGlobalPlugins=n.registerGlobalPlugins,t.createInstance=a,t.getInstance=d,t.init=l,t.loadRemote=c,t.loadShare=u,t.loadShareSync=f,t.preloadRemote=h,t.registerPlugins=m,t.registerRemotes=p,t.registerShared=g},6197(e,t,r){var n=r(35822);function o(){return"u">typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}t.getGlobalFederationInstance=function(e,t){let r=o();return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},45882(__unused_rspack_module,exports){let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",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"u">typeof window&&void 0!==window.document}function isReactNativeEnv(){return"u">typeof navigator&&navigator?.product==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return!!localStorage.getItem(BROWSER_LOG_KEY)}catch(e){}return!1}function isDebugMode(){return"u">typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("u">typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"u">typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,r=SEPARATOR)=>{let n=e.split(r),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...s]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),s=[o||n.slice(2).join(r)]);let l=o||s.join(r);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===n.length){let[e]=n;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}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="",r=!1){try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){let r,{remotes:n={},overrides:o={},version:i}=t,a=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&i?inferAutoPublicPath(i):e.metaData.publicPath:e.metaData.getPublicPath,s=Object.keys(o),l={};Object.keys(n).length||(l=e.remotes?.reduce((e,t)=>{let r,n=t.federationContainerName;return r=s.includes(n)?o[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{})||{}),Object.keys(n).forEach(e=>l[e]={matchedVersion:s.includes(e)?o[e]:n[e]});let{remoteEntry:{path:c,name:u,type:f},types:h={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:p},globalName:m,ssrRemoteEntry:d}=e.metaData,{exposes:g}=e,y={version:i||"",buildVersion:p,globalName:m,remoteEntry:simpleJoinRemoteEntry(c,u),remoteEntryType:f,remoteTypes:simpleJoinRemoteEntry(h.path,h.name),remoteTypesZip:h.zip||"",remoteTypesAPI:h.api||"",remotesInfo:l,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:g?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(e.metaData?.prefetchInterface){let t=e.metaData.prefetchInterface;y={...y,prefetchInterface:t}}if(e.metaData?.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;y={...y,prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n}}return r="publicPath"in e.metaData?{...y,publicPath:a(),ssrPublicPath:e.metaData.ssrPublicPath}:{...y,getPublicPath:a()},d&&(r.ssrRemoteEntry=simpleJoinRemoteEntry(d.path,d.name),r.ssrRemoteEntryType=d.type||"commonjs-module"),r}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}function getManifestFileName(e){if(!e)return{statsFileName:StatsFileName,manifestFileName:ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",r="boolean"==typeof e?"":e.fileName||"",n=".json",o=e=>e.endsWith(n)?e:`${e}${n}`,i=(e,t)=>e.replace(n,`${t}${n}`),a=r?o(r):ManifestFileName;return{statsFileName:simpleJoinRemoteEntry(t,r?i(a,"-stats"):StatsFileName),manifestFileName:simpleJoinRemoteEntry(t,a)}}let PREFIX="[ Module Federation ]",DEFAULT_DELEGATE=console,LOGGER_STACK_SKIP_TOKENS=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];function captureStackTrace(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split("\n"),r=t.filter(e=>!LOGGER_STACK_SKIP_TOKENS.some(t=>e.includes(t)));if(!r.length)return;let n=r.slice(0,5).join("\n");return`Stack trace:
|
|
4
4
|
${n}`}catch{return}}class Logger{constructor(e,t=DEFAULT_DELEGATE){this.prefix=e,this.delegate=t??DEFAULT_DELEGATE}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??DEFAULT_DELEGATE}emit(e,t){let r=this.delegate,n=isDebugMode()?captureStackTrace():void 0,o=n?[...t,n]:t,i=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of i){let t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...o)}for(let e of i){let t=DEFAULT_DELEGATE[e];if("function"==typeof t)return void t.call(DEFAULT_DELEGATE,this.prefix,...o)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){isDebugMode()&&this.emit("debug",e)}}function createLogger(e){return new Logger(e)}function createInfrastructureLogger(e){let t=new Logger(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}function bindLoggerToCompiler(e,t,r){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{let n=t.getInfrastructureLogger(r);n&&"object"==typeof n&&("function"==typeof n.log||"function"==typeof n.info||"function"==typeof n.warn||"function"==typeof n.error)&&e.setDelegate(n)}catch{e.setDelegate(void 0)}}let logger=createLogger(PREFIX),infrastructureLogger=createInfrastructureLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function createScript(e){let t,r=null,n=!0,o=2e4,i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){let o=i[t],a=o.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){r=o,n=!1;break}}if(!r){let t,n=e.attrs;(r=document.createElement("script")).type=n?.type==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(o=t.timeout))),r.src||(r.src=e.url),n&&!t&&Object.keys(n).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let a=async(n,o)=>{clearTimeout(t);let i=()=>{o?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(o):e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let o=0;o<n.length;o++){let i=n[o],a=i.getAttribute("href"),s=i.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&s===e.attrs.rel){t=i,r=!1;break}}if(!t){let r;(t=document.createElement("link")).setAttribute("href",e.url);let n=e.attrs;e.createLinkHook&&(r=e.createLinkHook(e.url,n))instanceof HTMLLinkElement&&(t=r),n&&!r&&Object.keys(n).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let o=(r,n)=>{let o=()=>{n?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(n):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&t?.parentNode&&t.parentNode.removeChild(t)}),r)){let e=r(n);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:{fetchpriority:"high",...r},createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}let sdkImportCache=new Map;function importNodeModule(e){if(!e)throw Error("import specifier is required");if(sdkImportCache.has(e))return sdkImportCache.get(e);let t=Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),sdkImportCache.delete(e),t});return sdkImportCache.set(e,t),t}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),o=await n(e,t||{});return o&&o instanceof Response?o:("u"<typeof fetch?await loadNodeFetch():fetch)(e,t||{})},createScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{let urlObj;if(loaderHook?.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>loaderHook?.fetch?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"u"<typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{let 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),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
|
|
5
5
|
})`,{filename,importModuleDynamically:vm.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER??importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if(attrs?.type==="esm"||attrs?.type==="module")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:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}:(e,t,r,n)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((r,n)=>{createScriptNode(e,(e,o)=>{if(e)n(e);else{let e=t?.attrs?.globalName||`__FEDERATION_${t?.attrs?.name}:custom__`;r(globalThis[e]=o)}},t.attrs,t.loaderHook)}):(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")},esmModuleCache=new Map;async function loadModule(e,t){if(esmModuleCache.has(e))return esmModuleCache.get(e);let{fetch:r,vm:n}=t,o=await r(e),i=await o.text(),a=new n.SourceTextModule(i,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return esmModuleCache.set(e,a),await a.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),a}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)if(e)return t;else return!1;if(!0===n)return t;if(n&&"object"==typeof n)return{...t,...n};throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.bindLoggerToCompiler=bindLoggerToCompiler,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createInfrastructureLogger=createInfrastructureLogger,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getManifestFileName=getManifestFileName,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.infrastructureLogger=infrastructureLogger,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},31629(e,t){t.FEDERATION_SUPPORTED_TYPES=["script"]},82707(e,t,r){var n=r(86490),o=r(31629),i=r(45882);function a(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function s(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:t={},initialConsumes:o=[],chunkMapping:i={}}=n;if(Object.entries(t).forEach(([e,t])=>{r[e]||(r[e]={getter:t.fallback,shareInfo:{shareConfig:{requiredVersion:t.requiredVersion,strictVersion:t.strictVersion,singleton:t.singleton,eager:t.eager,layer:t.layer},scope:Array.isArray(t.shareScope)?t.shareScope:[t.shareScope||"default"]},shareKey:t.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;o.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(i).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={requiredVersion:`^${o}`},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(l)&&(u.requiredVersion=l),f(a)&&(u.eager=a),f(c)&&(u.strictVersion=c);let h={version:o,scope:[e],shareConfig:u,get:i};r[t]?r[t].push(h):r[t]=[h]}e.instance.registerShared(r),o._updated=1}}function l(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){let r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}function c(e){l(e);let{chunkId:t,promises:r,webpackRequire:n,chunkMapping:s,idToExternalAndNameMapping:c,idToRemoteMap:u}=e;a(n),n.o(s,t)&&s[t].forEach(e=>{let t=n.R;t||(t=[]);let a=c[e],s=u[e]||[];if(t.indexOf(a)>=0)return;if(t.push(a),a.p)return r.push(a.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
6
|
-
while loading "${a[1]}" from ${a[2]}`),n.m[e]=()=>{throw t},a.p=0},f=(e,t,n,o,i,s)=>{try{let c=e(t,n);if(!c||!c.then)return i(c,o,s);{let e=c.then(e=>i(e,o),l);if(!s)return e;r.push(a.p=e)}}catch(e){l(e)}},h=(e,t,r)=>e?f(n.I,a[0],0,e,p,r):l();var p=(e,r,n)=>f(r.get,a[1],t,0,m,n),m=t=>{a.p=1,n.m[e]=e=>{e.exports=t()}};let d=()=>{try{let e=i.decodeName(s[0].name,i.ENCODE_NAME_PREFIX)+a[1].slice(1),t=n.federation.instance,r=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(a[0])).then(()=>r());return r()}catch(e){l(e)}};1===s.length&&o.FEDERATION_SUPPORTED_TYPES.includes(s[0].externalType)&&s[0].name?f(d,a[2],0,0,m,1):f(n,a[2],0,0,h,1)})}function u(e){s(e);let{chunkId:t,promises:r,installedModules:n,webpackRequire:o,chunkMapping:i,moduleToHandlerMapping:l}=e;a(o),o.o(i,t)&&i[t].forEach(e=>{if(o.o(n,e))return r.push(n[e]);let t=t=>{n[e]=0,o.m[e]=r=>{delete o.c[e];let n=t(),{shareInfo:i}=l[e];if(i?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=i.shareConfig.layer)}catch(e){}r.exports=n}},i=t=>{delete n[e],o.m[e]=r=>{throw delete o.c[e],t}};try{let a=o.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:u}=l[e],f=a.loadShare(s,{customShareInfo:u}).then(e=>!1===e?c():e);f.then?r.push(n[e]=f.then(t).catch(i)):t(f)}catch(e){i(e)}})}function f({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:n,initScope:i}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){i||(i=[]);let l=t.federation.instance;var c=n[s];if(c||(c=n[s]={from:l.name}),i.indexOf(c)>=0)return;i.push(c);let u=r[s];if(u)return u;var f=e=>"u">typeof console&&console.warn&&console.warn(e),h=r=>{var n=e=>f("Initialization of sharing external failed: "+e);try{var o=t(r);if(!o)return;var a=r=>r&&r.init&&r.init(t.S[s],i,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return p.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return p.push(l.catch(n))}catch(e){n(e)}};let p=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});a(t);let m=t.federation.bundlerRuntimeOptions.remotes;return(m&&Object.keys(m.idToRemoteMap).forEach(e=>{let t=m.idToRemoteMap[e],r=m.idToExternalAndNameMapping[e][2];if(t.length>1)h(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||h(r)}}),p.length)?r[s]=Promise.all(p).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}function h(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{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}}function p(e){let{webpackRequire:t}=e;s(e);let{initialConsumes:r,moduleToHandlerMapping:n,installedModules:o}=e;r.forEach(e=>{t.m[e]=r=>{o[e]=0,delete t.c[e];let i=h({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);let a=i(),{shareInfo:s}=n[e];if(s?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=s.shareConfig.layer)}catch(e){}r.exports=a}})}function m(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:u,I:f,S:{},installInitialConsumes:p,initContainerEntry:m},attachShareScopeMap:a,bundlerRuntimeOptions:{}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(14363),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var o=Object.create(null);__webpack_require__.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{i[e]=()=>r[e]});return i.default=()=>r,__webpack_require__.d(o,i),o}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="@kenyaemr/esm-express-workflow-app:";__webpack_require__.l=function(r,n,o,i){if(e[r])return void e[r].push(n);if(void 0!==o)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-rspack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-rspack",t+o),a.src=r),e[r]=[n];var f=function(t,n){a.onerror=a.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5047",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865"),__webpack_require__.e("1558"),__webpack_require__.e("2635")]).then(()=>()=>__webpack_require__(18170)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("1789"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("2842"),__webpack_require__.e("5086"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("1442")]).then(()=>()=>__webpack_require__(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("9771")]).then(()=>()=>__webpack_require__(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{2635:["80976","36142","58088"],6259:["36510"],934:["3813"],1865:["97744"],1558:["43925"],5762:["75721"],9368:["1487"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("2842"),__webpack_require__.e("5086")]).then(()=>()=>__webpack_require__(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1789").then(()=>()=>__webpack_require__(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("2152").then(()=>()=>__webpack_require__(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("9061")]).then(()=>()=>__webpack_require__(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))}},initialConsumes:[]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{__webpack_require__.initializeExposesData={moduleMap:{"./start":()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("8888"),__webpack_require__.e("1974"),__webpack_require__.e("6738"),__webpack_require__.e("1821"),__webpack_require__.e("3012"),__webpack_require__.e("1402"),__webpack_require__.e("8224"),__webpack_require__.e("5869"),__webpack_require__.e("5093"),__webpack_require__.e("5568"),__webpack_require__.e("1558"),__webpack_require__.e("2635"),__webpack_require__.e("9368")]).then(()=>()=>__webpack_require__(89867))},shareScope:"default"},__webpack_require__.getContainer=__webpack_require__.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},__webpack_require__.initContainer=__webpack_require__.initContainer||function(){throw Error("should have __webpack_require__.initContainer")}})(),(()=>{var e={8323:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,s]=r,l=0;if(i.some(t=>0!==e[t])){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);s&&s(__webpack_require__)}for(t&&t(r);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(64286)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x();_kenyaemr_esm_express_workflow_app=__webpack_exports__})();
|
|
6
|
+
while loading "${a[1]}" from ${a[2]}`),n.m[e]=()=>{throw t},a.p=0},f=(e,t,n,o,i,s)=>{try{let c=e(t,n);if(!c||!c.then)return i(c,o,s);{let e=c.then(e=>i(e,o),l);if(!s)return e;r.push(a.p=e)}}catch(e){l(e)}},h=(e,t,r)=>e?f(n.I,a[0],0,e,p,r):l();var p=(e,r,n)=>f(r.get,a[1],t,0,m,n),m=t=>{a.p=1,n.m[e]=e=>{e.exports=t()}};let d=()=>{try{let e=i.decodeName(s[0].name,i.ENCODE_NAME_PREFIX)+a[1].slice(1),t=n.federation.instance,r=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(a[0])).then(()=>r());return r()}catch(e){l(e)}};1===s.length&&o.FEDERATION_SUPPORTED_TYPES.includes(s[0].externalType)&&s[0].name?f(d,a[2],0,0,m,1):f(n,a[2],0,0,h,1)})}function u(e){s(e);let{chunkId:t,promises:r,installedModules:n,webpackRequire:o,chunkMapping:i,moduleToHandlerMapping:l}=e;a(o),o.o(i,t)&&i[t].forEach(e=>{if(o.o(n,e))return r.push(n[e]);let t=t=>{n[e]=0,o.m[e]=r=>{delete o.c[e];let n=t(),{shareInfo:i}=l[e];if(i?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=i.shareConfig.layer)}catch(e){}r.exports=n}},i=t=>{delete n[e],o.m[e]=r=>{throw delete o.c[e],t}};try{let a=o.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,getter:c,shareInfo:u}=l[e],f=a.loadShare(s,{customShareInfo:u}).then(e=>!1===e?c():e);f.then?r.push(n[e]=f.then(t).catch(i)):t(f)}catch(e){i(e)}})}function f({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:n,initScope:i}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){i||(i=[]);let l=t.federation.instance;var c=n[s];if(c||(c=n[s]={from:l.name}),i.indexOf(c)>=0)return;i.push(c);let u=r[s];if(u)return u;var f=e=>"u">typeof console&&console.warn&&console.warn(e),h=r=>{var n=e=>f("Initialization of sharing external failed: "+e);try{var o=t(r);if(!o)return;var a=r=>r&&r.init&&r.init(t.S[s],i,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return p.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return p.push(l.catch(n))}catch(e){n(e)}};let p=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});a(t);let m=t.federation.bundlerRuntimeOptions.remotes;return(m&&Object.keys(m.idToRemoteMap).forEach(e=>{let t=m.idToRemoteMap[e],r=m.idToExternalAndNameMapping[e][2];if(t.length>1)h(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||h(r)}}),p.length)?r[s]=Promise.all(p).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}function h(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{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}}function p(e){let{webpackRequire:t}=e;s(e);let{initialConsumes:r,moduleToHandlerMapping:n,installedModules:o}=e;r.forEach(e=>{t.m[e]=r=>{o[e]=0,delete t.c[e];let i=h({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);let a=i(),{shareInfo:s}=n[e];if(s?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=s.shareConfig.layer)}catch(e){}r.exports=a}})}function m(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:u,I:f,S:{},installInitialConsumes:p,initContainerEntry:m},attachShareScopeMap:a,bundlerRuntimeOptions:{}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(14363),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var o=Object.create(null);__webpack_require__.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{i[e]=()=>r[e]});return i.default=()=>r,__webpack_require__.d(o,i),o}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="@kenyaemr/esm-express-workflow-app:";__webpack_require__.l=function(r,n,o,i){if(e[r])return void e[r].push(n);if(void 0!==o)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-rspack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-rspack",t+o),a.src=r),e[r]=[n];var f=function(t,n){a.onerror=a.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5086",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865"),__webpack_require__.e("1558"),__webpack_require__.e("2635")]).then(()=>()=>__webpack_require__(18170)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("1789"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("2842"),__webpack_require__.e("5086"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("1442")]).then(()=>()=>__webpack_require__(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("9771")]).then(()=>()=>__webpack_require__(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{2635:["80976","36142","58088"],6259:["36510"],934:["3813"],1865:["97744"],1558:["43925"],5762:["75721"],9368:["1487"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("2842"),__webpack_require__.e("5086")]).then(()=>()=>__webpack_require__(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1789").then(()=>()=>__webpack_require__(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("2152").then(()=>()=>__webpack_require__(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("9061")]).then(()=>()=>__webpack_require__(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))}},initialConsumes:[]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{__webpack_require__.initializeExposesData={moduleMap:{"./start":()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("8888"),__webpack_require__.e("1974"),__webpack_require__.e("6738"),__webpack_require__.e("1821"),__webpack_require__.e("3012"),__webpack_require__.e("1402"),__webpack_require__.e("8224"),__webpack_require__.e("5869"),__webpack_require__.e("5093"),__webpack_require__.e("5568"),__webpack_require__.e("1558"),__webpack_require__.e("2635"),__webpack_require__.e("9368")]).then(()=>()=>__webpack_require__(89867))},shareScope:"default"},__webpack_require__.getContainer=__webpack_require__.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},__webpack_require__.initContainer=__webpack_require__.initContainer||function(){throw Error("should have __webpack_require__.initContainer")}})(),(()=>{var e={8323:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,a,s]=r,l=0;if(i.some(t=>0!==e[t])){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);s&&s(__webpack_require__)}for(t&&t(r);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(64286)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x();_kenyaemr_esm_express_workflow_app=__webpack_exports__})();
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"initial": false,
|
|
34
34
|
"entry": false,
|
|
35
35
|
"reason": "split chunk (cache group: defaultVendors)",
|
|
36
|
-
"size":
|
|
36
|
+
"size": 113077,
|
|
37
37
|
"sizes": {
|
|
38
|
-
"javascript":
|
|
38
|
+
"javascript": 113077
|
|
39
39
|
},
|
|
40
40
|
"names": [],
|
|
41
41
|
"idHints": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"auxiliaryFiles": [
|
|
52
52
|
"1278.js.map"
|
|
53
53
|
],
|
|
54
|
-
"hash": "
|
|
54
|
+
"hash": "ccd76a48d5b72602",
|
|
55
55
|
"childrenByOrder": {}
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
"auxiliaryFiles": [
|
|
591
591
|
"main.js.map"
|
|
592
592
|
],
|
|
593
|
-
"hash": "
|
|
593
|
+
"hash": "c62fc7731ffadd5d",
|
|
594
594
|
"childrenByOrder": {}
|
|
595
595
|
},
|
|
596
596
|
{
|
|
@@ -3561,7 +3561,7 @@
|
|
|
3561
3561
|
"auxiliaryFiles": [
|
|
3562
3562
|
"kenyaemr-esm-express-workflow-app.js.map"
|
|
3563
3563
|
],
|
|
3564
|
-
"hash": "
|
|
3564
|
+
"hash": "483d14b3624fc179",
|
|
3565
3565
|
"childrenByOrder": {}
|
|
3566
3566
|
},
|
|
3567
3567
|
{
|
package/dist/main.js
CHANGED
|
@@ -19,4 +19,4 @@ Call wrapFocusWithoutSentinels(...) from onKeyDown instead.`);let n=(0,a.Kr)(e),
|
|
|
19
19
|
${n.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e),this.remoteEntryExports}async get(e,t,r,n){let l,{loadFactory:o=!0}=r||{loadFactory:!0},c=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];r.length||r.push("default"),r.forEach(e=>{t[e]||(t[e]={})});let l=t[r[0]],o=[],i={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?r:this.remoteInfo.shareScope||"default"};Object.defineProperty(i,"shareScopeMap",{value:t,enumerable:!1});let h=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:l,remoteEntryInitOptions:i,initScope:o,remoteInfo:this.remoteInfo,origin:this.host});void 0===c?.init&&s(a.getShortErrorMsg(a.RUNTIME_002,a.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await c.init(h.shareScope,h.initScope,h.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...h,id:e,remoteSnapshot:n,remoteEntryExports:c})}this.lib=c,this.inited=!0,(l=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:c,expose:t,moduleInfo:this.remoteInfo}))||(l=await c.get(t)),i(l,`${d(this.remoteInfo)} remote don't export ${t}.`);let h=H(this.remoteInfo.name,t),u=this.wraperFactory(l,h);return o?await u():u}wraperFactory(e,t){function r(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()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}}class th{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(...n){return t.remove(r),e.apply(null,n)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(r=>{t=r(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}}class td extends th{emit(...e){let t,r=Array.from(this.listeners);if(r.length>0){let n=0,a=t=>!1!==t&&(n<r.length?Promise.resolve(r[n++].apply(null,e)).then(a):t);t=a()}return Promise.resolve(t)}}function tu(e,t){if(!w(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}class tf extends th{constructor(e){super(),this.onerror=s,this.type=e}emit(e){for(let t of(w(e)||s(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(tu(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){c(e),this.onerror(e)}return e}}class tp extends th{constructor(e){super(),this.onerror=s,this.type=e}emit(e){w(e)||s(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(c(t),this.onerror(t),e),a=l=>{if(tu(e,l)){if(e=l,r<t.length)try{return Promise.resolve(t[r++](e)).then(a,n)}catch(e){return n(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(a(e))}return Promise.resolve(e)}}class tw{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){i(m(e),"Plugin configuration is invalid.");let r=e.name;i(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){i(e,"A name is required.");let t=this.registerPlugins[e];i(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}}function tv(e,t){let r=g(t);r.url||s(`The attribute remoteEntry of ${e.name} must not be undefined.`);let a=n.getResourceUrl(t,r.url);n.isBrowserEnv()||a.startsWith("http")||(a=`https:${a}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=a,e.version=t.version,e.buildVersion=t.buildVersion}function tm(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:n,origin:a,remoteInfo:l,id:o}=e;if(!u(t)||!f(t)){let{remoteSnapshot:i,globalSnapshot:s}=await a.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:o});tv(l,i);let c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[n],resourceCategory:"sync",share:!1,depsRemote:!1}},h=await a.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:a,preloadOptions:c,remoteInfo:l,remote:t,remoteSnapshot:i,globalSnapshot:s});return h&&ti(l,a,h,!1),{...e,remoteSnapshot:i}}return e}}}function tA(e){let 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 tx(e,t,r,a,l={},o){let{value:i}=B(e,d(t)),s=o||i;if(s&&!n.isManifestProvider(s)&&(r(s,t,a),s.remotesInfo))for(let t of Object.keys(s.remotesInfo)){if(l[t])continue;l[t]=!0;let n=tA(t),a=s.remotesInfo[t];tx(e,{name:n.name,version:a.matchedVersion},r,!1,l,void 0)}}let tg=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tH(e,t,r,a,l){let o=[],i=[],s=[],c=new Set,h=new Set,{options:d}=e,{preloadConfig:u}=t,{depsRemote:f}=u;if(tx(a,r,(t,r,a)=>{let l;if(a)l=u;else if(Array.isArray(f)){let e=f.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;l=ta(e)}else{if(!0!==f)return;l=u}let c=n.getResourceUrl(t,g(t).url);c&&s.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let h="modules"in t?t.modules:[],d=to(l.exposes);function p(e){let r=e.map(e=>n.getResourceUrl(t,e));return l.filter?r.filter(l.filter):r}if(d.length&&"modules"in t&&(h=t?.modules?.reduce((e,t)=>(d?.indexOf(t.moduleName)!==-1&&e.push(t),e),[])),h){let n=h.length;for(let a=0;a<n;a++){let n=h[a],s=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:s,name:r.name,remoteSnapshot:t,preloadConfig:l,remote:r,origin:e}),D(s)||("all"===l.resourceCategory?(o.push(...p(n.assets.css.async)),o.push(...p(n.assets.css.sync)),i.push(...p(n.assets.js.async))):(l.resourceCategory="sync",o.push(...p(n.assets.css.sync))),i.push(...p(n.assets.js.sync)),P(s))}}},!0,{},l),l.shared&&l.shared.length>0){let t=(t,r)=>{let n=eQ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{h.add(e)}))};l.shared.forEach(e=>{let r=d.shared?.[e.sharedName];if(!r)return;let n=e.version?r.find(t=>t.version===e.version):r;n&&x(n).forEach(r=>{t(r,e)})})}let p=i.filter(e=>!c.has(e)&&!tg("script",e));return{cssAssets:o.filter(e=>!h.has(e)&&!tg("link",e)),jsAssetsWithoutEntry:p,entryAssets:s.filter(e=>!tg("script",e.url))}}let tM=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:a,remote:l,globalSnapshot:o,remoteSnapshot:i}=e;return n.isBrowserEnv()?u(l)&&f(l)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:l.name,url:l.entry,moduleInfo:{name:a.name,entry:l.entry,type:a.type||"global",entryGlobalName:"",shareScope:""}}]}:(tv(a,i),tH(t,r,a,o,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tV(e,t){let r=S({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&B(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:$(),remoteSnapshot:S({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:$(),remoteSnapshot:S({name:e.name,version:"version"in e?e.version:void 0})}}class tj{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tw({beforeLoadRemoteSnapshot:new td("beforeLoadRemoteSnapshot"),loadSnapshot:new tp("loadGlobalSnapshot"),loadRemoteSnapshot:new tp("loadRemoteSnapshot"),afterLoadSnapshot:new tp("afterLoadSnapshot")}),this.manifestLoading=j.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:r}){let l,o,{options:i}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:i,moduleInfo:e});let c=S({name:this.HostInstance.options.name,version:this.HostInstance.options.version});c||(c={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},N({[this.HostInstance.options.name]:c})),c&&"remotesInfo"in c&&!B(c.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(c.remotesInfo={...c?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});let{hostGlobalSnapshot:h,remoteSnapshot:d,globalSnapshot:f}=this.getGlobalRemoteInfo(e),{remoteSnapshot:p,globalSnapshot:w}=await this.hooks.lifecycle.loadSnapshot.emit({options:i,moduleInfo:e,hostGlobalSnapshot:h,remoteSnapshot:d,globalSnapshot:f});if(p)if(n.isManifestProvider(p)){let t=n.isBrowserEnv()?p.remoteEntry:p.ssrRemoteEntry||p.remoteEntry||"",r=await this.getManifestJson(t,e,{}),a=k({...e,entry:t},r);l=r,o=a}else{let{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:p,from:"global"});l=t,o=w}else if(u(e)){let t=await this.getManifestJson(e.entry,e,{}),r=k(e,t),{remoteSnapshot:n}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});l=n,o=r}else s(a.getShortErrorMsg(a.RUNTIME_007,a.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(w)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:i,moduleInfo:e,remoteSnapshot:l}),{remoteSnapshot:l,globalSnapshot:o}}getGlobalRemoteInfo(e){return tV(e,this.HostInstance)}async getManifestJson(e,t,r){let l=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],s(a.getShortErrorMsg(a.RUNTIME_003,a.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`)))}return i(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},o=async()=>{let r=await l(),a=n.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:a,manifestUrl:e,from:"manifest"});return o};return this.manifestLoading[e]||(this.manifestLoading[e]=o().then(e=>e)),this.manifestLoading[e]}}class tb{constructor(e){this.hooks=new tw({afterResolve:new tp("afterResolve"),beforeLoadShare:new tp("beforeLoadShare"),loadShare:new td,resolveShare:new tf("resolveShare"),initContainerShareScopeMap:new tf("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){let{shareInfos:r,shared:n}=eP(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{r.scope.forEach(n=>{this.shareScopeMap[n]?.[e]||this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:r.loaded||!!r.lib,shared:r,from:t.name})})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=eJ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:a}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});i(a,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let l=eQ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),o=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(l&&l.lib)return o(l),l.lib;if(l&&l.loading&&!l.loaded){let e=await l.loading;return l.loaded=!0,l.lib||(l.lib=e),o(l),e}if(l){let t=(async()=>{let e=await l.get();return o(l),l.loaded=!0,l.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:l,from:r.options.name,lib:null,loading:t}),t}{if(t?.customShareInfo)return!1;let n=(async()=>{let t=await a.get();a.lib=t,a.loaded=!0,o(a);let r=eQ(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0,r.from=a.from),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(e=F,t){let{host:r}=this,n=t?.from,a=t?.strategy,l=t?.initScope,o=[];if("build"!==n){let{initTokens:t}=this;l||(l=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),l.indexOf(r)>=0)return o;l.push(r)}let i=this.shareScopeMap,s=r.options.name;i[e]||(i[e]={});let c=i[e],h=(e,t)=>{let{version:r,eager:n}=t;c[e]=c[e]||{};let a=c[e],l=a[r],o=!!(l&&(l.eager||l.shareConfig?.eager));(!l||"loaded-first"!==l.strategy&&!l.loaded&&(!n!=!o?n:s>l.from))&&(a[r]=t)},d=t=>t&&t.init&&t.init(i[e],l),u=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await d(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&h(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===a)&&r.options.remotes.forEach(t=>{t.shareScope===e&&o.push(u(t.name))}),o}loadShareSync(e,t){let{host:r}=this,n=eJ({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let l=eQ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),o=e=>{e.useIn||(e.useIn=[]),h(e.useIn,r.options.name)};if(l){if("function"==typeof l.lib)return o(l),l.loaded||(l.loaded=!0,l.from===r.options.name&&(n.loaded=!0)),l.lib;if("function"==typeof l.get){let t=l.get();if(!(t instanceof Promise))return o(l),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:l}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let l=n.get();if(l instanceof Promise){let n=t?.from==="build"?a.RUNTIME_005:a.RUNTIME_006;throw Error(a.getShortErrorMsg(n,a.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=l,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(a.getShortErrorMsg(a.RUNTIME_006,a.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,r={}){let{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:r,lib:n,loading:a,loaded:l,get:o}){let{version:i,scope:s="default",...c}=t;(Array.isArray(s)?s:[s]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][i]){this.shareScopeMap[t][e][i]={version:i,scope:[t],...c,lib:n,loaded:l,loading:a},o&&(this.shareScopeMap[t][e][i].get=o);return}let s=this.shareScopeMap[t][e][i];a&&!s.loading&&(s.loading=a),l&&!s.loaded&&(s.loaded=l),r&&s.from!==r&&(s.from=r)})}_setGlobalShareScopeMap(e){let t=eX(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}}class tZ{constructor(e){this.hooks=new tw({beforeRegisterRemote:new tf("beforeRegisterRemote"),registerRemote:new tf("registerRemote"),beforeRequest:new tp("beforeRequest"),onLoad:new td("onLoad"),handlePreloadModule:new th("handlePreloadModule"),errorLoadRemote:new td("errorLoadRemote"),beforePreloadRemote:new td("beforePreloadRemote"),generatePreloadAssets:new td("generatePreloadAssets"),afterPreloadRemote:new td,loadEntry:new td}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:a,alias:l}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},l&&e.startsWith(a)){let t=e.replace(a,l);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(l&&e.startsWith(l)){let t=e.replace(l,a);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:a,moduleOptions:l,remoteMatchInfo:o}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:i,remote:s,expose:c,id:h,remoteSnapshot:d}=o,u=await a.get(h,c,t,d),f=await this.hooks.lifecycle.onLoad.emit({id:h,pkgNameOrAlias:i,expose:c,exposeModule:n?u:void 0,exposeModuleFactory:n?void 0:u,remote:s,options:l,moduleInstance:a,origin:r});if(this.setIdToRemoteMap(e,o),"function"==typeof f)return f;return u}catch(l){let{from:n="runtime"}=t||{from:"runtime"},a=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:l,from:n,lifecycle:"onLoad",origin:r});if(!a)throw l;return a}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=tl(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=tn(r),{globalSnapshot:a,remoteSnapshot:l}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:r}),o=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:a,remoteSnapshot:l});o&&ti(n,t,o)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:n}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:l}=t,o=e1(r.options.remotes,l);i(o,a.getShortErrorMsg(a.RUNTIME_004,a.runtimeDescMap,{hostName:r.options.name,requestId:l}));let{remote:s}=o,c=tn(s),h=await r.sharedHandler.hooks.lifecycle.afterResolve.emit({id:l,...o,options:r.options,origin:r,remoteInfo:c}),{remote:d,expose:u}=h;i(d&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${l}.`);let f=r.moduleCache.get(d.name),p={host:r,remoteInfo:c};return f||(f=new tc(p),r.moduleCache.set(d.name,f)),{module:f,moduleOptions:p,remoteMatchInfo:h}}registerRemote(e,t,r){let{host:a}=this,l=()=>{if(e.alias){let r=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));i(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&n.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=F),e.type||(e.type=U)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:a});let o=t.find(t=>t.name===e.name);if(o){let i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];r?.force&&(this.removeRemote(o),l(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:a}),n.warn(i.join(" ")))}else l(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:a})}removeRemote(e){try{let{host:t}=this,{name:r}=e,a=t.options.remotes.findIndex(e=>e.name===r);-1!==a&&t.options.remotes.splice(a,1);let l=t.moduleCache.get(e.name);if(l){let r=l.remoteInfo,a=r.entryGlobalName;M[a]&&(Object.getOwnPropertyDescriptor(M,a)?.configurable?delete M[a]:M[a]=void 0);let o=tt(l.remoteInfo);y[o]&&delete y[o],t.snapshotHandler.manifestCache.delete(r.entry);let i=r.buildVersion?n.composeKeyWithSeparator(r.name,r.buildVersion):r.name,s=M.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===i:e.name===i);if(-1!==s){let e=M.__FEDERATION__.__INSTANCES__[s];i=e.options.id||i;let t=eX(),n=!0,a=[];Object.keys(t).forEach(e=>{let l=t[e];l&&Object.keys(l).forEach(t=>{let o=l[t];o&&Object.keys(o).forEach(l=>{let i=o[l];i&&Object.keys(i).forEach(o=>{let s=i[o];s&&"object"==typeof s&&s.from===r.name&&(s.loaded||s.loading?(s.useIn=s.useIn.filter(e=>e!==r.name),s.useIn.length?n=!1:a.push([e,t,l,o])):a.push([e,t,l,o]))})})})}),n&&(e.shareScopeMap={},delete t[i]),a.forEach(([e,r,n,a])=>{delete t[e]?.[r]?.[n]?.[a]}),M.__FEDERATION__.__INSTANCES__.splice(s,1)}let{hostGlobalSnapshot:c}=tV(e,t);if(c){let t=c&&"remotesInfo"in c&&c.remotesInfo&&B(c.remotesInfo,e.name).key;t&&(delete c.remotesInfo[t],j.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete j.__FEDERATION__.__MANIFEST_LOADING__[t])}t.moduleCache.delete(e.name)}}catch(e){o.log("removeRemote fail: ",e)}}}let ty="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;class tC{constructor(e){this.hooks=new tw({beforeInit:new tf("beforeInit"),init:new th,beforeInitContainer:new tp("beforeInitContainer"),initContainer:new tp("initContainer")}),this.version="0.22.0",this.moduleCache=new Map,this.loaderHook=new tw({getModuleInfo:new th,createScript:new th,createLink:new th,fetch:new td,loadEntryError:new td,getModuleFactory:new td}),this.bridgeHook=new tw({beforeBridgeRender:new th,afterBridgeRender:new th,beforeBridgeDestroy:new th,afterBridgeDestroy:new th});const t=ty?[tm(),tM()]:[],r={id:e0(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:n.isBrowserEnv()};this.name=e.name,this.options=r,this.snapshotHandler=new tj(this),this.sharedHandler=new tb(this),this.remoteHandler=new tZ(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}initOptions(e){this.registerPlugins(e.plugins);let 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=F,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new tc({host:this,remoteInfo:tn({name:e,entry:t})});return n.remoteEntryExports=r,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,r={}){this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eP(e,t),{userOptions:n,options:a}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),l=this.remoteHandler.formatAndRegisterRemote(a,n),{shared:o}=this.sharedHandler.registerShared(a,n),i=[...a.plugins];n.plugins&&n.plugins.forEach(e=>{i.includes(e)||i.push(e)});let s={...e,...t,plugins:i,remotes:l,shared:o};return this.hooks.lifecycle.init.emit({origin:this,options:s}),s}registerPlugins(e){let t=e3(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}}var tE=Object.freeze({__proto__:null});t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.CurrentGlobal=M,t.Global=j,t.Module=tc,t.ModuleFederation=tC,t.addGlobalSnapshot=N,t.assert=i,t.getGlobalFederationConstructor=z,t.getGlobalSnapshot=$,t.getInfoWithoutType=B,t.getRegisteredShare=eQ,t.getRemoteEntry=tr,t.getRemoteInfo=tn,t.helpers=ts,t.isStaticResourcesEqual=A,t.matchRemoteWithNameAndExpose=e1,t.registerGlobalPlugins=I,t.resetFederationGlobalInfo=E,t.safeWrapper=p,t.satisfy=eO,t.setGlobalFederationConstructor=L,t.setGlobalFederationInstance=R,t.types=tE},86490(e,t,r){"use strict";var n=r(35822),a=r(63767),l=r(6197);function o(e){let t=new(n.getGlobalFederationConstructor()||n.ModuleFederation)(e);return n.setGlobalFederationInstance(t),t}let i=null;function s(e){let t=l.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),i||(i=t),t):i=o(e)}function c(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.loadRemote.apply(i,e)}function h(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.loadShare.apply(i,e)}function d(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.loadShareSync.apply(i,e)}function u(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.preloadRemote.apply(i,e)}function f(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.registerRemotes.apply(i,e)}function p(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.registerPlugins.apply(i,e)}function w(){return i}function v(...e){return n.assert(i,a.getShortErrorMsg(a.RUNTIME_009,a.runtimeDescMap)),i.registerShared.apply(i,e)}n.setGlobalFederationConstructor(n.ModuleFederation),t.Module=n.Module,t.ModuleFederation=n.ModuleFederation,t.getRemoteEntry=n.getRemoteEntry,t.getRemoteInfo=n.getRemoteInfo,t.loadScript=n.loadScript,t.loadScriptNode=n.loadScriptNode,t.registerGlobalPlugins=n.registerGlobalPlugins,t.createInstance=o,t.getInstance=w,t.init=s,t.loadRemote=c,t.loadShare=h,t.loadShareSync=d,t.preloadRemote=u,t.registerPlugins=p,t.registerRemotes=f,t.registerShared=v},6197(e,t,r){"use strict";var n=r(35822);function a(){return"u">typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}t.getGlobalFederationInstance=function(e,t){let r=a();return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},45882(__unused_rspack_module,exports){"use strict";let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",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"u">typeof window&&void 0!==window.document}function isReactNativeEnv(){return"u">typeof navigator&&navigator?.product==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return!!localStorage.getItem(BROWSER_LOG_KEY)}catch(e){}return!1}function isDebugMode(){return"u">typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("u">typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"u">typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=(e,t,r=SEPARATOR)=>{let n=e.split(r),a="development"===getProcessEnv().NODE_ENV&&t,l="*",o=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...i]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),i=[a||n.slice(2).join(r)]);let s=a||i.join(r);return o(s)?{name:t,entry:s}:{name:t,version:s||l}}if(1===n.length){let[e]=n;return a&&o(a)?{name:e,entry:a}:{name:e,version:a||l}}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="",r=!1){try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){let r,{remotes:n={},overrides:a={},version:l}=t,o=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,i=Object.keys(a),s={};Object.keys(n).length||(s=e.remotes?.reduce((e,t)=>{let r,n=t.federationContainerName;return r=i.includes(n)?a[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{})||{}),Object.keys(n).forEach(e=>s[e]={matchedVersion:i.includes(e)?a[e]:n[e]});let{remoteEntry:{path:c,name:h,type:d},types:u={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:f},globalName:p,ssrRemoteEntry:w}=e.metaData,{exposes:v}=e,m={version:l||"",buildVersion:f,globalName:p,remoteEntry:simpleJoinRemoteEntry(c,h),remoteEntryType:d,remoteTypes:simpleJoinRemoteEntry(u.path,u.name),remoteTypesZip:u.zip||"",remoteTypesAPI:u.api||"",remotesInfo:s,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:v?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(e.metaData?.prefetchInterface){let t=e.metaData.prefetchInterface;m={...m,prefetchInterface:t}}if(e.metaData?.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;m={...m,prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n}}return r="publicPath"in e.metaData?{...m,publicPath:o(),ssrPublicPath:e.metaData.ssrPublicPath}:{...m,getPublicPath:o()},w&&(r.ssrRemoteEntry=simpleJoinRemoteEntry(w.path,w.name),r.ssrRemoteEntryType=w.type||"commonjs-module"),r}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}function getManifestFileName(e){if(!e)return{statsFileName:StatsFileName,manifestFileName:ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",r="boolean"==typeof e?"":e.fileName||"",n=".json",a=e=>e.endsWith(n)?e:`${e}${n}`,l=(e,t)=>e.replace(n,`${t}${n}`),o=r?a(r):ManifestFileName;return{statsFileName:simpleJoinRemoteEntry(t,r?l(o,"-stats"):StatsFileName),manifestFileName:simpleJoinRemoteEntry(t,o)}}let PREFIX="[ Module Federation ]",DEFAULT_DELEGATE=console,LOGGER_STACK_SKIP_TOKENS=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];function captureStackTrace(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split("\n"),r=t.filter(e=>!LOGGER_STACK_SKIP_TOKENS.some(t=>e.includes(t)));if(!r.length)return;let n=r.slice(0,5).join("\n");return`Stack trace:
|
|
20
20
|
${n}`}catch{return}}class Logger{constructor(e,t=DEFAULT_DELEGATE){this.prefix=e,this.delegate=t??DEFAULT_DELEGATE}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??DEFAULT_DELEGATE}emit(e,t){let r=this.delegate,n=isDebugMode()?captureStackTrace():void 0,a=n?[...t,n]:t,l=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of l){let t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...a)}for(let e of l){let t=DEFAULT_DELEGATE[e];if("function"==typeof t)return void t.call(DEFAULT_DELEGATE,this.prefix,...a)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){isDebugMode()&&this.emit("debug",e)}}function createLogger(e){return new Logger(e)}function createInfrastructureLogger(e){let t=new Logger(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}function bindLoggerToCompiler(e,t,r){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{let n=t.getInfrastructureLogger(r);n&&"object"==typeof n&&("function"==typeof n.log||"function"==typeof n.info||"function"==typeof n.warn||"function"==typeof n.error)&&e.setDelegate(n)}catch{e.setDelegate(void 0)}}let logger=createLogger(PREFIX),infrastructureLogger=createInfrastructureLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function createScript(e){let t,r=null,n=!0,a=2e4,l=document.getElementsByTagName("script");for(let t=0;t<l.length;t++){let a=l[t],o=a.getAttribute("src");if(o&&isStaticResourcesEqual(o,e.url)){r=a,n=!1;break}}if(!r){let t,n=e.attrs;(r=document.createElement("script")).type=n?.type==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(a=t.timeout))),r.src||(r.src=e.url),n&&!t&&Object.keys(n).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let o=async(n,a)=>{clearTimeout(t);let l=()=>{a?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(a);if(e instanceof Promise){let t=await e;return l(),t}return l(),e}l()};return r.onerror=o.bind(null,r.onerror),r.onload=o.bind(null,r.onload),t=setTimeout(()=>{o(null,Error(`Remote script "${e.url}" time-outed.`))},a),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let a=0;a<n.length;a++){let l=n[a],o=l.getAttribute("href"),i=l.getAttribute("rel");if(o&&isStaticResourcesEqual(o,e.url)&&i===e.attrs.rel){t=l,r=!1;break}}if(!t){let r;(t=document.createElement("link")).setAttribute("href",e.url);let n=e.attrs;e.createLinkHook&&(r=e.createLinkHook(e.url,n))instanceof HTMLLinkElement&&(t=r),n&&!r&&Object.keys(n).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let a=(r,n)=>{let a=()=>{n?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(n):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&t?.parentNode&&t.parentNode.removeChild(t)}),r)){let e=r(n);return a(),e}a()};return t.onerror=a.bind(null,t.onerror),t.onload=a.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,a)=>{let{script:l,needAttach:o}=createScript({url:e,cb:t,onErrorCallback:a,attrs:{fetchpriority:"high",...r},createScriptHook:n,needDeleteScript:!0});o&&document.head.appendChild(l)})}let sdkImportCache=new Map;function importNodeModule(e){if(!e)throw Error("import specifier is required");if(sdkImportCache.has(e))return sdkImportCache.get(e);let t=Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),sdkImportCache.delete(e),t});return sdkImportCache.set(e,t),t}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),a=await n(e,t||{});return a&&a instanceof Response?a:("u"<typeof fetch?await loadNodeFetch():fetch)(e,t||{})},createScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(url,cb,attrs,loaderHook)=>{let urlObj;if(loaderHook?.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>loaderHook?.fetch?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"u"<typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{let 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),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
|
|
21
21
|
})`,{filename,importModuleDynamically:vm.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER??importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if(attrs?.type==="esm"||attrs?.type==="module")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:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}:(e,t,r,n)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="u"<typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((r,n)=>{createScriptNode(e,(e,a)=>{if(e)n(e);else{let e=t?.attrs?.globalName||`__FEDERATION_${t?.attrs?.name}:custom__`;r(globalThis[e]=a)}},t.attrs,t.loaderHook)}):(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")},esmModuleCache=new Map;async function loadModule(e,t){if(esmModuleCache.has(e))return esmModuleCache.get(e);let{fetch:r,vm:n}=t,a=await r(e),l=await a.text(),o=new n.SourceTextModule(l,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return esmModuleCache.set(e,o),await o.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),o}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)if(e)return t;else return!1;if(!0===n)return t;if(n&&"object"==typeof n)return{...t,...n};throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.bindLoggerToCompiler=bindLoggerToCompiler,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createInfrastructureLogger=createInfrastructureLogger,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getManifestFileName=getManifestFileName,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.infrastructureLogger=infrastructureLogger,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},31629(e,t){"use strict";t.FEDERATION_SUPPORTED_TYPES=["script"]},82707(e,t,r){"use strict";var n=r(86490),a=r(31629),l=r(45882);function o(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function i(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:a}=t;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:t={},initialConsumes:a=[],chunkMapping:l={}}=n;if(Object.entries(t).forEach(([e,t])=>{r[e]||(r[e]={getter:t.fallback,shareInfo:{shareConfig:{requiredVersion:t.requiredVersion,strictVersion:t.strictVersion,singleton:t.singleton,eager:t.eager,layer:t.layer},scope:Array.isArray(t.shareScope)?t.shareScope:[t.shareScope||"default"]},shareKey:t.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;a.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(l).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(a&&!a._updated){let{federation:e}=t;if(!e.instance||!a.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(a.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:a,factory:l,eager:o,singleton:i,requiredVersion:s,strictVersion:c}=n,h={requiredVersion:`^${a}`},d=function(e){return void 0!==e};d(i)&&(h.singleton=i),d(s)&&(h.requiredVersion=s),d(o)&&(h.eager=o),d(c)&&(h.strictVersion=c);let u={version:a,scope:[e],shareConfig:h,get:l};r[t]?r[t].push(u):r[t]=[u]}e.instance.registerShared(r),a._updated=1}}function s(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:a={}}=e,{remotesLoadingData:l}=t,o=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!l||l._updated||!o)return;let{chunkMapping:i,moduleIdToRemoteDataMapping:s}=l;if(i&&s){for(let[e,t]of Object.entries(s))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&o[t.remoteName]){let r=o[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}a&&Object.entries(i).forEach(([e,t])=>{a[e]||(a[e]=[]),t.forEach(t=>{a[e].includes(t)||a[e].push(t)})}),l._updated=1}}function c(e){s(e);let{chunkId:t,promises:r,webpackRequire:n,chunkMapping:i,idToExternalAndNameMapping:c,idToRemoteMap:h}=e;o(n),n.o(i,t)&&i[t].forEach(e=>{let t=n.R;t||(t=[]);let o=c[e],i=h[e]||[];if(t.indexOf(o)>=0)return;if(t.push(o),o.p)return r.push(o.p);let s=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
22
|
-
while loading "${o[1]}" from ${o[2]}`),n.m[e]=()=>{throw t},o.p=0},d=(e,t,n,a,l,i)=>{try{let c=e(t,n);if(!c||!c.then)return l(c,a,i);{let e=c.then(e=>l(e,a),s);if(!i)return e;r.push(o.p=e)}}catch(e){s(e)}},u=(e,t,r)=>e?d(n.I,o[0],0,e,f,r):s();var f=(e,r,n)=>d(r.get,o[1],t,0,p,n),p=t=>{o.p=1,n.m[e]=e=>{e.exports=t()}};let w=()=>{try{let e=l.decodeName(i[0].name,l.ENCODE_NAME_PREFIX)+o[1].slice(1),t=n.federation.instance,r=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(o[0])).then(()=>r());return r()}catch(e){s(e)}};1===i.length&&a.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?d(w,o[2],0,0,p,1):d(n,o[2],0,0,u,1)})}function h(e){i(e);let{chunkId:t,promises:r,installedModules:n,webpackRequire:a,chunkMapping:l,moduleToHandlerMapping:s}=e;o(a),a.o(l,t)&&l[t].forEach(e=>{if(a.o(n,e))return r.push(n[e]);let t=t=>{n[e]=0,a.m[e]=r=>{delete a.c[e];let n=t(),{shareInfo:l}=s[e];if(l?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=l.shareConfig.layer)}catch(e){}r.exports=n}},l=t=>{delete n[e],a.m[e]=r=>{throw delete a.c[e],t}};try{let o=a.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,getter:c,shareInfo:h}=s[e],d=o.loadShare(i,{customShareInfo:h}).then(e=>!1===e?c():e);d.then?r.push(n[e]=d.then(t).catch(l)):t(d)}catch(e){l(e)}})}function d({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:n,initScope:l}){let i=Array.isArray(e)?e:[e];var s=[],c=function(i){l||(l=[]);let s=t.federation.instance;var c=n[i];if(c||(c=n[i]={from:s.name}),l.indexOf(c)>=0)return;l.push(c);let h=r[i];if(h)return h;var d=e=>"u">typeof console&&console.warn&&console.warn(e),u=r=>{var n=e=>d("Initialization of sharing external failed: "+e);try{var a=t(r);if(!a)return;var o=r=>r&&r.init&&r.init(t.S[i],l,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return f.push(a.then(o,n));var s=o(a);if(s&&"boolean"!=typeof s&&s.then)return f.push(s.catch(n))}catch(e){n(e)}};let f=s.initializeSharing(i,{strategy:s.options.shareStrategy,initScope:l,from:"build"});o(t);let p=t.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)u(r);else if(1===t.length){let e=t[0];a.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||u(r)}}),f.length)?r[i]=Promise.all(f).then(()=>r[i]=!0):r[i]=!0};return i.forEach(e=>{s.push(c(e))}),Promise.all(s).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:l,shareInfo:o}=r[t];try{return a.loadShareSync(l,{customShareInfo:o})}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}}function f(e){let{webpackRequire:t}=e;i(e);let{initialConsumes:r,moduleToHandlerMapping:n,installedModules:a}=e;r.forEach(e=>{t.m[e]=r=>{a[e]=0,delete t.c[e];let l=u({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t});if("function"!=typeof l)throw Error(`Shared module is not available for eager consumption: ${e}`);let o=l(),{shareInfo:i}=n[e];if(i?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=i.shareConfig.layer)}catch(e){}r.exports=o}})}function p(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:a,remoteEntryInitOptions:l}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let o=t.federation.instance;o.initOptions({name:t.federation.initOptions.name,remotes:[],...l});let i=l?.shareScopeKeys,s=l?.shareScopeMap;if(a&&"string"!=typeof a)a.forEach(e=>{if(!i||!s)return void o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}});s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})});else{let e=a||"default";Array.isArray(i)?i.forEach(e=>{s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})}):o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(a))?t.federation.initOptions.shared?t.I(a,n):Promise.all(a.map(e=>t.I(e,n))).then(()=>!0):t.I(a||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:h,I:d,S:{},installInitialConsumes:f,initContainerEntry:p},attachShareScopeMap:o,bundlerRuntimeOptions:{}}},53373(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,n(r)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var l in e)t.call(e,l)&&e[l]&&(n=a(n,l));return n}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()},89575(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},17502(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},4291(e,t,r){"use strict";r.d(t,{UE:()=>Q,UU:()=>K,cY:()=>q,rD:()=>X,ll:()=>W,jD:()=>Y,Ej:()=>G});var n=r(22166);function a(e,t,r){let a,{reference:l,floating:o}=e,i=(0,n.TV)(t),s=(0,n.Dz)(t),c=(0,n.sq)(s),h=(0,n.C0)(t),d="y"===i,u=l.x+l.width/2-o.width/2,f=l.y+l.height/2-o.height/2,p=l[c]/2-o[c]/2;switch(h){case"top":a={x:u,y:l.y-o.height};break;case"bottom":a={x:u,y:l.y+l.height};break;case"right":a={x:l.x+l.width,y:f};break;case"left":a={x:l.x-o.width,y:f};break;default:a={x:l.x,y:l.y}}let w=(0,n.Sg)(t);return w&&(a[s]+=p*("end"===w?1:-1)*(r&&d?-1:1)),a}async function l(e,t){var r;void 0===t&&(t={});let{x:a,y:l,platform:o,rects:i,elements:s,strategy:c}=e,{boundary:h="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=(0,n._3)(t,e),w=(0,n.nI)(p),v="floating"===u?"reference":"floating",m=s[f?v:u],A=(0,n.B1)(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:h,rootBoundary:d,strategy:c})),x="floating"===u?{x:a,y:l,width:i.floating.width,height:i.floating.height}:i.reference,g=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),H=await (null==o.isElement?void 0:o.isElement(g))&&await (null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},M=(0,n.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:g,strategy:c}):x);return{top:(A.top-M.top+w.top)/H.y,bottom:(M.bottom-A.bottom+w.bottom)/H.y,left:(A.left-M.left+w.left)/H.x,right:(M.right-A.right+w.right)/H.x}}let o=50,i=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,h=c.detectOverflow?c:{...c,detectOverflow:l},d=await (null==c.isRTL?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:p}=a(u,n,d),w=n,v=0,m={};for(let r=0;r<s.length;r++){let l=s[r];if(!l)continue;let{name:A,fn:x}=l,{x:g,y:H,data:M,reset:V}=await x({x:f,y:p,initialPlacement:n,placement:w,strategy:i,middlewareData:m,rects:u,platform:h,elements:{reference:e,floating:t}});f=null!=g?g:f,p=null!=H?H:p,m[A]={...m[A],...M},V&&v<o&&(v++,"object"==typeof V&&(V.placement&&(w=V.placement),V.rects&&(u=!0===V.rects?await c.getElementRects({reference:e,floating:t,strategy:i}):V.rects),{x:f,y:p}=a(u,w,d)),r=-1)}return{x:f,y:p,placement:w,strategy:i,middlewareData:m}},s=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:a,placement:l,rects:o,platform:i,elements:s,middlewareData:c}=t,{element:h,padding:d=0}=(0,n._3)(e,t)||{};if(null==h)return{};let u=(0,n.nI)(d),f={x:r,y:a},p=(0,n.Dz)(l),w=(0,n.sq)(p),v=await i.getDimensions(h),m="y"===p,A=m?"top":"left",x=m?"bottom":"right",g=m?"clientHeight":"clientWidth",H=o.reference[w]+o.reference[p]-f[p]-o.floating[w],M=f[p]-o.reference[p],V=await (null==i.getOffsetParent?void 0:i.getOffsetParent(h)),j=V?V[g]:0;j&&await (null==i.isElement?void 0:i.isElement(V))||(j=s.floating[g]||o.floating[w]);let b=H/2-M/2,Z=j/2-v[w]/2-1,y=(0,n.jk)(u[A],Z),C=(0,n.jk)(u[x],Z),E=j-v[w]-C,R=j/2-v[w]/2+b,z=(0,n.qE)(y,R,E),L=!c.arrow&&null!=(0,n.Sg)(l)&&R!==z&&o.reference[w]/2-(R<y?y:C)-v[w]/2<0,B=L?R<y?R-y:R-E:0;return{[p]:f[p]+B,data:{[p]:z,centerOffset:R-z-B,...L&&{alignmentOffset:B}},reset:L}}}),c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,a,l,o,i;let{placement:s,middlewareData:c,rects:h,initialPlacement:d,platform:u,elements:f}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:x=!0,...g}=(0,n._3)(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let H=(0,n.C0)(s),M=(0,n.TV)(d),V=(0,n.C0)(d)===d,j=await (null==u.isRTL?void 0:u.isRTL(f.floating)),b=v||(V||!x?[(0,n.bV)(d)]:(0,n.WJ)(d)),Z="none"!==A;!v&&Z&&b.push(...(0,n.lP)(d,x,A,j));let y=[d,...b],C=await u.detectOverflow(t,g),E=[],R=(null==(a=c.flip)?void 0:a.overflows)||[];if(p&&E.push(C[H]),w){let e=(0,n.w7)(s,h,j);E.push(C[e[0]],C[e[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(e=>e<=0)){let e=((null==(l=c.flip)?void 0:l.index)||0)+1,t=y[e];if(t&&("alignment"!==w||M===(0,n.TV)(t)||R.every(e=>(0,n.TV)(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let r=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(m){case"bestFit":{let e=null==(i=R.filter(e=>{if(Z){let t=(0,n.TV)(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(r=e);break}case"initialPlacement":r=d}if(s!==r)return{reset:{placement:r}}}return{}}}};function h(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return n.r_.some(t=>e[t]>=0)}let u=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:a}=t,{strategy:l="referenceHidden",...o}=(0,n._3)(e,t);switch(l){case"referenceHidden":{let e=h(await a.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{let e=h(await a.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}};function f(e){let t=min(...e.map(e=>e.left)),r=min(...e.map(e=>e.top));return{x:t,y:r,width:max(...e.map(e=>e.right))-t,height:max(...e.map(e=>e.bottom))-r}}let p=new Set(["left","top"]);async function w(e,t){let{placement:r,platform:a,elements:l}=e,o=await (null==a.isRTL?void 0:a.isRTL(l.floating)),i=(0,n.C0)(r),s=(0,n.Sg)(r),c="y"===(0,n.TV)(r),h=p.has(i)?-1:1,d=o&&c?-1:1,u=(0,n._3)(t,e),{mainAxis:f,crossAxis:w,alignmentAxis:v}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof v&&(w="end"===s?-1*v:v),c?{x:w*d,y:f*h}:{x:f*h,y:w*d}}let v=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:l,placement:o,middlewareData:i}=t,s=await w(t,e);return o===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:a+s.x,y:l+s.y,data:{...s,placement:o}}}}},m=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,a,{placement:l,rects:o,platform:i,elements:s}=t,{apply:c=()=>{},...h}=(0,n._3)(e,t),d=await i.detectOverflow(t,h),u=(0,n.C0)(l),f=(0,n.Sg)(l),p="y"===(0,n.TV)(l),{width:w,height:v}=o.floating;"top"===u||"bottom"===u?(r=u,a=f===(await (null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(a=u,r="end"===f?"top":"bottom");let m=v-d.top-d.bottom,A=w-d.left-d.right,x=(0,n.jk)(v-d[r],m),g=(0,n.jk)(w-d[a],A),H=t.middlewareData.shift,M=!H,V=x,j=g;null!=H&&H.enabled.x&&(j=A),null!=H&&H.enabled.y&&(V=m),M&&!f&&(p?j=w-2*(0,n.T9)(d.left,d.right):V=v-2*(0,n.T9)(d.top,d.bottom)),await c({...t,availableWidth:j,availableHeight:V});let b=await i.getDimensions(s.floating);return w!==b.width||v!==b.height?{reset:{rects:!0}}:{}}}};var A=r(1860);function x(e){let t=(0,A.L9)(e),r=parseFloat(t.width)||0,a=parseFloat(t.height)||0,l=(0,A.sb)(e),o=l?e.offsetWidth:r,i=l?e.offsetHeight:a,s=(0,n.LI)(r)!==o||(0,n.LI)(a)!==i;return s&&(r=o,a=i),{width:r,height:a,$:s}}function g(e){return(0,A.vq)(e)?e:e.contextElement}function H(e){let t=g(e);if(!(0,A.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:a,height:l,$:o}=x(t),i=(o?(0,n.LI)(r.width):r.width)/a,s=(o?(0,n.LI)(r.height):r.height)/l;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}let M=(0,n.Jx)(0);function V(e){let t=(0,A.zk)(e);return(0,A.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:M}function j(e,t,r){return void 0===t&&(t=!1),!!r&&t&&r===(0,A.zk)(e)}function b(e,t,r,a){void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),o=g(e),i=(0,n.Jx)(1);t&&(a?(0,A.vq)(a)&&(i=H(a)):i=H(e));let s=j(o,r,a)?V(o):(0,n.Jx)(0),c=(l.left+s.x)/i.x,h=(l.top+s.y)/i.y,d=l.width/i.x,u=l.height/i.y;if(o&&a){let e=(0,A.zk)(o),t=(0,A.vq)(a)?(0,A.zk)(a):a,r=e,n=(0,A._m)(r);for(;n&&t!==r;){let e=H(n),t=n.getBoundingClientRect(),a=(0,A.L9)(n),l=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;c*=e.x,h*=e.y,d*=e.x,u*=e.y,c+=l,h+=o,r=(0,A.zk)(n),n=(0,A._m)(r)}}return(0,n.B1)({width:d,height:u,x:c,y:h})}function Z(e,t){let r=(0,A.CP)(e).scrollLeft;return t?t.left+r:b((0,A.ep)(e)).left+r}function y(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-Z(e,r),y:r.top+t.scrollTop}}function C(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function E(e){let t=(0,A.CP)(e),r=e.ownerDocument.body,a=(0,n.T9)(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=(0,n.T9)(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),o=-t.scrollLeft+Z(e),i=-t.scrollTop;return"rtl"===(0,A.L9)(r).direction&&(o+=(0,n.T9)(e.clientWidth,r.clientWidth)-a),{width:a,height:l,x:o,y:i}}let R=25;function z(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,a=(0,A.zk)(e),l=(0,A.ep)(e),o=a.visualViewport,i=l.clientWidth,s=l.clientHeight,c=0,h=0;if(o){let e=!(0,A.Tc)()||"fixed"===t;n?e||(c=-o.offsetLeft,h=-o.offsetTop):(i=o.width,s=o.height,e&&(c=o.offsetLeft,h=o.offsetTop))}if(0>=Z(l)){let e=l.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(l.clientWidth-t.clientWidth-n),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?a/2:a;o<=R&&(i-=o)}return{width:i,height:s,x:c,y:h}}function L(e,t){let r=b(e,!0,"fixed"===t),n=r.top+e.clientTop,a=r.left+e.clientLeft,l=H(e),o=e.clientWidth*l.x,i=e.clientHeight*l.y;return{width:o,height:i,x:a*l.x,y:n*l.y}}function B(e,t,r){let a;if("viewport"===t||"layoutViewport"===t)a=z(e,r,t);else if("document"===t)a=E((0,A.ep)(e));else if((0,A.vq)(t))a=L(t,r);else{let r=V(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.B1)(a)}function $(e,t){let r=t.get(e);if(r)return r;let n=(0,A.v9)(e,[],!1).filter(e=>(0,A.vq)(e)&&"body"!==(0,A.mq)(e)),a=null,l="fixed"===(0,A.L9)(e).position,o=l?(0,A.$4)(e):e;for(;(0,A.vq)(o)&&!(0,A.eu)(o);){let e=(0,A.L9)(o),t=(0,A.sQ)(o),r=a?a.position:l?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?a=e:n=n.filter(e=>e!==o),o=(0,A.$4)(o)}return t.set(e,n),n}function _(e){let{element:t,boundary:r,rootBoundary:a,strategy:l}=e,o=[..."clippingAncestors"===r?(0,A.Tf)(t)?[]:$(t,this._c):[].concat(r),a],i=B(t,o[0],l),s=i.top,c=i.right,h=i.bottom,d=i.left;for(let e=1;e<o.length;e++){let r=B(t,o[e],l);s=(0,n.T9)(r.top,s),c=(0,n.jk)(r.right,c),h=(0,n.jk)(r.bottom,h),d=(0,n.T9)(r.left,d)}return{width:c-d,height:h-s,x:d,y:s}}function S(e){let{width:t,height:r}=x(e);return{width:t,height:r}}function k(e,t,r){let a=(0,A.sb)(t),l=(0,A.ep)(t),o="fixed"===r,i=b(e,!0,o,t),s={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(0);if((a||!o)&&(("body"!==(0,A.mq)(t)||(0,A.ZU)(l))&&(s=(0,A.CP)(t)),a)){let e=b(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!a&&l&&(c.x=Z(l));let h=!l||a||o?(0,n.Jx)(0):y(l,s);return{x:i.left+s.scrollLeft-c.x-h.x,y:i.top+s.scrollTop-c.y-h.y,width:i.width,height:i.height}}function N(e){return"static"===(0,A.L9)(e).position}function T(e,t){if(!(0,A.sb)(e)||"fixed"===(0,A.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,A.ep)(e)===r&&(r=r.ownerDocument.body),r}function I(e,t){let r=(0,A.zk)(e);if((0,A.Tf)(e))return r;if(!(0,A.sb)(e)){let t=(0,A.$4)(e);for(;t&&!(0,A.eu)(t);){if((0,A.vq)(t)&&!N(t))return t;t=(0,A.$4)(t)}return r}let n=T(e,t);for(;n&&(0,A.Lv)(n)&&N(n);)n=T(n,t);return n&&(0,A.eu)(n)&&N(n)&&!(0,A.sQ)(n)?r:n||(0,A.gJ)(e)||r}let O=async function(e){let t=this.getOffsetParent||I,r=this.getDimensions,n=await r(e.floating);return{reference:k(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function D(e){return"rtl"===(0,A.L9)(e).direction}let P={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:a,strategy:l}=e,o="fixed"===l,i=(0,A.ep)(a),s=!!t&&(0,A.Tf)(t.floating);if(a===i||s&&o)return r;let c={scrollLeft:0,scrollTop:0},h=(0,n.Jx)(1),d=(0,n.Jx)(0),u=(0,A.sb)(a);if((u||!o)&&(("body"!==(0,A.mq)(a)||(0,A.ZU)(i))&&(c=(0,A.CP)(a)),u)){let e=b(a);h=H(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}let f=!i||u||o?(0,n.Jx)(0):y(i,c);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-c.scrollLeft*h.x+d.x+f.x,y:r.y*h.y-c.scrollTop*h.y+d.y+f.y}},getDocumentElement:A.ep,getClippingRect:_,getOffsetParent:I,getElementRects:O,getClientRects:C,getDimensions:S,getScale:H,isElement:A.vq,isRTL:D};function F(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function U(e,t,r){let a,l=null,o=(0,A.ep)(e);function i(){var e;clearTimeout(a),null==(e=l)||e.disconnect(),l=null}function s(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),i();let h=e.getBoundingClientRect(),{left:d,top:u,width:f,height:p}=h;if(r||t(),!f||!p)return;let w={rootMargin:-(0,n.RI)(u)+"px "+-(0,n.RI)(o.clientWidth-(d+f))+"px "+-(0,n.RI)(o.clientHeight-(u+p))+"px "+-(0,n.RI)(d)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,c))||1},v=!0;function m(t){let r=t[0].intersectionRatio;if(!F(h,e.getBoundingClientRect()))return s();if(r!==c){if(!v)return s();r?s(!1,r):a=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{l=new IntersectionObserver(m,{...w,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(m,w)}l.observe(e)}let c=(0,A.zk)(e),h=()=>s(r);return c.addEventListener("resize",h),s(!0),()=>{c.removeEventListener("resize",h),i()}}function W(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,h=g(e),d=l||o?[...h?(0,A.v9)(h):[],...t?(0,A.v9)(t):[]]:[];d.forEach(e=>{l&&e.addEventListener("scroll",r),o&&e.addEventListener("resize",r)});let u=h&&s?U(h,r,o):null,f=-1,p=null;i&&(p=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),r()}),h&&!c&&p.observe(h),t&&p.observe(t));let w=c?b(e):null;function v(){let t=b(e);w&&!F(w,t)&&r(),w=t,a=requestAnimationFrame(v)}return c&&v(),r(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==u||u(),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(a)}}let q=v,K=c,G=m,Y=u,Q=s,X=(e,t,r)=>{let n=new Map,a=null!=r?r:{},l={...P,...a.platform,_c:n};return i(e,t,{...a,platform:l})}},26584(e,t,r){"use strict";r.d(t,{Ej:()=>v,UE:()=>A,UU:()=>w,cY:()=>p,jD:()=>m,we:()=>u});var n=r(4291),a=r(43925),l=r(43144),o=function(){},i="u">typeof document?a.useLayoutEffect:o;function s(e,t){let r,n,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){let r=a[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function c(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function h(e,t){let r=c(e);return Math.round(t*r)/r}function d(e){let t=a.useRef(e);return i(()=>{t.current=e}),t}function u(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:u,elements:{reference:f,floating:p}={},transform:w=!0,whileElementsMounted:v,open:m}=e,[A,x]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,H]=a.useState(o);s(g,o)||H(o);let[M,V]=a.useState(null),[j,b]=a.useState(null),Z=a.useCallback(e=>{e!==R.current&&(R.current=e,V(e))},[]),y=a.useCallback(e=>{e!==z.current&&(z.current=e,b(e))},[]),C=f||M,E=p||j,R=a.useRef(null),z=a.useRef(null),L=a.useRef(A),B=null!=v,$=d(v),_=d(u),S=d(m),k=a.useCallback(()=>{if(!R.current||!z.current)return;let e={placement:t,strategy:r,middleware:g};_.current&&(e.platform=_.current),(0,n.rD)(R.current,z.current,e).then(e=>{let t={...e,isPositioned:!1!==S.current};N.current&&!s(L.current,t)&&(L.current=t,l.flushSync(()=>{x(t)}))})},[g,t,r,_,S]);i(()=>{!1===m&&L.current.isPositioned&&(L.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[m]);let N=a.useRef(!1);i(()=>(N.current=!0,()=>{N.current=!1}),[]),i(()=>{if(C&&(R.current=C),E&&(z.current=E),C&&E){if($.current)return $.current(C,E,k);k()}},[C,E,k,$,B]);let T=a.useMemo(()=>({reference:R,floating:z,setReference:Z,setFloating:y}),[Z,y]),I=a.useMemo(()=>({reference:C,floating:E}),[C,E]),O=a.useMemo(()=>{let e={position:r,left:0,top:0};if(!I.floating)return e;let t=h(I.floating,A.x),n=h(I.floating,A.y);return w?{...e,transform:"translate("+t+"px, "+n+"px)",...c(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,w,I.floating,A.x,A.y]);return a.useMemo(()=>({...A,update:k,refs:T,elements:I,floatingStyles:O}),[A,k,T,I,O])}let f=e=>{function t(e){return({}).hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(r){let{element:a,padding:l}="function"==typeof e?e(r):e;return a&&t(a)?null!=a.current?(0,n.UE)({element:a.current,padding:l}).fn(r):{}:a?(0,n.UE)({element:a,padding:l}).fn(r):{}}}},p=(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},w=(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},m=(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}},A=(e,t)=>{let r=f(e);return{name:r.name,fn:r.fn,options:[e,t]}}},10855(e,t,r){"use strict";r.d(t,{SV:()=>m,we:()=>ee});var n=r(43925);function a(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function l(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}let o=null;function i(e){let t=e.activeElement;for(;(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function s(e){return(null==e?void 0:e.ownerDocument)||document}var c=function(){},h="u">typeof document?n.useLayoutEffect:c;let d={...n}.useInsertionEffect||(e=>e());function u(e){let t=n.useRef(()=>{});return d(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}function f(e,t,r){if("function"==typeof r)return r(t);if(r)return r.includes(t);let n=e.current[t];return null==n||n.hasAttribute("disabled")||"true"===n.getAttribute("aria-disabled")}let p=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});r(31085);var w=r(1860);r(43144);var v=r(26584);function m(e){let t=n.useRef(void 0),r=n.useCallback(t=>{let r=e.map(e=>{if(null!=e){if("function"==typeof e){let r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}}});return()=>{r.forEach(e=>null==e?void 0:e())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}let A="data-floating-ui-focusable",x="active",g="selected",H="ArrowLeft",M="ArrowRight",V="ArrowUp",j="ArrowDown",b={...n},Z=!1,y=0,C=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+y++;function E(){let[e,t]=n.useState(()=>Z?C():void 0);return h(()=>{null==e&&t(C())},[]),n.useEffect(()=>{Z=!0},[]),e}let R=b.useId||E;function z(){let e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}let L=n.createContext(null),B=n.createContext(null),$=()=>{var e;return(null==(e=n.useContext(L))?void 0:e.id)||null},_=()=>n.useContext(B),S=null,k=0;function N(e){return(null==e?void 0:e.ownerDocument)||document}let T={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function I(e){return"inert"===e?T.inert:"aria-hidden"===e?T["aria-hidden"]:T.none}let O=new WeakSet,D=null,P=0;function F(e){return e?isShadowRoot(e)?e.host:F(e.parentNode):null}let U=(e,t)=>t.map(t=>{if(e.contains(t))return t;let r=F(t);return e.contains(r)?r:null}).filter(e=>null!=e);function W(e,t,r,n){let a="data-floating-ui-inert",l=n?"inert":r?"aria-hidden":null,o=U(t,e),i=new Set,s=new Set(o),c=[];D[a]||(D[a]=new WeakMap);let h=D[a];function d(e){!(!e||i.has(e))&&(i.add(e),e.parentNode&&d(e.parentNode))}function u(e){!e||s.has(e)||[].forEach.call(e.children,e=>{if("script"!==getNodeName(e))if(i.has(e))u(e);else{let t=l?e.getAttribute(l):null,r=null!==t&&"false"!==t,n=I(l),o=(n.get(e)||0)+1,i=(h.get(e)||0)+1;n.set(e,o),h.set(e,i),c.push(e),1===o&&r&&O.add(e),1===i&&e.setAttribute(a,""),!r&&l&&e.setAttribute(l,"inert"===l?"":"true")}})}return o.forEach(d),u(t),i.clear(),P++,()=>{c.forEach(e=>{let t=I(l),r=(t.get(e)||0)-1,n=(h.get(e)||0)-1;t.set(e,r),h.set(e,n),r||(!O.has(e)&&l&&e.removeAttribute(l),O.delete(e)),n||e.removeAttribute(a)}),--P||(T.inert=new WeakMap,T["aria-hidden"]=new WeakMap,T.none=new WeakMap,O=new WeakSet,D={})}}let q=null,K=null,G=()=>React.useContext(q),Y=20,Q=null;function X(){Q=Q.filter(e=>{var t;return null==(t=e.deref())?void 0:t.isConnected})}function J(e){let{open:t=!1,onOpenChange:r,elements:a}=e,l=R(),o=n.useRef({}),[i]=n.useState(()=>z()),s=null!=$(),[c,h]=n.useState(a.reference),d=u((e,t,n)=>{o.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:n,nested:s}),null==r||r(e,t,n)}),f=n.useMemo(()=>({setPositionReference:h}),[]),p=n.useMemo(()=>({reference:c||a.reference||null,floating:a.floating||null,domReference:a.reference}),[c,a.reference,a.floating]);return n.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:i,floatingId:l,refs:f}),[t,d,p,i,l,f])}function ee(e){var t,r;let{elements:a,...l}=void 0===e?{}:e,{nodeId:o}=l,i=J({...l,elements:{reference:null!=(t=null==a?void 0:a.reference)?t:null,floating:null!=(r=null==a?void 0:a.floating)?r:null}}),s=l.rootContext||i,c=s.elements,[d,u]=n.useState(null),[f,p]=n.useState(null),m=(null==c?void 0:c.domReference)||d,A=n.useRef(null),x=_();h(()=>{m&&(A.current=m)},[m]);let g=(0,v.we)({...l,elements:{...c,...f&&{reference:f}}}),H=n.useCallback(e=>{let t=(0,w.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;p(t),g.refs.setReference(t)},[g.refs]),M=n.useCallback(e=>{((0,w.vq)(e)||null===e)&&(A.current=e,u(e)),((0,w.vq)(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!(0,w.vq)(e))&&g.refs.setReference(e)},[g.refs]),V=n.useMemo(()=>({...g.refs,setReference:M,setPositionReference:H,domReference:A}),[g.refs,M,H]),j=n.useMemo(()=>({...g.elements,domReference:m}),[g.elements,m]),b=n.useMemo(()=>({...g,...s,refs:V,elements:j,nodeId:o}),[g,V,j,o,s]);return h(()=>{s.dataRef.current.floatingContext=b;let e=null==x?void 0:x.nodesRef.current.find(e=>e.id===o);e&&(e.context=b)}),n.useMemo(()=>({...g,context:b,refs:V,elements:j}),[g,V,j,b])}let et="Escape";function er(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function en(e,t){let[r,n]=React.useState(e);return e&&!r&&n(!0),React.useEffect(()=>{if(!e&&r){let e=setTimeout(()=>n(!1),t);return()=>clearTimeout(e)}},[e,r,t]),r}},1860(e,t,r){"use strict";let n;function a(){return"u">typeof window}function l(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!a()&&(e instanceof Node||e instanceof o(e).Node)}function c(e){return!!a()&&(e instanceof Element||e instanceof o(e).Element)}function h(e){return!!a()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function d(e){return!(!a()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=M(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==a&&"contents"!==a}function f(e){return/^(table|td|th)$/.test(l(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}r.d(t,{$4:()=>j,CP:()=>V,L9:()=>M,Lv:()=>f,Tc:()=>g,Tf:()=>p,ZU:()=>u,_m:()=>y,ep:()=>i,eu:()=>H,gJ:()=>x,mq:()=>l,sQ:()=>A,sb:()=>h,v9:()=>Z,vq:()=>c,zk:()=>o});let w=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;function A(e){let t=c(e)?M(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!g()&&(m(t.backdropFilter)||m(t.filter))||w.test(t.willChange||"")||v.test(t.contain||"")}function x(e){let t=j(e);for(;h(t)&&!H(t);){if(A(t))return t;if(p(t))break;t=j(t)}return null}function g(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function H(e){return/^(html|body|#document)$/.test(l(e))}function M(e){return o(e).getComputedStyle(e)}function V(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||i(e);return d(t)?t.host:t}function b(e){let t=j(e);return H(t)?(e.ownerDocument||e).body:h(t)&&u(t)?t:b(t)}function Z(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let a=b(e),l=a===(null==(n=e.ownerDocument)?void 0:n.body),i=o(a);if(!l)return t.concat(a,Z(a,[],r));{let e=y(i);return t.concat(i,i.visualViewport||[],u(a)?a:[],e&&r?Z(e):[])}}function y(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},22166(e,t,r){"use strict";r.d(t,{B1:()=>R,C0:()=>u,Dz:()=>m,Jx:()=>s,LI:()=>o,RI:()=>i,Sg:()=>f,T9:()=>l,TV:()=>v,WJ:()=>x,_3:()=>d,bV:()=>y,jk:()=>a,lP:()=>Z,nI:()=>E,qE:()=>h,r_:()=>n,sq:()=>w,w7:()=>A});let n=["top","right","bottom","left"],a=Math.min,l=Math.max,o=Math.round,i=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t,r){return l(e,a(t,r))}function d(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function w(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return p(v(e))}function A(e,t,r){void 0===r&&(r=!1);let n=f(e),a=m(e),l=w(a),o="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=y(o)),[o,y(o)]}function x(e){let t=y(e);return[g(e),t,g(t)]}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let H=["left","right"],M=["right","left"],V=["top","bottom"],j=["bottom","top"];function b(e,t,r){switch(e){case"top":case"bottom":if(r)return t?M:H;return t?H:M;case"left":case"right":return t?V:j;default:return[]}}function Z(e,t,r,n){let a=f(e),l=b(u(e),"start"===r,n);return a&&(l=l.map(e=>e+"-"+a),t&&(l=l.concat(l.map(g)))),l}function y(e){let t=u(e);return c[t]+e.slice(t.length)}function C(e){var t,r,n,a;return{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(a=e.left)?a:0}}function E(e){return"number"!=typeof e?C(e):{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}},19264(e,t,r){"use strict";r.d(t,{K:()=>i});let n=new Map,a=!1;try{a="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let l=!1;try{l="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let o={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class i{constructor(e,t={}){this.numberFormatter=s(e,t),this.options=t}format(e){let t="";if(t=a||null==this.options.signDisplay?this.numberFormatter.format(e):c(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!l){let{unit:e,unitDisplay:r="short",locale:n}=this.resolvedOptions();if(!e)return t;let a=o[e]?.[r];t+=a[n]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return a||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),l||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}}function s(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!l){let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!o[e]?.[r])throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n.has(a))return n.get(a);let i=new Intl.NumberFormat(e,t);return n.set(a,i),i}function c(e,t,r){if("auto"===t)return e.format(r);{if("never"===t)return e.format(Math.abs(r));let n=!1;if("always"===t?n=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),!n)return e.format(r);{let t=e.format(-r),n=e.format(r),a=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...a].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(a,"+").replace("!!!",n)}}}},72103(e,t,r){"use strict";r.d(t,{d:()=>o});var n=r(19264);let a=RegExp("^.*\\(.*\\).*$"),l=["latn","arab","hanidec","deva","beng","fullwide"];class o{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return s(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,r){return s(this.locale,this.options,e).isValidPartialNumber(e,t,r)}getNumberingSystem(e){return s(this.locale,this.options,e).options.numberingSystem}}let i=new Map;function s(e,t,r){let n=c(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of l)if(a!==n.options.numberingSystem){let n=c(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(n.isValidPartialNumber(r))return n}}return n}function c(e,t){let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),n=i.get(r);return n||(n=new h(e,t),i.set(r,n)),n}class h{constructor(e,t={}){this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=f(e,this.formatter,this.options,t),"percent"===this.options.style&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(e){let t=this.formatter.resolvedOptions().useGrouping,r=this.sanitize(e);if(!t&&this.symbols.group&&r.includes(this.symbols.group))return NaN;if(this.symbols.group&&(r=r.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=r.indexOf("-"),t=(r=(r=r.replace("-","")).replace("+","")).indexOf(".");-1===t&&(t=r.length),r=r.replace(".",""),r=t-2==0?`0.${r}`:t-2==-1?`0.0${r}`:t-2==-2?"0.00":`${r.slice(0,t-2)}.${r.slice(t-2)}`,e>-1&&(r=`-${r}`)}let l=r?+r:NaN;if(isNaN(l))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new o(this.locale,e).parse(new(0,n.K)(this.locale,e).format(l))}return"accounting"===this.options.currencySign&&a.test(e)&&(l*=-1),l}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=p(e,",",this.symbols.decimal),e=p(e,String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&t&&(e=p(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&t&&(e=p(e,"'",this.symbols.group)),"'"===this.symbols.group&&e.includes("’")&&t&&(e=p(e,"’",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&t&&(e=p(e," ",this.symbols.group),e=p(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,r=1/0){let n=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1)||0!==this.options.maximumFractionDigits)&&(this.symbols.group&&n&&(e=p(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}}let d=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),u=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function f(e,t,r,n){let a=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0}),l=a.formatToParts(-10000.111),o=a.formatToParts(10000.111),i=u.map(e=>a.formatToParts(e)),s=i.map((e,t)=>{let r=e.find(e=>"unit"===e.type);return r&&!e.some(e=>"integer"===e.type||"fraction"===e.type)?{unit:r.value,value:u[t]}:null}).filter(e=>!!e),c=l.find(e=>"minusSign"===e.type)?.value??"-",h=o.find(e=>"plusSign"===e.type)?.value;h||n?.signDisplay!=="exceptZero"&&n?.signDisplay!=="always"||(h="+");let f=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),p=f.find(e=>"decimal"===e.type)?.value,v=l.find(e=>"group"===e.type)?.value,m=[...new Set([...l.filter(e=>!d.has(e.type)).map(e=>w(e.value)),...i.flatMap(e=>e.filter(e=>!d.has(e.type)).map(e=>w(e.value)))])].sort((e,t)=>t.length-e.length),A=0===m.length?RegExp("\\p{White_Space}|\\p{Cf}","gu"):RegExp(`${m.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),x=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),g=new Map(x.map((e,t)=>[e,t]));return{minusSign:c,plusSign:h,decimal:p,group:v,literals:A,numeral:RegExp(`[${x.join("")}]`,"g"),numerals:x,index:e=>String(g.get(e)),noNumeralUnits:s}}function p(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function w(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},32280(e,t,r){"use strict";r.d(t,{O:()=>s});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return a(r.overflowY,t)||a(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},o=(e,t,r,n,a,l,o,i)=>l<e&&o>t||l>e&&o<t?0:l<=e&&i<=r||o>=t&&i>=r?l-e-n:o>t&&i<r||l<e&&i>r?o-t+a:0,i=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,a,s,c;if("u"<typeof document)return[];let{scrollMode:h,block:d,inline:u,boundary:f,skipOverflowHiddenElements:p}=t,w="function"==typeof f?f:e=>e!==f;if(!n(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,m=[],A=e;for(;n(A)&&w(A);){if((A=i(A))===v){m.push(A);break}null!=A&&A===document.body&&l(A)&&!l(document.documentElement)||null!=A&&l(A,p)&&m.push(A)}let x=null!=(a=null==(r=window.visualViewport)?void 0:r.width)?a:innerWidth,g=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:H,scrollY:M}=window,{height:V,width:j,top:b,right:Z,bottom:y,left:C}=e.getBoundingClientRect(),{top:E,right:R,bottom:z,left:L}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),B="start"===d||"nearest"===d?b-E:"end"===d?y+z:b+V/2-E+z,$="center"===u?C+j/2-L+R:"end"===u?Z+R:C-L,_=[];for(let e=0;e<m.length;e++){let t=m[e],{height:r,width:n,top:a,right:i,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===h&&b>=0&&C>=0&&y<=g&&Z<=x&&(t===v&&!l(t)||b>=a&&y<=s&&C>=c&&Z<=i))break;let f=getComputedStyle(t),p=parseInt(f.borderLeftWidth,10),w=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),E=parseInt(f.borderBottomWidth,10),R=0,z=0,L="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-A:0,S="offsetHeight"in t?t.offsetHeight-t.clientHeight-w-E:0,k="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,N="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(v===t)R="start"===d?B:"end"===d?B-g:"nearest"===d?o(M,M+g,g,w,E,M+B,M+B+V,V):B-g/2,z="start"===u?$:"center"===u?$-x/2:"end"===u?$-x:o(H,H+x,x,p,A,H+$,H+$+j,j),R=Math.max(0,R+M),z=Math.max(0,z+H);else{R="start"===d?B-a-w:"end"===d?B-s+E+S:"nearest"===d?o(a,s,r,w,E+S,B,B+V,V):B-(a+r/2)+S/2,z="start"===u?$-c-p:"center"===u?$-(c+n/2)+L/2:"end"===u?$-i+A+L:o(c,i,n,p,A+L,$,$+j,j);let{scrollLeft:e,scrollTop:l}=t;R=0===N?0:Math.max(0,Math.min(l+R/N,t.scrollHeight-r/N+S)),z=0===k?0:Math.max(0,Math.min(e+z/k,t.scrollWidth-n/k+L)),B+=l-R,$+=e-z}_.push({el:t,top:R,left:z})}return _}},39543(e,t,r){"use strict";function n(e,t,{signal:r,edges:a}={}){let l,o=null,i=null!=a&&a.includes("leading"),s=null==a||a.includes("trailing"),c=()=>{null!==o&&(e.apply(l,o),l=void 0,o=null)},h=()=>{s&&c(),p()},d=null,u=()=>{null!=d&&clearTimeout(d),d=setTimeout(()=>{d=null,h()},t)},f=()=>{null!==d&&(clearTimeout(d),d=null)},p=()=>{f(),l=void 0,o=null},w=()=>{c()},v=function(...e){if(r?.aborted)return;l=this,o=e;let t=null==d;u(),i&&t&&c()};return v.schedule=u,v.cancel=p,v.flush=w,r?.addEventListener("abort",p,{once:!0}),v}function a(e,t=0,r={}){let l;"object"!=typeof r&&(r={});let{leading:o=!1,trailing:i=!0,maxWait:s}=r,c=[,,];o&&(c[0]="leading"),i&&(c[1]="trailing");let h=null,d=n(function(...t){l=e.apply(this,t),h=null},t,{edges:c}),u=function(...t){return null!=s&&(null===h&&(h=Date.now()),Date.now()-h>=s)?(l=e.apply(this,t),h=Date.now(),d.cancel(),d.schedule(),l):(d.apply(this,t),l)},f=()=>(d.flush(),l);return u.cancel=d.cancel,u.flush=f,u}r.d(t,{s:()=>a})},85608(e,t,r){"use strict";r.d(t,{Cl:()=>n});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(89867),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var a=Object.create(null);__webpack_require__.r(a);var l={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&r;("object"==typeof o||"function"==typeof o)&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach(e=>{l[e]=()=>r[e]});return l.default=()=>r,__webpack_require__.d(a,l),a}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="@kenyaemr/esm-express-workflow-app:";__webpack_require__.l=function(r,n,a,l){if(e[r])return void e[r].push(n);if(void 0!==a)for(var o,i,s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var h=s[c];if(h.getAttribute("src")==r||h.getAttribute("data-rspack")==t+a){o=h;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-rspack",t+a),o.src=r),e[r]=[n];var d=function(t,n){o.onerror=o.onload=null,clearTimeout(u);var a=e[r];if(delete e[r],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),i&&document.head.appendChild(o)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5047",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865"),__webpack_require__.e("1558"),__webpack_require__.e("2635")]).then(()=>()=>__webpack_require__(18170)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("1789"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("2842"),__webpack_require__.e("5086"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("1442")]).then(()=>()=>__webpack_require__(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("9771")]).then(()=>()=>__webpack_require__(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{2635:["80976","36142","58088"],1889:["80976","36142","43925","1487","58088"],6259:["36510"],1865:["97744"],1558:["43925"],5762:["75721"],934:["3813"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("2842"),__webpack_require__.e("5086")]).then(()=>()=>__webpack_require__(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1789").then(()=>()=>__webpack_require__(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("2152").then(()=>()=>__webpack_require__(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("9061")]).then(()=>()=>__webpack_require__(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))}},initialConsumes:["80976","36142","43925","1487","58088"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{var e={1889:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(t))e[t]=0;else{var a=new Promise((r,a)=>n=e[t]=[r,a]);r.push(n[2]=a);var l=__webpack_require__.p+__webpack_require__.u(t),o=Error(),i=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),l=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+l+")",o.name="ChunkLoadError",o.type=a,o.request=l,n[1](o)}};__webpack_require__.l(l,i,"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[l,o,i]=r,s=0;if(l.some(t=>0!==e[t])){for(n in o)__webpack_require__.o(o,n)&&(__webpack_require__.m[n]=o[n]);i&&i(__webpack_require__)}for(t&&t(r);s<l.length;s++)a=l[s],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(64286)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x()})();
|
|
22
|
+
while loading "${o[1]}" from ${o[2]}`),n.m[e]=()=>{throw t},o.p=0},d=(e,t,n,a,l,i)=>{try{let c=e(t,n);if(!c||!c.then)return l(c,a,i);{let e=c.then(e=>l(e,a),s);if(!i)return e;r.push(o.p=e)}}catch(e){s(e)}},u=(e,t,r)=>e?d(n.I,o[0],0,e,f,r):s();var f=(e,r,n)=>d(r.get,o[1],t,0,p,n),p=t=>{o.p=1,n.m[e]=e=>{e.exports=t()}};let w=()=>{try{let e=l.decodeName(i[0].name,l.ENCODE_NAME_PREFIX)+o[1].slice(1),t=n.federation.instance,r=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(o[0])).then(()=>r());return r()}catch(e){s(e)}};1===i.length&&a.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?d(w,o[2],0,0,p,1):d(n,o[2],0,0,u,1)})}function h(e){i(e);let{chunkId:t,promises:r,installedModules:n,webpackRequire:a,chunkMapping:l,moduleToHandlerMapping:s}=e;o(a),a.o(l,t)&&l[t].forEach(e=>{if(a.o(n,e))return r.push(n[e]);let t=t=>{n[e]=0,a.m[e]=r=>{delete a.c[e];let n=t(),{shareInfo:l}=s[e];if(l?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=l.shareConfig.layer)}catch(e){}r.exports=n}},l=t=>{delete n[e],a.m[e]=r=>{throw delete a.c[e],t}};try{let o=a.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,getter:c,shareInfo:h}=s[e],d=o.loadShare(i,{customShareInfo:h}).then(e=>!1===e?c():e);d.then?r.push(n[e]=d.then(t).catch(l)):t(d)}catch(e){l(e)}})}function d({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:n,initScope:l}){let i=Array.isArray(e)?e:[e];var s=[],c=function(i){l||(l=[]);let s=t.federation.instance;var c=n[i];if(c||(c=n[i]={from:s.name}),l.indexOf(c)>=0)return;l.push(c);let h=r[i];if(h)return h;var d=e=>"u">typeof console&&console.warn&&console.warn(e),u=r=>{var n=e=>d("Initialization of sharing external failed: "+e);try{var a=t(r);if(!a)return;var o=r=>r&&r.init&&r.init(t.S[i],l,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return f.push(a.then(o,n));var s=o(a);if(s&&"boolean"!=typeof s&&s.then)return f.push(s.catch(n))}catch(e){n(e)}};let f=s.initializeSharing(i,{strategy:s.options.shareStrategy,initScope:l,from:"build"});o(t);let p=t.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)u(r);else if(1===t.length){let e=t[0];a.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||u(r)}}),f.length)?r[i]=Promise.all(f).then(()=>r[i]=!0):r[i]=!0};return i.forEach(e=>{s.push(c(e))}),Promise.all(s).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:l,shareInfo:o}=r[t];try{return a.loadShareSync(l,{customShareInfo:o})}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}}function f(e){let{webpackRequire:t}=e;i(e);let{initialConsumes:r,moduleToHandlerMapping:n,installedModules:a}=e;r.forEach(e=>{t.m[e]=r=>{a[e]=0,delete t.c[e];let l=u({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t});if("function"!=typeof l)throw Error(`Shared module is not available for eager consumption: ${e}`);let o=l(),{shareInfo:i}=n[e];if(i?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=i.shareConfig.layer)}catch(e){}r.exports=o}})}function p(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:a,remoteEntryInitOptions:l}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let o=t.federation.instance;o.initOptions({name:t.federation.initOptions.name,remotes:[],...l});let i=l?.shareScopeKeys,s=l?.shareScopeMap;if(a&&"string"!=typeof a)a.forEach(e=>{if(!i||!s)return void o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}});s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})});else{let e=a||"default";Array.isArray(i)?i.forEach(e=>{s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})}):o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(a))?t.federation.initOptions.shared?t.I(a,n):Promise.all(a.map(e=>t.I(e,n))).then(()=>!0):t.I(a||"default",n)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var r in e)t[r]=e[r];return t.default=e,Object.freeze(t)}(n),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:c,consumes:h,I:d,S:{},installInitialConsumes:f,initContainerEntry:p},attachShareScopeMap:o,bundlerRuntimeOptions:{}}},53373(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,n(r)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var l in e)t.call(e,l)&&e[l]&&(n=a(n,l));return n}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()},89575(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},17502(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},4291(e,t,r){"use strict";r.d(t,{UE:()=>Q,UU:()=>K,cY:()=>q,rD:()=>X,ll:()=>W,jD:()=>Y,Ej:()=>G});var n=r(22166);function a(e,t,r){let a,{reference:l,floating:o}=e,i=(0,n.TV)(t),s=(0,n.Dz)(t),c=(0,n.sq)(s),h=(0,n.C0)(t),d="y"===i,u=l.x+l.width/2-o.width/2,f=l.y+l.height/2-o.height/2,p=l[c]/2-o[c]/2;switch(h){case"top":a={x:u,y:l.y-o.height};break;case"bottom":a={x:u,y:l.y+l.height};break;case"right":a={x:l.x+l.width,y:f};break;case"left":a={x:l.x-o.width,y:f};break;default:a={x:l.x,y:l.y}}let w=(0,n.Sg)(t);return w&&(a[s]+=p*("end"===w?1:-1)*(r&&d?-1:1)),a}async function l(e,t){var r;void 0===t&&(t={});let{x:a,y:l,platform:o,rects:i,elements:s,strategy:c}=e,{boundary:h="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=(0,n._3)(t,e),w=(0,n.nI)(p),v="floating"===u?"reference":"floating",m=s[f?v:u],A=(0,n.B1)(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:h,rootBoundary:d,strategy:c})),x="floating"===u?{x:a,y:l,width:i.floating.width,height:i.floating.height}:i.reference,g=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),H=await (null==o.isElement?void 0:o.isElement(g))&&await (null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},M=(0,n.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:g,strategy:c}):x);return{top:(A.top-M.top+w.top)/H.y,bottom:(M.bottom-A.bottom+w.bottom)/H.y,left:(A.left-M.left+w.left)/H.x,right:(M.right-A.right+w.right)/H.x}}let o=50,i=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,h=c.detectOverflow?c:{...c,detectOverflow:l},d=await (null==c.isRTL?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:p}=a(u,n,d),w=n,v=0,m={};for(let r=0;r<s.length;r++){let l=s[r];if(!l)continue;let{name:A,fn:x}=l,{x:g,y:H,data:M,reset:V}=await x({x:f,y:p,initialPlacement:n,placement:w,strategy:i,middlewareData:m,rects:u,platform:h,elements:{reference:e,floating:t}});f=null!=g?g:f,p=null!=H?H:p,m[A]={...m[A],...M},V&&v<o&&(v++,"object"==typeof V&&(V.placement&&(w=V.placement),V.rects&&(u=!0===V.rects?await c.getElementRects({reference:e,floating:t,strategy:i}):V.rects),{x:f,y:p}=a(u,w,d)),r=-1)}return{x:f,y:p,placement:w,strategy:i,middlewareData:m}},s=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:a,placement:l,rects:o,platform:i,elements:s,middlewareData:c}=t,{element:h,padding:d=0}=(0,n._3)(e,t)||{};if(null==h)return{};let u=(0,n.nI)(d),f={x:r,y:a},p=(0,n.Dz)(l),w=(0,n.sq)(p),v=await i.getDimensions(h),m="y"===p,A=m?"top":"left",x=m?"bottom":"right",g=m?"clientHeight":"clientWidth",H=o.reference[w]+o.reference[p]-f[p]-o.floating[w],M=f[p]-o.reference[p],V=await (null==i.getOffsetParent?void 0:i.getOffsetParent(h)),j=V?V[g]:0;j&&await (null==i.isElement?void 0:i.isElement(V))||(j=s.floating[g]||o.floating[w]);let b=H/2-M/2,Z=j/2-v[w]/2-1,y=(0,n.jk)(u[A],Z),C=(0,n.jk)(u[x],Z),E=j-v[w]-C,R=j/2-v[w]/2+b,z=(0,n.qE)(y,R,E),L=!c.arrow&&null!=(0,n.Sg)(l)&&R!==z&&o.reference[w]/2-(R<y?y:C)-v[w]/2<0,B=L?R<y?R-y:R-E:0;return{[p]:f[p]+B,data:{[p]:z,centerOffset:R-z-B,...L&&{alignmentOffset:B}},reset:L}}}),c=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,a,l,o,i;let{placement:s,middlewareData:c,rects:h,initialPlacement:d,platform:u,elements:f}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:x=!0,...g}=(0,n._3)(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let H=(0,n.C0)(s),M=(0,n.TV)(d),V=(0,n.C0)(d)===d,j=await (null==u.isRTL?void 0:u.isRTL(f.floating)),b=v||(V||!x?[(0,n.bV)(d)]:(0,n.WJ)(d)),Z="none"!==A;!v&&Z&&b.push(...(0,n.lP)(d,x,A,j));let y=[d,...b],C=await u.detectOverflow(t,g),E=[],R=(null==(a=c.flip)?void 0:a.overflows)||[];if(p&&E.push(C[H]),w){let e=(0,n.w7)(s,h,j);E.push(C[e[0]],C[e[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(e=>e<=0)){let e=((null==(l=c.flip)?void 0:l.index)||0)+1,t=y[e];if(t&&("alignment"!==w||M===(0,n.TV)(t)||R.every(e=>(0,n.TV)(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let r=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(m){case"bestFit":{let e=null==(i=R.filter(e=>{if(Z){let t=(0,n.TV)(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(r=e);break}case"initialPlacement":r=d}if(s!==r)return{reset:{placement:r}}}return{}}}};function h(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return n.r_.some(t=>e[t]>=0)}let u=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:a}=t,{strategy:l="referenceHidden",...o}=(0,n._3)(e,t);switch(l){case"referenceHidden":{let e=h(await a.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{let e=h(await a.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}};function f(e){let t=min(...e.map(e=>e.left)),r=min(...e.map(e=>e.top));return{x:t,y:r,width:max(...e.map(e=>e.right))-t,height:max(...e.map(e=>e.bottom))-r}}let p=new Set(["left","top"]);async function w(e,t){let{placement:r,platform:a,elements:l}=e,o=await (null==a.isRTL?void 0:a.isRTL(l.floating)),i=(0,n.C0)(r),s=(0,n.Sg)(r),c="y"===(0,n.TV)(r),h=p.has(i)?-1:1,d=o&&c?-1:1,u=(0,n._3)(t,e),{mainAxis:f,crossAxis:w,alignmentAxis:v}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof v&&(w="end"===s?-1*v:v),c?{x:w*d,y:f*h}:{x:f*h,y:w*d}}let v=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:l,placement:o,middlewareData:i}=t,s=await w(t,e);return o===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:a+s.x,y:l+s.y,data:{...s,placement:o}}}}},m=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,a,{placement:l,rects:o,platform:i,elements:s}=t,{apply:c=()=>{},...h}=(0,n._3)(e,t),d=await i.detectOverflow(t,h),u=(0,n.C0)(l),f=(0,n.Sg)(l),p="y"===(0,n.TV)(l),{width:w,height:v}=o.floating;"top"===u||"bottom"===u?(r=u,a=f===(await (null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(a=u,r="end"===f?"top":"bottom");let m=v-d.top-d.bottom,A=w-d.left-d.right,x=(0,n.jk)(v-d[r],m),g=(0,n.jk)(w-d[a],A),H=t.middlewareData.shift,M=!H,V=x,j=g;null!=H&&H.enabled.x&&(j=A),null!=H&&H.enabled.y&&(V=m),M&&!f&&(p?j=w-2*(0,n.T9)(d.left,d.right):V=v-2*(0,n.T9)(d.top,d.bottom)),await c({...t,availableWidth:j,availableHeight:V});let b=await i.getDimensions(s.floating);return w!==b.width||v!==b.height?{reset:{rects:!0}}:{}}}};var A=r(1860);function x(e){let t=(0,A.L9)(e),r=parseFloat(t.width)||0,a=parseFloat(t.height)||0,l=(0,A.sb)(e),o=l?e.offsetWidth:r,i=l?e.offsetHeight:a,s=(0,n.LI)(r)!==o||(0,n.LI)(a)!==i;return s&&(r=o,a=i),{width:r,height:a,$:s}}function g(e){return(0,A.vq)(e)?e:e.contextElement}function H(e){let t=g(e);if(!(0,A.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:a,height:l,$:o}=x(t),i=(o?(0,n.LI)(r.width):r.width)/a,s=(o?(0,n.LI)(r.height):r.height)/l;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}let M=(0,n.Jx)(0);function V(e){let t=(0,A.zk)(e);return(0,A.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:M}function j(e,t,r){return void 0===t&&(t=!1),!!r&&t&&r===(0,A.zk)(e)}function b(e,t,r,a){void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),o=g(e),i=(0,n.Jx)(1);t&&(a?(0,A.vq)(a)&&(i=H(a)):i=H(e));let s=j(o,r,a)?V(o):(0,n.Jx)(0),c=(l.left+s.x)/i.x,h=(l.top+s.y)/i.y,d=l.width/i.x,u=l.height/i.y;if(o&&a){let e=(0,A.zk)(o),t=(0,A.vq)(a)?(0,A.zk)(a):a,r=e,n=(0,A._m)(r);for(;n&&t!==r;){let e=H(n),t=n.getBoundingClientRect(),a=(0,A.L9)(n),l=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;c*=e.x,h*=e.y,d*=e.x,u*=e.y,c+=l,h+=o,r=(0,A.zk)(n),n=(0,A._m)(r)}}return(0,n.B1)({width:d,height:u,x:c,y:h})}function Z(e,t){let r=(0,A.CP)(e).scrollLeft;return t?t.left+r:b((0,A.ep)(e)).left+r}function y(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-Z(e,r),y:r.top+t.scrollTop}}function C(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function E(e){let t=(0,A.CP)(e),r=e.ownerDocument.body,a=(0,n.T9)(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=(0,n.T9)(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),o=-t.scrollLeft+Z(e),i=-t.scrollTop;return"rtl"===(0,A.L9)(r).direction&&(o+=(0,n.T9)(e.clientWidth,r.clientWidth)-a),{width:a,height:l,x:o,y:i}}let R=25;function z(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,a=(0,A.zk)(e),l=(0,A.ep)(e),o=a.visualViewport,i=l.clientWidth,s=l.clientHeight,c=0,h=0;if(o){let e=!(0,A.Tc)()||"fixed"===t;n?e||(c=-o.offsetLeft,h=-o.offsetTop):(i=o.width,s=o.height,e&&(c=o.offsetLeft,h=o.offsetTop))}if(0>=Z(l)){let e=l.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(l.clientWidth-t.clientWidth-n),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?a/2:a;o<=R&&(i-=o)}return{width:i,height:s,x:c,y:h}}function L(e,t){let r=b(e,!0,"fixed"===t),n=r.top+e.clientTop,a=r.left+e.clientLeft,l=H(e),o=e.clientWidth*l.x,i=e.clientHeight*l.y;return{width:o,height:i,x:a*l.x,y:n*l.y}}function B(e,t,r){let a;if("viewport"===t||"layoutViewport"===t)a=z(e,r,t);else if("document"===t)a=E((0,A.ep)(e));else if((0,A.vq)(t))a=L(t,r);else{let r=V(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.B1)(a)}function $(e,t){let r=t.get(e);if(r)return r;let n=(0,A.v9)(e,[],!1).filter(e=>(0,A.vq)(e)&&"body"!==(0,A.mq)(e)),a=null,l="fixed"===(0,A.L9)(e).position,o=l?(0,A.$4)(e):e;for(;(0,A.vq)(o)&&!(0,A.eu)(o);){let e=(0,A.L9)(o),t=(0,A.sQ)(o),r=a?a.position:l?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?a=e:n=n.filter(e=>e!==o),o=(0,A.$4)(o)}return t.set(e,n),n}function _(e){let{element:t,boundary:r,rootBoundary:a,strategy:l}=e,o=[..."clippingAncestors"===r?(0,A.Tf)(t)?[]:$(t,this._c):[].concat(r),a],i=B(t,o[0],l),s=i.top,c=i.right,h=i.bottom,d=i.left;for(let e=1;e<o.length;e++){let r=B(t,o[e],l);s=(0,n.T9)(r.top,s),c=(0,n.jk)(r.right,c),h=(0,n.jk)(r.bottom,h),d=(0,n.T9)(r.left,d)}return{width:c-d,height:h-s,x:d,y:s}}function S(e){let{width:t,height:r}=x(e);return{width:t,height:r}}function k(e,t,r){let a=(0,A.sb)(t),l=(0,A.ep)(t),o="fixed"===r,i=b(e,!0,o,t),s={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(0);if((a||!o)&&(("body"!==(0,A.mq)(t)||(0,A.ZU)(l))&&(s=(0,A.CP)(t)),a)){let e=b(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!a&&l&&(c.x=Z(l));let h=!l||a||o?(0,n.Jx)(0):y(l,s);return{x:i.left+s.scrollLeft-c.x-h.x,y:i.top+s.scrollTop-c.y-h.y,width:i.width,height:i.height}}function N(e){return"static"===(0,A.L9)(e).position}function T(e,t){if(!(0,A.sb)(e)||"fixed"===(0,A.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,A.ep)(e)===r&&(r=r.ownerDocument.body),r}function I(e,t){let r=(0,A.zk)(e);if((0,A.Tf)(e))return r;if(!(0,A.sb)(e)){let t=(0,A.$4)(e);for(;t&&!(0,A.eu)(t);){if((0,A.vq)(t)&&!N(t))return t;t=(0,A.$4)(t)}return r}let n=T(e,t);for(;n&&(0,A.Lv)(n)&&N(n);)n=T(n,t);return n&&(0,A.eu)(n)&&N(n)&&!(0,A.sQ)(n)?r:n||(0,A.gJ)(e)||r}let O=async function(e){let t=this.getOffsetParent||I,r=this.getDimensions,n=await r(e.floating);return{reference:k(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function D(e){return"rtl"===(0,A.L9)(e).direction}let P={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:a,strategy:l}=e,o="fixed"===l,i=(0,A.ep)(a),s=!!t&&(0,A.Tf)(t.floating);if(a===i||s&&o)return r;let c={scrollLeft:0,scrollTop:0},h=(0,n.Jx)(1),d=(0,n.Jx)(0),u=(0,A.sb)(a);if((u||!o)&&(("body"!==(0,A.mq)(a)||(0,A.ZU)(i))&&(c=(0,A.CP)(a)),u)){let e=b(a);h=H(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}let f=!i||u||o?(0,n.Jx)(0):y(i,c);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-c.scrollLeft*h.x+d.x+f.x,y:r.y*h.y-c.scrollTop*h.y+d.y+f.y}},getDocumentElement:A.ep,getClippingRect:_,getOffsetParent:I,getElementRects:O,getClientRects:C,getDimensions:S,getScale:H,isElement:A.vq,isRTL:D};function F(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function U(e,t,r){let a,l=null,o=(0,A.ep)(e);function i(){var e;clearTimeout(a),null==(e=l)||e.disconnect(),l=null}function s(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),i();let h=e.getBoundingClientRect(),{left:d,top:u,width:f,height:p}=h;if(r||t(),!f||!p)return;let w={rootMargin:-(0,n.RI)(u)+"px "+-(0,n.RI)(o.clientWidth-(d+f))+"px "+-(0,n.RI)(o.clientHeight-(u+p))+"px "+-(0,n.RI)(d)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,c))||1},v=!0;function m(t){let r=t[0].intersectionRatio;if(!F(h,e.getBoundingClientRect()))return s();if(r!==c){if(!v)return s();r?s(!1,r):a=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{l=new IntersectionObserver(m,{...w,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(m,w)}l.observe(e)}let c=(0,A.zk)(e),h=()=>s(r);return c.addEventListener("resize",h),s(!0),()=>{c.removeEventListener("resize",h),i()}}function W(e,t,r,n){let a;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,h=g(e),d=l||o?[...h?(0,A.v9)(h):[],...t?(0,A.v9)(t):[]]:[];d.forEach(e=>{l&&e.addEventListener("scroll",r),o&&e.addEventListener("resize",r)});let u=h&&s?U(h,r,o):null,f=-1,p=null;i&&(p=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),r()}),h&&!c&&p.observe(h),t&&p.observe(t));let w=c?b(e):null;function v(){let t=b(e);w&&!F(w,t)&&r(),w=t,a=requestAnimationFrame(v)}return c&&v(),r(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==u||u(),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(a)}}let q=v,K=c,G=m,Y=u,Q=s,X=(e,t,r)=>{let n=new Map,a=null!=r?r:{},l={...P,...a.platform,_c:n};return i(e,t,{...a,platform:l})}},26584(e,t,r){"use strict";r.d(t,{Ej:()=>v,UE:()=>A,UU:()=>w,cY:()=>p,jD:()=>m,we:()=>u});var n=r(4291),a=r(43925),l=r(43144),o=function(){},i="u">typeof document?a.useLayoutEffect:o;function s(e,t){let r,n,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){let r=a[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function c(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function h(e,t){let r=c(e);return Math.round(t*r)/r}function d(e){let t=a.useRef(e);return i(()=>{t.current=e}),t}function u(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:u,elements:{reference:f,floating:p}={},transform:w=!0,whileElementsMounted:v,open:m}=e,[A,x]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,H]=a.useState(o);s(g,o)||H(o);let[M,V]=a.useState(null),[j,b]=a.useState(null),Z=a.useCallback(e=>{e!==R.current&&(R.current=e,V(e))},[]),y=a.useCallback(e=>{e!==z.current&&(z.current=e,b(e))},[]),C=f||M,E=p||j,R=a.useRef(null),z=a.useRef(null),L=a.useRef(A),B=null!=v,$=d(v),_=d(u),S=d(m),k=a.useCallback(()=>{if(!R.current||!z.current)return;let e={placement:t,strategy:r,middleware:g};_.current&&(e.platform=_.current),(0,n.rD)(R.current,z.current,e).then(e=>{let t={...e,isPositioned:!1!==S.current};N.current&&!s(L.current,t)&&(L.current=t,l.flushSync(()=>{x(t)}))})},[g,t,r,_,S]);i(()=>{!1===m&&L.current.isPositioned&&(L.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[m]);let N=a.useRef(!1);i(()=>(N.current=!0,()=>{N.current=!1}),[]),i(()=>{if(C&&(R.current=C),E&&(z.current=E),C&&E){if($.current)return $.current(C,E,k);k()}},[C,E,k,$,B]);let T=a.useMemo(()=>({reference:R,floating:z,setReference:Z,setFloating:y}),[Z,y]),I=a.useMemo(()=>({reference:C,floating:E}),[C,E]),O=a.useMemo(()=>{let e={position:r,left:0,top:0};if(!I.floating)return e;let t=h(I.floating,A.x),n=h(I.floating,A.y);return w?{...e,transform:"translate("+t+"px, "+n+"px)",...c(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,w,I.floating,A.x,A.y]);return a.useMemo(()=>({...A,update:k,refs:T,elements:I,floatingStyles:O}),[A,k,T,I,O])}let f=e=>{function t(e){return({}).hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(r){let{element:a,padding:l}="function"==typeof e?e(r):e;return a&&t(a)?null!=a.current?(0,n.UE)({element:a.current,padding:l}).fn(r):{}:a?(0,n.UE)({element:a,padding:l}).fn(r):{}}}},p=(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},w=(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},m=(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}},A=(e,t)=>{let r=f(e);return{name:r.name,fn:r.fn,options:[e,t]}}},10855(e,t,r){"use strict";r.d(t,{SV:()=>m,we:()=>ee});var n=r(43925);function a(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function l(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}let o=null;function i(e){let t=e.activeElement;for(;(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function s(e){return(null==e?void 0:e.ownerDocument)||document}var c=function(){},h="u">typeof document?n.useLayoutEffect:c;let d={...n}.useInsertionEffect||(e=>e());function u(e){let t=n.useRef(()=>{});return d(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)},[])}function f(e,t,r){if("function"==typeof r)return r(t);if(r)return r.includes(t);let n=e.current[t];return null==n||n.hasAttribute("disabled")||"true"===n.getAttribute("aria-disabled")}let p=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});r(31085);var w=r(1860);r(43144);var v=r(26584);function m(e){let t=n.useRef(void 0),r=n.useCallback(t=>{let r=e.map(e=>{if(null!=e){if("function"==typeof e){let r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}}});return()=>{r.forEach(e=>null==e?void 0:e())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}let A="data-floating-ui-focusable",x="active",g="selected",H="ArrowLeft",M="ArrowRight",V="ArrowUp",j="ArrowDown",b={...n},Z=!1,y=0,C=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+y++;function E(){let[e,t]=n.useState(()=>Z?C():void 0);return h(()=>{null==e&&t(C())},[]),n.useEffect(()=>{Z=!0},[]),e}let R=b.useId||E;function z(){let e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}let L=n.createContext(null),B=n.createContext(null),$=()=>{var e;return(null==(e=n.useContext(L))?void 0:e.id)||null},_=()=>n.useContext(B),S=null,k=0;function N(e){return(null==e?void 0:e.ownerDocument)||document}let T={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function I(e){return"inert"===e?T.inert:"aria-hidden"===e?T["aria-hidden"]:T.none}let O=new WeakSet,D=null,P=0;function F(e){return e?isShadowRoot(e)?e.host:F(e.parentNode):null}let U=(e,t)=>t.map(t=>{if(e.contains(t))return t;let r=F(t);return e.contains(r)?r:null}).filter(e=>null!=e);function W(e,t,r,n){let a="data-floating-ui-inert",l=n?"inert":r?"aria-hidden":null,o=U(t,e),i=new Set,s=new Set(o),c=[];D[a]||(D[a]=new WeakMap);let h=D[a];function d(e){!(!e||i.has(e))&&(i.add(e),e.parentNode&&d(e.parentNode))}function u(e){!e||s.has(e)||[].forEach.call(e.children,e=>{if("script"!==getNodeName(e))if(i.has(e))u(e);else{let t=l?e.getAttribute(l):null,r=null!==t&&"false"!==t,n=I(l),o=(n.get(e)||0)+1,i=(h.get(e)||0)+1;n.set(e,o),h.set(e,i),c.push(e),1===o&&r&&O.add(e),1===i&&e.setAttribute(a,""),!r&&l&&e.setAttribute(l,"inert"===l?"":"true")}})}return o.forEach(d),u(t),i.clear(),P++,()=>{c.forEach(e=>{let t=I(l),r=(t.get(e)||0)-1,n=(h.get(e)||0)-1;t.set(e,r),h.set(e,n),r||(!O.has(e)&&l&&e.removeAttribute(l),O.delete(e)),n||e.removeAttribute(a)}),--P||(T.inert=new WeakMap,T["aria-hidden"]=new WeakMap,T.none=new WeakMap,O=new WeakSet,D={})}}let q=null,K=null,G=()=>React.useContext(q),Y=20,Q=null;function X(){Q=Q.filter(e=>{var t;return null==(t=e.deref())?void 0:t.isConnected})}function J(e){let{open:t=!1,onOpenChange:r,elements:a}=e,l=R(),o=n.useRef({}),[i]=n.useState(()=>z()),s=null!=$(),[c,h]=n.useState(a.reference),d=u((e,t,n)=>{o.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:n,nested:s}),null==r||r(e,t,n)}),f=n.useMemo(()=>({setPositionReference:h}),[]),p=n.useMemo(()=>({reference:c||a.reference||null,floating:a.floating||null,domReference:a.reference}),[c,a.reference,a.floating]);return n.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:i,floatingId:l,refs:f}),[t,d,p,i,l,f])}function ee(e){var t,r;let{elements:a,...l}=void 0===e?{}:e,{nodeId:o}=l,i=J({...l,elements:{reference:null!=(t=null==a?void 0:a.reference)?t:null,floating:null!=(r=null==a?void 0:a.floating)?r:null}}),s=l.rootContext||i,c=s.elements,[d,u]=n.useState(null),[f,p]=n.useState(null),m=(null==c?void 0:c.domReference)||d,A=n.useRef(null),x=_();h(()=>{m&&(A.current=m)},[m]);let g=(0,v.we)({...l,elements:{...c,...f&&{reference:f}}}),H=n.useCallback(e=>{let t=(0,w.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;p(t),g.refs.setReference(t)},[g.refs]),M=n.useCallback(e=>{((0,w.vq)(e)||null===e)&&(A.current=e,u(e)),((0,w.vq)(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!(0,w.vq)(e))&&g.refs.setReference(e)},[g.refs]),V=n.useMemo(()=>({...g.refs,setReference:M,setPositionReference:H,domReference:A}),[g.refs,M,H]),j=n.useMemo(()=>({...g.elements,domReference:m}),[g.elements,m]),b=n.useMemo(()=>({...g,...s,refs:V,elements:j,nodeId:o}),[g,V,j,o,s]);return h(()=>{s.dataRef.current.floatingContext=b;let e=null==x?void 0:x.nodesRef.current.find(e=>e.id===o);e&&(e.context=b)}),n.useMemo(()=>({...g,context:b,refs:V,elements:j}),[g,V,j,b])}let et="Escape";function er(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function en(e,t){let[r,n]=React.useState(e);return e&&!r&&n(!0),React.useEffect(()=>{if(!e&&r){let e=setTimeout(()=>n(!1),t);return()=>clearTimeout(e)}},[e,r,t]),r}},1860(e,t,r){"use strict";let n;function a(){return"u">typeof window}function l(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!a()&&(e instanceof Node||e instanceof o(e).Node)}function c(e){return!!a()&&(e instanceof Element||e instanceof o(e).Element)}function h(e){return!!a()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function d(e){return!(!a()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=M(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==a&&"contents"!==a}function f(e){return/^(table|td|th)$/.test(l(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}r.d(t,{$4:()=>j,CP:()=>V,L9:()=>M,Lv:()=>f,Tc:()=>g,Tf:()=>p,ZU:()=>u,_m:()=>y,ep:()=>i,eu:()=>H,gJ:()=>x,mq:()=>l,sQ:()=>A,sb:()=>h,v9:()=>Z,vq:()=>c,zk:()=>o});let w=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,m=e=>!!e&&"none"!==e;function A(e){let t=c(e)?M(e):e;return m(t.transform)||m(t.translate)||m(t.scale)||m(t.rotate)||m(t.perspective)||!g()&&(m(t.backdropFilter)||m(t.filter))||w.test(t.willChange||"")||v.test(t.contain||"")}function x(e){let t=j(e);for(;h(t)&&!H(t);){if(A(t))return t;if(p(t))break;t=j(t)}return null}function g(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function H(e){return/^(html|body|#document)$/.test(l(e))}function M(e){return o(e).getComputedStyle(e)}function V(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||i(e);return d(t)?t.host:t}function b(e){let t=j(e);return H(t)?(e.ownerDocument||e).body:h(t)&&u(t)?t:b(t)}function Z(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let a=b(e),l=a===(null==(n=e.ownerDocument)?void 0:n.body),i=o(a);if(!l)return t.concat(a,Z(a,[],r));{let e=y(i);return t.concat(i,i.visualViewport||[],u(a)?a:[],e&&r?Z(e):[])}}function y(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},22166(e,t,r){"use strict";r.d(t,{B1:()=>R,C0:()=>u,Dz:()=>m,Jx:()=>s,LI:()=>o,RI:()=>i,Sg:()=>f,T9:()=>l,TV:()=>v,WJ:()=>x,_3:()=>d,bV:()=>y,jk:()=>a,lP:()=>Z,nI:()=>E,qE:()=>h,r_:()=>n,sq:()=>w,w7:()=>A});let n=["top","right","bottom","left"],a=Math.min,l=Math.max,o=Math.round,i=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t,r){return l(e,a(t,r))}function d(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function w(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return p(v(e))}function A(e,t,r){void 0===r&&(r=!1);let n=f(e),a=m(e),l=w(a),o="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=y(o)),[o,y(o)]}function x(e){let t=y(e);return[g(e),t,g(t)]}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let H=["left","right"],M=["right","left"],V=["top","bottom"],j=["bottom","top"];function b(e,t,r){switch(e){case"top":case"bottom":if(r)return t?M:H;return t?H:M;case"left":case"right":return t?V:j;default:return[]}}function Z(e,t,r,n){let a=f(e),l=b(u(e),"start"===r,n);return a&&(l=l.map(e=>e+"-"+a),t&&(l=l.concat(l.map(g)))),l}function y(e){let t=u(e);return c[t]+e.slice(t.length)}function C(e){var t,r,n,a;return{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(a=e.left)?a:0}}function E(e){return"number"!=typeof e?C(e):{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}},19264(e,t,r){"use strict";r.d(t,{K:()=>i});let n=new Map,a=!1;try{a="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let l=!1;try{l="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let o={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class i{constructor(e,t={}){this.numberFormatter=s(e,t),this.options=t}format(e){let t="";if(t=a||null==this.options.signDisplay?this.numberFormatter.format(e):c(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!l){let{unit:e,unitDisplay:r="short",locale:n}=this.resolvedOptions();if(!e)return t;let a=o[e]?.[r];t+=a[n]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return a||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),l||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}}function s(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!l){let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!o[e]?.[r])throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n.has(a))return n.get(a);let i=new Intl.NumberFormat(e,t);return n.set(a,i),i}function c(e,t,r){if("auto"===t)return e.format(r);{if("never"===t)return e.format(Math.abs(r));let n=!1;if("always"===t?n=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),!n)return e.format(r);{let t=e.format(-r),n=e.format(r),a=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...a].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(a,"+").replace("!!!",n)}}}},72103(e,t,r){"use strict";r.d(t,{d:()=>o});var n=r(19264);let a=RegExp("^.*\\(.*\\).*$"),l=["latn","arab","hanidec","deva","beng","fullwide"];class o{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return s(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,r){return s(this.locale,this.options,e).isValidPartialNumber(e,t,r)}getNumberingSystem(e){return s(this.locale,this.options,e).options.numberingSystem}}let i=new Map;function s(e,t,r){let n=c(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of l)if(a!==n.options.numberingSystem){let n=c(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(n.isValidPartialNumber(r))return n}}return n}function c(e,t){let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),n=i.get(r);return n||(n=new h(e,t),i.set(r,n)),n}class h{constructor(e,t={}){this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=f(e,this.formatter,this.options,t),"percent"===this.options.style&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(e){let t=this.formatter.resolvedOptions().useGrouping,r=this.sanitize(e);if(!t&&this.symbols.group&&r.includes(this.symbols.group))return NaN;if(this.symbols.group&&(r=r.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=r.indexOf("-"),t=(r=(r=r.replace("-","")).replace("+","")).indexOf(".");-1===t&&(t=r.length),r=r.replace(".",""),r=t-2==0?`0.${r}`:t-2==-1?`0.0${r}`:t-2==-2?"0.00":`${r.slice(0,t-2)}.${r.slice(t-2)}`,e>-1&&(r=`-${r}`)}let l=r?+r:NaN;if(isNaN(l))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new o(this.locale,e).parse(new(0,n.K)(this.locale,e).format(l))}return"accounting"===this.options.currencySign&&a.test(e)&&(l*=-1),l}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=p(e,",",this.symbols.decimal),e=p(e,String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&t&&(e=p(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&t&&(e=p(e,"'",this.symbols.group)),"'"===this.symbols.group&&e.includes("’")&&t&&(e=p(e,"’",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&t&&(e=p(e," ",this.symbols.group),e=p(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,r=1/0){let n=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1)||0!==this.options.maximumFractionDigits)&&(this.symbols.group&&n&&(e=p(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}}let d=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),u=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function f(e,t,r,n){let a=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0}),l=a.formatToParts(-10000.111),o=a.formatToParts(10000.111),i=u.map(e=>a.formatToParts(e)),s=i.map((e,t)=>{let r=e.find(e=>"unit"===e.type);return r&&!e.some(e=>"integer"===e.type||"fraction"===e.type)?{unit:r.value,value:u[t]}:null}).filter(e=>!!e),c=l.find(e=>"minusSign"===e.type)?.value??"-",h=o.find(e=>"plusSign"===e.type)?.value;h||n?.signDisplay!=="exceptZero"&&n?.signDisplay!=="always"||(h="+");let f=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),p=f.find(e=>"decimal"===e.type)?.value,v=l.find(e=>"group"===e.type)?.value,m=[...new Set([...l.filter(e=>!d.has(e.type)).map(e=>w(e.value)),...i.flatMap(e=>e.filter(e=>!d.has(e.type)).map(e=>w(e.value)))])].sort((e,t)=>t.length-e.length),A=0===m.length?RegExp("\\p{White_Space}|\\p{Cf}","gu"):RegExp(`${m.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),x=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),g=new Map(x.map((e,t)=>[e,t]));return{minusSign:c,plusSign:h,decimal:p,group:v,literals:A,numeral:RegExp(`[${x.join("")}]`,"g"),numerals:x,index:e=>String(g.get(e)),noNumeralUnits:s}}function p(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function w(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},32280(e,t,r){"use strict";r.d(t,{O:()=>s});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return a(r.overflowY,t)||a(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},o=(e,t,r,n,a,l,o,i)=>l<e&&o>t||l>e&&o<t?0:l<=e&&i<=r||o>=t&&i>=r?l-e-n:o>t&&i<r||l<e&&i>r?o-t+a:0,i=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,a,s,c;if("u"<typeof document)return[];let{scrollMode:h,block:d,inline:u,boundary:f,skipOverflowHiddenElements:p}=t,w="function"==typeof f?f:e=>e!==f;if(!n(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,m=[],A=e;for(;n(A)&&w(A);){if((A=i(A))===v){m.push(A);break}null!=A&&A===document.body&&l(A)&&!l(document.documentElement)||null!=A&&l(A,p)&&m.push(A)}let x=null!=(a=null==(r=window.visualViewport)?void 0:r.width)?a:innerWidth,g=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:H,scrollY:M}=window,{height:V,width:j,top:b,right:Z,bottom:y,left:C}=e.getBoundingClientRect(),{top:E,right:R,bottom:z,left:L}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),B="start"===d||"nearest"===d?b-E:"end"===d?y+z:b+V/2-E+z,$="center"===u?C+j/2-L+R:"end"===u?Z+R:C-L,_=[];for(let e=0;e<m.length;e++){let t=m[e],{height:r,width:n,top:a,right:i,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===h&&b>=0&&C>=0&&y<=g&&Z<=x&&(t===v&&!l(t)||b>=a&&y<=s&&C>=c&&Z<=i))break;let f=getComputedStyle(t),p=parseInt(f.borderLeftWidth,10),w=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),E=parseInt(f.borderBottomWidth,10),R=0,z=0,L="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-A:0,S="offsetHeight"in t?t.offsetHeight-t.clientHeight-w-E:0,k="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,N="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(v===t)R="start"===d?B:"end"===d?B-g:"nearest"===d?o(M,M+g,g,w,E,M+B,M+B+V,V):B-g/2,z="start"===u?$:"center"===u?$-x/2:"end"===u?$-x:o(H,H+x,x,p,A,H+$,H+$+j,j),R=Math.max(0,R+M),z=Math.max(0,z+H);else{R="start"===d?B-a-w:"end"===d?B-s+E+S:"nearest"===d?o(a,s,r,w,E+S,B,B+V,V):B-(a+r/2)+S/2,z="start"===u?$-c-p:"center"===u?$-(c+n/2)+L/2:"end"===u?$-i+A+L:o(c,i,n,p,A+L,$,$+j,j);let{scrollLeft:e,scrollTop:l}=t;R=0===N?0:Math.max(0,Math.min(l+R/N,t.scrollHeight-r/N+S)),z=0===k?0:Math.max(0,Math.min(e+z/k,t.scrollWidth-n/k+L)),B+=l-R,$+=e-z}_.push({el:t,top:R,left:z})}return _}},39543(e,t,r){"use strict";function n(e,t,{signal:r,edges:a}={}){let l,o=null,i=null!=a&&a.includes("leading"),s=null==a||a.includes("trailing"),c=()=>{null!==o&&(e.apply(l,o),l=void 0,o=null)},h=()=>{s&&c(),p()},d=null,u=()=>{null!=d&&clearTimeout(d),d=setTimeout(()=>{d=null,h()},t)},f=()=>{null!==d&&(clearTimeout(d),d=null)},p=()=>{f(),l=void 0,o=null},w=()=>{c()},v=function(...e){if(r?.aborted)return;l=this,o=e;let t=null==d;u(),i&&t&&c()};return v.schedule=u,v.cancel=p,v.flush=w,r?.addEventListener("abort",p,{once:!0}),v}function a(e,t=0,r={}){let l;"object"!=typeof r&&(r={});let{leading:o=!1,trailing:i=!0,maxWait:s}=r,c=[,,];o&&(c[0]="leading"),i&&(c[1]="trailing");let h=null,d=n(function(...t){l=e.apply(this,t),h=null},t,{edges:c}),u=function(...t){return null!=s&&(null===h&&(h=Date.now()),Date.now()-h>=s)?(l=e.apply(this,t),h=Date.now(),d.cancel(),d.schedule(),l):(d.apply(this,t),l)},f=()=>(d.flush(),l);return u.cancel=d.cancel,u.flush=f,u}r.d(t,{s:()=>a})},85608(e,t,r){"use strict";r.d(t,{Cl:()=>n});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(89867),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var a=Object.create(null);__webpack_require__.r(a);var l={};e=e||[null,t({}),t([]),t(t)];for(var o=2&n&&r;("object"==typeof o||"function"==typeof o)&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach(e=>{l[e]=()=>r[e]});return l.default=()=>r,__webpack_require__.d(a,l),a}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="@kenyaemr/esm-express-workflow-app:";__webpack_require__.l=function(r,n,a,l){if(e[r])return void e[r].push(n);if(void 0!==a)for(var o,i,s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var h=s[c];if(h.getAttribute("src")==r||h.getAttribute("data-rspack")==t+a){o=h;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-rspack",t+a),o.src=r),e[r]=[n];var d=function(t,n){o.onerror=o.onload=null,clearTimeout(u);var a=e[r];if(delete e[r],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach(function(e){return e(n)}),t)return t(n)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),i&&document.head.appendChild(o)}})(),(()=>{__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.7.9"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5086",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("689"),__webpack_require__.e("989"),__webpack_require__.e("8924"),__webpack_require__.e("8864"),__webpack_require__.e("4308"),__webpack_require__.e("7101"),__webpack_require__.e("2947"),__webpack_require__.e("7904"),__webpack_require__.e("3504"),__webpack_require__.e("6161"),__webpack_require__.e("8225"),__webpack_require__.e("5514"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865"),__webpack_require__.e("1558"),__webpack_require__.e("2635")]).then(()=>()=>__webpack_require__(18170)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([__webpack_require__.e("1789"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("2842"),__webpack_require__.e("5086"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("1558")]).then(()=>()=>__webpack_require__(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("1442")]).then(()=>()=>__webpack_require__(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("1558"),__webpack_require__.e("9771")]).then(()=>()=>__webpack_require__(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{2635:["80976","36142","58088"],1889:["80976","36142","43925","1487","58088"],6259:["36510"],1865:["97744"],1558:["43925"],5762:["75721"],934:["3813"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("2842"),__webpack_require__.e("5086")]).then(()=>()=>__webpack_require__(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("1789").then(()=>()=>__webpack_require__(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("2152").then(()=>()=>__webpack_require__(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("9061")]).then(()=>()=>__webpack_require__(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>__webpack_require__(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("5697").then(()=>()=>__webpack_require__(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("3989"),__webpack_require__.e("7209"),__webpack_require__.e("4818"),__webpack_require__.e("9011"),__webpack_require__.e("1659"),__webpack_require__.e("9087"),__webpack_require__.e("1831"),__webpack_require__.e("221"),__webpack_require__.e("1278"),__webpack_require__.e("2127"),__webpack_require__.e("4759"),__webpack_require__.e("3690"),__webpack_require__.e("820"),__webpack_require__.e("356"),__webpack_require__.e("2916"),__webpack_require__.e("3335"),__webpack_require__.e("2648"),__webpack_require__.e("6634"),__webpack_require__.e("2202"),__webpack_require__.e("2556"),__webpack_require__.e("6337"),__webpack_require__.e("1620"),__webpack_require__.e("8178"),__webpack_require__.e("5958"),__webpack_require__.e("4215"),__webpack_require__.e("1520"),__webpack_require__.e("6987"),__webpack_require__.e("1854"),__webpack_require__.e("4588"),__webpack_require__.e("6478"),__webpack_require__.e("393"),__webpack_require__.e("8762"),__webpack_require__.e("6273"),__webpack_require__.e("8240"),__webpack_require__.e("5676"),__webpack_require__.e("4178"),__webpack_require__.e("9520"),__webpack_require__.e("6427"),__webpack_require__.e("2534"),__webpack_require__.e("770"),__webpack_require__.e("9621"),__webpack_require__.e("4212"),__webpack_require__.e("5762"),__webpack_require__.e("6259"),__webpack_require__.e("1865")]).then(()=>()=>__webpack_require__(18170))}},initialConsumes:["80976","36142","43925","1487","58088"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{var e={1889:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(t))e[t]=0;else{var a=new Promise((r,a)=>n=e[t]=[r,a]);r.push(n[2]=a);var l=__webpack_require__.p+__webpack_require__.u(t),o=Error(),i=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),l=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+l+")",o.name="ChunkLoadError",o.type=a,o.request=l,n[1](o)}};__webpack_require__.l(l,i,"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[l,o,i]=r,s=0;if(l.some(t=>0!==e[t])){for(n in o)__webpack_require__.o(o,n)&&(__webpack_require__.m[n]=o[n]);i&&i(__webpack_require__)}for(t&&t(r);s<l.length;s++)a=l[s],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.7.9"})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(64286)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})();var __webpack_exports__=__webpack_require__.x()})();
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"express-workflow"},{"component":"queuesAdminHome","route":"queues-admin"}],"extensions":[{"component":"appointmentsDashboardLink","name":"appointments-dashboard-link","slot":"appointments-left-panel-slot","meta":{"name":"appointments","slot":"appointments-dashboard-slot","title":"Appointments"}},{"name":"ewf-preauth-dashboard-link","component":"preauthDashboardLink","slot":"patient-chart-dashboard-slot","order":10,"meta":{"name":"ewf-preauth","title":"Preauthorization","path":"preauthorization","slot":"ewf-preauth-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-preauth-dashboard","component":"preauthDashboard","slot":"ewf-patient-chart-preauth-dashboard-slot","online":true,"offline":false},{"component":"admissionsLeftPanelLink","name":"admissions-dashboard-link","slot":"express-workflow-left-panel-slot","order":9,"meta":{"name":"admissions","slot":"admissions-dashboard-slot","title":"Admissions"}},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot"},{"component":"consultationLeftPanelLink","name":"consultation-dashboard-link","slot":"homepage-dashboard-slot","order":3,"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"}},{"component":"consultationDashboard","name":"consultation-dashboard","slot":"consultation-dashboard-slot"},{"component":"facilityLeftPanelLink","name":"facility-dashboard-link","slot":"homepage-dashboard-slot","order":0,"meta":{"name":"dashboard","slot":"facility-dashboard-slot","title":"Dashboard"}},{"component":"facilityDashboard","name":"facility-dashboard","slot":"facility-dashboard-slot"},{"component":"mchLeftPanelLink","name":"mch-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"mch","slot":"mch-dashboard-slot","title":"MCH"}},{"component":"mchDashboard","name":"mch-dashboard","slot":"mch-dashboard-slot"},{"component":"registrationLeftPanelLink","name":"registration-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"registration-dashboard-slot","title":"Registration"}},{"component":"registrationDashboard","name":"registration-dashboard","slot":"registration-dashboard-slot"},{"component":"triageLeftPanelLink","name":"triage-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"triage","slot":"triage-dashboard-slot","title":"Triage"}},{"component":"triageDashboard","name":"triage-dashboard","slot":"triage-dashboard-slot"},{"name":"custom-visit-form-queue-fields","component":"checkinFormExtraExtension","slot":"billing-visit-attributes-slot","order":0},{"name":"pharmacy-homepage-dashboard-link","component":"pharmacyLink","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"Pharmacy","path":"pharmacy","slot":"pharmacy-homepage-dashboard-slot"}},{"name":"pharmacy-homepage-dashboard","component":"pharmacy","slot":"pharmacy-homepage-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-orders-dashboard","component":"pharmacyOrders","slot":"ewf-orders-slot","online":true,"offline":false},{"name":"patient-summary-dashboard","component":"patientSummaryDashboard","slot":"patient-chart-summary-dashboard-slot"},{"name":"ewf-clinical-encounter-link","component":"clinicalEncounterLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-clinical-encounter","title":"Clinical Encounter","slot":"ewf-patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-clinical-encounter-dashboard","component":"clinicalEncounter","slot":"ewf-patient-chart-clinical-encounter-slot","online":true,"offline":false},{"name":"ewf-laboratory-dashboard-link","component":"laboratoryLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-laboratory","title":"Lab Orders","path":"laboratory","slot":"ewf-patient-chart-laboratory-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-laboratory-dashboard","component":"laboratoryDashboard","slot":"ewf-patient-chart-laboratory-dashboard-slot","online":true,"offline":false},{"name":"ewf-radiology-and-imaging-dashboard-link","component":"radiologyAndImagingLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-radiology-and-imaging","title":"Radiology and Imaging","path":"radiology-and-imaging","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-radiology-and-imaging-dashboard","component":"radiologyAndImagingDashboard","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","online":true,"offline":false},{"name":"ewf-procedures-dashboard-link","component":"proceduresLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-procedures","title":"Procedures","path":"procedures","slot":"ewf-patient-chart-procedures-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-procedures-dashboard","component":"proceduresDashboard","slot":"ewf-patient-chart-procedures-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-dashboard-link","component":"pharmacyPatientChartDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-pharmacy","title":"Prescription","path":"pharmacy","slot":"ewf-patient-chart-pharmacy-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-pharmacy-dashboard","component":"pharmacyTabs","slot":"ewf-patient-chart-pharmacy-dashboard-slot","online":true,"offline":false},{"name":"ewf-admissions-dashboard-link","component":"admissionsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-admissions","title":"In-patient","path":"admissions","slot":"ewf-patient-chart-admissions-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-admissions-dashboard","component":"admissionsDashboard","slot":"ewf-patient-chart-admissions-dashboard-slot","online":true,"offline":false},{"name":"ewf-homepage-dashboard-link","component":"homepageDashboardLink","slot":"patient-chart-dashboard-slot","order":0},{"name":"ewf-encounter-details-dashboard","component":"encounterDetails","slot":"ewf-clinical-encounter-slot","online":true,"offline":false},{"name":"custom-start-visit-overflow-menu-item","slot":"patient-actions-slot","component":"customStartVisitOverflowMenuItem","online":true,"offline":true},{"name":"custom-stop-visit-overflow-menu-item","component":"customStopVisitOverflowMenuItem","online":true,"offline":true},{"name":"procedure-queues","component":"procedureQueues","online":true,"offline":false,"featureFlag":"procedureQueues","slot":"procedure-orders-dashboard-slot"},{"name":"procedure-form-extras","component":"procedureFormExtras","slot":"procedure-order-form-extras-slot","online":true,"offline":false,"featureFlag":"procedureQueues"},{"name":"ewf-patient-summary-tab","component":"patientSummary","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"patientSummaryTab","slot":"ewf-patient-summary-slot"}},{"name":"ewf-patient-vitals-tab","component":"patientVitals","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"vitalsAndAnthropometric","slot":"ewf-vitals-slot"}},{"name":"ewf-patient-care-panel-tab","component":"carePanel","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"carePanel","slot":"ewf-care-panel-slot"}},{"name":"ewf-patient-immunization-tab","component":"immunization","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"immunizations","slot":"ewf-immunizations-slot"}},{"name":"ewf-patient-relationships-tab","component":"relationships","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"relationships","slot":"ewf-relationships-slot"}},{"name":"ewf-patient-appointments-tab","component":"appointments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"appointments","slot":"ewf-appointments-slot"}},{"name":"ewf-patient-attachments-tab","component":"attachments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"attachments","slot":"ewf-attachments-slot"}},{"name":"ewf-patient-clinical-encounter-tab","component":"patientClinicalEncounter","slot":"clinical-encounter-tabs-slot","meta":{"title":"clinicalEncounterTab","slot":"ewf-clinical-encounter-slot"}},{"name":"ewf-patient-visits-tab","component":"patientVisits","slot":"clinical-encounter-tabs-slot","meta":{"title":"visits","slot":"ewf-visits-slot"}},{"name":"ewf-patient-special-clinics-tab","component":"specialClinics","slot":"clinical-encounter-tabs-slot","meta":{"title":"specialClinics","slot":"ewf-special-clinics-slot"}},{"name":"ewf-clinical-notes-tab","component":"clinicalNotes","meta":{"title":"clinicalNotes","slot":"ewf-clinical-notes-slot"}},{"name":"ewf-procedures-and-orders-tab","component":"proceduresAndOrders","meta":{"title":"proceduresAndOrders","slot":"ewf-procedures-and-orders-slot"}},{"name":"ewf-pharmacy-orders-tab","component":"pharmacyOrdersTab","slot":"pharmacy-tabs-slot","meta":{"title":"orders","slot":"ewf-orders-slot"}},{"name":"ewf-pharmacy-active-medication-tab","component":"pharmacyActiveMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"activeMedications","slot":"ewf-active-medications-slot"}},{"name":"ewf-pharmacy-past-medication-tab","component":"pharmacyPastMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"pastMedications","slot":"ewf-past-medications-slot"}},{"name":"ewf-patient-lab-orders-tab","component":"patientLaboratoryOrdersTab","slot":"patient-laboratory-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-lab-order-results-tab","component":"patientLaboratoryOrdersResults","slot":"patient-laboratory-tabs-slot","meta":{"title":"results","slot":"ewf-laboratory-results-slot","basePath":"laboratory"}},{"name":"ewf-patient-procedure-orders-tab","component":"patientProcedureOrdersTab","slot":"patient-procedure-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-procedure-order-results-tab","component":"patientProcedureOrdersResults","slot":"patient-procedure-tabs-slot","meta":{"title":"results","slot":"ewf-procedures-results-slot","basePath":"procedures"}},{"name":"ewf-patient-procedure-anaesthetic-tab","component":"patientProcedureAnaestheticTab","slot":"patient-procedure-tabs-slot","meta":{"title":"anaesthetic"}},{"name":"ewf-patient-imaging-orders-tab","component":"patientImagingOrdersTab","slot":"patient-imaging-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-imaging-order-results-tab","component":"patientImagingOrdersResults","slot":"patient-imaging-tabs-slot","meta":{"title":"results","slot":"ewf-radiology-and-imaging-results-slot","basePath":"radiology-and-imaging"}},{"name":"ewf-clinical-encounter-haemodialysis-tab","component":"haemodialysisPanel","slot":"ewf-clinical-encounter-haemodialysis-slot","meta":{"title":"haemodialysis"},"online":true,"offline":false}],"workspaces2":[{"name":"custom-start-visit-workspace-form","component":"visitFormWorkspace","window":"ewf-start-visit"},{"name":"anaesthetic-record-workspace-form","component":"anaestheticFormWorkspace","window":"ewf-anaesthetic-record"},{"name":"interoperative-drug-given-workspace-form","component":"interoperativeDrugGivenFormWorkspace","window":"ewf-anaesthetic-record"}],"workspaceWindows2":[{"name":"ewf-start-visit","group":"ewf-patient-chart","width":"wider"},{"name":"ewf-anaesthetic-record","group":"ewf-patient-chart","width":"wider"}],"workspaceGroups2":[{"name":"ewf-patient-chart","scopePattern":"/patient/([^/]+)/chart"}],"modals":[{"component":"otpVerificationModal","name":"otp-verification-modal"},{"component":"facilityDashboardAuthorizationModal","name":"facility-dashboard-authorization-form-modal"},{"name":"print-order-preview-modal","component":"printOrderPreviewModal"},{"name":"custom-end-visit-dialog","component":"customEndVisitModal"},{"name":"print-prescription-modal","component":"printPrescriptionModal"},{"name":"demographic-sync-modal","component":"demographicSyncModal"}],"version":"5.4.5-pre.838"}
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"express-workflow"},{"component":"queuesAdminHome","route":"queues-admin"}],"extensions":[{"component":"appointmentsDashboardLink","name":"appointments-dashboard-link","slot":"appointments-left-panel-slot","meta":{"name":"appointments","slot":"appointments-dashboard-slot","title":"Appointments"}},{"name":"ewf-preauth-dashboard-link","component":"preauthDashboardLink","slot":"patient-chart-dashboard-slot","order":10,"meta":{"name":"ewf-preauth","title":"Preauthorization","path":"preauthorization","slot":"ewf-preauth-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-preauth-dashboard","component":"preauthDashboard","slot":"ewf-patient-chart-preauth-dashboard-slot","online":true,"offline":false},{"component":"admissionsLeftPanelLink","name":"admissions-dashboard-link","slot":"express-workflow-left-panel-slot","order":9,"meta":{"name":"admissions","slot":"admissions-dashboard-slot","title":"Admissions"}},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot"},{"component":"consultationLeftPanelLink","name":"consultation-dashboard-link","slot":"homepage-dashboard-slot","order":3,"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"}},{"component":"consultationDashboard","name":"consultation-dashboard","slot":"consultation-dashboard-slot"},{"component":"facilityLeftPanelLink","name":"facility-dashboard-link","slot":"homepage-dashboard-slot","order":0,"meta":{"name":"dashboard","slot":"facility-dashboard-slot","title":"Dashboard"}},{"component":"facilityDashboard","name":"facility-dashboard","slot":"facility-dashboard-slot"},{"component":"mchLeftPanelLink","name":"mch-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"mch","slot":"mch-dashboard-slot","title":"MCH"}},{"component":"mchDashboard","name":"mch-dashboard","slot":"mch-dashboard-slot"},{"component":"registrationLeftPanelLink","name":"registration-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"registration-dashboard-slot","title":"Registration"}},{"component":"registrationDashboard","name":"registration-dashboard","slot":"registration-dashboard-slot"},{"component":"triageLeftPanelLink","name":"triage-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"triage","slot":"triage-dashboard-slot","title":"Triage"}},{"component":"triageDashboard","name":"triage-dashboard","slot":"triage-dashboard-slot"},{"name":"custom-visit-form-queue-fields","component":"checkinFormExtraExtension","slot":"billing-visit-attributes-slot","order":0},{"name":"pharmacy-homepage-dashboard-link","component":"pharmacyLink","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"Pharmacy","path":"pharmacy","slot":"pharmacy-homepage-dashboard-slot"}},{"name":"pharmacy-homepage-dashboard","component":"pharmacy","slot":"pharmacy-homepage-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-orders-dashboard","component":"pharmacyOrders","slot":"ewf-orders-slot","online":true,"offline":false},{"name":"patient-summary-dashboard","component":"patientSummaryDashboard","slot":"patient-chart-summary-dashboard-slot"},{"name":"ewf-clinical-encounter-link","component":"clinicalEncounterLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-clinical-encounter","title":"Clinical Encounter","slot":"ewf-patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-clinical-encounter-dashboard","component":"clinicalEncounter","slot":"ewf-patient-chart-clinical-encounter-slot","online":true,"offline":false},{"name":"ewf-laboratory-dashboard-link","component":"laboratoryLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-laboratory","title":"Lab Orders","path":"laboratory","slot":"ewf-patient-chart-laboratory-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-laboratory-dashboard","component":"laboratoryDashboard","slot":"ewf-patient-chart-laboratory-dashboard-slot","online":true,"offline":false},{"name":"ewf-radiology-and-imaging-dashboard-link","component":"radiologyAndImagingLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-radiology-and-imaging","title":"Radiology and Imaging","path":"radiology-and-imaging","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-radiology-and-imaging-dashboard","component":"radiologyAndImagingDashboard","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","online":true,"offline":false},{"name":"ewf-procedures-dashboard-link","component":"proceduresLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-procedures","title":"Procedures","path":"procedures","slot":"ewf-patient-chart-procedures-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-procedures-dashboard","component":"proceduresDashboard","slot":"ewf-patient-chart-procedures-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-dashboard-link","component":"pharmacyPatientChartDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-pharmacy","title":"Prescription","path":"pharmacy","slot":"ewf-patient-chart-pharmacy-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-pharmacy-dashboard","component":"pharmacyTabs","slot":"ewf-patient-chart-pharmacy-dashboard-slot","online":true,"offline":false},{"name":"ewf-admissions-dashboard-link","component":"admissionsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-admissions","title":"In-patient","path":"admissions","slot":"ewf-patient-chart-admissions-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-admissions-dashboard","component":"admissionsDashboard","slot":"ewf-patient-chart-admissions-dashboard-slot","online":true,"offline":false},{"name":"ewf-homepage-dashboard-link","component":"homepageDashboardLink","slot":"patient-chart-dashboard-slot","order":0},{"name":"ewf-encounter-details-dashboard","component":"encounterDetails","slot":"ewf-clinical-encounter-slot","online":true,"offline":false},{"name":"custom-start-visit-overflow-menu-item","slot":"patient-actions-slot","component":"customStartVisitOverflowMenuItem","online":true,"offline":true},{"name":"custom-stop-visit-overflow-menu-item","component":"customStopVisitOverflowMenuItem","online":true,"offline":true},{"name":"procedure-queues","component":"procedureQueues","online":true,"offline":false,"featureFlag":"procedureQueues","slot":"procedure-orders-dashboard-slot"},{"name":"procedure-form-extras","component":"procedureFormExtras","slot":"procedure-order-form-extras-slot","online":true,"offline":false,"featureFlag":"procedureQueues"},{"name":"ewf-patient-summary-tab","component":"patientSummary","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"patientSummaryTab","slot":"ewf-patient-summary-slot"}},{"name":"ewf-patient-vitals-tab","component":"patientVitals","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"vitalsAndAnthropometric","slot":"ewf-vitals-slot"}},{"name":"ewf-patient-care-panel-tab","component":"carePanel","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"carePanel","slot":"ewf-care-panel-slot"}},{"name":"ewf-patient-immunization-tab","component":"immunization","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"immunizations","slot":"ewf-immunizations-slot"}},{"name":"ewf-patient-relationships-tab","component":"relationships","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"relationships","slot":"ewf-relationships-slot"}},{"name":"ewf-patient-appointments-tab","component":"appointments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"appointments","slot":"ewf-appointments-slot"}},{"name":"ewf-patient-attachments-tab","component":"attachments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"attachments","slot":"ewf-attachments-slot"}},{"name":"ewf-patient-clinical-encounter-tab","component":"patientClinicalEncounter","slot":"clinical-encounter-tabs-slot","meta":{"title":"clinicalEncounterTab","slot":"ewf-clinical-encounter-slot"}},{"name":"ewf-patient-visits-tab","component":"patientVisits","slot":"clinical-encounter-tabs-slot","meta":{"title":"visits","slot":"ewf-visits-slot"}},{"name":"ewf-patient-special-clinics-tab","component":"specialClinics","slot":"clinical-encounter-tabs-slot","meta":{"title":"specialClinics","slot":"ewf-special-clinics-slot"}},{"name":"ewf-clinical-notes-tab","component":"clinicalNotes","meta":{"title":"clinicalNotes","slot":"ewf-clinical-notes-slot"}},{"name":"ewf-procedures-and-orders-tab","component":"proceduresAndOrders","meta":{"title":"proceduresAndOrders","slot":"ewf-procedures-and-orders-slot"}},{"name":"ewf-pharmacy-orders-tab","component":"pharmacyOrdersTab","slot":"pharmacy-tabs-slot","meta":{"title":"orders","slot":"ewf-orders-slot"}},{"name":"ewf-pharmacy-active-medication-tab","component":"pharmacyActiveMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"activeMedications","slot":"ewf-active-medications-slot"}},{"name":"ewf-pharmacy-past-medication-tab","component":"pharmacyPastMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"pastMedications","slot":"ewf-past-medications-slot"}},{"name":"ewf-patient-lab-orders-tab","component":"patientLaboratoryOrdersTab","slot":"patient-laboratory-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-lab-order-results-tab","component":"patientLaboratoryOrdersResults","slot":"patient-laboratory-tabs-slot","meta":{"title":"results","slot":"ewf-laboratory-results-slot","basePath":"laboratory"}},{"name":"ewf-patient-procedure-orders-tab","component":"patientProcedureOrdersTab","slot":"patient-procedure-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-procedure-order-results-tab","component":"patientProcedureOrdersResults","slot":"patient-procedure-tabs-slot","meta":{"title":"results","slot":"ewf-procedures-results-slot","basePath":"procedures"}},{"name":"ewf-patient-procedure-anaesthetic-tab","component":"patientProcedureAnaestheticTab","slot":"patient-procedure-tabs-slot","meta":{"title":"anaesthetic"}},{"name":"ewf-patient-imaging-orders-tab","component":"patientImagingOrdersTab","slot":"patient-imaging-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-imaging-order-results-tab","component":"patientImagingOrdersResults","slot":"patient-imaging-tabs-slot","meta":{"title":"results","slot":"ewf-radiology-and-imaging-results-slot","basePath":"radiology-and-imaging"}},{"name":"ewf-clinical-encounter-haemodialysis-tab","component":"haemodialysisPanel","slot":"ewf-clinical-encounter-haemodialysis-slot","meta":{"title":"haemodialysis"},"online":true,"offline":false}],"workspaces2":[{"name":"custom-start-visit-workspace-form","component":"visitFormWorkspace","window":"ewf-start-visit"},{"name":"anaesthetic-record-workspace-form","component":"anaestheticFormWorkspace","window":"ewf-anaesthetic-record"},{"name":"interoperative-drug-given-workspace-form","component":"interoperativeDrugGivenFormWorkspace","window":"ewf-anaesthetic-record"}],"workspaceWindows2":[{"name":"ewf-start-visit","group":"ewf-patient-chart","width":"wider"},{"name":"ewf-anaesthetic-record","group":"ewf-patient-chart","width":"wider"}],"workspaceGroups2":[{"name":"ewf-patient-chart","scopePattern":"/patient/([^/]+)/chart"}],"modals":[{"component":"otpVerificationModal","name":"otp-verification-modal"},{"component":"facilityDashboardAuthorizationModal","name":"facility-dashboard-authorization-form-modal"},{"name":"print-order-preview-modal","component":"printOrderPreviewModal"},{"name":"custom-end-visit-dialog","component":"customEndVisitModal"},{"name":"print-prescription-modal","component":"printPrescriptionModal"},{"name":"demographic-sync-modal","component":"demographicSyncModal"}],"version":"5.4.5-pre.842"}
|