@perses-dev/timeseries-table-plugin 0.6.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 (110) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +41 -0
  3. package/__mf/css/async/341.53436797.css +1 -0
  4. package/__mf/css/async/759.53436797.css +1 -0
  5. package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
  6. package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
  7. package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
  8. package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
  9. package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
  10. package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
  11. package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
  12. package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
  13. package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
  14. package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
  15. package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
  16. package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
  17. package/__mf/js/795.a00f14d5.js +5 -0
  18. package/__mf/js/TimeSeriesTable.78b6adc4.js +5 -0
  19. package/__mf/js/async/156.edaa1366.js +1 -0
  20. package/__mf/js/async/173.7677c422.js +2 -0
  21. package/__mf/js/async/173.7677c422.js.LICENSE.txt +19 -0
  22. package/__mf/js/async/570.4e5c2806.js +1 -0
  23. package/__mf/js/async/620.989f65d2.js +2 -0
  24. package/__mf/js/async/620.989f65d2.js.LICENSE.txt +9 -0
  25. package/__mf/js/async/621.966dfe80.js +111 -0
  26. package/__mf/js/async/621.966dfe80.js.LICENSE.txt +52 -0
  27. package/__mf/js/async/651.f2005980.js +1 -0
  28. package/__mf/js/async/694.46f61549.js +1 -0
  29. package/__mf/js/async/740.64988389.js +1 -0
  30. package/__mf/js/async/75.65fec995.js +1 -0
  31. package/__mf/js/async/770.46d7d5f9.js +1 -0
  32. package/__mf/js/async/960.d242a960.js +2 -0
  33. package/__mf/js/async/960.d242a960.js.LICENSE.txt +8 -0
  34. package/__mf/js/async/964.7386b918.js +2 -0
  35. package/__mf/js/async/964.7386b918.js.LICENSE.txt +9 -0
  36. package/__mf/js/async/998.e20cf478.js +65 -0
  37. package/__mf/js/async/998.e20cf478.js.LICENSE.txt +59 -0
  38. package/__mf/js/async/__federation_expose_TimeSeriesTable.0774ca0f.js +1 -0
  39. package/__mf/js/main.857476c9.js +1 -0
  40. package/lib/TimeSeriesTable.d.ts +8 -0
  41. package/lib/TimeSeriesTable.d.ts.map +1 -0
  42. package/lib/TimeSeriesTable.js +29 -0
  43. package/lib/TimeSeriesTable.js.map +1 -0
  44. package/lib/TimeSeriesTablePanel.d.ts +7 -0
  45. package/lib/TimeSeriesTablePanel.d.ts.map +1 -0
  46. package/lib/TimeSeriesTablePanel.js +33 -0
  47. package/lib/TimeSeriesTablePanel.js.map +1 -0
  48. package/lib/bootstrap.d.ts +2 -0
  49. package/lib/bootstrap.d.ts.map +1 -0
  50. package/lib/bootstrap.js +19 -0
  51. package/lib/bootstrap.js.map +1 -0
  52. package/lib/cjs/TimeSeriesTable.js +35 -0
  53. package/lib/cjs/TimeSeriesTablePanel.js +41 -0
  54. package/lib/cjs/bootstrap.js +26 -0
  55. package/lib/cjs/components/DataTable.js +185 -0
  56. package/lib/cjs/components/HistogramChart.js +121 -0
  57. package/lib/cjs/components/SeriesName.js +100 -0
  58. package/lib/cjs/components/index.js +20 -0
  59. package/lib/cjs/env.d.js +14 -0
  60. package/lib/cjs/getPluginModule.js +27 -0
  61. package/lib/cjs/index-federation.js +55 -0
  62. package/lib/cjs/index.js +29 -0
  63. package/lib/cjs/model.js +5 -0
  64. package/lib/cjs/setup-tests.js +19 -0
  65. package/lib/cjs/test/mock-query-results.js +417 -0
  66. package/lib/components/DataTable.d.ts +18 -0
  67. package/lib/components/DataTable.d.ts.map +1 -0
  68. package/lib/components/DataTable.js +173 -0
  69. package/lib/components/DataTable.js.map +1 -0
  70. package/lib/components/HistogramChart.d.ts +16 -0
  71. package/lib/components/HistogramChart.d.ts.map +1 -0
  72. package/lib/components/HistogramChart.js +113 -0
  73. package/lib/components/HistogramChart.js.map +1 -0
  74. package/lib/components/SeriesName.d.ts +11 -0
  75. package/lib/components/SeriesName.d.ts.map +1 -0
  76. package/lib/components/SeriesName.js +95 -0
  77. package/lib/components/SeriesName.js.map +1 -0
  78. package/lib/components/index.d.ts +4 -0
  79. package/lib/components/index.d.ts.map +1 -0
  80. package/lib/components/index.js +5 -0
  81. package/lib/components/index.js.map +1 -0
  82. package/lib/env.d.js +15 -0
  83. package/lib/env.d.js.map +1 -0
  84. package/lib/getPluginModule.d.ts +6 -0
  85. package/lib/getPluginModule.d.ts.map +1 -0
  86. package/lib/getPluginModule.js +16 -0
  87. package/lib/getPluginModule.js.map +1 -0
  88. package/lib/index-federation.d.ts +1 -0
  89. package/lib/index-federation.d.ts.map +1 -0
  90. package/lib/index-federation.js +15 -0
  91. package/lib/index-federation.js.map +1 -0
  92. package/lib/index.d.ts +7 -0
  93. package/lib/index.d.ts.map +1 -0
  94. package/lib/index.js +8 -0
  95. package/lib/index.js.map +1 -0
  96. package/lib/model.d.ts +3 -0
  97. package/lib/model.d.ts.map +1 -0
  98. package/lib/model.js +4 -0
  99. package/lib/model.js.map +1 -0
  100. package/lib/setup-tests.d.ts +2 -0
  101. package/lib/setup-tests.d.ts.map +1 -0
  102. package/lib/setup-tests.js +17 -0
  103. package/lib/setup-tests.js.map +1 -0
  104. package/lib/test/mock-query-results.d.ts +136 -0
  105. package/lib/test/mock-query-results.d.ts.map +1 -0
  106. package/lib/test/mock-query-results.js +389 -0
  107. package/lib/test/mock-query-results.js.map +1 -0
  108. package/mf-manifest.json +212 -0
  109. package/mf-stats.json +242 -0
  110. package/package.json +54 -0
