@telesign/boreal-web-components 0.1.0-alpha.3 → 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 (588) hide show
  1. package/components-build/bds-avatar.d.ts +11 -0
  2. package/components-build/bds-avatar.js +1 -0
  3. package/components-build/bds-badge.d.ts +11 -0
  4. package/components-build/bds-badge.js +1 -0
  5. package/components-build/bds-banner.js +1 -1
  6. package/components-build/bds-button-group.d.ts +11 -0
  7. package/components-build/bds-button-group.js +1 -0
  8. package/components-build/bds-button.js +1 -1
  9. package/components-build/bds-checkbox-card.d.ts +11 -0
  10. package/components-build/bds-checkbox-card.js +1 -0
  11. package/components-build/bds-checkbox.js +1 -1
  12. package/components-build/bds-dialog.js +1 -1
  13. package/components-build/bds-divider.d.ts +11 -0
  14. package/components-build/bds-divider.js +1 -0
  15. package/components-build/bds-flag.js +1 -1
  16. package/components-build/bds-grid-item.d.ts +11 -0
  17. package/components-build/bds-grid-item.js +1 -0
  18. package/components-build/bds-grid.d.ts +11 -0
  19. package/components-build/bds-grid.js +1 -0
  20. package/components-build/bds-list-menu-item.d.ts +11 -0
  21. package/components-build/bds-list-menu-item.js +1 -0
  22. package/components-build/bds-list-menu.d.ts +11 -0
  23. package/components-build/bds-list-menu.js +1 -0
  24. package/components-build/bds-popover.js +1 -1
  25. package/components-build/bds-radio-button.d.ts +11 -0
  26. package/components-build/bds-radio-button.js +1 -0
  27. package/components-build/bds-radio-card.d.ts +11 -0
  28. package/components-build/bds-radio-card.js +1 -0
  29. package/components-build/bds-radio-group.d.ts +11 -0
  30. package/components-build/bds-radio-group.js +1 -0
  31. package/components-build/bds-radio.d.ts +11 -0
  32. package/components-build/bds-radio.js +1 -0
  33. package/components-build/bds-spinner.js +1 -1
  34. package/components-build/bds-status.d.ts +11 -0
  35. package/components-build/bds-status.js +1 -0
  36. package/components-build/bds-tag.d.ts +11 -0
  37. package/components-build/bds-tag.js +1 -0
  38. package/components-build/bds-text-field.js +1 -1
  39. package/components-build/bds-toggle.d.ts +11 -0
  40. package/components-build/bds-toggle.js +1 -0
  41. package/components-build/bds-tooltip.js +1 -1
  42. package/components-build/bds-typography.js +1 -1
  43. package/components-build/index.js +1 -1
  44. package/components-build/p-BSlaf0ff.js +1 -0
  45. package/components-build/p-Bfazyxqi.js +1 -0
  46. package/components-build/p-CPvuMm5C.js +1 -0
  47. package/components-build/p-Cbibqaz0.js +1 -0
  48. package/components-build/p-ClR-wgiT.js +1 -0
  49. package/components-build/p-DfaYciGa.js +1 -0
  50. package/components-build/p-Dh8DSJs_.js +1 -0
  51. package/components-build/p-DhSchGPI.js +1 -0
  52. package/components-build/p-N_tqtRV2.js +1 -0
  53. package/components-build/p-bAMuJ4Jx.js +1 -0
  54. package/components-build/p-c2z3tneT.js +1 -0
  55. package/components-build/p-dz9-Q2N8.js +1 -0
  56. package/components-build/{p-CaHOghy5.js → p-fUK0GCeC.js} +1 -1
  57. package/components-build/p-iq2UuV7c.js +1 -0
  58. package/components-build/p-kGnB15Lz.js +1 -0
  59. package/components-build/p-nxYzL9uu.js +1 -0
  60. package/custom-elements.json +4611 -891
  61. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  62. package/dist/boreal-web-components/boreal-web-components.js +1 -1
  63. package/dist/boreal-web-components/css/boreal.css +1066 -1074
  64. package/dist/boreal-web-components/css/global.css +403 -407
  65. package/dist/boreal-web-components/css/theme-connect.css +163 -164
  66. package/dist/boreal-web-components/css/theme-engage.css +163 -164
  67. package/dist/boreal-web-components/css/theme-protect.css +163 -164
  68. package/dist/boreal-web-components/css/theme-proximus.css +164 -165
  69. package/dist/boreal-web-components/p-024d90b0.system.entry.js +1 -0
  70. package/dist/boreal-web-components/p-06DrzEMB.system.js +1 -0
  71. package/dist/boreal-web-components/p-11e4c0ec.system.entry.js +1 -0
  72. package/dist/boreal-web-components/p-147d6652.system.entry.js +1 -0
  73. package/dist/boreal-web-components/p-148d510f.entry.js +1 -0
  74. package/dist/boreal-web-components/p-19f9352d.entry.js +1 -0
  75. package/dist/boreal-web-components/p-277f142e.system.entry.js +1 -0
  76. package/dist/boreal-web-components/{p-8c57e06a.entry.js → p-2adf2cd5.entry.js} +1 -1
  77. package/dist/boreal-web-components/p-2be4aa3a.system.entry.js +1 -0
  78. package/dist/boreal-web-components/p-340896b2.entry.js +1 -0
  79. package/dist/boreal-web-components/p-365e8e5c.system.entry.js +1 -0
  80. package/dist/boreal-web-components/p-3d4ce8eb.system.entry.js +1 -0
  81. package/dist/boreal-web-components/p-44a8fde5.entry.js +1 -0
  82. package/dist/boreal-web-components/{p-efe57901.system.entry.js → p-48ebbfbe.system.entry.js} +1 -1
  83. package/dist/boreal-web-components/{p-5fa53a80.system.entry.js → p-4dc01078.system.entry.js} +1 -1
  84. package/dist/boreal-web-components/p-5681b294.system.entry.js +1 -0
  85. package/dist/boreal-web-components/p-5ed75075.entry.js +1 -0
  86. package/dist/boreal-web-components/p-635f676b.system.entry.js +1 -0
  87. package/dist/boreal-web-components/p-6629be14.entry.js +1 -0
  88. package/dist/boreal-web-components/p-68b83680.system.entry.js +1 -0
  89. package/dist/boreal-web-components/p-6a60d134.system.entry.js +1 -0
  90. package/dist/boreal-web-components/p-71ed1e1d.entry.js +1 -0
  91. package/dist/boreal-web-components/p-732e98f1.system.entry.js +1 -0
  92. package/dist/boreal-web-components/p-77658a5b.system.entry.js +1 -0
  93. package/dist/boreal-web-components/p-7aff4c78.entry.js +1 -0
  94. package/dist/boreal-web-components/p-7bb88855.entry.js +1 -0
  95. package/dist/boreal-web-components/p-7d3a8f61.entry.js +1 -0
  96. package/dist/boreal-web-components/p-7e672cce.entry.js +1 -0
  97. package/dist/boreal-web-components/p-7ebc67c9.entry.js +1 -0
  98. package/dist/boreal-web-components/p-81401e2a.system.entry.js +1 -0
  99. package/dist/boreal-web-components/p-8289e506.entry.js +1 -0
  100. package/dist/boreal-web-components/p-82d15372.entry.js +1 -0
  101. package/dist/boreal-web-components/p-851c06f2.entry.js +1 -0
  102. package/dist/boreal-web-components/p-8a3716ec.entry.js +1 -0
  103. package/dist/boreal-web-components/p-8f4f8af0.system.entry.js +1 -0
  104. package/dist/boreal-web-components/p-93066db4.system.entry.js +1 -0
  105. package/dist/boreal-web-components/p-Bfazyxqi.js +1 -0
  106. package/dist/boreal-web-components/{p-D4EFsvs1.js → p-BqJlOB6b.js} +2 -2
  107. package/dist/boreal-web-components/p-BsZkk4oK.system.js +1 -0
  108. package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
  109. package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
  110. package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
  111. package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
  112. package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
  113. package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
  114. package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
  115. package/dist/boreal-web-components/p-CXz1RLGi.system.js +1 -0
  116. package/dist/boreal-web-components/p-DCKg5Cg_.system.js +2 -0
  117. package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
  118. package/dist/boreal-web-components/p-DYlZcFrB.system.js +1 -0
  119. package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
  120. package/dist/boreal-web-components/p-DhSchGPI.js +1 -0
  121. package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
  122. package/dist/boreal-web-components/p-DlYG-OVB.js +1 -0
  123. package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
  124. package/dist/boreal-web-components/p-DpnBDSUm.system.js +1 -0
  125. package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
  126. package/dist/boreal-web-components/p-RhSdMyWk.system.js +1 -0
  127. package/dist/boreal-web-components/{p-CaHOghy5.js → p-U9yfbs7i.js} +1 -1
  128. package/dist/boreal-web-components/p-a73659ac.system.entry.js +1 -0
  129. package/dist/boreal-web-components/p-b2ad9535.system.entry.js +1 -0
  130. package/dist/boreal-web-components/p-d4c30d2b.entry.js +1 -0
  131. package/dist/boreal-web-components/p-db0c10b9.system.entry.js +1 -0
  132. package/dist/boreal-web-components/p-dc7d429c.entry.js +1 -0
  133. package/dist/boreal-web-components/p-dca16a3d.entry.js +1 -0
  134. package/dist/boreal-web-components/p-de846c43.system.entry.js +1 -0
  135. package/dist/boreal-web-components/p-df087e23.system.entry.js +1 -0
  136. package/dist/boreal-web-components/p-dfb4854e.entry.js +1 -0
  137. package/dist/boreal-web-components/p-dz9-Q2N8.js +1 -0
  138. package/dist/boreal-web-components/p-e09b4d14.system.entry.js +1 -0
  139. package/dist/boreal-web-components/p-e0a41cab.system.entry.js +1 -0
  140. package/dist/boreal-web-components/p-e55f2a8b.entry.js +1 -0
  141. package/dist/boreal-web-components/p-e7af1e1a.entry.js +1 -0
  142. package/dist/boreal-web-components/p-efe159aa.entry.js +1 -0
  143. package/dist/boreal-web-components/p-f65e9d0c.system.entry.js +1 -0
  144. package/dist/boreal-web-components/p-f792aa74.entry.js +1 -0
  145. package/dist/boreal-web-components/p-fb9a0e94.entry.js +1 -0
  146. package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
  147. package/dist/boreal-web-components/p-kGnB15Lz.js +1 -0
  148. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -0
  149. package/dist/boreal-web-components/p-wREMI3WA.js +1 -0
  150. package/dist/boreal-web-components/scss/maps/_primitives.scss +404 -408
  151. package/dist/boreal-web-components/scss/maps/_theme-connect.scss +164 -165
  152. package/dist/boreal-web-components/scss/maps/_theme-engage.scss +164 -165
  153. package/dist/boreal-web-components/scss/maps/_theme-protect.scss +164 -165
  154. package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +165 -166
  155. package/dist/boreal-web-components/scss/variables/_primitives.scss +404 -408
  156. package/dist/boreal-web-components/scss/variables/_theme-connect.scss +164 -165
  157. package/dist/boreal-web-components/scss/variables/_theme-engage.scss +164 -165
  158. package/dist/boreal-web-components/scss/variables/_theme-protect.scss +164 -165
  159. package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +165 -166
  160. package/dist/cjs/BaseAttributes-DBBhKt7O.js +14 -0
  161. package/dist/cjs/Keys-rKl2za5q.js +18 -0
  162. package/dist/cjs/Logger-DnziItRH.js +51 -0
  163. package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
  164. package/dist/cjs/bds-avatar.cjs.entry.js +89 -0
  165. package/dist/cjs/bds-badge.cjs.entry.js +50 -0
  166. package/dist/cjs/bds-banner.cjs.entry.js +13 -6
  167. package/dist/cjs/bds-button-group.cjs.entry.js +95 -0
  168. package/dist/cjs/bds-button.cjs.entry.js +11 -17
  169. package/dist/cjs/bds-checkbox-card.cjs.entry.js +121 -0
  170. package/dist/cjs/bds-checkbox.cjs.entry.js +13 -6
  171. package/dist/cjs/bds-dialog.cjs.entry.js +8 -7
  172. package/dist/cjs/bds-divider.cjs.entry.js +46 -0
  173. package/dist/cjs/bds-flag.cjs.entry.js +3 -3
  174. package/dist/cjs/bds-grid-item.cjs.entry.js +93 -0
  175. package/dist/cjs/bds-grid.cjs.entry.js +37 -0
  176. package/dist/cjs/bds-list-menu-item.cjs.entry.js +493 -0
  177. package/dist/cjs/bds-list-menu.cjs.entry.js +199 -0
  178. package/dist/cjs/bds-popover.cjs.entry.js +19 -9
  179. package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
  180. package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
  181. package/dist/cjs/bds-radio-group.cjs.entry.js +285 -0
  182. package/dist/cjs/bds-radio.cjs.entry.js +60 -0
  183. package/dist/cjs/bds-spinner.cjs.entry.js +4 -4
  184. package/dist/cjs/bds-status.cjs.entry.js +59 -0
  185. package/dist/cjs/bds-tag.cjs.entry.js +140 -0
  186. package/dist/cjs/bds-text-field.cjs.entry.js +8 -17
  187. package/dist/cjs/bds-toggle.cjs.entry.js +187 -0
  188. package/dist/cjs/bds-tooltip_2.cjs.entry.js +321 -0
  189. package/dist/cjs/boreal-web-components.cjs.js +2 -2
  190. package/dist/cjs/coreColors-CQGojc0l.js +10 -0
  191. package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
  192. package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
  193. package/dist/cjs/{anchored.mixin-CnIwkaUi.js → getOffset-k4ezB-eT.js} +45 -76
  194. package/dist/cjs/{index-BcSjvXJk.js → index-CwYIVC9N.js} +64 -0
  195. package/dist/cjs/{internals-X77qKxsK.js → internals-D8x7GMfR.js} +0 -31
  196. package/dist/cjs/loader.cjs.js +2 -2
  197. package/dist/cjs/menu-BxKaEajh.js +8 -0
  198. package/dist/cjs/orientation-DQAIleEJ.js +8 -0
  199. package/dist/cjs/{states-iIYiazaM.js → states-BweP5Vpu.js} +8 -0
  200. package/dist/cjs/validateProps-CJe9X5x8.js +42 -0
  201. package/dist/collection/collection-manifest.json +16 -0
  202. package/dist/collection/components/actions/bds-button/bds-button.css +19 -19
  203. package/dist/collection/components/actions/bds-button/bds-button.js +8 -8
  204. package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
  205. package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
  206. package/dist/collection/components/actions/bds-button-group/bds-button-group.js +245 -0
  207. package/dist/collection/components/actions/bds-button-group/types/IButtonGroup.js +1 -0
  208. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +51 -0
  209. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +400 -0
  210. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.js +1 -0
  211. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
  212. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/types.js +1 -0
  213. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +87 -0
  214. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +482 -0
  215. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.js +1 -0
  216. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/enum.js +4 -0
  217. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/types.js +1 -0
  218. package/dist/collection/components/actions/bds-toggle/bds-toggle.css +120 -0
  219. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +544 -0
  220. package/dist/collection/components/actions/bds-toggle/types/IEventChange.js +1 -0
  221. package/dist/collection/components/actions/bds-toggle/types/IToggle.js +1 -0
  222. package/dist/collection/components/actions/bds-toggle/types/enum.js +4 -0
  223. package/dist/collection/components/actions/bds-toggle/types/index.js +4 -0
  224. package/dist/collection/components/actions/bds-toggle/types/types.js +1 -0
  225. package/dist/collection/components/feedback/bds-badge/bds-badge.css +76 -0
  226. package/dist/collection/components/feedback/bds-badge/bds-badge.js +120 -0
  227. package/dist/collection/components/feedback/bds-badge/types/IBadge.js +1 -0
  228. package/dist/collection/components/feedback/bds-badge/types/enum.js +5 -0
  229. package/dist/collection/components/feedback/bds-banner/bds-banner.css +1 -2
  230. package/dist/collection/components/feedback/bds-banner/bds-banner.js +30 -6
  231. package/dist/collection/components/feedback/bds-spinner/bds-spinner.css +7 -8
  232. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  233. package/dist/collection/components/feedback/bds-status/bds-status.css +101 -0
  234. package/dist/collection/components/feedback/bds-status/bds-status.js +122 -0
  235. package/dist/collection/components/feedback/bds-status/types/IStatus.js +1 -0
  236. package/dist/collection/components/feedback/bds-status/types/enum.js +5 -0
  237. package/dist/collection/components/feedback/bds-status/types/types.js +1 -0
  238. package/dist/collection/components/feedback/bds-tag/bds-tag.css +202 -0
  239. package/dist/collection/components/feedback/bds-tag/bds-tag.js +375 -0
  240. package/dist/collection/components/feedback/bds-tag/types/ITag.js +1 -0
  241. package/dist/collection/components/feedback/bds-tag/types/enum.js +10 -0
  242. package/dist/collection/components/feedback/bds-tag/types/index.js +3 -0
  243. package/dist/collection/components/feedback/bds-tag/types/types.js +1 -0
  244. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +9 -8
  245. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +7 -1
  246. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.css +127 -0
  247. package/dist/collection/components/forms/bds-checkbox-card/bds-checkbox-card.js +397 -0
  248. package/dist/collection/components/forms/bds-checkbox-card/types/ICheckboxCard.js +1 -0
  249. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  250. package/dist/collection/components/forms/bds-radio/bds-radio.css +121 -0
  251. package/dist/collection/components/forms/bds-radio/bds-radio.js +238 -0
  252. package/dist/collection/components/forms/bds-radio/types/IRadio.js +1 -0
  253. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.css +109 -0
  254. package/dist/collection/components/forms/bds-radio-button/bds-radio-button.js +238 -0
  255. package/dist/collection/components/forms/bds-radio-button/types/IRadioButton.js +1 -0
  256. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.css +156 -0
  257. package/dist/collection/components/forms/bds-radio-card/bds-radio-card.js +307 -0
  258. package/dist/collection/components/forms/bds-radio-card/types/IRadioCard.js +1 -0
  259. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.css +55 -0
  260. package/dist/collection/components/forms/bds-radio-group/bds-radio-group.js +620 -0
  261. package/dist/collection/components/forms/bds-radio-group/types/IRadioGroup.js +1 -0
  262. package/dist/collection/components/forms/bds-radio-group/types/enum.js +5 -0
  263. package/dist/collection/components/forms/bds-radio-group/types/types.js +1 -0
  264. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  265. package/dist/collection/components/helpers/bds-divider/bds-divider.css +44 -0
  266. package/dist/collection/components/helpers/bds-divider/bds-divider.js +88 -0
  267. package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
  268. package/dist/collection/components/helpers/bds-divider/types/enum.js +4 -0
  269. package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
  270. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.css +52 -0
  271. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +219 -0
  272. package/dist/collection/components/images-icons/bds-avatar/types/IAvatar.js +1 -0
  273. package/dist/collection/components/images-icons/bds-avatar/types/enum.js +5 -0
  274. package/dist/collection/components/images-icons/bds-avatar/types/index.js +3 -0
  275. package/dist/collection/components/images-icons/bds-avatar/types/types.js +1 -0
  276. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.css +57 -0
  277. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +100 -0
  278. package/dist/collection/components/layouts/bds-grid/grid/types/IGrid.js +1 -0
  279. package/dist/collection/components/layouts/bds-grid/grid/types/enum.js +4 -0
  280. package/dist/collection/components/layouts/bds-grid/grid/types/index.js +3 -0
  281. package/dist/collection/components/layouts/bds-grid/grid/types/types.js +1 -0
  282. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.css +70 -0
  283. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +306 -0
  284. package/dist/collection/components/layouts/bds-grid/grid-item/types/IGridItem.js +1 -0
  285. package/dist/collection/components/layouts/bds-grid/grid-item/types/enum.js +10 -0
  286. package/dist/collection/components/layouts/bds-grid/grid-item/types/index.js +3 -0
  287. package/dist/collection/components/layouts/bds-grid/grid-item/types/types.js +1 -0
  288. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +4 -3
  289. package/dist/collection/components/overlays/bds-popover/bds-popover.css +16 -2
  290. package/dist/collection/components/overlays/bds-popover/bds-popover.js +12 -4
  291. package/dist/collection/components/overlays/bds-popover/constants/Offset.js +1 -0
  292. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.css +2 -13
  293. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +6 -4
  294. package/dist/collection/components/overlays/bds-tooltip/constants/Offset.js +1 -0
  295. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +9 -0
  296. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +20 -19
  297. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +2 -2
  298. package/dist/collection/css/boreal.css +1066 -1074
  299. package/dist/collection/css/global.css +403 -407
  300. package/dist/collection/css/theme-connect.css +163 -164
  301. package/dist/collection/css/theme-engage.css +163 -164
  302. package/dist/collection/css/theme-protect.css +163 -164
  303. package/dist/collection/css/theme-proximus.css +164 -165
  304. package/dist/collection/mixins/anchored.mixin.js +16 -3
  305. package/dist/collection/mixins/index.js +2 -0
  306. package/dist/collection/mixins/links.mixin.js +152 -0
  307. package/dist/collection/mixins/menu-behavior.mixin.js +119 -0
  308. package/dist/collection/scss/maps/_primitives.scss +404 -408
  309. package/dist/collection/scss/maps/_theme-connect.scss +164 -165
  310. package/dist/collection/scss/maps/_theme-engage.scss +164 -165
  311. package/dist/collection/scss/maps/_theme-protect.scss +164 -165
  312. package/dist/collection/scss/maps/_theme-proximus.scss +165 -166
  313. package/dist/collection/scss/variables/_primitives.scss +404 -408
  314. package/dist/collection/scss/variables/_theme-connect.scss +164 -165
  315. package/dist/collection/scss/variables/_theme-engage.scss +164 -165
  316. package/dist/collection/scss/variables/_theme-protect.scss +164 -165
  317. package/dist/collection/scss/variables/_theme-proximus.scss +165 -166
  318. package/dist/collection/services/floating/positioning.service.js +1 -1
  319. package/dist/collection/types/IFormProps.js +1 -0
  320. package/dist/collection/types/index.js +5 -0
  321. package/dist/collection/types/links.js +1 -0
  322. package/dist/collection/types/menu.js +8 -0
  323. package/dist/collection/types/orientation.js +4 -0
  324. package/dist/collection/types/position.js +6 -2
  325. package/dist/collection/utils/constants/common/Keys.js +10 -12
  326. package/dist/collection/utils/helpers/overlays/getOffset.js +13 -0
  327. package/dist/collection/utils/helpers/validateProps.js +21 -0
  328. package/dist/collection/utils/index.js +2 -1
  329. package/dist/collection/utils/menu/index.js +1 -0
  330. package/dist/collection/utils/menu/menu-item.utils.js +82 -0
  331. package/dist/collection/utils/{__test__ → testing}/helpers.js +10 -0
  332. package/dist/collection/utils/{__test__ → testing}/index.js +0 -2
  333. package/dist/collection/utils/testing/mocks/console.js +30 -0
  334. package/dist/collection/utils/testing/mocks/index.js +4 -0
  335. package/dist/css/boreal.css +1066 -1074
  336. package/dist/css/global.css +403 -407
  337. package/dist/css/theme-connect.css +163 -164
  338. package/dist/css/theme-engage.css +163 -164
  339. package/dist/css/theme-protect.css +163 -164
  340. package/dist/css/theme-proximus.css +164 -165
  341. package/dist/esm/BaseAttributes-DhSchGPI.js +12 -0
  342. package/dist/esm/Keys-DlYG-OVB.js +16 -0
  343. package/dist/esm/Logger-iq2UuV7c.js +49 -0
  344. package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
  345. package/dist/esm/bds-avatar.entry.js +87 -0
  346. package/dist/esm/bds-badge.entry.js +48 -0
  347. package/dist/esm/bds-banner.entry.js +13 -6
  348. package/dist/esm/bds-button-group.entry.js +93 -0
  349. package/dist/esm/bds-button.entry.js +9 -15
  350. package/dist/esm/bds-checkbox-card.entry.js +119 -0
  351. package/dist/esm/bds-checkbox.entry.js +12 -5
  352. package/dist/esm/bds-dialog.entry.js +8 -7
  353. package/dist/esm/bds-divider.entry.js +44 -0
  354. package/dist/esm/bds-flag.entry.js +3 -3
  355. package/dist/esm/bds-grid-item.entry.js +91 -0
  356. package/dist/esm/bds-grid.entry.js +35 -0
  357. package/dist/esm/bds-list-menu-item.entry.js +491 -0
  358. package/dist/esm/bds-list-menu.entry.js +197 -0
  359. package/dist/esm/bds-popover.entry.js +18 -8
  360. package/dist/esm/bds-radio-button.entry.js +58 -0
  361. package/dist/esm/bds-radio-card.entry.js +74 -0
  362. package/dist/esm/bds-radio-group.entry.js +283 -0
  363. package/dist/esm/bds-radio.entry.js +58 -0
  364. package/dist/esm/bds-spinner.entry.js +4 -4
  365. package/dist/esm/bds-status.entry.js +57 -0
  366. package/dist/esm/bds-tag.entry.js +138 -0
  367. package/dist/esm/bds-text-field.entry.js +6 -15
  368. package/dist/esm/bds-toggle.entry.js +185 -0
  369. package/dist/esm/bds-tooltip_2.entry.js +318 -0
  370. package/dist/esm/boreal-web-components.js +3 -3
  371. package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
  372. package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
  373. package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
  374. package/dist/esm/{anchored.mixin-Y3MkGc2X.js → getOffset-BYS3c13B.js} +43 -75
  375. package/dist/esm/{index-D4EFsvs1.js → index-BqJlOB6b.js} +64 -0
  376. package/dist/esm/{internals-Dy7QKP9e.js → internals-DfaYciGa.js} +1 -31
  377. package/dist/esm/loader.js +3 -3
  378. package/dist/esm/menu-dz9-Q2N8.js +6 -0
  379. package/dist/esm/orientation-CPvuMm5C.js +6 -0
  380. package/dist/esm/{states-BhTPNsBb.js → states-Bfazyxqi.js} +8 -1
  381. package/dist/esm/validateProps-kGnB15Lz.js +39 -0
  382. package/dist/esm-es5/BaseAttributes-DhSchGPI.js +1 -0
  383. package/dist/esm-es5/Keys-DlYG-OVB.js +1 -0
  384. package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
  385. package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
  386. package/dist/esm-es5/bds-avatar.entry.js +1 -0
  387. package/dist/esm-es5/bds-badge.entry.js +1 -0
  388. package/dist/esm-es5/bds-banner.entry.js +1 -1
  389. package/dist/esm-es5/bds-button-group.entry.js +1 -0
  390. package/dist/esm-es5/bds-button.entry.js +1 -1
  391. package/dist/esm-es5/bds-checkbox-card.entry.js +1 -0
  392. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  393. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  394. package/dist/esm-es5/bds-divider.entry.js +1 -0
  395. package/dist/esm-es5/bds-flag.entry.js +1 -1
  396. package/dist/esm-es5/bds-grid-item.entry.js +1 -0
  397. package/dist/esm-es5/bds-grid.entry.js +1 -0
  398. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -0
  399. package/dist/esm-es5/bds-list-menu.entry.js +1 -0
  400. package/dist/esm-es5/bds-popover.entry.js +1 -1
  401. package/dist/esm-es5/bds-radio-button.entry.js +1 -0
  402. package/dist/esm-es5/bds-radio-card.entry.js +1 -0
  403. package/dist/esm-es5/bds-radio-group.entry.js +1 -0
  404. package/dist/esm-es5/bds-radio.entry.js +1 -0
  405. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  406. package/dist/esm-es5/bds-status.entry.js +1 -0
  407. package/dist/esm-es5/bds-tag.entry.js +1 -0
  408. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  409. package/dist/esm-es5/bds-toggle.entry.js +1 -0
  410. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -0
  411. package/dist/esm-es5/boreal-web-components.js +1 -1
  412. package/dist/esm-es5/coreColors-Dwo1hcd9.js +1 -0
  413. package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
  414. package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
  415. package/dist/esm-es5/getOffset-BYS3c13B.js +1 -0
  416. package/dist/esm-es5/index-BqJlOB6b.js +2 -0
  417. package/dist/esm-es5/internals-DfaYciGa.js +1 -0
  418. package/dist/esm-es5/loader.js +1 -1
  419. package/dist/esm-es5/menu-dz9-Q2N8.js +1 -0
  420. package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
  421. package/dist/esm-es5/states-Bfazyxqi.js +1 -0
  422. package/dist/esm-es5/validateProps-kGnB15Lz.js +1 -0
  423. package/dist/scss/maps/_primitives.scss +404 -408
  424. package/dist/scss/maps/_theme-connect.scss +164 -165
  425. package/dist/scss/maps/_theme-engage.scss +164 -165
  426. package/dist/scss/maps/_theme-protect.scss +164 -165
  427. package/dist/scss/maps/_theme-proximus.scss +165 -166
  428. package/dist/scss/variables/_primitives.scss +404 -408
  429. package/dist/scss/variables/_theme-connect.scss +164 -165
  430. package/dist/scss/variables/_theme-engage.scss +164 -165
  431. package/dist/scss/variables/_theme-protect.scss +164 -165
  432. package/dist/scss/variables/_theme-proximus.scss +165 -166
  433. package/dist/types/components/actions/bds-button/bds-button.d.ts +4 -4
  434. package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
  435. package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +36 -0
  436. package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
  437. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +74 -0
  438. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +14 -0
  439. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
  440. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
  441. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +122 -0
  442. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +13 -0
  443. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/enum.d.ts +5 -0
  444. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/types.d.ts +3 -0
  445. package/dist/types/components/actions/bds-toggle/bds-toggle.d.ts +91 -0
  446. package/dist/types/components/actions/bds-toggle/types/IEventChange.d.ts +5 -0
  447. package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +12 -0
  448. package/dist/types/components/actions/bds-toggle/types/enum.d.ts +5 -0
  449. package/dist/types/components/actions/bds-toggle/types/index.d.ts +5 -0
  450. package/dist/types/components/actions/bds-toggle/types/types.d.ts +3 -0
  451. package/dist/types/components/feedback/bds-badge/bds-badge.d.ts +31 -0
  452. package/dist/types/components/feedback/bds-badge/types/IBadge.d.ts +6 -0
  453. package/dist/types/components/feedback/bds-badge/types/enum.d.ts +9 -0
  454. package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +8 -4
  455. package/dist/types/components/feedback/bds-status/bds-status.d.ts +26 -0
  456. package/dist/types/components/feedback/bds-status/types/IStatus.d.ts +7 -0
  457. package/dist/types/components/feedback/bds-status/types/enum.d.ts +6 -0
  458. package/dist/types/components/feedback/bds-status/types/types.d.ts +3 -0
  459. package/dist/types/components/feedback/bds-tag/bds-tag.d.ts +71 -0
  460. package/dist/types/components/feedback/bds-tag/types/ITag.d.ts +13 -0
  461. package/dist/types/components/feedback/bds-tag/types/enum.d.ts +11 -0
  462. package/dist/types/components/feedback/bds-tag/types/index.d.ts +4 -0
  463. package/dist/types/components/feedback/bds-tag/types/types.d.ts +8 -0
  464. package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +2 -0
  465. package/dist/types/components/forms/bds-checkbox-card/bds-checkbox-card.d.ts +70 -0
  466. package/dist/types/components/forms/bds-checkbox-card/types/ICheckboxCard.d.ts +8 -0
  467. package/dist/types/components/forms/bds-flag/bds-flag.d.ts +3 -4
  468. package/dist/types/components/forms/bds-radio/bds-radio.d.ts +36 -0
  469. package/dist/types/components/forms/bds-radio/types/IRadio.d.ts +13 -0
  470. package/dist/types/components/forms/bds-radio-button/bds-radio-button.d.ts +36 -0
  471. package/dist/types/components/forms/bds-radio-button/types/IRadioButton.d.ts +13 -0
  472. package/dist/types/components/forms/bds-radio-card/bds-radio-card.d.ts +57 -0
  473. package/dist/types/components/forms/bds-radio-card/types/IRadioCard.d.ts +14 -0
  474. package/dist/types/components/forms/bds-radio-group/bds-radio-group.d.ts +82 -0
  475. package/dist/types/components/forms/bds-radio-group/types/IRadioGroup.d.ts +19 -0
  476. package/dist/types/components/forms/bds-radio-group/types/enum.d.ts +6 -0
  477. package/dist/types/components/forms/bds-radio-group/types/types.d.ts +3 -0
  478. package/dist/types/components/helpers/bds-divider/bds-divider.d.ts +26 -0
  479. package/dist/types/components/helpers/bds-divider/types/IDivider.d.ts +5 -0
  480. package/dist/types/components/helpers/bds-divider/types/enum.d.ts +5 -0
  481. package/dist/types/components/helpers/bds-divider/types/types.d.ts +3 -0
  482. package/dist/types/components/images-icons/bds-avatar/bds-avatar.d.ts +51 -0
  483. package/dist/types/components/images-icons/bds-avatar/types/IAvatar.d.ts +9 -0
  484. package/dist/types/components/images-icons/bds-avatar/types/enum.d.ts +6 -0
  485. package/dist/types/components/images-icons/bds-avatar/types/index.d.ts +4 -0
  486. package/dist/types/components/images-icons/bds-avatar/types/types.d.ts +3 -0
  487. package/dist/types/components/layouts/bds-grid/grid/bds-grid.d.ts +19 -0
  488. package/dist/types/components/layouts/bds-grid/grid/types/IGrid.d.ts +6 -0
  489. package/dist/types/components/layouts/bds-grid/grid/types/enum.d.ts +5 -0
  490. package/dist/types/components/layouts/bds-grid/grid/types/index.d.ts +4 -0
  491. package/dist/types/components/layouts/bds-grid/grid/types/types.d.ts +3 -0
  492. package/dist/types/components/layouts/bds-grid/grid-item/bds-grid-item.d.ts +31 -0
  493. package/dist/types/components/layouts/bds-grid/grid-item/types/IGridItem.d.ts +12 -0
  494. package/dist/types/components/layouts/bds-grid/grid-item/types/enum.d.ts +11 -0
  495. package/dist/types/components/layouts/bds-grid/grid-item/types/index.d.ts +4 -0
  496. package/dist/types/components/layouts/bds-grid/grid-item/types/types.d.ts +3 -0
  497. package/dist/types/components/overlays/bds-dialog/bds-dialog.d.ts +2 -2
  498. package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +1 -0
  499. package/dist/types/components/overlays/bds-popover/constants/Offset.d.ts +2 -0
  500. package/dist/types/components/overlays/bds-tooltip/bds-tooltip.d.ts +1 -0
  501. package/dist/types/components/overlays/bds-tooltip/constants/Offset.d.ts +2 -0
  502. package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +9 -9
  503. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
  504. package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +1 -1
  505. package/dist/types/components.d.ts +2542 -450
  506. package/dist/types/mixins/anchored.mixin.d.ts +5 -0
  507. package/dist/types/mixins/index.d.ts +2 -0
  508. package/dist/types/mixins/links.mixin.d.ts +85 -0
  509. package/dist/types/mixins/menu-behavior.mixin.d.ts +95 -0
  510. package/dist/types/types/IFormProps.d.ts +25 -0
  511. package/dist/types/types/index.d.ts +5 -0
  512. package/dist/types/types/links.d.ts +14 -0
  513. package/dist/types/types/menu.d.ts +16 -0
  514. package/dist/types/types/orientation.d.ts +6 -0
  515. package/dist/types/types/position.d.ts +6 -2
  516. package/dist/types/utils/constants/common/Keys.d.ts +12 -14
  517. package/dist/types/utils/helpers/overlays/getOffset.d.ts +9 -0
  518. package/dist/types/utils/helpers/validateProps.d.ts +11 -0
  519. package/dist/types/utils/index.d.ts +2 -1
  520. package/dist/types/utils/menu/index.d.ts +2 -0
  521. package/dist/types/utils/menu/menu-item.utils.d.ts +50 -0
  522. package/dist/types/utils/{__test__ → testing}/helpers.d.ts +8 -0
  523. package/dist/types/utils/{__test__ → testing}/index.d.ts +0 -2
  524. package/dist/types/utils/{__test__/backdrop-mock.d.ts → testing/mocks/backdrop.d.ts} +1 -1
  525. package/dist/types/utils/testing/mocks/console.d.ts +17 -0
  526. package/dist/types/utils/{__test__/mocks/ElementInternals.d.ts → testing/mocks/elementInternals.d.ts} +1 -1
  527. package/dist/types/utils/testing/mocks/index.d.ts +5 -0
  528. package/dist/types/utils/{__test__/popover-mock.d.ts → testing/mocks/popover.d.ts} +1 -1
  529. package/package.json +1 -1
  530. package/components-build/p-B6R9EVXK.js +0 -1
  531. package/components-build/p-BSpJ_e9f.js +0 -1
  532. package/components-build/p-BYEAJCas.js +0 -1
  533. package/components-build/p-BhTPNsBb.js +0 -1
  534. package/components-build/p-CYojP4vI.js +0 -1
  535. package/components-build/p-D5omSME4.js +0 -1
  536. package/components-build/p-vfAIdwy0.js +0 -1
  537. package/dist/boreal-web-components/p-07a933df.entry.js +0 -1
  538. package/dist/boreal-web-components/p-1bb2b33f.entry.js +0 -1
  539. package/dist/boreal-web-components/p-1fccea3f.system.entry.js +0 -1
  540. package/dist/boreal-web-components/p-20af732b.system.entry.js +0 -1
  541. package/dist/boreal-web-components/p-22378341.system.entry.js +0 -1
  542. package/dist/boreal-web-components/p-39c26e58.entry.js +0 -1
  543. package/dist/boreal-web-components/p-6210d025.entry.js +0 -1
  544. package/dist/boreal-web-components/p-6de2b44c.system.entry.js +0 -1
  545. package/dist/boreal-web-components/p-91b9e94e.entry.js +0 -1
  546. package/dist/boreal-web-components/p-9e06910d.system.entry.js +0 -1
  547. package/dist/boreal-web-components/p-BIJhHSAt.system.js +0 -1
  548. package/dist/boreal-web-components/p-BKRyWlfr.js +0 -1
  549. package/dist/boreal-web-components/p-BhTPNsBb.js +0 -1
  550. package/dist/boreal-web-components/p-BkDQsB4R.system.js +0 -1
  551. package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
  552. package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
  553. package/dist/boreal-web-components/p-DoDeP7KR.system.js +0 -1
  554. package/dist/boreal-web-components/p-Dtp4O0H2.system.js +0 -1
  555. package/dist/boreal-web-components/p-Dy7QKP9e.js +0 -1
  556. package/dist/boreal-web-components/p-GjKJvOVG.system.js +0 -2
  557. package/dist/boreal-web-components/p-ac64d4a5.system.entry.js +0 -1
  558. package/dist/boreal-web-components/p-b61fe06c.entry.js +0 -1
  559. package/dist/boreal-web-components/p-cdc87437.entry.js +0 -1
  560. package/dist/boreal-web-components/p-d8ec8557.system.entry.js +0 -1
  561. package/dist/boreal-web-components/p-ea889727.entry.js +0 -1
  562. package/dist/boreal-web-components/p-fa327346.system.entry.js +0 -1
  563. package/dist/boreal-web-components/p-fc2cb919.entry.js +0 -1
  564. package/dist/boreal-web-components/p-sDZFaZMN.system.js +0 -1
  565. package/dist/boreal-web-components/p-vfAIdwy0.js +0 -1
  566. package/dist/cjs/bds-tooltip.cjs.entry.js +0 -152
  567. package/dist/cjs/bds-typography.cjs.entry.js +0 -168
  568. package/dist/cjs/validateProps-BNOBk1Xs.js +0 -20
  569. package/dist/collection/utils/__test__/mocks/index.js +0 -1
  570. package/dist/esm/bds-tooltip.entry.js +0 -150
  571. package/dist/esm/bds-typography.entry.js +0 -166
  572. package/dist/esm/validateProps-vfAIdwy0.js +0 -18
  573. package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +0 -1
  574. package/dist/esm-es5/bds-tooltip.entry.js +0 -1
  575. package/dist/esm-es5/bds-typography.entry.js +0 -1
  576. package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
  577. package/dist/esm-es5/index-D4EFsvs1.js +0 -2
  578. package/dist/esm-es5/internals-Dy7QKP9e.js +0 -1
  579. package/dist/esm-es5/states-BhTPNsBb.js +0 -1
  580. package/dist/esm-es5/validateProps-vfAIdwy0.js +0 -1
  581. package/dist/types/utils/__test__/mocks/index.d.ts +0 -2
  582. /package/dist/collection/utils/{__test__ → testing}/constants.js +0 -0
  583. /package/dist/collection/utils/{__test__ → testing}/fixtures.js +0 -0
  584. /package/dist/collection/utils/{__test__/backdrop-mock.js → testing/mocks/backdrop.js} +0 -0
  585. /package/dist/collection/utils/{__test__/mocks/ElementInternals.js → testing/mocks/elementInternals.js} +0 -0
  586. /package/dist/collection/utils/{__test__/popover-mock.js → testing/mocks/popover.js} +0 -0
  587. /package/dist/types/utils/{__test__ → testing}/constants.d.ts +0 -0
  588. /package/dist/types/utils/{__test__ → testing}/fixtures.d.ts +0 -0
