@gov-design-system-ce/components 4.1.3-BETA-8 → 4.1.3-BETA-10

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 (349) hide show
  1. package/dist/cjs/core.cjs.js +2 -2
  2. package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
  3. package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
  5. package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
  6. package/dist/cjs/gov-breadcrumbs.cjs.entry.js +1 -1
  7. package/dist/cjs/gov-button.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-card.cjs.entry.js +1 -1
  9. package/dist/cjs/gov-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-container.cjs.entry.js +1 -1
  11. package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
  12. package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
  13. package/dist/cjs/gov-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  15. package/dist/cjs/gov-empty.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
  17. package/dist/cjs/gov-flex_3.cjs.entry.js +5 -22
  18. package/dist/cjs/gov-flex_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-form-checkbox-group.cjs.entry.js +1 -1
  21. package/dist/cjs/gov-form-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
  23. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  24. package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
  25. package/dist/cjs/gov-form-input_2.cjs.entry.js +1 -1
  26. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  27. package/dist/cjs/gov-form-multi-select.cjs.entry.js +1 -1
  28. package/dist/cjs/gov-form-password-power.cjs.entry.js +1 -1
  29. package/dist/cjs/gov-form-radio-group.cjs.entry.js +1 -1
  30. package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
  31. package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
  32. package/dist/cjs/gov-form-select.cjs.entry.js +1 -1
  33. package/dist/cjs/gov-form-switch.cjs.entry.js +1 -1
  34. package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
  35. package/dist/cjs/gov-grid.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-infobar.cjs.entry.js +1 -1
  37. package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
  38. package/dist/cjs/gov-layout.cjs.entry.js +1 -1
  39. package/dist/cjs/gov-lifecycle.cjs.entry.js +1 -1
  40. package/dist/cjs/gov-link.cjs.entry.js +1 -1
  41. package/dist/cjs/gov-loading.cjs.entry.js +1 -1
  42. package/dist/cjs/gov-message.cjs.entry.js +1 -1
  43. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
  45. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  46. package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
  47. package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
  48. package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/gov-tag.cjs.entry.js +1 -1
  50. package/dist/cjs/gov-tile.cjs.entry.js +1 -1
  51. package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
  52. package/dist/cjs/gov-toast.cjs.entry.js +1 -1
  53. package/dist/cjs/gov-tooltip-content.cjs.entry.js +1 -1
  54. package/dist/cjs/gov-tooltip.cjs.entry.js +1 -1
  55. package/dist/cjs/gov-wizard-item.cjs.entry.js +1 -1
  56. package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
  57. package/dist/cjs/{index-67e87c27.js → index-0e4f24f9.js} +1 -15
  58. package/dist/cjs/index-0e4f24f9.js.map +1 -0
  59. package/dist/cjs/loader.cjs.js +2 -2
  60. package/dist/collection/components/gov-icon/gov-icon.js +2 -15
  61. package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
  62. package/dist/collection/utils/icon.utils.js +1 -8
  63. package/dist/collection/utils/icon.utils.js.map +1 -1
  64. package/dist/components/gov-accordion-item.js +1 -1
  65. package/dist/components/gov-accordion.js +1 -1
  66. package/dist/components/gov-attachments-item.js +1 -1
  67. package/dist/components/gov-attachments.js +1 -1
  68. package/dist/components/gov-backdrop.js +1 -1
  69. package/dist/components/gov-breadcrumbs.js +1 -1
  70. package/dist/components/gov-breadcrumbs.js.map +1 -1
  71. package/dist/components/gov-button.js +1 -1
  72. package/dist/components/gov-card.js +1 -1
  73. package/dist/components/gov-chip.js +1 -1
  74. package/dist/components/gov-container.js +1 -1
  75. package/dist/components/gov-control-group.js +1 -1
  76. package/dist/components/gov-cookiebar.js +1 -1
  77. package/dist/components/gov-dialog.js +1 -1
  78. package/dist/components/gov-dropdown.js +1 -1
  79. package/dist/components/gov-dropdown.js.map +1 -1
  80. package/dist/components/gov-empty.js +1 -1
  81. package/dist/components/gov-error-code.js +1 -1
  82. package/dist/components/gov-flex.js +1 -1
  83. package/dist/components/gov-form-autocomplete.js +1 -1
  84. package/dist/components/gov-form-checkbox-group.js +1 -1
  85. package/dist/components/gov-form-checkbox.js +1 -1
  86. package/dist/components/gov-form-control.js +1 -1
  87. package/dist/components/gov-form-file.js +1 -1
  88. package/dist/components/gov-form-file.js.map +1 -1
  89. package/dist/components/gov-form-group.js +1 -1
  90. package/dist/components/gov-form-input.js +1 -1
  91. package/dist/components/gov-form-label.js +1 -1
  92. package/dist/components/gov-form-message.js +1 -1
  93. package/dist/components/gov-form-multi-select.js +1 -1
  94. package/dist/components/gov-form-password-power.js +1 -1
  95. package/dist/components/gov-form-radio-group.js +1 -1
  96. package/dist/components/gov-form-radio.js +1 -1
  97. package/dist/components/gov-form-search.js +1 -1
  98. package/dist/components/gov-form-select.js +1 -1
  99. package/dist/components/gov-form-switch.js +1 -1
  100. package/dist/components/gov-grid-item.js +1 -1
  101. package/dist/components/gov-grid.js +1 -1
  102. package/dist/components/gov-icon.js +1 -1
  103. package/dist/components/gov-infobar.js +1 -1
  104. package/dist/components/gov-layout-column.js +1 -1
  105. package/dist/components/gov-layout.js +1 -1
  106. package/dist/components/gov-lifecycle.js +1 -1
  107. package/dist/components/gov-link.js +1 -1
  108. package/dist/components/gov-loading.js +1 -1
  109. package/dist/components/gov-message.js +1 -1
  110. package/dist/components/gov-pagination.js +1 -1
  111. package/dist/components/gov-skeleton.js +1 -1
  112. package/dist/components/gov-spacer.js +1 -1
  113. package/dist/components/gov-stepper-item.js +1 -1
  114. package/dist/components/gov-stepper.js +1 -1
  115. package/dist/components/gov-tabs-item.js +1 -1
  116. package/dist/components/gov-tabs.js +1 -1
  117. package/dist/components/gov-tag.js +1 -1
  118. package/dist/components/gov-theme-switch.js +1 -1
  119. package/dist/components/gov-tile.js +1 -1
  120. package/dist/components/gov-tiles.js +1 -1
  121. package/dist/components/gov-toast.js +1 -1
  122. package/dist/components/gov-tooltip-content.js +1 -1
  123. package/dist/components/gov-tooltip.js +1 -1
  124. package/dist/components/gov-wizard-item.js +1 -1
  125. package/dist/components/gov-wizard.js +1 -1
  126. package/dist/components/index.js +1 -1
  127. package/dist/components/{p-0679f3d6.js → p-076c8b31.js} +2 -2
  128. package/dist/components/{p-51693b62.js → p-13a70392.js} +2 -2
  129. package/dist/components/p-42200001.js +3 -0
  130. package/dist/components/p-42200001.js.map +1 -0
  131. package/dist/components/{p-887df980.js → p-4d513423.js} +2 -2
  132. package/dist/components/{p-8f40dfec.js → p-4faecdb2.js} +2 -2
  133. package/dist/components/{p-9b0f446d.js → p-558cbab0.js} +2 -2
  134. package/dist/components/{p-03ad4e0f.js → p-73938936.js} +2 -2
  135. package/dist/components/{p-384c7f2a.js → p-7be2301a.js} +2 -2
  136. package/dist/components/p-a877bf8a.js +2 -0
  137. package/dist/components/p-a877bf8a.js.map +1 -0
  138. package/dist/components/{p-350e060c.js → p-b97d8edd.js} +2 -2
  139. package/dist/components/{p-8ee6f2f3.js → p-c438a723.js} +2 -2
  140. package/dist/components/{p-884d8f16.js → p-c5e91e5a.js} +2 -2
  141. package/dist/core/core.esm.js +1 -1
  142. package/dist/core/core.esm.js.map +1 -1
  143. package/dist/core/p-07b1fa1c.entry.js +2 -0
  144. package/dist/core/{p-347d15d5.entry.js.map → p-07b1fa1c.entry.js.map} +1 -1
  145. package/dist/core/{p-ee55932a.entry.js → p-0932c74d.entry.js} +2 -2
  146. package/dist/core/{p-d9b42773.entry.js → p-13c6da90.entry.js} +2 -2
  147. package/dist/core/{p-33310735.entry.js → p-15a7b952.entry.js} +2 -2
  148. package/dist/core/{p-fcac8531.entry.js → p-2470194a.entry.js} +2 -2
  149. package/dist/core/{p-10f773c2.entry.js → p-2abdce2d.entry.js} +2 -2
  150. package/dist/core/{p-017ff5a5.entry.js → p-2ae8b8d5.entry.js} +2 -2
  151. package/dist/core/{p-f54edd6c.entry.js → p-3627773f.entry.js} +2 -2
  152. package/dist/core/{p-7a21fb90.entry.js → p-36b35592.entry.js} +2 -2
  153. package/dist/core/{p-4e29744a.entry.js → p-3974176f.entry.js} +2 -2
  154. package/dist/core/{p-4fa0320d.entry.js → p-3b8b331f.entry.js} +2 -2
  155. package/dist/core/p-41e0ad2e.entry.js +2 -0
  156. package/dist/core/p-41e0ad2e.entry.js.map +1 -0
  157. package/dist/core/p-49ebfe10.entry.js +2 -0
  158. package/dist/core/{p-967a1094.entry.js.map → p-49ebfe10.entry.js.map} +1 -1
  159. package/dist/core/{p-6b7c3a96.entry.js → p-4aa5db49.entry.js} +2 -2
  160. package/dist/core/{p-0f0f7302.entry.js → p-52042c7e.entry.js} +2 -2
  161. package/dist/core/{p-e0a199ff.entry.js → p-5e42395f.entry.js} +2 -2
  162. package/dist/core/{p-7baee44f.entry.js → p-5ff7f0c4.entry.js} +2 -2
  163. package/dist/core/{p-77daba72.entry.js → p-6f1ea21d.entry.js} +2 -2
  164. package/dist/core/{p-4c60e125.entry.js → p-72c4ebcd.entry.js} +2 -2
  165. package/dist/core/{p-b62e49ee.entry.js → p-72cdac94.entry.js} +2 -2
  166. package/dist/core/{p-058e6fe2.entry.js → p-77bf7b01.entry.js} +2 -2
  167. package/dist/core/{p-0724cb6a.entry.js → p-7a44bd0a.entry.js} +2 -2
  168. package/dist/core/{p-032accfb.entry.js → p-7c0be05a.entry.js} +2 -2
  169. package/dist/core/p-80c7db1f.entry.js +2 -0
  170. package/dist/core/{p-d795a421.entry.js.map → p-80c7db1f.entry.js.map} +1 -1
  171. package/dist/core/{p-37473c34.entry.js → p-8e5f45d0.entry.js} +2 -2
  172. package/dist/core/{p-50af9ae8.entry.js → p-8ede0622.entry.js} +2 -2
  173. package/dist/core/p-9256cf6c.entry.js +2 -0
  174. package/dist/core/p-93179cbf.entry.js +2 -0
  175. package/dist/core/{p-8cc5ad01.entry.js.map → p-93179cbf.entry.js.map} +1 -1
  176. package/dist/core/p-93b747c1.entry.js +2 -0
  177. package/dist/core/{p-3849ca02.entry.js → p-9514520c.entry.js} +2 -2
  178. package/dist/core/{p-8bb6c816.entry.js → p-9897ac81.entry.js} +2 -2
  179. package/dist/core/p-9dea2efa.js +3 -0
  180. package/dist/core/p-9dea2efa.js.map +1 -0
  181. package/dist/core/{p-ed02945f.entry.js → p-9e77f076.entry.js} +2 -2
  182. package/dist/core/p-9fcb2ba7.entry.js +2 -0
  183. package/dist/core/{p-45b759f4.entry.js.map → p-9fcb2ba7.entry.js.map} +1 -1
  184. package/dist/core/{p-5c3f4cfe.entry.js → p-a0728f09.entry.js} +2 -2
  185. package/dist/core/p-a22517e2.entry.js +2 -0
  186. package/dist/core/{p-cecbe73f.entry.js.map → p-a22517e2.entry.js.map} +1 -1
  187. package/dist/core/{p-1aa7450e.entry.js → p-a5648769.entry.js} +2 -2
  188. package/dist/core/{p-a6a9de9a.entry.js → p-a58f4e2b.entry.js} +2 -2
  189. package/dist/core/{p-14d66f26.entry.js → p-a8a5e8ca.entry.js} +2 -2
  190. package/dist/core/{p-c0800e6d.entry.js → p-ab500948.entry.js} +2 -2
  191. package/dist/core/{p-9f8d69a9.entry.js → p-b319674e.entry.js} +2 -2
  192. package/dist/core/{p-0c076b21.entry.js → p-b404f53c.entry.js} +2 -2
  193. package/dist/core/{p-f7f60f91.entry.js → p-bd667900.entry.js} +2 -2
  194. package/dist/core/{p-e215f3ee.entry.js → p-c34dad75.entry.js} +2 -2
  195. package/dist/core/{p-269071f5.entry.js → p-c9d70c7a.entry.js} +2 -2
  196. package/dist/core/{p-063b70a2.entry.js → p-d512059d.entry.js} +2 -2
  197. package/dist/core/p-e078dab3.entry.js +2 -0
  198. package/dist/core/{p-3a7381e7.entry.js.map → p-e078dab3.entry.js.map} +1 -1
  199. package/dist/core/{p-9846fd13.entry.js → p-e4ac787c.entry.js} +2 -2
  200. package/dist/core/{p-994385ca.entry.js → p-e7b3b5db.entry.js} +2 -2
  201. package/dist/core/p-eed4e606.entry.js +2 -0
  202. package/dist/core/{p-237a5b91.entry.js.map → p-eed4e606.entry.js.map} +1 -1
  203. package/dist/core/{p-7dfb7e36.entry.js → p-f60265c3.entry.js} +2 -2
  204. package/dist/core/p-f6863a64.entry.js +2 -0
  205. package/dist/core/{p-f2bb8c29.entry.js → p-f9474bb3.entry.js} +2 -2
  206. package/dist/core/p-f98f19f6.entry.js +2 -0
  207. package/dist/core/{p-906865d0.entry.js.map → p-f98f19f6.entry.js.map} +1 -1
  208. package/dist/core/{p-927c31dd.entry.js → p-fd7a3951.entry.js} +2 -2
  209. package/dist/esm/core.js +3 -3
  210. package/dist/esm/gov-accordion-item.entry.js +1 -1
  211. package/dist/esm/gov-accordion.entry.js +1 -1
  212. package/dist/esm/gov-attachments_3.entry.js +1 -1
  213. package/dist/esm/gov-backdrop.entry.js +1 -1
  214. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  215. package/dist/esm/gov-button.entry.js +1 -1
  216. package/dist/esm/gov-card.entry.js +1 -1
  217. package/dist/esm/gov-chip.entry.js +1 -1
  218. package/dist/esm/gov-container.entry.js +1 -1
  219. package/dist/esm/gov-control-group.entry.js +1 -1
  220. package/dist/esm/gov-cookiebar.entry.js +1 -1
  221. package/dist/esm/gov-dialog.entry.js +1 -1
  222. package/dist/esm/gov-dropdown.entry.js +1 -1
  223. package/dist/esm/gov-empty.entry.js +1 -1
  224. package/dist/esm/gov-error-code.entry.js +1 -1
  225. package/dist/esm/gov-flex_3.entry.js +5 -22
  226. package/dist/esm/gov-flex_3.entry.js.map +1 -1
  227. package/dist/esm/gov-form-autocomplete.entry.js +1 -1
  228. package/dist/esm/gov-form-checkbox-group.entry.js +1 -1
  229. package/dist/esm/gov-form-checkbox.entry.js +1 -1
  230. package/dist/esm/gov-form-control.entry.js +1 -1
  231. package/dist/esm/gov-form-file.entry.js +1 -1
  232. package/dist/esm/gov-form-group.entry.js +1 -1
  233. package/dist/esm/gov-form-input_2.entry.js +1 -1
  234. package/dist/esm/gov-form-label.entry.js +1 -1
  235. package/dist/esm/gov-form-multi-select.entry.js +1 -1
  236. package/dist/esm/gov-form-password-power.entry.js +1 -1
  237. package/dist/esm/gov-form-radio-group.entry.js +1 -1
  238. package/dist/esm/gov-form-radio.entry.js +1 -1
  239. package/dist/esm/gov-form-search.entry.js +1 -1
  240. package/dist/esm/gov-form-select.entry.js +1 -1
  241. package/dist/esm/gov-form-switch.entry.js +1 -1
  242. package/dist/esm/gov-grid-item.entry.js +1 -1
  243. package/dist/esm/gov-grid.entry.js +1 -1
  244. package/dist/esm/gov-infobar.entry.js +1 -1
  245. package/dist/esm/gov-layout-column.entry.js +1 -1
  246. package/dist/esm/gov-layout.entry.js +1 -1
  247. package/dist/esm/gov-lifecycle.entry.js +1 -1
  248. package/dist/esm/gov-link.entry.js +1 -1
  249. package/dist/esm/gov-loading.entry.js +1 -1
  250. package/dist/esm/gov-message.entry.js +1 -1
  251. package/dist/esm/gov-pagination.entry.js +1 -1
  252. package/dist/esm/gov-spacer.entry.js +1 -1
  253. package/dist/esm/gov-stepper-item.entry.js +1 -1
  254. package/dist/esm/gov-stepper.entry.js +1 -1
  255. package/dist/esm/gov-tabs-item.entry.js +1 -1
  256. package/dist/esm/gov-tabs.entry.js +1 -1
  257. package/dist/esm/gov-tag.entry.js +1 -1
  258. package/dist/esm/gov-tile.entry.js +1 -1
  259. package/dist/esm/gov-tiles.entry.js +1 -1
  260. package/dist/esm/gov-toast.entry.js +1 -1
  261. package/dist/esm/gov-tooltip-content.entry.js +1 -1
  262. package/dist/esm/gov-tooltip.entry.js +1 -1
  263. package/dist/esm/gov-wizard-item.entry.js +1 -1
  264. package/dist/esm/gov-wizard.entry.js +1 -1
  265. package/dist/esm/{index-087b155c.js → index-bf8a6f64.js} +2 -14
  266. package/dist/esm/index-bf8a6f64.js.map +1 -0
  267. package/dist/esm/loader.js +3 -3
  268. package/dist/hydrate/index.js +4 -34
  269. package/dist/hydrate/index.mjs +4 -34
  270. package/dist/types/components/gov-icon/gov-icon.d.ts +0 -1
  271. package/package.json +1 -1
  272. package/dist/cjs/index-67e87c27.js.map +0 -1
  273. package/dist/components/p-115b9cf3.js +0 -3
  274. package/dist/components/p-115b9cf3.js.map +0 -1
  275. package/dist/components/p-7f0c6ba3.js +0 -2
  276. package/dist/components/p-7f0c6ba3.js.map +0 -1
  277. package/dist/components/p-bfce6f99.js +0 -2
  278. package/dist/components/p-bfce6f99.js.map +0 -1
  279. package/dist/core/p-09c9eba6.entry.js +0 -2
  280. package/dist/core/p-237a5b91.entry.js +0 -2
  281. package/dist/core/p-2642cc66.entry.js +0 -2
  282. package/dist/core/p-2642cc66.entry.js.map +0 -1
  283. package/dist/core/p-2ee042d4.js +0 -3
  284. package/dist/core/p-2ee042d4.js.map +0 -1
  285. package/dist/core/p-347d15d5.entry.js +0 -2
  286. package/dist/core/p-3a7381e7.entry.js +0 -2
  287. package/dist/core/p-43d3dbc0.entry.js +0 -2
  288. package/dist/core/p-45b759f4.entry.js +0 -2
  289. package/dist/core/p-71f5d4ff.entry.js +0 -2
  290. package/dist/core/p-8cc5ad01.entry.js +0 -2
  291. package/dist/core/p-906865d0.entry.js +0 -2
  292. package/dist/core/p-967a1094.entry.js +0 -2
  293. package/dist/core/p-cecbe73f.entry.js +0 -2
  294. package/dist/core/p-d795a421.entry.js +0 -2
  295. package/dist/esm/index-087b155c.js.map +0 -1
  296. /package/dist/components/{p-0679f3d6.js.map → p-076c8b31.js.map} +0 -0
  297. /package/dist/components/{p-51693b62.js.map → p-13a70392.js.map} +0 -0
  298. /package/dist/components/{p-887df980.js.map → p-4d513423.js.map} +0 -0
  299. /package/dist/components/{p-8f40dfec.js.map → p-4faecdb2.js.map} +0 -0
  300. /package/dist/components/{p-9b0f446d.js.map → p-558cbab0.js.map} +0 -0
  301. /package/dist/components/{p-03ad4e0f.js.map → p-73938936.js.map} +0 -0
  302. /package/dist/components/{p-384c7f2a.js.map → p-7be2301a.js.map} +0 -0
  303. /package/dist/components/{p-350e060c.js.map → p-b97d8edd.js.map} +0 -0
  304. /package/dist/components/{p-8ee6f2f3.js.map → p-c438a723.js.map} +0 -0
  305. /package/dist/components/{p-884d8f16.js.map → p-c5e91e5a.js.map} +0 -0
  306. /package/dist/core/{p-ee55932a.entry.js.map → p-0932c74d.entry.js.map} +0 -0
  307. /package/dist/core/{p-d9b42773.entry.js.map → p-13c6da90.entry.js.map} +0 -0
  308. /package/dist/core/{p-33310735.entry.js.map → p-15a7b952.entry.js.map} +0 -0
  309. /package/dist/core/{p-fcac8531.entry.js.map → p-2470194a.entry.js.map} +0 -0
  310. /package/dist/core/{p-10f773c2.entry.js.map → p-2abdce2d.entry.js.map} +0 -0
  311. /package/dist/core/{p-017ff5a5.entry.js.map → p-2ae8b8d5.entry.js.map} +0 -0
  312. /package/dist/core/{p-f54edd6c.entry.js.map → p-3627773f.entry.js.map} +0 -0
  313. /package/dist/core/{p-7a21fb90.entry.js.map → p-36b35592.entry.js.map} +0 -0
  314. /package/dist/core/{p-4e29744a.entry.js.map → p-3974176f.entry.js.map} +0 -0
  315. /package/dist/core/{p-4fa0320d.entry.js.map → p-3b8b331f.entry.js.map} +0 -0
  316. /package/dist/core/{p-6b7c3a96.entry.js.map → p-4aa5db49.entry.js.map} +0 -0
  317. /package/dist/core/{p-0f0f7302.entry.js.map → p-52042c7e.entry.js.map} +0 -0
  318. /package/dist/core/{p-e0a199ff.entry.js.map → p-5e42395f.entry.js.map} +0 -0
  319. /package/dist/core/{p-7baee44f.entry.js.map → p-5ff7f0c4.entry.js.map} +0 -0
  320. /package/dist/core/{p-77daba72.entry.js.map → p-6f1ea21d.entry.js.map} +0 -0
  321. /package/dist/core/{p-4c60e125.entry.js.map → p-72c4ebcd.entry.js.map} +0 -0
  322. /package/dist/core/{p-b62e49ee.entry.js.map → p-72cdac94.entry.js.map} +0 -0
  323. /package/dist/core/{p-058e6fe2.entry.js.map → p-77bf7b01.entry.js.map} +0 -0
  324. /package/dist/core/{p-0724cb6a.entry.js.map → p-7a44bd0a.entry.js.map} +0 -0
  325. /package/dist/core/{p-032accfb.entry.js.map → p-7c0be05a.entry.js.map} +0 -0
  326. /package/dist/core/{p-37473c34.entry.js.map → p-8e5f45d0.entry.js.map} +0 -0
  327. /package/dist/core/{p-50af9ae8.entry.js.map → p-8ede0622.entry.js.map} +0 -0
  328. /package/dist/core/{p-71f5d4ff.entry.js.map → p-9256cf6c.entry.js.map} +0 -0
  329. /package/dist/core/{p-43d3dbc0.entry.js.map → p-93b747c1.entry.js.map} +0 -0
  330. /package/dist/core/{p-3849ca02.entry.js.map → p-9514520c.entry.js.map} +0 -0
  331. /package/dist/core/{p-8bb6c816.entry.js.map → p-9897ac81.entry.js.map} +0 -0
  332. /package/dist/core/{p-ed02945f.entry.js.map → p-9e77f076.entry.js.map} +0 -0
  333. /package/dist/core/{p-5c3f4cfe.entry.js.map → p-a0728f09.entry.js.map} +0 -0
  334. /package/dist/core/{p-1aa7450e.entry.js.map → p-a5648769.entry.js.map} +0 -0
  335. /package/dist/core/{p-a6a9de9a.entry.js.map → p-a58f4e2b.entry.js.map} +0 -0
  336. /package/dist/core/{p-14d66f26.entry.js.map → p-a8a5e8ca.entry.js.map} +0 -0
  337. /package/dist/core/{p-c0800e6d.entry.js.map → p-ab500948.entry.js.map} +0 -0
  338. /package/dist/core/{p-9f8d69a9.entry.js.map → p-b319674e.entry.js.map} +0 -0
  339. /package/dist/core/{p-0c076b21.entry.js.map → p-b404f53c.entry.js.map} +0 -0
  340. /package/dist/core/{p-f7f60f91.entry.js.map → p-bd667900.entry.js.map} +0 -0
  341. /package/dist/core/{p-e215f3ee.entry.js.map → p-c34dad75.entry.js.map} +0 -0
  342. /package/dist/core/{p-269071f5.entry.js.map → p-c9d70c7a.entry.js.map} +0 -0
  343. /package/dist/core/{p-063b70a2.entry.js.map → p-d512059d.entry.js.map} +0 -0
  344. /package/dist/core/{p-9846fd13.entry.js.map → p-e4ac787c.entry.js.map} +0 -0
  345. /package/dist/core/{p-994385ca.entry.js.map → p-e7b3b5db.entry.js.map} +0 -0
  346. /package/dist/core/{p-7dfb7e36.entry.js.map → p-f60265c3.entry.js.map} +0 -0
  347. /package/dist/core/{p-09c9eba6.entry.js.map → p-f6863a64.entry.js.map} +0 -0
  348. /package/dist/core/{p-f2bb8c29.entry.js.map → p-f9474bb3.entry.js.map} +0 -0
  349. /package/dist/core/{p-927c31dd.entry.js.map → p-fd7a3951.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement, c as getAssetPath, B as Build, d as createEvent } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement, c as createEvent } from './index-bf8a6f64.js';
