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

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 (571) hide show
  1. package/components-build/bds-avatar.js +1 -1
  2. package/components-build/bds-badge.js +1 -1
  3. package/components-build/bds-banner.js +1 -1
  4. package/components-build/bds-breadcrumb-item.d.ts +11 -0
  5. package/components-build/bds-breadcrumb-item.js +1 -0
  6. package/components-build/bds-breadcrumb.d.ts +11 -0
  7. package/components-build/bds-breadcrumb.js +1 -0
  8. package/components-build/bds-button-group.d.ts +11 -0
  9. package/components-build/bds-button-group.js +1 -0
  10. package/components-build/bds-button.js +1 -1
  11. package/components-build/bds-checkbox-button.d.ts +11 -0
  12. package/components-build/bds-checkbox-button.js +1 -0
  13. package/components-build/bds-checkbox-card.d.ts +11 -0
  14. package/components-build/bds-checkbox-card.js +1 -0
  15. package/components-build/bds-checkbox-group.d.ts +11 -0
  16. package/components-build/bds-checkbox-group.js +1 -0
  17. package/components-build/bds-checkbox.js +1 -1
  18. package/components-build/bds-dialog.js +1 -1
  19. package/components-build/bds-divider.js +1 -1
  20. package/components-build/bds-flag.js +1 -1
  21. package/components-build/bds-grid-item.js +1 -1
  22. package/components-build/bds-grid.js +1 -1
  23. package/components-build/bds-list-menu-item.js +1 -1
  24. package/components-build/bds-list-menu.js +1 -1
  25. package/components-build/bds-popover.js +1 -1
  26. package/components-build/bds-radio-button.d.ts +11 -0
  27. package/components-build/bds-radio-button.js +1 -0
  28. package/components-build/bds-radio-card.d.ts +11 -0
  29. package/components-build/bds-radio-card.js +1 -0
  30. package/components-build/bds-radio-group.d.ts +11 -0
  31. package/components-build/bds-radio-group.js +1 -0
  32. package/components-build/bds-radio.d.ts +11 -0
  33. package/components-build/bds-radio.js +1 -0
  34. package/components-build/bds-select.d.ts +11 -0
  35. package/components-build/bds-select.js +1 -0
  36. package/components-build/bds-slider.d.ts +11 -0
  37. package/components-build/bds-slider.js +1 -0
  38. package/components-build/bds-spinner.js +1 -1
  39. package/components-build/bds-status.js +1 -1
  40. package/components-build/bds-tag.js +1 -1
  41. package/components-build/bds-text-field.js +1 -1
  42. package/components-build/bds-toggle.js +1 -1
  43. package/components-build/bds-tooltip.js +1 -1
  44. package/components-build/bds-typography.js +1 -1
  45. package/components-build/index.js +1 -1
  46. package/components-build/p-B6e9eIHB.js +1 -0
  47. package/components-build/p-CJBdGD_4.js +1 -0
  48. package/components-build/p-CPvuMm5C.js +1 -0
  49. package/components-build/p-DcR7mHFE.js +1 -0
  50. package/components-build/p-DdOPD9wW.js +1 -0
  51. package/components-build/p-DfaYciGa.js +1 -0
  52. package/components-build/p-Dh8DSJs_.js +1 -0
  53. package/components-build/p-DoNZM78n.js +1 -0
  54. package/components-build/p-DrkDx75U.js +1 -0
  55. package/components-build/p-DuBzr05c.js +1 -0
  56. package/components-build/p-PmjPRW8X.js +1 -0
  57. package/components-build/p-cgdh1LO-.js +1 -0
  58. package/{dist/boreal-web-components/p-CaHOghy5.js → components-build/p-fUK0GCeC.js} +1 -1
  59. package/components-build/p-nxYzL9uu.js +1 -0
  60. package/components-build/p-yLNcMg2E.js +1 -0
  61. package/custom-elements.json +5078 -1524
  62. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  63. package/dist/boreal-web-components/css/boreal.css +60 -0
  64. package/dist/boreal-web-components/css/theme-connect.css +15 -0
  65. package/dist/boreal-web-components/css/theme-engage.css +15 -0
  66. package/dist/boreal-web-components/css/theme-protect.css +15 -0
  67. package/dist/boreal-web-components/css/theme-proximus.css +15 -0
  68. package/dist/boreal-web-components/p-02e53626.entry.js +1 -0
  69. package/dist/boreal-web-components/p-0357450d.system.entry.js +1 -0
  70. package/dist/boreal-web-components/{p-e0bf8a6e.entry.js → p-1250ba53.entry.js} +1 -1
  71. package/dist/boreal-web-components/p-1911b978.entry.js +1 -0
  72. package/dist/boreal-web-components/{p-2158a7cd.entry.js → p-19f9352d.entry.js} +1 -1
  73. package/dist/boreal-web-components/p-1mOd23lT.system.js +1 -0
  74. package/dist/boreal-web-components/{p-52600375.system.entry.js → p-25823f7d.system.entry.js} +1 -1
  75. package/dist/boreal-web-components/p-2db71382.system.entry.js +1 -0
  76. package/dist/boreal-web-components/{p-251d35df.system.entry.js → p-365e8e5c.system.entry.js} +1 -1
  77. package/dist/boreal-web-components/p-367e40f9.entry.js +1 -0
  78. package/dist/boreal-web-components/p-3946d587.entry.js +1 -0
  79. package/dist/boreal-web-components/p-44b6fe6c.system.entry.js +1 -0
  80. package/dist/boreal-web-components/{p-7a4efddd.system.entry.js → p-48712a63.system.entry.js} +1 -1
  81. package/dist/boreal-web-components/{p-251b3002.entry.js → p-49ea207a.entry.js} +1 -1
  82. package/dist/boreal-web-components/p-4b028406.entry.js +1 -0
  83. package/dist/boreal-web-components/p-4b615de8.system.entry.js +1 -0
  84. package/dist/boreal-web-components/{p-edca16b6.system.entry.js → p-4f431941.system.entry.js} +1 -1
  85. package/dist/boreal-web-components/p-524421f7.system.entry.js +1 -0
  86. package/dist/boreal-web-components/p-530c8c7f.entry.js +1 -0
  87. package/dist/boreal-web-components/p-55aeff0c.system.entry.js +1 -0
  88. package/dist/boreal-web-components/p-5c8650b3.system.entry.js +1 -0
  89. package/dist/boreal-web-components/p-5e590291.system.entry.js +1 -0
  90. package/dist/boreal-web-components/p-5ee0841f.entry.js +1 -0
  91. package/dist/boreal-web-components/{p-871c9a9f.system.entry.js → p-65923619.system.entry.js} +1 -1
  92. package/dist/boreal-web-components/p-66ec16d9.entry.js +1 -0
  93. package/dist/boreal-web-components/{p-127a4134.entry.js → p-714bf70d.entry.js} +1 -1
  94. package/dist/boreal-web-components/{p-66360e63.entry.js → p-71ed1e1d.entry.js} +1 -1
  95. package/dist/boreal-web-components/{p-b12d4788.system.entry.js → p-732e98f1.system.entry.js} +1 -1
  96. package/dist/boreal-web-components/p-7626338e.system.entry.js +1 -0
  97. package/dist/boreal-web-components/{p-80822731.system.entry.js → p-77658a5b.system.entry.js} +1 -1
  98. package/dist/boreal-web-components/p-7G4h4DI7.js +1 -0
  99. package/dist/boreal-web-components/p-800fc096.system.entry.js +1 -0
  100. package/dist/boreal-web-components/p-824485ad.entry.js +1 -0
  101. package/dist/boreal-web-components/p-8dfe3a9f.entry.js +1 -0
  102. package/dist/boreal-web-components/p-90022071.entry.js +1 -0
  103. package/dist/boreal-web-components/{p-1d1bb9d2.entry.js → p-9d02057d.entry.js} +1 -1
  104. package/dist/boreal-web-components/p-C-g3hhl_.system.js +1 -0
  105. package/dist/boreal-web-components/p-C0P3gzq5.system.js +1 -0
  106. package/dist/boreal-web-components/p-C4HM8wQe.js +1 -0
  107. package/dist/boreal-web-components/p-CPvuMm5C.js +1 -0
  108. package/dist/boreal-web-components/p-CRMH6mfq.system.js +1 -0
  109. package/dist/boreal-web-components/p-CU_dRLdk.system.js +1 -0
  110. package/dist/boreal-web-components/p-CW4-dkCF.system.js +1 -0
  111. package/dist/boreal-web-components/p-CcENtewr.js +1 -0
  112. package/dist/boreal-web-components/{p-BuxZeJbu.system.js → p-DSU8tkVw.system.js} +1 -1
  113. package/dist/boreal-web-components/p-DfaYciGa.js +1 -0
  114. package/dist/boreal-web-components/p-Dk9dfU9-.system.js +1 -0
  115. package/dist/boreal-web-components/p-DlVzZK7o.js +1 -0
  116. package/dist/boreal-web-components/p-DnIhjwCH.system.js +1 -0
  117. package/dist/boreal-web-components/p-Dwo1hcd9.js +1 -0
  118. package/dist/boreal-web-components/p-K7DvMlRo.system.js +1 -0
  119. package/{components-build/p-CaHOghy5.js → dist/boreal-web-components/p-U9yfbs7i.js} +1 -1
  120. package/dist/boreal-web-components/p-UEj9YHof.system.js +1 -0
  121. package/dist/boreal-web-components/p-b54fe67f.system.entry.js +1 -0
  122. package/dist/boreal-web-components/p-bbcd3a30.system.entry.js +1 -0
  123. package/dist/boreal-web-components/p-bea25d3d.system.entry.js +1 -0
  124. package/dist/boreal-web-components/p-bed506d3.entry.js +1 -0
  125. package/dist/boreal-web-components/p-bfd62034.system.entry.js +1 -0
  126. package/dist/boreal-web-components/p-c07d6b82.system.entry.js +1 -0
  127. package/dist/boreal-web-components/p-cc5c359f.entry.js +1 -0
  128. package/dist/boreal-web-components/p-cgdh1LO-.js +1 -0
  129. package/dist/boreal-web-components/p-d2b6ae79.entry.js +1 -0
  130. package/dist/boreal-web-components/{p-695d0830.entry.js → p-dc7d429c.entry.js} +1 -1
  131. package/dist/boreal-web-components/p-e21b8416.entry.js +1 -0
  132. package/dist/boreal-web-components/p-e4364a44.system.entry.js +1 -0
  133. package/dist/boreal-web-components/p-e51407b2.system.entry.js +1 -0
  134. package/dist/boreal-web-components/p-e8cde179.system.entry.js +1 -0
  135. package/dist/boreal-web-components/p-eecc3028.system.entry.js +1 -0
  136. package/dist/boreal-web-components/p-f3bd824d.system.entry.js +1 -0
  137. package/dist/boreal-web-components/{p-44ceff4e.system.entry.js → p-f65e9d0c.system.entry.js} +1 -1
  138. package/dist/boreal-web-components/p-f6eabb16.entry.js +1 -0
  139. package/dist/boreal-web-components/p-f7acf6e5.system.entry.js +1 -0
  140. package/dist/boreal-web-components/{p-7db870b7.entry.js → p-f9560509.entry.js} +1 -1
  141. package/dist/boreal-web-components/p-fa128cad.system.entry.js +1 -0
  142. package/dist/boreal-web-components/p-fab1a01d.entry.js +1 -0
  143. package/dist/boreal-web-components/{p-fc24d963.entry.js → p-fb9a0e94.entry.js} +1 -1
  144. package/dist/boreal-web-components/p-fb9ba833.entry.js +1 -0
  145. package/dist/boreal-web-components/p-fbe0c9f2.entry.js +1 -0
  146. package/dist/boreal-web-components/p-fbe88555.entry.js +1 -0
  147. package/dist/boreal-web-components/p-fc1fa966.system.entry.js +1 -0
  148. package/dist/boreal-web-components/p-fc4ffa0e.entry.js +1 -0
  149. package/dist/boreal-web-components/p-fef13445.entry.js +1 -0
  150. package/dist/boreal-web-components/p-iq2UuV7c.js +1 -0
  151. package/dist/boreal-web-components/p-qGhMe8Hk.js +1 -0
  152. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -1
  153. package/dist/boreal-web-components/scss/maps/_theme-connect.scss +16 -1
  154. package/dist/boreal-web-components/scss/maps/_theme-engage.scss +16 -1
  155. package/dist/boreal-web-components/scss/maps/_theme-protect.scss +16 -1
  156. package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +16 -1
  157. package/dist/boreal-web-components/scss/variables/_theme-connect.scss +16 -1
  158. package/dist/boreal-web-components/scss/variables/_theme-engage.scss +16 -1
  159. package/dist/boreal-web-components/scss/variables/_theme-protect.scss +16 -1
  160. package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +16 -1
  161. package/dist/cjs/KeyboardController-B_g3peyB.js +1067 -0
  162. package/dist/cjs/Keys-DXn16dlA.js +34 -0
  163. package/dist/cjs/Logger-DnziItRH.js +51 -0
  164. package/dist/cjs/{attributes-wIHueigW.js → attributes-CgRFplrN.js} +3 -0
  165. package/dist/cjs/bds-avatar.cjs.entry.js +2 -2
  166. package/dist/cjs/bds-badge.cjs.entry.js +1 -1
  167. package/dist/cjs/bds-banner.cjs.entry.js +2 -2
  168. package/dist/cjs/bds-breadcrumb-item.cjs.entry.js +106 -0
  169. package/dist/cjs/bds-breadcrumb.cjs.entry.js +127 -0
  170. package/dist/cjs/bds-button-group.cjs.entry.js +116 -0
  171. package/dist/cjs/bds-button.cjs.entry.js +38 -17
  172. package/dist/cjs/bds-checkbox-button.cjs.entry.js +119 -0
  173. package/dist/cjs/bds-checkbox-card.cjs.entry.js +135 -0
  174. package/dist/cjs/bds-checkbox-group.cjs.entry.js +292 -0
  175. package/dist/cjs/bds-checkbox.cjs.entry.js +67 -29
  176. package/dist/cjs/bds-dialog.cjs.entry.js +4 -4
  177. package/dist/cjs/bds-divider.cjs.entry.js +2 -2
  178. package/dist/cjs/bds-flag.cjs.entry.js +1 -1
  179. package/dist/cjs/bds-grid-item.cjs.entry.js +1 -1
  180. package/dist/cjs/bds-grid.cjs.entry.js +1 -1
  181. package/dist/cjs/bds-list-menu-item.cjs.entry.js +59 -23
  182. package/dist/cjs/bds-list-menu.cjs.entry.js +126 -22
  183. package/dist/cjs/bds-popover.cjs.entry.js +15 -6
  184. package/dist/cjs/bds-radio-button.cjs.entry.js +60 -0
  185. package/dist/cjs/bds-radio-card.cjs.entry.js +76 -0
  186. package/dist/cjs/bds-radio-group.cjs.entry.js +291 -0
  187. package/dist/cjs/bds-radio.cjs.entry.js +60 -0
  188. package/dist/cjs/bds-select.cjs.entry.js +394 -0
  189. package/dist/cjs/bds-slider.cjs.entry.js +655 -0
  190. package/dist/cjs/bds-spinner.cjs.entry.js +1 -1
  191. package/dist/cjs/bds-status.cjs.entry.js +1 -1
  192. package/dist/cjs/bds-tag.cjs.entry.js +2 -2
  193. package/dist/cjs/bds-text-field.cjs.entry.js +15 -9
  194. package/dist/cjs/bds-toggle.cjs.entry.js +7 -6
  195. package/dist/cjs/bds-tooltip_2.cjs.entry.js +12 -9
  196. package/dist/cjs/boreal-web-components.cjs.js +1 -1
  197. package/dist/cjs/checkbox-form-association-DTEpHXUD.js +43 -0
  198. package/dist/cjs/coreColors-CQGojc0l.js +10 -0
  199. package/dist/cjs/{enum-DLblRCkQ.js → enum-DeTWfR0D.js} +3 -3
  200. package/dist/cjs/form-associated.mixin-BCR6bj29.js +33 -0
  201. package/dist/cjs/{getOffset-m4hBgyVP.js → getOffset-CsDHFjPW.js} +6 -53
  202. package/dist/cjs/{form-associated.mixin-DXwvF_vW.js → internals-D8x7GMfR.js} +0 -31
  203. package/dist/cjs/loader.cjs.js +1 -1
  204. package/dist/cjs/orientation-DQAIleEJ.js +8 -0
  205. package/dist/collection/collection-manifest.json +18 -6
  206. package/dist/collection/components/actions/bds-button/bds-button.css +55 -55
  207. package/dist/collection/components/actions/bds-button/bds-button.js +35 -11
  208. package/dist/collection/components/actions/bds-button/types/enum.js +3 -3
  209. package/dist/collection/components/actions/bds-button-group/bds-button-group.css +77 -0
  210. package/dist/collection/components/actions/bds-button-group/bds-button-group.js +264 -0
  211. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +27 -1
  212. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +283 -51
  213. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/types/enum.js +4 -0
  214. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +30 -11
  215. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +65 -7
  216. package/dist/collection/components/actions/bds-toggle/bds-toggle.css +3 -3
  217. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +1 -1
  218. package/dist/collection/components/feedback/bds-badge/bds-badge.js +1 -1
  219. package/dist/collection/components/feedback/bds-banner/bds-banner.js +1 -1
  220. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  221. package/dist/collection/components/feedback/bds-status/bds-status.js +1 -1
  222. package/dist/collection/components/feedback/bds-tag/bds-tag.css +6 -6
  223. package/dist/collection/components/feedback/bds-tag/bds-tag.js +1 -1
  224. package/dist/collection/components/forms/bds-checkbox/bds-checkbox/bds-checkbox.css +132 -0
  225. package/dist/collection/components/forms/bds-checkbox/{bds-checkbox.js → bds-checkbox/bds-checkbox.js} +138 -35
  226. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.css +113 -0
  227. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.js +382 -0
  228. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-card/bds-checkbox-card.css +139 -0
  229. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-card/bds-checkbox-card.js +443 -0
  230. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.css +55 -0
  231. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.js +648 -0
  232. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/types/enum.js +5 -0
  233. package/dist/collection/components/forms/bds-checkbox/bds-checkbox-group/types/index.js +3 -0
  234. package/dist/collection/components/forms/bds-checkbox/utils/checkbox-form-association.js +39 -0
  235. package/dist/collection/components/forms/bds-checkbox/utils/index.js +1 -0
  236. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  237. package/dist/collection/components/forms/bds-radio/bds-radio/bds-radio.css +121 -0
  238. package/dist/collection/components/forms/bds-radio/bds-radio/bds-radio.js +238 -0
  239. package/dist/collection/components/forms/bds-radio/bds-radio/types/IRadio.js +1 -0
  240. package/dist/collection/components/forms/bds-radio/bds-radio-button/bds-radio-button.css +113 -0
  241. package/dist/collection/components/forms/bds-radio/bds-radio-button/bds-radio-button.js +238 -0
  242. package/dist/collection/components/forms/bds-radio/bds-radio-button/types/IRadioButton.js +1 -0
  243. package/dist/collection/components/forms/bds-radio/bds-radio-card/bds-radio-card.css +156 -0
  244. package/dist/collection/components/forms/bds-radio/bds-radio-card/bds-radio-card.js +307 -0
  245. package/dist/collection/components/forms/bds-radio/bds-radio-card/types/IRadioCard.js +1 -0
  246. package/dist/collection/components/forms/bds-radio/bds-radio-group/bds-radio-group.css +55 -0
  247. package/dist/collection/components/forms/bds-radio/bds-radio-group/bds-radio-group.js +648 -0
  248. package/dist/collection/components/forms/bds-radio/bds-radio-group/types/IRadioGroup.js +1 -0
  249. package/dist/collection/components/forms/bds-radio/bds-radio-group/types/enum.js +5 -0
  250. package/dist/collection/components/forms/bds-radio/bds-radio-group/types/types.js +1 -0
  251. package/dist/collection/components/forms/bds-select/bds-select.css +23 -0
  252. package/dist/collection/components/forms/bds-select/bds-select.js +431 -0
  253. package/dist/collection/components/forms/bds-select/types/ISelect.js +1 -0
  254. package/dist/collection/components/forms/bds-slider/bds-slider.css +213 -0
  255. package/dist/collection/components/forms/bds-slider/bds-slider.js +847 -0
  256. package/dist/collection/components/forms/bds-slider/helpers/SliderDOMController.js +61 -0
  257. package/dist/collection/components/forms/bds-slider/helpers/SliderService.js +93 -0
  258. package/dist/collection/components/forms/bds-slider/helpers/index.js +3 -0
  259. package/dist/collection/components/forms/bds-slider/helpers/parseValues.js +43 -0
  260. package/dist/collection/components/forms/bds-slider/types/ChangeDetail.js +1 -0
  261. package/dist/collection/components/forms/bds-slider/types/ISlider.js +1 -0
  262. package/dist/collection/components/forms/bds-slider/types/ISliderOptions.js +1 -0
  263. package/dist/collection/components/forms/bds-slider/types/enum.js +16 -0
  264. package/dist/collection/components/forms/bds-slider/types/index.js +5 -0
  265. package/dist/collection/components/forms/bds-slider/types/types.js +1 -0
  266. package/dist/collection/components/forms/bds-text-field/bds-text-field.css +10 -3
  267. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +47 -2
  268. package/dist/collection/components/helpers/{bds-divider.css → bds-divider/bds-divider.css} +12 -4
  269. package/dist/collection/components/helpers/{bds-divider.js → bds-divider/bds-divider.js} +3 -3
  270. package/dist/collection/components/helpers/bds-divider/types/IDivider.js +1 -0
  271. package/dist/collection/components/helpers/bds-divider/types/types.js +1 -0
  272. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +1 -1
  273. package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.js +3 -3
  274. package/dist/collection/components/layouts/bds-grid/bds-grid/types/IGrid.js +1 -0
  275. package/dist/collection/components/layouts/bds-grid/bds-grid/types/types.js +1 -0
  276. package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.js +9 -9
  277. package/dist/collection/components/layouts/bds-grid/bds-grid-item/types/IGridItem.js +1 -0
  278. package/dist/collection/components/layouts/bds-grid/bds-grid-item/types/types.js +1 -0
  279. package/dist/collection/components/navigation/bds-breadcrumb/bds-breadcrumb.css +21 -0
  280. package/dist/collection/components/navigation/bds-breadcrumb/bds-breadcrumb.js +292 -0
  281. package/dist/collection/components/navigation/bds-breadcrumb/types/IBreadcrumb.js +1 -0
  282. package/dist/collection/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.css +64 -0
  283. package/dist/collection/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.js +369 -0
  284. package/dist/collection/components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem.js +1 -0
  285. package/dist/collection/components/overlays/bds-dialog/bds-dialog.css +1 -1
  286. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +2 -2
  287. package/dist/collection/components/overlays/bds-popover/bds-popover.js +49 -3
  288. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +3 -3
  289. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +5 -0
  290. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +30 -47
  291. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +1 -1
  292. package/dist/collection/css/boreal.css +60 -0
  293. package/dist/collection/css/theme-connect.css +15 -0
  294. package/dist/collection/css/theme-engage.css +15 -0
  295. package/dist/collection/css/theme-protect.css +15 -0
  296. package/dist/collection/css/theme-proximus.css +15 -0
  297. package/dist/collection/mixins/anchored.mixin.js +2 -2
  298. package/dist/collection/mixins/links.mixin.js +1 -2
  299. package/dist/collection/mixins/menu-behavior.mixin.js +12 -6
  300. package/dist/collection/scss/maps/_theme-connect.scss +16 -1
  301. package/dist/collection/scss/maps/_theme-engage.scss +16 -1
  302. package/dist/collection/scss/maps/_theme-protect.scss +16 -1
  303. package/dist/collection/scss/maps/_theme-proximus.scss +16 -1
  304. package/dist/collection/scss/variables/_theme-connect.scss +16 -1
  305. package/dist/collection/scss/variables/_theme-engage.scss +16 -1
  306. package/dist/collection/scss/variables/_theme-protect.scss +16 -1
  307. package/dist/collection/scss/variables/_theme-proximus.scss +16 -1
  308. package/dist/collection/types/index.js +2 -1
  309. package/dist/collection/types/orientation.js +4 -0
  310. package/dist/collection/utils/a11y/index.js +4 -0
  311. package/dist/collection/utils/a11y/keyboard/KeyboardController.js +566 -0
  312. package/dist/collection/utils/a11y/keyboard/_constants.js +30 -0
  313. package/dist/collection/utils/a11y/keyboard/focus/aria-activedescendant.js +41 -0
  314. package/dist/collection/utils/a11y/keyboard/focus/resolve.js +48 -0
  315. package/dist/collection/utils/a11y/keyboard/focus/roving-tabindex.js +55 -0
  316. package/dist/collection/utils/a11y/keyboard/navigation/grid-navigation.js +194 -0
  317. package/dist/collection/utils/a11y/keyboard/navigation/linear-navigation.js +137 -0
  318. package/dist/collection/utils/a11y/keyboard/types/IKeyboardController.js +1 -0
  319. package/dist/collection/utils/a11y/keyboard/types/index.js +2 -0
  320. package/dist/collection/utils/a11y/keyboard/types/types.js +1 -0
  321. package/dist/collection/utils/constants/common/Keys.js +29 -24
  322. package/dist/collection/utils/dom/elements.js +63 -0
  323. package/dist/collection/utils/menu/menu-item.utils.js +9 -8
  324. package/dist/collection/utils/testing/helpers.js +10 -0
  325. package/dist/css/boreal.css +60 -0
  326. package/dist/css/theme-connect.css +15 -0
  327. package/dist/css/theme-engage.css +15 -0
  328. package/dist/css/theme-protect.css +15 -0
  329. package/dist/css/theme-proximus.css +15 -0
  330. package/dist/esm/KeyboardController-DcnXb5F5.js +1064 -0
  331. package/dist/esm/Keys-7G4h4DI7.js +31 -0
  332. package/dist/esm/Logger-iq2UuV7c.js +49 -0
  333. package/dist/esm/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +3 -0
  334. package/dist/esm/bds-avatar.entry.js +2 -2
  335. package/dist/esm/bds-badge.entry.js +1 -1
  336. package/dist/esm/bds-banner.entry.js +2 -2
  337. package/dist/esm/bds-breadcrumb-item.entry.js +104 -0
  338. package/dist/esm/bds-breadcrumb.entry.js +125 -0
  339. package/dist/esm/bds-button-group.entry.js +114 -0
  340. package/dist/esm/bds-button.entry.js +36 -15
  341. package/dist/esm/bds-checkbox-button.entry.js +117 -0
  342. package/dist/esm/bds-checkbox-card.entry.js +133 -0
  343. package/dist/esm/bds-checkbox-group.entry.js +290 -0
  344. package/dist/esm/bds-checkbox.entry.js +67 -29
  345. package/dist/esm/bds-dialog.entry.js +4 -4
  346. package/dist/esm/bds-divider.entry.js +2 -2
  347. package/dist/esm/bds-flag.entry.js +1 -1
  348. package/dist/esm/bds-grid-item.entry.js +1 -1
  349. package/dist/esm/bds-grid.entry.js +1 -1
  350. package/dist/esm/bds-list-menu-item.entry.js +59 -23
  351. package/dist/esm/bds-list-menu.entry.js +126 -22
  352. package/dist/esm/bds-popover.entry.js +15 -6
  353. package/dist/esm/bds-radio-button.entry.js +58 -0
  354. package/dist/esm/bds-radio-card.entry.js +74 -0
  355. package/dist/esm/bds-radio-group.entry.js +289 -0
  356. package/dist/esm/bds-radio.entry.js +58 -0
  357. package/dist/esm/bds-select.entry.js +392 -0
  358. package/dist/esm/bds-slider.entry.js +653 -0
  359. package/dist/esm/bds-spinner.entry.js +1 -1
  360. package/dist/esm/bds-status.entry.js +1 -1
  361. package/dist/esm/bds-tag.entry.js +2 -2
  362. package/dist/esm/bds-text-field.entry.js +10 -4
  363. package/dist/esm/bds-toggle.entry.js +5 -4
  364. package/dist/esm/bds-tooltip_2.entry.js +12 -9
  365. package/dist/esm/boreal-web-components.js +1 -1
  366. package/dist/esm/checkbox-form-association-cgdh1LO-.js +41 -0
  367. package/dist/esm/coreColors-Dwo1hcd9.js +8 -0
  368. package/dist/esm/{enum-C8mRvnTA.js → enum-DlVzZK7o.js} +4 -4
  369. package/dist/esm/form-associated.mixin-C4HM8wQe.js +31 -0
  370. package/dist/esm/{getOffset-DKPjeBHi.js → getOffset-DCLpJBcp.js} +4 -51
  371. package/dist/esm/{form-associated.mixin-CvK2d92c.js → internals-DfaYciGa.js} +1 -31
  372. package/dist/esm/loader.js +1 -1
  373. package/dist/esm/orientation-CPvuMm5C.js +6 -0
  374. package/dist/esm-es5/KeyboardController-DcnXb5F5.js +1 -0
  375. package/dist/esm-es5/Keys-7G4h4DI7.js +1 -0
  376. package/dist/esm-es5/Logger-iq2UuV7c.js +1 -0
  377. package/dist/esm-es5/{attributes-CaHOghy5.js → attributes-U9yfbs7i.js} +1 -1
  378. package/dist/esm-es5/bds-avatar.entry.js +1 -1
  379. package/dist/esm-es5/bds-badge.entry.js +1 -1
  380. package/dist/esm-es5/bds-banner.entry.js +1 -1
  381. package/dist/esm-es5/bds-breadcrumb-item.entry.js +1 -0
  382. package/dist/esm-es5/bds-breadcrumb.entry.js +1 -0
  383. package/dist/esm-es5/bds-button-group.entry.js +1 -0
  384. package/dist/esm-es5/bds-button.entry.js +1 -1
  385. package/dist/esm-es5/bds-checkbox-button.entry.js +1 -0
  386. package/dist/esm-es5/bds-checkbox-card.entry.js +1 -0
  387. package/dist/esm-es5/bds-checkbox-group.entry.js +1 -0
  388. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  389. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  390. package/dist/esm-es5/bds-divider.entry.js +1 -1
  391. package/dist/esm-es5/bds-flag.entry.js +1 -1
  392. package/dist/esm-es5/bds-grid-item.entry.js +1 -1
  393. package/dist/esm-es5/bds-grid.entry.js +1 -1
  394. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -1
  395. package/dist/esm-es5/bds-list-menu.entry.js +1 -1
  396. package/dist/esm-es5/bds-popover.entry.js +1 -1
  397. package/dist/esm-es5/bds-radio-button.entry.js +1 -0
  398. package/dist/esm-es5/bds-radio-card.entry.js +1 -0
  399. package/dist/esm-es5/bds-radio-group.entry.js +1 -0
  400. package/dist/esm-es5/bds-radio.entry.js +1 -0
  401. package/dist/esm-es5/bds-select.entry.js +1 -0
  402. package/dist/esm-es5/bds-slider.entry.js +1 -0
  403. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  404. package/dist/esm-es5/bds-status.entry.js +1 -1
  405. package/dist/esm-es5/bds-tag.entry.js +1 -1
  406. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  407. package/dist/esm-es5/bds-toggle.entry.js +1 -1
  408. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -1
  409. package/dist/esm-es5/boreal-web-components.js +1 -1
  410. package/dist/esm-es5/checkbox-form-association-cgdh1LO-.js +1 -0
  411. package/dist/esm-es5/coreColors-Dwo1hcd9.js +1 -0
  412. package/dist/esm-es5/enum-DlVzZK7o.js +1 -0
  413. package/dist/esm-es5/form-associated.mixin-C4HM8wQe.js +1 -0
  414. package/dist/esm-es5/getOffset-DCLpJBcp.js +1 -0
  415. package/dist/esm-es5/internals-DfaYciGa.js +1 -0
  416. package/dist/esm-es5/loader.js +1 -1
  417. package/dist/esm-es5/orientation-CPvuMm5C.js +1 -0
  418. package/dist/scss/maps/_theme-connect.scss +16 -1
  419. package/dist/scss/maps/_theme-engage.scss +16 -1
  420. package/dist/scss/maps/_theme-protect.scss +16 -1
  421. package/dist/scss/maps/_theme-proximus.scss +16 -1
  422. package/dist/scss/variables/_theme-connect.scss +16 -1
  423. package/dist/scss/variables/_theme-engage.scss +16 -1
  424. package/dist/scss/variables/_theme-protect.scss +16 -1
  425. package/dist/scss/variables/_theme-proximus.scss +16 -1
  426. package/dist/types/components/actions/bds-button/bds-button.d.ts +8 -4
  427. package/dist/types/components/actions/bds-button/types/enum.d.ts +3 -3
  428. package/dist/types/components/actions/bds-button-group/bds-button-group.d.ts +40 -0
  429. package/dist/types/components/actions/bds-button-group/types/IButtonGroup.d.ts +11 -0
  430. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +32 -15
  431. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/IListMenu.d.ts +17 -0
  432. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/enum.d.ts +5 -0
  433. package/dist/types/components/actions/bds-list-menu/bds-list-menu/types/types.d.ts +3 -0
  434. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +10 -1
  435. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +2 -0
  436. package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +1 -1
  437. package/dist/types/components/forms/bds-checkbox/{bds-checkbox.d.ts → bds-checkbox/bds-checkbox.d.ts} +24 -9
  438. package/dist/types/components/forms/bds-checkbox/bds-checkbox-button/bds-checkbox-button.d.ts +68 -0
  439. package/dist/types/components/forms/bds-checkbox/bds-checkbox-button/types/ICheckboxButton.d.ts +15 -0
  440. package/dist/types/components/forms/bds-checkbox/bds-checkbox-card/bds-checkbox-card.d.ts +63 -0
  441. package/dist/types/components/forms/bds-checkbox/bds-checkbox-card/types/ICheckboxCard.d.ts +9 -0
  442. package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/bds-checkbox-group.d.ts +86 -0
  443. package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/ICheckboxGroup.d.ts +27 -0
  444. package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/enum.d.ts +6 -0
  445. package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/index.d.ts +4 -0
  446. package/dist/types/components/forms/bds-checkbox/bds-checkbox-group/types/types.d.ts +4 -0
  447. package/dist/types/components/forms/bds-checkbox/types/ICheckbox.d.ts +7 -22
  448. package/dist/types/components/forms/bds-checkbox/utils/checkbox-form-association.d.ts +10 -0
  449. package/dist/types/components/forms/bds-checkbox/utils/index.d.ts +2 -0
  450. package/dist/types/components/forms/bds-radio/bds-radio/bds-radio.d.ts +36 -0
  451. package/dist/types/components/forms/bds-radio/bds-radio/types/IRadio.d.ts +13 -0
  452. package/dist/types/components/forms/bds-radio/bds-radio-button/bds-radio-button.d.ts +36 -0
  453. package/dist/types/components/forms/bds-radio/bds-radio-button/types/IRadioButton.d.ts +14 -0
  454. package/dist/types/components/forms/bds-radio/bds-radio-card/bds-radio-card.d.ts +57 -0
  455. package/dist/types/components/forms/bds-radio/bds-radio-card/types/IRadioCard.d.ts +14 -0
  456. package/dist/types/components/forms/bds-radio/bds-radio-group/bds-radio-group.d.ts +85 -0
  457. package/dist/types/components/forms/bds-radio/bds-radio-group/types/IRadioGroup.d.ts +20 -0
  458. package/dist/types/components/forms/bds-radio/bds-radio-group/types/enum.d.ts +6 -0
  459. package/dist/types/components/forms/bds-radio/bds-radio-group/types/types.d.ts +3 -0
  460. package/dist/types/components/forms/bds-select/bds-select.d.ts +98 -0
  461. package/dist/types/components/forms/bds-select/types/ISelect.d.ts +6 -0
  462. package/dist/types/components/forms/bds-slider/bds-slider.d.ts +176 -0
  463. package/dist/types/components/forms/bds-slider/helpers/SliderDOMController.d.ts +38 -0
  464. package/dist/types/components/forms/bds-slider/helpers/SliderService.d.ts +44 -0
  465. package/dist/types/components/forms/bds-slider/helpers/index.d.ts +4 -0
  466. package/dist/types/components/forms/bds-slider/helpers/parseValues.d.ts +18 -0
  467. package/dist/types/components/forms/bds-slider/types/ChangeDetail.d.ts +9 -0
  468. package/dist/types/components/forms/bds-slider/types/ISlider.d.ts +17 -0
  469. package/dist/types/components/forms/bds-slider/types/ISliderOptions.d.ts +31 -0
  470. package/dist/types/components/forms/bds-slider/types/enum.d.ts +17 -0
  471. package/dist/types/components/forms/bds-slider/types/index.d.ts +6 -0
  472. package/dist/types/components/forms/bds-slider/types/types.d.ts +5 -0
  473. package/dist/types/components/forms/bds-text-field/bds-text-field.d.ts +4 -0
  474. package/dist/types/components/navigation/bds-breadcrumb/bds-breadcrumb.d.ts +57 -0
  475. package/dist/types/components/navigation/bds-breadcrumb/types/IBreadcrumb.d.ts +17 -0
  476. package/dist/types/components/navigation/bds-breadcrumb-item/bds-breadcrumb-item.d.ts +83 -0
  477. package/dist/types/components/navigation/bds-breadcrumb-item/types/IBreadcrumbItem.d.ts +20 -0
  478. package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +4 -0
  479. package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +2 -46
  480. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +1 -0
  481. package/dist/types/components.d.ts +2187 -450
  482. package/dist/types/mixins/menu-behavior.mixin.d.ts +5 -1
  483. package/dist/types/types/form.d.ts +24 -0
  484. package/dist/types/types/index.d.ts +2 -1
  485. package/dist/types/types/orientation.d.ts +6 -0
  486. package/dist/types/utils/a11y/index.d.ts +4 -0
  487. package/dist/types/utils/a11y/keyboard/KeyboardController.d.ts +321 -0
  488. package/dist/types/utils/a11y/keyboard/_constants.d.ts +28 -0
  489. package/dist/types/utils/a11y/keyboard/focus/aria-activedescendant.d.ts +17 -0
  490. package/dist/types/utils/a11y/keyboard/focus/resolve.d.ts +23 -0
  491. package/dist/types/utils/a11y/keyboard/focus/roving-tabindex.d.ts +20 -0
  492. package/dist/types/utils/a11y/keyboard/navigation/grid-navigation.d.ts +9 -0
  493. package/dist/types/utils/a11y/keyboard/navigation/linear-navigation.d.ts +13 -0
  494. package/dist/types/utils/a11y/keyboard/types/IKeyboardController.d.ts +125 -0
  495. package/dist/types/utils/a11y/keyboard/types/index.d.ts +3 -0
  496. package/dist/types/utils/a11y/keyboard/types/types.d.ts +6 -0
  497. package/dist/types/utils/constants/common/Keys.d.ts +28 -14
  498. package/dist/types/utils/dom/elements.d.ts +41 -0
  499. package/dist/types/utils/menu/menu-item.utils.d.ts +2 -2
  500. package/dist/types/utils/testing/helpers.d.ts +8 -0
  501. package/package.json +1 -1
  502. package/components-build/p-B8n1ru5i.js +0 -1
  503. package/components-build/p-CGdxFth9.js +0 -1
  504. package/components-build/p-CrAt6pGl.js +0 -1
  505. package/components-build/p-DCwT43Kz.js +0 -1
  506. package/components-build/p-DIY3CDNL.js +0 -1
  507. package/dist/boreal-web-components/p-0028481c.entry.js +0 -1
  508. package/dist/boreal-web-components/p-1466de58.system.entry.js +0 -1
  509. package/dist/boreal-web-components/p-2b8bd1dd.entry.js +0 -1
  510. package/dist/boreal-web-components/p-32c23246.system.entry.js +0 -1
  511. package/dist/boreal-web-components/p-3fbcc233.entry.js +0 -1
  512. package/dist/boreal-web-components/p-401f1aee.system.entry.js +0 -1
  513. package/dist/boreal-web-components/p-41b48701.system.entry.js +0 -1
  514. package/dist/boreal-web-components/p-41cac1b8.system.entry.js +0 -1
  515. package/dist/boreal-web-components/p-627b19a5.system.entry.js +0 -1
  516. package/dist/boreal-web-components/p-649737e5.entry.js +0 -1
  517. package/dist/boreal-web-components/p-64cb5825.entry.js +0 -1
  518. package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +0 -1
  519. package/dist/boreal-web-components/p-731b88cc.entry.js +0 -1
  520. package/dist/boreal-web-components/p-74c13bed.system.entry.js +0 -1
  521. package/dist/boreal-web-components/p-7f7ac40f.entry.js +0 -1
  522. package/dist/boreal-web-components/p-82d49661.entry.js +0 -1
  523. package/dist/boreal-web-components/p-83ca193e.entry.js +0 -1
  524. package/dist/boreal-web-components/p-BQ_zoZa2.js +0 -1
  525. package/dist/boreal-web-components/p-C8mRvnTA.js +0 -1
  526. package/dist/boreal-web-components/p-CdKFZYxk.system.js +0 -1
  527. package/dist/boreal-web-components/p-CtknSula.system.js +0 -1
  528. package/dist/boreal-web-components/p-CvK2d92c.js +0 -1
  529. package/dist/boreal-web-components/p-CzYQb3pP.js +0 -1
  530. package/dist/boreal-web-components/p-DZcx75cy.system.js +0 -1
  531. package/dist/boreal-web-components/p-Dme-NuTD.system.js +0 -1
  532. package/dist/boreal-web-components/p-ab5ffa15.system.entry.js +0 -1
  533. package/dist/boreal-web-components/p-ba2b625a.system.entry.js +0 -1
  534. package/dist/boreal-web-components/p-bf2ef10b.entry.js +0 -1
  535. package/dist/boreal-web-components/p-c7aee9f4.system.entry.js +0 -1
  536. package/dist/cjs/Keys-DbIXSJF2.js +0 -22
  537. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +0 -90
  538. package/dist/esm/Keys-CzYQb3pP.js +0 -20
  539. package/dist/esm-es5/Keys-CzYQb3pP.js +0 -1
  540. package/dist/esm-es5/enum-C8mRvnTA.js +0 -1
  541. package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +0 -1
  542. package/dist/esm-es5/getOffset-DKPjeBHi.js +0 -1
  543. package/dist/types/types/IFormProps.d.ts +0 -25
  544. /package/dist/collection/components/{helpers/types/IDivider.js → actions/bds-button-group/types/IButtonGroup.js} +0 -0
  545. /package/dist/collection/components/{helpers/types/types.js → actions/bds-list-menu/bds-list-menu/types/IListMenu.js} +0 -0
  546. /package/dist/collection/components/{layouts/bds-grid/grid-item → actions/bds-list-menu/bds-list-menu}/types/types.js +0 -0
  547. /package/dist/collection/components/{layouts/bds-grid/grid-item/types/IGridItem.js → forms/bds-checkbox/bds-checkbox-button/types/ICheckboxButton.js} +0 -0
  548. /package/dist/collection/components/{layouts/bds-grid/grid/types/IGrid.js → forms/bds-checkbox/bds-checkbox-card/types/ICheckboxCard.js} +0 -0
  549. /package/dist/collection/components/{layouts/bds-grid/grid/types/types.js → forms/bds-checkbox/bds-checkbox-group/types/ICheckboxGroup.js} +0 -0
  550. /package/dist/collection/{types/IFormProps.js → components/forms/bds-checkbox/bds-checkbox-group/types/types.js} +0 -0
  551. /package/dist/collection/components/helpers/{types → bds-divider/types}/enum.js +0 -0
  552. /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.css +0 -0
  553. /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/types/enum.js +0 -0
  554. /package/dist/collection/components/layouts/bds-grid/{grid → bds-grid}/types/index.js +0 -0
  555. /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.css +0 -0
  556. /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/enum.js +0 -0
  557. /package/dist/collection/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/index.js +0 -0
  558. /package/dist/types/components/helpers/{bds-divider.d.ts → bds-divider/bds-divider.d.ts} +0 -0
  559. /package/dist/types/components/helpers/{types → bds-divider/types}/IDivider.d.ts +0 -0
  560. /package/dist/types/components/helpers/{types → bds-divider/types}/enum.d.ts +0 -0
  561. /package/dist/types/components/helpers/{types → bds-divider/types}/types.d.ts +0 -0
  562. /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/bds-grid.d.ts +0 -0
  563. /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/IGrid.d.ts +0 -0
  564. /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/enum.d.ts +0 -0
  565. /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/index.d.ts +0 -0
  566. /package/dist/types/components/layouts/bds-grid/{grid → bds-grid}/types/types.d.ts +0 -0
  567. /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/bds-grid-item.d.ts +0 -0
  568. /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/IGridItem.d.ts +0 -0
  569. /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/enum.d.ts +0 -0
  570. /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/index.d.ts +0 -0
  571. /package/dist/types/components/layouts/bds-grid/{grid-item → bds-grid-item}/types/types.d.ts +0 -0
