@egen-civitas/esm-app-shell 2.8.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +16 -0
  3. package/dependencies.json +19 -0
  4. package/dist/070530aea3a19822.js +1 -0
  5. package/dist/{e434e9efa94d634e.js.map → 070530aea3a19822.js.map} +1 -1
  6. package/dist/07afbeba88e2923d.js +1 -0
  7. package/dist/{ff7adcceeab417a0.js.map → 07afbeba88e2923d.js.map} +1 -1
  8. package/dist/1443cb23e8b4cbce.js +1 -0
  9. package/dist/{4e0af7b5d94013d0.js.map → 1443cb23e8b4cbce.js.map} +1 -1
  10. package/dist/1e936725b318d684.js +1 -0
  11. package/dist/{041aeeb0ca42ae01.js.map → 1e936725b318d684.js.map} +1 -1
  12. package/dist/1fabaf0e2e60e3b9.js +1 -0
  13. package/dist/{8e50c3c524aac2bf.js.map → 1fabaf0e2e60e3b9.js.map} +1 -1
  14. package/dist/20657ca044e03c5a.js +1 -0
  15. package/dist/{37369bd491b04d82.js.map → 20657ca044e03c5a.js.map} +1 -1
  16. package/dist/246806dd9ae12a92.js +1 -0
  17. package/dist/{8926c48c07805edd.js.map → 246806dd9ae12a92.js.map} +1 -1
  18. package/dist/26949fe619102b62.js +1 -0
  19. package/dist/{ef89be2b45789b69.js.map → 26949fe619102b62.js.map} +1 -1
  20. package/dist/2e2ccc5b81ae0b4c.js +1 -0
  21. package/dist/2e2ccc5b81ae0b4c.js.map +1 -0
  22. package/dist/3dd2d843b6fa21ef.js +1 -0
  23. package/dist/3dd2d843b6fa21ef.js.map +1 -0
  24. package/dist/3f0bf1710c0f5c33.js +1 -1
  25. package/dist/3fbae27bb859d346.js +1 -0
  26. package/dist/{0e3db8918b14833b.js.map → 3fbae27bb859d346.js.map} +1 -1
  27. package/dist/43f82cd54c0c48e0.js +1 -0
  28. package/dist/{74eed2ec42061635.js.map → 43f82cd54c0c48e0.js.map} +1 -1
  29. package/dist/449200dce625680d.js +1 -0
  30. package/dist/449200dce625680d.js.map +1 -0
  31. package/dist/45b17115b906a767.js +1 -0
  32. package/dist/{5e2b7af8e3fe1fcb.js.map → 45b17115b906a767.js.map} +1 -1
  33. package/dist/483f5d54626fca91.js +1 -0
  34. package/dist/{a0180cad40a59732.js.map → 483f5d54626fca91.js.map} +1 -1
  35. package/dist/4a2f3f0990960cfa.js +1 -0
  36. package/dist/{9b823f2b54d8b47d.js.map → 4a2f3f0990960cfa.js.map} +1 -1
  37. package/dist/4c1d57587e948076.js +1 -0
  38. package/dist/{6c37d18d1f594e69.js.map → 4c1d57587e948076.js.map} +1 -1
  39. package/dist/5b9292f6b1ef4f67.js +1 -0
  40. package/dist/5b9292f6b1ef4f67.js.map +1 -0
  41. package/dist/5d1ac8f2406dc803.js +1 -0
  42. package/dist/{e763f2a342abef64.js.map → 5d1ac8f2406dc803.js.map} +1 -1
  43. package/dist/5d4f980e83eca951.js +1 -0
  44. package/dist/{0dfc347b3fede04f.js.map → 5d4f980e83eca951.js.map} +1 -1
  45. package/dist/5d8c66b968bfa0b1.js +1 -0
  46. package/dist/{f1df8502b59fa42f.js.map → 5d8c66b968bfa0b1.js.map} +1 -1
  47. package/dist/{7724d776295b30da.css → 67c7c33d226f8c4a.css} +1 -1
  48. package/dist/67c7c33d226f8c4a.css.map +1 -0
  49. package/dist/685fd90ff07192f2.js +20 -0
  50. package/dist/685fd90ff07192f2.js.map +1 -0
  51. package/dist/6fac09387ea447dc.js +1 -0
  52. package/dist/{2724277f118c037b.js.map → 6fac09387ea447dc.js.map} +1 -1
  53. package/dist/783bb97a27cbc27d.js +1 -0
  54. package/dist/{badf3c58fd3e99e5.js.map → 783bb97a27cbc27d.js.map} +1 -1
  55. package/dist/808a369a2efa7bf8.js +1 -0
  56. package/dist/808a369a2efa7bf8.js.map +1 -0
  57. package/dist/848b3881142315e7.js +1 -0
  58. package/dist/848b3881142315e7.js.map +1 -0
  59. package/dist/92ed5567879eef19.js +1 -0
  60. package/dist/{f3256b31f274fefe.js.map → 92ed5567879eef19.js.map} +1 -1
  61. package/dist/9f8b6d1a8bd1e165.js +1 -0
  62. package/dist/{8d5080b913bc0b37.js.map → 9f8b6d1a8bd1e165.js.map} +1 -1
  63. package/dist/a0ae18b14b632c4c.js +1 -0
  64. package/dist/{a14ac70fdd3ac138.js.map → a0ae18b14b632c4c.js.map} +1 -1
  65. package/dist/a3fc03ebf1f697a2.js +1 -0
  66. package/dist/{45b5873945d16bc6.js.map → a3fc03ebf1f697a2.js.map} +1 -1
  67. package/dist/a5016fdaca56afb3.js +1 -0
  68. package/dist/{7db1d553dc1c0db9.js.map → a5016fdaca56afb3.js.map} +1 -1
  69. package/dist/a8b33008bcae34c4.js +1 -0
  70. package/dist/a8b33008bcae34c4.js.map +1 -0
  71. package/dist/ab6367dd1f905927.js +1 -0
  72. package/dist/{5bd4626f7e38f4e6.js.map → ab6367dd1f905927.js.map} +1 -1
  73. package/dist/afd03412170268a7.js +1 -0
  74. package/dist/{86bbfd945b42ab73.js.map → afd03412170268a7.js.map} +1 -1
  75. package/dist/b101702058a503c4.js +1 -0
  76. package/dist/{76ec661149e72bed.js.map → b101702058a503c4.js.map} +1 -1
  77. package/dist/{78c7eaec52473470.js → b427906c58512a01.js} +1 -1
  78. package/dist/{78c7eaec52473470.js.map → b427906c58512a01.js.map} +1 -1
  79. package/dist/{c5323074579b6496.js → b7324828bac24446.js} +1 -1
  80. package/dist/b7324828bac24446.js.map +1 -0
  81. package/dist/c0dc8450d1068f33.js +1 -0
  82. package/dist/{61403bcf61831ed8.js.map → c0dc8450d1068f33.js.map} +1 -1
  83. package/dist/c77ee8199ab1d5a3.js +1 -0
  84. package/dist/{c75186187af66168.js.map → c77ee8199ab1d5a3.js.map} +1 -1
  85. package/dist/c94a4df3d81aec49.js +1 -0
  86. package/dist/{9145a2edfb5753fc.js.map → c94a4df3d81aec49.js.map} +1 -1
  87. package/dist/cf469fc5138bf564.js +1 -0
  88. package/dist/{f58d19e75a8a84dd.js.map → cf469fc5138bf564.js.map} +1 -1
  89. package/dist/d231cd5efcd163bf.js +1 -0
  90. package/dist/{5bc7a60eaa364c2d.js.map → d231cd5efcd163bf.js.map} +1 -1
  91. package/dist/da422cb0b0da4da7.js +1 -0
  92. package/dist/{edc0a44476977bcf.js.map → da422cb0b0da4da7.js.map} +1 -1
  93. package/dist/dad2bcd11ecf924e.js +1 -0
  94. package/dist/{4ca5c47a7a83a1aa.js.map → dad2bcd11ecf924e.js.map} +1 -1
  95. package/dist/e7ca9fbc007d9ad1.js +1 -0
  96. package/dist/{0e0ab7a89824eede.js.map → e7ca9fbc007d9ad1.js.map} +1 -1
  97. package/dist/ecc47693b2bf2b5e.js +1 -0
  98. package/dist/{5e1468c2a636b672.js.map → ecc47693b2bf2b5e.js.map} +1 -1
  99. package/dist/ee398e0e690dc660.js +1 -0
  100. package/dist/{559e0ca03767a518.js.map → ee398e0e690dc660.js.map} +1 -1
  101. package/dist/{egen.0693f58720d6fbe0.js → egen.4bce63bf907371a3.js} +3 -3
  102. package/dist/{egen.0693f58720d6fbe0.js.map → egen.4bce63bf907371a3.js.map} +1 -1
  103. package/dist/f29e3bbc839c970e.js +1 -0
  104. package/dist/{71107355cc66caa9.js.map → f29e3bbc839c970e.js.map} +1 -1
  105. package/dist/f516e333ac60b2b4.js +1 -0
  106. package/dist/{74eec053f60a700d.js.map → f516e333ac60b2b4.js.map} +1 -1
  107. package/dist/f58acb91814c5d6b.js +1 -0
  108. package/dist/{92cad262f727d595.js.map → f58acb91814c5d6b.js.map} +1 -1
  109. package/dist/f7a29491e2ce28ef.js +1 -0
  110. package/dist/{21fa2b767f6c9414.js.map → f7a29491e2ce28ef.js.map} +1 -1
  111. package/dist/f8993d5b1591f28c.js +1 -0
  112. package/dist/{28341ad61e5a6960.js.map → f8993d5b1591f28c.js.map} +1 -1
  113. package/dist/index.html +1 -1
  114. package/package.json +17 -9
  115. package/rspack.config.js +712 -0
  116. package/src/assets/favicon.ico +0 -0
  117. package/src/assets/icon-512.png +0 -0
  118. package/src/core-config.ts +38 -0
  119. package/src/events.ts +16 -0
  120. package/src/index.ejs +156 -0
  121. package/src/index.ts +126 -0
  122. package/src/layout-sync.ts +57 -0
  123. package/src/locale.ts +140 -0
  124. package/src/optionaldeps.ts +64 -0
  125. package/src/routing-events.ts +65 -0
  126. package/src/run.ts +533 -0
  127. package/src/ui/breadcrumbs.tsx +86 -0
  128. package/src/ui/index.ts +5 -0
  129. package/tools/bootstrap.js +124 -0
  130. package/tools/brand.js +48 -0
  131. package/tools/helpers.js +62 -0
  132. package/tools/targets.js +203 -0
  133. package/dist/041aeeb0ca42ae01.js +0 -1
  134. package/dist/0dfc347b3fede04f.js +0 -1
  135. package/dist/0e0ab7a89824eede.js +0 -1
  136. package/dist/0e3db8918b14833b.js +0 -1
  137. package/dist/21fa2b767f6c9414.js +0 -1
  138. package/dist/25b1005b67864d46.js +0 -1
  139. package/dist/25b1005b67864d46.js.map +0 -1
  140. package/dist/2724277f118c037b.js +0 -1
  141. package/dist/28341ad61e5a6960.js +0 -1
  142. package/dist/37369bd491b04d82.js +0 -1
  143. package/dist/45b5873945d16bc6.js +0 -1
  144. package/dist/4a4374f49d725046.js +0 -1
  145. package/dist/4a4374f49d725046.js.map +0 -1
  146. package/dist/4ca5c47a7a83a1aa.js +0 -1
  147. package/dist/4e0af7b5d94013d0.js +0 -1
  148. package/dist/559e0ca03767a518.js +0 -1
  149. package/dist/5bc7a60eaa364c2d.js +0 -1
  150. package/dist/5bd4626f7e38f4e6.js +0 -1
  151. package/dist/5e1468c2a636b672.js +0 -1
  152. package/dist/5e2b7af8e3fe1fcb.js +0 -1
  153. package/dist/61403bcf61831ed8.js +0 -1
  154. package/dist/6c37d18d1f594e69.js +0 -1
  155. package/dist/71107355cc66caa9.js +0 -1
  156. package/dist/74eec053f60a700d.js +0 -1
  157. package/dist/74eed2ec42061635.js +0 -1
  158. package/dist/76ec661149e72bed.js +0 -1
  159. package/dist/7724d776295b30da.css.map +0 -1
  160. package/dist/7db1d553dc1c0db9.js +0 -1
  161. package/dist/7f1fcd7152a25252.js +0 -1
  162. package/dist/7f1fcd7152a25252.js.map +0 -1
  163. package/dist/86bbfd945b42ab73.js +0 -1
  164. package/dist/8926c48c07805edd.js +0 -1
  165. package/dist/8b8cecb97447e8b4.js +0 -1
  166. package/dist/8b8cecb97447e8b4.js.map +0 -1
  167. package/dist/8d5080b913bc0b37.js +0 -1
  168. package/dist/8e50c3c524aac2bf.js +0 -1
  169. package/dist/9145a2edfb5753fc.js +0 -1
  170. package/dist/92cad262f727d595.js +0 -1
  171. package/dist/9b823f2b54d8b47d.js +0 -1
  172. package/dist/9c52595f431f4be7.js +0 -20
  173. package/dist/9c52595f431f4be7.js.map +0 -1
  174. package/dist/a0180cad40a59732.js +0 -1
  175. package/dist/a14ac70fdd3ac138.js +0 -1
  176. package/dist/badf3c58fd3e99e5.js +0 -1
  177. package/dist/c5323074579b6496.js.map +0 -1
  178. package/dist/c75186187af66168.js +0 -1
  179. package/dist/d5e87dfaf588a6e0.js +0 -1
  180. package/dist/d5e87dfaf588a6e0.js.map +0 -1
  181. package/dist/de2f8e23f6d58ec6.js +0 -1
  182. package/dist/de2f8e23f6d58ec6.js.map +0 -1
  183. package/dist/e434e9efa94d634e.js +0 -1
  184. package/dist/e763f2a342abef64.js +0 -1
  185. package/dist/edc0a44476977bcf.js +0 -1
  186. package/dist/ef89be2b45789b69.js +0 -1
  187. package/dist/f1df8502b59fa42f.js +0 -1
  188. package/dist/f3256b31f274fefe.js +0 -1
  189. package/dist/f58d19e75a8a84dd.js +0 -1
  190. package/dist/ff7adcceeab417a0.js +0 -1
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Scripts de démarrage de la cible NATIVE, émis comme FICHIERS au lieu d'être inline dans `index.html`.
3
+ *
4
+ * Pourquoi : la CSP native est `script-src 'self'` (voir `tools/targets.js`, champ `csp`), qui interdit tout script
5
+ * inline exécutable ET tout gestionnaire d'événement inline (`onclick="…"`). Le HTML Web, lui, garde ses scripts
6
+ * inline INCHANGÉS (règle R2) : `index.ejs` ne bascule vers ces fichiers que si `egenBootstrap` est défini.
7
+ *
8
+ * Restent inline dans le HTML natif les blocs de DONNÉES (`type="systemjs-importmap"`, `type="egen-routes"`) : le
9
+ * navigateur ne les exécute pas, la CSP ne s'y applique donc pas ; SystemJS et le registre de routes les lisent
10
+ * comme du texte.
11
+ *
12
+ * Tout ce fichier est pur : il retourne des chaînes de code, sans toucher au disque ni à `process.env`.
13
+ */
14
+ const { createHash } = require('node:crypto');
15
+
16
+ /**
17
+ * Anti-FOUC du thème : pose `data-theme` AVANT la CSS. Même logique que le bloc inline de `index.ejs` (Web) ;
18
+ * `bootstrap.test.ts` exécute les DEUX et vérifie qu'ils produisent le même résultat (garde-fou contre la dérive).
19
+ */
20
+ const THEME_SCRIPT = `(function () {
21
+ try {
22
+ var stored = window.localStorage.getItem('egen-theme-mode');
23
+ var mode = (stored === 'light' || stored === 'dark') ? stored : 'dark';
24
+ document.documentElement.setAttribute('data-theme', mode);
25
+ } catch (e) {
26
+ document.documentElement.setAttribute('data-theme', 'dark');
27
+ }
28
+ })();`;
29
+
30
+ /**
31
+ * Remplace les `onclick` inline du gabarit d'erreur (`<template id="app-error">`) : un seul écouteur délégué lit
32
+ * `data-egen-action`. `copyText` est défini par le shell (`setupUtils`) avant tout clic.
33
+ */
34
+ const ACTIONS_SCRIPT = `document.addEventListener('click', function (event) {
35
+ var target = event.target;
36
+ var element = target && target.closest ? target.closest('[data-egen-action]') : null;
37
+ if (!element) {
38
+ return;
39
+ }
40
+ var action = element.getAttribute('data-egen-action');
41
+ if (action === 'reload') {
42
+ location.reload();
43
+ } else if (action === 'copy' && typeof window.copyText === 'function') {
44
+ window.copyText(element.parentElement);
45
+ }
46
+ });`;
47
+
48
+ /**
49
+ * Script chargé dans le `<head>`, bloquant, AVANT les bundles : thème, puis ponts `window.egen*` (cible, IA, tenant).
50
+ * Les ponts sont des chaînes JSON déjà sérialisées par `rspack.config.js` ; une valeur absente est ignorée.
51
+ *
52
+ * @param {{ bridges?: Array<string | null | undefined | false> }} options
53
+ * @returns {string}
54
+ */
55
+ function buildHeadBootstrap({ bridges = [] } = {}) {
56
+ const assignments = bridges.filter(Boolean).map((json) => `Object.assign(window, ${json});`);
57
+ return [THEME_SCRIPT, ...assignments].join('\n') + '\n';
58
+ }
59
+
60
+ /**
61
+ * Script chargé en fin de `<body>`, APRÈS les bundles : écouteur des actions du gabarit d'erreur, puis
62
+ * `initializeSpa(...)`. Mêmes valeurs que le bloc inline Web ; les chaînes sont échappées par `JSON.stringify`.
63
+ *
64
+ * @param {{ apiUrl: string, spaPath: string, env: string, offline: boolean, configUrls: string }} options
65
+ * `configUrls` : liste déjà formatée (`"a","b"`), comme `egenConfigUrls` côté Web.
66
+ * @returns {string}
67
+ */
68
+ function buildBodyBootstrap({ apiUrl, spaPath, env, offline, configUrls }) {
69
+ return `${ACTIONS_SCRIPT}
70
+ initializeSpa({
71
+ apiUrl: ${JSON.stringify(apiUrl)},
72
+ spaPath: ${JSON.stringify(spaPath)},
73
+ env: ${JSON.stringify(env)},
74
+ offline: ${offline ? 'true' : 'false'},
75
+ configUrls: [${configUrls}],
76
+ });
77
+ `;
78
+ }
79
+
80
+ /**
81
+ * Nom de fichier stable et dépendant du contenu : `bootstrap-head.<hash>.js`. Un changement de configuration change
82
+ * le nom, ce qui invalide proprement tout cache.
83
+ *
84
+ * @param {'head' | 'body'} kind
85
+ * @param {string} source
86
+ * @returns {string}
87
+ */
88
+ function bootstrapFileName(kind, source) {
89
+ const hash = createHash('sha256').update(source).digest('hex').slice(0, 16);
90
+ return kind === 'head' ? `bootstrap-head.${hash}.js` : `bootstrap.${hash}.js`;
91
+ }
92
+
93
+ /**
94
+ * Plugin Rspack minimal : émet des fichiers générés (nom → contenu) parmi les assets de la compilation.
95
+ */
96
+ class EmitAssetsPlugin {
97
+ /** @param {Array<{ name: string, source: string }>} files */
98
+ constructor(files) {
99
+ this.files = files;
100
+ }
101
+
102
+ apply(compiler) {
103
+ const { RawSource } = compiler.rspack.sources;
104
+ compiler.hooks.thisCompilation.tap('EmitAssetsPlugin', (compilation) => {
105
+ compilation.hooks.processAssets.tap(
106
+ { name: 'EmitAssetsPlugin', stage: compiler.rspack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL },
107
+ () => {
108
+ for (const { name, source } of this.files) {
109
+ compilation.emitAsset(name, new RawSource(source));
110
+ }
111
+ },
112
+ );
113
+ });
114
+ }
115
+ }
116
+
117
+ module.exports = {
118
+ THEME_SCRIPT,
119
+ ACTIONS_SCRIPT,
120
+ buildHeadBootstrap,
121
+ buildBodyBootstrap,
122
+ bootstrapFileName,
123
+ EmitAssetsPlugin,
124
+ };
package/tools/brand.js ADDED
@@ -0,0 +1,48 @@
1
+ const { existsSync, statSync } = require('node:fs');
2
+ const { join, resolve } = require('node:path');
3
+
4
+ /**
5
+ * Fichiers d'identité visuelle que le shell sait recevoir d'un consommateur (voir `EGEN_BRAND_DIR`).
6
+ * Le shell lui-même n'embarque que des valeurs par défaut NEUTRES (aucune marque) pour ces deux fichiers.
7
+ */
8
+ const BRAND_FILES = {
9
+ /** Favicon, servi à `${spaPath}/favicon.ico`. */
10
+ favicon: 'favicon.ico',
11
+ /** Icône de l'application installable (PWA), au moins 512 × 512 px. */
12
+ pwaIcon: 'icon-512.png',
13
+ };
14
+ exports.BRAND_FILES = BRAND_FILES;
15
+
16
+ const isDirectory = (path) => existsSync(path) && statSync(path).isDirectory();
17
+
18
+ /**
19
+ * Résout le « branding » du shell : un dossier optionnel fourni par le consommateur (client) qui
20
+ * REMPLACE les assets neutres par défaut. Le shell reste ainsi générique : toute identité (logo,
21
+ * favicon) vit dans le projet client, jamais dans le framework.
22
+ *
23
+ * @param {NodeJS.ProcessEnv} env - Variables d'environnement (`EGEN_BRAND_DIR`).
24
+ * @param {{ defaultAssetsDir: string }} options - Dossier des assets neutres livrés avec le shell.
25
+ * @returns {{
26
+ * brandDir: string | undefined,
27
+ * pwaIconPath: string,
28
+ * copyPatterns: Array<Record<string, unknown>>,
29
+ * }}
30
+ */
31
+ exports.resolveBranding = (env, { defaultAssetsDir }) => {
32
+ const requested = env.EGEN_BRAND_DIR;
33
+ const brandDir = requested && isDirectory(requested) ? resolve(requested) : undefined;
34
+
35
+ if (requested && !brandDir) {
36
+ console.warn(`EGEN_BRAND_DIR="${requested}" n'est pas un dossier existant : assets de marque par défaut conservés.`);
37
+ }
38
+
39
+ const customPwaIcon = brandDir ? join(brandDir, BRAND_FILES.pwaIcon) : undefined;
40
+ const pwaIconPath = customPwaIcon && existsSync(customPwaIcon) ? customPwaIcon : join(defaultAssetsDir, BRAND_FILES.pwaIcon);
41
+
42
+ return {
43
+ brandDir,
44
+ pwaIconPath,
45
+ // Les assets du client sont copiés APRÈS ceux du shell et les écrasent (même nom de fichier).
46
+ copyPatterns: [{ from: defaultAssetsDir }, ...(brandDir ? [{ from: brandDir, force: true, priority: 1 }] : [])],
47
+ };
48
+ };
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Removes the trailing slash from a path
3
+ *
4
+ * @param {string} path - The path to remove the trailing slash from
5
+ * @returns {string} The path without a trailing slash
6
+ */
7
+ exports.removeTrailingSlash = (path) => {
8
+ const i = path.length - 1;
9
+ return path[i] === '/' ? exports.removeTrailingSlash(path.slice(0, i)) : path;
10
+ };
11
+
12
+ /**
13
+ * Left-pads a number to ensure it is exactly two characters
14
+ *
15
+ * @param {string | number} num - The number to pad
16
+ * @returns {string} The number as a string, padded to two places
17
+ */
18
+ const padToTwoDigits = (num) => {
19
+ return num.toString().padStart(2, '0');
20
+ };
21
+
22
+ exports.getTimestamp = () => {
23
+ const today = new Date();
24
+ const dd = padToTwoDigits;
25
+ return `${today.getFullYear()}${dd(today.getMonth() + 1)}${dd(today.getDate())}`;
26
+ };
27
+
28
+ // Une chaine JS non vide est toujours truthy, donc process.env.EGEN_ESM_IMPORTMAP
29
+ // valant "{}" ou '{"imports":{}}' (comme le font build:production/watch)
30
+ // activait a tort la variante figee (Def) du template EJS au lieu de la
31
+ // variante dynamique (Url) — meme quand l'intention etait "pas d'importmap
32
+ // fournie au build, laisse le consommateur (egen develop, ou un vrai
33
+ // backend) la fournir au runtime en servant importmap.json/routes.registry.json".
34
+ // Une import map ou un registre de routes semantiquement vide est donc
35
+ // traite comme une valeur absente — chaque predicat connait la vraie forme
36
+ // attendue plutot que de deviner sur un simple "objet vide au niveau racine"
37
+ // (qui aurait rate le cas reel '{"imports":{}}').
38
+ exports.isMeaningfulImportmap = (value) => {
39
+ if (!value) {
40
+ return false;
41
+ }
42
+ try {
43
+ const parsed = JSON.parse(value);
44
+ return !!(parsed && parsed.imports && Object.keys(parsed.imports).length > 0);
45
+ } catch {
46
+ // JSON invalide : on ne devine pas, on considere la valeur comme significative
47
+ // (elle echouera plus tard, de facon plus explicite, au parsing cote client).
48
+ return true;
49
+ }
50
+ };
51
+
52
+ exports.isMeaningfulRoutesRegistry = (value) => {
53
+ if (!value) {
54
+ return false;
55
+ }
56
+ try {
57
+ const parsed = JSON.parse(value);
58
+ return !!(parsed && typeof parsed === 'object' && Object.keys(parsed).length > 0);
59
+ } catch {
60
+ return true;
61
+ }
62
+ };
@@ -0,0 +1,203 @@
1
+ /**
2
+ * Résolution de la cible de build du Shell : `web` | `android` | `ios`.
3
+ *
4
+ * C'est, avec `@egen-civitas/esm-platform` (runtime) et le Host (hors dépôt), le SEUL endroit où les différences
5
+ * entre cibles ont le droit de vivre (règle R1 de docs/EGEN-FRAMEWORK-DEV.md). Aucun autre fichier du build ne doit
6
+ * comparer `target` à une valeur : il lit un champ de `TargetConfig` (règle N1).
7
+ *
8
+ * `resolveTarget` est une fonction PURE : elle ne lit jamais `process.env`. L'appelant lui passe un objet dont les
9
+ * valeurs sont DÉJÀ résolues (cf. `rspack.config.js`) :
10
+ * - `EGEN_ENV` : le résultat de `resolveEnvironment(mode)` (repli sur NODE_ENV / mode), pas la variable brute ;
11
+ * - `EGEN_DEV_NO_AUTH` : la valeur de `resolvePublicEnv()` (fichiers `.env*` compris), pas `process.env` seul.
12
+ * Sans cela, un `.env` pourrait réactiver le bypass d'authentification dans un artefact natif sans que le build échoue.
13
+ *
14
+ * Par défaut (`EGEN_TARGET` absent ou vide) le résultat reproduit exactement le comportement Web antérieur (règle R2).
15
+ */
16
+ const { removeTrailingSlash, isMeaningfulImportmap, isMeaningfulRoutesRegistry } = require('./helpers');
17
+
18
+ /** Cibles connues. Toute autre valeur est une erreur : pas de repli silencieux. */
19
+ const TARGETS = Object.freeze(['web', 'android', 'ios']);
20
+
21
+ /** Chemin public de l'artefact natif : constante, jamais lue dans l'environnement (cf. piège `EGEN_PUBLIC_PATH=''`). */
22
+ const NATIVE_PUBLIC_PATH = '/app';
23
+
24
+ const WEB_DEFAULT_PUBLIC_PATH = '/egen-civitas/spa';
25
+
26
+ /**
27
+ * CSP de départ de la cible native (proposition à valider sur appareil, cf. tâche B5).
28
+ * Les styles `'unsafe-inline'` sont à réexaminer (Carbon / injection de styles). `'unsafe-eval'` est interdit.
29
+ *
30
+ * @param {string} apiOrigin Origine de l'API (`https://api.exemple.ga`), déjà validée.
31
+ * @returns {string}
32
+ */
33
+ function buildNativeCsp(apiOrigin) {
34
+ return [
35
+ "default-src 'none'",
36
+ "script-src 'self'",
37
+ "style-src 'self' 'unsafe-inline'",
38
+ "img-src 'self' data: blob:",
39
+ "font-src 'self'",
40
+ `connect-src 'self' ${apiOrigin}`,
41
+ "base-uri 'self'",
42
+ "form-action 'self'",
43
+ ].join('; ');
44
+ }
45
+
46
+ function isParseableJson(value) {
47
+ try {
48
+ JSON.parse(value);
49
+ return true;
50
+ } catch {
51
+ return false;
52
+ }
53
+ }
54
+
55
+ /**
56
+ * Erreurs de validation propres à une cible native. Toutes sont collectées (et non la première seulement) afin
57
+ * qu'un build en échec indique d'un coup tout ce qu'il y a à corriger.
58
+ *
59
+ * @param {Record<string, string | undefined>} env
60
+ * @returns {{ errors: string[], apiOrigin: string | null }}
61
+ */
62
+ function validateNative(env) {
63
+ const errors = [];
64
+ let apiOrigin = null;
65
+
66
+ if (env.EGEN_ENV !== 'production') {
67
+ errors.push(
68
+ `EGEN_ENV doit valoir "production" pour une cible native (reçu : ${JSON.stringify(env.EGEN_ENV ?? null)}).`,
69
+ );
70
+ }
71
+
72
+ if (
73
+ String(env.EGEN_DEV_NO_AUTH ?? '')
74
+ .trim()
75
+ .toLowerCase() === 'true'
76
+ ) {
77
+ errors.push(
78
+ 'EGEN_DEV_NO_AUTH=true est interdit pour une cible native : le contournement de l’authentification ne doit jamais être embarqué.',
79
+ );
80
+ }
81
+
82
+ const apiUrl = env.EGEN_API_URL ?? '';
83
+ if (!/^https:\/\//.test(apiUrl)) {
84
+ errors.push(
85
+ `EGEN_API_URL doit être une URL absolue en https:// pour une cible native (reçu : ${JSON.stringify(apiUrl || null)}).`,
86
+ );
87
+ } else {
88
+ try {
89
+ apiOrigin = new URL(apiUrl).origin;
90
+ } catch {
91
+ errors.push(`EGEN_API_URL n’est pas une URL valide (reçu : ${JSON.stringify(apiUrl)}).`);
92
+ }
93
+ }
94
+
95
+ // Un artefact natif doit être autonome : import map et routes figées dans le HTML, jamais téléchargées.
96
+ if (!isMeaningfulImportmap(env.EGEN_ESM_IMPORTMAP)) {
97
+ errors.push(
98
+ 'EGEN_ESM_IMPORTMAP doit contenir une import map non vide pour une cible native (un artefact natif est autonome : pas de mode « url »).',
99
+ );
100
+ } else if (!isParseableJson(env.EGEN_ESM_IMPORTMAP)) {
101
+ errors.push('EGEN_ESM_IMPORTMAP n’est pas du JSON valide.');
102
+ }
103
+
104
+ // Aucune ressource de composition distante : même avec une version inline, une URL signalerait une intention
105
+ // (ou une configuration héritée) incompatible avec un artefact autonome, mieux vaut échouer que l'ignorer.
106
+ for (const name of ['EGEN_ESM_IMPORTMAP_URL', 'EGEN_ROUTES_URL']) {
107
+ if (env[name]) {
108
+ errors.push(`${name} est interdit pour une cible native (aucune ressource de composition distante).`);
109
+ }
110
+ }
111
+
112
+ if (!isMeaningfulRoutesRegistry(env.EGEN_ROUTES)) {
113
+ errors.push(
114
+ 'EGEN_ROUTES doit contenir un registre de routes non vide pour une cible native (un artefact natif est autonome : pas de mode « url »).',
115
+ );
116
+ } else if (!isParseableJson(env.EGEN_ROUTES)) {
117
+ errors.push('EGEN_ROUTES n’est pas du JSON valide.');
118
+ }
119
+
120
+ return { errors, apiOrigin };
121
+ }
122
+
123
+ /**
124
+ * @typedef {Object} TargetConfig
125
+ * @property {'web' | 'android' | 'ios'} target
126
+ * @property {boolean} native Vrai pour toute cible autre que `web`.
127
+ * @property {string} publicPath Sans slash final. Web : `EGEN_PUBLIC_PATH` ou `/egen-civitas/spa` ; natif : `/app`.
128
+ * @property {boolean} serviceWorker Web : `EGEN_OFFLINE === 'enable'` ; natif : toujours faux.
129
+ * @property {boolean} offlineData Web : `EGEN_OFFLINE === 'enable'` ; natif : sauf `EGEN_OFFLINE_DATA === 'disable'`.
130
+ * @property {'inline' | 'url'} importmapMode Web : `inline` si l'import map est significative, sinon `url` ; natif : `inline`.
131
+ * @property {'inline' | 'url'} routesMode Idem pour le registre de routes.
132
+ * @property {boolean} allowImportMapOverrides Web : vrai (comportement actuel, pas de restriction) ; natif : faux.
133
+ * @property {boolean} allowDevAuthBypass Web : vrai (comportement actuel) ; natif : faux.
134
+ * @property {boolean} requireAbsoluteApiUrl Natif : vrai.
135
+ * @property {string | null} csp Web : `null` ; natif : politique CSP.
136
+ */
137
+
138
+ /**
139
+ * @param {Record<string, string | undefined>} env Valeurs déjà résolues (voir l'en-tête du fichier).
140
+ * @returns {Readonly<TargetConfig>}
141
+ * @throws {Error} si la cible est inconnue ou si une règle de validation native est violée.
142
+ */
143
+ function resolveTarget(env) {
144
+ // Absent ou vide (`EGEN_TARGET=` dans un .env) = non fourni = web. Toute autre valeur doit être exacte.
145
+ const target = env.EGEN_TARGET ? env.EGEN_TARGET : 'web';
146
+
147
+ if (!TARGETS.includes(target)) {
148
+ throw new Error(`EGEN_TARGET inconnu : ${JSON.stringify(target)}. Valeurs acceptées : ${TARGETS.join(', ')}.`);
149
+ }
150
+
151
+ if (target === 'web') {
152
+ const offline = env.EGEN_OFFLINE === 'enable';
153
+ return Object.freeze({
154
+ target,
155
+ native: false,
156
+ publicPath: removeTrailingSlash(env.EGEN_PUBLIC_PATH || WEB_DEFAULT_PUBLIC_PATH),
157
+ serviceWorker: offline,
158
+ offlineData: offline,
159
+ importmapMode: isMeaningfulImportmap(env.EGEN_ESM_IMPORTMAP) ? 'inline' : 'url',
160
+ routesMode: isMeaningfulRoutesRegistry(env.EGEN_ROUTES) ? 'inline' : 'url',
161
+ allowImportMapOverrides: true,
162
+ allowDevAuthBypass: true,
163
+ requireAbsoluteApiUrl: false,
164
+ csp: null,
165
+ });
166
+ }
167
+
168
+ const { errors, apiOrigin } = validateNative(env);
169
+ if (errors.length > 0) {
170
+ throw new Error(
171
+ `Build impossible pour la cible "${target}" :\n${errors.map((message) => ` - ${message}`).join('\n')}`,
172
+ );
173
+ }
174
+
175
+ return Object.freeze({
176
+ target,
177
+ native: true,
178
+ publicPath: NATIVE_PUBLIC_PATH,
179
+ serviceWorker: false,
180
+ offlineData: env.EGEN_OFFLINE_DATA !== 'disable',
181
+ importmapMode: 'inline',
182
+ routesMode: 'inline',
183
+ allowImportMapOverrides: false,
184
+ allowDevAuthBypass: false,
185
+ requireAbsoluteApiUrl: true,
186
+ csp: buildNativeCsp(apiOrigin),
187
+ });
188
+ }
189
+
190
+ /**
191
+ * Pont build → runtime : clés posées sur `window` par le HTML, sur le modèle des ponts `egenAi*` / `egenTenant*`.
192
+ * Liste blanche : toute clé ajoutée ici doit être ajoutée au test (`targets.test.ts`) et ne jamais porter de secret (N3).
193
+ *
194
+ * Web : `null` (rien n'est injecté, le HTML Web reste identique, R2) ; l'absence de `window.egenTarget` vaut `web`.
195
+ *
196
+ * @param {Readonly<TargetConfig>} config
197
+ * @returns {{ egenTarget: 'android' | 'ios' } | null}
198
+ */
199
+ function targetWindowBridge(config) {
200
+ return config.native ? { egenTarget: config.target } : null;
201
+ }
202
+
203
+ module.exports = { resolveTarget, targetWindowBridge, buildNativeCsp, TARGETS, NATIVE_PUBLIC_PATH };
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["8579"],{4254(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printing":"Printing","recordNewEntry":"Record {{displayText}}","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["4879"],{3666(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"A\xe7\xf5es","address":"Endere\xe7o","address1":"Endere\xe7o linha 1","address2":"Endere\xe7o linha 2","address3":"Endere\xe7o linha 3","address4":"Endere\xe7o linha 4","address5":"Endere\xe7o linha 5","address6":"Endere\xe7o linha 6","age":"Idade","cancel":"Cancelar","change":"Alterar","city":"Cidade","cityVillage":"Cidade","Clinic":"Clinic","close":"Fechar","closeAllOpenedWorkspaces":"Descartar altera\xe7\xf5es em {{count}} espa\xe7os de trabalho","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Voc\xea tem altera\xe7\xf5es n\xe3o gravadas","confirm":"Confirmar","contactAdministratorIfIssuePersists":"Contacte o administrador do sistema se o problema persistir.","country":"Pa\xeds","countyDistrict":"Distrito","delete":"Delete","discard":"Descartar","discardChanges":"Discard changes","district":"Distrito","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Erro","errorCopy":"Desculpe, ocorreu um problema ao visualizar essas informa\xe7\xf5es. Voc\xea pode tentar recarregar esta p\xe1gina ou entrar em contato com o administrador do sistema providenciando o c\xf3digo de erro acima.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Feminino","hide":"Esconder","loading":"Carregando","male":"Masculino","maximize":"Maximizar","minimize":"Minimizar","noResultsToDisplay":"No results to display","openAnyway":"Abrir mesmo assim","other":"Outro","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Etiqueta de Identificador do Utente","patientLists":"Lista de Utentes","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Caixa postal","print":"Imprimir","printError":"Erro de impress\xe3o","printErrorExplainer":"Ocorreu um erro em {{errorLocation}}","printing":"Imprimindo","recordNewEntry":"Record {{displayText}}","resetOverrides":"Redefinir substitui\xe7\xf5es","save":"Salvar","scriptLoadingError":"Falha ao carregar o script de substitu\xed\xe7\xe3o de {{url}}. Verifique se o script inclu\xeddo est\xe1 dispon\xedvel no URL esperado. Clique no bot\xe3o abaixo para redefinir todas as substitui\xe7\xf5es de mapas de importa\xe7\xe3o.","scriptLoadingFailed":"Erro: O carregamento do script falhou","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Ver {{count}} mais listas","sex":"Sexo","showLess":"Mostrar menos","showMore":"Mostrar mais","snackbarNotification":"Snackbar notification","state":"Estado","stateProvince":"Estado","toggleDevTools":"Toggle dev tools","unknown":"Desconhecido","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Altera\xe7\xf5es n\xe3o gravadas","workspaceHeader":"Cabe\xe7alho do espa\xe7o de trabalho","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["8728"],{4168(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"A\xe7\xf5es","address":"Endere\xe7o","address1":"Linha de Endere\xe7o 1","address2":"Linha de Endere\xe7o 2","address3":"Linha de Endere\xe7o 3","address4":"Linha de endere\xe7o 4","address5":"Linha de Endere\xe7o 5","address6":"Linha de Endere\xe7o 6","age":"Idade","cancel":"Cancelar","change":"Alterar","city":"Cidade","cityVillage":"Cidade","Clinic":"Cl\xednica","close":"Fechar","closeAllOpenedWorkspaces":"Descartar altera\xe7\xf5es em {{count}} espa\xe7os de trabalho ","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Voc\xea tem altera\xe7\xf5es n\xe3o salvas","confirm":"Confirmar","contactAdministratorIfIssuePersists":"Entre em contato com o administrador do sistema se o problema persistir.","country":"Pa\xeds","countyDistrict":"Distrito","delete":"Deletar","discard":"Descarte","discardChanges":"Discard changes","district":"Distrito","edit":"Editar","emptyStateText":"There are no {{displayText}} to display","error":"Erro","errorCopy":"Desculpe, houve um problema ao exibir essas informa\xe7\xf5es. Voc\xea pode tentar recarregar esta p\xe1gina ou entrar em contato com o administrador do site e informar o c\xf3digo de erro acima.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Feminino","hide":"Esconder","loading":"Carregando","male":"Masculino","maximize":"Maximizar","minimize":"Minimizar","noResultsToDisplay":"No results to display","openAnyway":"Abrir de qualquer forma","other":"Outros","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Adesivo de identifica\xe7\xe3o do paciente","patientLists":"Listas de pacientes","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"C\xf3digo postal","print":"Imprimir","printError":"Erro de impress\xe3o","printErrorExplainer":"Ocorreu um erro em {{errorLocation}}","printing":"Impress\xe3o","recordNewEntry":"Record {{displayText}}","resetOverrides":"Redefinir substitui\xe7\xf5es","save":"Salvar","scriptLoadingError":"Falha ao carregar o script substitu\xeddo de {{url}}. Verifique se o script empacotado est\xe1 dispon\xedvel no URL esperado. Clique no bot\xe3o abaixo para redefinir todas as substitui\xe7\xf5es do mapa de importa\xe7\xe3o.","scriptLoadingFailed":"Erro: Falha ao carregar o script","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Veja mais {{count}} listas","sex":"Sexo","showLess":"Mostrar menos","showMore":"Mostrar mais","snackbarNotification":"Snackbar notification","state":"Estado","stateProvince":"Estado","toggleDevTools":"Toggle dev tools","unknown":"Desconhecido","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Altera\xe7\xf5es n\xe3o salvas","workspaceHeader":"Cabe\xe7alho do espa\xe7o de trabalho","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["9589"],{9652(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printing":"Printing","recordNewEntry":"Record {{displayText}}","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["9705"],{5104(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printing":"Printing","recordNewEntry":"Record {{displayText}}","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["4794"],{5745(h,v,a){var s=a(3645),g=a(3693),t=a(7388),e=a(1017),l=document.createElement("div"),n=function(){document.body.appendChild(l)};l.id="egen-svgs-container",l.style.display="none","complete"===document.readyState?n():window.addEventListener("load",n);var w=[],c=!1;function o(h,v){if(!c)return void w.push({id:h,svg:v});var a=new DOMParser().parseFromString(v,"image/svg+xml").querySelector("svg");a&&(a.id=h,l.appendChild(a))}var p=a(2883);a(8783);var M=a(8300),i=a(5565);function d(h,v){document.documentElement.style.setProperty(h,v)}(0,s.defineConfigSchema)("@egen-civitas/esm-styleguide",e.u),(0,s.getConfigStore)("@egen-civitas/esm-styleguide").subscribe(function(h){h.loaded&&h.config&&(d("--brand-01",h.config["Brand color #1"]),d("--brand-02",h.config["Brand color #2"]),d("--brand-03",h.config["Brand color #3"]))}),o("egen-icon-activity",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 14.5a.5.5 0 0 1-.46-.31L3.165 8.5H1v-1h2.5a.5.5 0 0 1 .46.31L6 12.64l4.03-10.815a.5.5 0 0 1 .47-.325.5.5 0 0 1 .465.34L12.86 7.5H15v1h-2.5a.5.5 0 0 1-.475-.34L10.5 3.5 6.47 14.175A.5.5 0 0 1 6 14.5"/></svg>'),o("egen-icon-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5V4h-1v3.5H4v1h3.5V12h1V8.5H12v-1z"/></svg>'),o("egen-icon-arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.295 8.295 8.5 12.085V2h-1v10.085l-3.795-3.79L3 9l5 5 5-5z"/></svg>'),o("egen-icon-arrow-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 13 .705-.705L3.915 8.5H14v-1H3.915l3.79-3.795L7 3 2 8z"/></svg>'),o("egen-icon-arrow-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m9 3-.715.696 3.79 3.804H2v1h10.075l-3.79 3.787L9 13l5-5z"/></svg>'),o("egen-icon-arrow-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2 3 7l.705.705L7.5 3.915V14h1V3.915l3.795 3.79L13 7z"/></svg>'),o("egen-icon-calendar-heat-map",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3 3h2v1h1V3h4v1h1V3h2v2H3zm0 3h2.5v3H3zm6.5 7h-3v-3h3zm0-4h-3V6h3zm1 4v-3H13v3z"/></svg>'),o("egen-icon-calendar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m0 11H3V6h10zm0-8H3V3h2v1h1V3h4v1h1V3h2z"/></svg>'),o("egen-icon-caret-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 6-4 5-4-5z"/></svg>'),o("egen-icon-caret-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 12 5 8l5-4z"/></svg>'),o("egen-icon-caret-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m6 4 5 4-5 4z"/></svg>'),o("egen-icon-caret-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m4 10 4-5 4 5z"/></svg>'),o("egen-icon-chart-average",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12c-1.8 0-2.515-2.088-3.206-4.107C7.638 5.979 6.96 4 5.5 4a1.72 1.72 0 0 0-1.527 1.16l-.947-.318C3.05 4.767 3.66 3 5.5 3c2.175 0 3.006 2.427 3.74 4.569C9.844 9.333 10.415 11 11.5 11a1.72 1.72 0 0 0 1.527-1.16l.947.318C13.95 10.233 13.34 12 11.5 12"/><path d="M2 14V8.5h1v-1H2V1H1v13a1 1 0 0 0 1 1h13v-1z"/><path d="M5 7.5H4v1h1zM7 7.5H6v1h1zM11 7.5h-1v1h1zM13 7.5h-1v1h1zM15 7.5h-1v1h1z"/></svg>'),o("egen-icon-chart-line",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="m4.67 28 6.39-12 7.3 6.49a2 2 0 0 0 1.7.47 2 2 0 0 0 1.42-1.07L27 10.9l-1.82-.9-5.49 11-7.3-6.49a2 2 0 0 0-1.68-.51 2 2 0 0 0-1.42 1L4 25V2H2v26a2 2 0 0 0 2 2h26v-2Z"/><path d="M0 0h32v32H0z" data-name="&lt;Transparent Rectangle&gt;" style="fill:none"/></svg>'),o("egen-icon-checkmark-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m-1 9.795-2.5-2.5.795-.795L7 9.205 10.705 5.5l.798.793z"/></svg>'),o("egen-icon-checkmark-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 10.707-2.5-2.5.707-.707L7 9.293 10.793 5.5l.707.707z"/><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/></svg>'),o("egen-icon-chevron-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 11 3 6l.7-.7L8 9.6l4.3-4.3.7.7z"/></svg>'),o("egen-icon-chevron-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m5 8 5-5 .7.7L6.4 8l4.3 4.3-.7.7z"/></svg>'),o("egen-icon-chevron-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m11 8-5 5-.7-.7L9.6 8 5.3 3.7 6 3z"/></svg>'),o("egen-icon-chevron-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m8 5 5 5-.7.7L8 6.4l-4.3 4.3L3 10z"/></svg>'),o("egen-icon-close",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"/></svg>'),o("egen-icon-close-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m2.7 10.5L8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),o("egen-icon-close-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m0 13c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"/><path d="M10.7 11.5 8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),o("egen-icon-document",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12.85 4.65-3.5-3.5C9.25 1.05 9.15 1 9 1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V5c0-.15-.05-.25-.15-.35M9 2.2 11.8 5H9zM12 14H4V2h4v3c0 .55.45 1 1 1h3z"/><path d="M11 11H5v1h6zM11 8H5v1h6z"/></svg>'),o("egen-icon-document-attachment",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 15H5.5a1 1 0 0 1-1-1v-3h1v3H13V3H8.5V2H13a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1"/><path d="M12 5H8.5v1H12zM12 7.5H8v1h4zM12 10H7.5v1H12zM4.5 9.5A2.503 2.503 0 0 1 2 7V1.5h1V7a1.5 1.5 0 0 0 3 0V2.5a.5.5 0 1 0-1 0v5H4v-5a1.5 1.5 0 0 1 3 0V7a2.503 2.503 0 0 1-2.5 2.5"/></svg>'),o("egen-icon-download",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zM13 7l-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"/></svg>'),o("egen-icon-edit",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 13H1v1h14zM12.7 4.5c.4-.4.4-1 0-1.4l-1.8-1.8c-.4-.4-1-.4-1.4 0L2 8.8V12h3.2zM10.2 2 12 3.8l-1.5 1.5-1.8-1.8zM3 11V9.2l5-5L9.8 6l-5 5z"/></svg>'),o("egen-icon-event-schedule",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8m0-7a3 3 0 1 0 0 6 3 3 0 0 0 0-6"/><path d="M11.295 12.5 10 11.205V9h1v1.795l1 1z"/><path d="M14 3a1 1 0 0 0-1-1h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2v-1H3V3h2v1h1V3h4v1h1V3h2v3h1z"/></svg>'),o("egen-icon-events",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 7h-1v1h1a1.5 1.5 0 0 1 1.5 1.5v2h1v-2A2.503 2.503 0 0 0 13 7M12 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M11.5 15h-1v-1A1.5 1.5 0 0 0 9 12.5H7A1.5 1.5 0 0 0 5.5 14v1h-1v-1A2.503 2.503 0 0 1 7 11.5h2a2.503 2.503 0 0 1 2.5 2.5zM8 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4 7H3A2.503 2.503 0 0 0 .5 9.5v2h1v-2A1.5 1.5 0 0 1 3 8h1zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),o("egen-icon-gender-female",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 9.965a4 4 0 1 0-1 0V11H5v1h2.5v2h1v-2H11v-1H8.5zM5 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0"/></svg>'),o("egen-icon-gender-male",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2v1h3.293L8.449 6.844a4.014 4.014 0 1 0 .707.707L13 3.707V7h1V2zM6 13a3 3 0 1 1 0-6 3 3 0 0 1 0 6"/></svg>'),o("egen-icon-gender-other",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 1v1h2.293l-3.2 3.2a3.47 3.47 0 0 0-4.185 0l-.7-.7L6.5 3.207 5.793 2.5 4.5 3.793 2.707 2H5V1H1v4h1V2.707L3.793 4.5 2.5 5.793l.707.707L4.5 5.207l.7.7a3.49 3.49 0 0 0 2.3 5.553v1.04h-2v1h2V15h1v-1.5h2v-1h-2v-1.04a3.49 3.49 0 0 0 2.3-5.552L14 2.707V5h1V1zm-3 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5"/></svg>'),o("egen-icon-gender-unknown",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 12a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M8.5 9.5h-1v-2h1a1 1 0 0 0 0-2h-1a1 1 0 0 0-1 1v.25h-1V6.5a2 2 0 0 1 2-2h1a2 2 0 1 1 0 4z"/><path d="M8 15a1.04 1.04 0 0 1-.737-.305L1.305 8.737a1.043 1.043 0 0 1 0-1.474l5.958-5.958a1.043 1.043 0 0 1 1.474 0l5.958 5.958a1.043 1.043 0 0 1 0 1.474l-5.958 5.958A1.04 1.04 0 0 1 8 15M8 2a.04.04 0 0 0-.03.012L2.012 7.97a.04.04 0 0 0 0 .06l5.958 5.958a.04.04 0 0 0 .06 0l5.958-5.958a.04.04 0 0 0 0-.06L8.03 2.012A.04.04 0 0 0 8 2"/></svg>'),o("egen-icon-group",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.5 15h-1v-1.5A1.5 1.5 0 0 0 13 12h-2a1.5 1.5 0 0 0-1.5 1.5V15h-1v-1.5A2.5 2.5 0 0 1 11 11h2a2.5 2.5 0 0 1 2.5 2.5zM12 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M7.5 11h-1V9.5A1.5 1.5 0 0 0 5 8H3a1.5 1.5 0 0 0-1.5 1.5V11h-1V9.5A2.5 2.5 0 0 1 3 7h2a2.5 2.5 0 0 1 2.5 2.5zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),o("egen-icon-group-access",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9.5H3v-1A1.5 1.5 0 0 1 4.5 7H7v1H4.5a.5.5 0 0 0-.5.5zM6 6.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M10 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M13 13h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H7v-1a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 13 12z"/><path d="M4 15H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h2v1H2v12h2zM14 15h-2v-1h2V2h-2V1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1"/></svg>'),o("egen-icon-information",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/></svg>'),o("egen-icon-information-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 3a.75.75 0 1 1 0 1.5A.75.75 0 0 1 8 4m2 8.063H6v-1.126h1.438V8.063H6.5V6.937h2.063v4H10z"/></svg>'),o("egen-icon-information-square",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1M3 3v10h10V3z"/></svg>'),o("egen-icon-inventory-management",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12h-2v2h2zM15 12h-2v2h2zM11.5 8.5h-2v2h2zM15 8.5h-2v2h2z"/><path d="M8.5 12H2V5h12v2.5h1V5a1 1 0 0 0-1-1h-3V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h6.5zM6 2h4v2H6z"/></svg>'),o("egen-icon-list-checked",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 4H8v1h7zM3 5.295 1.705 4 1 4.705l2 2 4-4L6.295 2zM15 11H8v1h7zM3 12.295 1.705 11 1 11.705l2 2 4-4L6.295 9z"/></svg>'),o("egen-icon-location",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><path d="m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"/></svg>'),o("egen-icon-maximize",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 1v1h3.293L9 6.291 9.707 7 14 2.707V6h1V1zM7 9.708 6.296 9 2 13.293V10H1v5h5v-1H2.707z"/></svg>'),o("egen-icon-message-queue",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 14H2a1 1 0 0 1-1-1v-2.5h1V13h12v-2.5h1V13a1 1 0 0 1-1 1"/><path d="M12.5 10.5h-9v1h9zM12.5 8h-9v1h9zM12.5 5.5h-9v1h9zM12.5 3h-9v1h9z"/></svg>'),o("egen-icon-money",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 11H1v1h14zM15 13H1v1h14zM12 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M4 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M14 10H2a1.003 1.003 0 0 1-1-1V3a1.003 1.003 0 0 1 1-1h12a1.003 1.003 0 0 1 1 1v6a1 1 0 0 1-1 1m0-7H2v6h12z"/></svg>'),o("egen-icon-movement",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 10-.705.705 1.79 1.795H5a2 2 0 1 1 0-4h6a3 3 0 0 0 0-6H2.915L4.705.705 4 0 1 3l3 3 .705-.705L2.915 3.5H11a2 2 0 0 1 0 4H5a3 3 0 1 0 0 6h8.085l-1.79 1.795L12 16l3-3z"/></svg>'),o("egen-icon-overflow-menu--horizontal",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-overflow-menu--vertical",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-password",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 1a4.5 4.5 0 0 0-4.306 5.806L1 12v3h3l5.194-5.194A4.5 4.5 0 1 0 10.5 1m0 8c-.344 0-.687-.051-1.016-.151l-.573-.174-2.015 2.014L6.207 10l-.707.707.69.69-.794.792-.689-.689-.707.707.69.69L3.585 14H2v-1.586L7.325 7.09l-.174-.573A3.5 3.5 0 1 1 10.5 9"/><path d="M11 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),o("egen-icon-pedestrian-family",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 15H8.5a1 1 0 0 1-1-1v-2.5h1V14H10v-2.5h1v-2a.5.5 0 0 0-.5-.5H6.14l-1-3H2a.5.5 0 0 0-.5.5v3h1V14h2v-3.5h1V14a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3.5a1 1 0 0 1-1-1v-3A1.5 1.5 0 0 1 2 5h3.14a1 1 0 0 1 .948.684L6.86 8h3.64A1.5 1.5 0 0 1 12 9.5v2a1 1 0 0 1-1 1V14a1 1 0 0 1-1 1M14 15h-1V9.5h1.5v-3A.5.5 0 0 0 14 6h-2V5h2a1.5 1.5 0 0 1 1.5 1.5v3a1 1 0 0 1-1 1H14zM3.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M12.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M9.25 7.5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5m0-2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),o("egen-icon-pen",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.654 3.053 15 1.707 14.293 1l-1.346 1.346L12.4 1.8a.967.967 0 0 0-1.4 0l-9 9V14h3.2l9-9a.967.967 0 0 0 0-1.4zM4.8 13H3v-1.8l8.7-8.7 1.8 1.8zM8.293 2 4.5 5.793l.707.707L9 2.707z"/></svg>'),o("egen-icon-printer",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 4.5h-1.5v-3h-9v3H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.5v3h9v-3H14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m-9.5-2h7v2h-7zm7 11h-7v-5h7zm2.5-3h-1.5v-3h-9v3H2v-5h12z"/></svg>'),o("egen-icon-programs",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 15h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H9v-1c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5zM12 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m0-3a1.001 1.001 0 0 0 0 2 1.001 1.001 0 0 0 0-2M5 10H4v1h1zM9 10H6v1h3zM5 8H4v1h1zM9 8H6v1h3zM5 6H4v1h1zM9 6H6v1h3z"/><path d="M10.5 2.5H9V2c0-.552-.449-1-1-1H5c-.551 0-1 .448-1 1v.5H2.5c-.551 0-1 .449-1 1V13c0 .552.449 1 1 1H7v-1H2.5V3.5H4v1h5v-1h1.5V7h1V3.5c0-.551-.449-1-1-1M8 3.5H5V2h3z"/></svg>'),o("egen-icon-renew",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 5H3.39A5.5 5.5 0 0 1 13.5 8h1A6.5 6.5 0 0 0 3 3.84V2H2v4h4zM10 11h2.61A5.5 5.5 0 0 1 2.5 8h-1A6.5 6.5 0 0 0 13 12.16V14h1v-4h-4z"/></svg>'),o("egen-icon-report",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 9H5v1h4zM11 6.5H5v1h6zM7.5 11.5H5v1h2.5z"/><path d="M12.5 2.5H11V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v.5H3.5a1 1 0 0 0-1 1V14a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V3.5a1 1 0 0 0-1-1M6 2h4v2H6zm6.5 12h-9V3.5H5V5h6V3.5h1.5z"/></svg>'),o("egen-icon-reset",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="M9 14a6 6 0 1 0-6-6v3.1L1.2 9.3l-.7.7 3 3 3-3-.7-.7L4 11.1V8a5 5 0 1 1 5 5z"/></svg>'),o("egen-icon-save",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="m13.855 4.645-2.5-2.5A.5.5 0 0 0 11 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a.5.5 0 0 0-.145-.355M6 3h4v2H6zm4 10H6V9h4zm1 0V9a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4H3V3h2v2a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V3.205l2 2V13z"/></svg>'),o("egen-icon-search",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m14.5 13.793-3.776-3.776a5.508 5.508 0 1 0-.707.707l3.776 3.776zM2 6.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0"/></svg>'),o("egen-icon-settings",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.5 8.38v-.765l.96-.84a1 1 0 0 0 .19-1.275l-1.18-2a1 1 0 0 0-1.185-.45l-1.215.41a6 6 0 0 0-.655-.375l-.255-1.26a1 1 0 0 0-1-.805H6.82a1 1 0 0 0-1 .805l-.255 1.26q-.343.166-.66.375l-1.19-.43a1 1 0 0 0-.32-.03 1 1 0 0 0-.865.5l-1.18 2a1 1 0 0 0 .205 1.255l.945.865v.765l-.945.84A1 1 0 0 0 1.35 10.5l1.18 2a1 1 0 0 0 1.185.45l1.215-.41q.315.21.655.375l.255 1.26a1 1 0 0 0 1 .805H9.2a1 1 0 0 0 1-.805l.255-1.26q.342-.165.66-.375l1.21.41q.155.051.32.05a1 1 0 0 0 .865-.5l1.14-2a1 1 0 0 0-.205-1.255zM12.605 12l-1.715-.58c-.402.34-.86.606-1.355.785L9.18 14H6.82l-.355-1.775a4.7 4.7 0 0 1-1.35-.785l-1.72.56-1.18-2 1.36-1.2a4.5 4.5 0 0 1 0-1.565L2.215 6l1.18-2 1.715.58a4.4 4.4 0 0 1 1.355-.785L6.82 2h2.36l.355 1.775c.49.184.947.45 1.35.785l1.72-.56 1.18 2-1.36 1.2a4.5 4.5 0 0 1 0 1.565L13.785 10z"/><path d="M8 11a3 3 0 1 1 3-3 2.97 2.97 0 0 1-3 3m0-5a1.955 1.955 0 0 0-2 2 1.955 1.955 0 0 0 2 2 1.954 1.954 0 0 0 2-2 1.954 1.954 0 0 0-2-2"/></svg>'),o("egen-icon-shopping-cart",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M14 3.5H2.91L2.5 1.4A.5.5 0 0 0 2 1H0v1h1.59l1.91 9.6a.5.5 0 0 0 .5.4h9v-1H4.41L4 9h9a.5.5 0 0 0 .5-.39l1-4.5a.5.5 0 0 0-.5-.61M12.6 8H3.81l-.7-3.5h10.265z"/></svg>'),o("egen-icon-shopping-cart--arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M2.49 1.402A.5.5 0 0 0 2 1H0v1h1.59l1.92 9.598A.5.5 0 0 0 4 12h9v-1H4.41l-.4-2H13a.5.5 0 0 0 .488-.392L14.622 3.5h-1.024L12.6 8H3.81z"/><path d="M10.793 3.293 9 5.086V1H8v4.086L6.207 3.293 5.5 4l3 3 3-3z"/></svg>'),o("egen-icon-sticky-note-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 1h-1v2h-2v1h2v2h1V4h2V3h-2z"/><path d="M7.5 2h-4a1.003 1.003 0 0 0-1 1v10a1.003 1.003 0 0 0 1 1h6a.45.45 0 0 0 .35-.15l3.5-3.5a.45.45 0 0 0 .15-.35V7h-1v2h-3a1.003 1.003 0 0 0-1 1v3h-5V3h4zm4.8 8-2.8 2.8V10z"/></svg>'),o("egen-icon-switcher",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2H7v2h2zM4 2H2v2h2zM14 2h-2v2h2zM9 7H7v2h2zM4 7H2v2h2zM14 7h-2v2h2zM9 12H7v2h2zM4 12H2v2h2zM14 12h-2v2h2z"/></svg>'),o("egen-icon-table-of-contents",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 3H2v1h9zM11 6H2v1h9zM11 9H2v1h9zM11 12H2v1h9zM14 3h-1v1h1zM14 6h-1v1h1zM14 9h-1v1h1zM14 12h-1v1h1z"/></svg>'),o("egen-icon-table",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.5 2.5a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1zm-1 0v2h-11v-2zm0 11h-11v-2h11zm0-3h-11v-2h11zm0-3h-11v-2h11z"/></svg>'),o("egen-icon-time",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/><path d="M10.295 11 7.5 8.205V3.5h1v4.29l2.5 2.505z"/></svg>'),o("egen-icon-tools",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6.05 1a4.9 4.9 0 0 0-2.7.8L6.55 5a1.05 1.05 0 0 1 .1 1.5 1.05 1.05 0 0 1-1.5-.1l-3.3-3.2A4.9 4.9 0 0 0 1 6.05a5.07 5.07 0 0 0 5.05 5.05c.438.002.874-.048 1.3-.15l3.35 3.35a2.51 2.51 0 1 0 3.55-3.55L10.9 7.4q.153-.641.15-1.3a5 5 0 0 0-5-5.1m4 5.05c0 .355-.051.709-.15 1.05l-.15.55.4.4 3.35 3.35a1.44 1.44 0 0 1 .45 1.05 1.36 1.36 0 0 1-.45 1.05 1.45 1.45 0 0 1-2.1 0l-3.35-3.35-.4-.4-.55.15c-.341.099-.695.15-1.05.15A4.14 4.14 0 0 1 3.2 8.9 3.82 3.82 0 0 1 2 6.05c0-.372.051-.742.15-1.1l2.2 2.2a2.07 2.07 0 0 0 2.95.1 2.07 2.07 0 0 0-.1-2.95L5 2.1c.323-.102.66-.153 1-.15A4.14 4.14 0 0 1 8.85 3.1a4.25 4.25 0 0 1 1.2 2.95"/></svg>'),o("egen-icon-translate",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.925 14.5H15L12 7h-1.175l-3 7.5H8.9l.8-2h3.425zm-3.825-3 1.31-3.28 1.315 3.28zM9 3.5v-1H5.5V1h-1v1.5H1v1h5.37a7.36 7.36 0 0 1-1.595 3.09A6.8 6.8 0 0 1 3.63 4.5H2.58a8.2 8.2 0 0 0 1.5 2.79A8.4 8.4 0 0 1 1.5 9l.375.93A9.2 9.2 0 0 0 4.765 8a8.5 8.5 0 0 0 2.88 1.92L8 9a7.2 7.2 0 0 1-2.56-1.685A8.8 8.8 0 0 0 7.4 3.5z"/></svg>'),o("egen-icon-trash-can",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M7 6H6v6h1zM10 6H9v6h1z"/><path d="M2 3v1h1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4h1V3zm2 11V4h8v10zM10 1H6v1h4z"/></svg>'),o("egen-icon-tree-view--alt",'<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M11.5 4.502h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-5v-.5a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-.5h2v10a1 1 0 0 0 1 1h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1m0-3h3v2h-3zm-7 2h-3v-2h3zm7 9h3v2h-3zm0-5.5h3v2h-3z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>'),o("egen-icon-user-avatar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 4a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/><path d="M8 1a7 7 0 1 0 7 7 7.01 7.01 0 0 0-7-7M5 13.188V12.5A1.5 1.5 0 0 1 6.5 11h3a1.5 1.5 0 0 1 1.5 1.5v.688a5.95 5.95 0 0 1-6 0m6.996-.725A2.5 2.5 0 0 0 9.5 10h-3a2.5 2.5 0 0 0-2.496 2.463 6 6 0 1 1 7.992 0"/></svg>'),o("egen-icon-user-follow",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M16 7h-2V5h-1v2h-2v1h2v2h1V8h2zM6 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M11 15h-1v-2.5A2.5 2.5 0 0 0 7.5 10h-3A2.5 2.5 0 0 0 2 12.5V15H1v-2.5A3.5 3.5 0 0 1 4.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),o("egen-icon-user",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M13 15h-1v-2.5A2.5 2.5 0 0 0 9.5 10h-3A2.5 2.5 0 0 0 4 12.5V15H3v-2.5A3.5 3.5 0 0 1 6.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),o("egen-icon-view-off",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m2.62 11.255.715-.71A7 7 0 0 1 1.535 8C2.55 5.465 5.35 3.5 8 3.5a6.2 6.2 0 0 1 2 .36l.775-.78A7.4 7.4 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34 8 8 0 0 0 2.09 3.085"/><path d="M6 7.865a2 2 0 0 1 1.85-1.85l.905-.91A3 3 0 0 0 5.09 8.77zM15.47 7.83a8.2 8.2 0 0 0-2.87-3.72L15 1.705 14.295 1 1 14.295l.705.705 2.55-2.55A7.65 7.65 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M10 8a2 2 0 0 1-3 1.72L9.72 7A2 2 0 0 1 10 8m-2 4.5a6.5 6.5 0 0 1-3-.79l1.27-1.27a3 3 0 0 0 4.175-4.175L11.88 4.83A7.27 7.27 0 0 1 14.465 8C13.45 10.535 10.65 12.5 8 12.5"/></svg>'),o("egen-icon-view",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.47 7.83A8.34 8.34 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"/><path d="M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"/></svg>'),o("egen-icon-warning",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/><path d="M8.5 4h-1v5.5h1zM8 11a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),o("egen-pict-appointments",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M59.73 22.18H19.85c-.28 0-.51.23-.51.51v38.45c0 .28.23.51.51.51h39.88c.28 0 .51-.23.51-.51V22.7c0-.28-.23-.51-.51-.51z"/><path fill="#7BBCB9" d="M54.03 46.4h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M36.94 46.4h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M54.03 33.58h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M36.94 33.58h-11.4a.51.51 0 0 0-.51.51v5.7c0 .282.228.51.51.51h11.4a.51.51 0 0 0 .51-.51v-5.7a.51.51 0 0 0-.51-.51M49.76 27.48c-1.07 0-1.94-.87-1.94-1.94v-5.69c0-1.07.87-1.94 1.94-1.94s1.94.87 1.94 1.94v5.7c0 1.07-.87 1.94-1.94 1.94zM29.82 27.48c-1.07 0-1.94-.87-1.94-1.94v-5.69c0-1.07.87-1.94 1.94-1.94s1.94.87 1.94 1.94v5.7c0 1.07-.87 1.94-1.94 1.94z"/><path fill="#CEE6E5" d="M45.48 22.18H34.09v1.03h11.39z"/></svg>'),o("egen-pict-assessment-1",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#7BBCB9" d="M37.08 22.95a5.046 5.046 0 0 1-4.96 4.13c-2.78 0-5.04-2.26-5.04-5.04 0-.33.03-.66.09-.97 1.92 1.17 3.6 1.83 5.35 2.06 1.48.2 2.95.09 4.56-.18M28.27 18.79a5.04 5.04 0 0 1 8.63 1.64c-1.59.28-2.84.38-4.04.21-1.36-.19-2.76-.72-4.59-1.85M27.71 28.35c-3.45 0-6.18 2.1-7.93 4.65-1.76 2.57-2.78 5.89-2.78 9.18 0 1.75.81 3.79 1.39 5.07.32.71.64 1.33.87 1.78.1.2.19.36.26.49v10.35c0 1.39 1.13 2.52 2.52 2.52s2.52-1.13 2.52-2.52V45.43c.37-3.04 1.23-5.79 2.22-8.04l.83 3.22a2.525 2.525 0 0 0 2.44 1.89h6.48c1.39 0 2.52-1.13 2.52-2.52s-1.13-2.52-2.52-2.52H32l-1.85-7.22a2.525 2.525 0 0 0-2.44-1.89"/><path fill="#CEE6E5" d="M56.07 32.13c2.78 0 5.04-2.26 5.04-5.04s-2.26-5.04-5.04-5.04-5.04 2.26-5.04 5.04 2.26 5.04 5.04 5.04"/><path fill="#CEE6E5" fill-rule="evenodd" d="M48.79 32.18a2.53 2.53 0 0 1 2.83 1.43l3.34 7.42h4.9c1.39 0 2.52 1.13 2.52 2.52s-1.13 2.52-2.52 2.52h-6.53c-.99 0-1.89-.58-2.3-1.49l-1.81-4.02c-.58 1.06-.96 2.04-1.2 3.05-.25 1.06-.36 2.22-.34 3.64.41.17.86.34 1.34.51a49 49 0 0 0 3.67 1.07c.28.07.53.14.74.2.16.04.33.09.48.14h.01c.08.03.41.13.73.32.41.25.69.58.75.65.12.15.24.3.34.44.22.29.47.66.74 1.07.55.81 1.21 1.85 1.85 2.86s1.27 2.02 1.73 2.76c.23.37.42.68.56.9l.21.34-2.15 1.32 2.15-1.32a2.52 2.52 0 0 1-.83 3.47 2.52 2.52 0 0 1-3.47-.83l-.21-.33c-.13-.21-.32-.52-.55-.89-.46-.74-1.07-1.73-1.71-2.72-.63-1-1.27-1.99-1.78-2.74-.17-.25-.32-.47-.44-.64-.13-.03-.27-.07-.42-.11-.16-.04-.33-.09-.52-.14-.96-.26-2.25-.61-3.53-1.06l-.13-.05v9.89h-2.52v-8.82H30.85v8.82h-2.52V49.75h13.91c-.11-.11-.22-.23-.32-.36-.5-.61-.98-1.48-.98-2.58 0-5.93 1.6-9.61 3.55-11.85.96-1.1 1.95-1.79 2.74-2.2.39-.21.74-.35 1.01-.44.13-.05.25-.08.34-.11q.075-.015.12-.03c.02 0 .03 0 .05-.01h.02l.54 2.46-.53-2.46zm3.61 21.83s-.02 0-.04-.02c.03.01.04.02.04.02m-.83-.54s-.05-.06-.01-.02v.02z" clip-rule="evenodd"/><path fill="#7BBCB9" d="M39.05 24.56c1.04 0 1.89-1.41 1.89-3.15s-.85-3.15-1.89-3.15-1.89 1.41-1.89 3.15.85 3.15 1.89 3.15"/></svg>'),o("egen-pict-assessment-2",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M25.983 23.69c1.29 0 2.34-1.05 2.34-2.34a2.343 2.343 0 0 0-4.37-1.17h-.31c-1.94 0-3.52 1.57-3.52 3.52v10.55c-.64-.02-1.17.51-1.12 1.15.27 2.99 1.58 5.8 3.72 7.94 1.57 1.57 3.5 2.69 5.6 3.29v2.83c0 1.53.98 2.83 2.34 3.32a8.49 8.49 0 0 0 8.49 8.4c4.66 0 8.49-3.8 8.49-8.49V48a4.39 4.39 0 1 1 8.78 0v2.84a3.5 3.5 0 0 0-2.34 3.32c0 1.94 1.57 3.52 3.52 3.52s3.52-1.57 3.52-3.52c0-1.53-.98-2.83-2.34-3.32V48c0-3.72-3.02-6.74-6.74-6.74s-6.74 3.02-6.74 6.74v4.69c0 3.4-2.75 6.15-6.15 6.15s-6.1-2.7-6.15-6.06a3.51 3.51 0 0 0 2.34-3.31v-2.83c2.1-.59 4.03-1.72 5.6-3.29 2.14-2.14 3.45-4.95 3.72-7.94.06-.64-.47-1.17-1.12-1.17V23.69c0-1.94-1.57-3.52-3.52-3.52h-.31a2.343 2.343 0 0 0-4.37 1.17 2.343 2.343 0 0 0 4.37 1.17h.31c.65 0 1.17.52 1.17 1.17v10.55h.25c-.65 0-1.16.53-1.25 1.17a8.5 8.5 0 0 1-2.39 4.81 8.447 8.447 0 0 1-11.94 0c-1.31-1.31-2.14-3-2.39-4.81-.09-.64-.61-1.17-1.25-1.17h.25V23.69c0-.65.52-1.17 1.17-1.17h.31c.41.7 1.16 1.17 2.03 1.17"/><path fill="#7BBCB9" d="M57.943 58.5a3.88 3.88 0 1 0 0-7.76 3.88 3.88 0 0 0 0 7.76M26.073 24.14a2.57 2.57 0 1 0 0-5.14 2.57 2.57 0 0 0 0 5.14M37.503 24.14a2.57 2.57 0 1 0 0-5.14 2.57 2.57 0 0 0 0 5.14"/></svg>'),o("egen-pict-facility",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M61.48 62H18.52c-.29 0-.52-.23-.52-.52V28.54c0-.29.23-.52.52-.52h30.99v-9.5c0-.29.23-.52.52-.52h11.46c.28 0 .52.23.52.52v42.96c0 .28-.23.52-.52.52z"/><path fill="#7BBCB9" d="M39.63 51.97h-6.85v8.99h6.85zM56.41 52.89h-1.03v-2.87h1.03zM48.54 52.89h-1.03v-2.87h1.03zM24.9 50.02h-1.03v2.86h1.03zM56.41 47.16h-1.03v-2.87h1.03zM48.54 47.16h-1.03v-2.87h1.03zM40.66 44.29h-1.03v2.86h1.03zM32.78 44.29h-1.03v2.86h1.03zM24.9 44.29h-1.03v2.86h1.03zM56.41 41.43h-1.03v-2.86h1.03zM48.54 41.43h-1.03v-2.86h1.03zM40.66 38.57h-1.03v2.86h1.03zM32.78 38.57h-1.03v2.86h1.03zM24.9 38.57h-1.03v2.86h1.03zM56.41 35.7h-1.03v-2.86h1.03zM48.54 35.7h-1.03v-2.86h1.03zM40.66 32.84h-1.03v2.86h1.03zM32.78 32.84h-1.03v2.86h1.03zM24.9 32.84h-1.03v2.86h1.03zM56.41 26.39h-1.03v-2.35h-2.35v-1.03h2.35v-2.35h1.03v2.35h2.35v1.03h-2.35z"/></svg>'),o("egen-pict-payments-desk",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M63.28 42.47c0 1.72-5.05 4.13-13.28 4.13-2.01 0-3.93-.15-5.72-.44.03-.16.06-.32.06-.49v-4.7c1.79.27 3.68.42 5.65.42 5.15 0 10.52-1.04 13.28-3v4.09z"/><path fill="#7BBCB9" d="M42.45 45.67c0 1.72-5.03 4.12-13.23 4.12S16 47.39 16 45.67V41.6c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.03 13.23-2.99v4.07z"/><path fill="#7BBCB9" d="M16 48.69c2.76 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12S16 54.48 16 52.76z"/><path fill="#CEE6E5" d="M63.28 28.25c0 1.72-5.05 4.13-13.28 4.13s-13.28-2.41-13.28-4.13v-4.09c2.76 1.96 8.13 3 13.28 3s10.52-1.04 13.28-3z"/><path fill="#CEE6E5" d="M50 17c8.23 0 13.28 2.41 13.28 4.13S58.23 25.26 50 25.26s-13.28-2.41-13.28-4.13S41.77 17 50 17M36.73 31.26c2.76 1.97 8.13 3.01 13.28 3.01s10.52-1.04 13.28-3.01v4.09c0 1.72-5.05 4.13-13.28 4.13-1.97 0-3.93-.16-5.71-.45.03-.15.06-.3.06-.46 0-2.54-3.3-4.31-7.62-5.24v-2.07z"/><path fill="#7BBCB9" d="M29.23 34.47c8.2 0 13.23 2.4 13.23 4.12s-5.03 4.11-13.23 4.11S16 40.3 16 38.58s5.03-4.12 13.23-4.12zM29.23 63.96c-8.19 0-13.23-2.4-13.23-4.12v-4.07c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12"/><path fill="#CEE6E5" d="M50 53.71c-2 0-3.92-.15-5.72-.44.03-.17.07-.34.07-.51v-4.67c1.78.27 3.68.41 5.65.41 5.15 0 10.52-1.04 13.28-3v4.09c0 1.72-5.05 4.13-13.28 4.13z"/></svg>'),o("egen-pict-registration",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M53.975 60.797H24.762a.525.525 0 0 1-.525-.524V23.762c0-.295.24-.525.525-.525h11.154v-6.773c0-.295.24-.524.524-.524h5.845c.295 0 .525.24.525.524v6.773h11.154c.295 0 .524.24.524.525v36.51c0 .296-.24.525-.524.525z"/><path fill="#7BBCB9" d="M40.57 55.367H30.344v1.05H40.57zM47.868 52.45H30.344v1.05h17.524zM42.242 40.04a5.73 5.73 0 0 0 2.83-4.927 5.726 5.726 0 0 0-5.715-5.714 5.726 5.726 0 0 0-5.713 5.714 5.7 5.7 0 0 0 2.84 4.927c-4.25 1.278-7.265 5.145-7.265 9.417h20.298c0-4.272-3.026-8.14-7.265-9.417zM54.5 65.462h4.096v-4.38c0-.154.12-.285.284-.285h4.38V56.7h-4.38a.28.28 0 0 1-.284-.284v-4.38h-4.097v4.38c0 .153-.12.284-.284.284h-4.38v4.097h4.38c.153 0 .284.12.284.284z"/></svg>'),o("egen-pict-service-queues",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" fill-rule="evenodd" d="M34.824 27.412c.659-.473.879-1.41.784-2.353C35.703 21.133 32.502 18 28.55 18s-7.153 3.133-7.059 7.059c-.094 2.802 1.647 5.26 3.922 6.275C20.11 32.699 16 37.538 16 43.099v11.765h21.961V27.412zM63.06 54.864V43.099c0-5.561-4.11-10.415-9.412-11.765 2.274-1.015 4.016-3.473 3.922-6.275.094-3.926-3.106-7.059-7.06-7.059-3.952 0-7.152 3.133-7.058 7.059-.094.944.11 1.88.784 2.353h-3.137v27.452z" clip-rule="evenodd"/><path fill="#7BBCB9" fill-rule="evenodd" d="M28.55 61.138v-11.52c0-5.806 4.11-10.66 9.647-11.934-2.51-1.09-4.251-3.548-4.251-6.405 0-3.87 3.2-7.004 7.153-7.004s7.153 3.133 7.153 7.004c0 2.857-1.741 5.314-4.251 6.405 5.537 1.29 9.647 6.128 9.647 11.934v11.52" clip-rule="evenodd"/></svg>'),o("egen-pict-stock-management",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40.9 16 16 27.04v36.17h7.79V32.06h33.32v31.15h7.79V26.1z"/><path fill="#7BBCB9" d="M38.28 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M50.36 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M44.36 41h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V41.9a.9.9 0 0 0-.9-.9"/></svg>'),o("egen-pict-transfer",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M58.87 20h-10a1.11 1.11 0 0 0-1.11 1.11v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10A1.11 1.11 0 0 0 58.87 20M31.11 47.76h-10A1.11 1.11 0 0 0 20 48.87v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10a1.11 1.11 0 0 0-1.11-1.11"/><path fill="#7BBCB9" d="M36.426 41.985 32.89 45.52l1.57 1.57 3.536-3.535z"/><path fill="#7BBCB9" fill-rule="evenodd" d="M37.88 35.84v-2.22h8.48v8.47h-2.22v-4.68l-4.42 4.42-1.57-1.57 4.42-4.42z" clip-rule="evenodd"/></svg>'),o("egen-empty-data-illustration",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="none"><path fill="#F4F4F4" d="M38.133 13.186H21.947a1.39 1.39 0 0 0-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 0 1-.927-.493L3.664 12.751a.74.74 0 0 1 .492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.74.74 0 0 1 .926.492L38.076 13z"/><path fill="#8D8D8D" d="M41.664 13 38.026 1.117A1.576 1.576 0 0 0 36.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.58 1.58 0 0 0-1.046 1.97l12.436 40.616a1.58 1.58 0 0 0 1.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 0 1-1.737-.923L.247 12.682a1.39 1.39 0 0 1 .923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 0 1 1.737.923L41.47 13l.057.186h.193l-.057-.185z"/><path fill="#C6C6C6" d="M11.378 11.855a.84.84 0 0 1-.798-.59L9.385 7.361a.835.835 0 0 1 .554-1.042l16.318-4.996a.836.836 0 0 1 1.042.554l1.195 3.902a.836.836 0 0 1-.554 1.043l-16.318 4.995a.8.8 0 0 1-.244.037z"/><circle cx="17.636" cy="2.314" r="1.855" fill="#C6C6C6"/><circle cx="17.636" cy="2.314" r="1.175" fill="#FFF"/><path fill="#F4F4F4" d="M55.893 53.995H24.544a.79.79 0 0 1-.788-.789V15.644a.79.79 0 0 1 .788-.788h31.349a.79.79 0 0 1 .788.788v37.562a.79.79 0 0 1-.788.789"/><path fill="#8D8D8D" d="M41.47 13H21.948a1.58 1.58 0 0 0-1.576 1.577V52.4l.185-.057V14.577a1.39 1.39 0 0 1 1.391-1.39h19.581zm17.02 0H21.947a1.58 1.58 0 0 0-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.58 1.58 0 0 0 1.576-1.577V14.577a1.58 1.58 0 0 0-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947a1.39 1.39 0 0 1-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39z"/><path fill="#C6C6C6" d="M48.751 17.082H31.686a.836.836 0 0 1-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08a.836.836 0 0 1-.835.836z"/><circle cx="40.218" cy="9.755" r="1.855" fill="#C6C6C6"/><circle cx="40.218" cy="9.755" r="1.13" fill="#FFF"/></g></svg>'),function(){if(!c&&(c=!0,0!==w.length)){for(var h=w.map(function(h){return h.svg}).join(""),v=new DOMParser().parseFromString("<body>".concat(h,"</body>"),"text/html").body.querySelectorAll(":scope > svg"),a=0;a<v.length;a++)v[a].id=w[a].id,l.appendChild(l.ownerDocument.importNode(v[a],!0));w.length=0}}(),(0,g.Ju)({name:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide",load:(0,t.getSyncLifecycle)(function(h){var v=h.onConfirm,a=h.onCancel,s=h.affectedWorkspaceTitles;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(M.ModalHeader,{closeModal:a,title:(0,i.V)("closeWorkspaces2PromptTitle")}),(0,p.jsxs)(M.ModalBody,{children:[(0,p.jsx)("p",{children:(0,i.V)("closeWorkspaces2PromptBody")}),(0,p.jsx)("ul",{className:"P0mBO1Xif5+ed74ed2GBqA==",children:s.map(function(h){return(0,p.jsx)("li",{children:h},h)})})]}),(0,p.jsxs)(M.ModalFooter,{children:[(0,p.jsx)(M.Button,{kind:"secondary",onClick:a,children:(0,i.V)("cancel","Cancel")}),(0,p.jsx)(M.Button,{kind:"danger",onClick:v,children:(0,i.V)("discardChanges","Discard changes")})]})]})},{featureName:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide"})})}}]);
@@ -1 +0,0 @@
1
- {"version":3,"file":"25b1005b67864d46.js","sources":["webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/svg-utils.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/brand.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/index.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/icons/icon-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/pictograms/pictogram-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/empty-card/empty-card-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace2-close-prompt.modal.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace2-close-prompt.module.scss?a705"],"names":["svgContainer","document","appendContainer","window","queue","flushed","addSvg","htmlId","svgString","svgElement","dom","domParser","DOMParser","setGlobalCSSVariable","name","value","defineConfigSchema","esmStyleGuideSchema","getConfigStore","store","flushSvgs","html","svg","svgs","doc","i","registerModal","getSyncLifecycle","onConfirm","onCancel","affectedWorkspaceTitles","_jsxs","_Fragment","_jsx","ModalHeader","getCoreTranslation","ModalBody","title","ModalFooter","Button"],"mappings":"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"}
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["5843"],{9934(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printing":"Printing","recordNewEntry":"Record {{displayText}}","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);