2
2
  import { S as Sizes } from './sizes-5b9e579f.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -52,7 +52,7 @@ const IconClass = {
52
52
  holder: 'gov-icon__holder',
53
53
  };
54
54
 
55
- const version = "4.1.3-BETA-8";
55
+ const version = "4.1.3-BETA-10";
56
56
 
57
57
  const dsVersion = () => {
58
58
  return version;
@@ -65,20 +65,14 @@ const iconUrl = (path, name, type) => {
65
65
  if (isExternalUrl(path)) {
66
66
  return `${path}/${type}/${name}.svg?v=${dsVersion()}`;
67
67
  }
68
- return getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`;
68
+ return `${path}/${type}/${name}.svg` + `?v=${dsVersion()}`;
69
69
  };
70
70
  async function fetchIcon({ name, type }) {
71
71
  const cacheKey = type + "-" + name;
72
- console.log('cacheKey', cacheKey);
73
- console.log('iconCache[cacheKey]', iconCache, iconCache[cacheKey]);
74
72
  if (iconCache[cacheKey]) {
75
73
  return iconCache[cacheKey];
76
74
  }
77
- console.log('requestCache[cacheKey]', requestCache, requestCache[cacheKey]);
78
75
  if (!requestCache[cacheKey]) {
79
- console.log('iconsPath()', iconsPath());
80
- console.log('name, type', name, type);
81
- console.log('iconUrl(iconsPath(), name, type)', iconUrl(iconsPath(), name, type));
82
76
  requestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {
83
77
  if (resp.status === 200) {
84
78
  return resp.text();
@@ -147,7 +141,6 @@ const GovIcon = class {
147
141
  this.type = "components";
148
142
  this.visible = false;
149
143
  this.error = false;
150
- console.log('GovIcon');
151
144
  this.h = govHost(this.host);
152
145
  }
153
146
  validateSize(newValue) {
@@ -156,22 +149,14 @@ const GovIcon = class {
156
149
  validateColor(newValue) {
157
150
  validateProp(IconColors, newValue, IconClass.root);
158
151
  }
159
- watchError(newValue) {
160
- console.log('error', newValue);
161
- }
162
152
  async loadIconPathData() {
163
153
  const { name, visible } = this;
164
- console.log('name, visible', name, visible);
165
- console.log('Build.isBrowser', Build.isBrowser);
166
154
  if (!name || !visible) {
167
- console.log('return');
168
155
  return;
169
156
  }
170
157
  await this.loadIcon();
171
158
  }
172
159
  connectedCallback() {
173
- console.log('connectedCallback icon', this.name);
174
- console.log('iconsLazyLoad()', iconsLazyLoad());
175
160
  if (iconsLazyLoad()) {
176
161
  this.visible = true;
177
162
  this.loadIconPathData().finally();
@@ -184,14 +169,12 @@ const GovIcon = class {
184
169
  }
185
170
  }
186
171
  disconnectedCallback() {
187
- console.log('disconnectedCallback');
188
172
  if (this.intersectionObserver) {
189
173
  this.intersectionObserver.disconnect();
190
174
  this.intersectionObserver = null;
191
175
  }
192
176
  }
193
177
  async componentWillLoad() {
194
- console.log('componentWillLoad');
195
178
  this.validateSize(this.size);
196
179
  this.validateColor(this.color);
197
180
  await this.loadIconPathData();
@@ -217,12 +200,13 @@ const GovIcon = class {
217
200
  async loadIcon() {
218
201
  try {
219
202
  const { name, type } = this;
220
- console.log('loadIcon -> name, type', name, type);
221
203
  const data = await fetchIcon({ name, type });
222
204
  const isValid = isValidSVG(data);
223
205
  this.host.innerHTML = isValid ? data : null;
224
206
  }
225
207
  catch (e) {
208
+ console.log(e);
209
+ console.log(JSON.stringify(e));
226
210
  this.host.innerHTML = '';
227
211
  this.error = true;
228
212
  }
@@ -238,7 +222,6 @@ const GovIcon = class {
238
222
  static get watchers() { return {
239
223
  "size": ["validateSize"],
240
224
  "color": ["validateColor"],
241
- "error": ["watchError"],
242
225
  "name": ["loadIconPathData"]
243
226
  }; }
244
227
  };
@@ -1 +1 @@
1
- {"file":"gov-flex.gov-icon.gov-theme-switch.entry.js","mappings":";;;;;;;;AAMO,MAAM,SAAS,GAAG;IACxB,IAAI,EAAE,UAAU;CAChB;;MCAY,OAAO;IAGnB;;yBASyE,KAAK;;;;;;;QAR7E,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;KAC3B;IAsDD,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,IAC1C,8DAAa,CACP,EACP;KACD;;;;ACpEuB,IAAI,CAAC,KAAK,EAAE,CAAC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B,+DAAQ,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,kBACpE,IAAI,CAAC,KAAK,gBACZ,MAAM,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,IAC9D,+DACC,6DAAM,KAAK,EAAE,gBAAgB,CAAC,SAAS,IACrC,SAAS,CAAC,KAAK,IAAI,iEAAU,IAAI,EAAC,KAAK,EAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAC,YAAY,GAAY,EACxG,SAAS,CAAC,IAAI,IAAI,iEAAU,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAY,CAClG,EACN,IAAI,CAAC,YAAY,KAAK,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,CAC3D,CACC,CACH,EACP;KACD;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop() direction: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import { getAssetPath } from \"@stencil/core\"\nimport { dsVersion } from \"./ds.utils\"\nimport { iconsPath } from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n\tif (isExternalUrl(path)) {\n\t\treturn `${path}/${type}/${name}.svg?v=${dsVersion()}`\n\t}\n\treturn getAssetPath(`${path}/${type}/${name}.svg`) + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({ name, type }: { name: string; type: string }): Promise<string> {\n\tconst cacheKey = type + \"-\" + name\n\tconsole.log('cacheKey', cacheKey);\n\tconsole.log('iconCache[cacheKey]', iconCache, iconCache[cacheKey]);\n\tif (iconCache[cacheKey]) {\n\t\treturn iconCache[cacheKey]\n\t}\n\tconsole.log('requestCache[cacheKey]', requestCache, requestCache[cacheKey]);\n\n\tif (!requestCache[cacheKey]) {\n\t\tconsole.log('iconsPath()', iconsPath());\n\t\tconsole.log('name, type', name, type);\n\t\tconsole.log('iconUrl(iconsPath(), name, type)', iconUrl(iconsPath(), name, type));\n\t\trequestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n\t\t\tif (resp.status === 200) {\n\t\t\t\treturn resp.text()\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Gov Icon doesn't exists\")\n\t\t\t}\n\t\t})\n\t}\n\tconst path = await requestCache[cacheKey]\n\ticonCache[cacheKey] = path\n\treturn path\n}\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass, IconColors, type IconColorType, IconSizesType} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {isValidSVG} from \"../../helpers/Dom/document\";\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tconsole.log('GovIcon');\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Icon size\n\t */\n\t@Prop({reflect: true}) readonly size?: IconSizesType\n\t/**\n\t * Icon color\n\t */\n\t@Prop({reflect: true}) readonly color?: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"components\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"error\")\n\twatchError(newValue: string): void {\n\t\tconsole.log('error', newValue);\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tconsole.log('name, visible', name, visible);\n\t\tconsole.log('Build.isBrowser', Build.isBrowser);\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\tconsole.log('return');\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tconsole.log('connectedCallback icon', this.name);\n\t\tconsole.log('iconsLazyLoad()', iconsLazyLoad());\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tconsole.log('disconnectedCallback');\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tconsole.log('componentWillLoad');\n\t\tthis.validateSize(this.size)\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconsole.log('loadIcon -> name, type', name, type);\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isValidSVG(data)\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}/>\n\t\t)\n\t}\n}\n","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přenout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel && (isDark ? this.labelDark : this.labelLight)}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"gov-flex.gov-icon.gov-theme-switch.entry.js","mappings":";;;;;;;;AAMO,MAAM,SAAS,GAAG;IACxB,IAAI,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G,SAAsB,CAAC;SACpC;aAAM;YACN,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC;SAC5B;KACD;IAYD,MAAM;QACL,IAAI,MAAM,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC;QAC3C,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,EAAE;YAClC,MAAM,GAAG,IAAI,CAAC,wBAAwB,CAAC;SACvC;QACD,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAC/C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,KAAK,EAChD,IAAI,EAAE,IAAI,CAAC,IAAI,IACjB,+DAAQ,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,kBACpE,IAAI,CAAC,KAAK,gBACZ,MAAM,GAAG,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,IAC9D,+DACC,6DAAM,KAAK,EAAE,gBAAgB,CAAC,SAAS,IACrC,SAAS,CAAC,KAAK,IAAI,iEAAU,IAAI,EAAC,KAAK,EAAC,KAAK,EAAE,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAC,YAAY,GAAY,EACxG,SAAS,CAAC,IAAI,IAAI,iEAAU,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,gBAAgB,CAAC,QAAQ,EAAE,IAAI,EAAC,YAAY,GAAY,CAClG,EACN,IAAI,CAAC,YAAY,KAAK,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,CAC3D,CACC,CACH,EACP;KACD;;;;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-flex/constants.ts","../../../packages/core/src/components/gov-flex/gov-flex.tsx","../../../packages/core/src/components/gov-icon/constants.ts","../../../packages/core/src/utils/ds.utils.ts","../../../packages/core/src/utils/icon.utils.ts","../../../packages/core/src/helpers/Dom/document.ts","../../../packages/core/src/components/gov-icon/gov-icon.tsx","../../../packages/core/src/components/gov-theme-switch/constants.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.types.ts","../../../packages/core/src/components/gov-theme-switch/gov-theme-switch.tsx"],"sourcesContent":["import {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const FlexSizes = Sizes\nexport type FlexSizesType = `${ValueOf<typeof FlexSizes>}`\n\nexport const FlexClass = {\n\troot: 'gov-flex',\n}\n\n","import {Component, Element, h, Host, Prop} from '@stencil/core'\nimport {FlexClass, FlexSizesType} from './constants'\nimport {govHost} from '../../helpers/Dom/template'\nimport {GovHost} from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-flex',\n})\nexport class GovFlex {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovGridElement\n\n\t/**\n\t * Controls the flex direction of the container.\n\t */\n\t@Prop() direction: 'row' | 'row-reverse' | 'column' | 'column-reverse' = 'row';\n\n\t/**\n\t * Defines how the browser distributes space between and around content items along the main axis.\n\t */\n\t@Prop({\n\t\tattribute: 'justify-content',\n\t\treflect: true\n\t}) justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\n\n\t/**\n\t * Aligns flex items along the cross axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-items',\n\t\treflect: true\n\t}) alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';\n\n\t/**\n\t * Controls whether the flex container is a single-line or multi-line flex container.\n\t */\n\t@Prop({reflect: true}) wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';\n\n\t/**\n\t * Aligns the flex container's lines within when there is extra space in the cross-axis.\n\t */\n\t@Prop({\n\t\tattribute: 'align-content',\n\t\treflect: true\n\t}) alignContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';\n\n\t/**\n\t * Sets the alignment of the flex container’s children along the flex container’s cross axis, overriding the `align-items` property for individual flex items.\n\t */\n\t@Prop({\n\t\tattribute: 'align-self',\n\t\treflect: true\n\t}) alignSelf?: 'auto' | 'normal' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | 'anchor-center';\n\n\t/**\n\t * The gap property creates consistent spacing between flex items in the container.\n\t */\n\t@Prop({\n\t\tattribute: 'gap',\n\t\treflect: true\n\t}) gap?: FlexSizesType;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(FlexClass.root)}>\n\t\t\t\t<slot></slot>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n","import { ValueOf } from '../../types/interfaces'\nimport { pick } from '../../utils/utils';\nimport { Colors } from '../../core/constants/colors';\nimport {Sizes} from \"../../core/constants/sizes\";\n\nexport const IconSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL', '_2XL', '_3XL', '_4XL', '_5XL'])\nexport type IconSizesType = `${ValueOf<typeof IconSizes>}`\n\nexport const IconColors = pick(Colors, [\n\t'DEFAULT',\n\t'PRIMARY',\n\t'SECONDARY',\n\t'NEUTRAL',\n\t'ERROR',\n\t'SUCCESS',\n\t'WARNING',\n\t'DISABLED',\n\t'WHITE',\n\t'BLACK',\n])\nexport type IconColorType = `${ValueOf<typeof IconColors>}`\n\nenum Types {\n\tBASIC = 'basic',\n\tCOMPLEX = 'complex',\n\tCOLORED = 'colored',\n}\nexport type Type = `${ValueOf<typeof Types>}`\n\nexport const IconClass = {\n\troot: 'gov-icon',\n\tholder: 'gov-icon__holder',\n}\n","import { version } from '../../package.json'\n\nexport const dsVersion = (): string => {\n\treturn version\n}\n","import {dsVersion} from \"./ds.utils\"\nimport {iconsPath} from \"../helpers/Dom/win\"\n\nconst iconCache: { [key: string]: string } = {}\nconst requestCache: { [key: string]: Promise<string> } = {}\n\nconst isExternalUrl = (path: string) => path.startsWith(\"http://\") || path.startsWith(\"https://\")\nconst iconUrl = (path: string, name: string, type: string) => {\n if (isExternalUrl(path)) {\n return `${path}/${type}/${name}.svg?v=${dsVersion()}`\n }\n return `${path}/${type}/${name}.svg` + `?v=${dsVersion()}`\n}\n\nexport async function fetchIcon({name, type}: { name: string; type: string }): Promise<string> {\n const cacheKey = type + \"-\" + name\n if (iconCache[cacheKey]) {\n return iconCache[cacheKey]\n }\n\n if (!requestCache[cacheKey]) {\n requestCache[cacheKey] = fetch(iconUrl(iconsPath(), name, type)).then(resp => {\n if (resp.status === 200) {\n return resp.text()\n } else {\n throw new Error(\"Gov Icon doesn't exists\")\n }\n })\n }\n const path = await requestCache[cacheKey]\n iconCache[cacheKey] = path\n return path\n}\n","import {Nullable} from \"../../utils/helpers.types\";\nimport {isWindow} from \"./win\";\n\nexport const setCookie = (name: string, value: string, days?: number) => {\n\tif (!isWindow) {\n\t\treturn\n\t}\n\tlet expires = \"\";\n\tif (days) {\n\t\tconst date = new Date();\n\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\texpires = \"; expires=\" + date.toUTCString();\n\t}\n\tdocument.cookie = `${name}=${encodeURIComponent(value)}${expires}; path=/`;\n}\n\nexport const getCookie = (name: string): Nullable<string> => {\n\tif (!isWindow) {\n\t\treturn null\n\t}\n\tconst nameEQ = name + \"=\";\n\tconst cookies = document.cookie.split(';');\n\tfor (let i = 0; i < cookies.length; i++) {\n\t\tlet cookie = cookies[i].trim();\n\t\tif (cookie.startsWith(nameEQ)) {\n\t\t\treturn decodeURIComponent(cookie.substring(nameEQ.length));\n\t\t}\n\t}\n\treturn null;\n}\n\nexport const isValidSVG = (svgContent: string): boolean => {\n\ttry {\n\t\tconst parser = new DOMParser();\n\t\tconst doc = parser.parseFromString(svgContent, \"image/svg+xml\");\n\t\tconst parseError = doc.querySelector(\"parsererror\");\n\t\tif (parseError) {\n\t\t\treturn false;\n\t\t}\n\t\tconst svgElement = doc.documentElement;\n\t\tif (svgElement.tagName.toLowerCase() !== \"svg\") {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t} catch (error) {\n\t\treturn false;\n\t}\n}\n","import {Build, Component, Element, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {IconClass, IconColors, type IconColorType, IconSizesType} from \"./constants\"\nimport {fetchIcon} from \"../../utils/icon.utils\"\nimport {govHost} from \"../../helpers/Dom/template\"\nimport {GovHost} from \"../../helpers/Dom/template.types\"\nimport {iconsLazyLoad} from \"../../helpers/Dom/win\"\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {isValidSVG} from \"../../helpers/Dom/document\";\n\n@Component({\n\tassetsDirs: [\"assets\"],\n\ttag: \"gov-icon\",\n})\nexport class GovIcon {\n\tprivate h: GovHost\n\tprivate intersectionObserver: IntersectionObserver\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovIconElement\n\t/**\n\t * Icon size\n\t */\n\t@Prop({reflect: true}) readonly size?: IconSizesType\n\t/**\n\t * Icon color\n\t */\n\t@Prop({reflect: true}) readonly color?: IconColorType\n\t/**\n\t * Name of icon in folder\n\t */\n\t@Prop({reflect: true}) name: string = null\n\t/**\n\t * Type (folder) of icon\n\t */\n\t@Prop({reflect: true}) type = \"components\"\n\n\t@State() private visible = false\n\t@State() private error = false\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"color\")\n\tvalidateColor(newValue: string): void {\n\t\tvalidateProp(IconColors, newValue, IconClass.root)\n\t}\n\n\t@Watch(\"name\")\n\tprivate async loadIconPathData(): Promise<void> {\n\t\tconst {name, visible} = this\n\t\tif (!Build.isBrowser || !name || !visible) {\n\t\t\treturn\n\t\t}\n\t\tawait this.loadIcon()\n\t}\n\n\tconnectedCallback(): void {\n\t\tif (iconsLazyLoad()) {\n\t\t\tthis.visible = true\n\t\t\tthis.loadIconPathData().finally()\n\t\t} else {\n\t\t\tthis.waitUntilVisible(async () => {\n\t\t\t\tthis.visible = true\n\t\t\t\tawait this.loadIconPathData()\n\t\t\t})\n\t\t}\n\t}\n\n\tdisconnectedCallback(): void {\n\t\tif (this.intersectionObserver) {\n\t\t\tthis.intersectionObserver.disconnect()\n\t\t\tthis.intersectionObserver = null\n\t\t}\n\t}\n\n\tasync componentWillLoad(): Promise<void> {\n\t\tthis.validateSize(this.size)\n\t\tthis.validateColor(this.color)\n\t\tawait this.loadIconPathData()\n\t}\n\n\tprivate waitUntilVisible(callback: () => void): void {\n\t\tif (!Build.isBrowser || typeof window === \"undefined\" || !(window as any).IntersectionObserver) {\n\t\t\tcallback()\n\t\t\treturn\n\t\t}\n\t\tthis.intersectionObserver = new IntersectionObserver(\n\t\t\tentries => {\n\t\t\t\tentries.forEach(entry => {\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tif (this.intersectionObserver) {\n\t\t\t\t\t\t\tthis.intersectionObserver.disconnect()\n\t\t\t\t\t\t\tthis.intersectionObserver = null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcallback()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t{rootMargin: \"50px\"},\n\t\t)\n\t\tthis.intersectionObserver.observe(this.host)\n\t}\n\n\tprivate async loadIcon() {\n\t\ttry {\n\t\t\tconst {name, type} = this\n\t\t\tconst data = await fetchIcon({name, type})\n\t\t\tconst isValid = isValidSVG(data)\n\t\t\tthis.host.innerHTML = isValid ? data : null;\n\t\t} catch (e) {\n\t\t\tconsole.log(e);\n\t\t\tconsole.log(JSON.stringify(e));\n\t\t\tthis.host.innerHTML = ''\n\t\t\tthis.error = true\n\t\t}\n\t}\n\n\trender() {\n\t\tif (this.error) {\n\t\t\treturn null\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(IconClass.root)} size={this.size} color={this.color}/>\n\t\t)\n\t}\n}\n","import {pick} from \"../../utils/utils\";\nimport {Sizes} from \"../../core/constants/sizes\";\nimport {ValueOf} from \"../../types/interfaces\";\n\nexport const ThemeSwitchSizes = pick(Sizes, ['_XS', '_S', '_M', '_L', '_XL'])\nexport type ThemeSwitchSizesType = `${ValueOf<typeof ThemeSwitchSizes>}`\n\nexport const ThemeSwitchClass = {\n\troot: 'gov-theme-switch',\n\tindicator: 'gov-theme-switch__indicator',\n\ticonLight: 'gov-theme-switch__icon-light',\n\ticonDark: 'gov-theme-switch__icon-dark',\n}\n\nexport const ATTRIBUTE_THEME_NAME = 'data-theme'\n","import {GovBaseEvent} from \"../../types/event.types\";\n\nexport enum ThemeList {\n\tauto = 'auto',\n\tlight = 'light',\n\tdark = 'dark'\n}\n\nexport interface ThemeSwitchEvent extends GovBaseEvent {\n\tref: HTMLGovThemeSwitchElement;\n\tstate: ThemeList\n}\n\n","import {Component, Element, Event, EventEmitter, h, Host, Prop, State, Watch} from \"@stencil/core\"\nimport {GovHost} from \"../../helpers/Dom/template.types\";\nimport {govHost} from \"../../helpers/Dom/template\";\nimport {ATTRIBUTE_THEME_NAME, ThemeSwitchClass, ThemeSwitchSizes, ThemeSwitchSizesType} from \"./constants\";\nimport {isWindow} from \"../../helpers/Dom/win\";\nimport {ThemeList, ThemeSwitchEvent} from \"./gov-theme-switch.types\";\nimport {validateProp} from \"../../helpers/Validate/props\";\nimport {getCookie, setCookie} from \"../../helpers/Dom/document\";\n\n@Component({\n\ttag: \"gov-theme-switch\",\n})\nexport class GovThemeSwitch {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovThemeSwitchElement\n\n\t/**\n\t * Switch's size.\n\t */\n\t@Prop() readonly size?: ThemeSwitchSizesType = \"m\"\n\t/**\n\t * Display switch label\n\t */\n\t@Prop({attribute: \"display-label\"}) readonly displayLabel? = false\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"aria-label-light\"}) readonly ariaLabelLight? = \"Přenout na tmavý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"aria-label-dark\"}) readonly ariaLabelDark? = \"Přepnout na světlý mód\"\n\t/**\n\t * Label in light mode\n\t */\n\t@Prop({attribute: \"label-light\"}) readonly labelLight? = \"Světlý mód\"\n\t/**\n\t * Label in dark mode\n\t */\n\t@Prop({attribute: \"label-dark\"}) readonly labelDark? = \"Tmavý mód\"\n\t/**\n\t * Called when the theme is changed by the user\n\t */\n\t@Event({eventName: \"gov-change\"}) govChange: EventEmitter<ThemeSwitchEvent>\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(ThemeSwitchSizes, newValue, ThemeSwitchClass.root)\n\t}\n\n\t@Watch(\"theme\")\n\twatchTheme(newValue: ThemeList): void {\n\t\tthis.htmlElement.setAttribute(ATTRIBUTE_THEME_NAME, newValue);\n\t\tthis.htmlElement.classList.remove(...Object.keys(ThemeList));\n\t\tthis.htmlElement.classList.add(newValue);\n\t\tsetCookie(ATTRIBUTE_THEME_NAME, newValue);\n\t}\n\n\t@State() theme: ThemeList = ThemeList.auto\n\n\tprivate get storageValue() {\n\t\treturn getCookie(ATTRIBUTE_THEME_NAME)\n\t}\n\n\tprivate get htmlElement(): HTMLElement {\n\t\treturn document.documentElement\n\t}\n\n\tprivate get isSystemPrefersColorDark(): boolean {\n\t\treturn isWindow && window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.initDefaultState()\n\t\tthis.validateSize(this.size)\n\t}\n\n\tprivate initDefaultState() {\n\t\tconst options = Object.keys(ThemeList);\n\t\tlet currentState = this.storageValue;\n\t\tconst htmlState = this.htmlElement.getAttribute(ATTRIBUTE_THEME_NAME)\n\n\t\tif (currentState && options.includes(currentState)) {\n\t\t\tthis.theme = currentState as ThemeList;\n\t\t} else if (htmlState && options.includes(htmlState)) {\n\t\t\tthis.theme = htmlState as ThemeList;\n\t\t} else {\n\t\t\tthis.theme = ThemeList.auto;\n\t\t}\n\t}\n\n\tprivate setThemeState = (state: ThemeList) => {\n\t\tthis.theme = state;\n\n\t\tthis.govChange.emit({\n\t\t\tcomponent: ThemeSwitchClass.root,\n\t\t\tstate: this.theme,\n\t\t\tref: this.host\n\t\t})\n\t}\n\n\trender() {\n\t\tlet isDark = this.theme === ThemeList.dark;\n\t\tif (this.theme === ThemeList.auto) {\n\t\t\tisDark = this.isSystemPrefersColorDark;\n\t\t}\n\t\treturn (\n\t\t\t<Host class={this.h.classes(ThemeSwitchClass.root)}\n\t\t\t\t theme={isDark ? ThemeList.dark : ThemeList.light}\n\t\t\t\t size={this.size}>\n\t\t\t\t<button onClick={() => this.setThemeState(isDark ? ThemeList.light : ThemeList.dark)}\n\t\t\t\t\t\taria-current={this.theme}\n\t\t\t\t\t\taria-label={isDark ? this.ariaLabelDark : this.ariaLabelLight}>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<span class={ThemeSwitchClass.indicator}>\n\t\t\t\t\t\t\t{ThemeList.light && <gov-icon name=\"sun\" class={ThemeSwitchClass.iconLight} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t\t{ThemeList.dark && <gov-icon name=\"moon\" class={ThemeSwitchClass.iconDark} type=\"components\"></gov-icon>}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t{this.displayLabel && (isDark ? this.labelDark : this.labelLight)}\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as toBoolAttr, b as booleanString } from './template-7ecee4d1.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { c as createID } from './string.utils-1da8f8fb.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { F as FormCheckboxGroupClass, a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-4da2b3c0.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, F as FormCheckboxClass, a as FormCheckboxSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govForm, b as FormControlClass } from './form-713f26fd.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { s as splitByWhitespace } from './string.utils-1da8f8fb.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { g as govForm } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-4da2b3c0.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govForm, l as FormInputClass, m as FormInputSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined, d as toOnOffAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host } from './index-bf8a6f64.js';
2
2
  import { F as FormLabelClass } from './constants-43f10674.js';
3
3
  import './utils-e10e994d.js';
4
4
  import './sizes-5b9e579f.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govForm, c as FormMultiSelectClass, d as FormMultiselectSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host } from './index-bf8a6f64.js';
2
2
 
3
3
  const FormPasswordPowerClass = {
4
4
  root: 'gov-form-password-power',
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { d as FormRadioGroupClass, a as FormGroupClass, b as FormGroupSizes, c as FormGroupOrientation } from './constants-4da2b3c0.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, e as FormRadioClass, f as FormRadioSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { C as Colors } from './colors-4cf64720.js';
3
3
  import { p as pick } from './utils-e10e994d.js';
4
4
  import { S as Sizes } from './sizes-5b9e579f.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govForm, j as FormSelectClass, k as FormSelectSizes } from './form-713f26fd.js';
3
3
  import { g as govHost, c as toBoolAttr, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { g as govForm, h as FormSwitchClass, i as FormSwitchSizes } from './form-713f26fd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { a as GridItemClass } from './constants-2d5a0e18.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { G as GridClass } from './constants-2d5a0e18.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govHost, c as toBoolAttr } from './template-7ecee4d1.js';
3
3
  import { F as Fragment } from './Fragment-8d8d54fb.js';
4
4
  import { v as validateProp } from './props-9d3c7ac1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { a as LayoutColumnClass } from './constants-f0f531b6.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { L as LayoutClass } from './constants-f0f531b6.js';
3
3
  import { g as govHost } from './template-7ecee4d1.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host } from './index-bf8a6f64.js';
2
2
  import { a as chr4 } from './string.utils-1da8f8fb.js';
3
3
 
4
4
  const GovLifecycle = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { p as pick } from './utils-e10e994d.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { p as pick } from './utils-e10e994d.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { g as govHost, p as prepareClasses } from './template-7ecee4d1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { C as Colors } from './colors-4cf64720.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { F as Fragment } from './Fragment-8d8d54fb.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { S as Sizes } from './sizes-5b9e579f.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as StepperItemClass, c as StepperColors } from './constants-372455eb.js';
4
4
  import { c as createID } from './string.utils-1da8f8fb.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { S as StepperItemClass, a as StepperClass, b as StepperSizes } from './constants-372455eb.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { c as createID } from './string.utils-1da8f8fb.js';
3
3
  import { g as govHost, t as toBoolAttrIfDefined } from './template-7ecee4d1.js';
4
4
  import { a as TabsClass, T as TabsItemClass } from './constants-9177ea52.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { T as TabsItemClass, a as TabsClass, b as TabTypes, c as TabColors, d as TabSizes } from './constants-9177ea52.js';
4
4
  import { g as govHost, c as toBoolAttr, b as booleanString } from './template-7ecee4d1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govHost } from './template-7ecee4d1.js';
3
3
  import { v as validateProp } from './props-9d3c7ac1.js';
4
4
  import { a as ButtonColors, b as ButtonSizes } from './constants-51f51588.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { p as pick } from './utils-e10e994d.js';
3
3
  import { S as Sizes } from './sizes-5b9e579f.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { g as govHost } from './template-7ecee4d1.js';
3
3
 
4
4
  const TilesClass = {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { C as Colors } from './colors-4cf64720.js';
4
4
  import { p as pick } from './utils-e10e994d.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { T as TooltipColors, a as TooltipSize, b as TooltipContentClass } from './constants-3b914c35.js';
3
3
  import { c as toBoolAttr } from './template-7ecee4d1.js';
4
4
  import './colors-4cf64720.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { T as TooltipColors, a as TooltipSize, b as TooltipContentClass, c as TooltipPosition, d as TooltipClass } from './constants-3b914c35.js';
4
4
  import { c as createID } from './string.utils-1da8f8fb.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { W as WizardItemClass, c as WizardColors } from './constants-8429b68f.js';
4
4
  import { c as createID } from './string.utils-1da8f8fb.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-087b155c.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-bf8a6f64.js';
2
2
  import { v as validateProp } from './props-9d3c7ac1.js';
3
3
  import { W as WizardItemClass, a as WizardClass, b as WizardSizes } from './constants-8429b68f.js';
4
4
  import { g as govHost } from './template-7ecee4d1.js';
@@ -9,12 +9,6 @@ var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
- var Build = {
13
- isDev: false,
14
- isBrowser: true,
15
- isServer: false,
16
- isTesting: false
17
- };
18
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
19
13
  var getHostRef = (ref) => hostRefs.get(ref);
20
14
  var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
@@ -362,12 +356,6 @@ var flush = () => {
362
356
  var nextTick = (cb) => promiseResolve().then(cb);
363
357
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
364
358
 
365
- // src/runtime/asset-path.ts
366
- var getAssetPath = (path) => {
367
- const assetUrl = new URL(path, plt.$resourcesUrl$);
368
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
369
- };
370
-
371
359
  // src/utils/constants.ts
372
360
  var EMPTY_OBJ = {};
373
361
 
@@ -2010,6 +1998,6 @@ var Fragment = (_, children) => children;
2010
1998
  // src/runtime/nonce.ts
2011
1999
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2012
2000
 
2013
- export { Build as B, Fragment as F, H, Host as a, bootstrapLazy as b, getAssetPath as c, createEvent as d, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2001
+ export { Fragment as F, H, Host as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2014
2002
 
2015
- //# sourceMappingURL=index-087b155c.js.map
2003
+ //# sourceMappingURL=index-bf8a6f64.js.map