@telesign/boreal-web-components 0.1.0-alpha.4 → 0.1.0-alpha.5

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 (366) hide show
  1. package/components-build/bds-avatar.js +1 -1
  2. package/components-build/bds-badge.js +1 -1
  3. package/components-build/bds-banner.js +1 -1
  4. package/components-build/bds-button-group.d.ts +11 -0
  5. package/components-build/bds-button-group.js +1 -0
  6. package/components-build/bds-button.js +1 -1
  7. package/components-build/bds-checkbox-card.d.ts +11 -0
  8. package/components-build/bds-checkbox-card.js +1 -0
  9. package/components-build/bds-checkbox.js +1 -1
  10. package/components-build/bds-dialog.js +1 -1
  11. package/components-build/bds-divider.js +1 -1
  12. package/components-build/bds-flag.js +1 -1
  13. package/components-build/bds-grid-item.js +1 -1
  14. package/components-build/bds-grid.js +1 -1
  15. package/components-build/bds-list-menu-item.js +1 -1
  16. package/components-build/bds-list-menu.js +1 -1
  17. package/components-build/bds-popover.js +1 -1
  18. package/components-build/bds-radio-button.d.ts +11 -0
  19. package/components-build/bds-radio-button.js +1 -0
  20. package/components-build/bds-radio-card.d.ts +11 -0
  21. package/components-build/bds-radio-card.js +1 -0
  22. package/components-build/bds-radio-group.d.ts +11 -0
  23. package/components-build/bds-radio-group.js +1 -0
  24. package/components-build/bds-radio.d.ts +11 -0
  25. package/components-build/bds-radio.js +1 -0
  26. package/components-build/bds-spinner.js +1 -1
  27. package/components-build/bds-status.js +1 -1
  28. package/components-build/bds-tag.js +1 -1
  29. package/components-build/bds-text-field.js +1 -1
  30. package/components-build/bds-toggle.js +1 -1
  31. package/components-build/bds-tooltip.js +1 -1
  32. package/components-build/bds-typography.js +1 -1
  33. package/components-build/index.js +1 -1
  34. package/components-build/p-BSlaf0ff.js +1 -0
  35. package/components-build/p-CPvuMm5C.js +1 -0
  36. package/components-build/p-Cbibqaz0.js +1 -0
  37. package/components-build/p-ClR-wgiT.js +1 -0
  38. package/components-build/p-DfaYciGa.js +1 -0
  39. package/components-build/p-Dh8DSJs_.js +1 -0
  40. package/components-build/p-N_tqtRV2.js +1 -0
  41. package/components-build/p-bAMuJ4Jx.js +1 -0
  42. package/components-build/p-c2z3tneT.js +1 -0
  43. package/components-build/p-dz9-Q2N8.js +1 -0
  44. package/{dist/boreal-web-components/p-CaHOghy5.js → components-build/p-fUK0GCeC.js} +1 -1
  45. package/components-build/p-iq2UuV7c.js +1 -0
  46. package/components-build/p-nxYzL9uu.js +1 -0
  47. package/custom-elements.json +2603 -931
  48. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  49. package/dist/boreal-web-components/{p-7a4efddd.system.entry.js → p-024d90b0.system.entry.js} +1 -1
  50. package/dist/boreal-web-components/p-06DrzEMB.system.js +1 -0
  51. package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +1 -0
  52. package/dist/boreal-web-components/p-147d6652.system.entry.js +1 -0
  53. package/dist/boreal-web-components/p-148d510f.entry.js +1 -0
  54. package/dist/boreal-web-components/{p-2158a7cd.entry.js → p-19f9352d.entry.js} +1 -1
  55. package/dist/boreal-web-components/{p-41b48701.system.entry.js → p-277f142e.system.entry.js} +1 -1
  56. package/dist/boreal-web-components/{p-251b3002.entry.js → p-2adf2cd5.entry.js} +1 -1
  57. package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +1 -0
  58. package/dist/boreal-web-components/p-340896b2.entry.js +1 -0
  59. package/dist/boreal-web-components/{p-251d35df.system.entry.js → p-365e8e5c.system.entry.js} +1 -1
  60. package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +1 -0
  61. package/dist/boreal-web-components/p-44a8fde5.entry.js +1 -0
  62. package/dist/boreal-web-components/{p-52600375.system.entry.js → p-48ebbfbe.system.entry.js} +1 -1
  63. package/dist/boreal-web-components/{p-ab5ffa15.system.entry.js → p-4dc01078.system.entry.js} +1 -1
  64. package/dist/boreal-web-components/p-5681b294.system.entry.js +1 -0
  65. package/dist/boreal-web-components/p-5ed75075.entry.js +1 -0
  66. package/dist/boreal-web-components/p-635f676b.system.entry.js +1 -0
  67. package/dist/boreal-web-components/{p-7db870b7.entry.js → p-6629be14.entry.js} +1 -1
  68. package/dist/boreal-web-components/p-68b83680.system.entry.js +1 -0
  69. package/dist/boreal-web-components/p-6a60d134.system.entry.js +1 -0
  70. package/dist/boreal-web-components/{p-66360e63.entry.js → p-71ed1e1d.entry.js} +1 -1
  71. package/dist/boreal-web-components/{p-b12d4788.system.entry.js → p-732e98f1.system.entry.js} +1 -1
  72. package/dist/boreal-web-components/{p-80822731.system.entry.js → p-77658a5b.system.entry.js} +1 -1
  73. package/dist/boreal-web-components/p-7aff4c78.entry.js +1 -0
  74. package/dist/boreal-web-components/p-7bb88855.entry.js +1 -0
  75. package/dist/boreal-web-components/p-7d3a8f61.entry.js +1 -0
  76. package/dist/boreal-web-components/p-7e672cce.entry.js +1 -0
  77. package/dist/boreal-web-components/{p-1d1bb9d2.entry.js → p-7ebc67c9.entry.js} +1 -1
  78. package/dist/boreal-web-components/p-81401e2a.system.entry.js +1 -0
  79. package/dist/boreal-web-components/p-8289e506.entry.js +1 -0
  80. package/dist/boreal-web-components/p-82d15372.entry.js +1 -0
  81. package/dist/boreal-web-components/p-851c06f2.entry.js +1 -0
  82. package/dist/boreal-web-components/p-8a3716ec.entry.js +1 -0
  83. package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +1 -0
  84. package/dist/boreal-web-components/{p-871c9a9f.system.entry.js → p-93066db4.system.entry.js} +1 -1
  85. package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
  86. package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
  87. package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
  88. package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
  89. package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
  90. package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
  91. package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
  92. package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
  93. package/dist/boreal-web-components/p-DYlZcFrB.system.js +1 -0
  94. package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
  95. package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
  96. package/dist/boreal-web-components/p-DlYG-OVB.js +1 -0
  97. package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
  98. package/dist/boreal-web-components/p-DpnBDSUm.system.js +1 -0
  99. package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
  100. package/{components-build/p-CaHOghy5.js → dist/boreal-web-components/p-U9yfbs7i.js} +1 -1
  101. package/dist/boreal-web-components/p-a73659ac.system.entry.js +1 -0
  102. package/dist/boreal-web-components/p-b2ad9535.system.entry.js +1 -0
  103. package/dist/boreal-web-components/{p-731b88cc.entry.js → p-d4c30d2b.entry.js} +1 -1
  104. package/dist/boreal-web-components/p-db0c10b9.system.entry.js +1 -0
  105. package/dist/boreal-web-components/{p-695d0830.entry.js → p-dc7d429c.entry.js} +1 -1
  106. package/dist/boreal-web-components/p-dca16a3d.entry.js +1 -0
  107. package/dist/boreal-web-components/p-de846c43.system.entry.js +1 -0
  108. package/dist/boreal-web-components/p-df087e23.system.entry.js +1 -0
  109. package/dist/boreal-web-components/p-dfb4854e.entry.js +1 -0
  110. package/dist/boreal-web-components/p-dz9-Q2N8.js +1 -0
  111. package/dist/boreal-web-components/p-e09b4d14.system.entry.js +1 -0
  112. package/dist/boreal-web-components/{p-edca16b6.system.entry.js → p-e0a41cab.system.entry.js} +1 -1
  113. package/dist/boreal-web-components/{p-127a4134.entry.js → p-e55f2a8b.entry.js} +1 -1
  114. package/dist/boreal-web-components/p-e7af1e1a.entry.js +1 -0
  115. package/dist/boreal-web-components/{p-e0bf8a6e.entry.js → p-efe159aa.entry.js} +1 -1
  116. package/dist/boreal-web-components/{p-44ceff4e.system.entry.js → p-f65e9d0c.system.entry.js} +1 -1
  117. package/dist/boreal-web-components/p-f792aa74.entry.js +1 -0
  118. package/dist/boreal-web-components/{p-fc24d963.entry.js → p-fb9a0e94.entry.js} +1 -1
  119. package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
  120. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -1
  121. package/dist/boreal-web-components/p-wREMI3WA.js +1 -0
  122. package/dist/cjs/Keys-rKl2za5q.js +18 -0
  123. package/dist/cjs/Logger-DnziItRH.js +51 -0
  124. package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
  125. package/dist/cjs/bds-avatar.cjs.entry.js +2 -2
  126. package/dist/cjs/bds-badge.cjs.entry.js +1 -1
  127. package/dist/cjs/bds-banner.cjs.entry.js +2 -2
  128. package/dist/cjs/bds-button-group.cjs.entry.js +95 -0
  129. package/dist/cjs/bds-button.cjs.entry.js +7 -13
  130. package/dist/cjs/bds-checkbox-card.cjs.entry.js +121 -0
  131. package/dist/cjs/bds-checkbox.cjs.entry.js +13 -6
  132. package/dist/cjs/bds-dialog.cjs.entry.js +3 -3
  133. package/dist/cjs/bds-divider.cjs.entry.js +2 -2
  134. package/dist/cjs/bds-flag.cjs.entry.js +1 -1
  135. package/dist/cjs/bds-grid-item.cjs.entry.js +1 -1
  136. package/dist/cjs/bds-grid.cjs.entry.js +1 -1
  137. package/dist/cjs/bds-list-menu-item.cjs.entry.js +47 -22
  138. package/dist/cjs/bds-list-menu.cjs.entry.js +90 -21
  139. package/dist/cjs/bds-popover.cjs.entry.js +5 -4
  140. package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
  141. package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
  142. package/dist/cjs/bds-radio-group.cjs.entry.js +285 -0
  143. package/dist/cjs/bds-radio.cjs.entry.js +60 -0
  144. package/dist/cjs/bds-spinner.cjs.entry.js +1 -1
  145. package/dist/cjs/bds-status.cjs.entry.js +1 -1
  146. package/dist/cjs/bds-tag.cjs.entry.js +1 -1
  147. package/dist/cjs/bds-text-field.cjs.entry.js +8 -7
  148. package/dist/cjs/bds-toggle.cjs.entry.js +6 -5
  149. package/dist/cjs/bds-tooltip_2.cjs.entry.js +9 -8
  150. package/dist/cjs/boreal-web-components.cjs.js +1 -1
  151. package/dist/cjs/coreColors-CQGojc0l.js +10 -0
  152. package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
  153. package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
  154. package/dist/cjs/{getOffset-m4hBgyVP.js → getOffset-k4ezB-eT.js} +6 -53
  155. package/dist/cjs/{form-associated.mixin-DXwvF_vW.js → internals-D8x7GMfR.js} +0 -31
  156. package/dist/cjs/loader.cjs.js +1 -1
  157. package/dist/cjs/menu-BxKaEajh.js +8 -0
  158. package/dist/cjs/orientation-DQAIleEJ.js +8 -0
  159. package/dist/collection/collection-manifest.json +7 -1
  160. package/dist/collection/components/actions/bds-button/bds-button.css +19 -19
  161. package/dist/collection/components/actions/bds-button/bds-button.js +7 -7
  162. package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
  163. package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
  164. package/dist/collection/components/actions/bds-button-group/bds-button-group.js +245 -0
  165. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +27 -1
  166. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +148 -49
  167. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
  168. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/types.js +1 -0
  169. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +25 -9
  170. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +53 -8
  171. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +1 -1
  172. package/dist/collection/components/feedback/bds-badge/bds-badge.js +1 -1
  173. package/dist/collection/components/feedback/bds-banner/bds-banner.js +1 -1
  174. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  175. package/dist/collection/components/feedback/bds-status/bds-status.js +1 -1
  176. package/dist/collection/components/feedback/bds-tag/bds-tag.js +1 -1
  177. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +9 -8
  178. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +7 -1
  179. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.css +127 -0
  180. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.js +397 -0
  181. package/dist/collection/components/forms/bds-checkbox-card/types/ICheckboxCard.js +1 -0
  182. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  183. package/dist/collection/components/forms/bds-radio/bds-radio.css +121 -0
  184. package/dist/collection/components/forms/bds-radio/bds-radio.js +238 -0
  185. package/dist/collection/components/forms/bds-radio/types/IRadio.js +1 -0
  186. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.css +109 -0
  187. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.js +238 -0
  188. package/dist/collection/components/forms/bds-radio-button/types/IRadioButton.js +1 -0
  189. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.css +156 -0
  190. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.js +307 -0
  191. package/dist/collection/components/forms/bds-radio-card/types/IRadioCard.js +1 -0
  192. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.css +55 -0
  193. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.js +620 -0
  194. package/dist/collection/components/forms/bds-radio-group/types/IRadioGroup.js +1 -0
  195. package/dist/collection/components/forms/bds-radio-group/types/enum.js +5 -0
  196. package/dist/collection/components/forms/bds-radio-group/types/types.js +1 -0
  197. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  198. package/dist/collection/components/helpers/{bds-divider.css → bds-divider/bds-divider.css} +12 -4
  199. package/dist/collection/components/helpers/{bds-divider.js → bds-divider/bds-divider.js} +3 -3
  200. package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
  201. package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
  202. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +1 -1
  203. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +1 -1
  204. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +1 -1
  205. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +2 -2
  206. package/dist/collection/components/overlays/bds-popover/bds-popover.js +1 -1
  207. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +3 -3
  208. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +5 -0
  209. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +1 -1
  210. package/dist/collection/mixins/anchored.mixin.js +2 -2
  211. package/dist/collection/mixins/links.mixin.js +1 -2
  212. package/dist/collection/mixins/menu-behavior.mixin.js +11 -5
  213. package/dist/collection/types/index.js +2 -0
  214. package/dist/collection/types/orientation.js +4 -0
  215. package/dist/collection/utils/constants/common/Keys.js +10 -24
  216. package/dist/collection/utils/menu/menu-item.utils.js +9 -8
  217. package/dist/collection/utils/testing/helpers.js +10 -0
  218. package/dist/esm/Keys-DlYG-OVB.js +16 -0
  219. package/dist/esm/Logger-iq2UuV7c.js +49 -0
  220. package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
  221. package/dist/esm/bds-avatar.entry.js +2 -2
  222. package/dist/esm/bds-badge.entry.js +1 -1
  223. package/dist/esm/bds-banner.entry.js +2 -2
  224. package/dist/esm/bds-button-group.entry.js +93 -0
  225. package/dist/esm/bds-button.entry.js +5 -11
  226. package/dist/esm/bds-checkbox-card.entry.js +119 -0
  227. package/dist/esm/bds-checkbox.entry.js +11 -4
  228. package/dist/esm/bds-dialog.entry.js +3 -3
  229. package/dist/esm/bds-divider.entry.js +2 -2
  230. package/dist/esm/bds-flag.entry.js +1 -1
  231. package/dist/esm/bds-grid-item.entry.js +1 -1
  232. package/dist/esm/bds-grid.entry.js +1 -1
  233. package/dist/esm/bds-list-menu-item.entry.js +47 -22
  234. package/dist/esm/bds-list-menu.entry.js +90 -21
  235. package/dist/esm/bds-popover.entry.js +5 -4
  236. package/dist/esm/bds-radio-button.entry.js +58 -0
  237. package/dist/esm/bds-radio-card.entry.js +74 -0
  238. package/dist/esm/bds-radio-group.entry.js +283 -0
  239. package/dist/esm/bds-radio.entry.js +58 -0
  240. package/dist/esm/bds-spinner.entry.js +1 -1
  241. package/dist/esm/bds-status.entry.js +1 -1
  242. package/dist/esm/bds-tag.entry.js +1 -1
  243. package/dist/esm/bds-text-field.entry.js +3 -2
  244. package/dist/esm/bds-toggle.entry.js +4 -3
  245. package/dist/esm/bds-tooltip_2.entry.js +9 -8
  246. package/dist/esm/boreal-web-components.js +1 -1
  247. package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
  248. package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
  249. package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
  250. package/dist/esm/{getOffset-DKPjeBHi.js → getOffset-BYS3c13B.js} +4 -51
  251. package/dist/esm/{form-associated.mixin-CvK2d92c.js → internals-DfaYciGa.js} +1 -31
  252. package/dist/esm/loader.js +1 -1
  253. package/dist/esm/menu-dz9-Q2N8.js +6 -0
  254. package/dist/esm/orientation-CPvuMm5C.js +6 -0
  255. package/dist/esm-es5/Keys-DlYG-OVB.js +1 -0
  256. package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
  257. package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
  258. package/dist/esm-es5/bds-avatar.entry.js +1 -1
  259. package/dist/esm-es5/bds-badge.entry.js +1 -1
  260. package/dist/esm-es5/bds-banner.entry.js +1 -1
  261. package/dist/esm-es5/bds-button-group.entry.js +1 -0
  262. package/dist/esm-es5/bds-button.entry.js +1 -1
  263. package/dist/esm-es5/bds-checkbox-card.entry.js +1 -0
  264. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  265. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  266. package/dist/esm-es5/bds-divider.entry.js +1 -1
  267. package/dist/esm-es5/bds-flag.entry.js +1 -1
  268. package/dist/esm-es5/bds-grid-item.entry.js +1 -1
  269. package/dist/esm-es5/bds-grid.entry.js +1 -1
  270. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -1
  271. package/dist/esm-es5/bds-list-menu.entry.js +1 -1
  272. package/dist/esm-es5/bds-popover.entry.js +1 -1
  273. package/dist/esm-es5/bds-radio-button.entry.js +1 -0
  274. package/dist/esm-es5/bds-radio-card.entry.js +1 -0
  275. package/dist/esm-es5/bds-radio-group.entry.js +1 -0
  276. package/dist/esm-es5/bds-radio.entry.js +1 -0
  277. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  278. package/dist/esm-es5/bds-status.entry.js +1 -1
  279. package/dist/esm-es5/bds-tag.entry.js +1 -1
  280. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  281. package/dist/esm-es5/bds-toggle.entry.js +1 -1
  282. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -1
  283. package/dist/esm-es5/boreal-web-components.js +1 -1
  284. package/dist/esm-es5/coreColors-Dwo1hcd9.js +1 -0
  285. package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
  286. package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
  287. package/dist/esm-es5/getOffset-BYS3c13B.js +1 -0
  288. package/dist/esm-es5/internals-DfaYciGa.js +1 -0
  289. package/dist/esm-es5/loader.js +1 -1
  290. package/dist/esm-es5/menu-dz9-Q2N8.js +1 -0
  291. package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
  292. package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -4
  293. package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
  294. package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +36 -0
  295. package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
  296. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +19 -15
  297. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +14 -0
  298. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
  299. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
  300. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +8 -2
  301. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +1 -0
  302. package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +2 -0
  303. package/dist/types/components/forms/bds-checkbox-card/bds-checkbox-card.d.ts +70 -0
  304. package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +8 -0
  305. package/dist/types/components/forms/bds-radio/bds-radio.d.ts +36 -0
  306. package/dist/types/components/forms/bds-radio/types/IRadio.d.ts +13 -0
  307. package/dist/types/components/forms/bds-radio-button/bds-radio-button.d.ts +36 -0
  308. package/dist/types/components/forms/bds-radio-button/types/IRadioButton.d.ts +13 -0
  309. package/dist/types/components/forms/bds-radio-card/bds-radio-card.d.ts +57 -0
  310. package/dist/types/components/forms/bds-radio-card/types/IRadioCard.d.ts +14 -0
  311. package/dist/types/components/forms/bds-radio-group/bds-radio-group.d.ts +82 -0
  312. package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +19 -0
  313. package/dist/types/components/forms/bds-radio-group/types/enum.d.ts +6 -0
  314. package/dist/types/components/forms/bds-radio-group/types/types.d.ts +3 -0
  315. package/dist/types/components.d.ts +941 -63
  316. package/dist/types/mixins/menu-behavior.mixin.d.ts +5 -1
  317. package/dist/types/types/index.d.ts +2 -0
  318. package/dist/types/types/orientation.d.ts +6 -0
  319. package/dist/types/utils/constants/common/Keys.d.ts +13 -16
  320. package/dist/types/utils/menu/menu-item.utils.d.ts +2 -2
  321. package/dist/types/utils/testing/helpers.d.ts +8 -0
  322. package/package.json +1 -1
  323. package/components-build/p-B8n1ru5i.js +0 -1
  324. package/components-build/p-CGdxFth9.js +0 -1
  325. package/components-build/p-CrAt6pGl.js +0 -1
  326. package/components-build/p-DCwT43Kz.js +0 -1
  327. package/components-build/p-DIY3CDNL.js +0 -1
  328. package/dist/boreal-web-components/p-0028481c.entry.js +0 -1
  329. package/dist/boreal-web-components/p-1466de58.system.entry.js +0 -1
  330. package/dist/boreal-web-components/p-2b8bd1dd.entry.js +0 -1
  331. package/dist/boreal-web-components/p-32c23246.system.entry.js +0 -1
  332. package/dist/boreal-web-components/p-3fbcc233.entry.js +0 -1
  333. package/dist/boreal-web-components/p-401f1aee.system.entry.js +0 -1
  334. package/dist/boreal-web-components/p-41cac1b8.system.entry.js +0 -1
  335. package/dist/boreal-web-components/p-627b19a5.system.entry.js +0 -1
  336. package/dist/boreal-web-components/p-649737e5.entry.js +0 -1
  337. package/dist/boreal-web-components/p-64cb5825.entry.js +0 -1
  338. package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +0 -1
  339. package/dist/boreal-web-components/p-74c13bed.system.entry.js +0 -1
  340. package/dist/boreal-web-components/p-7f7ac40f.entry.js +0 -1
  341. package/dist/boreal-web-components/p-82d49661.entry.js +0 -1
  342. package/dist/boreal-web-components/p-83ca193e.entry.js +0 -1
  343. package/dist/boreal-web-components/p-BQ_zoZa2.js +0 -1
  344. package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
  345. package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
  346. package/dist/boreal-web-components/p-CtknSula.system.js +0 -1
  347. package/dist/boreal-web-components/p-CvK2d92c.js +0 -1
  348. package/dist/boreal-web-components/p-CzYQb3pP.js +0 -1
  349. package/dist/boreal-web-components/p-DZcx75cy.system.js +0 -1
  350. package/dist/boreal-web-components/p-Dme-NuTD.system.js +0 -1
  351. package/dist/boreal-web-components/p-ba2b625a.system.entry.js +0 -1
  352. package/dist/boreal-web-components/p-bf2ef10b.entry.js +0 -1
  353. package/dist/boreal-web-components/p-c7aee9f4.system.entry.js +0 -1
  354. package/dist/cjs/Keys-DbIXSJF2.js +0 -22
  355. package/dist/esm/Keys-CzYQb3pP.js +0 -20
  356. package/dist/esm-es5/Keys-CzYQb3pP.js +0 -1
  357. package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
  358. package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +0 -1
  359. package/dist/esm-es5/getOffset-DKPjeBHi.js +0 -1
  360. /package/dist/collection/components/{helpers/types/IDivider.js → actions/bds-button-group/types/IButtonGroup.js} +0 -0
  361. /package/dist/collection/components/{helpers/types/types.js → actions/bds-list-menu/bds-list-menu/types/IListMenu.js} +0 -0
  362. /package/dist/collection/components/helpers/{types → bds-divider/types}/enum.js +0 -0
  363. /package/dist/types/components/helpers/{bds-divider.d.ts → bds-divider/bds-divider.d.ts} +0 -0
  364. /package/dist/types/components/helpers/{types → bds-divider/types}/IDivider.d.ts +0 -0
  365. /package/dist/types/components/helpers/{types → bds-divider/types}/enum.d.ts +0 -0
  366. /package/dist/types/components/helpers/{types → bds-divider/types}/types.d.ts +0 -0
