@openmrs/esm-app-shell 5.5.1-pre.1717 → 5.5.1-pre.1720

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/.turbo/turbo-build.log +101 -100
  2. package/dist/{fa27473813e2db69.js → 2e49bd21ea50fd0d.js} +1 -1
  3. package/dist/{fa27473813e2db69.js.map → 2e49bd21ea50fd0d.js.map} +1 -1
  4. package/dist/5c62f0d56e0c8115.js +1 -0
  5. package/dist/5c62f0d56e0c8115.js.map +1 -0
  6. package/dist/{b66a463116735f62.js → b5151d35f680b40a.js} +1 -1
  7. package/dist/{b66a463116735f62.js.map → b5151d35f680b40a.js.map} +1 -1
  8. package/dist/index.html +1 -1
  9. package/dist/openmrs.47cba1a0a9ca4c4a.js +2 -0
  10. package/dist/openmrs.47cba1a0a9ca4c4a.js.map +1 -0
  11. package/dist/service-worker.js +1 -1
  12. package/lib/{49af280eabf5f1f5.js → 16952260ac894787.js} +0 -10
  13. package/lib/c6b8f1e4253e4be9.js +130 -0
  14. package/lib/esm-devtools-app/344.js +2 -0
  15. package/lib/esm-devtools-app/344.js.map +1 -0
  16. package/lib/esm-devtools-app/630.js +1 -1
  17. package/lib/esm-devtools-app/875.js +1 -1
  18. package/lib/esm-devtools-app/988.js +1 -1
  19. package/lib/esm-devtools-app/main.js +1 -1
  20. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
  21. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +32 -32
  22. package/lib/esm-devtools-app/routes.json +1 -1
  23. package/lib/esm-implementer-tools-app/15.js +2 -0
  24. package/lib/esm-implementer-tools-app/15.js.map +1 -0
  25. package/lib/esm-implementer-tools-app/319.js +1 -1
  26. package/lib/esm-implementer-tools-app/426.js +1 -1
  27. package/lib/esm-implementer-tools-app/426.js.map +1 -1
  28. package/lib/esm-implementer-tools-app/528.js +1 -1
  29. package/lib/esm-implementer-tools-app/528.js.map +1 -1
  30. package/lib/esm-implementer-tools-app/560.js +1 -1
  31. package/lib/esm-implementer-tools-app/560.js.map +1 -1
  32. package/lib/esm-implementer-tools-app/587.js +1 -1
  33. package/lib/esm-implementer-tools-app/587.js.map +1 -1
  34. package/lib/esm-implementer-tools-app/86.js +2 -0
  35. package/lib/esm-implementer-tools-app/86.js.map +1 -0
  36. package/lib/esm-implementer-tools-app/main.js +1 -1
  37. package/lib/esm-implementer-tools-app/main.js.map +1 -1
  38. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +1 -1
  39. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +42 -42
  40. package/lib/esm-implementer-tools-app/routes.json +1 -1
  41. package/lib/esm-login-app/main.js +1 -1
  42. package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
  43. package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +2 -2
  44. package/lib/esm-login-app/routes.json +1 -1
  45. package/lib/esm-offline-tools-app/59.js +2 -0
  46. package/lib/esm-offline-tools-app/59.js.map +1 -0
  47. package/lib/esm-offline-tools-app/922.js +1 -1
  48. package/lib/esm-offline-tools-app/922.js.map +1 -1
  49. package/lib/esm-offline-tools-app/main.js +1 -1
  50. package/lib/esm-offline-tools-app/main.js.map +1 -1
  51. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
  52. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +31 -31
  53. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.map +1 -1
  54. package/lib/esm-offline-tools-app/routes.json +1 -1
  55. package/lib/index.html +2 -2
  56. package/lib/openmrs.js +390 -15
  57. package/lib/service-worker.js +1 -1
  58. package/package.json +3 -3
  59. package/src/apps.ts +15 -11
  60. package/src/index.ts +7 -3
  61. package/src/locale.ts +1 -1
  62. package/src/run.ts +1 -14
  63. package/webpack.config.js +3 -0
  64. package/dist/5f5f9cd52166aff3.js +0 -1
  65. package/dist/5f5f9cd52166aff3.js.map +0 -1
  66. package/dist/openmrs.44b1e41367424773.js +0 -2
  67. package/dist/openmrs.44b1e41367424773.js.map +0 -1
  68. package/lib/e5ffee1cf55e84e0.js +0 -130
  69. package/lib/esm-devtools-app/961.js +0 -2
  70. package/lib/esm-devtools-app/961.js.map +0 -1
  71. package/lib/esm-implementer-tools-app/72.js +0 -2
  72. package/lib/esm-implementer-tools-app/72.js.map +0 -1
  73. package/lib/esm-implementer-tools-app/767.js +0 -2
  74. package/lib/esm-implementer-tools-app/767.js.map +0 -1
  75. package/lib/esm-offline-tools-app/430.js +0 -2
  76. package/lib/esm-offline-tools-app/430.js.map +0 -1
  77. package/lib/esm-primary-navigation-app/271.js +0 -1
  78. package/lib/esm-primary-navigation-app/319.js +0 -1
  79. package/lib/esm-primary-navigation-app/460.js +0 -1
  80. package/lib/esm-primary-navigation-app/574.js +0 -1
  81. package/lib/esm-primary-navigation-app/625.js +0 -1
  82. package/lib/esm-primary-navigation-app/63.js +0 -2
  83. package/lib/esm-primary-navigation-app/63.js.LICENSE.txt +0 -32
  84. package/lib/esm-primary-navigation-app/63.js.map +0 -1
  85. package/lib/esm-primary-navigation-app/644.js +0 -1
  86. package/lib/esm-primary-navigation-app/667.js +0 -1
  87. package/lib/esm-primary-navigation-app/667.js.map +0 -1
  88. package/lib/esm-primary-navigation-app/735.js +0 -2
  89. package/lib/esm-primary-navigation-app/735.js.LICENSE.txt +0 -9
  90. package/lib/esm-primary-navigation-app/735.js.map +0 -1
  91. package/lib/esm-primary-navigation-app/757.js +0 -1
  92. package/lib/esm-primary-navigation-app/762.js +0 -1
  93. package/lib/esm-primary-navigation-app/762.js.map +0 -1
  94. package/lib/esm-primary-navigation-app/780.js +0 -2
  95. package/lib/esm-primary-navigation-app/780.js.LICENSE.txt +0 -15
  96. package/lib/esm-primary-navigation-app/780.js.map +0 -1
  97. package/lib/esm-primary-navigation-app/788.js +0 -2
  98. package/lib/esm-primary-navigation-app/788.js.LICENSE.txt +0 -19
  99. package/lib/esm-primary-navigation-app/788.js.map +0 -1
  100. package/lib/esm-primary-navigation-app/807.js +0 -1
  101. package/lib/esm-primary-navigation-app/833.js +0 -1
  102. package/lib/esm-primary-navigation-app/884.js +0 -1
  103. package/lib/esm-primary-navigation-app/884.js.map +0 -1
  104. package/lib/esm-primary-navigation-app/889.js +0 -2
  105. package/lib/esm-primary-navigation-app/889.js.LICENSE.txt +0 -3
  106. package/lib/esm-primary-navigation-app/889.js.map +0 -1
  107. package/lib/esm-primary-navigation-app/958.js +0 -1
  108. package/lib/esm-primary-navigation-app/958.js.map +0 -1
  109. package/lib/esm-primary-navigation-app/main.js +0 -2
  110. package/lib/esm-primary-navigation-app/main.js.LICENSE.txt +0 -15
  111. package/lib/esm-primary-navigation-app/main.js.map +0 -1
  112. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +0 -1
  113. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +0 -509
  114. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.map +0 -1
  115. package/lib/esm-primary-navigation-app/routes.json +0 -1
  116. /package/dist/{openmrs.44b1e41367424773.js.LICENSE.txt → openmrs.47cba1a0a9ca4c4a.js.LICENSE.txt} +0 -0
  117. /package/lib/esm-devtools-app/{961.js.LICENSE.txt → 344.js.LICENSE.txt} +0 -0
  118. /package/lib/esm-implementer-tools-app/{72.js.LICENSE.txt → 15.js.LICENSE.txt} +0 -0
  119. /package/lib/esm-implementer-tools-app/{767.js.LICENSE.txt → 86.js.LICENSE.txt} +0 -0
  120. /package/lib/esm-offline-tools-app/{430.js.LICENSE.txt → 59.js.LICENSE.txt} +0 -0