@@ -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-GjKJvOVG.system.js","./p-sDZFaZMN.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:"a3d7548922ce9ad6bd67bdc906e0cd3590a76a35",class:o,"aria-label":s,role:"img"},a&&n("span",{key:"44299f5031e4adb04837eabefa37f70f7dc8a9b8",class:i,style:g,"aria-hidden":"true"}),n("span",{key:"ce37d02816caf7bfc7fa22f1897de481a8d82bbb",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-GjKJvOVG.system.js","./p-BHYhd1yq.system.js","./p-BuxZeJbu.system.js","./p-sDZFaZMN.system.js","./p-Dtp4O0H2.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(){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:"0cc772f12b48d93bf8304597580157400846eb3a",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:"43fe62c1ddf4537008058d4e1e178a164db98d45",class:this.getStyles()},this.layout!==h.HEADERLESS&&a("div",{key:"2404606784ae0f915191d5994716eaef6682ba9f",class:"bds-dialog__header"},this.getHeaderLeftElement(),this.getHeaderRightElement()),a("div",{key:"fe00d0e4ebf041a2734d40245c098ecfd80deb0b",class:"bds-dialog__body ".concat(this.contentPadding==="none"?"bds-dialog--no-padding":"")},a("slot",{key:"d00c4e8bd26f392003e0de17551177615d26b74a"})),this.layout!==h.FOOTERLESS&&a("div",{key:"ce63e120119b918e0ec1b1d55a71ce2ef11ed4d9",class:"bds-dialog__footer"},a("slot",{key:"ffd76edb35b7fcfd68861d0364e9f94059f5da92",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()}}}));
@@ -0,0 +1 @@
1
+ import{M as i,r as s,c as a,h as t,g as e}from"./p-BqJlOB6b.js";import{f as o}from"./p-DCXSEEVH.js";import{a as d}from"./p-U9yfbs7i.js";import{v as l}from"./p-kGnB15Lz.js";import{S as r}from"./p-Bfazyxqi.js";const n=i=>{class s extends(o(i)){constructor(){super(...arguments),this.isClosing=!1}get hooks(){return{}}showElement(){this.dialogElement.showModal(),this.isVisible=!0}hideElement(){this.dialogElement.close(),this.isVisible=!1,this.isClosing=!1}closeElement(){this.preventClose||this.isClosing||(this.isClosing=!0,void 0!==this.hooks.onBeforeClose?this.onBeforeClose(this.dialogElement):this.hide())}toggle(){this.isVisible?this.closeElement():this.show()}onAfterShow(i){this.previousOverflow=document.body.style.overflow,document.body.style.overflow="hidden",this.hooks.onAfterShow?.(i)}onAfterHide(i){document.body.style.overflow=this.previousOverflow??"",this.hooks.onAfterHide?.(i)}onBeforeClose(i){this.hooks.onBeforeClose?.(i)}handleBackdropClick(i){this.backdropClose&&i.target===this.dialogElement&&(i.preventDefault(),i.stopImmediatePropagation(),this.closeElement())}handleKeydown(i){"Escape"===i.key&&(i.preventDefault(),i.stopImmediatePropagation()),this.escapeClose&&!i.repeat&&"Escape"===i.key&&this.closeElement()}addTransitionAnimation(i){this.dialogElement.classList.add(i)}removeTransitionAnimation(i){this.dialogElement.classList.remove(i)}}return s},h={SMALL:"sm",MEDIUM:"md",LARGE:"lg",FULL:"full"},b={...r,DEFAULT:"default"},c={DEFAULT:"default",HEADERLESS:"headerless",FOOTERLESS:"footerless"},g={DEFAULT:"default",NONE:"none"},p=class extends(i(n)){constructor(i){super(),s(this,i),this.bdsOpen=a(this,"bdsOpen"),this.bdsClose=a(this,"bdsClose"),this.bdsMaximize=a(this,"bdsMaximize"),this.inheritedAttributes={},this.active=!1,this.preventClose=!1,this.height="",this.width="",this.layout=c.DEFAULT,this.contentPadding=g.DEFAULT,this.backdropClose=!1,this.escapeClose=!1,this.size=h.MEDIUM,this.variant=b.DEFAULT,this.titleDialog="",this.maximizable=!1,this.closable=!1,this.onDialogTransitionEnd=i=>{i.target===this.dialogElement&&"::backdrop"!==i.pseudoElement&&(this.preventClose||this.isClosing&&this.hide())}}handleIsOpenChange(i){void 0!==this.dialogElement&&(i?this.show():this.closeElement())}componentWillLoad(){this.checkPropValues(),this.inheritedAttributes={...d(this.el)}}componentDidLoad(){this.active&&this.handleIsOpenChange(this.active)}checkPropValues(){l(Object.values(c),c.DEFAULT,this.el,"layout"),l(Object.values(g),g.DEFAULT,this.el,"contentPadding"),l(Object.values(h),h.MEDIUM,this.el,"size"),l(Object.values(b),b.DEFAULT,this.el,"variant")}handleMaximize(){this.bdsMaximize.emit()}async open(){this.show()}async close(){this.closeElement()}get isHeaderLeftVisible(){return this.isHeaderRightVisible||this.titleDialog}get isHeaderRightVisible(){return this.maximizable||this.closable}get hooks(){return{onAfterShow:()=>this.onOpenDialog(),onBeforeClose:()=>this.transitionBeforeClose(),onAfterHide:()=>this.resetComponent()}}transitionBeforeClose(){this.active&&(this.active=!1),this.removeTransitionAnimation("enter");const{transitionDuration:i}=getComputedStyle(this.dialogElement),s=parseFloat(i);i&&!Number.isNaN(s)&&s>0||this.hide()}onOpenDialog(){this.addTransitionAnimation("enter"),this.bdsOpen.emit()}resetComponent(){this.bdsClose.emit()}getVariantIcon(){const i={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",default:""};return void 0===i[this.variant]?i.default:i[this.variant]}getStyles(){return{"bds-dialog":!0,[`bds-dialog--${this.variant}`]:!0,[`bds-dialog--${this.size}`]:!0,"bds-dialog--custom-size":this.width.length>0||this.height.length>0}}getFixedSize(){return{...this.width&&{"--bds-dialog-width":`${this.width}px`},...this.height&&{"--bds-dialog-height":`${this.height}px`}}}getHeaderLeftElement(){return this.isHeaderLeftVisible&&t("div",{class:"bds-dialog__header-left"},this.getVariantIcon()&&t("em",{"aria-hidden":"true",class:`bds-dialog__variant-icon ${this.getVariantIcon()}`}),this.titleDialog&&t("span",{id:"bds-dialog-title",class:"bds-dialog__title"},this.titleDialog))}getHeaderRightElement(){return this.isHeaderRightVisible&&t("div",{class:"bds-dialog__header-right"},this.maximizable&&t("bds-button",{"aria-label":"maximize",type:"button",onBdsClick:()=>this.handleMaximize()},t("em",{class:"bds-icon-arrows-out"})),this.closable&&t("bds-button",{"aria-label":"close",type:"button",onBdsClick:()=>this.closeElement()},t("em",{class:"bds-icon-close"})))}render(){const i=this.inheritedAttributes;return t("dialog",{key:"58ef2571b3c6d4fcc4ac85f8536bbb9168651e02",onClick:i=>this.handleBackdropClick(i),onKeyDown:i=>this.handleKeydown(i),onTransitionEnd:this.onDialogTransitionEnd,ref:i=>{void 0!==i&&(this.dialogElement=i)},style:{...this.getFixedSize()},...this.titleDialog.length>0&&{"aria-labelledby":"bds-dialog-title"},...i},t("div",{key:"fa95d799c99e48ac7b02602d62d79e9919d7b711",class:this.getStyles()},this.layout!==c.HEADERLESS&&t("div",{key:"7460a77b2caf914ddf871804ce6c37fbb186b9ef",class:"bds-dialog__header"},this.getHeaderLeftElement(),this.getHeaderRightElement()),t("div",{key:"1537a32b06b9e5ca0329d360a15f407ac8bb6d4f",class:"bds-dialog__body "+("none"===this.contentPadding?"bds-dialog--no-padding":"")},t("slot",{key:"e45a2fd2507303ab1af63983ff1cb5a3db1b955b"})),this.layout!==c.FOOTERLESS&&t("div",{key:"c258f33a42fff5e88b2846c788bac219fa90fe63",class:"bds-dialog__footer"},t("slot",{key:"b64483b7004e01f2ecaa11fc4b144277a20d0204",name:"footer"}))))}get el(){return e(this)}static get watchers(){return{active:[{handleIsOpenChange:0}]}}};p.style='@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}';export{p as bds_dialog}
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,o){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]};return e(t,o)};return function(t,o){if(typeof o!=="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}}();System.register(["./p-DCKg5Cg_.system.js","./p-DYlZcFrB.system.js","./p-C0P3gzq5.system.js","./p-C-g3hhl_.system.js","./p-BHYhd1yq.system.js","./p-DpnBDSUm.system.js"],(function(e){"use strict";var t,o,r,a,n,i,s,l;return{setters:[function(e){t=e.M;o=e.r;r=e.h;a=e.a;n=e.g},function(e){i=e.a;s=e.g},function(e){l=e.B},null,null,null],execute:function(){var p=11;var f=function(){return'@charset "UTF-8";:root{--popover-arrow-size:var(--boreal-spacing-s);--popover-width:320px}.popover{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular);background:var(--boreal-ui-inverse);-webkit-filter:drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.15));filter:drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.15));-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;border:transparent;cursor:auto}.popover-content{position:relative;padding:var(--boreal-spacing-s)}.popover[popover]:not(:popover-open){display:none}.popover-header{border-bottom:var(--boreal-stroke-default-light) solid 1px;padding:var(--boreal-spacing-m) var(--boreal-spacing-xs) var(--boreal-spacing-m) var(--boreal-spacing-s);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.popover-header__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.popover-header__title{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-sm)}.popover-header__icon{font-size:var(--boreal-typography-font-size-md);margin-right:var(--boreal-spacing-3xs)}.popover-header__close{margin-left:var(--boreal-spacing-s)}.popover-header__close .bds-button{margin:0;padding:0;width:var(--boreal-spacing-ml);height:var(--boreal-spacing-ml)}.popover-header__close .bds-button__content{width:var(--boreal-spacing-ml);height:var(--boreal-spacing-ml)}.popover-header__close em{font-size:var(--boreal-typography-font-size-xs)}.popover-footer{border-top:var(--boreal-stroke-default-light) solid 1px;padding:var(--boreal-spacing-s) var(--boreal-spacing-xs) var(--boreal-spacing-s) var(--boreal-spacing-s);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.popover .popover-arrow{position:absolute;width:var(--popover-arrow-size);height:var(--popover-arrow-size);pointer-events:none}.popover .popover-arrow::before{content:"";position:absolute;width:var(--popover-arrow-size);height:var(--popover-arrow-size);background:var(--boreal-ui-inverse);-webkit-transform:rotate(45deg);transform:rotate(45deg);inset:0}.popover[data-placement^=top] .popover-arrow{bottom:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=top] .popover-arrow::before{bottom:0}.popover[data-placement^=bottom] .popover-arrow{top:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=bottom] .popover-arrow::before{bottom:0}.popover[data-placement^=left] .popover-arrow{right:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=left] .popover-arrow::before{left:0}.popover[data-placement^=right] .popover-arrow{left:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=right] .popover-arrow::before{left:0}'};var c=e("bds_popover",function(e){__extends(t,e);function t(t){var r=e.call(this)||this;o(r,t);r.floatingOptions={};r.disabled=false;r.width=320;r.header=false;r.footer=false;r.closable=false;r.isVisible=false;return r}Object.defineProperty(t.prototype,"options",{get:function(){var e,t,o;return{placement:(e=this.floatingOptions.placement)!==null&&e!==void 0?e:"bottom",offset:s((t=this.floatingOptions)===null||t===void 0?void 0:t.hideArrow,(o=this.floatingOptions)===null||o===void 0?void 0:o.offset,p),arrow:this.floatingOptions.hideArrow?undefined:this.arrowElement,strategy:"fixed",shift:true,flip:true}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"popoverWidth",{get:function(){if(this.width==="full")return"100%";if(this.width==="auto")return"auto";return"".concat(this.width,"px")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hooks",{get:function(){var e=this;return{onPositionUpdate:function(t){return e.handlePosition(t)},onBeforeShow:function(){return!e.disabled},onAfterShow:function(){return e.attachClickOutside()},onAfterHide:function(){return e.detachClickOutside()},onBeforeLoad:function(){return e.attachTrigger()},subscribeToTrigger:function(t){return e.subscribe(t)}}},enumerable:false,configurable:true});t.prototype.attachClickOutside=function(){var e=this;var t;if(((t=this.floatingOptions)===null||t===void 0?void 0:t.closeOnClickOutside)===false)return;this.boundClickOutside=function(t){return e.handleClickOutside(t)};document.addEventListener("mousedown",this.boundClickOutside)};t.prototype.detachClickOutside=function(){var e;if(((e=this.floatingOptions)===null||e===void 0?void 0:e.closeOnClickOutside)===false)return;if(this.boundClickOutside!==null){document.removeEventListener("mousedown",this.boundClickOutside);this.boundClickOutside=function(){}}};t.prototype.setArrowPosition=function(e){var t,o;if(((t=e.middlewareData)===null||t===void 0?void 0:t.arrow)&&!this.disabled&&((o=this.arrowElement)===null||o===void 0?void 0:o.isConnected)){var r=this.floatingOptions.placement;var a=e.middlewareData.arrow;var n=r==="top-start"||r==="bottom-start";var i=a.x||undefined;if(n)i=a.x?20:undefined;var s=e.middlewareData.arrow.y;Object.assign(this.arrowElement.style,{left:i!=null?"".concat(i,"px"):"",top:s!=null?"".concat(s,"px"):""})}};t.prototype.handleClickOutside=function(e){var t,o,r;var a=e.target;var n=((t=this.listenTarget)===null||t===void 0?void 0:t.contains(a))||((o=this.trigger)===null||o===void 0?void 0:o.contains(a))||((r=this.triggerSlot)===null||r===void 0?void 0:r.contains(a));var i=this.floatingContent.contains(a)||this.floatingContent===a;if(!n&&!i){this.hide()}};t.prototype.handleContentClick=function(e){e.stopPropagation();this.handleFloatingClick()};t.prototype.handleFloatingClick=function(){if(this.floatingOptions.closeOnClick)this.hide()};t.prototype.handlePosition=function(e){var t=this;var o;this.floatingContent.setAttribute("data-placement",e.placement);this.setArrowPosition(e);if(this.width==="full"&&this.triggerSlot!==null&&this.triggerSlot!==undefined){var r=(o=this.triggerSlot.parentElement)!==null&&o!==void 0?o:this.triggerSlot;var a=r.getBoundingClientRect().width;var n=this.floatingContent.getBoundingClientRect().width;if(Math.round(n)!==Math.round(a)){this.floatingContent.style.width="".concat(a,"px")}void this.updatePosition(this.triggerSlot,this.floatingContent,this.options,(function(e){t.floatingContent.setAttribute("data-placement",e.placement);t.setArrowPosition(e)}))}else if(this.width==="auto"){this.floatingContent.style.width=""}};t.prototype.attachTrigger=function(){if(this.trigger!==null&&this.trigger!==undefined)return};t.prototype.subscribe=function(e){var t=this;if(e===undefined)return;this.trigger=e;e.setAttribute("part","popover-trigger");e.setAttribute("ariaDescribedBy","popover-content");e.setAttribute("aria-haspopup","true");e.setAttribute("aria-expanded","false");var o=e.closest("bds-button, bds-input, bds-select");if(o!==null&&o!==undefined){var r=o.querySelector("button, input");var a=r!==null&&r!==void 0?r:o;this.listenTarget=a;this.listenTarget.addEventListener("click",(function(e){return t.handleShow(e)}));this.listenTarget.addEventListener("keydown",(function(e){return t.handleKeydown(e,(function(){return t.showElement()}),(function(){return t.hideElement()}))}))}else{this.trigger.addEventListener("click",(function(e){return t.handleShow(e)}));this.trigger.addEventListener("keydown",(function(e){return t.handleKeydown(e,(function(){return t.showElement()}),(function(){return t.hideElement()}))}))}};t.prototype.handleShow=function(e){e.stopPropagation();this.toggle()};Object.defineProperty(t.prototype,"canShowArrow",{get:function(){return!this.floatingOptions.hideArrow||false},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"getPlacement",{get:function(){return this.floatingOptions.placement||"bottom"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hasHeaderSlot",{get:function(){return this.el.querySelector('[slot="header"]')!==null},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hasFooterSlot",{get:function(){return this.el.querySelector('[slot="footer"]')!==null},enumerable:false,configurable:true});t.prototype.disconnectedCallback=function(){var e=this;this.listenTarget.removeEventListener("click",(function(t){return e.handleShow(t)}));this.trigger.removeEventListener("click",(function(t){return e.handleShow(t)}))};t.prototype.render=function(){var e=this;return r(a,{key:"953571ebcd84e1e6910f3fce9aa59ff1b00c1be7",class:"popover",style:{width:this.popoverWidth},popover:"manual",role:"tooltip","data-placement":this.getPlacement,"data-hidearrow":this.canShowArrow,"aria-hidden":this.isVisible?"false":"true",onClick:function(t){return e.handleContentClick(t)},ref:function(t){return e.floatingContent=t}},this.header&&r("div",{key:"435cde7702b5db7ddc5f055ab379ef264a8cac16",class:"popover-header"},r("div",{key:"a3ac8f2b6610090d5947dc299a9ce62d85265e86",class:"popover-header__content"},r("span",{key:"ed1cbb198c54ffba2c7ce22085cb43648d6b7f3d",class:"popover-header__icon"},r("slot",{key:"b3049ec3dc2ad99037a662553103facad38af4f9",name:"header-icon"})),r("span",{key:"591ccd19d65f3a485062be8e5e4acf57a3ff4539",class:"popover-header__title"},r("slot",{key:"9b65d0180f3728906302426f6436034e80f1c783",name:"header-title"}))),this.closable&&r("bds-button",{key:"5e13390200231b50e4a9c38fb22c623bf28d105f",class:"popover-header__close",size:l.SMALL,onBdsClick:function(){return e.hide()}},r("em",{key:"20ea602f48d1f27ee0b10c929a4a2194304a35b2",slot:"icon",class:"bds-icon-close"}))),this.canShowArrow&&r("div",{key:"551089a9b038a27277398dac47b8e72b2f3d9286",class:"popover-arrow",part:"arrow",ref:function(t){return e.arrowElement=t}}),r("div",{key:"17a6a939f83dd930aafc416b48da124faa27a4e0",class:"popover-content",tabIndex:-1,part:"popover-content"},r("slot",{key:"ab7cfa10649128cc387a54cf052429425696269a"})),this.footer&&r("div",{key:"7cf9fa351928fd823a49541764cdd67bd2d57def",class:"popover-footer",onClick:function(e){return e.stopPropagation()}},r("slot",{key:"b6a20d06d0964f6dea85afdd40a46a6fb737bbac",name:"footer-helper"}),r("slot",{key:"379b2b43a1e937775149e686686da9e4554dd962",name:"footer-button"})))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}(t(i)));c.style=f()}}}));
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function a(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):r(t.value).then(a,o)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=o(0),a["throw"]=o(1),a["return"]=o(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(e){return u([t,e])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,o[0]&&(i=0)),i)try{if(n=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];r=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,r=e.length,s;n<r;n++){if(s||!(n in e)){if(!s)s=Array.prototype.slice.call(e,0,n);s[n]=e[n]}}return t.concat(s||Array.prototype.slice.call(e))};System.register(["./p-DCKg5Cg_.system.js","./p-06DrzEMB.system.js","./p-DSU8tkVw.system.js","./p-BsZkk4oK.system.js"],(function(t){"use strict";var e,i,n,r,s,a,o,u;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.a;s=t.g},function(t){a=t.M},function(t){o=t.a},function(t){u=t.v}],execute:function(){var c={SINGLE:"single",MULTIPLE:"multiple"};var l=function(){return'@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)}'};var f=t("bds_list_menu",function(){function t(t){e(this,t);this.bdsChange=i(this,"bdsChange");this.bdsSelect=i(this,"bdsSelect");this.inheritedAttributes={};this.selectionMode=c.SINGLE;this.menuRole=a.MENU;this.selectControls=false;this.selectedValues=[]}t.prototype.checkProps=function(){u(Object.values(a),a.MENU,this.el,"menuRole");u(Object.values(c),c.SINGLE,this.el,"selectionMode")};t.prototype.getSelectedValues=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.isMultiple?this.selectedValues:this.selectedValues[0]]}))}))};t.prototype.setSelectedValues=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.isMultiple){this.selectedValues=Array.isArray(t)?t:[t]}else{this.selectedValues=t!==null?[t]:[]}this.updateChildrenState();return[2]}))}))};t.prototype.handleItemClick=function(t){var e=t.detail,i=e.value,n=e.selected;if(this.menuRole===a.LISTBOX){if(this.isMultiple){this.handleMultipleSelection(i,n)}else{this.handleSingleSelection(i,n)}this.updateChildrenState(t.target);this.bdsChange.emit(this.isMultiple?this.selectedValues:this.selectedValues[0]||undefined)}else{var r=t.target;var s=this.childItems.indexOf(r);this.bdsSelect.emit({value:i,index:s,checked:r.checkable?r.selected:false,element:r})}};t.prototype.componentWillLoad=function(){this.checkProps();this.initialSelectedValues();this.updateActiveState();this.inheritedAttributes=__assign({},o(this.el,["aria-multiselectable"]))};Object.defineProperty(t.prototype,"childItems",{get:function(){var t=Array.from(this.el.querySelectorAll("bds-list-menu-item"));return t},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"firstEnabledItem",{get:function(){var t=this.childItems;var e=t.find((function(t){return!t.disabled&&t.variant!=="label"}));return e},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isMultiple",{get:function(){return this.selectionMode===c.MULTIPLE},enumerable:false,configurable:true});t.prototype.updateActiveState=function(){var t=this.firstEnabledItem;var e=this.childItems;var i=e.some((function(t){return t.selected&&!t.disabled}));if(!i&&t!==undefined){t.setAttribute("active-item","")}};t.prototype.handleMultipleSelection=function(t,e){this.selectedValues=e?__spreadArray(__spreadArray([],this.selectedValues,true),[t],false):this.selectedValues.filter((function(e){return e!==t}))};t.prototype.handleSingleSelection=function(t,e){this.selectedValues=e?[t]:[]};t.prototype.updateChildrenState=function(t){var e=this;var i=this.childItems;i.forEach((function(t){if(t.value!==undefined){var i=e.selectedValues.includes(t.value);t.selected=i;t.removeAttribute("active-item")}}));this.setActiveItem(t)};t.prototype.setActiveItem=function(t){var e;if(t!==undefined){e=t}else if(this.selectedValues.length>0){var i=this.selectedValues[0];e=this.childItems.find((function(t){return t.value===i}))}else{e=this.firstEnabledItem}if(e!==undefined){e.setAttribute("active-item","")}};t.prototype.initialSelectedValues=function(){var t=Array.from(this.el.querySelectorAll("bds-list-menu-item[selected]"));if(t.length>0){var e=Array.from(t);var i=e.map((function(t){return t.getAttribute("value")||""}));this.selectedValues=this.isMultiple?i:[i[0]];this.updateChildrenState()}};t.prototype.handleToggleSelect=function(t){var e=this.childItems.filter((function(t){return!t.disabled&&t.variant!=="label"&&t.value!==undefined})).map((function(t){return t.value}));this.selectedValues=t?e:[];this.updateChildrenState();this.bdsChange.emit(this.selectedValues)};t.prototype.renderSelectControls=function(){var t=this;if(this.selectControls&&this.menuRole===a.LISTBOX&&this.isMultiple){return n("div",{class:"bds-list-menu__select-controls"},n("bds-button",{name:"Select all",variant:"plain",onBdsClick:function(){return t.handleToggleSelect(true)}},"Select All"),n("bds-button",{name:"Deselect all",variant:"plain",onBdsClick:function(){return t.handleToggleSelect(false)}},"Deselect All"))}return null};t.prototype.render=function(){var t=this.inheritedAttributes;return n(r,__assign({key:"88d9e41f1116555df02ca6e883b9e50f024c69b9",class:"bds-list-menu",role:this.menuRole,tabIndex:"-1","aria-multiselectable":this.menuRole===a.LISTBOX&&this.isMultiple?"true":"false"},t),n("slot",{key:"2f1730a1b5c456477d2b86f35b596d11e1b79f5c",name:"banner-content"}),n("div",{key:"58b6944a60ce62a8832e41a853d2621b6fc6deae",class:"bds-list-menu__header"},n("slot",{key:"1a292f12ca27104fd0496477a051a1ad3bcec83e",name:"header-content"})),this.renderSelectControls(),n("div",{key:"9a21f481ca5a3e6b484c0bcc5501097dfceb61c3",class:"bds-list-menu__content"},n("slot",{key:"43f684cb30333a5d571b4d05a4c8627703297473"})),n("div",{key:"dbc3a62e055792283fef80ff4514167d079c355d",class:"bds-list-menu__footer"},n("slot",{key:"8d504757a49bedf5a5ec150ed16ef5c9e7723ee1",name:"footer-content"})))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectionMode:[{checkProps:0}],menuRole:[{checkProps:0}]}},enumerable:false,configurable:true});return t}());f.style=l()}}}));
@@ -0,0 +1 @@
1
+ import{r as a,h as s,a as t,g as r}from"./p-BqJlOB6b.js";import{P as o}from"./p-Bfazyxqi.js";import{v as e}from"./p-kGnB15Lz.js";const l={NONE:"none",DOT:"dot",ICON:"icon"},n=class{constructor(s){a(this,s),this.state=o.NEUTRAL,this.indicator=l.NONE}checkPropValues(){e(Object.values(o),o.NEUTRAL,this.el,"state"),e(Object.values(l),l.NONE,this.el,"indicator")}componentWillLoad(){this.checkPropValues()}get classMap(){return{"bds-status":!0,[`bds-status--${this.state}`]:!0,[`bds-status--${this.indicator}`]:!0}}render(){return s(t,{key:"9a952b22de8565fcca464d045f71ea86c92c8632",class:this.classMap,role:"status"},this.indicator===l.DOT?s("div",{class:"bds-status__dot","aria-hidden":"true"}):"",s("slot",{key:"47e03b139fcb4da8b15fe115518856c54d02a320",name:"icon"}),s("slot",{key:"e512e975c2df8fa3e3380f27808eec96be5ad455"}))}get el(){return r(this)}static get watchers(){return{state:[{checkPropValues:0}],indicator:[{checkPropValues:0}]}}};n.style='@charset "UTF-8";.bds-status{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-semibold);line-height:var(--boreal-typography-line-height-xs);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--boreal-spacing-3xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);min-height:var(--boreal-spacing-ml);border-radius:var(--boreal-radius-xs)}.bds-status>[slot=icon]{display:none}.bds-status--icon>[slot=icon]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--boreal-layout-s);height:var(--boreal-layout-s)}.bds-status__dot{background-color:var(--boreal-icon-default-light);width:var(--boreal-spacing-xs);height:var(--boreal-spacing-xs);border-radius:var(--boreal-radius-full)}.bds-status--neutral{color:var(--boreal-text-default-ink);background-color:var(--boreal-ui-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-lighter)}.bds-status--neutral>[slot=icon]{color:var(--boreal-icon-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-light)}.bds-status--pending{color:var(--boreal-text-warning-dark);background-color:var(--boreal-ui-warning-lighter)}.bds-status--pending>.bds-status__dot{background-color:var(--boreal-icon-warning-base)}.bds-status--pending>[slot=icon]{color:var(--boreal-icon-warning-base)}.bds-status--in-progress{color:var(--boreal-text-information-dark);background-color:var(--boreal-ui-info-lighter)}.bds-status--in-progress>.bds-status__dot{background-color:var(--boreal-icon-info-base)}.bds-status--in-progress>[slot=icon]{color:var(--boreal-icon-info-base)}.bds-status--complete{color:var(--boreal-text-success-dark);background-color:var(--boreal-ui-success-lighter)}.bds-status--complete>.bds-status__dot{background-color:var(--boreal-icon-success-base)}.bds-status--complete>[slot=icon]{color:var(--boreal-icon-success-base)}.bds-status--cancel{color:var(--boreal-text-danger-dark);background-color:var(--boreal-ui-danger-lighter)}.bds-status--cancel>.bds-status__dot{background-color:var(--boreal-icon-danger-base)}.bds-status--cancel>[slot=icon]{color:var(--boreal-icon-danger-base)}';export{n as bds_status}