@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,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))r[i]=n[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,f){function a(r){try{o(t.next(r))}catch(r){f(r)}}function u(r){try{o(t["throw"](r))}catch(r){f(r)}}function o(r){r.done?e(r.value):i(r.value).then(a,u)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},t,i,f,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=u(0),a["throw"]=u(1),a["return"]=u(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(r){return function(n){return o([r,n])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(t=1,i&&(f=u[0]&2?i["return"]:u[0]?i["throw"]||((f=i["return"])&&f.call(i),0):i.next)&&!(f=f.call(i,u[1])).done)return f;if(i=0,f)u=[u[0]&2,f.value];switch(u[0]){case 0:case 1:f=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(f=e.trys,f=f.length>0&&f[f.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!f||u[1]>f[0]&&u[1]<f[3])){e.label=u[1];break}if(u[0]===6&&e.label<f[1]){e.label=f[1];f=u;break}if(f&&e.label<f[2]){e.label=f[2];e.ops.push(u);break}if(f[2])e.ops.pop();e.trys.pop();continue}u=n.call(r,e)}catch(r){u=[6,r];i=0}finally{t=f=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,f;t<i;t++){if(f||!(t in n)){if(!f)f=Array.prototype.slice.call(n,0,t);f[t]=n[t]}}return r.concat(f||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;r("M",En);var t="boreal-web-components";var i={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,shadowDom:false,slotRelocation:true,state:true,updatable:true};var f="http://www.w3.org/2000/svg";var a="http://www.w3.org/1999/xhtml";var u=function(r,n){var e;var t=n.t;var i=Object.entries((e=t.i)!=null?e:{});i.map((function(e){var t=e[0],i=e[1][0];if(i&31||i&32){var f=r[t];var a=o(Object.getPrototypeOf(r),t)||Object.getOwnPropertyDescriptor(r,t);if(a){Object.defineProperty(r,t,{get:function(){return a.get.call(this)},set:function(r){a.set.call(this,r)},configurable:true,enumerable:true})}r[t]=n.u.has(t)?n.u.get(t):f}}))};function o(r,n){while(r){var e=Object.getOwnPropertyDescriptor(r,n);if(e==null?void 0:e.get)return e;r=Object.getPrototypeOf(r)}return void 0}var l=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var v=r("r",(function(r,n){if(!n)return;r.__stencil__getHostRef=function(){return n};n.o=r;if(n.t.l&512&&i.state){u(r,n)}}));var s=function(r,n){var e={l:0,$hostElement$:r,t:n,u:new Map,v:new Map};{e.h=new Promise((function(r){return e.p=r}))}{e.m=new Promise((function(r){return e._=r}));r["s-p"]=[];r["s-rc"]=[]}{e.j=[]}var t=e;r.__stencil__getHostRef=function(){return t};return t};var c=function(r,n){return n in r};var d=function(r,n){return(0,console.error)(r,n)};var h=new Map;var p=function(r,e,t){var i=r.O.replace(/-/g,"_");var f=r.S;if(!f){return void 0}var a=h.get(f);if(a){return a[i]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(f,".entry.js").concat("")).then((function(r){{h.set(f,r)}return r[i]}),(function(r){d(r,e.$hostElement$)}))};var b=new Map;var y="{visibility:hidden}.hydrated{visibility:inherit}";var m="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w="http://www.w3.org/1999/xlink";var g=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var _=typeof window!=="undefined"?window:{};var j=r("H",_.HTMLElement||function(){function r(){}return r}());var O={l:0,$:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var S=i.shadowDom;var $=r("p",(function(r){return Promise.resolve(r)}));var C=function(){try{if(!_.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var k=C?function(){return!!_.document&&Object.getOwnPropertyDescriptor(_.document.adoptedStyleSheets,"length").writable}():false;var N=false;var A=[];var x=[];var E=function(r,n){return function(e){r.push(e);if(!N){N=true;if(n&&O.l&4){T(R)}else{O.raf(R)}}}};var M=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){d(r)}}r.length=0};var R=function(){M(A);{M(x);if(N=A.length>0){O.raf(R)}}};var T=function(r){return $().then(r)};var L=E(x,true);var D=r("d",(function(r){var n=new URL(r,O.$);return n.origin!==_.location.origin?n.href:n.pathname}));var F=function(r){var n=lr(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){U(n,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if(B(r,I(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var e=0;for(e=0;e<n.length;e++){var t=n[e];if(t.nodeType===1&&lr(t,"childNodes").length){F(t)}}};var P=function(r){var n=[];for(var e=0;e<r.length;e++){var t=r[e]["s-nr"]||void 0;if(t&&t.isConnected){n.push(t)}}return n};function U(r,n,e){var t=0;var i=[];var f;for(;t<r.length;t++){f=r[t];if(f["s-sr"]&&(!n||f["s-hn"]===n)&&(e===void 0||I(f)===e)){i.push(f);if(typeof e!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),U(f.childNodes,n,e),true)}return i}var B=function(r,n,e){if(e===void 0){e=true}var t=[];if(e&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(I(i)===n&&(e||!i["s-sr"]))t.push(i)}return t};var z=function(r,n){if(r.nodeType===1){if(r.getAttribute("slot")===null&&n===""){return true}if(r.getAttribute("slot")===n){return true}return false}if(r["s-sn"]===n){return true}return n===""};var H=function(r,n,e,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var i=document.createTextNode("");i["s-nr"]=r;if(!n["s-cr"]||!n["s-cr"].parentNode)return;var f=n["s-cr"].parentNode;var a=e?lr(f,"prepend"):lr(f,"appendChild");{a.call(f,i)}r["s-ol"]=i;r["s-sh"]=n["s-hn"]};var I=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function W(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var n=function(n){return function(r){var e=[];var t=this["s-sn"];if(r==null?void 0:r.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var i=this["s-cr"].parentElement;var f=i.__childNodes?i.childNodes:P(i.childNodes);f.forEach((function(r){if(t===I(r)){e.push(r)}}));if(n){return e.filter((function(r){return r.nodeType===1}))}return e}.bind(r)};r.assignedElements=n(true);r.assignedNodes=n(false)}function V(r){r.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function q(r,n){var e;n=n||((e=r["s-ol"])==null?void 0:e.parentElement);if(!n)return{slotNode:null,slotName:""};var t=r["s-sn"]=I(r)||"";var i=lr(n,"childNodes");var f=U(i,n.tagName,t)[0];return{slotNode:f,slotName:t}}var G=function(r){Y(r);Z(r);Q(r);K(r);er(r);X(r);rr(r);nr(r);tr(r);ir(r);J(r)};var Y=function(r){if(r.__cloneNode)return;var n=r.__cloneNode=r.cloneNode;r.cloneNode=function(r){var e=this;var t=n.call(e,false);if(r){var i=0;var f=void 0,a=void 0;var u=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];var o=this.__childNodes||this.childNodes;for(;i<o.length;i++){f=o[i]["s-nr"];a=u.every((function(r){return!o[i][r]}));if(f){if(t.__appendChild){t.__appendChild(f.cloneNode(true))}else{t.appendChild(f.cloneNode(true))}}if(a){t.appendChild(o[i].cloneNode(true))}}}return t}};var Z=function(r){if(r.__appendChild)return;r.__appendChild=r.appendChild;r.appendChild=function(r){var n=q(r,this),e=n.slotName,t=n.slotNode;if(t){H(r,t);var i=B(t,e);var f=i[i.length-1];var a=lr(f,"parentNode");var u=lr(a,"insertBefore")(r,f.nextSibling);V(t);F(this);return u}return this.__appendChild(r)}};var J=function(r){if(r.__removeChild)return;r.__removeChild=r.removeChild;r.removeChild=function(r){if(r&&typeof r["s-sn"]!=="undefined"){var n=this.__childNodes||this.childNodes;var e=U(n,this.tagName,r["s-sn"]);if(e&&r.isConnected){r.remove();F(this);return}}return this.__removeChild(r)}};var K=function(r){if(r.__prepend)return;r.__prepend=r.prepend;r.prepend=function(){var n=this;var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}e.forEach((function(e){if(typeof e==="string"){e=n.ownerDocument.createTextNode(e)}var t=(e["s-sn"]=I(e))||"";var i=lr(n,"childNodes");var f=U(i,n.tagName,t)[0];if(f){H(e,f,true);var a=B(f,t);var u=a[0];var o=lr(u,"parentNode");var l=lr(o,"insertBefore")(e,lr(u,"nextSibling"));V(f);return l}if(e.nodeType===1&&!!e.getAttribute("slot")){e.hidden=true}return r.__prepend(e)}))}};var Q=function(r){if(r.__append)return;r.__append=r.append;r.append=function(){var r=this;var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}n.forEach((function(n){if(typeof n==="string"){n=r.ownerDocument.createTextNode(n)}r.appendChild(n)}))}};var X=function(r){if(r.__insertAdjacentHTML)return;var n=r.insertAdjacentHTML;r.insertAdjacentHTML=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}var t=this.ownerDocument.createElement("_");var i;t.innerHTML=e;if(r==="afterbegin"){while(i=t.firstChild){this.prepend(i)}}else if(r==="beforeend"){while(i=t.firstChild){this.append(i)}}}};var rr=function(r){r.insertAdjacentText=function(r,n){this.insertAdjacentHTML(r,n)}};var nr=function(r){if(r.__insertBefore)return;var n=r;if(n.__insertBefore)return;n.__insertBefore=r.insertBefore;r.insertBefore=function(r,n){var e=this;var t=q(r,this),i=t.slotName,f=t.slotNode;var a=this.__childNodes?this.childNodes:P(this.childNodes);if(f){var u=false;a.forEach((function(t){if(t===n||n===null){u=true;if(n===null||i!==n["s-sn"]){e.appendChild(r);return}if(i===n["s-sn"]){H(r,f);var a=lr(n,"parentNode");lr(a,"insertBefore")(r,n);V(f)}return}}));if(u)return r}var o=n==null?void 0:n.__parentNode;if(o&&!this.isSameNode(o)){return this.appendChild(r)}return this.__insertBefore(r,n)}};var er=function(r){if(r.__insertAdjacentElement)return;var n=r.insertAdjacentElement;r.insertAdjacentElement=function(r,e){if(r!=="afterbegin"&&r!=="beforeend"){return n.call(this,r,e)}if(r==="afterbegin"){this.prepend(e);return e}else if(r==="beforeend"){this.append(e);return e}return e}};var tr=function(r){or("textContent",r);Object.defineProperty(r,"textContent",{get:function(){var r="";var n=this.__childNodes?this.childNodes:P(this.childNodes);n.forEach((function(n){return r+=n.textContent||""}));return r},set:function(r){var n=this.__childNodes?this.childNodes:P(this.childNodes);n.forEach((function(r){if(r["s-ol"])r["s-ol"].remove();r.remove()}));this.insertAdjacentHTML("beforeend",r)}})};var ir=function(r){var n=function(r){__extends(n,r);function n(){return r!==null&&r.apply(this,arguments)||this}n.prototype.item=function(r){return this[r]};return n}(Array);or("children",r);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});or("firstChild",r);Object.defineProperty(r,"firstChild",{get:function(){return this.childNodes[0]}});or("lastChild",r);Object.defineProperty(r,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});or("childNodes",r);Object.defineProperty(r,"childNodes",{get:function(){var r=new n;r.push.apply(r,P(this.__childNodes));return r}})};var fr=function(r){if(!r||r.__parentNode)return;or("parentNode",r);Object.defineProperty(r,"parentNode",{get:function(){var r;return((r=this["s-ol"])==null?void 0:r.parentNode)||this.__parentNode},set:function(r){this.__parentNode=r}})};var ar=["children","nextElementSibling","previousElementSibling"];var ur=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function or(r,n){if(!globalThis.Node||!globalThis.Element){return}var e;if(ar.includes(r)){e=Object.getOwnPropertyDescriptor(Element.prototype,r)}else if(ur.includes(r)){e=Object.getOwnPropertyDescriptor(Node.prototype,r)}if(!e){e=Object.getOwnPropertyDescriptor(n,r)}if(e)Object.defineProperty(n,"__"+r,e)}function lr(r,n){if("__"+n in r){var e=r["__"+n];if(typeof e!=="function")return e;return e.bind(r)}else{if(typeof r[n]!=="function")return r[n];return r[n].bind(r)}}var vr=function(r,n){if(n===void 0){n=""}{return function(){return}}};var sr=function(r,n){{return function(){return}}};function cr(r){var n,e,t;return(t=(e=(n=r.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}var dr=new WeakMap;var hr=function(r,n,e){var t=b.get(r);if(C&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}b.set(r,t)};var pr=function(r,n,e){var t,i,f;var a=yr(n);var u=b.get(a);if(!_.document){return a}r=r.nodeType===11?r:_.document;if(u){if(typeof u==="string"){r=r.head||r;var o=dr.get(r);var l=void 0;if(!o){dr.set(r,o=new Set)}if(!o.has(a)){l=_.document.createElement("style");l.textContent=u;var v=(t=O.C)!=null?t:cr(_.document);if(v!=null){l.setAttribute("nonce",v)}if(!(n.l&1)){if(r.nodeName==="HEAD"){var s=r.querySelectorAll("link[rel=preconnect]");var c=s.length>0?s[s.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(c==null?void 0:c.parentNode)===r?c:null)}else if("host"in r){if(C){var d=(i=r.defaultView)!=null?i:r.ownerDocument.defaultView;var h=new d.CSSStyleSheet;h.replaceSync(u);if(k){r.adoptedStyleSheets.unshift(h)}else{r.adoptedStyleSheets=__spreadArray([h],r.adoptedStyleSheets,true)}}else{var p=r.querySelector("style");if(p){p.textContent=u+p.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(n.l&1){r.insertBefore(l,null)}if(n.l&4){l.textContent+=m}if(o){o.add(a)}}}else{var o=dr.get(r);if(!o){dr.set(r,o=new Set)}if(!o.has(a)){var d=(f=r.defaultView)!=null?f:r.ownerDocument.defaultView;var h=void 0;if(u.constructor===d.CSSStyleSheet){h=u}else{h=new d.CSSStyleSheet;for(var y=0;y<u.cssRules.length;y++){h.insertRule(u.cssRules[y].cssText,y)}}if(k){r.adoptedStyleSheets.push(h)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[h],false)}o.add(a)}}}return a};var br=function(r){var n=r.t;var e=r.$hostElement$;var t=vr("attachStyles",n.O);pr(e.getRootNode(),n);t()};var yr=function(r,n){return"sc-"+r.O};var mr=function(r){r=typeof r;return r==="object"||r==="function"};var wr=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}if(typeof r==="string"){r=Rn(r)}var i=null;var f=null;var a=null;var u=false;var o=false;var l=[];var v=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!mr(i)){i=String(i)}if(u&&o){l[l.length-1].k+=i}else{l.push(u?gr(null,i):i)}o=u}}};v(e);if(n){if(n.key){f=n.key}if(n.name){a=n.name}{var s=n.className||n.class;if(s){n.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(n===null?{}:n,l,Or)}var c=gr(r,null);c.N=n;if(l.length>0){c.A=l}{c.M=f}{c.R=a}return c}));var gr=function(r,n){var e={l:0,T:r,k:n!=null?n:null,L:null,A:null};{e.N=null}{e.M=null}{e.R=null}return e};var _r=r("a",{});var jr=function(r){return r&&r.T===_r};var Or={forEach:function(r,n){return r.map(Sr).forEach(n)},map:function(r,n){return r.map(Sr).map(n).map($r)}};var Sr=function(r){return{vattrs:r.N,vchildren:r.A,vkey:r.M,vname:r.R,vtag:r.T,vtext:r.k}};var $r=function(r){if(typeof r.vtag==="function"){var n=__assign({},r.vattrs);if(r.vkey){n.key=r.vkey}if(r.vname){n.name=r.vname}return wr.apply(void 0,__spreadArray([r.vtag,n],r.vchildren||[],false))}var e=gr(r.vtag,r.vtext);e.N=r.vattrs;e.A=r.vchildren;e.M=r.vkey;e.R=r.vname;return e};var Cr=function(r,n,e){if(r!=null&&!mr(r)){if(n&4){if(e&&typeof r==="string"){return r===""||!!r}else{return r==="false"?false:r===""||!!r}}if(n&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(n&1){return String(r)}return r}return r};var kr=r("g",(function(r){var n;return(n=l(r))==null?void 0:n.$hostElement$}));var Nr=r("c",(function(r,n,e){var t=kr(r);return{emit:function(r){return Ar(t,n,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var Ar=function(r,n,e){var t=O.ce(n,e);r.dispatchEvent(t);return t};var xr=function(r,n,e,t,i,f,a){if(e===t){return}var u=c(r,n);var o=n.toLowerCase();if(n==="class"){var v=r.classList;var s=Mr(e);var d=Mr(t);{v.remove.apply(v,s.filter((function(r){return r&&!d.includes(r)})));v.add.apply(v,d.filter((function(r){return r&&!s.includes(r)})))}}else if(n==="style"){{for(var h in e){if(!t||t[h]==null){if(h.includes("-")){r.style.removeProperty(h)}else{r.style[h]=""}}}}for(var h in t){if(!e||t[h]!==e[h]){if(h.includes("-")){r.style.setProperty(h,t[h])}else{r.style[h]=t[h]}}}}else if(n==="key");else if(n==="ref"){if(t){tn(t,r)}}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(c(_,o)){n=o.slice(2)}else{n=o[2]+n.slice(3)}if(e||t){var p=n.endsWith(Rr);n=n.replace(Tr,"");if(e){O.rel(r,n,e,p)}if(t){O.ael(r,n,t,p)}}}else if(n[0]==="a"&&n.startsWith("attr:")){var b=n.slice(5);var y=void 0;{var m=l(r);if(m&&m.t&&m.t.i){var g=m.t.i[b];if(g&&g[1]){y=g[1]}}}if(!y){y=b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(y)===""){r.removeAttribute(y)}}else{r.setAttribute(y,t===true?"":t)}return}else if(n[0]==="p"&&n.startsWith("prop:")){var b=n.slice(5);try{r[b]=t}catch(r){}return}else{var j=mr(t);if((u||j&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!==S){if(typeof r.__lookupSetter__(n)==="function"){r[n]=S}else{r.setAttribute(n,S)}}}else if(r[n]!==t){r[n]=t}}catch(r){}}var $=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){n=o;$=true}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){if($){r.removeAttributeNS(w,n)}else{r.removeAttribute(n)}}}else if((!u||f&4||i)&&!j&&r.nodeType===1){t=t===true?"":t;if($){r.setAttributeNS(w,n,t)}else{r.setAttribute(n,t)}}}};var Er=/\s/;var Mr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Er)};var Rr="Capture";var Tr=new RegExp(Rr+"$");var Lr=function(r,n,e,t){var i=n.L.nodeType===11&&n.L.host?n.L.host:n.L;var f=r&&r.N||{};var a=n.N||{};{for(var u=0,o=Dr(Object.keys(f));u<o.length;u++){var l=o[u];if(!(l in a)){xr(i,l,f[l],void 0,e,n.l)}}}for(var v=0,s=Dr(Object.keys(a));v<s.length;v++){var l=s[v];xr(i,l,f[l],a[l],e,n.l)}};function Dr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Fr;var Pr;var Ur=false;var Br=false;var zr=false;var Hr=false;var Ir=[];var Wr=[];var Vr=function(r,n,e){var t;var u=n.A[e];var o=0;var l;var v;var s;if(!Ur){zr=true;if(u.T==="slot"){u.l|=u.A?2:1}}if(u.k!=null){l=u.L=_.document.createTextNode(u.k)}else if(u.l&1){l=u.L=_.document.createTextNode("");{Lr(null,u,Hr)}}else{if(!Hr){Hr=u.T==="svg"}if(!_.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}l=u.L=_.document.createElementNS(Hr?f:a,!Ur&&i.slotRelocation&&u.l&2?"slot-fb":u.T);if(Hr&&u.T==="foreignObject"){Hr=false}{Lr(null,u,Hr)}if(u.A){var c=u.T==="template"?l.content:l;for(o=0;o<u.A.length;++o){v=Vr(r,u,o);if(v){c.appendChild(v)}}}{if(u.T==="svg"){Hr=false}else if(l.tagName==="foreignObject"){Hr=true}}}l["s-hn"]=Pr;{if(u.l&(2|1)){l["s-sr"]=true;l["s-cr"]=Fr;l["s-sn"]=u.R||"";l["s-rf"]=(t=u.N)==null?void 0:t.ref;W(l);s=r&&r.A&&r.A[e];if(s&&s.T===u.T&&r.L){qr(r.L)}}}return l};var qr=function(r){O.l|=1;var n=r.closest(Pr.toLowerCase());if(n!=null){var e=Array.from(n.__childNodes||n.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,f=e?t.reverse():t;i<f.length;i++){var a=f[i];if(a["s-sh"]!=null){an(n,a,e!=null?e:null);a["s-sh"]=void 0;zr=true}}}O.l&=-2};var Gr=function(r,n){O.l|=1;var e=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===Pr){e.push(t)}}}for(var i=e.length-1;i>=0;i--){var f=e[i];if(f["s-hn"]!==Pr&&f["s-ol"]){an(Qr(f).parentNode,f,Qr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;zr=true}if(n){Gr(f,n)}}O.l&=-2};var Yr=function(r,n,e,t,i,f){var a=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(e.T==="template"){a=a.content}for(;i<=f;++i){if(t[i]){u=Vr(null,e,i);if(u){t[i].L=u;an(a,u,Qr(n))}}}};var Zr=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var f=i.L;en(i);if(f){{Br=true;if(f["s-ol"]){f["s-ol"].remove()}else{Gr(f,true)}}f.remove()}}}};var Jr=function(r,n,e,t,i){if(i===void 0){i=false}var f=0;var a=0;var u=0;var o=0;var l=n.length-1;var v=n[0];var s=n[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var b;var y=e.T==="template"?r.content:r;while(f<=l&&a<=c){if(v==null){v=n[++f]}else if(s==null){s=n[--l]}else if(d==null){d=t[++a]}else if(h==null){h=t[--c]}else if(Kr(v,d,i)){Xr(v,d,i);v=n[++f];d=t[++a]}else if(Kr(s,h,i)){Xr(s,h,i);s=n[--l];h=t[--c]}else if(Kr(v,h,i)){if(v.T==="slot"||h.T==="slot"){Gr(v.L.parentNode,false)}Xr(v,h,i);an(y,v.L,s.L.nextSibling);v=n[++f];h=t[--c]}else if(Kr(s,d,i)){if(v.T==="slot"||h.T==="slot"){Gr(s.L.parentNode,false)}Xr(s,d,i);an(y,s.L,v.L);s=n[--l];d=t[++a]}else{u=-1;{for(o=f;o<=l;++o){if(n[o]&&n[o].M!==null&&n[o].M===d.M){u=o;break}}}if(u>=0){b=n[u];if(b.T!==d.T){p=Vr(n&&n[a],e,u)}else{Xr(b,d,i);n[u]=void 0;p=b.L}d=t[++a]}else{p=Vr(n&&n[a],e,a);d=t[++a]}if(p){{an(Qr(v.L).parentNode,p,Qr(v.L))}}}}if(f>l){Yr(r,t[c+1]==null?null:t[c+1].L,e,t,a,c)}else if(a>c){Zr(n,f,l)}};var Kr=function(r,n,e){if(e===void 0){e=false}if(r.T===n.T){if(r.T==="slot"){return r.R===n.R}if(!e){return r.M===n.M}if(e&&!r.M&&n.M){r.M=n.M}return true}return false};var Qr=function(r){return r&&r["s-ol"]||r};var Xr=function(r,n,e){if(e===void 0){e=false}var t=n.L=r.L;var f=r.A;var a=n.A;var u=n.T;var o=n.k;var l;if(o==null){{Hr=u==="svg"?true:u==="foreignObject"?false:Hr}{if(u==="slot"&&!Ur){if(r.R!==n.R){n.L["s-sn"]=n.R||"";qr(n.L.parentElement)}}Lr(r,n,Hr)}if(f!==null&&a!==null){Jr(t,f,n,a,e)}else if(a!==null){if(r.k!==null){t.textContent=""}Yr(t,null,n,a,0,a.length-1)}else if(!e&&i.updatable&&f!==null){Zr(f,0,f.length-1)}else;if(Hr&&u==="svg"){Hr=false}}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.k!==o){t.data=o}};var rn=[];var nn=function(r){var n;var e;var t;var i=r.__childNodes||r.childNodes;for(var f=0,a=i;f<a.length;f++){var u=a[f];if(u["s-sr"]&&(n=u["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;var o=u["s-sn"];var l=function(){n=e[t];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==u["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==u["s-hn"])){if(z(n,o)){var r=rn.find((function(r){return r.D===n}));Br=true;n["s-sn"]=n["s-sn"]||o;if(r){r.D["s-sh"]=u["s-hn"];r.F=u}else{n["s-sh"]=u["s-hn"];rn.push({F:u,D:n})}if(n["s-sr"]){rn.map((function(e){if(z(e.D,n["s-sn"])){r=rn.find((function(r){return r.D===n}));if(r&&!e.F){e.F=r.F}}}))}}else if(!rn.some((function(r){return r.D===n}))){rn.push({D:n})}}};for(t=e.length-1;t>=0;t--){l()}}if(u.nodeType===1){nn(u)}}};var en=function(r){{if(r.N&&r.N.ref){Ir.push((function(){return r.N.ref(null)}))}r.A&&r.A.map(en)}};var tn=function(r,n){{Wr.push((function(){return r(n)}))}};var fn=function(){{Ir.forEach((function(r){return r()}));Ir.length=0;Wr.forEach((function(r){return r()}));Wr.length=0}};var an=function(r,n,e,t){{if(typeof n["s-sn"]==="string"){if(r.getRootNode().nodeType!==11){fr(n)}r.insertBefore(n,e);var i=q(n).slotNode;if(i&&!t)V(i);return n}}if(r.__insertBefore){return r.__insertBefore(n,e)}else{return r==null?void 0:r.insertBefore(n,e)}};var un=function(r,n,e){if(e===void 0){e=false}var t,i,f,a,u;var o=r.$hostElement$;var l=r.t;var v=r.P||gr(null,null);var s=jr(n);var c=s?n:wr(null,null,n);Pr=o.tagName;if(l.U){c.N=c.N||{};l.U.forEach((function(r){var n=r[0],e=r[1];{c.N[e]=o[n]}}))}if(e&&c.N){for(var d=0,h=Object.keys(c.N);d<h.length;d++){var p=h[d];if(o.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.N[p]=o[p]}}}c.T=null;c.l|=4;r.P=c;c.L=v.L=o;Ur=S;{Fr=o["s-cr"];Br=false}Xr(v,c,e);{O.l|=1;if(zr){nn(c.L);for(var b=0,y=rn;b<y.length;b++){var m=y[b];var w=m.D;if(!w["s-ol"]&&_.document){var g=_.document.createTextNode("");g["s-nr"]=w;an(w.parentNode,w["s-ol"]=g,w,e)}}for(var j=0,$=rn;j<$.length;j++){var m=$[j];var w=m.D;var C=m.F;if(w.nodeType===1&&e){w["s-ih"]=(t=w.hidden)!=null?t:false}if(C){var k=C.parentNode;var N=C.nextSibling;if(N&&N.nodeType===1){var g=(i=w["s-ol"])==null?void 0:i.previousSibling;while(g){var A=(f=g["s-nr"])!=null?f:null;if(A&&A["s-sn"]===w["s-sn"]&&k===(A.__parentNode||A.parentNode)){A=A.nextSibling;while(A===w||(A==null?void 0:A["s-sr"])){A=A==null?void 0:A.nextSibling}if(!A||!A["s-nr"]){N=A;break}}g=g.previousSibling}}var x=w.__parentNode||w.parentNode;var E=w.__nextSibling||w.nextSibling;if(!N&&k!==x||E!==N){if(w!==N){an(k,w,N,e);if(w.nodeType===8&&w.nodeValue.startsWith("s-nt-")){var M=_.document.createTextNode(w.nodeValue.replace(/^s-nt-/,""));M["s-hn"]=w["s-hn"];M["s-sn"]=w["s-sn"];M["s-sh"]=w["s-sh"];M["s-sr"]=w["s-sr"];M["s-ol"]=w["s-ol"];M["s-ol"]["s-nr"]=M;an(w.parentNode,M,w,e);w.parentNode.removeChild(w)}if(w.nodeType===1&&w.tagName!=="SLOT-FB"){w.hidden=(a=w["s-ih"])!=null?a:false}}}w&&typeof C["s-rf"]==="function"&&C["s-rf"](C)}else if(w.nodeType===1){w.hidden=true}}}if(Br){F(c.L)}O.l&=-2;rn.length=0}if(!Ur&&!(l.l&1)&&o["s-cr"]){var R=c.L.__childNodes||c.L.childNodes;for(var T=0,L=R;T<L.length;T++){var D=L[T];if(D["s-hn"]!==Pr&&!D["s-sh"]){if(e&&D["s-ih"]==null){D["s-ih"]=(u=D.hidden)!=null?u:false}if(D.nodeType===1){D.hidden=true}else if(D.nodeType===3&&!!D.nodeValue.trim()){var P=_.document.createComment("s-nt-"+D.nodeValue);P["s-sn"]=D["s-sn"];an(D.parentNode,P,D,e);D.parentNode.removeChild(D)}}}}Fr=void 0;fn()};var on=function(r,n){if(n&&!r.B&&n["s-p"]){var e=n["s-p"].push(new Promise((function(t){return r.B=function(){n["s-p"].splice(e-1,1);t()}})))}};var ln=function(r,n){{r.l|=16}if(r.l&4){r.l|=512;return}on(r,r.H);var e=function(){return vn(r,n)};if(n){queueMicrotask((function(){e()}));return}return L(e)};var vn=function(r,n){var e=r.$hostElement$;var t=vr("scheduleUpdate",r.t.O);var i=r.o;if(!i){throw new Error("Can't render component <".concat(e.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var f;if(n){{if(r.I){r.I=false;yn(i,"connectedCallback",void 0,e)}if(r.j.length){r.j.forEach((function(r){return r(e)}))}}f=yn(i,"componentWillLoad",void 0,e)}else{f=yn(i,"componentWillUpdate",void 0,e)}f=sn(f,(function(){return yn(i,"componentWillRender",void 0,e)}));t();return sn(f,(function(){return dn(r,i,n)}))};var sn=function(r,n){return cn(r)?r.then(n).catch((function(r){console.error(r);n()})):n()};var cn=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var dn=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,f,a,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;f=vr("update",r.t.O);a=i["s-rc"];if(t){br(r)}u=vr("render",r.t.O);{hn(r,n,i,t)}if(a){a.map((function(r){return r()}));i["s-rc"]=void 0}u();f();{o=(e=i["s-p"])!=null?e:[];l=function(){return pn(r)};if(o.length===0){l()}else{Promise.all(o).then(l).catch(l);r.l|=4;o.length=0}}return[2]}))}))};var hn=function(r,n,e,t){try{n=n.render();{r.l&=-17}{r.l|=2}{{{un(r,n,t)}}}}catch(n){d(n,r.$hostElement$)}return null};var pn=function(r){var n=r.t.O;var e=r.$hostElement$;var t=vr("postUpdate",n);var i=r.o;var f=r.H;yn(i,"componentDidRender",void 0,e);if(!(r.l&64)){r.l|=64;{mn(e)}yn(i,"componentDidLoad",void 0,e);t();{r._(e);if(!f){bn()}}}else{yn(i,"componentDidUpdate",void 0,e);t()}{r.p(e)}{if(r.B){r.B();r.B=void 0}if(r.l&512){T((function(){return ln(r,false)}))}r.l&=-517}};var bn=function(r){T((function(){return Ar(_,"appload",{detail:{namespace:t}})}))};var yn=function(r,n,e,t){if(r&&r[n]){try{return r[n](e)}catch(r){d(r,t)}}return void 0};var mn=function(r){var n;return r.classList.add((n=i.hydratedSelectorName)!=null?n:"hydrated")};var wn=function(r,n){return l(r).u.get(n)};var gn=function(r,n,e,t){var i=l(r);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(t.O,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var f=i.$hostElement$;var a=i.u.get(n);var u=i.l;var o=i.o;e=Cr(e,t.i[n][0],!!(t.l&64));var v=Number.isNaN(a)&&Number.isNaN(e);var s=e!==a&&!v;if((!(u&8)||a===void 0)&&s){i.u.set(n,e);if(t.W){var c=t.W[n];if(c){c.map((function(r){try{var t=Object.entries(r)[0],l=t[0],v=t[1];if(u&128||v&1){if(!o){i.j.push((function(){i.o[l](e,a,n)}))}else{o[l](e,a,n)}}}catch(r){d(r,f)}}))}}if(u&2){if(o.componentShouldUpdate){var h=o.componentShouldUpdate(e,a,n);if(h===false&&!(u&16)){return}}if(!(u&16)){ln(i,false)}}}};var _n=function(r,n,e){var t,f;var a=r.prototype;if(n.l&64&&e&1){g.forEach((function(r){Object.defineProperty(a,r,{value:function(){var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}var t;var i=l(this);var f=i==null?void 0:i.o;if(!f){(t=i==null?void 0:i.m)==null?void 0:t.then((function(e){var t=e[r];typeof t==="function"&&t.call.apply(t,__spreadArray([e],n,false))}))}else{var a=f[r];typeof a==="function"&&a.call.apply(a,__spreadArray([f],n,false))}}})}))}if(n.i||i.propChangeCallback){{if(r.watchers&&!n.W){n.W=r.watchers}if(r.deserializers&&!n.V){n.V=r.deserializers}if(r.serializers&&!n.q){n.q=r.serializers}}var u=Object.entries((t=n.i)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){var f=Object.getOwnPropertyDescriptor(a,t)||{},u=f.get,o=f.set;if(u)n.i[t][0]|=2048;if(o)n.i[t][0]|=4096;if(e&1||!u){Object.defineProperty(a,t,{get:function(){{if((n.i[t][0]&2048)===0){return wn(this,t)}var r=l(this);var e=r?r.o:a;if(!e)return;return e[t]}},configurable:true,enumerable:true})}Object.defineProperty(a,t,{set:function(r){var f=this;var a=l(this);if(!a){return}if(o){var u=i&32?this[t]:a.$hostElement$[t];if(typeof u==="undefined"&&a.u.get(t)){r=a.u.get(t)}o.apply(this,[Cr(r,i,!!(n.l&64))]);r=i&32?this[t]:a.$hostElement$[t];gn(this,t,r,n);return}{if((e&1)===0||(n.i[t][0]&4096)===0){gn(this,t,r,n);if(e&1&&!a.o){a.j.push((function(){if(n.i[t][0]&4096&&a.o[t]!==a.u.get(t)){a.o[t]=r}}))}return}var v=function(){var e=a.o[t];if(!a.u.get(t)&&e){a.u.set(t,e)}a.o[t]=Cr(r,i,!!(n.l&64));gn(f,t,a.o[t],n)};if(a.o){v()}else{a.j.push((function(){v()}))}}}})}else if(e&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}var e;var i=l(this);return(e=i==null?void 0:i.h)==null?void 0:e.then((function(){var n;return(n=i.o)==null?void 0:n[t].apply(n,r)}))}})}}));if(e&1){var o=new Map;a.attributeChangedCallback=function(r,e,t){var f=this;O.jmp((function(){var v;var s=o.get(r);var c=l(f);if(f.hasOwnProperty(s)&&i.lazyLoad){t=f[s];delete f[s]}if(a.hasOwnProperty(s)&&typeof f[s]==="number"&&f[s]==t){return}else if(s==null){var d=c==null?void 0:c.l;if(c&&d&&!(d&8)&&t!==e){var h=c.o;var p=(v=n.W)==null?void 0:v[r];p==null?void 0:p.forEach((function(n){var i=Object.entries(n)[0],f=i[0],a=i[1];if(h[f]!=null&&(d&128||a&1)){h[f].call(h,t,e,r)}}))}return}var b=u.find((function(r){var n=r[0];return n===s}));if(b&&b[1][0]&4){t=t===null||t==="false"?false:true}var y=Object.getOwnPropertyDescriptor(a,s);if(t!=f[s]&&(!y.get||!!y.set)){f[s]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((f=n.W)!=null?f:{}),true),u.filter((function(r){var n=r[0],e=r[1];return e[0]&31})).map((function(r){var e=r[0],t=r[1];var i;var f=t[1]||e;o.set(f,e);if(t[0]&512){(i=n.U)==null?void 0:i.push([e,f])}return f})),true)))}}return r};var jn=function(r,n,t,f){return __awaiter(e,void 0,void 0,(function(){var e,f,a,u,o,l,v,s,c,h,y,m,w;return __generator(this,(function(g){switch(g.label){case 0:g.trys.push([0,7,,8]);if(!((n.l&32)===0))return[3,6];n.l|=32;f=t.S;if(!f)return[3,4];a=p(t,n);if(!(a&&"then"in a))return[3,2];u=sr();return[4,a];case 1:e=g.sent();u();return[3,3];case 2:e=a;g.label=3;case 3:if(!e){throw new Error('Constructor for "'.concat(t.O,"#").concat(n.G,'" was not found'))}if(!e.isProxied){{t.W=e.watchers;t.q=e.serializers;t.V=e.deserializers}_n(e,t,2);e.isProxied=true}o=vr("createInstance",t.O);{n.l|=8}try{new e(n)}catch(n){d(n,r)}{n.l&=-9}{n.l|=128}o();l=t.l&4;if(!l){On(n.o,r)}else{n.I=true}return[3,5];case 4:e=r.constructor;v=r.localName;customElements.whenDefined(v).then((function(){return n.l|=128}));g.label=5;case 5:if(e&&e.style){s=void 0;if(typeof e.style==="string"){s=e.style}c=yr(t);if(!b.has(c)||i.hotModuleReplacement){h=vr("registerStyles",t.O);hr(c,s,!!(t.l&1));h()}}g.label=6;case 6:y=n.H;m=function(){return ln(n,true)};if(y&&y["s-rc"]){y["s-rc"].push(m)}else{m()}return[3,8];case 7:w=g.sent();d(w,r);if(n.B){n.B();n.B=void 0}if(n._){n._(r)}return[3,8];case 8:return[2]}}))}))};var On=function(r,n){{yn(r,"connectedCallback",void 0,n)}};var Sn=function(r){if((O.l&1)===0){var n=l(r);if(!n){return}var e=n.t;var t=vr("connectedCallback",e.O);if(!(n.l&1)){n.l|=1;{if(e.l&(4|8)){$n(r)}}{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){on(n,n.H=i);break}}}if(e.i){Object.entries(e.i).map((function(n){var e=n[0],t=n[1][0];if(t&31&&e in r&&r[e]!==Object.prototype[e]){var i=r[e];delete r[e];r[e]=i}}))}{jn(r,n,e)}}else{if(n==null?void 0:n.o){On(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return On(n.o,r)}))}}t()}};var $n=function(r){if(!_.document){return}var n=r["s-cr"]=_.document.createComment("");n["s-cn"]=true;an(r,n,r.firstChild)};var Cn=function(r,n){{yn(r,"disconnectedCallback",void 0,n||r)}};var kn=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((O.l&1)===0){n=l(r);if(n==null?void 0:n.o){Cn(n.o,r)}else if(n==null?void 0:n.m){n.m.then((function(){return Cn(n.o,r)}))}}if(dr.has(r)){dr.delete(r)}if(r.shadowRoot&&dr.has(r.shadowRoot)){dr.delete(r.shadowRoot)}return[2]}))}))};var Nn=r("b",(function(r,n){if(n===void 0){n={}}var e;if(!_.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=vr();var i=[];var f=n.exclude||[];var a=_.customElements;var u=_.document.head;var o=u.querySelector("meta[charset]");var v=_.document.createElement("style");var c=[];var d;var h=true;Object.assign(O,n);O.$=new URL(n.resourcesUrl||"./",_.document.baseURI).href;var p=false;r.map((function(r){r[1].map((function(n){var e,t,u;var o={l:n[0],O:n[1],i:n[2],Y:n[3]};if(o.l&4){p=true}{o.i=n[2]}{o.U=[]}{o.W=(e=n[4])!=null?e:{};o.q=(t=n[5])!=null?t:{};o.V=(u=n[6])!=null?u:{}}var v=Rn(o.O);var b=function(r){__extends(n,r);function n(n){var e=r.call(this,n)||this;e.hasRegisteredEventListeners=false;n=e;s(n,o);return e}n.prototype.connectedCallback=function(){var r=this;var n=l(this);if(!n){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{O.jmp((function(){return Sn(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;O.jmp((function(){return kn(r)}));O.raf((function(){var n;var e=l(r);if(!e){return}var t=c.findIndex((function(n){return n===r}));if(t>-1){c.splice(t,1)}if(((n=e==null?void 0:e.P)==null?void 0:n.L)instanceof Node&&!e.P.L.isConnected){delete e.P.L}}))};n.prototype.componentOnReady=function(){var r;return(r=l(this))==null?void 0:r.m};return n}(HTMLElement);if(!(o.l&1)&&o.l&256){{G(b.prototype)}}else{Y(b.prototype)}if(o.l&64){b.formAssociated=true}o.S=r[0];if(!f.includes(v)&&!a.get(v)){i.push(v);a.define(v,_n(b,o,1))}}))}));if(i.length>0){if(p){v.textContent+=m}{v.textContent+=i.sort()+y}if(v.innerHTML.length){v.setAttribute("data-styles","");var b=(e=O.C)!=null?e:cr(_.document);if(b!=null){v.setAttribute("nonce",b)}u.insertBefore(v,o?o.nextSibling:u.firstChild)}}h=false;if(c.length){c.map((function(r){return r.connectedCallback()}))}else{{O.jmp((function(){return d=setTimeout(bn,30)}))}}t()}));var An=r("F",(function(r,n){return n}));var xn=function(){function r(){}return r}();function En(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}return r.reduceRight((function(r,n){return n(r)}),xn)}var Mn=r("s",(function(r){return O.C=r}));function Rn(r){return r}}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,i){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]};return e(t,i)};return function(t,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");e(t,i);function s(){this.constructor=t}t.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();var __awaiter=this&&this.__awaiter||function(e,t,i,s){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function o(e){try{l(s["throw"](e))}catch(e){r(e)}}function l(e){e.done?i(e.value):a(e.value).then(n,o)}l((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,a,r,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=o(0),n["throw"]=o(1),n["return"]=o(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(t){return l([e,t])}}function l(o){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(i=0)),i)try{if(s=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{s=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var s=0,a=t.length,r;s<a;s++){if(r||!(s in t)){if(!r)r=Array.prototype.slice.call(t,0,s);r[s]=t[s]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-GjKJvOVG.system.js","./p-BkDQsB4R.system.js","./p-sDZFaZMN.system.js"],(function(e){"use strict";var t,i,s,a,r,n,o,l,d,c;return{setters:[function(e){t=e.M;i=e.r;s=e.c;a=e.h;r=e.a;n=e.g},function(e){o=e.f;l=e.s;d=e.r},function(e){c=e.v}],execute:function(){var f={Clear:"Clear",ShowPassword:"Show password",HidePassword:"Hide password"};var b={Close:"bds-icon-close",SightOn:"bds-icon-sight-on",SightOff:"bds-icon-sight-off"};function h(e){if(e===void 0){e="bds"}return"".concat(e,"-").concat(Math.random().toString(36).substr(2,9))}var u={TEXT:"text",PASSWORD:"password"};var x={OUTLINE:"outline",PLAIN:"plain"};var p={BLUR:"blur",CHANGE:"change",INPUT:"input",SUBMIT:"submit"};var v=function(){return'@charset "UTF-8";.bds-text-field__container,.bds-text-field__sublabel,.bds-text-field__actions,.bds-text-field__action,.bds-text-field__footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-text-field [slot=prefix],.bds-text-field__sublabel{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-xs)}.bds-text-field{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--boreal-spacing-2xs);width:var(--bds-text-field-width, 100%);font-family:var(--boreal-typography-font-family-primary);color:var(--boreal-text-default)}.bds-text-field__container{padding:var(--boreal-spacing-1xs);padding-left:0;height:var(--boreal-layout-l);border:1px solid var(--boreal-stroke-default-light);border-radius:var(--boreal-radius-xs);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;overflow:hidden}.bds-text-field__sublabel{gap:var(--boreal-spacing-3xs);padding-left:var(--boreal-spacing-xs);white-space:nowrap}.bds-text-field__sublabel em[class^=bds-icon-],.bds-text-field__sublabel em[class*=" bds-icon-"]{width:var(--boreal-icons-m);height:var(--boreal-icons-m);font-size:var(--boreal-typography-font-size-md);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field [slot=prefix]{padding-left:var(--boreal-spacing-xs);overflow:hidden;white-space:nowrap;-ms-flex-negative:0;flex-shrink:0}.bds-text-field__control{min-width:0;width:100%;border:none;outline:none;background:transparent;padding:0;padding-left:var(--boreal-spacing-xs);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-text-field__control::-webkit-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::-moz-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control:-ms-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::-ms-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control:disabled{cursor:not-allowed}.bds-text-field__actions{padding-left:var(--boreal-spacing-xs);gap:var(--boreal-spacing-3xs)}.bds-text-field__action{-ms-flex-pack:center;justify-content:center;background:none;border:none;padding:var(--boreal-spacing-3xs);cursor:pointer;color:var(--boreal-icon-default-light);line-height:1;-webkit-transition:color 0.3s ease, opacity 0.3s ease;transition:color 0.3s ease, opacity 0.3s ease}.bds-text-field__action--clear em[class^=bds-icon-],.bds-text-field__action--clear em[class*=" bds-icon-"]{width:var(--boreal-icons-s);height:var(--boreal-icons-s);font-size:var(--boreal-typography-font-size-xs);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field__action--password em[class^=bds-icon-],.bds-text-field__action--password em[class*=" bds-icon-"]{width:var(--boreal-icons-l);height:var(--boreal-icons-l);font-size:var(--boreal-typography-font-size-lg);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field__action:hover{color:var(--boreal-icon-default-dark)}.bds-text-field__action:focus-visible{-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-text-field__footer{-ms-flex-pack:justify;justify-content:space-between}.bds-text-field__char-count{-ms-flex-negative:0;flex-shrink:0;font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-xs);color:var(--boreal-text-default-light)}.bds-text-field--focused .bds-text-field__container{border-color:var(--boreal-stroke-focus);-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-text-field--error .bds-text-field__container{border-color:var(--boreal-stroke-danger-base)}.bds-text-field--disabled{cursor:not-allowed}.bds-text-field--disabled .bds-text-field__container{background-color:var(--boreal-ui-default-lighter);border-color:var(--boreal-stroke-default-light)}.bds-text-field--disabled .bds-text-field__sublabel{color:var(--boreal-text-disabled)}.bds-text-field--disabled .bds-text-field__sublabel em[class^=bds-icon-],.bds-text-field--disabled .bds-text-field__sublabel em[class*=" bds-icon-"]{color:var(--boreal-icon-disabled)}.bds-text-field--disabled .bds-text-field__control{color:var(--boreal-icon-disabled)}.bds-text-field--readonly .bds-text-field__container{background-color:transparent;border:none}.bds-text-field--readonly .bds-text-field__control::-webkit-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::-moz-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control:-ms-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::-ms-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--plain .bds-text-field__container{border-color:transparent}.bds-text-field--plain.bds-text-field--focused .bds-text-field__container{border-color:var(--boreal-stroke-focus)}.bds-text-field--clear-on-hover .bds-text-field__action--clear{opacity:0;pointer-events:none}.bds-text-field--clear-on-hover:hover .bds-text-field__action--clear{opacity:1;pointer-events:auto}'};var g=e("bds_text_field",function(e){__extends(t,e);function t(t){var a=e.call(this)||this;i(a,t);a.valueChange=s(a,"valueChange");a.bdsInput=s(a,"bdsInput");a.bdsChange=s(a,"bdsChange");a.bdsFocus=s(a,"bdsFocus");a.bdsBlur=s(a,"bdsBlur");a.bdsClear=s(a,"bdsClear");a.bdsValidationChange=s(a,"bdsValidationChange");if(t.$hostElement$["s-ei"]){a.internals=t.$hostElement$["s-ei"]}else{a.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=a.internals}a.name="";a.disabled=false;a.required=false;a.isDisabled=false;a.value="";a.error=false;a.errorMessage="";a.customValidators=[];a.validationTiming=p.BLUR;a.type=u.TEXT;a.variant=x.OUTLINE;a.placeholder="";a.readOnly=false;a.autocomplete="off";a.pattern="";a.minLength=0;a.maxLength=0;a.label="";a.sublabel="";a.icon="";a.helperText="";a.info="";a.clearable=false;a.clearOnHover=false;a.charCount=0;a.counter=false;a.customWidth="";a.focused=false;a.showPassword=false;a.touched=false;a.dirty=false;a.currentCharCount=0;a.validationError=false;a.validationMessage="";a._valueAtFocus="";a._id=h("bds-text-field");a.invalidHandler=function(e){e.preventDefault();a.validationError=true;a.validationMessage=a.internals.validationMessage;a.bdsValidationChange.emit({valid:false,validity:a.internals.validity,value:a.value,touched:a.touched,dirty:a.dirty})};return a}t.prototype.checkValidity=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.internals.checkValidity()]}))}))};t.prototype.reportValidity=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.internals.reportValidity()]}))}))};t.prototype.onDisabledChange=function(e){this.isDisabled=e};t.prototype.checkPropValues=function(){c(Object.values(u),u.TEXT,this.el,"type");c(Object.values(x),x.OUTLINE,this.el,"variant");c(Object.values(p),p.BLUR,this.el,"validationTiming")};t.prototype.componentWillLoad=function(){this.checkPropValues();this.isDisabled=this.disabled;this.currentCharCount=this.value.length};t.prototype.componentDidLoad=function(){this.el.addEventListener("invalid",this.invalidHandler)};t.prototype.disconnectedCallback=function(){this.el.removeEventListener("invalid",this.invalidHandler)};t.prototype.onCustomValidatorsChange=function(){this.updateValidity()};t.prototype.onValueChange=function(e){l(this.internals,e);this.currentCharCount=e.length;this.updateValidity();this.valueChange.emit(e)};t.prototype.formAssociatedCallback=function(){l(this.internals,this.value);this.updateValidity()};t.prototype.formResetCallback=function(){this.value="";this.touched=false;this.dirty=false;this.currentCharCount=0;this.validationError=false;this.validationMessage="";l(this.internals,null);this.updateValidity()};t.prototype.formStateRestoreCallback=function(e,t){this.value=typeof e==="string"?e:"";l(this.internals,this.value);this.updateValidity()};t.prototype.updateValidity=function(e){if(e===void 0){e=false}var t=d(this.internals,__spreadArray(__spreadArray([],this.validators,true),this.customValidators,true),this.el);if(e){this.validationError=!t;this.validationMessage=t?"":this.internals.validationMessage;this.bdsValidationChange.emit({valid:t,validity:this.internals.validity,value:this.value,touched:this.touched,dirty:this.dirty})}};t.prototype.handleInput=function(e){this.value=e.target.value;this.dirty=true;this.bdsInput.emit({value:this.value,event:e});if(this.validationTiming===p.INPUT){this.updateValidity(true)}};t.prototype.handleChange=function(e){this.bdsChange.emit({value:this.value,event:e});if(this.validationTiming===p.CHANGE){this.updateValidity(true)}};t.prototype.handleFocus=function(e){this.focused=true;this._valueAtFocus=this.value;this.bdsFocus.emit({event:e})};t.prototype.handleBlur=function(e){this.focused=false;this.touched=true;this.bdsBlur.emit({event:e});if(this.validationTiming===p.BLUR){this.updateValidity(true)}else if(this.validationTiming===p.CHANGE&&this.value!==this._valueAtFocus){this.updateValidity(true)}};t.prototype.handleShowPassword=function(){this.showPassword=!this.showPassword};t.prototype.handleClear=function(){var e;this.value="";this.dirty=true;this.validationError=false;this.validationMessage="";this.bdsClear.emit();(e=this.el.querySelector("input"))===null||e===void 0?void 0:e.focus()};t.prototype.handleMouseDown=function(e){if(this.readOnly){e.preventDefault()}};Object.defineProperty(t.prototype,"validators",{get:function(){var e=this;return[{key:"valueMissing",isValid:function(){return!e.required||e.value!==""},message:"This field is required. Please fill it out."},{key:"tooShort",isValid:function(){return e.minLength===0||e.value.length>=e.minLength},message:"Please enter at least ".concat(this.minLength," characters.")},{key:"patternMismatch",isValid:function(){if(e.pattern===""||e.value==="")return true;try{return new RegExp(e.pattern).test(e.value)}catch(e){return true}},message:"Please match the requested format."}]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"effectiveMaxLength",{get:function(){if(this.maxLength!==0)return this.maxLength;if(this.counter&&this.charCount>0)return this.charCount;return undefined},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"classMap",{get:function(){return{"bds-text-field":true,"bds-text-field--error":this.error||this.validationError,"bds-text-field--disabled":this.isDisabled,"bds-text-field--focused":this.focused,"bds-text-field--readonly":this.readOnly,"bds-text-field--plain":this.variant===x.PLAIN,"bds-text-field--clear-on-hover":this.clearOnHover}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hostStyle",{get:function(){return this.customWidth!==""?{"--bds-text-field-width":this.customWidth}:undefined},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"iconClear",{get:function(){return this.clearable||this.clearOnHover?b.Close:""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"showPasswordIcon",{get:function(){return this.showPassword?b.SightOn:b.SightOff},enumerable:false,configurable:true});t.prototype.render=function(){var e=this;var t="".concat(this._id,"-label");var i="".concat(this._id,"-helper");var s=(this.clearable||this.clearOnHover)&&this.value!==""&&!this.isDisabled&&!this.readOnly;var n=this.error||this.validationError;var o=this.error&&this.errorMessage!==""?this.errorMessage:this.validationError&&this.validationMessage!==""?this.validationMessage:this.helperText;var l=o!==""||this.counter&&this.charCount>0;var d=this.isDisabled?"disabled":n?"error":"default";return a(r,{key:"8fcf734b92dfa2ad75a32bef27efea78bd61dd63",class:this.classMap,style:this.hostStyle,tabIndex:-1,onFocus:function(){var t;return!e.readOnly&&((t=e.el.querySelector("input"))===null||t===void 0?void 0:t.focus())}},this.label!==""&&a("bds-typography",{key:"d50b6407278dd93b52fbbdbbc5e999a1185d4649",id:t,variant:"label",htmlFor:this._id,isRequired:this.required,tooltipText:this.info!==""?this.info:undefined,state:d},this.label),a("div",{key:"89dc5c7830197786e7dc67b87f64a0b63c8a8c84",class:"bds-text-field__container"},(this.icon!==""||this.sublabel!=="")&&a("span",{key:"a4139e0ce3b3d37bb33d55b5811e439974ed9d53",class:"bds-text-field__sublabel"},this.icon!==""&&a("em",{key:"5fc8f5a49b348fe07c63242243274946e21aa782",class:this.icon}),this.sublabel),a("slot",{key:"a8f62dba555a26aba3b1105402f0afca1378c83a",name:"prefix"}),a("input",{key:"ba2161c8d56c42847c7006d1742a2b60613f4628",id:this._id,class:"bds-text-field__control","aria-labelledby":this.label!==""?t:undefined,"aria-describedby":l&&o!==""?i:undefined,"aria-invalid":this.error||this.validationError?"true":undefined,"aria-required":this.required?"true":undefined,type:this.type===u.PASSWORD&&this.showPassword?u.TEXT:this.type,value:this.value,disabled:this.isDisabled,readOnly:this.readOnly,tabIndex:this.readOnly?-1:undefined,placeholder:this.placeholder,autocomplete:this.autocomplete,pattern:this.pattern!==""?this.pattern:undefined,minLength:this.minLength!==0?this.minLength:undefined,maxLength:this.effectiveMaxLength,onMouseDown:function(t){return e.handleMouseDown(t)},onInput:function(t){return e.handleInput(t)},onChange:function(t){return e.handleChange(t)},onFocus:function(t){return e.handleFocus(t)},onBlur:function(t){return e.handleBlur(t)}}),(s||this.type===u.PASSWORD)&&a("div",{key:"c9ae74b2be87e2759d60ad69c9c91b95bc199163",class:"bds-text-field__actions"},s&&a("button",{key:"d94534386505f9c54aabe892aec58d81b6a0ea94",class:"bds-text-field__action bds-text-field__action--clear",type:"button","aria-label":f.Clear,onClick:function(){return e.handleClear()}},a("em",{key:"7899ffad5be71b731ae8ead1d5601e3fc6b5f6a5",class:this.iconClear})),this.type===u.PASSWORD&&a("button",{key:"612aff7de193d9f61b955e686484c13baca3ff57",class:"bds-text-field__action bds-text-field__action--password",type:"button","aria-label":this.showPassword?f.HidePassword:f.ShowPassword,onClick:function(){return e.handleShowPassword()}},a("em",{key:"e886085b840a351a7455a1adb685996835e47118",class:this.showPasswordIcon})))),l&&a("div",{key:"9b47bbaff802d0c4125e45c87f1e7366418dfdcc",class:"bds-text-field__footer"},o!==""&&a("bds-typography",{key:"64265da85a16152af33b3f94c05e4d8562dc26df",id:i,variant:"helper",state:d},o),this.counter&&this.charCount>0&&a("span",{key:"2a264545ba46b8d6908adabe729a1256334535ef",class:"bds-text-field__char-count"},this.currentCharCount,"/",this.charCount)))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:[{onDisabledChange:0}],type:[{checkPropValues:0}],variant:[{checkPropValues:0}],validationTiming:[{checkPropValues:0}],customValidators:[{onCustomValidatorsChange:0}],value:[{onValueChange:0}]}},enumerable:false,configurable:true});return t}(t(o)));g.style=v()}}}));
@@ -1 +0,0 @@
1
- import{r as o,c as t,h as r,g as b}from"./p-D4EFsvs1.js";import{C as a}from"./p-BhTPNsBb.js";import{a as e,b as s,B as n}from"./p-C8mRvnTA.js";import{v as d}from"./p-vfAIdwy0.js";const i={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"},u=class{constructor(r){o(this,r),this.bdsClick=t(this,"bdsClick"),r.$hostElement$["s-ei"]?this.internals=r.$hostElement$["s-ei"]:(this.internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this.internals),this.currentState=a.DEFAULT,this.label="",this.disabled=!1,this.name="",this.type=e.BUTTON,this.color=i.DEFAULT,this.variant=s.DEFAULT,this.size=n.MEDIUM,this.loading=!1,this.disclosure=!1,this.handleKeyDown=o=>{"Enter"!==o.key&&" "!==o.key||(this.currentState=a.ACTIVE,o.preventDefault(),this.bdsClick.emit(o))},this.handleKeyUp=()=>{this.currentState=a.DEFAULT},this.handleClick=o=>{o.preventDefault(),o.stopPropagation(),this.disabled||this.loading||(this.type===e.SUBMIT||this.type===e.RESET?this.processFormClick():this.bdsClick.emit(o))}}checkPropValues(){d(Object.values(e),e.BUTTON,this.el,"type"),d(Object.values(i),i.DEFAULT,this.el,"color"),d(Object.values(s),s.DEFAULT,this.el,"variant"),d(Object.values(n),n.MEDIUM,this.el,"size")}componentWillLoad(){this.checkPropValues()}componentDidLoad(){this.setupFormAssociation()}setupFormAssociation(){const o=this.el.closest("form");this.internalForm=(this.internals&&"form"in this.internals?this.internals.form:null)||o||void 0}processFormClick(){if(void 0===this.internalForm)return void console.warn("[BorealDS Button] No form found for submit/reset action. Please ensure the button is within a form or that the form is properly associated.");const o={[e.SUBMIT]:()=>{"function"==typeof this.internalForm?.requestSubmit?this.internalForm.requestSubmit():this.internalForm?.submit()},[e.RESET]:()=>this.internalForm?.reset()}[this.type];"function"==typeof o&&o()}get getClassMap(){return{"bds-button":!0,"bds-button--is-disabled":this.disabled,"bds-button--is-loading":this.loading,[`bds-button--state-${this.currentState}`]:!0,[`bds-button--${this.color}`]:!0,[`bds-button--var-${this.variant}`]:!0,[`bds-button--size-${this.size}`]:!0}}render(){return r("button",{key:"4f71bb10d1910ea7b1fc0d64eedb6269e7049a89",name:this.name,class:this.getClassMap,type:this.type,disabled:this.disabled||this.loading,"aria-label":this.label||void 0,"aria-disabled":this.disabled||this.loading,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},r("div",{key:"e28da0b776917c6a2c0efc6c7140a2bfa979b708",class:"bds-button__content"},r("span",{key:"ce3d60b504bbf38dc7116560dbfbe51c955f79db",class:"bds-button__content-icon bds-button__content-icon--start"},r("slot",{key:"23b6bbb9d4fbf8ad5e0e584cddaac477edf4a91e",name:"icon"})),r("slot",{key:"adcdc5d87a8db4e346d272b843966405692a2a32"}),r("span",{key:"c908b3a8a18ba4cce854ee20d064178f6420d007",class:"bds-button__content-badge"},r("slot",{key:"ce66f69366dc7436a8f8ca1b2b8f55b91a225ec8",name:"badge"})),this.disclosure&&r("span",{key:"921c0f144f2616da238356705c1e5ff634406b87",class:"bds-button__content-icon"},r("i",{key:"9dc7a891ac4fcb1a73113aeae83976d74cff0c2e",class:"bds-icon-chevron-down"}))))}static get formAssociated(){return!0}get el(){return b(this)}static get watchers(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}}};u.style='@charset "UTF-8";bds-button{position:relative;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.bds-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-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;margin:var(--boreal-spacing-2xs) var(--boreal-spacing-3xs);outline:none;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-semibold);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;vertical-align:middle}.bds-button .bds-button__content{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-2xs)}.bds-button--is-loading{pointer-events:none;position:relative;color:transparent !important}.bds-button--is-loading::after{position:absolute;content:" ";-webkit-box-sizing:inherit;box-sizing:inherit;-webkit-animation:rotateSpinner 0.5s linear infinite;animation:rotateSpinner 0.5s linear infinite;border-radius:9999px;display:block;height:1em;width:1em;rotate:45deg;left:calc(50% - 0.5em);top:calc(50% - 0.5em);border:3px solid;border-right-color:transparent;border-top-color:transparent}.bds-button--size-small{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs);line-height:var(--boreal-typography-line-height-xs);height:26px}.bds-button--size-small .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-small .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-xs)}.bds-button--size-small .bds-button__content-icon:empty{display:none}.bds-button--size-small .bds-button__content{}.bds-button--size-small .bds-button__content-badge:empty{display:none}.bds-button--size-small .bds-button__content-badge{display:none}.bds-button--size-medium{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-sm);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-1xs);line-height:var(--boreal-typography-line-height-sm);height:32px}.bds-button--size-medium .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-medium .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-sm)}.bds-button--size-medium .bds-button__content-icon:empty{display:none}.bds-button--size-medium .bds-button__content{}.bds-button--size-medium .bds-button__content-badge:empty{display:none}.bds-button--size-large{border-radius:var(--boreal-radius-xs);font-size:var(--boreal-typography-font-size-md);padding:var(--boreal-spacing-xs);line-height:var(--boreal-typography-line-height-md);height:44px}.bds-button--size-large .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-large .bds-button__content-icon{display:-ms-flexbox;display:flex;font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-md)}.bds-button--size-large .bds-button__content-icon:empty{display:none}.bds-button--size-large .bds-button__content{}.bds-button--size-large .bds-button__content-badge:empty{display:none}.bds-button.bds-button--var-default.bds-button--default{color:var(--boreal-text-default);background-color:var(--boreal-ui-inverse);border-color:transparent}.bds-button.bds-button--var-default.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-default.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-default.bds-button--default:active,.bds-button.bds-button--var-default.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-default.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-default.bds-button--primary{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--primary:hover{background-color:var(--boreal-ui-primary-dark);-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-button.bds-button--var-default.bds-button--primary:focus{background-color:var(--boreal-ui-primary-base);-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-button.bds-button--var-default.bds-button--primary:active,.bds-button.bds-button--var-default.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-dark);-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-button.bds-button--var-default.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-primary-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--success{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--success:hover{background-color:var(--boreal-ui-success-dark);-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-button.bds-button--var-default.bds-button--success:focus{background-color:var(--boreal-ui-success-base);-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-button.bds-button--var-default.bds-button--success:active,.bds-button.bds-button--var-default.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-dark);-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-button.bds-button--var-default.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-success-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-default.bds-button--error{color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-base);border-color:transparent}.bds-button.bds-button--var-default.bds-button--error:hover{background-color:var(--boreal-ui-danger-dark);-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-button.bds-button--var-default.bds-button--error:focus{background-color:var(--boreal-ui-danger-base);-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-button.bds-button--var-default.bds-button--error:active,.bds-button.bds-button--var-default.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-dark);-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-button.bds-button--var-default.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-inverse);background-color:var(--boreal-ui-danger-light);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-default.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-inverse);border-bottom-color:var(--boreal-text-inverse)}.bds-button.bds-button--var-outline{background-color:transparent}.bds-button.bds-button--var-outline.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:var(--boreal-stroke-default-light)}.bds-button.bds-button--var-outline.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-outline.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-outline.bds-button--default:active,.bds-button.bds-button--var-outline.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-outline.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:var(--boreal-stroke-default-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-outline.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:var(--boreal-ui-primary-base)}.bds-button.bds-button--var-outline.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-outline.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-outline.bds-button--primary:active,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-outline.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:var(--boreal-stroke-primary-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-outline.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:var(--boreal-stroke-success-base)}.bds-button.bds-button--var-outline.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-outline.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-outline.bds-button--success:active,.bds-button.bds-button--var-outline.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-outline.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:var(--boreal-stroke-success-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-outline.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:var(--boreal-stroke-danger-base)}.bds-button.bds-button--var-outline.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-outline.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-outline.bds-button--error:active,.bds-button.bds-button--var-outline.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-outline.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:var(--boreal-stroke-danger-light);-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-outline.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}.bds-button.bds-button--var-plain{background-color:transparent}.bds-button.bds-button--var-plain.bds-button--default{color:var(--boreal-text-default);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--default:hover{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-plain.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-plain.bds-button--default:active,.bds-button.bds-button--var-plain.bds-button--default.bds-button--state-active{background-color:var(--boreal-ui-default-lighter);-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-button.bds-button--var-plain.bds-button--default.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-disabled);background-color:var(--boreal-ui-inverse);border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--default.bds-button--is-loading::after{border-left-color:var(--boreal-text-disabled);border-bottom-color:var(--boreal-text-disabled)}.bds-button.bds-button--var-plain.bds-button--primary{color:var(--boreal-text-primary-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--primary:hover{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-plain.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-plain.bds-button--primary:active,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--state-active{background-color:var(--boreal-ui-primary-lighter);-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-button.bds-button--var-plain.bds-button--primary.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-primary-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--primary.bds-button--is-loading::after{border-left-color:var(--boreal-text-primary-light);border-bottom-color:var(--boreal-text-primary-light)}.bds-button.bds-button--var-plain.bds-button--success{color:var(--boreal-text-success-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--success:hover{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-plain.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-plain.bds-button--success:active,.bds-button.bds-button--var-plain.bds-button--success.bds-button--state-active{background-color:var(--boreal-ui-success-lighter);-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-button.bds-button--var-plain.bds-button--success.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-success-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--success.bds-button--is-loading::after{border-left-color:var(--boreal-text-success-light);border-bottom-color:var(--boreal-text-success-light)}.bds-button.bds-button--var-plain.bds-button--error{color:var(--boreal-text-danger-base);background-color:transparent;border-color:transparent}.bds-button.bds-button--var-plain.bds-button--error:hover{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-plain.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-plain.bds-button--error:active,.bds-button.bds-button--var-plain.bds-button--error.bds-button--state-active{background-color:var(--boreal-ui-danger-lighter);-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-button.bds-button--var-plain.bds-button--error.bds-button--is-disabled,.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading{cursor:not-allowed;color:var(--boreal-text-danger-light);background-color:transparent;border-color:transparent;-webkit-box-shadow:none;box-shadow:none}.bds-button.bds-button--var-plain.bds-button--error.bds-button--is-loading::after{border-left-color:var(--boreal-text-danger-light);border-bottom-color:var(--boreal-text-danger-light)}@-webkit-keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotateSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';export{u as bds_button}
@@ -1 +0,0 @@
1
- import{M as e,r as t,c as s,h as i,a,g as l}from"./p-D4EFsvs1.js";import{f as o,s as r,r as d}from"./p-Dy7QKP9e.js";import{v as h}from"./p-vfAIdwy0.js";const n={TEXT:"text",PASSWORD:"password"},b={OUTLINE:"outline",PLAIN:"plain"},c={BLUR:"blur",CHANGE:"change",INPUT:"input",SUBMIT:"submit"},f=class extends(e(o)){constructor(e){super(),t(this,e),this.valueChange=s(this,"valueChange"),this.bdsInput=s(this,"bdsInput"),this.bdsChange=s(this,"bdsChange"),this.bdsFocus=s(this,"bdsFocus"),this.bdsBlur=s(this,"bdsBlur"),this.bdsClear=s(this,"bdsClear"),this.bdsValidationChange=s(this,"bdsValidationChange"),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.name="",this.disabled=!1,this.required=!1,this.isDisabled=!1,this.value="",this.error=!1,this.errorMessage="",this.customValidators=[],this.validationTiming=c.BLUR,this.type=n.TEXT,this.variant=b.OUTLINE,this.placeholder="",this.readOnly=!1,this.autocomplete="off",this.pattern="",this.minLength=0,this.maxLength=0,this.label="",this.sublabel="",this.icon="",this.helperText="",this.info="",this.clearable=!1,this.clearOnHover=!1,this.charCount=0,this.counter=!1,this.customWidth="",this.focused=!1,this.showPassword=!1,this.touched=!1,this.dirty=!1,this.currentCharCount=0,this.validationError=!1,this.validationMessage="",this._valueAtFocus="",this._id=function(e="bds"){return`${e}-${Math.random().toString(36).substr(2,9)}`}("bds-text-field"),this.invalidHandler=e=>{e.preventDefault(),this.validationError=!0,this.validationMessage=this.internals.validationMessage,this.bdsValidationChange.emit({valid:!1,validity:this.internals.validity,value:this.value,touched:this.touched,dirty:this.dirty})}}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}onDisabledChange(e){this.isDisabled=e}checkPropValues(){h(Object.values(n),n.TEXT,this.el,"type"),h(Object.values(b),b.OUTLINE,this.el,"variant"),h(Object.values(c),c.BLUR,this.el,"validationTiming")}componentWillLoad(){this.checkPropValues(),this.isDisabled=this.disabled,this.currentCharCount=this.value.length}componentDidLoad(){this.el.addEventListener("invalid",this.invalidHandler)}disconnectedCallback(){this.el.removeEventListener("invalid",this.invalidHandler)}onCustomValidatorsChange(){this.updateValidity()}onValueChange(e){r(this.internals,e),this.currentCharCount=e.length,this.updateValidity(),this.valueChange.emit(e)}formAssociatedCallback(){r(this.internals,this.value),this.updateValidity()}formResetCallback(){this.value="",this.touched=!1,this.dirty=!1,this.currentCharCount=0,this.validationError=!1,this.validationMessage="",r(this.internals,null),this.updateValidity()}formStateRestoreCallback(e,t){this.value="string"==typeof e?e:"",r(this.internals,this.value),this.updateValidity()}updateValidity(e=!1){const t=d(this.internals,[...this.validators,...this.customValidators],this.el);e&&(this.validationError=!t,this.validationMessage=t?"":this.internals.validationMessage,this.bdsValidationChange.emit({valid:t,validity:this.internals.validity,value:this.value,touched:this.touched,dirty:this.dirty}))}handleInput(e){this.value=e.target.value,this.dirty=!0,this.bdsInput.emit({value:this.value,event:e}),this.validationTiming===c.INPUT&&this.updateValidity(!0)}handleChange(e){this.bdsChange.emit({value:this.value,event:e}),this.validationTiming===c.CHANGE&&this.updateValidity(!0)}handleFocus(e){this.focused=!0,this._valueAtFocus=this.value,this.bdsFocus.emit({event:e})}handleBlur(e){this.focused=!1,this.touched=!0,this.bdsBlur.emit({event:e}),(this.validationTiming===c.BLUR||this.validationTiming===c.CHANGE&&this.value!==this._valueAtFocus)&&this.updateValidity(!0)}handleShowPassword(){this.showPassword=!this.showPassword}handleClear(){this.value="",this.dirty=!0,this.validationError=!1,this.validationMessage="",this.bdsClear.emit(),this.el.querySelector("input")?.focus()}handleMouseDown(e){this.readOnly&&e.preventDefault()}get validators(){return[{key:"valueMissing",isValid:()=>!this.required||""!==this.value,message:"This field is required. Please fill it out."},{key:"tooShort",isValid:()=>0===this.minLength||this.value.length>=this.minLength,message:`Please enter at least ${this.minLength} characters.`},{key:"patternMismatch",isValid:()=>{if(""===this.pattern||""===this.value)return!0;try{return new RegExp(this.pattern).test(this.value)}catch{return!0}},message:"Please match the requested format."}]}get effectiveMaxLength(){return 0!==this.maxLength?this.maxLength:this.counter&&this.charCount>0?this.charCount:void 0}get classMap(){return{"bds-text-field":!0,"bds-text-field--error":this.error||this.validationError,"bds-text-field--disabled":this.isDisabled,"bds-text-field--focused":this.focused,"bds-text-field--readonly":this.readOnly,"bds-text-field--plain":this.variant===b.PLAIN,"bds-text-field--clear-on-hover":this.clearOnHover}}get hostStyle(){return""!==this.customWidth?{"--bds-text-field-width":this.customWidth}:void 0}get iconClear(){return this.clearable||this.clearOnHover?"bds-icon-close":""}get showPasswordIcon(){return this.showPassword?"bds-icon-sight-on":"bds-icon-sight-off"}render(){const e=`${this._id}-label`,t=`${this._id}-helper`,s=(this.clearable||this.clearOnHover)&&""!==this.value&&!this.isDisabled&&!this.readOnly,l=this.error&&""!==this.errorMessage?this.errorMessage:this.validationError&&""!==this.validationMessage?this.validationMessage:this.helperText,o=""!==l||this.counter&&this.charCount>0,r=this.isDisabled?"disabled":this.error||this.validationError?"error":"default";return i(a,{key:"8fcf734b92dfa2ad75a32bef27efea78bd61dd63",class:this.classMap,style:this.hostStyle,tabIndex:-1,onFocus:()=>!this.readOnly&&this.el.querySelector("input")?.focus()},""!==this.label&&i("bds-typography",{key:"d50b6407278dd93b52fbbdbbc5e999a1185d4649",id:e,variant:"label",htmlFor:this._id,isRequired:this.required,tooltipText:""!==this.info?this.info:void 0,state:r},this.label),i("div",{key:"89dc5c7830197786e7dc67b87f64a0b63c8a8c84",class:"bds-text-field__container"},(""!==this.icon||""!==this.sublabel)&&i("span",{key:"a4139e0ce3b3d37bb33d55b5811e439974ed9d53",class:"bds-text-field__sublabel"},""!==this.icon&&i("em",{key:"5fc8f5a49b348fe07c63242243274946e21aa782",class:this.icon}),this.sublabel),i("slot",{key:"a8f62dba555a26aba3b1105402f0afca1378c83a",name:"prefix"}),i("input",{key:"ba2161c8d56c42847c7006d1742a2b60613f4628",id:this._id,class:"bds-text-field__control","aria-labelledby":""!==this.label?e:void 0,"aria-describedby":o&&""!==l?t:void 0,"aria-invalid":this.error||this.validationError?"true":void 0,"aria-required":this.required?"true":void 0,type:this.type===n.PASSWORD&&this.showPassword?n.TEXT:this.type,value:this.value,disabled:this.isDisabled,readOnly:this.readOnly,tabIndex:this.readOnly?-1:void 0,placeholder:this.placeholder,autocomplete:this.autocomplete,pattern:""!==this.pattern?this.pattern:void 0,minLength:0!==this.minLength?this.minLength:void 0,maxLength:this.effectiveMaxLength,onMouseDown:e=>this.handleMouseDown(e),onInput:e=>this.handleInput(e),onChange:e=>this.handleChange(e),onFocus:e=>this.handleFocus(e),onBlur:e=>this.handleBlur(e)}),(s||this.type===n.PASSWORD)&&i("div",{key:"c9ae74b2be87e2759d60ad69c9c91b95bc199163",class:"bds-text-field__actions"},s&&i("button",{key:"d94534386505f9c54aabe892aec58d81b6a0ea94",class:"bds-text-field__action bds-text-field__action--clear",type:"button","aria-label":"Clear",onClick:()=>this.handleClear()},i("em",{key:"7899ffad5be71b731ae8ead1d5601e3fc6b5f6a5",class:this.iconClear})),this.type===n.PASSWORD&&i("button",{key:"612aff7de193d9f61b955e686484c13baca3ff57",class:"bds-text-field__action bds-text-field__action--password",type:"button","aria-label":this.showPassword?"Hide password":"Show password",onClick:()=>this.handleShowPassword()},i("em",{key:"e886085b840a351a7455a1adb685996835e47118",class:this.showPasswordIcon})))),o&&i("div",{key:"9b47bbaff802d0c4125e45c87f1e7366418dfdcc",class:"bds-text-field__footer"},""!==l&&i("bds-typography",{key:"64265da85a16152af33b3f94c05e4d8562dc26df",id:t,variant:"helper",state:r},l),this.counter&&this.charCount>0&&i("span",{key:"2a264545ba46b8d6908adabe729a1256334535ef",class:"bds-text-field__char-count"},this.currentCharCount,"/",this.charCount)))}static get formAssociated(){return!0}get el(){return l(this)}static get watchers(){return{disabled:[{onDisabledChange:0}],type:[{checkPropValues:0}],variant:[{checkPropValues:0}],validationTiming:[{checkPropValues:0}],customValidators:[{onCustomValidatorsChange:0}],value:[{onValueChange:0}]}}};f.style='@charset "UTF-8";.bds-text-field__container,.bds-text-field__sublabel,.bds-text-field__actions,.bds-text-field__action,.bds-text-field__footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-text-field [slot=prefix],.bds-text-field__sublabel{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-xs)}.bds-text-field{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--boreal-spacing-2xs);width:var(--bds-text-field-width, 100%);font-family:var(--boreal-typography-font-family-primary);color:var(--boreal-text-default)}.bds-text-field__container{padding:var(--boreal-spacing-1xs);padding-left:0;height:var(--boreal-layout-l);border:1px solid var(--boreal-stroke-default-light);border-radius:var(--boreal-radius-xs);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;overflow:hidden}.bds-text-field__sublabel{gap:var(--boreal-spacing-3xs);padding-left:var(--boreal-spacing-xs);white-space:nowrap}.bds-text-field__sublabel em[class^=bds-icon-],.bds-text-field__sublabel em[class*=" bds-icon-"]{width:var(--boreal-icons-m);height:var(--boreal-icons-m);font-size:var(--boreal-typography-font-size-md);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field [slot=prefix]{padding-left:var(--boreal-spacing-xs);overflow:hidden;white-space:nowrap;-ms-flex-negative:0;flex-shrink:0}.bds-text-field__control{min-width:0;width:100%;border:none;outline:none;background:transparent;padding:0;padding-left:var(--boreal-spacing-xs);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-text-field__control::-webkit-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::-moz-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control:-ms-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::-ms-input-placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control::placeholder{color:var(--boreal-text-default-light)}.bds-text-field__control:disabled{cursor:not-allowed}.bds-text-field__actions{padding-left:var(--boreal-spacing-xs);gap:var(--boreal-spacing-3xs)}.bds-text-field__action{-ms-flex-pack:center;justify-content:center;background:none;border:none;padding:var(--boreal-spacing-3xs);cursor:pointer;color:var(--boreal-icon-default-light);line-height:1;-webkit-transition:color 0.3s ease, opacity 0.3s ease;transition:color 0.3s ease, opacity 0.3s ease}.bds-text-field__action--clear em[class^=bds-icon-],.bds-text-field__action--clear em[class*=" bds-icon-"]{width:var(--boreal-icons-s);height:var(--boreal-icons-s);font-size:var(--boreal-typography-font-size-xs);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field__action--password em[class^=bds-icon-],.bds-text-field__action--password em[class*=" bds-icon-"]{width:var(--boreal-icons-l);height:var(--boreal-icons-l);font-size:var(--boreal-typography-font-size-lg);line-height:1;-ms-flex-negative:0;flex-shrink:0;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.bds-text-field__action:hover{color:var(--boreal-icon-default-dark)}.bds-text-field__action:focus-visible{-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-text-field__footer{-ms-flex-pack:justify;justify-content:space-between}.bds-text-field__char-count{-ms-flex-negative:0;flex-shrink:0;font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-xs);color:var(--boreal-text-default-light)}.bds-text-field--focused .bds-text-field__container{border-color:var(--boreal-stroke-focus);-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-text-field--error .bds-text-field__container{border-color:var(--boreal-stroke-danger-base)}.bds-text-field--disabled{cursor:not-allowed}.bds-text-field--disabled .bds-text-field__container{background-color:var(--boreal-ui-default-lighter);border-color:var(--boreal-stroke-default-light)}.bds-text-field--disabled .bds-text-field__sublabel{color:var(--boreal-text-disabled)}.bds-text-field--disabled .bds-text-field__sublabel em[class^=bds-icon-],.bds-text-field--disabled .bds-text-field__sublabel em[class*=" bds-icon-"]{color:var(--boreal-icon-disabled)}.bds-text-field--disabled .bds-text-field__control{color:var(--boreal-icon-disabled)}.bds-text-field--readonly .bds-text-field__container{background-color:transparent;border:none}.bds-text-field--readonly .bds-text-field__control::-webkit-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::-moz-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control:-ms-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::-ms-input-placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--readonly .bds-text-field__control::placeholder{color:var(--boreal-text-default-darker)}.bds-text-field--plain .bds-text-field__container{border-color:transparent}.bds-text-field--plain.bds-text-field--focused .bds-text-field__container{border-color:var(--boreal-stroke-focus)}.bds-text-field--clear-on-hover .bds-text-field__action--clear{opacity:0;pointer-events:none}.bds-text-field--clear-on-hover:hover .bds-text-field__action--clear{opacity:1;pointer-events:auto}';export{f as bds_text_field}
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var t=function(e,o){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))t[o]=e[o]};return t(e,o)};return function(e,o){if(typeof o!=="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function r(){this.constructor=e}e.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}}();System.register(["./p-GjKJvOVG.system.js","./p-BIJhHSAt.system.js","./p-BHYhd1yq.system.js"],(function(t){"use strict";var e,o,r,n,i,a;return{setters:[function(t){e=t.M;o=t.r;r=t.h;n=t.a;i=t.g},function(t){a=t.a},null],execute:function(){var l=function(){return'@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;border: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)}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=top] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow::before{left:0}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow::before{left:0}'};var s=t("bds_tooltip",function(t){__extends(e,t);function e(e){var r=t.call(this)||this;o(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:"bottom",offset:(e=this.floatingOptions.offset)!==null&&e!==void 0?e:8,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||"bottom"},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,o;if(((e=t.middlewareData)===null||e===void 0?void 0:e.arrow)&&!this.disabled&&((o=this.arrowElement)===null||o===void 0?void 0:o.isConnected)){var r=t.middlewareData.arrow,n=r.x,i=r.y;Object.assign(this.arrowElement.style,{left:n!=null?"".concat(n,"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 r(n,{key:"65758ffb473363eadce15b09704224a95304dbf2",class:"tooltip"},r("div",{key:"d488e67b2da3c788ccf8eb9b9eeb273b9d1c58be",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&&r("div",{key:"de86ff5432b49a2e31d94c6c8e16f33327ef5baa",class:"tooltip-arrow",part:"arrow",ref:function(e){return t.arrowElement=e}}),r("slot",{key:"8428151ba6b9b835f721be33cc61b1bacdba7494"})))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return e}(e(a)));s.style=l()}}}));
@@ -1 +0,0 @@
1
- import{M as t,r as o,h as e,a as r,g as i}from"./p-D4EFsvs1.js";import{a}from"./p-BKRyWlfr.js";import"./p-DCXSEEVH.js";const l=class extends(t(a)){constructor(t){super(),o(this,t),this.multiline=!1,this.disabled=!1,this.floatingOptions={},this.isVisible=!1}get options(){return{placement:this.floatingOptions.placement??"bottom",offset:this.floatingOptions.offset??8,arrow:this.floatingOptions.hideArrow?void 0:this.arrowElement,strategy:"fixed"}}get hooks(){return{onPositionUpdate:t=>this.handlePosition(t),onBeforeShow:()=>this.validateShow(),onBeforeHide:t=>this.validateHide(t),subscribeToTrigger:t=>this.subscribe(t)}}get canShowArrow(){return!this.floatingOptions.hideArrow||!1}get getPlacement(){return this.floatingOptions.placement||"bottom"}validateShow(){return!this.disabled}validateHide(t){return!this.floatingOptions.stayOnHover||void 0===t||!t.isConnected||!this.floatingContent.contains(t)&&this.floatingContent!==t}handlePosition(t){this.floatingContent.setAttribute("data-placement",t.placement),this.setArrowPosition(t)}setArrowPosition(t){if(t.middlewareData?.arrow&&!this.disabled&&this.arrowElement?.isConnected){const{x:o,y:e}=t.middlewareData.arrow;Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=e?`${e}px`:""})}}get hasMultiline(){return void 0!==this.multiline&&this.multiline}get tooltipStyles(){return{"tooltip-content":!0,"tooltip-content--multiline":this.hasMultiline}}subscribe(t){void 0!==t&&(t.setAttribute("part","tooltip-trigger"),t.setAttribute("ariaDescribedBy","tooltip-content"),t.addEventListener("mouseenter",(()=>this.show())),t.addEventListener("mouseleave",(t=>this.hide(t.target))))}render(){return e(r,{key:"65758ffb473363eadce15b09704224a95304dbf2",class:"tooltip"},e("div",{key:"d488e67b2da3c788ccf8eb9b9eeb273b9d1c58be",id:"tooltip-content",part:"tooltip-content",class:this.tooltipStyles,popover:"manual",role:"tooltip","aria-hidden":this.isVisible?"false":"true","data-placement":this.getPlacement,"data-multiline":this.multiline,"data-hidearrow":this.canShowArrow,ref:t=>this.floatingContent=t},this.canShowArrow&&e("div",{key:"de86ff5432b49a2e31d94c6c8e16f33327ef5baa",class:"tooltip-arrow",part:"arrow",ref:t=>this.arrowElement=t}),e("slot",{key:"8428151ba6b9b835f721be33cc61b1bacdba7494"})))}get el(){return i(this)}};l.style='@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;border: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)}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=top] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow::before{left:0}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow::before{left:0}';export{l as bds_tooltip}
@@ -1 +0,0 @@
1
- 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 i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,a){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function n(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?r(t.value):i(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(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,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,i&&(o=l[0]&2?i["return"]:l[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;if(i=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;i=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1];o=l;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(l);break}if(o[2])r.ops.pop();r.trys.pop();continue}l=e.call(t,r)}catch(t){l=[6,t];i=0}finally{a=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-GjKJvOVG.system.js","./p-Dtp4O0H2.system.js","./p-BuxZeJbu.system.js"],(function(t,e){"use strict";var r,a,i,o,n,l;return{setters:[function(t){r=t.r;a=t.h;i=t.a;o=t.g},function(t){n=t.C},function(t){l=t.a}],execute:function(){var s={START:"start"};var h={XS:"xs",S:"sm",M:"md",L:"lg",XL:"xl"};var p={DISPLAY:"display",LINK:"link"};var y={P:"p",A:"a"};var g="download";var b={link:{states:[n.DISABLED],size:[h.S,h.M]},label:{states:[n.DISABLED],isRequired:true,canUseTooltip:true},heading:{canUseTooltip:true},subheading:{canUseTooltip:true},helper:{states:[n.ERROR]},display:{size:[h.XS,h.S,h.M,h.L,h.XL]}};var d=function(t,e){var r={a:{href:t.state!==n.DISABLED?t.sanitizedHref:null,target:t.target,download:t.isDownloadable?t.filename:null,rel:t.target==="_blank"?"noopener noreferrer":undefined},label:{htmlFor:t.htmlFor}};return r[e]||{}};var f=function(){return'@charset "UTF-8";.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 c=t("bds_typography",function(){function t(t){r(this,t);this.inheritedAttributes={};this.variant=p.DISPLAY;this.size=h.M;this.state=n.DEFAULT;this.customClass="";this.element=y.P;this.align=s.START;this.ellipsis=false;this.maxLines=1;this.tooltipText="";this.isRequired=false;this.htmlFor=undefined;this.href=null;this.target=null;this.isDownloadable=false;this.filename=g;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===y.A&&this.href!==null))return[3,2];return[4,this.updateSanitizedHref()];case 1:t.sent();t.label=2;case 2:this.inheritedAttributes=__assign({},l(this.el));return[2]}}))}))};Object.defineProperty(t.prototype,"getTagName",{get:function(){if(this.variant===p.LINK)return y.A;return this.element.toLowerCase()},enumerable:false,configurable:true});t.prototype.getVariantConfig=function(){var t;return(t=b[this.variant])!==null&&t!==void 0?t:{}};t.prototype.getAccessibilityTags=function(){var t=this.getVariantConfig().isRequired,e=t===void 0?null:t;var r=["a","label"].includes(this.getTagName);return{"aria-required":this.isRequired&&e,"aria-disabled":this.state===n.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.isRequired)&&this.isRequired),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({},d(this,t)),this.inheritedAttributes),this.getAccessibilityTags());var r=this.getVariantStateStyles();var o=this.getVariantConfig(),n=o.canUseTooltip,l=n===void 0?null:n,s=o.isRequired,h=s===void 0?null:s;return a(i,{key:"98e236475142f2be85fcc227cd507d6cb8648928",class:"bds-typography"},a(t,__assign({key:"eed74e216dc0832b5f4808ba72e1374198f60e1a",class:r,style:{webkitLineClamp:this.maxLines}},e),a("slot",{key:"cc073f2d2a3840970c62296379514884564c3473"}),this.isRequired&&h&&a("em",{key:"299a88d69856603b6e73af9567fa91b1a1e7434f",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&l&&a("span",{key:"c8fa478a8fbd4a70d0869b4c9d523a8a0e9803bf"},a("em",{key:"0f6869a6dd7ab04b19acee773e54687dbd070af0",class:"bds-typography__info-icon bds-icon-info-circle","aria-label":this.tooltipText}),a("bds-tooltip",{key:"ec2dfc33b119bc3f60ec52e8bd10fdb16ea5cc2a"},this.tooltipText))))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:[{updateSanitizedHref:0}]}},enumerable:false,configurable:true});return t}());c.style=f()}}}));
@@ -1 +0,0 @@
1
- import{M as e,r as o,c as s,h as b,a as c,g as r}from"./p-D4EFsvs1.js";import{s as a,f as t}from"./p-Dy7QKP9e.js";import{a as i}from"./p-CaHOghy5.js";const h=class extends(e(t)){constructor(e){super(),o(this,e),this.valueChange=s(this,"valueChange"),this.bdsChange=s(this,"bdsChange"),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.inheritedAttributes={},this.isDisabled=!1,this.disabled=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.error=!1,this.value="on",this.label="",this.handleClick=()=>{this.toggle()},this.handleKeyDown=e=>{" "===e.key&&(e.preventDefault(),this.toggle())}}componentWillLoad(){this.isDisabled=this.disabled,this.inheritedAttributes={...i(this.el)},this.syncFormValue()}onCheckedChange(){this.syncFormValue()}onDisabledChange(e){this.isDisabled=e}formAssociatedCallback(){this.syncFormValue()}formResetCallback(){this.checked=!1,this.indeterminate=!1,a(this.internals,null)}formStateRestoreCallback(e,o){this.checked=e===this.value,this.syncFormValue()}formDisabledCallback(e){this.isDisabled=e}syncFormValue(){a(this.internals,this.checked?this.value:null)}toggle(){this.isDisabled||(this.indeterminate=!1,this.checked=!this.checked,this.valueChange.emit(this.checked),this.bdsChange.emit({checked:this.checked,value:this.value}))}getAriaChecked(){return this.indeterminate?"mixed":this.checked?"true":"false"}renderCheckIcon(){return this.indeterminate?b("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M4 8h8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})):this.checked?b("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})):null}render(){return b(c,{key:"c65361a26d92b0eb0c7dba951a915e5c3bfe4dbe",class:{"bds-checkbox":!0,"bds-checkbox--checked":this.checked,"bds-checkbox--indeterminate":this.indeterminate,"bds-checkbox--error":this.error,"bds-checkbox--disabled":this.isDisabled},...this.inheritedAttributes,role:"checkbox","aria-checked":this.getAriaChecked(),"aria-disabled":this.isDisabled?"true":null,tabindex:this.isDisabled?-1:0,onClick:this.handleClick,onKeyDown:this.handleKeyDown},b("span",{key:"ab3ba51a82f980852a42eff1bf81b793518a7ec0",class:"bds-checkbox__box"},this.renderCheckIcon()),b("span",{key:"b25d1b1dd27098bbead5095610bbf16f6a3eabad",class:"bds-checkbox__label"},this.label?this.label:b("slot",null)))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{checked:[{onCheckedChange:0}],disabled:[{onDisabledChange:0}]}}};h.style='@charset "UTF-8";bds-checkbox{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:8px;cursor:pointer;outline:none}bds-checkbox .bds-checkbox__label{font-family:var(--boreal-typography-font-family-primary)}bds-checkbox .bds-checkbox__box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;border:2px solid var(--boreal-stroke-default-light);background:transparent;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;border-radius:4px}bds-checkbox:hover .bds-checkbox__box{border-color:var(--boreal-stroke-default-light)}bds-checkbox:focus-visible .bds-checkbox__box{border-color:var(--boreal-stroke-focus);outline:2px solid var(--boreal-stroke-focus);outline-offset:1px}bds-checkbox:active .bds-checkbox__box{border-color:var(--boreal-stroke-default-light);background:var(--boreal-bg-neutral);outline:2px solid var(--boreal-stroke-primary-light)}bds-checkbox.bds-checkbox--checked .bds-checkbox__box,bds-checkbox.bds-checkbox--indeterminate .bds-checkbox__box{border-color:var(--boreal-ui-primary-base);background:var(--boreal-ui-primary-base);color:#fff}bds-checkbox.bds-checkbox--checked:hover .bds-checkbox__box,bds-checkbox.bds-checkbox--indeterminate:hover .bds-checkbox__box{border-color:var(--boreal-ui-primary-dark);background:var(--boreal-ui-primary-dark)}bds-checkbox.bds-checkbox--checked:focus-visible .bds-checkbox__box,bds-checkbox.bds-checkbox--indeterminate:focus-visible .bds-checkbox__box{border-color:var(--boreal-ui-primary-base);background:var(--boreal-ui-primary-base);outline:2px solid var(--boreal-stroke-focus)}bds-checkbox.bds-checkbox--checked:active .bds-checkbox__box,bds-checkbox.bds-checkbox--indeterminate:active .bds-checkbox__box{border-color:var(--boreal-ui-primary-dark);background:var(--boreal-ui-primary-dark)}bds-checkbox.bds-checkbox--error .bds-checkbox__box{border-color:var(--boreal-stroke-danger-base)}bds-checkbox.bds-checkbox--error.bds-checkbox--checked .bds-checkbox__box,bds-checkbox.bds-checkbox--error.bds-checkbox--indeterminate .bds-checkbox__box{border-color:var(--boreal-stroke-danger-base);background:var(--boreal-stroke-danger-base)}bds-checkbox.bds-checkbox--disabled{pointer-events:none}bds-checkbox.bds-checkbox--disabled .bds-checkbox__box{border-color:var(--boreal-stroke-default-light);background:var(--boreal-bg-neutral)}bds-checkbox.bds-checkbox--disabled .bds-checkbox__label{color:var(--boreal-text-disabled)}bds-checkbox.bds-checkbox--disabled.bds-checkbox--checked .bds-checkbox__box,bds-checkbox.bds-checkbox--disabled.bds-checkbox--indeterminate .bds-checkbox__box{border-color:var(--boreal-ui-primary-light);background:var(--boreal-ui-primary-light);color:#fff}';export{h as bds_checkbox}
@@ -1 +0,0 @@
1
- System.register([],(function(e){"use strict";return{execute:function(){e("v",n);function n(e,n,o,t){var r=o[t];if(e.includes(r))return;o[t]=n;console.warn('[BorealDS] Invalid value "'.concat(r,'" for prop "').concat(t,'" on <').concat(o.tagName.toLowerCase(),">. Expected one of: ").concat(e.join(", "),"."))}}}}));
@@ -1 +0,0 @@
1
- function o(o,e,n,a){const c=n[a];o.includes(c)||(n[a]=e,console.warn(`[BorealDS] Invalid value "${c}" for prop "${a}" on <${n.tagName.toLowerCase()}>. Expected one of: ${o.join(", ")}.`))}export{o as v}
@@ -1,152 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-BcSjvXJk.js');
4
- var anchored_mixin = require('./anchored.mixin-CnIwkaUi.js');
5
- require('./floating.mixin-Bje4320w.js');
6
-
7
- const bdsTooltipCss = () => `@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;border: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)}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=top] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow::before{top:0}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow::before{left:0}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow::before{left:0}`;
8
-
9
- const BdsTooltip = class extends index.Mixin(anchored_mixin.anchoredMixin) {
10
- constructor(hostRef) {
11
- super();
12
- index.registerInstance(this, hostRef);
13
- /**
14
- * If true, allows multiline content in the tooltip.
15
- * @default false
16
- */
17
- this.multiline = false;
18
- /**
19
- * If true, disables the tooltip.
20
- * @default false
21
- */
22
- this.disabled = false;
23
- /**
24
- * Override default options for the floating mixin.
25
- * This can be overridden by passing a different object to the `floatingOptions` prop.
26
- */
27
- this.floatingOptions = {};
28
- this.isVisible = false;
29
- }
30
- /**
31
- * Returns the resolved options for the floating mixin, merging `floatingOptions`
32
- * prop values with their defaults.
33
- *
34
- * @returns {FloatingMixinOptions} Resolved configuration used by the anchored mixin
35
- * to position the tooltip.
36
- * @override anchoredMixin.options
37
- *
38
- * @example
39
- * // floatingOptions = { placement: 'top', hideArrow: true }
40
- * this.options
41
- * return { placement: 'top', offset: 8, arrow: undefined, strategy: 'fixed' }
42
- */
43
- get options() {
44
- return {
45
- placement: this.floatingOptions.placement ?? 'bottom',
46
- offset: this.floatingOptions.offset ?? 8,
47
- arrow: this.floatingOptions.hideArrow ? undefined : this.arrowElement,
48
- strategy: 'fixed',
49
- };
50
- }
51
- /**
52
- * Returns the lifecycle hooks consumed by the anchored mixin to control
53
- * tooltip visibility and positioning.
54
- * @override anchoredMixin.hooks
55
- *
56
- * @returns {AnchoredHooks} Object containing the three hook callbacks:
57
- * - `onPositionUpdate` — called after each positioning calculation.
58
- * - `onBeforeShow` — called before the tooltip becomes visible; returning false cancels the show.
59
- * - `onBeforeHide` — called before the tooltip is hidden; returning false cancels the hide.
60
- */
61
- get hooks() {
62
- return {
63
- onPositionUpdate: result => this.handlePosition(result),
64
- onBeforeShow: () => this.validateShow(),
65
- onBeforeHide: (el) => this.validateHide(el),
66
- subscribeToTrigger: (el) => this.subscribe(el),
67
- };
68
- }
69
- get canShowArrow() {
70
- return !this.floatingOptions.hideArrow || false;
71
- }
72
- get getPlacement() {
73
- return this.floatingOptions.placement || 'bottom';
74
- }
75
- /**
76
- * Guard called by `onBeforeShow` to determine whether the tooltip is allowed to show.
77
- *
78
- * @returns {boolean} `true` if the tooltip is not disabled and may be shown; `false` otherwise.
79
- */
80
- validateShow() {
81
- return !this.disabled;
82
- }
83
- /**
84
- * Guard called by `onBeforeHide` to determine whether the tooltip is allowed to hide.
85
- * When `stayOnHover` is enabled, hides are cancelled if the pointer is moving
86
- * into the floating content element itself.
87
- *
88
- * @param target - The element the pointer is moving toward (relatedTarget of the mouseleave event).
89
- * @returns {boolean} `true` if the tooltip should hide; `false` if the hide should be cancelled.
90
- */
91
- validateHide(target) {
92
- if (this.floatingOptions.stayOnHover && target !== undefined && target.isConnected) {
93
- const goingToFloating = this.floatingContent.contains(target) || this.floatingContent === target;
94
- if (goingToFloating)
95
- return false;
96
- }
97
- return true;
98
- }
99
- /**
100
- * Callback for `onPositionUpdate`. Applies the resolved placement as a
101
- * `data-placement` attribute on the floating content element and delegates
102
- * arrow positioning to `setArrowPosition`.
103
- *
104
- * @param result - The positioning result produced by the floating middleware.
105
- */
106
- handlePosition(result) {
107
- this.floatingContent.setAttribute('data-placement', result.placement);
108
- this.setArrowPosition(result);
109
- }
110
- /**
111
- * Applies the arrow element's `x` and `y` coordinates calculated by the
112
- * floating middleware. Skips the update when the arrow element is not
113
- * connected to the DOM or when middleware data is absent.
114
- *
115
- * @param result - The positioning result that may contain `middlewareData.arrow`
116
- * with the computed `x` and `y` offsets for the arrow element.
117
- */
118
- setArrowPosition(result) {
119
- if (result.middlewareData?.arrow && !this.disabled && this.arrowElement?.isConnected) {
120
- const { x: arrowX, y: arrowY } = result.middlewareData.arrow;
121
- Object.assign(this.arrowElement.style, {
122
- left: arrowX != null ? `${arrowX}px` : '',
123
- top: arrowY != null ? `${arrowY}px` : '',
124
- });
125
- }
126
- }
127
- get hasMultiline() {
128
- return this.multiline !== undefined && this.multiline;
129
- }
130
- get tooltipStyles() {
131
- return {
132
- 'tooltip-content': true,
133
- 'tooltip-content--multiline': this.hasMultiline,
134
- };
135
- }
136
- subscribe(trigger) {
137
- if (trigger === undefined)
138
- return;
139
- trigger.setAttribute('part', 'tooltip-trigger');
140
- trigger.setAttribute('ariaDescribedBy', 'tooltip-content');
141
- trigger.addEventListener('mouseenter', () => this.show());
142
- trigger.addEventListener('mouseleave', (e) => this.hide(e.target));
143
- }
144
- render() {
145
- const classes = this.tooltipStyles;
146
- return (index.h(index.Host, { key: '65758ffb473363eadce15b09704224a95304dbf2', class: "tooltip" }, index.h("div", { key: 'd488e67b2da3c788ccf8eb9b9eeb273b9d1c58be', id: "tooltip-content", part: "tooltip-content", class: classes, popover: "manual", role: "tooltip", "aria-hidden": this.isVisible ? 'false' : 'true', "data-placement": this.getPlacement, "data-multiline": this.multiline, "data-hidearrow": this.canShowArrow, ref: el => (this.floatingContent = el) }, this.canShowArrow && (index.h("div", { key: 'de86ff5432b49a2e31d94c6c8e16f33327ef5baa', class: "tooltip-arrow", part: "arrow", ref: el => (this.arrowElement = el) })), index.h("slot", { key: '8428151ba6b9b835f721be33cc61b1bacdba7494' }))));
147
- }
148
- get el() { return index.getElement(this); }
149
- };
150
- BdsTooltip.style = bdsTooltipCss();
151
-
152
- exports.bds_tooltip = BdsTooltip;