@kenyaemr/esm-version-app 5.4.2-pre.2771 → 5.4.2-pre.2774
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Wrote version info v5.4.1-
|
|
1
|
+
Wrote version info v5.4.1-200-gc764ffb-dirty to release-version.js
|
|
2
2
|
WARNING in ⚠ asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
|
|
3
3
|
│ Assets:
|
|
4
4
|
│ 94.js (661.165 KiB)
|
|
5
5
|
│ 424.js (2.012 MiB)
|
|
6
6
|
|
|
7
|
-
Rspack compiled with 1 warning in
|
|
7
|
+
Rspack compiled with 1 warning in 14.63 s
|
package/dist/286.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["286"],{3946:function(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(1452),i=t.n(a),s=t(4567),o=t.n(s)()(i());o.push([e.id,".-esm-version__about__main___ygFSI{display:flex;justify-items:center;flex-direction:column}.-esm-version__about__aboutPage___sinxi{display:flex;justify-content:center;align-items:center}.-esm-version__about__container___Q7mqH{display:flex;justify-content:center;margin:1rem;flex-direction:column;align-items:center;border:.5px solid #c6c6c6;width:23rem}.-esm-version__about__title___LYoZH{display:flex;align-items:center;padding-bottom:.25rem;margin-bottom:.25rem;border-bottom:.5px solid #c6c6c6;width:100%;justify-content:center}.-esm-version__about__title___LYoZH h3{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-version__about__title___LYoZH h4{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-version__about__title___LYoZH img{margin-left:.25rem}.-esm-version__about__aboutBody___Pv2r4{display:grid;grid-template-columns:1fr 1fr;column-gap:.25rem}.-esm-version__about__aboutBody___Pv2r4 p{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-bottom:.25rem}","",{version:3,sources:["webpack://./src/about/about.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,mCACE,YAAA,CACA,oBAAA,CACA,qBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,WAAA,CACA,qBAAA,CACA,kBAAA,CACA,yBAAA,CACA,WAAA,CAGF,oCACE,YAAA,CACA,kBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gCAAA,CACA,UAAA,CACA,sBAAA,CAEA,uCC+zBE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD3zBF,uCC2zBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDvzBF,wCACE,kBAAA,CAIJ,wCACE,YAAA,CACA,6BAAA,CACA,iBAAA,CAEA,0CC6yBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD3yBA,oBAAA",sourcesContent:["@use '@carbon/styles/scss/spacing';\n@use '@carbon/styles/scss/type';\n@use '@carbon/styles/scss/colors';\n\n.main {\n display: flex;\n justify-items: center;\n flex-direction: column;\n}\n\n.aboutPage {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container {\n display: flex;\n justify-content: center;\n margin: 1rem;\n flex-direction: column;\n align-items: center;\n border: 0.5px solid colors.$gray-30;\n width: 23rem;\n}\n\n.title {\n display: flex;\n align-items: center;\n padding-bottom: 0.25rem;\n margin-bottom: 0.25rem;\n border-bottom: 0.5px solid colors.$gray-30;\n width: 100%;\n justify-content: center;\n\n h3 {\n @include type.type-style('body-compact-02');\n }\n\n h4 {\n @include type.type-style('body-compact-01');\n }\n\n img {\n margin-left: 0.25rem;\n }\n}\n\n.aboutBody {\n display: grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 0.25rem;\n\n & p {\n @include type.type-style('label-01');\n margin-bottom: 0.25rem;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={main:"-esm-version__about__main___ygFSI",aboutPage:"-esm-version__about__aboutPage___sinxi",container:"-esm-version__about__container___Q7mqH",title:"-esm-version__about__title___LYoZH",aboutBody:"-esm-version__about__aboutBody___Pv2r4"};let l=o},5830:function(e,n,t){"use strict";t.d(n,{Q:()=>a});var a={}},9101:function(e,n,t){"use strict";t.r(n),t.d(n,{about:()=>S,startupApp:()=>D,importTranslations:()=>B});var a=t(2722),i=t(5830),s=t(5400),o=t.n(s),l=t(5721),p=t(2591),r=t.n(p),c=t(1740),u=t.n(c),d=t(8128),f=t.n(d),g=t(855),h=t.n(g),y=t(3051),m=t.n(y),b=t(3656),$=t.n(b),A=t(3946),v={};v.styleTagTransform=$(),v.setAttributes=h(),v.insert=f().bind(null,"head"),v.domAPI=u(),v.insertStyleElement=m(),r()(A.A,v);let w=A.A&&A.A.locals?A.A.locals:void 0;var x=t(4924),k=t(438);let z=function(){var e=(0,s.useMemo)(function(){var e;return(null!=(e=window.installedModules)?e:[]).filter(function(e){return!!e&&!!e[1]}).map(function(e){return{version:e[1].version,name:e[0].substring(e[0].indexOf("/")+1)}})},[]);return o().createElement(k.StructuredListWrapper,{ariaLabel:"Structured list"},o().createElement(k.StructuredListHead,null,o().createElement(k.StructuredListRow,{head:!0,tabIndex:0},o().createElement(k.StructuredListCell,{head:!0},"Module name"),o().createElement(k.StructuredListCell,{head:!0},"Version"))),o().createElement(k.StructuredListBody,null,e.map(function(e){var n;return o().createElement(k.StructuredListRow,{tabIndex:0},o().createElement(k.StructuredListCell,null,e.name),o().createElement(k.StructuredListCell,null,null!=(n=e.version)?n:"No version found"," "))})))};var _=t(8766);let C=function(){var e,n,t,i,s,l=(i=(t=(0,x.A)("ws/rest/v1/module?v=custom:(uuid,name,version)",a.openmrsFetch)).data,s=t.isLoading,{modules:null!=(n=null==i||null==(e=i.data)?void 0:e.results)?n:[],isLoading:s}),p=l.modules;l.isLoading;var r=p.find(function(e){return"kenyaemr"===e.uuid}),c=w.title,u=w.container,d=w.aboutBody,f=w.aboutPage,g=_.VERSION;return o().createElement("div",{className:w.main},o().createElement("div",{className:f},o().createElement("div",{className:u},o().createElement("div",{className:c},o().createElement("div",null,o().createElement("h3",null,"Government of Kenya"),o().createElement("h4",null,"Ministry of Health")),o().createElement("img",{src:"/openmrs/ms/uiframework/resource/kenyaemr/images/logos/moh.png",alt:"court_of_arms",width:"50",height:"50"})),o().createElement("div",{className:d},o().createElement("p",null,"KenyaEMR Version"),o().createElement("p",null,"v".concat(null==r?void 0:r.version)),o().createElement("p",null,"SPA Version"),o().createElement("p",null,"v".concat(g.version)),o().createElement("p",null,"Build date time"),o().createElement("p",null,(0,a.formatDatetime)(new Date(g.buildDate),{mode:"standard"}))))),o().createElement(z,null))};var M=window.getOpenmrsSpaBase(),E="@kenyaemr/esm-version-app",B=t(1437),S=(0,a.getSyncLifecycle)(function(){return o().createElement(l.BrowserRouter,{basename:M},o().createElement(C,null))},{featureName:"esm-version-app",moduleName:E});function D(){(0,a.defineConfigSchema)(E,i.Q)}},8766:function(e,n,t){"use strict";t.r(n),t.d(n,{VERSION:()=>a});var a={dirty:!0,raw:"v5.4.1-199-g248c7dc-dirty",hash:"g248c7dc",distance:199,tag:"v5.4.1",semver:{options:{loose:!1,includePrerelease:!1},loose:!1,raw:"v5.4.1",major:5,minor:4,patch:1,prerelease:[],build:[],version:"5.4.1"},suffix:"199-g248c7dc-dirty",semverString:"5.4.1+199.g248c7dc",version:"5.4.2-pre.2771",buildDate:"2025-10-30T17:08:45.664Z"}},1437:function(e,n,t){var a={"./en.json":["1066","127"],"./sw.json":["3987","40"],"./am.json":["2735","916"]};function i(e){if(!t.o(a,e))return Promise.resolve().then(function(){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=a[e],i=n[0];return t.e(n[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=1437,e.exports=i}}]);
|
|
1
|
+
(globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[]).push([["286"],{3946:function(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(1452),i=t.n(a),s=t(4567),o=t.n(s)()(i());o.push([e.id,".-esm-version__about__main___ygFSI{display:flex;justify-items:center;flex-direction:column}.-esm-version__about__aboutPage___sinxi{display:flex;justify-content:center;align-items:center}.-esm-version__about__container___Q7mqH{display:flex;justify-content:center;margin:1rem;flex-direction:column;align-items:center;border:.5px solid #c6c6c6;width:23rem}.-esm-version__about__title___LYoZH{display:flex;align-items:center;padding-bottom:.25rem;margin-bottom:.25rem;border-bottom:.5px solid #c6c6c6;width:100%;justify-content:center}.-esm-version__about__title___LYoZH h3{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-version__about__title___LYoZH h4{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-version__about__title___LYoZH img{margin-left:.25rem}.-esm-version__about__aboutBody___Pv2r4{display:grid;grid-template-columns:1fr 1fr;column-gap:.25rem}.-esm-version__about__aboutBody___Pv2r4 p{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-bottom:.25rem}","",{version:3,sources:["webpack://./src/about/about.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,mCACE,YAAA,CACA,oBAAA,CACA,qBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,WAAA,CACA,qBAAA,CACA,kBAAA,CACA,yBAAA,CACA,WAAA,CAGF,oCACE,YAAA,CACA,kBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gCAAA,CACA,UAAA,CACA,sBAAA,CAEA,uCC+zBE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD3zBF,uCC2zBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDvzBF,wCACE,kBAAA,CAIJ,wCACE,YAAA,CACA,6BAAA,CACA,iBAAA,CAEA,0CC6yBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD3yBA,oBAAA",sourcesContent:["@use '@carbon/styles/scss/spacing';\n@use '@carbon/styles/scss/type';\n@use '@carbon/styles/scss/colors';\n\n.main {\n display: flex;\n justify-items: center;\n flex-direction: column;\n}\n\n.aboutPage {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container {\n display: flex;\n justify-content: center;\n margin: 1rem;\n flex-direction: column;\n align-items: center;\n border: 0.5px solid colors.$gray-30;\n width: 23rem;\n}\n\n.title {\n display: flex;\n align-items: center;\n padding-bottom: 0.25rem;\n margin-bottom: 0.25rem;\n border-bottom: 0.5px solid colors.$gray-30;\n width: 100%;\n justify-content: center;\n\n h3 {\n @include type.type-style('body-compact-02');\n }\n\n h4 {\n @include type.type-style('body-compact-01');\n }\n\n img {\n margin-left: 0.25rem;\n }\n}\n\n.aboutBody {\n display: grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 0.25rem;\n\n & p {\n @include type.type-style('label-01');\n margin-bottom: 0.25rem;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={main:"-esm-version__about__main___ygFSI",aboutPage:"-esm-version__about__aboutPage___sinxi",container:"-esm-version__about__container___Q7mqH",title:"-esm-version__about__title___LYoZH",aboutBody:"-esm-version__about__aboutBody___Pv2r4"};let l=o},5830:function(e,n,t){"use strict";t.d(n,{Q:()=>a});var a={}},9101:function(e,n,t){"use strict";t.r(n),t.d(n,{about:()=>S,startupApp:()=>D,importTranslations:()=>B});var a=t(2722),i=t(5830),s=t(5400),o=t.n(s),l=t(5721),p=t(2591),r=t.n(p),c=t(1740),u=t.n(c),d=t(8128),f=t.n(d),g=t(855),h=t.n(g),y=t(3051),m=t.n(y),b=t(3656),$=t.n(b),A=t(3946),v={};v.styleTagTransform=$(),v.setAttributes=h(),v.insert=f().bind(null,"head"),v.domAPI=u(),v.insertStyleElement=m(),r()(A.A,v);let w=A.A&&A.A.locals?A.A.locals:void 0;var x=t(4924),k=t(438);let z=function(){var e=(0,s.useMemo)(function(){var e;return(null!=(e=window.installedModules)?e:[]).filter(function(e){return!!e&&!!e[1]}).map(function(e){return{version:e[1].version,name:e[0].substring(e[0].indexOf("/")+1)}})},[]);return o().createElement(k.StructuredListWrapper,{ariaLabel:"Structured list"},o().createElement(k.StructuredListHead,null,o().createElement(k.StructuredListRow,{head:!0,tabIndex:0},o().createElement(k.StructuredListCell,{head:!0},"Module name"),o().createElement(k.StructuredListCell,{head:!0},"Version"))),o().createElement(k.StructuredListBody,null,e.map(function(e){var n;return o().createElement(k.StructuredListRow,{tabIndex:0},o().createElement(k.StructuredListCell,null,e.name),o().createElement(k.StructuredListCell,null,null!=(n=e.version)?n:"No version found"," "))})))};var _=t(8766);let C=function(){var e,n,t,i,s,l=(i=(t=(0,x.A)("ws/rest/v1/module?v=custom:(uuid,name,version)",a.openmrsFetch)).data,s=t.isLoading,{modules:null!=(n=null==i||null==(e=i.data)?void 0:e.results)?n:[],isLoading:s}),p=l.modules;l.isLoading;var r=p.find(function(e){return"kenyaemr"===e.uuid}),c=w.title,u=w.container,d=w.aboutBody,f=w.aboutPage,g=_.VERSION;return o().createElement("div",{className:w.main},o().createElement("div",{className:f},o().createElement("div",{className:u},o().createElement("div",{className:c},o().createElement("div",null,o().createElement("h3",null,"Government of Kenya"),o().createElement("h4",null,"Ministry of Health")),o().createElement("img",{src:"/openmrs/ms/uiframework/resource/kenyaemr/images/logos/moh.png",alt:"court_of_arms",width:"50",height:"50"})),o().createElement("div",{className:d},o().createElement("p",null,"KenyaEMR Version"),o().createElement("p",null,"v".concat(null==r?void 0:r.version)),o().createElement("p",null,"SPA Version"),o().createElement("p",null,"v".concat(g.version)),o().createElement("p",null,"Build date time"),o().createElement("p",null,(0,a.formatDatetime)(new Date(g.buildDate),{mode:"standard"}))))),o().createElement(z,null))};var M=window.getOpenmrsSpaBase(),E="@kenyaemr/esm-version-app",B=t(1437),S=(0,a.getSyncLifecycle)(function(){return o().createElement(l.BrowserRouter,{basename:M},o().createElement(C,null))},{featureName:"esm-version-app",moduleName:E});function D(){(0,a.defineConfigSchema)(E,i.Q)}},8766:function(e,n,t){"use strict";t.r(n),t.d(n,{VERSION:()=>a});var a={dirty:!0,raw:"v5.4.1-200-gc764ffb-dirty",hash:"gc764ffb",distance:200,tag:"v5.4.1",semver:{options:{loose:!1,includePrerelease:!1},loose:!1,raw:"v5.4.1",major:5,minor:4,patch:1,prerelease:[],build:[],version:"5.4.1"},suffix:"200-gc764ffb-dirty",semverString:"5.4.1+200.gc764ffb",version:"5.4.2-pre.2774",buildDate:"2025-10-31T05:55:44.187Z"}},1437:function(e,n,t){var a={"./en.json":["1066","127"],"./sw.json":["3987","40"],"./am.json":["2735","916"]};function i(e){if(!t.o(a,e))return Promise.resolve().then(function(){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=a[e],i=n[0];return t.e(n[1]).then(function(){return t(i)})}i.keys=()=>Object.keys(a),i.id=1437,e.exports=i}}]);
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(()=>{var __webpack_modules__={3767:function(e,t){"use strict";let n="RUNTIME-001",r="RUNTIME-002",o="RUNTIME-003",i="RUNTIME-004",a="RUNTIME-005",s="RUNTIME-006",l="RUNTIME-007",c="RUNTIME-008",u="RUNTIME-009",p="TYPE-001",f="BUILD-001",d="BUILD-002",h=e=>{let t=e.split("-")[0].toLowerCase();return`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${t}/${e}`},m=(e,t,n,r)=>{let o=[`${[t[e]]} #${e}`];return n&&o.push(`args: ${JSON.stringify(n)}`),o.push(h(e)),r&&o.push(`Original Error Message:
|
|
2
|
-
${r}`),o.join("\n")};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let y={[n]:"Failed to get remoteEntry exports.",[r]:'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.",[u]:"Please call createInstance first."},b={[p]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},v={[f]:"Failed to find expose module.",[d]:"PublicPath is required in prod mode."},_=g({},y,b,v);t.BUILD_001=f,t.BUILD_002=d,t.RUNTIME_001=n,t.RUNTIME_002=r,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.RUNTIME_009=u,t.TYPE_001=p,t.buildDescMap=v,t.errorDescMap=_,t.getShortErrorMsg=m,t.runtimeDescMap=y,t.typeDescMap=b},3946:function(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1452),o=n.n(r),i=n(4567),a=n.n(i)()(o());a.push([e.id,".-esm-version__about__main___ygFSI{display:flex;justify-items:center;flex-direction:column}.-esm-version__about__aboutPage___sinxi{display:flex;justify-content:center;align-items:center}.-esm-version__about__container___Q7mqH{display:flex;justify-content:center;margin:1rem;flex-direction:column;align-items:center;border:.5px solid #c6c6c6;width:23rem}.-esm-version__about__title___LYoZH{display:flex;align-items:center;padding-bottom:.25rem;margin-bottom:.25rem;border-bottom:.5px solid #c6c6c6;width:100%;justify-content:center}.-esm-version__about__title___LYoZH h3{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-version__about__title___LYoZH h4{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-version__about__title___LYoZH img{margin-left:.25rem}.-esm-version__about__aboutBody___Pv2r4{display:grid;grid-template-columns:1fr 1fr;column-gap:.25rem}.-esm-version__about__aboutBody___Pv2r4 p{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-bottom:.25rem}","",{version:3,sources:["webpack://./src/about/about.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,mCACE,YAAA,CACA,oBAAA,CACA,qBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,WAAA,CACA,qBAAA,CACA,kBAAA,CACA,yBAAA,CACA,WAAA,CAGF,oCACE,YAAA,CACA,kBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gCAAA,CACA,UAAA,CACA,sBAAA,CAEA,uCC+zBE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD3zBF,uCC2zBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDvzBF,wCACE,kBAAA,CAIJ,wCACE,YAAA,CACA,6BAAA,CACA,iBAAA,CAEA,0CC6yBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD3yBA,oBAAA",sourcesContent:["@use '@carbon/styles/scss/spacing';\n@use '@carbon/styles/scss/type';\n@use '@carbon/styles/scss/colors';\n\n.main {\n display: flex;\n justify-items: center;\n flex-direction: column;\n}\n\n.aboutPage {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container {\n display: flex;\n justify-content: center;\n margin: 1rem;\n flex-direction: column;\n align-items: center;\n border: 0.5px solid colors.$gray-30;\n width: 23rem;\n}\n\n.title {\n display: flex;\n align-items: center;\n padding-bottom: 0.25rem;\n margin-bottom: 0.25rem;\n border-bottom: 0.5px solid colors.$gray-30;\n width: 100%;\n justify-content: center;\n\n h3 {\n @include type.type-style('body-compact-02');\n }\n\n h4 {\n @include type.type-style('body-compact-01');\n }\n\n img {\n margin-left: 0.25rem;\n }\n}\n\n.aboutBody {\n display: grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 0.25rem;\n\n & p {\n @include type.type-style('label-01');\n margin-bottom: 0.25rem;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),a.locals={main:"-esm-version__about__main___ygFSI",aboutPage:"-esm-version__about__aboutPage___sinxi",container:"-esm-version__about__container___Q7mqH",title:"-esm-version__about__title___LYoZH",aboutBody:"-esm-version__about__aboutBody___Pv2r4"};let s=a},4567:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},1452:function(e){"use strict";function t(e,t){return a(e)||i(e,t)||r(e,t)||n()}function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n,r,o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function a(e){if(Array.isArray(e))return e}e.exports=function(e){var n=t(e,4),r=n[1],o=n[3];if(!o)return r;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */");return[r].concat(o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")})).concat([s]).join("\n")}return[r].join("\n")}},2591:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var f=n(p),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var h=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},8128:function(e){"use strict";var t={};function n(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}e.exports=function(e,t){var r=n(e);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},3051:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740:function(e){"use strict";function t(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}function n(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=e.insertStyleElement(e);return{update:function(n){t(r,e,n)},remove:function(){n(r)}}}},3656:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9101:function(e,t,n){"use strict";var r=n(2722),o=n(5400),i=n.n(o),a=n(5721),s=n(2591),l=n.n(s),c=n(1740),u=n.n(c),p=n(8128),f=n.n(p),d=n(855),h=n.n(d),m=n(3051),g=n.n(m),y=n(3656),b=n.n(y),v=n(3946),_={};_.styleTagTransform=b(),_.setAttributes=h(),_.insert=f().bind(null,"head"),_.domAPI=u(),_.insertStyleElement=g(),l()(v.A,_);let E=v.A&&v.A.locals?v.A.locals:void 0;var $=n(4924);function S(){var e,t,n=(0,$.A)("ws/rest/v1/module?v=custom:(uuid,name,version)",r.openmrsFetch),o=n.data,i=n.isLoading;return{modules:null!=(t=null==o||null==(e=o.data)?void 0:e.results)?t:[],isLoading:i}}function w(){return(0,o.useMemo)(function(){var e;return(null!=(e=window.installedModules)?e:[]).filter(function(e){return!!e&&!!e[1]}).map(function(e){return{version:e[1].version,name:e[0].substring(e[0].indexOf("/")+1)}})},[])}var A=n(438);let I=function(){var e=w();return i().createElement(A.StructuredListWrapper,{ariaLabel:"Structured list"},i().createElement(A.StructuredListHead,null,i().createElement(A.StructuredListRow,{head:!0,tabIndex:0},i().createElement(A.StructuredListCell,{head:!0},"Module name"),i().createElement(A.StructuredListCell,{head:!0},"Version"))),i().createElement(A.StructuredListBody,null,e.map(function(e){var t;return i().createElement(A.StructuredListRow,{tabIndex:0},i().createElement(A.StructuredListCell,null,e.name),i().createElement(A.StructuredListCell,null,null!=(t=e.version)?t:"No version found"," "))})))};var M=n(8766);let R=function(){var e=S(),t=e.modules;e.isLoading;var n=t.find(function(e){return"kenyaemr"===e.uuid}),o=E.title,a=E.container,s=E.aboutBody,l=E.aboutPage,c=M.VERSION;return i().createElement("div",{className:E.main},i().createElement("div",{className:l},i().createElement("div",{className:a},i().createElement("div",{className:o},i().createElement("div",null,i().createElement("h3",null,"Government of Kenya"),i().createElement("h4",null,"Ministry of Health")),i().createElement("img",{src:"/openmrs/ms/uiframework/resource/kenyaemr/images/logos/moh.png",alt:"court_of_arms",width:"50",height:"50"})),i().createElement("div",{className:s},i().createElement("p",null,"KenyaEMR Version"),i().createElement("p",null,"v".concat(null==n?void 0:n.version)),i().createElement("p",null,"SPA Version"),i().createElement("p",null,"v".concat(c.version)),i().createElement("p",null,"Build date time"),i().createElement("p",null,(0,r.formatDatetime)(new Date(c.buildDate),{mode:"standard"}))))),i().createElement(I,null))};var k=window.getOpenmrsSpaBase();let N=function(){return i().createElement(a.BrowserRouter,{basename:k},i().createElement(R,null))};var x={featureName:"esm-version-app",moduleName:"@kenyaemr/esm-version-app"};n(1437),(0,r.getSyncLifecycle)(N,x)},8766:function(e,t,n){"use strict";n.r(t),n.d(t,{VERSION:()=>r});var r={dirty:!0,raw:"v5.4.1-199-g248c7dc-dirty",hash:"g248c7dc",distance:199,tag:"v5.4.1",semver:{options:{loose:!1,includePrerelease:!1},loose:!1,raw:"v5.4.1",major:5,minor:4,patch:1,prerelease:[],build:[],version:"5.4.1"},suffix:"199-g248c7dc-dirty",semverString:"5.4.1+199.g248c7dc",version:"5.4.2-pre.2771",buildDate:"2025-10-30T17:08:45.664Z"}},4545:function(e,t,n){"use strict";var r=n(1623),o=n.n(r);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){if(Array.isArray(e))return e}function s(e){if(Array.isArray(e))return i(e)}function l(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function u(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){return a(e)||c(e,t)||m(e,t)||u()}function d(e){return s(e)||l(e)||m(e)||p()}function h(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function m(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}var g=[],y={},b="@kenyaemr/esm-version-app",v="version-first";if((n.initializeSharingData||n.initializeExposesData)&&n.federation){var _,E,$,S,w,A,I,M,R,k,N,x,O=function(e,t,n){e&&e[t]&&(e[t]=n)},T=function(e,t,n){var r,o,i,a,s,l,c,u=n();Array.isArray(u)?(null!=(a=(o=e)[i=t])||(o[i]=[]),(r=e[t]).push.apply(r,d(u))):(void 0===u?"undefined":h(u))==="object"&&null!==u&&(null!=(c=(s=e)[l=t])||(s[l]={}),Object.assign(e[t],u))},C=function(e,t,n){var r,o,i;null!=(i=(r=e)[o=t])||(r[o]=n())},D=null!=(M=null==(_=n.remotesLoadingData)?void 0:_.chunkMapping)?M:{},P=null!=(R=null==(E=n.remotesLoadingData)?void 0:E.moduleIdToRemoteDataMapping)?R:{},L=null!=(k=null==($=n.initializeSharingData)?void 0:$.scopeToSharingDataMapping)?k:{},j=null!=(N=null==(S=n.consumesLoadingData)?void 0:S.chunkMapping)?N:{},F=null!=(x=null==(w=n.consumesLoadingData)?void 0:w.moduleIdToConsumeDataMapping)?x:{},z={},H=[],U={},B=null==(A=n.initializeExposesData)?void 0:A.shareScope;for(var V in o())n.federation[V]=o()[V];C(n.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(F)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1];e[s]={getter:l.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:l.requiredVersion,strictVersion:l.strictVersion,singleton:l.singleton,eager:l.eager},scope:[l.shareScope]},shareKey:l.shareKey}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),C(n.federation,"initOptions",function(){return{}}),C(n.federation.initOptions,"name",function(){return b}),C(n.federation.initOptions,"shareStrategy",function(){return v}),C(n.federation.initOptions,"shared",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(L)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1],c=!0,u=!1,p=void 0;try{for(var d,m=l[Symbol.iterator]();!(c=(d=m.next()).done);c=!0){var g=d.value;if((void 0===g?"undefined":h(g))==="object"&&null!==g){var y=g.name,b=g.version,v=g.factory,_=g.eager,E=g.singleton,$=g.requiredVersion,S=g.strictVersion,w={},A=function(e){return void 0!==e};A(E)&&(w.singleton=E),A($)&&(w.requiredVersion=$),A(_)&&(w.eager=_),A(S)&&(w.strictVersion=S);var I={version:b,scope:[s],shareConfig:w,get:v};e[y]?e[y].push(I):e[y]=[I]}}}catch(e){u=!0,p=e}finally{try{c||null==m.return||m.return()}finally{if(u)throw p}}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation.initOptions,"remotes",function(){return Object.values(y).flat().filter(function(e){return"script"===e.externalType})}),T(n.federation.initOptions,"plugins",function(){return g}),C(n.federation,"bundlerRuntimeOptions",function(){return{}}),C(n.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),C(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return D}),C(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1];e[s]=[l.shareScope,l.name,l.externalModuleId,l.remoteName]}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),C(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return n}),T(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=y[a[1].remoteName];l&&(e[s]=l)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),O(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),O(n.f,"remotes",function(e,t){return n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:D,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})}),O(n.f,"consumes",function(e,t){return n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:j,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:z,webpackRequire:n})}),O(n,"I",function(e,t){return n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:H,initTokens:U,webpackRequire:n})}),O(n,"initContainer",function(e,t,r){return n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:B,webpackRequire:n})}),O(n,"getContainer",function(e,t){var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(I=n.consumesLoadingData)?void 0:I.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:z,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping})}},3296:function(e,t,n){"use strict";var r=n(5400);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var i="function"==typeof Object.is?Object.is:o,a=r.useState,s=r.useEffect,l=r.useLayoutEffect,c=r.useDebugValue;function u(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return l(function(){o.value=n,o.getSnapshot=t,p(o)&&i({inst:o})},[e,n,t]),s(function(){return p(o)&&i({inst:o}),e(function(){p(o)&&i({inst:o})})},[e]),c(n),n}function p(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}function f(e,t){return t()}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:u;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},8139:function(e,t,n){"use strict";e.exports=n(3296)},1437:function(e,t,n){var r={"./en.json":["1066","127"],"./sw.json":["3987","40"],"./am.json":["2735","916"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n(o)})}o.keys=()=>Object.keys(r),o.id=1437,e.exports=o},4106:function(e,t,n){"use strict";var r=n(4054),o=n(6742),i=n(3767);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.startsWith(a)||(e.message=`${a}: ${e.message}`),e;throw Error(`${a}: ${e}`)}function u(e){e instanceof Error&&(e.message.startsWith(a)||(e.message=`${a}: ${e.message}`)),s.warn(e)}function p(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 d(e){return void 0!==e.entry}function h(e){return!e.entry.includes(".json")}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 b(e){return"[object Object]"===y.call(e)}function v(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function _(e){return Array.isArray(e)?e:[e]}function E(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 $=(e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t},S="object"==typeof globalThis?globalThis:window,w=(()=>{try{return document.defaultView}catch(e){return S}})(),A=w;function I(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function M(e,t){return Object.hasOwnProperty.call(e,t)}M(S,"__GLOBAL_LOADING_REMOTE_ENTRY__")||I(S,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let R=S.__GLOBAL_LOADING_REMOTE_ENTRY__;function k(e){var t,n,r,o,i,a,s,l,c,u,p,f;M(e,"__VMOK__")&&!M(e,"__FEDERATION__")&&I(e,"__FEDERATION__",e.__VMOK__),M(e,"__FEDERATION__")||(I(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),I(e,"__VMOK__",e.__FEDERATION__)),null!=(s=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(l=(n=e.__FEDERATION__).__INSTANCES__)||(n.__INSTANCES__=[]),null!=(c=(r=e.__FEDERATION__).moduleInfo)||(r.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(p=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function N(){S.__FEDERATION__.__GLOBAL_PLUGIN__=[],S.__FEDERATION__.__INSTANCES__=[],S.__FEDERATION__.moduleInfo={},S.__FEDERATION__.__SHARE__={},S.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(R).forEach(e=>{delete R[e]})}function x(e){S.__FEDERATION__.__INSTANCES__.push(e)}function O(){return S.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function T(e,t=o.isDebugMode()){t&&(S.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,S.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.18.0")}function C(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let n of Object.keys(e)){let[r,o]=n.split(":"),i=`${r}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}k(S),k(w);let D=()=>w.__FEDERATION__.moduleInfo,P=(e,t)=>{let n=C(t,f(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){let{version:t}=e,n=f(r._object_without_properties_loose(e,["version"])),o=C(w.__FEDERATION__.moduleInfo,n).value;if((null==o?void 0:o.version)===t)return o}},L=e=>P(e,w.__FEDERATION__.moduleInfo),j=(e,t)=>{let n=f(e);return w.__FEDERATION__.moduleInfo[n]=t,w.__FEDERATION__.moduleInfo},F=e=>(w.__FEDERATION__.moduleInfo=r._extends({},w.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete w.__FEDERATION__.moduleInfo[t]}),z=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`,r=S[n];return{remoteEntryKey:n,entryExports:r}},H=e=>{let{__GLOBAL_PLUGIN__:t}=w.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},U=()=>w.__FEDERATION__.__GLOBAL_PLUGIN__,B=e=>S.__FEDERATION__.__PRELOADED_MAP__.get(e),V=e=>S.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),G="default",q="global",W="[0-9A-Za-z-]+",Y=`(?:\\+(${W}(?:\\.${W})*))`,K="0|[1-9]\\d*",J="[0-9]+",Z="\\d*[a-zA-Z-][a-zA-Z0-9-]*",X=`(?:${J}|${Z})`,Q=`(?:-?(${X}(?:\\.${X})*))`,ee=`(?:${K}|${Z})`,et=`(?:-(${ee}(?:\\.${ee})*))`,en=`${K}|x|X|\\*`,er=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${et})?${Y}?)?)?`,eo=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,ei=`(${J})\\.(${J})\\.(${J})`,ea=`[v=\\s]*${ei}${Q}?${Y}?`,es="((?:<|>)?=?)",el=`(\\s*)${es}\\s*(${ea}|${er})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,ep="(?:\\^)",ef=`(\\s*)${ep}\\s+`,ed="(<|>)?=?\\s*\\*",eh=`^${ep}${er}$`,em=`(${K})\\.(${K})\\.(${K})`,eg=`v?${em}${et}?${Y}?`,ey=`^${ec}${er}$`,eb=`^${es}\\s*${er}$`,ev=`^${es}\\s*(${eg})$|^$`,e_="^\\s*>=\\s*0.0.0\\s*$";function eE(e){return new RegExp(e)}function e$(e){return!e||"x"===e.toLowerCase()||"*"===e}function eS(...e){return t=>e.reduce((e,t)=>t(e),t)}function ew(e){return e.match(eE(ev))}function eA(e,t,n,r){let o=`${e}.${t}.${n}`;return r?`${o}-${r}`:o}function eI(e){return e.replace(eE(eo),(e,t,n,r,o,i,a,s,l,c,u,p)=>(t=e$(n)?"":e$(r)?`>=${n}.0.0`:e$(o)?`>=${n}.${r}.0`:`>=${t}`,s=e$(l)?"":e$(c)?`<${Number(l)+1}.0.0-0`:e$(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${s}`,`${t} ${s}`.trim()))}function eM(e){return e.replace(eE(el),"$1$2$3")}function eR(e){return e.replace(eE(eu),"$1~")}function ek(e){return e.replace(eE(ef),"$1^")}function eN(e){return e.trim().split(/\s+/).map(e=>e.replace(eE(eh),(e,t,n,r,o)=>{if(e$(t))return"";if(e$(n))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(e$(r))if("0"===t)return`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`;else return`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${n}.${r}-${o} <${Number(t)+1}.0.0-0`;else if("0"===n)return`>=${t}.${n}.${r}-${o} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`;if("0"===t)if("0"===n)return`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`;return`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`})).join(" ")}function ex(e){return e.trim().split(/\s+/).map(e=>e.replace(eE(ey),(e,t,n,r,o)=>e$(t)?"":e$(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:e$(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:o?`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function eO(e){return e.split(/\s+/).map(e=>e.trim().replace(eE(eb),(e,t,n,r,o,i)=>{let a=e$(n),s=a||e$(r),l=s||e$(o);if("="===t&&l&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&l?(s&&(r=0),o=0,">"===t?(t=">=",s?(n=Number(n)+1,r=0):r=Number(r)+1,o=0):"<="===t&&(t="<",s?n=Number(n)+1:r=Number(r)+1),"<"===t&&(i="-0"),`${t+n}.${r}.${o}${i}`):s?`>=${n}.0.0${i} <${Number(n)+1}.0.0-0`:l?`>=${n}.${r}.0${i} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function eT(e){return e.trim().replace(eE(ed),"")}function eC(e){return e.trim().replace(eE(e_),"")}function eD(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eP(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&r)return 1;if(n&&void 0===r)return -1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],o=r[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return eD(t,o)}}return 0}function eL(e,t){return eD(e.major,t.major)||eD(e.minor,t.minor)||eD(e.patch,t.patch)||eP(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>eL(e,t);case">=":return ej(e,t)||0>eL(e,t);case"<":return eL(e,t)>0;case"<=":return ej(e,t)||eL(e,t)>0;case void 0:return!0;default:return!1}}function ez(e){return eS(eN,ex,eO,eT)(e)}function eH(e){return eS(eI,eM,eR,ek)(e.trim()).split(/\s+/).join(" ")}function eU(e,t){if(!e)return!1;let n=ew(e);if(!n)return!1;let[,r,,o,i,a,s]=n,l={operator:r,version:eA(o,i,a,s),major:o,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};for(let e of t.split("||")){let t=e.trim();if(!t||"*"===t||"x"===t)return!0;try{let e=eH(t);if(!e.trim())return!0;let n=e.split(" ").map(e=>ez(e)).join(" ");if(!n.trim())return!0;let r=n.split(/\s+/).map(e=>eC(e)).filter(Boolean);if(0===r.length)continue;let o=!0;for(let e of r){let t=ew(e);if(!t){o=!1;break}let[,n,,r,i,a,s]=t,c={operator:n,version:eA(r,i,a,s),major:r,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};if(!eF(c,l)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}function eB(e,t,n,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 '${n}'!`)}),r._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:r._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 eV(e,t){let n=t.shared||{},o=t.name,i=Object.keys(n).reduce((e,r)=>{let i=_(n[r]);return e[r]=e[r]||[],i.forEach(n=>{e[r].push(eB(n,o,r,t.shareStrategy))}),e},{}),a=r._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 eG(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!eU(n(e),`<=${n(t)}`)}let eq=(e,t)=>{let n=t||function(e,t){return eG(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||"0"===e?t:e,0)},eW=e=>!!e.loaded||"function"==typeof e.lib,eY=e=>!!e.loading;function eK(e,t,n){let r=e[t][n],o=function(e,t){return!eW(r[e])&&eG(e,t)};return eq(e[t][n],o)}function eJ(e,t,n){let r=e[t][n],o=function(e,t){let n=e=>eW(e)||eY(e);if(n(r[t]))if(n(r[e]))return!!eG(e,t);else return!0;return!n(r[e])&&eG(e,t)};return eq(e[t][n],o)}function eZ(e){return"loaded-first"===e?eJ:eK}function eX(e,t,n,r){if(!e)return;let{shareConfig:o,scope:i=G,strategy:a}=n;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,l=eZ(a)(e,s,t),p=()=>{if(o.singleton){if("string"==typeof i&&!eU(l,i)){let r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${i})`;o.strictVersion?c(r):u(r)}return e[s][t][l]}if(!1===i||"*"===i||eU(l,i))return e[s][t][l];for(let[n,r]of Object.entries(e[s][t]))if(eU(n,i))return r},f={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:A.__FEDERATION__,resolver:p};return(r.emit(f)||f).resolver()}}function eQ(){return A.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:n,extraOptions:r,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let n=function(e,n){return!eW(t[e])&&eG(e,n)},r=eq(t,n);return t[r]};return Object.assign({},(null!=(t=null==r?void 0:r.resolver)?t:i)(o[n]),null==r?void 0:r.customShareInfo)}function e1(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}function e2(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return{pkgNameOrAlias:n.name,expose:r=`.${r}`,remote:n};else if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}let o=n.alias&&t.startsWith(n.alias),i=n.alias&&t.replace(n.alias,"");if(n.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:n.alias,expose:i=`.${i}`,remote:n};else if(""===i)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function e3(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}function e5(e,t){let n=U(),r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return n.length>0&&n.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{r.forEach(n=>{n.applyPlugin(e,t)})}),e}let e4=".then(callbacks[0]).catch(callbacks[1])";async function e6({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${e}")${e4}`)([n,r]):import(e).then(n).catch(r)}catch(e){r(e)}})}async function e8({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):Function("callbacks",`System.import("${e}")${e4}`)([n,r])}catch(e){r(e)}})}function e7(e,t,n){let{remoteEntryKey:r,entryExports:o}=z(e,t);return l(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:e,remoteEntryUrl:n,remoteEntryKey:r})),o}async function e9({name:e,globalName:t,entry:n,loaderHook:r}){let{entryExports:a}=z(e,t);return a||o.loadScript(n,{attrs:{},createScriptHook:(e,t)=>{let n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&(n instanceof HTMLScriptElement||"script"in n||"timeout"in n))return n}}).then(()=>e7(e,t,n)).catch(t=>{throw l(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:e,resourceUrl:n})),t})}async function te({remoteInfo:e,remoteEntryExports:t,loaderHook:n}){let{entry:r,entryGlobalName:o,name:i,type:a}=e;switch(a){case"esm":case"module":return e6({entry:r,remoteEntryExports:t});case"system":return e8({entry:r,remoteEntryExports:t});default:return e9({entry:r,globalName:o,name:i,loaderHook:n})}}async function tt({remoteInfo:e,loaderHook:t}){let{entry:n,entryGlobalName:r,name:i,type:a}=e,{entryExports:s}=z(i,r);return s||o.loadScriptNode(n,{attrs:{name:i,globalName:r,type:a},loaderHook:{createScriptHook:(e,n={})=>{let r=t.lifecycle.createScript.emit({url:e,attrs:n});if(r&&"url"in r)return r}}}).then(()=>e7(i,r,n)).catch(e=>{throw e})}function tn(e){let{entry:t,name:n}=e;return o.composeKeyWithSeparator(n,t)}async function tr({origin:e,remoteEntryExports:t,remoteInfo:n}){let r=tn(n);if(t)return t;if(!R[r]){let i=e.remoteHandler.hooks.lifecycle.loadEntry,a=e.loaderHook;R[r]=i.emit({loaderHook:a,remoteInfo:n,remoteEntryExports:t}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:o.isBrowserEnv())?te({remoteInfo:n,remoteEntryExports:t,loaderHook:a}):tt({remoteInfo:n,loaderHook:a})))}return R[r]}function to(e){return r._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||q,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||G})}function ti(e){return r._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ta(e,t){return t.map(t=>{let n=e3(e,t.nameOrAlias);return l(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&o.safeToString({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:ti(t)}})}function ts(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tl(e,t,n,r=!0){let{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=n;if(t.options.inBrowser){if(s.forEach(n=>{let{moduleInfo:r}=n,o=t.moduleCache.get(e.name);o?tr({origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}):tr({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){let e={rel:"preload",as:"style"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});i&&document.head.appendChild(r)})}if(r){let e={rel:"preload",as:"script"};a.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let n={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:r,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{let r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});i&&document.head.appendChild(r)})}}}var tc={global:{Global:A,nativeGlobal:w,resetFederationGlobalInfo:N,setGlobalFederationInstance:x,getGlobalFederationConstructor:O,setGlobalFederationConstructor:T,getInfoWithoutType:C,getGlobalSnapshot:D,getTargetSnapshotInfoByModuleInfo:P,getGlobalSnapshotInfoByModuleInfo:L,setGlobalSnapshotInfoByModuleInfo:j,addGlobalSnapshot:F,getRemoteEntryExports:z,registerGlobalPlugins:H,getGlobalHostPlugins:U,getPreloaded:B,setPreloaded:V},share:{getRegisteredShare:eX,getGlobalShareScope:eQ},utils:{matchRemoteWithNameAndExpose:e2,preloadAssets:tl,getRemoteInfo:to}};let tu=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(n){let t=tn(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tr,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:R,uniqueKey:t})}return l(e,`remoteEntryExports is undefined
|
|
2
|
+
${r}`),o.join("\n")};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let y={[n]:"Failed to get remoteEntry exports.",[r]:'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.",[u]:"Please call createInstance first."},b={[p]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},v={[f]:"Failed to find expose module.",[d]:"PublicPath is required in prod mode."},_=g({},y,b,v);t.BUILD_001=f,t.BUILD_002=d,t.RUNTIME_001=n,t.RUNTIME_002=r,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.RUNTIME_009=u,t.TYPE_001=p,t.buildDescMap=v,t.errorDescMap=_,t.getShortErrorMsg=m,t.runtimeDescMap=y,t.typeDescMap=b},3946:function(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(1452),o=n.n(r),i=n(4567),a=n.n(i)()(o());a.push([e.id,".-esm-version__about__main___ygFSI{display:flex;justify-items:center;flex-direction:column}.-esm-version__about__aboutPage___sinxi{display:flex;justify-content:center;align-items:center}.-esm-version__about__container___Q7mqH{display:flex;justify-content:center;margin:1rem;flex-direction:column;align-items:center;border:.5px solid #c6c6c6;width:23rem}.-esm-version__about__title___LYoZH{display:flex;align-items:center;padding-bottom:.25rem;margin-bottom:.25rem;border-bottom:.5px solid #c6c6c6;width:100%;justify-content:center}.-esm-version__about__title___LYoZH h3{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-version__about__title___LYoZH h4{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-version__about__title___LYoZH img{margin-left:.25rem}.-esm-version__about__aboutBody___Pv2r4{display:grid;grid-template-columns:1fr 1fr;column-gap:.25rem}.-esm-version__about__aboutBody___Pv2r4 p{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);margin-bottom:.25rem}","",{version:3,sources:["webpack://./src/about/about.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,mCACE,YAAA,CACA,oBAAA,CACA,qBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,kBAAA,CAGF,wCACE,YAAA,CACA,sBAAA,CACA,WAAA,CACA,qBAAA,CACA,kBAAA,CACA,yBAAA,CACA,WAAA,CAGF,oCACE,YAAA,CACA,kBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gCAAA,CACA,UAAA,CACA,sBAAA,CAEA,uCC+zBE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD3zBF,uCC2zBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CDvzBF,wCACE,kBAAA,CAIJ,wCACE,YAAA,CACA,6BAAA,CACA,iBAAA,CAEA,0CC6yBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CD3yBA,oBAAA",sourcesContent:["@use '@carbon/styles/scss/spacing';\n@use '@carbon/styles/scss/type';\n@use '@carbon/styles/scss/colors';\n\n.main {\n display: flex;\n justify-items: center;\n flex-direction: column;\n}\n\n.aboutPage {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.container {\n display: flex;\n justify-content: center;\n margin: 1rem;\n flex-direction: column;\n align-items: center;\n border: 0.5px solid colors.$gray-30;\n width: 23rem;\n}\n\n.title {\n display: flex;\n align-items: center;\n padding-bottom: 0.25rem;\n margin-bottom: 0.25rem;\n border-bottom: 0.5px solid colors.$gray-30;\n width: 100%;\n justify-content: center;\n\n h3 {\n @include type.type-style('body-compact-02');\n }\n\n h4 {\n @include type.type-style('body-compact-01');\n }\n\n img {\n margin-left: 0.25rem;\n }\n}\n\n.aboutBody {\n display: grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 0.25rem;\n\n & p {\n @include type.type-style('label-01');\n margin-bottom: 0.25rem;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),a.locals={main:"-esm-version__about__main___ygFSI",aboutPage:"-esm-version__about__aboutPage___sinxi",container:"-esm-version__about__container___Q7mqH",title:"-esm-version__about__title___LYoZH",aboutBody:"-esm-version__about__aboutBody___Pv2r4"};let s=a},4567:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},1452:function(e){"use strict";function t(e,t){return a(e)||i(e,t)||r(e,t)||n()}function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n,r,o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function a(e){if(Array.isArray(e))return e}e.exports=function(e){var n=t(e,4),r=n[1],o=n[3];if(!o)return r;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */");return[r].concat(o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")})).concat([s]).join("\n")}return[r].join("\n")}},2591:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=i[c]||0,p="".concat(c," ").concat(u);i[c]=u+1;var f=n(p),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var h=o(d,r);r.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},8128:function(e){"use strict";var t={};function n(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}e.exports=function(e,t){var r=n(e);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},3051:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},855:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},1740:function(e){"use strict";function t(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}function n(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=e.insertStyleElement(e);return{update:function(n){t(r,e,n)},remove:function(){n(r)}}}},3656:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9101:function(e,t,n){"use strict";var r=n(2722),o=n(5400),i=n.n(o),a=n(5721),s=n(2591),l=n.n(s),c=n(1740),u=n.n(c),p=n(8128),f=n.n(p),d=n(855),h=n.n(d),m=n(3051),g=n.n(m),y=n(3656),b=n.n(y),v=n(3946),_={};_.styleTagTransform=b(),_.setAttributes=h(),_.insert=f().bind(null,"head"),_.domAPI=u(),_.insertStyleElement=g(),l()(v.A,_);let E=v.A&&v.A.locals?v.A.locals:void 0;var $=n(4924);function S(){var e,t,n=(0,$.A)("ws/rest/v1/module?v=custom:(uuid,name,version)",r.openmrsFetch),o=n.data,i=n.isLoading;return{modules:null!=(t=null==o||null==(e=o.data)?void 0:e.results)?t:[],isLoading:i}}function w(){return(0,o.useMemo)(function(){var e;return(null!=(e=window.installedModules)?e:[]).filter(function(e){return!!e&&!!e[1]}).map(function(e){return{version:e[1].version,name:e[0].substring(e[0].indexOf("/")+1)}})},[])}var A=n(438);let I=function(){var e=w();return i().createElement(A.StructuredListWrapper,{ariaLabel:"Structured list"},i().createElement(A.StructuredListHead,null,i().createElement(A.StructuredListRow,{head:!0,tabIndex:0},i().createElement(A.StructuredListCell,{head:!0},"Module name"),i().createElement(A.StructuredListCell,{head:!0},"Version"))),i().createElement(A.StructuredListBody,null,e.map(function(e){var t;return i().createElement(A.StructuredListRow,{tabIndex:0},i().createElement(A.StructuredListCell,null,e.name),i().createElement(A.StructuredListCell,null,null!=(t=e.version)?t:"No version found"," "))})))};var M=n(8766);let R=function(){var e=S(),t=e.modules;e.isLoading;var n=t.find(function(e){return"kenyaemr"===e.uuid}),o=E.title,a=E.container,s=E.aboutBody,l=E.aboutPage,c=M.VERSION;return i().createElement("div",{className:E.main},i().createElement("div",{className:l},i().createElement("div",{className:a},i().createElement("div",{className:o},i().createElement("div",null,i().createElement("h3",null,"Government of Kenya"),i().createElement("h4",null,"Ministry of Health")),i().createElement("img",{src:"/openmrs/ms/uiframework/resource/kenyaemr/images/logos/moh.png",alt:"court_of_arms",width:"50",height:"50"})),i().createElement("div",{className:s},i().createElement("p",null,"KenyaEMR Version"),i().createElement("p",null,"v".concat(null==n?void 0:n.version)),i().createElement("p",null,"SPA Version"),i().createElement("p",null,"v".concat(c.version)),i().createElement("p",null,"Build date time"),i().createElement("p",null,(0,r.formatDatetime)(new Date(c.buildDate),{mode:"standard"}))))),i().createElement(I,null))};var k=window.getOpenmrsSpaBase();let N=function(){return i().createElement(a.BrowserRouter,{basename:k},i().createElement(R,null))};var x={featureName:"esm-version-app",moduleName:"@kenyaemr/esm-version-app"};n(1437),(0,r.getSyncLifecycle)(N,x)},8766:function(e,t,n){"use strict";n.r(t),n.d(t,{VERSION:()=>r});var r={dirty:!0,raw:"v5.4.1-200-gc764ffb-dirty",hash:"gc764ffb",distance:200,tag:"v5.4.1",semver:{options:{loose:!1,includePrerelease:!1},loose:!1,raw:"v5.4.1",major:5,minor:4,patch:1,prerelease:[],build:[],version:"5.4.1"},suffix:"200-gc764ffb-dirty",semverString:"5.4.1+200.gc764ffb",version:"5.4.2-pre.2774",buildDate:"2025-10-31T05:55:44.187Z"}},4545:function(e,t,n){"use strict";var r=n(1623),o=n.n(r);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){if(Array.isArray(e))return e}function s(e){if(Array.isArray(e))return i(e)}function l(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function c(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}function u(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){return a(e)||c(e,t)||m(e,t)||u()}function d(e){return s(e)||l(e)||m(e)||p()}function h(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function m(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}var g=[],y={},b="@kenyaemr/esm-version-app",v="version-first";if((n.initializeSharingData||n.initializeExposesData)&&n.federation){var _,E,$,S,w,A,I,M,R,k,N,x,O=function(e,t,n){e&&e[t]&&(e[t]=n)},T=function(e,t,n){var r,o,i,a,s,l,c,u=n();Array.isArray(u)?(null!=(a=(o=e)[i=t])||(o[i]=[]),(r=e[t]).push.apply(r,d(u))):(void 0===u?"undefined":h(u))==="object"&&null!==u&&(null!=(c=(s=e)[l=t])||(s[l]={}),Object.assign(e[t],u))},C=function(e,t,n){var r,o,i;null!=(i=(r=e)[o=t])||(r[o]=n())},D=null!=(M=null==(_=n.remotesLoadingData)?void 0:_.chunkMapping)?M:{},P=null!=(R=null==(E=n.remotesLoadingData)?void 0:E.moduleIdToRemoteDataMapping)?R:{},L=null!=(k=null==($=n.initializeSharingData)?void 0:$.scopeToSharingDataMapping)?k:{},j=null!=(N=null==(S=n.consumesLoadingData)?void 0:S.chunkMapping)?N:{},F=null!=(x=null==(w=n.consumesLoadingData)?void 0:w.moduleIdToConsumeDataMapping)?x:{},z={},H=[],U={},B=null==(A=n.initializeExposesData)?void 0:A.shareScope;for(var V in o())n.federation[V]=o()[V];C(n.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(F)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1];e[s]={getter:l.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:l.requiredVersion,strictVersion:l.strictVersion,singleton:l.singleton,eager:l.eager},scope:[l.shareScope]},shareKey:l.shareKey}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),C(n.federation,"initOptions",function(){return{}}),C(n.federation.initOptions,"name",function(){return b}),C(n.federation.initOptions,"shareStrategy",function(){return v}),C(n.federation.initOptions,"shared",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(L)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1],c=!0,u=!1,p=void 0;try{for(var d,m=l[Symbol.iterator]();!(c=(d=m.next()).done);c=!0){var g=d.value;if((void 0===g?"undefined":h(g))==="object"&&null!==g){var y=g.name,b=g.version,v=g.factory,_=g.eager,E=g.singleton,$=g.requiredVersion,S=g.strictVersion,w={},A=function(e){return void 0!==e};A(E)&&(w.singleton=E),A($)&&(w.requiredVersion=$),A(_)&&(w.eager=_),A(S)&&(w.strictVersion=S);var I={version:b,scope:[s],shareConfig:w,get:v};e[y]?e[y].push(I):e[y]=[I]}}}catch(e){u=!0,p=e}finally{try{c||null==m.return||m.return()}finally{if(u)throw p}}}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),T(n.federation.initOptions,"remotes",function(){return Object.values(y).flat().filter(function(e){return"script"===e.externalType})}),T(n.federation.initOptions,"plugins",function(){return g}),C(n.federation,"bundlerRuntimeOptions",function(){return{}}),C(n.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),C(n.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return D}),C(n.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=a[1];e[s]=[l.shareScope,l.name,l.externalModuleId,l.remoteName]}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),C(n.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return n}),T(n.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=f(o.value,2),s=a[0],l=y[a[1].remoteName];l&&(e[s]=l)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}return e}),O(n,"S",n.federation.bundlerRuntime.S),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),O(n.f,"remotes",function(e,t){return n.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:D,idToExternalAndNameMapping:n.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:n.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:n})}),O(n.f,"consumes",function(e,t){return n.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:j,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping,installedModules:z,webpackRequire:n})}),O(n,"I",function(e,t){return n.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:H,initTokens:U,webpackRequire:n})}),O(n,"initContainer",function(e,t,r){return n.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:B,webpackRequire:n})}),O(n,"getContainer",function(e,t){var r=n.initializeExposesData.moduleMap;return n.R=t,t=Object.prototype.hasOwnProperty.call(r,e)?r[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t}),n.federation.instance=n.federation.runtime.init(n.federation.initOptions),(null==(I=n.consumesLoadingData)?void 0:I.initialConsumes)&&n.federation.bundlerRuntime.installInitialConsumes({webpackRequire:n,installedModules:z,initialConsumes:n.consumesLoadingData.initialConsumes,moduleToHandlerMapping:n.federation.consumesLoadingModuleToHandlerMapping})}},3296:function(e,t,n){"use strict";var r=n(5400);function o(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var i="function"==typeof Object.is?Object.is:o,a=r.useState,s=r.useEffect,l=r.useLayoutEffect,c=r.useDebugValue;function u(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return l(function(){o.value=n,o.getSnapshot=t,p(o)&&i({inst:o})},[e,n,t]),s(function(){return p(o)&&i({inst:o}),e(function(){p(o)&&i({inst:o})})},[e]),c(n),n}function p(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}function f(e,t){return t()}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:u;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},8139:function(e,t,n){"use strict";e.exports=n(3296)},1437:function(e,t,n){var r={"./en.json":["1066","127"],"./sw.json":["3987","40"],"./am.json":["2735","916"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n(o)})}o.keys=()=>Object.keys(r),o.id=1437,e.exports=o},4106:function(e,t,n){"use strict";var r=n(4054),o=n(6742),i=n(3767);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.startsWith(a)||(e.message=`${a}: ${e.message}`),e;throw Error(`${a}: ${e}`)}function u(e){e instanceof Error&&(e.message.startsWith(a)||(e.message=`${a}: ${e.message}`)),s.warn(e)}function p(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 d(e){return void 0!==e.entry}function h(e){return!e.entry.includes(".json")}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 b(e){return"[object Object]"===y.call(e)}function v(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function _(e){return Array.isArray(e)?e:[e]}function E(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 $=(e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t},S="object"==typeof globalThis?globalThis:window,w=(()=>{try{return document.defaultView}catch(e){return S}})(),A=w;function I(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function M(e,t){return Object.hasOwnProperty.call(e,t)}M(S,"__GLOBAL_LOADING_REMOTE_ENTRY__")||I(S,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let R=S.__GLOBAL_LOADING_REMOTE_ENTRY__;function k(e){var t,n,r,o,i,a,s,l,c,u,p,f;M(e,"__VMOK__")&&!M(e,"__FEDERATION__")&&I(e,"__FEDERATION__",e.__VMOK__),M(e,"__FEDERATION__")||(I(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),I(e,"__VMOK__",e.__FEDERATION__)),null!=(s=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)||(t.__GLOBAL_PLUGIN__=[]),null!=(l=(n=e.__FEDERATION__).__INSTANCES__)||(n.__INSTANCES__=[]),null!=(c=(r=e.__FEDERATION__).moduleInfo)||(r.moduleInfo={}),null!=(u=(o=e.__FEDERATION__).__SHARE__)||(o.__SHARE__={}),null!=(p=(i=e.__FEDERATION__).__MANIFEST_LOADING__)||(i.__MANIFEST_LOADING__={}),null!=(f=(a=e.__FEDERATION__).__PRELOADED_MAP__)||(a.__PRELOADED_MAP__=new Map)}function N(){S.__FEDERATION__.__GLOBAL_PLUGIN__=[],S.__FEDERATION__.__INSTANCES__=[],S.__FEDERATION__.moduleInfo={},S.__FEDERATION__.__SHARE__={},S.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(R).forEach(e=>{delete R[e]})}function x(e){S.__FEDERATION__.__INSTANCES__.push(e)}function O(){return S.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function T(e,t=o.isDebugMode()){t&&(S.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,S.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.18.0")}function C(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};for(let n of Object.keys(e)){let[r,o]=n.split(":"),i=`${r}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}throw Error("key must be string")}k(S),k(w);let D=()=>w.__FEDERATION__.moduleInfo,P=(e,t)=>{let n=C(t,f(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){let{version:t}=e,n=f(r._object_without_properties_loose(e,["version"])),o=C(w.__FEDERATION__.moduleInfo,n).value;if((null==o?void 0:o.version)===t)return o}},L=e=>P(e,w.__FEDERATION__.moduleInfo),j=(e,t)=>{let n=f(e);return w.__FEDERATION__.moduleInfo[n]=t,w.__FEDERATION__.moduleInfo},F=e=>(w.__FEDERATION__.moduleInfo=r._extends({},w.__FEDERATION__.moduleInfo,e),()=>{for(let t of Object.keys(e))delete w.__FEDERATION__.moduleInfo[t]}),z=(e,t)=>{let n=t||`__FEDERATION_${e}:custom__`,r=S[n];return{remoteEntryKey:n,entryExports:r}},H=e=>{let{__GLOBAL_PLUGIN__:t}=w.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):u(`The plugin ${e.name} has been registered.`)})},U=()=>w.__FEDERATION__.__GLOBAL_PLUGIN__,B=e=>S.__FEDERATION__.__PRELOADED_MAP__.get(e),V=e=>S.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),G="default",q="global",W="[0-9A-Za-z-]+",Y=`(?:\\+(${W}(?:\\.${W})*))`,K="0|[1-9]\\d*",J="[0-9]+",Z="\\d*[a-zA-Z-][a-zA-Z0-9-]*",X=`(?:${J}|${Z})`,Q=`(?:-?(${X}(?:\\.${X})*))`,ee=`(?:${K}|${Z})`,et=`(?:-(${ee}(?:\\.${ee})*))`,en=`${K}|x|X|\\*`,er=`[v=\\s]*(${en})(?:\\.(${en})(?:\\.(${en})(?:${et})?${Y}?)?)?`,eo=`^\\s*(${er})\\s+-\\s+(${er})\\s*$`,ei=`(${J})\\.(${J})\\.(${J})`,ea=`[v=\\s]*${ei}${Q}?${Y}?`,es="((?:<|>)?=?)",el=`(\\s*)${es}\\s*(${ea}|${er})`,ec="(?:~>?)",eu=`(\\s*)${ec}\\s+`,ep="(?:\\^)",ef=`(\\s*)${ep}\\s+`,ed="(<|>)?=?\\s*\\*",eh=`^${ep}${er}$`,em=`(${K})\\.(${K})\\.(${K})`,eg=`v?${em}${et}?${Y}?`,ey=`^${ec}${er}$`,eb=`^${es}\\s*${er}$`,ev=`^${es}\\s*(${eg})$|^$`,e_="^\\s*>=\\s*0.0.0\\s*$";function eE(e){return new RegExp(e)}function e$(e){return!e||"x"===e.toLowerCase()||"*"===e}function eS(...e){return t=>e.reduce((e,t)=>t(e),t)}function ew(e){return e.match(eE(ev))}function eA(e,t,n,r){let o=`${e}.${t}.${n}`;return r?`${o}-${r}`:o}function eI(e){return e.replace(eE(eo),(e,t,n,r,o,i,a,s,l,c,u,p)=>(t=e$(n)?"":e$(r)?`>=${n}.0.0`:e$(o)?`>=${n}.${r}.0`:`>=${t}`,s=e$(l)?"":e$(c)?`<${Number(l)+1}.0.0-0`:e$(u)?`<${l}.${Number(c)+1}.0-0`:p?`<=${l}.${c}.${u}-${p}`:`<=${s}`,`${t} ${s}`.trim()))}function eM(e){return e.replace(eE(el),"$1$2$3")}function eR(e){return e.replace(eE(eu),"$1~")}function ek(e){return e.replace(eE(ef),"$1^")}function eN(e){return e.trim().split(/\s+/).map(e=>e.replace(eE(eh),(e,t,n,r,o)=>{if(e$(t))return"";if(e$(n))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(e$(r))if("0"===t)return`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`;else return`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`;if(o)if("0"!==t)return`>=${t}.${n}.${r}-${o} <${Number(t)+1}.0.0-0`;else if("0"===n)return`>=${t}.${n}.${r}-${o} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`;if("0"===t)if("0"===n)return`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`;else return`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`;return`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`})).join(" ")}function ex(e){return e.trim().split(/\s+/).map(e=>e.replace(eE(ey),(e,t,n,r,o)=>e$(t)?"":e$(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:e$(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:o?`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function eO(e){return e.split(/\s+/).map(e=>e.trim().replace(eE(eb),(e,t,n,r,o,i)=>{let a=e$(n),s=a||e$(r),l=s||e$(o);if("="===t&&l&&(t=""),i="",a)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&l?(s&&(r=0),o=0,">"===t?(t=">=",s?(n=Number(n)+1,r=0):r=Number(r)+1,o=0):"<="===t&&(t="<",s?n=Number(n)+1:r=Number(r)+1),"<"===t&&(i="-0"),`${t+n}.${r}.${o}${i}`):s?`>=${n}.0.0${i} <${Number(n)+1}.0.0-0`:l?`>=${n}.${r}.0${i} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function eT(e){return e.trim().replace(eE(ed),"")}function eC(e){return e.trim().replace(eE(e_),"")}function eD(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function eP(e,t){let{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&r)return 1;if(n&&void 0===r)return -1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){let t=n[e],o=r[e];if(t!==o){if(void 0===t&&void 0===o)return 0;if(!t)return 1;if(!o)return -1;return eD(t,o)}}return 0}function eL(e,t){return eD(e.major,t.major)||eD(e.minor,t.minor)||eD(e.patch,t.patch)||eP(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>eL(e,t);case">=":return ej(e,t)||0>eL(e,t);case"<":return eL(e,t)>0;case"<=":return ej(e,t)||eL(e,t)>0;case void 0:return!0;default:return!1}}function ez(e){return eS(eN,ex,eO,eT)(e)}function eH(e){return eS(eI,eM,eR,ek)(e.trim()).split(/\s+/).join(" ")}function eU(e,t){if(!e)return!1;let n=ew(e);if(!n)return!1;let[,r,,o,i,a,s]=n,l={operator:r,version:eA(o,i,a,s),major:o,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};for(let e of t.split("||")){let t=e.trim();if(!t||"*"===t||"x"===t)return!0;try{let e=eH(t);if(!e.trim())return!0;let n=e.split(" ").map(e=>ez(e)).join(" ");if(!n.trim())return!0;let r=n.split(/\s+/).map(e=>eC(e)).filter(Boolean);if(0===r.length)continue;let o=!0;for(let e of r){let t=ew(e);if(!t){o=!1;break}let[,n,,r,i,a,s]=t,c={operator:n,version:eA(r,i,a,s),major:r,minor:i,patch:a,preRelease:null==s?void 0:s.split(".")};if(!eF(c,l)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}function eB(e,t,n,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 '${n}'!`)}),r._extends({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:r._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 eV(e,t){let n=t.shared||{},o=t.name,i=Object.keys(n).reduce((e,r)=>{let i=_(n[r]);return e[r]=e[r]||[],i.forEach(n=>{e[r].push(eB(n,o,r,t.shareStrategy))}),e},{}),a=r._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 eG(e,t){let n=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!eU(n(e),`<=${n(t)}`)}let eq=(e,t)=>{let n=t||function(e,t){return eG(e,t)};return Object.keys(e).reduce((e,t)=>!e||n(e,t)||"0"===e?t:e,0)},eW=e=>!!e.loaded||"function"==typeof e.lib,eY=e=>!!e.loading;function eK(e,t,n){let r=e[t][n],o=function(e,t){return!eW(r[e])&&eG(e,t)};return eq(e[t][n],o)}function eJ(e,t,n){let r=e[t][n],o=function(e,t){let n=e=>eW(e)||eY(e);if(n(r[t]))if(n(r[e]))return!!eG(e,t);else return!0;return!n(r[e])&&eG(e,t)};return eq(e[t][n],o)}function eZ(e){return"loaded-first"===e?eJ:eK}function eX(e,t,n,r){if(!e)return;let{shareConfig:o,scope:i=G,strategy:a}=n;for(let s of Array.isArray(i)?i:[i])if(o&&e[s]&&e[s][t]){let{requiredVersion:i}=o,l=eZ(a)(e,s,t),p=()=>{if(o.singleton){if("string"==typeof i&&!eU(l,i)){let r=`Version ${l} from ${l&&e[s][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${i})`;o.strictVersion?c(r):u(r)}return e[s][t][l]}if(!1===i||"*"===i||eU(l,i))return e[s][t][l];for(let[n,r]of Object.entries(e[s][t]))if(eU(n,i))return r},f={shareScopeMap:e,scope:s,pkgName:t,version:l,GlobalFederation:A.__FEDERATION__,resolver:p};return(r.emit(f)||f).resolver()}}function eQ(){return A.__FEDERATION__.__SHARE__}function e0(e){var t;let{pkgName:n,extraOptions:r,shareInfos:o}=e,i=e=>{if(!e)return;let t={};e.forEach(e=>{t[e.version]=e});let n=function(e,n){return!eW(t[e])&&eG(e,n)},r=eq(t,n);return t[r]};return Object.assign({},(null!=(t=null==r?void 0:r.resolver)?t:i)(o[n]),null==r?void 0:r.customShareInfo)}function e1(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}function e2(e,t){for(let n of e){let e=t.startsWith(n.name),r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return{pkgNameOrAlias:n.name,expose:r=`.${r}`,remote:n};else if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}let o=n.alias&&t.startsWith(n.alias),i=n.alias&&t.replace(n.alias,"");if(n.alias&&o){if(i&&i.startsWith("/"))return{pkgNameOrAlias:n.alias,expose:i=`.${i}`,remote:n};else if(""===i)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function e3(e,t){for(let n of e)if(t===n.name||n.alias&&t===n.alias)return n}function e5(e,t){let n=U(),r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return n.length>0&&n.forEach(t=>{(null==e?void 0:e.find(e=>e.name!==t.name))&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{r.forEach(n=>{n.applyPlugin(e,t)})}),e}let e4=".then(callbacks[0]).catch(callbacks[1])";async function e6({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${e}")${e4}`)([n,r]):import(e).then(n).catch(r)}catch(e){r(e)}})}async function e8({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):Function("callbacks",`System.import("${e}")${e4}`)([n,r])}catch(e){r(e)}})}function e7(e,t,n){let{remoteEntryKey:r,entryExports:o}=z(e,t);return l(o,i.getShortErrorMsg(i.RUNTIME_001,i.runtimeDescMap,{remoteName:e,remoteEntryUrl:n,remoteEntryKey:r})),o}async function e9({name:e,globalName:t,entry:n,loaderHook:r}){let{entryExports:a}=z(e,t);return a||o.loadScript(n,{attrs:{},createScriptHook:(e,t)=>{let n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n&&(n instanceof HTMLScriptElement||"script"in n||"timeout"in n))return n}}).then(()=>e7(e,t,n)).catch(t=>{throw l(void 0,i.getShortErrorMsg(i.RUNTIME_008,i.runtimeDescMap,{remoteName:e,resourceUrl:n})),t})}async function te({remoteInfo:e,remoteEntryExports:t,loaderHook:n}){let{entry:r,entryGlobalName:o,name:i,type:a}=e;switch(a){case"esm":case"module":return e6({entry:r,remoteEntryExports:t});case"system":return e8({entry:r,remoteEntryExports:t});default:return e9({entry:r,globalName:o,name:i,loaderHook:n})}}async function tt({remoteInfo:e,loaderHook:t}){let{entry:n,entryGlobalName:r,name:i,type:a}=e,{entryExports:s}=z(i,r);return s||o.loadScriptNode(n,{attrs:{name:i,globalName:r,type:a},loaderHook:{createScriptHook:(e,n={})=>{let r=t.lifecycle.createScript.emit({url:e,attrs:n});if(r&&"url"in r)return r}}}).then(()=>e7(i,r,n)).catch(e=>{throw e})}function tn(e){let{entry:t,name:n}=e;return o.composeKeyWithSeparator(n,t)}async function tr({origin:e,remoteEntryExports:t,remoteInfo:n}){let r=tn(n);if(t)return t;if(!R[r]){let i=e.remoteHandler.hooks.lifecycle.loadEntry,a=e.loaderHook;R[r]=i.emit({loaderHook:a,remoteInfo:n,remoteEntryExports:t}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:o.isBrowserEnv())?te({remoteInfo:n,remoteEntryExports:t,loaderHook:a}):tt({remoteInfo:n,loaderHook:a})))}return R[r]}function to(e){return r._extends({},e,{entry:"entry"in e?e.entry:"",type:e.type||q,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||G})}function ti(e){return r._extends({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function ta(e,t){return t.map(t=>{let n=e3(e,t.nameOrAlias);return l(n,`Unable to preload ${t.nameOrAlias} as it is not included in ${!n&&o.safeToString({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:ti(t)}})}function ts(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]}function tl(e,t,n,r=!0){let{cssAssets:i,jsAssetsWithoutEntry:a,entryAssets:s}=n;if(t.options.inBrowser){if(s.forEach(n=>{let{moduleInfo:r}=n,o=t.moduleCache.get(e.name);o?tr({origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}):tr({origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){let e={rel:"preload",as:"style"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let e={rel:"stylesheet",type:"text/css"};i.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});i&&document.head.appendChild(r)})}if(r){let e={rel:"preload",as:"script"};a.forEach(n=>{let{link:r,needAttach:i}=o.createLink({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{let r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});i&&document.head.appendChild(r)})}else{let n={fetchpriority:"high",type:(null==e?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(e=>{let{script:r,needAttach:i}=o.createScript({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{let r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});i&&document.head.appendChild(r)})}}}var tc={global:{Global:A,nativeGlobal:w,resetFederationGlobalInfo:N,setGlobalFederationInstance:x,getGlobalFederationConstructor:O,setGlobalFederationConstructor:T,getInfoWithoutType:C,getGlobalSnapshot:D,getTargetSnapshotInfoByModuleInfo:P,getGlobalSnapshotInfoByModuleInfo:L,setGlobalSnapshotInfoByModuleInfo:j,addGlobalSnapshot:F,getRemoteEntryExports:z,registerGlobalPlugins:H,getGlobalHostPlugins:U,getPreloaded:B,setPreloaded:V},share:{getRegisteredShare:eX,getGlobalShareScope:eQ},utils:{matchRemoteWithNameAndExpose:e2,preloadAssets:tl,getRemoteInfo:to}};let tu=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(n){let t=tn(this.remoteInfo);e=await this.host.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:tr,origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,globalLoading:R,uniqueKey:t})}return l(e,`remoteEntryExports is undefined
|
|
3
3
|
${o.safeToString(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t,n,o){let a,{loadFactory:s=!0}=n||{loadFactory:!0},u=await this.getEntry();if(!this.inited){let t=this.host.shareScopeMap,n=Array.isArray(this.remoteInfo.shareScope)?this.remoteInfo.shareScope:[this.remoteInfo.shareScope];n.length||n.push("default"),n.forEach(e=>{t[e]||(t[e]={})});let a=t[n[0]],s=[],l={version:this.remoteInfo.version||"",shareScopeKeys:Array.isArray(this.remoteInfo.shareScope)?n:this.remoteInfo.shareScope||"default"};Object.defineProperty(l,"shareScopeMap",{value:t,enumerable:!1});let p=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,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await u.init(p.shareScope,p.initScope,p.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(r._extends({},p,{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 p=$(this.remoteInfo.name,t),d=this.wraperFactory(a,p);return s?await d():d}wraperFactory(e,t){function n(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 r=await e();return n(r,t),r}:()=>{let r=e();return n(r,t),r}}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class tp{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function n(...r){return t.remove(n),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(n=>{t=n(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class tf extends tp{emit(...e){let t,n=Array.from(this.listeners);if(n.length>0){let r=0,o=t=>!1!==t&&(r<n.length?Promise.resolve(n[r++].apply(null,e)).then(o):t);t=o()}return Promise.resolve(t)}}function td(e,t){if(!g(t))return!1;if(e!==t){for(let n in e)if(!(n in t))return!1}return!0}class th extends tp{emit(e){for(let t of(g(e)||c(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let n=t(e);if(td(e,n))e=n;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 tm extends tp{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 n=0,r=t=>(u(t),this.onerror(t),e),o=i=>{if(td(e,i)){if(e=i,n<t.length)try{return Promise.resolve(t[n++](e)).then(o,r)}catch(e){return r(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=c,this.type=e}}class tg{applyPlugin(e,t){l(b(e),"Plugin configuration is invalid.");let n=e.name;l(n,"A name must be provided by the plugin."),this.registerPlugins[n]||(this.registerPlugins[n]=e,null==e.apply||e.apply.call(e,t),Object.keys(this.lifecycle).forEach(t=>{let n=e[t];n&&this.lifecycle[t].on(n)}))}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])})}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function ty(e,t){let n=E(t);n.url||c(`The attribute remoteEntry of ${e.name} must not be undefined.`);let r=o.getResourceUrl(t,n.url);o.isBrowserEnv()||r.startsWith("http")||(r=`https:${r}`),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function tb(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:n,expose:o,origin:i,remoteInfo:a,id:s}=e;if(!d(t)||!h(t)){let{remoteSnapshot:l,globalSnapshot:c}=await i.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:s});ty(a,l);let u={remote:t,preloadConfig:{nameOrAlias:n,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},p=await i.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:i,preloadOptions:u,remoteInfo:a,remote:t,remoteSnapshot:l,globalSnapshot:c});return p&&tl(a,i,p,!1),r._extends({},e,{remoteSnapshot:l})}return e}}}function tv(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,n,r,i={},a){let{value:s}=C(e,f(t)),l=a||s;if(l&&!o.isManifestProvider(l)&&(n(l,t,r),l.remotesInfo))for(let t of Object.keys(l.remotesInfo)){if(i[t])continue;i[t]=!0;let r=tv(t),o=l.remotesInfo[t];t_(e,{name:r.name,version:o.matchedVersion},n,!1,i,void 0)}}let tE=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function t$(e,t,n,r,i){let a=[],s=[],l=[],c=new Set,u=new Set,{options:p}=e,{preloadConfig:f}=t,{depsRemote:d}=f;if(t_(r,n,(t,n,r)=>{let i;if(r)i=f;else if(Array.isArray(d)){let e=d.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;i=ti(e)}else{if(!0!==d)return;i=f}let c=o.getResourceUrl(t,E(t).url);c&&l.push({name:n.name,moduleInfo:{name:n.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],p=ts(i.exposes);if(p.length&&"modules"in t){var h;u=null==t||null==(h=t.modules)?void 0:h.reduce((e,t)=>((null==p?void 0:p.indexOf(t.moduleName))!==-1&&e.push(t),e),[])}function m(e){let n=e.map(e=>o.getResourceUrl(t,e));return i.filter?n.filter(i.filter):n}if(u){let r=u.length;for(let o=0;o<r;o++){let r=u[o],l=`${n.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?n.name:l,name:n.name,remoteSnapshot:t,preloadConfig:i,remote:n,origin:e}),B(l)||("all"===i.resourceCategory?(a.push(...m(r.assets.css.async)),a.push(...m(r.assets.css.sync)),s.push(...m(r.assets.js.async))):(i.resourceCategory="sync",a.push(...m(r.assets.css.sync))),s.push(...m(r.assets.js.sync)),V(l))}}},!0,{},i),i.shared&&i.shared.length>0){let t=(t,n)=>{let r=eX(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach(e=>{c.add(e)}),n.assets.css.sync.forEach(e=>{u.add(e)}))};i.shared.forEach(e=>{var n;let r=null==(n=p.shared)?void 0:n[e.sharedName];if(!r)return;let o=e.version?r.find(t=>t.version===e.version):r;o&&_(o).forEach(n=>{t(n,e)})})}let h=s.filter(e=>!c.has(e)&&!tE("script",e));return{cssAssets:a.filter(e=>!u.has(e)&&!tE("link",e)),jsAssetsWithoutEntry:h,entryAssets:l.filter(e=>!tE("script",e.url))}}let tS=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:n,remoteInfo:r,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return o.isBrowserEnv()?d(i)&&h(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:r.name,entry:i.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(ty(r,s),t$(t,n,r,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};function tw(e,t){let n=L({name:t.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&C(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:D(),remoteSnapshot:L({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:D(),remoteSnapshot:L({name:e.name,version:"version"in e?e.version:void 0})}}class tA{async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:n}){let a,s,{options:l}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:l,moduleInfo:e});let u=L({name:this.HostInstance.options.name,version:this.HostInstance.options.version});u||(u={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},F({[this.HostInstance.options.name]:u})),u&&"remotesInfo"in u&&!C(u.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(u.remotesInfo=r._extends({},null==u?void 0:u.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));let{hostGlobalSnapshot:p,remoteSnapshot:f,globalSnapshot:h}=this.getGlobalRemoteInfo(e),{remoteSnapshot:m,globalSnapshot:g}=await this.hooks.lifecycle.loadSnapshot.emit({options:l,moduleInfo:e,hostGlobalSnapshot:p,remoteSnapshot:f,globalSnapshot:h});if(m)if(o.isManifestProvider(m)){let t=o.isBrowserEnv()?m.remoteEntry:m.ssrRemoteEntry||m.remoteEntry||"",n=await this.getManifestJson(t,e,{}),i=j(r._extends({},e,{entry:t}),n);a=n,s=i}else{let{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:m,from:"global"});a=t,s=g}else if(d(e)){let t=await this.getManifestJson(e.entry,e,{}),n=j(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});a=r,s=n}else c(i.getShortErrorMsg(i.RUNTIME_007,i.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(g)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:l,moduleInfo:e,remoteSnapshot:a}),{remoteSnapshot:a,globalSnapshot:s}}getGlobalRemoteInfo(e){return tw(e,this.HostInstance)}async getManifestJson(e,t,n){let r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json()}catch(r){(n=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}))||(delete this.manifestLoading[e],c(i.getShortErrorMsg(i.RUNTIME_003,i.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`)))}return l(n.metaData&&n.exposes&&n.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,n),n},a=async()=>{let n=await r(),i=o.generateSnapshotFromManifest(n,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,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 tg({beforeLoadRemoteSnapshot:new tf("beforeLoadRemoteSnapshot"),loadSnapshot:new tm("loadGlobalSnapshot"),loadRemoteSnapshot:new tm("loadRemoteSnapshot"),afterLoadSnapshot:new tm("afterLoadSnapshot")}),this.manifestLoading=A.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}class tI{registerShared(e,t){let{shareInfos:n,shared:r}=eV(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{!eX(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)&&n&&n.lib&&this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:!0,shared:n,from:t.name})})}),{shareInfos:n,shared:r}}async loadShare(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));let{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n});l(o,`Cannot find ${e} Share in the ${n.options.name}. Please ensure that the ${e} Share parameters have been injected`);let i=eX(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),p(e.useIn,n.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 n=eX(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0,a(n)),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:n.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;let r=(async()=>{let t=await o.get();o.lib=t,o.loaded=!0,a(o);let n=eX(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:n.options.name,lib:null,loading:r}),r}}initializeSharing(e=G,t){let{host:n}=this,r=null==t?void 0:t.from,o=null==t?void 0:t.strategy,i=null==t?void 0:t.initScope,a=[];if("build"!==r){let{initTokens:t}=this;i||(i=[]);let n=t[e];if(n||(n=t[e]={from:this.host.name}),i.indexOf(n)>=0)return a;i.push(n)}let s=this.shareScopeMap,l=n.options.name;s[e]||(s[e]={});let c=s[e],u=(e,t)=>{var n;let{version:r,eager:o}=t;c[e]=c[e]||{};let i=c[e],a=i[r],s=!!(a&&(a.eager||(null==(n=a.shareConfig)?void 0:n.eager)));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:l>a.from))&&(i[r]=t)},p=t=>t&&t.init&&t.init(s[e],i),f=async e=>{let{module:t}=await n.remoteHandler.getRemoteModuleAndOptions({id:e});if(t.getEntry){let r;try{r=await t.getEntry()}catch(t){r=await n.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:n})}t.inited||(await p(r),t.inited=!0)}};return Object.keys(n.options.shared).forEach(t=>{n.options.shared[t].forEach(n=>{n.scope.includes(e)&&u(t,n)})}),("version-first"===n.options.shareStrategy||"version-first"===o)&&n.options.remotes.forEach(t=>{t.shareScope===e&&a.push(f(t.name))}),a}loadShareSync(e,t){let{host:n}=this,r=e0({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});let o=eX(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),a=e=>{e.useIn||(e.useIn=[]),p(e.useIn,n.options.name)};if(o){if("function"==typeof o.lib)return a(o),o.loaded||(o.loaded=!0,o.from===n.options.name&&(r.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:n.options.name,lib:t,shared:o}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){let o=r.get();if(o instanceof Promise){let r=(null==t?void 0:t.from)==="build"?i.RUNTIME_005:i.RUNTIME_006;throw Error(i.getShortErrorMsg(r,i.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}return r.lib=o,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}throw Error(i.getShortErrorMsg(i.RUNTIME_006,i.runtimeDescMap,{hostName:n.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,n={}){let{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:n,lib:o,loading:i,loaded:a,get:s}){let{version:l,scope:c="default"}=t,u=r._object_without_properties_loose(t,["version","scope"]);(Array.isArray(c)?c:[c]).forEach(t=>{if(this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),!this.shareScopeMap[t][e][l]){this.shareScopeMap[t][e][l]=r._extends({version:l,scope:["default"]},u,{lib:o,loaded:a,loading:i}),s&&(this.shareScopeMap[t][e][l].get=s);return}let n=this.shareScopeMap[t][e][l];i&&!n.loading&&(n.loading=i)})}_setGlobalShareScopeMap(e){let t=eQ(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}constructor(e){this.hooks=new tg({afterResolve:new tm("afterResolve"),beforeLoadShare:new tm("beforeLoadShare"),loadShare:new tf,resolveShare:new th("resolveShare"),initContainerShareScopeMap:new th("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}}class tM{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:n,expose:r}=t,{name:o,alias:i}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},i&&e.startsWith(o)){let t=e.replace(o,i);this.idToRemoteMap[t]={name:n.name,expose:r};return}if(i&&e.startsWith(i)){let t=e.replace(i,o);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){let{host:n}=this;try{let{loadFactory:r=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:c,id:u,remoteSnapshot:p}=a,f=await o.get(u,c,t,p),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:s,expose:c,exposeModule:r?f:void 0,exposeModuleFactory:r?void 0:f,remote:l,options:i,moduleInstance:o,origin:n});if(this.setIdToRemoteMap(e,a),"function"==typeof d)return d;return f}catch(i){let{from:r="runtime"}=t||{from:"runtime"},o=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:r,lifecycle:"onLoad",origin:n});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 n=ta(t.options.remotes,e);await Promise.all(n.map(async e=>{let{remote:n}=e,r=to(n),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:n}),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:o,remoteSnapshot:i});a&&tl(r,t,a)}))}registerRemotes(e,t){let{host:n}=this;e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:null==t?void 0:t.force})})}async getRemoteModuleAndOptions(e){let t,{host:n}=this,{id:o}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:o,options:n.options,origin:n})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:o,options:n.options,origin:n,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:a}=t,s=e2(n.options.remotes,a);l(s,i.getShortErrorMsg(i.RUNTIME_004,i.runtimeDescMap,{hostName:n.options.name,requestId:a}));let{remote:c}=s,u=to(c),p=await n.sharedHandler.hooks.lifecycle.afterResolve.emit(r._extends({id:a},s,{options:n.options,origin:n,remoteInfo:u})),{remote:f,expose:d}=p;l(f&&d,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${a}.`);let h=n.moduleCache.get(f.name),m={host:n,remoteInfo:u};return h||(h=new tu(m),n.moduleCache.set(f.name,h)),{module:h,moduleOptions:m,remoteMatchInfo:p}}registerRemote(e,t,n){let{host:r}=this,i=()=>{if(e.alias){let n=t.find(t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||(null==(n=t.alias)?void 0:n.startsWith(e.alias)))});l(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&o.isBrowserEnv()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=G),e.type||(e.type=q)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});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==n?void 0:n.force)&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),o.warn(s.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{let{host:n}=this,{name:r}=e,i=n.options.remotes.findIndex(e=>e.name===r);-1!==i&&n.options.remotes.splice(i,1);let a=n.moduleCache.get(e.name);if(a){let r=a.remoteInfo,i=r.entryGlobalName;if(S[i]){var t;(null==(t=Object.getOwnPropertyDescriptor(S,i))?void 0:t.configurable)?delete S[i]:S[i]=void 0}let s=tn(a.remoteInfo);R[s]&&delete R[s],n.snapshotHandler.manifestCache.delete(r.entry);let l=r.buildVersion?o.composeKeyWithSeparator(r.name,r.buildVersion):r.name,c=S.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===l:e.name===l);if(-1!==c){let e=S.__FEDERATION__.__INSTANCES__[c];l=e.options.id||l;let t=eQ(),n=!0,o=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?n=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),n&&(e.shareScopeMap={},delete t[l]),o.forEach(([e,n,r,o])=>{var i,a,s;null==(s=t[e])||null==(a=s[n])||null==(i=a[r])||delete i[o]}),S.__FEDERATION__.__INSTANCES__.splice(c,1)}let{hostGlobalSnapshot:u}=tw(e,n);if(u){let t=u&&"remotesInfo"in u&&u.remotesInfo&&C(u.remotesInfo,e.name).key;t&&(delete u.remotesInfo[t],A.__FEDERATION__.__MANIFEST_LOADING__[t]&&delete A.__FEDERATION__.__MANIFEST_LOADING__[t])}n.moduleCache.delete(e.name)}}catch(e){s.log("removeRemote fail: ",e)}}constructor(e){this.hooks=new tg({beforeRegisterRemote:new th("beforeRegisterRemote"),registerRemote:new th("registerRemote"),beforeRequest:new tm("beforeRequest"),onLoad:new tf("onLoad"),handlePreloadModule:new tp("handlePreloadModule"),errorLoadRemote:new tf("errorLoadRemote"),beforePreloadRemote:new tf("beforePreloadRemote"),generatePreloadAssets:new tf("generatePreloadAssets"),afterPreloadRemote:new tf,loadEntry:new tf}),this.host=e,this.idToRemoteMap={}}}let tR="boolean"!=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN||!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN;class tk{initOptions(e){this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=G,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){let r=new tu({host:this,remoteInfo:to({name:e,entry:t})});return r.remoteEntryExports=n,this.moduleCache.set(e,r),r}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,n={}){this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){let{shared:n}=eV(e,t),{userOptions:o,options:i}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),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=r._extends({},e,t,{plugins:l,remotes:a,shared:s});return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=e5(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,r._extends({},this.options,{shared:e}))}constructor(e){this.hooks=new tg({beforeInit:new th("beforeInit"),init:new tp,beforeInitContainer:new tm("beforeInitContainer"),initContainer:new tm("initContainer")}),this.version="0.18.0",this.moduleCache=new Map,this.loaderHook=new tg({getModuleInfo:new tp,createScript:new tp,createLink:new tp,fetch:new tf,loadEntryError:new tf,getModuleFactory:new tf}),this.bridgeHook=new tg({beforeBridgeRender:new tp,afterBridgeRender:new tp,beforeBridgeDestroy:new tp,afterBridgeDestroy:new tp});const t=tR?[tb(),tS()]:[],n={id:e1(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:o.isBrowserEnv()};this.name=e.name,this.options=n,this.snapshotHandler=new tA(this),this.sharedHandler=new tI(this),this.remoteHandler=new tM(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...n.plugins,...e.plugins||[]]),this.options=this.formatOptions(n,e)}}var tN=Object.freeze({__proto__:null});t.loadScript=o.loadScript,t.loadScriptNode=o.loadScriptNode,t.CurrentGlobal=S,t.Global=A,t.Module=tu,t.ModuleFederation=tk,t.addGlobalSnapshot=F,t.assert=l,t.getGlobalFederationConstructor=O,t.getGlobalSnapshot=D,t.getInfoWithoutType=C,t.getRegisteredShare=eX,t.getRemoteEntry=tr,t.getRemoteInfo=to,t.helpers=tc,t.isStaticResourcesEqual=v,t.matchRemoteWithNameAndExpose=e2,t.registerGlobalPlugins=H,t.resetFederationGlobalInfo=N,t.safeWrapper=m,t.satisfy=eU,t.setGlobalFederationConstructor=T,t.setGlobalFederationInstance=x,t.types=tN},4054:function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t._extends=n,t._object_without_properties_loose=r},8230:function(e,t,n){"use strict";var r=n(4106),o=n(3767),i=n(9857);function a(e){return new(r.getGlobalFederationConstructor()||r.ModuleFederation)(e)}let s=null;function l(e){let t=i.getGlobalFederationInstance(e.name,e.version);return t?(t.initOptions(e),s||(s=t),t):(s=a(e),r.setGlobalFederationInstance(s),s)}function c(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadRemote.apply(s,e)}function u(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShare.apply(s,e)}function p(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.loadShareSync.apply(s,e)}function f(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.preloadRemote.apply(s,e)}function d(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerRemotes.apply(s,e)}function h(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerPlugins.apply(s,e)}function m(){return s}function g(...e){return r.assert(s,o.getShortErrorMsg(o.RUNTIME_009,o.runtimeDescMap)),s.registerShared.apply(s,e)}r.setGlobalFederationConstructor(r.ModuleFederation),t.Module=r.Module,t.ModuleFederation=r.ModuleFederation,t.getRemoteEntry=r.getRemoteEntry,t.getRemoteInfo=r.getRemoteInfo,t.loadScript=r.loadScript,t.loadScriptNode=r.loadScriptNode,t.registerGlobalPlugins=r.registerGlobalPlugins,t.createInstance=a,t.getInstance=m,t.init=l,t.loadRemote=c,t.loadShare=u,t.loadShareSync=p,t.preloadRemote=f,t.registerPlugins=h,t.registerRemotes=d,t.registerShared=g},9857:function(e,t,n){"use strict";var r=n(4106);function o(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}t.getGlobalFederationInstance=function(e,t){let n=o();return r.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(r=>!!n&&r.options.id===n||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&!!t&&r.options.version===t)}},6742:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var polyfills=__webpack_require__(2706);let FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},NameTransformMap={[NameTransformSymbol.AT]:"scope_",[NameTransformSymbol.HYPHEN]:"_",[NameTransformSymbol.SLASH]:"__"},EncodedNameTransformMap={[NameTransformMap[NameTransformSymbol.AT]]:NameTransformSymbol.AT,[NameTransformMap[NameTransformSymbol.HYPHEN]]:NameTransformSymbol.HYPHEN,[NameTransformMap[NameTransformSymbol.SLASH]]:NameTransformSymbol.SLASH},SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",TEMP_DIR=".federation",MFPrefetchCommon={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};var ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"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)}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=(e,t,n=SEPARATOR)=>{let r=e.split(n),o="development"===getProcessEnv().NODE_ENV&&t,i="*",a=e=>e.startsWith("http")||e.includes(MANIFEST_EXT);if(r.length>=2){let[t,...s]=r;e.startsWith(n)&&(t=r.slice(0,2).join(n),s=[o||r.slice(2).join(n)]);let l=o||s.join(n);return a(l)?{name:t,entry:l}:{name:t,version:l||i}}if(1===r.length){let[e]=r;return o&&a(o)?{name:e,entry:o}:{name:e,version:o||i}}throw`Invalid entry value: ${e}`},composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${SEPARATOR}${t}`:t:e,""):""},encodeName=function(e,t="",n=!1){try{let r=n?".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])}${r}`}catch(e){throw e}},decodeName=function(e,t,n){try{let r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(RegExp(t,"g"),"")}return r=r.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]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=(e,t)=>{if(!e)return"";let n=e;return"."===n&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),encodeName(n,"__federation_expose_",t)},generateShareFilename=(e,t)=>e?encodeName(e,"__federation_shared_",t):"",getResourceUrl=(e,t)=>{if("getPublicPath"in e){let n;return n=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${n}${t}`}return"publicPath"in e?!isBrowserEnv()&&!isReactNativeEnv()&&"ssrPublicPath"in e?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},assert=(e,t)=>{e||error(t)},error=e=>{throw Error(`${LOG_CATEGORY}: ${e}`)},warn=e=>{console.warn(`${LOG_CATEGORY}: ${e}`)};function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let VERSION_PATTERN_REGEXP=/^([\d^=v<>~]|[*xX]$)/;function isRequiredVersion(e){return VERSION_PATTERN_REGEXP.test(e)}let simpleJoinRemoteEntry=(e,t)=>{if(!e)return t;let n=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e,t={}){var n,r,o;let i,{remotes:a={},overrides:s={},version:l}=t,c=()=>"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&l?inferAutoPublicPath(l):e.metaData.publicPath:e.metaData.getPublicPath,u=Object.keys(s),p={};Object.keys(a).length||(p=(null==(o=e.remotes)?void 0:o.reduce((e,t)=>{let n,r=t.federationContainerName;return n=u.includes(r)?s[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:n},e},{}))||{}),Object.keys(a).forEach(e=>p[e]={matchedVersion:u.includes(e)?s[e]:a[e]});let{remoteEntry:{path:f,name:d,type:h},types:m,buildInfo:{buildVersion:g},globalName:y,ssrRemoteEntry:b}=e.metaData,{exposes:v}=e,_={version:l||"",buildVersion:g,globalName:y,remoteEntry:simpleJoinRemoteEntry(f,d),remoteEntryType:h,remoteTypes:simpleJoinRemoteEntry(m.path,m.name),remoteTypesZip:m.zip||"",remoteTypesAPI:m.api||"",remotesInfo:p,shared:null==e?void 0:e.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version})),modules:null==v?void 0:v.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(null==(n=e.metaData)?void 0:n.prefetchInterface){let t=e.metaData.prefetchInterface;_=polyfills._({},_,{prefetchInterface:t})}if(null==(r=e.metaData)?void 0:r.prefetchEntry){let{path:t,name:n,type:r}=e.metaData.prefetchEntry;_=polyfills._({},_,{prefetchEntry:simpleJoinRemoteEntry(t,n),prefetchEntryType:r})}return i="publicPath"in e.metaData?polyfills._({},_,{publicPath:c(),ssrPublicPath:e.metaData.ssrPublicPath}):polyfills._({},_,{getPublicPath:c()}),b&&(i.ssrRemoteEntry=simpleJoinRemoteEntry(b.path,b.name),i.ssrRemoteEntryType=b.type||"commonjs-module"),i}function isManifestProvider(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(MANIFEST_EXT))}let PREFIX="[ Module Federation ]",Logger=class{setPrefix(e){this.prefix=e}log(...e){console.log(this.prefix,...e)}warn(...e){console.log(this.prefix,...e)}error(...e){console.log(this.prefix,...e)}success(...e){console.log(this.prefix,...e)}info(...e){console.log(this.prefix,...e)}ready(...e){console.log(this.prefix,...e)}debug(...e){isDebugMode()&&console.log(this.prefix,...e)}constructor(e){this.prefix=e}};function createLogger(e){return new Logger(e)}let logger=createLogger(PREFIX);async function safeWrapper(e,t){try{return await e()}catch(e){t||warn(e);return}}function isStaticResourcesEqual(e,t){let n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function createScript(e){let t,n=null,r=!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)){n=o,r=!1;break}}if(!n){let t,r=e.attrs;(n=document.createElement("script")).type=(null==r?void 0:r.type)==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?n=t:"object"==typeof t&&("script"in t&&t.script&&(n=t.script),"timeout"in t&&t.timeout&&(o=t.timeout))),n.src||(n.src=e.url),r&&!t&&Object.keys(r).forEach(e=>{n&&("async"===e||"defer"===e?n[e]=r[e]:n.getAttribute(e)||n.setAttribute(e,r[e]))})}let a=async(r,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(n&&(n.onerror=null,n.onload=null,safeWrapper(()=>{let{needDeleteScript:t=!0}=e;t&&(null==n?void 0:n.parentNode)&&n.parentNode.removeChild(n)}),r&&"function"==typeof r)){let e=r(o);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return n.onerror=a.bind(null,n.onerror),n.onload=a.bind(null,n.onload),t=setTimeout(()=>{a(null,Error(`Remote script "${e.url}" time-outed.`))},o),{script:n,needAttach:r}}function createLink(e){let t=null,n=!0,r=document.getElementsByTagName("link");for(let o=0;o<r.length;o++){let i=r[o],a=i.getAttribute("href"),s=i.getAttribute("rel");if(a&&isStaticResourcesEqual(a,e.url)&&s===e.attrs.rel){t=i,n=!1;break}}if(!t){let n;(t=document.createElement("link")).setAttribute("href",e.url);let r=e.attrs;e.createLinkHook&&(n=e.createLinkHook(e.url,r))instanceof HTMLLinkElement&&(t=n),r&&!n&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}let o=(n,r)=>{let o=()=>{(null==r?void 0:r.type)==="error"?(null==e?void 0:e.onErrorCallback)&&(null==e||e.onErrorCallback(r)):(null==e?void 0:e.cb)&&(null==e||e.cb())};if(t&&(t.onerror=null,t.onload=null,safeWrapper(()=>{let{needDeleteLink:n=!0}=e;n&&(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){let e=n(r);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:n}}function loadScript(e,t){let{attrs:n={},createScriptHook:r}=t;return new Promise((t,o)=>{let{script:i,needAttach:a}=createScript({url:e,cb:t,onErrorCallback:o,attrs:polyfills._({fetchpriority:"high"},n),createScriptHook:r,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,n)=>{let r=(e,t)=>n.lifecycle.fetch.emit(e,t),o=await r(e,t||{});return o&&o instanceof Response?o:("undefined"==typeof fetch?await loadNodeFetch():fetch)(e,t||{})},createScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(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
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)})}:(e,t,n,r)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},loadScriptNode="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((n,r)=>{createScriptNode(e,(e,o)=>{if(e)r(e);else{var i,a;let e=(null==t||null==(i=t.attrs)?void 0:i.globalName)||`__FEDERATION_${null==t||null==(a=t.attrs)?void 0:a.name}:custom__`;n(globalThis[e]=o)}},t.attrs,t.loaderHook)}):(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")};async function loadModule(e,t){let{fetch:n,vm:r}=t,o=await n(e),i=await o.text(),a=new r.SourceTextModule(i,{importModuleDynamically:async(n,r)=>loadModule(new URL(n,e).href,t)});return await a.link(async n=>{let r=new URL(n,e).href;return await loadModule(r,t)}),a}function normalizeOptions(e,t,n){return function(r){if(!1===r)return!1;if(void 0===r)if(e)return t;else return!1;if(!0===r)return t;if(r&&"object"==typeof r)return polyfills._({},t,r);throw Error(`Unexpected type for \`${n}\`, expect boolean/undefined/object, got: ${typeof r}`)}}let createModuleFederationConfig=e=>e;exports.BROWSER_LOG_KEY=BROWSER_LOG_KEY,exports.ENCODE_NAME_PREFIX=ENCODE_NAME_PREFIX,exports.EncodedNameTransformMap=EncodedNameTransformMap,exports.FederationModuleManifest=FederationModuleManifest,exports.MANIFEST_EXT=MANIFEST_EXT,exports.MFModuleType=MFModuleType,exports.MFPrefetchCommon=MFPrefetchCommon,exports.MODULE_DEVTOOL_IDENTIFIER=MODULE_DEVTOOL_IDENTIFIER,exports.ManifestFileName=ManifestFileName,exports.NameTransformMap=NameTransformMap,exports.NameTransformSymbol=NameTransformSymbol,exports.SEPARATOR=SEPARATOR,exports.StatsFileName=StatsFileName,exports.TEMP_DIR=TEMP_DIR,exports.assert=assert,exports.composeKeyWithSeparator=composeKeyWithSeparator,exports.containerPlugin=ContainerPlugin,exports.containerReferencePlugin=ContainerReferencePlugin,exports.createLink=createLink,exports.createLogger=createLogger,exports.createModuleFederationConfig=createModuleFederationConfig,exports.createScript=createScript,exports.createScriptNode=createScriptNode,exports.decodeName=decodeName,exports.encodeName=encodeName,exports.error=error,exports.generateExposeFilename=generateExposeFilename,exports.generateShareFilename=generateShareFilename,exports.generateSnapshotFromManifest=generateSnapshotFromManifest,exports.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},2706:function(e,t){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t._=n},9945:function(e,t){"use strict";t.FEDERATION_SUPPORTED_TYPES=["script"]},1623:function(e,t,n){"use strict";var r=n(8230),o=n(9945),i=n(6742);function a(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}function s(e){let{chunkId:t,promises:n,chunkMapping:r,idToExternalAndNameMapping:s,webpackRequire:l,idToRemoteMap:c}=e;a(l),l.o(r,t)&&r[t].forEach(e=>{let t=l.R;t||(t=[]);let r=s[e],a=c[e];if(t.indexOf(r)>=0)return;if(t.push(r),r.p)return n.push(r.p);let u=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
5
5
|
while loading "${r[1]}" from ${r[2]}`),l.m[e]=()=>{throw t},r.p=0},p=(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),u);if(!s)return e;n.push(r.p=e)}}catch(e){u(e)}},f=(e,t,n)=>e?p(l.I,r[0],0,e,d,n):u();var d=(e,n,o)=>p(n.get,r[1],t,0,h,o),h=t=>{r.p=1,l.m[e]=e=>{e.exports=t()}};let m=()=>{try{let e=i.decodeName(a[0].name,i.ENCODE_NAME_PREFIX)+r[1].slice(1),t=l.federation.instance,n=()=>l.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy)return Promise.all(t.sharedHandler.initializeSharing(r[0])).then(()=>n());return n()}catch(e){u(e)}};1===a.length&&o.FEDERATION_SUPPORTED_TYPES.includes(a[0].externalType)&&a[0].name?p(m,r[2],0,0,h,1):p(l,r[2],0,0,f,1)})}function l(e){let{chunkId:t,promises:n,chunkMapping:r,installedModules:o,moduleToHandlerMapping:i,webpackRequire:s}=e;a(s),s.o(r,t)&&r[t].forEach(e=>{if(s.o(o,e))return n.push(o[e]);let t=t=>{o[e]=0,s.m[e]=n=>{delete s.c[e],n.exports=t()}},r=t=>{delete o[e],s.m[e]=n=>{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],p=a.loadShare(l,{customShareInfo:u}).then(e=>!1===e?c():e);p.then?n.push(o[e]=p.then(t).catch(r)):t(p)}catch(e){r(e)}})}function c({shareScopeName:e,webpackRequire:t,initPromises:n,initTokens:r,initScope:i}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){i||(i=[]);let l=t.federation.instance;var c=r[s];if(c||(c=r[s]={from:l.name}),i.indexOf(c)>=0)return;i.push(c);let u=n[s];if(u)return u;var p=e=>"undefined"!=typeof console&&console.warn&&console.warn(e),f=n=>{var r=e=>p("Initialization of sharing external failed: "+e);try{var o=t(n);if(!o)return;var a=n=>n&&n.init&&n.init(t.S[s],i,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(a,r));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(r))}catch(e){r(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});a(t);let h=t.federation.bundlerRuntimeOptions.remotes;return(h&&Object.keys(h.idToRemoteMap).forEach(e=>{let t=h.idToRemoteMap[e],n=h.idToExternalAndNameMapping[e][2];if(t.length>1)f(n);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(n)}}),d.length)?n[s]=Promise.all(d).then(()=>n[s]=!0):n[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}function u(e){let{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r}=e,o=r.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:a}=n[t];try{return o.loadShareSync(i,{customShareInfo:a})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}function p(e){let{moduleToHandlerMapping:t,webpackRequire:n,installedModules:r,initialConsumes:o}=e;o.forEach(e=>{n.m[e]=o=>{r[e]=0,delete n.c[e];let i=u({moduleId:e,moduleToHandlerMapping:t,webpackRequire:n});if("function"!=typeof i)throw Error(`Shared module is not available for eager consumption: ${e}`);o.exports=i()}})}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e){let{webpackRequire:t,shareScope:n,initScope:r,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions(f({name:t.federation.initOptions.name,remotes:[]},i));let s=null==i?void 0:i.shareScopeKeys,l=null==i?void 0:i.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,n,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}):a.initShareScopeMap(e,n,{hostShareScopeMap:(null==i?void 0:i.shareScopeMap)||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,r):Promise.all(o.map(e=>t.I(e,r))).then(()=>!0):t.I(o||"default",r)}e.exports={runtime:function(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}(r),instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:s,consumes:l,I:c,S:{},installInitialConsumes:p,initContainerEntry:d},attachShareScopeMap:a,bundlerRuntimeOptions:{}}},2695:function(e,t,n){"use strict";n.d(t,{f:()=>Z,I:()=>k,u:()=>O,c:()=>Y,B:()=>h,n:()=>B,g:()=>Q,r:()=>N,U:()=>c,d:()=>J,o:()=>U,z:()=>$,s:()=>z,a:()=>f,O:()=>u,e:()=>p,S:()=>X,i:()=>b,t:()=>x,b:()=>s,m:()=>d});var r=n(5400),o=n(7395),i=Object.prototype.hasOwnProperty;function a(e,t){var n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&a(e[r],t[r]););return -1===r}if(!n||"object"==typeof e){for(n in r=0,e)if(i.call(e,n)&&++r&&!i.call(t,n)||!(n in t)||!a(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}let s=new WeakMap,l=()=>{},c=l(),u=Object,p=e=>e===c,f=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),h=e=>f(e.then),m={},g={},y="undefined",b=typeof window!=y,v=typeof document!=y,_=b&&"Deno"in window,E=()=>b&&typeof window.requestAnimationFrame!=y,$=(e,t)=>{let n=s.get(e);return[()=>!p(t)&&e.get(t)||m,r=>{if(!p(t)){let o=e.get(t);t in g||(g[t]=o),n[5](t,d(o,r),o||m)}},n[6],()=>!p(t)&&t in g?g[t]:!p(t)&&e.get(t)||m]},S=!0,w=()=>S,[A,I]=b&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[l,l],M={isOnline:w,isVisible:()=>{let e=v&&document.visibilityState;return p(e)||"hidden"!==e}},R={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),A("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),I("focus",e)}),initReconnect:e=>{let t=()=>{S=!0,e()},n=()=>{S=!1};return A("online",t),A("offline",n),()=>{I("online",t),I("offline",n)}}},k=!r.useId,N=!b||_,x=e=>E()?window.requestAnimationFrame(e):setTimeout(e,1),O=N?r.useEffect:r.useLayoutEffect,T="undefined"!=typeof navigator&&navigator.connection,C=!N&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),D=new WeakMap,P=e=>u.prototype.toString.call(e),L=(e,t)=>e===`[object ${t}]`,j=0,F=e=>{let t,n,r=typeof e,o=P(e),i=L(o,"Date"),a=L(o,"RegExp"),s=L(o,"Object");if(u(e)!==e||i||a)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=D.get(e))return t;if(t=++j+"~",D.set(e,t),Array.isArray(e)){for(n=0,t="@";n<e.length;n++)t+=F(e[n])+",";D.set(e,t)}if(s){t="#";let r=u.keys(e).sort();for(;!p(n=r.pop());)p(e[n])||(t+=n+":"+F(e[n])+",");D.set(e,t)}}return t},z=e=>{if(f(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?F(e):"",t]},H=0,U=()=>++H;async function B(...e){let[t,n,r,i]=e,a=d({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),l=a.populateCache,u=a.rollbackOnError,m=a.optimisticData,g=e=>"function"==typeof u?u(e):!1!==u,y=a.throwOnError;if(f(n)){let e=n,r=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(b))}return b(n);async function b(n){let i,[u]=z(n);if(!u)return;let[d,b]=$(t,u),[v,_,E,S]=s.get(t),w=()=>{let e=v[u];return(f(a.revalidate)?a.revalidate(d().data,n):!1!==a.revalidate)&&(delete E[u],delete S[u],e&&e[0])?e[0](o.q2).then(()=>d().data):d().data};if(e.length<3)return w();let A=r,I=!1,M=U();_[u]=[M,0];let R=!p(m),k=d(),N=k.data,x=k._c,O=p(x)?N:x;if(R&&b({data:m=f(m)?m(O,N):m,_c:O}),f(A))try{A=A(O)}catch(e){i=e,I=!0}if(A&&h(A)){if(A=await A.catch(e=>{i=e,I=!0}),M!==_[u][0]){if(I)throw i;return A}I&&R&&g(i)&&(l=!0,b({data:O,_c:c}))}if(l&&!I&&(f(l)?b({data:l(A,O),error:c,_c:c}):b({data:A,error:c,_c:c})),_[u][1]=U(),Promise.resolve(w()).then(()=>{b({_c:c})}),I){if(y)throw i;return}return A}}let V=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},G=(e,t)=>{if(!s.has(e)){let n=d(R,t),r=Object.create(null),i=B.bind(c,e),a=l,u=Object.create(null),p=(e,t)=>{let n=u[e]||[];return u[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);let o=u[t];if(o)for(let e of o)e(n,r)},h=()=>{if(!s.has(e)&&(s.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,f,p]),!N)){let t=n.initFocus(setTimeout.bind(c,V.bind(c,r,o.CC))),i=n.initReconnect(setTimeout.bind(c,V.bind(c,r,o.jB)));a=()=>{t&&t(),i&&i(),s.delete(e)}}};return h(),[e,i,h,a]}return[e,s.get(e)[4]]},q=(e,t,n,r,o)=>{let i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(p(i)||!(a>i))&&setTimeout(r,s,o)},W=a,[Y,K]=G(new Map),J=d({onLoadingSlow:l,onSuccess:l,onError:l,onErrorRetry:q,onDiscarded:l,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:C?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:C?5e3:3e3,compare:W,isPaused:()=>!1,cache:Y,mutate:K,fallback:{}},M),Z=(e,t)=>{let n=d(e,t);if(t){let{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=d(o,a))}return n},X=(0,r.createContext)({}),Q=e=>{let{value:t}=e,n=(0,r.useContext)(X),o=f(t),i=(0,r.useMemo)(()=>o?t(n):t,[o,n,t]),a=(0,r.useMemo)(()=>o?i:Z(n,i),[o,n,i]),s=i&&i.provider,l=(0,r.useRef)(c);s&&!l.current&&(l.current=G(s(a.cache||Y),i));let u=l.current;return u&&(a.cache=u[0],a.mutate=u[1]),O(()=>{if(u)return u[2]&&u[2](),u[3]},[]),(0,r.createElement)(X.Provider,d(e,{value:a}))}},2215:function(e,t,n){"use strict";n.d(t,{q:()=>r});let r="$inf$"},7395:function(e,t,n){"use strict";n.d(t,{CC:()=>r,I0:()=>a,jB:()=>o,q2:()=>i});let r=0,o=1,i=2,a=3},4764:function(e,t,n){"use strict";n.d(t,{Ht:()=>m,aw:()=>h,qm:()=>d});var r=n(2695),o=n(2215),i=n(5400);let a=r.i&&window.__SWR_DEVTOOLS_USE__,s=a?window.__SWR_DEVTOOLS_USE__:[],l=()=>{a&&(window.__SWR_DEVTOOLS_REACT__=i)},c=e=>(0,r.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=()=>{let e=(0,i.useContext)(r.S);return(0,i.useMemo)(()=>(0,r.m)(r.d,e),[e])},p=e=>(t,n,i)=>{let a=n&&((...e)=>{let[i]=(0,r.s)(t),[,,,a]=r.b.get(r.c);if(i.startsWith(o.q))return n(...e);let s=a[i];return(0,r.e)(s)?n(...e):(delete a[i],s)});return e(t,a,i)},f=s.concat(p),d=e=>function(...t){let n=u(),[o,i,a]=c(t),s=(0,r.f)(n,a),l=e,{use:p}=s,d=(p||[]).concat(f);for(let e=d.length;e--;)l=d[e](l);return l(o,i||s.fetcher||null,s)},h=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},m=(e,t)=>(...n)=>{let[r,o,i]=c(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};l()},4924:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(3624),o=n(4764);let i=e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)),a=(0,o.Ht)(r.Ay,i)},3624:function(e,t,n){"use strict";n.d(t,{Ay:()=>S,BE:()=>$});var r=n(5400),o=n(8139),i=n(2695),a=n(7395),s=n(4764);let l=()=>{},c=l(),u=null,p=e=>e===c,f=e=>"function"==typeof e,d=new WeakMap,h=e=>u.prototype.toString.call(e),m=(e,t)=>e===`[object ${t}]`,g=0,y=e=>{let t,n,r=typeof e,o=h(e),i=m(o,"Date"),a=m(o,"RegExp"),s=m(o,"Object");if(u(e)!==e||i||a)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=d.get(e))return t;if(t=++g+"~",d.set(e,t),Array.isArray(e)){for(n=0,t="@";n<e.length;n++)t+=y(e[n])+",";d.set(e,t)}if(s){t="#";let r=u.keys(e).sort();for(;!p(n=r.pop());)p(e[n])||(t+=n+":"+y(e[n])+",");d.set(e,t)}}return t},b=r.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),v={dedupe:!0},_=Promise.resolve(i.U),E=(e,t,n)=>{let{cache:l,compare:c,suspense:u,fallbackData:p,revalidateOnMount:f,revalidateIfStale:d,refreshInterval:h,refreshWhenHidden:m,refreshWhenOffline:g,keepPreviousData:y}=n,[E,$,S,w]=i.b.get(l),[A,I]=(0,i.s)(e),M=(0,r.useRef)(!1),R=(0,r.useRef)(!1),k=(0,r.useRef)(A),N=(0,r.useRef)(t),x=(0,r.useRef)(n),O=()=>x.current,T=()=>O().isVisible()&&O().isOnline(),[C,D,P,L]=(0,i.z)(l,A),j=(0,r.useRef)({}).current,F=(0,i.e)(p)?(0,i.e)(n.fallback)?i.U:n.fallback[A]:p,z=(e,t)=>{for(let n in j){let r=n;if("data"===r){if(!c(e[r],t[r])&&(!(0,i.e)(e[r])||!c(K,t[r])))return!1}else if(t[r]!==e[r])return!1}return!0},H=(0,r.useMemo)(()=>{let e=!!A&&!!t&&((0,i.e)(f)?!O().isPaused()&&!u&&!1!==d:f),n=t=>{let n=(0,i.m)(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=C(),o=L(),a=n(r),s=r===o?a:n(o),l=a;return[()=>{let e=n(C());return z(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[l,A]),U=(0,o.useSyncExternalStore)((0,r.useCallback)(e=>P(A,(t,n)=>{z(n,t)||e()}),[l,A]),H[0],H[1]),B=!M.current,V=E[A]&&E[A].length>0,G=U.data,q=(0,i.e)(G)?F&&(0,i.B)(F)?b(F):F:G,W=U.error,Y=(0,r.useRef)(q),K=y?(0,i.e)(G)?(0,i.e)(Y.current)?q:Y.current:G:q,J=(!V||!!(0,i.e)(W))&&(B&&!(0,i.e)(f)?f:!O().isPaused()&&(u?!(0,i.e)(q)&&d:(0,i.e)(q)||d)),Z=!!(A&&t&&B&&J),X=(0,i.e)(U.isValidating)?Z:U.isValidating,Q=(0,i.e)(U.isLoading)?Z:U.isLoading,ee=(0,r.useCallback)(async e=>{let t,r,o=N.current;if(!A||!o||R.current||O().isPaused())return!1;let s=!0,l=e||{},u=!S[A]||!l.dedupe,p=()=>i.I?!R.current&&A===k.current&&M.current:A===k.current,f={isValidating:!1,isLoading:!1},d=()=>{D(f)},h=()=>{let e=S[A];e&&e[1]===r&&delete S[A]},m={isValidating:!0};(0,i.e)(C().data)&&(m.isLoading=!0);try{if(u&&(D(m),n.loadingTimeout&&(0,i.e)(C().data)&&setTimeout(()=>{s&&p()&&O().onLoadingSlow(A,n)},n.loadingTimeout),S[A]=[o(I),(0,i.o)()]),[t,r]=S[A],t=await t,u&&setTimeout(h,n.dedupingInterval),!S[A]||S[A][1]!==r)return u&&p()&&O().onDiscarded(A),!1;f.error=i.U;let e=$[A];if(!(0,i.e)(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return d(),u&&p()&&O().onDiscarded(A),!1;let a=C().data;f.data=c(a,t)?a:t,u&&p()&&O().onSuccess(t,A,n)}catch(n){h();let e=O(),{shouldRetryOnError:t}=e;!e.isPaused()&&(f.error=n,u&&p()&&(e.onError(n,A,e),(!0===t||(0,i.a)(t)&&t(n))&&(!O().revalidateOnFocus||!O().revalidateOnReconnect||T())&&e.onErrorRetry(n,A,e,e=>{let t=E[A];t&&t[0]&&t[0](a.I0,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return s=!1,d(),!0},[A,l]),et=(0,r.useCallback)((...e)=>(0,i.n)(l,k.current,...e),[]);if((0,i.u)(()=>{N.current=t,x.current=n,(0,i.e)(G)||(Y.current=G)}),(0,i.u)(()=>{if(!A)return;let e=ee.bind(i.U,v),t=0;O().revalidateOnFocus&&(t=Date.now()+O().focusThrottleInterval);let n=(n,r={})=>{if(n==a.CC){let n=Date.now();O().revalidateOnFocus&&n>t&&T()&&(t=n+O().focusThrottleInterval,e())}else if(n==a.jB)O().revalidateOnReconnect&&T()&&e();else if(n==a.q2)return ee();else if(n==a.I0)return ee(r)},r=(0,s.aw)(A,E,n);return R.current=!1,k.current=A,M.current=!0,D({_k:I}),J&&!S[A]&&((0,i.e)(q)||i.r?e():(0,i.t)(e)),()=>{R.current=!0,r()}},[A]),(0,i.u)(()=>{let e;function t(){let t=(0,i.a)(h)?h(C().data):h;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!C().error&&(m||O().isVisible())&&(g||O().isOnline())?ee(v).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,m,g,A]),(0,r.useDebugValue)(K),u){let e=A&&(0,i.e)(q);if(!i.I&&i.r&&e)throw Error("Fallback data is required when using Suspense in SSR.");e&&(N.current=t,x.current=n,R.current=!1);let r=w[A];if(b(!(0,i.e)(r)&&e?et(r):_),!(0,i.e)(W)&&e)throw W;let o=e?ee(v):_;!(0,i.e)(K)&&e&&(o.status="fulfilled",o.value=!0),b(o)}return{mutate:et,get data(){return j.data=!0,K},get error(){return j.error=!0,W},get isValidating(){return j.isValidating=!0,X},get isLoading(){return j.isLoading=!0,Q}}},$=i.O.defineProperty(i.g,"defaultValue",{value:i.d}),S=(0,s.qm)(E)}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.x=()=>__webpack_require__(9101),(()=>{__webpack_require__.federation||(__webpack_require__.federation={chunkMatcher:function(e){return!/^(257|553|882)$/.test(e)},rootOutputDir:""})})(),(()=>{__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var o=Object.create(null);__webpack_require__.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{i[e]=()=>n[e]});return i.default=()=>n,__webpack_require__.d(o,i),o}})(),(()=>{__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{var e=__webpack_require__.x,t=!1;__webpack_require__.x=function(){if(t||(t=!0,__webpack_require__(4545)),"function"==typeof e)return e();console.warn("[MF] Invalid prevStartup")}})(),(()=>{__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,n)=>(__webpack_require__.f[n](e,t),t),[]))})(),(()=>{__webpack_require__.u=e=>""+e+".js"})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="@kenyaemr/esm-version-app:";__webpack_require__.l=function(n,r,o,i){if(e[n])return void e[n].push(r);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")==n||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=n),e[n]=[r];var p=function(t,r){a.onerror=a.onload=null,clearTimeout(f);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(r)}),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.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__.nc=void 0})(),(()=>{__webpack_require__.rv=()=>"1.5.8"})(),(()=>{__webpack_require__.S={},__webpack_require__.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.93.0",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("478"),__webpack_require__.e("94"),__webpack_require__.e("257")]).then(()=>()=>__webpack_require__(4181)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"8.0.1-pre.3423",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("478"),__webpack_require__.e("424"),__webpack_require__.e("129"),__webpack_require__.e("257"),__webpack_require__.e("882"),__webpack_require__.e("553")]).then(()=>()=>__webpack_require__(9603)),eager:0,singleton:1,requiredVersion:"8.x",strictVersion:0},{name:"react-i18next",version:"11.18.6",factory:()=>Promise.all([__webpack_require__.e("267"),__webpack_require__.e("257"),__webpack_require__.e("675")]).then(()=>()=>__webpack_require__(566)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.1",factory:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("998"),__webpack_require__.e("257")]).then(()=>()=>__webpack_require__(8053)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(4041)),eager:0,singleton:1,requiredVersion:"^18.1.0",strictVersion:0}]},uniqueName:"@kenyaemr/esm-version-app"},__webpack_require__.I=__webpack_require__.I||function(){throw Error("should have __webpack_require__.I")}})(),(()=>{__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var e,t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");__webpack_require__.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{__webpack_require__.consumesLoadingData={chunkMapping:{889:["5400","2722","5721","438"],553:["8088"],882:["5721","2722","438"],257:["5400"]},moduleIdToConsumeDataMapping:{2722:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"8.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("478"),__webpack_require__.e("424"),__webpack_require__.e("553")]).then(()=>()=>__webpack_require__(9603))},8088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("267").then(()=>()=>__webpack_require__(566))},5400:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^18.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>__webpack_require__.e("466").then(()=>()=>__webpack_require__(4041))},438:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("478"),__webpack_require__.e("94")]).then(()=>()=>__webpack_require__(4181))},5721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([__webpack_require__.e("689"),__webpack_require__.e("998")]).then(()=>()=>__webpack_require__(8053))}},initialConsumes:["5400","2722","5721","438"]},__webpack_require__.f.consumes=__webpack_require__.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")}})(),(()=>{var e={889:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(257|553|882)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=Error(),s=function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}};__webpack_require__.l(i,s,"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,s]=n,l=0;if(i.some(t=>0!==e[t])){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);s&&s(__webpack_require__)}for(t&&t(n);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_kenyaemr_esm_version_app=globalThis.webpackChunk_kenyaemr_esm_version_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{__webpack_require__.ruid="bundler=rspack@1.5.8"})();var __webpack_exports__=__webpack_require__.x()})();
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"auxiliaryFiles": [
|
|
118
118
|
"286.js.map"
|
|
119
119
|
],
|
|
120
|
-
"hash": "
|
|
120
|
+
"hash": "5e6e6be564e73f80",
|
|
121
121
|
"childrenByOrder": {}
|
|
122
122
|
},
|
|
123
123
|
{
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
"auxiliaryFiles": [
|
|
370
370
|
"main.js.map"
|
|
371
371
|
],
|
|
372
|
-
"hash": "
|
|
372
|
+
"hash": "4544a69e3f9f4c8b",
|
|
373
373
|
"childrenByOrder": {}
|
|
374
374
|
},
|
|
375
375
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[{"component":"about","route":"about","online":true,"offline":true}],"extensions":[],"version":"5.4.2-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[{"component":"about","route":"about","online":true,"offline":true}],"extensions":[],"version":"5.4.2-pre.2774"}
|
package/package.json
CHANGED
package/src/release-version.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
export const VERSION = {
|
|
5
5
|
"dirty": true,
|
|
6
|
-
"raw": "v5.4.1-
|
|
7
|
-
"hash": "
|
|
8
|
-
"distance":
|
|
6
|
+
"raw": "v5.4.1-200-gc764ffb-dirty",
|
|
7
|
+
"hash": "gc764ffb",
|
|
8
|
+
"distance": 200,
|
|
9
9
|
"tag": "v5.4.1",
|
|
10
10
|
"semver": {
|
|
11
11
|
"options": {
|
|
@@ -21,9 +21,9 @@ export const VERSION = {
|
|
|
21
21
|
"build": [],
|
|
22
22
|
"version": "5.4.1"
|
|
23
23
|
},
|
|
24
|
-
"suffix": "
|
|
25
|
-
"semverString": "5.4.1+
|
|
26
|
-
"version": "5.4.2-pre.
|
|
27
|
-
"buildDate": "2025-10-
|
|
24
|
+
"suffix": "200-gc764ffb-dirty",
|
|
25
|
+
"semverString": "5.4.1+200.gc764ffb",
|
|
26
|
+
"version": "5.4.2-pre.2774",
|
|
27
|
+
"buildDate": "2025-10-31T05:55:44.187Z"
|
|
28
28
|
};
|
|
29
29
|
/* tslint:enable */
|