@@ -0,0 +1,5 @@
1
+ var TimeSeriesTable;(()=>{"use strict";var __webpack_modules__={4993:function(e,t){let r="RUNTIME-001",n="RUNTIME-002",o="RUNTIME-003",i="RUNTIME-004",a="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",u="TYPE-001",d="BUILD-001",f=e=>{let t=e.split("-")[0].toLowerCase();return`https://module-federation.io/guide/troubleshooting/${t}/${e}`},h=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(f(e)),n&&o.push(`Original Error Message:
2
+ ${n}`),o.join("\n")};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let m={[r]:"Failed to get remoteEntry exports.",[n]:'The remote entry interface does not contain "init"',[o]:"Failed to get manifest.",[i]:"Failed to locate remote.",[a]:"Invalid loadShareSync function call from bundler runtime",[s]:"Invalid loadShareSync function call from runtime",[l]:"Failed to get remote snapshot.",[c]:"Failed to load script resources."},g={[u]:"Failed to generate type declaration."},y={[d]:"Failed to find expose module."},_=p({},m,g,y);t.BUILD_001=d,t.RUNTIME_001=r,t.RUNTIME_002=n,t.RUNTIME_003=o,t.RUNTIME_004=i,t.RUNTIME_005=a,t.RUNTIME_006=s,t.RUNTIME_007=l,t.RUNTIME_008=c,t.TYPE_001=u,t.buildDescMap=y,t.errorDescMap=_,t.getShortErrorMsg=h,t.runtimeDescMap=m,t.typeDescMap=g},4692:function(e,t,r){var n=r(8337),o=r(485);let i=null;function a(e){let t=o.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),i||(i=t),t):(i=new(n.getGlobalFederationConstructor()||n.FederationHost)(e),n.setGlobalFederationInstance(i),i)}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.loadRemote.apply(i,t)}function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.loadShare.apply(i,t)}function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.loadShareSync.apply(i,t)}function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.preloadRemote.apply(i,t)}function d(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.registerRemotes.apply(i,t)}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.assert(i,"Please call init first"),i.registerPlugins.apply(i,t)}function h(){return i}n.setGlobalFederationConstructor(n.FederationHost),Object.defineProperty(t,"FederationHost",{enumerable:!0,get:function(){return n.FederationHost}}),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return n.Module}}),Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return n.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return n.getRemoteInfo}}),Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return n.loadScriptNode}}),Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return n.registerGlobalPlugins}}),t.getInstance=h,t.init=a,t.loadRemote=s,t.loadShare=l,t.loadShareSync=c,t.preloadRemote=u,t.registerPlugins=f,t.registerRemotes=d},485:function(e,t,r){var n=r(8337);function o(){return"TimeSeriesTable:0.6.0"}function i(e,t){let r=o();return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===o()||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}t.getGlobalFederationInstance=i},8337:function(e,t,r){var n=r(2711),o=r(6455),i=r(4993);let a="[ Federation Runtime ]",s=o.createLogger(a);function l(e,t){e||c(t)}function c(e){if(e instanceof Error)throw e.message=`${a}: ${e.message}`,e;throw Error(`${a}: ${e}`)}function u(e){e instanceof Error&&(e.message=`${a}: ${e.message}`),s.warn(e)}function d(e,t){return -1===e.findIndex(e=>e===t)&&e.push(t),e}function f(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function h(e){return void 0!==e.entry}function p(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}async function m(e,t){try{return await e()}catch(e){t||u(e);return}}function g(e){return e&&"object"==typeof e}let y=Object.prototype.toString;function _(e){return"[object Object]"===y.call(e)}function E(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function b(e){return Array.isArray(e)?e:[e]}function v(e){let t={url:"",type:"global",globalName:""};return o.isBrowserEnv()||o.isReactNativeEnv()?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}let S=(e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t},R="object"==typeof globalThis?globalThis:window,N=(()=>{try{return document.defaultView}catch(e){return R}})(),I=N;function $(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function T(e,t){return Object.hasOwnProperty.call(e,t)}T(R,"__GLOBAL_LOADING_REMOTE_ENTRY__")||$(R,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let O=R.__GLOBAL_LOADING_REMOTE_ENTRY__;function A(e){var t,r,n,o,i,a,s,l,c,u,d,f;T(e,"__VMOK__")&&!T(e,"__FEDERATION__")&&$(e,"__FEDERATION__",e.__VMOK__),T(e,"__FEDERATION__")||($(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),$(e,"__VMOK__",e.__FEDERATION__)),null!=(s=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(l=(r=e.__FEDERATION__).__INSTANCES__)||(r.__INSTANCES__=[]),null!=(c=(n=e.__FEDERATION__).moduleInfo)||(n.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(d=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function w(){R.__FEDERATION__.__GLOBAL_PLUGIN__=[],R.__FEDERATION__.__INSTANCES__=[],R.__FEDERATION__.moduleInfo={},R.__FEDERATION__.__SHARE__={},R.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(O).forEach(e=>{delete O[e]})}function M(e){R.__FEDERATION__.__INSTANCES__.push(e)}function k(){return R.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.isDebugMode();t&&(R.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,R.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.11.2")}function D(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let r of Object.keys(e)){let[n,o]=r.split(":"),i=`${n}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}A(R),A(N);let x=()=>N.__FEDERATION__.moduleInfo,L=(e,t)=>{let r=D(t,f(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){let{version:t}=e,r=f(n._object_without_properties_loose(e,["version"])),o=D(N.__FEDERATION__.moduleInfo,r).value;if((null==o?void 0:o.version)===t)return o}},H=e=>L(e,N.__FEDERATION__.moduleInfo),j=(e,t)=>{let r=f(e);return N.__FEDERATION__.moduleInfo[r]=t,N.__FEDERATION__.moduleInfo},F=e=>(N.__FEDERATION__.moduleInfo=n._extends({},N.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete N.__FEDERATION__.moduleInfo[t]}),C=(e,t)=>{let r=t||`__FEDERATION_${e}:custom__`,n=R[r];return{remoteEntryKey:r,entryExports:n}},U=e=>{let{__GLOBAL_PLUGIN__:t}=N.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},G=()=>N.__FEDERATION__.__GLOBAL_PLUGIN__,V=e=>R.__FEDERATION__.__PRELOADED_MAP__.get(e),q=e=>R.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),B="default",W="global",z="[0-9A-Za-z-]+",K=`(?:\\+(${z}(?:\\.${z})*))`,Y="0|[1-9]\\d*",X="[0-9]+",J="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Z=`(?:${X}|${J})`,Q=`(?:-?(${Z}(?:\\.${Z})*))`,ee=`(?:${Y}|${J})`,et=`(?:-(${ee}(?:\\.${ee})*))`,er=`${Y}|x|X|\\*`,en=`[v=\\s]*(${er})(?:\\.(${er})(?:\\.(${er})(?:${et})?${K}?)?)?`,eo=`^\\s*(${en})\\s+-\\s+(${en})\\s*$`,ei=`(${X})\\.(${X})\\.(${X})`,ea=`[v=\\s]*${ei}${Q}?${K}?`,es="((?:<|>)?=?)",el=`(\\s*)${es}\\s*(${ea}|${en})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,ed="(?:\\^)",ef=`(\\s*)${ed}\\s+`,eh="(<|>)?=?\\s*\\*",ep=`^${ed}${en}$`,em=`(${Y})\\.(${Y})\\.(${Y})`,eg=`v?${em}${et}?${K}?`,ey=`^${ec}${en}$`,e_=`^${es}\\s*${en}$`,eE=`^${es}\\s*(${eg})$|^$`,eb="^\\s*>=\\s*0.0.0\\s*$";function ev(e){return new RegExp(e)}function eS(e){return!e||"x"===e.toLowerCase()||"*"===e}function eR(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>t.reduce((e,t)=>t(e),e)}function eN(e){return e.match(ev(eE))}function eI(e,t,r,n){let o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}function e$(e){return e.replace(ev(eo),(e,t,r,n,o,i,a,s,l,c,u,d)=>(t=eS(r)?"":eS(n)?`>=${r}.0.0`:eS(o)?`>=${r}.${n}.0`:`>=${t}`,s=eS(l)?"":eS(c)?`<${Number(l)+1}.0.0-0`:eS(u)?`<${l}.${Number(c)+1}.0-0`:d?`<=${l}.${c}.${u}-${d}`:`<=${s}`,`${t} ${s}`.trim()))}function eT(e){return e.replace(ev(el),"$1$2$3")}function eO(e){return e.replace(ev(eu),"$1~")}function eA(e){return e.replace(ev(ef),"$1^")}function ew(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ep),(e,t,r,n,o)=>eS(t)?"":eS(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:eS(n)?"0"===t?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`:o?"0"!==t?`>=${t}.${r}.${n}-${o} <${Number(t)+1}.0.0-0`:"0"===r?`>=${t}.${r}.${n}-${o} <${t}.${r}.${Number(n)+1}-0`:`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:"0"===t?"0"===r?`>=${t}.${r}.${n} <${t}.${r}.${Number(n)+1}-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${Number(t)+1}.0.0-0`)).join(" ")}function eM(e){return e.trim().split(/\s+/).map(e=>e.replace(ev(ey),(e,t,r,n,o)=>eS(t)?"":eS(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:eS(n)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:o?`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`)).join(" ")}function ek(e){return e.split(/\s+/).map(e=>e.trim().replace(ev(e_),(e,t,r,n,o,i)=>{let a=eS(r),s=a||eS(n),l=s||eS(o);return("="===t&&l&&(t=""),i="",a)?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(s&&(n=0),o=0,">"===t?(t=">=",s?(r=Number(r)+1,n=0):n=Number(n)+1,o=0):"<="===t&&(t="<",s?r=Number(r)+1:n=Number(n)+1),"<"===t&&(i="-0"),`${t+r}.${n}.${o}${i}`):s?`>=${r}.0.0${i} <${Number(r)+1}.0.0-0`:l?`>=${r}.${n}.0${i} <${r}.${Number(n)+1}.0-0`:e})).join(" ")}function eP(e){return e.trim().replace(ev(eh),"")}function eD(e){return e.trim().replace(ev(eb),"")}function ex(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eL(e,t){let{preRelease:r}=e,{preRelease:n}=t;if(void 0===r&&n)return 1;if(r&&void 0===n)return -1;if(void 0===r&&void 0===n)return 0;for(let e=0,t=r.length;e<=t;e++){let t=r[e],o=n[e];if(t!==o){if(void 0===t&&void 0===o)break;if(!t)return 1;if(!o)return -1;return ex(t,o)}}return 0}function eH(e,t){return ex(e.major,t.major)||ex(e.minor,t.minor)||ex(e.patch,t.patch)||eL(e,t)}function ej(e,t){return e.version===t.version}function eF(e,t){switch(e.operator){case"":case"=":return ej(e,t);case">":return 0>eH(e,t);case">=":return ej(e,t)||0>eH(e,t);case"<":return eH(e,t)>0;case"<=":return ej(e,t)||eH(e,t)>0;case void 0:return!0;default:return!1}}function eC(e){return eR(ew,eM,ek,eP)(e)}function eU(e){return eR(e$,eT,eO,eA)(e.trim()).split(/\s+/).join(" ")}function eG(e,t){if(!e)return!1;let r=eU(t).split(" ").map(e=>eC(e)).join(" ").split(/\s+/).map(e=>eD(e)),n=eN(e);if(!n)return!1;let[,o,,i,a,s,l]=n,c={operator:o,version:eI(i,a,s,l),major:i,minor:a,patch:s,preRelease:null==l?void 0:l.split(".")};for(let e of r){let t=eN(e);if(!t)return!1;let[,r,,n,o,i,a]=t;if(!eF({operator:r,version:eI(n,o,i,a),major:n,minor:o,patch:i,preRelease:null==a?void 0:a.split(".")},c))return!1}return!0}function eV(e,t,r,o){var i,a,s;let l;return l="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{throw Error(`Can not get shared '${r}'!`)}),e.strategy&&u('"shared.strategy is deprecated, please set in initOptions.shareStrategy instead!"'),n._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:n._extends({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:l,loaded:null!=e&&!!e.loaded||"lib"in e||void 0,version:null!=(i=e.version)?i:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(a=e.scope)?a:"default"],strategy:(null!=(s=e.strategy)?s:o)||"version-first"})}function eq(e,t){let r=t.shared||{},o=t.name,i=Object.keys(r).reduce((e,n)=>{let i=b(r[n]);return e[n]=e[n]||[],i.forEach(r=>{e[n].push(eV(r,o,n,t.shareStrategy))}),e},{}),a=n._extends({},e.shared);return Object.keys(i).forEach(e=>{a[e]?i[e].forEach(t=>{a[e].find(e=>e.version===t.version)||a[e].push(t)}):a[e]=i[e]}),{shared:a,shareInfos:i}}function eB(e,t){let r=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!eG(r(e),`<=${r(t)}`)}let eW=(e,t)=>{let r=t||function(e,t){return eB(e,t)};return Object.keys(e).reduce((e,t)=>!e||r(e,t)||"0"===e?t:e,0)},ez=e=>!!e.loaded||"function"==typeof e.lib,eK=e=>!!e.loading;function eY(e,t,r){let n=e[t][r],o=function(e,t){return!ez(n[e])&&eB(e,t)};return eW(e[t][r],o)}function eX(e,t,r){let n=e[t][r],o=function(e,t){let r=e=>ez(e)||eK(e);return r(n[t])?!r(n[e])||!!eB(e,t):!r(n[e])&&eB(e,t)};return eW(e[t][r],o)}function eJ(e){return"loaded-first"===e?eX:eY}function eZ(e,t,r,n){if(!e)return;let{shareConfig:o,scope:i=B,strategy:a}=r;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,l=eJ(a)(e,s,t),d=()=>{if(o.singleton){if("string"==typeof i&&!eG(l,i)){let n=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${i})`;o.strictVersion?c(n):u(n)}return e[s][t][l]}if(!1===i||"*"===i||eG(l,i))return e[s][t][l];for(let[r,n]of Object.entries(e[s][t]))if(eG(r,i))return n},f={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:I.__FEDERATION__,resolver:d};return(n.emit(f)||f).resolver()}}function eQ(){return I.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:r,extraOptions:n,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let r=function(e,r){return!ez(t[e])&&eB(e,r)},n=eW(t,r);return t[n]};return Object.assign({},(null!=(t=null==n?void 0:n.resolver)?t:i)(o[r]),null==n?void 0:n.customShareInfo)}var e1={global:{Global:I,nativeGlobal:N,resetFederationGlobalInfo:w,setGlobalFederationInstance:M,getGlobalFederationConstructor:k,setGlobalFederationConstructor:P,getInfoWithoutType:D,getGlobalSnapshot:x,getTargetSnapshotInfoByModuleInfo:L,getGlobalSnapshotInfoByModuleInfo:H,setGlobalSnapshotInfoByModuleInfo:j,addGlobalSnapshot:F,getRemoteEntryExports:C,registerGlobalPlugins:U,getGlobalHostPlugins:G,getPreloaded:V,setPreloaded:q},share:{getRegisteredShare:eZ,getGlobalShareScope:eQ}};function e7(){return"TimeSeriesTable:0.6.0"}function e9(e,t){for(let r of e){let e=t.startsWith(r.name),n=t.replace(r.name,"");if(e){if(n.startsWith("/"))return{pkgNameOrAlias:r.name,expose:n=`.${n}`,remote:r};if(""===n)return{pkgNameOrAlias:r.name,expose:".",remote:r}}let o=r.alias&&t.startsWith(r.alias),i=r.alias&&t.replace(r.alias,"");if(r.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:r.alias,expose:i=`.${i}`,remote:r};if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function e6(e,t){for(let r of e)if(t===r.name||r.alias&&t===r.alias)return r}function e2(e,t){let r=G();return r.length>0&&r.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{t.forEach(t=>{t.applyPlugin(e)})}),e}async function e4(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,n]):import(t).then(e).catch(n)}catch(e){n(e)}})}async function e3(e){let{entry:t,remoteEntryExports:r}=e;return new Promise((e,n)=>{try{r?e(r):Function("callbacks",`System.import("${t}").then(callbacks[0]).catch(callbacks[1])`)([e,n])}catch(e){n(e)}})}async function e5(e){let{name:t,globalName:r,entry:n,loaderHook:a}=e,{entryExports:s}=C(t,r);return s||o.loadScript(n,{attrs:{},createScriptHook:(e,t)=>{let r=a.lifecycle.createScript.emit({url:e,attrs:t});if(r&&(r instanceof HTMLScriptElement||"script"in r||"timeout"in r))return r}}).then(()=>{let{remoteEntryKey:e,entryExports:o}=C(t,r);return l(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:t,remoteEntryUrl:n,remoteEntryKey:e})),o}).catch(e=>{throw l(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:t,resourceUrl:n})),e})}async function e8(e){let{remoteInfo:t,remoteEntryExports:r,loaderHook:n}=e,{entry:o,entryGlobalName:i,name:a,type:s}=t;switch(s){case"esm":case"module":return e4({entry:o,remoteEntryExports:r});case"system":return e3({entry:o,remoteEntryExports:r});default:return e5({entry:o,globalName:i,name:a,loaderHook:n})}}async function te(e){let{remoteInfo:t,loaderHook:r}=e,{entry:n,entryGlobalName:a,name:s,type:c}=t,{entryExports:u}=C(s,a);return u||o.loadScriptNode(n,{attrs:{name:s,globalName:a,type:c},loaderHook:{createScriptHook:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&"url"in n)return n}}}).then(()=>{let{remoteEntryKey:e,entryExports:t}=C(s,a);return l(t,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:s,remoteEntryUrl:n,remoteEntryKey:e})),t}).catch(e=>{throw e})}function tt(e){let{entry:t,name:r}=e;return o.composeKeyWithSeparator(r,t)}async function tr(e){let{origin:t,remoteEntryExports:r,remoteInfo:n}=e,i=tt(n);if(r)return r;if(!O[i]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,a=t.loaderHook;O[i]=e.emit({loaderHook:a,remoteInfo:n,remoteEntryExports:r}).then(e=>e||(o.isBrowserEnv()?e8({remoteInfo:n,remoteEntryExports:r,loaderHook:a}):te({remoteInfo:n,loaderHook:a})))}return O[i]}function tn(e){return n._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||W,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||B})}let to=class{async getEntry(){let e;if(this.remoteEntryExports)return this.remoteEntryExports;try{e=await tr({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})}catch(r){let t=tt(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tr,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:O,uniqueKey:t})}return l(e,`remoteEntryExports is undefined
3
+ ${o.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,r,o){let a;let{loadFactory:s=!0}=r||{loadFactory:!0},u=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,r=this.remoteInfo.shareScope||"default";t[r]||(t[r]={});let a=t[r],s=[],l={version:this.remoteInfo.version||""};Object.defineProperty(l,"shareScopeMap",{value:t,enumerable:!1});let d=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:a,remoteEntryInitOptions:l,initScope:s,remoteInfo:this.remoteInfo,origin:this.host});void 0===(null==u?void 0:u.init)&&c(i.getShortErrorMsg(i.RUNTIME_002,i.runtimeDescMap,{remoteName:name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await u.init(d.shareScope,d.initScope,d.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(n._extends({},d,{id:e,remoteSnapshot:o,remoteEntryExports:u}))}this.lib=u,this.inited=!0,(a=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:u,expose:t,moduleInfo:this.remoteInfo}))||(a=await u.get(t)),l(a,`${f(this.remoteInfo)} remote don't export ${t}.`);let d=S(this.remoteInfo.name,t),h=this.wraperFactory(a,d);return s?await h():h}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{let n=await e();return r(n,t),n}:()=>{let n=e();return r(n,t),n}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class ti{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.remove(r),e.apply(null,o)})}emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.listeners.size>0&&this.listeners.forEach(t=>{e=t(...r)}),e}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class ta extends ti{emit(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let o=Array.from(this.listeners);if(o.length>0){let t=0,n=e=>!1!==e&&(t<o.length?Promise.resolve(o[t++].apply(null,r)).then(n):e);e=n()}return Promise.resolve(e)}}function ts(e,t){if(!g(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}class tl extends ti{emit(e){for(let t of(g(e)||c(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(ts(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){u(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=c,this.type=e}}class tc extends ti{emit(e){g(e)||c(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(u(t),this.onerror(t),e),o=i=>{if(ts(e,i)){if(e=i,r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(e){return n(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=c,this.type=e}}class tu{applyPlugin(e){l(_(e),"Plugin configuration is invalid.");let t=e.name;l(t,"A name must be provided by the plugin."),this.registerPlugins[t]||(this.registerPlugins[t]=e,Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){l(e,"A name is required.");let t=this.registerPlugins[e];l(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}inherit(e){let{lifecycle:t,registerPlugins:r}=e;Object.keys(t).forEach(e=>{l(!this.lifecycle[e],`The hook "${e}" has a conflict and cannot be inherited.`),this.lifecycle[e]=t[e]}),Object.keys(r).forEach(e=>{l(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(r[e])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function td(e){return n._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function tf(e,t){return t.map(t=>{let r=e6(e,t.nameOrAlias);return l(r,`Unable to preload ${t.nameOrAlias} as it is not included in ${!r&&o.safeToString({remoteInfo:r,remotes:e})}`),{remote:r,preloadConfig:td(t)}})}function th(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tp(e,t,r){let n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=r;if(t.options.inBrowser){if(s.forEach(r=>{let{moduleInfo:n}=r,o=t.moduleCache.get(e.name);o?tr({origin:t,remoteInfo:n,remoteEntryExports:o.remoteEntryExports}):tr({origin:t,remoteInfo:n,remoteEntryExports:void 0})}),n){let e={rel:"preload",as:"style"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n},needDeleteLink:!1});i&&document.head.appendChild(n)})}if(n){let e={rel:"preload",as:"script"};a.forEach(r=>{let{link:n,needAttach:i}=o.createLink({url:r,cb:()=>{},attrs:e,createLinkHook:(e,r)=>{let n=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:r});if(n instanceof HTMLLinkElement)return n}});i&&document.head.appendChild(n)})}else{let r={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:n,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:r,createScriptHook:(e,r)=>{let n=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:r});if(n instanceof HTMLScriptElement)return n},needDeleteScript:!0});i&&document.head.appendChild(n)})}}}function tm(e,t){let r=v(t);r.url||c(`The attribute remoteEntry of ${e.name} must not be undefined.`);let n=o.getResourceUrl(t,r.url);o.isBrowserEnv()||n.startsWith("http")||(n=`https:${n}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=n,e.version=t.version,e.buildVersion=t.buildVersion}function tg(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:o,origin:i,remoteInfo:a}=e;if(!h(t)||!p(t)){let{remoteSnapshot:s,globalSnapshot:l}=await i.snapshotHandler.loadRemoteSnapshotInfo(t);tm(a,s);let c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:c,remoteInfo:a,remote:t,remoteSnapshot:s,globalSnapshot:l});return u&&tp(a,i,u,!1),n._extends({},e,{remoteSnapshot:s})}return e}}}function ty(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function t_(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,{value:s}=D(e,f(t)),l=a||s;if(l&&!o.isManifestProvider(l)&&(r(l,t,n),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let n=ty(t),o=l.remotesInfo[t];t_(e,{name:n.name,version:o.matchedVersion},r,!1,i,void 0)}}let tE=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function tb(e,t,r,n,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:d}=e,{preloadConfig:f}=t,{depsRemote:h}=f;if(t_(n,r,(t,r,n)=>{let i;if(n)i=f;else if(Array.isArray(h)){let e=h.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;i=td(e)}else{if(!0!==h)return;i=f}let c=o.getResourceUrl(t,v(t).url);c&&l.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],d=th(i.exposes);if(d.length&&"modules"in t){var p;u=null==t?void 0:null==(p=t.modules)?void 0:p.reduce((e,t)=>((null==d?void 0:d.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let r=e.map(e=>o.getResourceUrl(t,e));return i.filter?r.filter(i.filter):r}if(u){let n=u.length;for(let o=0;o<n;o++){let n=u[o],l=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:l,name:r.name,remoteSnapshot:t,preloadConfig:i,remote:r,origin:e}),!V(l)&&("all"===i.resourceCategory?(a.push(...m(n.assets.css.async)),a.push(...m(n.assets.css.sync)),s.push(...m(n.assets.js.async))):(i.resourceCategory="sync",a.push(...m(n.assets.css.sync))),s.push(...m(n.assets.js.sync)),q(l))}}},!0,{},i),i.shared){let t=(t,r)=>{let n=eZ(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var r;let n=null==(r=d.shared)?void 0:r[e.sharedName];if(!n)return;let o=e.version?n.find(t=>t.version===e.version):n;o&&b(o).forEach(r=>{t(r,e)})})}let p=s.filter(e=>!c.has(e)&&!tE("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tE("link",e)),jsAssetsWithoutEntry:p,entryAssets:l.filter(e=>!tE("script",e.url))}}let tv=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:n,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return o.isBrowserEnv()?h(i)&&p(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:n.name,entry:i.entry,type:n.type||"global",entryGlobalName:"",shareScope:""}}]}:(tm(n,s),tb(t,r,n,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tS(e,t){let r=H({name:t.options.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&D(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:x(),remoteSnapshot:H({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:x(),remoteSnapshot:H({name:e.name,version:"version"in e?e.version:void 0})}}class tR{async loadSnapshot(e){let{options:t}=this.HostInstance,{hostGlobalSnapshot:r,remoteSnapshot:n,globalSnapshot:o}=this.getGlobalRemoteInfo(e),{remoteSnapshot:i,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:r,remoteSnapshot:n,globalSnapshot:o});return{remoteSnapshot:i,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){let t,r;let{options:a}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:a,moduleInfo:e});let s=H({name:this.HostInstance.options.name,version:this.HostInstance.options.version});s||(s={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},F({[this.HostInstance.options.name]:s})),s&&"remotesInfo"in s&&!D(s.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(s.remotesInfo=n._extends({},null==s?void 0:s.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:d}=this.getGlobalRemoteInfo(e),{remoteSnapshot:f,globalSnapshot:p}=await this.hooks.lifecycle.loadSnapshot.emit({options:a,moduleInfo:e,hostGlobalSnapshot:l,remoteSnapshot:u,globalSnapshot:d});if(f){if(o.isManifestProvider(f)){let i=o.isBrowserEnv()?f.remoteEntry:f.ssrRemoteEntry||f.remoteEntry||"",a=await this.getManifestJson(i,e,{}),s=j(n._extends({},e,{entry:i}),a);t=a,r=s}else{let{remoteSnapshot:n}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:f,from:"global"});t=n,r=p}}else if(h(e)){let n=await this.getManifestJson(e.entry,e,{}),o=j(e,n),{remoteSnapshot:i}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:n,from:"global"});t=i,r=o}else c(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(p)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({options:a,moduleInfo:e,remoteSnapshot:t}),{remoteSnapshot:t,globalSnapshot:r}}getGlobalRemoteInfo(e){return tS(e,this.HostInstance)}async getManifestJson(e,t,r){let n=async()=>{let r=this.manifestCache.get(e);if(r)return r;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),r=await t.json()}catch(n){(r=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],c(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:t.name},`${n}`)))}return l(r.metaData&&r.exposes&&r.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,r),r},a=async()=>{let r=await n(),i=o.generateSnapshotFromManifest(r,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:r,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=a().then(e=>e)),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new tu({beforeLoadRemoteSnapshot:new ta("beforeLoadRemoteSnapshot"),loadSnapshot:new tc("loadGlobalSnapshot"),loadRemoteSnapshot:new tc("loadRemoteSnapshot"),afterLoadSnapshot:new tc("afterLoadSnapshot")}),this.manifestLoading=I.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tN{registerShared(e,t){let{shareInfos:r,shared:n}=eq(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{!eZ(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)&&r&&r.lib&&this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:!0,shared:r,from:t.name})})}),{shareInfos:r,shared:n}}async loadShare(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});l(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),d(e.useIn,r.options.name)};if(i&&i.lib)return a(i),i.lib;if(i&&i.loading&&!i.loaded){let e=await i.loading;return i.loaded=!0,i.lib||(i.lib=e),a(i),e}if(i){let t=(async()=>{let t=await i.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:r.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let n=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let r=eZ(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return r&&(r.lib=t,r.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:n}),n}}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,t=arguments.length>1?arguments[1]:void 0,{host:r}=this,n=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==n){let{initTokens:t}=this;i||(i=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),i.indexOf(r)>=0)return a;i.push(r)}let s=this.shareScopeMap,l=r.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{var r;let{version:n,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[n],s=!!(a&&(a.eager||(null==(r=a.shareConfig)?void 0:r.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:l>a.from))&&(i[n]=t)},d=t=>t&&t.init&&t.init(s[e],i),f=async e=>{let{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let n;try{n=await t.getEntry()}catch(t){n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}t.inited||(await d(n),t.inited=!0)}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&u(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===o)&&r.options.remotes.forEach(t=>{t.shareScope===e&&a.push(f(t.name))}),a}loadShareSync(e,t){let{host:r}=this,n=e0({pkgName:e,extraOptions:t,shareInfos:r.options.shared});(null==n?void 0:n.scope)&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let o=eZ(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),d(e.useIn,r.options.name)};if(o){if("function"==typeof o.lib)return a(o),o.loaded||(o.loaded=!0,o.from!==r.options.name||(n.loaded=!0)),o.lib;if("function"==typeof o.get){let t=o.get();if(!(t instanceof Promise))return a(o),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:o}),t}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){let o=n.get();if(o instanceof Promise){let n=(null==t?void 0:t.from)==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(n,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=o,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared(e){let{pkgName:t,shared:r,from:o,lib:i,loading:a,loaded:s,get:l}=e,{version:c,scope:u="default"}=r,d=n._object_without_properties_loose(r,["version","scope"]);(Array.isArray(u)?u:[u]).forEach(e=>{if(this.shareScopeMap[e]||(this.shareScopeMap[e]={}),this.shareScopeMap[e][t]||(this.shareScopeMap[e][t]={}),!this.shareScopeMap[e][t][c]){this.shareScopeMap[e][t][c]=n._extends({version:c,scope:["default"]},d,{lib:i,loaded:s,loading:a}),l&&(this.shareScopeMap[e][t][c].get=l);return}let r=this.shareScopeMap[e][t][c];a&&!r.loading&&(r.loading=a)})}_setGlobalShareScopeMap(e){let t=eQ(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}constructor(e){this.hooks=new tu({afterResolve:new tc("afterResolve"),beforeLoadShare:new tc("beforeLoadShare"),loadShare:new ta,resolveShare:new tl("resolveShare"),initContainerShareScopeMap:new tl("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tI{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:r.name,expose:n};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){let{host:r}=this;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:d}=a,f=await o.get(u,c,t,d),h=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:n?f:void 0,exposeModuleFactory:n?void 0:f,remote:l,options:i,moduleInstance:o,origin:r});if(this.setIdToRemoteMap(e,a),"function"==typeof h)return h;return f}catch(i){let{from:n="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:n,lifecycle:"onLoad",origin:r});if(!o)throw i;return o}}async preloadRemote(e){let{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});let r=tf(t.options.remotes,e);await Promise.all(r.map(async e=>{let{remote:r}=e,n=tn(r),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo(r),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:r,remoteInfo:n,globalSnapshot:o,remoteSnapshot:i});a&&tp(n,t,a)}))}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t;let{host:r}=this,{id:o}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:a}=t,s=e9(r.options.remotes,a);l(s,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:r.options.name,requestId:a}));let{remote:c}=s,u=tn(c),d=await r.sharedHandler.hooks.lifecycle.afterResolve.emit(n._extends({id:a},s,{options:r.options,origin:r,remoteInfo:u})),{remote:f,expose:h}=d;l(f&&h,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${a}.`);let p=r.moduleCache.get(f.name),m={host:r,remoteInfo:u};return p||(p=new to(m),r.moduleCache.set(f.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:d}}registerRemote(e,t,r){let{host:n}=this,i=()=>{if(e.alias){let r=t.find(t=>{var r;return e.alias&&(t.name.startsWith(e.alias)||(null==(r=t.alias)?void 0:r.startsWith(e.alias)))});l(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&o.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=B),e.type||(e.type=W)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:n});let a=t.find(t=>t.name===e.name);if(a){let s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];(null==r?void 0:r.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n}),o.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n})}removeRemote(e){try{let{host:r}=this,{name:n}=e,i=r.options.remotes.findIndex(e=>e.name===n);-1!==i&&r.options.remotes.splice(i,1);let a=r.moduleCache.get(e.name);if(a){let n=a.remoteInfo,i=n.entryGlobalName;if(R[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(R,i))?void 0:t.configurable)?delete R[i]:R[i]=void 0}let s=tt(a.remoteInfo);O[s]&&delete O[s],r.snapshotHandler.manifestCache.delete(n.entry);let l=n.buildVersion?o.composeKeyWithSeparator(n.name,n.buildVersion):n.name,c=R.__FEDERATION__.__INSTANCES__.findIndex(e=>n.buildVersion?e.options.id===l:e.name===l);if(-1!==c){let e=R.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;let t=eQ(),r=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===n.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==n.name),l.useIn.length?r=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),r&&(e.shareScopeMap={},delete t[l]),o.forEach(e=>{var r,n,o;let[i,a,s,l]=e;null==(o=t[i])||null==(n=o[a])||null==(r=n[s])||delete r[l]}),R.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tS(e,r);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&D(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],I.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete I.__FEDERATION__.__MANIFEST_LOADING__[t])}r.moduleCache.delete(e.name)}}catch(e){s.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tu({beforeRegisterRemote:new tl("beforeRegisterRemote"),registerRemote:new tl("registerRemote"),beforeRequest:new tc("beforeRequest"),onLoad:new ta("onLoad"),handlePreloadModule:new ti("handlePreloadModule"),errorLoadRemote:new ta("errorLoadRemote"),beforePreloadRemote:new ta("beforePreloadRemote"),generatePreloadAssets:new ta("generatePreloadAssets"),afterPreloadRemote:new ta,loadEntry:new ta}),this.host=e,this.idToRemoteMap={}}}class t${initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){let n=new to({host:this,remoteInfo:tn({name:e,entry:t})});return n.remoteEntryExports=r,this.moduleCache.set(e,n),n}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let{shared:r}=eq(e,t),{userOptions:o,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=this.remoteHandler.formatAndRegisterRemote(i,o),{shared:s}=this.sharedHandler.registerShared(i,o),l=[...i.plugins];o.plugins&&o.plugins.forEach(e=>{l.includes(e)||l.push(e)});let c=n._extends({},e,t,{plugins:l,remotes:a,shared:s});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=e2(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook,this.bridgeHook]);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new tu({beforeInit:new tl("beforeInit"),init:new ti,beforeInitContainer:new tc("beforeInitContainer"),initContainer:new tc("initContainer")}),this.version="0.11.2",this.moduleCache=new Map,this.loaderHook=new tu({getModuleInfo:new ti,createScript:new ti,createLink:new ti,fetch:new ta,loadEntryError:new ta,getModuleFactory:new ta}),this.bridgeHook=new tu({beforeBridgeRender:new ti,afterBridgeRender:new ti,beforeBridgeDestroy:new ti,afterBridgeDestroy:new ti});let t={id:e7(),name:e.name,plugins:[tg(),tv()],remotes:[],shared:{},inBrowser:o.isBrowserEnv()};this.name=e.name,this.options=t,this.snapshotHandler=new tR(this),this.sharedHandler=new tN(this),this.remoteHandler=new tI(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}var tT=Object.freeze({__proto__:null});Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.CurrentGlobal=R,t.FederationHost=t$,t.Global=I,t.Module=to,t.addGlobalSnapshot=F,t.assert=l,t.getGlobalFederationConstructor=k,t.getGlobalSnapshot=x,t.getInfoWithoutType=D,t.getRegisteredShare=eZ,t.getRemoteEntry=tr,t.getRemoteInfo=tn,t.helpers=e1,t.isStaticResourcesEqual=E,t.matchRemoteWithNameAndExpose=e9,t.registerGlobalPlugins=U,t.resetFederationGlobalInfo=w,t.safeWrapper=m,t.satisfy=eG,t.setGlobalFederationConstructor=P,t.setGlobalFederationInstance=M,t.types=tT},2711:function(e,t){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}t._extends=r,t._object_without_properties_loose=n},6455:function(__unused_webpack_module,exports,__webpack_require__){var polyfills=__webpack_require__(8303);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window&&void 0!==window.document}function isReactNativeEnv(){var e;return"undefined"!=typeof navigator&&(null==(e=navigator)?void 0:e.product)==="ReactNative"}function isBrowserDebug(){try{if(isBrowserEnv()&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){}return!1}function isDebugMode(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:!!("undefined"!=typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)||isBrowserDebug()}let getProcessEnv=function(){return"undefined"!=typeof process&&process.env?process.env:{}},LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,n=e.split(r),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(n.length>=2){let[t,...s]=n;e.startsWith(r)&&(t=n.slice(0,2).join(r),s=[o||n.slice(2).join(r)]);let l=o||s.join(r);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===n.length){let[e]=n;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length?t.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let n=r?".js":"";return`${t}${e.replace(RegExp(`${NameTransformSymbol.AT}`,"g"),NameTransformMap[NameTransformSymbol.AT]).replace(RegExp(`${NameTransformSymbol.HYPHEN}`,"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(RegExp(`${NameTransformSymbol.SLASH}`,"g"),NameTransformMap[NameTransformSymbol.SLASH])}${n}`}catch(e){throw e}},decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${NameTransformMap[NameTransformSymbol.AT]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.SLASH]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(RegExp(`${NameTransformMap[NameTransformSymbol.HYPHEN]}`,"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),encodeName(r,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,r,n;let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{remotes:a={},overrides:s={},version:l}=i,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(s),d={};Object.keys(a).length||(d=(null==(n=e.remotes)?void 0:n.reduce((e,t)=>{let r;let n=t.federationContainerName;return r=u.includes(n)?s[n]:"version"in t?t.version:t.entry,e[n]={matchedVersion:r},e},{}))||{}),Object.keys(a).forEach(e=>d[e]={matchedVersion:u.includes(e)?s[e]:a[e]});let{remoteEntry:{path:f,name:h,type:p},types:m,buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:_}=e.metaData,{exposes:E}=e,b={version:l||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(f,h),remoteEntryType:p,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:d,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==E?void 0:E.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(t=e.metaData)?void 0:t.prefetchInterface){let t=e.metaData.prefetchInterface;b=polyfills._extends({},b,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){let{path:t,name:r,type:n}=e.metaData.prefetchEntry;b=polyfills._extends({},b,{prefetchEntry:simpleJoinRemoteEntry(t,r),prefetchEntryType:n})}if(o="publicPath"in e.metaData?polyfills._extends({},b,{publicPath:c()}):polyfills._extends({},b,{getPublicPath:c()}),_){let e=simpleJoinRemoteEntry(_.path,_.name);o.ssrRemoteEntry=e,o.ssrRemoteEntryType=_.type||"commonjs-module"}return o}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}success(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}info(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}ready(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(this.prefix,...t)}debug(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];isDebugMode()&&console.log(this.prefix,...t)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}let logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function createScript(e){let t,r=null,n=!0,o=2e4,i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){let o=i[t],a=o.getAttribute("src");if(a&&isStaticResourcesEqual(a,e.url)){r=o,n=!1;break}}if(!r){let t;let n=e.attrs;(r=document.createElement("script")).type=(null==n?void 0:n.type)==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(o=t.timeout))),r.src||(r.src=e.url),n&&!t&&Object.keys(n).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=n[e]:r.getAttribute(e)||r.setAttribute(e,n[e]))})}let a=async(n,o)=>{clearTimeout(t);let i=()=>{(null==o?void 0:o.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(o)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(r&&(r.onerror=null,r.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==r?void 0:r.parentNode)&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){let e=n(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:r,needAttach:n}}function createLink(e){let t=null,r=!0,n=document.getElementsByTagName("link");for(let o=0;o<n.length;o++){let i=n[o],a=i.getAttribute("href"),s=i.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&s===e.attrs.rel){t=i,r=!1;break}}if(!t){let r;(t=document.createElement("link")).setAttribute("href",e.url);let n=e.attrs;e.createLinkHook&&(r=e.createLinkHook(e.url,n))instanceof HTMLLinkElement&&(t=r),n&&!r&&Object.keys(n).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,n[e])})}let o=(r,n)=>{let o=()=>{(null==n?void 0:n.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(n)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:r=!0}=e;r&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),r)){let e=r(n);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function loadScript(e,t){let{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:polyfills._extends({fetchpriority:"high"},r),createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}function importNodeModule(e){if(!e)throw Error("import specifier is required");return Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),t})}let loadNodeFetch=async()=>{let e=await importNodeModule("node-fetch");return e.default||e},lazyLoaderHookFetch=async(e,t,r)=>{let n=(e,t)=>r.lifecycle.fetch.emit(e,t),o=await n(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})};function createScriptNode(url,cb,attrs,loaderHook){let urlObj;if(null==loaderHook?void 0:loaderHook.createScriptHook){let hookResult=loaderHook.createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(Error(`Invalid URL: ${e}`));return}let getFetch=async()=>(null==loaderHook?void 0:loaderHook.fetch)?(e,t)=>lazyLoaderHookFetch(e,t,loaderHook):"undefined"==typeof fetch?loadNodeFetch():fetch,handleScriptFetch=async(f,urlObj)=>{try{var _vm_constants,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER;let res=await f(urlObj.href),data=await res.text(),[path,vm]=await Promise.all([importNodeModule("path"),importNodeModule("vm")]),scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname),script=new vm.Script(`(function(exports, module, require, __dirname, __filename) {${data}
4
+ })`,{filename,importModuleDynamically:null!=(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=null==(_vm_constants=vm.constants)?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:importNodeModule});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);let exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){let container=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,container);return}cb(void 0,exportedInterface)}catch(e){cb(e instanceof Error?e:Error(`Script execution error: ${e}`))}};getFetch().then(async e=>{if((null==attrs?void 0:attrs.type)==="esm"||(null==attrs?void 0:attrs.type)==="module")return loadModule(urlObj.href,{fetch:e,vm:await importNodeModule("vm")}).then(async e=>{await e.evaluate(),cb(void 0,e.namespace)}).catch(e=>{cb(e instanceof Error?e:Error(`Script execution error: ${e}`))});handleScriptFetch(e,urlObj)}).catch(e=>{cb(e)})}function loadScriptNode(e,t){return new Promise((r,n)=>{createScriptNode(e,(e,o)=>{if(e)n(e);else{var i,a;let e=(null==t?void 0:null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t?void 0:null==(a=t.attrs)?void 0:a.name}:custom__`;r(globalThis[e]=o)}},t.attrs,t.loaderHook)})}async function loadModule(e,t){let{fetch:r,vm:n}=t,o=await r(e),i=await o.text(),a=new n.SourceTextModule(i,{importModuleDynamically:async(r,n)=>loadModule(new URL(r,e).href,t)});return await a.link(async r=>{let n=new URL(r,e).href;return await loadModule(n,t)}),a}function normalizeOptions(e,t,r){return function(n){if(!1===n)return!1;if(void 0===n)return!!e&&t;if(!0===n)return t;if(n&&"object"==typeof n)return polyfills._extends({},t,n);throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.BROWSER_LOG_VALUE=BROWSER_LOG_VALUE,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.getProcessEnv=getProcessEnv,exports.getResourceUrl=getResourceUrl,exports.inferAutoPublicPath=inferAutoPublicPath,exports.isBrowserEnv=isBrowserEnv,exports.isDebugMode=isDebugMode,exports.isManifestProvider=isManifestProvider,exports.isReactNativeEnv=isReactNativeEnv,exports.isRequiredVersion=isRequiredVersion,exports.isStaticResourcesEqual=isStaticResourcesEqual,exports.loadScript=loadScript,exports.loadScriptNode=loadScriptNode,exports.logger=logger,exports.moduleFederationPlugin=ModuleFederationPlugin,exports.normalizeOptions=normalizeOptions,exports.parseEntry=parseEntry,exports.safeToString=safeToString,exports.safeWrapper=safeWrapper,exports.sharePlugin=SharePlugin,exports.simpleJoinRemoteEntry=simpleJoinRemoteEntry,exports.warn=warn},8303:function(e,t){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t._extends=r},9536:function(e,t){let r=["script"];t.FEDERATION_SUPPORTED_TYPES=r},1423:function(e,t,r){var n=r(4692),o=r(9536),i=function(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}(n);function a(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}let s={AT:"@",HYPHEN:"-",SLASH:"/"},l={[s.AT]:"scope_",[s.HYPHEN]:"_",[s.SLASH]:"__"},c={[l[s.AT]]:s.AT,[l[s.HYPHEN]]:s.HYPHEN,[l[s.SLASH]]:s.SLASH},u="ENCODE_NAME_PREFIX",d=function(e,t,r){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(RegExp(t,"g"),"")}return r=r.replace(RegExp(`${l[s.AT]}`,"g"),c[l[s.AT]]).replace(RegExp(`${l[s.SLASH]}`,"g"),c[l[s.SLASH]]).replace(RegExp(`${l[s.HYPHEN]}`,"g"),c[l[s.HYPHEN]])}catch(e){throw e}};function f(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=r[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}let h={runtime:i,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){let{chunkId:t,promises:r,chunkMapping:n,idToExternalAndNameMapping:i,webpackRequire:s,idToRemoteMap:l}=e;a(s),s.o(n,t)&&n[t].forEach(e=>{let t=s.R;t||(t=[]);let n=i[e],a=l[e];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let c=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
5
+ while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},f=(e,t,o,i,a,s)=>{try{let l=e(t,o);if(!l||!l.then)return a(l,i,s);{let e=l.then(e=>a(e,i),c);if(!s)return e;r.push(n.p=e)}}catch(e){c(e)}},h=(e,t,r)=>e?f(s.I,n[0],0,e,p,r):c();var p=(e,r,o)=>f(r.get,n[1],t,0,m,o),m=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};let g=()=>{try{let e=d(a[0].name,u)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(n[0])).then(()=>r());return r()}catch(e){c(e)}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?f(g,n[2],0,0,m,1):f(s,n[2],0,0,h,1)})},consumes:function(e){let{chunkId:t,promises:r,chunkMapping:n,installedModules:o,moduleToHandlerMapping:i,webpackRequire:s}=e;a(s),s.o(n,t)&&n[t].forEach(e=>{if(s.o(o,e))return r.push(o[e]);let t=t=>{o[e]=0,s.m[e]=r=>{delete s.c[e],r.exports=t()}},n=t=>{delete o[e],s.m[e]=r=>{throw delete s.c[e],t}};try{let a=s.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:l,getter:c,shareInfo:u}=i[e],d=a.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);d.then?r.push(o[e]=d.then(t).catch(n)):t(d)}catch(e){n(e)}})},I:function(e){let{shareScopeName:t,webpackRequire:r,initPromises:n,initTokens:i,initScope:s}=e;s||(s=[]);let l=r.federation.instance;var c=i[t];if(c||(c=i[t]={from:l.name}),s.indexOf(c)>=0)return;s.push(c);let u=n[t];if(u)return u;var d=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),f=e=>{var n=e=>d("Initialization of sharing external failed: "+e);try{var o=r(e);if(!o)return;var i=e=>e&&e.init&&e.init(r.S[t],s);if(o.then)return h.push(o.then(i,n));var a=i(o);if(a&&"boolean"!=typeof a&&a.then)return h.push(a.catch(n))}catch(e){n(e)}};let h=l.initializeSharing(t,{strategy:l.options.shareStrategy,initScope:s,from:"build"});a(r);let p=r.federation.bundlerRuntimeOptions.remotes;return(p&&Object.keys(p.idToRemoteMap).forEach(e=>{let t=p.idToRemoteMap[e],r=p.idToExternalAndNameMapping[e][2];if(t.length>1)f(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(r)}}),h.length)?n[t]=Promise.all(h).then(()=>n[t]=!0):n[t]=!0},S:{},installInitialConsumes:function(e){let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:n,initialConsumes:o}=e;o.forEach(e=>{r.m[e]=o=>{n[e]=0,delete r.c[e];let i=f({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);o.exports=i()}})},initContainerEntry:function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;var s=o||"default";return a.initOptions({name:t.federation.initOptions.name,remotes:[],...i}),a.initShareScopeMap(s,r,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}}),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),t.I(s,n)}},attachShareScopeMap:a,bundlerRuntimeOptions:{}};e.exports=h},2032:function(e,t,r){var n,o,i,a,s,l,c,u,d,f,h,p,m=r(1423),g=r.n(m);let y=[],_={},E="TimeSeriesTable",b="version-first";if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{var n,o,i,a,s,l;let c=r();Array.isArray(c)?(null!==(i=(n=e)[o=t])&&void 0!==i||(n[o]=[]),e[t].push(...c)):"object"==typeof c&&null!==c&&(null!==(l=(a=e)[s=t])&&void 0!==l||(a[s]={}),Object.assign(e[t],c))},m=(e,t,r)=>{var n,o,i;null!==(i=(n=e)[o=t])&&void 0!==i||(n[o]=r())},v=null!==(u=null===(n=r.remotesLoadingData)||void 0===n?void 0:n.chunkMapping)&&void 0!==u?u:{},S=null!==(d=null===(o=r.remotesLoadingData)||void 0===o?void 0:o.moduleIdToRemoteDataMapping)&&void 0!==d?d:{},R=null!==(f=null===(i=r.initializeSharingData)||void 0===i?void 0:i.scopeToSharingDataMapping)&&void 0!==f?f:{},N=null!==(h=null===(a=r.consumesLoadingData)||void 0===a?void 0:a.chunkMapping)&&void 0!==h?h:{},I=null!==(p=null===(s=r.consumesLoadingData)||void 0===s?void 0:s.moduleIdToConsumeDataMapping)&&void 0!==p?p:{},$={},T=[],O={},A=null===(l=r.initializeExposesData)||void 0===l?void 0:l.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(I))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>E),m(r.federation.initOptions,"shareStrategy",()=>b),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(R))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=n,u={},d=function(e){return void 0!==e};d(s)&&(u.singleton=s),d(l)&&(u.requiredVersion=l),d(a)&&(u.eager=a),d(c)&&(u.strictVersion=c);let f={version:o,scope:[t],shareConfig:u,get:i};e[r]?e[r].push(f):e[r]=[f]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(_).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>y),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>v),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(S))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(S)){let n=_[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:v,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:N,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:$,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:T,initTokens:O,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:A,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null===(c=r.consumesLoadingData)||void 0===c?void 0:c.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:$,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},4518:function(e,t,r){r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(1(57|61|79)|341|494|677|759|946)$/.test(e)}})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,r)=>(__webpack_require__.f[r](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>"__mf/js/async/"+("972"===e?"__federation_expose_TimeSeriesTable":e)+"."+({156:"edaa1366",173:"7677c422",570:"4e5c2806",621:"966dfe80",651:"f2005980",694:"46f61549",740:"64988389",75:"65fec995",770:"46d7d5f9",960:"d242a960",964:"7386b918",972:"0774ca0f",998:"e20cf478"})[e]+".js"})(),(()=>{__webpack_require__.miniCssF=e=>"__mf/css/async/"+e+"."+({341:"53436797",759:"53436797"})[e]+".css"})(),(()=>{__webpack_require__.h=()=>"83f38bab1a1df5d8"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="TimeSeriesTable:";__webpack_require__.l=function(r,n,o,i){if(e[r]){e[r].push(n);return}if(void 0!==o)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+o),a.src=r),e[r]=[n];var d=function(t,n){a.onerror=a.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(n)}),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}})(),(()=>{__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{__webpack_require__.nc=void 0})(),(()=>{__webpack_require__.p="/plugins/TimeSeriesTable/"})(),(()=>{__webpack_require__.rv=()=>"1.2.8"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@emotion/react",version:"11.14.0",factory:()=>Promise.all([__webpack_require__.e("960"),__webpack_require__.e("677"),__webpack_require__.e("651")]).then(()=>()=>__webpack_require__(6434)),eager:0,singleton:1,requiredVersion:"^11.11.3"},{name:"@emotion/styled",version:"11.14.0",factory:()=>Promise.all([__webpack_require__.e("677"),__webpack_require__.e("157"),__webpack_require__.e("770")]).then(()=>()=>__webpack_require__(1958)),eager:0,singleton:1},{name:"@perses-dev/components",version:"0.51.0-beta.1",factory:()=>Promise.all([__webpack_require__.e("156"),__webpack_require__.e("998"),__webpack_require__.e("621"),__webpack_require__.e("677"),__webpack_require__.e("179"),__webpack_require__.e("157"),__webpack_require__.e("161"),__webpack_require__.e("946"),__webpack_require__.e("759")]).then(()=>()=>__webpack_require__(3191)),eager:0,singleton:1},{name:"date-fns",version:"4.1.0",factory:()=>Promise.all([__webpack_require__.e("156"),__webpack_require__.e("75")]).then(()=>()=>__webpack_require__(9657)),eager:0,singleton:1},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([__webpack_require__.e("173"),__webpack_require__.e("677")]).then(()=>()=>__webpack_require__(2652)),eager:0,singleton:1,requiredVersion:"18.2.0"},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("964").then(()=>()=>__webpack_require__(7378)),eager:0,singleton:1,requiredVersion:"18.2.0"}]},uniqueName:"TimeSeriesTable"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{161:["4665","461"],494:["7871"],946:["5913"],179:["6085"],972:["3941"],157:["2116"],677:["4538"]},moduleIdToConsumeDataMapping:{3941:{shareScope:"default",shareKey:"@perses-dev/components",import:"@perses-dev/components",requiredVersion:"^0.51.0-beta.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("156"),__webpack_require__.e("998"),__webpack_require__.e("179"),__webpack_require__.e("161"),__webpack_require__.e("341")]).then(()=>()=>__webpack_require__(3191))},4538:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("964").then(()=>()=>__webpack_require__(7378))},7871:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^3.0.0 || ^4.0.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("75").then(()=>()=>__webpack_require__(9657))},5913:{shareScope:"default",shareKey:"@emotion/styled",import:"@emotion/styled",requiredVersion:"^11.3.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("694").then(()=>()=>__webpack_require__(1958))},6085:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("173").then(()=>()=>__webpack_require__(2652))},2116:{shareScope:"default",shareKey:"@emotion/react",import:"@emotion/react",requiredVersion:"^11.11.3",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("960").then(()=>()=>__webpack_require__(6434))},4665:{shareScope:"default",shareKey:"date-fns-tz",import:"date-fns-tz",requiredVersion:"^3.2.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("740"),__webpack_require__.e("494")]).then(()=>()=>__webpack_require__(8872))},461:{shareScope:"default",shareKey:"date-fns",import:"date-fns",requiredVersion:"^4.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("75").then(()=>()=>__webpack_require__(9657))}},initialConsumes:[]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{if("undefined"!=typeof document){var e=function(e,t,r,n,o){var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",__webpack_require__.nc&&(i.nonce=__webpack_require__.nc);var a=function(r){if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=a,i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],i=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(i===e||i===t))return o}for(var a=document.getElementsByTagName("style"),n=0;n<a.length;n++){var o=a[n],i=o.getAttribute("data-href");if(i===e||i===t)return o}},r=function(r){return new Promise(function(n,o){var i=__webpack_require__.miniCssF(r),a=__webpack_require__.p+i;if(t(i,a))return n();e(r,a,null,n,o)})},n={198:0};__webpack_require__.f.miniCss=function(e,t){var o={341:1,759:1};n[e]?t.push(n[e]):0!==n[e]&&o[e]&&t.push(n[e]=r(e).then(function(){n[e]=0},function(t){throw delete n[e],t}))}}})(),(()=>{__webpack_require__.initializeExposesData={moduleMap:{"./TimeSeriesTable":()=>Promise.all([__webpack_require__.e("621"),__webpack_require__.e("570"),__webpack_require__.e("677"),__webpack_require__.e("157"),__webpack_require__.e("946"),__webpack_require__.e("972")]).then(()=>()=>__webpack_require__(4417))},shareScope:"default"},__webpack_require__.getContainer=__webpack_require__.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},__webpack_require__.initContainer=__webpack_require__.initContainer||function(){throw Error("should have __webpack_require__.initContainer")}})(),(()=>{var e={198:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n){if(n)r.push(n[2]);else if(/^(1(57|61|79)|341|494|677|759|946)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}}};var t=(t,r)=>{var n,o,[i,a,s]=r,l=0;if(i.some(t=>0!==e[t])){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);s&&s(__webpack_require__)}for(t&&t(r);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkTimeSeriesTable=self.webpackChunkTimeSeriesTable||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.2.8"})(),__webpack_require__(2032);var __webpack_exports__=__webpack_require__(4518);TimeSeriesTable=__webpack_exports__})();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkTimeSeriesTable=self.webpackChunkTimeSeriesTable||[]).push([["156"],{3577:function(t,e,n){n.d(e,{r:()=>r});function r(t,e){let n=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+n}},5095:function(t,e,n){n.d(e,{b:()=>i,j:()=>a});let r={};function a(){return r}function i(t){r=t}},7175:function(t,e,n){n.d(e,{o:()=>a});var r=n(3577);let a={y(t,e){let n=t.getFullYear(),a=n>0?n:1-n;return(0,r.r)("yy"===e?a%100:a,e.length)},M(t,e){let n=t.getMonth();return"M"===e?String(n+1):(0,r.r)(n+1,2)},d:(t,e)=>(0,r.r)(t.getDate(),e.length),a(t,e){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(t,e)=>(0,r.r)(t.getHours()%12||12,e.length),H:(t,e)=>(0,r.r)(t.getHours(),e.length),m:(t,e)=>(0,r.r)(t.getMinutes(),e.length),s:(t,e)=>(0,r.r)(t.getSeconds(),e.length),S(t,e){let n=e.length,a=Math.trunc(t.getMilliseconds()*Math.pow(10,n-3));return(0,r.r)(a,e.length)}}},8006:function(t,e,n){n.d(e,{G:()=>i});let r=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},a=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},i={p:a,P:(t,e)=>{let n;let i=t.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return r(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(o,e)).replace("{{time}}",a(u,e))}}},7337:function(t,e,n){n.d(e,{D:()=>a});var r=n(5753);function a(t){let e=(0,r.Q)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}},5643:function(t,e,n){n.d(e,{d:()=>a});var r=n(3879);function a(t,...e){let n=r.L.bind(null,t||e.find(t=>"object"==typeof t));return e.map(n)}},925:function(t,e,n){n.d(e,{DD:()=>s,Do:()=>u,Iu:()=>o});let r=/^D+$/,a=/^Y+$/,i=["D","DD","YY","YYYY"];function o(t){return r.test(t)}function u(t){return a.test(t)}function s(t,e,n){let r=function(t,e,n){let r="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,n);if(console.warn(r),i.includes(t))throw RangeError(r)}},9435:function(t,e,n){n.d(e,{E:()=>i});var r=n(3879),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in);return isNaN(e)?(0,r.L)(n?.in||t,NaN):(e&&i.setDate(i.getDate()+e),i)}},2694:function(t,e,n){n.d(e,{T:()=>i});var r=n(2450),a=n(5274);function i(t,e,n){return(0,r.n)(t,e*a.vh,n)}},2450:function(t,e,n){n.d(e,{n:()=>i});var r=n(3879),a=n(5753);function i(t,e,n){return(0,r.L)(n?.in||t,+(0,a.Q)(t)+e)}},4336:function(t,e,n){n.d(e,{m:()=>i});var r=n(5274),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in);return i.setTime(i.getTime()+e*r.yJ),i}},9489:function(t,e,n){n.d(e,{z:()=>i});var r=n(3879),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in);if(isNaN(e))return(0,r.L)(n?.in||t,NaN);if(!e)return i;let o=i.getDate(),u=(0,r.L)(n?.in||t,i.getTime());return(u.setMonth(i.getMonth()+e+1,0),o>=u.getDate())?u:(i.setFullYear(u.getFullYear(),u.getMonth(),o),i)}},2791:function(t,e,n){n.d(e,{v:()=>a});var r=n(2450);function a(t,e,n){return(0,r.n)(t,1e3*e,n)}},5154:function(t,e,n){n.d(e,{j:()=>a});var r=n(9435);function a(t,e,n){return(0,r.E)(t,7*e,n)}},6341:function(t,e,n){n.d(e,{B:()=>a});var r=n(9489);function a(t,e,n){return(0,r.z)(t,12*e,n)}},5274:function(t,e,n){n.d(e,{CU:()=>w,H_:()=>h,I7:()=>D,Ob:()=>m,R3:()=>b,UU:()=>c,Y2:()=>k,_j:()=>g,dP:()=>o,dT:()=>a,fH:()=>l,fR:()=>f,gM:()=>p,jE:()=>i,ju:()=>r,nZ:()=>M,qk:()=>d,rz:()=>x,vh:()=>s,vr:()=>v,xx:()=>y,yJ:()=>u});let r=7,a=365.2425,i=6048e5,o=864e5,u=6e4,s=36e5,d=1e3,c=525600,l=43200,h=1440,f=60,m=3,w=12,g=4,b=3600,y=60,p=86400,v=604800,x=0x1e18558,M=2629746,k=7889238,D=Symbol.for("constructDateFrom")},3879:function(t,e,n){n.d(e,{L:()=>a});var r=n(5274);function a(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&r.I7 in t?t[r.I7](e):t instanceof Date?new t.constructor(e):new Date(e)}},6512:function(t,e,n){n.d(e,{w:()=>u});var r=n(7337),a=n(5643),i=n(5274),o=n(3033);function u(t,e,n){let[u,s]=(0,a.d)(n?.in,t,e),d=(0,o.b)(u),c=(0,o.b)(s);return Math.round((+d-(0,r.D)(d)-(+c-(0,r.D)(c)))/i.dP)}},3189:function(t,e,n){n.d(e,{i:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setHours(23,59,59,999),n}},4575:function(t,e,n){n.d(e,{V:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in),a=n.getMonth();return n.setFullYear(n.getFullYear(),a+1,0),n.setHours(23,59,59,999),n}},5918:function(t,e,n){n.d(e,{v:()=>i});var r=n(5095),a=n(5753);function i(t,e){let n=(0,r.j)(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,a.Q)(t,e?.in),u=o.getDay();return o.setDate(o.getDate()+((u<i?-7:0)+6-(u-i))),o.setHours(23,59,59,999),o}},9880:function(t,e,n){n.d(e,{w:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in),a=n.getFullYear();return n.setFullYear(a+1,0,0),n.setHours(23,59,59,999),n}},6332:function(t,e,n){n.d(e,{p6:()=>Q,WU:()=>Q,Gw:()=>b.G,$0:()=>f});var r=n(4257),a=n(5095),i=n(2529),o=n(5345),u=n(5795),s=n(4265),d=n(904),c=n(3577),l=n(7175);let h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f={G:function(t,e,n){let r=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){let e=t.getFullYear();return n.ordinalNumber(e>0?e:1-e,{unit:"year"})}return l.o.y(t,e)},Y:function(t,e,n,r){let a=(0,d.c)(t,r),i=a>0?a:1-a;if("YY"===e){let t=i%100;return(0,c.r)(t,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):(0,c.r)(i,e.length)},R:function(t,e){let n=(0,u.L)(t);return(0,c.r)(n,e.length)},u:function(t,e){let n=t.getFullYear();return(0,c.r)(n,e.length)},Q:function(t,e,n){let r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,c.r)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){let r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,c.r)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){let r=t.getMonth();switch(e){case"M":case"MM":return l.o.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){let r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return(0,c.r)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){let a=(0,s.Q)(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):(0,c.r)(a,e.length)},I:function(t,e,n){let r=(0,o.l)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,c.r)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):l.o.d(t,e)},D:function(t,e,n){let r=(0,i.B)(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,c.r)(r,e.length)},E:function(t,e,n){let r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){let a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return(0,c.r)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){let a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return(0,c.r)(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){let r=t.getDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return(0,c.r)(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){let r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){let r;let a=t.getHours();switch(r=12===a?h.noon:0===a?h.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){let r;let a=t.getHours();switch(r=a>=17?h.evening:a>=12?h.afternoon:a>=4?h.morning:h.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return l.o.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):l.o.H(t,e)},K:function(t,e,n){let r=t.getHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.r)(r,e.length)},k:function(t,e,n){let r=t.getHours();return(0===r&&(r=24),"ko"===e)?n.ordinalNumber(r,{unit:"hour"}):(0,c.r)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):l.o.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):l.o.s(t,e)},S:function(t,e){return l.o.S(t,e)},X:function(t,e,n){let r=t.getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return w(r);case"XXXX":case"XX":return g(r);default:return g(r,":")}},x:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"x":return w(r);case"xxxx":case"xx":return g(r);default:return g(r,":")}},O:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+m(r,":");default:return"GMT"+g(r,":")}},z:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+m(r,":");default:return"GMT"+g(r,":")}},t:function(t,e,n){let r=Math.trunc(+t/1e3);return(0,c.r)(r,e.length)},T:function(t,e,n){return(0,c.r)(+t,e.length)}};function m(t,e=""){let n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+e+(0,c.r)(i,2)}function w(t,e){return t%60==0?(t>0?"-":"+")+(0,c.r)(Math.abs(t)/60,2):g(t,e)}function g(t,e=""){let n=Math.abs(t);return(t>0?"-":"+")+(0,c.r)(Math.trunc(n/60),2)+e+(0,c.r)(n%60,2)}var b=n(8006),y=n(925),p=n(3743),v=n(5753);let x=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,k=/^'([^]*?)'?$/,D=/''/g,T=/[a-zA-Z]/;function Q(t,e,n){let i=(0,a.j)(),o=n?.locale??i.locale??r._,u=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,d=(0,v.Q)(t,n?.in);if(!(0,p.J)(d))throw RangeError("Invalid time value");let c=e.match(M).map(t=>{let e=t[0];return"p"===e||"P"===e?(0,b.G[e])(t,o.formatLong):t}).join("").match(x).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e)return{isToken:!1,value:function(t){let e=t.match(k);return e?e[1].replace(D,"'"):t}(t)};if(f[e])return{isToken:!0,value:t};if(e.match(T))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});o.localize.preprocessor&&(c=o.localize.preprocessor(d,c));let l={firstWeekContainsDate:u,weekStartsOn:s,locale:o};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;return(!n?.useAdditionalWeekYearTokens&&(0,y.Do)(a)||!n?.useAdditionalDayOfYearTokens&&(0,y.Iu)(a))&&(0,y.DD)(a,e,String(t)),(0,f[a[0]])(d,a,o.localize,l)}).join("")}},1721:function(t,e,n){n.d(e,{_:()=>a});var r=n(5753);function a(t,e){return(0,r.Q)(t,e?.in).getDate()}},2529:function(t,e,n){n.d(e,{B:()=>o});var r=n(6512),a=n(8874),i=n(5753);function o(t,e){let n=(0,i.Q)(t,e?.in);return(0,r.w)(n,(0,a.e)(n))+1}},1267:function(t,e,n){n.d(e,{N:()=>i});var r=n(3879),a=n(5753);function i(t,e){let n=(0,a.Q)(t,e?.in),i=n.getFullYear(),o=n.getMonth(),u=(0,r.L)(n,0);return u.setFullYear(i,o+1,0),u.setHours(0,0,0,0),u.getDate()}},658:function(t,e,n){n.d(e,{j:()=>a});var r=n(5095);function a(){return Object.assign({},(0,r.j)())}},8904:function(t,e,n){n.d(e,{p:()=>a});var r=n(5753);function a(t,e){return(0,r.Q)(t,e?.in).getHours()}},9105:function(t,e,n){n.d(e,{t:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in).getDay();return 0===n?7:n}},5345:function(t,e,n){n.d(e,{l:()=>u});var r=n(5274),a=n(5889),i=n(6024),o=n(5753);function u(t,e){let n=(0,o.Q)(t,e?.in);return Math.round((+(0,a.T)(n)-+(0,i.E)(n))/r.jE)+1}},5795:function(t,e,n){n.d(e,{L:()=>o});var r=n(3879),a=n(5889),i=n(5753);function o(t,e){let n=(0,i.Q)(t,e?.in),o=n.getFullYear(),u=(0,r.L)(n,0);u.setFullYear(o+1,0,4),u.setHours(0,0,0,0);let s=(0,a.T)(u),d=(0,r.L)(n,0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);let c=(0,a.T)(d);return n.getTime()>=s.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}},506:function(t,e,n){n.d(e,{p:()=>a});var r=n(5753);function a(t){return(0,r.Q)(t).getMilliseconds()}},7785:function(t,e,n){n.d(e,{q:()=>a});var r=n(5753);function a(t,e){return(0,r.Q)(t,e?.in).getMinutes()}},8364:function(t,e,n){n.d(e,{j:()=>a});var r=n(5753);function a(t,e){return(0,r.Q)(t,e?.in).getMonth()}},8340:function(t,e,n){n.d(e,{C:()=>a});var r=n(5753);function a(t){return(0,r.Q)(t).getSeconds()}},4265:function(t,e,n){n.d(e,{Q:()=>u});var r=n(5274),a=n(5149),i=n(937),o=n(5753);function u(t,e){let n=(0,o.Q)(t,e?.in);return Math.round((+(0,a.z)(n,e)-+(0,i.v)(n,e))/r.jE)+1}},904:function(t,e,n){n.d(e,{c:()=>u});var r=n(5095),a=n(3879),i=n(5149),o=n(5753);function u(t,e){let n=(0,o.Q)(t,e?.in),u=n.getFullYear(),s=(0,r.j)(),d=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=(0,a.L)(e?.in||t,0);c.setFullYear(u+1,0,d),c.setHours(0,0,0,0);let l=(0,i.z)(c,e),h=(0,a.L)(e?.in||t,0);h.setFullYear(u,0,d),h.setHours(0,0,0,0);let f=(0,i.z)(h,e);return+n>=+l?u+1:+n>=+f?u:u-1}},6635:function(t,e,n){n.d(e,{S:()=>a});var r=n(5753);function a(t,e){return(0,r.Q)(t,e?.in).getFullYear()}},1275:function(t,e,n){n.d(e,{A:()=>a});var r=n(5753);function a(t,e){return+(0,r.Q)(t)>+(0,r.Q)(e)}},4107:function(t,e,n){n.d(e,{R:()=>a});var r=n(5753);function a(t,e){return+(0,r.Q)(t)<+(0,r.Q)(e)}},5090:function(t,e,n){n.d(e,{J:()=>r});function r(t){return t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)}},436:function(t,e,n){n.d(e,{X:()=>a});var r=n(5753);function a(t,e){return+(0,r.Q)(t)==+(0,r.Q)(e)}},7912:function(t,e,n){n.d(e,{K:()=>i});var r=n(5643),a=n(3033);function i(t,e,n){let[i,o]=(0,r.d)(n?.in,t,e);return+(0,a.b)(i)==+(0,a.b)(o)}},8374:function(t,e,n){n.d(e,{f:()=>i});var r=n(5643),a=n(2806);function i(t,e,n){let[i,o]=(0,r.d)(n?.in,t,e);return+(0,a.o)(i)==+(0,a.o)(o)}},3303:function(t,e,n){n.d(e,{x:()=>a});var r=n(5643);function a(t,e,n){let[a,i]=(0,r.d)(n?.in,t,e);return a.getFullYear()===i.getFullYear()&&a.getMonth()===i.getMonth()}},9250:function(t,e,n){n.d(e,{F:()=>a});var r=n(5643);function a(t,e,n){let[a,i]=(0,r.d)(n?.in,t,e);return a.getFullYear()===i.getFullYear()}},3743:function(t,e,n){n.d(e,{J:()=>i});var r=n(5090),a=n(5753);function i(t){return!(!(0,r.J)(t)&&"number"!=typeof t||isNaN(+(0,a.Q)(t)))}},2511:function(t,e,n){n.d(e,{_:()=>a});var r=n(5753);function a(t,e,n){let a=+(0,r.Q)(t,n?.in),[i,o]=[+(0,r.Q)(e.start,n?.in),+(0,r.Q)(e.end,n?.in)].sort((t,e)=>t-e);return a>=i&&a<=o}},4257:function(t,e,n){var r;n.d(e,{_:()=>c});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(t){return (e={})=>{let n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}let o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return(e,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&t.formattingValues){let e=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):e;r=t.formattingValues[a]||t.formattingValues[e]}else{let e=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;r=t.values[a]||t.values[e]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function d(t){return(e,n={})=>{let r;let a=n.width,i=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;let u=o[0],s=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}(s,t=>t.test(u)):function(t,e){for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}(s,t=>t.test(u));return r=t.valueCallback?t.valueCallback(d):d,{value:r=n.valueCallback?n.valueCallback(r):r,rest:e.slice(u.length)}}}let c={code:"en-US",formatDistance:(t,e,n)=>{let r;let i=a[t];return(r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),n?.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:o,formatRelative:(t,e,n,r)=>u[t],localize:{ordinalNumber:(t,e)=>{let n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{let n=t.match(r.matchPattern);if(!n)return null;let a=n[0],i=t.match(r.parsePattern);if(!i)return null;let o=r.valueCallback?r.valueCallback(i[0]):i[0];return{value:o=e.valueCallback?e.valueCallback(o):o,rest:t.slice(a.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},8070:function(t,e,n){n.d(e,{fQ:()=>F,Qc:()=>B});var r=n(4257),a=n(8006),i=n(925),o=n(3879),u=n(658),s=n(5753),d=n(469);class c{subPriority=0;validate(t,e){return!0}}class l extends c{constructor(t,e,n,r,a){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=r,a&&(this.subPriority=a)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}}class h extends c{priority=10;subPriority=-1;constructor(t,e){super(),this.context=t||(t=>(0,o.L)(e,t))}set(t,e){return e.timestampIsSet?t:(0,o.L)(t,(0,d.p)(t,this.context))}}class f{run(t,e,n,r){let a=this.parse(t,e,n,r);return a?{setter:new l(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(t,e,n){return!0}}var m=n(5274);let w={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},g={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function b(t,e){return t?{value:e(t.value),rest:t.rest}:t}function y(t,e){let n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function p(t,e){let n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};let r="+"===n[1]?1:-1,a=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(a*m.vh+i*m.yJ+o*m.qk),rest:e.slice(n[0].length)}}function v(t){return y(w.anyDigitsSigned,t)}function x(t,e){switch(t){case 1:return y(w.singleDigit,e);case 2:return y(w.twoDigits,e);case 3:return y(w.threeDigits,e);case 4:return y(w.fourDigits,e);default:return y(RegExp("^\\d{1,"+t+"}"),e)}}function M(t,e){switch(t){case 1:return y(w.singleDigitSigned,e);case 2:return y(w.twoDigitsSigned,e);case 3:return y(w.threeDigitsSigned,e);case 4:return y(w.fourDigitsSigned,e);default:return y(RegExp("^-?\\d{1,"+t+"}"),e)}}function k(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function D(t,e){let n;let r=e>0,a=r?e:1-e;if(a<=50)n=t||100;else{let e=a+50;n=t+100*Math.trunc(e/100)-100*(t>=e%100)}return r?n:1-n}function T(t){return t%400==0||t%4==0&&t%100!=0}var Q=n(904),S=n(5149),Y=n(5889),P=n(616),H=n(5738);let q=[31,28,31,30,31,30,31,31,30,31,30,31],L=[31,29,31,30,31,30,31,31,30,31,30,31];var N=n(2063),O=n(1542),E=n(7337);let F={G:new class extends f{priority=140;parse(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends f{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,n){let r=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return b(x(4,t),r);case"yo":return b(n.ordinalNumber(t,{unit:"year"}),r);default:return b(x(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){let r=t.getFullYear();if(n.isTwoDigitYear){let e=D(n.year,r);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}let a="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}},Y:new class extends f{priority=130;parse(t,e,n){let r=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return b(x(4,t),r);case"Yo":return b(n.ordinalNumber(t,{unit:"year"}),r);default:return b(x(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,r){let a=(0,Q.c)(t,r);if(n.isTwoDigitYear){let e=D(n.year,a);return t.setFullYear(e,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),(0,S.z)(t,r)}let i="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(i,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),(0,S.z)(t,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends f{priority=130;parse(t,e){return"R"===e?M(4,t):M(e.length,t)}set(t,e,n){let r=(0,o.L)(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,Y.T)(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends f{priority=130;parse(t,e){return"u"===e?M(4,t):M(e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends f{priority=120;parse(t,e,n){switch(e){case"Q":case"QQ":return x(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends f{priority=120;parse(t,e,n){switch(e){case"q":case"qq":return x(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends f{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,n){let r=t=>t-1;switch(e){case"M":return b(y(w.month,t),r);case"MM":return b(x(2,t),r);case"Mo":return b(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},L:new class extends f{priority=110;parse(t,e,n){let r=t=>t-1;switch(e){case"L":return b(y(w.month,t),r);case"LL":return b(x(2,t),r);case"Lo":return b(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends f{priority=100;parse(t,e,n){switch(e){case"w":return y(w.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n,r){return(0,S.z)((0,P.$)(t,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends f{priority=100;parse(t,e,n){switch(e){case"I":return y(w.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return(0,Y.T)((0,H.M)(t,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends f{priority=90;subPriority=1;parse(t,e,n){switch(e){case"d":return y(w.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return x(e.length,t)}}validate(t,e){let n=T(t.getFullYear()),r=t.getMonth();return n?e>=1&&e<=L[r]:e>=1&&e<=q[r]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends f{priority=90;subpriority=1;parse(t,e,n){switch(e){case"D":case"DD":return y(w.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return x(e.length,t)}}validate(t,e){return T(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends f{priority=90;parse(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=(0,N.v)(t,n,r)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends f{priority=90;parse(t,e,n,r){let a=t=>{let e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return b(x(e.length,t),a);case"eo":return b(n.ordinalNumber(t,{unit:"day"}),a);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=(0,N.v)(t,n,r)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends f{priority=90;parse(t,e,n,r){let a=t=>{let e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return b(x(e.length,t),a);case"co":return b(n.ordinalNumber(t,{unit:"day"}),a);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=(0,N.v)(t,n,r)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends f{priority=90;parse(t,e,n){let r=t=>0===t?7:t;switch(e){case"i":case"ii":return x(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return b(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return b(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return b(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return b(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return(t=(0,O.v)(t,n)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends f{priority=80;parse(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(k(n),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends f{priority=80;parse(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(k(n),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends f{priority=80;parse(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(k(n),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends f{priority=70;parse(t,e,n){switch(e){case"h":return y(w.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):r||12!==n?t.setHours(n,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends f{priority=70;parse(t,e,n){switch(e){case"H":return y(w.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends f{priority=70;parse(t,e,n){switch(e){case"K":return y(w.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends f{priority=70;parse(t,e,n){switch(e){case"k":return y(w.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return x(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){return t.setHours(n<=24?n%24:n,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends f{priority=60;parse(t,e,n){switch(e){case"m":return y(w.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}incompatibleTokens=["t","T"]},s:new class extends f{priority=50;parse(t,e,n){switch(e){case"s":return y(w.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return x(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}incompatibleTokens=["t","T"]},S:new class extends f{priority=30;parse(t,e){return b(x(e.length,t),t=>Math.trunc(t*Math.pow(10,-e.length+3)))}set(t,e,n){return t.setMilliseconds(n),t}incompatibleTokens=["t","T"]},X:new class extends f{priority=10;parse(t,e){switch(e){case"X":return p(g.basicOptionalMinutes,t);case"XX":return p(g.basic,t);case"XXXX":return p(g.basicOptionalSeconds,t);case"XXXXX":return p(g.extendedOptionalSeconds,t);default:return p(g.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,o.L)(t,t.getTime()-(0,E.D)(t)-n)}incompatibleTokens=["t","T","x"]},x:new class extends f{priority=10;parse(t,e){switch(e){case"x":return p(g.basicOptionalMinutes,t);case"xx":return p(g.basic,t);case"xxxx":return p(g.basicOptionalSeconds,t);case"xxxxx":return p(g.extendedOptionalSeconds,t);default:return p(g.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,o.L)(t,t.getTime()-(0,E.D)(t)-n)}incompatibleTokens=["t","T","X"]},t:new class extends f{priority=40;parse(t){return v(t)}set(t,e,n){return[(0,o.L)(t,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends f{priority=20;parse(t){return v(t)}set(t,e,n){return[(0,o.L)(t,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},W=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,G=/''/g,I=/\S/,z=/[a-zA-Z]/;function B(t,e,n,d){let c=()=>(0,o.L)(d?.in||n,NaN),l=(0,u.j)(),f=d?.locale??l.locale??r._,m=d?.firstWeekContainsDate??d?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,w=d?.weekStartsOn??d?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0;if(!e)return t?c():(0,s.Q)(n,d?.in);let g={firstWeekContainsDate:m,weekStartsOn:w,locale:f},b=[new h(d?.in,n)],y=e.match(C).map(t=>{let e=t[0];return e in a.G?(0,a.G[e])(t,f.formatLong):t}).join("").match(W),p=[];for(let n of y){!d?.useAdditionalWeekYearTokens&&(0,i.Do)(n)&&(0,i.DD)(n,e,t),!d?.useAdditionalDayOfYearTokens&&(0,i.Iu)(n)&&(0,i.DD)(n,e,t);let r=n[0],a=F[r];if(a){let{incompatibleTokens:e}=a;if(Array.isArray(e)){let t=p.find(t=>e.includes(t.token)||t.token===r);if(t)throw RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${n}\` at the same time`)}else if("*"===a.incompatibleTokens&&p.length>0)throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);p.push({token:r,fullToken:n});let i=a.run(t,n,f.match,g);if(!i)return c();b.push(i.setter),t=i.rest}else{if(r.match(z))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(j)[1].replace(G,"'")),0!==t.indexOf(n))return c();t=t.slice(n.length)}}if(t.length>0&&I.test(t))return c();let v=b.map(t=>t.priority).sort((t,e)=>e-t).filter((t,e,n)=>n.indexOf(t)===e).map(t=>b.filter(e=>e.priority===t).sort((t,e)=>e.subPriority-t.subPriority)).map(t=>t[0]),x=(0,s.Q)(n,d?.in);if(isNaN(+x))return c();let M={};for(let t of v){if(!t.validate(x,g))return c();let e=t.set(x,M,g);Array.isArray(e)?(x=e[0],Object.assign(M,e[1])):x=e}return x}},3709:function(t,e,n){n.d(e,{G:()=>a});var r=n(5753);function a(t,e,n){let a=(0,r.Q)(t,n?.in);return a.setDate(e),a}},2063:function(t,e,n){n.d(e,{v:()=>o});var r=n(5095),a=n(9435),i=n(5753);function o(t,e,n){let o=(0,r.j)(),u=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,s=(0,i.Q)(t,n?.in),d=s.getDay(),c=7-u,l=e<0||e>6?e-(d+c)%7:((e%7+7)%7+c)%7-(d+c)%7;return(0,a.E)(s,l,n)}},3200:function(t,e,n){n.d(e,{B:()=>a});var r=n(5753);function a(t,e,n){let a=(0,r.Q)(t,n?.in);return a.setHours(e),a}},1542:function(t,e,n){n.d(e,{v:()=>o});var r=n(9435),a=n(9105),i=n(5753);function o(t,e,n){let o=(0,i.Q)(t,n?.in),u=(0,a.t)(o,n);return(0,r.E)(o,e-u,n)}},5738:function(t,e,n){n.d(e,{M:()=>i});var r=n(5345),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in),o=(0,r.l)(i,n)-e;return i.setDate(i.getDate()-7*o),i}},4138:function(t,e,n){n.d(e,{I:()=>a});var r=n(5753);function a(t,e,n){let a=(0,r.Q)(t,n?.in);return a.setMilliseconds(e),a}},6292:function(t,e,n){n.d(e,{H:()=>a});var r=n(5753);function a(t,e,n){let a=(0,r.Q)(t,n?.in);return a.setMinutes(e),a}},1136:function(t,e,n){n.d(e,{q:()=>o});var r=n(3879),a=n(1267),i=n(5753);function o(t,e,n){let o=(0,i.Q)(t,n?.in),u=o.getFullYear(),s=o.getDate(),d=(0,r.L)(n?.in||t,0);d.setFullYear(u,e,15),d.setHours(0,0,0,0);let c=(0,a.N)(d);return o.setMonth(e,Math.min(s,c)),o}},3518:function(t,e,n){n.d(e,{O:()=>a});var r=n(5753);function a(t,e,n){let a=(0,r.Q)(t,n?.in);return a.setSeconds(e),a}},616:function(t,e,n){n.d(e,{$:()=>i});var r=n(4265),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in),o=(0,r.Q)(i,n)-e;return i.setDate(i.getDate()-7*o),(0,a.Q)(i,n?.in)}},8140:function(t,e,n){n.d(e,{M:()=>i});var r=n(3879),a=n(5753);function i(t,e,n){let i=(0,a.Q)(t,n?.in);return isNaN(+i)?(0,r.L)(n?.in||t,NaN):(i.setFullYear(e),i)}},3033:function(t,e,n){n.d(e,{b:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setHours(0,0,0,0),n}},2806:function(t,e,n){n.d(e,{o:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setMinutes(0,0,0),n}},5889:function(t,e,n){n.d(e,{T:()=>a});var r=n(5149);function a(t,e){return(0,r.z)(t,{...e,weekStartsOn:1})}},6024:function(t,e,n){n.d(e,{E:()=>o});var r=n(3879),a=n(5795),i=n(5889);function o(t,e){let n=(0,a.L)(t,e),o=(0,r.L)(e?.in||t,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,i.T)(o)}},7:function(t,e,n){n.d(e,{N:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setDate(1),n.setHours(0,0,0,0),n}},5149:function(t,e,n){n.d(e,{z:()=>i});var r=n(5095),a=n(5753);function i(t,e){let n=(0,r.j)(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,a.Q)(t,e?.in),u=o.getDay();return o.setDate(o.getDate()-(7*(u<i)+u-i)),o.setHours(0,0,0,0),o}},937:function(t,e,n){n.d(e,{v:()=>u});var r=n(5095),a=n(3879),i=n(904),o=n(5149);function u(t,e){let n=(0,r.j)(),u=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=(0,i.c)(t,e),d=(0,a.L)(e?.in||t,0);return d.setFullYear(s,0,u),d.setHours(0,0,0,0),(0,o.z)(d,e)}},8874:function(t,e,n){n.d(e,{e:()=>a});var r=n(5753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},5753:function(t,e,n){n.d(e,{Q:()=>a});var r=n(3879);function a(t,e){return(0,r.L)(e||t,t)}},469:function(t,e,n){n.d(e,{p:()=>a});var r=n(3879);function a(t,e){var n;let a="function"==typeof(n=e)&&n.prototype?.constructor===n?new e(0):(0,r.L)(e,0);return a.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),a.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),a}}}]);