@@ -0,0 +1 @@
1
+ import{M as i,r as t,c as s,h as r,a,g as e}from"./p-BqJlOB6b.js";import{f as o}from"./p-C4HM8wQe.js";import{O as d}from"./p-CPvuMm5C.js";import{c as h}from"./p-DhSchGPI.js";import{v as n}from"./p-kGnB15Lz.js";import{K as l}from"./p-DlYG-OVB.js";const c=["BDS-RADIO","BDS-RADIO-BUTTON","BDS-RADIO-CARD"],b=class extends(i(o)){constructor(i){super(),t(this,i),this.bdsChange=s(this,"bdsChange"),this.valueChange=s(this,"valueChange"),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this._id=h("bds-radio-group"),this.isDisabled=!1,this.isInvalid=!1,this.disabled=!1,this.error=!1,this.errorMessage="",this.helperText="",this.info="",this.label="",this.orientation=d.VERTICAL,this.required=!1,this.type="radio",this.value="",this.handleKeyDown=i=>{const t=i.target;if(c.includes(t.tagName))switch(i.key){case l.ArrowDown:case l.ArrowRight:this.navigateTo(t,!0),i.preventDefault();break;case l.ArrowUp:case l.ArrowLeft:this.navigateTo(t,!1),i.preventDefault()}},this.handleSlotChange=()=>{this.updateLayoutCount()},this._buttonCount=0}checkPropValues(){n(Object.values(d),d.VERTICAL,this.el,"orientation")}onDisabledChange(i){this.isDisabled=i,this.radioElements.forEach((t=>t.disabled=i))}onErrorChange(i){this.radioElements.forEach((t=>t.error=i))}onValueChange(i){this.radioElements.forEach((t=>{t.checked=t.value===i,t.setAttribute("aria-checked",String(t.value===i))}));const t=this.radioElements.find((i=>i.checked));this.updateTabIndexes(t??null)}componentWillLoad(){if(this.checkPropValues(),this.isDisabled=this.disabled,""===this.value){const i=Array.from(this.el.querySelectorAll("bds-radio[checked], bds-radio-button[checked], bds-radio-card[checked]")).at(-1);void 0!==i&&(this.value=i.getAttribute("value")??"")}}componentDidLoad(){const i=this.radioElements.filter((i=>i.checked));i.length>1&&i.slice(0,-1).forEach((i=>i.checked=!1)),this.onValueChange(this.value),this.error&&this.radioElements.forEach((i=>i.error=!0)),this.updateLayoutCount(),this.updateTabIndexes(this.radioElements.find((i=>i.checked))??this.radioElements.find((i=>!i.disabled))??null),this.updateFormValidity()}formAssociatedCallback(){this.syncFormValue()}formResetCallback(){this.value="",this.isInvalid=!1,this.radioElements.forEach((i=>{i.checked=!1,i.setAttribute("aria-checked","false"),this.error||(i.error=!1)})),this.internals.setFormValue(null),this.updateFormValidity();const i=this.radioElements.find((i=>!i.disabled));this.updateTabIndexes(i??null)}formStateRestoreCallback(i,t){const s="string"==typeof i?i:"";this.value=s,this.internals.setFormValue(""!==s?s:null)}formDisabledCallback(i){this.isDisabled=i,this.radioElements.forEach((t=>t.disabled=i))}handleRadioChange(i){const t=i.target;c.includes(t.tagName)&&(this.radioElements.filter((i=>i!==t)).forEach((i=>{i.checked=!1,i.setAttribute("aria-checked","false")})),this.value=i.detail.value,this.internals.setFormValue(this.value),this.updateTabIndexes(t),this.updateFormValidity(),this.bdsChange.emit({value:this.value}),this.valueChange.emit(this.value))}handleInvalid(i){""!==this.errorMessage&&(i.preventDefault(),this.isInvalid=!0,this.radioElements.forEach((i=>i.error=!0)))}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}navigateTo(i,t){const s=this.radioElements.filter((i=>!i.disabled));if(0===s.length)return;const r=s.indexOf(i),a=s[(s.length+r+(t?1:-1))%s.length];a.checked=!0,a.setAttribute("aria-checked","true"),this.radioElements.filter((i=>i!==a)).forEach((i=>{i.checked=!1,i.setAttribute("aria-checked","false")})),this.value=a.value,this.internals.setFormValue(this.value),this.updateTabIndexes(a),this.updateFormValidity(),this.bdsChange.emit({value:this.value}),this.valueChange.emit(this.value),a.focus()}insertDividers(){if(this.el.querySelectorAll("bds-divider[data-injected]").forEach((i=>i.remove())),"radiobutton"!==this.type)return;const i=this.orientation===d.HORIZONTAL?d.VERTICAL:d.HORIZONTAL;this.radioElements.filter((i=>"BDS-RADIO-BUTTON"===i.tagName)).forEach(((t,s)=>{if(0===s)return;const r=document.createElement("bds-divider");r.setAttribute("orientation",i),r.setAttribute("data-injected",""),t.parentNode?.insertBefore(r,t)}))}get radioElements(){return Array.from(this.el.querySelectorAll("bds-radio, bds-radio-button, bds-radio-card"))}syncFormValue(){this.internals.setFormValue(""!==this.value?this.value:null),this.updateFormValidity()}updateFormValidity(){if(this.required&&""===this.value){const i=this.radioElements.find((i=>!i.disabled));this.internals.setValidity({valueMissing:!0},""!==this.errorMessage?this.errorMessage:"Please select an option.",i)}else this.internals.setValidity({}),this.isInvalid&&(this.isInvalid=!1,this.error||this.radioElements.forEach((i=>i.error=!1)))}updateLayoutCount(){const i=this.radioElements.length;this.el.style.setProperty("--layout-count",`${i}`),i!==this._buttonCount&&(this._buttonCount=i,this.insertDividers())}updateTabIndexes(i){this.radioElements.forEach((i=>i.setAttribute("tabindex","-1"))),null!==i&&i.setAttribute("tabindex","0")}get isError(){return this.error&&!this.disabled||this.isInvalid}get classMap(){return{"bds-radio-group":!0,"bds-radio-group--disabled":this.isDisabled,"bds-radio-group--error":this.isError,"bds-radio-group--required":this.required}}render(){const i=`${this._id}-label`,t=`${this._id}-helper`,s=this.isError,e=this.isDisabled?"disabled":s?"error":"default",o=s&&""!==this.errorMessage?this.errorMessage:this.helperText;return r(a,{key:"3fa56b5d6d1e3f6e17348f9f0ff7f29e2d708bf5",class:this.classMap,role:"radiogroup","aria-labelledby":""!==this.label?i:void 0,"aria-describedby":""!==o?t:void 0,"aria-invalid":s?"true":void 0,"aria-required":this.required?"true":void 0,onKeyDown:this.handleKeyDown},this.label&&r("bds-typography",{key:"81b690dffa7d42d1d65c1e528d8b859ccfce9094",id:i,variant:"label",state:e,required:this.required,tooltipText:""!==this.info?this.info:void 0},this.label),r("div",{key:"9a5d176f0a19955af81820aea92b7cd9935dad35",class:"bds-radio-group__options"},r("slot",{key:"b3c390f1724a779df9d57e251db1836f287e6660",onSlotchange:this.handleSlotChange})),o&&r("bds-typography",{key:"ed165eb3712d03e62b3541baaf5377f6ef31b2bd",id:t,variant:"helper",state:e},o))}static get formAssociated(){return!0}get el(){return e(this)}static get watchers(){return{orientation:[{checkPropValues:0}],disabled:[{onDisabledChange:0}],error:[{onErrorChange:0}],value:[{onValueChange:0}]}}};b.style='@charset "UTF-8";.bds-radio-group{--bds-divider-gap:var(--boreal-spacing-3xs);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--boreal-spacing-2xs)}.bds-radio-group__options{display:grid;grid-template-columns:1fr;gap:var(--boreal-spacing-xs)}.bds-radio-group[orientation=horizontal] .bds-radio-group__options{grid-template-columns:repeat(var(--layout-count, 1), auto);-ms-flex-pack:start;justify-content:start}.bds-radio-group[type=radiobutton] .bds-radio-group__options{display:-ms-inline-flexbox;display:inline-flex;gap:0;padding:var(--boreal-spacing-3xs);border:1px solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);border-radius:var(--boreal-radius-xs);overflow:hidden}.bds-radio-group[type=radiobutton][orientation=vertical] .bds-radio-group__options{-ms-flex-direction:column;flex-direction:column}.bds-radio-group[type=radiobutton].bds-radio-group--error .bds-radio-group__options{border-color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-radio-button.bds-radio-button--error{color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-divider[data-injected]{--bds-divider-color:var(--boreal-stroke-danger-base)}';export{b as bds_radio_group}
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var e,r=1,t=arguments.length;r<t;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))a[n]=e[n]}return a};return __assign.apply(this,arguments)};System.register(["./p-DCKg5Cg_.system.js","./p-CXz1RLGi.system.js","./p-BsZkk4oK.system.js"],(function(a){"use strict";var e,r,t,n,o,s;return{setters:[function(a){e=a.r;r=a.h;t=a.a;n=a.g},function(a){o=a.S},function(a){s=a.v}],execute:function(){var i=__assign(__assign({},o),{DEFAULT:"default"});var l=function(){return'@charset "UTF-8";.bds-badge{color:var(--boreal-text-default-ink);text-align:center;font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-xs);font-style:normal;font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-xs);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;min-height:var(--boreal-spacing-ml);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);-ms-flex-pack:center;justify-content:center;gap:var(--boreal-spacing-3xs);border-radius:var(--boreal-radius-xs)}.bds-badge--default{color:var(--boreal-text-default-ink);background-color:var(--boreal-ui-base-light)}.bds-badge--default>[slot=icon]{display:contents;color:var(--boreal-icon-base)}.bds-badge--info{color:var(--boreal-text-information-dark);background-color:var(--boreal-ui-info-light)}.bds-badge--info>[slot=icon]{display:contents;color:var(--boreal-icon-info-dark)}.bds-badge--success{color:var(--boreal-text-success-dark);background-color:var(--boreal-ui-success-light)}.bds-badge--success>[slot=icon]{display:contents;color:var(--boreal-icon-success-dark)}.bds-badge--warning{color:var(--boreal-text-warning-dark);background-color:var(--boreal-ui-warning-light)}.bds-badge--warning>[slot=icon]{display:contents;color:var(--boreal-icon-warning-dark)}.bds-badge--danger{color:var(--boreal-text-danger-dark);background-color:var(--boreal-ui-danger-light)}.bds-badge--danger>[slot=icon]{display:contents;color:var(--boreal-icon-danger-dark)}.bds-badge--disabled{opacity:0.5;pointer-events:none}'};var c=a("bds_badge",function(){function a(a){e(this,a);this.variant=i.DEFAULT;this.disabled=false}a.prototype.checkPropValues=function(){s(Object.values(i),i.DEFAULT,this.el,"variant")};a.prototype.componentWillLoad=function(){this.checkPropValues()};Object.defineProperty(a.prototype,"badgeClasses",{get:function(){var a;return a={"bds-badge":true},a["bds-badge--".concat(this.variant)]=true,a["bds-badge--disabled"]=this.disabled,a},enumerable:false,configurable:true});a.prototype.render=function(){return r(t,{key:"fd04d8986fd170056769871a07f838c3cf200108",class:this.badgeClasses,role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant),"aria-disabled":this.disabled?"true":null},r("slot",{key:"0186c80b8fbce04a7c96949ca39ecf0319abf352",name:"icon"}),r("slot",{key:"d79b91a4c5b93280c977dce033e0e05fad2c7524"}))};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{variant:[{checkPropValues:0}]}},enumerable:false,configurable:true});return a}());c.style=l()}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var e,r=1,t=arguments.length;r<t;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))a[n]=e[n]}return a};return __assign.apply(this,arguments)};System.register(["./p-DCKg5Cg_.system.js","./p-CXz1RLGi.system.js","./p-BsZkk4oK.system.js"],(function(a){"use strict";var e,r,t,n,o,s;return{setters:[function(a){e=a.r;r=a.h;t=a.a;n=a.g},function(a){o=a.S},function(a){s=a.v}],execute:function(){var i=__assign(__assign({},o),{DEFAULT:"default"});var l=function(){return'@charset "UTF-8";.bds-badge{color:var(--boreal-text-default-ink);text-align:center;font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-xs);font-style:normal;font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-xs);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;min-height:var(--boreal-spacing-ml);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);-ms-flex-pack:center;justify-content:center;gap:var(--boreal-spacing-3xs);border-radius:var(--boreal-radius-xs)}.bds-badge--default{color:var(--boreal-text-default-ink);background-color:var(--boreal-ui-base-light)}.bds-badge--default>[slot=icon]{display:contents;color:var(--boreal-icon-base)}.bds-badge--info{color:var(--boreal-text-information-dark);background-color:var(--boreal-ui-info-light)}.bds-badge--info>[slot=icon]{display:contents;color:var(--boreal-icon-info-dark)}.bds-badge--success{color:var(--boreal-text-success-dark);background-color:var(--boreal-ui-success-light)}.bds-badge--success>[slot=icon]{display:contents;color:var(--boreal-icon-success-dark)}.bds-badge--warning{color:var(--boreal-text-warning-dark);background-color:var(--boreal-ui-warning-light)}.bds-badge--warning>[slot=icon]{display:contents;color:var(--boreal-icon-warning-dark)}.bds-badge--danger{color:var(--boreal-text-danger-dark);background-color:var(--boreal-ui-danger-light)}.bds-badge--danger>[slot=icon]{display:contents;color:var(--boreal-icon-danger-dark)}.bds-badge--disabled{opacity:0.5;pointer-events:none}'};var c=a("bds_badge",function(){function a(a){e(this,a);this.variant=i.DEFAULT;this.disabled=false}a.prototype.checkPropValues=function(){s(Object.values(i),i.DEFAULT,this.el,"variant")};a.prototype.componentWillLoad=function(){this.checkPropValues()};Object.defineProperty(a.prototype,"badgeClasses",{get:function(){var a;return a={"bds-badge":true},a["bds-badge--".concat(this.variant)]=true,a["bds-badge--disabled"]=this.disabled,a},enumerable:false,configurable:true});a.prototype.render=function(){return r(t,{key:"f686ff59037a77660bc82262b9374193dface206",class:this.badgeClasses,role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant),"aria-disabled":this.disabled?"true":null},r("slot",{key:"5089ac4144f7fdd1023ee3561010859b6b96ef3b",name:"icon"}),r("slot",{key:"44addf6e20aa27f1ed3df4ab728b5a0a37cc2f20"}))};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{variant:[{checkPropValues:0}]}},enumerable:false,configurable:true});return a}());c.style=l()}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(i,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]};return t(i,r)};return function(i,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(i,r);function e(){this.constructor=i}i.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}}();var __awaiter=this&&this.__awaiter||function(t,i,r,e){function n(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function s(t){try{u(e.next(t))}catch(t){o(t)}}function a(t){try{u(e["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):n(t.value).then(s,a)}u((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,n,o,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return u([t,i])}}function u(a){if(e)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(r=0)),r)try{if(e=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;n=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(a[0]===6&&r.label<o[1]){r.label=o[1];o=a;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(a);break}if(o[2])r.ops.pop();r.trys.pop();continue}a=i.call(t,r)}catch(t){a=[6,t];n=0}finally{e=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-CW4-dkCF.system.js","./p-DnIhjwCH.system.js","./p-RhSdMyWk.system.js","./p-BsZkk4oK.system.js","./p-DpnBDSUm.system.js"],(function(t){"use strict";var i,r,e,n,o,s,a,u,c,d,f;return{setters:[function(t){i=t.M;r=t.r;e=t.c;n=t.h;o=t.a;s=t.g},function(t){a=t.f},function(t){u=t.O},function(t){c=t.c},function(t){d=t.v},function(t){f=t.K}],execute:function(){var l={RADIO:"radio"};var h=function(){return'@charset "UTF-8";.bds-radio-group{--bds-divider-gap:var(--boreal-spacing-3xs);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--boreal-spacing-2xs)}.bds-radio-group__options{display:grid;grid-template-columns:1fr;gap:var(--boreal-spacing-xs)}.bds-radio-group[orientation=horizontal] .bds-radio-group__options{grid-template-columns:repeat(var(--layout-count, 1), auto);-ms-flex-pack:start;justify-content:start}.bds-radio-group[type=radiobutton] .bds-radio-group__options{display:-ms-inline-flexbox;display:inline-flex;gap:0;padding:var(--boreal-spacing-3xs);border:1px solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);border-radius:var(--boreal-radius-xs);overflow:hidden}.bds-radio-group[type=radiobutton][orientation=vertical] .bds-radio-group__options{-ms-flex-direction:column;flex-direction:column}.bds-radio-group[type=radiobutton].bds-radio-group--error .bds-radio-group__options{border-color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-radio-button.bds-radio-button--error{color:var(--boreal-stroke-danger-base)}.bds-radio-group[type=radiobutton].bds-radio-group--error bds-divider[data-injected]{--bds-divider-color:var(--boreal-stroke-danger-base)}'};var b=["BDS-RADIO","BDS-RADIO-BUTTON","BDS-RADIO-CARD"];var v=t("bds_radio_group",function(t){__extends(i,t);function i(i){var n=t.call(this)||this;r(n,i);n.bdsChange=e(n,"bdsChange");n.valueChange=e(n,"valueChange");if(i.$hostElement$["s-ei"]){n.internals=i.$hostElement$["s-ei"]}else{n.internals=i.$hostElement$.attachInternals();i.$hostElement$["s-ei"]=n.internals}n._id=c("bds-radio-group");n.isDisabled=false;n.isInvalid=false;n.disabled=false;n.error=false;n.errorMessage="";n.helperText="";n.info="";n.label="";n.orientation=u.VERTICAL;n.required=false;n.type=l.RADIO;n.value="";n.handleKeyDown=function(t){var i=t.target;if(!b.includes(i.tagName))return;switch(t.key){case f.ArrowDown:case f.ArrowRight:n.navigateTo(i,true);t.preventDefault();break;case f.ArrowUp:case f.ArrowLeft:n.navigateTo(i,false);t.preventDefault();break}};n.handleSlotChange=function(){n.updateLayoutCount()};n._buttonCount=0;return n}i.prototype.checkPropValues=function(){d(Object.values(u),u.VERTICAL,this.el,"orientation")};i.prototype.onDisabledChange=function(t){this.isDisabled=t;this.radioElements.forEach((function(i){return i.disabled=t}))};i.prototype.onErrorChange=function(t){this.radioElements.forEach((function(i){return i.error=t}))};i.prototype.onValueChange=function(t){this.radioElements.forEach((function(i){i.checked=i.value===t;i.setAttribute("aria-checked",String(i.value===t))}));var i=this.radioElements.find((function(t){return t.checked}));this.updateTabIndexes(i!==null&&i!==void 0?i:null)};i.prototype.componentWillLoad=function(){var t;this.checkPropValues();this.isDisabled=this.disabled;if(this.value===""){var i=Array.from(this.el.querySelectorAll("bds-radio[checked], bds-radio-button[checked], bds-radio-card[checked]")).at(-1);if(i!==undefined){this.value=(t=i.getAttribute("value"))!==null&&t!==void 0?t:""}}};i.prototype.componentDidLoad=function(){var t,i;var r=this.radioElements.filter((function(t){return t.checked}));if(r.length>1){r.slice(0,-1).forEach((function(t){return t.checked=false}))}this.onValueChange(this.value);if(this.error)this.radioElements.forEach((function(t){return t.error=true}));this.updateLayoutCount();this.updateTabIndexes((i=(t=this.radioElements.find((function(t){return t.checked})))!==null&&t!==void 0?t:this.radioElements.find((function(t){return!t.disabled})))!==null&&i!==void 0?i:null);this.updateFormValidity()};i.prototype.formAssociatedCallback=function(){this.syncFormValue()};i.prototype.formResetCallback=function(){var t=this;this.value="";this.isInvalid=false;this.radioElements.forEach((function(i){i.checked=false;i.setAttribute("aria-checked","false");if(!t.error)i.error=false}));this.internals.setFormValue(null);this.updateFormValidity();var i=this.radioElements.find((function(t){return!t.disabled}));this.updateTabIndexes(i!==null&&i!==void 0?i:null)};i.prototype.formStateRestoreCallback=function(t,i){var r=typeof t==="string"?t:"";this.value=r;this.internals.setFormValue(r!==""?r:null)};i.prototype.formDisabledCallback=function(t){this.isDisabled=t;this.radioElements.forEach((function(i){return i.disabled=t}))};i.prototype.handleRadioChange=function(t){var i=t.target;if(!b.includes(i.tagName))return;this.radioElements.filter((function(t){return t!==i})).forEach((function(t){t.checked=false;t.setAttribute("aria-checked","false")}));this.value=t.detail.value;this.internals.setFormValue(this.value);this.updateTabIndexes(i);this.updateFormValidity();this.bdsChange.emit({value:this.value});this.valueChange.emit(this.value)};i.prototype.handleInvalid=function(t){if(this.errorMessage!==""){t.preventDefault();this.isInvalid=true;this.radioElements.forEach((function(t){return t.error=true}))}};i.prototype.checkValidity=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.internals.checkValidity()]}))}))};i.prototype.reportValidity=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.internals.reportValidity()]}))}))};i.prototype.navigateTo=function(t,i){var r=this.radioElements.filter((function(t){return!t.disabled}));if(r.length===0)return;var e=r.indexOf(t);var n=(r.length+e+(i?1:-1))%r.length;var o=r[n];o.checked=true;o.setAttribute("aria-checked","true");this.radioElements.filter((function(t){return t!==o})).forEach((function(t){t.checked=false;t.setAttribute("aria-checked","false")}));this.value=o.value;this.internals.setFormValue(this.value);this.updateTabIndexes(o);this.updateFormValidity();this.bdsChange.emit({value:this.value});this.valueChange.emit(this.value);o.focus()};i.prototype.insertDividers=function(){this.el.querySelectorAll("bds-divider[data-injected]").forEach((function(t){return t.remove()}));if(this.type!=="radiobutton")return;var t=this.orientation===u.HORIZONTAL?u.VERTICAL:u.HORIZONTAL;var i=this.radioElements.filter((function(t){return t.tagName==="BDS-RADIO-BUTTON"}));i.forEach((function(i,r){var e;if(r===0)return;var n=document.createElement("bds-divider");n.setAttribute("orientation",t);n.setAttribute("data-injected","");(e=i.parentNode)===null||e===void 0?void 0:e.insertBefore(n,i)}))};Object.defineProperty(i.prototype,"radioElements",{get:function(){return Array.from(this.el.querySelectorAll("bds-radio, bds-radio-button, bds-radio-card"))},enumerable:false,configurable:true});i.prototype.syncFormValue=function(){this.internals.setFormValue(this.value!==""?this.value:null);this.updateFormValidity()};i.prototype.updateFormValidity=function(){if(this.required&&this.value===""){var t=this.radioElements.find((function(t){return!t.disabled}));this.internals.setValidity({valueMissing:true},this.errorMessage!==""?this.errorMessage:"Please select an option.",t)}else{this.internals.setValidity({});if(this.isInvalid){this.isInvalid=false;if(!this.error)this.radioElements.forEach((function(t){return t.error=false}))}}};i.prototype.updateLayoutCount=function(){var t=this.radioElements.length;this.el.style.setProperty("--layout-count","".concat(t));if(t!==this._buttonCount){this._buttonCount=t;this.insertDividers()}};i.prototype.updateTabIndexes=function(t){this.radioElements.forEach((function(t){return t.setAttribute("tabindex","-1")}));if(t!==null)t.setAttribute("tabindex","0")};Object.defineProperty(i.prototype,"isError",{get:function(){var t=this.error&&!this.disabled;return t||this.isInvalid},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"classMap",{get:function(){return{"bds-radio-group":true,"bds-radio-group--disabled":this.isDisabled,"bds-radio-group--error":this.isError,"bds-radio-group--required":this.required}},enumerable:false,configurable:true});i.prototype.render=function(){var t="".concat(this._id,"-label");var i="".concat(this._id,"-helper");var r=this.isError;var e=this.isDisabled?"disabled":r?"error":"default";var s=r&&this.errorMessage!==""?this.errorMessage:this.helperText;return n(o,{key:"ab755f253ab7096e8ed0efa7196cedd96cdc7ca8",class:this.classMap,role:"radiogroup","aria-labelledby":this.label!==""?t:undefined,"aria-describedby":s!==""?i:undefined,"aria-invalid":r?"true":undefined,"aria-required":this.required?"true":undefined,onKeyDown:this.handleKeyDown},this.label&&n("bds-typography",{key:"85bc7d114efabd92930c6c934c19e4ba887a3663",id:t,variant:"label",state:e,required:this.required,tooltipText:this.info!==""?this.info:undefined},this.label),n("div",{key:"3f1670875353369c608c9cf064ccb1b7beede19a",class:"bds-radio-group__options"},n("slot",{key:"b0d52880c82dec9557c10bcf7ef8930299bdf7a6",onSlotchange:this.handleSlotChange})),s&&n("bds-typography",{key:"f0a17de329944c3fe63cf7cb586ec85016693208",id:i,variant:"helper",state:e},s))};Object.defineProperty(i,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{orientation:[{checkPropValues:0}],disabled:[{onDisabledChange:0}],error:[{onErrorChange:0}],value:[{onValueChange:0}]}},enumerable:false,configurable:true});return i}(i(a)));v.style=h()}}}));
@@ -0,0 +1 @@
1
+ import{M as t,r as e,h as a,a as r,g as o}from"./p-BqJlOB6b.js";import{a as i,g as s}from"./p-wREMI3WA.js";import{C as l}from"./p-Bfazyxqi.js";import{a as p}from"./p-U9yfbs7i.js";import"./p-iq2UuV7c.js";import"./p-DCXSEEVH.js";import"./p-DlYG-OVB.js";const h="md",n=class extends(t(i)){constructor(t){super(),e(this,t),this.multiline=!1,this.disabled=!1,this.floatingOptions={},this.isVisible=!1}get options(){return{placement:this.floatingOptions.placement??"top",offset:s(this.floatingOptions?.hideArrow,this.floatingOptions.offset,4),arrow:this.floatingOptions.hideArrow?void 0:this.arrowElement,strategy:"fixed"}}get hooks(){return{onPositionUpdate:t=>this.handlePosition(t),onBeforeShow:()=>this.validateShow(),onBeforeHide:t=>this.validateHide(t),subscribeToTrigger:t=>this.subscribe(t)}}get canShowArrow(){return!this.floatingOptions.hideArrow||!1}get getPlacement(){return this.floatingOptions.placement||"top"}validateShow(){return!this.disabled}validateHide(t){return!this.floatingOptions.stayOnHover||void 0===t||!t.isConnected||!this.floatingContent.contains(t)&&this.floatingContent!==t}handlePosition(t){this.floatingContent.setAttribute("data-placement",t.placement),this.setArrowPosition(t)}setArrowPosition(t){if(t.middlewareData?.arrow&&!this.disabled&&this.arrowElement?.isConnected){const{x:e,y:a}=t.middlewareData.arrow;Object.assign(this.arrowElement.style,{left:null!=e?`${e}px`:"",top:null!=a?`${a}px`:""})}}get hasMultiline(){return void 0!==this.multiline&&this.multiline}get tooltipStyles(){return{"tooltip-content":!0,"tooltip-content--multiline":this.hasMultiline}}subscribe(t){void 0!==t&&(t.setAttribute("part","tooltip-trigger"),t.setAttribute("ariaDescribedBy","tooltip-content"),t.addEventListener("mouseenter",(()=>this.show())),t.addEventListener("mouseleave",(t=>this.hide(t.target))))}render(){return a(r,{key:"add483ba4072484f1f6d18271ecb74c46a449f41",class:"tooltip"},a("div",{key:"ede2a5f6230a4baacb36c24dd57be73fda63e438",id:"tooltip-content",part:"tooltip-content",class:this.tooltipStyles,popover:"manual",role:"tooltip","aria-hidden":this.isVisible?"false":"true","data-placement":this.getPlacement,"data-multiline":this.multiline,"data-hidearrow":this.canShowArrow,ref:t=>this.floatingContent=t},this.canShowArrow&&a("div",{key:"c8580171bc2c01eaca84aa1a029dce6f429359f8",class:"tooltip-arrow",part:"arrow",ref:t=>this.arrowElement=t}),a("slot",{key:"10ead9bb5007414959d4aeacd8c0c1c52223f70d"})))}get el(){return o(this)}};n.style='@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);background:var(--boreal-ui-black);color:var(--boreal-text-inverse);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-s);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);border:var(--boreal-spacing-2xs) solid var(--boreal-ui-black);font-weight:var(--boreal-typography-font-weight-regular)}.tooltip-content--multiline{white-space:normal;max-width:var(--tooltip-width, 320px);word-break:break-word;text-align:center}.tooltip-arrow{position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);pointer-events:none;z-index:-1}.tooltip-arrow::before{content:"";position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);background:var(--boreal-ui-black);-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center;transform-origin:center;inset:0}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}';const y={link:{states:[l.DISABLED],size:["sm",h]},label:{states:[l.DISABLED],required:!0,canUseTooltip:!0},heading:{canUseTooltip:!0},subheading:{canUseTooltip:!0},helper:{states:[l.ERROR]},display:{size:["xs","sm",h,"lg","xl"]}},g=class{constructor(t){e(this,t),this.inheritedAttributes={},this.variant="display",this.size=h,this.state=l.DEFAULT,this.customClass="",this.element="p",this.align="start",this.ellipsis=!1,this.maxLines=1,this.tooltipText="",this.required=!1,this.htmlFor=void 0,this.href=null,this.target=null,this.downloadable=!1,this.filename="download",this.sanitizedHref=""}async updateSanitizedHref(){if("a"===this.getTagName&&null!==this.href){const{sanitizeUrl:t}=await import("./p-noyWJ11s.js").then((function(t){return t.i}));this.sanitizedHref=t(this.href)}else this.sanitizedHref=""}async componentWillLoad(){"a"===this.getTagName&&null!==this.href&&await this.updateSanitizedHref(),this.inheritedAttributes={...p(this.el)}}get getTagName(){return"link"===this.variant?"a":this.element.toLowerCase()}getVariantConfig(){return y[this.variant]??{}}getAccessibilityTags(){const{required:t=!1}=this.getVariantConfig(),e=["a","label"].includes(this.getTagName);return{"aria-required":this.required&&t,"aria-disabled":this.state===l.DISABLED&&e}}getVariantStateStyles(){const t=this.getVariantConfig();return{[`bds-typography--${this.variant}`]:!0,[`bds-typography--align-${this.align}`]:!0,[`bds-typography--${this.state}`]:!(!t?.states||!t?.states.includes(this.state)),[`bds-typography--size-${this.size}`]:!(!t?.size||!t?.size.includes(this.size)),"bds-typography--required":!(!t?.required||!this.required),"bds-typography--ellipsis":this.ellipsis&&this.maxLines<=1,"bds-typography--ellipsis-multiline":this.ellipsis&&this.maxLines>1,[this.customClass]:""!==this.customClass}}render(){const t=this.getTagName,e={...(o=this,i=t,{a:{href:o.state!==l.DISABLED?o.sanitizedHref:null,target:o.target,download:o.downloadable?o.filename:null,rel:"_blank"===o.target?"noopener noreferrer":void 0},label:{htmlFor:o.htmlFor}}[i]||{}),...this.inheritedAttributes,...this.getAccessibilityTags()};var o,i;const s=this.getVariantStateStyles(),{canUseTooltip:p=null,required:h=null}=this.getVariantConfig();return a(r,{key:"d29b535edeb7ede877c979ea812eb6c273affc0d",class:"bds-typography "+(this.state===l.DISABLED?"bds-typography--disabled-cursor":"")},a(t,{key:"3a36a1c47026a20d9c95e4c2d38e92caaa89b072",class:s,style:{webkitLineClamp:this.maxLines},...e},a("slot",{key:"8a0ccd7824ac358e937dd6e2fb1c3eb592e27721"}),this.required&&h&&a("em",{key:"5ce4cc221efcf9d5a71bbc39dbc449a3a29c16a6",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&p&&a("span",{key:"33dcca730b5a484aac8f6ddda383f7adb7dcee95",class:"bds-typography__info"},a("span",{key:"ff08b5e744d9584cff3b69f5eaa74238ad364e19",class:"bds-typography__info-icon bds-icon-info-circle","aria-label":this.tooltipText}),a("bds-tooltip",{key:"a88a158668a40ee3ff00ddeb4da496115e22558d"},this.tooltipText))))}get el(){return o(this)}static get watchers(){return{href:[{updateSanitizedHref:0}]}}};g.style='@charset "UTF-8";.bds-typography__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}';export{n as bds_tooltip,g as bds_typography}
@@ -1 +1 @@
1
- var __spreadArray=this&&this.__spreadArray||function(a,s,i){if(i||arguments.length===2)for(var n=0,t=s.length,o;n<t;n++){if(o||!(n in s)){if(!o)o=Array.prototype.slice.call(s,0,n);o[n]=s[n]}}return a.concat(o||Array.prototype.slice.call(s))};System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(a){"use strict";var s,i,n,t,o,g;return{setters:[function(a){s=a.r;i=a.d;n=a.h;t=a.a;o=a.g},function(a){g=a.v}],execute:function(){var l={ISO2:"iso2",ISO3:"iso3",CODE:"code"};var e={LEFT:"left",RIGHT:"right"};var r={CIRCLE:"circle",SQUARE:"square",RECTANGLE:"rectangle"};var f=[{capital:"Kabul",iso2:"af",continent:"Asia",flag_1x1:"flags/1x1/af.svg",flag_4x3:"flags/4x3/af.svg",iso:true,name:"Afghanistan",country:"93",iso3:"AFG"},{capital:"Mariehamn",iso2:"ax",continent:"Europe",flag_1x1:"flags/1x1/ax.svg",flag_4x3:"flags/4x3/ax.svg",iso:true,name:"Aland Islands",country:"358-18",iso3:"ALA"},{capital:"Tirana",iso2:"al",continent:"Europe",flag_1x1:"flags/1x1/al.svg",flag_4x3:"flags/4x3/al.svg",iso:true,name:"Albania",country:"355",iso3:"ALB"},{capital:"Algiers",iso2:"dz",continent:"Africa",flag_1x1:"flags/1x1/dz.svg",flag_4x3:"flags/4x3/dz.svg",iso:true,name:"Algeria",country:"213",iso3:"DZA"},{capital:"Pago Pago",iso2:"as",continent:"Oceania",flag_1x1:"flags/1x1/as.svg",flag_4x3:"flags/4x3/as.svg",iso:true,name:"American Samoa",country:"1-684",iso3:"ASM"},{capital:"Andorra la Vella",iso2:"ad",continent:"Europe",flag_1x1:"flags/1x1/ad.svg",flag_4x3:"flags/4x3/ad.svg",iso:true,name:"Andorra",country:"376",iso3:"AND"},{capital:"Luanda",iso2:"ao",continent:"Africa",flag_1x1:"flags/1x1/ao.svg",flag_4x3:"flags/4x3/ao.svg",iso:true,name:"Angola",country:"244",iso3:"AGO"},{capital:"The Valley",iso2:"ai",continent:"North America",flag_1x1:"flags/1x1/ai.svg",flag_4x3:"flags/4x3/ai.svg",iso:true,name:"Anguilla",country:"1-264",iso3:"AIA"},{capital:"St. John's",iso2:"ag",continent:"North America",flag_1x1:"flags/1x1/ag.svg",flag_4x3:"flags/4x3/ag.svg",iso:true,name:"Antigua and Barbuda",country:"1-268",iso3:"ATG"},{capital:"Buenos Aires",iso2:"ar",continent:"South America",flag_1x1:"flags/1x1/ar.svg",flag_4x3:"flags/4x3/ar.svg",iso:true,name:"Argentina",country:"54",iso3:"ARG"},{capital:"Yerevan",iso2:"am",continent:"Asia",flag_1x1:"flags/1x1/am.svg",flag_4x3:"flags/4x3/am.svg",iso:true,name:"Armenia",country:"374",iso3:"ARM"},{capital:"Oranjestad",iso2:"aw",continent:"South America",flag_1x1:"flags/1x1/aw.svg",flag_4x3:"flags/4x3/aw.svg",iso:true,name:"Aruba",country:"297",iso3:"ABW"},{capital:"Canberra",iso2:"au",continent:"Oceania",flag_1x1:"flags/1x1/au.svg",flag_4x3:"flags/4x3/au.svg",iso:true,name:"Australia",country:"61",iso3:"AUS"},{capital:"Vienna",iso2:"at",continent:"Europe",flag_1x1:"flags/1x1/at.svg",flag_4x3:"flags/4x3/at.svg",iso:true,name:"Austria",country:"43",iso3:"AUT"},{capital:"Baku",iso2:"az",continent:"Asia",flag_1x1:"flags/1x1/az.svg",flag_4x3:"flags/4x3/az.svg",iso:true,name:"Azerbaijan",country:"994",iso3:"AZE"},{capital:"Nassau",iso2:"bs",continent:"North America",flag_1x1:"flags/1x1/bs.svg",flag_4x3:"flags/4x3/bs.svg",iso:true,name:"Bahamas",country:"1-242",iso3:"BHS"},{capital:"Manama",iso2:"bh",continent:"Asia",flag_1x1:"flags/1x1/bh.svg",flag_4x3:"flags/4x3/bh.svg",iso:true,name:"Bahrain",country:"973",iso3:"BHR"},{capital:"Dhaka",iso2:"bd",continent:"Asia",flag_1x1:"flags/1x1/bd.svg",flag_4x3:"flags/4x3/bd.svg",iso:true,name:"Bangladesh",country:"880",iso3:"BGD"},{capital:"Bridgetown",iso2:"bb",continent:"North America",flag_1x1:"flags/1x1/bb.svg",flag_4x3:"flags/4x3/bb.svg",iso:true,name:"Barbados",country:"1-246",iso3:"BRB"},{capital:"Minsk",iso2:"by",continent:"Europe",flag_1x1:"flags/1x1/by.svg",flag_4x3:"flags/4x3/by.svg",iso:true,name:"Belarus",country:"375",iso3:"BLR"},{capital:"Brussels",iso2:"be",continent:"Europe",flag_1x1:"flags/1x1/be.svg",flag_4x3:"flags/4x3/be.svg",iso:true,name:"Belgium",country:"32",iso3:"BEL"},{capital:"Belmopan",iso2:"bz",continent:"North America",flag_1x1:"flags/1x1/bz.svg",flag_4x3:"flags/4x3/bz.svg",iso:true,name:"Belize",country:"501",iso3:"BLZ"},{capital:"Porto-Novo",iso2:"bj",continent:"Africa",flag_1x1:"flags/1x1/bj.svg",flag_4x3:"flags/4x3/bj.svg",iso:true,name:"Benin",country:"229",iso3:"BEN"},{capital:"Hamilton",iso2:"bm",continent:"North America",flag_1x1:"flags/1x1/bm.svg",flag_4x3:"flags/4x3/bm.svg",iso:true,name:"Bermuda",country:"1-441",iso3:"BMU"},{capital:"Thimphu",iso2:"bt",continent:"Asia",flag_1x1:"flags/1x1/bt.svg",flag_4x3:"flags/4x3/bt.svg",iso:true,name:"Bhutan",country:"975",iso3:"BTN"},{capital:"Sucre",iso2:"bo",continent:"South America",flag_1x1:"flags/1x1/bo.svg",flag_4x3:"flags/4x3/bo.svg",iso:true,name:"Bolivia",country:"591",iso3:"BOL"},{capital:"Kralendijk",iso2:"bq",continent:"South America",flag_1x1:"flags/1x1/bq.svg",flag_4x3:"flags/4x3/bq.svg",iso:true,name:"Bonaire, Sint Eustatius and Saba",country:"599",iso3:"BES"},{capital:"Sarajevo",iso2:"ba",continent:"Europe",flag_1x1:"flags/1x1/ba.svg",flag_4x3:"flags/4x3/ba.svg",iso:true,name:"Bosnia and Herzegovina",country:"387",iso3:"BIH"},{capital:"Gaborone",iso2:"bw",continent:"Africa",flag_1x1:"flags/1x1/bw.svg",flag_4x3:"flags/4x3/bw.svg",iso:true,name:"Botswana",country:"267",iso3:"BWA"},{capital:"Brasília",iso2:"br",continent:"South America",flag_1x1:"flags/1x1/br.svg",flag_4x3:"flags/4x3/br.svg",iso:true,name:"Brazil",country:"55",iso3:"BRA"},{capital:"Diego Garcia",iso2:"io",continent:"Asia",flag_1x1:"flags/1x1/io.svg",flag_4x3:"flags/4x3/io.svg",iso:true,name:"British Indian Ocean Territory",country:"246",iso3:"IOT"},{capital:"Bandar Seri Begawan",iso2:"bn",continent:"Asia",flag_1x1:"flags/1x1/bn.svg",flag_4x3:"flags/4x3/bn.svg",iso:true,name:"Brunei Darussalam",country:"673",iso3:"BRN"},{capital:"Sofia",iso2:"bg",continent:"Europe",flag_1x1:"flags/1x1/bg.svg",flag_4x3:"flags/4x3/bg.svg",iso:true,name:"Bulgaria",country:"359",iso3:"BGR"},{capital:"Ouagadougou",iso2:"bf",continent:"Africa",flag_1x1:"flags/1x1/bf.svg",flag_4x3:"flags/4x3/bf.svg",iso:true,name:"Burkina Faso",country:"226",iso3:"BFA"},{capital:"Bujumbura",iso2:"bi",continent:"Africa",flag_1x1:"flags/1x1/bi.svg",flag_4x3:"flags/4x3/bi.svg",iso:true,name:"Burundi",country:"257",iso3:"BDI"},{capital:"Praia",iso2:"cv",continent:"Africa",flag_1x1:"flags/1x1/cv.svg",flag_4x3:"flags/4x3/cv.svg",iso:true,name:"Cabo Verde",country:"238",iso3:"CPV"},{capital:"Phnom Penh",iso2:"kh",continent:"Asia",flag_1x1:"flags/1x1/kh.svg",flag_4x3:"flags/4x3/kh.svg",iso:true,name:"Cambodia",country:"855",iso3:"KHM"},{capital:"Yaoundé",iso2:"cm",continent:"Africa",flag_1x1:"flags/1x1/cm.svg",flag_4x3:"flags/4x3/cm.svg",iso:true,name:"Cameroon",country:"237",iso3:"CMR"},{capital:"George Town",iso2:"ky",continent:"North America",flag_1x1:"flags/1x1/ky.svg",flag_4x3:"flags/4x3/ky.svg",iso:true,name:"Cayman Islands",country:"1-345",iso3:"CYM"},{capital:"Bangui",iso2:"cf",continent:"Africa",flag_1x1:"flags/1x1/cf.svg",flag_4x3:"flags/4x3/cf.svg",iso:true,name:"Central African Republic",country:"236",iso3:"CAF"},{capital:"N'Djamena",iso2:"td",continent:"Africa",flag_1x1:"flags/1x1/td.svg",flag_4x3:"flags/4x3/td.svg",iso:true,name:"Chad",country:"235",iso3:"TCD"},{capital:"Santiago",iso2:"cl",continent:"South America",flag_1x1:"flags/1x1/cl.svg",flag_4x3:"flags/4x3/cl.svg",iso:true,name:"Chile",country:"56",iso3:"CHL"},{capital:"Beijing",iso2:"cn",continent:"Asia",flag_1x1:"flags/1x1/cn.svg",flag_4x3:"flags/4x3/cn.svg",iso:true,name:"China",country:"86",iso3:"CHN"},{capital:"Flying Fish Cove",iso2:"cx",continent:"Asia",flag_1x1:"flags/1x1/cx.svg",flag_4x3:"flags/4x3/cx.svg",iso:true,name:"Christmas Island",country:"61",iso3:"CXR"},{capital:"West Island",iso2:"cc",continent:"Asia",flag_1x1:"flags/1x1/cc.svg",flag_4x3:"flags/4x3/cc.svg",iso:true,name:"Cocos (Keeling) Islands",country:"61",iso3:"CCK"},{capital:"Bogotá",iso2:"co",continent:"South America",flag_1x1:"flags/1x1/co.svg",flag_4x3:"flags/4x3/co.svg",iso:true,name:"Colombia",country:"57",iso3:"COL"},{capital:"Moroni",iso2:"km",continent:"Africa",flag_1x1:"flags/1x1/km.svg",flag_4x3:"flags/4x3/km.svg",iso:true,name:"Comoros",country:"269",iso3:"COM"},{capital:"Avarua",iso2:"ck",continent:"Oceania",flag_1x1:"flags/1x1/ck.svg",flag_4x3:"flags/4x3/ck.svg",iso:true,name:"Cook Islands",country:"682",iso3:"COK"},{capital:"San José",iso2:"cr",continent:"North America",flag_1x1:"flags/1x1/cr.svg",flag_4x3:"flags/4x3/cr.svg",iso:true,name:"Costa Rica",country:"506",iso3:"CRI"},{capital:"Zagreb",iso2:"hr",continent:"Europe",flag_1x1:"flags/1x1/hr.svg",flag_4x3:"flags/4x3/hr.svg",iso:true,name:"Croatia",country:"385",iso3:"HRV"},{capital:"Havana",iso2:"cu",continent:"North America",flag_1x1:"flags/1x1/cu.svg",flag_4x3:"flags/4x3/cu.svg",iso:true,name:"Cuba",country:"53",iso3:"CUB"},{capital:"Willemstad",iso2:"cw",continent:"South America",flag_1x1:"flags/1x1/cw.svg",flag_4x3:"flags/4x3/cw.svg",iso:true,name:"Curaçao",country:"599",iso3:"CUW"},{capital:"Nicosia",iso2:"cy",continent:"Europe",flag_1x1:"flags/1x1/cy.svg",flag_4x3:"flags/4x3/cy.svg",iso:true,name:"Cyprus",country:"357",iso3:"CYP"},{capital:"Prague",iso2:"cz",continent:"Europe",flag_1x1:"flags/1x1/cz.svg",flag_4x3:"flags/4x3/cz.svg",iso:true,name:"Czech Republic",country:"420",iso3:"CZE"},{capital:"Yamoussoukro",iso2:"ci",continent:"Africa",flag_1x1:"flags/1x1/ci.svg",flag_4x3:"flags/4x3/ci.svg",iso:true,name:"Côte d'Ivoire",country:"225",iso3:"CIV"},{capital:"Kinshasa",iso2:"cd",continent:"Africa",flag_1x1:"flags/1x1/cd.svg",flag_4x3:"flags/4x3/cd.svg",iso:true,name:"Democratic Republic of the Congo",country:"243",iso3:"COD"},{capital:"Copenhagen",iso2:"dk",continent:"Europe",flag_1x1:"flags/1x1/dk.svg",flag_4x3:"flags/4x3/dk.svg",iso:true,name:"Denmark",country:"45",iso3:"DNK"},{capital:"Djibouti",iso2:"dj",continent:"Africa",flag_1x1:"flags/1x1/dj.svg",flag_4x3:"flags/4x3/dj.svg",iso:true,name:"Djibouti",country:"253",iso3:"DJI"},{capital:"Roseau",iso2:"dm",continent:"North America",flag_1x1:"flags/1x1/dm.svg",flag_4x3:"flags/4x3/dm.svg",iso:true,name:"Dominica",country:"1-767",iso3:"DMA"},{capital:"Santo Domingo",iso2:"do",continent:"North America",flag_1x1:"flags/1x1/do.svg",flag_4x3:"flags/4x3/do.svg",iso:true,name:"Dominican Republic",country:"1-809",iso3:"DOM"},{capital:"Quito",iso2:"ec",continent:"South America",flag_1x1:"flags/1x1/ec.svg",flag_4x3:"flags/4x3/ec.svg",iso:true,name:"Ecuador",country:"593",iso3:"ECU"},{capital:"Cairo",iso2:"eg",continent:"Africa",flag_1x1:"flags/1x1/eg.svg",flag_4x3:"flags/4x3/eg.svg",iso:true,name:"Egypt",country:"20",iso3:"EGY"},{capital:"San Salvador",iso2:"sv",continent:"North America",flag_1x1:"flags/1x1/sv.svg",flag_4x3:"flags/4x3/sv.svg",iso:true,name:"El Salvador",country:"503",iso3:"SLV"},{capital:"Malabo",iso2:"gq",continent:"Africa",flag_1x1:"flags/1x1/gq.svg",flag_4x3:"flags/4x3/gq.svg",iso:true,name:"Equatorial Guinea",country:"240",iso3:"GNQ"},{capital:"Asmara",iso2:"er",continent:"Africa",flag_1x1:"flags/1x1/er.svg",flag_4x3:"flags/4x3/er.svg",iso:true,name:"Eritrea",country:"291",iso3:"ERI"},{capital:"Tallinn",iso2:"ee",continent:"Europe",flag_1x1:"flags/1x1/ee.svg",flag_4x3:"flags/4x3/ee.svg",iso:true,name:"Estonia",country:"372",iso3:"EST"},{capital:"Lobamba, Mbabane",iso2:"sz",continent:"Africa",flag_1x1:"flags/1x1/sz.svg",flag_4x3:"flags/4x3/sz.svg",iso:true,name:"Eswatini",country:"268",iso3:"SWZ"},{capital:"Addis Ababa",iso2:"et",continent:"Africa",flag_1x1:"flags/1x1/et.svg",flag_4x3:"flags/4x3/et.svg",iso:true,name:"Ethiopia",country:"251",iso3:"ETH"},{capital:"Stanley",iso2:"fk",continent:"South America",flag_1x1:"flags/1x1/fk.svg",flag_4x3:"flags/4x3/fk.svg",iso:true,name:"Falkland Islands",country:"500",iso3:"FLK"},{capital:"Tórshavn",iso2:"fo",continent:"Europe",flag_1x1:"flags/1x1/fo.svg",flag_4x3:"flags/4x3/fo.svg",iso:true,name:"Faroe Islands",country:"298",iso3:"FRO"},{capital:"Palikir",iso2:"fm",continent:"Oceania",flag_1x1:"flags/1x1/fm.svg",flag_4x3:"flags/4x3/fm.svg",iso:true,name:"Federated States of Micronesia",country:"691",iso3:"FSM"},{capital:"Suva",iso2:"fj",continent:"Oceania",flag_1x1:"flags/1x1/fj.svg",flag_4x3:"flags/4x3/fj.svg",iso:true,name:"Fiji",country:"679",iso3:"FJI"},{capital:"Helsinki",iso2:"fi",continent:"Europe",flag_1x1:"flags/1x1/fi.svg",flag_4x3:"flags/4x3/fi.svg",iso:true,name:"Finland",country:"358",iso3:"FIN"},{capital:"Paris",iso2:"fr",continent:"Europe",flag_1x1:"flags/1x1/fr.svg",flag_4x3:"flags/4x3/fr.svg",iso:true,name:"France",country:"33",iso3:"FRA"},{capital:"Cayenne",iso2:"gf",continent:"South America",flag_1x1:"flags/1x1/gf.svg",flag_4x3:"flags/4x3/gf.svg",iso:true,name:"French Guiana",country:"594",iso3:"GUF"},{capital:"Papeete",iso2:"pf",continent:"Oceania",flag_1x1:"flags/1x1/pf.svg",flag_4x3:"flags/4x3/pf.svg",iso:true,name:"French Polynesia",country:"689",iso3:"PYF"},{capital:"Libreville",iso2:"ga",continent:"Africa",flag_1x1:"flags/1x1/ga.svg",flag_4x3:"flags/4x3/ga.svg",iso:true,name:"Gabon",country:"241",iso3:"GAB"},{capital:"Banjul",iso2:"gm",continent:"Africa",flag_1x1:"flags/1x1/gm.svg",flag_4x3:"flags/4x3/gm.svg",iso:true,name:"Gambia",country:"220",iso3:"GMB"},{capital:"Tbilisi",iso2:"ge",continent:"Asia",flag_1x1:"flags/1x1/ge.svg",flag_4x3:"flags/4x3/ge.svg",iso:true,name:"Georgia",country:"995",iso3:"GEO"},{capital:"Berlin",iso2:"de",continent:"Europe",flag_1x1:"flags/1x1/de.svg",flag_4x3:"flags/4x3/de.svg",iso:true,name:"Germany",country:"49",iso3:"DEU"},{capital:"Accra",iso2:"gh",continent:"Africa",flag_1x1:"flags/1x1/gh.svg",flag_4x3:"flags/4x3/gh.svg",iso:true,name:"Ghana",country:"233",iso3:"GHA"},{capital:"Gibraltar",iso2:"gi",continent:"Europe",flag_1x1:"flags/1x1/gi.svg",flag_4x3:"flags/4x3/gi.svg",iso:true,name:"Gibraltar",country:"350",iso3:"GIB"},{capital:"Athens",iso2:"gr",continent:"Europe",flag_1x1:"flags/1x1/gr.svg",flag_4x3:"flags/4x3/gr.svg",iso:true,name:"Greece",country:"30",iso3:"GRC"},{capital:"Nuuk",iso2:"gl",continent:"North America",flag_1x1:"flags/1x1/gl.svg",flag_4x3:"flags/4x3/gl.svg",iso:true,name:"Greenland",country:"299",iso3:"GRL"},{capital:"St. George's",iso2:"gd",continent:"North America",flag_1x1:"flags/1x1/gd.svg",flag_4x3:"flags/4x3/gd.svg",iso:true,name:"Grenada",country:"1-473",iso3:"GRD"},{capital:"Basse-Terre",iso2:"gp",continent:"North America",flag_1x1:"flags/1x1/gp.svg",flag_4x3:"flags/4x3/gp.svg",iso:true,name:"Guadeloupe",country:"590",iso3:"GLP"},{capital:"Hagåtña",iso2:"gu",continent:"Oceania",flag_1x1:"flags/1x1/gu.svg",flag_4x3:"flags/4x3/gu.svg",iso:true,name:"Guam",country:"1-671",iso3:"GUM"},{capital:"Guatemala City",iso2:"gt",continent:"North America",flag_1x1:"flags/1x1/gt.svg",flag_4x3:"flags/4x3/gt.svg",iso:true,name:"Guatemala",country:"502",iso3:"GTM"},{capital:"Saint Peter Port",iso2:"gg",continent:"Europe",flag_1x1:"flags/1x1/gg.svg",flag_4x3:"flags/4x3/gg.svg",iso:true,name:"Guernsey",country:"44-1481",iso3:"GGY"},{capital:"Conakry",iso2:"gn",continent:"Africa",flag_1x1:"flags/1x1/gn.svg",flag_4x3:"flags/4x3/gn.svg",iso:true,name:"Guinea",country:"224",iso3:"GIN"},{capital:"Bissau",iso2:"gw",continent:"Africa",flag_1x1:"flags/1x1/gw.svg",flag_4x3:"flags/4x3/gw.svg",iso:true,name:"Guinea-Bissau",country:"245",iso3:"GNB"},{capital:"Georgetown",iso2:"gy",continent:"South America",flag_1x1:"flags/1x1/gy.svg",flag_4x3:"flags/4x3/gy.svg",iso:true,name:"Guyana",country:"592",iso3:"GUY"},{capital:"Port-au-Prince",iso2:"ht",continent:"North America",flag_1x1:"flags/1x1/ht.svg",flag_4x3:"flags/4x3/ht.svg",iso:true,name:"Haiti",country:"509",iso3:"HTI"},{iso2:"hm",flag_1x1:"flags/1x1/hm.svg",flag_4x3:"flags/4x3/hm.svg",iso:true,name:"Heard Island and McDonald Islands",country:" ",iso3:"HMD"},{capital:"Vatican City",iso2:"va",continent:"Europe",flag_1x1:"flags/1x1/va.svg",flag_4x3:"flags/4x3/va.svg",iso:true,name:"Holy See",country:"379",iso3:"VAT"},{capital:"Tegucigalpa",iso2:"hn",continent:"North America",flag_1x1:"flags/1x1/hn.svg",flag_4x3:"flags/4x3/hn.svg",iso:true,name:"Honduras",country:"504",iso3:"HND"},{capital:"Hong Kong",iso2:"hk",continent:"Asia",flag_1x1:"flags/1x1/hk.svg",flag_4x3:"flags/4x3/hk.svg",iso:true,name:"Hong Kong",country:"852",iso3:"HKG"},{capital:"Budapest",iso2:"hu",continent:"Europe",flag_1x1:"flags/1x1/hu.svg",flag_4x3:"flags/4x3/hu.svg",iso:true,name:"Hungary",country:"36",iso3:"HUN"},{capital:"Reykjavik",iso2:"is",continent:"Europe",flag_1x1:"flags/1x1/is.svg",flag_4x3:"flags/4x3/is.svg",iso:true,name:"Iceland",country:"354",iso3:"ISL"},{capital:"New Delhi",iso2:"in",continent:"Asia",flag_1x1:"flags/1x1/in.svg",flag_4x3:"flags/4x3/in.svg",iso:true,name:"India",country:"91",iso3:"IND"},{capital:"Jakarta",iso2:"id",continent:"Asia",flag_1x1:"flags/1x1/id.svg",flag_4x3:"flags/4x3/id.svg",iso:true,name:"Indonesia",country:"62",iso3:"IDN"},{capital:"Tehran",iso2:"ir",continent:"Asia",flag_1x1:"flags/1x1/ir.svg",flag_4x3:"flags/4x3/ir.svg",iso:true,name:"Iran",country:"98",iso3:"IRN"},{capital:"Baghdad",iso2:"iq",continent:"Asia",flag_1x1:"flags/1x1/iq.svg",flag_4x3:"flags/4x3/iq.svg",iso:true,name:"Iraq",country:"964",iso3:"IRQ"},{capital:"Dublin",iso2:"ie",continent:"Europe",flag_1x1:"flags/1x1/ie.svg",flag_4x3:"flags/4x3/ie.svg",iso:true,name:"Ireland",country:"353",iso3:"IRL"},{capital:"Douglas",iso2:"im",continent:"Europe",flag_1x1:"flags/1x1/im.svg",flag_4x3:"flags/4x3/im.svg",iso:true,name:"Isle of Man",country:"44-1624",iso3:"IMN"},{capital:"Jerusalem",iso2:"il",continent:"Asia",flag_1x1:"flags/1x1/il.svg",flag_4x3:"flags/4x3/il.svg",iso:true,name:"Israel",country:"972",iso3:"ISR"},{capital:"Rome",iso2:"it",continent:"Europe",flag_1x1:"flags/1x1/it.svg",flag_4x3:"flags/4x3/it.svg",iso:true,name:"Italy",country:"39",iso3:"ITA"},{capital:"Kingston",iso2:"jm",continent:"North America",flag_1x1:"flags/1x1/jm.svg",flag_4x3:"flags/4x3/jm.svg",iso:true,name:"Jamaica",country:"1-876",iso3:"JAM"},{capital:"Tokyo",iso2:"jp",continent:"Asia",flag_1x1:"flags/1x1/jp.svg",flag_4x3:"flags/4x3/jp.svg",iso:true,name:"Japan",country:"81",iso3:"JPN"},{capital:"Saint Helier",iso2:"je",continent:"Europe",flag_1x1:"flags/1x1/je.svg",flag_4x3:"flags/4x3/je.svg",iso:true,name:"Jersey",country:"44-1534",iso3:"JEY"},{capital:"Amman",iso2:"jo",continent:"Asia",flag_1x1:"flags/1x1/jo.svg",flag_4x3:"flags/4x3/jo.svg",iso:true,name:"Jordan",country:"962",iso3:"JOR"},{capital:"Astana",iso2:"kz",continent:"Asia",flag_1x1:"flags/1x1/kz.svg",flag_4x3:"flags/4x3/kz.svg",iso:true,name:"Kazakhstan",country:"7",iso3:"KAZ"},{capital:"Nairobi",iso2:"ke",continent:"Africa",flag_1x1:"flags/1x1/ke.svg",flag_4x3:"flags/4x3/ke.svg",iso:true,name:"Kenya",country:"254",iso3:"KEN"},{capital:"South Tarawa",iso2:"ki",continent:"Oceania",flag_1x1:"flags/1x1/ki.svg",flag_4x3:"flags/4x3/ki.svg",iso:true,name:"Kiribati",country:"686",iso3:"KIR"},{capital:"Kuwait City",iso2:"kw",continent:"Asia",flag_1x1:"flags/1x1/kw.svg",flag_4x3:"flags/4x3/kw.svg",iso:true,name:"Kuwait",country:"965",iso3:"KWT"},{capital:"Bishkek",iso2:"kg",continent:"Asia",flag_1x1:"flags/1x1/kg.svg",flag_4x3:"flags/4x3/kg.svg",iso:true,name:"Kyrgyzstan",country:"996",iso3:"KGZ"},{capital:"Vientiane",iso2:"la",continent:"Asia",flag_1x1:"flags/1x1/la.svg",flag_4x3:"flags/4x3/la.svg",iso:true,name:"Laos",country:"856",iso3:"LAO"},{capital:"Riga",iso2:"lv",continent:"Europe",flag_1x1:"flags/1x1/lv.svg",flag_4x3:"flags/4x3/lv.svg",iso:true,name:"Latvia",country:"371",iso3:"LVA"},{capital:"Beirut",iso2:"lb",continent:"Asia",flag_1x1:"flags/1x1/lb.svg",flag_4x3:"flags/4x3/lb.svg",iso:true,name:"Lebanon",country:"961",iso3:"LBN"},{capital:"Maseru",iso2:"ls",continent:"Africa",flag_1x1:"flags/1x1/ls.svg",flag_4x3:"flags/4x3/ls.svg",iso:true,name:"Lesotho",country:"266",iso3:"LSO"},{capital:"Monrovia",iso2:"lr",continent:"Africa",flag_1x1:"flags/1x1/lr.svg",flag_4x3:"flags/4x3/lr.svg",iso:true,name:"Liberia",country:"231",iso3:"LBR"},{capital:"Tripoli",iso2:"ly",continent:"Africa",flag_1x1:"flags/1x1/ly.svg",flag_4x3:"flags/4x3/ly.svg",iso:true,name:"Libya",country:"218",iso3:"LBY"},{capital:"Vaduz",iso2:"li",continent:"Europe",flag_1x1:"flags/1x1/li.svg",flag_4x3:"flags/4x3/li.svg",iso:true,name:"Liechtenstein",country:"423",iso3:"LIE"},{capital:"Vilnius",iso2:"lt",continent:"Europe",flag_1x1:"flags/1x1/lt.svg",flag_4x3:"flags/4x3/lt.svg",iso:true,name:"Lithuania",country:"370",iso3:"LTU"},{capital:"Luxembourg City",iso2:"lu",continent:"Europe",flag_1x1:"flags/1x1/lu.svg",flag_4x3:"flags/4x3/lu.svg",iso:true,name:"Luxembourg",country:"352",iso3:"LUX"},{capital:"Macau",iso2:"mo",continent:"Asia",flag_1x1:"flags/1x1/mo.svg",flag_4x3:"flags/4x3/mo.svg",iso:true,name:"Macau",country:"853",iso3:"MAC"},{capital:"Antananarivo",iso2:"mg",continent:"Africa",flag_1x1:"flags/1x1/mg.svg",flag_4x3:"flags/4x3/mg.svg",iso:true,name:"Madagascar",country:"261",iso3:"MDG"},{capital:"Lilongwe",iso2:"mw",continent:"Africa",flag_1x1:"flags/1x1/mw.svg",flag_4x3:"flags/4x3/mw.svg",iso:true,name:"Malawi",country:"265",iso3:"MWI"},{capital:"Kuala Lumpur",iso2:"my",continent:"Asia",flag_1x1:"flags/1x1/my.svg",flag_4x3:"flags/4x3/my.svg",iso:true,name:"Malaysia",country:"60",iso3:"MYS"},{capital:"Malé",iso2:"mv",continent:"Asia",flag_1x1:"flags/1x1/mv.svg",flag_4x3:"flags/4x3/mv.svg",iso:true,name:"Maldives",country:"960",iso3:"MDV"},{capital:"Bamako",iso2:"ml",continent:"Africa",flag_1x1:"flags/1x1/ml.svg",flag_4x3:"flags/4x3/ml.svg",iso:true,name:"Mali",country:"223",iso3:"MLI"},{capital:"Valletta",iso2:"mt",continent:"Europe",flag_1x1:"flags/1x1/mt.svg",flag_4x3:"flags/4x3/mt.svg",iso:true,name:"Malta",country:"356",iso3:"MLT"},{capital:"Majuro",iso2:"mh",continent:"Oceania",flag_1x1:"flags/1x1/mh.svg",flag_4x3:"flags/4x3/mh.svg",iso:true,name:"Marshall Islands",country:"692",iso3:"MHL"},{capital:"Fort-de-France",iso2:"mq",continent:"North America",flag_1x1:"flags/1x1/mq.svg",flag_4x3:"flags/4x3/mq.svg",iso:true,name:"Martinique",country:"596",iso3:"MTQ"},{capital:"Nouakchott",iso2:"mr",continent:"Africa",flag_1x1:"flags/1x1/mr.svg",flag_4x3:"flags/4x3/mr.svg",iso:true,name:"Mauritania",country:"222",iso3:"MRT"},{capital:"Port Louis",iso2:"mu",continent:"Africa",flag_1x1:"flags/1x1/mu.svg",flag_4x3:"flags/4x3/mu.svg",iso:true,name:"Mauritius",country:"230",iso3:"MUS"},{capital:"Mamoudzou",iso2:"yt",continent:"Africa",flag_1x1:"flags/1x1/yt.svg",flag_4x3:"flags/4x3/yt.svg",iso:true,name:"Mayotte",country:"262",iso3:"MYT"},{capital:"Mexico City",iso2:"mx",continent:"North America",flag_1x1:"flags/1x1/mx.svg",flag_4x3:"flags/4x3/mx.svg",iso:true,name:"Mexico",country:"52",iso3:"MEX"},{capital:"Chișinău",iso2:"md",continent:"Europe",flag_1x1:"flags/1x1/md.svg",flag_4x3:"flags/4x3/md.svg",iso:true,name:"Moldova",country:"373",iso3:"MDA"},{capital:"Monaco",iso2:"mc",continent:"Europe",flag_1x1:"flags/1x1/mc.svg",flag_4x3:"flags/4x3/mc.svg",iso:true,name:"Monaco",country:"377",iso3:"MCO"},{capital:"Ulaanbaatar",iso2:"mn",continent:"Asia",flag_1x1:"flags/1x1/mn.svg",flag_4x3:"flags/4x3/mn.svg",iso:true,name:"Mongolia",country:"976",iso3:"MNG"},{capital:"Podgorica",iso2:"me",continent:"Europe",flag_1x1:"flags/1x1/me.svg",flag_4x3:"flags/4x3/me.svg",iso:true,name:"Montenegro",country:"382",iso3:"MNE"},{capital:"Little Bay, Brades, Plymouth",iso2:"ms",continent:"North America",flag_1x1:"flags/1x1/ms.svg",flag_4x3:"flags/4x3/ms.svg",iso:true,name:"Montserrat",country:"1-664",iso3:"MSR"},{capital:"Rabat",iso2:"ma",continent:"Africa",flag_1x1:"flags/1x1/ma.svg",flag_4x3:"flags/4x3/ma.svg",iso:true,name:"Morocco",country:"212",iso3:"MAR"},{capital:"Maputo",iso2:"mz",continent:"Africa",flag_1x1:"flags/1x1/mz.svg",flag_4x3:"flags/4x3/mz.svg",iso:true,name:"Mozambique",country:"258",iso3:"MOZ"},{capital:"Naypyidaw",iso2:"mm",continent:"Asia",flag_1x1:"flags/1x1/mm.svg",flag_4x3:"flags/4x3/mm.svg",iso:true,name:"Myanmar",country:"95",iso3:"MMR"},{capital:"Windhoek",iso2:"na",continent:"Africa",flag_1x1:"flags/1x1/na.svg",flag_4x3:"flags/4x3/na.svg",iso:true,name:"Namibia",country:"264",iso3:"NAM"},{capital:"Yaren District",iso2:"nr",continent:"Oceania",flag_1x1:"flags/1x1/nr.svg",flag_4x3:"flags/4x3/nr.svg",iso:true,name:"Nauru",country:"674",iso3:"NRU"},{capital:"Kathmandu",iso2:"np",continent:"Asia",flag_1x1:"flags/1x1/np.svg",flag_4x3:"flags/4x3/np.svg",iso:true,name:"Nepal",country:"977",iso3:"NPL"},{capital:"Amsterdam",iso2:"nl",continent:"Europe",flag_1x1:"flags/1x1/nl.svg",flag_4x3:"flags/4x3/nl.svg",iso:true,name:"Netherlands",country:"31",iso3:"NLD"},{capital:"Nouméa",iso2:"nc",continent:"Oceania",flag_1x1:"flags/1x1/nc.svg",flag_4x3:"flags/4x3/nc.svg",iso:true,name:"New Caledonia",country:"687",iso3:"NCL"},{capital:"Wellington",iso2:"nz",continent:"Oceania",flag_1x1:"flags/1x1/nz.svg",flag_4x3:"flags/4x3/nz.svg",iso:true,name:"New Zealand",country:"64",iso3:"NZL"},{capital:"Managua",iso2:"ni",continent:"North America",flag_1x1:"flags/1x1/ni.svg",flag_4x3:"flags/4x3/ni.svg",iso:true,name:"Nicaragua",country:"505",iso3:"NIC"},{capital:"Niamey",iso2:"ne",continent:"Africa",flag_1x1:"flags/1x1/ne.svg",flag_4x3:"flags/4x3/ne.svg",iso:true,name:"Niger",country:"227",iso3:"NER"},{capital:"Abuja",iso2:"ng",continent:"Africa",flag_1x1:"flags/1x1/ng.svg",flag_4x3:"flags/4x3/ng.svg",iso:true,name:"Nigeria",country:"234",iso3:"NGA"},{capital:"Alofi",iso2:"nu",continent:"Oceania",flag_1x1:"flags/1x1/nu.svg",flag_4x3:"flags/4x3/nu.svg",iso:true,name:"Niue",country:"683",iso3:"NIU"},{capital:"Kingston",iso2:"nf",continent:"Oceania",flag_1x1:"flags/1x1/nf.svg",flag_4x3:"flags/4x3/nf.svg",iso:true,name:"Norfolk Island",country:"672",iso3:"NFK"},{capital:"Pyongyang",iso2:"kp",continent:"Asia",flag_1x1:"flags/1x1/kp.svg",flag_4x3:"flags/4x3/kp.svg",iso:true,name:"North Korea",country:"850",iso3:"PRK"},{capital:"Skopje",iso2:"mk",continent:"Europe",flag_1x1:"flags/1x1/mk.svg",flag_4x3:"flags/4x3/mk.svg",iso:true,name:"North Macedonia",country:"389",iso3:"MKD"},{capital:"Saipan",iso2:"mp",continent:"Oceania",flag_1x1:"flags/1x1/mp.svg",flag_4x3:"flags/4x3/mp.svg",iso:true,name:"Northern Mariana Islands",country:"1-670",iso3:"MNP"},{capital:"Oslo",iso2:"no",continent:"Europe",flag_1x1:"flags/1x1/no.svg",flag_4x3:"flags/4x3/no.svg",iso:true,name:"Norway",country:"47",iso3:"NOR"},{capital:"Muscat",iso2:"om",continent:"Asia",flag_1x1:"flags/1x1/om.svg",flag_4x3:"flags/4x3/om.svg",iso:true,name:"Oman",country:"968",iso3:"OMN"},{capital:"Islamabad",iso2:"pk",continent:"Asia",flag_1x1:"flags/1x1/pk.svg",flag_4x3:"flags/4x3/pk.svg",iso:true,name:"Pakistan",country:"92",iso3:"PAK"},{capital:"Ngerulmud",iso2:"pw",continent:"Oceania",flag_1x1:"flags/1x1/pw.svg",flag_4x3:"flags/4x3/pw.svg",iso:true,name:"Palau",country:"680",iso3:"PLW"},{capital:"Panama City",iso2:"pa",continent:"North America",flag_1x1:"flags/1x1/pa.svg",flag_4x3:"flags/4x3/pa.svg",iso:true,name:"Panama",country:"507",iso3:"PAN"},{capital:"Port Moresby",iso2:"pg",continent:"Oceania",flag_1x1:"flags/1x1/pg.svg",flag_4x3:"flags/4x3/pg.svg",iso:true,name:"Papua New Guinea",country:"675",iso3:"PNG"},{capital:"Asunción",iso2:"py",continent:"South America",flag_1x1:"flags/1x1/py.svg",flag_4x3:"flags/4x3/py.svg",iso:true,name:"Paraguay",country:"595",iso3:"PRY"},{capital:"Lima",iso2:"pe",continent:"South America",flag_1x1:"flags/1x1/pe.svg",flag_4x3:"flags/4x3/pe.svg",iso:true,name:"Peru",country:"51",iso3:"PER"},{capital:"Manila",iso2:"ph",continent:"Asia",flag_1x1:"flags/1x1/ph.svg",flag_4x3:"flags/4x3/ph.svg",iso:true,name:"Philippines",country:"63",iso3:"PHL"},{capital:"Adamstown",iso2:"pn",continent:"Oceania",flag_1x1:"flags/1x1/pn.svg",flag_4x3:"flags/4x3/pn.svg",iso:true,name:"Pitcairn",country:"870",iso3:"PCN"},{capital:"Warsaw",iso2:"pl",continent:"Europe",flag_1x1:"flags/1x1/pl.svg",flag_4x3:"flags/4x3/pl.svg",iso:true,name:"Poland",country:"48",iso3:"POL"},{capital:"Lisbon",iso2:"pt",continent:"Europe",flag_1x1:"flags/1x1/pt.svg",flag_4x3:"flags/4x3/pt.svg",iso:true,name:"Portugal",country:"351",iso3:"PRT"},{capital:"San Juan",iso2:"pr",continent:"North America",flag_1x1:"flags/1x1/pr.svg",flag_4x3:"flags/4x3/pr.svg",iso:true,name:"Puerto Rico",country:"1-787",iso3:"PRI"},{capital:"Doha",iso2:"qa",continent:"Asia",flag_1x1:"flags/1x1/qa.svg",flag_4x3:"flags/4x3/qa.svg",iso:true,name:"Qatar",country:"974",iso3:"QAT"},{capital:"Brazzaville",iso2:"cg",continent:"Africa",flag_1x1:"flags/1x1/cg.svg",flag_4x3:"flags/4x3/cg.svg",iso:true,name:"Republic of the Congo",country:"242",iso3:"COG"},{capital:"Bucharest",iso2:"ro",continent:"Europe",flag_1x1:"flags/1x1/ro.svg",flag_4x3:"flags/4x3/ro.svg",iso:true,name:"Romania",country:"40",iso3:"ROU"},{capital:"Moscow",iso2:"ru",continent:"Europe",flag_1x1:"flags/1x1/ru.svg",flag_4x3:"flags/4x3/ru.svg",iso:true,name:"Russia",country:"7",iso3:"RUS"},{capital:"Kigali",iso2:"rw",continent:"Africa",flag_1x1:"flags/1x1/rw.svg",flag_4x3:"flags/4x3/rw.svg",iso:true,name:"Rwanda",country:"250",iso3:"RWA"},{capital:"Saint-Denis",iso2:"re",continent:"Africa",flag_1x1:"flags/1x1/re.svg",flag_4x3:"flags/4x3/re.svg",iso:true,name:"Réunion",country:"262",iso3:"REU"},{capital:"Gustavia",iso2:"bl",continent:"North America",flag_1x1:"flags/1x1/bl.svg",flag_4x3:"flags/4x3/bl.svg",iso:true,name:"Saint Barthélemy",country:"590",iso3:"BLM"},{capital:"Jamestown",iso2:"sh",continent:"Africa",flag_1x1:"flags/1x1/sh.svg",flag_4x3:"flags/4x3/sh.svg",iso:true,name:"Saint Helena, Ascension and Tristan da Cunha",country:"290",iso3:"SHN"},{capital:"Basseterre",iso2:"kn",continent:"North America",flag_1x1:"flags/1x1/kn.svg",flag_4x3:"flags/4x3/kn.svg",iso:true,name:"Saint Kitts and Nevis",country:"1-869",iso3:"KNA"},{capital:"Castries",iso2:"lc",continent:"North America",flag_1x1:"flags/1x1/lc.svg",flag_4x3:"flags/4x3/lc.svg",iso:true,name:"Saint Lucia",country:"1-758",iso3:"LCA"},{capital:"Marigot",iso2:"mf",continent:"North America",flag_1x1:"flags/1x1/mf.svg",flag_4x3:"flags/4x3/mf.svg",iso:true,name:"Saint Martin",country:"590",iso3:"MAF"},{capital:"Saint-Pierre",iso2:"pm",continent:"North America",flag_1x1:"flags/1x1/pm.svg",flag_4x3:"flags/4x3/pm.svg",iso:true,name:"Saint Pierre and Miquelon",country:"508",iso3:"SPM"},{capital:"Kingstown",iso2:"vc",continent:"North America",flag_1x1:"flags/1x1/vc.svg",flag_4x3:"flags/4x3/vc.svg",iso:true,name:"Saint Vincent and the Grenadines",country:"1-784",iso3:"VCT"},{capital:"Apia",iso2:"ws",continent:"Oceania",flag_1x1:"flags/1x1/ws.svg",flag_4x3:"flags/4x3/ws.svg",iso:true,name:"Samoa",country:"685",iso3:"WSM"},{capital:"San Marino",iso2:"sm",continent:"Europe",flag_1x1:"flags/1x1/sm.svg",flag_4x3:"flags/4x3/sm.svg",iso:true,name:"San Marino",country:"378",iso3:"SMR"},{capital:"São Tomé",iso2:"st",continent:"Africa",flag_1x1:"flags/1x1/st.svg",flag_4x3:"flags/4x3/st.svg",iso:true,name:"Sao Tome and Principe",country:"239",iso3:"STP"},{capital:"Riyadh",iso2:"sa",continent:"Asia",flag_1x1:"flags/1x1/sa.svg",flag_4x3:"flags/4x3/sa.svg",iso:true,name:"Saudi Arabia",country:"966",iso3:"SAU"},{capital:"Dakar",iso2:"sn",continent:"Africa",flag_1x1:"flags/1x1/sn.svg",flag_4x3:"flags/4x3/sn.svg",iso:true,name:"Senegal",country:"221",iso3:"SEN"},{capital:"Belgrade",iso2:"rs",continent:"Europe",flag_1x1:"flags/1x1/rs.svg",flag_4x3:"flags/4x3/rs.svg",iso:true,name:"Serbia",country:"381",iso3:"SRB"},{capital:"Victoria",iso2:"sc",continent:"Africa",flag_1x1:"flags/1x1/sc.svg",flag_4x3:"flags/4x3/sc.svg",iso:true,name:"Seychelles",country:"248",iso3:"SYC"},{capital:"Freetown",iso2:"sl",continent:"Africa",flag_1x1:"flags/1x1/sl.svg",flag_4x3:"flags/4x3/sl.svg",iso:true,name:"Sierra Leone",country:"232",iso3:"SLE"},{capital:"Singapore",iso2:"sg",continent:"Asia",flag_1x1:"flags/1x1/sg.svg",flag_4x3:"flags/4x3/sg.svg",iso:true,name:"Singapore",country:"65",iso3:"SGP"},{capital:"Philipsburg",iso2:"sx",continent:"North America",flag_1x1:"flags/1x1/sx.svg",flag_4x3:"flags/4x3/sx.svg",iso:true,name:"Sint Maarten",country:"599",iso3:"SXM"},{capital:"Bratislava",iso2:"sk",continent:"Europe",flag_1x1:"flags/1x1/sk.svg",flag_4x3:"flags/4x3/sk.svg",iso:true,name:"Slovakia",country:"421",iso3:"SVK"},{capital:"Ljubljana",iso2:"si",continent:"Europe",flag_1x1:"flags/1x1/si.svg",flag_4x3:"flags/4x3/si.svg",iso:true,name:"Slovenia",country:"386",iso3:"SVN"},{capital:"Honiara",iso2:"sb",continent:"Oceania",flag_1x1:"flags/1x1/sb.svg",flag_4x3:"flags/4x3/sb.svg",iso:true,name:"Solomon Islands",country:"677",iso3:"SLB"},{capital:"Mogadishu",iso2:"so",continent:"Africa",flag_1x1:"flags/1x1/so.svg",flag_4x3:"flags/4x3/so.svg",iso:true,name:"Somalia",country:"252",iso3:"SOM"},{capital:"Pretoria",iso2:"za",continent:"Africa",flag_1x1:"flags/1x1/za.svg",flag_4x3:"flags/4x3/za.svg",iso:true,name:"South Africa",country:"27",iso3:"ZAF"},{capital:"Seoul",iso2:"kr",continent:"Asia",flag_1x1:"flags/1x1/kr.svg",flag_4x3:"flags/4x3/kr.svg",iso:true,name:"South Korea",country:"82",iso3:"KOR"},{capital:"Juba",iso2:"ss",continent:"Africa",flag_1x1:"flags/1x1/ss.svg",flag_4x3:"flags/4x3/ss.svg",iso:true,name:"South Sudan",country:"211",iso3:"SSD"},{capital:"Madrid",iso2:"es",continent:"Europe",flag_1x1:"flags/1x1/es.svg",flag_4x3:"flags/4x3/es.svg",iso:true,name:"Spain",country:"34",iso3:"ESP"},{capital:"Sri Jayawardenepura Kotte, Colombo",iso2:"lk",continent:"Asia",flag_1x1:"flags/1x1/lk.svg",flag_4x3:"flags/4x3/lk.svg",iso:true,name:"Sri Lanka",country:"94",iso3:"LKA"},{capital:"Ramallah",iso2:"ps",continent:"Asia",flag_1x1:"flags/1x1/ps.svg",flag_4x3:"flags/4x3/ps.svg",iso:true,name:"State of Palestine",country:"970",iso3:"PSE"},{capital:"Khartoum",iso2:"sd",continent:"Africa",flag_1x1:"flags/1x1/sd.svg",flag_4x3:"flags/4x3/sd.svg",iso:true,name:"Sudan",country:"249",iso3:"SDN"},{capital:"Paramaribo",iso2:"sr",continent:"South America",flag_1x1:"flags/1x1/sr.svg",flag_4x3:"flags/4x3/sr.svg",iso:true,name:"Suriname",country:"597",iso3:"SUR"},{capital:"Longyearbyen",iso2:"sj",continent:"Europe",flag_1x1:"flags/1x1/sj.svg",flag_4x3:"flags/4x3/sj.svg",iso:true,name:"Svalbard and Jan Mayen",country:"47",iso3:"SJM"},{capital:"Stockholm",iso2:"se",continent:"Europe",flag_1x1:"flags/1x1/se.svg",flag_4x3:"flags/4x3/se.svg",iso:true,name:"Sweden",country:"46",iso3:"SWE"},{capital:"Bern",iso2:"ch",continent:"Europe",flag_1x1:"flags/1x1/ch.svg",flag_4x3:"flags/4x3/ch.svg",iso:true,name:"Switzerland",country:"41",iso3:"CHE"},{capital:"Damascus",iso2:"sy",continent:"Asia",flag_1x1:"flags/1x1/sy.svg",flag_4x3:"flags/4x3/sy.svg",iso:true,name:"Syria",country:"963",iso3:"SYR"},{capital:"Taipei",iso2:"tw",continent:"Asia",flag_1x1:"flags/1x1/tw.svg",flag_4x3:"flags/4x3/tw.svg",iso:true,name:"Taiwan",country:"886",iso3:"TWN"},{capital:"Dushanbe",iso2:"tj",continent:"Asia",flag_1x1:"flags/1x1/tj.svg",flag_4x3:"flags/4x3/tj.svg",iso:true,name:"Tajikistan",country:"992",iso3:"TJK"},{capital:"Dodoma",iso2:"tz",continent:"Africa",flag_1x1:"flags/1x1/tz.svg",flag_4x3:"flags/4x3/tz.svg",iso:true,name:"Tanzania",country:"255",iso3:"TZA"},{capital:"Bangkok",iso2:"th",continent:"Asia",flag_1x1:"flags/1x1/th.svg",flag_4x3:"flags/4x3/th.svg",iso:true,name:"Thailand",country:"66",iso3:"THA"},{capital:"Dili",iso2:"tl",continent:"Asia",flag_1x1:"flags/1x1/tl.svg",flag_4x3:"flags/4x3/tl.svg",iso:true,name:"Timor-Leste",country:"670",iso3:"TLS"},{capital:"Lomé",iso2:"tg",continent:"Africa",flag_1x1:"flags/1x1/tg.svg",flag_4x3:"flags/4x3/tg.svg",iso:true,name:"Togo",country:"228",iso3:"TGO"},{capital:"Nukunonu, Atafu,Tokelau",iso2:"tk",continent:"Oceania",flag_1x1:"flags/1x1/tk.svg",flag_4x3:"flags/4x3/tk.svg",iso:true,name:"Tokelau",country:"690",iso3:"TKL"},{capital:"Nukuʻalofa",iso2:"to",continent:"Oceania",flag_1x1:"flags/1x1/to.svg",flag_4x3:"flags/4x3/to.svg",iso:true,name:"Tonga",country:"676",iso3:"TON"},{capital:"Port of Spain",iso2:"tt",continent:"South America",flag_1x1:"flags/1x1/tt.svg",flag_4x3:"flags/4x3/tt.svg",iso:true,name:"Trinidad and Tobago",country:"1-868",iso3:"TTO"},{capital:"Tunis",iso2:"tn",continent:"Africa",flag_1x1:"flags/1x1/tn.svg",flag_4x3:"flags/4x3/tn.svg",iso:true,name:"Tunisia",country:"216",iso3:"TUN"},{capital:"Ashgabat",iso2:"tm",continent:"Asia",flag_1x1:"flags/1x1/tm.svg",flag_4x3:"flags/4x3/tm.svg",iso:true,name:"Turkmenistan",country:"993",iso3:"TKM"},{capital:"Cockburn Town",iso2:"tc",continent:"North America",flag_1x1:"flags/1x1/tc.svg",flag_4x3:"flags/4x3/tc.svg",iso:true,name:"Turks and Caicos Islands",country:"1-649",iso3:"TCA"},{capital:"Funafuti",iso2:"tv",continent:"Oceania",flag_1x1:"flags/1x1/tv.svg",flag_4x3:"flags/4x3/tv.svg",iso:true,name:"Tuvalu",country:"688",iso3:"TUV"},{capital:"Ankara",iso2:"tr",continent:"Asia",flag_1x1:"flags/1x1/tr.svg",flag_4x3:"flags/4x3/tr.svg",iso:true,name:"Türkiye",country:"90",iso3:"TUR"},{capital:"Kampala",iso2:"ug",continent:"Africa",flag_1x1:"flags/1x1/ug.svg",flag_4x3:"flags/4x3/ug.svg",iso:true,name:"Uganda",country:"256",iso3:"UGA"},{capital:"Kiev",iso2:"ua",continent:"Europe",flag_1x1:"flags/1x1/ua.svg",flag_4x3:"flags/4x3/ua.svg",iso:true,name:"Ukraine",country:"380",iso3:"UKR"},{capital:"Abu Dhabi",iso2:"ae",continent:"Asia",flag_1x1:"flags/1x1/ae.svg",flag_4x3:"flags/4x3/ae.svg",iso:true,name:"United Arab Emirates",country:"971",iso3:"ARE"},{capital:"London",iso2:"gb",continent:"Europe",flag_1x1:"flags/1x1/gb.svg",flag_4x3:"flags/4x3/gb.svg",iso:true,name:"United Kingdom",country:"44",iso3:"ENG"},{capital:"Washington, D.C.",iso2:"us",continent:"North America",flag_1x1:"flags/1x1/us.svg",flag_4x3:"flags/4x3/us.svg",iso:true,name:"United States",country:"1",iso3:"USA"},{capital:"Montevideo",iso2:"uy",continent:"South America",flag_1x1:"flags/1x1/uy.svg",flag_4x3:"flags/4x3/uy.svg",iso:true,name:"Uruguay",country:"598",iso3:"URY"},{capital:"Tashkent",iso2:"uz",continent:"Asia",flag_1x1:"flags/1x1/uz.svg",flag_4x3:"flags/4x3/uz.svg",iso:true,name:"Uzbekistan",country:"998",iso3:"UZB"},{capital:"Port Vila",iso2:"vu",continent:"Oceania",flag_1x1:"flags/1x1/vu.svg",flag_4x3:"flags/4x3/vu.svg",iso:true,name:"Vanuatu",country:"678",iso3:"VUT"},{capital:"Caracas",iso2:"ve",continent:"South America",flag_1x1:"flags/1x1/ve.svg",flag_4x3:"flags/4x3/ve.svg",iso:true,name:"Venezuela",country:"58",iso3:"VEN"},{capital:"Hanoi",iso2:"vn",continent:"Asia",flag_1x1:"flags/1x1/vn.svg",flag_4x3:"flags/4x3/vn.svg",iso:true,name:"Vietnam",country:"84",iso3:"VNM"},{capital:"Road Town",iso2:"vg",continent:"North America",flag_1x1:"flags/1x1/vg.svg",flag_4x3:"flags/4x3/vg.svg",iso:true,name:"Virgin Islands (British)",country:"1-284",iso3:"VGB"},{capital:"Charlotte Amalie",iso2:"vi",continent:"North America",flag_1x1:"flags/1x1/vi.svg",flag_4x3:"flags/4x3/vi.svg",iso:true,name:"Virgin Islands (U.S.)",country:"1-340",iso3:"VIR"},{capital:"Mata-Utu",iso2:"wf",continent:"Oceania",flag_1x1:"flags/1x1/wf.svg",flag_4x3:"flags/4x3/wf.svg",iso:true,name:"Wallis and Futuna",country:"681",iso3:"WLF"},{capital:"Laayoune",iso2:"eh",continent:"Africa",flag_1x1:"flags/1x1/eh.svg",flag_4x3:"flags/4x3/eh.svg",iso:true,name:"Western Sahara",country:"212",iso3:"ESH"},{capital:"Sana'a",iso2:"ye",continent:"Asia",flag_1x1:"flags/1x1/ye.svg",flag_4x3:"flags/4x3/ye.svg",iso:true,name:"Yemen",country:"967",iso3:"YEM"},{capital:"Lusaka",iso2:"zm",continent:"Africa",flag_1x1:"flags/1x1/zm.svg",flag_4x3:"flags/4x3/zm.svg",iso:true,name:"Zambia",country:"260",iso3:"ZMB"},{capital:"Harare",iso2:"zw",continent:"Africa",flag_1x1:"flags/1x1/zw.svg",flag_4x3:"flags/4x3/zw.svg",iso:true,name:"Zimbabwe",country:"263",iso3:"ZWE"}];var c={capital:"Global",iso2:"global",continent:"",flag_1x1:"",flag_4x3:"",iso:true,name:"Global",country:"00",iso3:"GLOBAL"};var x="./constants/flags/4x3/";function u(a,s,i,n,t,o,g,l,r){var f=o===true||o==="true";var c=g===true||g==="true";var x=l===true||l==="true";var u=t==="iso3"?a:s;var v=i;var m=u.toLocaleUpperCase();var _="";switch(true){case c&&x&&f&&r===e.RIGHT:_="(+".concat(n,") ").concat(m);break;case c&&x&&f:_="".concat(m," (+").concat(n,")");break;case c&&!x&&f:_="".concat(m);break;case f&&x&&r===e.RIGHT:_="(+".concat(n,") ").concat(v);break;case f&&x:_="".concat(v," (+").concat(n,")");break;case f||!c&&f:_="".concat(v);break;case!f&&!x:_="";break;case!f&&x:_="(+".concat(n,")");break}return _.trim()}var v=function(){return'@charset "UTF-8";.bds-flag{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bds-flag--reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.bds-flag__country{font-family:var(--boreal-typography-font-family-primary);color:var(--boreal-text-default-light);font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm)}.bds-flag__flag--global{background-image:none;background-color:var(--boreal-ui-base-light)}.bds-flag__flag--country{background-size:cover;background-position:center;background-repeat:no-repeat;-ms-flex-negative:0;flex-shrink:0}.bds-flag__flag--rectangle{width:var(--boreal-layout-ml);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-xs2)}.bds-flag__flag--square{width:var(--boreal-layout-m);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-xs2)}.bds-flag__flag--circle{width:var(--boreal-layout-m);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-full)}'};var m=a("bds_flag",function(){function a(a){s(this,a);this.alignFlag=e.LEFT;this.callSign=false;this.country="";this.customFlags=[];this.identifier=l.CODE;this.label=false;this.shape=r.RECTANGLE;this.shortName=false}a.prototype.checkPropValues=function(){g(Object.values(e),e.LEFT,this.el,"alignFlag");g(Object.values(l),l.CODE,this.el,"identifier");g(Object.values(r),r.RECTANGLE,this.el,"shape")};a.prototype.componentWillLoad=function(){this.checkPropValues()};a.prototype.flagUrl=function(a){var s;var n=(s=this.customFlags)===null||s===void 0?void 0:s.find((function(s){return s.iso2.toLowerCase()===a}));if((n===null||n===void 0?void 0:n.flag_4x3)!==undefined)return n.flag_4x3;if(x.startsWith("http")){return"".concat(x).concat(a,".svg")}return"".concat(window.location.origin).concat(i("".concat(x).concat(a,".svg")))};a.prototype.getCountry=function(){var a=__spreadArray(__spreadArray(__spreadArray([],f,true),this.customFlags,true),[c],false);var s=this.identifier===l.CODE?"country":this.identifier;var i=this.identifier===l.ISO3?this.country.toUpperCase():this.country.toLowerCase();var n=a.find((function(a){return a[s]===i}));return n||{country:"",iso2:"",iso3:"",name:""}};a.prototype.getCountryName=function(){var a=this.getCountry(),s=a.iso3,i=a.name,n=a.country,t=a.iso2;var o=this.getNameInternal(s,t,i,n);return o};a.prototype.getFlag=function(){var a=this.getCountry().iso2;return a.toLowerCase()};a.prototype.getNameInternal=function(a,s,i,n){return u(a,s,i,n,this.identifier,this.label,this.shortName,this.callSign,this.alignFlag)};Object.defineProperty(a.prototype,"isGlobal",{get:function(){return this.getFlag()==="global"},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"flagClass",{get:function(){return{"bds-flag":true,"bds-flag--reverse":this.alignFlag===e.RIGHT}},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"flagContentClass",{get:function(){var a;return a={"bds-flag__flag--country":true},a["bds-flag__flag--".concat(this.shape)]=true,a["bds-flag__flag--global"]=this.isGlobal,a},enumerable:false,configurable:true});a.prototype.render=function(){var a=this.getFlag();var s=this.getCountryName();var i=this.flagContentClass;var o=this.flagClass;var g=!this.isGlobal?{backgroundImage:"url(".concat(this.flagUrl(a),")")}:{};return n(t,{key:"c8f41b293eb2cfb1313aaa5c1ecbd4de3bf2e27c",class:o,"aria-label":s,role:"img"},a&&n("span",{key:"21f885fe3f7de150dd3766d3c942a6131d420a26",class:i,style:g,"aria-hidden":"true"}),n("span",{key:"08b819e1754ea9675306060ef1b8bcfa94546b09",class:"bds-flag__country","aria-hidden":"true"},s))};Object.defineProperty(a,"assetsDirs",{get:function(){return["./constants"]},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{alignFlag:[{checkPropValues:0}],identifier:[{checkPropValues:0}],shape:[{checkPropValues:0}]}},enumerable:false,configurable:true});return a}());m.style=v()}}}));
1
+ var __spreadArray=this&&this.__spreadArray||function(a,s,i){if(i||arguments.length===2)for(var n=0,t=s.length,o;n<t;n++){if(o||!(n in s)){if(!o)o=Array.prototype.slice.call(s,0,n);o[n]=s[n]}}return a.concat(o||Array.prototype.slice.call(s))};System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(a){"use strict";var s,i,n,t,o,g;return{setters:[function(a){s=a.r;i=a.d;n=a.h;t=a.a;o=a.g},function(a){g=a.v}],execute:function(){var l={ISO2:"iso2",ISO3:"iso3",CODE:"code"};var e={LEFT:"left",RIGHT:"right"};var r={CIRCLE:"circle",SQUARE:"square",RECTANGLE:"rectangle"};var f=[{capital:"Kabul",iso2:"af",continent:"Asia",flag_1x1:"flags/1x1/af.svg",flag_4x3:"flags/4x3/af.svg",iso:true,name:"Afghanistan",country:"93",iso3:"AFG"},{capital:"Mariehamn",iso2:"ax",continent:"Europe",flag_1x1:"flags/1x1/ax.svg",flag_4x3:"flags/4x3/ax.svg",iso:true,name:"Aland Islands",country:"358-18",iso3:"ALA"},{capital:"Tirana",iso2:"al",continent:"Europe",flag_1x1:"flags/1x1/al.svg",flag_4x3:"flags/4x3/al.svg",iso:true,name:"Albania",country:"355",iso3:"ALB"},{capital:"Algiers",iso2:"dz",continent:"Africa",flag_1x1:"flags/1x1/dz.svg",flag_4x3:"flags/4x3/dz.svg",iso:true,name:"Algeria",country:"213",iso3:"DZA"},{capital:"Pago Pago",iso2:"as",continent:"Oceania",flag_1x1:"flags/1x1/as.svg",flag_4x3:"flags/4x3/as.svg",iso:true,name:"American Samoa",country:"1-684",iso3:"ASM"},{capital:"Andorra la Vella",iso2:"ad",continent:"Europe",flag_1x1:"flags/1x1/ad.svg",flag_4x3:"flags/4x3/ad.svg",iso:true,name:"Andorra",country:"376",iso3:"AND"},{capital:"Luanda",iso2:"ao",continent:"Africa",flag_1x1:"flags/1x1/ao.svg",flag_4x3:"flags/4x3/ao.svg",iso:true,name:"Angola",country:"244",iso3:"AGO"},{capital:"The Valley",iso2:"ai",continent:"North America",flag_1x1:"flags/1x1/ai.svg",flag_4x3:"flags/4x3/ai.svg",iso:true,name:"Anguilla",country:"1-264",iso3:"AIA"},{capital:"St. John's",iso2:"ag",continent:"North America",flag_1x1:"flags/1x1/ag.svg",flag_4x3:"flags/4x3/ag.svg",iso:true,name:"Antigua and Barbuda",country:"1-268",iso3:"ATG"},{capital:"Buenos Aires",iso2:"ar",continent:"South America",flag_1x1:"flags/1x1/ar.svg",flag_4x3:"flags/4x3/ar.svg",iso:true,name:"Argentina",country:"54",iso3:"ARG"},{capital:"Yerevan",iso2:"am",continent:"Asia",flag_1x1:"flags/1x1/am.svg",flag_4x3:"flags/4x3/am.svg",iso:true,name:"Armenia",country:"374",iso3:"ARM"},{capital:"Oranjestad",iso2:"aw",continent:"South America",flag_1x1:"flags/1x1/aw.svg",flag_4x3:"flags/4x3/aw.svg",iso:true,name:"Aruba",country:"297",iso3:"ABW"},{capital:"Canberra",iso2:"au",continent:"Oceania",flag_1x1:"flags/1x1/au.svg",flag_4x3:"flags/4x3/au.svg",iso:true,name:"Australia",country:"61",iso3:"AUS"},{capital:"Vienna",iso2:"at",continent:"Europe",flag_1x1:"flags/1x1/at.svg",flag_4x3:"flags/4x3/at.svg",iso:true,name:"Austria",country:"43",iso3:"AUT"},{capital:"Baku",iso2:"az",continent:"Asia",flag_1x1:"flags/1x1/az.svg",flag_4x3:"flags/4x3/az.svg",iso:true,name:"Azerbaijan",country:"994",iso3:"AZE"},{capital:"Nassau",iso2:"bs",continent:"North America",flag_1x1:"flags/1x1/bs.svg",flag_4x3:"flags/4x3/bs.svg",iso:true,name:"Bahamas",country:"1-242",iso3:"BHS"},{capital:"Manama",iso2:"bh",continent:"Asia",flag_1x1:"flags/1x1/bh.svg",flag_4x3:"flags/4x3/bh.svg",iso:true,name:"Bahrain",country:"973",iso3:"BHR"},{capital:"Dhaka",iso2:"bd",continent:"Asia",flag_1x1:"flags/1x1/bd.svg",flag_4x3:"flags/4x3/bd.svg",iso:true,name:"Bangladesh",country:"880",iso3:"BGD"},{capital:"Bridgetown",iso2:"bb",continent:"North America",flag_1x1:"flags/1x1/bb.svg",flag_4x3:"flags/4x3/bb.svg",iso:true,name:"Barbados",country:"1-246",iso3:"BRB"},{capital:"Minsk",iso2:"by",continent:"Europe",flag_1x1:"flags/1x1/by.svg",flag_4x3:"flags/4x3/by.svg",iso:true,name:"Belarus",country:"375",iso3:"BLR"},{capital:"Brussels",iso2:"be",continent:"Europe",flag_1x1:"flags/1x1/be.svg",flag_4x3:"flags/4x3/be.svg",iso:true,name:"Belgium",country:"32",iso3:"BEL"},{capital:"Belmopan",iso2:"bz",continent:"North America",flag_1x1:"flags/1x1/bz.svg",flag_4x3:"flags/4x3/bz.svg",iso:true,name:"Belize",country:"501",iso3:"BLZ"},{capital:"Porto-Novo",iso2:"bj",continent:"Africa",flag_1x1:"flags/1x1/bj.svg",flag_4x3:"flags/4x3/bj.svg",iso:true,name:"Benin",country:"229",iso3:"BEN"},{capital:"Hamilton",iso2:"bm",continent:"North America",flag_1x1:"flags/1x1/bm.svg",flag_4x3:"flags/4x3/bm.svg",iso:true,name:"Bermuda",country:"1-441",iso3:"BMU"},{capital:"Thimphu",iso2:"bt",continent:"Asia",flag_1x1:"flags/1x1/bt.svg",flag_4x3:"flags/4x3/bt.svg",iso:true,name:"Bhutan",country:"975",iso3:"BTN"},{capital:"Sucre",iso2:"bo",continent:"South America",flag_1x1:"flags/1x1/bo.svg",flag_4x3:"flags/4x3/bo.svg",iso:true,name:"Bolivia",country:"591",iso3:"BOL"},{capital:"Kralendijk",iso2:"bq",continent:"South America",flag_1x1:"flags/1x1/bq.svg",flag_4x3:"flags/4x3/bq.svg",iso:true,name:"Bonaire, Sint Eustatius and Saba",country:"599",iso3:"BES"},{capital:"Sarajevo",iso2:"ba",continent:"Europe",flag_1x1:"flags/1x1/ba.svg",flag_4x3:"flags/4x3/ba.svg",iso:true,name:"Bosnia and Herzegovina",country:"387",iso3:"BIH"},{capital:"Gaborone",iso2:"bw",continent:"Africa",flag_1x1:"flags/1x1/bw.svg",flag_4x3:"flags/4x3/bw.svg",iso:true,name:"Botswana",country:"267",iso3:"BWA"},{capital:"Brasília",iso2:"br",continent:"South America",flag_1x1:"flags/1x1/br.svg",flag_4x3:"flags/4x3/br.svg",iso:true,name:"Brazil",country:"55",iso3:"BRA"},{capital:"Diego Garcia",iso2:"io",continent:"Asia",flag_1x1:"flags/1x1/io.svg",flag_4x3:"flags/4x3/io.svg",iso:true,name:"British Indian Ocean Territory",country:"246",iso3:"IOT"},{capital:"Bandar Seri Begawan",iso2:"bn",continent:"Asia",flag_1x1:"flags/1x1/bn.svg",flag_4x3:"flags/4x3/bn.svg",iso:true,name:"Brunei Darussalam",country:"673",iso3:"BRN"},{capital:"Sofia",iso2:"bg",continent:"Europe",flag_1x1:"flags/1x1/bg.svg",flag_4x3:"flags/4x3/bg.svg",iso:true,name:"Bulgaria",country:"359",iso3:"BGR"},{capital:"Ouagadougou",iso2:"bf",continent:"Africa",flag_1x1:"flags/1x1/bf.svg",flag_4x3:"flags/4x3/bf.svg",iso:true,name:"Burkina Faso",country:"226",iso3:"BFA"},{capital:"Bujumbura",iso2:"bi",continent:"Africa",flag_1x1:"flags/1x1/bi.svg",flag_4x3:"flags/4x3/bi.svg",iso:true,name:"Burundi",country:"257",iso3:"BDI"},{capital:"Praia",iso2:"cv",continent:"Africa",flag_1x1:"flags/1x1/cv.svg",flag_4x3:"flags/4x3/cv.svg",iso:true,name:"Cabo Verde",country:"238",iso3:"CPV"},{capital:"Phnom Penh",iso2:"kh",continent:"Asia",flag_1x1:"flags/1x1/kh.svg",flag_4x3:"flags/4x3/kh.svg",iso:true,name:"Cambodia",country:"855",iso3:"KHM"},{capital:"Yaoundé",iso2:"cm",continent:"Africa",flag_1x1:"flags/1x1/cm.svg",flag_4x3:"flags/4x3/cm.svg",iso:true,name:"Cameroon",country:"237",iso3:"CMR"},{capital:"George Town",iso2:"ky",continent:"North America",flag_1x1:"flags/1x1/ky.svg",flag_4x3:"flags/4x3/ky.svg",iso:true,name:"Cayman Islands",country:"1-345",iso3:"CYM"},{capital:"Bangui",iso2:"cf",continent:"Africa",flag_1x1:"flags/1x1/cf.svg",flag_4x3:"flags/4x3/cf.svg",iso:true,name:"Central African Republic",country:"236",iso3:"CAF"},{capital:"N'Djamena",iso2:"td",continent:"Africa",flag_1x1:"flags/1x1/td.svg",flag_4x3:"flags/4x3/td.svg",iso:true,name:"Chad",country:"235",iso3:"TCD"},{capital:"Santiago",iso2:"cl",continent:"South America",flag_1x1:"flags/1x1/cl.svg",flag_4x3:"flags/4x3/cl.svg",iso:true,name:"Chile",country:"56",iso3:"CHL"},{capital:"Beijing",iso2:"cn",continent:"Asia",flag_1x1:"flags/1x1/cn.svg",flag_4x3:"flags/4x3/cn.svg",iso:true,name:"China",country:"86",iso3:"CHN"},{capital:"Flying Fish Cove",iso2:"cx",continent:"Asia",flag_1x1:"flags/1x1/cx.svg",flag_4x3:"flags/4x3/cx.svg",iso:true,name:"Christmas Island",country:"61",iso3:"CXR"},{capital:"West Island",iso2:"cc",continent:"Asia",flag_1x1:"flags/1x1/cc.svg",flag_4x3:"flags/4x3/cc.svg",iso:true,name:"Cocos (Keeling) Islands",country:"61",iso3:"CCK"},{capital:"Bogotá",iso2:"co",continent:"South America",flag_1x1:"flags/1x1/co.svg",flag_4x3:"flags/4x3/co.svg",iso:true,name:"Colombia",country:"57",iso3:"COL"},{capital:"Moroni",iso2:"km",continent:"Africa",flag_1x1:"flags/1x1/km.svg",flag_4x3:"flags/4x3/km.svg",iso:true,name:"Comoros",country:"269",iso3:"COM"},{capital:"Avarua",iso2:"ck",continent:"Oceania",flag_1x1:"flags/1x1/ck.svg",flag_4x3:"flags/4x3/ck.svg",iso:true,name:"Cook Islands",country:"682",iso3:"COK"},{capital:"San José",iso2:"cr",continent:"North America",flag_1x1:"flags/1x1/cr.svg",flag_4x3:"flags/4x3/cr.svg",iso:true,name:"Costa Rica",country:"506",iso3:"CRI"},{capital:"Zagreb",iso2:"hr",continent:"Europe",flag_1x1:"flags/1x1/hr.svg",flag_4x3:"flags/4x3/hr.svg",iso:true,name:"Croatia",country:"385",iso3:"HRV"},{capital:"Havana",iso2:"cu",continent:"North America",flag_1x1:"flags/1x1/cu.svg",flag_4x3:"flags/4x3/cu.svg",iso:true,name:"Cuba",country:"53",iso3:"CUB"},{capital:"Willemstad",iso2:"cw",continent:"South America",flag_1x1:"flags/1x1/cw.svg",flag_4x3:"flags/4x3/cw.svg",iso:true,name:"Curaçao",country:"599",iso3:"CUW"},{capital:"Nicosia",iso2:"cy",continent:"Europe",flag_1x1:"flags/1x1/cy.svg",flag_4x3:"flags/4x3/cy.svg",iso:true,name:"Cyprus",country:"357",iso3:"CYP"},{capital:"Prague",iso2:"cz",continent:"Europe",flag_1x1:"flags/1x1/cz.svg",flag_4x3:"flags/4x3/cz.svg",iso:true,name:"Czech Republic",country:"420",iso3:"CZE"},{capital:"Yamoussoukro",iso2:"ci",continent:"Africa",flag_1x1:"flags/1x1/ci.svg",flag_4x3:"flags/4x3/ci.svg",iso:true,name:"Côte d'Ivoire",country:"225",iso3:"CIV"},{capital:"Kinshasa",iso2:"cd",continent:"Africa",flag_1x1:"flags/1x1/cd.svg",flag_4x3:"flags/4x3/cd.svg",iso:true,name:"Democratic Republic of the Congo",country:"243",iso3:"COD"},{capital:"Copenhagen",iso2:"dk",continent:"Europe",flag_1x1:"flags/1x1/dk.svg",flag_4x3:"flags/4x3/dk.svg",iso:true,name:"Denmark",country:"45",iso3:"DNK"},{capital:"Djibouti",iso2:"dj",continent:"Africa",flag_1x1:"flags/1x1/dj.svg",flag_4x3:"flags/4x3/dj.svg",iso:true,name:"Djibouti",country:"253",iso3:"DJI"},{capital:"Roseau",iso2:"dm",continent:"North America",flag_1x1:"flags/1x1/dm.svg",flag_4x3:"flags/4x3/dm.svg",iso:true,name:"Dominica",country:"1-767",iso3:"DMA"},{capital:"Santo Domingo",iso2:"do",continent:"North America",flag_1x1:"flags/1x1/do.svg",flag_4x3:"flags/4x3/do.svg",iso:true,name:"Dominican Republic",country:"1-809",iso3:"DOM"},{capital:"Quito",iso2:"ec",continent:"South America",flag_1x1:"flags/1x1/ec.svg",flag_4x3:"flags/4x3/ec.svg",iso:true,name:"Ecuador",country:"593",iso3:"ECU"},{capital:"Cairo",iso2:"eg",continent:"Africa",flag_1x1:"flags/1x1/eg.svg",flag_4x3:"flags/4x3/eg.svg",iso:true,name:"Egypt",country:"20",iso3:"EGY"},{capital:"San Salvador",iso2:"sv",continent:"North America",flag_1x1:"flags/1x1/sv.svg",flag_4x3:"flags/4x3/sv.svg",iso:true,name:"El Salvador",country:"503",iso3:"SLV"},{capital:"Malabo",iso2:"gq",continent:"Africa",flag_1x1:"flags/1x1/gq.svg",flag_4x3:"flags/4x3/gq.svg",iso:true,name:"Equatorial Guinea",country:"240",iso3:"GNQ"},{capital:"Asmara",iso2:"er",continent:"Africa",flag_1x1:"flags/1x1/er.svg",flag_4x3:"flags/4x3/er.svg",iso:true,name:"Eritrea",country:"291",iso3:"ERI"},{capital:"Tallinn",iso2:"ee",continent:"Europe",flag_1x1:"flags/1x1/ee.svg",flag_4x3:"flags/4x3/ee.svg",iso:true,name:"Estonia",country:"372",iso3:"EST"},{capital:"Lobamba, Mbabane",iso2:"sz",continent:"Africa",flag_1x1:"flags/1x1/sz.svg",flag_4x3:"flags/4x3/sz.svg",iso:true,name:"Eswatini",country:"268",iso3:"SWZ"},{capital:"Addis Ababa",iso2:"et",continent:"Africa",flag_1x1:"flags/1x1/et.svg",flag_4x3:"flags/4x3/et.svg",iso:true,name:"Ethiopia",country:"251",iso3:"ETH"},{capital:"Stanley",iso2:"fk",continent:"South America",flag_1x1:"flags/1x1/fk.svg",flag_4x3:"flags/4x3/fk.svg",iso:true,name:"Falkland Islands",country:"500",iso3:"FLK"},{capital:"Tórshavn",iso2:"fo",continent:"Europe",flag_1x1:"flags/1x1/fo.svg",flag_4x3:"flags/4x3/fo.svg",iso:true,name:"Faroe Islands",country:"298",iso3:"FRO"},{capital:"Palikir",iso2:"fm",continent:"Oceania",flag_1x1:"flags/1x1/fm.svg",flag_4x3:"flags/4x3/fm.svg",iso:true,name:"Federated States of Micronesia",country:"691",iso3:"FSM"},{capital:"Suva",iso2:"fj",continent:"Oceania",flag_1x1:"flags/1x1/fj.svg",flag_4x3:"flags/4x3/fj.svg",iso:true,name:"Fiji",country:"679",iso3:"FJI"},{capital:"Helsinki",iso2:"fi",continent:"Europe",flag_1x1:"flags/1x1/fi.svg",flag_4x3:"flags/4x3/fi.svg",iso:true,name:"Finland",country:"358",iso3:"FIN"},{capital:"Paris",iso2:"fr",continent:"Europe",flag_1x1:"flags/1x1/fr.svg",flag_4x3:"flags/4x3/fr.svg",iso:true,name:"France",country:"33",iso3:"FRA"},{capital:"Cayenne",iso2:"gf",continent:"South America",flag_1x1:"flags/1x1/gf.svg",flag_4x3:"flags/4x3/gf.svg",iso:true,name:"French Guiana",country:"594",iso3:"GUF"},{capital:"Papeete",iso2:"pf",continent:"Oceania",flag_1x1:"flags/1x1/pf.svg",flag_4x3:"flags/4x3/pf.svg",iso:true,name:"French Polynesia",country:"689",iso3:"PYF"},{capital:"Libreville",iso2:"ga",continent:"Africa",flag_1x1:"flags/1x1/ga.svg",flag_4x3:"flags/4x3/ga.svg",iso:true,name:"Gabon",country:"241",iso3:"GAB"},{capital:"Banjul",iso2:"gm",continent:"Africa",flag_1x1:"flags/1x1/gm.svg",flag_4x3:"flags/4x3/gm.svg",iso:true,name:"Gambia",country:"220",iso3:"GMB"},{capital:"Tbilisi",iso2:"ge",continent:"Asia",flag_1x1:"flags/1x1/ge.svg",flag_4x3:"flags/4x3/ge.svg",iso:true,name:"Georgia",country:"995",iso3:"GEO"},{capital:"Berlin",iso2:"de",continent:"Europe",flag_1x1:"flags/1x1/de.svg",flag_4x3:"flags/4x3/de.svg",iso:true,name:"Germany",country:"49",iso3:"DEU"},{capital:"Accra",iso2:"gh",continent:"Africa",flag_1x1:"flags/1x1/gh.svg",flag_4x3:"flags/4x3/gh.svg",iso:true,name:"Ghana",country:"233",iso3:"GHA"},{capital:"Gibraltar",iso2:"gi",continent:"Europe",flag_1x1:"flags/1x1/gi.svg",flag_4x3:"flags/4x3/gi.svg",iso:true,name:"Gibraltar",country:"350",iso3:"GIB"},{capital:"Athens",iso2:"gr",continent:"Europe",flag_1x1:"flags/1x1/gr.svg",flag_4x3:"flags/4x3/gr.svg",iso:true,name:"Greece",country:"30",iso3:"GRC"},{capital:"Nuuk",iso2:"gl",continent:"North America",flag_1x1:"flags/1x1/gl.svg",flag_4x3:"flags/4x3/gl.svg",iso:true,name:"Greenland",country:"299",iso3:"GRL"},{capital:"St. George's",iso2:"gd",continent:"North America",flag_1x1:"flags/1x1/gd.svg",flag_4x3:"flags/4x3/gd.svg",iso:true,name:"Grenada",country:"1-473",iso3:"GRD"},{capital:"Basse-Terre",iso2:"gp",continent:"North America",flag_1x1:"flags/1x1/gp.svg",flag_4x3:"flags/4x3/gp.svg",iso:true,name:"Guadeloupe",country:"590",iso3:"GLP"},{capital:"Hagåtña",iso2:"gu",continent:"Oceania",flag_1x1:"flags/1x1/gu.svg",flag_4x3:"flags/4x3/gu.svg",iso:true,name:"Guam",country:"1-671",iso3:"GUM"},{capital:"Guatemala City",iso2:"gt",continent:"North America",flag_1x1:"flags/1x1/gt.svg",flag_4x3:"flags/4x3/gt.svg",iso:true,name:"Guatemala",country:"502",iso3:"GTM"},{capital:"Saint Peter Port",iso2:"gg",continent:"Europe",flag_1x1:"flags/1x1/gg.svg",flag_4x3:"flags/4x3/gg.svg",iso:true,name:"Guernsey",country:"44-1481",iso3:"GGY"},{capital:"Conakry",iso2:"gn",continent:"Africa",flag_1x1:"flags/1x1/gn.svg",flag_4x3:"flags/4x3/gn.svg",iso:true,name:"Guinea",country:"224",iso3:"GIN"},{capital:"Bissau",iso2:"gw",continent:"Africa",flag_1x1:"flags/1x1/gw.svg",flag_4x3:"flags/4x3/gw.svg",iso:true,name:"Guinea-Bissau",country:"245",iso3:"GNB"},{capital:"Georgetown",iso2:"gy",continent:"South America",flag_1x1:"flags/1x1/gy.svg",flag_4x3:"flags/4x3/gy.svg",iso:true,name:"Guyana",country:"592",iso3:"GUY"},{capital:"Port-au-Prince",iso2:"ht",continent:"North America",flag_1x1:"flags/1x1/ht.svg",flag_4x3:"flags/4x3/ht.svg",iso:true,name:"Haiti",country:"509",iso3:"HTI"},{iso2:"hm",flag_1x1:"flags/1x1/hm.svg",flag_4x3:"flags/4x3/hm.svg",iso:true,name:"Heard Island and McDonald Islands",country:" ",iso3:"HMD"},{capital:"Vatican City",iso2:"va",continent:"Europe",flag_1x1:"flags/1x1/va.svg",flag_4x3:"flags/4x3/va.svg",iso:true,name:"Holy See",country:"379",iso3:"VAT"},{capital:"Tegucigalpa",iso2:"hn",continent:"North America",flag_1x1:"flags/1x1/hn.svg",flag_4x3:"flags/4x3/hn.svg",iso:true,name:"Honduras",country:"504",iso3:"HND"},{capital:"Hong Kong",iso2:"hk",continent:"Asia",flag_1x1:"flags/1x1/hk.svg",flag_4x3:"flags/4x3/hk.svg",iso:true,name:"Hong Kong",country:"852",iso3:"HKG"},{capital:"Budapest",iso2:"hu",continent:"Europe",flag_1x1:"flags/1x1/hu.svg",flag_4x3:"flags/4x3/hu.svg",iso:true,name:"Hungary",country:"36",iso3:"HUN"},{capital:"Reykjavik",iso2:"is",continent:"Europe",flag_1x1:"flags/1x1/is.svg",flag_4x3:"flags/4x3/is.svg",iso:true,name:"Iceland",country:"354",iso3:"ISL"},{capital:"New Delhi",iso2:"in",continent:"Asia",flag_1x1:"flags/1x1/in.svg",flag_4x3:"flags/4x3/in.svg",iso:true,name:"India",country:"91",iso3:"IND"},{capital:"Jakarta",iso2:"id",continent:"Asia",flag_1x1:"flags/1x1/id.svg",flag_4x3:"flags/4x3/id.svg",iso:true,name:"Indonesia",country:"62",iso3:"IDN"},{capital:"Tehran",iso2:"ir",continent:"Asia",flag_1x1:"flags/1x1/ir.svg",flag_4x3:"flags/4x3/ir.svg",iso:true,name:"Iran",country:"98",iso3:"IRN"},{capital:"Baghdad",iso2:"iq",continent:"Asia",flag_1x1:"flags/1x1/iq.svg",flag_4x3:"flags/4x3/iq.svg",iso:true,name:"Iraq",country:"964",iso3:"IRQ"},{capital:"Dublin",iso2:"ie",continent:"Europe",flag_1x1:"flags/1x1/ie.svg",flag_4x3:"flags/4x3/ie.svg",iso:true,name:"Ireland",country:"353",iso3:"IRL"},{capital:"Douglas",iso2:"im",continent:"Europe",flag_1x1:"flags/1x1/im.svg",flag_4x3:"flags/4x3/im.svg",iso:true,name:"Isle of Man",country:"44-1624",iso3:"IMN"},{capital:"Jerusalem",iso2:"il",continent:"Asia",flag_1x1:"flags/1x1/il.svg",flag_4x3:"flags/4x3/il.svg",iso:true,name:"Israel",country:"972",iso3:"ISR"},{capital:"Rome",iso2:"it",continent:"Europe",flag_1x1:"flags/1x1/it.svg",flag_4x3:"flags/4x3/it.svg",iso:true,name:"Italy",country:"39",iso3:"ITA"},{capital:"Kingston",iso2:"jm",continent:"North America",flag_1x1:"flags/1x1/jm.svg",flag_4x3:"flags/4x3/jm.svg",iso:true,name:"Jamaica",country:"1-876",iso3:"JAM"},{capital:"Tokyo",iso2:"jp",continent:"Asia",flag_1x1:"flags/1x1/jp.svg",flag_4x3:"flags/4x3/jp.svg",iso:true,name:"Japan",country:"81",iso3:"JPN"},{capital:"Saint Helier",iso2:"je",continent:"Europe",flag_1x1:"flags/1x1/je.svg",flag_4x3:"flags/4x3/je.svg",iso:true,name:"Jersey",country:"44-1534",iso3:"JEY"},{capital:"Amman",iso2:"jo",continent:"Asia",flag_1x1:"flags/1x1/jo.svg",flag_4x3:"flags/4x3/jo.svg",iso:true,name:"Jordan",country:"962",iso3:"JOR"},{capital:"Astana",iso2:"kz",continent:"Asia",flag_1x1:"flags/1x1/kz.svg",flag_4x3:"flags/4x3/kz.svg",iso:true,name:"Kazakhstan",country:"7",iso3:"KAZ"},{capital:"Nairobi",iso2:"ke",continent:"Africa",flag_1x1:"flags/1x1/ke.svg",flag_4x3:"flags/4x3/ke.svg",iso:true,name:"Kenya",country:"254",iso3:"KEN"},{capital:"South Tarawa",iso2:"ki",continent:"Oceania",flag_1x1:"flags/1x1/ki.svg",flag_4x3:"flags/4x3/ki.svg",iso:true,name:"Kiribati",country:"686",iso3:"KIR"},{capital:"Kuwait City",iso2:"kw",continent:"Asia",flag_1x1:"flags/1x1/kw.svg",flag_4x3:"flags/4x3/kw.svg",iso:true,name:"Kuwait",country:"965",iso3:"KWT"},{capital:"Bishkek",iso2:"kg",continent:"Asia",flag_1x1:"flags/1x1/kg.svg",flag_4x3:"flags/4x3/kg.svg",iso:true,name:"Kyrgyzstan",country:"996",iso3:"KGZ"},{capital:"Vientiane",iso2:"la",continent:"Asia",flag_1x1:"flags/1x1/la.svg",flag_4x3:"flags/4x3/la.svg",iso:true,name:"Laos",country:"856",iso3:"LAO"},{capital:"Riga",iso2:"lv",continent:"Europe",flag_1x1:"flags/1x1/lv.svg",flag_4x3:"flags/4x3/lv.svg",iso:true,name:"Latvia",country:"371",iso3:"LVA"},{capital:"Beirut",iso2:"lb",continent:"Asia",flag_1x1:"flags/1x1/lb.svg",flag_4x3:"flags/4x3/lb.svg",iso:true,name:"Lebanon",country:"961",iso3:"LBN"},{capital:"Maseru",iso2:"ls",continent:"Africa",flag_1x1:"flags/1x1/ls.svg",flag_4x3:"flags/4x3/ls.svg",iso:true,name:"Lesotho",country:"266",iso3:"LSO"},{capital:"Monrovia",iso2:"lr",continent:"Africa",flag_1x1:"flags/1x1/lr.svg",flag_4x3:"flags/4x3/lr.svg",iso:true,name:"Liberia",country:"231",iso3:"LBR"},{capital:"Tripoli",iso2:"ly",continent:"Africa",flag_1x1:"flags/1x1/ly.svg",flag_4x3:"flags/4x3/ly.svg",iso:true,name:"Libya",country:"218",iso3:"LBY"},{capital:"Vaduz",iso2:"li",continent:"Europe",flag_1x1:"flags/1x1/li.svg",flag_4x3:"flags/4x3/li.svg",iso:true,name:"Liechtenstein",country:"423",iso3:"LIE"},{capital:"Vilnius",iso2:"lt",continent:"Europe",flag_1x1:"flags/1x1/lt.svg",flag_4x3:"flags/4x3/lt.svg",iso:true,name:"Lithuania",country:"370",iso3:"LTU"},{capital:"Luxembourg City",iso2:"lu",continent:"Europe",flag_1x1:"flags/1x1/lu.svg",flag_4x3:"flags/4x3/lu.svg",iso:true,name:"Luxembourg",country:"352",iso3:"LUX"},{capital:"Macau",iso2:"mo",continent:"Asia",flag_1x1:"flags/1x1/mo.svg",flag_4x3:"flags/4x3/mo.svg",iso:true,name:"Macau",country:"853",iso3:"MAC"},{capital:"Antananarivo",iso2:"mg",continent:"Africa",flag_1x1:"flags/1x1/mg.svg",flag_4x3:"flags/4x3/mg.svg",iso:true,name:"Madagascar",country:"261",iso3:"MDG"},{capital:"Lilongwe",iso2:"mw",continent:"Africa",flag_1x1:"flags/1x1/mw.svg",flag_4x3:"flags/4x3/mw.svg",iso:true,name:"Malawi",country:"265",iso3:"MWI"},{capital:"Kuala Lumpur",iso2:"my",continent:"Asia",flag_1x1:"flags/1x1/my.svg",flag_4x3:"flags/4x3/my.svg",iso:true,name:"Malaysia",country:"60",iso3:"MYS"},{capital:"Malé",iso2:"mv",continent:"Asia",flag_1x1:"flags/1x1/mv.svg",flag_4x3:"flags/4x3/mv.svg",iso:true,name:"Maldives",country:"960",iso3:"MDV"},{capital:"Bamako",iso2:"ml",continent:"Africa",flag_1x1:"flags/1x1/ml.svg",flag_4x3:"flags/4x3/ml.svg",iso:true,name:"Mali",country:"223",iso3:"MLI"},{capital:"Valletta",iso2:"mt",continent:"Europe",flag_1x1:"flags/1x1/mt.svg",flag_4x3:"flags/4x3/mt.svg",iso:true,name:"Malta",country:"356",iso3:"MLT"},{capital:"Majuro",iso2:"mh",continent:"Oceania",flag_1x1:"flags/1x1/mh.svg",flag_4x3:"flags/4x3/mh.svg",iso:true,name:"Marshall Islands",country:"692",iso3:"MHL"},{capital:"Fort-de-France",iso2:"mq",continent:"North America",flag_1x1:"flags/1x1/mq.svg",flag_4x3:"flags/4x3/mq.svg",iso:true,name:"Martinique",country:"596",iso3:"MTQ"},{capital:"Nouakchott",iso2:"mr",continent:"Africa",flag_1x1:"flags/1x1/mr.svg",flag_4x3:"flags/4x3/mr.svg",iso:true,name:"Mauritania",country:"222",iso3:"MRT"},{capital:"Port Louis",iso2:"mu",continent:"Africa",flag_1x1:"flags/1x1/mu.svg",flag_4x3:"flags/4x3/mu.svg",iso:true,name:"Mauritius",country:"230",iso3:"MUS"},{capital:"Mamoudzou",iso2:"yt",continent:"Africa",flag_1x1:"flags/1x1/yt.svg",flag_4x3:"flags/4x3/yt.svg",iso:true,name:"Mayotte",country:"262",iso3:"MYT"},{capital:"Mexico City",iso2:"mx",continent:"North America",flag_1x1:"flags/1x1/mx.svg",flag_4x3:"flags/4x3/mx.svg",iso:true,name:"Mexico",country:"52",iso3:"MEX"},{capital:"Chișinău",iso2:"md",continent:"Europe",flag_1x1:"flags/1x1/md.svg",flag_4x3:"flags/4x3/md.svg",iso:true,name:"Moldova",country:"373",iso3:"MDA"},{capital:"Monaco",iso2:"mc",continent:"Europe",flag_1x1:"flags/1x1/mc.svg",flag_4x3:"flags/4x3/mc.svg",iso:true,name:"Monaco",country:"377",iso3:"MCO"},{capital:"Ulaanbaatar",iso2:"mn",continent:"Asia",flag_1x1:"flags/1x1/mn.svg",flag_4x3:"flags/4x3/mn.svg",iso:true,name:"Mongolia",country:"976",iso3:"MNG"},{capital:"Podgorica",iso2:"me",continent:"Europe",flag_1x1:"flags/1x1/me.svg",flag_4x3:"flags/4x3/me.svg",iso:true,name:"Montenegro",country:"382",iso3:"MNE"},{capital:"Little Bay, Brades, Plymouth",iso2:"ms",continent:"North America",flag_1x1:"flags/1x1/ms.svg",flag_4x3:"flags/4x3/ms.svg",iso:true,name:"Montserrat",country:"1-664",iso3:"MSR"},{capital:"Rabat",iso2:"ma",continent:"Africa",flag_1x1:"flags/1x1/ma.svg",flag_4x3:"flags/4x3/ma.svg",iso:true,name:"Morocco",country:"212",iso3:"MAR"},{capital:"Maputo",iso2:"mz",continent:"Africa",flag_1x1:"flags/1x1/mz.svg",flag_4x3:"flags/4x3/mz.svg",iso:true,name:"Mozambique",country:"258",iso3:"MOZ"},{capital:"Naypyidaw",iso2:"mm",continent:"Asia",flag_1x1:"flags/1x1/mm.svg",flag_4x3:"flags/4x3/mm.svg",iso:true,name:"Myanmar",country:"95",iso3:"MMR"},{capital:"Windhoek",iso2:"na",continent:"Africa",flag_1x1:"flags/1x1/na.svg",flag_4x3:"flags/4x3/na.svg",iso:true,name:"Namibia",country:"264",iso3:"NAM"},{capital:"Yaren District",iso2:"nr",continent:"Oceania",flag_1x1:"flags/1x1/nr.svg",flag_4x3:"flags/4x3/nr.svg",iso:true,name:"Nauru",country:"674",iso3:"NRU"},{capital:"Kathmandu",iso2:"np",continent:"Asia",flag_1x1:"flags/1x1/np.svg",flag_4x3:"flags/4x3/np.svg",iso:true,name:"Nepal",country:"977",iso3:"NPL"},{capital:"Amsterdam",iso2:"nl",continent:"Europe",flag_1x1:"flags/1x1/nl.svg",flag_4x3:"flags/4x3/nl.svg",iso:true,name:"Netherlands",country:"31",iso3:"NLD"},{capital:"Nouméa",iso2:"nc",continent:"Oceania",flag_1x1:"flags/1x1/nc.svg",flag_4x3:"flags/4x3/nc.svg",iso:true,name:"New Caledonia",country:"687",iso3:"NCL"},{capital:"Wellington",iso2:"nz",continent:"Oceania",flag_1x1:"flags/1x1/nz.svg",flag_4x3:"flags/4x3/nz.svg",iso:true,name:"New Zealand",country:"64",iso3:"NZL"},{capital:"Managua",iso2:"ni",continent:"North America",flag_1x1:"flags/1x1/ni.svg",flag_4x3:"flags/4x3/ni.svg",iso:true,name:"Nicaragua",country:"505",iso3:"NIC"},{capital:"Niamey",iso2:"ne",continent:"Africa",flag_1x1:"flags/1x1/ne.svg",flag_4x3:"flags/4x3/ne.svg",iso:true,name:"Niger",country:"227",iso3:"NER"},{capital:"Abuja",iso2:"ng",continent:"Africa",flag_1x1:"flags/1x1/ng.svg",flag_4x3:"flags/4x3/ng.svg",iso:true,name:"Nigeria",country:"234",iso3:"NGA"},{capital:"Alofi",iso2:"nu",continent:"Oceania",flag_1x1:"flags/1x1/nu.svg",flag_4x3:"flags/4x3/nu.svg",iso:true,name:"Niue",country:"683",iso3:"NIU"},{capital:"Kingston",iso2:"nf",continent:"Oceania",flag_1x1:"flags/1x1/nf.svg",flag_4x3:"flags/4x3/nf.svg",iso:true,name:"Norfolk Island",country:"672",iso3:"NFK"},{capital:"Pyongyang",iso2:"kp",continent:"Asia",flag_1x1:"flags/1x1/kp.svg",flag_4x3:"flags/4x3/kp.svg",iso:true,name:"North Korea",country:"850",iso3:"PRK"},{capital:"Skopje",iso2:"mk",continent:"Europe",flag_1x1:"flags/1x1/mk.svg",flag_4x3:"flags/4x3/mk.svg",iso:true,name:"North Macedonia",country:"389",iso3:"MKD"},{capital:"Saipan",iso2:"mp",continent:"Oceania",flag_1x1:"flags/1x1/mp.svg",flag_4x3:"flags/4x3/mp.svg",iso:true,name:"Northern Mariana Islands",country:"1-670",iso3:"MNP"},{capital:"Oslo",iso2:"no",continent:"Europe",flag_1x1:"flags/1x1/no.svg",flag_4x3:"flags/4x3/no.svg",iso:true,name:"Norway",country:"47",iso3:"NOR"},{capital:"Muscat",iso2:"om",continent:"Asia",flag_1x1:"flags/1x1/om.svg",flag_4x3:"flags/4x3/om.svg",iso:true,name:"Oman",country:"968",iso3:"OMN"},{capital:"Islamabad",iso2:"pk",continent:"Asia",flag_1x1:"flags/1x1/pk.svg",flag_4x3:"flags/4x3/pk.svg",iso:true,name:"Pakistan",country:"92",iso3:"PAK"},{capital:"Ngerulmud",iso2:"pw",continent:"Oceania",flag_1x1:"flags/1x1/pw.svg",flag_4x3:"flags/4x3/pw.svg",iso:true,name:"Palau",country:"680",iso3:"PLW"},{capital:"Panama City",iso2:"pa",continent:"North America",flag_1x1:"flags/1x1/pa.svg",flag_4x3:"flags/4x3/pa.svg",iso:true,name:"Panama",country:"507",iso3:"PAN"},{capital:"Port Moresby",iso2:"pg",continent:"Oceania",flag_1x1:"flags/1x1/pg.svg",flag_4x3:"flags/4x3/pg.svg",iso:true,name:"Papua New Guinea",country:"675",iso3:"PNG"},{capital:"Asunción",iso2:"py",continent:"South America",flag_1x1:"flags/1x1/py.svg",flag_4x3:"flags/4x3/py.svg",iso:true,name:"Paraguay",country:"595",iso3:"PRY"},{capital:"Lima",iso2:"pe",continent:"South America",flag_1x1:"flags/1x1/pe.svg",flag_4x3:"flags/4x3/pe.svg",iso:true,name:"Peru",country:"51",iso3:"PER"},{capital:"Manila",iso2:"ph",continent:"Asia",flag_1x1:"flags/1x1/ph.svg",flag_4x3:"flags/4x3/ph.svg",iso:true,name:"Philippines",country:"63",iso3:"PHL"},{capital:"Adamstown",iso2:"pn",continent:"Oceania",flag_1x1:"flags/1x1/pn.svg",flag_4x3:"flags/4x3/pn.svg",iso:true,name:"Pitcairn",country:"870",iso3:"PCN"},{capital:"Warsaw",iso2:"pl",continent:"Europe",flag_1x1:"flags/1x1/pl.svg",flag_4x3:"flags/4x3/pl.svg",iso:true,name:"Poland",country:"48",iso3:"POL"},{capital:"Lisbon",iso2:"pt",continent:"Europe",flag_1x1:"flags/1x1/pt.svg",flag_4x3:"flags/4x3/pt.svg",iso:true,name:"Portugal",country:"351",iso3:"PRT"},{capital:"San Juan",iso2:"pr",continent:"North America",flag_1x1:"flags/1x1/pr.svg",flag_4x3:"flags/4x3/pr.svg",iso:true,name:"Puerto Rico",country:"1-787",iso3:"PRI"},{capital:"Doha",iso2:"qa",continent:"Asia",flag_1x1:"flags/1x1/qa.svg",flag_4x3:"flags/4x3/qa.svg",iso:true,name:"Qatar",country:"974",iso3:"QAT"},{capital:"Brazzaville",iso2:"cg",continent:"Africa",flag_1x1:"flags/1x1/cg.svg",flag_4x3:"flags/4x3/cg.svg",iso:true,name:"Republic of the Congo",country:"242",iso3:"COG"},{capital:"Bucharest",iso2:"ro",continent:"Europe",flag_1x1:"flags/1x1/ro.svg",flag_4x3:"flags/4x3/ro.svg",iso:true,name:"Romania",country:"40",iso3:"ROU"},{capital:"Moscow",iso2:"ru",continent:"Europe",flag_1x1:"flags/1x1/ru.svg",flag_4x3:"flags/4x3/ru.svg",iso:true,name:"Russia",country:"7",iso3:"RUS"},{capital:"Kigali",iso2:"rw",continent:"Africa",flag_1x1:"flags/1x1/rw.svg",flag_4x3:"flags/4x3/rw.svg",iso:true,name:"Rwanda",country:"250",iso3:"RWA"},{capital:"Saint-Denis",iso2:"re",continent:"Africa",flag_1x1:"flags/1x1/re.svg",flag_4x3:"flags/4x3/re.svg",iso:true,name:"Réunion",country:"262",iso3:"REU"},{capital:"Gustavia",iso2:"bl",continent:"North America",flag_1x1:"flags/1x1/bl.svg",flag_4x3:"flags/4x3/bl.svg",iso:true,name:"Saint Barthélemy",country:"590",iso3:"BLM"},{capital:"Jamestown",iso2:"sh",continent:"Africa",flag_1x1:"flags/1x1/sh.svg",flag_4x3:"flags/4x3/sh.svg",iso:true,name:"Saint Helena, Ascension and Tristan da Cunha",country:"290",iso3:"SHN"},{capital:"Basseterre",iso2:"kn",continent:"North America",flag_1x1:"flags/1x1/kn.svg",flag_4x3:"flags/4x3/kn.svg",iso:true,name:"Saint Kitts and Nevis",country:"1-869",iso3:"KNA"},{capital:"Castries",iso2:"lc",continent:"North America",flag_1x1:"flags/1x1/lc.svg",flag_4x3:"flags/4x3/lc.svg",iso:true,name:"Saint Lucia",country:"1-758",iso3:"LCA"},{capital:"Marigot",iso2:"mf",continent:"North America",flag_1x1:"flags/1x1/mf.svg",flag_4x3:"flags/4x3/mf.svg",iso:true,name:"Saint Martin",country:"590",iso3:"MAF"},{capital:"Saint-Pierre",iso2:"pm",continent:"North America",flag_1x1:"flags/1x1/pm.svg",flag_4x3:"flags/4x3/pm.svg",iso:true,name:"Saint Pierre and Miquelon",country:"508",iso3:"SPM"},{capital:"Kingstown",iso2:"vc",continent:"North America",flag_1x1:"flags/1x1/vc.svg",flag_4x3:"flags/4x3/vc.svg",iso:true,name:"Saint Vincent and the Grenadines",country:"1-784",iso3:"VCT"},{capital:"Apia",iso2:"ws",continent:"Oceania",flag_1x1:"flags/1x1/ws.svg",flag_4x3:"flags/4x3/ws.svg",iso:true,name:"Samoa",country:"685",iso3:"WSM"},{capital:"San Marino",iso2:"sm",continent:"Europe",flag_1x1:"flags/1x1/sm.svg",flag_4x3:"flags/4x3/sm.svg",iso:true,name:"San Marino",country:"378",iso3:"SMR"},{capital:"São Tomé",iso2:"st",continent:"Africa",flag_1x1:"flags/1x1/st.svg",flag_4x3:"flags/4x3/st.svg",iso:true,name:"Sao Tome and Principe",country:"239",iso3:"STP"},{capital:"Riyadh",iso2:"sa",continent:"Asia",flag_1x1:"flags/1x1/sa.svg",flag_4x3:"flags/4x3/sa.svg",iso:true,name:"Saudi Arabia",country:"966",iso3:"SAU"},{capital:"Dakar",iso2:"sn",continent:"Africa",flag_1x1:"flags/1x1/sn.svg",flag_4x3:"flags/4x3/sn.svg",iso:true,name:"Senegal",country:"221",iso3:"SEN"},{capital:"Belgrade",iso2:"rs",continent:"Europe",flag_1x1:"flags/1x1/rs.svg",flag_4x3:"flags/4x3/rs.svg",iso:true,name:"Serbia",country:"381",iso3:"SRB"},{capital:"Victoria",iso2:"sc",continent:"Africa",flag_1x1:"flags/1x1/sc.svg",flag_4x3:"flags/4x3/sc.svg",iso:true,name:"Seychelles",country:"248",iso3:"SYC"},{capital:"Freetown",iso2:"sl",continent:"Africa",flag_1x1:"flags/1x1/sl.svg",flag_4x3:"flags/4x3/sl.svg",iso:true,name:"Sierra Leone",country:"232",iso3:"SLE"},{capital:"Singapore",iso2:"sg",continent:"Asia",flag_1x1:"flags/1x1/sg.svg",flag_4x3:"flags/4x3/sg.svg",iso:true,name:"Singapore",country:"65",iso3:"SGP"},{capital:"Philipsburg",iso2:"sx",continent:"North America",flag_1x1:"flags/1x1/sx.svg",flag_4x3:"flags/4x3/sx.svg",iso:true,name:"Sint Maarten",country:"599",iso3:"SXM"},{capital:"Bratislava",iso2:"sk",continent:"Europe",flag_1x1:"flags/1x1/sk.svg",flag_4x3:"flags/4x3/sk.svg",iso:true,name:"Slovakia",country:"421",iso3:"SVK"},{capital:"Ljubljana",iso2:"si",continent:"Europe",flag_1x1:"flags/1x1/si.svg",flag_4x3:"flags/4x3/si.svg",iso:true,name:"Slovenia",country:"386",iso3:"SVN"},{capital:"Honiara",iso2:"sb",continent:"Oceania",flag_1x1:"flags/1x1/sb.svg",flag_4x3:"flags/4x3/sb.svg",iso:true,name:"Solomon Islands",country:"677",iso3:"SLB"},{capital:"Mogadishu",iso2:"so",continent:"Africa",flag_1x1:"flags/1x1/so.svg",flag_4x3:"flags/4x3/so.svg",iso:true,name:"Somalia",country:"252",iso3:"SOM"},{capital:"Pretoria",iso2:"za",continent:"Africa",flag_1x1:"flags/1x1/za.svg",flag_4x3:"flags/4x3/za.svg",iso:true,name:"South Africa",country:"27",iso3:"ZAF"},{capital:"Seoul",iso2:"kr",continent:"Asia",flag_1x1:"flags/1x1/kr.svg",flag_4x3:"flags/4x3/kr.svg",iso:true,name:"South Korea",country:"82",iso3:"KOR"},{capital:"Juba",iso2:"ss",continent:"Africa",flag_1x1:"flags/1x1/ss.svg",flag_4x3:"flags/4x3/ss.svg",iso:true,name:"South Sudan",country:"211",iso3:"SSD"},{capital:"Madrid",iso2:"es",continent:"Europe",flag_1x1:"flags/1x1/es.svg",flag_4x3:"flags/4x3/es.svg",iso:true,name:"Spain",country:"34",iso3:"ESP"},{capital:"Sri Jayawardenepura Kotte, Colombo",iso2:"lk",continent:"Asia",flag_1x1:"flags/1x1/lk.svg",flag_4x3:"flags/4x3/lk.svg",iso:true,name:"Sri Lanka",country:"94",iso3:"LKA"},{capital:"Ramallah",iso2:"ps",continent:"Asia",flag_1x1:"flags/1x1/ps.svg",flag_4x3:"flags/4x3/ps.svg",iso:true,name:"State of Palestine",country:"970",iso3:"PSE"},{capital:"Khartoum",iso2:"sd",continent:"Africa",flag_1x1:"flags/1x1/sd.svg",flag_4x3:"flags/4x3/sd.svg",iso:true,name:"Sudan",country:"249",iso3:"SDN"},{capital:"Paramaribo",iso2:"sr",continent:"South America",flag_1x1:"flags/1x1/sr.svg",flag_4x3:"flags/4x3/sr.svg",iso:true,name:"Suriname",country:"597",iso3:"SUR"},{capital:"Longyearbyen",iso2:"sj",continent:"Europe",flag_1x1:"flags/1x1/sj.svg",flag_4x3:"flags/4x3/sj.svg",iso:true,name:"Svalbard and Jan Mayen",country:"47",iso3:"SJM"},{capital:"Stockholm",iso2:"se",continent:"Europe",flag_1x1:"flags/1x1/se.svg",flag_4x3:"flags/4x3/se.svg",iso:true,name:"Sweden",country:"46",iso3:"SWE"},{capital:"Bern",iso2:"ch",continent:"Europe",flag_1x1:"flags/1x1/ch.svg",flag_4x3:"flags/4x3/ch.svg",iso:true,name:"Switzerland",country:"41",iso3:"CHE"},{capital:"Damascus",iso2:"sy",continent:"Asia",flag_1x1:"flags/1x1/sy.svg",flag_4x3:"flags/4x3/sy.svg",iso:true,name:"Syria",country:"963",iso3:"SYR"},{capital:"Taipei",iso2:"tw",continent:"Asia",flag_1x1:"flags/1x1/tw.svg",flag_4x3:"flags/4x3/tw.svg",iso:true,name:"Taiwan",country:"886",iso3:"TWN"},{capital:"Dushanbe",iso2:"tj",continent:"Asia",flag_1x1:"flags/1x1/tj.svg",flag_4x3:"flags/4x3/tj.svg",iso:true,name:"Tajikistan",country:"992",iso3:"TJK"},{capital:"Dodoma",iso2:"tz",continent:"Africa",flag_1x1:"flags/1x1/tz.svg",flag_4x3:"flags/4x3/tz.svg",iso:true,name:"Tanzania",country:"255",iso3:"TZA"},{capital:"Bangkok",iso2:"th",continent:"Asia",flag_1x1:"flags/1x1/th.svg",flag_4x3:"flags/4x3/th.svg",iso:true,name:"Thailand",country:"66",iso3:"THA"},{capital:"Dili",iso2:"tl",continent:"Asia",flag_1x1:"flags/1x1/tl.svg",flag_4x3:"flags/4x3/tl.svg",iso:true,name:"Timor-Leste",country:"670",iso3:"TLS"},{capital:"Lomé",iso2:"tg",continent:"Africa",flag_1x1:"flags/1x1/tg.svg",flag_4x3:"flags/4x3/tg.svg",iso:true,name:"Togo",country:"228",iso3:"TGO"},{capital:"Nukunonu, Atafu,Tokelau",iso2:"tk",continent:"Oceania",flag_1x1:"flags/1x1/tk.svg",flag_4x3:"flags/4x3/tk.svg",iso:true,name:"Tokelau",country:"690",iso3:"TKL"},{capital:"Nukuʻalofa",iso2:"to",continent:"Oceania",flag_1x1:"flags/1x1/to.svg",flag_4x3:"flags/4x3/to.svg",iso:true,name:"Tonga",country:"676",iso3:"TON"},{capital:"Port of Spain",iso2:"tt",continent:"South America",flag_1x1:"flags/1x1/tt.svg",flag_4x3:"flags/4x3/tt.svg",iso:true,name:"Trinidad and Tobago",country:"1-868",iso3:"TTO"},{capital:"Tunis",iso2:"tn",continent:"Africa",flag_1x1:"flags/1x1/tn.svg",flag_4x3:"flags/4x3/tn.svg",iso:true,name:"Tunisia",country:"216",iso3:"TUN"},{capital:"Ashgabat",iso2:"tm",continent:"Asia",flag_1x1:"flags/1x1/tm.svg",flag_4x3:"flags/4x3/tm.svg",iso:true,name:"Turkmenistan",country:"993",iso3:"TKM"},{capital:"Cockburn Town",iso2:"tc",continent:"North America",flag_1x1:"flags/1x1/tc.svg",flag_4x3:"flags/4x3/tc.svg",iso:true,name:"Turks and Caicos Islands",country:"1-649",iso3:"TCA"},{capital:"Funafuti",iso2:"tv",continent:"Oceania",flag_1x1:"flags/1x1/tv.svg",flag_4x3:"flags/4x3/tv.svg",iso:true,name:"Tuvalu",country:"688",iso3:"TUV"},{capital:"Ankara",iso2:"tr",continent:"Asia",flag_1x1:"flags/1x1/tr.svg",flag_4x3:"flags/4x3/tr.svg",iso:true,name:"Türkiye",country:"90",iso3:"TUR"},{capital:"Kampala",iso2:"ug",continent:"Africa",flag_1x1:"flags/1x1/ug.svg",flag_4x3:"flags/4x3/ug.svg",iso:true,name:"Uganda",country:"256",iso3:"UGA"},{capital:"Kiev",iso2:"ua",continent:"Europe",flag_1x1:"flags/1x1/ua.svg",flag_4x3:"flags/4x3/ua.svg",iso:true,name:"Ukraine",country:"380",iso3:"UKR"},{capital:"Abu Dhabi",iso2:"ae",continent:"Asia",flag_1x1:"flags/1x1/ae.svg",flag_4x3:"flags/4x3/ae.svg",iso:true,name:"United Arab Emirates",country:"971",iso3:"ARE"},{capital:"London",iso2:"gb",continent:"Europe",flag_1x1:"flags/1x1/gb.svg",flag_4x3:"flags/4x3/gb.svg",iso:true,name:"United Kingdom",country:"44",iso3:"ENG"},{capital:"Washington, D.C.",iso2:"us",continent:"North America",flag_1x1:"flags/1x1/us.svg",flag_4x3:"flags/4x3/us.svg",iso:true,name:"United States",country:"1",iso3:"USA"},{capital:"Montevideo",iso2:"uy",continent:"South America",flag_1x1:"flags/1x1/uy.svg",flag_4x3:"flags/4x3/uy.svg",iso:true,name:"Uruguay",country:"598",iso3:"URY"},{capital:"Tashkent",iso2:"uz",continent:"Asia",flag_1x1:"flags/1x1/uz.svg",flag_4x3:"flags/4x3/uz.svg",iso:true,name:"Uzbekistan",country:"998",iso3:"UZB"},{capital:"Port Vila",iso2:"vu",continent:"Oceania",flag_1x1:"flags/1x1/vu.svg",flag_4x3:"flags/4x3/vu.svg",iso:true,name:"Vanuatu",country:"678",iso3:"VUT"},{capital:"Caracas",iso2:"ve",continent:"South America",flag_1x1:"flags/1x1/ve.svg",flag_4x3:"flags/4x3/ve.svg",iso:true,name:"Venezuela",country:"58",iso3:"VEN"},{capital:"Hanoi",iso2:"vn",continent:"Asia",flag_1x1:"flags/1x1/vn.svg",flag_4x3:"flags/4x3/vn.svg",iso:true,name:"Vietnam",country:"84",iso3:"VNM"},{capital:"Road Town",iso2:"vg",continent:"North America",flag_1x1:"flags/1x1/vg.svg",flag_4x3:"flags/4x3/vg.svg",iso:true,name:"Virgin Islands (British)",country:"1-284",iso3:"VGB"},{capital:"Charlotte Amalie",iso2:"vi",continent:"North America",flag_1x1:"flags/1x1/vi.svg",flag_4x3:"flags/4x3/vi.svg",iso:true,name:"Virgin Islands (U.S.)",country:"1-340",iso3:"VIR"},{capital:"Mata-Utu",iso2:"wf",continent:"Oceania",flag_1x1:"flags/1x1/wf.svg",flag_4x3:"flags/4x3/wf.svg",iso:true,name:"Wallis and Futuna",country:"681",iso3:"WLF"},{capital:"Laayoune",iso2:"eh",continent:"Africa",flag_1x1:"flags/1x1/eh.svg",flag_4x3:"flags/4x3/eh.svg",iso:true,name:"Western Sahara",country:"212",iso3:"ESH"},{capital:"Sana'a",iso2:"ye",continent:"Asia",flag_1x1:"flags/1x1/ye.svg",flag_4x3:"flags/4x3/ye.svg",iso:true,name:"Yemen",country:"967",iso3:"YEM"},{capital:"Lusaka",iso2:"zm",continent:"Africa",flag_1x1:"flags/1x1/zm.svg",flag_4x3:"flags/4x3/zm.svg",iso:true,name:"Zambia",country:"260",iso3:"ZMB"},{capital:"Harare",iso2:"zw",continent:"Africa",flag_1x1:"flags/1x1/zw.svg",flag_4x3:"flags/4x3/zw.svg",iso:true,name:"Zimbabwe",country:"263",iso3:"ZWE"}];var c={capital:"Global",iso2:"global",continent:"",flag_1x1:"",flag_4x3:"",iso:true,name:"Global",country:"00",iso3:"GLOBAL"};var x="./constants/flags/4x3/";function u(a,s,i,n,t,o,g,l,r){var f=o===true||o==="true";var c=g===true||g==="true";var x=l===true||l==="true";var u=t==="iso3"?a:s;var v=i;var m=u.toLocaleUpperCase();var _="";switch(true){case c&&x&&f&&r===e.RIGHT:_="(+".concat(n,") ").concat(m);break;case c&&x&&f:_="".concat(m," (+").concat(n,")");break;case c&&!x&&f:_="".concat(m);break;case f&&x&&r===e.RIGHT:_="(+".concat(n,") ").concat(v);break;case f&&x:_="".concat(v," (+").concat(n,")");break;case f||!c&&f:_="".concat(v);break;case!f&&!x:_="";break;case!f&&x:_="(+".concat(n,")");break}return _.trim()}var v=function(){return'@charset "UTF-8";.bds-flag{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bds-flag--reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.bds-flag__country{font-family:var(--boreal-typography-font-family-primary);color:var(--boreal-text-default-light);font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm)}.bds-flag__flag--global{background-image:none;background-color:var(--boreal-ui-base-light)}.bds-flag__flag--country{background-size:cover;background-position:center;background-repeat:no-repeat;-ms-flex-negative:0;flex-shrink:0}.bds-flag__flag--rectangle{width:var(--boreal-layout-ml);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-xs2)}.bds-flag__flag--square{width:var(--boreal-layout-m);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-xs2)}.bds-flag__flag--circle{width:var(--boreal-layout-m);height:var(--boreal-layout-m);border-radius:var(--boreal-radius-full)}'};var m=a("bds_flag",function(){function a(a){s(this,a);this.alignFlag=e.LEFT;this.callSign=false;this.country="";this.customFlags=[];this.identifier=l.CODE;this.label=false;this.shape=r.RECTANGLE;this.shortName=false}a.prototype.checkPropValues=function(){g(Object.values(e),e.LEFT,this.el,"alignFlag");g(Object.values(l),l.CODE,this.el,"identifier");g(Object.values(r),r.RECTANGLE,this.el,"shape")};a.prototype.componentWillLoad=function(){this.checkPropValues()};a.prototype.flagUrl=function(a){var s;var n=(s=this.customFlags)===null||s===void 0?void 0:s.find((function(s){return s.iso2.toLowerCase()===a}));if((n===null||n===void 0?void 0:n.flag_4x3)!==undefined)return n.flag_4x3;if(x.startsWith("http")){return"".concat(x).concat(a,".svg")}return"".concat(window.location.origin).concat(i("".concat(x).concat(a,".svg")))};a.prototype.getCountry=function(){var a=__spreadArray(__spreadArray(__spreadArray([],f,true),this.customFlags,true),[c],false);var s=this.identifier===l.CODE?"country":this.identifier;var i=this.identifier===l.ISO3?this.country.toUpperCase():this.country.toLowerCase();var n=a.find((function(a){return a[s]===i}));return n||{country:"",iso2:"",iso3:"",name:""}};a.prototype.getCountryName=function(){var a=this.getCountry(),s=a.iso3,i=a.name,n=a.country,t=a.iso2;var o=this.getNameInternal(s,t,i,n);return o};a.prototype.getFlag=function(){var a=this.getCountry().iso2;return a.toLowerCase()};a.prototype.getNameInternal=function(a,s,i,n){return u(a,s,i,n,this.identifier,this.label,this.shortName,this.callSign,this.alignFlag)};Object.defineProperty(a.prototype,"isGlobal",{get:function(){return this.getFlag()==="global"},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"flagClass",{get:function(){return{"bds-flag":true,"bds-flag--reverse":this.alignFlag===e.RIGHT}},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"flagContentClass",{get:function(){var a;return a={"bds-flag__flag--country":true},a["bds-flag__flag--".concat(this.shape)]=true,a["bds-flag__flag--global"]=this.isGlobal,a},enumerable:false,configurable:true});a.prototype.render=function(){var a=this.getFlag();var s=this.getCountryName();var i=this.flagContentClass;var o=this.flagClass;var g=!this.isGlobal?{backgroundImage:"url(".concat(this.flagUrl(a),")")}:{};return n(t,{key:"a8a3ef0fefd3e7b1d4c9fd40bf5ea82ce9000815",class:o,"aria-label":s,role:"img"},a&&n("span",{key:"ea653c06af2a3c3341c95acd1750bdbbbd08f268",class:i,style:g,"aria-hidden":"true"}),n("span",{key:"289fcc0f0d247f02b79493fd34aca190c985ed45",class:"bds-flag__country","aria-hidden":"true"},s))};Object.defineProperty(a,"assetsDirs",{get:function(){return["./constants"]},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{alignFlag:[{checkPropValues:0}],identifier:[{checkPropValues:0}],shape:[{checkPropValues:0}]}},enumerable:false,configurable:true});return a}());m.style=v()}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var i=function(t,e){i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))i[e]=t[e]};return i(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(i){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))i[a]=t[a]}return i};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(i,t,e,n){function a(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,s){function o(i){try{d(n.next(i))}catch(i){s(i)}}function r(i){try{d(n["throw"](i))}catch(i){s(i)}}function d(i){i.done?e(i.value):a(i.value).then(o,r)}d((n=n.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=r(0),o["throw"]=r(1),o["return"]=r(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(i){return function(t){return d([i,t])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(e=0)),e)try{if(n=1,a&&(s=r[0]&2?a["return"]:r[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;if(a=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;a=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){e.label=r[1];break}if(r[0]===6&&e.label<s[1]){e.label=s[1];s=r;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(r);break}if(s[2])e.ops.pop();e.trys.pop();continue}r=t.call(i,e)}catch(i){r=[6,i];a=0}finally{n=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-BHYhd1yq.system.js","./p-BuxZeJbu.system.js","./p-BsZkk4oK.system.js","./p-CXz1RLGi.system.js"],(function(i){"use strict";var t,e,n,a,s,o,r,d,l;return{setters:[function(i){t=i.M;e=i.r;n=i.c;a=i.h;s=i.g},function(i){o=i.f},function(i){r=i.a},function(i){d=i.v},function(i){l=i.S}],execute:function(){var c=function(i){var t=function(i){__extends(t,i);function t(){var t=i.apply(this,arguments)||this;t.isClosing=false;return t}Object.defineProperty(t.prototype,"hooks",{get:function(){return{}},enumerable:false,configurable:true});t.prototype.showElement=function(){this.dialogElement.showModal();this.isVisible=true};t.prototype.hideElement=function(){this.dialogElement.close();this.isVisible=false;this.isClosing=false};t.prototype.closeElement=function(){if(this.preventClose)return;if(this.isClosing)return;this.isClosing=true;if(this.hooks.onBeforeClose!==undefined)this.onBeforeClose(this.dialogElement);else this.hide()};t.prototype.toggle=function(){this.isVisible?this.closeElement():this.show()};t.prototype.onAfterShow=function(i){var t,e;this.previousOverflow=document.body.style.overflow;document.body.style.overflow="hidden";(e=(t=this.hooks).onAfterShow)===null||e===void 0?void 0:e.call(t,i)};t.prototype.onAfterHide=function(i){var t,e,n;document.body.style.overflow=(t=this.previousOverflow)!==null&&t!==void 0?t:"";(n=(e=this.hooks).onAfterHide)===null||n===void 0?void 0:n.call(e,i)};t.prototype.onBeforeClose=function(i){var t,e;(e=(t=this.hooks).onBeforeClose)===null||e===void 0?void 0:e.call(t,i)};t.prototype.handleBackdropClick=function(i){if(!this.backdropClose)return;if(i.target===this.dialogElement){i.preventDefault();i.stopImmediatePropagation();this.closeElement()}};t.prototype.handleKeydown=function(i){if(i.key==="Escape"){i.preventDefault();i.stopImmediatePropagation()}if(!this.escapeClose||i.repeat||i.key!=="Escape")return;this.closeElement()};t.prototype.addTransitionAnimation=function(i){this.dialogElement.classList.add(i)};t.prototype.removeTransitionAnimation=function(i){this.dialogElement.classList.remove(i)};return t}(o(i));return t};var u={SMALL:"sm",MEDIUM:"md",LARGE:"lg",FULL:"full"};var f=__assign(__assign({},l),{DEFAULT:"default"});var b={INFO:"bds-icon-info-circle-fill",SUCCESS:"bds-icon-check-circle-fill",WARNING:"bds-icon-info-major-triangle-up-fill",DANGER:"bds-icon-alert-circle-fill"};var h={DEFAULT:"default",HEADERLESS:"headerless",FOOTERLESS:"footerless"};var g={DEFAULT:"default",NONE:"none"};var p=function(){return'@charset "UTF-8";.bds-dialog{font-family:var(--boreal-typography-font-family-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.bds-dialog__header{height:var(--boreal-spacing-4xl);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__header:empty{display:none}.bds-dialog__header-right,.bds-dialog__header-left{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-dialog__title{color:var(--boreal-text-default-light);font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-dialog__body{height:100%;overflow-y:auto;padding:var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__footer{padding:var(--boreal-spacing-s) var(--boreal-spacing-xs)}.bds-dialog__body,.bds-dialog__footer{-webkit-box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset;box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset}.bds-dialog__body:empty,.bds-dialog__footer:empty{display:none}.bds-dialog--sm{width:min(448px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--md{width:min(640px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--lg{width:min(960px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--full{width:min(1280px, 100vw - var(--boreal-spacing-m) * 2);height:calc(100vh - var(--boreal-spacing-4xl))}.bds-dialog--custom-size{width:var(--bds-dialog-width, auto);height:var(--bds-dialog-height, auto)}.bds-dialog--info .bds-dialog__variant-icon{color:var(--boreal-icon-info-base)}.bds-dialog--warning .bds-dialog__variant-icon{color:var(--boreal-icon-warning-base)}.bds-dialog--danger .bds-dialog__variant-icon{color:var(--boreal-icon-danger-base)}.bds-dialog--success .bds-dialog__variant-icon{color:var(--boreal-icon-success-base)}.bds-dialog--no-padding{padding:0}bds-dialog dialog{border:none;border-radius:var(--boreal-radius-xs);background-color:var(--boreal-white);-webkit-box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);-ms-flex-item-align:center;align-self:center;justify-self:center}bds-dialog dialog::-webkit-backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog::-ms-backdrop{opacity:0;-ms-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog,bds-dialog dialog::backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog[open].enter::-webkit-backdrop{opacity:1}bds-dialog dialog[open].enter::-ms-backdrop{opacity:1}bds-dialog dialog[open].enter,bds-dialog dialog[open].enter::backdrop{opacity:1}'};var v=i("bds_dialog",function(i){__extends(t,i);function t(t){var a=i.call(this)||this;e(a,t);a.bdsOpen=n(a,"bdsOpen");a.bdsClose=n(a,"bdsClose");a.bdsMaximize=n(a,"bdsMaximize");a.inheritedAttributes={};a.active=false;a.preventClose=false;a.height="";a.width="";a.layout=h.DEFAULT;a.contentPadding=g.DEFAULT;a.backdropClose=false;a.escapeClose=false;a.size=u.MEDIUM;a.variant=f.DEFAULT;a.titleDialog="";a.maximizable=false;a.closable=false;a.onDialogTransitionEnd=function(i){if(i.target!==a.dialogElement)return;if(i.pseudoElement==="::backdrop")return;if(a.preventClose)return;if(!a.isClosing)return;a.hide()};return a}t.prototype.handleIsOpenChange=function(i){if(this.dialogElement===undefined)return;if(i)this.show();else this.closeElement()};t.prototype.componentWillLoad=function(){this.checkPropValues();this.inheritedAttributes=__assign({},r(this.el))};t.prototype.componentDidLoad=function(){if(this.active)this.handleIsOpenChange(this.active)};t.prototype.checkPropValues=function(){d(Object.values(h),h.DEFAULT,this.el,"layout");d(Object.values(g),g.DEFAULT,this.el,"contentPadding");d(Object.values(u),u.MEDIUM,this.el,"size");d(Object.values(f),f.DEFAULT,this.el,"variant")};t.prototype.handleMaximize=function(){this.bdsMaximize.emit()};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.show();return[2]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.closeElement();return[2]}))}))};Object.defineProperty(t.prototype,"isHeaderLeftVisible",{get:function(){return this.isHeaderRightVisible||this.titleDialog},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isHeaderRightVisible",{get:function(){return this.maximizable||this.closable},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hooks",{get:function(){var i=this;return{onAfterShow:function(){return i.onOpenDialog()},onBeforeClose:function(){return i.transitionBeforeClose()},onAfterHide:function(){return i.resetComponent()}}},enumerable:false,configurable:true});t.prototype.transitionBeforeClose=function(){if(this.active)this.active=false;this.removeTransitionAnimation("enter");var i=getComputedStyle(this.dialogElement).transitionDuration;var t=parseFloat(i);var e=i&&!Number.isNaN(t)&&t>0;if(!e){this.hide();return}};t.prototype.onOpenDialog=function(){this.addTransitionAnimation("enter");this.bdsOpen.emit()};t.prototype.resetComponent=function(){this.bdsClose.emit()};t.prototype.getVariantIcon=function(){var i={info:b.INFO,success:b.SUCCESS,warning:b.WARNING,danger:b.DANGER,default:""};if(i[this.variant]===undefined)return i["default"];return i[this.variant]};t.prototype.getStyles=function(){var i;return i={"bds-dialog":true},i["bds-dialog--".concat(this.variant)]=true,i["bds-dialog--".concat(this.size)]=true,i["bds-dialog--custom-size"]=this.width.length>0||this.height.length>0,i};t.prototype.getFixedSize=function(){return __assign(__assign({},this.width&&{"--bds-dialog-width":"".concat(this.width,"px")}),this.height&&{"--bds-dialog-height":"".concat(this.height,"px")})};t.prototype.getHeaderLeftElement=function(){return this.isHeaderLeftVisible&&a("div",{class:"bds-dialog__header-left"},this.getVariantIcon()&&a("em",{"aria-hidden":"true",class:"bds-dialog__variant-icon ".concat(this.getVariantIcon())}),this.titleDialog&&a("span",{id:"bds-dialog-title",class:"bds-dialog__title"},this.titleDialog))};t.prototype.getHeaderRightElement=function(){var i=this;return this.isHeaderRightVisible&&a("div",{class:"bds-dialog__header-right"},this.maximizable&&a("bds-button",{"aria-label":"maximize",type:"button",onBdsClick:function(){return i.handleMaximize()}},a("em",{class:"bds-icon-arrows-out"})),this.closable&&a("bds-button",{"aria-label":"close",type:"button",onBdsClick:function(){return i.closeElement()}},a("em",{class:"bds-icon-close"})))};t.prototype.render=function(){var i=this;var t=this.inheritedAttributes;return a("dialog",__assign(__assign({key:"73f9b2516aa414e3016e8a18b5f0d2de7f46a09a",onClick:function(t){return i.handleBackdropClick(t)},onKeyDown:function(t){return i.handleKeydown(t)},onTransitionEnd:this.onDialogTransitionEnd,ref:function(t){if(t!==undefined)i.dialogElement=t},style:__assign({},this.getFixedSize())},this.titleDialog.length>0&&{"aria-labelledby":"bds-dialog-title"}),t),a("div",{key:"ef900b6a99ed650db043fb8123c90c3cd7322ec6",class:this.getStyles()},this.layout!==h.HEADERLESS&&a("div",{key:"81d96f353eef6bd9f38baba8702b88599d6c02a3",class:"bds-dialog__header"},this.getHeaderLeftElement(),this.getHeaderRightElement()),a("div",{key:"d36d2c112a87e885e53bd4a8740530ac7b196980",class:"bds-dialog__body ".concat(this.contentPadding==="none"?"bds-dialog--no-padding":"")},a("slot",{key:"c296c8e91a44d7f40284586b3b425a6b87964cdd"})),this.layout!==h.FOOTERLESS&&a("div",{key:"98c17852b5dc519207c66850c38d679d31d27b5b",class:"bds-dialog__footer"},a("slot",{key:"159426b4095804e6da864d86a0f6ef7a8e2197e3",name:"footer"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:[{handleIsOpenChange:0}]}},enumerable:false,configurable:true});return t}(t(c)));v.style=p()}}}));
1
+ var __extends=this&&this.__extends||function(){var i=function(t,e){i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))i[e]=t[e]};return i(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(i){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))i[a]=t[a]}return i};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(i,t,e,n){function a(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,s){function o(i){try{l(n.next(i))}catch(i){s(i)}}function r(i){try{l(n["throw"](i))}catch(i){s(i)}}function l(i){i.done?e(i.value):a(i.value).then(o,r)}l((n=n.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=r(0),o["throw"]=r(1),o["return"]=r(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(i){return function(t){return l([i,t])}}function l(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(e=0)),e)try{if(n=1,a&&(s=r[0]&2?a["return"]:r[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;if(a=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;a=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){e.label=r[1];break}if(r[0]===6&&e.label<s[1]){e.label=s[1];s=r;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(r);break}if(s[2])e.ops.pop();e.trys.pop();continue}r=t.call(i,e)}catch(i){r=[6,i];a=0}finally{n=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-BHYhd1yq.system.js","./p-DSU8tkVw.system.js","./p-BsZkk4oK.system.js","./p-CXz1RLGi.system.js"],(function(i){"use strict";var t,e,n,a,s,o,r,l,d;return{setters:[function(i){t=i.M;e=i.r;n=i.c;a=i.h;s=i.g},function(i){o=i.f},function(i){r=i.a},function(i){l=i.v},function(i){d=i.S}],execute:function(){var c=function(i){var t=function(i){__extends(t,i);function t(){var t=i.apply(this,arguments)||this;t.isClosing=false;return t}Object.defineProperty(t.prototype,"hooks",{get:function(){return{}},enumerable:false,configurable:true});t.prototype.showElement=function(){this.dialogElement.showModal();this.isVisible=true};t.prototype.hideElement=function(){this.dialogElement.close();this.isVisible=false;this.isClosing=false};t.prototype.closeElement=function(){if(this.preventClose)return;if(this.isClosing)return;this.isClosing=true;if(this.hooks.onBeforeClose!==undefined)this.onBeforeClose(this.dialogElement);else this.hide()};t.prototype.toggle=function(){this.isVisible?this.closeElement():this.show()};t.prototype.onAfterShow=function(i){var t,e;this.previousOverflow=document.body.style.overflow;document.body.style.overflow="hidden";(e=(t=this.hooks).onAfterShow)===null||e===void 0?void 0:e.call(t,i)};t.prototype.onAfterHide=function(i){var t,e,n;document.body.style.overflow=(t=this.previousOverflow)!==null&&t!==void 0?t:"";(n=(e=this.hooks).onAfterHide)===null||n===void 0?void 0:n.call(e,i)};t.prototype.onBeforeClose=function(i){var t,e;(e=(t=this.hooks).onBeforeClose)===null||e===void 0?void 0:e.call(t,i)};t.prototype.handleBackdropClick=function(i){if(!this.backdropClose)return;if(i.target===this.dialogElement){i.preventDefault();i.stopImmediatePropagation();this.closeElement()}};t.prototype.handleKeydown=function(i){if(i.key==="Escape"){i.preventDefault();i.stopImmediatePropagation()}if(!this.escapeClose||i.repeat||i.key!=="Escape")return;this.closeElement()};t.prototype.addTransitionAnimation=function(i){this.dialogElement.classList.add(i)};t.prototype.removeTransitionAnimation=function(i){this.dialogElement.classList.remove(i)};return t}(o(i));return t};var f={SMALL:"sm",MEDIUM:"md",LARGE:"lg",FULL:"full"};var u=__assign(__assign({},d),{DEFAULT:"default"});var b={INFO:"bds-icon-info-circle-fill",SUCCESS:"bds-icon-check-circle-fill",WARNING:"bds-icon-info-major-triangle-up-fill",DANGER:"bds-icon-alert-circle-fill"};var h={DEFAULT:"default",HEADERLESS:"headerless",FOOTERLESS:"footerless"};var g={DEFAULT:"default",NONE:"none"};var p=function(){return'@charset "UTF-8";.bds-dialog{font-family:var(--boreal-typography-font-family-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.bds-dialog__header{height:var(--boreal-spacing-4xl);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__header:empty{display:none}.bds-dialog__header-right,.bds-dialog__header-left{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-dialog__title{color:var(--boreal-text-default-light);font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-dialog__body{height:100%;overflow-y:auto;padding:var(--boreal-spacing-s) var(--boreal-spacing-l)}.bds-dialog__footer{padding:var(--boreal-spacing-s) var(--boreal-spacing-xs)}.bds-dialog__body,.bds-dialog__footer{-webkit-box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset;box-shadow:0 var(--boreal-spacing-4xs) var(--boreal-spacing-4xs) 0 var(--boreal-stroke-default-light) inset}.bds-dialog__body:empty,.bds-dialog__footer:empty{display:none}.bds-dialog--sm{width:min(448px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--md{width:min(640px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--lg{width:min(960px, 100vw - var(--boreal-spacing-m) * 2)}.bds-dialog--full{width:min(1280px, 100vw - var(--boreal-spacing-m) * 2);height:calc(100vh - var(--boreal-spacing-4xl))}.bds-dialog--custom-size{width:var(--bds-dialog-width, auto);height:var(--bds-dialog-height, auto)}.bds-dialog--info .bds-dialog__variant-icon{color:var(--boreal-icon-info-base)}.bds-dialog--warning .bds-dialog__variant-icon{color:var(--boreal-icon-warning-base)}.bds-dialog--danger .bds-dialog__variant-icon{color:var(--boreal-icon-danger-base)}.bds-dialog--success .bds-dialog__variant-icon{color:var(--boreal-icon-success-base)}.bds-dialog--no-padding{padding:0}bds-dialog dialog{border:none;border-radius:var(--boreal-radius-xs);background-color:var(--boreal-white);-webkit-box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);box-shadow:0 8px 12px 0 rgba(19, 19, 22, 0.15);-ms-flex-item-align:center;align-self:center;justify-self:center}bds-dialog dialog::-webkit-backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog::-ms-backdrop{opacity:0;-ms-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog,bds-dialog dialog::backdrop{opacity:0;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease}bds-dialog dialog[open].enter::-webkit-backdrop{opacity:1}bds-dialog dialog[open].enter::-ms-backdrop{opacity:1}bds-dialog dialog[open].enter,bds-dialog dialog[open].enter::backdrop{opacity:1}'};var v=i("bds_dialog",function(i){__extends(t,i);function t(t){var a=i.call(this)||this;e(a,t);a.bdsOpen=n(a,"bdsOpen");a.bdsClose=n(a,"bdsClose");a.bdsMaximize=n(a,"bdsMaximize");a.inheritedAttributes={};a.active=false;a.preventClose=false;a.height="";a.width="";a.layout=h.DEFAULT;a.contentPadding=g.DEFAULT;a.backdropClose=false;a.escapeClose=false;a.size=f.MEDIUM;a.variant=u.DEFAULT;a.titleDialog="";a.maximizable=false;a.closable=false;a.onDialogTransitionEnd=function(i){if(i.target!==a.dialogElement)return;if(i.pseudoElement==="::backdrop")return;if(a.preventClose)return;if(!a.isClosing)return;a.hide()};return a}t.prototype.handleIsOpenChange=function(i){if(this.dialogElement===undefined)return;if(i)this.show();else this.closeElement()};t.prototype.componentWillLoad=function(){this.checkPropValues();this.inheritedAttributes=__assign({},r(this.el))};t.prototype.componentDidLoad=function(){if(this.active)this.handleIsOpenChange(this.active)};t.prototype.checkPropValues=function(){l(Object.values(h),h.DEFAULT,this.el,"layout");l(Object.values(g),g.DEFAULT,this.el,"contentPadding");l(Object.values(f),f.MEDIUM,this.el,"size");l(Object.values(u),u.DEFAULT,this.el,"variant")};t.prototype.handleMaximize=function(){this.bdsMaximize.emit()};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.show();return[2]}))}))};t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.closeElement();return[2]}))}))};Object.defineProperty(t.prototype,"isHeaderLeftVisible",{get:function(){return this.isHeaderRightVisible||this.titleDialog},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isHeaderRightVisible",{get:function(){return this.maximizable||this.closable},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hooks",{get:function(){var i=this;return{onAfterShow:function(){return i.onOpenDialog()},onBeforeClose:function(){return i.transitionBeforeClose()},onAfterHide:function(){return i.resetComponent()}}},enumerable:false,configurable:true});t.prototype.transitionBeforeClose=function(){if(this.active)this.active=false;this.removeTransitionAnimation("enter");var i=getComputedStyle(this.dialogElement).transitionDuration;var t=parseFloat(i);var e=i&&!Number.isNaN(t)&&t>0;if(!e){this.hide();return}};t.prototype.onOpenDialog=function(){this.addTransitionAnimation("enter");this.bdsOpen.emit()};t.prototype.resetComponent=function(){this.bdsClose.emit()};t.prototype.getVariantIcon=function(){var i={info:b.INFO,success:b.SUCCESS,warning:b.WARNING,danger:b.DANGER,default:""};if(i[this.variant]===undefined)return i["default"];return i[this.variant]};t.prototype.getStyles=function(){var i;return i={"bds-dialog":true},i["bds-dialog--".concat(this.variant)]=true,i["bds-dialog--".concat(this.size)]=true,i["bds-dialog--custom-size"]=this.width.length>0||this.height.length>0,i};t.prototype.getFixedSize=function(){return __assign(__assign({},this.width&&{"--bds-dialog-width":"".concat(this.width,"px")}),this.height&&{"--bds-dialog-height":"".concat(this.height,"px")})};t.prototype.getHeaderLeftElement=function(){return this.isHeaderLeftVisible&&a("div",{class:"bds-dialog__header-left"},this.getVariantIcon()&&a("em",{"aria-hidden":"true",class:"bds-dialog__variant-icon ".concat(this.getVariantIcon())}),this.titleDialog&&a("span",{id:"bds-dialog-title",class:"bds-dialog__title"},this.titleDialog))};t.prototype.getHeaderRightElement=function(){var i=this;return this.isHeaderRightVisible&&a("div",{class:"bds-dialog__header-right"},this.maximizable&&a("bds-button",{"aria-label":"maximize",type:"button",onBdsClick:function(){return i.handleMaximize()}},a("em",{class:"bds-icon-arrows-out"})),this.closable&&a("bds-button",{"aria-label":"close",type:"button",onBdsClick:function(){return i.closeElement()}},a("em",{class:"bds-icon-close"})))};t.prototype.render=function(){var i=this;var t=this.inheritedAttributes;return a("dialog",__assign(__assign({key:"58ef2571b3c6d4fcc4ac85f8536bbb9168651e02",onClick:function(t){return i.handleBackdropClick(t)},onKeyDown:function(t){return i.handleKeydown(t)},onTransitionEnd:this.onDialogTransitionEnd,ref:function(t){if(t!==undefined)i.dialogElement=t},style:__assign({},this.getFixedSize())},this.titleDialog.length>0&&{"aria-labelledby":"bds-dialog-title"}),t),a("div",{key:"fa95d799c99e48ac7b02602d62d79e9919d7b711",class:this.getStyles()},this.layout!==h.HEADERLESS&&a("div",{key:"7460a77b2caf914ddf871804ce6c37fbb186b9ef",class:"bds-dialog__header"},this.getHeaderLeftElement(),this.getHeaderRightElement()),a("div",{key:"1537a32b06b9e5ca0329d360a15f407ac8bb6d4f",class:"bds-dialog__body ".concat(this.contentPadding==="none"?"bds-dialog--no-padding":"")},a("slot",{key:"e45a2fd2507303ab1af63983ff1cb5a3db1b955b"})),this.layout!==h.FOOTERLESS&&a("div",{key:"c258f33a42fff5e88b2846c788bac219fa90fe63",class:"bds-dialog__footer"},a("slot",{key:"b64483b7004e01f2ecaa11fc4b144277a20d0204",name:"footer"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:[{handleIsOpenChange:0}]}},enumerable:false,configurable:true});return t}(t(c)));v.style=p()}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js"],(function(e){"use strict";var o,a,r,s,i;return{setters:[function(e){o=e.r;a=e.c;r=e.h;s=e.a;i=e.g}],execute:function(){var d=function(){return'@charset "UTF-8";.bds-radio__content,.bds-radio__icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-radio__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}.bds-radio{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs);cursor:pointer;outline:none}.bds-radio input[type=radio]{position:absolute;opacity:0;width:0;height:0;margin:0;pointer-events:none}.bds-radio__content{gap:var(--boreal-spacing-3xs)}.bds-radio__icon{-ms-flex-negative:0;flex-shrink:0;line-height:1}.bds-radio__label{font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default)}.bds-radio__button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:18px;height:18px;border-radius:var(--boreal-radius-full);border:1px solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio__dot{width:10px;height:10px;border-radius:var(--boreal-radius-full);background-color:transparent;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio__info-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:var(--boreal-typography-font-size-sm);line-height:1;color:var(--boreal-icon-default-ink)}.bds-radio:hover:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__button{border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15);box-shadow:0 1px 2px 0 rgba(19, 19, 22, 0.15)}.bds-radio:hover:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__dot{background-color:var(--boreal-ui-base-light)}.bds-radio:is(:focus-visible,:focus) .bds-radio__button{-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus);box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus)}.bds-radio:active:not(.bds-radio--disabled):not(.bds-radio--checked) .bds-radio__button{-webkit-box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset;box-shadow:0 0 0 1px var(--boreal-ui-inverse), 0 0 0 3px var(--boreal-stroke-focus), 0 1px 2px 0 rgba(19, 19, 22, 0.15) inset}.bds-radio--checked .bds-radio__button{border-color:var(--boreal-stroke-primary-base)}.bds-radio--checked .bds-radio__dot{background-color:var(--boreal-ui-primary-base)}.bds-radio--error .bds-radio__button{border-color:var(--boreal-stroke-danger-base)}.bds-radio--disabled{cursor:not-allowed;pointer-events:none}.bds-radio--disabled .bds-radio__button{border-color:var(--boreal-stroke-default-light);background-color:var(--boreal-ui-disabled)}.bds-radio--disabled .bds-radio__label{color:var(--boreal-text-disabled)}.bds-radio--disabled.bds-radio--checked .bds-radio__button{border-color:var(--boreal-ui-primary-light)}.bds-radio--disabled.bds-radio--checked .bds-radio__dot{background-color:var(--boreal-ui-primary-light)}'};var t=e("bds_radio",function(){function e(e){var r=this;o(this,e);this.bdsChange=a(this,"bdsChange");this.checked=false;this.disabled=false;this.value="on";this.name="";this.label="";this.error=false;this.info="";this.handleClick=function(){return r.select()};this.handleKeyDown=function(e){if(e.key===" "){e.preventDefault();r.select()}}}e.prototype.componentDidLoad=function(){this.el.setAttribute("role","radio");this.el.setAttribute("aria-checked",String(this.checked));this.el.setAttribute("tabindex","-1")};e.prototype.select=function(){if(this.disabled||this.checked)return;this.checked=true;this.el.setAttribute("aria-checked","true");this.bdsChange.emit({checked:true,value:this.value})};Object.defineProperty(e.prototype,"classMap",{get:function(){return{"bds-radio":true,"bds-radio--checked":this.checked,"bds-radio--error":this.error,"bds-radio--disabled":this.disabled}},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return r(s,{key:"1d68465b5124471bda9fb1e4f3dc022d4f22be6d",class:this.classMap,onClick:this.handleClick,onKeyDown:this.handleKeyDown},r("input",{key:"8c820cf327a9978f6f098794e26a4ec0394e99c3",type:"radio",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,"aria-hidden":"true",tabIndex:-1,onFocus:function(){return e.el.focus()}}),r("span",{key:"6de9fcb7657842b81b4bf803e3e60b6891fef27e",class:"bds-radio__button"},r("span",{key:"660c57e990abc4f6f1288f93c198e9bb60be6c29",class:"bds-radio__dot"})),r("span",{key:"ec3879d0edb42cdbc7b4257d563d9c298fd3b89d",class:"bds-radio__content"},r("span",{key:"430b04fd6f836cf2881fecf9df56bee70486da85",class:"bds-radio__icon"},r("slot",{key:"30dcf8837cd50a9e48a6c061576f7b9d53eeabd9",name:"icon"})),r("span",{key:"dbb139d87c4689a64e2860b365d7c261c56b638b",class:"bds-radio__label"},this.label||r("slot",{key:"a7d985fa9773a8f285c36f3deaeb7112adf20f95"})),this.info&&r("span",{key:"36958330fd1ed9fa6f64bcf757c9be113fae5daf",class:"bds-radio__info"},r("span",{key:"ea5a415943c9f67f027a4b241d024ea61321a8a1",class:"bds-radio__info-icon bds-icon-info-circle","aria-hidden":"true"}),r("bds-tooltip",{key:"875105c226c6d1fb90d62fe275ed544f043a1c19"},this.info))))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());t.style=d()}}}));
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,a as i,g as l}from"./p-BqJlOB6b.js";import{M as a}from"./p-dz9-Q2N8.js";import{a as o}from"./p-U9yfbs7i.js";import{v as n}from"./p-kGnB15Lz.js";const r={SINGLE:"single",MULTIPLE:"multiple"},c=class{constructor(s){e(this,s),this.bdsChange=t(this,"bdsChange"),this.bdsSelect=t(this,"bdsSelect"),this.inheritedAttributes={},this.selectionMode=r.SINGLE,this.menuRole=a.MENU,this.selectControls=!1,this.selectedValues=[]}checkProps(){n(Object.values(a),a.MENU,this.el,"menuRole"),n(Object.values(r),r.SINGLE,this.el,"selectionMode")}async getSelectedValues(){return this.isMultiple?this.selectedValues:this.selectedValues[0]}async setSelectedValues(e){this.selectedValues=this.isMultiple?Array.isArray(e)?e:[e]:null!==e?[e]:[],this.updateChildrenState()}handleItemClick(e){const{value:t,selected:s}=e.detail;if(this.menuRole===a.LISTBOX)this.isMultiple?this.handleMultipleSelection(t,s):this.handleSingleSelection(t,s),this.updateChildrenState(e.target),this.bdsChange.emit(this.isMultiple?this.selectedValues:this.selectedValues[0]||void 0);else{const s=e.target,i=this.childItems.indexOf(s);this.bdsSelect.emit({value:t,index:i,checked:!!s.checkable&&s.selected,element:s})}}componentWillLoad(){this.checkProps(),this.initialSelectedValues(),this.updateActiveState(),this.inheritedAttributes={...o(this.el,["aria-multiselectable"])}}get childItems(){return Array.from(this.el.querySelectorAll("bds-list-menu-item"))}get firstEnabledItem(){return this.childItems.find((e=>!e.disabled&&"label"!==e.variant))}get isMultiple(){return this.selectionMode===r.MULTIPLE}updateActiveState(){const e=this.firstEnabledItem;this.childItems.some((e=>e.selected&&!e.disabled))||void 0===e||e.setAttribute("active-item","")}handleMultipleSelection(e,t){this.selectedValues=t?[...this.selectedValues,e]:this.selectedValues.filter((t=>t!==e))}handleSingleSelection(e,t){this.selectedValues=t?[e]:[]}updateChildrenState(e){this.childItems.forEach((e=>{if(void 0!==e.value){const t=this.selectedValues.includes(e.value);e.selected=t,e.removeAttribute("active-item")}})),this.setActiveItem(e)}setActiveItem(e){let t;if(void 0!==e)t=e;else if(this.selectedValues.length>0){const e=this.selectedValues[0];t=this.childItems.find((t=>t.value===e))}else t=this.firstEnabledItem;void 0!==t&&t.setAttribute("active-item","")}initialSelectedValues(){const e=Array.from(this.el.querySelectorAll("bds-list-menu-item[selected]"));if(e.length>0){const t=Array.from(e).map((e=>e.getAttribute("value")||""));this.selectedValues=this.isMultiple?t:[t[0]],this.updateChildrenState()}}handleToggleSelect(e){const t=this.childItems.filter((e=>!e.disabled&&"label"!==e.variant&&void 0!==e.value)).map((e=>e.value));this.selectedValues=e?t:[],this.updateChildrenState(),this.bdsChange.emit(this.selectedValues)}renderSelectControls(){return this.selectControls&&this.menuRole===a.LISTBOX&&this.isMultiple?s("div",{class:"bds-list-menu__select-controls"},s("bds-button",{name:"Select all",variant:"plain",onBdsClick:()=>this.handleToggleSelect(!0)},"Select All"),s("bds-button",{name:"Deselect all",variant:"plain",onBdsClick:()=>this.handleToggleSelect(!1)},"Deselect All")):null}render(){return s(i,{key:"88d9e41f1116555df02ca6e883b9e50f024c69b9",class:"bds-list-menu",role:this.menuRole,tabIndex:"-1","aria-multiselectable":this.menuRole===a.LISTBOX&&this.isMultiple?"true":"false",...this.inheritedAttributes},s("slot",{key:"2f1730a1b5c456477d2b86f35b596d11e1b79f5c",name:"banner-content"}),s("div",{key:"58b6944a60ce62a8832e41a853d2621b6fc6deae",class:"bds-list-menu__header"},s("slot",{key:"1a292f12ca27104fd0496477a051a1ad3bcec83e",name:"header-content"})),this.renderSelectControls(),s("div",{key:"9a21f481ca5a3e6b484c0bcc5501097dfceb61c3",class:"bds-list-menu__content"},s("slot",{key:"43f684cb30333a5d571b4d05a4c8627703297473"})),s("div",{key:"dbc3a62e055792283fef80ff4514167d079c355d",class:"bds-list-menu__footer"},s("slot",{key:"8d504757a49bedf5a5ec150ed16ef5c9e7723ee1",name:"footer-content"})))}get el(){return l(this)}static get watchers(){return{selectionMode:[{checkProps:0}],menuRole:[{checkProps:0}]}}};c.style='@charset "UTF-8";:host{display:block}.bds-list-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:var(--bds-list-menu-max-width, 350px);background-color:var(--boreal-ui-inverse);font-family:var(--boreal-typography-font-family-primary)}.bds-list-menu__content{max-height:var(--bds-list-menu-max-height, 240px);overflow-y:auto;padding:var(--boreal-spacing-2xs)}.bds-list-menu__select-controls{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;border-bottom:var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter);margin-bottom:var(--boreal-spacing-3xs)}.bds-list-menu__header:not(:empty),.bds-list-menu__footer:not(:empty){padding:var(--boreal-spacing-xs) 0}.bds-list-menu__header:not(:empty){border-bottom:var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter)}.bds-list-menu__footer:not(:empty){border-top:var(--boreal-spacing-4xs) solid var(--boreal-ui-default-lighter)}';export{c as bds_list_menu}
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))t[o]=e[o]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,a){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function n(t){try{s(a.next(t))}catch(t){i(t)}}function l(t){try{s(a["throw"](t))}catch(t){i(t)}}function s(t){t.done?r(t.value):o(t.value).then(n,l)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=l(0),n["throw"]=l(1),n["return"]=l(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return s([t,e])}}function s(l){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(r=0)),r)try{if(a=1,o&&(i=l[0]&2?o["return"]:l[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;if(o=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;o=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=e.call(t,r)}catch(t){l=[6,t];o=0}finally{a=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-DYlZcFrB.system.js","./p-CXz1RLGi.system.js","./p-DSU8tkVw.system.js","./p-C-g3hhl_.system.js","./p-BHYhd1yq.system.js","./p-DpnBDSUm.system.js"],(function(t,e){"use strict";var r,a,o,i,n,l,s,h,p;return{setters:[function(t){r=t.M;a=t.r;o=t.h;i=t.a;n=t.g},function(t){l=t.a;s=t.g},function(t){h=t.C},function(t){p=t.a},null,null,null],execute:function(){var g={START:"start"};var y={XS:"xs",S:"sm",M:"md",L:"lg",XL:"xl"};var d=4;var f=function(){return'@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);background:var(--boreal-ui-black);color:var(--boreal-text-inverse);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-s);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);border:var(--boreal-spacing-2xs) solid var(--boreal-ui-black);font-weight:var(--boreal-typography-font-weight-regular)}.tooltip-content--multiline{white-space:normal;max-width:var(--tooltip-width, 320px);word-break:break-word;text-align:center}.tooltip-arrow{position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);pointer-events:none;z-index:-1}.tooltip-arrow::before{content:"";position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);background:var(--boreal-ui-black);-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center;transform-origin:center;inset:0}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}'};var b=t("bds_tooltip",function(t){__extends(e,t);function e(e){var r=t.call(this)||this;a(r,e);r.multiline=false;r.disabled=false;r.floatingOptions={};r.isVisible=false;return r}Object.defineProperty(e.prototype,"options",{get:function(){var t,e;return{placement:(t=this.floatingOptions.placement)!==null&&t!==void 0?t:"top",offset:s((e=this.floatingOptions)===null||e===void 0?void 0:e.hideArrow,this.floatingOptions.offset,d),arrow:this.floatingOptions.hideArrow?undefined:this.arrowElement,strategy:"fixed"}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hooks",{get:function(){var t=this;return{onPositionUpdate:function(e){return t.handlePosition(e)},onBeforeShow:function(){return t.validateShow()},onBeforeHide:function(e){return t.validateHide(e)},subscribeToTrigger:function(e){return t.subscribe(e)}}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"canShowArrow",{get:function(){return!this.floatingOptions.hideArrow||false},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"getPlacement",{get:function(){return this.floatingOptions.placement||"top"},enumerable:false,configurable:true});e.prototype.validateShow=function(){return!this.disabled};e.prototype.validateHide=function(t){if(this.floatingOptions.stayOnHover&&t!==undefined&&t.isConnected){var e=this.floatingContent.contains(t)||this.floatingContent===t;if(e)return false}return true};e.prototype.handlePosition=function(t){this.floatingContent.setAttribute("data-placement",t.placement);this.setArrowPosition(t)};e.prototype.setArrowPosition=function(t){var e,r;if(((e=t.middlewareData)===null||e===void 0?void 0:e.arrow)&&!this.disabled&&((r=this.arrowElement)===null||r===void 0?void 0:r.isConnected)){var a=t.middlewareData.arrow,o=a.x,i=a.y;Object.assign(this.arrowElement.style,{left:o!=null?"".concat(o,"px"):"",top:i!=null?"".concat(i,"px"):""})}};Object.defineProperty(e.prototype,"hasMultiline",{get:function(){return this.multiline!==undefined&&this.multiline},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"tooltipStyles",{get:function(){return{"tooltip-content":true,"tooltip-content--multiline":this.hasMultiline}},enumerable:false,configurable:true});e.prototype.subscribe=function(t){var e=this;if(t===undefined)return;t.setAttribute("part","tooltip-trigger");t.setAttribute("ariaDescribedBy","tooltip-content");t.addEventListener("mouseenter",(function(){return e.show()}));t.addEventListener("mouseleave",(function(t){return e.hide(t.target)}))};e.prototype.render=function(){var t=this;var e=this.tooltipStyles;return o(i,{key:"add483ba4072484f1f6d18271ecb74c46a449f41",class:"tooltip"},o("div",{key:"ede2a5f6230a4baacb36c24dd57be73fda63e438",id:"tooltip-content",part:"tooltip-content",class:e,popover:"manual",role:"tooltip","aria-hidden":this.isVisible?"false":"true","data-placement":this.getPlacement,"data-multiline":this.multiline,"data-hidearrow":this.canShowArrow,ref:function(e){return t.floatingContent=e}},this.canShowArrow&&o("div",{key:"c8580171bc2c01eaca84aa1a029dce6f429359f8",class:"tooltip-arrow",part:"arrow",ref:function(e){return t.arrowElement=e}}),o("slot",{key:"10ead9bb5007414959d4aeacd8c0c1c52223f70d"})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}(r(l)));b.style=f();var c={DISPLAY:"display",LINK:"link"};var u={P:"p",A:"a"};var v="download";var w={link:{states:[h.DISABLED],size:[y.S,y.M]},label:{states:[h.DISABLED],required:true,canUseTooltip:true},heading:{canUseTooltip:true},subheading:{canUseTooltip:true},helper:{states:[h.ERROR]},display:{size:[y.XS,y.S,y.M,y.L,y.XL]}};var m=function(t,e){var r={a:{href:t.state!==h.DISABLED?t.sanitizedHref:null,target:t.target,download:t.downloadable?t.filename:null,rel:t.target==="_blank"?"noopener noreferrer":undefined},label:{htmlFor:t.htmlFor}};return r[e]||{}};var x=function(){return'@charset "UTF-8";.bds-typography__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}'};var z=t("bds_typography",function(){function t(t){a(this,t);this.inheritedAttributes={};this.variant=c.DISPLAY;this.size=y.M;this.state=h.DEFAULT;this.customClass="";this.element=u.P;this.align=g.START;this.ellipsis=false;this.maxLines=1;this.tooltipText="";this.required=false;this.htmlFor=undefined;this.href=null;this.target=null;this.downloadable=false;this.filename=v;this.sanitizedHref=""}t.prototype.updateSanitizedHref=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.getTagName==="a"&&this.href!==null))return[3,2];return[4,e.import("./p-B-PpI2Xv.system.js").then((function(t){return t.i}))];case 1:t=r.sent().sanitizeUrl;this.sanitizedHref=t(this.href);return[3,3];case 2:this.sanitizedHref="";r.label=3;case 3:return[2]}}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(this.getTagName===u.A&&this.href!==null))return[3,2];return[4,this.updateSanitizedHref()];case 1:t.sent();t.label=2;case 2:this.inheritedAttributes=__assign({},p(this.el));return[2]}}))}))};Object.defineProperty(t.prototype,"getTagName",{get:function(){if(this.variant===c.LINK)return u.A;return this.element.toLowerCase()},enumerable:false,configurable:true});t.prototype.getVariantConfig=function(){var t;return(t=w[this.variant])!==null&&t!==void 0?t:{}};t.prototype.getAccessibilityTags=function(){var t=this.getVariantConfig().required,e=t===void 0?false:t;var r=["a","label"].includes(this.getTagName);return{"aria-required":this.required&&e,"aria-disabled":this.state===h.DISABLED&&r}};t.prototype.getVariantStateStyles=function(){var t;var e=this.getVariantConfig();return t={},t["bds-typography--".concat(this.variant)]=true,t["bds-typography--align-".concat(this.align)]=true,t["bds-typography--".concat(this.state)]=!!((e===null||e===void 0?void 0:e.states)&&(e===null||e===void 0?void 0:e.states.includes(this.state))),t["bds-typography--size-".concat(this.size)]=!!((e===null||e===void 0?void 0:e.size)&&(e===null||e===void 0?void 0:e.size.includes(this.size))),t["bds-typography--required"]=!!((e===null||e===void 0?void 0:e.required)&&this.required),t["bds-typography--ellipsis"]=this.ellipsis&&this.maxLines<=1,t["bds-typography--ellipsis-multiline"]=this.ellipsis&&this.maxLines>1,t[this.customClass]=this.customClass!=="",t};t.prototype.render=function(){var t=this.getTagName;var e=__assign(__assign(__assign({},m(this,t)),this.inheritedAttributes),this.getAccessibilityTags());var r=this.getVariantStateStyles();var a=this.getVariantConfig(),n=a.canUseTooltip,l=n===void 0?null:n,s=a.required,p=s===void 0?null:s;var g=this.state===h.DISABLED;return o(i,{key:"d29b535edeb7ede877c979ea812eb6c273affc0d",class:"bds-typography ".concat(g?"bds-typography--disabled-cursor":"")},o(t,__assign({key:"3a36a1c47026a20d9c95e4c2d38e92caaa89b072",class:r,style:{webkitLineClamp:this.maxLines}},e),o("slot",{key:"8a0ccd7824ac358e937dd6e2fb1c3eb592e27721"}),this.required&&p&&o("em",{key:"5ce4cc221efcf9d5a71bbc39dbc449a3a29c16a6",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&l&&o("span",{key:"33dcca730b5a484aac8f6ddda383f7adb7dcee95",class:"bds-typography__info"},o("span",{key:"ff08b5e744d9584cff3b69f5eaa74238ad364e19",class:"bds-typography__info-icon bds-icon-info-circle","aria-label":this.tooltipText}),o("bds-tooltip",{key:"a88a158668a40ee3ff00ddeb4da496115e22558d"},this.tooltipText))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:[{updateSanitizedHref:0}]}},enumerable:false,configurable:true});return t}());z.style=x()}}}));