@@ -1 +1 @@
1
- import{r as a,h as s,a as t,g as r}from"./p-BqJlOB6b.js";import{P as o}from"./p-Bfazyxqi.js";import{v as e}from"./p-kGnB15Lz.js";const l={NONE:"none",DOT:"dot",ICON:"icon"},n=class{constructor(s){a(this,s),this.state=o.NEUTRAL,this.indicator=l.NONE}checkPropValues(){e(Object.values(o),o.NEUTRAL,this.el,"state"),e(Object.values(l),l.NONE,this.el,"indicator")}componentWillLoad(){this.checkPropValues()}get classMap(){return{"bds-status":!0,[`bds-status--${this.state}`]:!0,[`bds-status--${this.indicator}`]:!0}}render(){return s(t,{key:"36cf2dfe777002b02d126d38cb9ed2bce3f828a6",class:this.classMap,role:"status"},this.indicator===l.DOT?s("div",{class:"bds-status__dot","aria-hidden":"true"}):"",s("slot",{key:"99ab1fa89dc28f3ffca617508b5c577abf874d7a",name:"icon"}),s("slot",{key:"8ff726d294fc524950ac0255c71f4ba65b3c9b96"}))}get el(){return r(this)}static get watchers(){return{state:[{checkPropValues:0}],indicator:[{checkPropValues:0}]}}};n.style='@charset "UTF-8";.bds-status{color:var(--boreal-text-default-ink);text-align:center;font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-xs);font-style:normal;font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-xs);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--boreal-spacing-3xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);min-height:var(--boreal-spacing-ml);border-radius:var(--boreal-radius-xs)}.bds-status>[slot=icon]{display:none}.bds-status--icon>[slot=icon]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--boreal-layout-s);height:var(--boreal-layout-s)}.bds-status__dot{background-color:var(--boreal-icon-default-light);width:var(--boreal-spacing-xs);height:var(--boreal-spacing-xs);border-radius:var(--boreal-radius-full)}.bds-status--neutral{color:var(--boreal-text-default-ink);background-color:var(--boreal-ui-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-lighter)}.bds-status--neutral>[slot=icon]{color:var(--boreal-icon-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-light)}.bds-status--pending{color:var(--boreal-text-warning-dark);background-color:var(--boreal-ui-warning-lighter)}.bds-status--pending>.bds-status__dot{background-color:var(--boreal-icon-warning-base)}.bds-status--pending>[slot=icon]{color:var(--boreal-icon-warning-base)}.bds-status--in-progress{color:var(--boreal-text-information-dark);background-color:var(--boreal-ui-info-lighter)}.bds-status--in-progress>.bds-status__dot{background-color:var(--boreal-icon-info-base)}.bds-status--in-progress>[slot=icon]{color:var(--boreal-icon-info-base)}.bds-status--complete{color:var(--boreal-text-success-dark);background-color:var(--boreal-ui-success-lighter)}.bds-status--complete>.bds-status__dot{background-color:var(--boreal-icon-success-base)}.bds-status--complete>[slot=icon]{color:var(--boreal-icon-success-base)}.bds-status--cancel{color:var(--boreal-text-danger-dark);background-color:var(--boreal-ui-danger-lighter)}.bds-status--cancel>.bds-status__dot{background-color:var(--boreal-icon-danger-base)}.bds-status--cancel>[slot=icon]{color:var(--boreal-icon-danger-base)}';export{n as bds_status}
1
+ import{r as a,h as s,a as t,g as r}from"./p-BqJlOB6b.js";import{P as o}from"./p-Bfazyxqi.js";import{v as e}from"./p-kGnB15Lz.js";const l={NONE:"none",DOT:"dot",ICON:"icon"},n=class{constructor(s){a(this,s),this.state=o.NEUTRAL,this.indicator=l.NONE}checkPropValues(){e(Object.values(o),o.NEUTRAL,this.el,"state"),e(Object.values(l),l.NONE,this.el,"indicator")}componentWillLoad(){this.checkPropValues()}get classMap(){return{"bds-status":!0,[`bds-status--${this.state}`]:!0,[`bds-status--${this.indicator}`]:!0}}render(){return s(t,{key:"9a952b22de8565fcca464d045f71ea86c92c8632",class:this.classMap,role:"status"},this.indicator===l.DOT?s("div",{class:"bds-status__dot","aria-hidden":"true"}):"",s("slot",{key:"47e03b139fcb4da8b15fe115518856c54d02a320",name:"icon"}),s("slot",{key:"e512e975c2df8fa3e3380f27808eec96be5ad455"}))}get el(){return r(this)}static get watchers(){return{state:[{checkPropValues:0}],indicator:[{checkPropValues:0}]}}};n.style='@charset "UTF-8";.bds-status{color:var(--boreal-text-default-ink);text-align:center;font-family:var(--boreal-typography-font-family-primary);font-size:var(--boreal-typography-font-size-xs);font-style:normal;font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-xs);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:var(--boreal-spacing-3xs);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);min-height:var(--boreal-spacing-ml);border-radius:var(--boreal-radius-xs)}.bds-status>[slot=icon]{display:none}.bds-status--icon>[slot=icon]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--boreal-layout-s);height:var(--boreal-layout-s)}.bds-status__dot{background-color:var(--boreal-icon-default-light);width:var(--boreal-spacing-xs);height:var(--boreal-spacing-xs);border-radius:var(--boreal-radius-full)}.bds-status--neutral{color:var(--boreal-text-default-ink);background-color:var(--boreal-ui-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-lighter)}.bds-status--neutral>[slot=icon]{color:var(--boreal-icon-default-lighter)}.bds-status--neutral>.bds-status__dot{background-color:var(--boreal-icon-default-light)}.bds-status--pending{color:var(--boreal-text-warning-dark);background-color:var(--boreal-ui-warning-lighter)}.bds-status--pending>.bds-status__dot{background-color:var(--boreal-icon-warning-base)}.bds-status--pending>[slot=icon]{color:var(--boreal-icon-warning-base)}.bds-status--in-progress{color:var(--boreal-text-information-dark);background-color:var(--boreal-ui-info-lighter)}.bds-status--in-progress>.bds-status__dot{background-color:var(--boreal-icon-info-base)}.bds-status--in-progress>[slot=icon]{color:var(--boreal-icon-info-base)}.bds-status--complete{color:var(--boreal-text-success-dark);background-color:var(--boreal-ui-success-lighter)}.bds-status--complete>.bds-status__dot{background-color:var(--boreal-icon-success-base)}.bds-status--complete>[slot=icon]{color:var(--boreal-icon-success-base)}.bds-status--cancel{color:var(--boreal-text-danger-dark);background-color:var(--boreal-ui-danger-lighter)}.bds-status--cancel>.bds-status__dot{background-color:var(--boreal-icon-danger-base)}.bds-status--cancel>[slot=icon]{color:var(--boreal-icon-danger-base)}';export{n as bds_status}
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,n,r,a){function t(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{b(a.next(e))}catch(e){i(e)}}function o(e){try{b(a["throw"](e))}catch(e){i(e)}}function b(e){e.done?r(e.value):t(e.value).then(s,o)}b((a=a.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,t,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(n){return b([e,n])}}function b(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(a=1,t&&(i=o[0]&2?t["return"]:o[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,o[1])).done)return i;if(t=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;t=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=n.call(e,r)}catch(e){o=[6,e];t=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-CXz1RLGi.system.js","./p-BuxZeJbu.system.js"],(function(e){"use strict";var n,r,a,t,i,s,o,b,c;return{setters:[function(e){n=e.r;r=e.c;a=e.h;t=e.F;i=e.a;s=e.g},function(e){o=e.S},function(e){b=e.i;c=e.a}],execute:function(){var l=function(){return'@charset "UTF-8";.bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:opacity 0.3s ease-out;transition:opacity 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0}.bds-banner--hidden{display:none}'};var d=e("bds_banner",function(){function e(e){var a=this;n(this,e);this.bdsClose=r(this,"bdsClose");this.inheritedAttributes={};this.isClosing=false;this.isOpen=true;this.variant=o.INFO;this.closable=false;this.closeButtonLabel="";this.handleAnimationEnd=function(){if(a.isClosing)requestAnimationFrame((function(){a.isClosing=false;a.isOpen=false}))}}e.prototype.componentWillLoad=function(){this.inheritedAttributes=__assign(__assign({},c(this.el)),b(this.el))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.isOpen)this.isOpen=true;return[2]}))}))};e.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleCloseBanner();return[2]}))}))};e.prototype.handleCloseBanner=function(e){if(e!==undefined)e.preventDefault();this.isClosing=true;this.bdsClose.emit()};e.prototype.handleEscapeKeyClose=function(e){if(!this.closable)return;if(e.key==="Escape")this.handleCloseBanner()};e.prototype.getIconName=function(){var e={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};if(e[this.variant]===undefined)return e["info"];return e[this.variant]};e.prototype.getAttributes=function(){return __assign(__assign({},this.inheritedAttributes),{role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":"".concat(!this.isOpen),tabIndex:this.isOpen?0:-1})};e.prototype.getStyles=function(){var e;return e={"bds-banner":true},e["bds-banner--".concat(this.variant)]=true,e["bds-banner--closing"]=this.isClosing,e["bds-banner--hidden"]=!this.isOpen,e};e.prototype.renderCloseIcon=function(){var e=this;return a("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":this.closeButtonLabel,onClick:function(n){return e.handleCloseBanner(n)}},a("em",{class:"bds-icon-close"}))};e.prototype.render=function(){var e=this;var n=this.renderCloseIcon();var r=this.getStyles();var s=this.getIconName();return a(i,__assign(__assign({key:"1a07d4c50cb16abf16a6202fc0a6453028030c94",class:r},this.getAttributes()),{onTransitionEnd:this.handleAnimationEnd,onKeyDown:function(n){return e.handleEscapeKeyClose(n)}}),this.isOpen&&a(t,{key:"2fa91a3e46f6660cb80302bc56619c107f3cf1a9"},a("div",{key:"406c8ce24b6c8d9467f83baea3c521ef823b7ff6",class:"bds-banner__vertical-line"}),a("div",{key:"1a2c84c6480397e179a212056e0d9896a4ffcd5c",class:"bds-banner__container"},a("div",{key:"c3a259dae39176720f74fb4961b01166956f8e5c",class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant)},a("em",{key:"6d24dc0d611b85a0c9f524f29948552607fc124f","aria-hidden":"true",class:s})),a("div",{key:"6c4af02b7d783417cd016c81214ae4ae9a9040ff",id:"bds-banner__content",class:"bds-banner__content"},a("div",{key:"74d4b78b0e6a058c48d2681b0d49742266f6653d",class:"bds-banner__title"},a("slot",{key:"65baf563140619dd68ba6da5b1a2e61acfae61e6",name:"title"})),a("div",{key:"a24a1af35cf217bcdadff0a9c2d3bbef8d21e232",class:"bds-banner__body"},a("slot",{key:"5ea6dd31fbcf8eb9fd06426a2e98e36c537857b1"})),a("div",{key:"41cc79e73c212e381f8bfca997d62710f94e6ba4",class:"bds-banner__actions"},a("slot",{key:"0266cc63e42d35a7fcbb836dfe7d11c47f192321",name:"actions"}))),this.closable&&n)))};Object.defineProperty(e.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());d.style=l()}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,n,r,a){function t(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{b(a.next(e))}catch(e){i(e)}}function o(e){try{b(a["throw"](e))}catch(e){i(e)}}function b(e){e.done?r(e.value):t(e.value).then(s,o)}b((a=a.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,t,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(n){return b([e,n])}}function b(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(a=1,t&&(i=o[0]&2?t["return"]:o[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,o[1])).done)return i;if(t=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;t=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=n.call(e,r)}catch(e){o=[6,e];t=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-CXz1RLGi.system.js","./p-DSU8tkVw.system.js"],(function(e){"use strict";var n,r,a,t,i,s,o,b,c;return{setters:[function(e){n=e.r;r=e.c;a=e.h;t=e.F;i=e.a;s=e.g},function(e){o=e.S},function(e){b=e.i;c=e.a}],execute:function(){var l=function(){return'@charset "UTF-8";.bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:opacity 0.3s ease-out;transition:opacity 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0}.bds-banner--hidden{display:none}'};var d=e("bds_banner",function(){function e(e){var a=this;n(this,e);this.bdsClose=r(this,"bdsClose");this.inheritedAttributes={};this.isClosing=false;this.isOpen=true;this.variant=o.INFO;this.closable=false;this.closeButtonLabel="";this.handleAnimationEnd=function(){if(a.isClosing)requestAnimationFrame((function(){a.isClosing=false;a.isOpen=false}))}}e.prototype.componentWillLoad=function(){this.inheritedAttributes=__assign(__assign({},c(this.el)),b(this.el))};e.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.isOpen)this.isOpen=true;return[2]}))}))};e.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleCloseBanner();return[2]}))}))};e.prototype.handleCloseBanner=function(e){if(e!==undefined)e.preventDefault();this.isClosing=true;this.bdsClose.emit()};e.prototype.handleEscapeKeyClose=function(e){if(!this.closable)return;if(e.key==="Escape")this.handleCloseBanner()};e.prototype.getIconName=function(){var e={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};if(e[this.variant]===undefined)return e["info"];return e[this.variant]};e.prototype.getAttributes=function(){return __assign(__assign({},this.inheritedAttributes),{role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":"".concat(!this.isOpen),tabIndex:this.isOpen?0:-1})};e.prototype.getStyles=function(){var e;return e={"bds-banner":true},e["bds-banner--".concat(this.variant)]=true,e["bds-banner--closing"]=this.isClosing,e["bds-banner--hidden"]=!this.isOpen,e};e.prototype.renderCloseIcon=function(){var e=this;return a("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":this.closeButtonLabel,onClick:function(n){return e.handleCloseBanner(n)}},a("em",{class:"bds-icon-close"}))};e.prototype.render=function(){var e=this;var n=this.renderCloseIcon();var r=this.getStyles();var s=this.getIconName();return a(i,__assign(__assign({key:"e5ece2606d360add80831cb5cff99c07bb6fe9a6",class:r},this.getAttributes()),{onTransitionEnd:this.handleAnimationEnd,onKeyDown:function(n){return e.handleEscapeKeyClose(n)}}),this.isOpen&&a(t,{key:"1f25dabb048e75db7f9b155ed660ee3c07b878e7"},a("div",{key:"363d11782e11ab9e34c30981653da02d62753611",class:"bds-banner__vertical-line"}),a("div",{key:"256f0e83e848d7e50b851524364314ac8a15f195",class:"bds-banner__container"},a("div",{key:"3f16aa2ab24f0621e754276032dea90ba7a2fcae",class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant)},a("em",{key:"1ee1cd86ac8e6fe63d77ab815f3467623e3701bf","aria-hidden":"true",class:s})),a("div",{key:"b56334ec515aa5036143a21e17ccbab0284edd52",id:"bds-banner__content",class:"bds-banner__content"},a("div",{key:"454a4dd729fa18675c9db2a8101732688b15d4d7",class:"bds-banner__title"},a("slot",{key:"06d51ebe3e862210035d98b2ecde35ba9872309f",name:"title"})),a("div",{key:"773524e70efc9e2412c3ca71913cc1f4da80a493",class:"bds-banner__body"},a("slot",{key:"483f4358227e080db9ee884e6462743042a17bfe"})),a("div",{key:"6180025c2b07adc050d716269f76783f3f8164d2",class:"bds-banner__actions"},a("slot",{key:"4e45498d447a003859421f98d884f289fc18e084",name:"actions"}))),this.closable&&n)))};Object.defineProperty(e.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());d.style=l()}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js"],(function(a){"use strict";var r,d,e,o,s;return{setters:[function(a){r=a.r;d=a.c;e=a.h;o=a.a;s=a.g}],execute:function(){var i=function(){return'@charset "UTF-8";.bds-radio-card--transition{-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio-card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;font-family:var(--boreal-typography-font-family-primary);background-color:var(--boreal-ui-inverse);padding:var(--boreal-spacing-xs) var(--boreal-spacing-s) var(--boreal-spacing-s);border-radius:var(--boreal-radius-xs);border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-default-light)}.bds-radio-card:hover{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-radio-card:focus-within,.bds-radio-card:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-focus)}.bds-radio-card:focus-visible{outline:none}.bds-radio-card input[type=radio]{position:absolute;opacity:0;width:0;height:0;margin:0;pointer-events:none}.bds-radio-card__container{display:-ms-inline-flexbox;display:inline-flex;gap:var(--boreal-spacing-xs);-ms-flex-align:start;align-items:flex-start}.bds-radio-card__button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:var(--bds-radio-button-size, 18px);height:var(--bds-radio-button-size, 18px);margin-top:var(--boreal-spacing-2xs);border-radius:var(--boreal-radius-full);border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-default-light);background-color:var(--boreal-ui-inverse);-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio-card__dot{width:var(--bds-radio-dot-size, 10px);height:var(--bds-radio-dot-size, 10px);border-radius:var(--boreal-radius-full);background-color:transparent;-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-radio-card__header{display:-ms-inline-flexbox;display:inline-flex;gap:var(--boreal-spacing-3xs);color:var(--boreal-text-default)}.bds-radio-card__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-radio-card__info-icon{font-size:var(--boreal-typography-font-size-xs);color:var(--boreal-icon-default-light)}.bds-radio-card__icon:empty{display:none}.bds-radio-card:has(.bds-radio-card__description:empty) .bds-radio-card__container{-ms-flex-align:center;align-items:center}.bds-radio-card:has(.bds-radio-card__description:empty) .bds-radio-card__content{height:var(--boreal-spacing-l)}.bds-radio-card:has(.bds-radio-card__description:empty) .bds-radio-card__button{margin-top:0}.bds-radio-card--checked{border-color:var(--boreal-stroke-primary-base)}.bds-radio-card--checked:hover,.bds-radio-card--checked:focus,.bds-radio-card--checked:focus-within,.bds-radio-card--checked:active{background-color:var(--boreal-ui-primary-lighter)}.bds-radio-card--checked .bds-radio-card__button{border-color:var(--boreal-stroke-primary-base)}.bds-radio-card--checked .bds-radio-card__dot{background-color:var(--boreal-ui-primary-base)}.bds-radio-card--checked .bds-radio-card__header,.bds-radio-card--checked .bds-radio-card__description{color:var(--boreal-text-primary-base)}.bds-radio-card--disabled{pointer-events:none}.bds-radio-card--disabled .bds-radio-card__header,.bds-radio-card--disabled .bds-radio-card__description{color:var(--boreal-text-disabled)}.bds-radio-card--disabled:not(.bds-radio-card--checked) .bds-radio-card__button{background-color:var(--boreal-ui-disabled)}.bds-radio-card--disabled.bds-radio-card--checked,.bds-radio-card--disabled.bds-radio-card--checked .bds-radio-card__button{border-color:var(--boreal-ui-primary-light)}.bds-radio-card--disabled.bds-radio-card--checked .bds-radio-card__dot{background-color:var(--boreal-ui-primary-light)}.bds-radio-card--disabled.bds-radio-card--checked .bds-radio-card__header,.bds-radio-card--disabled.bds-radio-card--checked .bds-radio-card__description{color:var(--boreal-ui-primary-light)}.bds-radio-card--error{border-color:var(--boreal-stroke-danger-base)}.bds-radio-card--error:hover,.bds-radio-card--error:focus,.bds-radio-card--error:focus-within,.bds-radio-card--error:active{background-color:var(--boreal-ui-danger-lighter)}.bds-radio-card--error .bds-radio-card__header,.bds-radio-card--error .bds-radio-card__description{color:var(--boreal-text-danger-base)}.bds-radio-card--error .bds-radio-card__button{border-color:var(--boreal-stroke-danger-base)}.bds-radio-card--error.bds-radio-card--checked .bds-radio-card__dot{background-color:var(--boreal-ui-danger-base)}'};var c=a("bds_radio_card",function(){function a(a){var e=this;r(this,a);this.bdsChange=d(this,"bdsChange");this.value="on";this.info="";this.name="";this.label="";this.checked=false;this.disabled=false;this.error=false;this.handleClick=function(){return e.select()};this.handleKeyDown=function(a){if(a.key===" "){a.preventDefault();e.select()}}}a.prototype.select=function(){if(this.disabled||this.checked)return;this.checked=true;this.bdsChange.emit({checked:true,value:this.value})};a.prototype.componentDidLoad=function(){var a=this;requestAnimationFrame((function(){a.el.classList.add("bds-radio-card--transition")}))};Object.defineProperty(a.prototype,"isError",{get:function(){return this.error&&!this.disabled},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"hostClasses",{get:function(){return{"bds-radio-card":true,"bds-radio-card--disabled":this.disabled,"bds-radio-card--checked":this.checked,"bds-radio-card--error":this.isError}},enumerable:false,configurable:true});a.prototype.render=function(){var a=this;return e(o,{key:"731577746499239383ad4ee961cc947398e11dcb",class:this.hostClasses,role:"radio","aria-checked":"".concat(this.checked),"aria-disabled":this.disabled?"true":"false","aria-invalid":this.isError?"true":"false",tabIndex:this.disabled?-1:0,onClick:this.handleClick,onKeyDown:this.handleKeyDown},e("div",{key:"d35243914c0364136c0a316a444fd09a511072e6",class:"bds-radio-card__container"},e("input",{key:"d3a05c87dd20bd81799b2f9239deae2489664f39",class:"bds-radio-card__input",type:"radio",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,tabIndex:-1,onFocus:function(){return a.el.focus()}}),e("span",{key:"5fe503bdaf293f0385314b9bdda22118bba66b5d",class:"bds-radio-card__button"},e("span",{key:"cfbfee8d72258a6e5e462499737d20f21ac25cdb",class:"bds-radio-card__dot"})),e("div",{key:"988d2d636e09b2683a7cb475eaaf95295dc49966",class:"bds-radio-card__content"},e("div",{key:"618afb1a448ee6b2ce1d2affc525dc00ea2974e4",class:"bds-radio-card__header"},e("div",{key:"bf34a2ed964c1a30d1c306ad6d3bc059de8cd4d3",class:"bds-radio-card__icon"},e("slot",{key:"d4429397ec53ee30ff38144297987aa606a883c8",name:"icon"})),e("div",{key:"c34ec3aa8d7ba68b46394ea041d90a2805d0d00f",class:"bds-radio-card__title"},this.label||e("slot",{key:"d55874f8542acafdc6164b8012057e039ebfc0eb"}))),e("bds-typography",{key:"569dfe9079fc9b7f5cba562cd0d7d68ba738f713",variant:"helper"},e("slot",{key:"bc0e69fba40b230195be2f93f35fee162cc629ce",name:"description"})))),this.info&&e("span",{key:"c90eab4eead6352f51bb6036cdff56d4241d1dda",class:"bds-radio-card__info-icon","aria-label":this.info},e("em",{key:"850a2ae5521eb2d8e3c01a5bd1ad19d3bb87e73c",class:"bds-icon-info-circle"},e("bds-tooltip",{key:"188e3c5950d7a68b3e068bf6361e07850fdc907d"},this.info))))};Object.defineProperty(a.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return a}());c.style=i()}}}));
@@ -1 +1 @@
1
- System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(e){"use strict";var t,r,a,n,i;return{setters:[function(e){t=e.r;r=e.h;a=e.a;n=e.g},function(e){i=e.v}],execute:function(){var s={SMALL:"sm",MEDIUM:"md",LARGE:"lg"};var o=function(){return'@charset "UTF-8";bds-spinner{display:inline-block;position:relative;width:1em;height:1em}bds-spinner::before,bds-spinner::after{content:"";position:absolute;border-color:transparent transparent var(--boreal-primary-base) transparent;border-radius:50%;border-width:3px;border-style:solid;top:0;left:0;width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}bds-spinner::before{opacity:0.2;border-style:dashed;-webkit-animation:spin 0.8s linear infinite;animation:spin 0.8s linear infinite}bds-spinner::after{-webkit-animation:draw-arc 0.8s linear infinite;animation:draw-arc 0.8s linear infinite}.bds-spinner--small{width:var(--boreal-layout-m);height:var(--boreal-layout-m)}.bds-spinner--medium{width:var(--boreal-layout-ml);height:var(--boreal-layout-ml)}.bds-spinner--large{width:var(--boreal-layout-xl);height:var(--boreal-layout-xl)}.bds-spinner__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'};var d=e("bds_spinner",function(){function e(e){t(this,e);this.size=s.SMALL;this.label="Loading"}e.prototype.checkPropValues=function(){i(Object.values(s),s.SMALL,this.el,"size")};e.prototype.componentWillLoad=function(){this.checkPropValues()};Object.defineProperty(e.prototype,"getClassMap",{get:function(){return{"bds-spinner":true,"bds-spinner--small":this.size===s.SMALL,"bds-spinner--medium":this.size===s.MEDIUM,"bds-spinner--large":this.size===s.LARGE}},enumerable:false,configurable:true});e.prototype.render=function(){return r(a,{key:"d114eb6445b81a4e7beafd0ff08b8aaf6e1a96e7",class:this.getClassMap,role:"status","aria-label":this.label,"aria-live":"polite","aria-busy":"true"},r("span",{key:"fa45675b2e258eca9c44a9374a65f26c781343d5",class:"bds-spinner__sr-only"},this.label))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{size:[{checkPropValues:0}]}},enumerable:false,configurable:true});return e}());d.style=o()}}}));
1
+ System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(t){"use strict";var e,r,a,n,i;return{setters:[function(t){e=t.r;r=t.h;a=t.a;n=t.g},function(t){i=t.v}],execute:function(){var s={SMALL:"sm",MEDIUM:"md",LARGE:"lg"};var o=function(){return'@charset "UTF-8";bds-spinner{display:inline-block;position:relative;width:1em;height:1em}bds-spinner::before,bds-spinner::after{content:"";position:absolute;border-color:transparent transparent var(--boreal-primary-base) transparent;border-radius:50%;border-width:3px;border-style:solid;top:0;left:0;width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box}bds-spinner::before{opacity:0.2;border-style:dashed;-webkit-animation:spin 0.8s linear infinite;animation:spin 0.8s linear infinite}bds-spinner::after{-webkit-animation:draw-arc 0.8s linear infinite;animation:draw-arc 0.8s linear infinite}.bds-spinner--small{width:var(--boreal-layout-m);height:var(--boreal-layout-m)}.bds-spinner--medium{width:var(--boreal-layout-ml);height:var(--boreal-layout-ml)}.bds-spinner--large{width:var(--boreal-layout-xl);height:var(--boreal-layout-xl)}.bds-spinner__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes draw-arc{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}60%{-webkit-transform:rotate(330deg);transform:rotate(330deg)}65%{-webkit-transform:rotate(335deg);transform:rotate(335deg)}90%{-webkit-transform:rotate(350deg);transform:rotate(350deg)}95%{-webkit-transform:rotate(355deg);transform:rotate(355deg)}98%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'};var d=t("bds_spinner",function(){function t(t){e(this,t);this.size=s.SMALL;this.label="Loading"}t.prototype.checkPropValues=function(){i(Object.values(s),s.SMALL,this.el,"size")};t.prototype.componentWillLoad=function(){this.checkPropValues()};Object.defineProperty(t.prototype,"getClassMap",{get:function(){return{"bds-spinner":true,"bds-spinner--small":this.size===s.SMALL,"bds-spinner--medium":this.size===s.MEDIUM,"bds-spinner--large":this.size===s.LARGE}},enumerable:false,configurable:true});t.prototype.render=function(){return r(a,{key:"7e7846adadb6224abfcaaf2478768b72ec712659",class:this.getClassMap,role:"status","aria-label":this.label,"aria-live":"polite","aria-busy":"true"},r("span",{key:"1c6aad446ed35a3adcb4e4f28fd4a3e7b9b7cb3a",class:"bds-spinner__sr-only"},this.label))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{size:[{checkPropValues:0}]}},enumerable:false,configurable:true});return t}());d.style=o()}}}));
@@ -0,0 +1 @@
1
+ const r={ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Home:"Home",End:"End",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown"},o={Alt:"alt",Control:"control",Meta:"meta"};export{r as K,o as a}
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js","./p-CXz1RLGi.system.js","./p-C0P3gzq5.system.js","./p-CU_dRLdk.system.js","./p-BsZkk4oK.system.js","./p-K7DvMlRo.system.js","./p-1mOd23lT.system.js","./p-C-g3hhl_.system.js","./p-DnIhjwCH.system.js"],(function(o){"use strict";var t,b,r,a,e,s,d,n,u,l,i,c,h;return{setters:[function(o){t=o.r;b=o.c;r=o.h;a=o.g},function(o){e=o.C},function(o){s=o.b;d=o.a;n=o.B},function(o){u=o.C},function(o){l=o.v},function(o){i=o.K;c=o.a},function(o){h=o.K},null,null],execute:function(){var v=function(){return'@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-sm{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-sm .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-sm .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-sm .bds-button__content-icon:empty{display:none}.bds-button--size-sm .bds-button__content{}.bds-button--size-sm .bds-button__content-badge:empty{display:none}.bds-button--size-sm .bds-button__content-badge{display:none}.bds-button--size-md{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-md .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-md .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-md .bds-button__content-icon:empty{display:none}.bds-button--size-md .bds-button__content{}.bds-button--size-md .bds-button__content-badge:empty{display:none}.bds-button--size-lg{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-lg .bds-button__content{padding:var(--boreal-spacing-3xs) var(--boreal-spacing-2xs)}.bds-button--size-lg .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-lg .bds-button__content-icon:empty{display:none}.bds-button--size-lg .bds-button__content{}.bds-button--size-lg .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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-default.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-default.bds-button--primary:focus{background-color:var(--boreal-ui-primary-base);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-default.bds-button--success:focus{background-color:var(--boreal-ui-success-base);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-default.bds-button--error:focus{background-color:var(--boreal-ui-danger-base);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-outline.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-outline.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-outline.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-outline.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-plain.bds-button--default:focus{background-color:var(--boreal-ui-default-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-plain.bds-button--primary:focus{background-color:var(--boreal-ui-primary-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-plain.bds-button--success:focus{background-color:var(--boreal-ui-success-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.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:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-button.bds-button--var-plain.bds-button--error:focus{background-color:var(--boreal-ui-danger-lighter);-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-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:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.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)}}'};var p=o("bds_button",function(){function o(o){var r=this;t(this,o);this.bdsClick=b(this,"bdsClick");if(o.$hostElement$["s-ei"]){this.internals=o.$hostElement$["s-ei"]}else{this.internals=o.$hostElement$.attachInternals();o.$hostElement$["s-ei"]=this.internals}this._keyboard=new i;this.currentState=e.DEFAULT;this.label="";this.disabled=false;this.name="";this.type=s.BUTTON;this.color=u.DEFAULT;this.variant=d.DEFAULT;this.size=n.MEDIUM;this.loading=false;this.disclosure=false;this.handleKeyDown=function(o){r.currentState=e.ACTIVE;if(r.disabled||r.loading)return;if(r.type===s.SUBMIT||r.type===s.RESET){r.processFormClick()}else{r.bdsClick.emit(o)}};this.handleKeyUp=function(){r.currentState=e.DEFAULT};this.handleClick=function(o){o.preventDefault();o.stopPropagation();if(r.disabled||r.loading)return;if(o.detail===0)return;if(r.type===s.SUBMIT||r.type===s.RESET){r.processFormClick()}else{r.bdsClick.emit(o)}}}o.prototype.checkPropValues=function(){l(Object.values(s),s.BUTTON,this.el,"type");l(Object.values(u),u.DEFAULT,this.el,"color");l(Object.values(d),d.DEFAULT,this.el,"variant");l(Object.values(n),n.MEDIUM,this.el,"size")};o.prototype.componentWillLoad=function(){this.checkPropValues()};o.prototype.componentDidLoad=function(){this.setupFormAssociation();this.setupKeyboard()};o.prototype.setupKeyboard=function(){var o=this;this._keyboard.attach(this.el).set([h.Enter,h.Space],(function(t){if(t.type===c.KEYDOWN)o.handleKeyDown(t);else o.handleKeyUp()}),{triggers:[c.KEYDOWN,c.KEYUP],preventDefault:false}).onFocusOut(this.handleKeyUp)};o.prototype.setupFormAssociation=function(){var o=this.el.closest("form");var t=this.internals&&"form"in this.internals?this.internals.form:null;this.internalForm=t||o||undefined};o.prototype.processFormClick=function(){var o;var t=this;if(this.internalForm===undefined){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.");return}var b=(o={},o[s.SUBMIT]=function(){var o,b;if(typeof((o=t.internalForm)===null||o===void 0?void 0:o.requestSubmit)==="function"){t.internalForm.requestSubmit()}else{(b=t.internalForm)===null||b===void 0?void 0:b.submit()}},o[s.RESET]=function(){var o;return(o=t.internalForm)===null||o===void 0?void 0:o.reset()},o);var r=b[this.type];if(typeof r==="function"){r()}return};o.prototype.disconnectedCallback=function(){this._keyboard.detach()};Object.defineProperty(o.prototype,"getClassMap",{get:function(){var o;return o={"bds-button":true,"bds-button--is-disabled":this.disabled,"bds-button--is-loading":this.loading},o["bds-button--state-".concat(this.currentState)]=true,o["bds-button--".concat(this.color)]=true,o["bds-button--var-".concat(this.variant)]=true,o["bds-button--size-".concat(this.size)]=true,o},enumerable:false,configurable:true});o.prototype.render=function(){return r("button",{key:"c79564584911edae6ec1cafeb98cc3df848bf70c",name:this.name,class:this.getClassMap,type:this.type,disabled:this.disabled||this.loading,"aria-label":this.label||undefined,"aria-disabled":this.disabled||this.loading,onClick:this.handleClick,onKeyUp:this.handleKeyUp},r("div",{key:"75b3061a16259a504177bf8824cfa9f236a72411",class:"bds-button__content"},r("span",{key:"53d81ba990237be2c48f98d4d9e995d5a7330cdc",class:"bds-button__content-icon bds-button__content-icon--start"},r("slot",{key:"6cebb89369396fc34480821720fa6da635409563",name:"icon"})),r("slot",{key:"237237e29f08ee510cd95bafbd481f3856f1b08f"}),r("span",{key:"67c515f4faaac368d0bcdf20ef64a6717cfda3be",class:"bds-button__content-badge"},r("slot",{key:"d0e6fc25d95ba960e4b3b3940321a4221769e8ad",name:"badge"})),this.disclosure&&r("span",{key:"ffae85e8d38481098323ee36549596bfb61e5b4a",class:"bds-button__content-icon"},r("i",{key:"633b27a4306ba7c159f15eac9e5b9e712e19cbe0",class:"bds-icon-chevron-down"}))))};Object.defineProperty(o,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(o.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(o,"watchers",{get:function(){return{type:[{checkPropValues:0}],color:[{checkPropValues:0}],variant:[{checkPropValues:0}],size:[{checkPropValues:0}]}},enumerable:false,configurable:true});return o}());p.style=v()}}}));
@@ -0,0 +1 @@
1
+ import{M as e,r as o,c as s,h as a,a as r,g as i}from"./p-BqJlOB6b.js";import{f as c}from"./p-C4HM8wQe.js";import{a as b}from"./p-U9yfbs7i.js";import{K as t}from"./p-qGhMe8Hk.js";import{K as d}from"./p-7G4h4DI7.js";import{c as h}from"./p-DhSchGPI.js";import{u as l}from"./p-cgdh1LO-.js";import"./p-iq2UuV7c.js";import"./p-CPvuMm5C.js";const n=class extends(e(c)){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._keyboard=new t,this._id=h("bds-checkbox"),this.isDisabled=!1,this.isInvalid=!1,this.name="",this.info="",this.disabled=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.error=!1,this.value="on",this.label="",this.formCheckbox=l(this,this.value),this.handleClick=()=>{this.toggle()}}componentWillLoad(){this.isDisabled=this.disabled,this.inheritedAttributes={...b(this.el)}}componentDidLoad(){this.formCheckbox.syncFormValue(),this._keyboard.attach(this.el).set(d.Space,(()=>{this.isDisabled||this.toggle()}))}disconnectedCallback(){this._keyboard.detach()}onCheckedChange(){this.formCheckbox.syncFormValue()}onDisabledChange(e){this.isDisabled=e}formAssociatedCallback(){this.formCheckbox.formAssociatedCallback()}formResetCallback(){this.formCheckbox.formResetCallback()}formStateRestoreCallback(e){this.formCheckbox.formStateRestoreCallback(e)}formDisabledCallback(e){this.formCheckbox.formDisabledCallback(e)}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}handleInvalid(e){e.preventDefault(),this.isInvalid=!0}toggle(){this.isDisabled||(this.indeterminate=!1,this.checked=!this.checked,this.valueChange.emit(this.checked),this.bdsChange.emit({checked:this.checked,value:this.value}))}get isError(){return this.error&&!this.disabled||this.isInvalid}getAriaChecked(){return this.indeterminate?"mixed":`${this.checked}`}get hideFromScreenReaders(){return null!==this.el.closest("bds-checkbox-card")||this.isDisabled}renderCheckIcon(){return this.indeterminate?a("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M4 8h8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})):this.checked?a("svg",{class:"bds-checkbox__icon",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})):null}getClasses(){return{"bds-checkbox":!0,"bds-checkbox--checked":this.checked,"bds-checkbox--indeterminate":this.indeterminate,"bds-checkbox--error":this.isError,"bds-checkbox--disabled":this.isDisabled}}render(){const e=`${this._id}-label`;return a(r,{key:"2d1fa28a22f182826625c313ffaf3a98d0784d0c",class:this.getClasses(),...this.inheritedAttributes,role:"checkbox","aria-required":this.required?"true":null,"aria-checked":this.getAriaChecked(),"aria-disabled":this.isDisabled?"true":null,"aria-invalid":this.isError?"true":null,"aria-hidden":this.hideFromScreenReaders?"true":null,"aria-labelledby":e||void 0,tabindex:this.hideFromScreenReaders?-1:0,onClick:this.handleClick},a("input",{key:"f8e3ca7085aa01a10e7fe397daf10f18024ce254",type:"checkbox",value:this.value,checked:this.checked,disabled:this.disabled,required:this.required,"aria-hidden":"true",tabIndex:-1,onFocus:()=>this.el.focus()}),a("span",{key:"397626b30b104d317a8c48554e8b8f6396c9a441",class:"bds-checkbox__box"},this.renderCheckIcon()),a("span",{key:"f8aec05775f2819d3c9fd510378bb74a9e22cc5e",class:"bds-checkbox__content"},a("span",{key:"2956fccc6a6c7aa8624bb43798ece435cec7fbc0",class:"bds-checkbox__icon"},a("slot",{key:"845c326874e4b854b71a6f0a360e6e692629b683",name:"icon"})),a("label",{key:"35531d1619a81972e29bf5332012b51e19fa3223",id:e,class:"bds-checkbox__label"},""!==this.label.trim()?this.label:a("slot",null)),this.required&&a("em",{key:"81ea33ec4c831dea9029680b2ed7fff230849f4a",class:"bds-checkbox__required-indicator","aria-hidden":"true"},"*"),this.info&&a("span",{key:"237ad3a810ac31a95e59dc819ca118e8ab94763b",class:"bds-checkbox__info"},a("span",{key:"b83aa05c6b5468e7f57b3f36fd5e3ac770d5b985",class:"bds-checkbox__info-icon bds-icon-info-circle","aria-hidden":"true"}),a("bds-tooltip",{key:"572f7ab57a6144bdd5e22e0ee38a395cda7300d3"},this.info))))}static get formAssociated(){return!0}get el(){return i(this)}static get watchers(){return{checked:[{onCheckedChange:0}],disabled:[{onDisabledChange:0}]}}};n.style='@charset "UTF-8";.bds-checkbox__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}.bds-checkbox{font-family:var(--boreal-typography-font-family-primary);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;vertical-align:middle;gap:var(--boreal-spacing-2xs);outline:none;cursor:pointer}.bds-checkbox input[type=checkbox]{position:absolute;opacity:0;width:0;height:0;margin:0;pointer-events:none}.bds-checkbox__content{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-checkbox__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular);font-style:normal}.bds-checkbox__info-icon{font-size:var(--boreal-typography-font-size-xs);color:var(--boreal-icon-default-light)}.bds-checkbox__label{font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-checkbox__label:empty{display:none}.bds-checkbox__icon:empty{display:none}.bds-checkbox__box{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--boreal-spacing-m);height:var(--boreal-spacing-m);border:var(--boreal-spacing-3xs) solid var(--boreal-stroke-default-light);background:var(--boreal-ui-inverse);border-radius:var(--boreal-spacing-2xs);-webkit-transition:background 0.2s ease;transition:background 0.2s ease}.bds-checkbox:hover .bds-checkbox__box{-webkit-box-shadow:var(--boreal-depth-box-shadow-xs);box-shadow:var(--boreal-depth-box-shadow-xs)}.bds-checkbox:focus .bds-checkbox__box,.bds-checkbox:focus-visible .bds-checkbox__box{-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-focus)}.bds-checkbox:active .bds-checkbox__box{-webkit-box-shadow:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active)}.bds-checkbox--checked .bds-checkbox__box{border-color:var(--boreal-ui-primary-base);background:var(--boreal-ui-primary-base);color:var(--boreal-icon-inverse)}.bds-checkbox--checked:hover .bds-checkbox__box{border-color:var(--boreal-stroke-primary-dark);background:var(--boreal-ui-primary-dark)}.bds-checkbox--checked:active .bds-checkbox__box{border-color:var(--boreal-stroke-primary-dark);background:var(--boreal-ui-primary-dark)}.bds-checkbox--checked:disabled .bds-checkbox__box{border-color:var(--boreal-stroke-primary-light);background:var(--boreal-ui-primary-light)}.bds-checkbox--indeterminate .bds-checkbox__box{color:var(--boreal-icon-default-ink)}.bds-checkbox--indeterminate:disabled .bds-checkbox__box{color:var(--boreal-icon-disabled);background:var(--boreal-ui-inverse)}.bds-checkbox--error .bds-checkbox__box{border-color:var(--boreal-stroke-danger-base)}.bds-checkbox--error.bds-checkbox--checked .bds-checkbox__box{border-color:var(--boreal-stroke-danger-base);background:var(--boreal-stroke-danger-base)}.bds-checkbox--error.bds-checkbox--indeterminate .bds-checkbox__box{color:var(--boreal-icon-inverse);border-color:var(--boreal-stroke-danger-base);background:var(--boreal-stroke-danger-base)}.bds-checkbox--disabled{pointer-events:none;cursor:not-allowed}.bds-checkbox--disabled .bds-checkbox__box{border-color:var(--boreal-stroke-default-light);background:var(--boreal-ui-disabled)}.bds-checkbox--disabled .bds-checkbox__label{color:var(--boreal-text-disabled)}.bds-checkbox--disabled .bds-checkbox__required-indicator{color:var(--boreal-text-danger-light)}';export{n as bds_checkbox}
@@ -0,0 +1 @@
1
+ import{M as t,r as e,c as s,h as i,a as n,g as o}from"./p-BqJlOB6b.js";import{C as a}from"./p-Bfazyxqi.js";import{v as l}from"./p-kGnB15Lz.js";import{K as r}from"./p-7G4h4DI7.js";const d=t=>class extends t{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.activeItem=!1}get parent(){return this.el.closest('[role="menu"], [role="listbox"]')}get parentRole(){const t=this.parent;return null!==t?t.getAttribute("role"):null}get menuItemRole(){return"menu"===(this.parentRole||"menu")?"menuitem":"option"}get ariaSelected(){return"option"===this.menuItemRole?String(this.selected):null}get itemTabIndex(){return t=this.menuItemRole,this.disabled||"option"!==t&&"menuitem"!==t||!this.activeItem?-1:0;var t}handleKeyDownLogic(t,e){if(function(t){[r.ArrowDown,r.ArrowUp,r.Enter,r.Space].includes(t.key)&&t.preventDefault()}(t),t.key===r.Enter||t.key===r.Space)return void e();const s=this.parent;if(null===s)return;const i=Array.from(s.querySelectorAll(`${this.el.tagName.toLocaleLowerCase()}:not([disabled]):not([variant="label"]):not([hidden])`)),n=i.indexOf(this.el);!function(t,e,s){if(0===e.length||-1===s)return;let i=-1;switch(t.key){case r.ArrowDown:i=(s+1)%e.length;break;case r.ArrowUp:i=(s-1+e.length)%e.length;break;default:return}e.forEach((t=>t.removeAttribute("active-item"))),e[i].focus(),e[i].setAttribute("active-item","")}(t,i,n)}},h=t=>class extends t{constructor(){super(...arguments),this.href="",this.newTab=!1,this.download=""}get isLink(){return""!==this.href||""!==this.download}get linkAttributes(){const t={};if(!this.isLink)return t;const e=this.sanitizeUrl(this.href);return t.href=e,t.target=this.newTab?"_blank":"_self",t.rel=this._isExternalLink(e)||this.newTab||""!==this.download?"noopener noreferrer":"",t.download=""!==this.download?this.download:void 0,"a"!==this.el.tagName.toLowerCase()&&(t.role="link",t.tabindex="0"),t}_isExternalLink(t){return/^https?:\/\//.test(t)&&!t.includes(window.location.hostname)}handleLinkKeyDown(t){this.isLink&&("a"===this.el.tagName.toLowerCase()||t.key!==r.Enter&&t.key!==r.Space||(t.preventDefault(),this.handleLinkClick(new MouseEvent("click",{bubbles:!0,cancelable:!0}))))}handleLinkClick(t){if(!this.isLink)return void t.preventDefault();const e=this.linkAttributes;if(""!==e.download&&void 0!==e.download){t.preventDefault();const s=document.createElement("a");s.href=e.download||"",s.download=e.download,s.style.display="none",document.body.appendChild(s),console.log("Initiating download:",s.href),s.click(),document.body.removeChild(s)}"a"!==this.el.tagName.toLowerCase()&&("_blank"===e.target?window.open(e.href,"_blank",e.rel):window.location.href=e.href||"",t.preventDefault())}sanitizeUrl(t){const e=t.trim().toLowerCase();return e.startsWith("javascript:")||e.startsWith("data:")||e.includes("\0")?"":e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")||e.startsWith("/")||e.startsWith("#")?t:e.startsWith("://")?"":`https://${t}`}},b={LABEL:"label",BUTTON:"button"},c=class extends(t(d,h)){constructor(t){super(),e(this,t),this.bdsSelectItem=s(this,"bdsSelectItem"),this.variant=b.BUTTON,this.name="",this.disabled=!1,this.selected=!1,this.value="",this.checkable=!1,this.activeItem=!1,this.href="",this.newTab=!1,this.download="",this.currentState=a.DEFAULT,this.boxChecked=!1,this.handleClick=t=>{this.disabled||this.isLabelVariant||(t.stopPropagation(),this.isLink?this.handleLinkClick(t):this.bdsSelectItem.emit({value:this.value,selected:!this.selected,element:this.el}))},this.handleKeyDown=t=>{this.disabled||this.isLabelVariant||(this.handleKeyDownLogic(t,(()=>this.handleClick(t))),this.isLink&&void 0===this.linkAttributes.download||(this.currentState=t.key===r.Enter||t.key===r.Space?a.ACTIVE:this.currentState))},this.handleKeyUp=()=>{this.disabled||this.isLabelVariant||(this.currentState=a.DEFAULT)}}checkPropsVariant(){l(Object.values(b),b.BUTTON,this.el,"variant")}handleSelectedChange(t){this.checkable&&(this.boxChecked=t)}componentWillLoad(){this.checkPropsVariant(),this.checkable&&(this.boxChecked=this.selected)}get menuItemRoleExtended(){return this.checkable?"listbox"===this.parentRole?"checkbox":"menuitemcheckbox":this.menuItemRole}get isLabelVariant(){return this.variant===b.LABEL}get classMap(){return{"bds-list-item":!0,"bds-list-item--disabled":this.disabled,"bds-list-item--selected":this.selected,[`bds-list-item--state-${this.currentState}`]:!0,[`bds-list-item--${this.variant}`]:!0}}renderTypeLabel(){return i("bds-typography",{variant:"label",element:"label",align:"start",role:"presentation"},i("slot",{name:"left-content"})," ",i("slot",null))}renderCheckbox(){return this.checkable?i("bds-checkbox",{checked:this.boxChecked,disabled:this.disabled,name:`checkbox-${this.value}`,tabindex:"-1",style:{pointerEvents:"none"},inert:!0}):null}renderTypeButton(){return i("div",{class:"bds-list-item__content"},i("div",{class:"bds-list-item__content-left"},this.renderCheckbox(),i("span",{class:"bds-list-item__content-left__icon"},i("slot",{name:"left-content"})),i("span",{class:"bds-list-item__content-left__text"},i("slot",null))),i("div",{class:"bds-list-item__content-right"},i("slot",{name:"right-content"})))}render(){let t=this.renderTypeButton();this.isLabelVariant&&(t=this.renderTypeLabel());const e=this.isLink?{...this.linkAttributes,tabindex:this.activeItem?0:-1}:{};return i(n,{key:"f2eba72a913704f5de812a1be1f7aafbd718f27b",class:this.classMap,role:this.isLabelVariant?"presentation":this.menuItemRoleExtended,"aria-selected":!this.checkable&&this.ariaSelected,"aria-checked":this.checkable?this.ariaSelected:void 0,...e,tabIndex:this.isLabelVariant?-1:this.itemTabIndex,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},t)}get el(){return o(this)}static get watchers(){return{variant:[{checkPropsVariant:0}],selected:[{handleSelectedChange:0}]}}};c.style='@charset "UTF-8";.bds-list-item,.bds-list-item__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bds-list-item{width:100%;vertical-align:middle;position:relative;color:var(--boreal-text-default);font-style:normal;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-list-item[hidden]{display:none}.bds-list-item__content{-ms-flex-pack:justify;justify-content:space-between;-ms-flex:1;flex:1;vertical-align:middle;gap:var(--boreal-spacing-3xs)}.bds-list-item__content-left,.bds-list-item__content-right{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;vertical-align:middle}.bds-list-item__content-left__icon,.bds-list-item__content-left__text{display:inline-block;vertical-align:middle;font-style:normal;font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-xs)}.bds-list-item__content-left__icon:not(:empty){padding-right:var(--boreal-spacing-3xs)}.bds-list-item__content [class*=bds-icon-]{font-size:var(--boreal-typography-font-size-md)}.bds-list-item--button{cursor:pointer;padding:var(--boreal-spacing-1xs) var(--boreal-spacing-s);-webkit-transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;transition:background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease}.bds-list-item--button:not(.bds-list-item--disabled):hover:not([selected]){background-color:var(--boreal-ui-default-lighter);z-index:1}.bds-list-item--button:not(.bds-list-item--disabled):focus,.bds-list-item--button:not(.bds-list-item--disabled):focus-visible{outline:none;-webkit-box-shadow:var(--boreal-depth-box-shadow-focus);box-shadow:var(--boreal-depth-box-shadow-focus);z-index:1}.bds-list-item--button:not(.bds-list-item--disabled):active,.bds-list-item--button:not(.bds-list-item--disabled).bds-list-item--state-active{-webkit-box-shadow:var(--boreal-depth-box-shadow-active);box-shadow:var(--boreal-depth-box-shadow-active);background-color:var(--boreal-ui-default-lighter);z-index:1}.bds-list-item--selected{background-color:var(--boreal-ui-primary-lighter)}.bds-list-item--disabled{color:var(--boreal-text-disabled);cursor:not-allowed}.bds-list-item--label{cursor:default;padding:var(--boreal-spacing-3xs) 0}.bds-list-item--label .bds-typography label{color:var(--boreal-text-default-light)}';export{c as bds_list_menu_item}
@@ -0,0 +1 @@
1
+ import{M as e,r as o,h as t,a as r,g as a}from"./p-BqJlOB6b.js";import{a as s,g as i}from"./p-CcENtewr.js";import{B as p}from"./p-DlVzZK7o.js";import"./p-iq2UuV7c.js";import"./p-DCXSEEVH.js";import"./p-7G4h4DI7.js";const n=class extends(e(s)){constructor(e){super(),o(this,e),this.floatingOptions={},this.disabled=!1,this.width=320,this.header=!1,this.footer=!1,this.closable=!1,this.isVisible=!1}get options(){return{placement:this.floatingOptions.placement??"bottom",offset:i(this.floatingOptions?.hideArrow,this.floatingOptions?.offset,11),arrow:this.floatingOptions.hideArrow?void 0:this.arrowElement,strategy:"fixed",shift:!0,flip:!0}}get popoverWidth(){return"full"===this.width?"100%":"auto"===this.width?"auto":`${this.width}px`}get hooks(){return{onPositionUpdate:e=>this.handlePosition(e),onBeforeShow:()=>!this.disabled,onAfterShow:()=>this.attachClickOutside(),onAfterHide:()=>this.detachClickOutside(),onBeforeLoad:()=>this.attachTrigger(),subscribeToTrigger:e=>this.subscribe(e)}}attachClickOutside(){!1!==this.floatingOptions?.closeOnClickOutside&&(this.boundClickOutside=e=>this.handleClickOutside(e),document.addEventListener("mousedown",this.boundClickOutside))}detachClickOutside(){!1!==this.floatingOptions?.closeOnClickOutside&&null!==this.boundClickOutside&&(document.removeEventListener("mousedown",this.boundClickOutside),this.boundClickOutside=()=>{})}setArrowPosition(e){if(e.middlewareData?.arrow&&!this.disabled&&this.arrowElement?.isConnected){const o=this.floatingOptions.placement,t=e.middlewareData.arrow;let r=t.x||void 0;("top-start"===o||"bottom-start"===o)&&(r=t.x?20:void 0);const a=e.middlewareData.arrow.y;Object.assign(this.arrowElement.style,{left:null!=r?`${r}px`:"",top:null!=a?`${a}px`:""})}}handleClickOutside(e){const o=e.target,t=this.listenTarget?.contains(o)||this.trigger?.contains(o)||this.triggerSlot?.contains(o),r=this.floatingContent.contains(o)||this.floatingContent===o;t||r||this.hide()}handleContentClick(e){e.stopPropagation(),this.handleFloatingClick()}handleFloatingClick(){this.floatingOptions.closeOnClick&&this.hide()}handlePosition(e){if(this.floatingContent.setAttribute("data-placement",e.placement),this.setArrowPosition(e),"full"===this.width&&null!=this.triggerSlot){const e=(this.triggerSlot.parentElement??this.triggerSlot).getBoundingClientRect().width,o=this.floatingContent.getBoundingClientRect().width;Math.round(o)!==Math.round(e)&&(this.floatingContent.style.width=`${e}px`),this.updatePosition(this.triggerSlot,this.floatingContent,this.options,(e=>{this.floatingContent.setAttribute("data-placement",e.placement),this.setArrowPosition(e)}))}else"auto"===this.width&&(this.floatingContent.style.width="")}attachTrigger(){}subscribe(e){if(void 0===e)return;this.trigger=e,e.setAttribute("part","popover-trigger"),e.setAttribute("ariaDescribedBy","popover-content"),e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded","false");const o=e.closest("bds-button, bds-input, bds-select");if(null!=o){const e=o.querySelector("button, input");this.listenTarget=e??o,this.listenTarget.addEventListener("click",(e=>this.handleShow(e))),this.listenTarget.addEventListener("keydown",(e=>this.handleKeydown(e,(()=>this.show()),(()=>this.hide()))))}else this.trigger.addEventListener("click",(e=>this.handleShow(e))),this.trigger.addEventListener("keydown",(e=>this.handleKeydown(e,(()=>this.show()),(()=>this.hide()))))}handleShow(e){e.stopPropagation(),this.toggle()}get canShowArrow(){return!this.floatingOptions.hideArrow||!1}get getPlacement(){return this.floatingOptions.placement||"bottom"}get hasHeaderSlot(){return null!==this.el.querySelector('[slot="header"]')}get hasFooterSlot(){return null!==this.el.querySelector('[slot="footer"]')}async openPopover(){this.show()}async closePopover(){this.hide()}disconnectedCallback(){this.listenTarget.removeEventListener("click",(e=>this.handleShow(e))),this.trigger.removeEventListener("click",(e=>this.handleShow(e)))}render(){return t(r,{key:"1145ed2dd0b348768e488601c1fb107d324722d6",class:"popover",style:{width:this.popoverWidth},popover:"manual",role:"tooltip","data-placement":this.getPlacement,"data-hidearrow":this.canShowArrow,"aria-hidden":this.isVisible?"false":"true",onClick:e=>this.handleContentClick(e),ref:e=>this.floatingContent=e},this.header&&t("div",{key:"17f0abca3fb63dec5cc653f04fe9f9b66f8726c7",class:"popover-header"},t("div",{key:"2a75d8bc515b5a570d205b3ed0165fa90f499e72",class:"popover-header__content"},t("span",{key:"e4e3c86e939a164bbf1d66e27ae81ad79e72f622",class:"popover-header__icon"},t("slot",{key:"dae8e922f5764e0df061d00e1610d10b9b566c1b",name:"header-icon"})),t("span",{key:"2c5712ba18797e4afd646116049bceb7bc947304",class:"popover-header__title"},t("slot",{key:"3f50071dd0967d019af5df4b42ba74fda8506288",name:"header-title"}))),this.closable&&t("bds-button",{key:"9a2cea30f338e9f9e43b86ded9307b23380d061c",class:"popover-header__close",size:p.SMALL,onBdsClick:()=>this.hide()},t("em",{key:"f58e153416d703d86a2dd6e040fc7d4db4a3493c",slot:"icon",class:"bds-icon-close"}))),this.canShowArrow&&t("div",{key:"e52f80b940678fb20fdde853ebc3f21e2bfc05eb",class:"popover-arrow",part:"arrow",ref:e=>this.arrowElement=e}),t("div",{key:"3bcaf09c7d1e4760f220241352dead7f7d67a576",class:"popover-content",tabIndex:-1,part:"popover-content"},t("slot",{key:"2b9308edf77812d1055f76266304466261563fe0"})),this.footer&&t("div",{key:"33e39c5c515bddcf0339e4af834026436e475035",class:"popover-footer",onClick:e=>e.stopPropagation()},t("slot",{key:"4155b26aef0e05a4b3c1f8692b6e8fb41b556eed",name:"footer-helper"}),t("slot",{key:"d05f3fe0bcebd6082ad19b217805fe657c78166c",name:"footer-button"})))}get el(){return a(this)}};n.style='@charset "UTF-8";:root{--popover-arrow-size:var(--boreal-spacing-s);--popover-width:320px}.popover{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular);background:var(--boreal-ui-inverse);-webkit-filter:drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.15));filter:drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.15));-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;border:transparent;cursor:auto}.popover-content{position:relative;padding:var(--boreal-spacing-s)}.popover[popover]:not(:popover-open){display:none}.popover-header{border-bottom:var(--boreal-stroke-default-light) solid 1px;padding:var(--boreal-spacing-m) var(--boreal-spacing-xs) var(--boreal-spacing-m) var(--boreal-spacing-s);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.popover-header__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.popover-header__title{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-sm)}.popover-header__icon{font-size:var(--boreal-typography-font-size-md);margin-right:var(--boreal-spacing-3xs)}.popover-header__close{margin-left:var(--boreal-spacing-s)}.popover-header__close .bds-button{margin:0;padding:0;width:var(--boreal-spacing-ml);height:var(--boreal-spacing-ml)}.popover-header__close .bds-button__content{width:var(--boreal-spacing-ml);height:var(--boreal-spacing-ml)}.popover-header__close em{font-size:var(--boreal-typography-font-size-xs)}.popover-footer{border-top:var(--boreal-stroke-default-light) solid 1px;padding:var(--boreal-spacing-s) var(--boreal-spacing-xs) var(--boreal-spacing-s) var(--boreal-spacing-s);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.popover .popover-arrow{position:absolute;width:var(--popover-arrow-size);height:var(--popover-arrow-size);pointer-events:none}.popover .popover-arrow::before{content:"";position:absolute;width:var(--popover-arrow-size);height:var(--popover-arrow-size);background:var(--boreal-ui-inverse);-webkit-transform:rotate(45deg);transform:rotate(45deg);inset:0}.popover[data-placement^=top] .popover-arrow{bottom:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=top] .popover-arrow::before{bottom:0}.popover[data-placement^=bottom] .popover-arrow{top:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=bottom] .popover-arrow::before{bottom:0}.popover[data-placement^=left] .popover-arrow{right:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=left] .popover-arrow::before{left:0}.popover[data-placement^=right] .popover-arrow{left:calc(var(--popover-arrow-size) / -2)}.popover[data-placement^=right] .popover-arrow::before{left:0}';export{n as bds_popover}
@@ -1 +1 @@
1
- import{r,h as i,a as d,g as a}from"./p-BqJlOB6b.js";import{v as s}from"./p-kGnB15Lz.js";const g={FIXED:"fixed",FLUID:"fluid"},e=class{constructor(i){r(this,i),this.layout=g.FLUID}checkPropValues(){s(Object.values(g),g.FLUID,this.el,"layout")}componentWillLoad(){this.checkPropValues()}render(){return i(d,{key:"e5610c3140f86d79b275de56c8a815badccdf03d",class:{"bds-grid--fixed":this.layout===g.FIXED},style:{...this.rowGap&&{"row-gap":this.rowGap}}},i("slot",{key:"ac13145d26bd923b6f5abe415b062728757d0fd5"}))}get el(){return a(this)}static get watchers(){return{layout:[{checkPropValues:0}]}}};e.style='@charset "UTF-8";bds-grid{--bds-grid-columns:var(--boreal-grid-columns-sm);--bds-grid-gutter:var(--boreal-grid-gutter-sm);--bds-grid-margin:var(--boreal-grid-margin-sm);display:grid;grid-template-columns:repeat(var(--bds-grid-columns), 1fr);gap:var(--bds-grid-gutter);padding-inline:var(--bds-grid-margin);-webkit-margin-start:var(--bds-grid-nav-offset, 0px);margin-inline-start:var(--bds-grid-nav-offset, 0px);-webkit-box-sizing:border-box;box-sizing:border-box}@media (min-width: 769px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-md)}}@media (min-width: 960px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-lg);--bds-grid-margin:var(--boreal-grid-margin-lg)}}@media (min-width: 1152px){bds-grid{--bds-grid-gutter:var(--boreal-grid-gutter-xl);--bds-grid-margin:var(--boreal-grid-margin-xl)}}@media (min-width: 1344px){bds-grid{--bds-grid-margin:var(--boreal-grid-margin-2xl)}}bds-grid.bds-grid--fixed{max-width:calc(var(--boreal-grid-fixed-max-columns-width) + 2 * var(--bds-grid-margin));margin-inline:auto}';export{e as bds_grid}
1
+ import{r,h as i,a as d,g as a}from"./p-BqJlOB6b.js";import{v as s}from"./p-kGnB15Lz.js";const g={FIXED:"fixed",FLUID:"fluid"},e=class{constructor(i){r(this,i),this.layout=g.FLUID}checkPropValues(){s(Object.values(g),g.FLUID,this.el,"layout")}componentWillLoad(){this.checkPropValues()}render(){return i(d,{key:"72e2dd4c1ab75d6a7e71dc8e75456d482afbb4b8",class:{"bds-grid--fixed":this.layout===g.FIXED},style:{...this.rowGap&&{"row-gap":this.rowGap}}},i("slot",{key:"8c47051a287548daff2402a71aab7bd2aef50da0"}))}get el(){return a(this)}static get watchers(){return{layout:[{checkPropValues:0}]}}};e.style='@charset "UTF-8";bds-grid{--bds-grid-columns:var(--boreal-grid-columns-sm);--bds-grid-gutter:var(--boreal-grid-gutter-sm);--bds-grid-margin:var(--boreal-grid-margin-sm);display:grid;grid-template-columns:repeat(var(--bds-grid-columns), 1fr);gap:var(--bds-grid-gutter);padding-inline:var(--bds-grid-margin);-webkit-margin-start:var(--bds-grid-nav-offset, 0px);margin-inline-start:var(--bds-grid-nav-offset, 0px);-webkit-box-sizing:border-box;box-sizing:border-box}@media (min-width: 769px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-md)}}@media (min-width: 960px){bds-grid{--bds-grid-columns:var(--boreal-grid-columns-lg);--bds-grid-margin:var(--boreal-grid-margin-lg)}}@media (min-width: 1152px){bds-grid{--bds-grid-gutter:var(--boreal-grid-gutter-xl);--bds-grid-margin:var(--boreal-grid-margin-xl)}}@media (min-width: 1344px){bds-grid{--bds-grid-margin:var(--boreal-grid-margin-2xl)}}bds-grid.bds-grid--fixed{max-width:calc(var(--boreal-grid-fixed-max-columns-width) + 2 * var(--bds-grid-margin));margin-inline:auto}';export{e as bds_grid}
@@ -0,0 +1 @@
1
+ System.register([],(function(n){"use strict";return{execute:function(){var t=function(){function n(){}n.prototype.error=function(n,t){throw new Error("[".concat(n,"]: ").concat(t))};n.prototype.warn=function(n,t){console.warn("[".concat(n,"]: ").concat(t))};n.prototype.log=function(n,t){console.log("[".concat(n,"]: ").concat(t))};return n}();n("L",t)}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){var e=t("a",{DEFAULT:"default",OUTLINE:"outline",PLAIN:"plain"});var u=t("B",{SMALL:"sm",MEDIUM:"md",LARGE:"lg"});var n=t("b",{BUTTON:"button",SUBMIT:"submit",RESET:"reset"})}}}));
@@ -0,0 +1 @@
1
+ const s=s=>class extends s{formDisabledCallback(s){this.isDisabled=s}};export{s as f}
@@ -0,0 +1 @@
1
+ const o={HORIZONTAL:"horizontal",VERTICAL:"vertical"};export{o as O}
@@ -0,0 +1 @@
1
+ System.register([],(function(r){"use strict";return{execute:function(){r({r:t,s:n});function n(r,n){var t;(t=r.setFormValue)===null||t===void 0?void 0:t.call(r,n)}function t(r,n,t){var i;var u={};var v="";for(var e=0,o=n;e<o.length;e++){var a=o[e],c=a.key,f=a.isValid,d=a.message;if(!f(t)){u[c]=true;if(v==="")v=d}}var l=Object.keys(u).length===0;(i=r.setValidity)===null||i===void 0?void 0:i.call(r,l?{}:u,v);return l}}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){var r=e("C",{DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"})}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var n=function(t,r){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))n[r]=t[r]};return n(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(t,r);function u(){this.constructor=t}t.prototype=r===null?Object.create(r):(u.prototype=r.prototype,new u)}}();System.register([],(function(n){"use strict";return{execute:function(){var t=n("f",(function(n){var t=function(n){__extends(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}t.prototype.formDisabledCallback=function(n){this.isDisabled=n};return t}(n);return t}))}}}));
@@ -0,0 +1 @@
1
+ import{L as t}from"./p-iq2UuV7c.js";import{f as n}from"./p-DCXSEEVH.js";import{K as e}from"./p-7G4h4DI7.js";const o="focus",i="blur",r=Math.min,s=Math.max,l=Math.round,a=Math.floor,c=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function d(t,n,e){return s(t,r(n,e))}function h(t,n){return"function"==typeof t?t(n):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function y(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}const w=new Set(["top","bottom"]);function x(t){return w.has(m(t))?"y":"x"}function v(t){return y(x(t))}function b(t){return t.replace(/start|end/g,(t=>f[t]))}const A=["left","right"],S=["right","left"],F=["top","bottom"],R=["bottom","top"];function P(t){return t.replace(/left|right|bottom|top/g,(t=>u[t]))}function D(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){const{x:n,y:e,width:o,height:i}=t;return{width:o,height:i,top:e,left:n,right:n+o,bottom:e+i,x:n,y:e}}function T(t,n,e){let{reference:o,floating:i}=t;const r=x(n),s=v(n),l=g(s),a=m(n),c="y"===r,u=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[l]/2-i[l]/2;let h;switch(a){case"top":h={x:u,y:o.y-i.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-i.width,y:f};break;default:h={x:o.x,y:o.y}}switch(p(n)){case"start":h[s]-=d*(e&&c?-1:1);break;case"end":h[s]+=d*(e&&c?-1:1)}return h}async function C(t,n){var e;void 0===n&&(n={});const{x:o,y:i,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:m=0}=h(n,t),p=D(m),y=l[d?"floating"===f?"reference":"floating":f],g=k(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(y)))||e?y:y.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),w="floating"===f?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=k(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:x,strategy:a}):w);return{top:(g.top-b.top+p.top)/v.y,bottom:(b.bottom-g.bottom+p.bottom)/v.y,left:(g.left-b.left+p.left)/v.x,right:(b.right-g.right+p.right)/v.x}}const L=new Set(["left","top"]);function O(){return"undefined"!=typeof window}function E(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function q(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return!!O()&&(t instanceof Node||t instanceof M(t).Node)}function B(t){return!!O()&&(t instanceof Element||t instanceof M(t).Element)}function j(t){return!!O()&&(t instanceof HTMLElement||t instanceof M(t).HTMLElement)}function I(t){return!(!O()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof M(t).ShadowRoot)}const $=new Set(["inline","contents"]);function H(t){const{overflow:n,overflowX:e,overflowY:o,display:i}=Z(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!$.has(i)}const N=new Set(["table","td","th"]);function U(t){return N.has(E(t))}const V=[":popover-open",":modal"];function K(t){return V.some((n=>{try{return t.matches(n)}catch(t){return!1}}))}const W=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],G=["paint","layout","strict","content"];function Y(t){const n=_(),e=B(t)?Z(t):t;return W.some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||X.some((t=>(e.willChange||"").includes(t)))||G.some((t=>(e.contain||"").includes(t)))}function _(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const J=new Set(["html","body","#document"]);function Q(t){return J.has(E(t))}function Z(t){return M(t).getComputedStyle(t)}function tt(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function nt(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||I(t)&&t.host||q(t);return I(n)?n.host:n}function et(t){const n=nt(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&H(n)?n:et(n)}function ot(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const i=et(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),s=M(i);if(r){const t=it(s);return n.concat(s,s.visualViewport||[],H(i)?i:[],t&&e?ot(t):[])}return n.concat(i,ot(i,[],e))}function it(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function rt(t){const n=Z(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=j(t),r=i?t.offsetWidth:e,s=i?t.offsetHeight:o,a=l(e)!==r||l(o)!==s;return a&&(e=r,o=s),{width:e,height:o,$:a}}function st(t){return B(t)?t:t.contextElement}function lt(t){const n=st(t);if(!j(n))return c(1);const e=n.getBoundingClientRect(),{width:o,height:i,$:r}=rt(n);let s=(r?l(e.width):e.width)/o,a=(r?l(e.height):e.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const at=c(0);function ct(t){const n=M(t);return _()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:at}function ut(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),r=st(t);let s=c(1);n&&(o?B(o)&&(s=lt(o)):s=lt(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==M(t))&&n}(r,e,o)?ct(r):c(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,f=i.width/s.x,d=i.height/s.y;if(r){const t=M(r),n=o&&B(o)?M(o):o;let e=t,i=it(e);for(;i&&o&&n!==e;){const t=lt(i),n=i.getBoundingClientRect(),o=Z(i),r=n.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,s=n.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,u*=t.y,f*=t.x,d*=t.y,a+=r,u+=s,e=M(i),i=it(e)}}return k({width:f,height:d,x:a,y:u})}function ft(t,n){const e=tt(t).scrollLeft;return n?n.left+e:ut(q(t)).left+e}function dt(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-ft(t,e),y:e.top+n.scrollTop}}const ht=new Set(["absolute","fixed"]);function mt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=M(t),o=q(t),i=e.visualViewport;let r=o.clientWidth,s=o.clientHeight,l=0,a=0;if(i){r=i.width,s=i.height;const t=_();(!t||t&&"fixed"===n)&&(l=i.offsetLeft,a=i.offsetTop)}const c=ft(o);if(c<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),i="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,s=Math.abs(o.clientWidth-n.clientWidth-i);s<=25&&(r-=s)}else c<=25&&(r+=c);return{width:r,height:s,x:l,y:a}}(t,e);else if("document"===n)o=function(t){const n=q(t),e=tt(t),o=t.ownerDocument.body,i=s(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=s(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+ft(t);const a=-e.scrollTop;return"rtl"===Z(o).direction&&(l+=s(n.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:a}}(q(t));else if(B(n))o=function(t,n){const e=ut(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,r=j(t)?lt(t):c(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}(n,e);else{const e=ct(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return k(o)}function pt(t,n){const e=nt(t);return!(e===n||!B(e)||Q(e))&&("fixed"===Z(e).position||pt(e,n))}function yt(t,n,e){const o=j(n),i=q(n),r="fixed"===e,s=ut(t,!0,r,n);let l={scrollLeft:0,scrollTop:0};const a=c(0);function u(){a.x=ft(i)}if(o||!o&&!r)if(("body"!==E(n)||H(i))&&(l=tt(n)),o){const t=ut(n,!0,r,n);a.x=t.x+n.clientLeft,a.y=t.y+n.clientTop}else i&&u();r&&!o&&i&&u();const f=!i||o||r?c(0):dt(i,l);return{x:s.left+l.scrollLeft-a.x-f.x,y:s.top+l.scrollTop-a.y-f.y,width:s.width,height:s.height}}function gt(t){return"static"===Z(t).position}function wt(t,n){if(!j(t)||"fixed"===Z(t).position)return null;if(n)return n(t);let e=t.offsetParent;return q(t)===e&&(e=e.ownerDocument.body),e}function xt(t,n){const e=M(t);if(K(t))return e;if(!j(t)){let n=nt(t);for(;n&&!Q(n);){if(B(n)&&!gt(n))return n;n=nt(n)}return e}let o=wt(t,n);for(;o&&U(o)&&gt(o);)o=wt(o,n);return o&&Q(o)&&gt(o)&&!Y(o)?e:o||function(t){let n=nt(t);for(;j(n)&&!Q(n);){if(Y(n))return n;if(K(n))return null;n=nt(n)}return null}(t)||e}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=q(o),l=!!n&&K(n.floating);if(o===s||l&&r)return e;let a={scrollLeft:0,scrollTop:0},u=c(1);const f=c(0),d=j(o);if((d||!d&&!r)&&(("body"!==E(o)||H(s))&&(a=tt(o)),j(o))){const t=ut(o);u=lt(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const h=!s||d||r?c(0):dt(s,a);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-a.scrollLeft*u.x+f.x+h.x,y:e.y*u.y-a.scrollTop*u.y+f.y+h.y}},getDocumentElement:q,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:i}=t;const l=[..."clippingAncestors"===e?K(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=ot(t,[],!1).filter((t=>B(t)&&"body"!==E(t))),i=null;const r="fixed"===Z(t).position;let s=r?nt(t):t;for(;B(s)&&!Q(s);){const n=Z(s),e=Y(s);e||"fixed"!==n.position||(i=null),(r?!e&&!i:!e&&"static"===n.position&&i&&ht.has(i.position)||H(s)&&!e&&pt(t,s))?o=o.filter((t=>t!==s)):i=n,s=nt(s)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=l.reduce(((t,e)=>{const o=mt(n,e,i);return t.top=s(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),mt(n,l[0],i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:xt,getElementRects:async function(t){const n=this.getOffsetParent||xt,e=this.getDimensions,o=await e(t.floating);return{reference:yt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=rt(t);return{width:n,height:e}},getScale:lt,isElement:B,isRTL:function(t){return"rtl"===Z(t).direction}};function bt(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}const At=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:i,y:r,placement:s,middlewareData:l}=n,a=await async function(t,n){const{placement:e,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),s=m(e),l=p(e),a="y"===x(e),c=L.has(s)?-1:1,u=r&&a?-1:1,f=h(n,t);let{mainAxis:d,crossAxis:y,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof g&&(y="end"===l?-1*g:g),a?{x:y*u,y:d*c}:{x:d*c,y:y*u}}(n,t);return s===(null==(e=l.offset)?void 0:e.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:i+a.x,y:r+a.y,data:{...a,placement:s}}}}},St=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=n,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:D=!0,...k}=h(t,n);if(null!=(e=r.arrow)&&e.alignmentOffset)return{};const T=m(i),C=x(l),L=m(l)===l,O=await(null==a.isRTL?void 0:a.isRTL(c.floating)),E=d||(L||!D?[P(l)]:function(t){const n=P(t);return[b(t),n,b(n)]}(l)),M="none"!==w;!d&&M&&E.push(...function(t,n,e,o){const i=p(t);let r=function(t,n,e){switch(t){case"top":case"bottom":return e?n?S:A:n?A:S;case"left":case"right":return n?F:R;default:return[]}}(m(t),"start"===e,o);return i&&(r=r.map((t=>t+"-"+i)),n&&(r=r.concat(r.map(b)))),r}(l,D,w,O));const q=[l,...E],z=await a.detectOverflow(n,k),B=[];let j=(null==(o=r.flip)?void 0:o.overflows)||[];if(u&&B.push(z[T]),f){const t=function(t,n,e){void 0===e&&(e=!1);const o=p(t),i=v(t),r=g(i);let s="x"===i?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[r]>n.floating[r]&&(s=P(s)),[s,P(s)]}(i,s,O);B.push(z[t[0]],z[t[1]])}if(j=[...j,{placement:i,overflows:B}],!B.every((t=>t<=0))){var I,$;const t=((null==(I=r.flip)?void 0:I.index)||0)+1,n=q[t];if(n&&("alignment"!==f||C===x(n)||j.every((t=>x(t.placement)!==C||t.overflows[0]>0))))return{data:{index:t,overflows:j},reset:{placement:n}};let e=null==($=j.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:$.placement;if(!e)switch(y){case"bestFit":{var H;const t=null==(H=j.filter((t=>{if(M){const n=x(t.placement);return n===C||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:H[0];t&&(e=t);break}case"initialPlacement":e=l}if(i!==e)return{reset:{placement:e}}}return{}}}};class Ft{constructor(t){this.logger=t}async computePosition(t,n,e){null==t&&this.logger.error("FloatingAdapter.computePosition","Reference element is required for positioning."),null==n&&this.logger.error("FloatingAdapter.computePosition","Floating element is required for positioning.");const{placement:o,offset:i,flip:s,shift:l,arrow:a,strategy:c}=e,u=[At(i)];s&&u.push(St()),l&&u.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:i,platform:r}=n,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=h(t,n),u={x:e,y:o},f=await r.detectOverflow(n,c),p=x(m(i)),g=y(p);let w=u[g],v=u[p];s&&(w=d(w+f["y"===g?"top":"left"],w,w-f["y"===g?"bottom":"right"])),l&&(v=d(v+f["y"===p?"top":"left"],v,v-f["y"===p?"bottom":"right"]));const b=a.fn({...n,[g]:w,[p]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:s,[p]:l}}}}}}()),null!=a&&u.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:i,rects:s,platform:l,elements:a,middlewareData:c}=n,{element:u,padding:f=0}=h(t,n)||{};if(null==u)return{};const m=D(f),y={x:e,y:o},w=v(i),x=g(w),b=await l.getDimensions(u),A="y"===w,S=A?"top":"left",F=A?"bottom":"right",R=A?"clientHeight":"clientWidth",P=s.reference[x]+s.reference[w]-y[w]-s.floating[x],k=y[w]-s.reference[w],T=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let C=T?T[R]:0;C&&await(null==l.isElement?void 0:l.isElement(T))||(C=a.floating[R]||s.floating[x]);const L=P/2-k/2,O=C/2-b[x]/2-1,E=r(m[S],O),M=r(m[F],O),q=E,z=C-b[x]-M,B=C/2-b[x]/2+L,j=d(q,B,z),I=!c.arrow&&null!=p(i)&&B!==j&&s.reference[x]/2-(B<q?E:M)-b[x]/2<0,$=I?B<q?B-q:B-z:0;return{[w]:y[w]+$,data:{[w]:j,centerOffset:B-j-$,...I&&{alignmentOffset:$}},reset:I}}}))({element:a}));const f=await((t,n,e)=>{const o=new Map,i={platform:vt,...e},r={...i.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=e,l=r.filter(Boolean),a=await(null==s.isRTL?void 0:s.isRTL(n));let c=await s.getElementRects({reference:t,floating:n,strategy:i}),{x:u,y:f}=T(c,o,a),d=o,h={},m=0;for(let e=0;e<l.length;e++){var p;const{name:r,fn:y}=l[e],{x:g,y:w,data:x,reset:v}=await y({x:u,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:c,platform:{...s,detectOverflow:null!=(p=s.detectOverflow)?p:C},elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=w?w:f,h={...h,[r]:{...h[r],...x}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:t,floating:n,strategy:i}):v.rects),({x:u,y:f}=T(c,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(t,n,{...i,platform:r})})(t,n,{placement:o,middleware:u,strategy:c}).catch((t=>{this.logger.error("FloatingAdapter.computePosition",t.message)})).then((t=>t)),{x:w,y:b,placement:A,middlewareData:S}=f;return{x:w,y:b,placement:A,middlewareData:S}}applyPosition(t,n){null==t&&this.logger.error("FloatingAdapter.applyPosition","Element is required to apply positioning."),t.style.left=`${n.x}px`,t.style.top=`${n.y}px`}}class Rt extends Ft{constructor(){super(new t)}}const Pt=l=>{class c extends(n(l)){constructor(){super()}get options(){return{placement:"bottom",offset:8,strategy:"fixed"}}get hooks(){return{}}showElement(){this.floatingContent.showPopover(),this.isVisible=!0,this.startAutoUpdate(this.triggerSlot,this.floatingContent,this.options,(t=>{this.hooks.onPositionUpdate?.(t)}))}onBeforeShow(t){return null==this.triggerSlot?(this.logger.error("AnchoredMixin.show","triggerSlot is required"),!1):super.onBeforeShow(t)}hideFocus(){const t=this.floatingContent?.contains(document.activeElement);t&&document.activeElement?.blur()}hideElement(){this.stopAutoUpdate(),this.hideFocus(),this.floatingContent?.hidePopover(),this.isVisible=!1}handleSlotChange(t,n,e){const o=t.target;null!=this.previousTrigger&&this.detachTriggerListeners(this.previousTrigger,n,e),null!=o&&(this.attachTriggerListeners(o,n,e),this.previousTrigger=o)}handleKeydown(t,n,o){t.key!==e.Enter&&t.key!==e.Space||n(),t.key===e.Escape&&o()}async updatePosition(t,n,e,o){const i=await this.positionEngine.computePosition(t,n,{placement:e.placement,offset:e.offset,flip:e.flip??!0,shift:e.shift??!0,arrow:e.arrow,strategy:e.strategy??"fixed"});return this.positionEngine.applyPosition(n,i),o?.(i),i}startAutoUpdate(t,n,e,o){const i=()=>{this.updatePosition(t,n,e,o)};i(),this.cleanupAutoUpdate=function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,d=st(t),h=i||l?[...d?ot(d):[],...ot(n)]:[];h.forEach((t=>{i&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const m=d&&u?function(t,n){let e,o=null;const i=q(t);function l(){var t;clearTimeout(e),null==(t=o)||t.disconnect(),o=null}return function c(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:h,top:m,width:p,height:y}=d;if(u||n(),!p||!y)return;const g={rootMargin:-a(m)+"px "+-a(i.clientWidth-(h+p))+"px "+-a(i.clientHeight-(m+y))+"px "+-a(h)+"px",threshold:s(0,r(1,f))||1};let w=!0;function x(n){const o=n[0].intersectionRatio;if(o!==f){if(!w)return c();o?c(!1,o):e=setTimeout((()=>{c(!1,1e-7)}),1e3)}1!==o||bt(d,t.getBoundingClientRect())||c(),w=!1}try{o=new IntersectionObserver(x,{...g,root:i.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let p,y=-1,g=null;c&&(g=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&g&&(g.unobserve(n),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(n)}))),e()})),d&&!f&&g.observe(d),g.observe(n));let w=f?ut(t):null;return f&&function n(){const o=ut(t);w&&!bt(w,o)&&e(),w=o,p=requestAnimationFrame(n)}(),e(),()=>{var t;h.forEach((t=>{i&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),null==m||m(),null==(t=g)||t.disconnect(),g=null,f&&cancelAnimationFrame(p)}}(t,n,i,{elementResize:!0,layoutShift:!0})}stopAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=void 0}attachTriggerListeners(t,n,e){t.addEventListener(o,n),t.addEventListener(i,e)}detachTriggerListeners(t,n,e){t.removeEventListener(o,n),t.removeEventListener(i,e)}floatingDisconnect(t,n){null!=this.previousTrigger&&this.detachTriggerListeners(this.previousTrigger,t,n),this.stopAutoUpdate()}subscribeToTrigger(t){void 0!==this.hooks.subscribeToTrigger&&this.hooks.subscribeToTrigger(t)}onBeforeLoad(){const t=this.el.parentElement;if(null===t)return;const n=t.querySelector("[bds-tooltip], [bds-popover]")||t.closest(".bds-button, .bds-input, .bds-select")||t;n.isConnected&&(this.triggerSlot=n,this.subscribeToTrigger(n))}componentDidLoad(){this.onBeforeLoad(),this.hooks.onBeforeLoad?.(this.el)}componentWillLoad(){this.toggle=this.toggle.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.positionEngine=new Rt,this.logger=new t,this.cleanupAutoUpdate=void 0,this.previousTrigger=void 0}disconnectedCallback(){null!=this.previousTrigger&&this.floatingDisconnect((()=>this.show()),(()=>this.hide())),this.stopAutoUpdate(),this.hide()}static get elementRef(){return"el"}}return c},Dt=(t=!1,n=0,e)=>t?void 0!==n?n:0:void 0!==n?e+n:e;export{Pt as a,Dt as g}
@@ -1 +1 @@
1
- System.register([],(function(a){"use strict";return{execute:function(){var i=a("i",(function(a,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(a.hasAttribute(i)){var e=a.getAttribute(i);if(e!==null){r[i]=e}a.removeAttribute(i)}}));return r}));var r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var e=a("a",(function(a,e){var t=r;return i(a,t)}))}}}));
1
+ System.register([],(function(a){"use strict";return{execute:function(){var i=a("i",(function(a,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(a.hasAttribute(i)){var e=a.getAttribute(i);if(e!==null){r[i]=e}a.removeAttribute(i)}}));return r}));var r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var e=a("a",(function(a,e){var t=r;if(e&&e.length>0){t=t.filter((function(a){return!e.includes(a)}))}return i(a,t)}))}}}));
@@ -0,0 +1 @@
1
+ function s(s,t){s.setFormValue?.(t)}function t(s,t,n){const o={};let e="";for(const{key:s,isValid:c,message:r}of t)c(n)||(o[s]=!0,""===e&&(e=r));const c=0===Object.keys(o).length;return s.setValidity?.(c?{}:o,e),c}export{t as r,s}
@@ -0,0 +1 @@
1
+ System.register([],(function(n){"use strict";return{execute:function(){n("u",e);function e(n,e){var t=function(){n.internals.setFormValue(n.checked?n.value:null)};var a=function(){if(n.required&&!n.checked){n.internals.setValidity({valueMissing:true}," ",n.el)}else{n.internals.setValidity({});if(n.isInvalid)n.isInvalid=false}};var f=function(){t();a()};return{syncFormValue:f,formAssociatedCallback:function(){f()},formResetCallback:function(){n.checked=false;n.isInvalid=false;n.indeterminate=false;n.internals.setFormValue(null);a()},formStateRestoreCallback:function(t){n.checked=t===e;f()},formDisabledCallback:function(e){n.isDisabled=e}}}}}}));
@@ -0,0 +1 @@
1
+ const t={DEFAULT:"default",OUTLINE:"outline",PLAIN:"plain"},s={SMALL:"sm",MEDIUM:"md",LARGE:"lg"},a={BUTTON:"button",SUBMIT:"submit",RESET:"reset"};export{s as B,t as a,a as b}
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){var e=t("O",{HORIZONTAL:"horizontal",VERTICAL:"vertical"})}}}));
@@ -0,0 +1 @@
1
+ const r={DEFAULT:"default",PRIMARY:"primary",SUCCESS:"success",ERROR:"error"};export{r as C}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,t=1,i=arguments.length;t<i;t++){n=arguments[t];for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u))r[u]=n[u]}return r};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(r,n,t){if(t||arguments.length===2)for(var i=0,u=n.length,e;i<u;i++){if(e||!(i in n)){if(!e)e=Array.prototype.slice.call(n,0,i);e[i]=n[i]}}return r.concat(e||Array.prototype.slice.call(n))};System.register(["./p-1mOd23lT.system.js","./p-C-g3hhl_.system.js","./p-DnIhjwCH.system.js"],(function(r){"use strict";var n,t,i,u;return{setters:[function(r){n=r.K;t=r.a},function(r){i=r.L},function(r){u=r.O}],execute:function(){var e=r("a",{KEYDOWN:"keydown",KEYUP:"keyup"});var a=__assign(__assign({},u),{BOTH:"both"});var o={ROVING_TABINDEX:"roving-tabindex",ARIA_ACTIVE_DESCENDANT:"aria-activedescendant"};var f={FIRST:"first",LAST:"last"};function l(r){return r!=null}function v(r,n){var t=r[n];if(t==null)return;var i=r.findIndex((function(r){return r.getAttribute("tabindex")==="0"}));t.setAttribute("tabindex","0");t.focus();if(i!==-1&&i!==n){r[i].setAttribute("tabindex","-1")}}function s(r,n){var t=r[n];if(t==null)return;r.forEach((function(r){return r.setAttribute("tabindex","-1")}));t.setAttribute("tabindex","0")}function c(r,n,t){var i;r.flat().filter(l).forEach((function(r){return r.setAttribute("tabindex","-1")}));var u=(i=r[n])===null||i===void 0?void 0:i[t];if(u!=null){u.setAttribute("tabindex","0");u.focus()}}function d(r,n,t){var i;r.flat().filter(l).forEach((function(r){return r.setAttribute("tabindex","-1")}));var u=(i=r[n])===null||i===void 0?void 0:i[t];if(u!=null)u.setAttribute("tabindex","0")}function h(r){return r!=null}function b(r,n){r.forEach((function(r,t){if(r.id.length===0){r.id="".concat(n,"-").concat(t,"-").concat(Math.random().toString(36).slice(2,7))}}))}function _(r,n,t,i){var u=r[n];if(u==null)return;b(r,i);r.forEach((function(r){return r.setAttribute("tabindex","-1")}));t.setAttribute("aria-activedescendant",u.id);u.scrollIntoView({block:"nearest"})}function g(r,n,t,i,u){var e;var a=r.flat().filter(h);var o=(e=r[n])===null||e===void 0?void 0:e[t];if(o==null)return;b(a,u);a.forEach((function(r){return r.setAttribute("tabindex","-1")}));i.setAttribute("aria-activedescendant",o.id);o.scrollIntoView({block:"nearest"})}function p(r,n,t){if(n===o.ARIA_ACTIVE_DESCENDANT){var i=t===null||t===void 0?void 0:t.getAttribute("aria-activedescendant");if(i==null)return-1;return r.findIndex((function(r){return r.id===i}))}return r.indexOf(document.activeElement)}function y(r,n,t){var i;if(n===o.ARIA_ACTIVE_DESCENDANT){var u=t===null||t===void 0?void 0:t.getAttribute("aria-activedescendant");if(u!=null){for(var e=0;e<r.length;e++){for(var a=0;a<r[e].length;a++){if(((i=r[e][a])===null||i===void 0?void 0:i.id)===u)return{row:e,col:a}}}}return{row:-1,col:-1}}var f=document.activeElement;for(var e=0;e<r.length;e++){for(var a=0;a<r[e].length;a++){if(r[e][a]===f)return{row:e,col:a}}}return{row:-1,col:-1}}function w(r,t){var i,u,e;var l=r.orientation,c=l===void 0?a.BOTH:l,d=r.wrap,h=d===void 0?true:d,b=r.focusStrategy,g=b===void 0?{type:o.ROVING_TABINDEX}:b,y=r.initialActiveSelector,w=r.onNavigate,A=r.onItemActive,m=r.onActivate,x=r.activateKeys,k=x===void 0?[n.Enter,n.Space]:x,C=r.onEscape,j=r.repeatThrottleMs,D=j===void 0?100:j;var M=g.type;var O=g.type===o.ARIA_ACTIVE_DESCENDANT?(i=g.idPrefix)!==null&&i!==void 0?i:"".concat((e=(u=t.root)===null||u===void 0?void 0:u.tagName.toLowerCase())!==null&&e!==void 0?e:"bds-nav","-item"):"bds-nav-item";t.onStrategyResolved(M,O);var S=typeof r.items==="function"?r.items:function(){var n,i;return Array.from((i=(n=t.root)===null||n===void 0?void 0:n.querySelectorAll(r.items))!==null&&i!==void 0?i:[])};var T=-1;var N=function(r,n){var i=S();if(i.length===0)return;var u=p(i,M,t.root);if(u===-1&&n!=null){u=i.indexOf(n)}var e;if(r===f.FIRST){e=0}else if(r===f.LAST){e=i.length-1}else{var a=(u===-1?r===1?-1:0:u)+r;if(a<0)e=h?i.length-1:0;else if(a>=i.length)e=h?0:i.length-1;else e=a}if(A!=null&&M===o.ARIA_ACTIVE_DESCENDANT){var l=T>=0?i[T]:null;A(i[e],l)}if(w!=null){w(e,i)}else if(M===o.ARIA_ACTIVE_DESCENDANT){if(t.root!=null)_(i,e,t.root,O)}else{v(i,e)}T=e};var E=function(r){return r.target};var I=0;var R=function(r){return function(n){if(n.repeat&&D>0){var t=Date.now();if(t-I<D)return;I=t}r(n)}};if(c===a.HORIZONTAL||c===a.BOTH){t.register(n.ArrowLeft,R((function(r){return N(-1,E(r))})),{repeat:true});t.register(n.ArrowRight,R((function(r){return N(1,E(r))})),{repeat:true})}if(c===a.VERTICAL||c===a.BOTH){t.register(n.ArrowUp,R((function(r){return N(-1,E(r))})),{repeat:true});t.register(n.ArrowDown,R((function(r){return N(1,E(r))})),{repeat:true})}t.register(n.Home,(function(){return N(f.FIRST)}));t.register(n.End,(function(){return N(f.LAST)}));if(m!=null&&k.length>0)t.register(k,m);if(C!=null)t.register(n.Escape,C);if(t.root!=null&&t.abortController!=null){var K=t.root;var B=t.abortController.signal;if(M===o.ARIA_ACTIVE_DESCENDANT){K.addEventListener("mousedown",(function(r){r.preventDefault();K.focus()}),{signal:B})}var G=S();if(G.length>0){var H=p(G,M,K);if(H===-1&&y!=null){H=G.findIndex((function(r){return r.matches(y)}))}var L=H!==-1?H:M===o.ROVING_TABINDEX?0:-1;if(L!==-1){if(A!=null&&M===o.ARIA_ACTIVE_DESCENDANT){A(G[L],null)}T=L;if(M===o.ARIA_ACTIVE_DESCENDANT){_(G,L,K,O)}else{s(G,L)}}else{G.forEach((function(r){return r.setAttribute("tabindex","-1")}))}}}}function A(r){return r!=null}function m(r){var n=[];r.forEach((function(r,t){r.forEach((function(r,i){if(A(r))n.push({row:t,col:i,cell:r})}))}));return n}function x(r,n){var t,i;return(i=(t=r[n])===null||t===void 0?void 0:t.map((function(r,t){return A(r)?{row:n,col:t,cell:r}:null})).filter((function(r){return r!=null})))!==null&&i!==void 0?i:[]}function k(r,n,t){var i;if(n<0||t<0)return null;var u=(i=r.at(n))===null||i===void 0?void 0:i.at(t);return A(u)?u:null}function C(r,n){return r.reduce((function(r,t){if(r==null)return t;return Math.abs(t.col-n)<Math.abs(r.col-n)?t:r}),null)}function j(r,n,t,i){var u=r.length;var e=n;for(var a=0;a<u;a++){if(e<0||e>=u){if(!i)return-1;e=e<0?u-1:0}if(x(r,e).length>0)return e;e+=t}return-1}function D(r,t){var i,u,e;var a=r.wrap,f=a===void 0?false:a,l=r.focusStrategy,v=l===void 0?{type:o.ROVING_TABINDEX}:l,s=r.initialActiveSelector,h=r.onNavigate,b=r.onActivate,_=r.activateKeys,p=_===void 0?[n.Enter,n.Space]:_,w=r.onPageUp,D=r.onPageDown,M=r.onEscape,O=r.repeatThrottleMs,S=O===void 0?100:O;var T=v.type;var N=v.type===o.ARIA_ACTIVE_DESCENDANT?(i=v.idPrefix)!==null&&i!==void 0?i:"".concat((e=(u=t.root)===null||u===void 0?void 0:u.tagName.toLowerCase())!==null&&e!==void 0?e:"bds-grid","-item"):"bds-grid-item";t.onStrategyResolved(T,N);var E=typeof r.items==="function"?r.items:function(){return r.items};var I=function(r,n,i){var u;var e=(u=r[n])===null||u===void 0?void 0:u[i];if(e==null)return;if(h!=null){h(n,i,r);return}if(T===o.ARIA_ACTIVE_DESCENDANT){if(t.root!=null)g(r,n,i,t.root,N)}else{c(r,n,i)}};var R=function(r,n){var i=E();var u=m(i);if(u.length===0)return;var e=y(i,T,t.root),a=e.row,o=e.col;var l=k(i,a,o);if(!A(l)){a=u[0].row;o=u[0].col}if(r!==0){var v=j(i,a+r,r>0?1:-1,f);if(v===-1)return;var s=C(x(i,v),o);if(s!=null)I(i,s.row,s.col);return}var c=x(i,a);var d=c.findIndex((function(r){return r.col===o}));var h=d+n;if(h>=0&&h<c.length){var s=c[h];I(i,s.row,s.col);return}if(f&&i.length>1){var v=j(i,a+n,n>0?1:-1,true);if(v===-1)return;var b=x(i,v);var s=n>0?b[0]:b[b.length-1];I(i,s.row,s.col);return}var _=n>0?c[c.length-1]:c[0];I(i,_.row,_.col)};var K=function(r){var n=E();var i=m(n);if(i.length===0)return;var u=y(n,T,t.root).row;if(u===-1||x(n,u).length===0)u=i[0].row;switch(r){case"row-start":{var e=x(n,u)[0];I(n,e.row,e.col);break}case"row-end":{var a=x(n,u);var o=a[a.length-1];I(n,o.row,o.col);break}case"grid-start":I(n,i[0].row,i[0].col);break;case"grid-end":{var o=i[i.length-1];I(n,o.row,o.col);break}}};var B=0;var G=function(r){return function(n){if(n.repeat&&S>0){var t=Date.now();if(t-B<S)return;B=t}r()}};t.register(n.ArrowLeft,G((function(){return R(0,-1)})),{repeat:true});t.register(n.ArrowRight,G((function(){return R(0,1)})),{repeat:true});t.register(n.ArrowUp,G((function(){return R(-1,0)})),{repeat:true});t.register(n.ArrowDown,G((function(){return R(1,0)})),{repeat:true});t.register(n.Home,(function(){return K("row-start")}));t.register(n.End,(function(){return K("row-end")}));t.register(["control",n.Home],(function(){return K("grid-start")}));t.register(["control",n.End],(function(){return K("grid-end")}));if(b!=null&&p.length>0)t.register(p,b);if(w!=null)t.register(n.PageUp,w);if(D!=null)t.register(n.PageDown,D);if(M!=null)t.register(n.Escape,M);if(t.root!=null&&t.abortController!=null){var H=E();var L=m(H);if(L.length>0){var P=s!=null?L.find((function(r){return r.cell.matches(s)})):undefined;var V=P!==null&&P!==void 0?P:L[0];if(T===o.ARIA_ACTIVE_DESCENDANT){g(H,V.row,V.col,t.root,N);var Y=t.root;var F=t.abortController.signal;Y.addEventListener("mousedown",(function(r){r.preventDefault();Y.focus()}),{signal:F})}else{d(H,V.row,V.col)}}}}var M={alt:function(r){return r.altKey},control:function(r){return r.ctrlKey},meta:function(r){return r.metaKey},shift:function(r){return r.shiftKey}};function O(r){return r in M}var S={ctrl:t.Control,cmd:t.Meta,win:t.Meta,option:t.Alt,space:n.Space};function T(r){var n;if(r===" ")return" ";var t=r.trim().toLowerCase();return(n=S[t])!==null&&n!==void 0?n:t}function N(r){var n=(Array.isArray(r)?r:r.split("+")).map(T);var t=n.filter((function(r){return O(r)}));var i=n.filter((function(r){return!O(r)}));return{keys:i,modifiers:t}}function E(r,n){var t=__spreadArray([],r,true).sort();var i=Object.keys(M).filter((function(r){return n.includes(r)}));return __spreadArray(__spreadArray([],i,true),t,true).join("+")}var I=function(){function r(r){if(r===void 0){r={preventDefault:true}}this._bindings=new Map;this._allowedKeys=new Set;this._pressedKeys=new Set;this._logger=new i;this._abortController=null;this._root=null;this._strategyType=o.ROVING_TABINDEX;this._idPrefix="bds-nav-item";this._defaults=r}r.prototype.attach=function(r){var n=this;this.detach();this._root=r;this._abortController=new AbortController;var t=this._abortController.signal;var i=function(r){return n._dispatchKeyEvent(r)};var u=function(){return n._pressedKeys.clear()};r.addEventListener(e.KEYDOWN,i,{signal:t});r.addEventListener(e.KEYUP,i,{signal:t});r.addEventListener("focusout",u,{signal:t});globalThis.addEventListener("blur",u,{signal:t});return this};r.prototype.detach=function(){var r;(r=this._abortController)===null||r===void 0?void 0:r.abort();this._abortController=null;this._root=null;this._pressedKeys.clear()};r.prototype._ensureAttached=function(r){if(this._root!=null&&this._abortController!=null)return true;this._logger.warn("KeyboardController","".concat(r,"() was called before attach(). Call attach(el) first."));return false};r.prototype._rebuildAllowedKeys=function(){var r=this;this._allowedKeys.clear();this._bindings.forEach((function(n){for(var t=0,i=__spreadArray(__spreadArray([],n.keys,true),n.modifiers,true);t<i.length;t++){var u=i[t];r._allowedKeys.add(u)}}))};r.prototype._dispatchKeyEvent=function(r){var n=r.key.toLowerCase();var t=r.type===e.KEYDOWN;var i=r.type===e.KEYUP;if(!this._allowedKeys.has(n)){if(!O(n)&&i)this._pressedKeys.delete(n);return}if(!O(n)&&t){this._pressedKeys.add(n)}var u=Object.keys(M).filter((function(n){return M[n](r)}));var a=E(Array.from(this._pressedKeys),u);var o=this._bindings.get(a);if(o===undefined&&this._pressedKeys.size>1){o=this._bindings.get(E([n],u))}if(o!==undefined){if(o.options.preventDefault&&t)r.preventDefault();if(this._matchesTrigger(o,r)){if(o.options.preventDefault&&i)r.preventDefault();if(o.options.stopPropagation)r.stopPropagation();o.handler(r)}}if(!O(n)&&i){this._pressedKeys.delete(n)}};r.prototype._matchesTrigger=function(r,n){var t;var i=(t=r.options.triggers)!==null&&t!==void 0?t:[e.KEYDOWN];if(n.type===e.KEYDOWN&&i.includes(e.KEYDOWN)){return!n.repeat||Boolean(r.options.repeat)}if(n.type===e.KEYUP&&i.includes(e.KEYUP)){return true}return false};r.prototype.set=function(r,n,t){var i=this;if(Array.isArray(r)){var u=r.map(T);var e=u.some((function(r){return O(r)}));if(!e){u.forEach((function(r){return i.set(r,n,t)}));return this}}var a=N(r),o=a.keys,f=a.modifiers;var l=E(o,f);var v=__assign(__assign({},this._defaults),t);for(var s=0,c=__spreadArray(__spreadArray([],o,true),f,true);s<c.length;s++){var d=c[s];this._allowedKeys.add(d)}this._bindings.set(l,{keys:o,modifiers:f,handler:n,options:v});return this};r.prototype.setActivateHandler=function(r,t){return this.set([n.Enter,n.Space],r,t)};r.prototype.onFocusOut=function(r){if(this._root==null||this._abortController==null)return this;this._root.addEventListener("focusout",r,{signal:this._abortController.signal});return this};r.prototype.rovingTabindex=function(r,n){if(r.length===0)return this;var t=Math.max(0,Math.min(n,r.length-1));v(r,t);return this};r.prototype.ariaActiveDescendant=function(r,n,t){var i,u;if(r.length===0)return this;var e=(i=t===null||t===void 0?void 0:t.container)!==null&&i!==void 0?i:this._root;if(e==null)return this;var a=(u=t===null||t===void 0?void 0:t.idPrefix)!==null&&u!==void 0?u:"bds-nav-item";var o=Math.max(0,Math.min(n,r.length-1));_(r,o,e,a);return this};r.prototype.applyFocus=function(r,n){if(this._strategyType===o.ARIA_ACTIVE_DESCENDANT){return this.ariaActiveDescendant(r,n,{idPrefix:this._idPrefix})}return this.rovingTabindex(r,n)};r.prototype.setLinearNavigation=function(r){var n=this;if(!this._ensureAttached("setLinearNavigation"))return this;w(r,{root:this._root,abortController:this._abortController,register:function(r,t,i){return n.set(r,t,i)},onStrategyResolved:function(r,t){n._strategyType=r;n._idPrefix=t}});return this};r.prototype.setGridNavigation=function(r){var n=this;if(!this._ensureAttached("setGridNavigation"))return this;D(r,{root:this._root,abortController:this._abortController,register:function(r,t,i){return n.set(r,t,i)},onStrategyResolved:function(r,t){n._strategyType=r;n._idPrefix=t}});return this};r.prototype.remove=function(r){var n=N(r),t=n.keys,i=n.modifiers;this._bindings.delete(E(t,i));this._rebuildAllowedKeys();return this};return r}();r("K",I)}}}));
@@ -1 +1 @@
1
- const a=(a,i=[])=>{const r={};return i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);null!==e&&(r[i]=e),a.removeAttribute(i)}})),r},i=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],r=r=>a(r,i);export{r as a,a as i}
1
+ const a=(a,r=[])=>{const i={};return r.forEach((r=>{if(a.hasAttribute(r)){const e=a.getAttribute(r);null!==e&&(i[r]=e),a.removeAttribute(r)}})),i},r=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],i=(i,e)=>{let l=r;return e&&e.length>0&&(l=l.filter((a=>!e.includes(a)))),a(i,l)};export{i as a,a as i}
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(r,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))t[n]=r[n]};return t(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(r,n);function e(){this.constructor=r}r.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++){r=arguments[n];for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))t[i]=r[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,r,n,e){function i(t){return t instanceof n?t:new n((function(r){r(t)}))}return new(n||(n=Promise))((function(n,a){function u(t){try{f(e.next(t))}catch(t){a(t)}}function o(t){try{f(e["throw"](t))}catch(t){a(t)}}function f(t){t.done?n(t.value):i(t.value).then(u,o)}f((e=e.apply(t,r||[])).next())}))};var __generator=this&&this.__generator||function(t,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=o(0),u["throw"]=o(1),u["return"]=o(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(r){return f([t,r])}}function f(o){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(e=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=r.call(t,n)}catch(t){o=[6,t];i=0}finally{e=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,r){var n={};for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0)n[e]=t[e];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(t);i<e.length;i++){if(r.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(t,e[i]))n[e[i]]=t[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(t,r,n){if(n||arguments.length===2)for(var e=0,i=r.length,a;e<i;e++){if(a||!(e in r)){if(!a)a=Array.prototype.slice.call(r,0,e);a[e]=r[e]}}return t.concat(a||Array.prototype.slice.call(r))};System.register(["./p-C-g3hhl_.system.js","./p-BHYhd1yq.system.js","./p-1mOd23lT.system.js"],(function(t){"use strict";var r,n,e;return{setters:[function(t){r=t.L},function(t){n=t.f},function(t){e=t.K}],execute:function(){var i=this;var a={Focus:"focus",Blur:"blur"};var u=Math.min;var o=Math.max;var f=Math.round;var s=Math.floor;var c=function(t){return{x:t,y:t}};var v={left:"right",right:"left",bottom:"top",top:"bottom"};var l={start:"end",end:"start"};function d(t,r,n){return o(t,u(r,n))}function h(t,r){return typeof t==="function"?t(r):t}function _(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function g(t){return t==="x"?"y":"x"}function m(t){return t==="y"?"height":"width"}var y=new Set(["top","bottom"]);function w(t){return y.has(_(t))?"y":"x"}function b(t){return g(w(t))}function x(t,r,n){if(n===void 0){n=false}var e=p(t);var i=b(t);var a=m(i);var u=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(r.reference[a]>r.floating[a]){u=P(u)}return[u,P(u)]}function A(t){var r=P(t);return[S(t),r,S(r)]}function S(t){return t.replace(/start|end/g,(function(t){return l[t]}))}var O=["left","right"];var j=["right","left"];var k=["top","bottom"];var F=["bottom","top"];function R(t,r,n){switch(t){case"top":case"bottom":if(n)return r?j:O;return r?O:j;case"left":case"right":return r?k:F;default:return[]}}function T(t,r,n,e){var i=p(t);var a=R(_(t),n==="start",e);if(i){a=a.map((function(t){return t+"-"+i}));if(r){a=a.concat(a.map(S))}}return a}function P(t){return t.replace(/left|right|bottom|top/g,(function(t){return v[t]}))}function C(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function M(t){return typeof t!=="number"?C(t):{top:t,right:t,bottom:t,left:t}}function E(t){var r=t.x,n=t.y,e=t.width,i=t.height;return{width:e,height:i,top:n,left:r,right:r+e,bottom:n+i,x:r,y:n}}function q(t,r,n){var e=t.reference,i=t.floating;var a=w(r);var u=b(r);var o=m(u);var f=_(r);var s=a==="y";var c=e.x+e.width/2-i.width/2;var v=e.y+e.height/2-i.height/2;var l=e[o]/2-i[o]/2;var d;switch(f){case"top":d={x:c,y:e.y-i.height};break;case"bottom":d={x:c,y:e.y+e.height};break;case"right":d={x:e.x+e.width,y:v};break;case"left":d={x:e.x-i.width,y:v};break;default:d={x:e.x,y:e.y}}switch(p(r)){case"start":d[u]-=l*(n&&s?-1:1);break;case"end":d[u]+=l*(n&&s?-1:1);break}return d}function D(t,r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,d,_,p,g,m,y,w,b,x,A,S,O,j,k,F,R,T,P,C,q,D,L,z;var I;return __generator(this,(function(B){switch(B.label){case 0:if(r===void 0){r={}}e=t.x,i=t.y,a=t.platform,u=t.rects,o=t.elements,f=t.strategy;s=h(r,t),c=s.boundary,v=c===void 0?"clippingAncestors":c,l=s.rootBoundary,d=l===void 0?"viewport":l,_=s.elementContext,p=_===void 0?"floating":_,g=s.altBoundary,m=g===void 0?false:g,y=s.padding,w=y===void 0?0:y;b=M(w);x=p==="floating"?"reference":"floating";A=o[m?x:p];O=E;k=(j=a).getClippingRect;I={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((n=B.sent())!=null?n:true))return[3,2];F=A;return[3,5];case 2:R=A.contextElement;if(R)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)];case 3:R=B.sent();B.label=4;case 4:F=R;B.label=5;case 5:return[4,k.apply(j,[(I.element=F,I.boundary=v,I.rootBoundary=d,I.strategy=f,I)])];case 6:S=O.apply(void 0,[B.sent()]);T=p==="floating"?{x:e,y:i,width:u.floating.width,height:u.floating.height}:u.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)];case 7:P=B.sent();return[4,a.isElement==null?void 0:a.isElement(P)];case 8:if(!B.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(P)];case 9:q=B.sent()||{x:1,y:1};return[3,11];case 10:q={x:1,y:1};B.label=11;case 11:C=q;L=E;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:T,offsetParent:P,strategy:f})];case 12:z=B.sent();return[3,14];case 13:z=T;B.label=14;case 14:D=L.apply(void 0,[z]);return[2,{top:(S.top-D.top+b.top)/C.y,bottom:(D.bottom-S.bottom+b.bottom)/C.y,left:(S.left-D.left+b.left)/C.x,right:(D.right-S.right+b.right)/C.x}]}}))}))}var L=function(t,r,n){return __awaiter(i,void 0,void 0,(function(){var e,i,a,u,o,f,s,c,v,l,d,h,_,p,g,m,y,w,b,x,A,S,O,j,k,F,R;var T,P;return __generator(this,(function(C){switch(C.label){case 0:e=n.placement,i=e===void 0?"bottom":e,a=n.strategy,u=a===void 0?"absolute":a,o=n.middleware,f=o===void 0?[]:o,s=n.platform;c=f.filter(Boolean);return[4,s.isRTL==null?void 0:s.isRTL(r)];case 1:v=C.sent();return[4,s.getElementRects({reference:t,floating:r,strategy:u})];case 2:l=C.sent();d=q(l,i,v),h=d.x,_=d.y;p=i;g={};m=0;y=0;C.label=3;case 3:if(!(y<c.length))return[3,11];b=c[y],x=b.name,A=b.fn;return[4,A({x:h,y:_,initialPlacement:i,placement:p,strategy:u,middlewareData:g,rects:l,platform:__assign(__assign({},s),{detectOverflow:(w=s.detectOverflow)!=null?w:D}),elements:{reference:t,floating:r}})];case 4:S=C.sent(),O=S.x,j=S.y,k=S.data,F=S.reset;h=O!=null?O:h;_=j!=null?j:_;g=__assign(__assign({},g),(T={},T[x]=__assign(__assign({},g[x]),k),T));if(!(F&&m<=50))return[3,10];m++;if(!(typeof F==="object"))return[3,9];if(F.placement){p=F.placement}if(!F.rects)return[3,8];if(!(F.rects===true))return[3,6];return[4,s.getElementRects({reference:t,floating:r,strategy:u})];case 5:R=C.sent();return[3,7];case 6:R=F.rects;C.label=7;case 7:l=R;C.label=8;case 8:P=q(l,p,v),h=P.x,_=P.y;C.label=9;case 9:y=-1;C.label=10;case 10:y++;return[3,3];case 11:return[2,{x:h,y:_,placement:p,strategy:u,middlewareData:g}]}}))}))};var z=function(t){return{name:"arrow",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,o,f,s,c,v,l,_,g,y,w,x,A,S,O,j,k,F,R,T,P,C,E,q,D,L,z,I,B,H,N,G;var V,W;return __generator(this,(function(Y){switch(Y.label){case 0:n=r.x,e=r.y,i=r.placement,a=r.rects,o=r.platform,f=r.elements,s=r.middlewareData;c=h(t,r)||{},v=c.element,l=c.padding,_=l===void 0?0:l;if(v==null){return[2,{}]}g=M(_);y={x:n,y:e};w=b(i);x=m(w);return[4,o.getDimensions(v)];case 1:A=Y.sent();S=w==="y";O=S?"top":"left";j=S?"bottom":"right";k=S?"clientHeight":"clientWidth";F=a.reference[x]+a.reference[w]-y[w]-a.floating[x];R=y[w]-a.reference[w];return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(v)];case 2:T=Y.sent();P=T?T[k]:0;C=!P;if(C)return[3,4];return[4,o.isElement==null?void 0:o.isElement(T)];case 3:C=!Y.sent();Y.label=4;case 4:if(C){P=f.floating[k]||a.floating[x]}E=F/2-R/2;q=P/2-A[x]/2-1;D=u(g[O],q);L=u(g[j],q);z=D;I=P-A[x]-L;B=P/2-A[x]/2+E;H=d(z,B,I);N=!s.arrow&&p(i)!=null&&B!==H&&a.reference[x]/2-(B<z?D:L)-A[x]/2<0;G=N?B<z?B-z:B-I:0;return[2,(V={},V[w]=y[w]+G,V.data=__assign((W={},W[w]=H,W.centerOffset=B-H-G,W),N&&{alignmentOffset:G}),V.reset=N,V)]}}))}))}}};var I=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,d,p,g,m,y,b,S,O,j,k,F,R,C,M,E,q,D,L,z,I,B,H,N,G,V,W,Y,$,J;return __generator(this,(function(K){switch(K.label){case 0:i=r.placement,a=r.middlewareData,u=r.rects,o=r.initialPlacement,f=r.platform,s=r.elements;c=h(t,r),v=c.mainAxis,l=v===void 0?true:v,d=c.crossAxis,p=d===void 0?true:d,g=c.fallbackPlacements,m=c.fallbackStrategy,y=m===void 0?"bestFit":m,b=c.fallbackAxisSideDirection,S=b===void 0?"none":b,O=c.flipAlignment,j=O===void 0?true:O,k=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}F=_(i);R=w(o);C=_(o)===o;return[4,f.isRTL==null?void 0:f.isRTL(s.floating)];case 1:M=K.sent();E=g||(C||!j?[P(o)]:A(o));q=S!=="none";if(!g&&q){E.push.apply(E,T(o,j,S,M))}D=__spreadArray([o],E,true);return[4,f.detectOverflow(r,k)];case 2:L=K.sent();z=[];I=((e=a.flip)==null?void 0:e.overflows)||[];if(l){z.push(L[F])}if(p){B=x(i,u,M);z.push(L[B[0]],L[B[1]])}I=__spreadArray(__spreadArray([],I,true),[{placement:i,overflows:z}],false);if(!z.every((function(t){return t<=0}))){G=(((H=a.flip)==null?void 0:H.index)||0)+1;V=D[G];if(V){W=p==="alignment"?R!==w(V):false;if(!W||I.every((function(t){return w(t.placement)===R?t.overflows[0]>0:true}))){return[2,{data:{index:G,overflows:I},reset:{placement:V}}]}}Y=(N=I.filter((function(t){return t.overflows[0]<=0})).sort((function(t,r){return t.overflows[1]-r.overflows[1]}))[0])==null?void 0:N.placement;if(!Y){switch(y){case"bestFit":{J=($=I.filter((function(t){if(q){var r=w(t.placement);return r===R||r==="y"}return true})).map((function(t){return[t.placement,t.overflows.filter((function(t){return t>0})).reduce((function(t,r){return t+r}),0)]})).sort((function(t,r){return t[1]-r[1]}))[0])==null?void 0:$[0];if(J){Y=J}break}case"initialPlacement":Y=o;break}}if(i!==Y){return[2,{reset:{placement:Y}}]}}return[2,{}]}}))}))}}};var B=new Set(["left","top"]);function H(t,r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,d,g,m;return __generator(this,(function(y){switch(y.label){case 0:n=t.placement,e=t.platform,i=t.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=y.sent();u=_(n);o=p(n);f=w(n)==="y";s=B.has(u)?-1:1;c=a&&f?-1:1;v=h(r,t);l=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis},d=l.mainAxis,g=l.crossAxis,m=l.alignmentAxis;if(o&&typeof m==="number"){g=o==="end"?m*-1:m}return[2,f?{x:g*c,y:d*s}:{x:d*s,y:g*c}]}}))}))}var N=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f;return __generator(this,(function(s){switch(s.label){case 0:i=r.x,a=r.y,u=r.placement,o=r.middlewareData;return[4,H(r,t)];case 1:f=s.sent();if(u===((n=o.offset)==null?void 0:n.placement)&&(e=o.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:u})}]}}))}))}}};var G=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(r){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,u,o,f,s,c,v,l,p,m,y,b,x,A,S,O,j,k,F,O,j,R,T,P;var C,M;return __generator(this,(function(E){switch(E.label){case 0:n=r.x,e=r.y,i=r.placement,a=r.platform;u=h(t,r),o=u.mainAxis,f=o===void 0?true:o,s=u.crossAxis,c=s===void 0?false:s,v=u.limiter,l=v===void 0?{fn:function(t){var r=t.x,n=t.y;return{x:r,y:n}}}:v,p=__rest(u,["mainAxis","crossAxis","limiter"]);m={x:n,y:e};return[4,a.detectOverflow(r,p)];case 1:y=E.sent();b=w(_(i));x=g(b);A=m[x];S=m[b];if(f){O=x==="y"?"top":"left";j=x==="y"?"bottom":"right";k=A+y[O];F=A-y[j];A=d(k,A,F)}if(c){O=b==="y"?"top":"left";j=b==="y"?"bottom":"right";R=S+y[O];T=S-y[j];S=d(R,S,T)}P=l.fn(__assign(__assign({},r),(C={},C[x]=A,C[b]=S,C)));return[2,__assign(__assign({},P),{data:{x:P.x-n,y:P.y-e,enabled:(M={},M[x]=f,M[b]=c,M)}})]}}))}))}}};function V(){return typeof window!=="undefined"}function W(t){if(J(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function Y(t){var r;return(t==null||(r=t.ownerDocument)==null?void 0:r.defaultView)||window}function $(t){var r;return(r=(J(t)?t.ownerDocument:t.document)||window.document)==null?void 0:r.documentElement}function J(t){if(!V()){return false}return t instanceof Node||t instanceof Y(t).Node}function K(t){if(!V()){return false}return t instanceof Element||t instanceof Y(t).Element}function Q(t){if(!V()){return false}return t instanceof HTMLElement||t instanceof Y(t).HTMLElement}function U(t){if(!V()||typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof Y(t).ShadowRoot}var X=new Set(["inline","contents"]);function Z(t){var r=lt(t),n=r.overflow,e=r.overflowX,i=r.overflowY,a=r.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!X.has(a)}var tt=new Set(["table","td","th"]);function rt(t){return tt.has(W(t))}var nt=[":popover-open",":modal"];function et(t){return nt.some((function(r){try{return t.matches(r)}catch(t){return false}}))}var it=["transform","translate","scale","rotate","perspective"];var at=["transform","translate","scale","rotate","perspective","filter"];var ut=["paint","layout","strict","content"];function ot(t){var r=st();var n=K(t)?lt(t):t;return it.some((function(t){return n[t]?n[t]!=="none":false}))||(n.containerType?n.containerType!=="normal":false)||!r&&(n.backdropFilter?n.backdropFilter!=="none":false)||!r&&(n.filter?n.filter!=="none":false)||at.some((function(t){return(n.willChange||"").includes(t)}))||ut.some((function(t){return(n.contain||"").includes(t)}))}function ft(t){var r=ht(t);while(Q(r)&&!vt(r)){if(ot(r)){return r}else if(et(r)){return null}r=ht(r)}return null}function st(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}var ct=new Set(["html","body","#document"]);function vt(t){return ct.has(W(t))}function lt(t){return Y(t).getComputedStyle(t)}function dt(t){if(K(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ht(t){if(W(t)==="html"){return t}var r=t.assignedSlot||t.parentNode||U(t)&&t.host||$(t);return U(r)?r.host:r}function _t(t){var r=ht(t);if(vt(r)){return t.ownerDocument?t.ownerDocument.body:t.body}if(Q(r)&&Z(r)){return r}return _t(r)}function pt(t,r,n){var e;if(r===void 0){r=[]}if(n===void 0){n=true}var i=_t(t);var a=i===((e=t.ownerDocument)==null?void 0:e.body);var u=Y(i);if(a){var o=gt(u);return r.concat(u,u.visualViewport||[],Z(i)?i:[],o&&n?pt(o):[])}return r.concat(i,pt(i,[],n))}function gt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){var r=lt(t);var n=parseFloat(r.width)||0;var e=parseFloat(r.height)||0;var i=Q(t);var a=i?t.offsetWidth:n;var u=i?t.offsetHeight:e;var o=f(n)!==a||f(e)!==u;if(o){n=a;e=u}return{width:n,height:e,$:o}}function yt(t){return!K(t)?t.contextElement:t}function wt(t){var r=yt(t);if(!Q(r)){return c(1)}var n=r.getBoundingClientRect();var e=mt(r),i=e.width,a=e.height,u=e.$;var o=(u?f(n.width):n.width)/i;var s=(u?f(n.height):n.height)/a;if(!o||!Number.isFinite(o)){o=1}if(!s||!Number.isFinite(s)){s=1}return{x:o,y:s}}var bt=c(0);function xt(t){var r=Y(t);if(!st()||!r.visualViewport){return bt}return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function At(t,r,n){if(r===void 0){r=false}if(!n||r&&n!==Y(t)){return false}return r}function St(t,r,n,e){if(r===void 0){r=false}if(n===void 0){n=false}var i=t.getBoundingClientRect();var a=yt(t);var u=c(1);if(r){if(e){if(K(e)){u=wt(e)}}else{u=wt(t)}}var o=At(a,n,e)?xt(a):c(0);var f=(i.left+o.x)/u.x;var s=(i.top+o.y)/u.y;var v=i.width/u.x;var l=i.height/u.y;if(a){var d=Y(a);var h=e&&K(e)?Y(e):e;var _=d;var p=gt(_);while(p&&e&&h!==_){var g=wt(p);var m=p.getBoundingClientRect();var y=lt(p);var w=m.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x;var b=m.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;f*=g.x;s*=g.y;v*=g.x;l*=g.y;f+=w;s+=b;_=Y(p);p=gt(_)}}return E({width:v,height:l,x:f,y:s})}function Ot(t,r){var n=dt(t).scrollLeft;if(!r){return St($(t)).left+n}return r.left+n}function jt(t,r){var n=t.getBoundingClientRect();var e=n.left+r.scrollLeft-Ot(t,n);var i=n.top+r.scrollTop;return{x:e,y:i}}function kt(t){var r=t.elements,n=t.rect,e=t.offsetParent,i=t.strategy;var a=i==="fixed";var u=$(e);var o=r?et(r.floating):false;if(e===u||o&&a){return n}var f={scrollLeft:0,scrollTop:0};var s=c(1);var v=c(0);var l=Q(e);if(l||!l&&!a){if(W(e)!=="body"||Z(u)){f=dt(e)}if(Q(e)){var d=St(e);s=wt(e);v.x=d.x+e.clientLeft;v.y=d.y+e.clientTop}}var h=u&&!l&&!a?jt(u,f):c(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-f.scrollLeft*s.x+v.x+h.x,y:n.y*s.y-f.scrollTop*s.y+v.y+h.y}}function Ft(t){return Array.from(t.getClientRects())}function Rt(t){var r=$(t);var n=dt(t);var e=t.ownerDocument.body;var i=o(r.scrollWidth,r.clientWidth,e.scrollWidth,e.clientWidth);var a=o(r.scrollHeight,r.clientHeight,e.scrollHeight,e.clientHeight);var u=-n.scrollLeft+Ot(t);var f=-n.scrollTop;if(lt(e).direction==="rtl"){u+=o(r.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:u,y:f}}var Tt=25;function Pt(t,r){var n=Y(t);var e=$(t);var i=n.visualViewport;var a=e.clientWidth;var u=e.clientHeight;var o=0;var f=0;if(i){a=i.width;u=i.height;var s=st();if(!s||s&&r==="fixed"){o=i.offsetLeft;f=i.offsetTop}}var c=Ot(e);if(c<=0){var v=e.ownerDocument;var l=v.body;var d=getComputedStyle(l);var h=v.compatMode==="CSS1Compat"?parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0:0;var _=Math.abs(e.clientWidth-l.clientWidth-h);if(_<=Tt){a-=_}}else if(c<=Tt){a+=c}return{width:a,height:u,x:o,y:f}}var Ct=new Set(["absolute","fixed"]);function Mt(t,r){var n=St(t,true,r==="fixed");var e=n.top+t.clientTop;var i=n.left+t.clientLeft;var a=Q(t)?wt(t):c(1);var u=t.clientWidth*a.x;var o=t.clientHeight*a.y;var f=i*a.x;var s=e*a.y;return{width:u,height:o,x:f,y:s}}function Et(t,r,n){var e;if(r==="viewport"){e=Pt(t,n)}else if(r==="document"){e=Rt($(t))}else if(K(r)){e=Mt(r,n)}else{var i=xt(t);e={x:r.x-i.x,y:r.y-i.y,width:r.width,height:r.height}}return E(e)}function qt(t,r){var n=ht(t);if(n===r||!K(n)||vt(n)){return false}return lt(n).position==="fixed"||qt(n,r)}function Dt(t,r){var n=r.get(t);if(n){return n}var e=pt(t,[],false).filter((function(t){return K(t)&&W(t)!=="body"}));var i=null;var a=lt(t).position==="fixed";var u=a?ht(t):t;while(K(u)&&!vt(u)){var o=lt(u);var f=ot(u);if(!f&&o.position==="fixed"){i=null}var s=a?!f&&!i:!f&&o.position==="static"&&!!i&&Ct.has(i.position)||Z(u)&&!f&&qt(t,u);if(s){e=e.filter((function(t){return t!==u}))}else{i=o}u=ht(u)}r.set(t,e);return e}function Lt(t){var r=t.element,n=t.boundary,e=t.rootBoundary,i=t.strategy;var a=n==="clippingAncestors"?et(r)?[]:Dt(r,this._c):[].concat(n);var f=__spreadArray(__spreadArray([],a,true),[e],false);var s=f[0];var c=f.reduce((function(t,n){var e=Et(r,n,i);t.top=o(e.top,t.top);t.right=u(e.right,t.right);t.bottom=u(e.bottom,t.bottom);t.left=o(e.left,t.left);return t}),Et(r,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function zt(t){var r=mt(t),n=r.width,e=r.height;return{width:n,height:e}}function It(t,r,n){var e=Q(r);var i=$(r);var a=n==="fixed";var u=St(t,true,a,r);var o={scrollLeft:0,scrollTop:0};var f=c(0);function s(){f.x=Ot(i)}if(e||!e&&!a){if(W(r)!=="body"||Z(i)){o=dt(r)}if(e){var v=St(r,true,a,r);f.x=v.x+r.clientLeft;f.y=v.y+r.clientTop}else if(i){s()}}if(a&&!e&&i){s()}var l=i&&!e&&!a?jt(i,o):c(0);var d=u.left+o.scrollLeft-f.x-l.x;var h=u.top+o.scrollTop-f.y-l.y;return{x:d,y:h,width:u.width,height:u.height}}function Bt(t){return lt(t).position==="static"}function Ht(t,r){if(!Q(t)||lt(t).position==="fixed"){return null}if(r){return r(t)}var n=t.offsetParent;if($(t)===n){n=n.ownerDocument.body}return n}function Nt(t,r){var n=Y(t);if(et(t)){return n}if(!Q(t)){var e=ht(t);while(e&&!vt(e)){if(K(e)&&!Bt(e)){return e}e=ht(e)}return n}var i=Ht(t,r);while(i&&rt(i)&&Bt(i)){i=Ht(i,r)}if(i&&vt(i)&&Bt(i)&&!ot(i)){return n}return i||ft(t)||n}var Gt=function(t){return __awaiter(this,void 0,void 0,(function(){var r,n,e,i,a;var u;return __generator(this,(function(o){switch(o.label){case 0:r=this.getOffsetParent||Nt;n=this.getDimensions;return[4,n(t.floating)];case 1:e=o.sent();u={};i=It;a=[t.reference];return[4,r(t.floating)];case 2:return[2,(u.reference=i.apply(void 0,a.concat([o.sent(),t.strategy])),u.floating={x:0,y:0,width:e.width,height:e.height},u)]}}))}))};function Vt(t){return lt(t).direction==="rtl"}var Wt={convertOffsetParentRelativeRectToViewportRelativeRect:kt,getDocumentElement:$,getClippingRect:Lt,getOffsetParent:Nt,getElementRects:Gt,getClientRects:Ft,getDimensions:zt,getScale:wt,isElement:K,isRTL:Vt};function Yt(t,r){return t.x===r.x&&t.y===r.y&&t.width===r.width&&t.height===r.height}function $t(t,r){var n=null;var e;var i=$(t);function a(){var t;clearTimeout(e);(t=n)==null||t.disconnect();n=null}function f(c,v){if(c===void 0){c=false}if(v===void 0){v=1}a();var l=t.getBoundingClientRect();var d=l.left,h=l.top,_=l.width,p=l.height;if(!c){r()}if(!_||!p){return}var g=s(h);var m=s(i.clientWidth-(d+_));var y=s(i.clientHeight-(h+p));var w=s(d);var b=-g+"px "+-m+"px "+-y+"px "+-w+"px";var x={rootMargin:b,threshold:o(0,u(1,v))||1};var A=true;function S(r){var n=r[0].intersectionRatio;if(n!==v){if(!A){return f()}if(!n){e=setTimeout((function(){f(false,1e-7)}),1e3)}else{f(false,n)}}if(n===1&&!Yt(l,t.getBoundingClientRect())){f()}A=false}try{n=new IntersectionObserver(S,__assign(__assign({},x),{root:i.ownerDocument}))}catch(t){n=new IntersectionObserver(S,x)}n.observe(t)}f(true);return a}function Jt(t,r,n,e){if(e===void 0){e={}}var i=e.ancestorScroll,a=i===void 0?true:i,u=e.ancestorResize,o=u===void 0?true:u,f=e.elementResize,s=f===void 0?typeof ResizeObserver==="function":f,c=e.layoutShift,v=c===void 0?typeof IntersectionObserver==="function":c,l=e.animationFrame,d=l===void 0?false:l;var h=yt(t);var _=a||o?__spreadArray(__spreadArray([],h?pt(h):[],true),pt(r),true):[];_.forEach((function(t){a&&t.addEventListener("scroll",n,{passive:true});o&&t.addEventListener("resize",n)}));var p=h&&v?$t(h,n):null;var g=-1;var m=null;if(s){m=new ResizeObserver((function(t){var e=t[0];if(e&&e.target===h&&m){m.unobserve(r);cancelAnimationFrame(g);g=requestAnimationFrame((function(){var t;(t=m)==null||t.observe(r)}))}n()}));if(h&&!d){m.observe(h)}m.observe(r)}var y;var w=d?St(t):null;if(d){b()}function b(){var r=St(t);if(w&&!Yt(w,r)){n()}w=r;y=requestAnimationFrame(b)}n();return function(){var t;_.forEach((function(t){a&&t.removeEventListener("scroll",n);o&&t.removeEventListener("resize",n)}));p==null||p();(t=m)==null||t.disconnect();m=null;if(d){cancelAnimationFrame(y)}}}var Kt=N;var Qt=G;var Ut=I;var Xt=z;var Zt=function(t,r,n){var e=new Map;var i=__assign({platform:Wt},n);var a=__assign(__assign({},i.platform),{_c:e});return L(t,r,__assign(__assign({},i),{platform:a}))};var tr=function(){function t(t){this.logger=t}t.prototype.computePosition=function(t,r,n){return __awaiter(this,void 0,void 0,(function(){var e,i,a,u,o,f,s,c,v,l,d,h;var _=this;return __generator(this,(function(p){switch(p.label){case 0:if(t===undefined||t===null)this.logger.error("FloatingAdapter.computePosition","Reference element is required for positioning.");if(r===undefined||r===null)this.logger.error("FloatingAdapter.computePosition","Floating element is required for positioning.");e=n.placement,i=n.offset,a=n.flip,u=n.shift,o=n.arrow,f=n.strategy;s=[Kt(i)];if(a)s.push(Ut());if(u)s.push(Qt());if(o!==undefined&&o!==null)s.push(Xt({element:o}));return[4,Zt(t,r,{placement:e,middleware:s,strategy:f}).catch((function(t){_.logger.error("FloatingAdapter.computePosition",t.message)})).then((function(t){return t}))];case 1:c=p.sent();v=c.x,l=c.y,d=c.placement,h=c.middlewareData;return[2,{x:v,y:l,placement:d,middlewareData:h}]}}))}))};t.prototype.applyPosition=function(t,r){if(t===undefined||t===null)this.logger.error("FloatingAdapter.applyPosition","Element is required to apply positioning.");t.style.left="".concat(r.x,"px");t.style.top="".concat(r.y,"px")};return t}();var rr=function(t){__extends(n,t);function n(){var n=new r;return t.call(this,n)||this}return n}(tr);var nr=t("a",(function(t){var i=function(t){__extends(n,t);function n(){return t.call(this)||this}Object.defineProperty(n.prototype,"options",{get:function(){return{placement:"bottom",offset:8,strategy:"fixed"}},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"hooks",{get:function(){return{}},enumerable:false,configurable:true});n.prototype.showElement=function(){var t=this;this.floatingContent.showPopover();this.isVisible=true;this.startAutoUpdate(this.triggerSlot,this.floatingContent,this.options,(function(r){var n,e;(e=(n=t.hooks).onPositionUpdate)===null||e===void 0?void 0:e.call(n,r)}))};n.prototype.onBeforeShow=function(r){if(this.triggerSlot===null||this.triggerSlot===undefined){this.logger.error("AnchoredMixin.show","triggerSlot is required");return false}return t.prototype.onBeforeShow.call(this,r)};n.prototype.hideFocus=function(){var t,r;var n=(t=this.floatingContent)===null||t===void 0?void 0:t.contains(document.activeElement);if(n){(r=document.activeElement)===null||r===void 0?void 0:r.blur()}};n.prototype.hideElement=function(){var t;this.stopAutoUpdate();this.hideFocus();(t=this.floatingContent)===null||t===void 0?void 0:t.hidePopover();this.isVisible=false};n.prototype.handleSlotChange=function(t,r,n){var e=t.target;if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.detachTriggerListeners(this.previousTrigger,r,n)}if(e!==undefined&&e!==null){this.attachTriggerListeners(e,r,n);this.previousTrigger=e}};n.prototype.handleKeydown=function(t,r,n){if(t.key===e.Enter||t.key===e.Space)r();if(t.key===e.Escape)n()};n.prototype.updatePosition=function(t,r,n,e){return __awaiter(this,void 0,void 0,(function(){var i;var a,u,o;return __generator(this,(function(f){switch(f.label){case 0:return[4,this.positionEngine.computePosition(t,r,{placement:n.placement,offset:n.offset,flip:(a=n.flip)!==null&&a!==void 0?a:true,shift:(u=n.shift)!==null&&u!==void 0?u:true,arrow:n.arrow,strategy:(o=n.strategy)!==null&&o!==void 0?o:"fixed"})];case 1:i=f.sent();this.positionEngine.applyPosition(r,i);e===null||e===void 0?void 0:e(i);return[2,i]}}))}))};n.prototype.startAutoUpdate=function(t,r,n,e){var i=this;var a=function(){void i.updatePosition(t,r,n,e)};a();this.cleanupAutoUpdate=Jt(t,r,a,{elementResize:true,layoutShift:true})};n.prototype.stopAutoUpdate=function(){var t;(t=this.cleanupAutoUpdate)===null||t===void 0?void 0:t.call(this);this.cleanupAutoUpdate=undefined};n.prototype.attachTriggerListeners=function(t,r,n){t.addEventListener(a.Focus,r);t.addEventListener(a.Blur,n)};n.prototype.detachTriggerListeners=function(t,r,n){t.removeEventListener(a.Focus,r);t.removeEventListener(a.Blur,n)};n.prototype.floatingDisconnect=function(t,r){if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.detachTriggerListeners(this.previousTrigger,t,r)}this.stopAutoUpdate()};n.prototype.subscribeToTrigger=function(t){if(this.hooks.subscribeToTrigger!==undefined)this.hooks.subscribeToTrigger(t)};n.prototype.onBeforeLoad=function(){var t=this.el.parentElement;if(t===null)return;var r=t.querySelector("[bds-tooltip], [bds-popover]")||t.closest(".bds-button, .bds-input, .bds-select")||t;if(r.isConnected){this.triggerSlot=r;this.subscribeToTrigger(r)}};n.prototype.componentDidLoad=function(){var t,r;this.onBeforeLoad();(r=(t=this.hooks).onBeforeLoad)===null||r===void 0?void 0:r.call(t,this.el)};n.prototype.componentWillLoad=function(){this.toggle=this.toggle.bind(this);this.show=this.show.bind(this);this.hide=this.hide.bind(this);this.positionEngine=new rr;this.logger=new r;this.cleanupAutoUpdate=undefined;this.previousTrigger=undefined};n.prototype.disconnectedCallback=function(){var t=this;if(this.previousTrigger!==undefined&&this.previousTrigger!==null){this.floatingDisconnect((function(){return t.show()}),(function(){return t.hide()}))}this.stopAutoUpdate();this.hide()};Object.defineProperty(n,"elementRef",{get:function(){return"el"},enumerable:false,configurable:true});return n}(n(t));return i}));var er=t("g",(function(t,r,n){if(t===void 0){t=false}if(r===void 0){r=0}if(t)return r!==undefined?r:0;else return r!==undefined?n+r:n}))}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js","./p-BsZkk4oK.system.js"],(function(e){"use strict";var i,r,t,n;return{setters:[function(e){i=e.r;r=e.h;t=e.g},function(e){n=e.v}],execute:function(){var a={HORIZONTAL:"horizontal",VERTICAL:"vertical"};var s=function(){return'@charset "UTF-8";bds-divider{}bds-divider[orientation=vertical]{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;margin-inline:var(--bds-divider-gap, 0px)}bds-divider[orientation=horizontal]{display:block;width:100%;margin-block:var(--bds-divider-gap, 0px)}.bds-divider{background-color:var(--bds-divider-color, var(--boreal-ui-default-lighter))}.bds-divider--horizontal{width:100%;height:var(--boreal-spacing-4xs)}.bds-divider--vertical{-ms-flex:1;flex:1;width:var(--boreal-spacing-4xs)}'};var d=e("bds_divider",function(){function e(e){i(this,e);this.orientation=a.HORIZONTAL}e.prototype.checkPropValues=function(){n(Object.values(a),a.HORIZONTAL,this.el,"orientation")};Object.defineProperty(e.prototype,"orientationClass",{get:function(){var e;return e={"bds-divider":true},e["bds-divider--".concat(this.orientation)]=true,e},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){this.checkPropValues()};e.prototype.render=function(){return r("div",{key:"a64c78979ba69f2de16edd48265cdb61d86d7026",part:"divider",class:this.orientationClass,role:"separator","aria-orientation":this.orientation})};Object.defineProperty(e.prototype,"el",{get:function(){return t(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{orientation:[{checkPropValues:0}]}},enumerable:false,configurable:true});return e}());d.style=s()}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))t[o]=e[o]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,a){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function n(t){try{s(a.next(t))}catch(t){i(t)}}function l(t){try{s(a["throw"](t))}catch(t){i(t)}}function s(t){t.done?r(t.value):o(t.value).then(n,l)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,i,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=l(0),n["throw"]=l(1),n["return"]=l(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return s([t,e])}}function s(l){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(r=0)),r)try{if(a=1,o&&(i=l[0]&2?o["return"]:l[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;if(o=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;o=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=e.call(t,r)}catch(t){l=[6,t];o=0}finally{a=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-DCKg5Cg_.system.js","./p-UEj9YHof.system.js","./p-CXz1RLGi.system.js","./p-DSU8tkVw.system.js","./p-C-g3hhl_.system.js","./p-BHYhd1yq.system.js","./p-1mOd23lT.system.js"],(function(t,e){"use strict";var r,a,o,i,n,l,s,h,p;return{setters:[function(t){r=t.M;a=t.r;o=t.h;i=t.a;n=t.g},function(t){l=t.a;s=t.g},function(t){h=t.C},function(t){p=t.a},null,null,null],execute:function(){var g={START:"start"};var y={XS:"xs",S:"sm",M:"md",L:"lg",XL:"xl"};var b=4;var f=function(){return'@charset "UTF-8";:root{--tooltip-arrow-size:var(--boreal-spacing-s);--tooltip-width:320px}.tooltip-content{position:fixed;margin:0;overflow:visible;border-radius:var(--boreal-radius-xs2);background:var(--boreal-ui-black);color:var(--boreal-text-inverse);padding:var(--boreal-spacing-2xs) var(--boreal-spacing-s);font-size:var(--boreal-typography-font-size-xs);line-height:var(--boreal-typography-line-height-xs);font-family:var(--boreal-typography-font-family-primary);border:var(--boreal-spacing-2xs) solid var(--boreal-ui-black);font-weight:var(--boreal-typography-font-weight-regular)}.tooltip-content--multiline{white-space:normal;max-width:var(--tooltip-width, 320px);word-break:break-word;text-align:center}.tooltip-arrow{position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);pointer-events:none;z-index:-1}.tooltip-arrow::before{content:"";position:absolute;width:var(--tooltip-arrow-size);height:var(--tooltip-arrow-size);background:var(--boreal-ui-black);-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:center;transform-origin:center;inset:0}.tooltip-content[data-placement^=top] .tooltip-arrow{bottom:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=bottom] .tooltip-arrow{top:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=left] .tooltip-arrow{right:calc(var(--tooltip-arrow-size) / -2)}.tooltip-content[data-placement^=right] .tooltip-arrow{left:calc(var(--tooltip-arrow-size) / -2)}'};var d=t("bds_tooltip",function(t){__extends(e,t);function e(e){var r=t.call(this)||this;a(r,e);r.multiline=false;r.disabled=false;r.floatingOptions={};r.isVisible=false;return r}Object.defineProperty(e.prototype,"options",{get:function(){var t,e;return{placement:(t=this.floatingOptions.placement)!==null&&t!==void 0?t:"top",offset:s((e=this.floatingOptions)===null||e===void 0?void 0:e.hideArrow,this.floatingOptions.offset,b),arrow:this.floatingOptions.hideArrow?undefined:this.arrowElement,strategy:"fixed"}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hooks",{get:function(){var t=this;return{onPositionUpdate:function(e){return t.handlePosition(e)},onBeforeShow:function(){return t.validateShow()},onBeforeHide:function(e){return t.validateHide(e)},subscribeToTrigger:function(e){return t.subscribe(e)}}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"canShowArrow",{get:function(){return!this.floatingOptions.hideArrow||false},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"getPlacement",{get:function(){return this.floatingOptions.placement||"top"},enumerable:false,configurable:true});e.prototype.validateShow=function(){return!this.disabled};e.prototype.validateHide=function(t){if(this.floatingOptions.stayOnHover&&t!==undefined&&t.isConnected){var e=this.floatingContent.contains(t)||this.floatingContent===t;if(e)return false}return true};e.prototype.handlePosition=function(t){this.floatingContent.setAttribute("data-placement",t.placement);this.setArrowPosition(t)};e.prototype.setArrowPosition=function(t){var e,r;if(((e=t.middlewareData)===null||e===void 0?void 0:e.arrow)&&!this.disabled&&((r=this.arrowElement)===null||r===void 0?void 0:r.isConnected)){var a=t.middlewareData.arrow,o=a.x,i=a.y;Object.assign(this.arrowElement.style,{left:o!=null?"".concat(o,"px"):"",top:i!=null?"".concat(i,"px"):""})}};Object.defineProperty(e.prototype,"hasMultiline",{get:function(){return this.multiline!==undefined&&this.multiline},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"tooltipStyles",{get:function(){return{"tooltip-content":true,"tooltip-content--multiline":this.hasMultiline}},enumerable:false,configurable:true});e.prototype.subscribe=function(t){var e=this;if(t===undefined)return;t.setAttribute("part","tooltip-trigger");t.setAttribute("ariaDescribedBy","tooltip-content");t.addEventListener("mouseenter",(function(){return e.show()}));t.addEventListener("mouseleave",(function(t){return e.hide(t.target)}))};e.prototype.render=function(){var t=this;var e=this.tooltipStyles;return o(i,{key:"d86d09d733df866cd6575dc5b2b6cd8f9193de19",class:"tooltip"},o("div",{key:"f277bed354746928e0bca3a85103b70437a34692",id:"tooltip-content",part:"tooltip-content",class:e,popover:"manual",role:"tooltip","aria-hidden":this.isVisible?"false":"true","data-placement":this.getPlacement,"data-multiline":this.multiline,"data-hidearrow":this.canShowArrow,ref:function(e){return t.floatingContent=e}},this.canShowArrow&&o("div",{key:"c22acfac98e8ebb09a0d967d2a82d438d43cecb2",class:"tooltip-arrow",part:"arrow",ref:function(e){return t.arrowElement=e}}),o("slot",{key:"373a096f06baf800e958e39dd606994c1ca23ac1"})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}(r(l)));d.style=f();var c={DISPLAY:"display",LINK:"link"};var u={P:"p",A:"a"};var v="download";var w={link:{states:[h.DISABLED],size:[y.S,y.M]},label:{states:[h.DISABLED],required:true,canUseTooltip:true},heading:{canUseTooltip:true},subheading:{canUseTooltip:true},helper:{states:[h.ERROR]},display:{size:[y.XS,y.S,y.M,y.L,y.XL]}};var m=function(t,e){var r={a:{href:t.state!==h.DISABLED?t.sanitizedHref:null,target:t.target,download:t.downloadable?t.filename:null,rel:t.target==="_blank"?"noopener noreferrer":t.rel},label:{htmlFor:t.htmlFor}};return r[e]||{}};var x=function(){return'@charset "UTF-8";.bds-typography__info{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}bds-typography.bds-typography--disabled-cursor{cursor:not-allowed}.bds-typography{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}'};var z=t("bds_typography",function(){function t(t){a(this,t);this.inheritedAttributes={};this.variant=c.DISPLAY;this.size=y.M;this.state=h.DEFAULT;this.rel="";this.customClass="";this.element=u.P;this.align=g.START;this.ellipsis=false;this.maxLines=1;this.tooltipText="";this.required=false;this.htmlFor=undefined;this.href=null;this.target=null;this.downloadable=false;this.filename=v;this.sanitizedHref=""}t.prototype.updateSanitizedHref=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.getTagName==="a"&&this.href!==null))return[3,2];return[4,e.import("./p-B-PpI2Xv.system.js").then((function(t){return t.i}))];case 1:t=r.sent().sanitizeUrl;this.sanitizedHref=t(this.href);return[3,3];case 2:this.sanitizedHref="";r.label=3;case 3:return[2]}}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(this.getTagName===u.A&&this.href!==null))return[3,2];return[4,this.updateSanitizedHref()];case 1:t.sent();t.label=2;case 2:this.inheritedAttributes=__assign({},p(this.el));return[2]}}))}))};Object.defineProperty(t.prototype,"getTagName",{get:function(){if(this.variant===c.LINK)return u.A;return this.element.toLowerCase()},enumerable:false,configurable:true});t.prototype.getVariantConfig=function(){var t;return(t=w[this.variant])!==null&&t!==void 0?t:{}};t.prototype.getAccessibilityTags=function(){var t=this.getVariantConfig().required,e=t===void 0?false:t;var r=["a","label"].includes(this.getTagName);return{"aria-required":this.required&&e,"aria-disabled":this.state===h.DISABLED&&r}};t.prototype.getVariantStateStyles=function(){var t;var e=this.getVariantConfig();return t={},t["bds-typography--".concat(this.variant)]=true,t["bds-typography--align-".concat(this.align)]=true,t["bds-typography--".concat(this.state)]=!!((e===null||e===void 0?void 0:e.states)&&(e===null||e===void 0?void 0:e.states.includes(this.state))),t["bds-typography--size-".concat(this.size)]=!!((e===null||e===void 0?void 0:e.size)&&(e===null||e===void 0?void 0:e.size.includes(this.size))),t["bds-typography--required"]=!!((e===null||e===void 0?void 0:e.required)&&this.required),t["bds-typography--ellipsis"]=this.ellipsis&&this.maxLines<=1,t["bds-typography--ellipsis-multiline"]=this.ellipsis&&this.maxLines>1,t[this.customClass]=this.customClass!=="",t};t.prototype.render=function(){var t=this.getTagName;var e=__assign(__assign(__assign({},m(this,t)),this.inheritedAttributes),this.getAccessibilityTags());var r=this.getVariantStateStyles();var a=this.getVariantConfig(),n=a.canUseTooltip,l=n===void 0?null:n,s=a.required,p=s===void 0?null:s;var g=this.state===h.DISABLED;return o(i,{key:"ab4e3734b72e12d49cd91b82da34c9a74a806fb1",class:"bds-typography ".concat(g?"bds-typography--disabled-cursor":"")},o(t,__assign({key:"166bf124185b9c713afbca95b61a54356a214537",class:r,style:{webkitLineClamp:this.maxLines}},e),o("slot",{key:"5bc61723dd8942560c7308f0d3a4ba330d06695d"}),this.required&&p&&o("em",{key:"f30ff90c2600b262b155dbcbfaba63c1e54b68e9",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&l&&o("span",{key:"0639b26cdb61369b7fecb2267ff3b543f139564b",class:"bds-typography__info"},o("span",{key:"e007db27b60782daf0863022573b61dfc2b3f9cf",class:"bds-typography__info-icon bds-icon-info-circle","aria-label":this.tooltipText}),o("bds-tooltip",{key:"9ad52be88f97084406613d990ef7d75607837bb8"},this.tooltipText))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:[{updateSanitizedHref:0}]}},enumerable:false,configurable:true});return t}());z.style=x()}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-DCKg5Cg_.system.js"],(function(e){"use strict";var t,i,r,a;return{setters:[function(e){t=e.r;i=e.c;r=e.h;a=e.g}],execute:function(){var s=function(){return'@charset "UTF-8";bds-breadcrumb-item:last-child li::after{display:none}.bds-breadcrumb-item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:default}.bds-breadcrumb-item__text{font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm);font-family:var(--boreal-typography-font-family-primary)}.bds-breadcrumb-item__collapse-indicator{display:-ms-inline-flexbox;display:inline-flex}.bds-breadcrumb-item:not(.bds-breadcrumb-item--active)::after{content:var(--bds-breadcrumb-separator, "/");margin:0 var(--boreal-spacing-xs);color:var(--boreal-text-disabled);font-weight:normal;line-height:var(--boreal-typography-line-height-sm)}.bds-breadcrumb-item .bds-typography--link:not(:hover){color:var(--boreal-text-default)}.bds-breadcrumb-item--collapsed{display:none}.bds-breadcrumb-item--collapsed .bds-breadcrumb-item__text{display:none}.bds-breadcrumb-item--collapsed::after{display:none}.bds-breadcrumb-item--collapsed:has(.bds-breadcrumb-item__collapse-indicator){display:-ms-inline-flexbox;display:inline-flex}.bds-breadcrumb-item--active{font-weight:var(--boreal-typography-font-weight-semibold)}.bds-breadcrumb-item--active .bds-breadcrumb-item{color:var(--boreal-text-base)}.bds-breadcrumb-item:not(.bds-breadcrumb-item--active){cursor:pointer}'};var n=e("bds_breadcrumb_item",function(){function e(e){t(this,e);this.bdsClick=i(this,"bdsClick");this.bdsClickCollapse=i(this,"bdsClickCollapse");this.active=false;this.router=false;this.collapsed=false;this.showCollapse=false;this.href="";this.target="_self";this.downloadable=false;this.filename="filename";this.rel=""}e.prototype.handleClick=function(e){if(this.active){e.preventDefault();return}if(this.router)e.preventDefault();this.bdsClick.emit({element:this.el,href:this.href,router:this.router})};Object.defineProperty(e.prototype,"breadcrumbItem",{get:function(){var e=this;return this.href!==""&&!this.active?r("bds-typography",{onClick:function(t){return e.handleClick(t)},href:this.href,target:this.target,downloadable:this.downloadable,filename:this.filename,rel:this.rel,variant:"link",element:"a",class:"bds-breadcrumb-item__text"},r("slot",null)):r("span",{class:"bds-breadcrumb-item__text",onClick:function(t){return e.handleClick(t)}},r("slot",null))},enumerable:false,configurable:true});e.prototype.handleCollapseClick=function(e){e.preventDefault();this.bdsClickCollapse.emit({element:this.collapsedRef})};Object.defineProperty(e.prototype,"cssClasses",{get:function(){var e;return e={},e["bds-breadcrumb-item"]=true,e["bds-breadcrumb-item--active"]=this.active,e["bds-breadcrumb-item--collapsed"]=this.collapsed,e},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return r("li",{key:"bca5cb70296f745ae669b5cd7f88e8252979fe9b",class:this.cssClasses,"aria-current":this.active?"page":null},this.breadcrumbItem,this.showCollapse&&r("bds-typography",{key:"9ed493f2a5112d5cf20c0a02d48ea8a8c69eb991",class:"bds-breadcrumb-item bds-breadcrumb-item__collapse-indicator",ref:function(t){return e.collapsedRef=t},onClick:function(t){return e.handleCollapseClick(t)},onKeyDown:function(t){if(t.key==="Enter"||t.key===" "){t.preventDefault();e.handleCollapseClick(t)}},variant:"link",element:"a"},"..."))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s()}}}));