@@ -1,100 +1,101 @@
1
- @openmrs/esm-app-shell:build: cache hit, replaying output b429d786364e3e7c
2
- @openmrs/esm-app-shell:build: 
3
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@5.5.1-pre.1717 build:production
4
- @openmrs/esm-app-shell:build: > cross-env OMRS_ESM_IMPORTMAP_URL="https://dev3.openmrs.org/openmrs/spa/importmap.json" OMRS_OFFLINE="enable" OMRS_CLEAN_BEFORE_BUILD="true" NODE_ENV="production" webpack --mode production
5
- @openmrs/esm-app-shell:build: 
6
- @openmrs/esm-app-shell:build: (node:3361) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
7
- @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
8
- @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
9
- @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
10
- @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
11
- @openmrs/esm-app-shell:build: assets by info 5.11 MiB [immutable]
12
- @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
13
- @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
14
- @openmrs/esm-app-shell:build:  assets by path *.js 1.38 MiB 13 assets
15
- @openmrs/esm-app-shell:build:  + 1 asset
16
- @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
17
- @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
18
- @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
19
- @openmrs/esm-app-shell:build:  asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
20
- @openmrs/esm-app-shell:build:  + 5 assets
21
- @openmrs/esm-app-shell:build: asset service-worker.js 159 KiB [emitted] [minimized] 1 related asset
22
- @openmrs/esm-app-shell:build: asset index.html 3.09 KiB [emitted]
23
- @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
24
- @openmrs/esm-app-shell:build: asset manifest.266df36f2271d27ae9bcaa196a2976ae.json 1.29 KiB [emitted]
25
- @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
26
- @openmrs/esm-app-shell:build: Entrypoint main [big] 2.67 MiB (1.79 MiB) = openmrs.3340c645af836919.css 1.34 MiB openmrs.44b1e41367424773.js 1.33 MiB 2 auxiliary assets
27
- @openmrs/esm-app-shell:build: orphan modules 10.3 MiB (javascript) 39.7 KiB (css/mini-extract) 2.4 MiB (asset) 73.8 KiB (runtime) [orphan] 1594 modules
28
- @openmrs/esm-app-shell:build: runtime modules 20.8 KiB 16 modules
29
- @openmrs/esm-app-shell:build: built modules 5.22 MiB (javascript) 1.34 MiB (css/mini-extract) 462 bytes (share-init) 462 bytes (consume-shared) [built]
30
- @openmrs/esm-app-shell:build:  modules by path ../../../node_modules/ 3.07 MiB (javascript) 582 KiB (css/mini-extract)
31
- @openmrs/esm-app-shell:build:  javascript modules 3.07 MiB 298 modules
32
- @openmrs/esm-app-shell:build:  css modules 582 KiB 11 modules
33
- @openmrs/esm-app-shell:build:  modules by path ../../framework/ 2 MiB (javascript) 793 KiB (css/mini-extract) 166 modules
34
- @openmrs/esm-app-shell:build:  provide-module modules 462 bytes 11 modules
35
- @openmrs/esm-app-shell:build:  consume-shared-module modules 462 bytes 11 modules
36
- @openmrs/esm-app-shell:build:  modules by path ./src/ 153 KiB
37
- @openmrs/esm-app-shell:build:  ./src/index.ts + 1 modules 84.2 KiB [built] [code generated]
38
- @openmrs/esm-app-shell:build:  ./src/run.ts + 4 modules 61.8 KiB [built] [code generated]
39
- @openmrs/esm-app-shell:build:  ./src/ui/breadcrumbs.tsx 7.37 KiB [built] [code generated]
40
- @openmrs/esm-app-shell:build: 
41
- @openmrs/esm-app-shell:build: LOG from InjectManifest
42
- @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
43
- @openmrs/esm-app-shell:build: <i>  201 URLs, totaling 5.38 MB.
44
- @openmrs/esm-app-shell:build: 
45
- @openmrs/esm-app-shell:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
46
- @openmrs/esm-app-shell:build: This can impact web performance.
47
- @openmrs/esm-app-shell:build: Assets:
48
- @openmrs/esm-app-shell:build:  openmrs.3340c645af836919.css (1.34 MiB)
49
- @openmrs/esm-app-shell:build:  openmrs.44b1e41367424773.js (1.33 MiB)
50
- @openmrs/esm-app-shell:build: 
51
- @openmrs/esm-app-shell:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
52
- @openmrs/esm-app-shell:build: Entrypoints:
53
- @openmrs/esm-app-shell:build:  main (2.67 MiB)
54
- @openmrs/esm-app-shell:build:  openmrs.3340c645af836919.css
55
- @openmrs/esm-app-shell:build:  openmrs.44b1e41367424773.js
56
- @openmrs/esm-app-shell:build: 
57
- @openmrs/esm-app-shell:build: 
58
- @openmrs/esm-app-shell:build: webpack 5.88.0 compiled with 2 warnings in 30043 ms
59
- @openmrs/esm-app-shell:build: 
60
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@5.5.1-pre.1717 build:development
61
- @openmrs/esm-app-shell:build: > cross-env OMRS_OFFLINE="enable" OMRS_CLEAN_BEFORE_BUILD="true" NODE_ENV="development" webpack --mode development
62
- @openmrs/esm-app-shell:build: 
63
- @openmrs/esm-app-shell:build: (node:3409) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
64
- @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
65
- @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
66
- @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
67
- @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
68
- @openmrs/esm-app-shell:build: assets by info 2.74 MiB [immutable]
69
- @openmrs/esm-app-shell:build:  assets by chunk 2.4 MiB (auxiliary name: main) 180 assets
70
- @openmrs/esm-app-shell:build:  assets by path *.js 358 KiB 12 assets
71
- @openmrs/esm-app-shell:build: assets by path esm-login-app/ 3.03 MiB 56 assets
72
- @openmrs/esm-app-shell:build: assets by path esm-implementer-tools-app/ 5.51 MiB 52 assets
73
- @openmrs/esm-app-shell:build: assets by path esm-offline-tools-app/ 4.6 MiB 40 assets
74
- @openmrs/esm-app-shell:build: assets by path esm-primary-navigation-app/ 2.96 MiB 39 assets
75
- @openmrs/esm-app-shell:build: assets by path esm-devtools-app/ 2.38 MiB 28 assets
76
- @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
77
- @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
78
- @openmrs/esm-app-shell:build:  + 7 assets
79
- @openmrs/esm-app-shell:build: + 6 assets
80
- @openmrs/esm-app-shell:build: orphan modules 1.48 MiB [orphan] 446 modules
81
- @openmrs/esm-app-shell:build: runtime modules 24.1 KiB 15 modules
82
- @openmrs/esm-app-shell:build: javascript modules 12.7 MiB 1231 modules
83
- @openmrs/esm-app-shell:build: asset modules 40.1 KiB (javascript) 2.4 MiB (asset)
84
- @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/dist/ 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
85
- @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/src/ 32.7 KiB 27 modules
86
- @openmrs/esm-app-shell:build: provide-module modules 462 bytes 11 modules
87
- @openmrs/esm-app-shell:build: consume-shared-module modules 462 bytes
88
- @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
89
- @openmrs/esm-app-shell:build:  modules by path consume shared module (default) swr/ 84 bytes 2 modules
90
- @openmrs/esm-app-shell:build:  + 7 modules
91
- @openmrs/esm-app-shell:build: optional modules 7.13 KiB [optional]
92
- @openmrs/esm-app-shell:build:  ../../framework/esm-translations/translations/am.json 800 bytes [optional] [built] [code generated]
93
- @openmrs/esm-app-shell:build:  ../../framework/esm-translations/translations/ar.json 799 bytes [optional] [built] [code generated]
94
- @openmrs/esm-app-shell:build:  + 7 modules
95
- @openmrs/esm-app-shell:build: 
96
- @openmrs/esm-app-shell:build: LOG from InjectManifest
97
- @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
98
- @openmrs/esm-app-shell:build: <i>  348 URLs, totaling 51.9 MB.
99
- @openmrs/esm-app-shell:build: 
100
- @openmrs/esm-app-shell:build: webpack 5.88.0 compiled successfully in 9570 ms
1
+ @openmrs/esm-app-shell:build: cache hit, replaying output 02327d1788ccbb25
2
+ @openmrs/esm-app-shell:build: 
3
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@5.5.1-pre.1720 build:production
4
+ @openmrs/esm-app-shell:build: > cross-env OMRS_ESM_IMPORTMAP_URL="https://dev3.openmrs.org/openmrs/spa/importmap.json" OMRS_OFFLINE="enable" OMRS_CLEAN_BEFORE_BUILD="true" NODE_ENV="production" webpack --mode production
5
+ @openmrs/esm-app-shell:build: 
6
+ @openmrs/esm-app-shell:build: (node:3164) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
7
+ @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
8
+ @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
9
+ @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
10
+ @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
11
+ @openmrs/esm-app-shell:build: assets by info 5.1 MiB [immutable]
12
+ @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
13
+ @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
14
+ @openmrs/esm-app-shell:build:  assets by path *.js 1.37 MiB 13 assets
15
+ @openmrs/esm-app-shell:build:  + 1 asset
16
+ @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
17
+ @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
18
+ @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
19
+ @openmrs/esm-app-shell:build:  asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
20
+ @openmrs/esm-app-shell:build:  + 5 assets
21
+ @openmrs/esm-app-shell:build: asset service-worker.js 159 KiB [emitted] [minimized] 1 related asset
22
+ @openmrs/esm-app-shell:build: asset index.html 3.09 KiB [emitted]
23
+ @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
24
+ @openmrs/esm-app-shell:build: asset manifest.266df36f2271d27ae9bcaa196a2976ae.json 1.29 KiB [emitted]
25
+ @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
26
+ @openmrs/esm-app-shell:build: Entrypoint main [big] 2.66 MiB (1.78 MiB) = openmrs.3340c645af836919.css 1.34 MiB openmrs.47cba1a0a9ca4c4a.js 1.32 MiB 2 auxiliary assets
27
+ @openmrs/esm-app-shell:build: orphan modules 10.3 MiB (javascript) 39.7 KiB (css/mini-extract) 2.4 MiB (asset) 73.8 KiB (runtime) [orphan] 1625 modules
28
+ @openmrs/esm-app-shell:build: runtime modules 20.6 KiB 15 modules
29
+ @openmrs/esm-app-shell:build: built modules 5.18 MiB (javascript) 1.34 MiB (css/mini-extract) 462 bytes (share-init) 462 bytes (consume-shared) [built]
30
+ @openmrs/esm-app-shell:build:  modules by path ../../../node_modules/ 3.03 MiB (javascript) 582 KiB (css/mini-extract)
31
+ @openmrs/esm-app-shell:build:  javascript modules 3.03 MiB 300 modules
32
+ @openmrs/esm-app-shell:build:  css modules 582 KiB 11 modules
33
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/ 2 MiB (javascript) 793 KiB (css/mini-extract) 166 modules
34
+ @openmrs/esm-app-shell:build:  provide-module modules 462 bytes 11 modules
35
+ @openmrs/esm-app-shell:build:  consume-shared-module modules 462 bytes 11 modules
36
+ @openmrs/esm-app-shell:build:  modules by path ./src/ 152 KiB
37
+ @openmrs/esm-app-shell:build:  ./src/index.ts + 1 modules 84.3 KiB [built] [code generated]
38
+ @openmrs/esm-app-shell:build:  ./src/run.ts + 4 modules 59.9 KiB [built] [code generated]
39
+ @openmrs/esm-app-shell:build:  ./src/ui/breadcrumbs.tsx 7.37 KiB [built] [code generated]
40
+ @openmrs/esm-app-shell:build: 
41
+ @openmrs/esm-app-shell:build: LOG from InjectManifest
42
+ @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
43
+ @openmrs/esm-app-shell:build: <i>  201 URLs, totaling 5.37 MB.
44
+ @openmrs/esm-app-shell:build: 
45
+ @openmrs/esm-app-shell:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
46
+ @openmrs/esm-app-shell:build: This can impact web performance.
47
+ @openmrs/esm-app-shell:build: Assets:
48
+ @openmrs/esm-app-shell:build:  openmrs.3340c645af836919.css (1.34 MiB)
49
+ @openmrs/esm-app-shell:build:  openmrs.47cba1a0a9ca4c4a.js (1.32 MiB)
50
+ @openmrs/esm-app-shell:build: 
51
+ @openmrs/esm-app-shell:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
52
+ @openmrs/esm-app-shell:build: Entrypoints:
53
+ @openmrs/esm-app-shell:build:  main (2.66 MiB)
54
+ @openmrs/esm-app-shell:build:  openmrs.3340c645af836919.css
55
+ @openmrs/esm-app-shell:build:  openmrs.47cba1a0a9ca4c4a.js
56
+ @openmrs/esm-app-shell:build: 
57
+ @openmrs/esm-app-shell:build: 
58
+ @openmrs/esm-app-shell:build: webpack 5.88.0 compiled with 2 warnings in 106133 ms
59
+ @openmrs/esm-app-shell:build: 
60
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@5.5.1-pre.1720 build:development
61
+ @openmrs/esm-app-shell:build: > cross-env OMRS_OFFLINE="enable" OMRS_CLEAN_BEFORE_BUILD="true" NODE_ENV="development" webpack --mode development
62
+ @openmrs/esm-app-shell:build: 
63
+ @openmrs/esm-app-shell:build: Not serving @openmrs/esm-primary-navigation-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-primary-navigation-app/dist
64
+ @openmrs/esm-app-shell:build: (node:3389) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
65
+ @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
66
+ @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
67
+ @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
68
+ @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
69
+ @openmrs/esm-app-shell:build: assets by info 2.74 MiB [immutable]
70
+ @openmrs/esm-app-shell:build:  assets by chunk 2.4 MiB (auxiliary name: main) 180 assets
71
+ @openmrs/esm-app-shell:build:  assets by path *.js 352 KiB 12 assets
72
+ @openmrs/esm-app-shell:build: assets by path esm-login-app/ 3.03 MiB 56 assets
73
+ @openmrs/esm-app-shell:build: assets by path esm-implementer-tools-app/ 5.49 MiB 52 assets
74
+ @openmrs/esm-app-shell:build: assets by path esm-offline-tools-app/ 4.59 MiB 40 assets
75
+ @openmrs/esm-app-shell:build: assets by path esm-devtools-app/ 2.4 MiB 28 assets
76
+ @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
77
+ @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
78
+ @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
79
+ @openmrs/esm-app-shell:build:  + 6 assets
80
+ @openmrs/esm-app-shell:build: + 6 assets
81
+ @openmrs/esm-app-shell:build: orphan modules 1.48 MiB [orphan] 446 modules
82
+ @openmrs/esm-app-shell:build: runtime modules 24.1 KiB 15 modules
83
+ @openmrs/esm-app-shell:build: javascript modules 12.7 MiB 1264 modules
84
+ @openmrs/esm-app-shell:build: asset modules 40.1 KiB (javascript) 2.4 MiB (asset)
85
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/dist/ 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
86
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/src/ 32.7 KiB 27 modules
87
+ @openmrs/esm-app-shell:build: provide-module modules 462 bytes 11 modules
88
+ @openmrs/esm-app-shell:build: consume-shared-module modules 462 bytes
89
+ @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
90
+ @openmrs/esm-app-shell:build:  modules by path consume shared module (default) swr/ 84 bytes 2 modules
91
+ @openmrs/esm-app-shell:build:  + 7 modules
92
+ @openmrs/esm-app-shell:build: optional modules 7.13 KiB [optional]
93
+ @openmrs/esm-app-shell:build:  ../../framework/esm-translations/translations/am.json 800 bytes [optional] [built] [code generated]
94
+ @openmrs/esm-app-shell:build:  ../../framework/esm-translations/translations/ar.json 799 bytes [optional] [built] [code generated]
95
+ @openmrs/esm-app-shell:build:  + 7 modules
96
+ @openmrs/esm-app-shell:build: 
97
+ @openmrs/esm-app-shell:build: LOG from InjectManifest
98
+ @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
99
+ @openmrs/esm-app-shell:build: <i>  320 URLs, totaling 50.3 MB.
100
+ @openmrs/esm-app-shell:build: 
101
+ @openmrs/esm-app-shell:build: webpack 5.88.0 compiled successfully in 9666 ms
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[954],{1954:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>v,CustomBreadcrumbItem:()=>h,default:()=>O});var n=r(4318),o=r.n(n),a=r(4807),i=r(5632);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e){if(Array.isArray(e))return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function m(e,t){return c(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}}(e,t)||y(e,t)||f()}function y(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function d(e,t){var r,n,o=function(e){if(Array.isArray(e))return u(e)}(n=t)||s(n)||y(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return e.replace(/:([A-Za-z0-9_]+)/g,(function(e){return null!==(r=o.shift())&&void 0!==r?r:e}))}function g(e,t){var r=null==t?void 0:t.exec(e);if(r)return(c(n=r)||s(n)||y(n)||f()).slice(1);var n,o=e.split("/");return o.pop(),o.length>1?g(o.join("/"),t):[]}var h=function(e){var t=e.breadcrumbRegistration,r=e.params,u=m((0,n.useState)(""),2),c=u[0],l=u[1];return(0,n.useEffect)((function(){"function"==typeof t.settings.title?Promise.resolve(t.settings.title(r)).then((function(e){return l(e)})):l(t.settings.title)}),[t,r]),o().createElement(a.gN6,{key:t.settings.path},o().createElement(i.ConfigurableLink,{to:d(t.settings.path,r)},c||o().createElement(a.lSo,null)))},v=function(){var e=m((0,n.useState)(location.pathname),2),t=e[0],r=e[1],u=(0,i.getBreadcrumbsFor)(t),c=u[u.length-1],l=g(t,null==c?void 0:c.matcher);return(0,n.useEffect)((function(){var e=function(){return r(location.pathname)};return window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}}),[]),u.length>4&&u.splice(1,u.length-3,b(p({},u[1]),{settings:b(p({},u[1].settings),{title:"..."})})),o().createElement(a.aGc,{className:"breadcrumbs-container"},u.map((function(e,t){return o().createElement(h,{key:"breadcrumb-item-".concat(t),breadcrumbRegistration:e,params:l})})))};const O=v}}]);
1
+ "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[954],{1954:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>v,CustomBreadcrumbItem:()=>h,default:()=>O});var n=r(4318),o=r.n(n),a=r(8051),i=r(5632);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e){if(Array.isArray(e))return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function m(e,t){return c(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}}(e,t)||y(e,t)||f()}function y(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function d(e,t){var r,n,o=function(e){if(Array.isArray(e))return u(e)}(n=t)||s(n)||y(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return e.replace(/:([A-Za-z0-9_]+)/g,(function(e){return null!==(r=o.shift())&&void 0!==r?r:e}))}function g(e,t){var r=null==t?void 0:t.exec(e);if(r)return(c(n=r)||s(n)||y(n)||f()).slice(1);var n,o=e.split("/");return o.pop(),o.length>1?g(o.join("/"),t):[]}var h=function(e){var t=e.breadcrumbRegistration,r=e.params,u=m((0,n.useState)(""),2),c=u[0],l=u[1];return(0,n.useEffect)((function(){"function"==typeof t.settings.title?Promise.resolve(t.settings.title(r)).then((function(e){return l(e)})):l(t.settings.title)}),[t,r]),o().createElement(a.gN6,{key:t.settings.path},o().createElement(i.ConfigurableLink,{to:d(t.settings.path,r)},c||o().createElement(a.lSo,null)))},v=function(){var e=m((0,n.useState)(location.pathname),2),t=e[0],r=e[1],u=(0,i.getBreadcrumbsFor)(t),c=u[u.length-1],l=g(t,null==c?void 0:c.matcher);return(0,n.useEffect)((function(){var e=function(){return r(location.pathname)};return window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}}),[]),u.length>4&&u.splice(1,u.length-3,b(p({},u[1]),{settings:b(p({},u[1].settings),{title:"..."})})),o().createElement(a.aGc,{className:"breadcrumbs-container"},u.map((function(e,t){return o().createElement(h,{key:"breadcrumb-item-".concat(t),breadcrumbRegistration:e,params:l})})))};const O=v}}]);
@@ -1 +1 @@
1
- {"version":3,"file":"fa27473813e2db69.js","mappings":"gmEAKA,SAASA,EAAQC,EAAcC,GAC7B,IACgDC,E,EAD1CA,E,+CAAYD,I,uLAClB,OAAOD,EAAKG,QAAQ,qBAAqB,SAACC,G,OAAiB,QAAXF,EAAAA,EAAMG,eAANH,IAAAA,EAAAA,EAAiBE,C,GACnE,CAEA,SAASE,EAAUN,EAA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,OAAO,EAAGP,EAAYtB,OAAS,EAAG,OACzCsB,EAAY,IAAE,CACjBd,SAAU,OACLc,EAAY,GAAGd,UAAQ,CAC1BH,MAAO,WAMX,kBAACyB,EAAAA,IAAUA,CAACC,UAAU,yBACnBT,EAAYU,KAAI,SAACC,EAAIC,G,OACpB,kBAAChC,EAAAA,CAAqBY,IAAK,mBAAyB,OAANoB,GAAS/B,uBAAwB8B,EAAI7C,OAAQA,G,IAInG,EAEA,S","sources":["webpack://@openmrs/esm-app-shell/./src/ui/breadcrumbs.tsx"],"names":["getPath","path","params","parts","replace","s","shift","getParams","matcher","match","exec","segments","split","pop","length","join","CustomBreadcrumbItem","breadcrumbRegistration","useState","title","setTitle","useEffect","settings","Promise","resolve","then","res","BreadcrumbItem","key","ConfigurableLink","to","InlineLoading","Breadcrumbs","location","pathname","setPath","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","Breadcrumb","className","map","bc","index"],"sourceRoot":""}
1
+ {"version":3,"file":"2e49bd21ea50fd0d.js","mappings":"gmEAKA,SAASA,EAAQC,EAAcC,GAC7B,IACgDC,E,EAD1CA,E,+CAAYD,I,uLAClB,OAAOD,EAAKG,QAAQ,qBAAqB,SAACC,G,OAAiB,QAAXF,EAAAA,EAAMG,eAANH,IAAAA,EAAAA,EAAiBE,C,GACnE,CAEA,SAASE,EAAUN,EAAcO,GAC/B,IAAMC,EAAQD,aAAAA,EAAAA,EAASE,KAAKT,GAE5B,GAAIQ,EAEF,O,IADsBA,I,iBAAAA,MAAb,GAGT,I,EAAME,EAAWV,EAAKW,MAAM,KAG5B,OAFAD,EAASE,MAELF,EAASG,OAAS,EAEbP,EADSI,EAASI,KAAK,KACJP,GAIvB,EACT,CAOO,IAAMQ,EAA4D,Y,IAAGC,EAAAA,EAAAA,uBAAwBf,EAAAA,EAAAA,OACxEgB,EAAAA,GAAAA,EAAAA,EAAAA,UAAS,OAA5BC,EAAmBD,EAAAA,GAAZE,EAAYF,EAAAA,GAU1B,OARAG,EAAAA,EAAAA,YAAU,WAC6C,mBAA1CJ,EAAuBK,SAASH,MACzCI,QAAQC,QAAQP,EAAuBK,SAASH,MAAMjB,IAASuB,MAAK,SAACC,G,OAAQN,EAASM,E,IAEtFN,EAASH,EAAuBK,SAASH,MAE7C,GAAG,CAACF,EAAwBf,IAG1B,kBAACyB,EAAAA,IAAcA,CAACC,IAAKX,EAAuBK,SAASrB,MACnD,kBAAC4B,EAAAA,iBAAgBA,CAACC,GAAI9B,EAAQiB,EAAuBK,SAASrB,KAAMC,IACjEiB,GAAgB,kBAACY,EAAAA,IAAaA,OAIvC,EAEaC,EAAwB,WACnC,IAAwBd,EAAAA,GAAAA,EAAAA,EAAAA,UAASe,SAASC,UAAQ,GAA3CjC,EAAiBiB,EAAAA,GAAXiB,EAAWjB,EAAAA,GAClBkB,GAAcC,EAAAA,EAAAA,mBAAkBpC,GAChCqC,EAAYF,EAAYA,EAAYtB,OAAS,GAC7CZ,EAASK,EAAUN,EAAMqC,aAAAA,EAAAA,EAAW9B,SAkB1C,OAhBAa,EAAAA,EAAAA,YAAU,WACR,IAAMkB,EAAU,W,OAAMJ,EAAQF,SAASC,S,EAEvC,OADAM,OAAOC,iBAAiB,WAAYF,GAC7B,W,OAAMC,OAAOE,oBAAoB,WAAYH,E,CACtD,GAAG,IAECH,EAAYtB,OAAS,GACvBsB,EAAYO,OAAO,EAAGP,EAAYtB,OAAS,EAAG,OACzCsB,EAAY,IAAE,CACjBd,SAAU,OACLc,EAAY,GAAGd,UAAQ,CAC1BH,MAAO,WAMX,kBAACyB,EAAAA,IAAUA,CAACC,UAAU,yBACnBT,EAAYU,KAAI,SAACC,EAAIC,G,OACpB,kBAAChC,EAAAA,CAAqBY,IAAK,mBAAyB,OAANoB,GAAS/B,uBAAwB8B,EAAI7C,OAAQA,G,IAInG,EAEA,S","sources":["webpack://@openmrs/esm-app-shell/./src/ui/breadcrumbs.tsx"],"names":["getPath","path","params","parts","replace","s","shift","getParams","matcher","match","exec","segments","split","pop","length","join","CustomBreadcrumbItem","breadcrumbRegistration","useState","title","setTitle","useEffect","settings","Promise","resolve","then","res","BreadcrumbItem","key","ConfigurableLink","to","InlineLoading","Breadcrumbs","location","pathname","setPath","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","Breadcrumb","className","map","bc","index"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[254],{9023:(e,n,t)=>{var r={"./am.json":[3878,878],"./ar.json":[6283,283],"./en.json":[783,783],"./es.json":[4073,73],"./fr.json":[7595,595],"./he.json":[4762,762],"./km.json":[1298,463],"./zh.json":[7625,625],"./zh_CN.json":[3460,460]};function o(e){if(!t.o(r,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],o=n[0];return t.e(n[1]).then((()=>t.t(o,19)))}o.keys=()=>Object.keys(r),o.id=9023,e.exports=o},6254:(e,n,t)=>{"use strict";t.r(n),t.d(n,{run:()=>Q});var r=t(1962),o=t(7034),i={bootstrap:function(){return Promise.resolve()},mount:function(){return Promise.resolve()},unmount:function(){return Promise.resolve()}};function a(e,n,t,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void t(e)}c.done?n(s):Promise.resolve(s).then(r,o)}function c(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function c(e){a(i,r,o,c,s,"next",e)}function s(e){a(i,r,o,c,s,"throw",e)}c(void 0)}))}}function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var l=[];function u(e){if(Array.isArray(e)){var n=e.map(u);return function(e){return n.some((function(n){return n(e)}))}}return"string"==typeof e?(0,r.pathToActiveWhen)(window.getOpenmrsSpaBase()+e):(t=e,(null!=(o=RegExp)&&"undefined"!=typeof Symbol&&o[Symbol.hasInstance]?o[Symbol.hasInstance](t):t instanceof o)?function(n){return function(e,n){return e.test(n.pathname.replace(window.getOpenmrsSpaBase(),""))}(e,n)}:function(){return e});var t,o}var f="startupApp",d=new Map;function p(e,n){return c((function(){var t;return function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(r){switch(r.label){case 0:return[4,(0,o.importDynamic)(e)];case 1:return(t=r.sent())&&Object.hasOwn(t,n)&&"function"==typeof t[n]?e in d?[3,3]:[4,d[e]=new Promise((function(e,n){if(Object.hasOwn(t,f)){var r=t[f];if("function"==typeof r)return Promise.resolve(r()).then(e).catch(n)}e(null)}))]:[3,6];case 2:return r.sent(),[3,5];case 3:return[4,d[e]];case 4:r.sent(),r.label=5;case 5:return[2,Promise.resolve(t[n]())];case 6:t&&Object.hasOwn(t,n)?console.warn("The export ".concat(n," of the app ").concat(e," is not a function")):console.warn("The app ".concat(e," does not define a component called ").concat(n,", this cannot be loaded")),r.label=7;case 7:return[2,i]}}))}))}function h(e,n){if(e&&n&&"object"==typeof n){var t,r;(0,o.registerModuleWithConfigSystem)(e);var i,a,c=null!==(r=n.extensions)&&void 0!==r?r:[],u=null!==(i=n.modals)&&void 0!==i?i:[],f=null!==(a=n.workspaces)&&void 0!==a?a:[];null===(t=n.pages)||void 0===t||t.forEach((function(n){var t,r,o;n&&"object"==typeof n&&Object.hasOwn(n,"component")&&(Object.hasOwn(n,"route")||Object.hasOwn(n,"routeRegex")||Object.hasOwn(n,"routes"))?l.push((r=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){s(e,n,t[n])}))}return e}({},n),o=null!=(o={order:null!==(t=n.order)&&void 0!==t?t:Number.MAX_SAFE_INTEGER,appName:e})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))})),r)):console.warn("A page for ".concat(e," could not be registered as it does not appear to have the required properties"),n)})),c.forEach((function(n){n&&"object"==typeof n&&Object.hasOwn(n,"name")&&Object.hasOwn(n,"component")?v(e,n):console.warn("An extension for ".concat(e," could not be registered as it does not appear to have the required properties"),n)})),u.forEach((function(n){n&&"object"==typeof n&&Object.hasOwn(n,"name")&&Object.hasOwn(n,"component")?function(e,n){var t=n.name;if(t)if(n.component||n.load){var r=void 0;if(n.component)r=p(e,n.component);else if(n.load){if("function"!=typeof n.load)return void console.error("The modal ".concat(t," from ").concat(e," declares a 'load' property that is not a function. This is not\nsupported, so the modal will not be loaded."));r=n.load}r&&(0,o.registerModal)({name:t,load:r,moduleName:e})}else console.error("The modal ".concat(t," from ").concat(e," is missing a 'component' entry and thus cannot be registered.\nTo fix this, ensure that you define a 'component' field inside the modal definition."),n);else console.error("A modal definition in ".concat(e,' is missing an name and thus cannot be\nregistered. To fix this, ensure that you define the "name" field inside the\nmodal definition.'),n)}(e,n):console.warn("A modal for ".concat(e," could not be registered as it does not appear to have the required properties"),n)})),f.forEach((function(n){n&&"object"==typeof n&&Object.hasOwn(n,"name")&&Object.hasOwn(n,"component")?function(e,n){var t=n.name;if(t){var r=n.title;if(r)if(n.component||n.load){var i=void 0;if(n.component)i=p(e,n.component);else if(n.load){if("function"!=typeof n.load)return void console.error("The workspace ".concat(t," from ").concat(e," declares a 'load' property that is not a function. This is not\nsupported, so the workspace will not be loaded."));i=n.load}i&&(0,o.registerWorkspace)({name:t,title:r,load:i,moduleName:e,type:n.type,canHide:n.canHide,canMaximize:n.canMaximize,width:n.width,preferredWindowSize:n.preferredWindowSize})}else console.error("The workspace ".concat(t," from ").concat(e," is missing a 'component' entry and thus cannot be registered.\nTo fix this, ensure that you define a 'component' field inside the workspace definition."),n);else console.error("A workspace definition in ".concat(e,' is missing a title and thus cannot be registered.\nTo fix this, ensure that you define the "title" field inside the workspace definition.'),n)}else console.error("A workspace definition in ".concat(e,' is missing a name and thus cannot be registered.\nTo fix this, ensure that you define the "name" field inside the workspace definition.'),n)}(e,n):console.warn("A workspace for ".concat(e," could not be registered as it does not appear to have the required properties"),n)}))}}function m(){l.sort((function(e,n){var t=e.order-n.order;return 0!=t?t:e.appName.localeCompare(n.appName,"en")}));var e=new Map,n=!0,t=!1,r=void 0;try{for(var o,i=l[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;e.has(a.appName)?e.set(a.appName,e.get(a.appName)+1):e.set(a.appName,0);var c=e.get(a.appName),s="".concat(a.appName,"-page-").concat(c),u=document.createElement("div");u.id="single-spa-application:".concat(s),document.body.appendChild(u),y(s,a)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}}function y(e,n){var t=void 0!==n.route?n.route:void 0!==n.routeRegex&&new RegExp(n.routeRegex);if(!1!==t)if(n.component){var o=function(e,n){var t=n.online,r=n.offline;return function(n){return!!(navigator.onLine&&(null==t||t)||!navigator.onLine&&null!=r&&r)&&e(n)}}(u(t),n),i=p(n.appName,n.component);(0,r.registerApplication)(e,i,o)}else console.warn('A registered page definition is missing a component and thus cannot be registered.\nTo fix this, ensure that you define the "component" field inside the page definition.',e);else console.warn('A registered page definition is missing a route and thus cannot be registered.\nTo fix this, ensure that you define the "route" (or alternatively the "routeRegex") field inside the extension definition.',e)}function v(e,n){var t=n.name;if(t){n.slots&&n.slot&&console.warn("The extension ".concat(t," from ").concat(e," declares both a 'slots' property and\na 'slot' property. Only the 'slots' property will be honored."));var r=n.slots?n.slots:n.slot?[n.slot]:[];if(n.component||n.load){var i,a,c=void 0;if(n.component)c=p(e,n.component);else if(n.load){if("function"!=typeof n.load)return void console.error("The extension ".concat(t," from ").concat(e," declares a 'load' property that is not a function. This is not\nsupported, so the extension will not be loaded."));c=n.load}c&&(0,o.registerExtension)({name:t,load:c,meta:n.meta||{},order:n.order,moduleName:e,privileges:n.privileges,online:null===(i=n.online)||void 0===i||i,offline:null!==(a=n.offline)&&void 0!==a&&a,featureFlag:n.featureFlag});var s=!0,l=!1,u=void 0;try{for(var f,d=r[Symbol.iterator]();!(s=(f=d.next()).done);s=!0){var h=f.value;(0,o.attach)(h,t)}}catch(e){l=!0,u=e}finally{try{s||null==d.return||d.return()}finally{if(l)throw u}}}else console.error("The extension ".concat(t," from ").concat(e," is missing a 'component' entry and thus cannot be registered.\nTo fix this, ensure that you define a 'component' field inside the extension definition."),n)}else console.error("An extension definition in ".concat(e,' is missing an name and thus cannot be\nregistered. To fix this, ensure that you define the "name" field inside the\nextension definition.'),n)}var b=t(9574),g=t.n(b),w=t(4259),O=t(4607),S=t(2775);function j(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function x(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,c=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return j(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?j(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,n,t){if("function"!=typeof e.importTranslation)throw Error("Module ".concat(n," does not export an importTranslation function"));var r,o,i=e.importTranslation("./".concat(t,".json"));if(r=i,!(null!=(o=Promise)&&"undefined"!=typeof Symbol&&o[Symbol.hasInstance]?o[Symbol.hasInstance](r):r instanceof o))throw Error("Module ".concat(n," exports an importTranslation function that does not return a promise. Did you forget to set require.context mode to 'lazy'?"));return i}(0,o.registerTranslationNamespace)("core");var P=t(5632),A="@openmrs/esm-app-shell";function T(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function N(e,n,t,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void t(e)}c.done?n(s):Promise.resolve(s).then(r,o)}function E(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){N(i,r,o,a,c,"next",e)}function c(e){N(i,r,o,a,c,"throw",e)}a(void 0)}))}}function C(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function M(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var R=Symbol("openmrs_registration_promises");function I(){return I=E((function(){var e,n,t,r,i,a,c,s,l;return M(this,(function(u){switch(u.label){case 0:for(e=document.querySelectorAll("script[type='openmrs-routes']"),n=[],t=0;t<e.length;t++)n.push(function(){var e=E((function(e){var n,t,r;return M(this,(function(i){switch(i.label){case 0:n=void 0,i.label=1;case 1:return i.trys.push([1,5,,6]),e.textContent?(n=JSON.parse(e.textContent),[3,4]):[3,2];case 2:return e.src?[4,(0,o.openmrsFetch)(e.src)]:[3,4];case 3:n=i.sent().data,i.label=4;case 4:return[3,6];case 5:return t=i.sent(),console.error("Caught error while loading routes from ".concat(null!==(r=e.src)&&void 0!==r?r:"JSON script tag content"),t),[2,{}];case 6:return[2,Promise.resolve(null!=n?n:{})]}}))}));return function(n){return e.apply(this,arguments)}}()(e.item(t)));if((0,o.canAccessStorage)())for(r=function(e){var t=i.key(e);if(null==t?void 0:t.startsWith(o.localStorageRoutesPrefix)){var r=i.getItem(t);if(r)try{var a=JSON.parse(r);(0,o.isOpenmrsAppRoutes)(a)?n.push(Promise.resolve(C({},t.slice(o.localStorageRoutesPrefix.length),a))):"string"==typeof a&&a.startsWith("http")?n.push((0,o.openmrsFetch)(a).then((function(e){return(0,o.isOpenmrsAppRoutes)(e.data)?Promise.resolve(C({},t.slice(o.localStorageRoutesPrefix.length),e.data)):Promise.reject("".concat(a," did not resolve to a valid OpenmrsAppRoutes JSON object"))})).catch((function(e){throw console.warn("Failed to fetch route overrides for ".concat(t.slice(o.localStorageRoutesPrefix.length)),e),e}))):console.warn("Route override for ".concat(t.slice(o.localStorageRoutesPrefix.length)," could not be handled as it was neither a JSON object nor a URL string"),r)}catch(e){console.error("Error parsing local route override for ".concat(t),e)}}},i=window.localStorage,a=0;a<i.length;a++)r(a);return[4,Promise.allSettled(n)];case 1:return c=u.sent().filter((function(e){return"fulfilled"===e.status})).map((function(e){return e.value})).filter(o.isOpenmrsRoutes).reduce((function(e,n){return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){C(e,n,t[n])}))}return e}({},e,n)}),{}),s=[],l=Object.entries(c).map((f=E((function(e){var n,t,r;return M(this,(function(o){return n=function(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,c=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return T(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?T(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,2),t=n[0],r=n[1],s.push([t,r]),h(t,r),[2]}))})),function(e){return f.apply(this,arguments)})),window[R]=Promise.all(l),window.installedModules=s,[2]}var f}))})),I.apply(this,arguments)}function q(e){return L.apply(this,arguments)}function L(){return(L=E((function(e){var n,t,r,i,a,c;return M(this,(function(s){n=!0,t=!1,r=void 0;try{for(i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)c=a.value,(0,o.provide)(c.value,c.name)}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}return[2]}))}))).apply(this,arguments)}function D(){var e=navigator.onLine;(0,r.triggerAppChange)(),(0,o.dispatchConnectivityChanged)(e),(0,o.showToast)({critical:!0,description:"Connection: ".concat(e?"online":"offline"),title:"App",kind:e?"success":"warning"})}function _(){return(window.i18next=g()||b,new MutationObserver((function(){window.i18next.changeLanguage(void 0).catch((function(e){return console.error("i18next failed to re-detect language",e)}))})).observe(document.documentElement,{attributeFilter:["lang"],attributes:!0}),window.i18next.on("languageChanged",(function(){document.documentElement.setAttribute("dir",window.i18next.dir())})),window.i18next.use(w.Z).use({type:"backend",init:function(){},read:function(e,n,r){"translation"===n?r(Error("can't handle translation namespace"),null):void 0===n||void 0===e?r(Error(),null):"core"===n?Promise.all([t(9023)("./".concat(e,".json")),(0,o.getTranslationOverrides)(n)]).then((function(n){var t=x(n,2),o=t[0],i=t[1],a=null!=o?o:{};e in i&&(a=(0,S.Z)(a,i[e])),r(null,a)})).catch((function(e){r(e,null)})):(0,o.importDynamic)(n).then((function(t){return Promise.all([k(t,n,e),(0,o.getTranslationOverrides)(n)])})).then((function(n){var t=x(n,2),o=t[0],i=t[1],a=null!=o?o:{};e in i&&(a=(0,S.Z)(a,i[e])),r(null,a)})).catch((function(e){r(e,null)}))}}).use(O.initReactI18next).init({detection:{order:["querystring","htmlTag","localStorage","navigator"],lookupQuerystring:"lang"},fallbackLng:"en"})).catch((function(e){return console.error("Failed to initialize translations",e)})).then((function(){return(0,r.start)()}))}function F(e){console.error(e),function(e){var n=document.querySelector("#app-error");if(n){var t=n.content.cloneNode(!0),r=t.querySelector('[data-var="message"]');if(r&&(r.textContent=(null==e?void 0:e.message)||"No additional information available."),localStorage.getItem("openmrs:devtools")&&Object.keys(localStorage).some((function(e){return e.startsWith("import-map-override:")}))){var o=null==t?void 0:t.querySelector("#buttons");if(o){var i=document.createElement("button");i.className="cds--btn",i.innerHTML="Clear dev overrides",i.onclick=W,o.appendChild(i)}}document.body.appendChild(t)}}(e)}function W(){var e=!0,n=!1,t=void 0;try{for(var r,o=Object.keys(localStorage)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;i.startsWith("import-map-override:")&&!["import-map-override:react","import-map-override:react-dom"].includes(i)&&localStorage.removeItem(i)}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}location.reload()}function U(){return z.apply(this,arguments)}function z(){return(z=E((function(){var e;return M(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,(0,o.registerOmrsServiceWorker)("".concat(window.getOpenmrsSpaBase(),"service-worker.js"))];case 1:return n.sent(),[4,(0,o.activateOfflineCapability)()];case 2:return n.sent(),3e5,t=null,r=function(e,n){var r=!t||(new Date).getTime()-t.getTime()>3e5;n&&e&&r&&(t=new Date,(0,o.dispatchPrecacheStaticDependencies)())},i=!1,a=!1,(0,o.getCurrentUser)({includeAuthStatus:!1}).subscribe((function(e){r(i,a=!!e)})),(0,o.subscribeConnectivity)((function(e){var n=e.online;i=n,r(n,a)})),[3,4];case 3:return e=n.sent(),console.error("Error while setting up offline mode.",e),(0,o.showNotification)({kind:"error",title:"Offline Setup Error",description:e.message}),[3,4];case 4:return[2]}var t,r,i,a}))}))).apply(this,arguments)}function B(){return J.apply(this,arguments)}function J(){return(J=E((function(){var e;return M(this,(function(n){switch(n.label){case 0:return[4,H()];case 1:return n.sent(),e=new URL("".concat(window.openmrsBase).concat(o.restBaseUrl,"/session"),window.location.origin).href,[4,(0,o.messageOmrsServiceWorker)({type:"registerDynamicRoute",url:e,strategy:"network-first"})];case 2:return n.sent(),[4,(0,o.openmrsFetch)("".concat(o.restBaseUrl,"/session")).catch((function(e){return console.warn("Failed to precache the user session data from the app shell. MFs depending on this data may run into problems while offline.",e)}))];case 3:return n.sent(),[2]}}))}))).apply(this,arguments)}function H(){return G.apply(this,arguments)}function G(){return(G=E((function(){var e;return M(this,(function(n){switch(n.label){case 0:return[4,window.importMapOverrides.getCurrentPageMap()];case 1:return e=n.sent(),[4,(0,o.messageOmrsServiceWorker)({type:"onImportMapChanged",importMap:e})];case 2:return n.sent(),[2]}}))}))).apply(this,arguments)}function Z(){window.addEventListener("offline",D),window.addEventListener("online",D)}function $(){(0,o.subscribeConnectivity)((function(e){var n=e.online,t=document.querySelector("body");n?t.classList.remove("omrs-offline"):t.classList.add("omrs-offline")}))}function Q(e,n){var r=(0,o.renderLoadingSpinner)(document.body),i=function(e){var n=Promise.all(e.map((function(e){var n=(0,o.interpolateUrl)(e);return fetch(n).then((function(e){return e.json()})).then((function(n){return{name:e,value:n}})).catch((function(n){return console.error('Loading the config from "'.concat(e,'" failed.'),n),{name:e,value:{}}}))})));return function(){return n.then(q)}}(e);return(0,o.integrateBreakpoints)(),(0,o.renderToasts)(document.querySelector(".omrs-toasts-container")),(0,o.setupModals)(document.querySelector(".omrs-modals-container")),(0,o.renderInlineNotifications)(document.querySelector(".omrs-inline-notifications-container")),(0,o.renderActionableNotifications)(document.querySelector(".omrs-actionable-notifications-container")),(0,o.renderSnackbars)(document.querySelector(".omrs-snackbars-container")),(0,o.subscribeNotificationShown)(o.showNotification),(0,o.subscribeActionableNotificationShown)(o.showActionableNotification),(0,o.subscribeToastShown)(o.showToast),(0,o.subscribeSnackbarShown)(o.showSnackbar),(0,o.subscribePrecacheStaticDependencies)(B),(0,o.setupApiModule)(),(0,o.setupHistory)(),function(){var e,n=(e={featureName:"app-shell",moduleName:A},[{name:"breadcrumbs-widget",slot:"breadcrumbs-slot",load:(0,P.getAsyncLifecycle)((function(){return t.e(954).then(t.bind(t,1954))}),e),online:!0,offline:!0}]),r=!0,o=!1,i=void 0;try{for(var a,c=n[Symbol.iterator]();!(r=(a=c.next()).done);r=!0){var s=a.value;v(A,s)}}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}}(),function(){return I.apply(this,arguments)}().then(m).then(n?$:void 0).then(n?Z:void 0).then(i).then(_).catch(F).then(r).then(n?U:void 0)}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"5c62f0d56e0c8115.js","mappings":"kHAAA,IAAIA,EAAM,CACT,YAAa,CACZ,KACA,KAED,YAAa,CACZ,KACA,KAED,YAAa,CACZ,IACA,KAED,YAAa,CACZ,KACA,IAED,YAAa,CACZ,KACA,KAED,YAAa,CACZ,KACA,KAED,YAAa,CACZ,KACA,KAED,YAAa,CACZ,KACA,KAED,eAAgB,CACf,KACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBU,EAAED,EAAI,KA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AAAA,cAAa7K,SAAS0G,cAAc,4BAQpCoE,EAAAA,EAAAA,aAAY9K,SAAS0G,cAAc,4BAjBnCqE,EAAAA,EAAAA,2BAA0B/K,SAAS0G,cAAc,0CAKjDsE,EAAAA,EAAAA,+BAA8BhL,SAAS0G,cAAc,8CAQrDuE,EAAAA,EAAAA,iBAAgBjL,SAAS0G,cAAc,+BAwHvCwE,EAAAA,EAAAA,4BAA2BvC,EAAAA,mBAC3BwC,EAAAA,EAAAA,sCAAqCC,EAAAA,6BACrCC,EAAAA,EAAAA,qBAAoB5G,EAAAA,YACpB6G,EAAAA,EAAAA,wBAAuBC,EAAAA,eACvBC,EAAAA,EAAAA,qCAAoC5C,IACpC6C,EAAAA,EAAAA,mBACAC,EAAAA,EAAAA,gBAhHF,WACE,ID5RMC,EC4RAtO,GD5RAsO,EAAU,CACdC,YAAa,YACbnN,WAAYjC,GAGP,CACL,CACE2B,KAAM,qBACN2C,KAAM,mBACN1C,MAAMyN,EAAAA,EAAAA,oBAAkB,W,OAAM,6B,GAAyBF,GACvDrL,QAAQ,EACRC,SAAS,KCkRR,mB,IAAL,QAAK,IAAmBlD,EAAAA,OAAAA,cAAnB,0BAA+B,CAA/B,IAAMuD,EAAN,QACH3C,EAAqBzB,EAASoE,EAChC,C,UAFK,Q,aAAA,6B,YAAA,E,MAAA,C,EAGP,CA4GEkL,G,kBA3ValK,EAAAA,MAAAA,KAAAA,U,CA6VNA,GACJzH,KAAKiF,GACLjF,KAAKoG,EAAUqJ,OAAyBtL,GACxCnE,KAAKoG,EAAUmJ,OAA0BpL,GACzCnE,KAAKiQ,GACLjQ,KAAK0K,GACL/H,MAAM0J,GACNrM,KAAK+P,GACL/P,KAAKoG,EAAUoH,OAAerJ,EACnC,C","sources":["webpack://@openmrs/esm-app-shell/../../../node_modules/@openmrs/esm-translations/translations/ lazy ^\\.\\/.*\\.json$ namespace object","webpack://@openmrs/esm-app-shell/./src/helpers.ts","webpack://@openmrs/esm-app-shell/./src/apps.ts","webpack://@openmrs/esm-app-shell/./src/locale.ts","webpack://@openmrs/esm-app-shell/./src/ui/index.ts","webpack://@openmrs/esm-app-shell/./src/run.ts"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","t","keys","Object","module","exports","emptyLifecycle","bootstrap","mount","unmount","pages","getActivityFn","route","Array","isArray","activators","location","some","activator","pathToActiveWhen","window","getOpenmrsSpaBase","RegExp","regex","test","pathname","replace","routeRegex","STARTUP_FUNCTION","initializedApps","Map","getLoader","appName","component","importDynamic","hasOwn","reject","startup","catch","console","warn","registerApp","routes","registerModuleWithConfigSystem","availableExtensions","extensions","availableModals","modals","availableWorkspaces","workspaces","forEach","p","push","order","Number","MAX_SAFE_INTEGER","ext","tryRegisterExtension","modal","name","load","loader","undefined","error","registerModal","moduleName","tryRegisterModal","workspace","title","registerWorkspace","type","canHide","canMaximize","width","preferredWindowSize","tryRegisterWorkspace","finishRegisteringAllApps","sort","a","b","localeCompare","appIndices","page","has","set","get","index","div","document","createElement","body","appendChild","tryRegisterPage","activityFn","online","offline","navigator","onLine","wrapPageActivityFn","registerApplication","extension","slots","slot","registerExtension","meta","privileges","featureFlag","attach","getImportPromise","namespace","language","importTranslation","importPromise","registerTranslationNamespace","REGISTRATION_PROMISES","Symbol","setupApps","scriptTags","promises","i","localStorage","modules","registrationPromises","querySelectorAll","length","scriptTag","textContent","JSON","parse","src","openmrsFetch","data","item","canAccessStorage","key","startsWith","localStorageRoutesPrefix","localOverride","getItem","maybeOpenmrsRoutes","isOpenmrsAppRoutes","slice","response","reason","allSettled","filter","status","value","isOpenmrsRoutes","reduce","accumulatedRoutes","entries","all","installedModules","loadConfigs","configs","config","provide","connectivityChanged","triggerAppChange","dispatchConnectivityChanged","showToast","critical","description","kind","runShell","i18next","MutationObserver","changeLanguage","observe","documentElement","attributeFilter","attributes","on","setAttribute","dir","use","LanguageDetector","init","read","callback","getTranslationOverrides","json","overrides","translations","merge","err","initReactI18next","detection","lookupQuerystring","fallbackLng","start","handleInitFailure","template","querySelector","fragment","content","cloneNode","messageContainer","message","k","appErrorActionButtons","clearDevOverridesButton","className","innerHTML","onclick","clearDevOverrides","renderFatalErrorPage","includes","removeItem","reload","setupOffline","registerOmrsServiceWorker","activateOfflineCapability","lastPrecache","cb","hasLoggedInUser","hasExceededPrecacheDelay","Date","getTime","dispatchPrecacheStaticDependencies","isOnline","getCurrentUser","includeAuthStatus","subscribe","user","subscribeConnectivity","showNotification","precacheGlobalStaticDependencies","sessionPathUrl","precacheImportMap","URL","restBaseUrl","openmrsBase","origin","href","messageOmrsServiceWorker","url","strategy","importMap","importMapOverrides","getCurrentPageMap","registerOfflineHandlers","addEventListener","setupOfflineCssClasses","classList","remove","add","run","configUrls","closeLoading","renderLoadingSpinner","provideConfigs","loadingConfigs","configUrl","interpolatedUrl","interpolateUrl","fetch","res","createConfigLoader","integrateBreakpoints","renderToasts","setupModals","renderInlineNotifications","renderActionableNotifications","renderSnackbars","subscribeNotificationShown","subscribeActionableNotificationShown","showActionableNotification","subscribeToastShown","subscribeSnackbarShown","showSnackbar","subscribePrecacheStaticDependencies","setupApiModule","setupHistory","options","featureName","getAsyncLifecycle","registerCoreExtensions"],"sourceRoot":""}
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[571],{4259:(e,o,t)=>{t.d(o,{Z:()=>S});var n=t(908),r=t(5458),i=[],a=i.forEach,u=i.slice,c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,s={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var r=t[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(o))return r.substring(o.length,r.length)}return null}(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&function(e,o,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*t*1e3)),n&&(r.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var r=encodeURIComponent(o),i="".concat(e,"=").concat(r);if(n.maxAge>0){var a=n.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(a))}if(n.domain){if(!c.test(n.domain))throw new TypeError("option domain is invalid");i+="; Domain=".concat(n.domain)}if(n.path){if(!c.test(n.path))throw new TypeError("option path is invalid");i+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}(e,encodeURIComponent(o),r)}(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},l={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");i>0&&n[r].substring(0,i)===e.lookupQuerystring&&(o=n[r].substring(i+1))}}return o}},f=null,d=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){f=!1}return f},p={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},g=null,h=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){g=!1}return g},v={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&h()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&h()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},w={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},y={name:"path",lookup:function(e){var o,t,n;if("undefined"!=typeof window){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t=r,null!=(n=Array)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](t):t instanceof n)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof r[e.lookupFromPathIndex])return;o=r[e.lookupFromPathIndex].replace("/","")}else o=r[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}},S=function(){function e(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(o,t)}return(0,r.Z)(e,[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return a.call(u.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(s),this.addDetector(l),this.addDetector(p),this.addDetector(v),this.addDetector(m),this.addDetector(w),this.addDetector(y),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}]),e}();S.type="languageDetector"},766:(e,o,t)=>{t.d(o,{Z:()=>ee});var n=t(1120),r=t(5531);const i=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),a=function(e,o,t){"__proto__"==o&&i?i(e,o,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[o]=t};var u=t(5445);const c=function(e,o,t){(void 0!==t&&!(0,u.Z)(e[o],t)||void 0===t&&!(o in e))&&a(e,o,t)},s=function(e,o,t){for(var n=-1,r=Object(e),i=t(e),a=i.length;a--;){var u=i[l?a:++n];if(!1===o(r[u],u,r))break}return e};var l,f=t(9804),d="object"==typeof exports&&exports&&!exports.nodeType&&exports,p=d&&"object"==typeof module&&module&&!module.nodeType&&module,g=p&&p.exports===d?f.Z.Buffer:void 0,h=g?g.allocUnsafe:void 0;var v=t(1075);const m=function(e,o){var t,n,r=o?(t=e.buffer,n=new t.constructor(t.byteLength),new v.Z(n).set(new v.Z(t)),n):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};var w,y=t(4886),k=Object.create;const S=(w=function(){},function(e){if(!(0,y.Z)(e))return{};if(k)return k(e);w.prototype=e;var o=new w;return w.prototype=void 0,o});var b=t(2359),x=t(7917);var Z=t(1462),I=t(9071),O=t(8966),L=t(9337);var C=t(8483),_=t(2911),D=t(6684),T=t(6530);const U=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]};var A=Object.prototype.hasOwnProperty;const F=function(e,o,t){var n=e[o];A.call(e,o)&&(0,u.Z)(n,t)&&(void 0!==t||o in e)||a(e,o,t)};var E=t(9104);var j=Object.prototype.hasOwnProperty;const P=function(e){if(!(0,y.Z)(e))return function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}(e);var o=(0,x.Z)(e),t=[];for(var n in e)("constructor"!=n||!o&&j.call(e,n))&&t.push(n);return t},M=function(e){return(0,O.Z)(e)?(0,E.Z)(e,!0):P(e)},N=function(e){return function(e,o,t,n){var r=!t;t||(t={});for(var i=-1,u=o.length;++i<u;){var c=o[i],s=n?n(t[c],e[c],c,t,e):void 0;void 0===s&&(s=e[c]),r?a(t,c,s):F(t,c,s)}return t}(e,M(e))},z=function(e,o,t,n,r,i,a){var u,s=U(e,t),l=U(o,t),f=a.get(l);if(f)c(e,t,f);else{var d=i?i(s,l,t+"",e,o,a):void 0,p=void 0===d;if(p){var g=(0,I.Z)(l),v=!g&&(0,C.Z)(l),w=!g&&!v&&(0,T.Z)(l);d=l,g||v||w?(0,I.Z)(s)?d=s:(u=s,(0,L.Z)(u)&&(0,O.Z)(u)?d=function(e,o){var t=-1,n=e.length;for(o||(o=Array(n));++t<n;)o[t]=e[t];return o}(s):v?(p=!1,d=function(e,o){if(o)return e.slice();var t=e.length,n=h?h(t):new e.constructor(t);return e.copy(n),n}(l,!0)):w?(p=!1,d=m(l,!0)):d=[]):(0,D.Z)(l)||(0,Z.Z)(l)?(d=s,(0,Z.Z)(s)?d=N(s):(0,y.Z)(s)&&!(0,_.Z)(s)||(d=function(e){return"function"!=typeof e.constructor||(0,x.Z)(e)?{}:S((0,b.Z)(e))}(l))):p=!1}p&&(a.set(l,d),r(d,l,n,i,a),a.delete(l)),c(e,t,d)}},q=function e(o,t,r,i,a){o!==t&&s(t,(function(u,s){if(a||(a=new n.Z),(0,y.Z)(u))z(o,t,s,r,e,i,a);else{var l=i?i(U(o,s),u,s+"",o,t,a):void 0;void 0===l&&(l=u),c(o,s,l)}}),M)},B=function(e){return e};var Q=Math.max;const R=i?function(e,o){return i(e,"toString",{configurable:!0,enumerable:!1,value:(t=o,function(){return t}),writable:!0});var t}:B;var H=Date.now;const $=(G=R,J=0,K=0,function(){var e=H(),o=16-(e-K);if(K=e,o>0){if(++J>=800)return arguments[0]}else J=0;return G.apply(void 0,arguments)});var G,J,K;const V=function(e,o){return $(function(e,o,t){return o=Q(void 0===o?e.length-1:o,0),function(){for(var n=arguments,r=-1,i=Q(n.length-o,0),a=Array(i);++r<i;)a[r]=n[o+r];r=-1;for(var u=Array(o+1);++r<o;)u[r]=n[r];return u[o]=t(a),function(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}(e,this,u)}}(e,o,B),e+"")};var W=t(1699);var X,Y=(X=function(e,o,t){q(e,o,t)},V((function(e,o){var t=-1,n=o.length,r=n>1?o[n-1]:void 0,i=n>2?o[2]:void 0;for(r=X.length>3&&"function"==typeof r?(n--,r):void 0,i&&function(e,o,t){if(!(0,y.Z)(t))return!1;var n,r=void 0===o?"undefined":(n=o)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n;return!!("number"==r?(0,O.Z)(t)&&(0,W.Z)(o,t.length):"string"==r&&o in t)&&(0,u.Z)(t[o],e)}(o[0],o[1],i)&&(r=n<3?void 0:r,n=1),e=Object(e);++t<n;){var a=o[t];a&&X(e,a,t,r)}return e})));const ee=Y}}]);
1
+ "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[925],{4259:(e,o,t)=>{t.d(o,{Z:()=>S});var n=t(908),r=t(5458),i=[],a=i.forEach,u=i.slice,c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,s={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var r=t[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(o))return r.substring(o.length,r.length)}return null}(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&function(e,o,t,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(r.expires=new Date,r.expires.setTime(r.expires.getTime()+60*t*1e3)),n&&(r.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var r=encodeURIComponent(o),i="".concat(e,"=").concat(r);if(n.maxAge>0){var a=n.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(a))}if(n.domain){if(!c.test(n.domain))throw new TypeError("option domain is invalid");i+="; Domain=".concat(n.domain)}if(n.path){if(!c.test(n.path))throw new TypeError("option path is invalid");i+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");i+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i}(e,encodeURIComponent(o),r)}(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},l={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("=");i>0&&n[r].substring(0,i)===e.lookupQuerystring&&(o=n[r].substring(i+1))}}return o}},f=null,d=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){f=!1}return f},p={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},g=null,h=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){g=!1}return g},v={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&h()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&h()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},w={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},y={name:"path",lookup:function(e){var o,t,n;if("undefined"!=typeof window){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t=r,null!=(n=Array)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](t):t instanceof n)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof r[e.lookupFromPathIndex])return;o=r[e.lookupFromPathIndex].replace("/","")}else o=r[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}},S=function(){function e(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.Z)(this,e),this.type="languageDetector",this.detectors={},this.init(o,t)}return(0,r.Z)(e,[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return a.call(u.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(s),this.addDetector(l),this.addDetector(p),this.addDetector(v),this.addDetector(m),this.addDetector(w),this.addDetector(y),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}]),e}();S.type="languageDetector"},2775:(e,o,t)=>{t.d(o,{Z:()=>ee});var n=t(1120),r=t(5531);const i=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),a=function(e,o,t){"__proto__"==o&&i?i(e,o,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[o]=t};var u=t(5445);const c=function(e,o,t){(void 0!==t&&!(0,u.Z)(e[o],t)||void 0===t&&!(o in e))&&a(e,o,t)},s=function(e,o,t){for(var n=-1,r=Object(e),i=t(e),a=i.length;a--;){var u=i[l?a:++n];if(!1===o(r[u],u,r))break}return e};var l,f=t(9804),d="object"==typeof exports&&exports&&!exports.nodeType&&exports,p=d&&"object"==typeof module&&module&&!module.nodeType&&module,g=p&&p.exports===d?f.Z.Buffer:void 0,h=g?g.allocUnsafe:void 0;var v=t(1075);const m=function(e,o){var t,n,r=o?(t=e.buffer,n=new t.constructor(t.byteLength),new v.Z(n).set(new v.Z(t)),n):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};var w,y=t(4886),k=Object.create;const S=(w=function(){},function(e){if(!(0,y.Z)(e))return{};if(k)return k(e);w.prototype=e;var o=new w;return w.prototype=void 0,o});var b=t(2359),x=t(7917);var Z=t(1462),I=t(9071),O=t(8966),L=t(9337);var C=t(8483),_=t(2911),D=t(6684),T=t(6530);const U=function(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]};var A=Object.prototype.hasOwnProperty;const F=function(e,o,t){var n=e[o];A.call(e,o)&&(0,u.Z)(n,t)&&(void 0!==t||o in e)||a(e,o,t)};var E=t(9104);var j=Object.prototype.hasOwnProperty;const P=function(e){if(!(0,y.Z)(e))return function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}(e);var o=(0,x.Z)(e),t=[];for(var n in e)("constructor"!=n||!o&&j.call(e,n))&&t.push(n);return t},M=function(e){return(0,O.Z)(e)?(0,E.Z)(e,!0):P(e)},N=function(e){return function(e,o,t,n){var r=!t;t||(t={});for(var i=-1,u=o.length;++i<u;){var c=o[i],s=n?n(t[c],e[c],c,t,e):void 0;void 0===s&&(s=e[c]),r?a(t,c,s):F(t,c,s)}return t}(e,M(e))},z=function(e,o,t,n,r,i,a){var u,s=U(e,t),l=U(o,t),f=a.get(l);if(f)c(e,t,f);else{var d=i?i(s,l,t+"",e,o,a):void 0,p=void 0===d;if(p){var g=(0,I.Z)(l),v=!g&&(0,C.Z)(l),w=!g&&!v&&(0,T.Z)(l);d=l,g||v||w?(0,I.Z)(s)?d=s:(u=s,(0,L.Z)(u)&&(0,O.Z)(u)?d=function(e,o){var t=-1,n=e.length;for(o||(o=Array(n));++t<n;)o[t]=e[t];return o}(s):v?(p=!1,d=function(e,o){if(o)return e.slice();var t=e.length,n=h?h(t):new e.constructor(t);return e.copy(n),n}(l,!0)):w?(p=!1,d=m(l,!0)):d=[]):(0,D.Z)(l)||(0,Z.Z)(l)?(d=s,(0,Z.Z)(s)?d=N(s):(0,y.Z)(s)&&!(0,_.Z)(s)||(d=function(e){return"function"!=typeof e.constructor||(0,x.Z)(e)?{}:S((0,b.Z)(e))}(l))):p=!1}p&&(a.set(l,d),r(d,l,n,i,a),a.delete(l)),c(e,t,d)}},q=function e(o,t,r,i,a){o!==t&&s(t,(function(u,s){if(a||(a=new n.Z),(0,y.Z)(u))z(o,t,s,r,e,i,a);else{var l=i?i(U(o,s),u,s+"",o,t,a):void 0;void 0===l&&(l=u),c(o,s,l)}}),M)};var B=t(3296);var Q=Math.max;const R=i?function(e,o){return i(e,"toString",{configurable:!0,enumerable:!1,value:(t=o,function(){return t}),writable:!0});var t}:B.Z;var H=Date.now;const $=(G=R,J=0,K=0,function(){var e=H(),o=16-(e-K);if(K=e,o>0){if(++J>=800)return arguments[0]}else J=0;return G.apply(void 0,arguments)});var G,J,K;const V=function(e,o){return $(function(e,o,t){return o=Q(void 0===o?e.length-1:o,0),function(){for(var n=arguments,r=-1,i=Q(n.length-o,0),a=Array(i);++r<i;)a[r]=n[o+r];r=-1;for(var u=Array(o+1);++r<o;)u[r]=n[r];return u[o]=t(a),function(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}(e,this,u)}}(e,o,B.Z),e+"")};var W=t(1699);var X,Y=(X=function(e,o,t){q(e,o,t)},V((function(e,o){var t=-1,n=o.length,r=n>1?o[n-1]:void 0,i=n>2?o[2]:void 0;for(r=X.length>3&&"function"==typeof r?(n--,r):void 0,i&&function(e,o,t){if(!(0,y.Z)(t))return!1;var n,r=void 0===o?"undefined":(n=o)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n;return!!("number"==r?(0,O.Z)(t)&&(0,W.Z)(o,t.length):"string"==r&&o in t)&&(0,u.Z)(t[o],e)}(o[0],o[1],i)&&(r=n<3?void 0:r,n=1),e=Object(e);++t<n;){var a=o[t];a&&X(e,a,t,r)}return e})));const ee=Y}}]);
@@ -1 +1 @@
1
- {"version":3,"file":"b66a463116735f62.js","mappings":"uKAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAaZC,EAAqB,wCAwGrBC,EAAW,CACbC,KAAM,SACNC,OAAQ,SAAgBC,GACtB,IAAIC,EAEJ,GAAID,EAAQE,cAAoC,oBAAbC,SAA0B,CAC3D,IAAIC,EA1BF,SAAcN,GAIlB,IAHA,IAAIO,EAAS,GAAGC,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ist/esm/i18nextBrowserLanguageDetector.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_defineProperty.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseAssignValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_assignMergeValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseFor.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_createBaseFor.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneBuffer.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneArrayBuffer.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneTypedArray.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseCreate.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_safeGet.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_assignValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseKeysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_nativeKeysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/keysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/toPlainObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_copyObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseMergeDeep.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/isArrayLikeObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_copyArray.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_initCloneObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseMerge.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/identity.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_overRest.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseSetToString.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/constant.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_shortOut.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_setToString.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseRest.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_apply.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/merge.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_createAssigner.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_isIterateeCall.js"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie$1","name","lookup","options","found","lookupCookie","document","c","nameEQ","concat","ca","cookie","split","i","length","charAt","substring","indexOf","cacheUserLanguage","lng","value","minutes","domain","cookieOptions","arguments","undefined","path","sameSite","expires","Date","setTime","getTime","val","opt","encodeURIComponent","str","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","Browser","services","_classCallCheck","this","type","detectors","init","_createClass","key","i18nOptions","obj","call","source","prop","defaults","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","languageUtils","getBestMatchFromCodes","_this2","cacheName","func","getNative","Object","object","defineProperty","eq","baseAssignValue","iteratee","keysFunc","index","iterable","props","fromRight","freeExports","exports","nodeType","freeModule","module","Buffer","root","allocUnsafe","typedArray","isDeep","arrayBuffer","result","buffer","constructor","byteLength","Uint8Array","set","byteOffset","objectCreate","create","proto","isObject","prototype","hasOwnProperty","objValue","nativeKeysIn","isProto","isPrototype","isArrayLike","arrayLikeKeys","baseKeysIn","customizer","isNew","newValue","assignValue","copyObject","keysIn","srcIndex","mergeFunc","stack","safeGet","srcValue","stacked","get","assignMergeValue","isCommon","isArr","isArray","isBuff","isBuffer","isTyped","isTypedArray","isObjectLike","array","copyArray","copy","cloneBuffer","cloneTypedArray","isPlainObject","isArguments","toPlainObject","isFunction","baseCreate","getPrototype","initCloneObject","baseMerge","baseFor","Stack","baseMergeDeep","nativeMax","max","string","identity","nativeNow","now","baseSetToString","count","lastCalled","stamp","remaining","apply","start","setToString","transform","args","otherArgs","thisArg","overRest","assigner","merge","baseRest","sources","guard","isIndex","isIterateeCall"],"sourceRoot":""}
1
+ {"version":3,"file":"b5151d35f680b40a.js","mappings":"uKAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAaZC,EAAqB,wCAwGrBC,EAAW,CACbC,KAAM,SACNC,OAAQ,SAAgBC,GACtB,IAAIC,EAEJ,GAAID,EAAQE,cAAoC,oBAAbC,SAA0B,CAC3D,IAAIC,EA1BF,SAAcN,GAIlB,IAHA,IAAIO,EAAS,GAAGC,OAAOR,EAAM,KACzBS,EAAKJ,SAASK,OAAOC,MAAM,KAEtBC,EAAI,EAAGA,EAAIH,EAAGI,OAAQD,IAAK,CAGlC,IAFA,IAAIN,EAAIG,EAAGG,GAEY,MAAhBN,EAAEQ,OAAO,IACdR,EAAIA,EAAES,UAAU,EAAGT,EAAEO,QAGvB,GAA0B,IAAtBP,EAAEU,QAAQT,GAAe,OAAOD,EAAES,UAAUR,EAAOM,OAAQP,EAAEO,OACnE,CAEA,OAAO,IACT,CAWYH,CAAYR,EAAQE,cACxBE,IAAGH,EAAQG,EACjB,CAEA,OAAOH,CACT,EACAc,kBAAmB,SAA2BC,EAAKhB,GAC7CA,EAAQE,cAAoC,oBAAbC,UA/C7B,SAAgBL,EAAMmB,EAAOC,EAASC,GA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gN,EAAQ,QAAKrM,EAWtC,IATAyI,EAAa,EAAUpJ,OAAS,GAA0B,mBAAdoJ,GACvCpJ,IAAUoJ,QACXzI,EAEAsM,GCNR,SAAwB3M,EAAO2G,EAAON,GACpC,KAAK+B,EAAAA,EAAAA,GAAS/B,GACZ,OAAO,EAET,I,EAAI5B,OAAckC,IAAAA,EAAAA,a,EAAAA,I,qEAClB,SAAY,UAARlC,GACKkE,EAAAA,EAAAA,GAAYtC,KAAWuG,EAAAA,EAAAA,GAAQjG,EAAON,EAAO3G,QACrC,UAAR+E,GAAoBkC,KAASN,KAE7BE,EAAAA,EAAAA,GAAGF,EAAOM,GAAQ3G,EAG7B,CDNiB6M,CAAeH,EAAQ,GAAIA,EAAQ,GAAIC,KAClD7D,EAAapJ,EAAS,OAAIW,EAAYyI,EACtCpJ,EAAS,GAEX2G,EAASD,OAAOC,KACPM,EAAQjH,GAAQ,CACvB,IAAIuF,EAASyH,EAAQ/F,GACjB1B,GACFsH,EAASlG,EAAQpB,EAAQ0B,EAAOmC,EAEpC,CACA,OAAOzC,CACT,KDKF,U","sources":["webpack://@openmrs/esm-app-shell/../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_defineProperty.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseAssignValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_assignMergeValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseFor.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_createBaseFor.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneBuffer.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneArrayBuffer.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_cloneTypedArray.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseCreate.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_safeGet.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_assignValue.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseKeysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_nativeKeysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/keysIn.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/toPlainObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_copyObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseMergeDeep.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/isArrayLikeObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_copyArray.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_initCloneObject.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseMerge.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_overRest.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseSetToString.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/constant.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_shortOut.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_setToString.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_baseRest.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_apply.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/merge.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_createAssigner.js","webpack://@openmrs/esm-app-shell/../../../node_modules/lodash-es/_isIterateeCall.js"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie$1","name","lookup","options","found","lookupCookie","document","c","nameEQ","concat","ca","cookie","split","i","length","charAt","substring","indexOf","cacheUserLanguage","lng","value","minutes","domain","cookieOptions","arguments","undefined","path","sameSite","expires","Date","setTime","getTime","val","opt","encodeURIComponent","str","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","Browser","services","_classCallCheck","this","type","detectors","init","_createClass","key","i18nOptions","obj","call","source","prop","defaults","order","caches","excludeCacheFor","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","languageUtils","getBestMatchFromCodes","_this2","cacheName","func","getNative","Object","object","defineProperty","eq","baseAssignValue","iteratee","keysFunc","index","iterable","props","fromRight","freeExports","exports","nodeType","freeModule","module","Buffer","root","allocUnsafe","typedArray","isDeep","arrayBuffer","result","buffer","constructor","byteLength","Uint8Array","set","byteOffset","objectCreate","create","proto","isObject","prototype","hasOwnProperty","objValue","nativeKeysIn","isProto","isPrototype","isArrayLike","arrayLikeKeys","baseKeysIn","customizer","isNew","newValue","assignValue","copyObject","keysIn","srcIndex","mergeFunc","stack","safeGet","srcValue","stacked","get","assignMergeValue","isCommon","isArr","isArray","isBuff","isBuffer","isTyped","isTypedArray","isObjectLike","array","copyArray","copy","cloneBuffer","cloneTypedArray","isPlainObject","isArguments","toPlainObject","isFunction","baseCreate","getPrototype","initCloneObject","baseMerge","baseFor","Stack","baseMergeDeep","nativeMax","max","string","identity","nativeNow","now","baseSetToString","count","lastCalled","stamp","remaining","apply","start","setToString","transform","args","otherArgs","thisArg","overRest","assigner","merge","baseRest","sources","guard","isIndex","isIterateeCall"],"sourceRoot":""}
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en" data-default-lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>OpenMRS</title><link rel="shortcut icon" type="image/x-icon" href="/openmrs/spa/favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="importmap-type" content="systemjs-importmap"><link href="/openmrs/spa/openmrs.3340c645af836919.css" rel="stylesheet"><link rel="preload" href="https://dev3.openmrs.org/openmrs/spa/importmap.json" as="fetch" crossorigin="anonymous"><script type="systemjs-importmap" src="https://dev3.openmrs.org/openmrs/spa/importmap.json"></script><link rel="preload" href="/openmrs/spa/routes.registry.json" as="fetch" crossorigin="anonymous"><script type="openmrs-routes" src="/openmrs/spa/routes.registry.json"></script><meta name="theme-color" content="#000000" /><link rel="manifest" href="/openmrs/spa/manifest.266df36f2271d27ae9bcaa196a2976ae.json" /></head><body><script src="/openmrs/spa/openmrs.44b1e41367424773.js"></script><div class="omrs-toasts-container"></div><div class="omrs-inline-notifications-container"></div><div class="omrs-actionable-notifications-container"></div><div class="omrs-snackbars-container"></div><div class="omrs-modals-container"></div><template id="loading-spinner"><div class="omrs-loading-spinner"><div data-inline-loading="" class="cds--inline-loading" role="alert" aria-live="assertive"><div class="cds--inline-loading__animation"><div data-inline-loading-spinner="" class="cds--loading cds--loading--small"><svg class="cds--loading__svg" viewBox="-75 -75 150 150"><circle class="cds--loading__background" cx="0" cy="0" r="26.8125"></circle><circle class="cds--loading__stroke" cx="0" cy="0" r="26.8125"></circle></svg></div></div><p data-inline-loading-text-active="" class="cds--inline-loading__text">Loading ...</p></div></div></template><template id="app-error"><div class="omrs-app-error"><h1>Application Error</h1><p>Something went wrong. Please try reloading.</p><p>If the problem persists contact your system administrator.</p><div id="buttons"><button class="cds--btn cds--btn--primary" onclick="location.reload()">Reload</button></div><div class="cds--snippet cds--snippet--single"><div tabindex="0" class="cds--snippet-container" aria-label="Code Snippet Text"><pre>
1
+ <!doctype html><html lang="en" data-default-lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>OpenMRS</title><link rel="shortcut icon" type="image/x-icon" href="/openmrs/spa/favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="importmap-type" content="systemjs-importmap"><link href="/openmrs/spa/openmrs.3340c645af836919.css" rel="stylesheet"><link rel="preload" href="https://dev3.openmrs.org/openmrs/spa/importmap.json" as="fetch" crossorigin="anonymous"><script type="systemjs-importmap" src="https://dev3.openmrs.org/openmrs/spa/importmap.json"></script><link rel="preload" href="/openmrs/spa/routes.registry.json" as="fetch" crossorigin="anonymous"><script type="openmrs-routes" src="/openmrs/spa/routes.registry.json"></script><meta name="theme-color" content="#000000" /><link rel="manifest" href="/openmrs/spa/manifest.266df36f2271d27ae9bcaa196a2976ae.json" /></head><body><script src="/openmrs/spa/openmrs.47cba1a0a9ca4c4a.js"></script><div class="omrs-toasts-container"></div><div class="omrs-inline-notifications-container"></div><div class="omrs-actionable-notifications-container"></div><div class="omrs-snackbars-container"></div><div class="omrs-modals-container"></div><template id="loading-spinner"><div class="omrs-loading-spinner"><div data-inline-loading="" class="cds--inline-loading" role="alert" aria-live="assertive"><div class="cds--inline-loading__animation"><div data-inline-loading-spinner="" class="cds--loading cds--loading--small"><svg class="cds--loading__svg" viewBox="-75 -75 150 150"><circle class="cds--loading__background" cx="0" cy="0" r="26.8125"></circle><circle class="cds--loading__stroke" cx="0" cy="0" r="26.8125"></circle></svg></div></div><p data-inline-loading-text-active="" class="cds--inline-loading__text">Loading ...</p></div></div></template><template id="app-error"><div class="omrs-app-error"><h1>Application Error</h1><p>Something went wrong. Please try reloading.</p><p>If the problem persists contact your system administrator.</p><div id="buttons"><button class="cds--btn cds--btn--primary" onclick="location.reload()">Reload</button></div><div class="cds--snippet cds--snippet--single"><div tabindex="0" class="cds--snippet-container" aria-label="Code Snippet Text"><pre>
2
2
  <code data-var="message"></code>
3
3
  </pre></div><button data-copy-btn class="cds--copy-btn" type="button" tabindex="0" onclick="copyText(this.parentElement)"><span class="cds--assistive-text cds--copy-btn__feedback">Copied!</span> <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="cds--snippet__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M14,5v9H5V5h9m0-1H5A1,1,0,0,0,4,5v9a1,1,0,0,0,1,1h9a1,1,0,0,0,1-1V5a1,1,0,0,0-1-1Z"></path><path d="M2,9H1V2A1,1,0,0,1,2,1H9V2H2Z"></path></svg></button></div></div></template><script>initializeSpa({
4
4
  apiUrl: "/openmrs",