iobroker.assistant 1.16.2 → 1.17.0

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.
Files changed (65) hide show
  1. package/README.md +8 -9
  2. package/admin/custom/.vite/manifest.json +67 -67
  3. package/admin/custom/.vite/mf-preload.json +13 -12
  4. package/admin/custom/assets/Components-DitLx__f.js +2 -0
  5. package/admin/custom/assets/{_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-AqysfSvK.js → _virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-pbMlcjvL.js} +1 -1
  6. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-cTrmbIeO.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-B11CGmu2.js} +1 -1
  7. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-Bf3OT4JY.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-CKLkXG_D.js} +1 -1
  8. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BILAbFkM.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D0TLwnBt.js} +32 -32
  9. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare__shared-CorfEuEC.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare__shared-CzDq3b-n.js} +2 -2
  10. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-BsBk4sDU.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-Cjv5Ql2q.js} +34 -34
  11. package/admin/custom/assets/{_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-DLuhVMsb.js → _virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-BWTOCVCn.js} +1 -1
  12. package/admin/custom/assets/{dist-BsS9iigp.js → dist-Cnxr-ruU.js} +1 -1
  13. package/admin/custom/assets/helpers-CNHzo155.js +1 -0
  14. package/admin/custom/assets/{hostInit-DHZJlZGc.js → hostInit-DlBgt6uR.js} +1 -1
  15. package/admin/custom/assets/{lib-KL0-L7Gd.js → lib-CmnkBPVq.js} +1 -1
  16. package/admin/custom/assets/{mf-entry-bootstrap-0-9c1ff5c3.js → mf-entry-bootstrap-0-cc028345.js} +3 -2
  17. package/admin/custom/assets/{pendingShares-OODKE1Pi.js → pendingShares-L5XV_Sg-.js} +2 -2
  18. package/admin/custom/assets/{prod-B2SSzrfl.js → prod-CPnc1xp1.js} +25 -25
  19. package/admin/custom/assets/rolldown-runtime-9C0vUP4u.js +1 -0
  20. package/admin/custom/assets/utils-DmVoYT7i.js +4 -0
  21. package/admin/custom/customComponents.js +2 -2
  22. package/admin/custom/i18n/de.json +16 -1
  23. package/admin/custom/i18n/en.json +16 -1
  24. package/admin/custom/i18n/es.json +16 -1
  25. package/admin/custom/i18n/fr.json +16 -1
  26. package/admin/custom/i18n/it.json +16 -1
  27. package/admin/custom/i18n/nl.json +16 -1
  28. package/admin/custom/i18n/pl.json +16 -1
  29. package/admin/custom/i18n/pt.json +16 -1
  30. package/admin/custom/i18n/ru.json +16 -1
  31. package/admin/custom/i18n/uk.json +16 -1
  32. package/admin/custom/i18n/zh-cn.json +16 -1
  33. package/admin/custom/index.html +2 -2
  34. package/admin/custom/mf-manifest.json +1 -1
  35. package/admin/custom/mf-stats.json +1 -1
  36. package/admin/i18n/de.json +4 -1
  37. package/admin/i18n/en.json +4 -1
  38. package/admin/i18n/es.json +4 -1
  39. package/admin/i18n/fr.json +4 -1
  40. package/admin/i18n/it.json +4 -1
  41. package/admin/i18n/nl.json +4 -1
  42. package/admin/i18n/pl.json +4 -1
  43. package/admin/i18n/pt.json +4 -1
  44. package/admin/i18n/ru.json +4 -1
  45. package/admin/i18n/uk.json +4 -1
  46. package/admin/i18n/zh-cn.json +4 -1
  47. package/admin/jsonConfig.json +39 -5
  48. package/build/lib/voice/esphome.js +119 -15
  49. package/build/lib/voice/esphome.js.map +1 -1
  50. package/build/lib/voice/esphomeDiscovery.js +439 -0
  51. package/build/lib/voice/esphomeDiscovery.js.map +1 -0
  52. package/build/lib/voice/esphomeNoise.js +305 -0
  53. package/build/lib/voice/esphomeNoise.js.map +1 -0
  54. package/build/lib/voice/esphomeProto.js +32 -21
  55. package/build/lib/voice/esphomeProto.js.map +1 -1
  56. package/build/lib/voice/piper.js +114 -16
  57. package/build/lib/voice/piper.js.map +1 -1
  58. package/build/main.js +159 -5
  59. package/build/main.js.map +1 -1
  60. package/io-package.json +28 -27
  61. package/package.json +10 -8
  62. package/admin/custom/assets/Components-zqvNzb-v.js +0 -2
  63. package/admin/custom/assets/helpers-CgQtlgZl.js +0 -1
  64. package/admin/custom/assets/rolldown-runtime-D5BBy9-T.js +0 -1
  65. package/admin/custom/assets/utils-DKLZyvXJ.js +0 -4
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,n)=>{let r=Object.setPrototypeOf({},null);for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n&1||t(r,Symbol.toStringTag,{value:`Module`}),n&2?r:Object.preventExtensions(r)},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(let c of r(i))!a.call(e,c)&&c!==o&&(s=n(i,c),t(e,c,{get:s&&s.get&&!s.configurable?s.get:()=>i[c],enumerable:!s||s.enumerable}));return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),u=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});export{l as i,s as n,u as r,o as t};
@@ -0,0 +1,4 @@
1
+ var e={AT:`@`,HYPHEN:`-`,SLASH:`/`},t={[e.AT]:`scope_`,[e.HYPHEN]:`_`,[e.SLASH]:`__`};t[e.AT],e.AT,t[e.HYPHEN],e.HYPHEN,t[e.SLASH],e.SLASH;var n=function(e){return e[e.UNKNOWN=1]=`UNKNOWN`,e[e.CALCULATED=2]=`CALCULATED`,e[e.NO_USE=0]=`NO_USE`,e}({});function r(){return!0}function i(){var e;return typeof navigator<`u`&&((e=navigator)==null?void 0:e.product)===`ReactNative`}function a(){try{if(r()&&window.localStorage)return!!localStorage.getItem(`FEDERATION_DEBUG`)}catch{return!1}return!1}function o(){return typeof process<`u`&&{}.FEDERATION_DEBUG?!!{}.FEDERATION_DEBUG:typeof FEDERATION_DEBUG<`u`&&FEDERATION_DEBUG?!0:a()}var s=`[ Federation Runtime ]`,c=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}:${t}`:t:e,``):``};function l(e,t){if(`getPublicPath`in e){let n;return n=e.getPublicPath.startsWith(`function`)?Function(`return `+e.getPublicPath)()():Function(e.getPublicPath)(),`${n}${t}`}return`publicPath`in e?!r()&&!i()&&`ssrPublicPath`in e&&typeof e.ssrPublicPath==`string`?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn(`Cannot get resource URL. If in debug mode, please ignore.`,e,t),``)}var u=e=>{console.warn(`${s}: ${e}`)};function d(e){try{return JSON.stringify(e,null,2)}catch{return``}}var f=(e,t)=>{if(!e)return t;let n=(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 n?n.endsWith(`/`)?`${n}${t}`:`${n}/${t}`:t};function p(e){return e.replace(/#.*$/,``).replace(/\?.*$/,``).replace(/\/[^\/]+$/,`/`)}function m(e,t={}){var n;let{remotes:r={},overrides:i={},version:a}=t,o,s=()=>`publicPath`in e.metaData?(e.metaData.publicPath===`auto`||e.metaData.publicPath===``)&&a?p(a):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(i),l={};Object.keys(r).length||(l=((n=e.remotes)==null?void 0:n.reduce((e,t)=>{let n,r=t.federationContainerName;return n=c.includes(r)?i[r]:`version`in t?t.version:t.entry,e[r]={matchedVersion:n},e},{}))||{}),Object.keys(r).forEach(e=>l[e]={matchedVersion:c.includes(e)?i[e]:r[e]});let{remoteEntry:{path:u,name:d,type:m},types:h={path:``,name:``,zip:``,api:``},buildInfo:{buildVersion:g},globalName:_,ssrRemoteEntry:v}=e.metaData,{exposes:ee}=e,te={version:a||``,buildVersion:g,globalName:_,remoteEntry:f(u,d),remoteEntryType:m,remoteTypes:f(h.path,h.name),remoteTypesZip:h.zip||``,remoteTypesAPI:h.api||``,remotesInfo:l,shared:e==null?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,...e.layer===void 0?{}:{layer:e.layer},...e.shareScope===void 0?{}:{shareScope:e.shareScope},usedExports:e.referenceExports||[]})),modules:ee==null?void 0:ee.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(`publicPath`in e.metaData?(o={...te,publicPath:s()},typeof e.metaData.ssrPublicPath==`string`&&(o.ssrPublicPath=e.metaData.ssrPublicPath)):o={...te,getPublicPath:s()},v){let e=f(v.path,v.name);o.ssrRemoteEntry=e,o.ssrRemoteEntryType=v.type||`commonjs-module`}return o}function h(e){return!!(`remoteEntry`in e&&e.remoteEntry.includes(`.json`))}var g=`[ Module Federation ]`,_=console,v=[`logger.ts`,`logger.js`,`captureStackTrace`,`Logger.emit`,`Logger.log`,`Logger.info`,`Logger.warn`,`Logger.error`,`Logger.debug`];function ee(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split(`
2
+ `),n=t.filter(e=>!v.some(t=>e.includes(t)));return n.length?`Stack trace:\n${n.slice(0,5).join(`
3
+ `)}`:void 0}catch{return}}var te=class{constructor(e,t=_){this.prefix=e,this.delegate=t??_}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??_}emit(e,t){let n=this.delegate,r=o()?ee():void 0,i=r?[...t,r]:t,a=(()=>{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 a){let t=n[e];if(typeof t==`function`){t.call(n,this.prefix,...i);return}}for(let e of a){let t=_[e];if(typeof t==`function`){t.call(_,this.prefix,...i);return}}}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){o()&&this.emit(`debug`,e)}};function ne(e){return new te(e)}function re(e){let t=new te(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}ne(g),re(g);async function ie(e,t){try{return await e()}catch(e){!t&&u(e);return}}function ae(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,``).replace(/\/$/,``)===t.replace(n,``).replace(/\/$/,``)}function oe(e){let t=null,n=!0,r=2e4,i,a=document.getElementsByTagName(`script`);for(let r=0;r<a.length;r++){let i=a[r],o=i.getAttribute(`src`);if(o&&ae(o,e.url)){t=i,n=!1;break}}if(!t){let n=e.attrs;t=document.createElement(`script`),t.type=(n==null?void 0:n.type)===`module`?`module`:`text/javascript`;let i;e.createScriptHook&&(i=e.createScriptHook(e.url,e.attrs),i instanceof HTMLScriptElement?t=i:typeof i==`object`&&(`script`in i&&i.script&&(t=i.script),`timeout`in i&&i.timeout&&(r=i.timeout))),t.src||(t.src=e.url),n&&!i&&Object.keys(n).forEach(e=>{t&&(e===`async`||e===`defer`?t[e]=n[e]:t.getAttribute(e)||t.setAttribute(e,n[e]))})}let o=null,s=typeof window<`u`?t=>{if(t.filename&&ae(t.filename,e.url)){let n=Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);n.name=`ScriptExecutionError`,o=n}}:null;s&&window.addEventListener(`error`,s);let c=async(n,r)=>{clearTimeout(i),s&&window.removeEventListener(`error`,s);let a=()=>{if((r==null?void 0:r.type)===`error`){let t=Error(r!=null&&r.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name=`ScriptNetworkError`,e!=null&&e.onErrorCallback&&(e==null||e.onErrorCallback(t))}else o?e!=null&&e.onErrorCallback&&(e==null||e.onErrorCallback(o)):e!=null&&e.cb&&(e==null||e.cb())};if(t&&(t.onerror=null,t.onload=null,ie(()=>{let{needDeleteScript:n=!0}=e;n&&t!=null&&t.parentNode&&t.parentNode.removeChild(t)}),n&&typeof n==`function`)){let e=n(r);if(e instanceof Promise){let t=await e;return a(),t}return a(),e}a()};return t.onerror=c.bind(null,t.onerror),t.onload=c.bind(null,t.onload),i=setTimeout(()=>{c(null,{type:`error`,isTimeout:!0})},r),{script:t,needAttach:n}}function se(e){let t=null,n=!0,r=2e4,i,a=document.getElementsByTagName(`link`);for(let r=0;r<a.length;r++){let i=a[r],o=i.getAttribute(`href`),s=i.getAttribute(`rel`);if(o&&ae(o,e.url)&&s===e.attrs.rel){t=i,n=!1;break}}if(!t){t=document.createElement(`link`),t.setAttribute(`href`,e.url);let n,i=!0,a=e.attrs;e.createLinkHook&&(n=e.createLinkHook(e.url,a),n instanceof HTMLLinkElement?(t=n,i=!1):typeof n==`object`&&(`link`in n&&n.link&&(t=n.link,i=!1),`timeout`in n&&n.timeout&&(r=n.timeout))),a&&i&&Object.keys(a).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,a[e])})}if(!n)return Promise.resolve().then(()=>{e!=null&&e.cb&&(e==null||e.cb())}),{link:t,needAttach:n};let o=(n,r)=>{i&&clearTimeout(i);let a=()=>{if((r==null?void 0:r.type)===`error`){let t=Error(r!=null&&r.isTimeout?`LinkNetworkError: Link "${e.url}" timed out.`:`LinkNetworkError: Failed to load link "${e.url}" - the URL is unreachable or the server returned an error.`);t.name=`LinkNetworkError`,e!=null&&e.onErrorCallback&&(e==null||e.onErrorCallback(t))}else e!=null&&e.cb&&(e==null||e.cb())};if(t&&(t.onerror=null,t.onload=null,ie(()=>{let{needDeleteLink:n=!0}=e;n&&t!=null&&t.parentNode&&t.parentNode.removeChild(t)}),n)){let e=n(r);return a(),e}a()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),i=setTimeout(()=>{o(null,{type:`error`,isTimeout:!0})},r),{link:t,needAttach:n}}function ce(e,t){let{attrs:n={},createScriptHook:r}=t;return new Promise((t,i)=>{let{script:a,needAttach:o}=oe({url:e,cb:t,onErrorCallback:i,attrs:{fetchpriority:`high`,...n},createScriptHook:r,needDeleteScript:!0});o&&document.head.appendChild(a)})}function le(e){return JSON.stringify([`sharedName`in e?e.sharedName:e.name,e.version,e.layer])}function ue(e){if(!e.some(e=>e.shareScope===void 0))return e;let t=new Set;for(let n of e)n.shareScope!==void 0&&t.add(le(n));return t.size?e.map(e=>e.shareScope===void 0&&t.has(le(e))?{...e,shareScope:`default`}:e):e}var de=e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split(`-`)[0].toLowerCase()}#${e.toLowerCase()}`,fe=(e,t,n,r)=>{let i=[`${[t[e]]} #${e}`];return n&&i.push(`args: ${JSON.stringify(n)}`),i.push(de(e)),r&&i.push(`Original Error Message:\n ${r}`),i.join(`
4
+ `)};function pe(e,t,n,r,i,a){return r(fe(e,t,n,i))}var y=`[ Federation Runtime ]`,me=ne(y);function b(e,t,n,r,i){e||(n===void 0?x(t):x(t,n,r,void 0,i))}function x(e,t,n,r,i){if(t!==void 0)return pe(e,t,n??{},e=>{throw Error(`${y}: ${e}`)},r,i);let a=e;throw a instanceof Error?(a.message.startsWith(y)||(a.message=`${y}: ${a.message}`),a):Error(`${y}: ${a}`)}function S(e){e instanceof Error&&(e.message.startsWith(y)||(e.message=`${y}: ${e.message}`)),me.warn(e)}function he(e,t){return e.findIndex(e=>e===t)===-1&&e.push(t),e}function C(e){return`version`in e&&e.version?`${e.name}:${e.version}`:`entry`in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function ge(e){return e.entry!==void 0}function _e(e){return!e.entry.includes(`.json`)}function ve(e){return e&&typeof e==`object`}var ye=Object.prototype.toString;function be(e){return ye.call(e)===`[object Object]`}function xe(e){return Array.isArray(e)?e:[e]}function Se(e){return`remoteEntry`in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:{url:``,type:`global`,globalName:``}}var Ce=(e,t)=>{let n;return n=e.endsWith(`/`)?e.slice(0,-1):e,t.startsWith(`.`)&&(t=t.slice(1)),n+=t,n},we=2e3,w=typeof globalThis==`object`?globalThis:window,T=(()=>{try{return document.defaultView}catch{return w}})(),E=T;function Te(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function Ee(e,t){return Object.hasOwnProperty.call(e,t)}Ee(w,`__GLOBAL_LOADING_REMOTE_ENTRY__`)||Te(w,`__GLOBAL_LOADING_REMOTE_ENTRY__`,{});var D=w.__GLOBAL_LOADING_REMOTE_ENTRY__;function De(e){Ee(e,`__VMOK__`)&&!Ee(e,`__FEDERATION__`)&&Te(e,`__FEDERATION__`,e.__VMOK__),Ee(e,`__FEDERATION__`)||(Te(e,`__FEDERATION__`,{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map,__PRELOADED_ASSETS__:new Set}),Te(e,`__VMOK__`,e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map,e.__FEDERATION__.__PRELOADED_ASSETS__??=new Set}De(w),De(T);function Oe(){w.__FEDERATION__.__GLOBAL_PLUGIN__=[],w.__FEDERATION__.__INSTANCES__=[],w.__FEDERATION__.moduleInfo={},w.__FEDERATION__.__SHARE__={},w.__FEDERATION__.__MANIFEST_LOADING__={},w.__FEDERATION__.__PRELOADED_ASSETS__.clear(),Object.keys(D).forEach(e=>{delete D[e]})}function ke(e){w.__FEDERATION__.__INSTANCES__.push(e)}function Ae(){return w.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function je(e,t=o()){t&&(w.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,w.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__=`2.9.5`)}function O(e,t){if(typeof t==`string`){if(e[t])return{value:e[t],key:t};{let n=Object.keys(e);for(let r of n){let[n,i]=r.split(`:`),a=`${n}:${t}`,o=e[a];if(o)return{value:o,key:a}}return{value:void 0,key:t}}}x(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}var Me=()=>T.__FEDERATION__.moduleInfo,Ne=(e,t)=>{let n=O(t,C(e)).value;if(n&&!n.version&&`version`in e&&e.version&&(n.version=e.version),n)return n;if(`version`in e&&e.version){let{version:t,...n}=e,r=C(n),i=O(T.__FEDERATION__.moduleInfo,r).value;if((i==null?void 0:i.version)===t)return i}},k=e=>Ne(e,T.__FEDERATION__.moduleInfo),Pe=(e,t)=>{let n=C(e);return T.__FEDERATION__.moduleInfo[n]=t,T.__FEDERATION__.moduleInfo},Fe=e=>(T.__FEDERATION__.moduleInfo={...T.__FEDERATION__.moduleInfo,...e},()=>{let t=Object.keys(e);for(let e of t)delete T.__FEDERATION__.moduleInfo[e]}),Ie=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:n,entryExports:w[n]}},Le=e=>{let{__GLOBAL_PLUGIN__:t}=T.__FEDERATION__;e.forEach(e=>{t.findIndex(t=>t.name===e.name)===-1?t.push(e):S(`The plugin ${e.name} has been registered.`)})},Re=()=>T.__FEDERATION__.__GLOBAL_PLUGIN__,ze=e=>w.__FEDERATION__.__PRELOADED_MAP__.get(e),Be=e=>w.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),Ve=e=>w.__FEDERATION__.__PRELOADED_ASSETS__.has(e),He=e=>{let t=w.__FEDERATION__.__PRELOADED_ASSETS__;if(t.add(e),t.size>we){let e=t.values().next().value;e!==void 0&&t.delete(e)}},Ue=`[0-9A-Za-z-]+`,We=`(?:\\+(${Ue}(?:\\.${Ue})*))`,A=`0|[1-9]\\d*`,Ge=`[0-9]+`,Ke=`\\d*[a-zA-Z-][a-zA-Z0-9-]*`,qe=`(?:${Ge}|${Ke})`,Je=`(?:-?(${qe}(?:\\.${qe})*))`,Ye=`(?:${A}|${Ke})`,Xe=`(?:-(${Ye}(?:\\.${Ye})*))`,Ze=`${A}|x|X|\\*`,j=`[v=\\s]*(${Ze})(?:\\.(${Ze})(?:\\.(${Ze})(?:${Xe})?${We}?)?)?`,Qe=`^\\s*(${j})\\s+-\\s+(${j})\\s*$`,$e=`[v=\\s]*(${Ge})\\.(${Ge})\\.(${Ge})${Je}?${We}?`,et=`((?:<|>)?=?)`,tt=`(\\s*)${et}\\s*(${$e}|${j})`,nt=`(?:~>?)`,rt=`(\\s*)${nt}\\s+`,it=`(?:\\^)`,at=`(\\s*)${it}\\s+`,ot=`(<|>)?=?\\s*\\*`,st=`^${it}${j}$`,ct=`v?(${A})\\.(${A})\\.(${A})${Xe}?${We}?`,lt=`^${nt}${j}$`,ut=`^${et}\\s*${j}$`,dt=`^${et}\\s*(${ct})$|^$`,ft=`^\\s*>=\\s*0.0.0\\s*$`;function M(e){return new RegExp(e)}function N(e){return!e||e.toLowerCase()===`x`||e===`*`}function pt(...e){return t=>e.reduce((e,t)=>t(e),t)}function mt(e){return e.match(M(dt))}function ht(e,t,n,r){let i=`${e}.${t}.${n}`;return r?`${i}-${r}`:i}function gt(e){return e.replace(M(Qe),(e,t,n,r,i,a,o,s,c,l,u,d)=>(t=N(n)?``:N(r)?`>=${n}.0.0`:N(i)?`>=${n}.${r}.0`:`>=${t}`,s=N(c)?``:N(l)?`<${Number(c)+1}.0.0-0`:N(u)?`<${c}.${Number(l)+1}.0-0`:d?`<=${c}.${l}.${u}-${d}`:`<=${s}`,`${t} ${s}`.trim()))}function _t(e){return e.replace(M(tt),`$1$2$3`)}function vt(e){return e.replace(M(rt),`$1~`)}function yt(e){return e.replace(M(at),`$1^`)}function bt(e){return e.trim().split(/\s+/).map(e=>e.replace(M(st),(e,t,n,r,i)=>N(t)?``:N(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:N(r)?t===`0`?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`:i?t===`0`?n===`0`?`>=${t}.${n}.${r}-${i} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r}-${i} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r}-${i} <${Number(t)+1}.0.0-0`:t===`0`?n===`0`?`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`)).join(` `)}function xt(e){return e.trim().split(/\s+/).map(e=>e.replace(M(lt),(e,t,n,r,i)=>N(t)?``:N(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:N(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:i?`>=${t}.${n}.${r}-${i} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(` `)}function St(e){return e.split(/\s+/).map(e=>e.trim().replace(M(ut),(e,t,n,r,i,a)=>{let o=N(n),s=o||N(r),c=s||N(i);return t===`=`&&c&&(t=``),a=``,o?t===`>`||t===`<`?`<0.0.0-0`:`*`:t&&c?(s&&(r=0),i=0,t===`>`?(t=`>=`,s?(n=Number(n)+1,r=0,i=0):(r=Number(r)+1,i=0)):t===`<=`&&(t=`<`,s?n=Number(n)+1:r=Number(r)+1),t===`<`&&(a=`-0`),`${t+n}.${r}.${i}${a}`):s?`>=${n}.0.0${a} <${Number(n)+1}.0.0-0`:c?`>=${n}.${r}.0${a} <${n}.${Number(r)+1}.0-0`:e})).join(` `)}function Ct(e){return e.trim().replace(M(ot),``)}function wt(e){return e.trim().replace(M(ft),``)}function Tt(e,t){return e=Number(e)||e,t=Number(t)||t,e>t?1:e===t?0:-1}function Et(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(n===void 0&&r)return 1;if(n&&r===void 0)return-1;if(n===void 0&&r===void 0)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],i=r[e];if(t!==i)return t===void 0&&i===void 0?0:t?i?Tt(t,i):-1:1}return 0}function Dt(e,t){return Tt(e.major,t.major)||Tt(e.minor,t.minor)||Tt(e.patch,t.patch)||Et(e,t)}function Ot(e,t){return e.version===t.version}function kt(e,t){switch(e.operator){case``:case`=`:return Ot(e,t);case`>`:return Dt(e,t)<0;case`>=`:return Ot(e,t)||Dt(e,t)<0;case`<`:return Dt(e,t)>0;case`<=`:return Ot(e,t)||Dt(e,t)>0;case void 0:return!0;default:return!1}}function At(e){return pt(bt,xt,St,Ct)(e)}function jt(e){return pt(gt,_t,vt,yt)(e.trim()).split(/\s+/).join(` `)}function P(e,t){if(!e)return!1;let n=mt(e);if(!n)return!1;let[,r,,i,a,o,s]=n,c={operator:r,version:ht(i,a,o,s),major:i,minor:a,patch:o,preRelease:s==null?void 0:s.split(`.`)},l=t.split(`||`);for(let e of l){let t=e.trim();if(!t||t===`*`||t===`x`)return!0;try{let e=jt(t);if(!e.trim())return!0;let n=e.split(` `).map(e=>At(e)).join(` `);if(!n.trim())return!0;let r=n.split(/\s+/).map(e=>wt(e)).filter(Boolean);if(r.length===0)continue;let i=!0;for(let e of r){let t=mt(e);if(!t){i=!1;break}let[,n,,r,a,o,s]=t;if(!kt({operator:n,version:ht(r,a,o,s),major:r,minor:a,patch:o,preRelease:s==null?void 0:s.split(`.`)},c)){i=!1;break}}if(i)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}var Mt=`default`,Nt=`global`,F=Symbol.for(`module-federation.share-scope.layers`);function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function L(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),n}function R(e,t,n,r=!1){if(!e)return;if(n==null)return I(e,t)??(r?L(e,t,{}):void 0);let i=e[F];!i&&r&&(i=new Map,Object.defineProperty(e,F,{value:i,configurable:!0}));let a=i==null?void 0:i.get(t);!a&&r&&(a=new Map,i.set(t,a));let o=a==null?void 0:a.get(n);return!o&&r&&(o={},a.set(n,o)),o}function Pt(e){let t=Object.entries(e).map(([e,t])=>({pkgName:e,layer:void 0,versions:t}));for(let[n,r]of e[F]||[])for(let[e,i]of r)t.push({pkgName:n,layer:e,versions:i});return t}function Ft(e,t,n,r){let i=R(e,t,n);if(!i||(delete i[r],Object.keys(i).length))return;if(n===void 0){delete e[t];return}let a=e,o=a[F],s=o==null?void 0:o.get(t);s==null||s.delete(n),s!=null&&s.size||o==null||o.delete(t),o!=null&&o.size||delete a[F]}function It(e,t,r,i){var a,o;let s;return s=`get`in e?e.get:`lib`in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{x(`Cannot get shared "${r}" from "${t}": neither "get" nor "lib" is provided in the share config.`)}),(a=e.shareConfig)!=null&&a.eager&&(o=e.treeShaking)!=null&&o.mode&&x(`Invalid shared config for "${r}" from "${t}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:s,loaded:e!=null&&e.loaded||`lib`in e?!0:void 0,version:e.version??`0`,scope:Array.isArray(e.scope)?e.scope:[e.scope??`default`],strategy:(e.strategy??i)||`version-first`,treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??`server-calc`,status:e.treeShaking.status??n.UNKNOWN,useIn:[]}:void 0}}function Lt(e,t){let n=t.shared||{},r=t.name,i={};for(let[e,a]of Object.entries(n))L(i,e,xe(a).map(n=>It(n,r,e,t.shareStrategy)));let a={...e.shared};return Object.keys(i).forEach(e=>{I(a,e)?i[e].forEach(t=>{a[e].find(e=>e.version===t.version&&(e.shareConfig.layer??void 0)===(t.shareConfig.layer??void 0))||a[e].push(t)}):L(a,e,i[e])}),{allShareInfos:a,newShareInfos:i}}function z(e,t){if(!e)return!1;let{status:r,mode:i}=e;return r===n.NO_USE?!1:r===n.CALCULATED?!0:i===`runtime-infer`?!t||Bt(e,t):!1}function B(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split(`.`),n=e;for(let e=0;e<3-t.length;e++)n+=`.0`;return n}return e};return!!P(n(e),`<=${n(t)}`)}var V=(e,t)=>{let n=t||function(e,t){return B(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||e===`0`?t:e,0)},Rt=e=>!!e.loaded||typeof e.lib==`function`,zt=e=>!!e.loading,Bt=(e,t)=>{if(!e||!t)return!1;let{usedExports:n}=e;return n?!!t.every(e=>n.includes(e)):!1};function Vt(e,t){let n=``,r=z(t),i=function(t,n){return r?e[t].treeShaking?e[n].treeShaking?!Rt(e[t].treeShaking)&&B(t,n):!1:!0:!Rt(e[t])&&B(t,n)};if(r){if(n=V(e,i),n)return{version:n,useTreesShaking:r};r=!1}return{version:V(e,i),useTreesShaking:r}}var H=e=>Rt(e)||zt(e);function Ht(e,t){let n=``,r=z(t),i=function(t,n){if(r){if(!e[t].treeShaking)return!0;if(!e[n].treeShaking)return!1;if(H(e[n].treeShaking))return!H(e[t].treeShaking)||!!B(t,n);if(H(e[t].treeShaking))return!1}return H(e[n])?!H(e[t])||!!B(t,n):!H(e[t])&&B(t,n)};if(r){if(n=V(e,i),n)return{version:n,useTreesShaking:r};r=!1}return{version:V(e,i),useTreesShaking:r}}function Ut(e){return e===`loaded-first`?Ht:Vt}function U(e,t,n,r,i){if(!e)return;let{shareConfig:a,scope:o=Mt,strategy:s,treeShaking:c}=n,l=Array.isArray(o)?o:[o];for(let o of l){let l=a==null?void 0:a.layer,u=I(e,o),d=R(u,t,l),f=d&&Object.keys(d).length||l==null?d:R(u,t);if(a&&f&&Object.keys(f).length){let{requiredVersion:u}=a,{version:d,useTreesShaking:p}=Ut(s)(f,c),m=()=>{let e=h.shareScopeMap[o][t],r=e[d];if(a.singleton){if(typeof u==`string`&&!P(d,u)){let e=`Version ${d} from ${d&&r.from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${u})`;a.strictVersion?x(e):S(e)}return{shared:r,useTreesShaking:p}}{if(u===!1||u===`*`||P(d,u))return{shared:r,useTreesShaking:p};let t=z(c);if(t){for(let[n,r]of Object.entries(e))if(z(r.treeShaking,c==null?void 0:c.usedExports)&&P(n,u))return{shared:r,useTreesShaking:t}}for(let[t,n]of Object.entries(e))if(P(t,u))return{shared:n,useTreesShaking:!1}}},h={shareScopeMap:l==null?e:{...e,[o]:{...e[o],[t]:f}},scope:o,pkgName:t,version:d,GlobalFederation:E.__FEDERATION__,shareInfo:n,resolver:m,loadContext:i};return(r.emit(h)||h).resolver()}}}function Wt(){return E.__FEDERATION__.__SHARE__}function Gt(e){var t;let{pkgName:n,extraOptions:r,shareInfos:i}=e,a=(r==null?void 0:r.resolver)??(e=>{if(!e)return;let t=Object.create(null);return e.forEach(e=>{t[e.version]=e}),t[V(t,function(e,n){return!Rt(t[e])&&B(e,n)})]}),o=e=>typeof e==`object`&&!!e&&!Array.isArray(e),s=(...e)=>{let t={};for(let n of e)if(n)for(let[e,r]of Object.entries(n)){let n=t[e];o(n)&&o(r)?t[e]=s(n,r):r!==void 0&&(t[e]=r)}return t},c=r==null||(t=r.customShareInfo)==null||(t=t.shareConfig)==null?void 0:t.layer,l=i[n],u=l==null?void 0:l.filter(e=>(e.shareConfig.layer??void 0)===(c??void 0));return s(a(u!=null&&u.length||c==null?u:l==null?void 0:l.filter(e=>e.shareConfig.layer==null)),r==null?void 0:r.customShareInfo)}var W=(e,t)=>{e.useIn||=[],he(e.useIn,t)};function Kt(e,t){return t&&e.treeShaking?e.treeShaking:e}function qt(e,t){return!t||t===`.`?e:`${e}/${t.replace(/^\.\//,``)}`}function Jt(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,``);if(e){if(r.startsWith(`/`)){let e=n.name;return r=`.${r}`,{pkgNameOrAlias:e,expose:r,remote:n}}if(r===``)return{pkgNameOrAlias:n.name,expose:`.`,remote:n}}let i=n.alias&&t.startsWith(n.alias),a=n.alias&&t.replace(n.alias,``);if(n.alias&&i){if(a&&a.startsWith(`/`)){let e=n.alias;return a=`.${a}`,{pkgNameOrAlias:e,expose:a,remote:n}}if(a===``)return{pkgNameOrAlias:n.alias,expose:`.`,remote:n}}}}function Yt(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}var Xt=`RUNTIME-001`,Zt=`RUNTIME-002`,Qt=`RUNTIME-003`,$t=`RUNTIME-004`,en=`RUNTIME-005`,tn=`RUNTIME-006`,nn=`RUNTIME-007`,rn=`RUNTIME-008`,an=`RUNTIME-009`,on=`RUNTIME-010`,sn=`RUNTIME-011`,cn=`RUNTIME-012`,ln=`RUNTIME-013`,un=`RUNTIME-014`,dn=`RUNTIME-015`,fn=`TYPE-001`,pn=`BUILD-001`,mn=`BUILD-002`,G={[Xt]:`Failed to get remoteEntry exports.`,[Zt]:`The remote entry interface does not contain "init"`,[Qt]:`Failed to get manifest.`,[$t]:`Failed to locate remote.`,[en]:`Invalid loadShareSync function call from bundler runtime`,[tn]:`Invalid loadShareSync function call from runtime`,[nn]:`Failed to get remote snapshot.`,[rn]:`Failed to load script resources.`,[an]:`Please call createInstance first.`,[on]:`The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.`,[sn]:`The remoteEntry URL is missing from the remote snapshot.`,[cn]:`The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.`,[ln]:`The manifest is not a valid Module Federation manifest.`,[un]:`The remote does not expose the requested module.`,[dn]:`Remote container initialization failed.`},hn={[fn]:`Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.`},gn={[pn]:`Failed to find expose module.`,[mn]:`PublicPath is required in prod mode.`};({...G,...hn,...gn});var _n=`.then(callbacks[0]).catch(callbacks[1])`,vn=new WeakMap,yn=[`Failed to fetch dynamically imported module`,`Importing a module script failed`,`error loading dynamically imported module`];function bn(e){return e instanceof TypeError&&yn.some(t=>e.message.includes(t))}function xn(e){return e===`esm`||e===`module`}async function Sn({entry:e,remoteEntryExports:t,name:n,getEntryUrl:r}){return new Promise((i,a)=>{let o=e=>{if(bn(e)){let t=e instanceof Error?e.message:String(e);try{x(rn,G,{remoteName:n,resourceUrl:s},t)}catch(e){a(e);return}}a(e)},s=r?r(e):e;try{t?i(t):typeof FEDERATION_ALLOW_NEW_FUNCTION<`u`?Function(`callbacks`,`import("${s}")${_n}`)([i,o]):import(s).then(i).catch(o)}catch(e){x(`Failed to load ESM entry from "${s}". ${e instanceof Error?e.message:String(e)}`)}})}async function Cn({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):typeof __system_context__>`u`?System.import(e).then(n).catch(r):Function(`callbacks`,`System.import("${e}")${_n}`)([n,r])}catch(t){x(`Failed to load SystemJS entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}function wn(e,t,n){let{remoteEntryKey:r,entryExports:i}=Ie(e,t);return i||x(Xt,G,{remoteName:e,remoteEntryUrl:n,remoteEntryKey:r}),i}async function Tn({name:e,globalName:t,entry:n,remoteInfo:r,loaderHook:i,getEntryUrl:a,resourceContext:o}){let{entryExports:s}=Ie(e,t);if(s)return s;let c=a?a(n):n;return ce(c,{attrs:{},createScriptHook:(e,t)=>{let n=i.lifecycle.createScript.emit({url:e,attrs:t,remoteInfo:r,resourceContext:o?{...o,url:e}:void 0});if(n&&(n instanceof HTMLScriptElement||`script`in n||`timeout`in n))return n}}).then(()=>wn(e,t,n),t=>{let n=t instanceof Error?t.message:String(t);x(rn,G,{remoteName:e,resourceUrl:c},n)})}async function En({remoteInfo:e,remoteEntryExports:t,loaderHook:n,getEntryUrl:r,resourceContext:i}){let{entry:a,entryGlobalName:o,name:s,type:c}=e;return xn(c)?Sn({entry:a,remoteEntryExports:t,name:s,getEntryUrl:r}):c===`system`?Cn({entry:a,remoteEntryExports:t}):Tn({entry:a,globalName:o,name:s,remoteInfo:e,loaderHook:n,getEntryUrl:r,resourceContext:i})}function Dn(e){let{entry:t,name:n}=e;return c(n,t)}async function On(e){let{origin:t,remoteEntryExports:n,remoteInfo:r,getEntryUrl:i,resourceContext:a,_inErrorHandling:o=!1}=e,s=Dn(r);if(n)return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,remoteEntryExports:n,resourceContext:a,cached:!0}),n;if(!D[s]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,c=t.loaderHook,l=e.emit({origin:t,loaderHook:c,remoteInfo:r,remoteEntryExports:n,resourceContext:a}).then(e=>e||En({remoteInfo:r,remoteEntryExports:n,loaderHook:c,getEntryUrl:i,resourceContext:a})).then(async e=>(await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,remoteEntryExports:e,resourceContext:a}),e)).catch(async e=>{let i=e instanceof Error&&e.message.includes(`ScriptExecutionError`);if(e instanceof Error&&e.message.includes(`RUNTIME-008`)&&!i&&!o){let i=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e=>On({...e,_inErrorHandling:!0}),origin:t,remoteInfo:r,remoteEntryExports:n,globalLoading:D,uniqueKey:s});if(i)return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,remoteEntryExports:i,resourceContext:a,error:e,recovered:!0}),i}throw await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,resourceContext:a,error:e}),e});D[s]=l,l.then(void 0,()=>{D[s]===l&&delete D[s]}),vn.set(l,t)}let c=D[s];if(vn.get(c)!==t)try{let e=await c;return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,remoteEntryExports:e,resourceContext:a}),e}catch(e){throw await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:r,resourceContext:a,error:e}),e}return c}function K(e){return{...e,entry:`entry`in e?e.entry:``,type:e.type||`global`,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||`default`}}function kn(){return typeof FEDERATION_BUILD_IDENTIFIER<`u`?FEDERATION_BUILD_IDENTIFIER:``}function An(e){let t=new Map;return[...e||[],...Re()].forEach(e=>{e&&(b(be(e),`Plugin configuration is invalid.`),b(e.name,`A name must be provided by the plugin.`),t.has(e.name)||t.set(e.name,e))}),Array.from(t.values())}function jn(e,t){return t===void 0?e:{...t,name:e.name,version:e.version}}function Mn(e,t){let n=new Map;t.options.plugins.forEach(e=>{e&&n.set(e.name,e)});let r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return An(e).forEach(e=>{var i;if(n.set(e.name,e),t.hooks.registerPlugins[e.name])return;let a=jn(e,(i=e.apply)==null?void 0:i.call(e,t));r.forEach(e=>{e.applyPlugin(a)})}),Array.from(n.values())}function Nn(e){return{name:e.name,alias:e.alias,entry:`entry`in e?e.entry:void 0,version:`version`in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}function q(e){var t,n;let r={};for(let[t,n]of Object.entries(e.shared)){var i,a,o,s;let e=n[0];e&&(r[t]={version:e.version,singleton:(i=e.shareConfig)==null?void 0:i.singleton,requiredVersion:((a=e.shareConfig)==null?void 0:a.requiredVersion)===!1?!1:(o=e.shareConfig)==null?void 0:o.requiredVersion,eager:e.eager,strictVersion:(s=e.shareConfig)==null?void 0:s.strictVersion})}return{project:{name:e.name,mfRole:((t=e.remotes)==null?void 0:t.length)>0?`host`:`unknown`},mfConfig:{name:e.name,remotes:((n=e.remotes)==null?void 0:n.map(Nn))??[],shared:r}}}function Pn(e){return{resourceCategory:`sync`,share:!0,depsRemote:!0,recordPreloadedAssets:!0,...e}}function Fn(e,t){return t.map(t=>{let n=Yt(e,t.nameOrAlias);return b(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&d({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:Pn(t)}})}function In(e){return e?e.map(e=>e===`.`?e:e.startsWith(`./`)?e.replace(`./`,``):e):[]}function Ln(e){return e instanceof Error?e.message.includes(`timed out`)||e.name.includes(`Timeout`):!1}function J(e,t,n,r){return{url:t,status:n,resourceType:e.resourceType,initiator:e.initiator,id:e.id,error:r}}function Rn(e,t,n,r){return n?Ve(t)?Promise.resolve(J(e,t,`cached`)):(He(t),r()):r()}async function zn(e,t,n,r){let i=e.moduleCache.get(n.name),a=n.entry;if(i!=null&&i.remoteEntryExports)return J(r,a,`cached`);try{if(!await On({origin:e,remoteInfo:n,remoteEntryExports:i==null?void 0:i.remoteEntryExports,resourceContext:{...r,url:a}}))throw Error(`Failed to load remoteEntry "${a}".`);return J(r,a,`success`)}catch(e){return J(r,a,Ln(e)?`timeout`:`error`,e)}}function Bn({host:e,remoteInfo:t,url:n,attrs:r,context:i,needDeleteLink:a}){return new Promise(o=>{let{link:s,needAttach:c}=se({url:n,cb:()=>{o(J(i,n,c?`success`:`cached`))},onErrorCallback:e=>{o(J(i,n,Ln(e)?`timeout`:`error`,e))},attrs:r,createLinkHook:(n,r)=>{let a=e.loaderHook.lifecycle.createLink.emit({url:n,attrs:r,remoteInfo:t,resourceContext:{...i,url:n}});return a instanceof HTMLLinkElement,a},needDeleteLink:a});c&&document.head.appendChild(s)})}function Vn({host:e,remoteInfo:t,url:n,attrs:r,context:i}){return new Promise(a=>{let{script:o,needAttach:s}=oe({url:n,cb:()=>{a(J(i,n,s?`success`:`cached`))},onErrorCallback:e=>{a(J(i,n,Ln(e)?`timeout`:`error`,e))},attrs:r,createScriptHook:(n,r)=>{let a=e.loaderHook.lifecycle.createScript.emit({url:n,attrs:r,remoteInfo:t,resourceContext:{...i,url:n}});return a instanceof HTMLScriptElement,a},needDeleteScript:!0});s&&document.head.appendChild(o)})}function Hn(e,t){return{...e,resourceType:t}}function Un(e,t,n,r=!0,i={initiator:`preloadRemote`,id:e.name},a=!0){let{cssAssets:o,jsAssetsWithoutEntry:s,entryAssets:c}=n,l=[];if(t.options.inBrowser){if(c.forEach(n=>{let{moduleInfo:r}=n;l.push(zn(t,e,r,Hn(i,`remoteEntry`)))}),r){let n={rel:`preload`,as:`style`};o.forEach(r=>{let o=Hn(i,`css`);l.push(Rn(o,r,a,()=>Bn({host:t,remoteInfo:e,url:r,attrs:n,context:o})))})}else{let n={rel:`stylesheet`,type:`text/css`};o.forEach(r=>{let o=Hn(i,`css`);l.push(Rn(o,r,a,()=>Bn({host:t,remoteInfo:e,url:r,attrs:n,needDeleteLink:!1,context:o})))})}let n=Vn,u={fetchpriority:`high`,type:`text/javascript`};r?(n=Bn,u={rel:`preload`,as:`script`}):xn(e.type)&&(n=Bn,u={rel:`modulepreload`,fetchpriority:`high`}),s.forEach(r=>{let o=Hn(i,`js`);l.push(Rn(o,r,a,()=>n({host:t,remoteInfo:e,url:r,attrs:u,context:o})))})}return Promise.all(l)}var Wn={global:{Global:E,nativeGlobal:T,resetFederationGlobalInfo:Oe,setGlobalFederationInstance:ke,getGlobalFederationConstructor:Ae,setGlobalFederationConstructor:je,getInfoWithoutType:O,getGlobalSnapshot:Me,getTargetSnapshotInfoByModuleInfo:Ne,getGlobalSnapshotInfoByModuleInfo:k,setGlobalSnapshotInfoByModuleInfo:Pe,addGlobalSnapshot:Fe,getRemoteEntryExports:Ie,registerGlobalPlugins:Le,getGlobalHostPlugins:Re,getPreloaded:ze,setPreloaded:Be},share:{getRegisteredShare:U,getGlobalShareScope:Wt},utils:{matchRemoteWithNameAndExpose:Jt,preloadAssets:Un,getRemoteInfo:K}};function Gn(e){if(!e||!(`modules`in e)||!Array.isArray(e.modules))return;let t=e.modules.map(e=>e.moduleName).filter(Boolean);return t.length?t.join(`,`):void 0}function Kn(e,t,n){let r=t,i=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];i.length||i.push(`default`),i.forEach(e=>{r[e]||(r[e]={})});let a={version:e.version||``,shareScopeKeys:Array.isArray(e.shareScope)?i:e.shareScope||`default`};return Object.defineProperty(a,"shareScopeMap",{value:r,enumerable:!1}),{remoteEntryInitOptions:a,shareScope:r[i[0]],initScope:n??[]}}var qn=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(e,t){let n=t||{initiator:`loadRemote`,id:qt(this.remoteInfo.name,e),resourceType:`remoteEntry`,url:this.remoteInfo.entry,expose:e},r=await On({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,resourceContext:n});return b(r,`remoteEntryExports is undefined \n ${d(this.remoteInfo)}`),this.remoteEntryExports=r,this.remoteEntryExports}async init(e,t,n,r,i){let a=await this.getEntry(r,i);if(this.inited)return await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:a,cached:!0,origin:this.host}),a;if(this.initPromise){try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:a,cached:!0,origin:this.host})}catch(n){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:a,error:n,cached:!0,origin:this.host}),n}return a}this.initing=!0,this.initPromise=(async()=>{await this.host.loaderHook.lifecycle.beforeInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,origin:this.host});let{remoteEntryInitOptions:r,shareScope:i,initScope:o}=Kn(this.remoteInfo,this.host.shareScopeMap,n),s=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:i,remoteEntryInitOptions:r,initScope:o,remoteInfo:this.remoteInfo,origin:this.host});(a==null?void 0:a.init)===void 0&&x(Zt,G,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,q(this.host.options));try{await a.init(s.shareScope,s.initScope,s.remoteEntryInitOptions)}catch(e){x(dn,G,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName,shareScope:this.remoteInfo.shareScope},`${e}`,q(this.host.options))}await this.host.hooks.lifecycle.initContainer.emit({...s,id:e,remoteSnapshot:t,remoteEntryExports:a}),this.inited=!0})();try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:a,origin:this.host})}catch(n){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:a,error:n,origin:this.host}),n}finally{this.initing=!1,this.initPromise=void 0}return a}async get(e,t,n,r){let{loadFactory:i=!0}=n||{loadFactory:!0},a=await this.init(e,r,void 0,t);this.lib=a,await this.host.loaderHook.lifecycle.beforeGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:a,origin:this.host});let o;try{let n=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:a,expose:t,moduleInfo:this.remoteInfo});o=typeof n==`function`?n:void 0,o||=await a.get(t),o||x(un,G,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,expose:t,requestId:e,availableExposes:Gn(r)},void 0,q(this.host.options)),await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:a,moduleFactory:o,origin:this.host})}catch(n){throw await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:a,error:n,origin:this.host}),n}let s=Ce(this.remoteInfo.name,t),c=this.wraperFactory(o,s);if(!i)return c;await this.host.loaderHook.lifecycle.beforeExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:i,origin:this.host});try{let n=await c();return await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:i,exposeModule:n,origin:this.host}),n}catch(n){throw await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:i,error:n,origin:this.host}),n}}wraperFactory(e,t){function n(e,t){e&&typeof e==`object`&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for(`mf_module_id`))&&Object.defineProperty(e,Symbol.for(`mf_module_id`),{value:t,enumerable:!1})}return()=>{let r=e();return r instanceof Promise?r.then(e=>(n(e,t),e)):(n(r,t),r)}}},Y=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e){b(be(e),`Plugin configuration is invalid.`);let t=e.name;b(t,`A name must be provided by the plugin.`),this.registerPlugins[t]||(this.registerPlugins[t]=e,this.lifecycleKeys.forEach(t=>{let n=e[t];n&&this.lifecycle[t].on(n)}))}removePlugin(e){b(e,`A name is required.`);let t=this.registerPlugins[e];b(t,`The plugin "${e}" is not registered.`),this.lifecycleKeys.forEach(e=>{let n=t[e];n&&this.lifecycle[e].remove(n)}),delete this.registerPlugins[e]}},X=class{constructor(e){this.type=``,this.listeners=new Set,e&&(this.type=e)}on(e){typeof e==`function`&&this.listeners.add(e)}once(e){let t=this;this.on(function n(...r){return t.remove(n),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(n=>{let r=n(...e);r!==void 0&&(t=r)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}},Z=class extends X{emit(...e){let t,n=Array.from(this.listeners);if(n.length>0){let r=0,i=t=>t===!1?!1:r<n.length?Promise.resolve(n[r++].apply(null,e)).then(n=>n===void 0||e.length===1&&n===e[0]?i(t):i(n)):t;t=i()}return Promise.resolve(t)}};function Jn(e,t){if(!ve(t))return!1;if(e!==t){for(let n in e)if(!(n in t))return!1}return!0}var Q=class extends X{constructor(e){super(),this.onerror=x,this.type=e}emit(e){ve(e)||x(`The data for the "${this.type}" hook should be an object.`);for(let t of this.listeners)try{let n=t(e);if(n===void 0)continue;if(Jn(e,n))e=n;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){S(e),this.onerror(e)}return e}},$=class extends X{constructor(e){super(),this.onerror=x,this.type=e}emit(e){ve(e)||x(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let n=0,r=t=>(S(t),this.onerror(t),e),i=a=>{if(a!==void 0&&Jn(e,a))e=a;else if(a!==void 0)return this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`),e;if(n<t.length)try{return Promise.resolve(t[n++](e)).then(i,r)}catch(e){return r(e)}return e};return Promise.resolve(i(e))}return Promise.resolve(e)}},Yn=`Remote loading is disabled by experiments.optimization.disableRemote.`,Xn=class{constructor(){this.hooks=new Y({})}formatAndRegisterRemote(){return[]}loadRemote(){throw Error(Yn)}preloadRemote(){throw Error(Yn)}registerRemotes(){throw Error(Yn)}getRemoteModuleAndOptions(){throw Error(Yn)}initRawContainer(){throw Error(Yn)}};function Zn(e,t){let n=Se(t);n.url||x(sn,G,{remoteName:e.name});let r=l(t,n.url);e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function Qn(){return{name:`snapshot-plugin`,async afterResolve(e){let{remote:t,pkgNameOrAlias:n,expose:r,origin:i,remoteInfo:a,id:o}=e;if(!ge(t)||!_e(t)){let{remoteSnapshot:s,globalSnapshot:c}=await i.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:qt(t.name,r)});Zn(a,s);let l=[{nameOrAlias:n,exposes:[r],resourceCategory:`sync`,share:!1,depsRemote:!1,recordPreloadedAssets:!0}];await i.remoteHandler.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:l,options:i.options,origin:i});let[u]=l;if(u){let e={remote:t,preloadConfig:u},n=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:e,remoteInfo:a,remote:t,remoteSnapshot:s,globalSnapshot:c});n&&Un(a,i,n,!1,{initiator:`loadRemote`,id:o},u.recordPreloadedAssets).catch(()=>void 0)}return{...e,remoteSnapshot:s}}return e}}}function $n(e){let t=e.split(`:`);return t.length===1?{name:t[0],version:void 0}:t.length===2?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function er(e,t,n,r,i={},a){let{value:o}=O(e,C(t)),s=a||o;if(s&&!h(s)&&(n(s,t,r),s.remotesInfo)){let t=Object.keys(s.remotesInfo);for(let r of t){if(i[r])continue;i[r]=!0;let t=$n(r),a=s.remotesInfo[r];er(e,{name:t.name,version:a.matchedVersion},n,!1,i,void 0)}}}var tr=(e,t)=>document.querySelector(`${e}[${e===`link`?`href`:`src`}="${t}"]`);function nr(e,t,n,r,i){let a=[],o=[],s=[],c=new Set,u=new Set,{options:d}=e,{preloadConfig:f}=t,{depsRemote:p}=f;if(er(r,n,(t,n,r)=>{var i;let c;if(r)c=f;else if(Array.isArray(p)){let e=p.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;c=Pn(e)}else if(p===!0)c=f;else return;let u=l(t,Se(t).url);u&&s.push({name:n.name,moduleInfo:{name:n.name,entry:u,type:`remoteEntryType`in t?t.remoteEntryType:`global`,entryGlobalName:`globalName`in t?t.globalName:n.name,shareScope:``,version:`version`in t?t.version:void 0},url:u});let d=`modules`in t?t.modules:[],m=In(c.exposes);m.length&&`modules`in t&&(d=t==null||(i=t.modules)==null?void 0:i.reduce((e,t)=>((m==null?void 0:m.indexOf(t.moduleName))!==-1&&e.push(t),e),[]));function h(e){let n=e.map(e=>l(t,e));return c.filter?n.filter(c.filter):n}if(d){let r=d.length;for(let i=0;i<r;i++){let r=d[i],s=`${n.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:r.moduleName===`.`?n.name:s,name:n.name,remoteSnapshot:t,preloadConfig:c,remote:n,origin:e}),ze(s)||(c.resourceCategory===`all`?(a.push(...h(r.assets.css.async)),a.push(...h(r.assets.css.sync)),o.push(...h(r.assets.js.async)),o.push(...h(r.assets.js.sync))):c.resourceCategory===`sync`&&(a.push(...h(r.assets.css.sync)),o.push(...h(r.assets.js.sync))),Be(s))}}},!0,{},i),i.shared&&i.shared.length>0){let t=(t,n)=>{let{shared:r}=U(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};r&&typeof r.lib==`function`&&(n.assets.js.sync.forEach(e=>{c.add(l(i,e))}),n.assets.css.sync.forEach(e=>{u.add(l(i,e))}))};ue(i.shared).forEach(e=>{var n;let r=(n=d.shared)==null?void 0:n[e.sharedName];if(!r)return;let i=xe(e.shareScope||`default`);r.filter(t=>(!e.version||t.version===e.version)&&(t.shareConfig.layer??void 0)===e.layer&&(!e.shareScope||t.scope.some(e=>i.includes(e)))).forEach(n=>{t(n,e)})})}let m=o.filter(e=>!c.has(e)&&!tr(`script`,e));return{cssAssets:a.filter(e=>!u.has(e)&&!tr(`link`,e)),jsAssetsWithoutEntry:m,entryAssets:s.filter(e=>!tr(`script`,e.url))}}var rr=function(){return{name:`generate-preload-assets-plugin`,async generatePreloadAssets(e){let{origin:t,preloadOptions:n,remoteInfo:r,remote:i,globalSnapshot:a,remoteSnapshot:o}=e;return ge(i)&&_e(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:r.name,entry:i.entry,type:r.type||`global`,entryGlobalName:``,shareScope:``}}]}:(Zn(r,o),nr(t,n,r,a,o))}}};function ir(e,t){let n=k({name:t.name,version:t.options.version}),r=n&&`remotesInfo`in n&&n.remotesInfo&&O(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:Me(),remoteSnapshot:k({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:Me(),remoteSnapshot:k({name:e.name,version:`version`in e?e.version:void 0})}}var ar=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new Y({beforeLoadRemoteSnapshot:new Z(`beforeLoadRemoteSnapshot`),loadSnapshot:new $(`loadGlobalSnapshot`),loadRemoteSnapshot:new $(`loadRemoteSnapshot`),afterLoadSnapshot:new $(`afterLoadSnapshot`),beforeLoadManifest:new Z(`beforeLoadManifest`),afterLoadManifest:new Z(`afterLoadManifest`)}),this.manifestLoading=E.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,initiator:n=`loadRemote`}){let{options:r}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:r,moduleInfo:e,origin:this.HostInstance});let i=k({name:this.HostInstance.options.name,version:this.HostInstance.options.version});i||(i={version:this.HostInstance.options.version||``,remoteEntry:``,remotesInfo:{}},Fe({[this.HostInstance.options.name]:i})),i&&`remotesInfo`in i&&!O(i.remotesInfo,e.name).value&&(`version`in e||`entry`in e)&&(i.remotesInfo={...i==null?void 0:i.remotesInfo,[e.name]:{matchedVersion:`version`in e?e.version:e.entry}});let{hostGlobalSnapshot:a,remoteSnapshot:o,globalSnapshot:s}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:l}=await this.hooks.lifecycle.loadSnapshot.emit({options:r,moduleInfo:e,hostGlobalSnapshot:a,remoteSnapshot:o,globalSnapshot:s}),u,d;if(c){if(h(c)){let r=c.remoteEntry,i=await this.loadManifestSnapshot(r,e,{},{initiator:n,id:t||e.name}),a=Pe({...e,entry:r},i);u=i,d=a}else{let{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:`global`});u=t,d=l}}else if(ge(e)){let r=await this.loadManifestSnapshot(e.entry,e,{},{initiator:n,id:t||e.name}),i=Pe(e,r);u=r,d=i}else x(nn,G,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(l)},void 0,q(this.HostInstance.options));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:r,moduleInfo:e,remoteSnapshot:u}),{remoteSnapshot:u,globalSnapshot:d}}getGlobalRemoteInfo(e){return ir(e,this.HostInstance)}async getManifestJson(e,t,n,r){return(async()=>{let n=K(t),i=this.manifestCache.get(e);if(i)return await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:r,manifestJson:i,cached:!0,origin:this.HostInstance}),i;await this.hooks.lifecycle.beforeLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:r,origin:this.HostInstance});let a,o,s=!1;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{},n,r?{...r,url:e,resourceType:`manifest`}:void 0);t&&t instanceof Response||(t=await fetch(e,{})),a=t,i=await t.json()}catch(c){o=c,i=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:c,from:`runtime`,lifecycle:`afterResolve`,remote:n,origin:this.HostInstance}),i||(delete this.manifestLoading[e],await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:r,response:a,error:c,origin:this.HostInstance}),x(Qt,G,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${c}`,q(this.HostInstance.options))),s=!0}let c=[!i.metaData&&`metaData`,!i.exposes&&`exposes`,!i.shared&&`shared`].filter(Boolean),l=c.length>0?Error(`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${c.join(`, `)}.`):void 0;return l&&await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:l,from:`runtime`,lifecycle:`afterResolve`,remote:n,origin:this.HostInstance}),await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:r,manifestJson:i,response:a,error:l||o,recovered:l?void 0:s||void 0,origin:this.HostInstance}),l&&x(ln,G,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name,missingFields:c.join(`,`)},void 0,q(this.HostInstance.options)),this.manifestCache.set(e,i),i})()}async loadManifestSnapshot(e,t,n,r){let i=async()=>{let i=await this.getManifestJson(e,t,n,r),a=m(i,{version:e}),{remoteSnapshot:o}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:i,remoteSnapshot:a,manifestUrl:e,from:`manifest`});return o};return this.manifestLoading[e]||(this.manifestLoading[e]=i().then(e=>e)),this.manifestLoading[e]}},or=class{constructor(){this.hooks=new Y({})}},sr=class{constructor(e){this.hooks=new Y({beforeRegisterShare:new Q(`beforeRegisterShare`),afterRegisterShare:new X(`afterRegisterShare`),afterResolve:new $(`afterResolve`),beforeLoadShare:new $(`beforeLoadShare`),loadShare:new Z,afterLoadShare:new X(`afterLoadShare`),errorLoadShare:new X(`errorLoadShare`),resolveShare:new Q(`resolveShare`),initContainerShareScopeMap:new Q(`initContainerShareScopeMap`)}),this.host=e,this.shareScopeMap={},this.initTokens=Object.create(null),this._setGlobalShareScopeMap(e.options)}emitAfterRegisterShare(e,t){this.hooks.lifecycle.afterRegisterShare.emit({pkgName:e,...t,shareScopeMap:this.shareScopeMap,origin:this.host})}emitAfterLoadShare({lifecycle:e,pkgName:t,shareInfo:n,selectedShared:r,loadContext:i}){try{this.hooks.lifecycle.afterLoadShare.emit({pkgName:t,shareInfo:n,selectedShared:r,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,loadContext:i,origin:this.host})}catch(e){S(e)}}emitErrorLoadShare({lifecycle:e,pkgName:t,shareInfo:n,error:r,recovered:i,loadContext:a}){try{this.hooks.lifecycle.errorLoadShare.emit({pkgName:t,shareInfo:n,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,origin:this.host,error:r,recovered:i,loadContext:a})}catch(e){S(e)}}registerShared(e,t){let{newShareInfos:n,allShareInfos:r}=Lt(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{n.scope.forEach(r=>{var i;this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:n});let a=R(I(this.shareScopeMap,r),e,n.shareConfig.layer),o=a==null?void 0:a[n.version];a||this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:n.loaded||!!n.lib,shared:n,from:t.name}),this.emitAfterRegisterShare(e,{scope:r,shared:n,previousShared:o,registeredShared:(i=R(I(this.shareScopeMap,r),e,n.shareConfig.layer))==null?void 0:i[n.version],trigger:`runtime`})})})}),{newShareInfos:n,allShareInfos:r}}async loadShare(e,t){let{host:n}=this,r=t==null?void 0:t.context,i=Gt({pkgName:e,extraOptions:t,shareInfos:n.options.shared}),a=i;try{i!=null&&i.scope&&await Promise.all(i.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:i.strategy,context:r}))}));let o=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:i,shared:n.options.shared,origin:n,loadContext:r});a=o.shareInfo,r=o.loadContext||r,b(a,`Cannot find shared "${e}" in host "${n.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);let s=a,{shared:c,useTreesShaking:l}=U(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare,r)||{};if(c){let t=Kt(c,l);if(t.lib)return W(t,n.options.name),this.emitAfterLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:s,selectedShared:c,loadContext:r}),t.lib;if(t.loading&&!t.loaded){let i=await t.loading;return t.loaded=!0,t.lib||=i,W(t,n.options.name),this.emitAfterLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:s,selectedShared:c,loadContext:r}),i}{let i=(async()=>{let e=await t.get();return W(t,n.options.name),t.loaded=!0,t.lib=e,e})();this.setShared({pkgName:e,loaded:!1,shared:c,from:n.options.name,lib:null,loading:i,treeShaking:l?t:void 0});let a=await i;return this.emitAfterLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:s,selectedShared:c,loadContext:r}),a}}{if(t!=null&&t.customShareInfo)return this.emitErrorLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:s,recovered:!0,loadContext:r}),!1;let i=z(s.treeShaking),a=Kt(s,i),o=(async()=>{let t=await a.get();a.lib=t,a.loaded=!0,W(a,n.options.name);let{shared:i,useTreesShaking:o}=U(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare,r)||{};if(i){let e=Kt(i,o);e.lib=t,e.loaded=!0,i.from=s.from}return t})();this.setShared({pkgName:e,loaded:!1,shared:s,from:n.options.name,lib:null,loading:o,treeShaking:i?a:void 0});let c=await o;return this.emitAfterLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:s,selectedShared:s,loadContext:r}),c}}catch(t){throw this.emitErrorLoadShare({lifecycle:`loadShare`,pkgName:e,shareInfo:a,error:t,loadContext:r}),t}}initializeSharing(e=Mt,t){var n;let{host:r}=this,i=t==null?void 0:t.from,a=t==null?void 0:t.strategy,o=(t==null||(n=t.context)==null?void 0:n.trigger)||i||`runtime`,s=t==null?void 0:t.initScope,c=[];if(i!==`build`){let{initTokens:t}=this;s||=[];let n=t[e];if(n||=t[e]={from:this.host.name},s.indexOf(n)>=0)return c;s.push(n)}let l=this.shareScopeMap,u=r.options.name,d=I(l,e)??L(l,e,{}),f=(t,n)=>{var r;let{version:i,eager:a}=n,s=R(d,t,n.shareConfig.layer,!0),c=I(s,i),l=!!(c&&(`eager`in c&&c.eager||`shareConfig`in c&&(r=c.shareConfig)!=null&&r.eager));(!c||c.strategy!==`loaded-first`&&!c.loaded&&(!a==!l?u>c.from:a))&&(c?s[i]=n:L(s,i,n)),this.emitAfterRegisterShare(t,{scope:e,shared:n,previousShared:c,registeredShared:s[i],trigger:o})},p=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e}),n,i={initiator:`loadShare`,id:e,resourceType:`remoteEntry`,url:t.remoteInfo.entry};try{n=await t.getEntry(void 0,i)}catch(i){if(n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:`runtime`,lifecycle:`beforeLoadShare`,remote:t.remoteInfo,origin:r}),!n)return}finally{n!=null&&n.init&&!t.initing&&(t.remoteEntryExports=n,await t.init(void 0,void 0,s,void 0,i))}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(n=>{n.scope.includes(e)&&f(t,n)})}),(r.options.shareStrategy===`version-first`||a===`version-first`)&&r.options.remotes.forEach(n=>{var r;let{shareScope:i}=n;(i===e||(t==null||(r=t.context)==null?void 0:r.shareScopeDispatch)===`declared`&&Array.isArray(i)&&i.includes(e))&&c.push(p(n.name))}),c}loadShareSync(e,t){let{host:n}=this,r=t==null?void 0:t.context,i=Gt({pkgName:e,extraOptions:t,shareInfos:n.options.shared});try{i!=null&&i.scope&&i.scope.forEach(e=>{this.initializeSharing(e,{strategy:i.strategy,from:t==null?void 0:t.from,context:r})});let{shared:a}=U(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare,r)||{};if(a){if(typeof a.lib==`function`)return W(a,n.options.name),a.loaded||(a.loaded=!0,a.from===n.options.name&&(i.loaded=!0)),this.emitAfterLoadShare({lifecycle:`loadShareSync`,pkgName:e,shareInfo:i,selectedShared:a,loadContext:r}),a.lib;if(typeof a.get==`function`){let t=a.get();if(!(t instanceof Promise))return W(a,n.options.name),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:a}),this.emitAfterLoadShare({lifecycle:`loadShareSync`,pkgName:e,shareInfo:i,selectedShared:a,loadContext:r}),t}}if(i.lib)return i.loaded||=!0,this.emitAfterLoadShare({lifecycle:`loadShareSync`,pkgName:e,shareInfo:i,selectedShared:i,loadContext:r}),i.lib;if(i.get){let a=i.get();return a instanceof Promise&&x((t==null?void 0:t.from)===`build`?en:tn,G,{hostName:n.options.name,sharedPkgName:e},void 0,q(n.options)),i.lib=a,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:i.lib,shared:i}),this.emitAfterLoadShare({lifecycle:`loadShareSync`,pkgName:e,shareInfo:i,selectedShared:i,loadContext:r}),i.lib}x(tn,G,{hostName:n.options.name,sharedPkgName:e},void 0,q(n.options))}catch(t){throw this.emitErrorLoadShare({lifecycle:`loadShareSync`,pkgName:e,shareInfo:i,error:t,loadContext:r}),t}}initShareScopeMap(e,t,n={}){let{host:r}=this;L(this.shareScopeMap,e,t),this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:n,lib:r,loading:i,loaded:a,get:o,treeShaking:s}){let{version:c,scope:l=`default`,...u}=t,d=Array.isArray(l)?l:[l],f=e=>{let t=(e,t,n)=>{n&&!e[t]&&(e[t]=n)},n=s?e.treeShaking:e;t(n,`loaded`,a),t(n,`loading`,i),t(n,`get`,o),t(n,`lib`,r)};d.forEach(i=>{var a;let o=R(I(this.shareScopeMap,i)??L(this.shareScopeMap,i,{}),e,(a=t.shareConfig)==null?void 0:a.layer,!0),s=I(o,c)??L(o,c,{version:c,scope:[i],...u,lib:r});f(s),n&&s.from!==n&&(s.from=n)})}_setGlobalShareScopeMap(e){let t=Wt(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}},cr=class{constructor(){this.shareScopeMap={},this.hooks=new Y({afterResolve:new $(`afterResolve`)})}registerShared(){return{newShareInfos:{},allShareInfos:{}}}loadShare(){throw Error(`Shared dependency loading is disabled by experiments.optimization.disableShared.`)}loadShareSync(){throw Error(`Shared dependency loading is disabled by experiments.optimization.disableShared.`)}initializeSharing(){return[]}initShareScopeMap(e,t){this.shareScopeMap[e]=t}},lr=class{constructor(e){this.hooks=new Y({beforeRegisterRemote:new Q(`beforeRegisterRemote`),registerRemote:new Q(`registerRemote`),beforeRequest:new $(`beforeRequest`),afterMatchRemote:new Z(`afterMatchRemote`),onLoad:new Z(`onLoad`),afterLoadRemote:new Z(`afterLoadRemote`),handlePreloadModule:new X(`handlePreloadModule`),errorLoadRemote:new Z(`errorLoadRemote`),beforePreloadRemote:new Z(`beforePreloadRemote`),generatePreloadAssets:new Z(`generatePreloadAssets`),afterPreloadRemote:new Z(`afterPreloadRemote`),loadEntry:new Z}),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:n,expose:r}=t,{name:i,alias:a}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},a&&e.startsWith(i)){let t=e.replace(i,a);this.idToRemoteMap[t]={name:n.name,expose:r}}else if(a&&e.startsWith(a)){let t=e.replace(a,i);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){let{host:n}=this,r=Jt(n.options.remotes,e),i=e,a=r==null?void 0:r.expose,o=r?K(r.remote):void 0,s;try{let{loadFactory:r=!0}=t||{loadFactory:!0},{module:c,moduleOptions:l,remoteMatchInfo:u}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:d,remote:f,expose:p,id:m,remoteSnapshot:h}=u;i=m,a=p,o=K(f);let g=await c.get(m,p,t,h),_=await this.hooks.lifecycle.onLoad.emit({id:m,pkgNameOrAlias:d,expose:p,exposeModule:r?g:void 0,exposeModuleFactory:r?void 0:g,remote:f,options:l,moduleInstance:c,origin:n});return this.setIdToRemoteMap(e,u),s={id:i,expose:a,remote:o,options:t,origin:n},typeof _==`function`?_:g}catch(r){let{from:c=`runtime`}=t||{from:`runtime`},l;try{l=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:c,lifecycle:`onLoad`,expose:a,remote:o,origin:n})}catch(e){throw s={id:i,expose:a,remote:o,options:t,error:e,origin:n},e}if(!l)throw s={id:i,expose:a,remote:o,options:t,error:r,origin:n},r;return s={id:i,expose:a,remote:o,options:t,error:r,origin:n,recovered:!0},l}finally{s&&await this.hooks.lifecycle.afterLoadRemote.emit(s)}}async preloadRemote(e){let{host:t}=this,n=[];await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=Fn(t.options.remotes,e),i=e=>{let{preloadConfig:t,remote:n}=e,r=t.exposes||[];return r.length?r.map(r=>({ops:{...e,preloadConfig:{...t,exposes:[r]}},id:qt(n.name,r)})):[{ops:e,id:`${n.name}/*`}]},a;await Promise.all(r.flatMap(i).map(async e=>{let{ops:r,id:i}=e,{remote:a,preloadConfig:o}=r,s=K(a);try{let{globalSnapshot:e,remoteSnapshot:c}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:a,id:i,initiator:`preloadRemote`}),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:r,remote:a,remoteInfo:s,globalSnapshot:e,remoteSnapshot:c});if(!l)return;let u=await Un(s,t,l,!0,{initiator:`preloadRemote`,id:i},o.recordPreloadedAssets);n.push({remote:a,remoteInfo:s,preloadConfig:o,id:i,results:u})}catch(e){n.push({remote:a,remoteInfo:s,preloadConfig:o,id:i,results:[{url:s.entry,status:`error`,resourceType:/\.json(?:$|[?#])/i.test(s.entry)?`manifest`:`remoteEntry`,initiator:`preloadRemote`,id:i,error:e}]})}}));let o=n.flatMap(e=>e.results.filter(e=>e.status===`error`||e.status===`timeout`));if(o.length>0&&(a=Error(`preloadRemote failed to load ${o.length} resource(s).`),Object.assign(a,{results:n,failedResults:o})),await this.hooks.lifecycle.afterPreloadRemote.emit({preloadOps:e,options:t.options,origin:t,results:n,error:a}),a)throw a}registerRemotes(e,t){let{host:n}=this;e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:t==null?void 0:t.force})})}initRawContainer(e,t,n){let{host:r}=this,i=new qn({host:r,remoteInfo:K({name:e,entry:t})});return i.remoteEntryExports=n,r.moduleCache.set(e,i),i}async getRemoteModuleAndOptions(e){let{host:t}=this,{id:n}=e,r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:t.options,origin:t})}catch(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:t.options,origin:t,from:`runtime`,error:e,lifecycle:`beforeRequest`}),!r)throw e}let{id:i}=r,a=Jt(t.options.remotes,i);if(!a)try{x($t,G,{hostName:t.options.name,requestId:i},void 0,q(t.options))}catch(e){throw await this.hooks.lifecycle.afterMatchRemote.emit({id:i,options:t.options,error:e,origin:t}),e}let{remote:o}=a,s=K(o);await this.hooks.lifecycle.afterMatchRemote.emit({id:i,...a,options:t.options,remoteInfo:s,origin:t});let c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:i,...a,options:t.options,origin:t,remoteInfo:s}),{remote:l,expose:u}=c;b(l&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${i}.`);let d=t.moduleCache.get(l.name),f={host:t,remoteInfo:s};return d||(d=new qn(f),t.moduleCache.set(l.name,d)),{module:d,moduleOptions:f,remoteMatchInfo:c}}registerRemote(e,t,n){let{host:r}=this,i=()=>{if(e.alias){let n=t.find(t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||((n=t.alias)==null?void 0:n.startsWith(e.alias)))});b(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}`entry`in e&&typeof window<`u`&&!e.entry.startsWith(`http`)&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||=Mt,e.type||=Nt};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});let a=t.find(t=>t.name===e.name);if(!a)i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r});else{let o=[`The remote "${e.name}" is already registered.`,`Please note that overriding it may cause unexpected errors.`];n!=null&&n.force&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),u(o.join(` `)))}}removeRemote(e){try{let{host:n}=this,{name:r}=e,i=n.options.remotes.findIndex(e=>e.name===r);i!==-1&&n.options.remotes.splice(i,1);let a=O(w.__FEDERATION__.moduleInfo,C(e)).key;delete w.__FEDERATION__.moduleInfo[a],`entry`in e&&(n.snapshotHandler.manifestCache.delete(e.entry),delete E.__FEDERATION__.__MANIFEST_LOADING__[e.entry]);let{hostGlobalSnapshot:o}=ir(e,n);if(o){let t=o&&`remotesInfo`in o&&o.remotesInfo&&O(o.remotesInfo,e.name).key;t&&delete o.remotesInfo[t]}let s=n.moduleCache.get(e.name);if(s){var t;let r=s.remoteInfo,i=r.entryGlobalName;w[i]&&((t=Object.getOwnPropertyDescriptor(w,i))!=null&&t.configurable?delete w[i]:w[i]=void 0);let a=Dn(s.remoteInfo);D[a]&&delete D[a];let o=r.buildVersion?c(r.name,r.buildVersion):r.name,l=w.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===o:e.name===o);if(l!==-1){let e=w.__FEDERATION__.__INSTANCES__[l];o=e.options.id||o;let t=Wt(),n=!0,i=[];Object.keys(t).forEach(e=>{let a=t[e];a&&Object.keys(a).forEach(e=>{let t=a[e];t&&Pt(t).forEach(({pkgName:e,layer:a,versions:o})=>{o&&Object.keys(o).forEach(s=>{let c=o[s];c&&typeof c==`object`&&c.from===r.name&&(c.loaded||c.loading?(c.useIn=c.useIn.filter(e=>e!==r.name),c.useIn.length?n=!1:i.push([t,e,a,s])):i.push([t,e,a,s]))})})})}),n&&(e.shareScopeMap={},delete t[o]),i.forEach(([e,t,n,r])=>{Ft(e,t,n,r)}),w.__FEDERATION__.__INSTANCES__.splice(l,1)}n.moduleCache.delete(e.name)}}catch(e){me.error(`removeRemote failed: ${e instanceof Error?e.message:String(e)}`)}}},ur=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN!=`boolean`||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN,dr=typeof FEDERATION_OPTIMIZE_NO_REMOTE!=`boolean`||!FEDERATION_OPTIMIZE_NO_REMOTE,fr=typeof FEDERATION_OPTIMIZE_NO_SHARED!=`boolean`||!FEDERATION_OPTIMIZE_NO_SHARED,pr=class{constructor(e){this.hooks=new Y({beforeInit:new Q(`beforeInit`),init:new X,beforeInitContainer:new $(`beforeInitContainer`),initContainer:new $(`initContainer`)}),this.version=`2.9.5`,this.moduleCache=new Map,this.loaderHook=new Y({getModuleInfo:new X,createScript:new X,createLink:new X,fetch:new Z,loadEntryError:new Z,afterLoadEntry:new Z(`afterLoadEntry`),beforeInitRemote:new Z(`beforeInitRemote`),afterInitRemote:new Z(`afterInitRemote`),beforeGetExpose:new Z(`beforeGetExpose`),afterGetExpose:new Z(`afterGetExpose`),beforeExecuteFactory:new Z(`beforeExecuteFactory`),afterExecuteFactory:new Z(`afterExecuteFactory`),getModuleFactory:new Z}),this.bridgeHook=new Y({beforeBridgeRender:new X,afterBridgeRender:new X,beforeBridgeDestroy:new X,afterBridgeDestroy:new X,afterBridgeRouteSync:new X});let t=dr&&ur?[Qn(),rr()]:[],n={id:kn(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:!0};this.name=e.name,this.options=n,this.snapshotHandler=dr?new ar(this):new or,this.sharedHandler=fr?new sr(this):new cr,this.remoteHandler=dr?new lr(this):new Xn,this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...n.plugins,...e.plugins||[]]),this.options=this.formatOptions(n,e)}initOptions(e){e.name&&e.name!==this.options.name&&x(fe(on,G)),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=Mt,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){return this.remoteHandler.initRawContainer(e,t,n)}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,n={}){this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){let n=fr?Lt(e,t).allShareInfos:{},{userOptions:r,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),a=this.remoteHandler.formatAndRegisterRemote(i,r),{allShareInfos:o}=this.sharedHandler.registerShared(i,r),s=[...i.plugins];r.plugins&&r.plugins.forEach(e=>{s.includes(e)||s.push(e)});let c={...e,...t,plugins:s,remotes:a,shared:o,id:r.id||e.id};return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){this.options.plugins=Mn(e,this)}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}},mr=Wn;function hr(){return typeof FEDERATION_BUILD_IDENTIFIER<`u`?FEDERATION_BUILD_IDENTIFIER:``}function gr(e,t){let n=hr();return w.__FEDERATION__.__INSTANCES__.find(r=>!!(n&&r.options.id===n||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&t&&r.options.version===t))}export{an as a,ke as c,G as i,b as l,mr as n,Ae as o,pr as r,je as s,gr as t};
@@ -1,7 +1,7 @@
1
- import{t as e}from"./assets/dist-BsS9iigp.js";import{t}from"./assets/helpers-CgQtlgZl.js";import{t as n}from"./assets/vite-preload-helper-nldAWQd6.js";var r={},i=new Set,a=new Map;function o(e,t){let n=a.get(e);return n||(n=Promise.resolve().then(t).catch(t=>{throw a.delete(e),t}),a.set(e,n)),n}async function s(e){if(typeof document>`u`)return;let t=r[e]||[];await Promise.all(t.map(e=>{let t=new URL(e,import.meta.url).href;return i.has(t)||(i.add(t),document.querySelector(`link[rel="stylesheet"][href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.onload=()=>e(),r.onerror=()=>{i.delete(t),r.remove(),n(Error(`[Module Federation] Failed to load CSS asset: ${t}`))},document.head.appendChild(r)})}))}var c={"./Components":async()=>{await s(`./Components`),await Promise.all([]);let e=await o(`./Components`,()=>n(()=>import(`./assets/Components-zqvNzb-v.js`),[],import.meta.url)),t=e&&e.__mf_remote_dependency_pending;t&&typeof t.then==`function`&&await t;let r={};return Object.assign(r,e),Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),r}};typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var l=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__mf_v__runtimeInit__mf_v__.js__`,u=globalThis[l];if(!u){let e,t,n=new Promise((n,r)=>{e=n,t=r});u=globalThis[l]={initPromise:n,initResolve:e,initReject:t}}var d=u.initResolve,{initReject:f}=u,p=e=>{throw f(e),e},m=`__mf_module_cache__`;globalThis[m]||={share:{},remote:{}},globalThis[m].share||={},globalThis[m].remote||={};var h=globalThis[m];for(let e of Object.keys(h.share))if(e.startsWith(`default:`)){let t=e.slice(8);h.share[t]===void 0&&(h.share[t]=h.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;h.share[t]===void 0&&(h.share[t]=h.share[e])}var g={},_=Array.isArray(`default`)?`default`:[`default`],v=`default`,y=`ConfigCustomAssistant`,b=[[`react`],[`react/jsx-runtime`,`react-dom`,`@emotion/react`],[`@emotion/styled`],[`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],x,S;async function C(e){for(let t=0;;t++)try{return await e()}catch(e){throw e}}var w=Symbol(`mf.originalSharedProvider`),T={emit:e=>e},E=e=>Array.isArray(e.scope)?e.scope:[e.scope||`default`],D=(e,t)=>{if(t!==`version-first`)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=Object.assign({},r,{[w]:r});return n},O=(e,t)=>{if(!t)return;let n=Object.entries(e||{}),r=n.find(([,e])=>e===t);if(r)return{version:r[0],provider:t,registered:!0};if(typeof t.version==`string`&&t.version)return{version:t.version,provider:t,registered:!1};let i=n.filter(([,e])=>e===t||!!(t.from&&(e==null?void 0:e.from)===t.from));if(i.length===1)return{version:i[0][0],provider:t,registered:!1}},k=(e,n,r,i)=>{var a;if(!e||!r)return;let o=Object.fromEntries(Object.entries(e).filter(([,e])=>{var t;return(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));if(Object.keys(o).length===0)return;let s=E(r),c=D(o,i),l={};for(let e of s)l[e||`default`]={[n]:c};let u=(a=t.getRegisteredShare(l,n,{...r,scope:s,strategy:i},T))==null?void 0:a.shared;return(u==null?void 0:u[w])||u},A=(e,t,n,r)=>{var i;let a=e=>j(e,n),o=Object.fromEntries(Object.entries(e||{}).filter(([,e])=>{var t;return!a(e)&&(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));n!=null&&n.version&&((i=n.shareConfig)==null?void 0:i.import)!==!1&&(o[n.version]||(o[n.version]=n));let s=k(o,t,n,r);return a(s)?void 0:s},j=(e,t)=>e===t||!!(t!=null&&t.from&&(e==null?void 0:e.from)===t.from),M=(e,t,n,r,i,a,o,s,c)=>{var l,u;if(c!==`version-first`||!s)return;let d=t==null||(l=t.options)==null||(l=l.shared)==null?void 0:l[i],f=Array.isArray(d)?d.find(e=>(e==null?void 0:e.version)===a):void 0,p=((s==null?void 0:s.from)===(t==null||(u=t.options)==null?void 0:u.name)?s:void 0)||(j(f,s)?f:t?void 0:s);if(!p)return;let m=e.some(e=>{var i,a;return e!==t&&(e==null||(i=e.options)==null?void 0:i.name)===(o==null?void 0:o.from)&&(e==null||(a=e.shareScopeMap)==null?void 0:a[r])===n});if(!(m&&(o!=null&&o.loaded||typeof(o==null?void 0:o.lib)==`function`)))return m?p:void 0},ee=(e,t,n,r,i,a,o,s,c)=>{let l=a.registered?M(e,t,n,r,i,a.version,a.provider,s,c):void 0,u=l||o;if(u&&(!a.registered||j(u,s)))return{provider:u,scopeRootProvider:l}};async function N(){return x||=C(()=>n(()=>import(`./assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-AqysfSvK.js`),[],import.meta.url)).catch(e=>{throw x=void 0,e}),x}async function P(){return c}var F=0,I=Promise.resolve(),L=()=>{};async function R(t={},n=[],r={}){F++===0&&(I=new Promise(e=>L=e));try{var i,a;let r=function(e,t,n,r){let i=(Array.isArray(r)?r[0]:r)||`default`,a=t||!n?e:e+`@`+n,o={canonical:i+`:`+a};return i==="default"&&(o.aliases=[a]),o},T=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},E=Symbol.for(`module-federation.shared-cache-listeners`),D=Symbol.for(`module-federation.shared-cache-owners`),M=e=>{let t=e[D];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,D,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},P=(e,t)=>{var n;return(n=e[D])==null?void 0:n[t.canonical]},F=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},I=(e,t)=>{if(e===t)return!0;let n=F(e),r=F(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},L=(e,t,n,r)=>{var i;let a=T(e,t);if(a!==void 0&&I(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[D];r===void 0?s&&delete s[t.canonical]:M(e)[t.canonical]=r;let c=(i=e[E])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},R=Symbol.for(`module-federation.tree-shaking-shared-cache`),z=e=>{let t=e[R];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,R,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},te=(e,t,n,r)=>{if(!Array.isArray(n))return r;let i=[...new Set(n)].sort(),a=z(e),o=a[t.canonical]||=[],s=o.find(e=>e.providedExports.length===i.length&&e.providedExports.every((e,t)=>e===i[t]));return s?s.value=r:o.push({providedExports:i,value:r}),r},B=Symbol.for(`module-federation.tree-shaking-shared-selection-cache`),ne=e=>{let t=e[B];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,B,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},V=(e,t,n)=>{var r;let i=T(e,t);return i===void 0?(r=e[B])==null||(r=r[t.canonical])==null?void 0:r[n]:i},re=(e,t,n,r)=>{let i=ne(e),a=i[t.canonical]||=Object.create(null);return a[n]=r,r},H=((i=globalThis.__FEDERATION__)==null?void 0:i.__INSTANCES__)||[],ie=(a=n.find(e=>e==null?void 0:e.from))==null?void 0:a.from,ae=H.find(e=>{var n,r;return(e==null||(n=e.options)==null?void 0:n.name)===ie&&(e==null||(r=e.shareScopeMap)==null?void 0:r.default)===t})||H.find(e=>{var n,r;return(e==null||(n=e.options)==null?void 0:n.name)!==y&&(e==null||(r=e.shareScopeMap)==null?void 0:r.default)===t}),oe=Object.create(null),se=e=>{let t=Object.create(null);for(let[n,r]of Object.entries(e||{}))t[n]=Object.assign(Object.create(null),r);return t},ce=(e,t)=>{var n;for(let[i,a]of Object.entries(((n=Y.shareScopeMap)==null?void 0:n[e])||{}))for(let[e,n]of Object.entries(a||{})){var r;if(!n||n.get===((r=W[i])==null?void 0:r.get))continue;let a=t[i]||={};a[e]===void 0&&(a[e]=n)}},le=(e,t)=>{ce(e,t);let n=!ae&&Object.values(t||{}).some(e=>Object.values(e||{}).some(G)),r=n?se(t):t;return oe[e]={host:t,runtime:r,isWebpackScope:n},r},ue=()=>{let e=Object.values(oe).filter(({isWebpackScope:e})=>e);if(e.length!==0)for(let{host:t,runtime:n}of e)for(let[e,r]of Object.entries(t||{})){let t=n[e]||=Object.create(null);for(let[e,n]of Object.entries(r||{}))t[e]=n}},U=Object.create(null);for(let[e,n]of Object.entries(t)){let t=U[e]=Object.create(null);for(let[e,r]of Object.entries(n))t[e]=Object.assign({},r)}let{usedShared:W,usedRemotes:de}=await N();function G(e){if(typeof(e==null?void 0:e.get)!=`function`)return!1;let t=Function.prototype.toString.call(e.get);return t.includes(`__webpack_require__`)||/\.\s*e\s*\([^)]*\)\s*\.then\s*\(/.test(t)}let fe=Object.values(U).some(e=>Object.values(e||{}).some(G)),pe=e=>{let t=e.split(`/`);return e.startsWith(`@`)?t.slice(0,2).join(`/`):t[0]},K=(e,n,r,i)=>{if(typeof A!=`function`)return;let a=pe(e),o=!i||a===e?[[e,n]]:[[e,n],[a,W[a]]];for(let[n,i]of o){if(!i)continue;let a=A(r?n===e?r:U[n]:U[n]??t[n],n,i,`version-first`);if(a)return a}},me=(e,t,n)=>{let r=K(e,t,n,!0);return r&&G(r)&&!r.lib&&!r.loaded?r:void 0};var o=g[v];if(o||=g[v]={from:y},n.indexOf(o)>=0)return;n.push(o);let he=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},ge=[],_e=globalThis.window===void 0?await Promise.all([]):[],q=`__mf_vite_runtime_share_load_id__`,ve=0,J=new Map,ye=new Map,Y=e({name:y,remotes:de,shared:W,plugins:[be(),xe(),...ge,..._e],shareStrategy:`version-first`});Y.initShareScopeMap(`default`,le(`default`,t));function be(){return{name:`vite-share-pin-lifecycle-plugin`,resolveShare(e){var t;let n=(t=e.shareInfo)==null?void 0:t[q],r=n===void 0?void 0:ye.get(n);if(!r)return e;let i=e.resolver;return e.resolver=(...e)=>(r.pinned.reapply(),i(...e)),r.pinned.reveal(),e}}}function xe(){return{name:`vite-real-name-snapshot-plugin`,afterLoadSnapshot(e){let t=e&&e.remoteSnapshot,n=t&&t.globalName,r=t&&t.version;if(!n||!r||!t.remoteEntry)return e;let i=globalThis.__FEDERATION__&&globalThis.__FEDERATION__.moduleInfo,a=n+`:`+r;return i&&!i[a]&&(i[a]=t),e}}}let Se=Y.sharedHandler.hooks.lifecycle.resolveShare;if(!Y.__mfKeepAdoptedProviders){var s,c;Y.__mfKeepAdoptedProviders=!0,(s=Y.sharedHandler)==null||(s=s.hooks)==null||(s=s.lifecycle)==null||(s=s.afterRegisterShare)==null||(c=s.on)==null||c.call(s,e=>{var t,n,r;let{shared:i,previousShared:a,registeredShared:o}=e||{},s=(t=Y.shareScopeMap)==null||(t=t[e.scope])==null?void 0:t[e.pkgName];if(i&&s){if(((n=i.shareConfig)==null?void 0:n.import)!==!1){var c;o!==i&&(o==null||(c=o.shareConfig)==null?void 0:c.import)===!1&&!o.loaded&&s[i.version]===o&&(s[i.version]=i)}else o===i&&a&&((r=a.shareConfig)==null?void 0:r.import)!==!1&&s[i.version]===i&&(s[i.version]=a)}})}let X=new WeakMap;Se.on(e=>{var t;let n=(t=e.shareInfo)==null?void 0:t[q],r=e.resolver;return typeof r==`function`&&(e.resolver=(...t)=>{var i;let a=r(...t);if((a==null||(i=a.shared)==null||(i=i.shareConfig)==null?void 0:i.import)===!1&&typeof k==`function`&&W[e.pkgName]){var o,s;let t=k((o=e.shareScopeMap)==null||(o=o[e.scope])==null?void 0:o[e.pkgName],e.pkgName,W[e.pkgName],`version-first`);t&&((s=t.shareConfig)==null?void 0:s.import)!==!1&&(a={shared:t,useTreesShaking:a.useTreesShaking})}let c=a==null?void 0:a.shared;return c&&(typeof c==`object`||typeof c==`function`)&&!X.has(c)&&X.set(c,{from:c.from}),n!==void 0&&c&&J.set(n,c),a}),e});let Ce=(e,t,n,r)=>{if(!e||e[t]!==n)return;let i=Object.assign({},r,{version:r.version??t,scope:r.scope??(n==null?void 0:n.scope)??[`default`],strategy:`loaded-first`}),a=r.from;e[t]=i;let o=()=>n===void 0?e[t]===void 0:e[t]===n;return{provider:i,reveal(){return e[t]===i&&(n===void 0?delete e[t]:e[t]=n,!0)},reapply(){return o()?(e[t]=i,!0):!1},release(s,c=!0){return r.from=a,e[t]===i?c?s?(i.from=a,s&&i.lib&&(i.loaded=!0),r.strategy===void 0?delete i.strategy:i.strategy=r.strategy,!0):(n===void 0?delete e[t]:e[t]=n,!1):(n===void 0?delete e[t]:e[t]=n,!0):!c&&o()}}},we=e=>Object.entries(e||{}).map(([e,t])=>({provider:t,version:e,from:t.from,registered:!0})),Te=(e,t)=>{if(t===void 0)return;let n;for(let r of e){let e=r.provider,i=e.treeShaking||e;if(r.loadedFactory===t||e.lib===t||i.lib===t){if(n)return;n=r}}return n},Ee=async(e,t,n)=>{let r=++ve;ye.set(r,{pinned:n});try{let n=await Y.loadShare(e,{customShareInfo:{shareConfig:t,[q]:r}});return{factory:n===!1?void 0:n,selectedProvider:J.get(r)}}finally{J.delete(r),ye.delete(r)}},De=async(e,t,n,r,i,a,o=!0)=>{let s=a.from,c=Ce(n,r,i,a);if(!c)return;let l;try{l=await Ee(e,t,c)}catch(e){throw c.release(!1),e}let u=l==null?void 0:l.factory;if(u===void 0){c.release(!1);return}let d=we(n),f=c.provider.treeShaking||c.provider,p=c.provider.lib===u||f.lib===u;if(!o&&p){let e=d.findIndex(e=>e.provider===c.provider);e!==-1&&d.splice(e,1)}!o&&!d.some(e=>e.provider===a)&&d.push({provider:a,version:r,from:s,registered:!1,loadedFactory:p?u:void 0});let m=!o&&l.selectedProvider===c.provider&&p?a:l.selectedProvider;if(m&&!d.some(e=>e.provider===m)){let e=X.get(m),t=typeof m.version==`string`&&m.version?m.version:r;d.push({provider:m,version:t,from:e?e.from:m.from,registered:(n==null?void 0:n[t])===m,loadedFactory:u})}let h=d.find(e=>e.provider===m)??Te(d,u);if(!c.release(!0,(h==null?void 0:h.provider)===c.provider)||!h)return;let g=X.get(h.provider);h.from=h.provider===a?s:g?g.from:h.provider.from,g&&(h.provider.from=g.from);let _=typeof u==`function`?u():u,v=await Promise.resolve(_);if(!(h.registered&&(n==null?void 0:n[h.version])!==h.provider))return{provider:h.provider,selection:h,resolved:v}},Oe=new Set,ke=new Map,Ae=async(e,n,i)=>{var a;let o=!!((a=n.shareConfig)!=null&&a.singleton);if(!o&&n.canLiveRebind!==!1)try{var s,c;let a=A(i,e,n,`version-first`),l=O(i,a);if(!l||((s=n.shareConfig)==null?void 0:s.import)===!1&&j(a,n)||(a==null||(c=a.shareConfig)==null?void 0:c.import)===!1)return;let{version:u}=l;if(!o&&u!==n.version||!a.lib&&!a.loading&&!(a.loaded&&typeof a.get==`function`))return;let d=r(e,o,n.version,n.scope);if(T(h.share,d)!==void 0)return;let f=t[e],p=f==null?void 0:f[u];if(l.registered&&!j(p,a))return;let m,g=a.lib;if(!g&&G(a)||(!g&&a.loading&&(g=await a.loading),!g&&a.loaded&&typeof a.get==`function`&&(g=await a.get()),!g))return;let _=typeof g==`function`?g():g,v=await Promise.resolve(_),y=l.registered?p:a;m={provider:y,selection:{provider:y,version:u,from:a.from,registered:l.registered},resolved:v};let b=m==null?void 0:m.provider,x=m==null?void 0:m.selection;if(!x)return;let S=m==null?void 0:m.resolved;if(S===void 0||T(h.share,d)!==void 0||x.registered&&(f==null?void 0:f[x.version])!==b)return;L(h.share,d,he(S),x.from),Oe.add(b)}catch(t){console.error(`[Module Federation] Failed to bridge materialized shared module "`+e+`"`,t)}},je=async(e,n,i,a,o)=>{try{var s,c,l,u;let d=r(e,(s=n.shareConfig)==null?void 0:s.singleton,n.version,n.scope),f=T(h.share,d),p=P(h.share,d),m=A(i,e,n,`version-first`),g=m||k(i,e,n,`version-first`)||n,_=O(i,g);if(!_)return;let v=j(g,n),{version:b}=_;if(!((c=n.shareConfig)!=null&&c.singleton)&&b!==n.version)return;let x=a==null?void 0:a[b],S=ee(H,ae,t,`default`,e,_,m,x,`version-first`);if(!S&&!v)return;let{provider:C,scopeRootProvider:w}=S||{provider:g,scopeRootProvider:void 0};if(n.canLiveRebind===!1||((l=n.shareConfig)==null?void 0:l.import)===!1&&j(C,n)||(C==null||(u=C.shareConfig)==null?void 0:u.import)===!1||f!==void 0&&p!==y)return;let E=t[e],D=E==null?void 0:E[b];if(_.registered&&!w&&!j(D,C))return;let M=await De(e,n.shareConfig,E,b,D,C,_.registered&&!v),N=M==null?void 0:M.provider,F=M==null?void 0:M.selection;if(!F||o&&(o.version!==F.version||!j({from:F.from},o.provider))||Oe.has(N))return;let I=M==null?void 0:M.resolved;if(I===void 0)return;let R=T(h.share,d),z=P(h.share,d);if(R!==void 0&&z!==y||F.registered&&(E==null?void 0:E[F.version])!==N)return;!o&&!j(N,n)&&ke.set(e,{version:F.version,provider:{from:F.from}}),Oe.add(N);let te=he(I);L(h.share,d,te,F.from)}catch(t){console.error(`[Module Federation] Failed to bridge external shared module "`+e+`"`,t)}};for(let e of b)await Promise.all(e.map(async e=>{let t=W[e];t&&t.materialize!==!1&&!t.treeShaking&&await Ae(e,t,U[e])}));for(let[e,t]of Object.entries(W)){var l;if(t.treeShaking)continue;let n=r(e,(l=t.shareConfig)==null?void 0:l.singleton,t.version,t.scope);if(T(h.share,n)!==void 0)continue;let i=r(e,!0,t.version,t.scope),a=T(h.share,i);a!==void 0&&L(h.share,n,a,P(h.share,i))}let Me=[`react`,`react/jsx-runtime`,`react-dom`,`@emotion/react`,`@emotion/styled`,`@mui/material`,`@mui/icons-material`,`@iobroker/gui-components`,`@iobroker/json-config`],Ne=new Set([]),Pe=[[`react`],[`react/jsx-runtime`,`react-dom`,`@emotion/react`],[`@emotion/styled`],[`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],Z=new Map(Me.map((e,t)=>[e,t])),Fe={1:[0],2:[0],3:[0],4:[3,0],5:[3,4,0,2],6:[5,0],7:[0,2,6,5],8:[3,4,7,6,5,0,2]},Q=Me.filter(e=>{var t;return W[e]&&(W[e].materialize!==!1||((t=W[e].shareConfig)==null?void 0:t.import)===!1&&!W[e].lazy)});h.providerInit||=new Map;let Ie=(e,t)=>{let n=h.providerInit.get(e);if(n)return n;let r=Promise.resolve().then(t);return h.providerInit.set(e,r),r.catch(()=>h.providerInit.delete(e)),r};var f=async e=>{let t=new Set(e),n=new Set;for(let e of Pe)await Promise.all(e.filter(e=>t.has(e)).map(async e=>{var t,i,a;let o=W[e],s=Z.get(e);if((Fe[s]||[]).some(e=>n.has(e))){n.add(s);return}let c=r(e,(t=o.shareConfig)==null?void 0:t.singleton,o.version,o.scope);if(((i=o.shareConfig)==null?void 0:i.import)===!1||o.treeShaking||T(h.share,c)!==void 0)return;let l=r(e,!0,o.version,o.scope),u=T(h.share,l);if(u!==void 0){L(h.share,c,u,P(h.share,l));return}let d=typeof K==`function`?K(e,o):void 0;if(d){var f,p,m;let t=d.lib;if(!t&&d.loading&&(t=await d.loading),!t&&d.loaded&&typeof d.get==`function`&&(t=await d.get()),t){let e=typeof t==`function`?t():t,n=await Promise.resolve(e);L(h.share,c,(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(n),d.from);return}if(!((f=o.shareConfig)!=null&&f.singleton)&&typeof d.version==`string`){let t=T(h.share,r(e,!1,d.version,o.scope));if(t!==void 0){L(h.share,c,t,d.from);return}}if(typeof G==`function`&&G(d)&&((p=o.shareConfig)!=null&&p.singleton||((m=O(U[e],d))==null?void 0:m.version)===o.version)){n.add(s);return}}let g=c.canonical,_=await Ie(g,async()=>{let e=await o.get(),t=typeof e==`function`?e():e;return Promise.resolve(t)});for(let t of((a=Y.options.shared)==null?void 0:a[e])||[])t.get===o.get&&(t.eager=!0);let v=(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(_),b=v===_?{..._}:v;b.__esModule!==!0&&Object.defineProperty(b,"__esModule",{value:!0,enumerable:!1}),T(h.share,c)===void 0&&L(h.share,c,b,y)}))};let $=e=>{var t,n;let i=W[e];if(!i.treeShaking&&((t=i.shareConfig)==null?void 0:t.import)!==!1)return!1;let a=r(e,(n=i.shareConfig)==null?void 0:n.singleton,i.version,i.scope);return i.treeShaking?V(h.share,a,y)===void 0&&T(h.share,a)===void 0:T(h.share,a)===void 0},Le=e=>{var t,n,i;let a=W[e],o=r(e,(t=a.shareConfig)==null?void 0:t.singleton,a.version,a.scope);return(a.treeShaking?V(h.share,o,y)??T(h.share,o):T(h.share,o))===void 0?a.treeShaking||((n=a.shareConfig)==null?void 0:n.import)===!1||Ne.has(e)&&(i=a.shareConfig)!=null&&i.singleton?!0:typeof A==`function`&&!!A(U[e],e,a,`version-first`):!1},Re=e=>{let t=!0;for(;t;){t=!1;for(let n of Q){let r=Z.get(n);e.has(r)||(Fe[r]||[]).some(t=>e.has(t))&&(e.add(r),t=!0)}}return e},ze=Re(new Set(Q.filter(Le).map(e=>Z.get(e)))),Be=Q.filter(e=>!ze.has(Z.get(e)));var m=Q.filter(e=>ze.has(Z.get(e)));await f(Be).catch(p);try{await C(async()=>{await Promise.all(await Y.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))})}catch(e){console.error(`[Module Federation]`,e)}ue();let Ve=async()=>{for(let e of b)await Promise.all(e.map(async e=>{let n=W[e];n&&n.materialize!==!1&&!n.treeShaking&&await je(e,n,t[e],U[e],void 0)}))};fe?S=Ve:await Ve();try{var x;let e=(x=globalThis.__FEDERATION__)==null?void 0:x.__SHARE__,t=Object.create(null);if(e)for(let[,n]of Object.entries(e))for(let e of _){let r=n==null?void 0:n[e];if(r)for(let[e,n]of Object.entries(r)){let r=W==null?void 0:W[e],i=U[e],a=ke.get(e);if(!r||!i||!a||r.treeShaking)continue;let o=t[e]||(t[e]=Object.create(null));for(let[e,t]of Object.entries(n)){if(!t.lib||a.version!==e||!j(t,a.provider))continue;let n=i[e];(t===n||n!=null&&n.from&&t.from===n.from)&&(t===r||r.from&&t.from===r.from||o[e]===void 0&&(o[e]=t))}}}for(let e of b)await Promise.all(e.map(async e=>{let n=t[e];n&&await je(e,W[e],n,U[e],ke.get(e))}))}catch(e){console.error(`[Module Federation] Failed to bridge external shared modules`,e)}let He=async()=>{},Ue=async(e,n)=>{var i,a;let o=r(e,(i=n.shareConfig)==null?void 0:i.singleton,n.version,n.scope),s=n.treeShaking?V(h.share,o,y):T(h.share,o);if(((a=n.shareConfig)==null?void 0:a.import)!==!1||s!==void 0||me(e,n,U[e]))return;let c=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},l=t==null?void 0:t[e],u=k(l,e,n,`version-first`)||n,d=O(l,u);if(!d)return;let f=e=>{var t;return e===n||(e==null||(t=e.shareConfig)==null?void 0:t.import)===!1};if(f(u))return;let{version:p}=d,m=l==null?void 0:l[p],g=await De(e,n.shareConfig,l,p,m,u,d.registered),_=g==null?void 0:g.selection,v=g==null?void 0:g.provider,b=g==null?void 0:g.resolved;if(!_||f(v)||b===void 0||(n.treeShaking?V(h.share,o,y):T(h.share,o))!==void 0||_.registered&&(l==null?void 0:l[_.version])!==v)return;let x=c(b);if(n.treeShaking){let e=n.treeShaking.providedExports??n.treeShaking.usedExports??[];te(h.share,o,e,x),re(h.share,o,y,x)}else L(h.share,o,x,_.from)},We=[],Ge=new Set;for(let e of m){let t=W[e],n=Z.get(e);if($(e))try{var w;t.treeShaking?await He(e,t):((w=t.shareConfig)==null?void 0:w.import)===!1&&await Ue(e,t)}catch(t){console.error(`[Module Federation] Failed to resolve runtime-only shared module "${e}"`,t)}$(e)&&Ge.add(n)}Re(Ge),We.push(...m.filter(e=>!Ge.has(Z.get(e)))),await f(We).catch(p);let Ke=new Map;return u.loadLazyShares=async e=>{let n=new Set(e);for(let e of b)await Promise.all(e.filter(e=>n.has(e)).map(e=>{let n=W[e];if(!n||!n.lazy||!$(e))return;let r=Ke.get(e);return r||(r=je(e,n,t[e],U[e],void 0).then(()=>$(e)?Ue(e,n):void 0),r.catch(()=>Ke.delete(e)),Ke.set(e,r)),r}))},d(Y),Y}finally{--F===0&&L()}}async function z(e){F&&await I;let t=await P();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);S&&await S(),h.pendingShareLoads&&await Promise.all(h.pendingShareLoads);let n=await t[e]();return h.pendingShareLoads&&await Promise.all(h.pendingShareLoads),()=>n}export{z as get,R as init};
1
+ import{t as e}from"./assets/dist-Cnxr-ruU.js";import{t}from"./assets/helpers-CNHzo155.js";import{t as n}from"./assets/vite-preload-helper-nldAWQd6.js";var r={},i=new Set,a=new Map;function o(e,t){let n=a.get(e);return n||(n=Promise.resolve().then(t).catch(t=>{throw a.delete(e),t}),a.set(e,n)),n}async function s(e){if(typeof document>`u`)return;let t=r[e]||[];await Promise.all(t.map(e=>{let t=new URL(e,import.meta.url).href;return i.has(t)||(i.add(t),document.querySelector(`link[rel="stylesheet"][href="${t}"]`))?Promise.resolve():new Promise((e,n)=>{let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=t,r.onload=()=>e(),r.onerror=()=>{i.delete(t),r.remove(),n(Error(`[Module Federation] Failed to load CSS asset: ${t}`))},document.head.appendChild(r)})}))}var c={"./Components":async()=>{await s(`./Components`),await Promise.all([]);let e=await o(`./Components`,()=>n(()=>import(`./assets/Components-DitLx__f.js`),[],import.meta.url)),t=e&&e.__mf_remote_dependency_pending;t&&typeof t.then==`function`&&await t;let r={};return Object.assign(r,e),Object.defineProperty(r,"__esModule",{value:!0,enumerable:!1}),r}};typeof __VUE_HMR_RUNTIME__>`u`&&(globalThis.__VUE_HMR_RUNTIME__={createRecord(){},rerender(){},reload(){}});var l=`__mf_init__virtual:mf:__mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__mf_v__runtimeInit__mf_v__.js__`,u=globalThis[l];if(!u){let e,t,n=new Promise((n,r)=>{e=n,t=r});u=globalThis[l]={initPromise:n,initResolve:e,initReject:t}}var d=u.initResolve,{initReject:f}=u,p=e=>{throw f(e),e},m=`__mf_module_cache__`;globalThis[m]||={share:{},remote:{}},globalThis[m].share||={},globalThis[m].remote||={};var h=globalThis[m];for(let e of Object.keys(h.share))if(e.startsWith(`default:`)){let t=e.slice(8);h.share[t]===void 0&&(h.share[t]=h.share[e])}else if(!e.includes(`:`)){let t=`default:`+e;h.share[t]===void 0&&(h.share[t]=h.share[e])}var g={},_=Array.isArray(`default`)?`default`:[`default`],v=`default`,y=`ConfigCustomAssistant`,b=[[`react`],[`react/jsx-runtime`,`react-dom`,`@emotion/react`],[`@emotion/styled`],[`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],x,S;async function C(e){for(let t=0;;t++)try{return await e()}catch(e){throw e}}var w=Symbol(`mf.originalSharedProvider`),T={emit:e=>e},E=e=>Array.isArray(e.scope)?e.scope:[e.scope||`default`],D=(e,t)=>{if(t!==`version-first`)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=Object.assign({},r,{[w]:r});return n},O=(e,t)=>{if(!t)return;let n=Object.entries(e||{}),r=n.find(([,e])=>e===t);if(r)return{version:r[0],provider:t,registered:!0};if(typeof t.version==`string`&&t.version)return{version:t.version,provider:t,registered:!1};let i=n.filter(([,e])=>e===t||!!(t.from&&(e==null?void 0:e.from)===t.from));if(i.length===1)return{version:i[0][0],provider:t,registered:!1}},k=(e,n,r,i)=>{var a;if(!e||!r)return;let o=Object.fromEntries(Object.entries(e).filter(([,e])=>{var t;return(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));if(Object.keys(o).length===0)return;let s=E(r),c=D(o,i),l={};for(let e of s)l[e||`default`]={[n]:c};let u=(a=t.getRegisteredShare(l,n,{...r,scope:s,strategy:i},T))==null?void 0:a.shared;return(u==null?void 0:u[w])||u},A=(e,t,n,r)=>{var i;let a=e=>j(e,n),o=Object.fromEntries(Object.entries(e||{}).filter(([,e])=>{var t;return!a(e)&&(e==null||(t=e.shareConfig)==null?void 0:t.import)!==!1}));n!=null&&n.version&&((i=n.shareConfig)==null?void 0:i.import)!==!1&&(o[n.version]||(o[n.version]=n));let s=k(o,t,n,r);return a(s)?void 0:s},j=(e,t)=>e===t||!!(t!=null&&t.from&&(e==null?void 0:e.from)===t.from),M=(e,t,n,r,i,a,o,s,c)=>{var l,u;if(c!==`version-first`||!s)return;let d=t==null||(l=t.options)==null||(l=l.shared)==null?void 0:l[i],f=Array.isArray(d)?d.find(e=>(e==null?void 0:e.version)===a):void 0,p=((s==null?void 0:s.from)===(t==null||(u=t.options)==null?void 0:u.name)?s:void 0)||(j(f,s)?f:t?void 0:s);if(!p)return;let m=e.some(e=>{var i,a;return e!==t&&(e==null||(i=e.options)==null?void 0:i.name)===(o==null?void 0:o.from)&&(e==null||(a=e.shareScopeMap)==null?void 0:a[r])===n});if(!(m&&(o!=null&&o.loaded||typeof(o==null?void 0:o.lib)==`function`)))return m?p:void 0},ee=(e,t,n,r,i,a,o,s,c)=>{let l=a.registered?M(e,t,n,r,i,a.version,a.provider,s,c):void 0,u=l||o;if(u&&(!a.registered||j(u,s)))return{provider:u,scopeRootProvider:l}};async function N(){return x||=C(()=>n(()=>import(`./assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-pbMlcjvL.js`),[],import.meta.url)).catch(e=>{throw x=void 0,e}),x}async function P(){return c}var F=0,I=Promise.resolve(),L=()=>{};async function R(t={},n=[],r={}){F++===0&&(I=new Promise(e=>L=e));try{var i,a;let r=function(e,t,n,r){let i=(Array.isArray(r)?r[0]:r)||`default`,a=t||!n?e:e+`@`+n,o={canonical:i+`:`+a};return i==="default"&&(o.aliases=[a]),o},D=(e,t)=>{let n=e[t.canonical];if(n!==void 0)return n;let r=t.aliases||[];for(let n of r){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=e[n];if(r!==void 0)return e[t.canonical]=r,r}},M=Symbol.for(`module-federation.shared-cache-listeners`),P=Symbol.for(`module-federation.shared-cache-owners`),F=e=>{let t=e[P];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,P,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},I=(e,t)=>{var n;return(n=e[P])==null?void 0:n[t.canonical]},L=e=>{let t=[e,e==null?void 0:e.default];for(let e of t)if(e&&typeof e==`object`){for(let t of[`__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`,`__TEST_INTERNALS`,`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`]){let n=e[t];if(n&&typeof n==`object`)return{internals:n}}if(typeof e.useState==`function`)return{hook:e.useState}}},R=(e,t)=>{if(e===t)return!0;let n=L(e),r=L(t);if(!n||!r)return!1;let i=n.internals,a=r.internals;return i!==void 0||a!==void 0?i!==void 0&&i===a:typeof n.hook==`function`&&n.hook===r.hook},z=(e,t,n,r)=>{var i;let a=D(e,t);if(a!==void 0&&R(a,n))return n;e[t.canonical]=n;let o=t.aliases||[];for(let t of o)Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0});let s=e[P];r===void 0?s&&delete s[t.canonical]:F(e)[t.canonical]=r;let c=(i=e[M])==null?void 0:i[t.canonical];if(c)for(let e of c)e(n);return n},B=Symbol.for(`module-federation.tree-shaking-shared-cache`),te=e=>{let t=e[B];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,B,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},ne=(e,t,n,r)=>{if(!Array.isArray(n))return r;let i=[...new Set(n)].sort(),a=te(e),o=a[t.canonical]||=[],s=o.find(e=>e.providedExports.length===i.length&&e.providedExports.every((e,t)=>e===i[t]));return s?s.value=r:o.push({providedExports:i,value:r}),r},V=Symbol.for(`module-federation.tree-shaking-shared-selection-cache`),re=e=>{let t=e[V];return t===void 0&&(t=Object.create(null),Object.defineProperty(e,V,{value:t,enumerable:!1,configurable:!1,writable:!1})),t},H=(e,t,n)=>{var r;let i=D(e,t);return i===void 0?(r=e[V])==null||(r=r[t.canonical])==null?void 0:r[n]:i},ie=(e,t,n,r)=>{let i=re(e),a=i[t.canonical]||=Object.create(null);return a[n]=r,r},U=((i=globalThis.__FEDERATION__)==null?void 0:i.__INSTANCES__)||[],ae=(a=n.find(e=>e==null?void 0:e.from))==null?void 0:a.from,oe=U.find(e=>{var n,r;return(e==null||(n=e.options)==null?void 0:n.name)===ae&&(e==null||(r=e.shareScopeMap)==null?void 0:r.default)===t})||U.find(e=>{var n,r;return(e==null||(n=e.options)==null?void 0:n.name)!==y&&(e==null||(r=e.shareScopeMap)==null?void 0:r.default)===t}),se=Object.create(null),ce=e=>{let t=Object.create(null);for(let[n,r]of Object.entries(e||{}))t[n]=Object.assign(Object.create(null),r);return t},le=(e,t)=>{var n;for(let[i,a]of Object.entries(((n=Y.shareScopeMap)==null?void 0:n[e])||{}))for(let[e,n]of Object.entries(a||{})){var r;if(!n||n.get===((r=G[i])==null?void 0:r.get))continue;let a=t[i]||={};a[e]===void 0&&(a[e]=n)}},ue=(e,t)=>{le(e,t);let n=!oe&&Object.values(t||{}).some(e=>Object.values(e||{}).some(K)),r=n?ce(t):t;return se[e]={host:t,runtime:r,isWebpackScope:n},r},de=()=>{let e=Object.values(se).filter(({isWebpackScope:e})=>e);if(e.length!==0)for(let{host:t,runtime:n}of e)for(let[e,r]of Object.entries(t||{})){let t=n[e]||=Object.create(null);for(let[e,n]of Object.entries(r||{}))t[e]=n}},W=Object.create(null);for(let[e,n]of Object.entries(t)){let t=W[e]=Object.create(null);for(let[e,r]of Object.entries(n))t[e]=Object.assign({},r)}let{usedShared:G,usedRemotes:fe}=await N();function K(e){if(typeof(e==null?void 0:e.get)!=`function`)return!1;let t=Function.prototype.toString.call(e.get);return t.includes(`__webpack_require__`)||/\.\s*e\s*\([^)]*\)\s*\.then\s*\(/.test(t)}let pe=Object.values(W).some(e=>Object.values(e||{}).some(K)),me=e=>{let t=e.split(`/`);return e.startsWith(`@`)?t.slice(0,2).join(`/`):t[0]},q=(e,n,r,i)=>{if(typeof A!=`function`)return;let a=me(e),o=!i||a===e?[[e,n]]:[[e,n],[a,G[a]]];for(let[n,i]of o){if(!i)continue;let a=A(r?n===e?r:W[n]:W[n]??t[n],n,i,`version-first`);if(a)return a}},he=(e,t,n)=>{let r=q(e,t,n,!0);return r&&K(r)&&!r.lib&&!r.loaded?r:void 0};var o=g[v];if(o||=g[v]={from:y},n.indexOf(o)>=0)return;n.push(o);let ge=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},_e=[],ve=globalThis.window===void 0?await Promise.all([]):[],J=`__mf_vite_runtime_share_load_id__`,ye=0,be=new Map,xe=new Map,Y=e({name:y,remotes:fe,shared:G,plugins:[Se(),Ce(),..._e,...ve],shareStrategy:`version-first`});Y.initShareScopeMap(`default`,ue(`default`,t));function Se(){return{name:`vite-share-pin-lifecycle-plugin`,resolveShare(e){var t;let n=(t=e.shareInfo)==null?void 0:t[J],r=n===void 0?void 0:xe.get(n);if(!r)return e;let i=e.resolver;return e.resolver=(...e)=>(r.pinned.reapply(),i(...e)),r.pinned.reveal(),e}}}function Ce(){return{name:`vite-real-name-snapshot-plugin`,afterLoadSnapshot(e){let t=e&&e.remoteSnapshot,n=t&&t.globalName,r=t&&t.version;if(!n||!r||!t.remoteEntry)return e;let i=globalThis.__FEDERATION__&&globalThis.__FEDERATION__.moduleInfo,a=n+`:`+r;return i&&!i[a]&&(i[a]=t),e}}}let we=Y.sharedHandler.hooks.lifecycle.resolveShare;if(!Y.__mfKeepAdoptedProviders){var s,c;Y.__mfKeepAdoptedProviders=!0,(s=Y.sharedHandler)==null||(s=s.hooks)==null||(s=s.lifecycle)==null||(s=s.afterRegisterShare)==null||(c=s.on)==null||c.call(s,e=>{var t,n,r;let{shared:i,previousShared:a,registeredShared:o}=e||{},s=(t=Y.shareScopeMap)==null||(t=t[e.scope])==null?void 0:t[e.pkgName];if(i&&s){if(((n=i.shareConfig)==null?void 0:n.import)!==!1){var c;o!==i&&(o==null||(c=o.shareConfig)==null?void 0:c.import)===!1&&!o.loaded&&s[i.version]===o&&(s[i.version]=i)}else o===i&&a&&((r=a.shareConfig)==null?void 0:r.import)!==!1&&s[i.version]===i&&(s[i.version]=a)}})}let X=new WeakMap;we.on(e=>{var t;let n=(t=e.shareInfo)==null?void 0:t[J],r=e.resolver;return typeof r==`function`&&(e.resolver=(...t)=>{var i;let a=r(...t);if((a==null||(i=a.shared)==null||(i=i.shareConfig)==null?void 0:i.import)===!1&&typeof k==`function`&&G[e.pkgName]){var o,s;let t=k((o=e.shareScopeMap)==null||(o=o[e.scope])==null?void 0:o[e.pkgName],e.pkgName,G[e.pkgName],`version-first`);t&&((s=t.shareConfig)==null?void 0:s.import)!==!1&&(a={shared:t,useTreesShaking:a.useTreesShaking})}let c=a==null?void 0:a.shared;return c&&(typeof c==`object`||typeof c==`function`)&&!X.has(c)&&X.set(c,{from:c.from}),n!==void 0&&c&&be.set(n,c),a}),e});let Te=(e,t,n,r)=>{if(!e||e[t]!==n)return;let i=Object.assign({},r,{version:r.version??t,scope:r.scope??(n==null?void 0:n.scope)??[`default`],strategy:`loaded-first`}),a=r.from;e[t]=i;let o=()=>n===void 0?e[t]===void 0:e[t]===n;return{provider:i,reveal(){return e[t]===i&&(n===void 0?delete e[t]:e[t]=n,!0)},reapply(){return o()?(e[t]=i,!0):!1},release(s,c=!0){return r.from=a,e[t]===i?c?s?(i.from=a,s&&i.lib&&(i.loaded=!0),r.strategy===void 0?delete i.strategy:i.strategy=r.strategy,!0):(n===void 0?delete e[t]:e[t]=n,!1):(n===void 0?delete e[t]:e[t]=n,!0):!c&&o()}}},Ee=e=>Object.entries(e||{}).map(([e,t])=>({provider:t,version:e,from:t.from,registered:!0})),De=(e,t)=>{if(t===void 0)return;let n;for(let r of e){let e=r.provider,i=e.treeShaking||e;if(r.loadedFactory===t||e.lib===t||i.lib===t){if(n)return;n=r}}return n},Oe=async(e,t,n)=>{let r=++ye;xe.set(r,{pinned:n});try{let n=await Y.loadShare(e,{customShareInfo:{shareConfig:t,[J]:r}});return{factory:n===!1?void 0:n,selectedProvider:be.get(r)}}finally{be.delete(r),xe.delete(r)}},ke=async(e,t,n,r,i,a,o=!0)=>{let s=a.from,c=Te(n,r,i,a);if(!c)return;let l;try{l=await Oe(e,t,c)}catch(e){throw c.release(!1),e}let u=l==null?void 0:l.factory;if(u===void 0){c.release(!1);return}let d=Ee(n),f=c.provider.treeShaking||c.provider,p=c.provider.lib===u||f.lib===u;if(!o&&p){let e=d.findIndex(e=>e.provider===c.provider);e!==-1&&d.splice(e,1)}!o&&!d.some(e=>e.provider===a)&&d.push({provider:a,version:r,from:s,registered:!1,loadedFactory:p?u:void 0});let m=!o&&l.selectedProvider===c.provider&&p?a:l.selectedProvider;if(m&&!d.some(e=>e.provider===m)){let e=X.get(m),t=typeof m.version==`string`&&m.version?m.version:r;d.push({provider:m,version:t,from:e?e.from:m.from,registered:(n==null?void 0:n[t])===m,loadedFactory:u})}let h=d.find(e=>e.provider===m)??De(d,u);if(!c.release(!0,(h==null?void 0:h.provider)===c.provider)||!h)return;let g=X.get(h.provider);h.from=h.provider===a?s:g?g.from:h.provider.from,g&&(h.provider.from=g.from);let _=typeof u==`function`?u():u,v=await Promise.resolve(_);if(!(h.registered&&(n==null?void 0:n[h.version])!==h.provider))return{provider:h.provider,selection:h,resolved:v}},Ae=new Set,je=new Map,Me=async(e,n,i)=>{var a;let o=!!((a=n.shareConfig)!=null&&a.singleton);if(!o&&n.canLiveRebind!==!1)try{var s,c;let a=A(i,e,n,`version-first`),l=O(i,a);if(!l||((s=n.shareConfig)==null?void 0:s.import)===!1&&j(a,n)||(a==null||(c=a.shareConfig)==null?void 0:c.import)===!1)return;let{version:u}=l;if(!o&&u!==n.version||!a.lib&&!a.loading&&!(a.loaded&&typeof a.get==`function`))return;let d=r(e,o,n.version,n.scope);if(D(h.share,d)!==void 0)return;let f=t[e],p=f==null?void 0:f[u];if(l.registered&&!j(p,a))return;let m,g=a.lib;if(!g&&K(a)||(!g&&a.loading&&(g=await a.loading),!g&&a.loaded&&typeof a.get==`function`&&(g=await a.get()),!g))return;let _=typeof g==`function`?g():g,v=await Promise.resolve(_),y=l.registered?p:a;m={provider:y,selection:{provider:y,version:u,from:a.from,registered:l.registered},resolved:v};let b=m==null?void 0:m.provider,x=m==null?void 0:m.selection;if(!x)return;let S=m==null?void 0:m.resolved;if(S===void 0||D(h.share,d)!==void 0||x.registered&&(f==null?void 0:f[x.version])!==b)return;z(h.share,d,ge(S),x.from),Ae.add(b)}catch(t){console.error(`[Module Federation] Failed to bridge materialized shared module "`+e+`"`,t)}},Ne=async(e,n,i,a,o)=>{try{var s,c,l,u;let d=r(e,(s=n.shareConfig)==null?void 0:s.singleton,n.version,n.scope),f=D(h.share,d),p=I(h.share,d),m=A(i,e,n,`version-first`),g=m||k(i,e,n,`version-first`)||n,_=O(i,g);if(!_)return;let v=j(g,n),{version:b}=_;if(!((c=n.shareConfig)!=null&&c.singleton)&&b!==n.version)return;let x=a==null?void 0:a[b],S=ee(U,oe,t,`default`,e,_,m,x,`version-first`);if(!S&&!v)return;let{provider:C,scopeRootProvider:w}=S||{provider:g,scopeRootProvider:void 0};if(n.canLiveRebind===!1||((l=n.shareConfig)==null?void 0:l.import)===!1&&j(C,n)||(C==null||(u=C.shareConfig)==null?void 0:u.import)===!1||f!==void 0&&p!==y)return;let T=t[e],E=T==null?void 0:T[b];if(_.registered&&!w&&!j(E,C))return;let M=await ke(e,n.shareConfig,T,b,E,C,_.registered&&!v),N=M==null?void 0:M.provider,P=M==null?void 0:M.selection;if(!P||o&&(o.version!==P.version||!j({from:P.from},o.provider))||Ae.has(N))return;let F=M==null?void 0:M.resolved;if(F===void 0)return;let L=D(h.share,d),R=I(h.share,d);if(L!==void 0&&R!==y||P.registered&&(T==null?void 0:T[P.version])!==N)return;!o&&!j(N,n)&&je.set(e,{version:P.version,provider:{from:P.from}}),Ae.add(N);let B=ge(F);z(h.share,d,B,P.from)}catch(t){console.error(`[Module Federation] Failed to bridge external shared module "`+e+`"`,t)}};for(let e of b)await Promise.all(e.map(async e=>{let t=G[e];t&&t.materialize!==!1&&!t.treeShaking&&await Me(e,t,W[e])}));for(let[e,t]of Object.entries(G)){var l;if(t.treeShaking)continue;let n=r(e,(l=t.shareConfig)==null?void 0:l.singleton,t.version,t.scope);if(D(h.share,n)!==void 0)continue;let i=r(e,!0,t.version,t.scope),a=D(h.share,i);a!==void 0&&z(h.share,n,a,I(h.share,i))}let Pe=[`react`,`react/jsx-runtime`,`react-dom`,`@emotion/react`,`@emotion/styled`,`@mui/material`,`@mui/icons-material`,`@iobroker/gui-components`,`@iobroker/json-config`],Fe=new Set([]),Ie=[[`react`],[`react/jsx-runtime`,`react-dom`,`@emotion/react`],[`@emotion/styled`],[`@mui/material`],[`@mui/icons-material`],[`@iobroker/gui-components`],[`@iobroker/json-config`]],Z=new Map(Pe.map((e,t)=>[e,t])),Le={1:[0],2:[0],3:[0],4:[3,0],5:[3,4,0,2],6:[5,0],7:[0,2,6,5],8:[3,4,7,6,5,0,2]},Q=Pe.filter(e=>{var t;return G[e]&&(G[e].materialize!==!1||((t=G[e].shareConfig)==null?void 0:t.import)===!1&&!G[e].lazy)});h.providerInit||=new Map;let Re=(e,t)=>{let n=h.providerInit.get(e);if(n)return n;let r=Promise.resolve().then(t);return h.providerInit.set(e,r),r.catch(()=>h.providerInit.delete(e)),r};var f=async e=>{let t=new Set(e),n=new Set;for(let e of Ie)await Promise.all(e.filter(e=>t.has(e)).map(async e=>{var t,i,a;let o=G[e],s=Z.get(e);if((Le[s]||[]).some(e=>n.has(e))){n.add(s);return}let c=r(e,(t=o.shareConfig)==null?void 0:t.singleton,o.version,o.scope);if(((i=o.shareConfig)==null?void 0:i.import)===!1||o.treeShaking||D(h.share,c)!==void 0)return;let l=r(e,!0,o.version,o.scope),u=D(h.share,l);if(u!==void 0){z(h.share,c,u,I(h.share,l));return}let d=typeof q==`function`?q(e,o):void 0;if(d){var f,p,m;let t=d.lib;if(!t&&d.loading&&(t=await d.loading),!t&&d.loaded&&typeof d.get==`function`&&(t=await d.get()),t){let e=typeof t==`function`?t():t,n=await Promise.resolve(e);z(h.share,c,(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(n),d.from);return}if(!((f=o.shareConfig)!=null&&f.singleton)&&typeof d.version==`string`){let t=D(h.share,r(e,!1,d.version,o.scope));if(t!==void 0){z(h.share,c,t,d.from);return}}if(typeof K==`function`&&K(d)&&((p=o.shareConfig)!=null&&p.singleton||((m=O(W[e],d))==null?void 0:m.version)===o.version)){n.add(s);return}}let g=c.canonical,_=await Re(g,async()=>{let e=await o.get(),t=typeof e==`function`?e():e;return Promise.resolve(t)});for(let t of((a=Y.options.shared)==null?void 0:a[e])||[])t.get===o.get&&(t.eager=!0);let v=(e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t})(_),b=v===_?{..._}:v;b.__esModule!==!0&&Object.defineProperty(b,"__esModule",{value:!0,enumerable:!1}),D(h.share,c)===void 0&&z(h.share,c,b,y)}))};let $=e=>{var t,n;let i=G[e];if(!i.treeShaking&&((t=i.shareConfig)==null?void 0:t.import)!==!1)return!1;let a=r(e,(n=i.shareConfig)==null?void 0:n.singleton,i.version,i.scope);return i.treeShaking?H(h.share,a,y)===void 0&&D(h.share,a)===void 0:D(h.share,a)===void 0},ze=e=>{var t,n,i;let a=G[e],o=r(e,(t=a.shareConfig)==null?void 0:t.singleton,a.version,a.scope);return(a.treeShaking?H(h.share,o,y)??D(h.share,o):D(h.share,o))===void 0?a.treeShaking||((n=a.shareConfig)==null?void 0:n.import)===!1||Fe.has(e)&&(i=a.shareConfig)!=null&&i.singleton?!0:typeof A==`function`&&!!A(W[e],e,a,`version-first`):!1},Be=e=>{let t=!0;for(;t;){t=!1;for(let n of Q){let r=Z.get(n);e.has(r)||(Le[r]||[]).some(t=>e.has(t))&&(e.add(r),t=!0)}}return e},Ve=Be(new Set(Q.filter(ze).map(e=>Z.get(e)))),He=Q.filter(e=>!Ve.has(Z.get(e)));var m=Q.filter(e=>Ve.has(Z.get(e)));await f(He).catch(p);let Ue=new Set;for(let e of m){var x,w;let t=G[e],n=Le[Z.get(e)];if(!n||t.treeShaking||((x=t.shareConfig)==null?void 0:x.import)===!1)continue;let r=t.get,i=(((w=Y.options.shared)==null?void 0:w[e])||[]).filter(e=>e.get===r);t.get=()=>Ue.has(e)?r():(Ue.add(e),f(Q.filter(e=>n.includes(Z.get(e)))).then(r));for(let e of i)e.get=t.get}try{await C(async()=>{await Promise.all(await Y.initializeSharing(`default`,{strategy:`version-first`,from:`build`,initScope:n}))})}catch(e){console.error(`[Module Federation]`,e)}de();let We=async()=>{for(let e of b)await Promise.all(e.map(async e=>{let n=G[e];n&&n.materialize!==!1&&!n.treeShaking&&await Ne(e,n,t[e],W[e],void 0)}))};pe?S=We:await We();try{var T;let e=(T=globalThis.__FEDERATION__)==null?void 0:T.__SHARE__,t=Object.create(null);if(e)for(let[,n]of Object.entries(e))for(let e of _){let r=n==null?void 0:n[e];if(r)for(let[e,n]of Object.entries(r)){let r=G==null?void 0:G[e],i=W[e],a=je.get(e);if(!r||!i||!a||r.treeShaking)continue;let o=t[e]||(t[e]=Object.create(null));for(let[e,t]of Object.entries(n)){if(!t.lib||a.version!==e||!j(t,a.provider))continue;let n=i[e];(t===n||n!=null&&n.from&&t.from===n.from)&&(t===r||r.from&&t.from===r.from||o[e]===void 0&&(o[e]=t))}}}for(let e of b)await Promise.all(e.map(async e=>{let n=t[e];n&&await Ne(e,G[e],n,W[e],je.get(e))}))}catch(e){console.error(`[Module Federation] Failed to bridge external shared modules`,e)}let Ge=async()=>{},Ke=async(e,n)=>{var i,a;let o=r(e,(i=n.shareConfig)==null?void 0:i.singleton,n.version,n.scope),s=n.treeShaking?H(h.share,o,y):D(h.share,o);if(((a=n.shareConfig)==null?void 0:a.import)!==!1||s!==void 0||he(e,n,W[e]))return;let c=e=>{let t=e;for(let e=0;e<5;e++){let e=t==null?void 0:t.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.getPrototypeOf(e);if(n!==null&&n!==Object.prototype)break;let r=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(r.length>0&&r.some(e=>e!==void 0))break;t=e}return t},l=t==null?void 0:t[e],u=k(l,e,n,`version-first`)||n,d=O(l,u);if(!d)return;let f=e=>{var t;return e===n||(e==null||(t=e.shareConfig)==null?void 0:t.import)===!1};if(f(u))return;let{version:p}=d,m=l==null?void 0:l[p],g=await ke(e,n.shareConfig,l,p,m,u,d.registered),_=g==null?void 0:g.selection,v=g==null?void 0:g.provider,b=g==null?void 0:g.resolved;if(!_||f(v)||b===void 0||(n.treeShaking?H(h.share,o,y):D(h.share,o))!==void 0||_.registered&&(l==null?void 0:l[_.version])!==v)return;let x=c(b);if(n.treeShaking){let e=n.treeShaking.providedExports??n.treeShaking.usedExports??[];ne(h.share,o,e,x),ie(h.share,o,y,x)}else z(h.share,o,x,_.from)},qe=[],Je=new Set;for(let e of m){let t=G[e],n=Z.get(e);if($(e))try{var E;t.treeShaking?await Ge(e,t):((E=t.shareConfig)==null?void 0:E.import)===!1&&await Ke(e,t)}catch(t){console.error(`[Module Federation] Failed to resolve runtime-only shared module "${e}"`,t)}$(e)&&Je.add(n)}Be(Je),qe.push(...m.filter(e=>!Je.has(Z.get(e)))),await f(qe).catch(p);let Ye=new Map;return u.loadLazyShares=async e=>{let n=new Set(e);for(let e of b)await Promise.all(e.filter(e=>n.has(e)).map(e=>{let n=G[e];if(!n||!n.lazy||!$(e))return;let r=Ye.get(e);return r||(r=Ne(e,n,t[e],W[e],void 0).then(()=>$(e)?Ke(e,n):void 0),r.catch(()=>Ye.delete(e)),Ye.set(e,r)),r}))},d(Y),Y}finally{--F===0&&L()}}async function z(e){F&&await I;let t=await P();if(!(e in t))throw Error(`[Module Federation] Module ${e} does not exist in container.`);S&&await S(),h.pendingShareLoads&&await Promise.all(h.pendingShareLoads);let n=await t[e]();return h.pendingShareLoads&&await Promise.all(h.pendingShareLoads),()=>n}export{z as get,R as init};
2
2
  if (typeof document !== 'undefined' && document.head) {
3
3
  try {
4
- for (const __mfWarmupPath of ["assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-AqysfSvK.js","assets/dist-BsS9iigp.js","assets/vite-preload-helper-nldAWQd6.js","assets/utils-DKLZyvXJ.js"]) {
4
+ for (const __mfWarmupPath of ["assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-pbMlcjvL.js","assets/dist-Cnxr-ruU.js","assets/vite-preload-helper-nldAWQd6.js","assets/utils-DmVoYT7i.js"]) {
5
5
  const __mfWarmupLink = document.createElement('link');
6
6
  __mfWarmupLink.rel = 'modulepreload';
7
7
  __mfWarmupLink.crossOrigin = '';
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Nachfragen in einem laufenden Gespräch gehen direkt an die Cloud.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Was kein Schritt versteht, bekommt einen festen Satz als Antwort.",
305
305
  "custom_assistant_Music": "Musik",
306
- "custom_assistant_Adapter command": "Adapter-Befehl"
306
+ "custom_assistant_Adapter command": "Adapter-Befehl",
307
+ "custom_assistant_Add": "Hinzufügen",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Hinzufügen und seinen Schlüssel in der Tabelle eintragen",
309
+ "custom_assistant_Added": "Hinzugefügt",
310
+ "custom_assistant_Address": "Adresse",
311
+ "custom_assistant_Device": "Gerät",
312
+ "custom_assistant_Encrypted, key needed": "Verschlüsselt, Schlüssel nötig",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Den Raum in der neuen Zeile eintragen (bei einem verschlüsselten Gerät auch den Schlüssel), dann speichern.",
314
+ "custom_assistant_In the table": "In der Tabelle",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Kein ESPHome-Gerät hat geantwortet. Die Suche erreicht nur Geräte im selben Netzsegment (nicht in einem anderen VLAN, nicht aus Docker ohne Host-Netzwerk): die Adresse dann von Hand eintragen.",
316
+ "custom_assistant_No response": "Keine Antwort",
317
+ "custom_assistant_No voice assistant": "Kein Sprachassistent",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Netzwerk nach ESPHome-Satelliten durchsuchen",
319
+ "custom_assistant_Searching, about 5 seconds": "Suche läuft, etwa 5 Sekunden",
320
+ "custom_assistant_Start the instance to search": "Zum Suchen die Instanz starten",
321
+ "custom_assistant_Voice satellite": "Sprachsatellit"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Follow-up questions in a conversation go straight to the cloud.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "What no step understands gets a fixed sentence.",
305
305
  "custom_assistant_Music": "Music",
306
- "custom_assistant_Adapter command": "Adapter command"
306
+ "custom_assistant_Adapter command": "Adapter command",
307
+ "custom_assistant_Added": "Added",
308
+ "custom_assistant_In the table": "In the table",
309
+ "custom_assistant_Voice satellite": "Voice satellite",
310
+ "custom_assistant_No voice assistant": "No voice assistant",
311
+ "custom_assistant_Add it and enter its encryption key in the table": "Add it and enter its encryption key in the table",
312
+ "custom_assistant_Encrypted, key needed": "Encrypted, key needed",
313
+ "custom_assistant_No response": "No response",
314
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.",
315
+ "custom_assistant_Device": "Device",
316
+ "custom_assistant_Address": "Address",
317
+ "custom_assistant_Add": "Add",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Search the network for ESPHome satellites",
319
+ "custom_assistant_Start the instance to search": "Start the instance to search",
320
+ "custom_assistant_Searching, about 5 seconds": "Searching, about 5 seconds",
321
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Enter the room in the new row (and the key of an encrypted device), then save."
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Las preguntas de seguimiento en una conversación van directamente a la nube.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Lo que ningún paso entiende recibe una frase fija como respuesta.",
305
305
  "custom_assistant_Music": "Música",
306
- "custom_assistant_Adapter command": "Comando de adaptador"
306
+ "custom_assistant_Adapter command": "Comando de adaptador",
307
+ "custom_assistant_Add": "Agregar",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Agréguelo e ingrese su clave de cifrado en la tabla.",
309
+ "custom_assistant_Added": "Agregado",
310
+ "custom_assistant_Address": "DIRECCIÓN",
311
+ "custom_assistant_Device": "Dispositivo",
312
+ "custom_assistant_Encrypted, key needed": "Cifrado, se necesita clave",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Indique la habitación en la nueva fila (y la clave de un dispositivo cifrado) y guarde.",
314
+ "custom_assistant_In the table": "en la mesa",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Ningún dispositivo ESPHome respondió. La búsqueda solo llega a dispositivos en el mismo segmento de red (ni en otra VLAN, ni desde Docker sin red host): ingrese la dirección a mano.",
316
+ "custom_assistant_No response": "Sin respuesta",
317
+ "custom_assistant_No voice assistant": "Sin asistente de voz",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Busca en la red satélites ESPHome",
319
+ "custom_assistant_Searching, about 5 seconds": "Buscando, unos 5 segundos",
320
+ "custom_assistant_Start the instance to search": "Iniciar la instancia para buscar",
321
+ "custom_assistant_Voice satellite": "Satélite de voz"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Les questions de suivi dans une conversation vont directement dans le cloud.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Ce qu’aucune étape ne comprend reçoit une phrase fixe en réponse.",
305
305
  "custom_assistant_Music": "Musique",
306
- "custom_assistant_Adapter command": "Commande d'adaptateur"
306
+ "custom_assistant_Adapter command": "Commande d'adaptateur",
307
+ "custom_assistant_Add": "Ajouter",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Ajoutez-le et saisissez sa clé de cryptage dans le tableau",
309
+ "custom_assistant_Added": "Ajouté",
310
+ "custom_assistant_Address": "Adresse",
311
+ "custom_assistant_Device": "Appareil",
312
+ "custom_assistant_Encrypted, key needed": "Chiffré, clé nécessaire",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Indiquez la pièce dans la nouvelle ligne (et la clé d'un appareil chiffré), puis enregistrez.",
314
+ "custom_assistant_In the table": "Dans le tableau",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Aucun appareil ESPHome n'a répondu. La recherche atteint uniquement les appareils du même segment de réseau (pas dans un autre VLAN, pas depuis Docker sans réseau hôte) : saisissez l'adresse à la main.",
316
+ "custom_assistant_No response": "Aucune réponse",
317
+ "custom_assistant_No voice assistant": "Pas d'assistant vocal",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Rechercher sur le réseau les satellites ESPHome",
319
+ "custom_assistant_Searching, about 5 seconds": "Recherche, environ 5 secondes",
320
+ "custom_assistant_Start the instance to search": "Démarrer l'instance pour rechercher",
321
+ "custom_assistant_Voice satellite": "Satellite vocal"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Le domande successive in una conversazione vanno direttamente al cloud.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Ciò che nessun passaggio capisce riceve una frase fissa come risposta.",
305
305
  "custom_assistant_Music": "Musica",
306
- "custom_assistant_Adapter command": "Comando dell'adattatore"
306
+ "custom_assistant_Adapter command": "Comando dell'adattatore",
307
+ "custom_assistant_Add": "Aggiungere",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Aggiungilo e inserisci la sua chiave di crittografia nella tabella",
309
+ "custom_assistant_Added": "Aggiunto",
310
+ "custom_assistant_Address": "Indirizzo",
311
+ "custom_assistant_Device": "Dispositivo",
312
+ "custom_assistant_Encrypted, key needed": "Crittografato, è necessaria la chiave",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Inserisci la stanza nella nuova riga (e la chiave di un dispositivo crittografato), quindi salva.",
314
+ "custom_assistant_In the table": "Nella tabella",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Nessun dispositivo ESPHome ha risposto. La ricerca raggiunge solo i dispositivi nello stesso segmento di rete (non in un'altra VLAN, non da Docker senza rete host): inserisci l'indirizzo manualmente.",
316
+ "custom_assistant_No response": "Nessuna risposta",
317
+ "custom_assistant_No voice assistant": "Nessun assistente vocale",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Cerca nella rete i satelliti ESPHome",
319
+ "custom_assistant_Searching, about 5 seconds": "Ricerca, circa 5 secondi",
320
+ "custom_assistant_Start the instance to search": "Avvia l'istanza per la ricerca",
321
+ "custom_assistant_Voice satellite": "Satellite vocale"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Vervolgvragen in een lopend gesprek gaan direct naar de cloud.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Wat geen enkele stap begrijpt, krijgt een vaste zin als antwoord.",
305
305
  "custom_assistant_Music": "Muziek",
306
- "custom_assistant_Adapter command": "Adapteropdracht"
306
+ "custom_assistant_Adapter command": "Adapteropdracht",
307
+ "custom_assistant_Add": "Toevoegen",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Voeg het toe en voer de coderingssleutel in de tabel in",
309
+ "custom_assistant_Added": "Toegevoegd",
310
+ "custom_assistant_Address": "Adres",
311
+ "custom_assistant_Device": "Apparaat",
312
+ "custom_assistant_Encrypted, key needed": "Versleuteld, sleutel nodig",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Vul de kamer in de nieuwe rij in (en de sleutel van een versleuteld apparaat) en sla daarna op.",
314
+ "custom_assistant_In the table": "In de tafel",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Geen ESPHome-apparaat beantwoord. De zoekopdracht bereikt alleen apparaten in hetzelfde netwerksegment (niet in een ander VLAN, niet vanuit Docker zonder hostnetwerk): voer het adres handmatig in.",
316
+ "custom_assistant_No response": "Geen reactie",
317
+ "custom_assistant_No voice assistant": "Geen stemassistent",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Zoek in het netwerk naar ESPHome-satellieten",
319
+ "custom_assistant_Searching, about 5 seconds": "Zoeken, ongeveer 5 seconden",
320
+ "custom_assistant_Start the instance to search": "Start het exemplaar om te zoeken",
321
+ "custom_assistant_Voice satellite": "Spraaksatelliet"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Pytania uzupełniające w trwającej rozmowie trafiają od razu do chmury.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "Na to, czego nie rozumie żaden krok, przychodzi stałe zdanie.",
305
305
  "custom_assistant_Music": "Muzyka",
306
- "custom_assistant_Adapter command": "Polecenie adaptera"
306
+ "custom_assistant_Adapter command": "Polecenie adaptera",
307
+ "custom_assistant_Add": "Dodać",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Dodaj go i wpisz jego klucz szyfrowania w tabeli",
309
+ "custom_assistant_Added": "W dodatku",
310
+ "custom_assistant_Address": "Adres",
311
+ "custom_assistant_Device": "Urządzenie",
312
+ "custom_assistant_Encrypted, key needed": "Zaszyfrowane, potrzebny klucz",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Wprowadź pokój w nowym wierszu (i klucz zaszyfrowanego urządzenia), a następnie zapisz.",
314
+ "custom_assistant_In the table": "W tabeli",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Żadne urządzenie ESPHome nie odpowiedziało. Wyszukiwanie dociera tylko do urządzeń w tym samym segmencie sieci (nie w innej sieci VLAN, nie z Dockera bez sieci hosta): wprowadź adres ręcznie.",
316
+ "custom_assistant_No response": "Brak odpowiedzi",
317
+ "custom_assistant_No voice assistant": "Brak asystenta głosowego",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Wyszukaj w sieci satelity ESPHome",
319
+ "custom_assistant_Searching, about 5 seconds": "Wyszukiwanie, około 5 sekund",
320
+ "custom_assistant_Start the instance to search": "Uruchom instancję, aby wyszukać",
321
+ "custom_assistant_Voice satellite": "Satelita głosowy"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "As perguntas de seguimento numa conversa vão diretamente para a nuvem.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "O que nenhum passo entende recebe uma frase fixa como resposta.",
305
305
  "custom_assistant_Music": "Música",
306
- "custom_assistant_Adapter command": "Comando do adaptador"
306
+ "custom_assistant_Adapter command": "Comando do adaptador",
307
+ "custom_assistant_Add": "Adicionar",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Adicione-o e insira sua chave de criptografia na tabela",
309
+ "custom_assistant_Added": "Adicionado",
310
+ "custom_assistant_Address": "Endereço",
311
+ "custom_assistant_Device": "Dispositivo",
312
+ "custom_assistant_Encrypted, key needed": "Criptografado, chave necessária",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Digite a sala na nova linha (e a chave de um dispositivo criptografado) e salve.",
314
+ "custom_assistant_In the table": "Na mesa",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Nenhum dispositivo ESPHome atendeu. A busca atinge apenas dispositivos no mesmo segmento de rede (não em outra VLAN, nem no Docker sem rede host): insira o endereço manualmente.",
316
+ "custom_assistant_No response": "Sem resposta",
317
+ "custom_assistant_No voice assistant": "Sem assistente de voz",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Pesquise na rede por satélites ESPHome",
319
+ "custom_assistant_Searching, about 5 seconds": "Pesquisando, cerca de 5 segundos",
320
+ "custom_assistant_Start the instance to search": "Inicie a instância para pesquisar",
321
+ "custom_assistant_Voice satellite": "Satélite de voz"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Уточняющие вопросы в идущем разговоре сразу уходят в облако.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "На то, что не понял ни один шаг, приходит готовая фраза.",
305
305
  "custom_assistant_Music": "Музыка",
306
- "custom_assistant_Adapter command": "Команда адаптера"
306
+ "custom_assistant_Adapter command": "Команда адаптера",
307
+ "custom_assistant_Add": "Добавить",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Добавьте его и введите ключ шифрования в таблицу",
309
+ "custom_assistant_Added": "Добавлено",
310
+ "custom_assistant_Address": "Адрес",
311
+ "custom_assistant_Device": "Устройство",
312
+ "custom_assistant_Encrypted, key needed": "Зашифрован, нужен ключ",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Укажите комнату в новой строке (для зашифрованного устройства и ключ), затем сохраните.",
314
+ "custom_assistant_In the table": "В таблице",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Ни одно устройство ESPHome не ответило. Поиск находит только устройства в том же сегменте сети (не в другой VLAN, не из Docker без сети хоста): введите адрес вручную.",
316
+ "custom_assistant_No response": "Нет ответа",
317
+ "custom_assistant_No voice assistant": "Без голосового ассистента",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Искать спутники ESPHome в сети",
319
+ "custom_assistant_Searching, about 5 seconds": "Поиск, около 5 секунд",
320
+ "custom_assistant_Start the instance to search": "Запустите экземпляр, чтобы искать",
321
+ "custom_assistant_Voice satellite": "Голосовой спутник"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "Уточнювальні запитання в поточній розмові одразу йдуть у хмару.",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "На те, що не зрозумів жоден крок, надходить готова фраза.",
305
305
  "custom_assistant_Music": "Музика",
306
- "custom_assistant_Adapter command": "Команда адаптера"
306
+ "custom_assistant_Adapter command": "Команда адаптера",
307
+ "custom_assistant_Add": "Додати",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "Додайте його та введіть ключ шифрування в таблицю",
309
+ "custom_assistant_Added": "Додано",
310
+ "custom_assistant_Address": "Адреса",
311
+ "custom_assistant_Device": "Пристрій",
312
+ "custom_assistant_Encrypted, key needed": "Зашифрований, потрібен ключ",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "Вкажіть кімнату в новому рядку (для зашифрованого пристрою й ключ), потім збережіть.",
314
+ "custom_assistant_In the table": "У таблиці",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "Жоден пристрій ESPHome не відповів. Пошук знаходить лише пристрої в тому самому сегменті мережі (не в іншій VLAN, не з Docker без мережі хоста): введіть адресу вручну.",
316
+ "custom_assistant_No response": "Немає відповіді",
317
+ "custom_assistant_No voice assistant": "Без голосового асистента",
318
+ "custom_assistant_Search the network for ESPHome satellites": "Шукати супутники ESPHome у мережі",
319
+ "custom_assistant_Searching, about 5 seconds": "Пошук, близько 5 секунд",
320
+ "custom_assistant_Start the instance to search": "Запустіть екземпляр, щоб шукати",
321
+ "custom_assistant_Voice satellite": "Голосовий супутник"
307
322
  }
@@ -303,5 +303,20 @@
303
303
  "custom_assistant_Follow-up questions in a conversation go straight to the cloud.": "对话中的追问会直接交给云端。",
304
304
  "custom_assistant_What no step understands gets a fixed sentence.": "任何步骤都无法理解的请求会得到一句固定回复。",
305
305
  "custom_assistant_Music": "音乐",
306
- "custom_assistant_Adapter command": "适配器命令"
306
+ "custom_assistant_Adapter command": "适配器命令",
307
+ "custom_assistant_Add": "添加",
308
+ "custom_assistant_Add it and enter its encryption key in the table": "添加它并在表中输入其加密密钥",
309
+ "custom_assistant_Added": "额外",
310
+ "custom_assistant_Address": "地址",
311
+ "custom_assistant_Device": "设备",
312
+ "custom_assistant_Encrypted, key needed": "已加密,需要密钥",
313
+ "custom_assistant_Enter the room in the new row (and the key of an encrypted device), then save.": "在新行中输入房间(以及加密设备的密钥),然后保存。",
314
+ "custom_assistant_In the table": "表中",
315
+ "custom_assistant_No ESPHome device answered. The search reaches only devices in the same network segment (not in another VLAN, not from Docker without host network): enter the address by hand.": "ESPHome 设备没有应答。搜索仅到达同一网段中的设备(不在另一个 VLAN 中,不在没有主机网络的 Docker 中):手动输入地址。",
316
+ "custom_assistant_No response": "没有回应",
317
+ "custom_assistant_No voice assistant": "没有语音助手",
318
+ "custom_assistant_Search the network for ESPHome satellites": "在网络中搜索 ESPHome 卫星",
319
+ "custom_assistant_Searching, about 5 seconds": "正在搜索,大约5秒",
320
+ "custom_assistant_Start the instance to search": "启动实例进行搜索",
321
+ "custom_assistant_Voice satellite": "语音卫星"
307
322
  }
@@ -24,8 +24,8 @@
24
24
 
25
25
  document.head.appendChild(script);
26
26
  </script>
27
- <script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-9c1ff5c3.js"></script>
28
- <link rel="modulepreload" crossorigin href="./assets/Components-zqvNzb-v.js"><link rel="modulepreload" crossorigin href="./assets/hostInit-DHZJlZGc.js"><link rel="modulepreload" crossorigin href="./assets/index-P2Xu9kJm.js"><link rel="modulepreload" crossorigin href="./customComponents.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-AqysfSvK.js"><link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-D5BBy9-T.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-cTrmbIeO.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BILAbFkM.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare__shared-CorfEuEC.js"><link rel="modulepreload" crossorigin href="./assets/helpers-CgQtlgZl.js"><link rel="modulepreload" crossorigin href="./assets/vite-preload-helper-nldAWQd6.js"><link rel="modulepreload" crossorigin href="./assets/dist-BsS9iigp.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__69834124819989__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-Bf3OT4JY.js"><link rel="modulepreload" crossorigin href="./assets/utils-DKLZyvXJ.js"></head>
27
+ <script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-cc028345.js"></script>
28
+ <link rel="modulepreload" crossorigin href="./assets/Components-DitLx__f.js"><link rel="modulepreload" crossorigin href="./assets/hostInit-DlBgt6uR.js"><link rel="modulepreload" crossorigin href="./assets/index-P2Xu9kJm.js"><link rel="modulepreload" crossorigin href="./customComponents.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__ConfigCustomAssistant__mf_owner__1-pbMlcjvL.js"><link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-9C0vUP4u.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_emotion_mf_1_react__loadShare__.js-B11CGmu2.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D0TLwnBt.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare__shared-CzDq3b-n.js"><link rel="modulepreload" crossorigin href="./assets/helpers-CNHzo155.js"><link rel="modulepreload" crossorigin href="./assets/vite-preload-helper-nldAWQd6.js"><link rel="modulepreload" crossorigin href="./assets/dist-Cnxr-ruU.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__ConfigCustomAssistant__mf_owner__27222310184935__loadShare___mf_0_emotion_mf_1_styled__loadShare__.js-CKLkXG_D.js"><link rel="modulepreload" crossorigin href="./assets/utils-DmVoYT7i.js"></head>
29
29
  <body>
30
30
  <div id="root"></div>
31
31
  </body>